PageSourceSearch

https://www.prideofdetroit.com/_next/static/chunks/1-47il95-n9x-.js

js prideofdetroit.com collected 2026-09-24 08:54:45 UTC 911,912 bytes, 513 lines download raw bytes

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]="e0dc0085-9741-541c-5e8a-55b1cd20a4b2")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,307697,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.DEBUG_BUILD="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},240256,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.GLOBAL_OBJ=globalThis},840741,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.SDK_VERSION="10.38.0"},411775,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(840741),a=e.r(240256);function o(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.SDK_VERSION,t[n.SDK_VERSION]=t[n.SDK_VERSION]||{}}r.getGlobalSingleton=function(e,t,r=a.GLOBAL_OBJ){let o=r.__SENTRY__=r.__SENTRY__||{},i=o[n.SDK_VERSION]=o[n.SDK_VERSION]||{};return i[e]||(i[e]=t())},r.getMainCarrier=function(){return o(a.GLOBAL_OBJ),a.GLOBAL_OBJ},r.getSentryCarrier=o},904067,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(411775),a=e.r(307697),o=e.r(240256),i={};function s(e){if(!("console"in o.GLOBAL_OBJ))return e();let t=o.GLOBAL_OBJ.console,r={},n=Object.keys(i);n.forEach(e=>{let n=i[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}function l(){return c().enabled}function u(e,...t){a.DEBUG_BUILD&&l()&&s(()=>{o.GLOBAL_OBJ.console[e](`Sentry Logger [${e}]:`,...t)})}function c(){return a.DEBUG_BUILD?n.getGlobalSingleton("loggerSettings",()=>({enabled:!1})):{enabled:!1}}r.CONSOLE_LEVELS=["debug","info","warn","error","log","assert","trace"],r.consoleSandbox=s,r.debug={enable:function(){c().enabled=!0},disable:function(){c().enabled=!1},isEnabled:l,log:function(...e){u("log",...e)},warn:function(...e){u("warn",...e)},error:function(...e){u("error",...e)}},r.originalConsoleMethods=i},471913,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=/\(error: (.*)\)/,a=/captureMessage|captureException/;function o(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,a=0)=>{let o=[],s=e.split("\n");for(let e=r;e<s.length;e++){let r=s[e];r.length>1024&&(r=r.slice(0,1024));let i=n.test(r)?r.replace(n,"$1"):r;if(!i.match(/\S*Error: /)){for(let e of t){let t=e(i);if(t){o.push(t);break}}if(o.length>=50+a)break}}return i(o.slice(a))}}function i(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(s(t).function||"")&&t.pop(),t.reverse(),a.test(s(t).function||"")&&(t.pop(),a.test(s(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||s(t).filename,function:e.function||"?"}))}function s(e){return e[e.length-1]||{}}let l="<anonymous>";r.UNKNOWN_FUNCTION="?",r.createStackParser=o,r.getFramesFromEvent=function(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}},r.getFunctionName=function(e){try{if(!e||"function"!=typeof e)return l;return e.name||l}catch{return l}},r.getVueInternalName=function(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"},r.normalizeStackTracePath=function(e){let t=e?.startsWith("file://")?e.slice(7):e;return t?.match(/\/[A-Z]:/)&&(t=t.slice(1)),t},r.stackParserFromStackParserOptions=function(e){return Array.isArray(e)?o(...e):e},r.stripSentryFramesAndReverse=i},632933,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(471913),i={},s={};r.addHandler=function(e,t){i[e]=i[e]||[],i[e].push(t)},r.maybeInstrument=function(e,t){if(!s[e]){s[e]=!0;try{t()}catch(t){n.DEBUG_BUILD&&a.debug.error(`Error while instrumenting ${e}`,t)}}},r.resetInstrumentationHandlers=function(){Object.keys(i).forEac
2h(e=>{i[e]=void 0})},r.triggerHandlers=function(e,t){let r=e&&i[e];if(r)for(let i of r)try{i(t)}catch(t){n.DEBUG_BUILD&&a.debug.error(`Error while triggering instrumentation handler.
3Type: ${e}
4Name: ${o.getFunctionName(i)}
5Error:`,t)}}},736685,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(240256),a=e.r(632933),o=null;function i(){o=n.GLOBAL_OBJ.onerror,n.GLOBAL_OBJ.onerror=function(e,t,r,n,i){return a.triggerHandlers("error",{column:n,error:i,line:r,msg:e,url:t}),!!o&&o.apply(this,arguments)},n.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}r.addGlobalErrorInstrumentationHandler=function(e){let t="error";a.addHandler(t,e),a.maybeInstrument(t,i)}},495075,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(240256),a=e.r(632933),o=null;function i(){o=n.GLOBAL_OBJ.onunhandledrejection,n.GLOBAL_OBJ.onunhandledrejection=function(e){return a.triggerHandlers("unhandledrejection",e),!o||o.apply(this,arguments)},n.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}r.addGlobalUnhandledRejectionInstrumentationHandler=function(e){let t="unhandledrejection";a.addHandler(t,e),a.maybeInstrument(t,i)}},220824,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=Object.prototype.toString;function a(e,t){return n.call(e)===`[object ${t}]`}function o(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function i(e){return a(e,"Object")}function s(e,t){try{return e instanceof t}catch{return!1}}r.isDOMError=function(e){return a(e,"DOMError")},r.isDOMException=function(e){return a(e,"DOMException")},r.isElement=function(e){return"u">typeof Element&&s(e,Element)},r.isError=function(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return s(e,Error)}},r.isErrorEvent=function(e){return a(e,"ErrorEvent")},r.isEvent=function(e){return"u">typeof Event&&s(e,Event)},r.isInstanceOf=s,r.isParameterizedString=o,r.isPlainObject=i,r.isPrimitive=function(e){return null===e||o(e)||"object"!=typeof e&&"function"!=typeof e},r.isRegExp=function(e){return a(e,"RegExp")},r.isRequest=function(e){return"u">typeof Request&&s(e,Request)},r.isString=function(e){return a(e,"String")},r.isSyntheticEvent=function(e){return i(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e},r.isThenable=function(e){return!!(e?.then&&"function"==typeof e.then)},r.isVueViewModel=function(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue||e.__v_isVNode))}},792031,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(220824),a=e.r(240256).GLOBAL_OBJ;r.getComponentName=function(e){if(!a.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null},r.getLocationHref=function(){try{return a.document.location.href}catch{return""}},r.htmlTreeAsString=function(e,t={}){if(!e)return"<unknown>";try{let r,o=e,i=[],s=0,l=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;o&&s++<5&&(r=function(e,t){let r=[];if(!e?.tagName)return"";if(a.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}r.push(e.tagName.toLowerCase());let o=t?.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(o?.length)o.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&r.push(`#${e.id}`);let t=e.className;if(t&&n.isString(t))for(let e of t.split(/\s+/))r.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let n=e.getAttribute(t);n&&r.push(`[${t}="${n}"]`)}return r.join("")}(o,u),"html"!==r&&(!(s>1)||!(l+3*i.length+r.length>=c)));)i.push(r),l+=r.length,o=o.parentNode;return i.reverse().join(" > ")}catch{return"<unknown>"}}},885139,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(792031),o=e.r(904067),i=e.r(220824);function s(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{n.DEBUG_BUILD&&o.debug.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function l(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,s(e,"__sentry_original__",t)}catch{}}function u(e){if(i.isError(e))return{message:e.message,name:e.name,stack:e.stack,...d(e)};if(!i.isEvent(e))return e;{let t={type:e.type,target:c(e.target),currentTarget:c(e.currentTarget),...d(e)};return"u">typeof CustomEvent&&i.isInstanceOf(e,CustomEvent)&&(t.detail=e.detail),t}}function c(e){try{return i.isElement(e)?a.htmlTreeAsString(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function d(e){if("object"!=typeof e||null===e)return{};{let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}r.addNonEnumerableProperty=s,r.convertToPlainObject=u,r.dropUndefinedKeys=function(e){return function e(t,r){let n;if(null===t||"object"!=typeof t)return t;let a=r.get(t);if(void 0!==a)return a;
5if(Array.isArray(t)){let n=[];return r.set(t,n),t.forEach(t=>{n.push(e(t,r))}),n}if((n=t.constructor)===Object||void 0===n){let n={};return r.set(t,n),Object.keys(t).forEach(a=>{let o=t[a];void 0!==o&&(n[a]=e(o,r))}),n}return t}(e,new Map)},r.extractExceptionKeysForMessage=function(e){let t=Object.keys(u(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"},r.fill=function(e,t,r){if(!(t in e))return;let a=e[t];if("function"!=typeof a)return;let i=r(a);"function"==typeof i&&l(i,a);try{e[t]=i}catch{n.DEBUG_BUILD&&o.debug.log(`Failed to replace method "${t}" in object`,e)}},r.getOriginalFunction=function(e){return e.__sentry_original__},r.markFunctionWrapped=l,r.objectify=function(e){let t;switch(!0){case void 0==e:t=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:t=Object(e);break;case i.isPrimitive(e):t=new e.constructor(e);break;default:t=e}return t}},106076,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(240256);function o(e){if(void 0!==n)return n?n(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=a.GLOBAL_OBJ;return t in r&&"function"==typeof r[t]?(n=r[t])(e):(n=null,e())}r.safeDateNow=function(){return o(()=>Date.now())},r.safeMathRandom=function(){return o(()=>Math.random())},r.withRandomSafeContext=o},190727,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(220824),a=e.r(471913);function o(e,t,r=!1){return!!n.isString(e)&&(n.isRegExp(t)?t.test(e):!!n.isString(t)&&(r?e===t:e.includes(t)))}r.isMatchingPattern=o,r.safeJoin=function(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let o=e[t];try{n.isVueViewModel(o)?r.push(a.getVueInternalName(o)):r.push(String(o))}catch{r.push("[value cannot be serialized]")}}return r.join(t)},r.snipLine=function(e,t){let r=e,n=r.length;if(n<=150)return r;t>n&&(t=n);let a=Math.max(t-60,0);a<5&&(a=0);let o=Math.min(a+140,n);return o>n-5&&(o=n),o===n&&(a=Math.max(o-140,0)),r=r.slice(a,o),a>0&&(r=`'{snip} ${r}`),o<n&&(r+=" {snip}"),r},r.stringMatchesSomePattern=function(e,t=[],r=!1){return t.some(t=>o(e,t,r))},r.truncate=function(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}},950314,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(885139),o=e.r(106076),i=e.r(190727),s=e.r(240256);function l(e){return e.exception?.values?.[0]}let u=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function c(e){return parseInt(e||"",10)}r.addContextToFrame=function(e,t,r=5){if(void 0===t.lineno)return;let n=e.length,a=Math.max(Math.min(n-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,a-r),a).map(e=>i.snipLine(e,0));let o=Math.min(n-1,a);t.context_line=i.snipLine(e[o],t.colno||0),t.post_context=e.slice(Math.min(a+1,n),a+1+r).map(e=>i.snipLine(e,0))},r.addExceptionMechanism=function(e,t){let r=l(e);if(!r)return;let n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){let e={...n?.data,...t.data};r.mechanism.data=e}},r.addExceptionTypeValue=function(e,t,r){let n=e.exception=e.exception||{},a=n.values=n.values||[],o=a[0]=a[0]||{};o.value||(o.value=t||""),o.type||(o.type=r||"Error")},r.checkOrSetAlreadyCaught=function(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{a.addNonEnumerableProperty(e,"__sentry_captured__",!0)}catch{}return!1},r.getEventDescription=function(e){let{message:t,event_id:r}=e;if(t)return t;let n=l(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"},r.parseSemver=function(e){let t=e.match(u)||[],r=c(t[1]),n=c(t[2]),a=c(t[3]);return{buildmetadata:t[5],major:isNaN(r)?void 0:r,minor:isNaN(n)?void 0:n,patch:isNaN(a)?void 0:a,prerelease:t[4]}},r.uuid4=function(e=function(){let e=s.GLOBAL_OBJ;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return o.withRandomSafeContext(()=>e.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,e=>(e^(15&16*o.safeMathRandom())>>e/4).toString(16))}},141534,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(106076),o=e.r(240256);function i(){return a.safeDateNow()/1e3}let s=null;r.browserPerformanceTimeOrigin=function(){return null===s&&(s=function(){let{performance:e}=o.GLOBAL_OBJ;if(!e?.now)return;let t=a.withRandomSafeContext(()=>e.now()),r=a.safeDateNow(),n=e.timeOrigin;if("number"==typeof n&&3e5>Math.abs(n+t-r))return n;let i=e.timing?.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+t-r)?i:r-t}()),s},r.dateTimestampInSeconds=i,r.timestampInSeconds=function(){return(n??(n=function(){let{performance:e}=o.GLOBAL_OBJ;if(!e?.now||!e.timeOrigin)return i;let t=e.timeOrigin;return()=>(t+a.withRandomSafeContext(()=>e.now()))/1e3}()))()}},846155,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(950314),a=e.r(141534);function o(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||a.timestampInSeconds(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:n.uuid4()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}r.closeSession=function(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),o(e,r)},r.makeSession=function(e){let t=a.timestampInSeconds(),r={sid:n.uuid4(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}};return e&&o(r,e),r},r.updateSession=o},375096,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.merge=function e(t,r,n=2){if(!r||"object"!=typeof r||n<=0)return r;if(t&&0===Object.keys(r).length)return t;let a={...t};for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(a[t]=e(a[t],r[t],n-1));return a}},426427,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(950314);r.generateSpanId=function(){return n.uuid4().substring(16)},r.generateTraceId=function(){return n.uuid4()}},490790,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(885139),a="_sentrySpan";
5r._getSpanForScope=function(e){return e[a]},r._setSpanForScope=function(e,t){t?n.addNonEnumerableProperty(e,a,t):delete e[a]}},921433,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(846155),o=e.r(904067),i=e.r(220824),s=e.r(375096),l=e.r(950314),u=e.r(426427),c=e.r(106076),d=e.r(490790),_=e.r(190727),p=e.r(141534);r.Scope=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:u.generateTraceId(),sampleRand:c.safeMathRandom()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,d._setSpanForScope(t,d._getSpanForScope(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&a.updateSession(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let r="function"==typeof t?t(this):t,{tags:n,attributes:a,extra:o,user:s,contexts:l,level:u,fingerprint:c=[],propagationContext:d,conversationId:_}=(r instanceof e?r.getScopeData():i.isPlainObject(r)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...a},this._extra={...this._extra,...o},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),u&&(this._level=u),c.length&&(this._fingerprint=c),d&&(this._propagationContext=d),_&&(this._conversationId=_),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,d._setSpanForScope(this,void 0),this._attachments=[],this.setPropagationContext({traceId:u.generateTraceId(),sampleRand:c.safeMathRandom()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:p.dateTimestampInSeconds(),...e,message:e.message?_.truncate(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:d._getSpanForScope(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=s.merge
5(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t?.event_id||l.uuid4();if(!this._client)return n.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture exception!"),r;let a=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:a,...t,event_id:r},this),r}captureMessage(e,t,r){let a=r?.event_id||l.uuid4();if(!this._client)return n.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture message!"),a;let i=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...r,event_id:a},this),a}captureEvent(e,t){let r=t?.event_id||l.uuid4();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):n.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}},422441,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(411775),a=e.r(921433);r.getDefaultCurrentScope=function(){return n.getGlobalSingleton("defaultCurrentScope",()=>new a.Scope)},r.getDefaultIsolationScope=function(){return n.getGlobalSingleton("defaultIsolationScope",()=>new a.Scope)}},102919,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(422441),a=e.r(921433),o=e.r(220824),i=e.r(411775);class s{constructor(e,t){let r,n;r=e||new a.Scope,n=t||new a.Scope,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t,r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return o.isThenable(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function l(){let e=i.getMainCarrier(),t=i.getSentryCarrier(e);return t.stack=t.stack||new s(n.getDefaultCurrentScope(),n.getDefaultIsolationScope())}function u(e){return l().withScope(e)}function c(e,t){let r=l();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function d(e){return l().withScope(()=>e(l().getIsolationScope()))}r.AsyncContextStack=s,r.getStackAsyncContextStrategy=function(){return{withIsolationScope:d,withScope:u,withSetScope:c,withSetIsolationScope:(e,t)=>d(t),getCurrentScope:()=>l().getScope(),getIsolationScope:()=>l().getIsolationScope()}}},538207,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(411775),a=e.r(102919);r.getAsyncContextStrategy=function(e){let t=n.getSentryCarrier(e);return t.acs?t.acs:a.getStackAsyncContextStrategy()},r.setAsyncContextStrategy=function(e){let t=n.getMainCarrier();n.getSentryCarrier(t).acs=e}},733438,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(538207),a=e.r(411775),o=e.r(921433),i=e.r(426427);function s(){let e=a.getMainCarrier();return n.getAsyncContextStrategy(e).getCurrentScope()}r.getClient=function(){return s().getClient()},r.getCurrentScope=s,r.getGlobalScope=function(){return a.getGlobalSingleton("globalScope",()=>new o.Scope)},r.getIsolationScope=function(){let e=a.getMainCarrier();return n.getAsyncContextStrategy(e).getIsolationScope()},r.getTraceContextFromScope=function(e){let{traceId:t,parentSpanId:r,propagationSpanId:n}=e.getPropagationContext(),a={trace_id:t,span_id:n||i.generateSpanId()};return r&&(a.parent_span_id=r),a},r.withIsolationScope=function(...e){let t=a.getMainCarrier(),r=n.getAsyncContextStrategy(t);if(2===e.length){let[t,n]=e;return t?r.withSetIsolationScope(t,n):r.withIsolationScope(n)}return r.withIsolationScope(e[0])},r.withScope=function(...e){let t=a.getMainCarrier(),r=n.getAsyncContextStrategy(t);if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}},326691,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.GEN_AI_CONVERSATION_ID_ATTRIBUTE="gen_ai.conversation.id",r.SEMANTIC_ATTRIBUTE_CACHE_HIT="cache.hit",r.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE="cache.item_size",r.SEMANTIC_ATTRIBUTE_CACHE_KEY="cache.key",r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME="sentry.exclusive_time",r.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD="http.request.method",r.SEMANTIC_ATTRIBUTE_PROFILE_ID="sentry.profile_id",r.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME="sentry.custom_span_name",r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON="sentry.idle_span_finish_reason",r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT="sentry.measurement_unit",r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE="sentry.measurement_value",r.SEMANTIC_ATTRIBUTE_SENTRY_OP="sentry.op",r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN="sentry.origin",r.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE="sentry.previous_trace_sample_rate",r.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE="sentry.sample_rate",r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE="sentry.source",r.SEMANTIC_ATTRIBUTE_URL_FULL="url.full",r.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE="sentry.link.type"},461957,(e,t,r)=>{function n(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.SPAN_STATUS_ERROR=2,r.SPAN_STATUS_OK=1,r.SPAN_STATUS_UNSET=0,r.getSpanStatusFromHttpCode=n,r.setHttpStatus=function(e,t){e.setAttribute("http.response.status_code",t);let r=n(t);"unknown_error"!==r.message&&e.setStatus(r)}},193189,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(885139),a=e.r(240256),o="_sentryScope",i="_sentryIsolationScope";r.getCapturedScopesOnSpan=function(e){return{scope:e[o],isolationScope:function(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}(e[i])}},r.setCapturedScopesOnSpan=function(e,t,r){e&&(n.addNonEnumerableProperty(e,i,function(e){try{let t=a.GLOBAL_OBJ.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(r)),n.addNonEnumerableProperty(e,o,t))}},252798,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(220824),i="sentry-",s=/^sentry-/;function l(e){if(e&&(o.isString(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
5(Object.entries(u(t)).forEach(([t,r])=>{e[t]=r}),e),{}):u(e)}function u(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}function c(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,r],o)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,s=0===o?i:`${e},${i}`;return s.length>8192?(n.DEBUG_BUILD&&a.debug.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):s},"")}r.MAX_BAGGAGE_STRING_LENGTH=8192,r.SENTRY_BAGGAGE_KEY_PREFIX=i,r.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=s,r.baggageHeaderToDynamicSamplingContext=function(e){let t=l(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.match(s)&&(e[t.slice(i.length)]=r),e),{});return Object.keys(r).length>0?r:void 0},r.dynamicSamplingContextToSentryBaggageHeader=function(e){if(e)return c(Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${i}${t}`]=r),e),{}))},r.objectToBaggageHeader=c,r.parseBaggageHeader=l},677708,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=/^o(\d+)\./,i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function s(e){let t=i.exec(e);if(!t)return void a.consoleSandbox(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,n,o="",s="",u="",c=""]=t.slice(1),d="",_=c,p=_.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),_=p.pop()),_){let e=_.match(/^\d+/);e&&(_=e[0])}return l({host:s,pass:o,path:d,projectId:_,port:u,protocol:r,publicKey:n})}function l(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function u(e){let t=e.match(o);return t?.[1]}r.dsnFromString=s,r.dsnToString=function(e,t=!1){let{host:r,path:n,pass:a,port:o,projectId:i,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&a?`:${a}`:""}@${r}${o?`:${o}`:""}/${n?`${n}/`:n}${i}`},r.extractOrgIdFromClient=function(e){let t,r=e.getOptions(),{host:n}=e.getDsn()||{};return r.orgId?t=String(r.orgId):n&&(t=u(n)),t},r.extractOrgIdFromDsnHost=u,r.makeDsn=function(e){let t="string"==typeof e?s(e):l(e);if(t&&function(e){if(!n.DEBUG_BUILD)return!0;let{port:t,projectId:r,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(a.debug.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==o&&"https"!==o?(a.debug.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):!(t&&isNaN(parseInt(t,10)))||(a.debug.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(a.debug.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}},208050,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.parseSampleRate=function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}},473994,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(904067),a=e.r(252798),o=e.r(677708),i=e.r(208050),s=e.r(426427),l=e.r(106076),u=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function c(e){let t;if(!e)return;let r=e.match(u);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}r.TRACEPARENT_REGEXP=u,r.extractTraceparentData=c,r.generateSentryTraceHeader=function(e=s.generateTraceId(),t=s.generateSpanId(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`},r.generateTraceparentHeader=function(e=s.generateTraceId(),t=s.generateSpanId(),r){return`00-${e}-${t}-${r?"01":"00"}`},r.propagationContextFromHeaders=function(e,t){let r=c(e),n=a.baggageHeaderToDynamicSamplingContext(t);if(!r?.traceId)return{traceId:s.generateTraceId(),sampleRand:l.safeMathRandom()};let o=function(e,t){let r=i.parseSampleRate(t?.sample_rand);if(void 0!==r)return r;let n=i.parseSampleRate(t?.sample_rate);return n&&e?.parentSampled!==void 0?e.parentSampled?l.safeMathRandom()*n:n+l.safeMathRandom()*(1-n):l.safeMathRandom()}(r,n);n&&(n.sample_rand=o.toString());let{traceId:u,parentSpanId:d,parentSampled:_}=r;return{traceId:u,parentSpanId:d,sampled:_,dsc:n||{},sampleRand:o}},r.shouldContinueTrace=function(e,t){let r=o.extractOrgIdFromClient(e);return t&&r&&t!==r?(n.debug.log(`Won't continue trace because org IDs don't match (incoming baggage: ${t}, SDK options: ${r})`),!1):!e.getOptions().strictTraceContinuation||(!t||!!r)&&(!!t||!r)||(n.debug.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${t}, Sentry client: ${r})`),!1)}},415081,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(538207),a=e.r(411775),o=e.r(733438),i=e.r(326691),s=e.r(461957),l=e.r(193189),u=e.r(885139),c=e.r(426427),d=e.r(141534),_=e.r(473994),p=e.r(904067),E=e.r(490790),S=!1;function T(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:a})=>({span_id:e,trace_id:t,sampled:1===r,attributes:a,...n})):void 0}function g(e){return"number"==typeof e?f(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?f(e.getTime()):d.timestampInSeconds()}function f(e){return e>0x2540be3ff?e/1e3:e}function m(e){var t;if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:r,traceId:n}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:a,name:o,endTime:s,status:l,links:u}=e;return{span_id:r,trace_id:n,data:t,description:o,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:g(a),timestamp:g(s)||void 0,status:A(l),op:t[i.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:t[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:T(u)}}return{span_id:r,trace_id:n,start_timestamp:0,data:{}}}function h(e){let{traceFlags:t}=e.spanContext();return 1===t}function A(e){if(e&&e.code!==s.SPAN_STATUS_UNSET)return e.code===s.SPAN_STATUS_OK?"ok":e.message||"internal_error"}let R="_sentryChildSpans",I="_sentryRootSpan";r.TRACE_FLAG_NONE=0,r.TRACE_FLAG_SAMPLED=1,r.addChildSpanToSpan=function(e,t){let r=e[I]||e;u.addNonEnumerableProperty(t,I,r),e[R]?e[R].add(t):u.addNonEnumerableProperty(e,R,new Set([t]))},r.convertSpanLinksForEnvelope=T,r.getActiveSpan=function(){let e=a.getMainCarrier(),t=n.getAsyncContextStrategy(e);return t.getActiveSpan?t.getActiveSpan():E._getSpanForScope(o.getCurrentScope())},r.getRootSpan=function(e){return e[I]||e},r.getSpanDescendants=function(e){let t=new Set;return!function e(r){if(!t.has(r)&&h(r))for(let n of(t.add(r),r[R]?Array.from(r[R]):[]))e(n)}(e),Array.from(t)},r.getStatusMessage=A,r.removeChildSpanFromSpan=function(e,t){e[R]&&e[R].delete(t)},r.showSpanDropWarning=function(){S||(p.consoleSandbox(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),S=!0)},r.spanIsSampled=h,r.spanTimeInputToSeconds=g,r.spanToJSON=m,r.spanToTraceContext=function(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext(),a=n?t:m(e).parent_span_id,o=l.getCapturedScopesOnSpan(e).scope;return{parent_span_id:a,span_id:n?o?.getPropagationContext().propagationSpanId||c.generateSpanId():t,trace_id:r}},r.spanToTraceHeader=function(e){let{traceId:t,spanId:r}=e.spanContext(),n=h(e);return _.generateSentryTraceHeader(t,r,n)},r.spanToTraceparentHeader=function(e){let{traceId:t,spanId:r}=e.spanContext(),n=h(e);return _.generateTraceparentHeader(t,r,n)},r.spanToTransactionTraceContext=function(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:a,parent_span_id:o,status:i,origin:s,links:l}=m(e);return{parent_span_id:o,span_id:t,trace_id:r,data:n,op:a,status:i,origin:s,links:l}},r.updateSpanName=function(e,t){e.updateName(t),e.setAttributes({[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[i.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]:t})}},826164,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(736685),o=e.r(495075),i=e.r(904067),s=e.r(415081),l=e.r(461957),u=!1;r.registerSpanErrorInstrumentation=function(){u||(e.tag="sentry_tracingErrorCallback",u=!0,a.addGlobalErrorInstrumentationHandler(e),o.addGlobalUnhandledRejectionInstrumentationHandler(e));function e(){let e=s.getActiveSpan(),t=e&&s.getRootSpan(e);if(t){let e="internal_error";n.DEBUG_BUILD&&i.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:l.SPAN_STATUS_ERROR,message:e})}}}},286931,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438);r.hasSpansEnabled=function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||n.getClient()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}},914363,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(190727);function i(e){a.debug.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}r.reparentChildSpans=function(e,t){let r=t.parent_span_id,n=t.span_id;if(r)for(let t of e)t.parent_span_id===n&&(t.parent_span_id=r)}
5,r.shouldIgnoreSpan=function(e,t){if(!t?.length||!e.description)return!1;for(let a of t){var r;if("string"==typeof(r=a)||r instanceof RegExp){if(o.isMatchingPattern(e.description,a))return n.DEBUG_BUILD&&i(e),!0;continue}if(!a.name&&!a.op)continue;let t=!a.name||o.isMatchingPattern(e.description,a.name),s=!a.op||e.op&&o.isMatchingPattern(e.op,a.op);if(t&&s)return n.DEBUG_BUILD&&i(e),!0}return!1}},178233,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.DEFAULT_ENVIRONMENT="production",r.DEV_ENVIRONMENT="development"},413450,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(178233),a=e.r(733438),o=e.r(326691),i=e.r(252798),s=e.r(677708),l=e.r(286931),u=e.r(885139),c=e.r(415081),d=e.r(193189),_="_frozenDsc";function p(e,t){let r=t.getOptions(),{publicKey:a}=t.getDsn()||{},o={environment:r.environment||n.DEFAULT_ENVIRONMENT,release:r.release,public_key:a,trace_id:e,org_id:s.extractOrgIdFromClient(t)};return t.emit("createDsc",o),o}function E(e){let t=a.getClient();if(!t)return{};let r=c.getRootSpan(e),n=c.spanToJSON(r),s=n.data,u=r.spanContext().traceState,E=u?.get("sentry.sample_rate")??s[o.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??s[o.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];function S(e){return("number"==typeof E||"string"==typeof E)&&(e.sample_rate=`${E}`),e}let T=r[_];if(T)return S(T);let g=u?.get("sentry.dsc"),f=g&&i.baggageHeaderToDynamicSamplingContext(g);if(f)return S(f);let m=p(e.spanContext().traceId,t),h=s[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],A=n.description;return"url"!==h&&A&&(m.transaction=A),l.hasSpansEnabled()&&(m.sampled=String(c.spanIsSampled(r)),m.sample_rand=u?.get("sentry.sample_rand")??d.getCapturedScopesOnSpan(r).scope?.getPropagationContext().sampleRand.toString()),S(m),t.emit("createDsc",m,r),m}r.freezeDscOnSpan=function(e,t){u.addNonEnumerableProperty(e,_,t)},r.getDynamicSamplingContextFromClient=p,r.getDynamicSamplingContextFromScope=function(e,t){let r=t.getPropagationContext();return r.dsc||p(r.traceId,e)},r.getDynamicSamplingContextFromSpan=E,r.spanToBaggageHeader=function(e){let t=E(e);return i.dynamicSamplingContextToSentryBaggageHeader(t)}},838159,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(426427),a=e.r(415081);r.SentryNonRecordingSpan=class{constructor(e={}){this._traceId=e.traceId||n.generateTraceId(),this._spanId=e.spanId||n.generateSpanId()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:a.TRACE_FLAG_NONE}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}},308447,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(220824),a=e.r(885139),o=e.r(471913);function i(t,r=100,s=Infinity){try{return function t(r,i,s=Infinity,l=Infinity,u=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[c,d]=u;if(null==i||["boolean","string"].includes(typeof i)||"number"==typeof i&&Number.isFinite(i))return i;let _=function(t,r){try{var a;let i;if("domain"===t&&r&&"object"==typeof r&&r._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if(r===e.g)return"[Global]";if("u">typeof window&&r===window)return"[Window]";if("u">typeof document&&r===document)return"[Document]";if(n.isVueViewModel(r))return o.getVueInternalName(r);if(n.isSyntheticEvent(r))return"[SyntheticEvent]";if("number"==typeof r&&!Number.isFinite(r))return`[${r}]`;if("function"==typeof r)return`[Function: ${o.getFunctionName(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let s=(a=r,i=Object.getPrototypeOf(a),i?.constructor?i.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(s))return`[HTMLElement: ${s}]`;return`[object ${s}]`}catch(e){return`**non-serializable** (${e})`}}(r,i);if(!_.startsWith("[object "))return _;if(i.__sentry_skip_normalization__)return i;let p="number"==typeof i.__sentry_override_normalization_depth__?i.__sentry_override_normalization_depth__:s;if(0===p)return _.replace("object ","");if(c(i))return"[Circular ~]";if(i&&"function"==typeof i.toJSON)try{let e=i.toJSON();return t("",e,p-1,l,u)}catch{}let E=Array.isArray(i)?[]:{},S=0,T=a.convertToPlainObject(i);for(let e in T){if(!Object.prototype.hasOwnProperty.call(T,e))continue;if(S>=l){E[e]="[MaxProperties ~]";break}let r=T[e];E[e]=t(e,r,p-1,l,u),S++}return d(i),E}("",t,r,s)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}r.normalize=i,r.normalizeToSize=function e(t,r=3,n=102400){let a=i(t,r);return~-encodeURI(JSON.stringify(a)).split(/%..|./).length>n?e(t,r-1,n):a},r.normalizeUrlToBase=function(e,t){let r=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),n=e;try{n=decodeURI(e)}catch{}return n.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(RegExp(`(file://)?/*${r}/*`,"ig"),"app:///")}},686465,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(411775),a=e.r(677708),o=e.r(308447),i=e.r(240256);function s(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function l(e){let t=n.getSentryCarrier(i.GLOBAL_OBJ);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let u={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};r.addItemToEnvelope=function(e,t){let[r,n]=e;return[r,[...n,t]]},r.createAttachmentEnvelopeItem=function(e){let t="string"==typeof e.data?l(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]},r.createEnvelope=function(e,t=[]){return[e,t]},r.createEventEnvelopeHeaders=function(e,t,r,n){let o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:a.dsnToString(n)},...o&&{trace:o}}},r.createSpanEnvelopeItem=function(e){return[{type:"span"},e]},r.envelopeContainsItemType=function(e,t){return s(e,(e,r)=>t.includes(r))},r.envelopeItemTypeToDataCategory=function(e){return u[e]},r.forEachEnvelopeItem=s,r.getSdkMetadataForEnvelopeHeader=function(e){if(!e?.sdk)return;
5let{name:t,version:r}=e.sdk;return{name:t,version:r}},r.parseEnvelope=function(e){let t="string"==typeof e?l(e):e;function r(e){let r=t.subarray(0,e);return t=t.subarray(e+1),r}function a(){var e;let a,o=t.indexOf(10);return o<0&&(o=t.length),JSON.parse((e=r(o),(a=n.getSentryCarrier(i.GLOBAL_OBJ)).decodePolyfill?a.decodePolyfill(e):new TextDecoder().decode(e)))}let o=a(),s=[];for(;t.length;){let e=a(),t="number"==typeof e.length?e.length:void 0;s.push([e,t?r(t):a()])}return[o,s]},r.serializeEnvelope=function(e){let[t,r]=e,n=JSON.stringify(t);function a(e){"string"==typeof n?n="string"==typeof e?n+e:[l(n),e]:n.push("string"==typeof e?l(e):e)}for(let e of r){let[t,r]=e;if(a(`
6${JSON.stringify(t)}
7`),"string"==typeof r||r instanceof Uint8Array)a(r);else{let e;try{e=JSON.stringify(r)}catch{e=JSON.stringify(o.normalize(r))}a(e)}}return"string"==typeof n?n:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n)}},904663,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(413450),a=e.r(677708),o=e.r(686465),i=e.r(914363),s=e.r(415081);function l(e,t){if(!t)return e;let r=e.sdk||{};return e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}r._enhanceEventWithSdkInfo=l,r.createEventEnvelope=function(e,t,r,n){let a=o.getSdkMetadataForEnvelopeHeader(r),i=e.type&&"replay_event"!==e.type?e.type:"event";l(e,r?.sdk);let s=o.createEventEnvelopeHeaders(e,a,n,t);delete e.sdkProcessingMetadata;let u=[{type:i},e];return o.createEnvelope(s,[u])},r.createSessionEnvelope=function(e,t,r,n){let i=o.getSdkMetadataForEnvelopeHeader(r),s={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:a.dsnToString(t)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return o.createEnvelope(s,[l])},r.createSpanEnvelope=function(e,t){let r=n.getDynamicSamplingContextFromSpan(e[0]),l=t?.getDsn(),u=t?.getOptions().tunnel,c={sent_at:new Date().toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!u&&l&&{dsn:a.dsnToString(l)}},{beforeSendSpan:d,ignoreSpans:_}=t?.getOptions()||{},p=_?.length?e.filter(e=>!i.shouldIgnoreSpan(s.spanToJSON(e),_)):e,E=e.length-p.length;E&&t?.recordDroppedEvent("before_send","span",E);let S=d?e=>{let t=s.spanToJSON(e),r=d(t);return r||(s.showSpanDropWarning(),t)}:s.spanToJSON,T=[];for(let e of p){let t=S(e);t&&T.push(o.createSpanEnvelopeItem(t))}return o.createEnvelope(c,T)}},174743,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(415081);r.logSpanEnd=function(e){if(!n.DEBUG_BUILD)return;let{description:t="< unknown name >",op:r="< unknown op >"}=o.spanToJSON(e),{spanId:i}=e.spanContext(),s=o.getRootSpan(e)===e,l=`[Tracing] Finishing "${r}" ${s?"root ":""}span "${t}" with ID ${i}`;a.debug.log(l)},r.logSpanStart=function(e){if(!n.DEBUG_BUILD)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:i}=o.spanToJSON(e),{spanId:s}=e.spanContext(),l=o.spanIsSampled(e),u=o.getRootSpan(e),c=u===e,d=`[Tracing] Starting ${l?"sampled":"unsampled"} ${c?"root ":""}span`,_=[`op: ${r}`,`name: ${t}`,`ID: ${s}`];if(i&&_.push(`parent ID: ${i}`),!c){let{op:e,description:t}=o.spanToJSON(u);_.push(`root ID: ${u.spanContext().spanId}`),e&&_.push(`root op: ${e}`),t&&_.push(`root description: ${t}`)}a.debug.log(`${d}
8  ${_.join("\n  ")}`)}},25699,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(326691),o=e.r(904067),i=e.r(415081);r.setMeasurement=function(e,t,r,s=i.getActiveSpan()){let l=s&&i.getRootSpan(s);l&&(n.DEBUG_BUILD&&o.debug.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),l.addEvent(e,{[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t,[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:r}))},r.timedEventsToMeasurements=function(e){if(!e||0===e.length)return;let t={};
8return e.forEach(e=>{let r=e.attributes||{},n=r[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],o=r[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof n&&"number"==typeof o&&(t[e.name]={value:o,unit:n})}),t}},161722,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(307697),o=e.r(904663),i=e.r(326691),s=e.r(904067),l=e.r(426427),u=e.r(415081),c=e.r(141534),d=e.r(413450),_=e.r(174743),p=e.r(25699),E=e.r(193189);function S(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function T(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}r.SentrySpan=class e{constructor(e={}){this._traceId=e.traceId||l.generateTraceId(),this._spanId=e.spanId||l.generateSpanId(),this._startTime=e.startTimestamp||c.timestampInSeconds(),this._links=e.links,this._attributes={},this.setAttributes({[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?u.TRACE_FLAG_SAMPLED:u.TRACE_FLAG_NONE}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=u.spanTimeInputToSeconds(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(e){this._endTime||(this._endTime=u.spanTimeInputToSeconds(e),_.logSpanEnd(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[i.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:u.getStatusMessage(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[i.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[i.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:p.timedEventsToMeasurements(this._events),is_segment:this._isStandaloneSpan&&u.getRootSpan(this)===this||void 0,segment_id:this._isStandaloneSpan?u.getRootSpan(this).spanContext().spanId:void 0,links:u.convertSpanLinksForEnvelope(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){a.DEBUG_BUILD&&s.debug.log("[Tracing] Adding an event to span:",e);let n=S(t)?t:r||c.timestampInSeconds(),o=S(t)?{}:t||{},i={name:e,time:u.spanTimeInputToSeconds(n),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=n.getClient();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===u.getRootSpan(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=n.getClient();if(!t)return;let r=e[1];r&&0!==r.length?t.sendEnvelope(e):t.recordDroppedEvent("before_send","span")}(o.createSpanEnvelope([this],e)):(a.DEBUG_BUILD&&s.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));let t=this._convertSpanToTransaction();t&&(E.getCapturedScopesOnSpan(this).scope||n.getCurrentScope()).captureEvent(t)}_convertSpanToTransaction(){if(!T(u.spanToJSON(this)))return;this._name||(a.DEBUG_BUILD&&s.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:r}=E.getCapturedScopesOnSpan(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let o=u.getSpanDescendants(this).filter(t=>{var r;return t!==this&&!((r=t)instanceof e&&r.isStandaloneSpan())}).map(e=>u.spanToJSON(e)).filter(T),l=this._attributes[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[i.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],o.forEach(e
8=>{delete e.data[i.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]});let c={contexts:{trace:u.spanToTransactionTraceContext(this)},spans:o.length>1e3?o.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:r,dynamicSamplingContext:d.getDynamicSamplingContextFromSpan(this)},request:n,...l&&{transaction_info:{source:l}}},_=p.timedEventsToMeasurements(this._events);return _&&Object.keys(_).length&&(a.DEBUG_BUILD&&s.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(_,void 0,2)),c.measurements=_),c}}},438818,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(220824);r.handleCallbackErrors=function(e,t,r=()=>{},a=()=>{}){var o,i,s,l;let u;try{u=e()}catch(e){throw t(e),r(),e}return o=u,i=t,s=r,l=a,n.isThenable(o)?o.then(e=>(s(),l(e),e),e=>{throw i(e),s(),e}):(s(),l(o),o)}},557912,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(286931),i=e.r(208050);r.sampleSpan=function(e,t,r){let s,l;if(!o.hasSpansEnabled(e))return[!1];"function"==typeof e.tracesSampler?(s=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),l=!0):void 0!==t.parentSampled?s=t.parentSampled:void 0!==e.tracesSampleRate&&(s=e.tracesSampleRate,l=!0);let u=i.parseSampleRate(s);if(void 0===u)return n.DEBUG_BUILD&&a.debug.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(s)} of type ${JSON.stringify(typeof s)}.`),[!1];if(!u)return n.DEBUG_BUILD&&a.debug.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,u,l];let c=r<u;return!c&&n.DEBUG_BUILD&&a.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[c,u,l]}},87256,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(538207),a=e.r(411775),o=e.r(733438),i=e.r(307697),s=e.r(326691),l=e.r(252798),u=e.r(904067),c=e.r(438818),d=e.r(286931),_=e.r(208050),p=e.r(426427),E=e.r(106076),S=e.r(490790),T=e.r(415081),g=e.r(473994),f=e.r(413450),m=e.r(174743),h=e.r(557912),A=e.r(838159),R=e.r(161722),I=e.r(461957),y=e.r(193189),N="__SENTRY_SUPPRESS_TRACING__";function O(e,t){let r=M();return r.withActiveSpan?r.withActiveSpan(e,t):o.withScope(r=>(S._setSpanForScope(r,e||void 0),t(r)))}function v(e){return o.withScope(t=>(t.setPropagationContext({traceId:p.generateTraceId(),sampleRand:E.safeMathRandom()}),i.DEBUG_BUILD&&u.debug.log(`Starting a new trace with id ${t.getPropagationContext().traceId}`),O(null,e)))}function b({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){let a;if(!d.hasSpansEnabled()){let n=new A.SentryNonRecordingSpan;if(r||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...f.getDynamicSamplingContextFromSpan(n)};f.freezeDscOnSpan(n,e)}return n}let i=o.getIsolationScope();if(e&&!r)a=function(e,t,r){let{spanId:n,traceId:a}=e.spanContext(),i=!t.getScopeData().sdkProcessingMetadata[N]&&T.spanIsSampled(e),s=i?new R.SentrySpan({...r,parentSpanId:n,traceId:a,sampled:i}):new A.SentryNonRecordingSpan({traceId:a});T.addChildSpanToSpan(e,s);let l=o.getClient();return l&&(l.emit("spanStart",s),r.endTimestamp&&l.emit("spanEnd",s)),s}(e,n,t),T.addChildSpanToSpan(e,a);else if(e){let r=f.getDynamicSamplingContextFromSpan(e),{traceId:o,spanId:i}=e.spanContext(),s=T.spanIsSampled(e);a=U({traceId:o,parentSpanId:i,...t},n,s),f.freezeDscOnSpan(a,r)}else{let{traceId:e,dsc:r,parentSpanId:o,sampled:s}={...i.getPropagationContext(),...n.getPropagationContext()};a=U({traceId:e,parentSpanId:o,...t},n,s),r&&f.freezeDscOnSpan(a,r)}return m.logSpanStart(a),y.setCapturedScopesOnSpan(a,n,i),a}function C(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=T.spanTimeInputToSeconds(e.startTime),delete r.startTime,r}return t}function M(){let e=a.getMainCarrier();return n.getAsyncContextStrategy(e)}function U(e,t,r){let n=o.getClient(),a=n?.getOptions()||{},{name:l=""}=e,c={spanAttributes:{...e.attributes},spanName:l,parentSampled:r};n?.emit("beforeSampling",c,{decision:!1});let d=c.parentSampled??r,p=c.spanAttributes,E=t.getPropagationContext(),[S,T,g]=t.getScopeData().sdkProcessingMetadata[N]?[!1]:h.sampleSpan(a,{name:l,parentSampled:d,attributes:p,parentSampleRate:_.parseSampleRate(E.dsc?.sample_rate)},E.sampleRand),f=new R.SentrySpan({...e,attributes:{[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[s.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==T&&g?T:void 0,...p},sampled:S});return!S&&n&&(i.DEBUG_BUILD&&u.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),n.recordDroppedEvent("sample_rate","transaction")),n&&n.emit("spanStart",f),f}function P(e,t){if(t)return t;if(null===t)return;let r=S._getSpanForScope(e);if(!r)return;let n=o.getClient();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?T.getRootSpan(r):r}function D(e){return void 0!==e?t=>O(e,t):e=>e()}r.continueTrace=(e,t)=>{let r=a.getMainCarrier(),i=n.getAsyncContextStrategy(r);if(i.continueTrace)return i.continueTrace(e,t);let{sentryTrace:s,baggage:u}=e,c=o.getClient(),d=l.baggageHeaderToDynamicSamplingContext(u);return c&&!g.shouldContinueTrace(c,d?.org_id)?v(t):o.withScope(e=>{let r=g.propagationContextFromHeaders(s,u);return e.setPropagationContext(r),S._setSpanForScope(e,void 0),t()})},r.startInactiveSpan=function(e){let t=M();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=C(e),{forceTransaction:n,parentSpan:a}=e;return(e.scope?t=>o.withScope(e.scope,t):void 0!==a?e=>O(a,e):e=>e())(()=>
8{let t=o.getCurrentScope(),i=P(t,a);return e.onlyIfParent&&!i?new A.SentryNonRecordingSpan:b({parentSpan:i,spanArguments:r,forceTransaction:n,scope:t})})},r.startNewTrace=v,r.startSpan=function(e,t){let r=M();if(r.startSpan)return r.startSpan(e,t);let n=C(e),{forceTransaction:a,parentSpan:i,scope:s}=e,l=s?.clone();return o.withScope(l,()=>D(i)(()=>{let r=o.getCurrentScope(),s=P(r,i),l=e.onlyIfParent&&!s?new A.SentryNonRecordingSpan:b({parentSpan:s,spanArguments:n,forceTransaction:a,scope:r});return S._setSpanForScope(r,l),c.handleCallbackErrors(()=>t(l),()=>{let{status:e}=T.spanToJSON(l);l.isRecording()&&(!e||"ok"===e)&&l.setStatus({code:I.SPAN_STATUS_ERROR,message:"internal_error"})},()=>{l.end()})}))},r.startSpanManual=function(e,t){let r=M();if(r.startSpanManual)return r.startSpanManual(e,t);let n=C(e),{forceTransaction:a,parentSpan:i,scope:s}=e,l=s?.clone();return o.withScope(l,()=>D(i)(()=>{let r=o.getCurrentScope(),s=P(r,i),l=e.onlyIfParent&&!s?new A.SentryNonRecordingSpan:b({parentSpan:s,spanArguments:n,forceTransaction:a,scope:r});return S._setSpanForScope(r,l),c.handleCallbackErrors(()=>t(l,()=>l.end()),()=>{let{status:e}=T.spanToJSON(l);l.isRecording()&&(!e||"ok"===e)&&l.setStatus({code:I.SPAN_STATUS_ERROR,message:"internal_error"})})}))},r.suppressTracing=function(e){let t=M();return t.suppressTracing?t.suppressTracing(e):o.withScope(t=>{t.setSDKProcessingMetadata({[N]:!0});let r=e();return t.setSDKProcessingMetadata({[N]:void 0}),r})},r.withActiveSpan=O},58693,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(307697),o=e.r(326691),i=e.r(904067),s=e.r(286931),l=e.r(914363),u=e.r(490790),c=e.r(415081),d=e.r(141534),_=e.r(413450),p=e.r(838159),E=e.r(161722),S=e.r(461957),T=e.r(87256),g={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};r.TRACING_DEFAULTS=g,r.startIdleSpan=function(e,t={}){var r;let f,m,h=new Map,A=!1,R="externalFinish",I=!t.disableAutoFinish,y=[],{idleTimeout:N=g.idleTimeout,finalTimeout:O=g.finalTimeout,childSpanTimeout:v=g.childSpanTimeout,beforeSpanEnd:b,trimIdleSpanEndTimestamp:C=!0}=t,M=n.getClient();if(!M||!s.hasSpansEnabled()){let e=new p.SentryNonRecordingSpan,t={sample_rate:"0",sampled:"false",..._.getDynamicSamplingContextFromSpan(e)};return _.freezeDscOnSpan(e,t),e}let U=n.getCurrentScope(),P=c.getActiveSpan(),D=(r=e,f=T.startInactiveSpan(r),u._setSpanForScope(n.getCurrentScope(),f),a.DEBUG_BUILD&&i.debug.log("[Tracing] Started span is an idle span"),f);function L(){m&&(clearTimeout(m),m=void 0)}function w(e){L(),m=setTimeout(()=>
8{!A&&0===h.size&&I&&(R="idleTimeout",D.end(e))},N)}function B(e){m=setTimeout(()=>{!A&&I&&(R="heartbeatFailed",D.end(e))},v)}function k(e){A=!0,h.clear(),y.forEach(e=>e()),u._setSpanForScope(U,P);let t=c.spanToJSON(D),{start_timestamp:r}=t;if(!r)return;t.data[o.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||D.setAttribute(o.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,R);let n=t.status;n&&"unknown"!==n||D.setStatus({code:S.SPAN_STATUS_OK}),i.debug.log(`[Tracing] Idle span "${t.op}" finished`);let s=c.getSpanDescendants(D).filter(e=>e!==D),l=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:S.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),a.DEBUG_BUILD&&i.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=c.spanToJSON(t),o=n<=e,s=r-n<=(O+N)/1e3;if(a.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);o?s||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)}(!s||!o)&&(c.removeChildSpanFromSpan(D,t),l++)}),l>0&&D.setAttribute("sentry.idle_span_discarded_spans",l)}return D.end=new Proxy(D.end,{apply(e,t,r){if(b&&b(D),t instanceof p.SentryNonRecordingSpan)return;let[n,...a]=r,o=n||d.timestampInSeconds(),i=c.spanTimeInputToSeconds(o),s=c.getSpanDescendants(D).filter(e=>e!==D),u=c.spanToJSON(D);if(!s.length||!C)return k(i),Reflect.apply(e,t,[i,...a]);let _=M.getOptions().ignoreSpans,E=s?.reduce((e,t)=>{let r=c.spanToJSON(t);return!r.timestamp||_&&l.shouldIgnoreSpan(r,_)?e:e?Math.max(e,r.timestamp):r.timestamp},void 0),S=u.start_timestamp,T=Math.min(S?S+O/1e3:1/0,Math.max(S||-1/0,Math.min(i,E||1/0)));return k(T),Reflect.apply(e,t,[T,...a])}}),y.push(M.on("spanStart",e=>{var t;!(A||e===D||c.spanToJSON(e).timestamp||e instanceof E.SentrySpan&&e.isStandaloneSpan())&&c.getSpanDescendants(D).includes(e)&&(t=e.spanContext().spanId,L(),h.set(t,!0),B(d.timestampInSeconds()+v/1e3))})),y.push(M.on("spanEnd",e=>{if(!A){var t;t=e.spanContext().spanId,h.has(t)&&h.delete(t),0===h.size&&w(d.timestampInSeconds()+N/1e3)}})),y.push(M.on("idleSpanEnableAutoFinish",e=>{e===D&&(I=!0,w(),h.size&&B())})),t.disableAutoFinish||w(),setTimeout(()=>{A||(D.setStatus({code:S.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),R="finalTimeout",D.end())},O),D}},115471,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(220824);class a{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new a((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new a((t,r)=>{let n,a;return this.then(t=>{a=!1,n=t,e&&e()},t=>{a=!0,n=t,e&&e()}).then(()=>{a?r(n):t(n)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if(n.isThenable(t))return void t.then(r,a);this._state=e,this._value=t,this._executeHandlers()}},r=e=>{t(1,e)},a=e=>{t(2,e)};try{e(r,a)}catch(e){a(e)}}}r.SyncPromise=a,r.rejectedSyncPromise=function(e){return new a((t,r)=>{r(e)})},r.resolvedSyncPromise=function(e){return new a(t=>{t(e)})}},284931,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(220824),i=e.r(115471);r.notifyEventProcessors=function(e,t,r,s=0){try{let l=function e(t,r,i,s){let l=i[s];if(!t||!l)return t;let u=l({...t},r);return(n.DEBUG_BUILD&&null===u&&a.debug.log(`Event processor "${l.id||"?"}" dropped event`),o.isThenable(u))?u.then(t=>e(t,r,i,s+1)):e(u,r,i,s+1)}(t,r,e,s);return o.isThenable(l)?l:i.resolvedSyncPromise(l)}catch(e){return i.rejectedSyncPromise(e)}}},614686,(e,t,r)=>{let n,a,o,i;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let s=e.r(471913),l=e.r(240256);function u(e){let t=l.GLOBAL_OBJ._sentryDebugIds,r=l.GLOBAL_OBJ._debugIds;if(!t&&!r)return{};let s=t?Object.keys(t):[],u=r?Object.keys(r):[];if(i&&s.length===a&&u.length===o)return i;a=s.length,o=u.length,i={},n||(n={});let c=(t,r)=>
8{for(let a of t){let t=r[a],o=n?.[a];if(o&&i&&t)i[o[0]]=t,n&&(n[a]=[o[0],t]);else if(t){let r=e(a);for(let e=r.length-1;e>=0;e--){let o=r[e],s=o?.filename;if(s&&i&&n){i[s]=t,n[a]=[s,t];break}}}}};return t&&c(s,t),r&&c(u,r),i}r.getDebugImagesForResources=function(e,t){let r=u(e);if(!r)return[];let n=[];for(let e of t){let t=s.normalizeStackTracePath(e);t&&r[t]&&n.push({type:"sourcemap",code_file:e,debug_id:r[t]})}return n},r.getFilenameToDebugIdMap=u},239021,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(413450),o=e.r(375096),i=e.r(415081);function s(e,t){let{extra:r,tags:n,attributes:a,user:i,contexts:s,level:u,sdkProcessingMetadata:c,breadcrumbs:d,fingerprint:_,eventProcessors:p,attachments:E,propagationContext:S,transactionName:T,span:g}=t;l(e,"extra",r),l(e,"tags",n),l(e,"attributes",a),l(e,"user",i),l(e,"contexts",s),e.sdkProcessingMetadata=o.merge(e.sdkProcessingMetadata,c,2),u&&(e.level=u),T&&(e.transactionName=T),g&&(e.span=g),d.length&&(e.breadcrumbs=[...e.breadcrumbs,...d]),_.length&&(e.fingerprint=[...e.fingerprint,..._]),p.length&&(e.eventProcessors=[...e.eventProcessors,...p]),E.length&&(e.attachments=[...e.attachments,...E]),e.propagationContext={...e.propagationContext,...S}}function l(e,t,r){e[t]=o.merge(e[t],r,1)}r.applyScopeDataToEvent=function(e,t){var r,n,o,s,l,u,c,d;let _,p,E,{fingerprint:S,span:T,breadcrumbs:g,sdkProcessingMetadata:f}=t;(function(e,t){let{extra:r,tags:n,user:a,contexts:o,level:i,transactionName:s}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(n).length&&(e.tags={...n,...e.tags}),Object.keys(a).length&&(e.user={...a,...e.user}),Object.keys(o).length&&(e.contexts={...o,...e.contexts}),i&&(e.level=i),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),T&&(r=e,n=T,r.contexts={trace:i.spanToTraceContext(n),...r.contexts},r.sdkProcessingMetadata={dynamicSamplingContext:a.getDynamicSamplingContextFromSpan(n),...r.sdkProcessingMetadata},_=i.getRootSpan(n),(p=i.spanToJSON(_).description)&&!r.transaction&&"transaction"===r.type&&(r.transaction=p)),o=e,s=S,o.fingerprint=o.fingerprint?Array.isArray(o.fingerprint)?o.fingerprint:[o.fingerprint]:[],s&&(o.fingerprint=o.fingerprint.concat(s)),o.fingerprint.length||delete o.fingerprint,l=e,u=g,E=[...l.breadcrumbs||[],...u],l.breadcrumbs=E.length?E:void 0,c=e,d=f,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...d}},r.getCombinedScopeData=function(e,t){let r=n.getGlobalScope().getScopeData();return e&&s(r,e.getScopeData()),t&&s(r,t.getScopeData()),r},r.mergeAndOverwriteScopeData=l,r.mergeScopeData=s},55763,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(178233),a=e.r(284931),o=e.r(921433),i=e.r(614686),s=e.r(950314),l=e.r(308447),u=e.r(239021),c=e.r(190727),d=e.r(141534);function _(e,t){let{environment:r,release:a,dist:o,maxValueLength:i}=t;e.environment=e.environment||r||n.DEFAULT_ENVIRONMENT,!e.release&&a&&(e.release=a),!e.dist&&o&&(e.dist=o);let s=e.request;s?.url&&i&&(s.url=c.truncate(s.url,i)),i&&e.exception?.values?.forEach(e=>{e.value&&(e.value=c.truncate(e.value,i))})}function p(e,t){let r=i.getFilenameToDebugIdMap(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}function E(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}let S=["user","level","extra","contexts","tags","fingerprint","propagationContext"];r.applyClientOptions=_,r.applyDebugIds=p,r.applyDebugMeta=E,r.parseEventHintOrCaptureContext=function(e){if(e){var t;return(t=e)instanceof o.Scope||"function"==typeof t||Object.keys(e).some(e=>S.includes(e))?{captureContext:e}:e}},r.prepareEvent=function(e,t,r,n,i,c){var S,T;let{normalizeDepth:g=3,normalizeMaxBreadth:f=1e3}=e,m={...t,event_id:t.event_id||r.event_id||s.uuid4(),timestamp:t.timestamp||d.dateTimestampInSeconds()},h=r.integrations||e.integrations.map(e=>e.name);_(m,e),S=m,(T=h).length>0&&(S.sdk=S.sdk||{},S.sdk.integrations=[...S.sdk.integrations||[],...T]),i&&i.emit("applyFrameMetadata",t),void 0===t.type&&p(m,e.stackParser);let A=function(e,t){if(!t)return e;let r=e?e.clone():new o.Scope;return r.update(t),r}(n,r.captureContext);r.mechanism&&s.addExceptionMechanism(m,r.mechanism);let R=i?i.getEventProcessors():[],I=u.getCombinedScopeData(c,A),y=[...r.attachments||[],...I.attachments];y.length&&(r.attachments=y),u.applyScopeDataToEvent(m,I);let N=[...R,...I.eventProcessors];return a.notifyEventProcessors(N,m,r).then(e=>(e&&E(e),"number"==typeof g&&g>0)?function(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>
8({...e,...e.data&&{data:l.normalize(e.data,t,r)}}))},...e.user&&{user:l.normalize(e.user,t,r)},...e.contexts&&{contexts:l.normalize(e.contexts,t,r)},...e.extra&&{extra:l.normalize(e.extra,t,r)}};return e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=l.normalize(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:l.normalize(e.data,t,r)}}))),e.contexts?.flags&&n.contexts&&(n.contexts.flags=l.normalize(e.contexts.flags,3,r)),n}(e,g,f):e)}},127716,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(307697),o=e.r(846155),i=e.r(87256),s=e.r(904067),l=e.r(220824),u=e.r(950314),c=e.r(55763),d=e.r(141534),_=e.r(240256);function p(e,t){let r=n.getCurrentScope(),o=n.getClient();if(o)if(o.captureCheckIn)return o.captureCheckIn(e,t,r);else a.DEBUG_BUILD&&s.debug.warn("Cannot capture check-in. Client does not support sending check-ins.");else a.DEBUG_BUILD&&s.debug.warn("Cannot capture check-in. No client defined.");return u.uuid4()}async function E(e){let t=n.getClient();return t?t.flush(e):(a.DEBUG_BUILD&&s.debug.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function S(e){let t=n.getClient();return t?t.close(e):(a.DEBUG_BUILD&&s.debug.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function T(){let e=n.getIsolationScope(),t=n.getCurrentScope().getSession()||e.getSession();t&&o.closeSession(t),g(),e.setSession()}function g(){let e=n.getIsolationScope(),t=n.getClient(),r=e.getSession();r&&t&&t.captureSession(r)}r.addEventProcessor=function(e){n.getIsolationScope().addEventProcessor(e)},r.captureCheckIn=p,r.captureEvent=function(e,t){return n.getCurrentScope().captureEvent(e,t)},r.captureException=function(e,t){return n.getCurrentScope().captureException(e,c.parseEventHintOrCaptureContext(t))},r.captureMessage=function(e,t){let r="string"==typeof t?t:void 0,a="string"!=typeof t?{captureContext:t}:void 0;return n.getCurrentScope().captureMessage(e,r,a)},r.captureSession=function(e=!1){e?T():g()},r.close=S,r.endSession=T,r.flush=E,r.isEnabled=function(){let e=n.getClient();return e?.getOptions().enabled!==!1&&!!e?.getTransport()},r.isInitialized=function(){return!!n.getClient()},r.lastEventId=function(){return n.getIsolationScope().lastEventId()},r.setContext=function(e,t){n.getIsolationScope().setContext(e,t)},r.setConversationId=function(e){n.getIsolationScope().setConversationId(e)},r.setExtra=function(e,t){n.getIsolationScope().setExtra(e,t)},r.setExtras=function(e){n.getIsolationScope().setExtras(e)},r.setTag=function(e,t){n.getIsolationScope().setTag(e,t)},r.setTags=function(e){n.getIsolationScope().setTags(e)},r.setUser=function(e){n.getIsolationScope().setUser(e)},r.startSession=function(e){let t=n.getIsolationScope(),r=n.getCurrentScope(),{userAgent:a}=_.GLOBAL_OBJ.navigator||{},i=o.makeSession({user:r.getUser()||t.getUser(),...a&&{userAgent:a},...e}),s=t.getSession();return s?.status==="ok"&&o.updateSession(s,{status:"exited"}),T(),t.setSession(i),i},r.withMonitor=function(e,t,r){function a(){let n,a=p({monitorSlug:e,status:"in_progress"},r),o=d.timestampInSeconds();function i(t){p({monitorSlug:e,status:t,checkInId:a,duration:d.timestampInSeconds()-o})}try{n=t()}catch(e){throw i("error"),e}return l.isThenable(n)?n.then(e=>(i("ok"),e),e=>{throw i("error"),e}):(i("ok"),n)}return n.withIsolationScope(()=>r?.isolateTrace?i.startNewTrace(a):a())}},217829,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(677708);function a(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}r.getEnvelopeEndpointWithUrlEncodedAuth=function(e,t,r){let n;return t||`${a(e)}${e.projectId}/envelope/?${n={sentry_version:"7"},e.publicKey&&(n.sentry_key=e.publicKey),r&&(n.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(n).toString()}`},r.getReportDialogEndpoint=function(e,t){let r=n.makeDsn(e);if(!r)return"";let o=`${a(r)}embed/error-page/`,i=`dsn=${n.dsnToString(r)}`;for(let e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}
8`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${o}?${i}`}},435549,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(307697),o=e.r(904067),i=[];function s(e,t,r){if(r[t.name]){a.DEBUG_BUILD&&o.debug.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[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 r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}a.DEBUG_BUILD&&o.debug.log(`Integration installed: ${t.name}`)}r.addIntegration=function(e){let t=n.getClient();if(!t){a.DEBUG_BUILD&&o.debug.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)},r.afterSetupIntegrations=function(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)},r.defineIntegration=function(e){return e},r.getIntegrationsToSetup=function(e){let t,r,n=e.defaultIntegrations||[],a=e.integrations;if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(a))t=[...n,...a];else if("function"==typeof a){let e=a(n);t=Array.isArray(e)?e:[e]}else t=n;return r={},t.forEach(e=>{let{name:t}=e,n=r[t];n&&!n.isDefaultInstance&&e.isDefaultInstance||(r[t]=e)}),Object.values(r)},r.installedIntegrations=i,r.setupIntegration=s,r.setupIntegrations=function(e,t){let r={};return t.forEach(t=>{t&&s(e,t,r)}),r}},657531,(e,t,r)=>{function n(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")}function a(e,t){let{value:r,unit:a}=n(e)?e:{value:e,unit:void 0},o=function(e){let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(r),i=a&&"string"==typeof a?{unit:a}:{};if(o)return{...o,...i};if(!t||"skip-undefined"===t&&void 0===r)return;let s="";try{s=JSON.stringify(r)??""}catch{}return{value:s,type:"string",...i}}Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.attributeValueToTypedAttributeValue=a,r.isAttributeObject=n,r.serializeAttributes=function(e,t=!1){let r={};for(let[n,o]of Object.entries(e??{})){let e=a(o,t);e&&(r[n]=e)}return r}},16329,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(413450),o=e.r(415081);r._getTraceInfoFromScope=function(e,t){return t?n.withScope(t,()=>{let r=o.getActiveSpan(),i=r?o.spanToTraceContext(r):n.getTraceContextFromScope(t);return[r?a.getDynamicSamplingContextFromSpan(r):a.getDynamicSamplingContextFromScope(e,t),i]}):[void 0,void 0]}},487742,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.SEVERITY_TEXT_TO_SEVERITY_NUMBER={trace:1,debug:5,info:9,warn:13,error:17,fatal:21}},831538,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(677708),a=e.r(686465);function o(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}r.createLogContainerEnvelopeItem=o,r.createLogEnvelope=function(e,t,r,i){let s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),r&&i&&(s.dsn=n.dsnToString(i)),a.createEnvelope(s,[o(e)])}},993017,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(657531),a=e.r(411775),o=e.r(733438),i=e.r(307697),s=e.r(904067),l=e.r(220824),u=e.r(239021),c=e.r(490790),d=e.r(141534),_=e.r(16329),p=e.r(487742),E=e.r(831538);function S(e,t,r,n=!0){r&&(!e[t]||n)&&(e[t]=r)}function T(e,t){let r=m(),n=f(e);void 0===n?r.set(e,[t]):n.length>=100?(g(e,n),r.set(e,[t])):r.set(e,[...n,t])}function g(e,t){let r=t??f(e)??[];if(0===r.length)return;let n=e.getOptions(),a=E.createLogEnvelope(r,n._metadata,n.tunnel,e.getDsn());m().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(a)}function f(e){return m().get(e)}function m(){return a.getGlobalSingleton("clientToLogBufferMap",()=>new WeakMap)}r._INTERNAL_captureLog=function(e,t=o.getCurrentScope(),r=T){let a=t?.getClient()??o.getClient();if(!a){i.DEBUG_BUILD&&s.debug.warn("No client available to capture log.");return}let{release:E,environment:g,enableLogs:f=!1,beforeSendLog:m}=a.getOptions();if(!f){i.DEBUG_BUILD&&s.debug.warn("logging option not enabled, log will not be captured.");return}let[,h]=_._getTraceInfoFromScope(a,t),A={...e.attributes},{user:{id:R,email:I,username:y},attributes:N={}}=u.getCombinedScopeData(o.getIsolationScope(),t);S(A,"user.id",R,!1),S(A,"user.email",I,!1),S(A,"user.name",y,!1),S(A,"sentry.release",E),S(A,"sentry.environment",g);let{name:O,version:v}=a.getSdkMetadata()?.sdk??{};S(A,"sentry.sdk.name",O),S(A,"sentry.sdk.version",v);let b=a.getIntegrationByName("Replay"),C=b?.getReplayId(!0);S(A,"sentry.replay_id",C),C&&b?.getRecordingMode()==="buffer"&&S(A,"sentry._internal.replay_is_buffering",!0);let M=e.message;
8if(l.isParameterizedString(M)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=M;t?.length&&(A["sentry.message.template"]=e),t.forEach((e,t)=>{A[`sentry.message.parameter.${t}`]=e})}let U=c._getSpanForScope(t);S(A,"sentry.trace.parent_span_id",U?.spanContext().spanId);let P={...e,attributes:A};a.emit("beforeCaptureLog",P);let D=m?s.consoleSandbox(()=>m(P)):P;if(!D){a.recordDroppedEvent("before_send","log_item",1),i.DEBUG_BUILD&&s.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:L,message:w,attributes:B={},severityNumber:k}=D;r(a,{timestamp:d.timestampInSeconds(),level:L,body:w,trace_id:h?.trace_id,severity_number:k??p.SEVERITY_TEXT_TO_SEVERITY_NUMBER[L],attributes:{...n.serializeAttributes(N),...n.serializeAttributes(B,!0)}}),a.emit("afterCaptureLog",D)},r._INTERNAL_captureSerializedLog=T,r._INTERNAL_flushLogsBuffer=g,r._INTERNAL_getLogBuffer=f},302772,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(677708),a=e.r(686465);function o(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}r.createMetricContainerEnvelopeItem=o,r.createMetricEnvelope=function(e,t,r,i){let s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),r&&i&&(s.dsn=n.dsnToString(i)),a.createEnvelope(s,[o(e)])}},77144,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(657531),a=e.r(411775),o=e.r(733438),i=e.r(307697),s=e.r(904067),l=e.r(239021),u=e.r(490790),c=e.r(141534),d=e.r(16329),_=e.r(302772);function p(e,t,r,n=!0){!r||!n&&t in e||(e[t]=r)}function E(e,t){let r=g(),n=T(e);void 0===n?r.set(e,[t]):n.length>=1e3?(S(e,n),r.set(e,[t])):r.set(e,[...n,t])}function S(e,t){let r=t??T(e)??[];if(0===r.length)return;let n=e.getOptions(),a=_.createMetricEnvelope(r,n._metadata,n.tunnel,e.getDsn());g().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(a)}function T(e){return g().get(e)}function g(){return a.getGlobalSingleton("clientToMetricBufferMap",()=>new WeakMap)}r._INTERNAL_captureMetric=function(e,t){let r=t?.scope??o.getCurrentScope(),a=t?.captureSerializedMetric??E,_=r?.getClient()??o.getClient();if(!_){i.DEBUG_BUILD&&s.debug.warn("No client available to capture metric.");return}let{_experiments:S,enableMetrics:T,beforeSendMetric:g}=_.getOptions();if(!(T??S?.enableMetrics??!0)){i.DEBUG_BUILD&&s.debug.warn("metrics option not enabled, metric will not be captured.");return}let{user:f,attributes:m}=l.getCombinedScopeData(o.getIsolationScope(),r),h=function(e,t,r){let{release:n,environment:a}=t.getOptions(),o={...e.attributes};p(o,"user.id",r.id,!1),p(o,"user.email",r.email,!1),p(o,"user.name",r.username,!1),p(o,"sentry.release",n),p(o,"sentry.environment",a);let{name:i,version:s}=t.getSdkMetadata()?.sdk??{};p(o,"sentry.sdk.name",i),p(o,"sentry.sdk.version",s);let l=t.getIntegrationByName("Replay"),u=l?.getReplayId(!0);return p(o,"sentry.replay_id",u),u&&l?.getRecordingMode()==="buffer"&&p(o,"sentry._internal.replay_is_buffering",!0),{...e,attributes:o}}(e,_,f);_.emit("processMetric",h);let A=g||S?.beforeSendMetric,R=A?A(h):h;if(!R){i.DEBUG_BUILD&&s.debug.log("`beforeSendMetric` returned `null`, will not send metric.");return}let I=function(e,t,r,a){let[,o]=d._getTraceInfoFromScope(t,r),i=u._getSpanForScope(r),s=i?i.spanContext().traceId:o?.trace_id,l=i?i.spanContext().spanId:void 0;return{timestamp:c.timestampInSeconds(),trace_id:s??"",span_id:l,name:e.name,type:e.type,unit:e.unit,value:e.value,attributes:{...n.serializeAttributes(a),...n.serializeAttributes(e.attributes,"skip-undefined")}}}(R,_,r,m);i.DEBUG_BUILD&&s.debug.log("[Metric]",I),a(_,I),_.emit("afterCaptureMetric",R)},r._INTERNAL_captureSerializedMetric=E,r._INTERNAL_flushMetricsBuffer=S,r._INTERNAL_getMetricBuffer=T},292211,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(115471),a=Symbol.for("SentryBufferFullError");r.SENTRY_BUFFER_FULL_ERROR=a,r.makePromiseBuffer=function(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return n.rejectedSyncPromise(a);
8let o=r();return t.add(o),o.then(()=>{t.delete(o)},()=>{t.delete(o)}),o},drain:function(e){if(!t.size)return n.resolvedSyncPromise(!0);let r=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([r,new Promise(t=>setTimeout(()=>t(!1),e))]):r}}}},811975,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(106076);function a(e,t=n.safeDateNow()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let o=Date.parse(`${e}`);return isNaN(o)?6e4:o-t}function o(e,t){return e[t]||e.all||0}r.DEFAULT_RETRY_AFTER=6e4,r.disabledUntil=o,r.isRateLimited=function(e,t,r=n.safeDateNow()){return o(e,t)>r},r.parseRetryAfterHeader=a,r.updateRateLimits=function(e,{statusCode:t,headers:r},o=n.safeDateNow()){let i={...e},s=r?.["x-sentry-rate-limits"],l=r?.["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,r,,,n]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!n||n.split(";").includes("custom"))&&(i[e]=o+s):i[e]=o+s;else i.all=o+s}else l?i.all=o+a(l,o):429===t&&(i.all=o+6e4);return i}},896987,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(686465),i=e.r(292211),s=e.r(811975);r.DEFAULT_TRANSPORT_BUFFER_SIZE=64,r.createTransport=function(e,t,r=i.makePromiseBuffer(e.bufferSize||64)){let l={};return{send:function(u){let c=[];if(o.forEachEnvelopeItem(u,(t,r)=>{let n=o.envelopeItemTypeToDataCategory(r);s.isRateLimited(l,n)?e.recordDroppedEvent("ratelimit_backoff",n):c.push(t)}),0===c.length)return Promise.resolve({});let d=o.createEnvelope(u[0],c),_=t=>{if(o.envelopeContainsItemType(d,["client_report"])){n.DEBUG_BUILD&&a.debug.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}o.forEachEnvelopeItem(d,(r,n)=>{e.recordDroppedEvent(t,o.envelopeItemTypeToDataCategory(n))})};return r.add(()=>t({body:o.serializeEnvelope(d)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&n.DEBUG_BUILD&&a.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),l=s.updateRateLimits(l,e),e),e=>{throw _("network_error"),n.DEBUG_BUILD&&a.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===i.SENTRY_BUFFER_FULL_ERROR)return n.DEBUG_BUILD&&a.debug.error("Skipped sending event because buffer is full."),_("queue_overflow"),Promise.resolve({});throw e})},flush:e=>r.drain(e)}}},40712,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(686465),a=e.r(141534);r.createClientReportEnvelope=function(e,t,r){let o=[{type:"client_report"},{timestamp:r||a.dateTimestampInSeconds(),discarded_events:e}];return n.createEnvelope(t?{dsn:t}:{},[o])}},432223,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.getPossibleEventMessages=function(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}},210957,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(326691);r.convertSpanJsonToTransactionEvent=function(e){return{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&&{[n.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements}},r.convertTransactionEventToSpanJson=function(e){let{trace_id:t,parent_span_id:r,span_id:a,status:o,origin:i,data:s,op:l}=e.contexts?.trace??{};return{data:s??{},description:e.transaction,op:l,parent_span_id:r,span_id:a??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:s?.[n.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:s?.[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}},644671,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(217829),a=e.r(178233),o=e.r(733438),i=e.r(307697),s=e.r(904663),l=e.r(435549),u=e.r(993017),c=e.r(77144),d=e.r(846155),_=e.r(413450),p=e.r(896987),E=e.r(40712),S=e.r(904067),T=e.r(677708),g=e.r(686465),f=e.r(432223),m=e.r(220824),h=e.r(375096),A=e.r(950314),R=e.r(208050),I=e.r(55763),y=e.r(292211),N=e.r(106076),O=e.r(914363),v=e.r(415081),b=e.r(115471),C=e.r(210957),M="Not capturing exception because it's already been captured.",U="Discarded session because of missing or non-string release",P=Symbol.for("SentryInternalError"),D=Symbol.for("SentryDoNotSendEventError");function L(e){return{message:e,[P]:!0}}function w(e){return{message:e,[D]:!0}}function B(e){return!!e&&"object"==typeof e&&P in e}function k(e){return!!e&&"object"==typeof e&&D in e}function x(e,t,r,n,a){let o,i=0,s=!1;e.on(r,()=>{i=0,clearTimeout(o),s=!1}),e.on(t,t=>{(i+=n(t))>=8e5?a(e):s||(s=!0,o=setTimeout(()=>{a(e)},5e3))}),e.on("flush",()=>{a(e)})}function G(e){return"replay_event"===e?"replay":e||"error"}function F(e){return void 0===e.type}function V(e){return"transaction"===e.type}function H(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;
8return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*W(e[0]):m.isPrimitive(e)?t+=W(e):t+=100}),t}function W(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}r.Client=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=y.makePromiseBuffer(e.transportOptions?.bufferSize??p.DEFAULT_TRANSPORT_BUFFER_SIZE),e.dsn?this._dsn=T.makeDsn(e.dsn):i.DEBUG_BUILD&&S.debug.warn("No DSN provided, client will not send events."),this._dsn){const t=n.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:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&x(this,"afterCaptureLog","flushLogs",j,u._INTERNAL_flushLogsBuffer),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&x(this,"afterCaptureMetric","flushMetrics",H,c._INTERNAL_flushMetricsBuffer)}captureException(e,t,r){let n=A.uuid4();if(A.checkOrSetAlreadyCaught(e))return i.DEBUG_BUILD&&S.debug.log(M),n;let a={event_id:n,...t};return this._process(()=>this.eventFromException(e,a).then(e=>this._captureEvent(e,a,r)).then(e=>e),"error"),a.event_id}captureMessage(e,t,r,n){let a={event_id:A.uuid4(),...r},o=m.isParameterizedString(e)?e:String(e),i=m.isPrimitive(e),s=i?this.eventFromMessage(o,t,a):this.eventFromException(e,a);return this._process(()=>s.then(e=>this._captureEvent(e,a,n)),i?"unknown":"error"),a.event_id}captureEvent(e,t,r){let n=A.uuid4();if(t?.originalException&&A.checkOrSetAlreadyCaught(t.originalException))return i.DEBUG_BUILD&&S.debug.log(M),n;let a={event_id:n,...t},o=e.sdkProcessingMetadata||{},s=o.capturedSpanScope,l=o.capturedSpanIsolationScope,u=G(e.type);return this._process(()=>this._captureEvent(e,a,s||r,l),u),a.event_id}captureSession(e){this.sendSession(e),d.updateSession(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(!t)return!0;this.emit("flush");let r=await this._isClientDoneProcessing(e),n=await t.flush(e);return r&&n}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];l.setupIntegration(this,e,this._integrations),t||l.afterSetupIntegrations(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=s.createEventEnvelope(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=g.addItemToEnvelope(r,g.createAttachmentEnvelopeItem(e));this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:r=a.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){i.DEBUG_BUILD&&S.debug.warn(U);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){i.DEBUG_BUILD&&S.debug.warn(U);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let n=s.createSessionEnvelope(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let n=`${e}:${t}`;i.DEBUG_BUILD&&S.debug.log(`Recording outcome: "${n}"${r>1?` (${r} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||new Set,n=(...e)=>t(...e);return r.add(n),()=>{r.delete(n)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return i.DEBUG_BUILD&&S.debug.error("Error while sending envelope:",e),{}}return i.DEBUG_BUILD&&S.debug.error("Transport disabled"),{}}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=l.setupIntegrations(this,e),l.afterSetupIntegrations(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,a=t.exception?.values;if(a){for(let e of(n=!0,r=!1,a))if(e.mechanism?.handled===!1){r=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&r)&&(d.updateSession(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,n){let a=this.getOptions(),i=Object.keys(this._integrations);
8return!t.integrations&&i?.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),I.prepareEvent(a,e,t,r,this,n).then(e=>(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:o.getTraceContextFromScope(r),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:_.getDynamicSamplingContextFromScope(this,r),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},r=o.getCurrentScope(),n=o.getIsolationScope()){return i.DEBUG_BUILD&&F(e)&&S.debug.log(`Captured error event \`${f.getPossibleEventMessages(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,n).then(e=>e.event_id,e=>{i.DEBUG_BUILD&&(k(e)?S.debug.log(e.message):B(e)?S.debug.warn(e.message):S.debug.warn(e))})}_processEvent(e,t,r,n){let a=this.getOptions(),{sampleRate:o}=a,i=V(e),s=F(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===o?void 0:R.parseSampleRate(o);if(s&&"number"==typeof c&&N.safeMathRandom()>c)return this.recordDroppedEvent("sample_rate","error"),b.rejectedSyncPromise(w(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));let d=G(e.type);return this._prepareEvent(e,t,r,n).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),w("An event processor returned `null`, will not send event.");return t.data&&!0===t.data.__sentry__?e:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if(m.isThenable(e))return e.then(e=>{if(!m.isPlainObject(e)&&null!==e)throw L(r);return e},e=>{throw L(`${t} rejected with ${e}`)});if(!m.isPlainObject(e)&&null!==e)throw L(r);return e}(function(e,t,r,n){let{beforeSend:a,beforeSendTransaction:o,beforeSendSpan:i,ignoreSpans:s}=t,l=r;if(F(l)&&a)return a(l,n);if(V(l)){if(i||s){let t=C.convertTransactionEventToSpanJson(l);if(s?.length&&O.shouldIgnoreSpan(t,s))return null;if(i){let e=i(t);e?l=h.merge(r,C.convertSpanJsonToTransactionEvent(e)):v.showSpanDropWarning()}if(l.spans){let t=[],r=l.spans;for(let e of r){if(s?.length&&O.shouldIgnoreSpan(e,s)){O.reparentChildSpans(r,e);continue}if(i){let r=i(e);r?t.push(r):(v.showSpanDropWarning(),t.push(e))}else t.push(e)}let n=l.spans.length-t.length;n&&e.recordDroppedEvent("before_send","span",n),l.spans=t}}if(o){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(l,n)}}return l}(this,a,e,t),u)}).then(a=>{if(null===a){if(this.recordDroppedEvent("before_send",d),i){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw w(`${u} returned \`null\`, will not send event.`)}let o=r.getSession()||n.getSession();if(s&&o&&this._updateSessionFromEvent(o,a),i){let e=(a.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=a.transaction_info;return i&&l&&a.transaction!==e.transaction&&(a.transaction_info={...l,source:"custom"}),this.sendEvent(a,t),a}).then(null,e=>{if(k(e)||B(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),L(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
9Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===y.SENTRY_BUFFER_FULL_ERROR&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){i.DEBUG_BUILD&&S.debug.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){i.DEBUG_BUILD&&S.debug.log("No outcomes to send");return}if(!this._dsn){i.DEBUG_BUILD&&S.debug.log("No dsn provided, will not send outcomes");return}i.DEBUG_BUILD&&S.debug.log("Sending outcomes:",e);let t=E.createClientReportEnvelope(e,this._options.tunnel&&T.dsnToString(this._dsn));this.sendEnvelope(t)}}},199862,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(677708),a=e.r(686465);r.createCheckInEnvelope=function(e,t,r,o,i){let s={sent_at:new Date().toISOString()};r?.sdk&&(s.sdk={name:r.sdk.name,version:r.sdk.version}),o&&i&&(s.dsn=n.dsnToString(i)),t&&(s.trace=t);let l=[{type:"check_in"},e];return a.createEnvelope(s,[l])}},585297,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.addUserAgentToTransportHeaders=function(e){let t=e._metadata?.sdk,r=t?.name&&t?.version?`${t?.name}/${t?.version}`:void 0;e.transportOptions={...e.transportOptions,headers:{...r&&{"user-agent":r},...e.transportOptions?.headers}}}},158734,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(220824),a=e.r(950314),o=e.r(308447),i=e.r(885139);function s(e,t){return e(t.stack||"",1)}function l(e){return n.isError(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function u(e,t){let r={type:t.name||t.constructor.name,value:l(t)},n=s(e,t);return n.length&&(r.stacktrace={frames:n}),r}r._enhanceErrorWithSentryInfo=l,r.eventFromMessage=function(e,t,r="info",o,i){let l={event_id:o?.event_id,level:r};if(i&&o?.syntheticException){let r=s(e,o.syntheticException);r.length&&(l.exception={values:[{value:t,stacktrace:{frames:r}}]},a.addExceptionMechanism(l,{synthetic:!0}))}
9if(n.isParameterizedString(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return l.logentry={message:e,params:r},l}return l.message=t,l},r.eventFromUnknownInput=function(e,t,r,s){let l=s?.data&&s.data.mechanism||{handled:!0,type:"generic"},[c,d]=function(e,t,r,a){if(n.isError(r))return[r,void 0];if(t.synthetic=!0,n.isPlainObject(r)){let t=e?.getOptions().normalizeDepth,s={__serialized__:o.normalizeToSize(r,t)},l=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(r instanceof Error)return r}}(r);if(l)return[l,s];let u=function(e){if("name"in e&&"string"==typeof e.name){let t=`'${e.name}' captured as exception`;return"message"in e&&"string"==typeof e.message&&(t+=` with message '${e.message}'`),t}if("message"in e&&"string"==typeof e.message)return e.message;let t=i.extractExceptionKeysForMessage(e);if(n.isErrorEvent(e))return`Event \`ErrorEvent\` captured as exception with message \`${e.message}\``;let r=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`${r&&"Object"!==r?`'${r}'`:"Object"} captured as exception with keys: ${t}`}(r),c=a?.syntheticException||Error(u);return c.message=u,[c,s]}let s=a?.syntheticException||Error(r);return s.message=`${r}`,[s,void 0]}(e,l,r,s),_={exception:{values:[u(t,c)]}};return d&&(_.extra=d),a.addExceptionTypeValue(_,void 0,void 0),a.addExceptionMechanism(_,l),{..._,event_id:s?.event_id}},r.exceptionFromError=u,r.parseStackFrames=s},114546,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(199862),a=e.r(644671),o=e.r(733438),i=e.r(307697),s=e.r(826164),l=e.r(904067),u=e.r(950314),c=e.r(585297),d=e.r(158734),_=e.r(115471),p=e.r(16329);class E extends a.Client{constructor(e){s.registerSpanErrorInstrumentation(),c.addUserAgentToTransportHeaders(e),super(e),this._setUpMetricsProcessing()}eventFromException(e,t){let r=d.eventFromUnknownInput(this,this._options.stackParser,e,t);return r.level="error",_.resolvedSyncPromise(r)}eventFromMessage(e,t="info",r){return _.resolvedSyncPromise(d.eventFromMessage(this._options.stackParser,e,t,r,this._options.attachStacktrace))}captureException(e,t,r){return S(t),super.captureException(e,t,r)}captureEvent(e,t,r){return!e.type&&e.exception?.values&&e.exception.values.length>0&&S(t),super.captureEvent(e,t,r)}captureCheckIn(e,t,r){let a="checkInId"in e&&e.checkInId?e.checkInId:u.uuid4();if(!this._isEnabled())return i.DEBUG_BUILD&&l.debug.warn("SDK not enabled, will not capture check-in."),a;let{release:o,environment:s,tunnel:c}=this.getOptions(),d={check_in_id:a,monitor_slug:e.monitorSlug,status:e.status,release:o,environment:s};"duration"in e&&(d.duration=e.duration),t&&(d.monitor_config={schedule:t.schedule,checkin_margin:t.checkinMargin,max_runtime:t.maxRuntime,timezone:t.timezone,failure_issue_threshold:t.failureIssueThreshold,recovery_threshold:t.recoveryThreshold});let[_,E]=p._getTraceInfoFromScope(this,r);E&&(d.contexts={trace:E});let S=n.createCheckInEnvelope(d,_,this.getSdkMetadata(),c,this.getDsn());return i.DEBUG_BUILD&&l.debug.log("Sending checkin:",e.monitorSlug,e.status),this.sendEnvelope(S),a}_prepareEvent(e,t,r,n){return this._options.platform&&(e.platform=e.platform||this._options.platform),this._options.runtime&&(e.contexts={...e.contexts,runtime:e.contexts?.runtime||this._options.runtime}),this._options.serverName&&(e.server_name=e.server_name||this._options.serverName),super._prepareEvent(e,t,r,n)}_setUpMetricsProcessing(){this.on("processMetric",e=>{this._options.serverName&&(e.attributes={"server.address":this._options.serverName,...e.attributes})})}}function S(e){let t=o.getIsolationScope().getScopeData().sdkProcessingMetadata.requestSession;if(t){let r=e?.mechanism?.handled??!0;r&&"crashed"!==t.status?t.status="errored":r||(t.status="crashed")}}r.ServerRuntimeClient=E},719103,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(307697),o=e.r(904067);function i(e){n.getCurrentScope().setClient(e)}r.initAndBind=function(e,t){!0===t.debug&&(a.DEBUG_BUILD?o.debug.enable():o.consoleSandbox(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),n.getCurrentScope().update(t.initialScope);let r=new e(t);return i(r),r.init(),r},r.setCurrentClient=i},587775,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(686465),i=e.r(811975);r.MIN_DELAY=100,r.START_DELAY=5e3,r.makeOfflineTransport=function(e){function t(...e){n.DEBUG_BUILD&&a.debug.log("[Offline]:",...e)}return r=>{let n,a=e(r);if(!r.createStore)throw Error("No `createStore` function was provided");let s=r.createStore(r),l=5e3;function u(e){n&&clearTimeout(n),"number"!=typeof(n=setTimeout(async()=>{n=void 0;let e=await s.shift();e&&(t("Attempting to send previously queued event"),e[0].sent_at=new Date().toISOString(),d(e,!0).catch(e=>{t("Failed to retry sending",e)}))},e))&&n.unref&&n.unref()}function c(){n||(u(l),l=Math.min(2*l,36e5))}async function d(e,n=!1){if(!n&&o.envelopeContainsItemType(e,["replay_event","replay_recording"]))return await s.push(e),u(100),{};
9try{if(r.shouldSend&&await r.shouldSend(e)===!1)throw Error("Envelope not sent because `shouldSend` callback returned false");let t=await a.send(e),n=100;if(t){if(t.headers?.["retry-after"])n=i.parseRetryAfterHeader(t.headers["retry-after"]);else if(t.headers?.["x-sentry-rate-limits"])n=6e4;else if((t.statusCode||0)>=400)return t}return u(n),l=5e3,t}catch(a){var _;if(await (_=l,!o.envelopeContainsItemType(e,["client_report"])&&(!r.shouldStore||r.shouldStore(e,a,_))))return n?await s.unshift(e):await s.push(e),c(),t("Error sending. Event queued.",a),{};throw a}}return r.flushAtStartup&&c(),{send:d,flush:e=>(void 0===e&&(l=5e3,u(100)),a.flush(e))}}}},289556,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(217829),a=e.r(677708),o=e.r(686465),i="MULTIPLEXED_TRANSPORT_EXTRA_KEY";function s(e,t){let r;return o.forEachEnvelopeItem(e,(e,n)=>(t.includes(n)&&(r=Array.isArray(e)?e[1]:void 0),!!r)),r}r.MULTIPLEXED_TRANSPORT_EXTRA_KEY=i,r.eventFromEnvelope=s,r.makeMultiplexedTransport=function(e,t){return r=>{let l=e(r),u=new Map,c=t||(e=>{let t=e.getEvent();return t?.extra?.[i]&&Array.isArray(t.extra[i])?t.extra[i]:[]});function d(t,o){let i=o?`${t}:${o}`:t,l=u.get(i);if(!l){let c=a.dsnFromString(t);if(!c)return;let d=n.getEnvelopeEndpointWithUrlEncodedAuth(c,r.tunnel);l=o?(t=>{let r=e(t);return{...r,send:async e=>{let t=s(e,["event","transaction","profile","replay_event"]);return t&&(t.release=o),r.send(e)}}})({...r,url:d}):e({...r,url:d}),u.set(i,l)}return[t,l]}return{send:async function(e){let t=c({envelope:e,getEvent:function(t){return s(e,t?.length?t:["event"])}}).map(e=>"string"==typeof e?d(e,void 0):d(e.dsn,e.release)).filter(e=>!!e),r=t.length?t:[["",l]];return(await Promise.all(r.map(([t,r])=>r.send(o.createEnvelope(t?{...e[0],dsn:t}:e[0],e[1])))))[0]},flush:async function(e){let t=[...u.values(),l];return(await Promise.all(t.map(t=>t.flush(e)))).every(e=>e)}}}}},740161,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=new Set;r._INTERNAL_clearAiProviderSkips=function(){o.clear(),n.DEBUG_BUILD&&a.debug.log("Cleared AI provider skip registrations")},r._INTERNAL_shouldSkipAiProviderWrapping=function(e){return o.has(e)},r._INTERNAL_skipAiProviderWrapping=function(e){e.forEach(e=>{o.add(e),n.DEBUG_BUILD&&a.debug.log(`AI provider "${e}" wrapping will be skipped`)})}},276007,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(326691);function a(e){return"isRelative"in e}function o(e){if(a(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}
9r.getHttpSpanDetailsFromUrlObject=function(e,t,r,i,s){let l,u,c={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"};return s&&(c["server"===t?"http.route":"url.template"]=s,c[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="route"),i?.method&&(c[n.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD]=i.method.toUpperCase()),e&&(e.search&&(c["url.query"]=e.search),e.hash&&(c["url.fragment"]=e.hash),e.pathname&&(c["url.path"]=e.pathname,"/"===e.pathname&&(c[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="route")),!a(e)&&(c[n.SEMANTIC_ATTRIBUTE_URL_FULL]=e.href,e.port&&(c["url.port"]=e.port),e.protocol&&(c["url.scheme"]=e.protocol),e.hostname&&(c["server"===t?"server.address":"url.domain"]=e.hostname))),[(l=i?.method?.toUpperCase()??"GET",u=s||(e?"client"===t?o(e):e.pathname:"/"),`${l} ${u}`),c]},r.getSanitizedUrlString=function(e){let{protocol:t,host:r,path:n}=e,a=r?.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||"";return`${t?`${t}://`:""}${a}${n}`},r.getSanitizedUrlStringFromUrlObject=o,r.isURLObjectRelative=a,r.parseStringToURLObject=function(e,t){let r=0>=e.indexOf("://")&&0!==e.indexOf("//"),n=t??(r?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,n))return;let t=new URL(e,n);if(r)return{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}},r.parseUrl=function(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}},r.stripDataUrlContent=function(e,t=!0){if(e.startsWith("data:")){let r=e.match(/^data:([^;,]+)/),n=r?r[1]:"text/plain",a=e.includes(";base64,"),o=e.indexOf(","),i="";if(t&&-1!==o){let t=e.slice(o+1);i=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${n}${a?",base64":""}${i?`,${i}`:""}`}return e},r.stripUrlQueryAndFragment=function(e){return e.split(/[?#]/,1)[0]}},690223,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(276007);function a(e){return"/"===e[e.length-1]?e.slice(0,-1):e}r.isSentryRequestUrl=function(e,t){var r,o,i,s;let l,u=t?.getDsn(),c=t?.getOptions().tunnel;return r=e,o=u,!(!(l=n.parseStringToURLObject(r))||n.isURLObjectRelative(l))&&!!o&&l.host.includes(o.host)&&/(^|&|\?)sentry_key=/.test(l.search)||(i=e,!!(s=c)&&a(i)===a(s))}},962046,(e,t,r)=>{function n(e,...t){let r=new String(String.raw(e,...t));return r.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=t,r}Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.fmt=n,r.parameterize=n},621909,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.addAutoIpAddressToSession=function(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")},r.addAutoIpAddressToUser=function(e){e.user?.ip_address===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}},154203,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(840741);r.applySdkMetadata=function(e,t,r=[t],a="npm"){let o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:r.map(e=>({name:`${a}:@sentry/${e}`,version:n.SDK_VERSION})),version:n.SDK_VERSION}),e._metadata=o}},520483,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(538207),a=e.r(411775),o=e.r(733438),i=e.r(127716),s=e.r(904067),l=e.r(415081),u=e.r(413450),c=e.r(252798),d=e.r(473994);r.getTraceData=function(e={}){let t=e.client||o.getClient();if(!i.isEnabled()||!t)return{};let r=a.getMainCarrier(),_=n.getAsyncContextStrategy(r);if(_.getTraceData)return _.getTraceData(e);let p=e.scope||o.getCurrentScope(),E=e.span||l.getActiveSpan(),S=E?l.spanToTraceHeader(E):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return d.generateSentryTraceHeader(t,n,r)}(p),T=E?u.getDynamicSamplingContextFromSpan(E):u.getDynamicSamplingContextFromScope(t,p),g=c.dynamicSamplingContextToSentryBaggageHeader(T);if(!d.TRACEPARENT_REGEXP.test(S))return s.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let f={"sentry-trace":S,baggage:g};return e.propagateTraceparent&&(f.traceparent=E?l.spanToTraceparentHeader(E):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return d.generateTraceparentHeader(t,n,r)}(p)),f}},537519,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(520483);r.getTraceMetaTags=function(e){return Object.entries(e||n.getTraceData()).map(([e,t])=>`<meta name="${e}" content="${t}"/>`).join("\n")}},359208,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.debounce=function(e,t,r){let n,a,o,i=r?.maxWait?Math.max(r.maxWait,t):0,s=r?.setTimeoutImpl||setTimeout;function l(){return u(),n=e()}function u(){void 0!==a&&clearTimeout(a),void 0!==o&&clearTimeout(o),a=o=void 0}function c(){return a&&clearTimeout(a),a=s(l,t),i&&void 0===o&&(o=s(l,i)),n}return c.cancel=u,c.flush=function(){return void 0!==a||void 0!==o?l():n},c}},533348,(e,t,r)=>{function n(e){let t={};try{e.forEach((e,r)=>{"string"==typeof e&&(t[r]=e)})}catch{}return t}function a(e){let t=Object.create(null);try{Object.entries(e).forEach(([e,r])=>{"string"==typeof r&&(t[e]=r)})}catch{}return t}Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let o=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","set-cookie","cookie"],i=["x-forwarded-","-user"];function s(e){return e.replace(/-/g,"_")}function l(e,t,r,n,a){var l,u;let c=r?`http.request.header.${s(t)}.${s(r)}`:`http.request.header.${s(t)}`,d=(l=r||t,u=n,(a?o.some(e=>l.includes(e)):[...i,...o].some(e=>l.includes(e)))?"[Filtered]":Array.isArray(u)?u.map(e=>null!=e?String(e):e).join(";
9"):"string"==typeof u?u:void 0);void 0!==d&&(e[c]=d)}function u(e){if(e)try{let t=new URL(e,"http://s.io").search.slice(1);return t.length?t:void 0}catch{return}}r.extractQueryParamsFromUrl=u,r.headersToDict=a,r.httpHeadersToSpanAttributes=function(e,t=!1){let r={};try{Object.entries(e).forEach(([e,n])=>{if(null==n)return;let a=e.toLowerCase();if(("cookie"===a||"set-cookie"===a)&&"string"==typeof n&&""!==n){let e="set-cookie"===a,o=n.indexOf(";"),i=e&&-1!==o?n.substring(0,o):n;for(let n of e?[i]:i.split("; ")){let e=n.indexOf("="),o=-1!==e?n.substring(0,e):n,i=-1!==e?n.substring(e+1):"",s=o.toLowerCase();l(r,a,s,i,t)}}else l(r,a,"",n,t)})}catch{}return r},r.httpRequestToRequestData=function(e){let t=e.headers||{},r=("string"==typeof t["x-forwarded-host"]?t["x-forwarded-host"]:void 0)||("string"==typeof t.host?t.host:void 0),n=("string"==typeof t["x-forwarded-proto"]?t["x-forwarded-proto"]:void 0)||e.protocol||(e.socket?.encrypted?"https":"http"),o=e.url||"",i=function({url:e,protocol:t,host:r}){return e?.startsWith("http")?e:e&&r?`${t}://${r}${e}`:void 0}({url:o,host:r,protocol:n}
9),s=e.body||void 0,l=e.cookies;return{url:i,method:e.method,query_string:u(o),headers:a(t),cookies:l,data:s}},r.winterCGHeadersToDict=n,r.winterCGRequestToRequestData=function(e){let t=n(e.headers);return{method:e.method,url:e.url,query_string:u(e.url),headers:t}}},697945,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(904067),o=e.r(141534);r.addBreadcrumb=function(e,t){let r=n.getClient(),i=n.getIsolationScope();if(!r)return;let{beforeBreadcrumb:s=null,maxBreadcrumbs:l=100}=r.getOptions();if(l<=0)return;let u={timestamp:o.dateTimestampInSeconds(),...e},c=s?a.consoleSandbox(()=>s(u,t)):u;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),i.addBreadcrumb(c,l))}},73744,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(733438),o=e.r(435549),i=e.r(885139),s=new WeakMap;r.functionToStringIntegration=o.defineIntegration(()=>({name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=i.getOriginalFunction(this),r=s.has(a.getClient())&&void 0!==t?t:this;return n.apply(r,e)}}catch{}},setup(e){s.set(e,!0)}}))},1688,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(435549),o=e.r(904067),i=e.r(432223),s=e.r(950314),l=e.r(190727),u=[/^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. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],c=a.defineIntegration((e={})=>{let t;return{name:"EventFilters",setup(r){t=_(e,r.getOptions())},processEvent:(r,a,u)=>(t||(t=_(e,u.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let r=e.transaction;return!!r&&l.stringMatchesSomePattern(r,t)}(e,t.ignoreTransactions))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
10Event: ${s.getEventDescription(e)}`),!0}else{var r,a,u;if(r=e,a=t.ignoreErrors,a?.length&&i.getPossibleEventMessages(r).some(e=>l.stringMatchesSomePattern(e,a)))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
11Event: ${s.getEventDescription(e)}`),!0;if(u=e,u.exception?.values?.length&&!u.message&&!u.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to not having an error message, error type or stacktrace.
12Event: ${s.getEventDescription(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let r=p(e);return!!r&&l.stringMatchesSomePattern(r,t)}(e,t.denyUrls))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to being matched by \`denyUrls\` option.
13Event: ${s.getEventDescription(e)}.
14Url: ${p(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let r=p(e);return!r||l.stringMatchesSomePattern(r,t)}(e,t.allowUrls))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option.
15Event: ${s.getEventDescription(e)}.
16Url: ${p(e)}`),!0}return!1}(r,t)?r:null)}}),d=a.defineIntegration((e={})=>({...c(e),name:"InboundFilters"}));function _(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:u],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function p(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(r):null}catch{return n.DEBUG_BUILD&&o.debug.error(`Cannot extract url for event ${s.getEventDescription(e)}`),null}}r.eventFiltersIntegration=c,r.inboundFiltersIntegration=d},852711,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(220824);function a(e){return Array.isArray(e.errors)}function o(e,t,r){e.mechanism={handled:!0,type:"auto.core.linked_errors",...a(r)&&{is_exception_group:!0}
16,...e.mechanism,exception_id:t}}function i(e,t,r,n){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}r.applyAggregateErrorsToEvent=function(e,t,r,s,l,u){if(!l.exception?.values||!u||!n.isInstanceOf(u.originalException,Error))return;let c=l.exception.values.length>0?l.exception.values[l.exception.values.length-1]:void 0;c&&(l.exception.values=function e(t,r,s,l,u,c,d,_){if(c.length>=s+1)return c;let p=[...c];if(n.isInstanceOf(l[u],Error)){o(d,_,l);let n=t(r,l[u]),a=p.length;i(n,u,a,_),p=e(t,r,s,l[u],u,[n,...p],n,a)}return a(l)&&l.errors.forEach((a,c)=>{if(n.isInstanceOf(a,Error)){o(d,_,l);let n=t(r,a),E=p.length;i(n,`errors[${c}]`,E,_),p=e(t,r,s,a,u,[n,...p],n,E)}}),p}(e,t,s,u.originalException,r,l.exception.values,c,0))}},964781,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(435549),a=e.r(852711),o=e.r(158734);r.linkedErrorsIntegration=n.defineIntegration((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,i){let s=i.getOptions();a.applyAggregateErrorsToEvent(o.exceptionFromError,s.stackParser,r,t,e,n)}}})},147115,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(240256),a=new Map,o=new Set;function i(e,t){if(n.GLOBAL_OBJ._sentryModuleMetadata)for(let t of Object.keys(n.GLOBAL_OBJ._sentryModuleMetadata)){let r=n.GLOBAL_OBJ._sentryModuleMetadata[t];if(!o.has(t)){for(let n of(o.add(t),e(t).reverse()))if(n.filename){a.set(n.filename,r);break}}}return a.get(t)}r.addMetadataToStackFrames=function(e,t){t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{if(!t.filename||t.module_metadata)return;let r=i(e,t.filename);r&&(t.module_metadata=r)})})},r.getFilenameToMetadataMap=function(e){if(!n.GLOBAL_OBJ._sentryModuleMetadata)return{};let t={};for(let r of Object.keys(n.GLOBAL_OBJ._sentryModuleMetadata)){let a=n.GLOBAL_OBJ._sentryModuleMetadata[r];for(let n of e(r).reverse())if(n.filename){t[n.filename]=a;break}}return t},r.getMetadataForUrl=i,r.stripMetadataFromStackFrames=function(e){e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{delete e.module_metadata})})}},90999,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(435549),a=e.r(147115),o=e.r(686465);r.moduleMetadataIntegration=n.defineIntegration(()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",e=>{o.forEachEnvelopeItem(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(a.stripMetadataFromStackFrames(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{if(t.type)return;let r=e.getOptions().stackParser;a.addMetadataToStackFrames(r,t)})}}))},449266,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.parseCookie=function(e){let t={},r=0;for(;r<e.length;){let n=e.indexOf("=",r);
16if(-1===n)break;let a=e.indexOf(";",r);if(-1===a)a=e.length;else if(a<n){r=e.lastIndexOf(";",n-1)+1;continue}let o=e.slice(r,n).trim();if(void 0===t[o]){let r=e.slice(n+1,a).trim();34===r.charCodeAt(0)&&(r=r.slice(1,-1));try{t[o]=-1!==r.indexOf("%")?decodeURIComponent(r):r}catch{t[o]=r}}r=a+1}return t}},129631,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=["X-Client-IP","X-Forwarded-For","Fly-Client-IP","CF-Connecting-IP","Fastly-Client-Ip","True-Client-Ip","X-Real-IP","X-Cluster-Client-IP","X-Forwarded","Forwarded-For","Forwarded","X-Vercel-Forwarded-For"];r.getClientIPAddress=function(e){let t={};for(let r of Object.keys(e))t[r.toLowerCase()]=e[r];return n.map(e=>{let r=t[e.toLowerCase()],n=Array.isArray(r)?r.join(";"):r;return"Forwarded"===e?function(e){if(!e)return null;for(let t of e.split(";"))if(t.startsWith("for="))return t.slice(4);return null}(n):n?.split(",").map(e=>e.trim())}).reduce((e,t)=>t?e.concat(t):e,[]).find(e=>{var t;return null!==e&&(t=e,/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-fA-F\d]{1,4}:){7}(?:[a-fA-F\d]{1,4}|:)|(?:[a-fA-F\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-fA-F\d]{1,4}|:)|(?:[a-fA-F\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,2}|:)|(?:[a-fA-F\d]{1,4}:){4}(?:(?::[a-fA-F\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,3}|:)|(?:[a-fA-F\d]{1,4}:){3}(?:(?::[a-fA-F\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,4}|:)|(?:[a-fA-F\d]{1,4}:){2}(?:(?::[a-fA-F\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,5}|:)|(?:[a-fA-F\d]{1,4}:){1}(?:(?::[a-fA-F\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,6}|:)|(?::(?:(?::[a-fA-F\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,7}|:)))(?:%[0-9a-zA-Z]{1,})?$)/.test(t))})||null},r.ipHeaderNames=n},605069,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(435549),a=e.r(449266),o=e.r(129631),i={cookies:!0,data:!0,headers:!0,query_string:!0,url:!0};r.requestDataIntegration=n.defineIntegration((e={})=>{let t={...i,...e.include};return{name:"RequestData",processEvent(e,r,n){let{sdkProcessingMetadata:i={}}=e,{normalizedRequest:s,ipAddress:l}=i,u={...t,ip:t.ip??n.getOptions().sendDefaultPii};return s&&function(e,t,r,n){var i,s;let l,u;if(e.request={...e.request,...(i=t,s=n,l={},u={...i.headers},s.headers&&(l.headers=u,s.cookies||delete u.cookie,s.ip||o.ipHeaderNames.forEach(e=>{delete u[e]})),l.method=i.method,s.url&&(l.url=i.url),s.cookies&&(l.cookies=i.cookies||(u?.cookie?a.parseCookie(u.cookie):void 0)||{}),s.query_string&&(l.query_string=i.query_string),s.data&&(l.data=i.data),l)},n.ip){let n=t.headers&&o.getClientIPAddress(t.headers)||r.ipAddress;n&&(e.user={...e.user,ip_address:n})}}(e,s,{ipAddress:l},u),e}}})},43323,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(904067),a=e.r(885139),o=e.r(240256),i=e.r(632933);function s(){"console"in o.GLOBAL_OBJ&&n.CONSOLE_LEVELS.forEach(function(e){e in o.GLOBAL_OBJ.console&&a.fill(o.GLOBAL_OBJ.console,e,function(t){return n.originalConsoleMethods[e]=t,function(...t){i.triggerHandlers("console",{args:t,level:e});let r=n.originalConsoleMethods[e];r?.apply(o.GLOBAL_OBJ.console,t)}})})}r.addConsoleInstrumentationHandler=function(e){let t="console";i.addHandler(t,e),i.maybeInstrument(t,s)}},596472,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.severityLevelFromString=function(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}},128809,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(127716),o=e.r(43323),i=e.r(435549),s=e.r(904067),l=e.r(950314),u=e.r(596472),c=e.r(190727),d=e.r(240256);r.captureConsoleIntegration=i.defineIntegration((e={})=>{let t=e.levels||s.CONSOLE_LEVELS,r=e.handled??!0;return{name:"CaptureConsole",setup(e){"console"in d.GLOBAL_OBJ&&o.addConsoleInstrumentationHandler(({args:o,level:i})=>{var s,d,_;let p,E,S;n.getClient()===e&&t.includes(i)&&(s=o,d=i,_=r,p=u.severityLevelFromString(d),E=Error(),S={level:u.severityLevelFromString(d),extra:{arguments:s}},n.withScope(e=>{if(e.addEventProcessor(e=>(e.logger="console",l.addExceptionMechanism(e,{handled:_,type:"auto.core.capture_console"}),e)),"assert"===d){if(!s[0]){let t=`Assertion failed: ${c.safeJoin(s.slice(1)," ")||"console.assert"}`;e.setExtra("arguments",s.slice(1)),e.captureMessage(t,p,{captureContext:S,syntheticException:E})}return}let t=s.find(e=>e instanceof Error);if(t)return void a.captureException(t,S);let r=c.safeJoin(s," ");e.captureMessage(r,p,{captureContext:S,syntheticException:E})}))})}}})},847944,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(435549),o=e.r(904067),i=e.r(471913),s=a.defineIntegration(()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(l(t,e))return n.DEBUG_BUILD&&o.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}});function l(e,t){var r,n,a,o;let i,s,l,_;return!!t&&(r=e,n=t,i=r.message,s=n.message,!!((i||s)&&(!i||s)&&(i||!s)&&i===s&&c(r,n)&&u(r,n)&&1||(a=e,l=d(o=t),_=d(a),l&&_&&l.type===_.type&&l.value===_.value&&c(a,o)&&u(a,o))))}function u(e,t){let r=i.getFramesFromEvent(e),n=i.getFramesFromEvent(t);if(!r&&!n)return!0;
16if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],a=r[e];if(t.filename!==a.filename||t.lineno!==a.lineno||t.colno!==a.colno||t.function!==a.function)return!1}return!0}function c(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return r.join("")===n.join("")}catch{return!1}}function d(e){return e.exception?.values?.[0]}r._shouldDropEvent=l,r.dedupeIntegration=s},581177,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(435549),o=e.r(904067),i=e.r(220824),s=e.r(308447),l=e.r(885139),u=e.r(190727);r.extraErrorDataIntegration=a.defineIntegration((e={})=>{let{depth:t=3,captureErrorCause:r=!0}=e;return{name:"ExtraErrorData",processEvent(e,a,c){let{maxValueLength:d}=c.getOptions();return function(e,t={},r,a,c){if(!t.originalException||!i.isError(t.originalException))return e;let d=t.originalException.name||t.originalException.constructor.name,_=function e(t,r,a){try{let n=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],o={};for(let e of Object.keys(t)){if(-1!==n.indexOf(e))continue;let r=t[e];o[e]=i.isError(r)||"string"==typeof r?a?u.truncate(`${r}`,a):`${r}`:r}if(r&&void 0!==t.cause&&(i.isError(t.cause)?o.cause={[t.cause.name||t.cause.constructor.name]:e(t.cause,!1,a)}:o.cause=t.cause),"function"==typeof t.toJSON){let e=t.toJSON();for(let t of Object.keys(e)){let r=e[t];o[t]=i.isError(r)?r.toString():r}}return o}catch(e){n.DEBUG_BUILD&&o.debug.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,a,c);if(_){let t={...e.contexts},n=s.normalize(_,r);return i.isPlainObject(n)&&(l.addNonEnumerableProperty(n,"__sentry_skip_normalization__",!0),t[d]=n),{...e,contexts:t}}return e}(e,a,t,r,d)}}})},213781,(e,t,r)=>{function n(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;)e.unshift("..");return e}Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function o(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=a.exec(t);return r?r.slice(1):[]}function i(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let a=n>=0?e[n]:"/";a&&(t=`${a}/${t}`,r="/"===a.charAt(0))}return t=n(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function s(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}function l(e){let t=u(e),r="/"===e.slice(-1),a=n(e.split("/").filter(e=>!!e),!t).join("/");return a||t||(a="."),a&&r&&(a+="/"),(t?"/":"")+a}function u(e){return"/"===e.charAt(0)}r.basename=function(e,t){let r=o(e)[2]||"";return t&&r.slice(-1*t.length)===t&&(r=r.slice(0,r.length-t.length)),r},r.dirname=function(e){let t=o(e),r=t[0]||"",n=t[1];return r||n?(n&&(n=n.slice(0,n.length-1)),r+n):"."},r.isAbsolute=u,r.join=function(...e){return l(e.join("/"))},r.normalizePath=l,r.relative=function(e,t){e=i(e).slice(1),t=i(t).slice(1);let r=s(e.split("/")),n=s(t.split("/")),a=Math.min(r.length,n.length),o=a;for(let e=0;e<a;e++)if(r[e]!==n[e]){o=e;break}let l=[];for(let e=o;e<r.length;e++)l.push("..");return(l=l.concat(n.slice(o))).join("/")},r.resolve=i},518982,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(435549),a=e.r(213781),o=e.r(240256),i=n.defineIntegration((e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in o.GLOBAL_OBJ&&!!o.GLOBAL_OBJ.window,a=e.iteratee||s({isBrowser:n,root:t,prefix:r});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>a(e))}}}})}}}catch{return e}}(t)),t}}});function s({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let o=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),i=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(o||i){let e=o?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,i=t?a.relative(t,e):a.basename(e);n.filename=`${r}${i}`}return n}}r.generateIteratee=s,r.rewriteFramesIntegration=i},289609,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(697945),a=e.r(307697),o=e.r(127716),i=e.r(435549),s=e.r(326691),l=e.r(904067),u=e.r(950314),c=e.r(220824),d=e.r(461957),_=e.r(87256),p=["reauthenticate","signInAnonymously","signInWithOAuth","signInWithIdToken","signInWithOtp","signInWithPassword","signInWithSSO","signOut","signUp","verifyOtp"],E=["createUser","deleteUser","listUsers","getUserById","updateUserById","inviteUserByEmail"],S={eq:"eq",neq:"neq",gt:"gt",gte:"gte",lt:"lt",lte:"lte",like:"like","like(all)":"likeAllOf","like(any)":"likeAnyOf",ilike:"ilike","ilike(all)":"ilikeAllOf","ilike(any)":"ilikeAnyOf",is:"is",in:"in",cs:"contains",cd:"containedBy",sr:"rangeGt",nxl:"rangeGte",sl:"rangeLt",nxr:"rangeLte",adj:"rangeAdjacent",ov:"overlaps",fts:"",plfts:"plain",phfts:"phrase",wfts:"websearch",not:"not"},T=["select","insert","upsert","update","delete"];function g(e){try{e.__SENTRY_INSTRUMENTED__=!0}catch{}}function f(e){try{return e.__SENTRY_INSTRUMENTED__}catch{return!1}}function m(e,t={}){switch(e){case"GET":return"select";case"POST":if(t.Prefer?.includes("resolution="))return"upsert";return"insert";case"PATCH":return"update";case"DELETE":return"delete";default:return"<unknown-op>"}}function h(e,t){let r;if(""===t||"*"===t)return"select(*)";if("select"===e)return`select(${t})`;if("or"===e||e.endsWith(".or"))return`${e}${t}`;let[n,...a]=t.split(".");return r=n?.startsWith("fts")?"textSearch":n?.startsWith("plfts")?"textSearch[plain]":n?.startsWith("phfts")?"textSearch[phrase]":n?.startsWith("wfts")?"textSearch[websearch]":n&&S[n]||"filter",`${r}(${e}, ${a.join(".")})`}function A(e,t=!1){return new Proxy(e,{apply:(r,n,a)=>_.startSpan({name:`auth ${t?"(admin) ":""}${e.name}`,attributes:{[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.supabase",[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"db","db.system":"postgresql","db.operation":`auth.${t?"admin.":""}${e.name}`}},e=>Reflect.apply(r,n,a).then(t=>(t&&"object"==typeof t&&"error"in t&&t.error?(e.setStatus({code:d.SPAN_STATUS_ERROR}),o.captureException(t.error,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}})):e.setStatus({code:d.SPAN_STATUS_OK}),e.end(),t)).catch(t=>{throw e.setStatus({code:d.SPAN_STATUS_ERROR}),e.end(),o.captureException(t,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}}),t}).then(...a))})}let R=e=>{var t;if(!e){a.DEBUG_BUILD&&l.debug.warn("Supabase integration was not installed because no Supabase client was provided.");return}f((t=e.constructor===Function?e:e.constructor).prototype.from)||(t.prototype.from=new Proxy(t.prototype.from,{apply(e,t,r){let i=Reflect.apply(e,t,r);return function(e){for(let t of T)f(e.prototype[t])||(e.prototype[t]=new Proxy(e.prototype[t],{apply(e,r,i
16){let p=Reflect.apply(e,r,i),E=p.constructor;return a.DEBUG_BUILD&&l.debug.log(`Instrumenting ${t} operation's PostgRESTFilterBuilder`),f(E.prototype.then)||(E.prototype.then=new Proxy(E.prototype.then,{apply(e,t,r){let a=m(t.method,t.headers);if(!T.includes(a)||!t?.url?.pathname||"string"!=typeof t.url.pathname)return Reflect.apply(e,t,r);let i=t.url.pathname.split("/"),l=i.length>0?i[i.length-1]:"",p=[];for(let[e,r]of t.url.searchParams.entries())p.push(h(e,r));let E=Object.create(null);if(c.isPlainObject(t.body))for(let[e,r]of Object.entries(t.body))E[e]=r;let S=`${"select"===a?"":`${a}${E?"(...) ":""}`}${p.join(" ")} from(${l})`,g={"db.table":l,"db.schema":t.schema,"db.url":t.url.origin,"db.sdk":t.headers["X-Client-Info"],"db.system":"postgresql","db.operation":a,[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.supabase",[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"db"};return p.length&&(g["db.query"]=p),Object.keys(E).length&&(g["db.body"]=E),_.startSpan({name:S,attributes:g},i=>Reflect.apply(e,t,[]).then(e=>{if(i&&(e&&"object"==typeof e&&"status"in e&&d.setHttpStatus(i,e.status||500),i.end()),e.error){let t=Error(e.error.message);e.error.code&&(t.code=e.error.code),e.error.details&&(t.details=e.error.details);let r={};p.length&&(r.query=p),Object.keys(E).length&&(r.body=E),o.captureException(t,e=>(e.addEventProcessor(e=>(u.addExceptionMechanism(e,{handled:!1,type:"auto.db.supabase.postgres"}),e)),e.setContext("supabase",r),e))}let t={type:"supabase",category:`db.${a}`,message:S},r={};return p.length&&(r.query=p),Object.keys(E).length&&(r.body=E),Object.keys(r).length&&(t.data=r),n.addBreadcrumb(t),e},e=>{throw i&&(d.setHttpStatus(i,500),i.end()),e}).then(...r))}}),g(E.prototype.then)),p}}),g(e.prototype[t]))}(i.constructor),i}}),g(t.prototype.from));let r=e.auth;if(!(!r||f(e.auth))){for(let t of p){let n=r[t];n&&"function"==typeof e.auth[t]&&(e.auth[t]=A(n))}for(let t of E){let n=r.admin[t];n&&"function"==typeof e.auth.admin[t]&&(e.auth.admin[t]=A(n,!0))}g(e.auth)}},I=i.defineIntegration(e=>{let t;return t=e.supabaseClient,{setupOnce(){R(t)},name:"Supabase"}});r.DB_OPERATIONS_TO_INSTRUMENT=T,r.FILTER_MAPPINGS=S,r.extractOperation=m,r.instrumentSupabaseClient=R,r.supabaseIntegration=I,r.translateFiltersIntoMethods=h},35679,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(435549),a=e.r(220824),o=e.r(190727);function i(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}function s(e){return e.map(e=>"number"==typeof e?"<array>":e).join(".")}function l(e){let t=new Set;for(let r of e.issues){let e=s(r.path);e.length>0&&t.add(e)}let r=Array.from(t);if(0===r.length){let t="variable";if(e.issues.length>0){let r=e.issues[0];void 0!==r&&"expected"in r&&"string"==typeof r.expected&&(t=r.expected)}return`Failed to validate ${t}`}return`Failed to validate keys: ${o.truncate(r.join(", "),100)}`}function u(e,t=!1,r,n){var o;if(!r.exception?.values||!n.originalException||(o=n.originalException,!(a.isError(o)&&"ZodError"===o.name&&Array.isArray(o.issues)))||0===n.originalException.issues.length)return r;try{let a=(t?n.originalException.issues:n.originalException.issues.slice(0,e)).map(i);return t&&(Array.isArray(n.attachments)||(n.attachments=[]),n.attachments.push({filename:"zod_issues.json",data:JSON.stringify({issues:a})})),{...r,exception:{...r.exception,values:[{...r.exception.values[0],value:l(n.originalException)},...r.exception.values.slice(1)]},extra:{...r.extra,"zoderror.issues":a.slice(0,e)}}}catch(e){return{...r,extra:{...r.extra,"zoderrors sentry integration parse error":{message:"an exception was thrown while processing ZodError within applyZodErrorsToEvent()",error:e instanceof Error?`${e.name}: ${e.message}
17${e.stack}`:"unknown"}}}}}let c=n.defineIntegration((e={})=>{let t=e.limit??10;return{name:"ZodErrors",processEvent:(r,n)=>u(t,e.saveZodIssuesAsAttachment,r,n)}});r.applyZodErrorsToEvent=u,r.flattenIssue=i,r.flattenIssuePath=s,r.formatIssueMessage=l,r.zodErrorsIntegration=c},832789,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(435549),a=e.r(147115),o=e.r(686465),i=e.r(471913),s=n.defineIntegration(e=>({name:"ThirdPartyErrorsFilter",setup(e){e.on("beforeEnvelope",e=>{o.forEachEnvelopeItem(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;
17t&&(a.stripMetadataFromStackFrames(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{if(t.type)return;let r=e.getOptions().stackParser;a.addMetadataToStackFrames(r,t)})},processEvent(t){let r=function(e,t){let r=i.getFramesFromEvent(e);if(r)return r.filter((e,r)=>!!e.filename&&(null!=e.lineno||null!=e.colno||null!=e.instruction_addr)&&(!t||!function(e,t){if(0!==t||!e.context_line||!e.filename||!e.filename.includes("sentry")||!e.filename.includes("helpers")||!e.context_line.includes(c))return!1;if(e.pre_context){let t=e.pre_context.length;for(let r=0;r<t;r++)if(e.pre_context[r]?.includes(u))return!0}return!1}(e,r))).map(e=>e.module_metadata?Object.keys(e.module_metadata).filter(e=>e.startsWith(l)).map(e=>e.slice(l.length)):[])}(t,e.ignoreSentryInternalFrames);if(r&&r["drop-error-if-contains-third-party-frames"===e.behaviour||"apply-tag-if-contains-third-party-frames"===e.behaviour?"some":"every"](t=>!t.some(t=>e.filterKeys.includes(t)))){if("drop-error-if-contains-third-party-frames"===e.behaviour||"drop-error-if-exclusively-contains-third-party-frames"===e.behaviour)return null;t.tags={...t.tags,third_party_code:!0}}return t}})),l="_sentryBundlerPluginAppKey:",u="Attempt to invoke user-land function",c="fn.apply(this, wrappedArguments)";r.thirdPartyErrorFilterIntegration=s},442253,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(697945),a=e.r(733438),o=e.r(43323),i=e.r(435549),s=e.r(904067),l=e.r(596472),u=e.r(190727),c=e.r(240256),d=i.defineIntegration((e={})=>{let t=new Set(e.levels||s.CONSOLE_LEVELS);return{name:"Console",setup(e){o.addConsoleInstrumentationHandler(({args:r,level:n})=>{a.getClient()===e&&t.has(n)&&_(n,r)})}}});function _(e,t){let r={category:"console",data:{arguments:t,logger:"console"},level:l.severityLevelFromString(e),message:p(t)};if("assert"===e)if(!1!==t[0])return;else{let e=t.slice(1);r.message=e.length>0?`Assertion failed: ${p(e)}`:"Assertion failed",r.data.arguments=e}n.addBreadcrumb(r,{input:t,level:e})}function p(e){return"util"in c.GLOBAL_OBJ&&"function"==typeof c.GLOBAL_OBJ.util.format?c.GLOBAL_OBJ.util.format(...e):u.safeJoin(e," ")}r.addConsoleBreadcrumb=_,r.consoleIntegration=d},30964,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(307697),o=e.r(904067),i=e.r(415081),s="flag.evaluation.";function l(e,t,r,n){if("boolean"!=typeof r)return;if(e.length>n){a.DEBUG_BUILD&&o.debug.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${n}`);return}let i=e.findIndex(e=>e.flag===t);-1!==i&&e.splice(i,1),e.length===n&&e.shift(),e.push({flag:t,result:r})}r._INTERNAL_FLAG_BUFFER_SIZE=100,r._INTERNAL_MAX_FLAGS_PER_SPAN=10,r._INTERNAL_addFeatureFlagToActiveSpan=function(e,t,r=10){if("boolean"!=typeof t)return;let n=i.getActiveSpan();if(!n)return;let a=i.spanToJSON(n).data;`${s}${e}`in a?n.setAttribute(`${s}${e}`,t):Object.keys(a).filter(e=>e.startsWith(s)).length<r&&n.setAttribute(`${s}${e}`,t)},r._INTERNAL_copyFlagsFromScopeToEvent=function(e){let t=n.getCurrentScope().getScopeData().contexts.flags,r=t?t.values:[];return r.length&&(void 0===e.contexts&&(e.contexts={}),e.contexts.flags={values:[...r]}),e},r._INTERNAL_insertFlagToScope=function(e,t,r=100){let a=n.getCurrentScope().getScopeData().contexts;a.flags||(a.flags={values:[]}),l(a.flags.values,e,t,r)},r._INTERNAL_insertToFlagBuffer=l},978949,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(435549),a=e.r(30964);r.featureFlagsIntegration=n.defineIntegration(()=>({name:"FeatureFlags",processEvent:(e,t,r)=>a._INTERNAL_copyFlagsFromScopeToEvent(e),addFeatureFlag(e,t){a._INTERNAL_insertFlagToScope(e,t),a._INTERNAL_addFeatureFlagToActiveSpan(e,t)}}))},389402,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(435549),a=e.r(30964),o=e.r(885139);function i(e){return function(...t){let r=t[0],n=e.apply(this,t);return"string"==typeof r&&"boolean"==typeof n&&(a._INTERNAL_insertFlagToScope(r,n),a._INTERNAL_addFeatureFlagToActiveSpan(r,n)),n}}r.growthbookIntegration=n.defineIntegration(({growthbookClass:e})=>({name:"GrowthBook",setupOnce(){let t=e.prototype;"function"==typeof t.isOn&&o.fill(t,"isOn",i),"function"==typeof t.getFeatureValue&&o.fill(t,"getFeatureValue",i)},processEvent:(e,t,r)=>a._INTERNAL_copyFlagsFromScopeToEvent(e)}))},437220,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(435549),o=e.r(326691);r.conversationIdIntegration=a.defineIntegration(()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=n.getCurrentScope().getScopeData(),r=n.getIsolationScope().getScopeData(),a=t.conversationId||r.conversationId;a&&e.setAttribute(o.GEN_AI_CONVERSATION_ID_ATTRIBUTE,a)})}}))},905530,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(307697),o=e.r(904067);function i(e){return!!e&&void 0!==e._profiler&&"function"==typeof e._profiler.start&&"function"==typeof e._profiler.stop}
17r.profiler={startProfiler:function(){let e=n.getClient();if(!e){a.DEBUG_BUILD&&o.debug.warn("No Sentry client available, profiling is not started");return}let t=e.getIntegrationByName("ProfilingIntegration");if(!t){a.DEBUG_BUILD&&o.debug.warn("ProfilingIntegration is not available");return}if(!i(t)){a.DEBUG_BUILD&&o.debug.warn("Profiler is not available on profiling integration.");return}t._profiler.start()},stopProfiler:function(){let e=n.getClient();if(!e){a.DEBUG_BUILD&&o.debug.warn("No Sentry client available, profiling is not started");return}let t=e.getIntegrationByName("ProfilingIntegration");if(!t){a.DEBUG_BUILD&&o.debug.warn("ProfilingIntegration is not available");return}if(!i(t)){a.DEBUG_BUILD&&o.debug.warn("Profiler is not available on profiling integration.");return}t._profiler.stop()}}},204703,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(326691),o=e.r(415081),i=e.r(461957),s=e.r(220824),l=e.r(286931),u=e.r(252798),c=e.r(838159),d=e.r(87256),_=e.r(520483),p=e.r(276007);function E(e,t,r){let n="object"==typeof r&&null!==r?r.onRequestSpanEnd:void 0;n?.(e,{headers:t.response?.headers,error:t.error})}function S(e,t,r,n){var a;let o=_.getTraceData({span:r,propagateTraceparent:n}),i=o["sentry-trace"],l=o.baggage,u=o.traceparent;if(!i)return;let c=t.headers||(s.isRequest(e)?e.headers:void 0);if(!c)return{...o};if(a=c,"u">typeof Headers&&s.isInstanceOf(a,Headers)){let e=new Headers(c);if(e.get("sentry-trace")||e.set("sentry-trace",i),n&&u&&!e.get("traceparent")&&e.set("traceparent",u),l){let t=e.get("baggage");t?T(t)||e.set("baggage",`${t},${l}`):e.set("baggage",l)}return e}if(Array.isArray(c)){let e=[...c];c.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",i]),n&&u&&!c.find(e=>"traceparent"===e[0])&&e.push(["traceparent",u]);let t=c.find(e=>"baggage"===e[0]&&T(e[1]));return l&&!t&&e.push(["baggage",l]),e}{let e="sentry-trace"in c?c["sentry-trace"]:void 0,t="traceparent"in c?c.traceparent:void 0,r="baggage"in c?c.baggage:void 0,a=r?Array.isArray(r)?[...r]:[r]:[],o=r&&(Array.isArray(r)?r.find(e=>T(e)):T(r));l&&!o&&a.push(l);let s={...c,"sentry-trace":e??i,baggage:a.length>0?a.join(","):void 0};return n&&u&&!t&&(s.traceparent=u),s}}function T(e){return e.split(",").some(e=>e.trim().startsWith(u.SENTRY_BAGGAGE_KEY_PREFIX))}function g(e,t,r,n){let o={url:p.stripDataUrlContent(e),type:"fetch","http.method":r,[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:n,[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"};return t&&(p.isURLObjectRelative(t)||(o["http.url"]=p.stripDataUrlContent(t.href),o["server.address"]=t.host),t.search&&(o["http.query"]=t.search),t.hash&&(o["http.fragment"]=t.hash)),o}r._addTracingHeadersToFetchRequest=S,r._callOnRequestSpanEnd=E,r.instrumentFetchRequest=function(e,t,r,a,s){if(!e.fetchData)return;let{method:u,url:_}=e.fetchData,T=l.hasSpansEnabled()&&t(_);if(e.endTimestamp&&T){let t=e.fetchData.__span;if(!t)return;let r=a[t];r&&(function(e,t){if(t.response){i.setHttpStatus(e,t.response.status);let r=t.response?.headers?.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:i.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(r,e),E(r,e,s),delete a[t]);return}let{spanOrigin:f="auto.http.browser",propagateTraceparent:m=!1}="object"==typeof s?s:{spanOrigin:s},h=!!o.getActiveSpan(),A=T&&h?d.startInactiveSpan(function(e,t,r){if(e.startsWith("data:")){let n=p.stripDataUrlContent(e);return{name:`${t} ${n}`,attributes:g(e,void 0,t,r)}}let n=p.parseStringToURLObject(e),a=n?p.getSanitizedUrlStringFromUrlObject(n):e;return{name:`${t} ${a}`,attributes:g(e,n,t,r)}}(_,u,f)):new c.SentryNonRecordingSpan;if(e.fetchData.__span=A.spanContext().spanId,a[A.spanContext().spanId]=A,r(e.fetchData.url)){let t=e.args[0],r={...e.args[1]||{}},n=S(t,r,l.hasSpansEnabled()&&h?A:void 0,m);n&&(e.args[1]=r,r.headers=n)}let R=n.getClient();if(R){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};R.emit("beforeOutgoingRequestSpan",A,t)}return A}},958018,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(127716),o=e.r(326691),i=e.r(885139),s=e.r(308447),l=e.r(87256),u={mechanism:{handled:!1,type:"auto.rpc.trpc.middleware"}};r.trpcMiddleware=function(e={}){return async function(t){let{path:r,type:c,next:d,rawInput:_,getRawInput
17:p}=t,E=n.getClient(),S=E?.getOptions(),T={procedure_path:r,procedure_type:c};if(i.addNonEnumerableProperty(T,"__sentry_override_normalization_depth__",1+(S?.normalizeDepth??5)),(void 0!==e.attachRpcInput?e.attachRpcInput:S?.sendDefaultPii)&&(void 0!==_&&(T.input=s.normalize(_)),void 0!==p&&"function"==typeof p))try{let e=await p();T.input=s.normalize(e)}catch{}return n.withIsolationScope(t=>(t.setContext("trpc",T),l.startSpanManual({name:`trpc/${r}`,op:"rpc.server",attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"route",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.rpc.trpc"},forceTransaction:!!e.forceTransaction},async e=>{try{let t=await d();return"object"==typeof t&&null!==t&&"ok"in t&&!t.ok&&"error"in t&&a.captureException(t.error,u),e.end(),t}catch(t){throw a.captureException(t,u),e.end(),t}})))}}},977784,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(127716),o=e.r(415081),i=e.r(461957);r.captureError=function(e,t,r){try{if(!n.getClient())return;let s=o.getActiveSpan();s?.isRecording()&&s.setStatus({code:i.SPAN_STATUS_ERROR,message:"internal_error"}),a.captureException(e,{mechanism:{type:"auto.ai.mcp_server",handled:!1,data:{error_type:t||"handler_execution",...r}}})}catch{}}},771948,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(885139),i=e.r(977784);function s(e,t){o.fill(e,t,e=>function(r,...o){var i,s,u;let c=o[o.length-1];if("function"!=typeof c)return e.call(this,r,...o);let d=(i=c,s=t,u=r,function(...e){try{return l.call(this,i,s,u,e)}catch(t){return n.DEBUG_BUILD&&a.debug.warn("MCP handler wrapping failed:",t),i.apply(this,e)}});return e.call(this,r,...o.slice(0,-1),d)})}function l(e,t,r,n){try{let a=e.apply(this,n);if(a&&"object"==typeof a&&"function"==typeof a.then)return Promise.resolve(a).catch(e=>{throw u(e,t,r),e});return a}catch(e){throw u(e,t,r),e}}function u(e,t,r){try{let n={};"tool"===t?(n.tool_name=r,"ProtocolValidationError"===e.name||e.message.includes("validation")||e.message.includes("protocol")?i.captureError(e,"validation",n):"ServerTimeoutError"===e.name||e.message.includes("timed out")||e.message.includes("timeout")?i.captureError(e,"timeout",n):i.captureError(e,"tool_execution",n)):"resource"===t?(n.resource_uri=r,i.captureError(e,"resource_execution",n)):"prompt"===t&&(n.prompt_name=r,i.captureError(e,"prompt_execution",n))}catch(e){}}function c(e){s(e,"tool")}function d(e){s(e,"resource")}function _(e){s(e,"prompt")}r.wrapAllMCPHandlers=function(e){c(e),d(e),_(e)},r.wrapPromptHandlers=_,r.wrapResourceHandlers=d,r.wrapToolHandlers=c},515493,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.CLIENT_ADDRESS_ATTRIBUTE="client.address",r.CLIENT_PORT_ATTRIBUTE="client.port",r.MCP_FUNCTION_ORIGIN_VALUE="auto.function.mcp_server",r.MCP_LOGGING_DATA_TYPE_ATTRIBUTE="mcp.logging.data_type",r.MCP_LOGGING_LEVEL_ATTRIBUTE="mcp.logging.level",r.MCP_LOGGING_LOGGE
17R_ATTRIBUTE="mcp.logging.logger",r.MCP_LOGGING_MESSAGE_ATTRIBUTE="mcp.logging.message",r.MCP_METHOD_NAME_ATTRIBUTE="mcp.method.name",r.MCP_NOTIFICATION_CLIENT_TO_SERVER_OP_VALUE="mcp.notification.client_to_server",r.MCP_NOTIFICATION_ORIGIN_VALUE="auto.mcp.notification",r.MCP_NOTIFICATION_SERVER_TO_CLIENT_OP_VALUE="mcp.notification.server_to_client",r.MCP_PROMPT_NAME_ATTRIBUTE="mcp.prompt.name",r.MCP_PROMPT_RESULT_DESCRIPTION_ATTRIBUTE="mcp.prompt.result.description",r.MCP_PROMPT_RESULT_MESSAGE_COUNT_ATTRIBUTE="mcp.prompt.result.message_count",r.MCP_PROTOCOL_VERSION_ATTRIBUTE="mcp.protocol.version",r.MCP_REQUEST_ARGUMENT="mcp.request.argument",r.MCP_REQUEST_ID_ATTRIBUTE="mcp.request.id",r.MCP_RESOURCE_URI_ATTRIBUTE="mcp.resource.uri",r.MCP_ROUTE_SOURCE_VALUE="route",r.MCP_SERVER_NAME_ATTRIBUTE="mcp.server.name",r.MCP_SERVER_OP_VALUE="mcp.server",r.MCP_SERVER_TITLE_ATTRIBUTE="mcp.server.title",r.MCP_SERVER_VERSION_ATTRIBUTE="mcp.server.version",r.MCP_SESSION_ID_ATTRIBUTE="mcp.session.id",r.MCP_TOOL_NAME_ATTRIBUTE="mcp.tool.name",r.MCP_TOOL_RESULT_CONTENT_COUNT_ATTRIBUTE="mcp.tool.result.content_count",r.MCP_TOOL_RESULT_IS_ERROR_ATTRIBUTE="mcp.tool.result.is_error",r.MCP_TRANSPORT_ATTRIBUTE="mcp.transport",r.NETWORK_PROTOCOL_VERSION_ATTRIBUTE="network.protocol.version",r.NETWORK_TRANSPORT_ATTRIBUTE="network.transport"},774198,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067);r.isJsonRpcNotification=function(e){return"object"==typeof e&&null!==e&&"jsonrpc"in e&&"2.0"===e.jsonrpc&&"method"in e&&!("id"in e)},r.isJsonRpcRequest=function(e){return"object"==typeof e&&null!==e&&"jsonrpc"in e&&"2.0"===e.jsonrpc&&"method"in e&&"id"in e},r.isJsonRpcResponse=function(e){return"object"==typeof e&&null!==e&&"jsonrpc"in e&&"2.0"===e.jsonrpc&&"id"in e&&("result"in e||"error"in e)},r.isValidContentItem=function(e){return null!=e&&"object"==typeof e},r.validateMcpServerInstance=function(e){return"object"==typeof e&&null!==e&&"resource"in e&&"tool"in e&&"prompt"in e&&"connect"in e||(n.DEBUG_BUILD&&a.debug.warn("Did not patch MCP server. Interface is incompatible."),!1)}},973914,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(515493),a=e.r(774198);r.extractPromptResultAttributes=function(e,t){let r={};if(!a.isValidContentItem(e))return r;if(t&&"string"==typeof e.description&&(r[n.MCP_PROMPT_RESULT_DESCRIPTION_ATTRIBUTE]=e.description),Array.isArray(e.messages)&&(r[n.MCP_PROMPT_RESULT_MESSAGE_COUNT_ATTRIBUTE]=e.messages.length,t)){let t=e.messages;for(let[e,n]of t.entries()){var o,i;if(!a.isValidContentItem(n))continue;let s=1===t.length?"mcp.prompt.result":`mcp.prompt.result.${e}`;if(o="role","string"==typeof(i=n.role)&&(r[1===t.length?`${s}.message_${o}`:`${s}.${o}`]=i),a.isValidContentItem(n.content)){let e=n.content;"string"==typeof e.text&&(r[1===t.length?`${s}.message_content`:`${s}.content`]=e.text)}}}return r},r.extractToolResultAttributes=function(e,t){if(!a.isValidContentItem(e))return{};let r=Array.isArray(e.content)?function(e,t){let r={[n.MCP_TOOL_RESULT_CONTENT_COUNT_ATTRIBUTE]:e.length};for(let[n,o]of e.entries()){if(!a.isValidContentItem(o))continue;let i=1===e.length?"mcp.tool.result":`mcp.tool.result.${n}`;if("string"==typeof o.type&&(r[`${i}.content_type`]=o.type),t){let e=(e,t)=>{"string"==typeof t&&(r[`${i}.${e}`]=t)};e("mime_type",o.mimeType),e("uri",o.uri),e("name",o.name),"string"==typeof o.text&&(r[`${i}.content`]=o.text),"string"==typeof o.data&&(r[`${i}.data_size`]=o.data.length);let t=o.resource;a.isValidContentItem(t)&&(e("resource_uri",t.uri),e("resource_mime_type",t.mimeType))}}return r}(e.content,t):{};return"boolean"==typeof e.isError&&(r[n.MCP_TOOL_RESULT_IS_ERROR_ATTRIBUTE]=e.isError),r}},383080,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=new WeakMap;r.cleanupSessionDataForTransport=function(e){n.delete(e)},r.getClientInfoForTransport=function(e){return n.get(e)?.clientInfo},r.getProtocolVersionForTransport=function(e){return n.get(e)?.protocolVersion},r.getSessionDataForTransport=function(e){return n.get(e)},r.storeSessionDataForTransport=function(e,t){e.sessionId&&n.set(e,t)},r.updateSessionDataForTransport=function(e,t){if(e.sessionId){let r=n.get(e)||{};
17n.set(e,{...r,...t})}}},925085,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(515493),a=e.r(383080),o=e.r(774198);function i(e){let t={};return o.isValidContentItem(e)&&("string"==typeof e.name&&(t.name=e.name),"string"==typeof e.title&&(t.title=e.title),"string"==typeof e.version&&(t.version=e.version)),t}function s(e){let t=a.getClientInfoForTransport(e),r={};return t?.name&&(r["mcp.client.name"]=t.name),t?.title&&(r["mcp.client.title"]=t.title),t?.version&&(r["mcp.client.version"]=t.version),r}function l(e){let t=a.getSessionDataForTransport(e)?.serverInfo,r={};return t?.name&&(r[n.MCP_SERVER_NAME_ATTRIBUTE]=t.name),t?.title&&(r[n.MCP_SERVER_TITLE_ATTRIBUTE]=t.title),t?.version&&(r[n.MCP_SERVER_VERSION_ATTRIBUTE]=t.version),r}function u(e){return{address:e?.requestInfo?.remoteAddress||e?.clientAddress||e?.request?.ip||e?.request?.connection?.remoteAddress,port:e?.requestInfo?.remotePort||e?.clientPort||e?.request?.connection?.remotePort}}function c(e){if(!e?.constructor)return{mcpTransport:"unknown",networkTransport:"unknown"};let t="string"==typeof e.constructor?.name?e.constructor.name:"unknown",r="unknown",n=t.toLowerCase();return n.includes("stdio")?r="pipe":(n.includes("http")||n.includes("sse"))&&(r="tcp"),{mcpTransport:t,networkTransport:r}}r.buildClientAttributesFromInfo=function(e){let t={};return e?.name&&(t["mcp.client.name"]=e.name),e?.title&&(t["mcp.client.title"]=e.title),e?.version&&(t["mcp.client.version"]=e.version),t},r.buildServerAttributesFromInfo=function(e){let t={};return e?.name&&(t[n.MCP_SERVER_NAME_ATTRIBUTE]=e.name),e?.title&&(t[n.MCP_SERVER_TITLE_ATTRIBUTE]=e.title),e?.version&&(t[n.MCP_SERVER_VERSION_ATTRIBUTE]=e.version),t},r.buildTransportAttributes=function(e,t){let r=e&&"sessionId"in e?e.sessionId:void 0,o=t?u(t):{},{mcpTransport:i,networkTransport:d}=c(e),_=s(e),p=l(e),E=a.getProtocolVersionForTransport(e);return{...r&&{[n.MCP_SESSION_ID_ATTRIBUTE]:r},...o.address&&{[n.CLIENT_ADDRESS_ATTRIBUTE]:o.address},...o.port&&{[n.CLIENT_PORT_ATTRIBUTE]:o.port},[n.MCP_TRANSPORT_ATTRIBUTE]:i,[n.NETWORK_TRANSPORT_ATTRIBUTE]:d,[n.NETWORK_PROTOCOL_VERSION_ATTRIBUTE]:"2.0",...E&&{[n.MCP_PROTOCOL_VERSION_ATTRIBUTE]:E},..._,...p}},r.extractClientInfo=u,r.extractSessionDataFromInitializeRequest=function(e){let t={};return o.isValidContentItem(e.params)&&("string"==typeof e.params.protocolVersion&&(t.protocolVersion=e.params.protocolVersion),e.params.clientInfo&&(t.clientInfo=i(e.params.clientInfo))),t},r.extractSessionDataFromInitializeResponse=function(e){let t={};return o.isValidContentItem(e)&&("string"==typeof e.protocolVersion&&(t.protocolVersion=e.protocolVersion),e.serverInfo&&(t.serverInfo=i(e.serverInfo))),t},r.getClientAttributes=s,r.getServerAttributes=l,r.getTransportTypes=c},212051,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(461957),a=e.r(515493),o=e.r(973914),i=e.r(925085),s=new WeakMap;function l(e){let t=s.get(e);return t||(t=new Map,s.set(e,t)),t}r.cleanupPendingSpansForTransport=function(e){let t=s.get(e);if(t){for(let[,e]of t)e.span.setStatus({code:n.SPAN_STATUS_ERROR,message:"cancelled"}),e.span.end();t.clear()}},r.completeSpanWithResults=function(e,t,r,n){let s=l(e),u=s.get(t);if(u){let{span:e,method:l}=u;if("initialize"===l){let t=i.extractSessionDataFromInitializeResponse(r),n={...i.buildServerAttributesFromInfo(t.serverInfo)};t.protocolVersion&&(n[a.MCP_PROTOCOL_VERSION_ATTRIBUTE]=t.protocolVersion),e.setAttributes(n)}else if("tools/call"===l){let t=o.extractToolResultAttributes(r,n.recordOutputs);e.setAttributes(t)}else if("prompts/get"===l){let t=o.extractPromptResultAttributes(r,n.recordOutputs);e.setAttributes(t)}e.end(),s.delete(t)}},r.storeSpanForRequest=function(e,t,r,n){l(e).set(t,{span:r,method:n,startTime:Date.now()})}},178068,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(515493),a={"tools/call":{targetField:"name",targetAttribute:n.MCP_TOOL_NAME_ATTRIBUTE,captureArguments:!0,argumentsField:"arguments"},"resources/read":{targetField:"uri",targetAttribute:n.MCP_RESOURCE_URI_ATTRIBUTE,captureUri:!0}
17,"resources/subscribe":{targetField:"uri",targetAttribute:n.MCP_RESOURCE_URI_ATTRIBUTE},"resources/unsubscribe":{targetField:"uri",targetAttribute:n.MCP_RESOURCE_URI_ATTRIBUTE},"prompts/get":{targetField:"name",targetAttribute:n.MCP_PROMPT_NAME_ATTRIBUTE,captureName:!0,captureArguments:!0,argumentsField:"arguments"}};r.extractTargetInfo=function(e,t){let r=a[e];if(!r)return{attributes:{}};let n=r.targetField&&"string"==typeof t?.[r.targetField]?t[r.targetField]:void 0;return{target:n,attributes:n&&r.targetAttribute?{[r.targetAttribute]:n}:{}}},r.getRequestArguments=function(e,t){let r={},o=a[e];if(!o)return r;if(o.captureArguments&&o.argumentsField&&t?.[o.argumentsField]){let e=t[o.argumentsField];if("object"==typeof e&&null!==e)for(let[t,a]of Object.entries(e))r[`${n.MCP_REQUEST_ARGUMENT}.${t.toLowerCase()}`]=JSON.stringify(a)}return o.captureUri&&t?.uri&&(r[`${n.MCP_REQUEST_ARGUMENT}.uri`]=JSON.stringify(t.uri)),o.captureName&&t?.name&&(r[`${n.MCP_REQUEST_ARGUMENT}.name`]=JSON.stringify(t.name)),r}},513445,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(276007),a=e.r(515493),o=e.r(178068);function i(e,t,r){let o={};switch(e){case"notifications/cancelled":t?.requestId&&(o["mcp.cancelled.request_id"]=String(t.requestId)),t?.reason&&(o["mcp.cancelled.reason"]=String(t.reason));break;case"notifications/message":if(t?.level&&(o[a.MCP_LOGGING_LEVEL_ATTRIBUTE]=String(t.level)),t?.logger&&(o[a.MCP_LOGGING_LOGGE
17R_ATTRIBUTE]=String(t.logger)),t?.data!==void 0){var i;o[a.MCP_LOGGING_DATA_TYPE_ATTRIBUTE]=typeof t.data,r&&(o[a.MCP_LOGGING_MESSAGE_ATTRIBUTE]="string"==typeof(i=t.data)?i:JSON.stringify(i))}break;case"notifications/progress":t?.progressToken&&(o["mcp.progress.token"]=String(t.progressToken)),"number"==typeof t?.progress&&(o["mcp.progress.current"]=t.progress),"number"==typeof t?.total&&(o["mcp.progress.total"]=t.total,"number"==typeof t?.progress&&(o["mcp.progress.percentage"]=t.progress/t.total*100)),t?.message&&(o["mcp.progress.message"]=String(t.message));break;case"notifications/resources/updated":if(t?.uri){o[a.MCP_RESOURCE_URI_ATTRIBUTE]=String(t.uri);let e=n.parseStringToURLObject(String(t.uri));e&&!n.isURLObjectRelative(e)&&(o["mcp.resource.protocol"]=e.protocol.replace(":",""))}break;case"notifications/initialized":o["mcp.lifecycle.phase"]="initialization_complete",o["mcp.protocol.ready"]=1}return o}r.buildTypeSpecificAttributes=function(e,t,r,n){if("request"===e){let e=o.extractTargetInfo(t.method,r||{});return{...void 0!==t.id&&{[a.MCP_REQUEST_ID_ATTRIBUTE]:String(t.id)},...e.attributes,...n?o.getRequestArguments(t.method,r||{}):{}}}return i(t.method,r||{},n)},r.getNotificationAttributes=i},375866,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(515493),a=new Set([n.CLIENT_ADDRESS_ATTRIBUTE,n.CLIENT_PORT_ATTRIBUTE,n.MCP_RESOURCE_URI_ATTRIBUTE]);r.filterMcpPiiFromSpanData=function(e,t){return t?e:Object.entries(e).reduce((e,[t,r])=>(a.has(t)||(e[t]=r),e),{})}},696405,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(326691),o=e.r(87256),i=e.r(513445),s=e.r(515493),l=e.r(178068),u=e.r(375866),c=e.r(925085);function d(e,t){return t?`${e} ${t}`:e}function _(e){let t,r;switch(e){case"request":t=s.MCP_SERVER_OP_VALUE,r=s.MCP_FUNCTION_ORIGIN_VALUE;break;case"notification-incoming":t=s.MCP_NOTIFICATION_CLIENT_TO_SERVER_OP_VALUE,r=s.MCP_NOTIFICATION_ORIGIN_VALUE;break;case"notification-outgoing":t=s.MCP_NOTIFICATION_SERVER_TO_CLIENT_OP_VALUE,r=s.MCP_NOTIFICATION_ORIGIN_VALUE}return{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:t,[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s.MCP_ROUTE_SOURCE_VALUE}}function p(e){let t,{type:r,message:a,transport:p,extra:E,callback:S,options:T}=e,{method:g}=a,f=a.params;if("request"===r){let e=l.extractTargetInfo(g,f||{});t=d(g,e.target)}else t=g;let m={...c.buildTransportAttributes(p,E),[s.MCP_METHOD_NAME_ATTRIBUTE]:g,...i.buildTypeSpecificAttributes(r,a,f,T?.recordInputs),..._(r)},h=n.getClient(),A=!!h?.getOptions().sendDefaultPii,R=u.filterMcpPiiFromSpanData(m,A);return o.startSpan({name:t,forceTransaction:!0,attributes:R},S)}r.buildMcpServerSpanConfig=function(e,t,r,a){let{method:o}=e,p=e.params,E=l.extractTargetInfo(o,p||{}),S=d(o,E.target),T={...c.buildTransportAttributes(t,r),[s.MCP_METHOD_NAME_ATTRIBUTE]:o,...i.buildTypeSpecificAttributes("request",e,p,a?.recordInputs),..._("request")},g=n.getClient(),f=!!g?.getOptions().sendDefaultPii,m=u.filterMcpPiiFromSpanData(T,f);return{name:S,op:s.MCP_SERVER_OP_VALUE,forceTransaction:!0,attributes:m}},r.createMcpNotificationSpan=function(e,t,r,n,a){return p({type:"notification-incoming",message:e,transport:t,extra:r,callback:a,options:n})},r.createMcpOutgoingNotificationSpan=function(e,t,r,n){return p({type:"notification-outgoing",message:e,transport:t,options:r,callback:n})}},763721,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(885139),o=e.r(87256),i=e.r(515493),s=e.r(212051),l=e.r(977784),u=e.r(925085),c=e.r(383080),d=e.r(696405),_=e.r(774198);r.wrapTransportError=function(e){e.onerror&&a.fill(e,"onerror",e=>function(t){return function(e){try{l.captureError(e,"transport")}catch{}}(t),e.call(this,t)})},r.wrapTransportOnClose=function(e){e.onclose&&a.fill(e,"onclose",e=>function(...t){return s.cleanupPendingSpansForTransport(this),c.cleanupSessionDataForTransport(this),e.call(this,...t)})},r.wrapTransportOnMessage=function(e,t){e.onmessage&&a.fill(e,"onmessage",e=>function(r,a){if(_.isJsonRpcRequest(r)){let l,_="initialize"===r.method;
17if(_)try{l=u.extractSessionDataFromInitializeRequest(r),c.storeSessionDataForTransport(this,l)}catch{}let p=n.getIsolationScope().clone();return n.withIsolationScope(p,()=>{let n=d.buildMcpServerSpanConfig(r,this,a,t),c=o.startInactiveSpan(n);return _&&l&&c.setAttributes({...u.buildClientAttributesFromInfo(l.clientInfo),...l.protocolVersion&&{[i.MCP_PROTOCOL_VERSION_ATTRIBUTE]:l.protocolVersion}}),s.storeSpanForRequest(this,r.id,c,r.method),o.withActiveSpan(c,()=>e.call(this,r,a))})}return _.isJsonRpcNotification(r)?d.createMcpNotificationSpan(r,this,a,t,()=>e.call(this,r,a)):e.call(this,r,a)})},r.wrapTransportSend=function(e,t){e.send&&a.fill(e,"send",e=>async function(...r){let[n]=r;if(_.isJsonRpcNotification(n))return d.createMcpOutgoingNotificationSpan(n,this,t,()=>e.call(this,...r));if(_.isJsonRpcResponse(n)&&null!==n.id&&void 0!==n.id){if(n.error&&function(e){try{if(e&&"object"==typeof e&&"code"in e&&"message"in e&&(-32603===e.code||e.code>=-32099&&e.code<=-32e3)){let t=Error(e.message);t.name=`JsonRpcError_${e.code}`,l.captureError(t,"protocol")}}catch{}}(n.error),_.isValidContentItem(n.result)&&(n.result.protocolVersion||n.result.serverInfo))try{let e=u.extractSessionDataFromInitializeResponse(n.result);c.updateSessionDataForTransport(this,e)}catch{}s.completeSpanWithResults(this,n.id,n.result,t)}return e.call(this,...r)})}},540982,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(885139),o=e.r(771948),i=e.r(763721),s=e.r(774198),l=new WeakSet;r.wrapMcpServerWithSentry=function(e,t){if(l.has(e)||!s.validateMcpServerInstance(e))return e;let r=n.getClient(),u=!!r?.getOptions().sendDefaultPii,c={recordInputs:t?.recordInputs??u,recordOutputs:t?.recordOutputs??u};return a.fill(e,"connect",e=>async function(t,...r){let n=await e.call(this,t,...r);return i.wrapTransportOnMessage(t,c),i.wrapTransportSend(t,c),i.wrapTransportOnClose(t),i.wrapTransportError(t),n}),o.wrapAllMCPHandlers(e),l.add(e),e}},542353,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438);r.captureFeedback=function(e,t={},r=n.getCurrentScope()){let{message:a,name:o,email:i,url:s,source:l,associatedEventId:u,tags:c}=e,d={contexts:{feedback:{contact_email:i,name:o,message:a,url:s,source:l,associated_event_id:u}},type:"feedback",level:"info",tags:c},_=r?.getClient()||n.getClient();return _&&_.emit("beforeSendFeedback",d,t),r.captureEvent(d,t)}},913315,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(993017);function a(e,t,r,a,o){n._INTERNAL_captureLog({level:e,message:t,attributes:r,severityNumber:o},a)}r.fmt=e.r(962046).fmt,r.debug=function(e,t,{scope:r}={}){a("debug",e,t,r)},r.error=function(e,t,{scope:r}={}){a("error",e,t,r)},r.fatal=function(e,t,{scope:r}={}){a("fatal",e,t,r)},r.info=function(e,t,{scope:r}={}){a("info",e,t,r)},r.trace=function(e,t,{scope:r}={}){a("trace",e,t,r)},r.warn=function(e,t,{scope:r}={}){a("warn",e,t,r)}},649171,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(220824),a=e.r(308447),o=e.r(240256);function i(e,t,r){return e.map(e=>n.isPrimitive(e)?String(e):JSON.stringify(a.normalize(e,t,r))).join(" ")}r.createConsoleTemplateAttributes=function(e,t){let r={},n=Array(t.length).fill("{}").join(" ");return r["sentry.message.template"]=`${e} ${n}`,t.forEach((e,t)=>{r[`sentry.message.parameter.${t}`]=e}),r},r.formatConsoleArgs=function(e,t,r){return"util"in o.GLOBAL_OBJ&&"function"==typeof o.GLOBAL_OBJ.util.format?o.GLOBAL_OBJ.util.format(...e):i(e,t,r)},r.hasConsoleSubstitutions=function(e){return/%[sdifocO]/.test(e)},r.safeJoinConsoleArgs=i},908030,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(307697),o=e.r(43323),i=e.r(435549),s=e.r(326691),l=e.r(904067),u=e.r(993017),c=e.r(649171),d={[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.log.console"};r.consoleLoggingIntegration=i.defineIntegration((e={})=>{let t=e.levels||l.CONSOLE_LEVELS;return{name:"ConsoleLogs",setup(e){let{enableLogs:r,normalizeDepth:i=3,normalizeMaxBreadth:s=1e3}=e.getOptions();if(!r){a.DEBUG_BUILD&&l.debug.warn("`enableLogs` is not enabled, ConsoleLogs integration disabled");return}o.addConsoleInstrumentationHandler(({args:r,level:a})=>{if(n.getClient()!==e||!t.includes(a))return;let o=r[0],l=r.slice(1);if("assert"===a){if(!o){let e=l.length>0?`Assertion failed: ${c.formatConsoleArgs(l,i,s)}`:"Assertion failed";u._INTERNAL_captureLog({level:"error",message:e,attributes:d})}return}let _="log"===a,p=r.length>1&&"string"==typeof r[0]&&!c.hasConsoleSubstitutions(r[0]),E={...d,...p?c.createConsoleTemplateAttributes(o,l):{}};
17u._INTERNAL_captureLog({level:_?"info":a,message:c.formatConsoleArgs(r,i,s),severityNumber:_?10:void 0,attributes:E})})}}})},530954,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(77144);function a(e,t,r,a){n._INTERNAL_captureMetric({type:e,name:t,value:r,unit:a?.unit,attributes:a?.attributes},{scope:a?.scope})}r.count=function(e,t=1,r){a("counter",e,t,r)},r.distribution=function(e,t,r){a("distribution",e,t,r)},r.gauge=function(e,t,r){a("gauge",e,t,r)}},237012,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(993017),o=e.r(649171),i=["trace","debug","info","warn","error","fatal"],s={silent:"trace",fatal:"fatal",error:"error",warn:"warn",log:"info",info:"info",success:"info",fail:"error",ready:"info",start:"info",box:"info",debug:"debug",trace:"trace",verbose:"debug",critical:"fatal",notice:"info"},l={0:"fatal",1:"warn",2:"info",3:"info",4:"debug",5:"trace"};r.createConsolaReporter=function(e={}){let t=new Set(e.levels??i),r=e.client;return{log(e){let{type:i,level:u,message:c,args:d,tag:_,date:p,...E}=e,S=r||n.getClient();if(!S)return;let T=function(e,t){if("verbose"===e)return"debug";if("silent"===e)return"trace";if(e){let t=s[e];if(t)return t}if("number"==typeof t){let e=l[t];if(e)return e}return"info"}(i,u);if(!t.has(T))return;let{normalizeDepth:g=3,normalizeMaxBreadth:f=1e3}=S.getOptions(),m=[];c&&m.push(c),d&&d.length>0&&m.push(o.formatConsoleArgs(d,g,f));let h=m.join(" ");E["sentry.origin"]="auto.log.consola",_&&(E["consola.tag"]=_),i&&(E["consola.type"]=i),null!=u&&"number"==typeof u&&(E["consola.level"]=u),a._INTERNAL_captureLog({level:T,message:h,attributes:E})}}}},369988,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.ANTHROPIC_AI_RESPONSE_TIMESTAMP_ATTRIBUTE="anthropic.response.timestamp",r.GEN_AI_AGENT_NAME_ATTRIBUTE="gen_ai.agent.name",r.GEN_AI_CONVERSATION_ID_ATTRIBUTE="gen_ai.conversation.id",r.GEN_AI_EMBEDDINGS_INPUT_ATTRIBUTE="gen_ai.embeddings.input",r.GEN_AI_EMBED_DO_EMBED_OPERATION_ATTRIBUTE="gen_ai.embed",r.GEN_AI_EMBED_MANY_DO_EMBED_OPERATION_ATTRIBUTE="gen_ai.embed_many",r.GEN_AI_EXECUTE_TOOL_OPERATION_ATTRIBUTE="gen_ai.execute_tool",r.GEN_AI_GENERATE_OBJECT_DO_GENERATE_OPERATION_ATTRIBUTE="gen_ai.generate_object",r.GEN_AI_GENERATE_TEXT_DO_GENERATE_OPERATION_ATTRIBUTE="gen_ai.generate_text",r.GEN_AI_INPUT_MESSAGES_ATTRIBUTE="gen_ai.input.messages",r.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE="sentry.sdk_meta.gen_ai.input.messages.original_length",r.GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE="gen_ai.invoke_agent",r.GEN_AI_OPERATION_NAME_ATTRIBUTE="gen_ai.operation.name",r.GEN_AI_PIPELINE_NAME_ATTRIBUTE="gen_ai.pipeline.name",r.GEN_AI_PROMPT_ATTRIBUTE="gen_ai.prompt",r.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE="gen_ai.request.available_tools",r.GEN_AI_REQUEST_DIMENSIONS_ATTRIBUTE="gen_ai.request.dimensions",r.GEN_AI_REQUEST_ENCODING_FORMAT_ATTRIBUTE="gen_ai.request.encoding_format",r.GEN_AI_REQUEST_FREQUENCY_PENA
17LTY_ATTRIBUTE="gen_ai.request.frequency_penalty",r.GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE="gen_ai.request.max_tokens",r.GEN_AI_REQUEST_MODEL_ATTRIBUTE="gen_ai.request.model",r.GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE="gen_ai.request.presence_penalty",r.GEN_AI_REQUEST_STREAM_ATTRIBUTE="gen_ai.request.stream",r.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE="gen_ai.request.temperature",r.GEN_AI_REQUEST_TOP_K_ATTRIBUTE="gen_ai.request.top_k",r.GEN_AI_REQUEST_TOP_P_ATTRIBUTE="gen_ai.request.top_p",r.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE="gen_ai.response.finish_reasons",r.GEN_AI_RESPONSE_ID_ATTRIBUTE="gen_ai.response.id",r.GEN_AI_RESPONSE_MODEL_ATTRIBUTE="gen_ai.response.model",r.GEN_AI_RESPONSE_STOP_REASON_ATTRIBUTE="gen_ai.response.stop_reason",r.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE="gen_ai.response.streaming",r.GEN_AI_RESPONSE_TEXT_ATTRIBUTE="gen_ai.response.text",r.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE="gen_ai.response.tool_calls",r.GEN_AI_STREAM_OBJECT_DO_STREAM_OPERATION_ATTRIBUTE="gen_ai.stream_object",r.GEN_AI_STREAM_TEXT_DO_STREAM_OPERATION_ATTRIBUTE="gen_ai.stream_text",r.GEN_AI_SYSTEM_ATTRIBUTE="gen_ai.system",r.GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE="gen_ai.system_instructions",r.GEN_AI_TOOL_CALL_ID_ATTRIBUTE="gen_ai.tool.call.id",r.GEN_AI_TOOL_INPUT_ATTRIBUTE="gen_ai.tool.input",r.GEN_AI_TOOL_NAME_ATTRIBUTE="gen_ai.tool.name",r.GEN_AI_TOOL_OUTPUT_ATTRIBUTE="gen_ai.tool.output",r.GEN_AI_TOOL_TYPE_ATTRIBUTE="gen_ai.tool.type",r.GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS_ATTRIBUTE="gen_ai.usage.cache_creation_input_tokens",r.GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS_ATTRIBUTE="gen_ai.usage.cache_read_input_tokens",r.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE="gen_ai.usage.input_tokens",r.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE="gen_ai.usage.input_tokens.cached",r.GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE="gen_ai.usage.input_tokens.cache_write",r.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE="gen_ai.usage.output_tokens",r.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE="gen_ai.usage.total_tokens",r.OPENAI_OPERATIONS={CHAT:"chat",EMBEDDINGS:"embeddings"},r.OPENAI_RESPONSE_ID_ATTRIBUTE="openai.response.id",r.OPENAI_RESPONSE_MODEL_ATTRIBUTE="openai.response.model",r.OPENAI_RESPONSE_TIMESTAMP_ATTRIBUTE="openai.response.timestamp",r.OPENAI_USAGE_COMPLETION_TOKENS_ATTRIBUTE="openai.usage.completion_tokens",r.OPENAI_USAGE_PROMPT_TOKENS_ATTRIBUTE="openai.usage.prompt_tokens"},297119,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=new Map,a=new Set(["ai.generateText","ai.streamText","ai.generateObject","ai.streamObject","ai.embed","ai.embedMany"]),o=new Set(["ai.generateText.doGenerate","ai.streamText.doStream","ai.generateObject.doGenerate","ai.streamObject.doStream"]);r.EMBEDDINGS_OPS=new Set(["ai.embed.doEmbed","ai.embedMany.doEmbed"]),r.GENERATE_CONTENT_OPS=o,r.INVOKE_AGENT_OPS=a,r.toolCallSpanMap=n},141226,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e=>new TextEncoder().encode(e).length,a=e=>n(JSON.stringify(e));function o(e,t){if(n(e)<=t)return e;let r=0,a=e.length,o="";for(;r<=a;){let i=Math.floor((r+a)/2),s=e.slice(0,i);n(s)<=t?(o=s,r=i+1):a=i-1}return o}function i(e,t){return"string"==typeof e?t:{...e,text:t}}function s(e){var t;return!!e&&"object"==typeof e&&("type"in(t=e)&&"string"==typeof t.type&&"source"in t&&s(t.source)||l(e)||"media_type"in e&&"string"==typeof e.media_type&&"data"in e||"image_url"in e&&"string"==typeof e.image_url&&e.image_url.startsWith("data:")||"type"in e&&("blob"===e.type||"base64"===e.type)||"b64_json"in e||"type"in e&&"result"in e&&"image_generation"===e.type||"uri"in e&&"string"==typeof e.uri&&e.uri.startsWith("data:"))}function l(e){return"inlineData"in e&&!!e.inlineData&&"object"==typeof e.inlineData&&"data"in e.inlineData&&"string"==typeof e.inlineData.data}function u(e){return null!==e&&"object"==typeof e&&"parts"in e&&Array.isArray(e.parts)&&e.parts.length>0}let c="[Filtered]",d=["image_url","data","content","b64_json","result","uri"];function _(e){let t={...e};for(let r of(s(t.source)&&(t.source=_(t.source)),l(e)&&(t.inlineData={...e.inlineData,data:c}),d))"string"==typeof t[r]&&(t[r]=c);return t}r.DEFAULT_GEN_AI_MESSAGES_BYTE_LIMIT=2e4,r.truncateGenAiMessages=function(e){if(!Array.isArray(e)||0===e.length)return e;let t=function e(t){return t.map(t=>{let r;t&&"object"==typeof t&&(null!==t&&"object"==typeof t&&"content"in t&&Array.isArray(t.content)?r={...t,content:e(t.content)}:"content"in t&&s(t.content)&&(r={...t,content:_(t.content)}),u(t)&&(r={...r??t,parts:e(t.parts)}),s(r)?r=_(r):s(t)&&(r=_(t)));return r??t})}([e[e.length-1]]),r=t[0];return 2e4>=a(r)?t:function(e){if(!e)return[];if("string"==typeof e){let t=o(e,2e4);return t?[t]:[]}if("object"!=typeof e)return[];if(null!==e&&"object"==typeof e&&"content"in e&&"string"==typeof e.content){let t=2e4-a({...e,content:""});if(t<=0)return[];let r=o(e.content,t);return[{...e,content:r}]}return u(e)?function(e,t){let{parts:r}=e,s=r.map(e=>i(e,"")),l=t-a({...e,parts:s});if(l<=0)return[];let u=[];for(let e of r){let t="string"==typeof e?e:"text"in e?e.text:"",r=n(t);
17if(r<=l)u.push(e),l-=r;else if(0===u.length){let r=o(t,l);r&&u.push(i(e,r));break}else break}return u.length<=0?[]:[{...e,parts:u}]}(e,2e4):[]}(r)},r.truncateGenAiStringInput=function(e){return o(e,2e4)}},689322,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(369988),a=e.r(141226);function o(e){return e.includes("messages")?"chat":e.includes("completions")?"text_completion":e.includes("generateContent")?"generate_content":e.includes("models")?"models":e.includes("chat")?"chat":e.split(".").pop()||"unknown"}r.buildMethodPath=function(e,t){return e?`${e}.${t}`:t},r.extractSystemInstructions=function(e){if(!Array.isArray(e))return{systemInstructions:void 0,filteredMessages:e};let t=e.findIndex(e=>e&&"object"==typeof e&&"role"in e&&"system"===e.role);if(-1===t)return{systemInstructions:void 0,filteredMessages:e};let r=e[t],n="string"==typeof r.content?r.content:void 0!==r.content?JSON.stringify(r.content):void 0;return n?{systemInstructions:JSON.stringify([{type:"text",content:n}]),filteredMessages:[...e.slice(0,t),...e.slice(t+1)]}:{systemInstructions:void 0,filteredMessages:e}},r.getFinalOperationName=o,r.getSpanOperation=function(e){return`gen_ai.${o(e)}`},r.getTruncatedJsonString=function(e){return"string"==typeof e?a.truncateGenAiStringInput(e):Array.isArray(e)?JSON.stringify(a.truncateGenAiMessages(e)):JSON.stringify(e)},r.setTokenUsageAttributes=function(e,t,r,a,o){void 0!==t&&e.setAttributes({[n.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]:t}),void 0!==r&&e.setAttributes({[n.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]:r}),(void 0!==t||void 0!==r||void 0!==a||void 0!==o)&&e.setAttributes({[n.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]:(t??0)+(r??0)+(a??0)+(o??0)})}},751065,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.AI_MODEL_ID_ATTRIBUTE="ai.model.id",r.AI_OPERATION_ID_ATTRIBUTE="ai.operationId",r.AI_PROMPT_ATTRIBUTE="ai.prompt",r.AI_PROMPT_MESSAGES_ATTRIBUTE="ai.prompt.messages",r.AI_PROMPT_TOOLS_ATTRIBUTE="ai.prompt.tools",r.AI_RESPONSE_OBJECT_ATTRIBUTE="ai.response.object",r.AI_RESPONSE_PROVIDER_METADATA_ATTRIBUTE="ai.response.providerMetadata",r.AI_RESPONSE_TEXT_ATTRIBUTE="ai.response.text",r.AI_RESPONSE_TOOL_CALLS_ATTRIBUTE="ai.response.toolCalls",r.AI_SCHEMA_ATTRIBUTE="ai.schema",r.AI_TELEMETRY_FUNCTION_ID_ATTRIBUTE="ai.telemetry.functionId",r.AI_TOOL_CALL_ARGS_ATTRIBUTE="ai.toolCall.args",r.AI_TOOL_CALL_ID_ATTRIBUTE="ai.toolCall.id",r.AI_TOOL_CALL_NAME_ATTRIBUTE="ai.toolCall.name",r.AI_TOOL_CALL_RESULT_ATTRIBUTE="ai.toolCall.result",r.AI_USAGE_CACHED_INPUT_TOKENS_ATTRIBUTE="ai.usage.cachedInputTokens",r.AI_USAGE_COMPLETION_TOKENS_ATTRIBUTE="ai.usage.completionTokens",r.AI_USAGE_PROMPT_TOKENS_ATTRIBUTE="ai.usage.promptTokens",r.OPERATION_NAME_ATTRIBUTE="operation.name"},199892,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(369988),a=e.r(689322),o=e.r(297119),i=e.r(751065);function s(e){try{let t=JSON.parse(e);if(t&&"object"==typeof t){let{prompt:e,system:r}=t;if("string"==typeof e||"string"==typeof r){let t=[];return"string"==typeof r&&t.push({role:"system",content:r}),"string"==typeof e&&t.push({role:"user",content:e}),t}}}catch{}return[]}r._INTERNAL_cleanupToolCallSpan=function(e){o.toolCallSpanMap.delete(e)},r._INTERNAL_getSpanForToolCallId=function(e){return o.toolCallSpanMap.get(e)},r.accumulateTokensForParent=function(e,t){let r=e.parent_span_id;if(!r)return;let a=e.data[n.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE],o=e.data[n.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE];if("number"==typeof a||"number"==typeof o){let e=t.get(r)||{inputTokens:0,outputTokens:0};"number"==typeof a&&(e.inputTokens+=a),"number"==typeof o&&(e.outputTokens+=o),t.set(r,e)}},r.applyAccumulatedTokens=function(e,t){let r=t.get(e.span_id);r&&e.data&&(r.inputTokens>0&&(e.data[n.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]=r.inputTokens),r.outputTokens>0&&(e.data[n.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]=r.outputTokens),(r.inputTokens>0||r.outputTokens>0)&&(e.data["gen_ai.usage.total_tokens"]=r.inputTokens+r.outputTokens))},r.convertAvailableToolsToJsonString=function(e){return JSON.stringify(e.map(e=>{if("string"==typeof e)try{return JSON.parse(e)}catch{}return e}))},r.convertPromptToMessages=s,r.getSpanOpFromName=function(e){switch(e){case"ai.generateText":case"ai.streamText":case"ai.generateObject":case"ai.streamObject":case"ai.embed":case"ai.embedMany":return n.GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE;case"ai.generateText.doGenerate":return n.GEN_AI_GENERATE_TEXT_DO_GENERATE_OPERATION_ATTRIBUTE;case"ai.streamText.doStream":return n.GEN_AI_STREAM_TEXT_DO_STREAM_OPERATION_ATTRIBUTE;case"ai.generateObject.doGenerate":return n.GEN_AI_GENERATE_OBJECT_DO_GENERATE_OPERATION_ATTRIBUTE;case"ai.streamObject.doStream":return n.GEN_AI_STREAM_OBJECT_DO_STREAM_OPERATION_ATTRIBUTE;
17case"ai.embed.doEmbed":return n.GEN_AI_EMBED_DO_EMBED_OPERATION_ATTRIBUTE;case"ai.embedMany.doEmbed":return n.GEN_AI_EMBED_MANY_DO_EMBED_OPERATION_ATTRIBUTE;case"ai.toolCall":return n.GEN_AI_EXECUTE_TOOL_OPERATION_ATTRIBUTE;default:if(e.startsWith("ai.stream"))return"ai.run";return}},r.requestMessagesFromPrompt=function(e,t){if(t[i.AI_PROMPT_ATTRIBUTE]){let r=a.getTruncatedJsonString(t[i.AI_PROMPT_ATTRIBUTE]);e.setAttribute("gen_ai.prompt",r)}let r=t[i.AI_PROMPT_ATTRIBUTE];if("string"!=typeof r||t[n.GEN_AI_INPUT_MESSAGES_ATTRIBUTE]||t[i.AI_PROMPT_MESSAGES_ATTRIBUTE]){if("string"==typeof t[i.AI_PROMPT_MESSAGES_ATTRIBUTE])try{let r=JSON.parse(t[i.AI_PROMPT_MESSAGES_ATTRIBUTE]);if(Array.isArray(r)){let{systemInstructions:t,filteredMessages:o}=a.extractSystemInstructions(r);t&&e.setAttribute(n.GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE,t);let s=Array.isArray(o)?o.length:0;e.setAttributes({[i.AI_PROMPT_MESSAGES_ATTRIBUTE]:void 0,[n.GEN_AI_INPUT_MESSAGES_ATTRIBUTE]:a.getTruncatedJsonString(o),[n.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:s})}}catch{}}else{let t=s(r);if(t.length){let{systemInstructions:r,filteredMessages:o}=a.extractSystemInstructions(t);r&&e.setAttribute(n.GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE,r);let i=Array.isArray(o)?o.length:0;e.setAttributes({[n.GEN_AI_INPUT_MESSAGES_ATTRIBUTE]:a.getTruncatedJsonString(o),[n.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:i})}}}},906317,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(326691),a=e.r(415081),o=e.r(369988),i=e.r(297119),s=e.r(199892),l=e.r(751065);function u(e,t){e.setAttribute(n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,t)}function c(e){var t,r;let c,d,{data:p,description:E}=a.spanToJSON(e);!E||(p[l.AI_TOOL_CALL_NAME_ATTRIBUTE]&&p[l.AI_TOOL_CALL_ID_ATTRIBUTE]&&"ai.toolCall"===E?(t=e,r=p,u(t,"auto.vercelai.otel"),t.setAttribute(n.SEMANTIC_ATTRIBUTE_SENTRY_OP,"gen_ai.execute_tool"),t.setAttribute(o.GEN_AI_OPERATION_NAME_ATTRIBUTE,"execute_tool"),_(r,l.AI_TOOL_CALL_NAME_ATTRIBUTE,o.GEN_AI_TOOL_NAME_ATTRIBUTE),_(r,l.AI_TOOL_CALL_ID_ATTRIBUTE,o.GEN_AI_TOOL_CALL_ID_ATTRIBUTE),"string"==typeof(c=r[o.GEN_AI_TOOL_CALL_ID_ATTRIBUTE])&&i.toolCallSpanMap.set(c,t),r[o.GEN_AI_TOOL_TYPE_ATTRIBUTE]||t.setAttribute(o.GEN_AI_TOOL_TYPE_ATTRIBUTE,"function"),(d=r[o.GEN_AI_TOOL_NAME_ATTRIBUTE])&&t.updateName(`execute_tool ${d}`)):(p[l.AI_OPERATION_ID_ATTRIBUTE]||E.startsWith("ai."))&&function(e,t,r){u(e,"auto.vercelai.otel");let a=t.replace("ai.","");e.setAttribute("ai.pipeline.name",a),e.updateName(a);let i=r[l.AI_TELEMETRY_FUNCTION_ID_ATTRIBUTE];i&&"string"==typeof i&&(e.updateName(`${a} ${i}`),e.setAttribute("gen_ai.function_id",i)),s.requestMessagesFromPrompt(e,r),r[l.AI_MODEL_ID_ATTRIBUTE]&&!r[o.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]&&e.setAttribute(o.GEN_AI_RESPONSE_MODEL_ATTRIBUTE,r[l.AI_MODEL_ID_ATTRIBUTE]),e.setAttribute("ai.streaming",t.includes("stream"));let c=s.getSpanOpFromName(t);c&&e.setAttribute(n.SEMANTIC_ATTRIBUTE_SENTRY_OP,c);let d=r[l.AI_MODEL_ID_ATTRIBUTE];if(d)switch(t){case"ai.generateText.doGenerate":e.updateName(`generate_text ${d}`);break;case"ai.streamText.doStream":e.updateName(`stream_text ${d}`);break;case"ai.generateObject.doGenerate":e.updateName(`generate_object ${d}`);break;case"ai.streamObject.doStream":e.updateName(`stream_object ${d}`);break;case"ai.embed.doEmbed":e.updateName(`embed ${d}`);break;case"ai.embedMany.doEmbed":e.updateName(`embed_many ${d}`)}}(e,E,p))}function d(e){if("transaction"===e.type&&e.spans){let t=new Map;for(let r of e.spans)(function(e){let{data:t,origin:r}=e;if("auto.vercelai.otel"===r){if(_(t,l.AI_USAGE_COMPLETION_TOKENS_ATTRIBUTE,o.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE),_(t,l.AI_USAGE_PROMPT_TOKENS_ATTRIBUTE,o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE),_(t,l.AI_USAGE_CACHED_INPUT_TOKENS_ATTRIBUTE,o.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE),"number"==typeof t[o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]&&"number"==typeof t[o.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE]&&(t[o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]=t[o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]+t[o.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE]),"number"==typeof t[o.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]&&"number"==typeof t[o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]&&(t[o.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]=t[o.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]+t[o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]),t[l.AI_PROMPT_TOOLS_ATTRIBUTE]&&Array.isArray(t[l.AI_PROMPT_TOOLS_ATTRIBUTE])&&(t[l.AI_PROMPT_TOOLS_ATTRIBUTE]=s.convertAvailableToolsToJsonString(t[l.AI_PROMPT_TOOLS_ATTRIBUTE])),t[l.OPERATION_NAME_ATTRIBUTE]){var n;let e=(n=t[l.OPERATION_NAME_ATTRIBUTE],i.INVOKE_AGENT_OPS.has(n)?"invoke_agent":i.GENERATE_CONTENT_OPS.has(n)?"generate_content":i.EMBEDDINGS_OPS.has(n)?"embeddings":"ai.toolCall"===n?"execute_tool":n);t[o.GEN_AI_OPERATION_NAME_ATTRIBUTE]=e,delete t[l.OPERATION_NAME_ATTRIBUTE]}for(let e of(_(t,l.AI_PROMPT_MESSAGES_ATTRIBUTE,o.GEN_AI_INPUT_MESSAGES_ATTRIBUTE),_(t,l.AI_RESPONSE_TEXT_ATTRIBUTE,"gen_ai.response.text"),_(t,l.AI_RESPONSE_TOOL_CALLS_ATTRIBUTE,"gen_ai.response.tool_calls"),_(t,l.AI_RESPONSE_OBJECT_ATTRIBUTE,"gen_ai.response.object"),_(t,l.AI_PROMPT_TOOLS_ATTRIBUTE,"gen_ai.request.available_tools"),_(t,l.AI_TOOL_CALL_ARGS_ATTRIBUTE,o.GEN_AI_TOOL_INPUT_ATTRIBUTE),_(t,l.AI_TOOL_CALL_RESULT_ATTRIBUTE,o.GEN_AI_TOOL_OUTPUT_ATTRIBUTE),_(t,l.AI_SCHEMA_ATTRIBUTE,"gen_ai.request.schema"),_(t,l.AI_MODEL_ID_ATTRIBUTE,o.GEN_AI_REQUEST_MODEL_ATTRIBUTE),function(e){let t=e[l.AI_RESPONSE_PROVIDER_METADATA_ATTRIBUTE];if(t)try{let r=JSON.parse(t),n=r.openai??r.azure;if(n&&(p(e,o.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,n.cachedPromptTokens),p(e,"gen_ai.usage.output_tokens.reasoning",n.reasoningTokens),p(e,"gen_ai.usage.output_tokens.prediction_accepted",n.acceptedPredictionTokens),p(e,"gen_ai.usage.output_tokens.prediction_rejected",n.rejectedPredictionTokens),p(e,"gen_ai.conversation.id",n.responseId)),r.anthropic){let t=r.anthropic.usage?.cache_read_input_tokens??r.anthropic.cacheReadInputTokens;p(e,o.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,t);let n=r.anthropic.usage?.cache_creation_input_tokens??r.anthropic.cacheCreationInputTokens;p(e,o.GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE,n)}r.bedrock?.usage&&(p(e,o.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,r.bedrock.usage.cacheReadInputTokens),p(e,o.GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE,r.bedrock.usage.cacheWriteInputTokens)),r.deepseek&&(p(e,o.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,r.deepseek.promptCacheHitTokens),p(e,"gen_ai.usage.input_tokens.cache_miss",r.deepseek.promptCacheMissTokens))}catch{}}(t),Object.keys(t)))e.startsWith("ai.")&&_(t,e,`vercel.${e}`)}})(r),s.accumulateTokensForParent(r,t);for(let r of e.spans)"gen_ai.invoke_agent"===r.op&&s.applyAccumulatedTokens(r,t);let r=e.contexts?.trace;r&&"gen_ai.invoke_agent"===r.op&&s.applyAccumulatedTokens(r,t)}return e}function _(e,t,r){null!=e[t]&&(e[r]=e[t],delete e[t])}function p(e,t,r){null!=r&&(e[t]=r)}r.addVercelAiProcessors=function(e){e.on("spanStart",c),e.addEventProcessor(Object.assign(d,{id:"VercelAiEventProcessor"}))}},146454,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=["response.output_item.added","response.function_call_arguments.delta","response.function_call_arguments.done","response.output_item.done"],a=["response.created","response.in_progress","response.failed","response.completed","response.incomplete","response.queued","response.output_text.delta",...n];
17r.INSTRUMENTED_METHODS=["responses.create","chat.completions.create","embeddings.create","conversations.create"],r.OPENAI_INTEGRATION_NAME="OpenAI",r.RESPONSES_TOOL_CALL_EVENT_TYPES=n,r.RESPONSE_EVENT_TYPES=a},686658,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(369988),a=e.r(146454);function o(e){return e.includes("chat.completions")||e.includes("responses")?n.OPENAI_OPERATIONS.CHAT:e.includes("embeddings")?n.OPENAI_OPERATIONS.EMBEDDINGS:e.includes("conversations")?n.OPENAI_OPERATIONS.CHAT:e.split(".").pop()||"unknown"}function i(e,t,r,a){void 0!==t&&e.setAttributes({[n.OPENAI_USAGE_PROMPT_TOKENS_ATTRIBUTE]:t,[n.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]:t}),void 0!==r&&e.setAttributes({[n.OPENAI_USAGE_COMPLETION_TOKENS_ATTRIBUTE]:r,[n.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]:r}),void 0!==a&&e.setAttributes({[n.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]:a})}function s(e,t,r,a){e.setAttributes({[n.OPENAI_RESPONSE_ID_ATTRIBUTE]:t,[n.GEN_AI_RESPONSE_ID_ATTRIBUTE]:t}),e.setAttributes({[n.OPENAI_RESPONSE_MODEL_ATTRIBUTE]:r,[n.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:r}),e.setAttributes({[n.OPENAI_RESPONSE_TIMESTAMP_ATTRIBUTE]:new Date(1e3*a).toISOString()})}r.addChatCompletionAttributes=function(e,t,r){if(s(e,t.id,t.model,t.created),t.usage&&i(e,t.usage.prompt_tokens,t.usage.completion_tokens,t.usage.total_tokens),Array.isArray(t.choices)){let a=t.choices.map(e=>e.finish_reason).filter(e=>null!==e);if(a.length>0&&e.setAttributes({[n.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify(a)}),r){let r=t.choices.map(e=>e.message?.tool_calls).filter(e=>Array.isArray(e)&&e.length>0).flat();r.length>0&&e.setAttributes({[n.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(r)})}}},r.addConversationAttributes=function(e,t){let{id:r,created_at:a}=t;e.setAttributes({[n.OPENAI_RESPONSE_ID_ATTRIBUTE]:r,[n.GEN_AI_RESPONSE_ID_ATTRIBUTE]:r,[n.GEN_AI_CONVERSATION_ID_ATTRIBUTE]:r}),a&&e.setAttributes({[n.OPENAI_RESPONSE_TIMESTAMP_ATTRIBUTE]:new Date(1e3*a).toISOString()})},r.addEmbeddingsAttributes=function(e,t){e.setAttributes({[n.OPENAI_RESPONSE_MODEL_ATTRIBUTE]:t.model,[n.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:t.model}),t.usage&&i(e,t.usage.prompt_tokens,void 0,t.usage.total_tokens)},r.addResponsesApiAttributes=function(e,t,r){if(s(e,t.id,t.model,t.created_at),t.status&&e.setAttributes({[n.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify([t.status])}),t.usage&&i(e,t.usage.input_tokens,t.usage.output_tokens,t.usage.total_tokens),r&&Array.isArray(t.output)&&t.output.length>0){let r=t.output.filter(e=>"object"==typeof e&&null!==e&&"function_call"===e.type);r.length>0&&e.setAttributes({[n.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(r)})}},r.buildMethodPath=function(e,t){return e?`${e}.${t}`:t},r.extractRequestParameters=function(e){let t={[n.GEN_AI_REQUEST_MODEL_ATTRIBUTE]:e.model??"unknown"};"temperature"in e&&(t[n.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE]=e.temperature),"top_p"in e&&(t[n.GEN_AI_REQUEST_TOP_P_ATTRIBUTE]=e.top_p),"frequency_penalty"in e&&(t[n.GEN_AI_REQUEST_FREQUENCY_PENA
17LTY_ATTRIBUTE]=e.frequency_penalty),"presence_penalty"in e&&(t[n.GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE]=e.presence_penalty),"stream"in e&&(t[n.GEN_AI_REQUEST_STREAM_ATTRIBUTE]=e.stream),"encoding_format"in e&&(t[n.GEN_AI_REQUEST_ENCODING_FORMAT_ATTRIBUTE]=e.encoding_format),"dimensions"in e&&(t[n.GEN_AI_REQUEST_DIMENSIONS_ATTRIBUTE]=e.dimensions);let r="conversation"in e&&"string"==typeof e.conversation?e.conversation:"previous_response_id"in e&&"string"==typeof e.previous_response_id?e.previous_response_id:void 0;return r&&(t[n.GEN_AI_CONVERSATION_ID_ATTRIBUTE]=r),t},r.getOperationName=o,r.getSpanOperation=function(e){return`gen_ai.${o(e)}`},r.isChatCompletionChunk=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"chat.completion.chunk"===e.object},r.isChatCompletionResponse=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"chat.completion"===e.object},r.isConversationResponse=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"conversation"===e.object},r.isEmbeddingsResponse=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"list"===e.object&&"string"==typeof e.model&&e.model.toLowerCase().includes("embedding")},r.isResponsesApiResponse=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"response"===e.object},r.isResponsesApiStreamEvent=function(e){return null!==e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.startsWith("response.")},r.setCommonResponseAttributes=s,r.setTokenUsageAttributes=i,r.shouldInstrument=function(e){return a.INSTRUMENTED_METHODS.includes(e)}},54667,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(127716),a=e.r(461957),o=e.r(369988),i=e.r(146454),s=e.r(686658);r.instrumentStream=async function*(e,t,r){let l={eventTypes:[],responseTexts:[],finishReasons:[],responseId:"",responseModel:"",responseTimestamp:0,promptTokens:void 0,completionTokens:void 0,totalTokens:void 0,chatCompletionToolCalls:{},responsesApiToolCalls:[]};try{for await(let o of e){if(s.isChatCompletionChunk(o))for(let e of(l.responseId=o.id??l.responseId,l.responseModel=o.model??l.responseModel,l.responseTimestamp=o.created??l.responseTimestamp,o.usage&&(l.promptTokens=o.usage.prompt_tokens,l.completionTokens=o.usage.completion_tokens,l.totalTokens=o.usage.total_tokens),o.choices??[]))r&&(e.delta?.content&&l.responseTexts.push(e.delta.content),e.delta?.tool_calls&&function(e,t){for(let r of e){let e=r.index;if(void 0!==e&&r.function)if(e in t.chatCompletionToolCalls){let n=t.chatCompletionToolCalls[e];r.function.arguments&&n?.function&&(n.function.arguments+=r.function.arguments)}else t.chatCompletionToolCalls[e]={...r,function:{name:r.function.name,arguments:r.function.arguments||""}}}}(e.delta.tool_calls,l)),e.finish_reason&&l.finishReasons.push(e.finish_reason);else s.isResponsesApiStreamEvent(o)&&function(e,t,r,o){if(!(e&&"object"==typeof e))return t.eventTypes.push("unknown:non-object");if(e instanceof Error){o.setStatus({code:a.SPAN_STATUS_ERROR,message:"internal_error"}),n.captureException(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream-response"}});return}if("type"in e){if(!i.RESPONSE_EVENT_TYPES.includes(e.type))return t.eventTypes.push(e.type);if(r&&("response.output_item.done"===e.type&&"item"in e&&t.responsesApiToolCalls.push(e.item),"response.output_text.delta"===e.type&&"delta"in e&&e.delta))return t.responseTexts.push(e.delta);if("response"in e){let{response:n}=e;t.responseId=n.id??t.responseId,t.responseModel=n.model??t.responseModel,t.responseTimestamp=n.created_at??t.responseTimestamp,n.usage&&(t.promptTokens=n.usage.input_tokens,t.completionTokens=n.usage.output_tokens,t.totalTokens=n.usage.total_tokens),n.status&&t.finishReasons.push(n.status),r&&n.output_text&&t.responseTexts.push(n.output_text)}}}(o,l,r,t);yield o}}finally{s.setCommonResponseAttributes(t,l.responseId,l.responseModel,l.responseTimestamp),s.setTokenUsageAttributes(t,l.promptTokens,l.completionTokens,l.totalTokens),t.setAttributes({[o.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE]:!0}),l.finishReasons.length&&t.setAttributes({[o.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify(l.finishReasons)}),r&&l.responseTexts.length&&t.setAttributes({[o.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:l.responseTexts.join("")});let e=[...Object.values(l.chatCompletionToolCalls),...l.responsesApiToolCalls];e.length>0&&t.setAttributes({[o.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(e)}),t.end()}}},702625,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(127716),o=e.r(326691),i=e.r(461957),s=e.r(87256),l=e.r(369988),u=e.r(689322),c=e.r(54667),d=e.r(686658);function _(e,t,r){if(r===l.OPENAI_OPERATIONS.EMBEDDINGS&&"input"in t){let r=t.input;if(null==r||"string"==typeof r&&0===r.length||Array.isArray(r)&&0===r.length)return;e.setAttribute(l.GEN_AI_EMBEDDINGS_INPUT_ATTRIBUTE,"string"==typeof r?r:JSON.stringify(r));return}let n="input"in t?t.input:"messages"in t?t.messages:void 0;if(!n||Array.isArray(n)&&0===n.length)return;let{systemInstructions:a,filteredMessages:o}=u.extractSystemInstructions(n);a&&e.setAttribute(l.GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE,a);let i=u.getTruncatedJsonString(o);e.setAttribute(l.GEN_AI_INPUT_MESSAGES_ATTRIBUTE,i),Array.isArray(o)?e.setAttribute(l.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE,o.length):e.setAttribute(l.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE,1)}r.instrumentOpenAiClient=function(e,t){let r=!!n.getClient()?.getOptions().sendDefaultPii;return function e(t,r="",n){return new Proxy(t,{get(t,u){let p=t[u],E=d.buildMethodPath(r,String(u));if("function"==typeof p&&d.shouldInstrument(E))return async function(...e){let r=function(e,t){let r={[l.G
17EN_AI_SYSTEM_ATTRIBUTE]:"openai",[l.GEN_AI_OPERATION_NAME_ATTRIBUTE]:d.getOperationName(t),[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.openai"};if(e.length>0&&"object"==typeof e[0]&&null!==e[0]){let t,n=e[0],a=(t=[...Array.isArray(n.tools)?n.tools:[],...n.web_search_options&&"object"==typeof n.web_search_options?[{type:"web_search_options",...n.web_search_options}]:[]]).length>0?JSON.stringify(t):void 0;a&&(r[l.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE]=a),Object.assign(r,d.extractRequestParameters(n))}else r[l.GEN_AI_REQUEST_MODEL_ATTRIBUTE]="unknown";return r}(e,E),u=r[l.GEN_AI_REQUEST_MODEL_ATTRIBUTE]||"unknown",S=d.getOperationName(E),T=e[0];return T&&"object"==typeof T&&!0===T.stream?s.startSpanManual({name:`${S} ${u} stream-response`,op:d.getSpanOperation(E),attributes:r},async r=>{try{n.recordInputs&&T&&_(r,T,S);let a=await p.apply(t,e);return c.instrumentStream(a,r,n.recordOutputs??!1)}catch(e){throw r.setStatus({code:i.SPAN_STATUS_ERROR,message:"internal_error"}),a.captureException(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream",data:{function:E}}}),r.end(),e}}):s.startSpan({name:`${S} ${u}`,op:d.getSpanOperation(E),attributes:r},async r=>{try{n.recordInputs&&T&&_(r,T,S);let a=await p.apply(t,e);return!function(e,t,r){if(t&&"object"==typeof t)if(d.isChatCompletionResponse(t)){if(d.addChatCompletionAttributes(e,t,r),r&&t.choices?.length){let r=t.choices.map(e=>e.message?.content||"");e.setAttributes({[l.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:JSON.stringify(r)})}}else d.isResponsesApiResponse(t)?(d.addResponsesApiAttributes(e,t,r),r&&t.output_text&&e.setAttributes({[l.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:t.output_text})):d.isEmbeddingsResponse(t)?d.addEmbeddingsAttributes(e,t):d.isConversationResponse(t)&&d.addConversationAttributes(e,t)}(r,a,n.recordOutputs),a}catch(e){throw a.captureException(e,{mechanism:{handled:!1,type:"auto.ai.openai",data:{function:E}}}),e}})};return"function"==typeof p?p.bind(t):p&&"object"==typeof p?e(p,E,n):p}})}(e,"",{recordInputs:r,recordOutputs:r,...t})}},346453,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(127716),a=e.r(461957),o=e.r(369988),i=e.r(689322);function s(e,t,r,o){if(e&&"object"==typeof e&&(!("type"in e)||"string"!=typeof e.type||"error"!==e.type||(o.setStatus({code:a.SPAN_STATUS_ERROR,message:e.error?.type??"internal_error"}),n.captureException(e.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}),0))){if("message_delta"===e.type&&e.usage&&"output_tokens"in e.usage&&"number"==typeof e.usage.output_tokens&&(t.completionTokens=e.usage.output_tokens),e.message){let r=e.message;r.id&&(t.responseId=r.id),r.model&&(t.responseModel=r.model),r.stop_reason&&t.finishReasons.push(r.stop_reason),r.usage&&("number"==typeof r.usage.input_tokens&&(t.promptTokens=r.usage.input_tokens),"number"==typeof r.usage.cache_creation_input_tokens&&(t.cacheCreationInputTokens=r.usage.cache_creation_input_tokens),"number"==typeof r.usage.cache_read_input_tokens&&(t.cacheReadInputTokens=r.usage.cache_read_input_tokens))}"content_block_start"===e.type&&"number"==typeof e.index&&e.content_block&&("tool_use"===e.content_block.type||"server_tool_use"===e.content_block.type)&&(t.activeToolBlocks[e.index]={id:e.content_block.id,name:e.content_block.name,inputJsonParts:[]});if("content_block_delta"===e.type&&e.delta){if("number"==typeof e.index&&"partial_json"in e.delta&&"string"==typeof e.delta.partial_json){let r=t.activeToolBlocks[e.index];r&&r.inputJsonParts.push(e.delta.partial_json)}r&&"string"==typeof e.delta.text&&t.responseTexts.push(e.delta.text)}!function(e,t){let r;if("content_block_stop"!==e.type||"number"!=typeof e.index)return;let n=t.activeToolBlocks[e.index];if(!n)return;let a=n.inputJsonParts.join("");try{r=a?JSON.parse(a):{}}catch{r={__unparsed:a}}t.toolCalls.push({type:"tool_use",id:n.id,name:n.name,input:r}),delete t.activeToolBlocks[e.index]}(e,t)}}r.instrumentAsyncIterableStream=async function* e(e,t,r){let n={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}};try{for await(let a of e)s(a,n,r,t),yield a}finally{n.responseId&&t.setAttributes({[o.GEN_AI_RESPONSE_ID_ATTRIBUTE]:n.responseId}),n.responseModel&&t.setAttributes({[o.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:n.responseModel}),i.setTokenUsageAttributes(t,n.promptTokens,n.completionTokens,n.cacheCreationInputTokens,n.cacheReadInputTokens),t.setAttributes({[o.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE]:!0}),n.finishReasons.length>0&&t.setAttributes({[o.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify(n.finishReasons)}),r&&n.responseTexts.length>0&&t.setAttributes({[o.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:n.responseTexts.join("")}),r&&n.toolCalls.length>0&&t.setAttributes({[o.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(n.toolCalls)}),t.end()}},r.instrumentMessageStream=function(e,t,r){let l={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}};return e.on("streamEvent",e=>{s(e,l,r,t)}),e.on("message",()=>{t.isRecording()&&(l.responseId&&t.setAttributes({[o.GEN_AI_RESPONSE_ID_ATTRIBUTE]:l.responseId}),l.responseModel&&t.setAttributes({[o.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:l.responseModel}),i.setTokenUsageAttributes(t,l.promptTokens,l.completionTokens,l.cacheCreationInputTokens,l.cacheReadInputTokens),t.setAttributes({[o.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE]:!0}),l.finishReasons.length>0&&t.setAttributes({[o.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify(l.finishReasons)}),r&&l.responseTexts.length>0&&t.setAttributes({[o.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:l.responseTexts.join("")}),r&&l.toolCalls.length>0&&t.setAttributes({[o.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(l.toolCalls)}),t.end())}),e.on("error",e=>{n.captureException(e,{mechanism:{handled:!1,type:"auto.ai.anthropic.stream_error"}}),t.isRecording()&&(t.setStatus({code:a.SPAN_STATUS_ERROR,message:"stream_error"}),t.end())}),e}},982076,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.ANTHROPIC_AI_INSTRUMENTED_METHODS=["messages.create","messages.stream","messages.countTokens","models.get","completions.
17create","models.retrieve","beta.messages.create"],r.ANTHROPIC_AI_INTEGRATION_NAME="Anthropic_AI"},469074,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(127716),a=e.r(461957),o=e.r(369988),i=e.r(689322),s=e.r(982076);r.handleResponseError=function(e,t){t.error&&(e.setStatus({code:a.SPAN_STATUS_ERROR,message:t.error.type||"internal_error"}),n.captureException(t.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}))},r.messagesFromParams=function(e){let{system:t,messages:r,input:n}=e,a="string"==typeof t?[{role:"system",content:e.system}]:[],o=Array.isArray(n)?n:null!=n?[n]:void 0,i=Array.isArray(r)?r:null!=r?[r]:[];return[...a,...o??i]},r.setMessagesAttribute=function(e,t){if(Array.isArray(t)&&0===t.length)return;let{systemInstructions:r,filteredMessages:n}=i.extractSystemInstructions(t);r&&e.setAttributes({[o.GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE]:r});let a=Array.isArray(n)?n.length:1;e.setAttributes({[o.GEN_AI_INPUT_MESSAGES_ATTRIBUTE]:i.getTruncatedJsonString(n),[o.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:a})},r.shouldInstrument=function(e){return s.ANTHROPIC_AI_INSTRUMENTED_METHODS.includes(e)}},698951,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(127716),o=e.r(326691),i=e.r(461957),s=e.r(87256),l=e.r(438818),u=e.r(369988),c=e.r(689322),d=e.r(346453),_=e.r(469074);function p(e,t){let r=_.messagesFromParams(t);_.setMessagesAttribute(e,r),"prompt"in t&&e.setAttributes({[u.GEN_AI_PROMPT_ATTRIBUTE]:JSON.stringify(t.prompt)})}function E(e,t,r){throw a.captureException(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:r}}}),t.isRecording()&&(t.setStatus({code:i.SPAN_STATUS_ERROR,message:"internal_error"}),t.end()),e}r.instrumentAnthropicAiClient=function(e,t){let r=!!n.getClient()?.getOptions().sendDefaultPii;return function e(t,r="",n){return new Proxy(t,{get(t,i){let S=t[i],T=c.buildMethodPath(r,String(i));if("function"==typeof S&&_.shouldInstrument(T))return new Proxy(S,{apply(e,r,i){let g=function(e,t){let r={[u.GEN_AI_SYSTEM_ATTRIBUTE]:"anthropic",[u.GEN_AI_OPERATION_NAME_ATTRIBUTE]:c.getFinalOperationName(t),[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.anthropic"};if(e.length>0&&"object"==typeof e[0]&&null!==e[0]){let t=e[0];t.tools&&Array.isArray(t.tools)&&(r[u.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE]=JSON.stringify(t.tools)),r[u.GEN_AI_REQUEST_MODEL_ATTRIBUTE]=t.model??"unknown","temperature"in t&&(r[u.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE]=t.temperature),"top_p"in t&&(r[u.GEN_AI_REQUEST_TOP_P_ATTRIBUTE]=t.top_p),"stream"in t&&(r[u.GEN_AI_REQUEST_STREAM_ATTRIBUTE]=t.stream),"top_k"in t&&(r[u.GEN_AI_REQUEST_TOP_K_ATTRIBUTE]=t.top_k),"frequency_penalty"in t&&(r[u.GEN_AI_REQUEST_FREQUENCY_PENA
17LTY_ATTRIBUTE]=t.frequency_penalty),"max_tokens"in t&&(r[u.GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE]=t.max_tokens)}else"models.retrieve"===t||"models.get"===t?r[u.GEN_AI_REQUEST_MODEL_ATTRIBUTE]=e[0]:r[u.GEN_AI_REQUEST_MODEL_ATTRIBUTE]="unknown";return r}(i,T),f=g[u.GEN_AI_REQUEST_MODEL_ATTRIBUTE]??"unknown",m=c.getFinalOperationName(T),h="object"==typeof i[0]?i[0]:void 0,A=!!h?.stream,R="messages.stream"===T;if(A||R){let r,a;return r=g[u.GEN_AI_REQUEST_MODEL_ATTRIBUTE]??"unknown",a={name:`${m} ${r} stream-response`,op:c.getSpanOperation(T),attributes:g},A&&!R?s.startSpanManual(a,async e=>{try{n.recordInputs&&h&&p(e,h);let r=await S.apply(t,i);return d.instrumentAsyncIterableStream(r,e,n.recordOutputs??!1)}catch(t){return E(t,e,T)}}):s.startSpanManual(a,r=>{try{n.recordInputs&&h&&p(r,h);let a=e.apply(t,i);return d.instrumentMessageStream(a,r,n.recordOutputs??!1)}catch(e){return E(e,r,T)}})}return s.startSpan({name:`${m} ${f}`,op:c.getSpanOperation(T),attributes:g},r=>(n.recordInputs&&h&&p(r,h),l.handleCallbackErrors(()=>e.apply(t,i),e=>{a.captureException(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:T}}})},()=>{},e=>(function(e,t,r){if(t&&"object"==typeof t){if("type"in t&&"error"===t.type)return void _.handleResponseError(e,t);r&&function(e,t){if("content"in t&&Array.isArray(t.content)){e.setAttributes({[u.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:t.content.map(e=>e.text).filter(e=>!!e).join("")});let r=[];for(let e of t.content)("tool_use"===e.type||"server_tool_use"===e.type)&&r.push(e);r.length>0&&e.setAttributes({[u.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(r)})}"completion"in t&&e.setAttributes({[u.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:t.completion}),"input_tokens"in t&&e.setAttributes({[u.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:JSON.stringify(t.input_tokens)})}(e,t),"id"in t&&"model"in t&&(e.setAttributes({[u.GEN_AI_RESPONSE_ID_ATTRIBUTE]:t.id,[u.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:t.model}),"created"in t&&"number"==typeof t.created&&e.setAttributes({[u.ANTHROPIC_AI_RESPONSE_TIMESTAMP_ATTRIBUTE]:new Date(1e3*t.created).toISOString()}),"created_at"in t&&"number"==typeof t.created_at&&e.setAttributes({[u.ANTHROPIC_AI_RESPONSE_TIMESTAMP_ATTRIBUTE]:new Date(1e3*t.created_at).toISOString()}),"usage"in t&&t.usage&&c.setTokenUsageAttributes(e,t.usage.input_tokens,t.usage.output_tokens,t.usage.cache_creation_input_tokens,t.usage.cache_read_input_tokens))}})(r,e,n.recordOutputs))))}});return"function"==typeof S?S.bind(t):S&&"object"==typeof S?e(S,T,n):S}})}(e,"",{recordInputs:r,recordOutputs:r,...t})}},117374,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.CHATS_CREATE_METHOD="chats.create",r.CHAT_PATH="chat",r.GOOGLE_GENAI_INSTRUMENTED_METHODS=["models.generateContent","models.generateContentStream","chats.create","sendMessage","sendMessageStream"],r.GOOGLE_GENAI_INTEGRATION_NAME="Google_GenAI",r.GOOGLE_GENAI_SYSTEM_NAME="google_genai"},945100,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(127716),a=e.r(461957),o=e.r(369988);r.instrumentStream=async function*(e,t,r){let i={responseTexts:[],finishReasons:[],toolCalls:[]};try{for await(let o of e)!function(e,t,r,o){if(!(!e||function(e,t){let r=e?.promptFeedback;if(r?.blockReason){let e=r.blockReasonMessage??r.blockReason;return t.setStatus({code:a.SPAN_STATUS_ERROR,message:`Content blocked: ${e}`}),n.captureException(`Content blocked: ${e}`,{mechanism:{handled:!1,type:"auto.ai.google_genai"}}),!0}return!1}(e,o))){let n;for(let a of("string"==typeof e.responseId&&(t.responseId=e.responseId),"string"==typeof e.modelVersion&&(t.responseModel=e.modelVersion),(n=e.usageMetadata)&&("number"==typeof n.promptTokenCount&&(t.promptTokens=n.promptTokenCount),"number"==typeof n.candidatesTokenCount&&(t.completionTokens=n.candidatesTokenCount),"number"==typeof n.totalTokenCount&&(t.totalTokens=n.totalTokenCount)),Array.isArray(e.functionCalls)&&t.toolCalls.push(...e.functionCalls),e.candidates??[]))for(let e of(a?.finishReason&&!t.finishReasons.includes(a.finishReason)&&t.finishReasons.push(a.finishReason),a?.content?.parts??[]))r&&e.text&&t.responseTexts.push(e.text),e.functionCall&&t.toolCalls.push({type:"function",id:e.functionCall.id,name:e.functionCall.name,arguments:e.functionCall.args})}}(o,i,r,t),yield o}finally{let e={[o.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE]:!0};i.responseId&&(e[o.GEN_AI_RESPONSE_ID_ATTRIBUTE]=i.responseId),i.responseModel&&(e[o.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]=i.responseModel),void 0!==i.promptTokens&&(e[o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]=i.promptTokens),void 0!==i.completionTokens&&(e[o.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]=i.completionTokens),void 0!==i.totalTokens&&(e[o.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]=i.totalTokens),i.finishReasons.length&&(e[o.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]=JSON.stringify(i.finishReasons)),r&&i.responseTexts.length&&(e[o.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]=i.responseTexts.join("")),r&&i.toolCalls.length&&(e[o.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]=JSON.stringify(i.toolCalls)),t.setAttributes(e),t.end()}}},737631,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(117374);r.contentUnionToMessages=function e(t,r="user"){return"string"==typeof t?[{role:r,content:t}]:Array.isArray(t)?t.flatMap(t=>e(t,r)):"object"==typeof t&&t?"role"in t&&"string"==typeof t.role?[t]:"parts"in t?[{...t,role:r}]:[{role:r,content:t}]:[]},r.isStreamingMethod=function(e){return e.includes("Stream")},r.shouldInstrument=function(e){if(n.GOOGLE_GENAI_INSTRUMENTED_METHODS.includes(e))return!0;let t=e.split(".").pop();return n.GOOGLE_GENAI_INSTRUMENTED_METHODS.includes(t)}},677782,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(127716),o=e.r(326691),i=e.r(461957),s=e.r(87256),l=e.r(438818),u=e.r(369988),c=e.r(141226),d=e.r(689322),_=e.r(117374),p=e.r(945100),E=e.r(737631);function S(e,t){if("model"in e&&"string"==typeof e.model)return e.model;if(t&&"object"==typeof t){if("model"in t&&"string"==typeof t.model)return t.model;if("modelVersion"in t&&"string"==typeof t.modelVersion)return t.modelVersion}return"unknown"}function T(e,t){let r=[];if("config"in t&&t.config&&"object"==typeof t.config&&"systemInstruction"in t.config&&t.config.systemInstruction&&r.push(...E.contentUnionToMessages(t.config.systemInstruction,"system")),"history"in t&&r.push(...E.contentUnionToMessages(t.history,"user")),"contents"in t&&r.push(...E.contentUnionToMessages(t.contents,"user")),"message"in t&&r.push(...E.contentUnionToMessages(t.message,"user")),Array.isArray(r)&&r.length){let{systemInstructions:t,filteredMessages:n}=d.extractSystemInstructions(r);t&&e.setAttribute(u.GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE,t);let a=Array.isArray(n)?n.length:0;e.setAttributes({[u.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:a,[u.G
17EN_AI_INPUT_MESSAGES_ATTRIBUTE]:JSON.stringify(c.truncateGenAiMessages(n))})}}function g(e,t,r,n){let c=t===_.CHATS_CREATE_METHOD;return new Proxy(e,{apply(e,g,f){let m=f[0],h=function(e,t,r){let n={[u.GEN_AI_SYSTEM_ATTRIBUTE]:_.GOOGLE_GENAI_SYSTEM_NAME,[u.GEN_AI_OPERATION_NAME_ATTRIBUTE]:d.getFinalOperationName(e),[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.google_genai"};if(t){if(n[u.GEN_AI_REQUEST_MODEL_ATTRIBUTE]=S(t,r),"config"in t&&"object"==typeof t.config&&t.config){let e,r=t.config;if(Object.assign(n,(e={},"temperature"in r&&"number"==typeof r.temperature&&(e[u.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE]=r.temperature),"topP"in r&&"number"==typeof r.topP&&(e[u.GEN_AI_REQUEST_TOP_P_ATTRIBUTE]=r.topP),"topK"in r&&"number"==typeof r.topK&&(e[u.GEN_AI_REQUEST_TOP_K_ATTRIBUTE]=r.topK),"maxOutputTokens"in r&&"number"==typeof r.maxOutputTokens&&(e[u.GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE]=r.maxOutputTokens),"frequencyPenalty"in r&&"number"==typeof r.frequencyPenalty&&(e[u.GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE]=r.frequencyPenalty),"presencePenalty"in r&&"number"==typeof r.presencePenalty&&(e[u.GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE]=r.presencePenalty),e)),"tools"in r&&Array.isArray(r.tools)){let e=r.tools.flatMap(e=>e.functionDeclarations);n[u.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE]=JSON.stringify(e)}}}else n[u.GEN_AI_REQUEST_MODEL_ATTRIBUTE]=S({},r);return n}(t,m,r),A=h[u.GEN_AI_REQUEST_MODEL_ATTRIBUTE]??"unknown",R=d.getFinalOperationName(t);return E.isStreamingMethod(t)?s.startSpanManual({name:`${R} ${A} stream-response`,op:d.getSpanOperation(t),attributes:h},async o=>{try{n.recordInputs&&m&&T(o,m);let t=await e.apply(r,f);return p.instrumentStream(t,o,!!n.recordOutputs)}catch(e){throw o.setStatus({code:i.SPAN_STATUS_ERROR,message:"internal_error"}),a.captureException(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:t}}}),o.end(),e}}):s.startSpan({name:c?`${R} ${A} create`:`${R} ${A}`,op:d.getSpanOperation(t),attributes:h},o=>(n.recordInputs&&m&&T(o,m),l.handleCallbackErrors(()=>e.apply(r,f),e=>{a.captureException(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:t}}})},()=>{},e=>{c||function(e,t,r){if(t&&"object"==typeof t){if(t.modelVersion&&e.setAttribute(u.GEN_AI_RESPONSE_MODEL_ATTRIBUTE,t.modelVersion),t.usageMetadata&&"object"==typeof t.usageMetadata){let r=t.usageMetadata;"number"==typeof r.promptTokenCount&&e.setAttributes({[u.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]:r.promptTokenCount}),"number"==typeof r.candidatesTokenCount&&e.setAttributes({[u.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]:r.candidatesTokenCount}),"number"==typeof r.totalTokenCount&&e.setAttributes({[u.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]:r.totalTokenCount})}if(r&&Array.isArray(t.candidates)&&t.candidates.length>0){let r=t.candidates.map(e=>e.content?.parts&&Array.isArray(e.content.parts)?e.content.parts.map(e=>"string"==typeof e.text?e.text:"").filter(e=>e.length>0).join(""):"").filter(e=>e.length>0);r.length>0&&e.setAttributes({[u.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:r.join("")})}if(r&&t.functionCalls){let r=t.functionCalls;Array.isArray(r)&&r.length>0&&e.setAttributes({[u.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(r)})}}}(o,e,n.recordOutputs)})))}})}r.extractModel=S,r.instrumentGoogleGenAIClient=function(e,t){let r=!!n.getClient()?.getOptions().sendDefaultPii;return function e(t,r="",n){return new Proxy(t,{get:(t,a,o)=>{let i=Reflect.get(t,a,o),s=d.buildMethodPath(r,String(a));if("function"==typeof i&&E.shouldInstrument(s)){if(s===_.CHATS_CREATE_METHOD){let r=g(i,s,t,n);return function(...t){let a=r(...t);return a&&"object"==typeof a?e(a,_.CHAT_PATH,n):a}}return g(i,s,t,n)}return"function"==typeof i?i.bind(t):i&&"object"==typeof i?e(i,s,n):i}})}(e,"",{recordInputs:r,recordOutputs:r,...t})}},675212,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.LANGCHAIN_INTEGRATION_NAME="LangChain",r.LANGCHAIN_ORIGIN="auto.ai.langchain",r.ROLE_MAP={human:"user",ai:"assistant",assistant:"assistant",system:"system",function:"function",tool:"tool"}},371643,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(326691),a=e.r(369988),o=e.r(141226),i=e.r(689322),s=e.r(675212),l=(e,t,r)=>{null!=r&&(e[t]=r)},u=(e,t,r)=>{let n=Number(r);Number.isNaN(n)||(e[t]=n)};function c(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function d(e){let t=e.toLowerCase();return s.ROLE_MAP[t]??t}function _(e){return e.includes("System")?"system":e.includes("Human")?"user":e.includes("AI")||e.includes("Assistant")?"assistant":e.includes("Function")?"function":e.includes("Tool")?"tool":"user"}function p(e){return e.map(e=>{let t=e._getType;if("function"==typeof t)return{role:d(t.call(e)),content:c(e.content)};if(1===e.lc&&e.kwargs){let t=e.id,r=Array.isArray(t)&&t.length>0?t[t.length-1]:"";
17return{role:d("string"==typeof r?_(r):"user"),content:c(e.kwargs?.content)}}if(e.type)return{role:d(String(e.type).toLowerCase()),content:c(e.content)};if(e.role)return{role:d(String(e.role)),content:c(e.content)};let r=e.constructor?.name;return r&&"Object"!==r?{role:d(_(r)),content:c(e.content)}:{role:"user",content:c(e.content)}})}function E(e,t,r,o,i){let d,_,p,E,S,T,g;return{[a.GEN_AI_SYSTEM_ATTRIBUTE]:c(e??"langchain"),[a.GEN_AI_OPERATION_NAME_ATTRIBUTE]:"chat",[a.GEN_AI_REQUEST_MODEL_ATTRIBUTE]:c(t),[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:s.LANGCHAIN_ORIGIN,...(d={},_="kwargs"in r?r.kwargs:void 0,p=o?.temperature??i?.ls_temperature??_?.temperature,u(d,a.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE,p),E=o?.max_tokens??i?.ls_max_tokens??_?.max_tokens,u(d,a.GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE,E),S=o?.top_p??_?.top_p,u(d,a.GEN_AI_REQUEST_TOP_P_ATTRIBUTE,S),T=o?.frequency_penalty,u(d,a.GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE,T),g=o?.presence_penalty,u(d,a.GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE,g),o&&"stream"in o&&l(d,a.GEN_AI_REQUEST_STREAM_ATTRIBUTE,!!o.stream),d)}}r.extractChatModelRequestAttributes=function(e,t,r,n,s){let u=E(s?.ls_provider??e.id?.[2],n?.model??s?.ls_model_name??"unknown",e,n,s);if(r&&Array.isArray(t)&&t.length>0){let e=p(t.flat()),{systemInstructions:r,filteredMessages:n}=i.extractSystemInstructions(e);r&&l(u,a.GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE,r);let s=Array.isArray(n)?n.length:0;l(u,a.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE,s);let d=o.truncateGenAiMessages(n);l(u,a.GEN_AI_INPUT_MESSAGES_ATTRIBUTE,c(d))}return u},r.extractLLMRequestAttributes=function(e,t,r,n,o){let i=E(o?.ls_provider,n?.model??o?.ls_model_name??"unknown",e,n,o);if(r&&Array.isArray(t)&&t.length>0){l(i,a.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE,t.length);let e=t.map(e=>({role:"user",content:e}));l(i,a.GEN_AI_INPUT_MESSAGES_ATTRIBUTE,c(e))}return i},r.extractLlmResponseAttributes=function(e,t){if(!e)return;let r={};if(Array.isArray(e.generations)){let o=e.generations.flat().map(e=>e.generationInfo?.finish_reason?e.generationInfo.finish_reason:e.generation_info?.finish_reason?e.generation_info.finish_reason:null).filter(e=>"string"==typeof e);o.length>0&&l(r,a.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE,c(o));var n=e.generations;let i=[];for(let e of n.flat()){let t=e.message?.content;if(Array.isArray(t))for(let e of t)"tool_use"===e.type&&i.push(e)}if(i.length>0&&l(r,a.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE,c(i)),t){let t=e.generations.flat().map(e=>e.text??e.message?.content).filter(e=>"string"==typeof e);t.length>0&&l(r,a.GEN_AI_RESPONSE_TEXT_ATTRIBUTE,c(t))}}!function(e,t){if(!e)return;let r=e.tokenUsage,n=e.usage;if(r)u(t,a.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE,r.promptTokens),u(t,a.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE,r.completionTokens),u(t,a.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE,r.totalTokens);else if(n){u(t,a.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE,n.input_tokens),u(t,a.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE,n.output_tokens);let e=Number(n.input_tokens),r=Number(n.output_tokens),o=(Number.isNaN(e)?0:e)+(Number.isNaN(r)?0:r);o>0&&u(t,a.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE,o),void 0!==n.cache_creation_input_tokens&&u(t,a.GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS_ATTRIBUTE,n.cache_creation_input_tokens),void 0!==n.cache_read_input_tokens&&u(t,a.GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS_ATTRIBUTE,n.cache_read_input_tokens)}}(e.llmOutput,r);let o=e.llmOutput,i=e.generations?.[0]?.[0],s=i?.message,d=o?.model_name??o?.model??s?.response_metadata?.model_name;d&&l(r,a.GEN_AI_RESPONSE_MODEL_ATTRIBUTE,d);let _=o?.id??s?.id;_&&l(r,a.GEN_AI_RESPONSE_ID_ATTRIBUTE,_);let p=o?.stop_reason??s?.response_metadata?.finish_reason;return p&&l(r,a.GEN_AI_RESPONSE_STOP_REASON_ATTRIBUTE,c(p)),r},r.getInvocationParams=function(e){if(!(!e||Array.isArray(e)))return e.invocation_params},r.normalizeLangChainMessages=p},280093,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(127716),a=e.r(326691),o=e.r(461957),i=e.r(87256),s=e.r(369988),l=e.r(675212),u=e.r(371643);r.createLangChainCallbackHandler=function(e={}){let t=e.recordInputs??!1,r=e.recordOutputs??!1,c=new Map,d=e=>{let t=c.get(e);t?.isRecording()&&(t.end(),c.delete(e))}
17,_={lc_serializable:!1,lc_namespace:["langchain_core","callbacks","sentry"],lc_secrets:void 0,lc_attributes:void 0,lc_aliases:void 0,lc_serializable_keys:void 0,lc_id:["langchain_core","callbacks","sentry"],lc_kwargs:{},name:"SentryCallbackHandler",ignoreLLM:!1,ignoreChain:!1,ignoreAgent:!1,ignoreRetriever:!1,ignoreCustomEvent:!1,raiseError:!1,awaitHandlers:!0,handleLLMStart(e,r,n,o,l,d,_,p){let E=u.getInvocationParams(d),S=u.extractLLMRequestAttributes(e,r,t,E,_),T=S[s.GEN_AI_REQUEST_MODEL_ATTRIBUTE],g=S[s.GEN_AI_OPERATION_NAME_ATTRIBUTE];i.startSpanManual({name:`${g} ${T}`,op:"gen_ai.chat",attributes:{...S,[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.chat"}},e=>(c.set(n,e),e))},handleChatModelStart(e,r,n,o,l,d,_,p){let E=u.getInvocationParams(d),S=u.extractChatModelRequestAttributes(e,r,t,E,_),T=S[s.GEN_AI_REQUEST_MODEL_ATTRIBUTE],g=S[s.GEN_AI_OPERATION_NAME_ATTRIBUTE];i.startSpanManual({name:`${g} ${T}`,op:"gen_ai.chat",attributes:{...S,[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.chat"}},e=>(c.set(n,e),e))},handleLLMEnd(e,t,n,a,o){let i=c.get(t);if(i?.isRecording()){let n=u.extractLlmResponseAttributes(e,r);n&&i.setAttributes(n),d(t)}},handleLLMError(e,t){let r=c.get(t);r?.isRecording()&&(r.setStatus({code:o.SPAN_STATUS_ERROR,message:"llm_error"}),d(t)),n.captureException(e,{mechanism:{handled:!1,type:`${l.LANGCHAIN_ORIGIN}.llm_error_handler`}})},handleChainStart(e,r,n,o){let s=e.name||"unknown_chain",l={[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.langchain","langchain.chain.name":s};t&&(l["langchain.chain.inputs"]=JSON.stringify(r)),i.startSpanManual({name:`chain ${s}`,op:"gen_ai.invoke_agent",attributes:{...l,[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.invoke_agent"}},e=>(c.set(n,e),e))},handleChainEnd(e,t){let n=c.get(t);n?.isRecording()&&(r&&n.setAttributes({"langchain.chain.outputs":JSON.stringify(e)}),d(t))},handleChainError(e,t){let r=c.get(t);r?.isRecording()&&(r.setStatus({code:o.SPAN_STATUS_ERROR,message:"chain_error"}),d(t)),n.captureException(e,{mechanism:{handled:!1,type:`${l.LANGCHAIN_ORIGIN}.chain_error_handler`}})},handleToolStart(e,r,n,o){let u=e.name||"unknown_tool",d={[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:l.LANGCHAIN_ORIGIN,[s.GEN_AI_TOOL_NAME_ATTRIBUTE]:u};t&&(d[s.GEN_AI_TOOL_INPUT_ATTRIBUTE]=r),i.startSpanManual({name:`execute_tool ${u}`,op:"gen_ai.execute_tool",attributes:{...d,[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.execute_tool"}},e=>(c.set(n,e),e))},handleToolEnd(e,t){let n=c.get(t);n?.isRecording()&&(r&&n.setAttributes({[s.GEN_AI_TOOL_OUTPUT_ATTRIBUTE]:JSON.stringify(e)}),d(t))},handleToolError(e,t){let r=c.get(t);r?.isRecording()&&(r.setStatus({code:o.SPAN_STATUS_ERROR,message:"tool_error"}),d(t)),n.captureException(e,{mechanism:{handled:!1,type:`${l.LANGCHAIN_ORIGIN}.tool_error_handler`}})},copy:()=>_,toJSON:()=>({lc:1,type:"not_implemented",id:_.lc_id}),toJSONNotImplemented:()=>({lc:1,type:"not_implemented",id:_.lc_id})};return _}},155779,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.LANGGRAPH_INTEGRATION_NAME="LangGraph",r.LANGGRAPH_ORIGIN="auto.ai.langgraph"},908046,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(369988),a=e.r(371643);function o(e){if(!e||0===e.length)return null;let t=[];for(let r of e)if(r&&"object"==typeof r){let e=r.tool_calls;e&&Array.isArray(e)&&t.push(...e)}return t.length>0?t:null}function i(e){let t=0,r=0,n=0;if(e.usage_metadata&&"object"==typeof e.usage_metadata){let a=e.usage_metadata;return"number"==typeof a.input_tokens&&(t=a.input_tokens),"number"==typeof a.output_tokens&&(r=a.output_tokens),"number"==typeof a.total_tokens&&(n=a.total_tokens),{inputTokens:t,outputTokens:r,totalTokens:n}}if(e.response_metadata&&"object"==typeof e.response_metadata){let a=e.response_metadata;if(a.tokenUsage&&"object"==typeof a.tokenUsage){let e=a.tokenUsage;"number"==typeof e.promptTokens&&(t=e.promptTokens),"number"==typeof e.completionTokens&&(r=e.completionTokens),"number"==typeof e.totalTokens&&(n=e.totalTokens)}}return{inputTokens:t,outputTokens:r,totalTokens:n}}function s(e,t){if(t.response_metadata&&"object"==typeof t.response_metadata){let r=t.response_metadata;r.model_name&&"string"==typeof r.model_name&&e.setAttribute(n.GEN_AI_RESPONSE_MODEL_ATTRIBUTE,r.model_name),r.f
17inish_reason&&"string"==typeof r.finish_reason&&e.setAttribute(n.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE,[r.finish_reason])}}r.extractModelMetadata=s,r.extractTokenUsageFromMessage=i,r.extractToolCalls=o,r.extractToolsFromCompiledGraph=function(e){if(!e.builder?.nodes?.tools?.runnable?.tools)return null;let t=e.builder?.nodes?.tools?.runnable?.tools;return t&&Array.isArray(t)&&0!==t.length?t.map(e=>({name:e.lc_kwargs?.name,description:e.lc_kwargs?.description,schema:e.lc_kwargs?.schema})):null},r.setResponseAttributes=function(e,t,r){let l=r?.messages;if(!l||!Array.isArray(l))return;let u=t?.length??0,c=l.length>u?l.slice(u):[];if(0===c.length)return;let d=o(c);d&&e.setAttribute(n.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE,JSON.stringify(d));let _=a.normalizeLangChainMessages(c);e.setAttribute(n.GEN_AI_RESPONSE_TEXT_ATTRIBUTE,JSON.stringify(_));let p=0,E=0,S=0;for(let t of c){let r=i(t);p+=r.inputTokens,E+=r.outputTokens,S+=r.totalTokens,s(e,t)}p>0&&e.setAttribute(n.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE,p),E>0&&e.setAttribute(n.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE,E),S>0&&e.setAttribute(n.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE,S)}},455117,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(127716),a=e.r(326691),o=e.r(461957),i=e.r(87256),s=e.r(369988),l=e.r(141226),u=e.r(689322),c=e.r(371643),d=e.r(155779),_=e.r(908046);function p(e,t){return new Proxy(e,{apply:(e,r,p)=>i.startSpan({op:"gen_ai.create_agent",name:"create_agent",attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:d.LANGGRAPH_ORIGIN,[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.create_agent",[s.GEN_AI_OPERATION_NAME_ATTRIBUTE]:"create_agent"}},E=>{try{var S,T,g,f;let m=Reflect.apply(e,r,p),h=p.length>0?p[0]:{};h?.name&&"string"==typeof h.name&&(E.setAttribute(s.GEN_AI_AGENT_NAME_ATTRIBUTE,h.name),E.updateName(`create_agent ${h.name}`));let A=m.invoke;return A&&"function"==typeof A&&(S=A.bind(m),T=m,g=h,f=t,m.invoke=new Proxy(S,{apply:(e,t,r)=>i.startSpan({op:"gen_ai.invoke_agent",name:"invoke_agent",attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:d.LANGGRAPH_ORIGIN,[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:s.GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE,[s.GEN_AI_OPERATION_NAME_ATTRIBUTE]:"invoke_agent"}},async a=>{try{let n=g?.name;n&&"string"==typeof n&&(a.setAttribute(s.GEN_AI_PIPELINE_NAME_ATTRIBUTE,n),a.setAttribute(s.GEN_AI_AGENT_NAME_ATTRIBUTE,n),a.updateName(`invoke_agent ${n}`));let o=r.length>1?r[1]:void 0,i=o?.configurable,d=i?.thread_id;d&&"string"==typeof d&&a.setAttribute(s.GEN_AI_CONVERSATION_ID_ATTRIBUTE,d);let p=_.extractToolsFromCompiledGraph(T);p&&a.setAttribute(s.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE,JSON.stringify(p));let E=f.recordInputs,S=f.recordOutputs,m=r.length>0?r[0].messages??[]:[];if(m&&E){let e=c.normalizeLangChainMessages(m),{systemInstructions:t,filteredMessages:r}=u.extractSystemInstructions(e);t&&a.setAttribute(s.GEN_AI_SYSTEM_INSTRUCTIONS_ATTRIBUTE,t);let n=l.truncateGenAiMessages(r),o=Array.isArray(r)?r.length:0;a.setAttributes({[s.GEN_AI_INPUT_MESSAGES_ATTRIBUTE]:JSON.stringify(n),[s.GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:o})}let h=await Reflect.apply(e,t,r);return S&&_.setResponseAttributes(a,m??null,h),h}catch(e){throw a.setStatus({code:o.SPAN_STATUS_ERROR,message:"internal_error"}),n.captureException(e,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),e}})})),m}catch(e){throw E.setStatus({code:o.SPAN_STATUS_ERROR,message:"internal_error"}),n.captureException(e,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),e}})})}r.instrumentLangGraph=function(e,t){return e.compile=p(e.compile.bind(e),t||{}),e},r.instrumentStateGraphCompile=p},731271,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.getBreadcrumbLogLevelFromHttpStatusCode=function(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}},976712,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.SentryError=class extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}}},104757,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(307697),a=e.r(904067),o=e.r(240256).GLOBAL_OBJ;function i(){if(!("fetch"in o))return!1;
17try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}r.isNativeFunction=s,r.supportsDOMError=function(){try{return new DOMError(""),!0}catch{return!1}},r.supportsDOMException=function(){try{return new DOMException(""),!0}catch{return!1}},r.supportsErrorEvent=function(){try{return new ErrorEvent(""),!0}catch{return!1}},r.supportsFetch=i,r.supportsHistory=function(){return"history"in o&&!!o.history},r.supportsNativeFetch=function(){if("string"==typeof EdgeRuntime)return!0;if(!i())return!1;if(s(o.fetch))return!0;let e=!1,t=o.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=s(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){n.DEBUG_BUILD&&a.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e},r.supportsReferrerPolicy=function(){if(!i())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch{return!1}},r.supportsReportingObserver=function(){return"ReportingObserver"in o}},515788,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(733438),a=e.r(220824),o=e.r(885139),i=e.r(104757),s=e.r(141534),l=e.r(240256),u=e.r(632933);function c(e,t=!1){(!t||i.supportsNativeFetch())&&o.fill(l.GLOBAL_OBJ,"fetch",function(t){return function(...r){let i=Error(),{method:c,url:d}=S(r),_={args:r,fetchData:{method:c,url:d},startTimestamp:1e3*s.timestampInSeconds(),virtualError:i,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(a.isRequest(t))return new Headers(t.headers)}catch{}}(r)};return e||u.triggerHandlers("fetch",{..._}),t.apply(l.GLOBAL_OBJ,r).then(async t=>(e?e(t):u.triggerHandlers("fetch",{..._,endTimestamp:1e3*s.timestampInSeconds(),response:t}),t),e=>{u.triggerHandlers("fetch",{..._,endTimestamp:1e3*s.timestampInSeconds(),error:e}),a.isError(e)&&void 0===e.stack&&(e.stack=i.stack,o.addNonEnumerableProperty(e,"framesToPop",1));let t=n.getClient(),r=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==r&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(_.fetchData.url).host;"always"===r?e.message=`${e.message} (${t})`:o.addNonEnumerableProperty(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function d(e,t){if(e?.body){let r=e.body,n=r.getReader(),a=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),o=!0;for(;o;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:a}=await n.read();clearTimeout(e),a&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(e)}}clearTimeout(a),n.releaseLock(),r.cancel().then(null,()=>{})}}function _(e){let t;try{t=e.clone()}catch{return}d(t,()=>{u.triggerHandlers("fetch-body-resolved",{endTimestamp:1e3*s.timestampInSeconds(),response:e})})}function p(e,t){return!!e&&"object"==typeof e&&!!e[t]}function E(e){return"string"==typeof e?e:e?p(e,"url")?e.url:e.toString?e.toString():"":""}function S(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:E(t),method:p(r,"method")?String(r.method).toUpperCase():a.isRequest(t)&&p(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:E(t),method:p(t,"method")?String(t.method).toUpperCase():"GET"}}r.addFetchEndInstrumentationHandler=function(e){let t="fetch-body-resolved";u.addHandler(t,e),u.maybeInstrument(t,()=>c(_))},r.addFetchInstrumentationHandler=function(e,t){let r="fetch";u.addHandler(r,e),u.maybeInstrument(r,()=>c(void 0,t))},r.parseFetchArgs=S},130734,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.getSDKSource=function(){return"npm"},r.isBrowserBundle=function(){return"u">typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}},654375,(e,t,r)=>{var n=e.i(7021);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(130734);function o(e,t){return e.require(t)}
17r.isNodeEnv=function(){return!a.isBrowserBundle()&&"[object process]"===Object.prototype.toString.call(void 0!==n.default?n.default:0)},r.loadModule=function(e,r=t){let n;try{n=o(r,e)}catch{}if(!n)try{let{cwd:t}=o(r,"process");n=o(r,`${t()}/node_modules/${e}`)}catch{}return n}},326374,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(654375),a=e.r(240256);r.isBrowser=function(){let e;return"u">typeof window&&(!n.isNodeEnv()||(e=a.GLOBAL_OBJ.process,e?.type==="renderer"))}},467432,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.replaceExports=function(e,t,r){let n=e[t];if("function"==typeof n){try{e[t]=r}catch(n){Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0,enumerable:!0})}if(e.default===n)try{e.default=r}catch(t){Object.defineProperty(e,"default",{value:r,writable:!0,configurable:!0,enumerable:!0})}}}},86627,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(471913);function a(e,t=!1){return!(t||e&&!e.startsWith("/")&&!e.match(/^[A-Z]:/)&&!e.startsWith(".")&&!e.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&void 0!==e&&!e.includes("node_modules/")}function o(e){let t=/^\s*[-]{4,}$/,r=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/,o=/at (?:async )?(.+?) \(data:(.*?),/;return s=>{let l=s.match(o);if(l)return{filename:`<data:${l[2]}>`,function:l[1]};let u=s.match(r);if(u){let t,r,o,s,l;if(u[1]){let e=(o=u[1]).lastIndexOf(".");if("."===o[e-1]&&e--,e>0){t=o.slice(0,e),r=o.slice(e+1);let n=t.indexOf(".Module");n>0&&(o=o.slice(n+1),t=t.slice(0,n))}s=void 0}r&&(s=t,l=r),"<anonymous>"===r&&(l=void 0,o=void 0),void 0===o&&(l=l||n.UNKNOWN_FUNCTION,o=s?`${s}.${l}`:l);let c=n.normalizeStackTracePath(u[2]),d="native"===u[5];return c||!u[5]||d||(c=u[5]),{filename:c?decodeURI(c):void 0,module:e?e(c):void 0,function:o,lineno:i(u[3]),colno:i(u[4]),in_app:a(c||"",d)}}if(s.match(t))return{filename:s}}}function i(e){return parseInt(e||"",10)||void 0}r.filenameIsInApp=a,r.node=o,r.nodeStackLineParser=function(e){return[90,o(e)]}},682883,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(86627),a=e.r(471913);r.callFrameToStackFrame=function(e,t,r){let o=t?t.replace(/^file:\/\//,""):void 0,i=e.location.columnNumber?e.location.columnNumber+1:void 0,s=e.location.lineNumber?e.location.lineNumber+1:void 0;return{filename:o,module:r(o),function:e.functionName||a.UNKNOWN_FUNCTION,colno:i,lineno:s,in_app:o?n.filenameIsInApp(o):void 0}},r.watchdogTimer=function(e,t,r,n){let a=e(),o=!1,i=!0;return setInterval(()=>{let e=a.getTimeMs();!1===o&&e>t+r&&(o=!0,i&&n()),e<t+r&&(o=!1)},20),{poll:()=>{a.reset()},enabled:e=>{i=e}}}},276215,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.LRUMap=class{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}},63231,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(240256);r.vercelWaitUntil=function(e){if("string"!=typeof EdgeRuntime)return;let t=n.GLOBAL_OBJ[Symbol.for("@vercel/request-context")],r=t?.get?.();r?.waitUntil&&r.waitUntil(e)}},377233,(e,t,r)=>{var n=e.i(7021);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(127716),o=e.r(904067),i=e.r(63231),s=e.r(240256);async function l(e){try{o.debug.log("Flushing events..."),await a.flush(e),o.debug.log("Done flushing events")}catch(e){o.debug.log("Error while flushing events:\n",e)}}r.flushIfServerless=async function(e={}){let{timeout:t=2e3}=e;"cloudflareWaitUntil"in e&&"function"==typeof e?.cloudflareWaitUntil?e.cloudflareWaitUntil(l(t)):"cloudflareCtx"in e&&"function"==typeof e.cloudflareCtx?.waitUntil?e.cloudflareCtx.waitUntil(l(t)):s.GLOBAL_OBJ[Symbol.for("@vercel/request-context")]?i.vercelWaitUntil(l(t)):void 0===n.default||(n.default.env.FUNCTIONS_WORKER_RUNTIME||n.default.env.LAMBDA_TASK_ROOT||n.default.env.K_SERVICE||n.default.env.CF_PAGES||n.default.env.VERCEL||n.default.env.NETLIFY)&&await l(t)}},813265,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.escapeStringForRegex=function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},814923,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(826164),a=e.r(193189),o=e.r(58693),i=e.r(161722),s=e.r(838159),l=e.r(461957),u=e.r(87256),c=e.r(413450),d=e.r(25699),_=e.r(557912),p=e.r(174743),E=e.r(326691),S=e.r(904663),T=e.r(127716),g=e.r(733438),f=e.r(422441),m=e.r(538207),h=e.r(411775),A=e.r(846155),R=e.r(921433),I=e.r(284931),y=e.r(217829),N=e.r(644671),O=e.r(114546),v=e.r(719103),b=e.r(896987),C=e.r(587775),M=e.r(289556),U=e.r(435549),P=e.r(740161),D=e.r(239021),L=e.r(55763),w=e.r(199862),B=e.r(286931),k=e.r(690223),x=e.r(438818),G=e.r(962046),F=e.r(621909),V=e.r(415081),H=e.r(490790),j=e.r(208050),Y=e.r(154203),W=e.r(520483),$=e.r(537519),K=e.r(359208),q=e.r(533348),z=e.r(178233),J=e.r(697945),X=e.r(73744),Q=e.r(1688),Z=e.r(964781),ee=e.r(90999),et=e.r(605069),er=e.r(128809),en=e.r(847944),ea=e.r(581177),eo=e.r(518982),ei=e.r(289609),es=e.r(35679),el=e.r(832789),eu=e.r(442253),ec=e.r(978949),ed=e.r(389402),e_=e.r(437220),ep=e.r(905530),eE=e.r(204703),eS=e.r(958018),eT=e.r(540982),eg=e.r(542353),ef=e.r(993017),em=e.r(913315),eh=e.r(908030),eA=e.r(77144),eR=e.r(530954),eI=e.r(237012),ey=e.r(906317),eN=e.r(199892),eO=e.r(702625),ev=e.r(146454),eb=e.r(698951),eC=e.r(982076),eM=e.r(677782),eU=e.r(117374),eP=e.r(280093),eD=e.r(675212),eL=e.r(455117),ew=e.r(155779),eB=e.r(30964),ek=e.r(852711),ex=e.r(731271),eG=e.r(792031),eF=e.r(677708),eV=e.r(976712),eH=e.r(240256),ej=e.r(43323),eY=e.r(515788),eW=e.r(736685),e$=e.r(495075),eK=e.r(632933),eq=e.r(220824),ez=e.r(326374),eJ=e.r(904067),eX=e.r(950314),eQ=e.r(654375),eZ=e.r(308447),e0=e.r(885139),e1=e.r(213781),e2=e.r(292211),e3=e.r(596472),e4=e.r(467432),e5=e.r(471913),e6=e.r(86627),e9=e.r(190727),e8=e.r(104757),e7=e.r(115471),te=e.r(141534),tt=e.r(473994),tr=e.r(130734),tn=e.r(686465),ta=e.r(40712),to=e.r(811975),ti=e.r(252798),ts=e.r(276007),tl=e.r(158734),tu=e.r(682883),tc=e.r(276215),td=e.r(426427),t_=e.r(63231),tp=e.r(377233),tE=e.r(840741),tS=e.r(614686),tT=e.r(147115),tg=e.r(813265),tf=e.r(106076);r.registerSpanErrorInstrumentation=n.registerSpanErrorInstrumentation,r.getCapturedScopesOnSpan=a.getCapturedScopesOnSpan,r.setCapturedScopesOnSpan=a.setCapturedScopesOnSpan,r.TRACING_DEFAULTS=o.TRACING_DEFAULTS,r.startIdleSpan=o.startIdleSpan,r.SentrySpan=i.SentrySpan,r.SentryNonRecordingSpan=s.SentryNonRecordingSpan,r.SPAN_STATUS_ERROR=l.SPAN_STATUS_ERROR,r.SPAN_STATUS_OK=l.SPAN_STATUS_OK,r.SPAN_STATUS_UNSET=l.SPAN_STATUS_UNSET,r.getSpanStatusFromHttpCode=l.getSpanStatusFromHttpCode,r.setHttpStatus=l.setHttpStatus,r.continueTrace=u.continueTrace,r.startInactiveSpan=u.startInactiveSpan,r.startNewTrace=u.startNewTrace,r.startSpan=u.startSpan,r.startSpanManual=u.startSpanManual,r.suppressTracing=u.suppressTracing,r.withActiveSpan=u.withActiveSpan,r.getDynamicSamplingContextFromClient=c.getDynamicSamplingContextFromClient,r.getDynamicSamplingContextFromScope=c.getDynamicSamplingContextFromScope,r.getDynamicSamplingContextFromSpan=c.getDynamicSamplingContextFromSpan,r.spanToBaggageHeader=c.spanToBaggageHeader,r.setMeasurement=d.setMeasurement,r.timedEventsToMeasurements=d.timedEventsToMeasurements,r.sampleSpan=_.sampleSpan,r.logSpanEnd=p.logSpanEnd,r.logSpanStart=p.logSpanStart,r.GEN_AI_CONVERSATION_ID_ATTRIBUTE=E.GEN_AI_CONVERSATION_ID_ATTRIBUTE,r.SEMANTIC_ATTRIBUTE_CACHE_HIT=E.SEMANTIC_ATTRIBUTE_CACHE_HIT,r.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE=E.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE,r.SEMANTIC_ATTRIBUTE_CACHE_KEY=E.SEMANTIC_ATTRIBUTE_CACHE_KEY,r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME=E.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME,r.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD=E.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD,r.SEMANTIC_ATTRIBUTE_PROFILE_ID=E.SEMANTIC_ATTRIBUTE_PROFILE_ID,r.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME=E.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME,r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON=E.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT=E.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT,r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE=E.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE,r.SEMANTIC_ATTRIBUTE_SENTRY_OP=E.SEMANTIC_ATTRIBUTE_SENTRY_OP,r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=E.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,r.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE=E.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE,r.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=E.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=E.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,r.SEMANTIC_ATTRIBUTE_URL_FULL=E.SEMANTIC_ATTRIBUTE_URL_FULL,r.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE=E.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE,r.createEventEnvelope=S.createEventEnvelope,r.createSessionEnvelope=S.createSessionEnvelope,r.createSpanEnvelope=S.createSpanEnvelope,r.addEventProcessor=T.addEventProcessor,r.captureCheckIn=T.captureCheckIn,r.captureEvent=T.captureEvent,r.captureException=T.captureException,r.captureMessage=T.captureMessage,r.captureSession=T.captureSession,r.close=T.close,r.endSession=T.endSession,r.flush=T.flush,r.isEnabled=T.isEnabled,r.isInitialized=T.isInitialized,r.lastEventId=T.lastEventId,r.setContext=T.setContext,r.setConversationId=T.setConversationId,r.setExtra=T.setExtra,r.setExtras=T.setExtras,r.setTag=T.setTag,r.setTags=T.setTags,r.setUser=T.setUser,r.startSession=T.startSession,r.withMonitor=T.withMonitor,r.getClient=g.getClient,r.getCurrentScope=g.getCurrentScope,r.getGlobalScope=g.getGlobalScope,r.getIsolationScope=g.getIsolationScope,r.getTraceContextFromScope=g.getTraceContextFromScope,r.withIsolationScope=g.withIsolationScope,r.withScope=g.withScope,r.getDefaultCurrentScope=f.getDefaultCurrentScope,r.getDefaultIsolationScope=f.getDefaultIsolationScope,r.setAsyncContextStrategy=m.setAsyncContextStrategy,r.getGlobalSingleton=h.getGlobalSingleton,r.getMainCarrier=h.getMainCarrier,r.closeSession=A.closeSession,r.makeSession=A.makeSession,r.updateSession=A.updateSession,r.Scope=R.Scope,r.notifyEventProcessors=I.notifyEventProcessors,r.getEnvelopeEndpointWithUrlEncodedAuth=y.getEnvelopeEndpointWithUrlEncodedAuth,r.getReportDialogEndpoint=y.getReportDialogEndpoint,r.Client=N.Client,r.ServerRuntimeClient=O.ServerRuntimeClient,r.initAndBind=v.initAndBind,r.setCurrentClient=v.setCurrentClient,r.createTransport=b.createTransport,r.makeOfflineTransport=C.makeOfflineTransport,r.MULTIPLEXED_TRANSPORT_EXTRA_KEY=M.MULTIPLEXED_TRANSPORT_EXTRA_KEY,r.makeMultiplexedTransport=M.makeMultiplexedTransport,r.addIntegration=U.addIntegration,r.defineIntegration=U.defineIntegration,r.getIntegrationsToSetup=U.getIntegrationsToSetup,r.installedIntegrations=U.installedIntegrations,r._INTERNAL_clearAiProvi
17derSkips=P._INTERNAL_clearAiProviderSkips,r._INTERNAL_shouldSkipAiProviderWrapping=P._INTERNAL_shouldSkipAiProviderWrapping,r._INTERNAL_skipAiProviderWrapping=P._INTERNAL_skipAiProviderWrapping,r.applyScopeDataToEvent=D.applyScopeDataToEvent,r.getCombinedScopeData=D.getCombinedScopeData,r.mergeScopeData=D.mergeScopeData,r.prepareEvent=L.prepareEvent,r.createCheckInEnvelope=w.createCheckInEnvelope,r.hasSpansEnabled=B.hasSpansEnabled,r.isSentryRequestUrl=k.isSentryRequestUrl,r.handleCallbackErrors=x.handleCallbackErrors,r.fmt=G.fmt,r.parameterize=G.parameterize,r.addAutoIpAddressToSession=F.addAutoIpAddressToSession,r.addAutoIpAddressToUser=F.addAutoIpAddressToUser,r.addChildSpanToSpan=V.addChildSpanToSpan,r.convertSpanLinksForEnvelope=V.convertSpanLinksForEnvelope,r.getActiveSpan=V.getActiveSpan,r.getRootSpan=V.getRootSpan,r.getSpanDescendants=V.getSpanDescendants,r.getStatusMessage=V.getStatusMessage,r.spanIsSampled=V.spanIsSampled,r.spanTimeInputToSeconds=V.spanTimeInputToSeconds,r.spanToJSON=V.spanToJSON,r.spanToTraceContext=V.spanToTraceContext,r.spanToTraceHeader=V.spanToTraceHeader,r.updateSpanName=V.updateSpanName,r._INTERNAL_setSpanForScope=H._setSpanForScope,r.parseSampleRate=j.parseSampleRate,r.applySdkMetadata=Y.applySdkMetadata,r.getTraceData=W.getTraceData,r.getTraceMetaTags=$.getTraceMetaTags,r.debounce=K.debounce,r.extractQueryParamsFromUrl=q.extractQueryParamsFromUrl,r.headersToDict=q.headersToDict,r.httpHeadersToSpanAttributes=q.httpHeadersToSpanAttributes,r.httpRequestToRequestData=q.httpRequestToRequestData,r.winterCGHeadersToDict=q.winterCGHeadersToDict,r.winterCGRequestToRequestData=q.winterCGRequestToRequestData,r.DEFAULT_ENVIRONMENT=z.DEFAULT_ENVIRONMENT,r.DEV_ENVIRONMENT=z.DEV_ENVIRONMENT,r.addBreadcrumb=J.addBreadcrumb,r.functionToStringIntegration=X.functionToStringIntegration,r.eventFiltersIntegration=Q.eventFiltersIntegration,r.inboundFiltersIntegration=Q.inboundFiltersIntegration,r.linkedErrorsIntegration=Z.linkedErrorsIntegration,r.moduleMetadataIntegration=ee.moduleMetadataIntegration,r.requestDataIntegration=et.requestDataIntegration,r.captureConsoleIntegration=er.captureConsoleIntegration,r.dedupeIntegration=en.dedupeIntegration,r.extraErrorDataIntegration=ea.extraErrorDataIntegration,r.rewriteFramesIntegration=eo.rewriteFramesIntegration,r.instrumentSupabaseClient=ei.instrumentSupabaseClient,r.supabaseIntegration=ei.supabaseIntegration,r.zodErrorsIntegration=es.zodErrorsIntegration,r.thirdPartyErrorFilterIntegration=el.thirdPartyErrorFilterIntegration,r.consoleIntegration=eu.consoleIntegration,r.featureFlagsIntegration=ec.featureFlagsIntegration,r.growthbookIntegration=ed.growthbookIntegration,r.conversationIdIntegration=e_.conversationIdIntegration,r.profiler=ep.profiler,r.instrumentFetchRequest=eE.instrumentFetchRequest,r.trpcMiddleware=eS.trpcMiddleware,r.wrapMcpServerWithSentry=eT.wrapMcpServerWithSentry,r.captureFeedback=eg.captureFeedback,r._INTERNAL_captureLog=ef._INTERNAL_captureLog,r._INTERNAL_captureSerializedLog=ef._INTERNAL_captureSerializedLog,r._INTERNAL_flushLogsBuffer=ef._INTERNAL_flushLogsBuffer,r.logger=em,r.consoleLoggingIntegration=eh.consoleLoggingIntegration,r._INTERNAL_captureMetric=eA._INTERNAL_captureMetric,r._INTERNAL_captureSerializedMetric=eA._INTERNAL_captureSerializedMetric,r._INTERNAL_flushMetricsBuffer=eA._INTERNAL_flushMetricsBuffer,r.metrics=eR,r.createConsolaReporter=eI.createConsolaReporter,r.addVercelAiProcessors=ey.addVercelAiProcessors,r._INTERNAL_cleanupToolCallSpan=eN._INTERNAL_cleanupToolCallSpan,r._INTERNAL_getSpanForToolCallId=eN._INTERNAL_getSpanForToolCallId,r.instrumentOpenAiClient=eO.instrumentOpenAiClient,r.OPENAI_INTEGRATION_NAME=ev.OPENAI_INTEGRATION_NAME,r.instrumentAnthropicAiClient=eb.instrumentAnthropicAiClient,r.ANTHROPIC_AI_INTEGRATION_NAME=eC.ANTHROPIC_AI_INTEGRATION_NAME,r.instrumentGoogleGenAIClient=eM.instrumentGoogleGenAIClient,r.GOOGLE_GENAI_INTEGRATION_NAME=eU.GOOGLE_GENAI_INTEGRATION_NAME,r.createLangChainCallbackHandler=eP.createLangChainCallbackHandler,r.LANGCHAIN_INTEGRATION_NAME=eD.LANGCHAIN_INTEGRATION_NAME,r.instrumentLangGraph=eL.instrumentLangGraph,r.instrumentStateGraphCompile=eL.instrumentStateGraphCompile,r.LANGGRAPH_INTEGRATION_NAME=ew.LANGGRAPH_INTEGRATION_NAME,r._INTERNAL_FLAG_BUFFER_SIZE=eB._INTERNAL_FLAG_BUFFER_SIZE,r._INTERNAL_MAX_FLAGS_PER_SPAN=eB._INTERNAL_MAX_FLAGS_PER_SPAN,r._INTERNAL_addFeatureFlagToActiveSpan=eB._INTERNAL_addFeatureFlagToActiveSpan,r._INTERNAL_copyFlagsFromScopeToEvent=eB._INTERNAL_copyFlagsFromScopeToEvent,r._INTERNAL_insertFlagToScope=eB._INTERNAL_insertFlagToScope,r.applyAggregateErrorsToEvent=ek.applyAggregateErrorsToEvent,r.getBreadcrumbLogLevelFromHttpStatusCode=ex.getBreadcrumbLogLevelFromHttpStatusCode,r.getComponentName=eG.getComponentName,r.getLocationHref=eG.getLocationHref,r.htmlTreeAsString=eG.htmlTreeAsString,r.dsnFromString=eF.dsnFromString,r.dsnToString=eF.dsnToString,r.makeDsn=eF.makeDsn,r.SentryError=eV.SentryError,r.GLOBAL_OBJ=eH.GLOBAL_OBJ,r.addConsoleInstrumentationHandler=ej.addConsoleInstrumentationHandler,r.addFetchEndInstrumentationHandler=eY.addFetchEndInstrumentationHandler,r.addFetchInstrumentationHandler=eY.addFetchInstrumentationHandler,r.addGlobalErrorInstrumentationHandler=eW.addGlobalErrorInstrumentationHandler,r.addGlobalUnhandledRejectionInstrumentationHandler=e$.addGlobalUnhandledRejectionInstrumentationHandler,r.addHandler=eK.addHandler,r.maybeInstrument=eK.maybeInstrument,r.resetInstrumentationHandlers=eK.resetInstrumentationHandlers,r.triggerHandlers=eK.triggerHandlers,r.isDOMError=eq.isDOMError,r.isDOMException=eq.isDOMException,r.isElement=eq.isElement,r.isError=eq.isError,r.isErrorEvent=eq.isErrorEvent,r.isEvent=eq.isEvent,r.isInstanceOf=eq.isInstanceOf,r.isParameterizedString=eq.isParameterizedString,r.isPlainObject=eq.isPlainObject,r.isPrimitive=eq.isPrimitive,r.isRegExp=eq.isRegExp,r.isString=eq.isString,r.isSyntheticEvent=eq.isSyntheticEvent,r.isThenable=eq.isThenable,r.isVueViewModel=eq.isVueViewModel,r.isBrowser=ez.isBrowser,r.CONSOLE_LEVELS=eJ.CONSOLE_LEVELS,r.consoleSandbox=eJ.consoleSandbox,r.debug=eJ.debug,r.originalConsoleMethods=eJ.originalConsoleMethods,r.addContextToFrame=eX.addContextToFrame,r.addExceptionMechanism=eX.addExceptionMechanism,r.addExceptionTypeValue=eX.addExceptionTypeValue,r.checkOrSetAlreadyCaught=eX.checkOrSetAlreadyCaught,r.getEventDescription=eX.getEventDescription,r.parseSemver=eX.parseSemver,r.uuid4=eX.uuid4,r.isNodeEnv=eQ.isNodeEnv,r.loadModule=eQ.loadModule,r.normalize=eZ.normalize,r.normalizeToSize=eZ.normalizeToSize,r.normalizeUrlToBase=eZ.normalizeUrlToBase,r.addNonEnumerableProperty=e0.addNonEnumerableProperty,r.convertToPlainObject=e0.convertToPlainObject,r.dropUndefinedKeys=e0.dropUndefinedKeys,r.extractExceptionKeysForMessage=e0.extractExceptionKeysForMessage,r.fill=e0.fill,r.getOriginalFunction=e0.getOriginalFunction,r.markFunctionWrapped=e0.markFunctionWrapped,r.objectify=e0.objectify,r.basename=e1.basename,r.dirname=e1.dirname,r.isAbsolute=e1.isAbsolute,r.join=e1.join,r.normalizePath=e1.normalizePath,r.relative=e1.relative,r.resolve=e1.resolve,r.SENTRY_BUFFER_FULL_ERROR=e2.SENTRY_BUFFER_FULL_ERROR,r.makePromiseBuffer=e2.makePromiseBuffer,r.severityLevelFromString=e3.severityLevelFromString,r.replaceExports=e4.replaceExports,r.UNKNOWN_FUNCTION=e5.UNKNOWN_FUNCTION,r.createStackParser=e5.createStackParser,r.getFramesFromEvent=e5.getFramesFromEvent,r.getFunctionName=e5.getFunctionName,r.stackParserFromStackParserOptions=e5.stackParserFromStackParserOptions,r.stripSentryFramesAndReverse=e5.stripSentryFramesAndReverse,r.filenameIsInApp=e6.filenameIsInApp,r.node=e6.node,r.nodeStackLineParser=e6.nodeStackLineParser,r.isMatchingPattern=e9.isMatchingPattern,r.safeJoin=e9.safeJoin,r.snipLine=e9.snipLine,r.stringMatchesSomePattern=e9.stringMatchesSomePattern,r.truncate=e9.truncate,r.isNativeFunction=e8.isNativeFunction,r.supportsDOMError=e8.supportsDOMError,r.supportsDOMException=e8.supp
17ortsDOMException,r.supportsErrorEvent=e8.supportsErrorEvent,r.supportsFetch=e8.supportsFetch,r.supportsHistory=e8.supportsHistory,r.supportsNativeFetch=e8.supportsNativeFetch,r.supportsReferrerPolicy=e8.supportsReferrerPolicy,r.supportsReportingObserver=e8.supportsReportingObserver,r.SyncPromise=e7.SyncPromise,r.rejectedSyncPromise=e7.rejectedSyncPromise,r.resolvedSyncPromise=e7.resolvedSyncPromise,r.browserPerformanceTimeOrigin=te.browserPerformanceTimeOrigin,r.dateTimestampInSeconds=te.dateTimestampInSeconds,r.timestampInSeconds=te.timestampInSeconds,r.TRACEPARENT_REGEXP=tt.TRACEPARENT_REGEXP,r.extractTraceparentData=tt.extractTraceparentData,r.generateSentryTraceHeader=tt.generateSentryTraceHeader,r.generateTraceparentHeader=tt.generateTraceparentHeader,r.propagationContextFromHeaders=tt.propagationContextFromHeaders,r.shouldContinueTrace=tt.shouldContinueTrace,r.getSDKSource=tr.getSDKSource,r.isBrowserBundle=tr.isBrowserBundle,r.addItemToEnvelope=tn.addItemToEnvelope,r.createAttachmentEnvelopeItem=tn.createAttachmentEnvelopeItem,r.createEnvelope=tn.createEnvelope,r.createEventEnvelopeHeaders=tn.createEventEnvelopeHeaders,r.createSpanEnvelopeItem=tn.createSpanEnvelopeItem,r.envelopeContainsItemType=tn.envelopeContainsItemType,r.envelopeItemTypeToDataCategory=tn.envelopeItemTypeToDataCategory,r.forEachEnvelopeItem=tn.forEachEnvelopeItem,r.getSdkMetadataForEnvelopeHeader=tn.getSdkMetadataForEnvelopeHeader,r.parseEnvelope=tn.parseEnvelope,r.serializeEnvelope=tn.serializeEnvelope,r.createClientReportEnvelope=ta.createClientReportEnvelope,r.DEFAULT_RETRY_AFTER=to.DEFAULT_RETRY_AFTER,r.disabledUntil=to.disabledUntil,r.isRateLimited=to.isRateLimited,r.parseRetryAfterHeader=to.parseRetryAfterHeader,r.updateRateLimits=to.updateRateLimits,r.MAX_BAGGAGE_STRING_LENGTH=ti.MAX_BAGGAGE_STRING_LENGTH,r.SENTRY_BAGGAGE_KEY_PREFIX=ti.SENTRY_BAGGAGE_KEY_PREFIX,r.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=ti.SENTRY_BAGGAGE_KEY_PREFIX_REGEX,r.baggageHeaderToDynamicSamplingContext=ti.baggageHeaderToDynamicSamplingContext,r.dynamicSamplingContextToSentryBaggageHeader=ti.dynamicSamplingContextToSentryBaggageHeader,r.objectToBaggageHeader=ti.objectToBaggageHeader,r.parseBaggageHeader=ti.parseBaggageHeader,r.getHttpSpanDetail
17sFromUrlObject=ts.getHttpSpanDetailsFromUrlObject,r.getSanitizedUrlString=ts.getSanitizedUrlString,r.getSanitizedUrlStringFromUrlObject=ts.getSanitizedUrlStringFromUrlObject,r.isURLObjectRelative=ts.isURLObjectRelative,r.parseStringToURLObject=ts.parseStringToURLObject,r.parseUrl=ts.parseUrl,r.stripDataUrlContent=ts.stripDataUrlContent,r.stripUrlQueryAndFragment=ts.stripUrlQueryAndFragment,r._INTERNAL_enhanceErrorWithSentryInfo=tl._enhanceErrorWithSentryInfo,r.eventFromMessage=tl.eventFromMessage,r.eventFromUnknownInput=tl.eventFromUnknownInput,r.exceptionFromError=tl.exceptionFromError,r.parseStackFrames=tl.parseStackFrames,r.callFrameToStackFrame=tu.callFrameToStackFrame,r.watchdogTimer=tu.watchdogTimer,r.LRUMap=tc.LRUMap,r.generateSpanId=td.generateSpanId,r.generateTraceId=td.generateTraceId,r.vercelWaitUntil=t_.vercelWaitUntil,r.flushIfServerless=tp.flushIfServerless,r.SDK_VERSION=tE.SDK_VERSION,r.getDebugImagesForResources=tS.getDebugImagesForResources,r.getFilenameToDebugIdMap=tS.getFilenameToDebugIdMap,r.getFilenameToMetadataMap=tT.getFilenameToMetadataMap,r.escapeStringForRegex=tg.escapeStringForRegex,r._INTERNAL_safeDateNow=tf.safeDateNow,r._INTERNAL_safeMathRandom=tf.safeMathRandom,r._INTERNAL_withRandomSafeContext=tf.withRandomSafeContext},72656,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=n.GLOBAL_OBJ,o=a.document,i=a.navigator,s="Report a Bug",l="Cancel",u="Send Bug Report",c="Confirm",d="Report a Bug",_="[email protected]",p="Email",E="What's the bug? What did you expect?",S="Description",T="Your Name",g="Name",f="Thank you for your report!",m="(required)",h="Add a screenshot",A="Remove screenshot",R="Highlight",I="Hide",y="Remove",N=(e,t={includeReplay:!0})=>{if(!e.message)throw Error("Unable to submit feedback with empty message");let r=n.getClient();if(!r)throw Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&n.getCurrentScope().setTags(e.tags);let a=n.captureFeedback({source:"api",url:n.getLocationHref(),...e},t);return new Promise((e,t)=>{let n=setTimeout(()=>t("Unable to determine if Feedback was correctly sent."),3e4),o=r.on("afterSendEvent",(r,i)=>{if(r.event_id===a)return(clearTimeout(n),o(),i?.statusCode&&i.statusCode>=200&&i.statusCode<300)?e(a):i?.statusCode===403?t("Unable to send feedback. This could be because this domain is not in your list of allowed domains."):t("Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker.")})})},O="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function v(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{t.onFormOpen?.(),e.onFormOpen?.()},onFormClose:()=>{t.onFormClose?.(),e.onFormClose?.()},onSubmitSuccess:(r,n)=>{t.onSubmitSuccess?.(r,n),e.onSubmitSuccess?.(r,n)},onSubmitError:r=>{t.onSubmitError?.(r),e.onSubmitError?.(r)},onFormSubmitted:()=>{t.onFormSubmitted?.(),e.onFormSubmitted?.()},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function b(e,t){return Object.entries(t).forEach(([t,r])=>{e.setAttributeNS(null,t,r)}),e}let C="rgba(88, 74, 192, 1)",M={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:C,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},U={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:C,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function P(e){return`
18  --foreground: ${e.foreground};
19  --background: ${e.background};
20  --accent-foreground: ${e.accentForeground};
21  --accent-background: ${e.accentBackground};
22  --success-color: ${e.successColor};
23  --error-color: ${e.errorColor};
24  --border: ${e.border};
25  --box-shadow: ${e.boxShadow};
26  --outline: ${e.outline};
27  --interactive-filter: ${e.interactiveFilter};
28  `}var D,L,w,B,k,x,G,F={},V=[],H=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,j=Array.isArray;function Y(e,t){for(var r in t)e[r]=t[r];return e}function W(e){var t=e.parentNode;t&&t.removeChild(e)}function $(e,t,r){var n,a,o,i={};
vendor: 4,683 bytes, line 28
28for(o in t)"key"==o?n=t[o]:"ref"==o?a=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?D.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===i[o]&&(i[o]=e.defaultProps[o]);return K(e,i,n,a,null)}function K(e,t,r,n,a){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++w:a,__i:-1,__u:0};return null==a&&null!=L.vnode&&L.vnode(o),o}function q(e){return e.children}function z(e,t){this.props=e,this.context=t}function J(e,t){if(null==t)return e.__?J(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?J(e):null}function X(e){(!e.__d&&(e.__d=!0)&&B.push(e)&&!Q.__r++||k!==L.debounceRendering)&&((k=L.debounceRendering)||x)(Q)}function Q(){var e,t,r,n=[],a=[];for(B.sort(G);e=B.shift();)e.__d&&(r=B.length,t=function(e,t,r){var n,a=e.__v,o=a.__e,i=e.__P;if(i)return(n=Y({},a)).__v=a.__v+1,L.vnode&&L.vnode(n),ea(i,n,a,e.__n,void 0!==i.ownerSVGElement,32&a.__u?[o]:null,t,null==o?J(a):o,!!(32&a.__u),r),n.__.__k[n.__i]=n,n.__d=void 0,n.__e!=o&&function e(t){var r,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,r=0;r<t.__k.length;r++)if(null!=(n=t.__k[r])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return e(t)}}(n),n}(e,n,a)||t,0===r||B.length>r?(eo(n,t,a),a.length=n.length=0,t=void 0,B.sort(G)):t&&L.__c&&L.__c(t,V));t&&eo(n,t,a),Q.__r=0}function Z(e,t,r,n,a,o,i,s,l,u,c){var d,_,p,E,S,T=n&&n.__k||V,g=t.length;for(r.__d=l,function(e,t,r){var n,a,o,i,s,l=t.length,u=r.length,c=u,d=0;for(e.__k=[],n=0;n<l;n++)null!=(a=e.__k[n]=null==(a=t[n])||"boolean"==typeof a||"function"==typeof a?null:"string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?K(null,a,null,null,a):j(a)?K(q,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?K(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a)?(a.__=e,a.__b=e.__b+1,s=function(e,t,r,n){var a=e.key,o=e.type,i=r-1,s=r+1,l=t[r];if(null===l||l&&a==l.key&&o===l.type)return r;if(n>+(null!=l&&0==(131072&l.__u)))for(;i>=0||s<t.length;){if(i>=0){if((l=t[i])&&0==(131072&l.__u)&&a==l.key&&o===l.type)return i;i--}if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&a==l.key&&o===l.type)return s;s++}}return -1}(a,r,i=n+d,c),a.__i=s,o=null,-1!==s&&(c--,(o=r[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof a.type&&(a.__u|=65536)):s!==i&&(s===i+1?d++:s>i?c>l-i?d+=s-i:d--:d=s<i&&s==i-1?s-i:0,s!==n+d&&(a.__u|=65536))):(o=r[n])&&null==o.key&&o.__e&&(o.__e==e.__d&&(e.__d=J(o)),es(o,o,!1),r[n]=null,c--);if(c)for(n=0;n<u;n++)null!=(o=r[n])&&0==(131072&o.__u)&&(o.__e==e.__d&&(e.__d=J(o)),es(o,o))}(r,t,T),l=r.__d,d=0;d<g;d++)null!=(p=r.__k[d])&&"boolean"!=typeof p&&"function"!=typeof p&&(_=-1===p.__i?F:T[p.__i]||F,p.__i=d,ea(e,p,_,a,o,i,s,l,u,c),E=p.__e,p.ref&&_.ref!=p.ref&&(_.ref&&ei(_.ref,null,p),c.push(p.ref,p.__c||E,p)),null==S&&null!=E&&(S=E),65536&p.__u||_.__k===p.__k?l=function e(t,r,n){var a,o;if("function"==typeof t.type){for(a=t.__k,o=0;a&&o<a.length;o++)a[o]&&(a[o].__=t,r=e(a[o],r,n));return r}t.__e!=r&&(n.insertBefore(t.__e,r||null),r=t.__e);do r=r&&r.nextSibling;while(null!=r&&8===r.nodeType)return r}(p,l,e):"function"==typeof p.type&&void 0!==p.__d?l=p.__d:E&&(l=E.nextSibling),p.__d=void 0,p.__u&=-196609);r.__d=l,r.__e=S}function ee(e,t,r){"-"===t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||H.test(t)?r:r+"px"}function et(e,t,r,n,a){var o;e:if("style"===t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||ee(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||ee(e.style,t,r[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,o?en:er,o)):e.removeEventListener(t,o?en:er,o);else{if(a)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,r))}}function er(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(L.event?L.event(e):e)}}function en(e){if(this.l)return this.l[e.type+!0](L.event?L.event(e):e)}function ea(e,t,r,n,a,o,i,s,l,u){var c,d,_,p,E,S,T,g,f,m,h,A,R,I,y,N=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(l=!!(32&r.__u),o=[s=t.__e=r.__e]),(c=L.__b)&&c(t);
28e:if("function"==typeof N)try{if(g=t.props,f=(c=N.contextType)&&n[c.__c],m=c?f?f.props.value:c.__:n,r.__c?T=(d=t.__c=r.__c).__=d.__E:("prototype"in N&&N.prototype.render?t.__c=d=new N(g,m):(t.__c=d=new z(g,m),d.constructor=N,d.render=el),f&&f.sub(d),d.props=g,d.state||(d.state={}),d.context=m,d.__n=n,_=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=N.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=Y({},d.__s)),Y(d.__s,N.getDerivedStateFromProps(g,d.__s))),p=d.props,E=d.state,d.__v=t,_)null==N.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==N.getDerivedStateFromProps&&g!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(g,m),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(g,d.__s,m)||t.__v===r.__v)){for(t.__v!==r.__v&&(d.props=g,d.state=d.__s,d.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(e){e&&(e.__=t)}),h=0;h<d._sb.length;h++)d.__h.push(d._sb[h]);d._sb=[],d.__h.length&&i.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(g,d.__s,m),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(p,E,S)})}if(d.context=m,d.props=g,d.__P=e,d.__e=!1,A=L.__r,R=0,"prototype"in N&&N.prototype.render){for(d.state=d.__s,d.__d=!1,A&&A(t),c=d.render(d.props,d.state,d.context),I=0;I<d._sb.length;I++)d.__h.push(d._sb[I]);d._sb=[]}else do d.__d=!1,A&&A(t),c=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++R<25)d.state=d.__s,null!=d.getChildContext&&(n=Y(Y({},n),d.getChildContext())),_||null==d.getSnapshotBeforeUpdate||(S=d.getSnapshotBeforeUpdate(p,E)),Z(e,j(y=null!=c&&c.type===q&&null==c.key?c.props.children:c)?y:[y],t,r,n,a,o,i,s,l,u),d.base=t.__e,t.__u&=-161,d.__h.length&&i.push(d),T&&(d.__E=d.__=null)}catch(e){t.__v=null,l||null!=o?(t.__e=s,t.__u|=l?160:32,o[o.indexOf(s)]=null):(t.__e=r.__e,t.__k=r.__k),L.__e(e,t,r)}else null==o&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=function(e,t,r,n,a,o,i,s,l){var u,c,d,_,p,E,S,T=r.props,g=t.props,f=t.type;if("svg"===f&&(a=!0),null!=o){for(u=0;u<o.length;u++)if((p=o[u])&&"setAttribute"in p==!!f&&(f?p.localName===f:3===p.nodeType)){e=p,o[u]=null;break}}if(null==e){if(null===f)return document.createTextNode(g);e=a?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,g.is&&g),o=null,s=!1}if(null===f)T===g||s&&e.data===g||(e.data=g);else{if(o=o&&D.call(e.childNodes),T=r.props||F,!s&&null!=o)for(T={},u=0;u<e.attributes.length;u++)T[(p=e.attributes[u]).name]=p.value;for(u in T)p=T[u],"children"==u||("dangerouslySetInnerHTML"==u?d=p:"key"===u||u in g||et(e,u,null,p,a));for(u in g)p=g[u],"children"==u?_=p:"dangerouslySetInnerHTML"==u?c=p:"value"==u?E=p:"checked"==u?S=p:"key"===u||s&&"function"!=typeof p||T[u]===p||et(e,u,p,T[u],a);if(c)s||d&&(c.__html===d.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(d&&(e.innerHTML=""),Z(e,j(_)?_:[_],t,r,n,a&&"foreignObject"!==f,o,i,o?o[0]:r.__k&&J(r,0),s,l),null!=o)for(u=o.length;u--;)null!=o[u]&&W(o[u]);s||(u="value",void 0===E||E===e[u]&&("progress"!==f||E)&&("option"!==f||E===T[u])||et(e,u,E,T[u],!1),u="checked",void 0!==S&&S!==e[u]&&et(e,u,S,T[u],!1))}return e}(r.__e,t,r,n,a,o,i,l,u);(c=L.diffed)&&c(t)}function eo(e,t,r){for(var n=0;n<r.length;n++)ei(r[n],r[++n],r[++n]);L.__c&&L.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){L.__e(e,t.__v)}})}function ei(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){L.__e(e,r)}}function es(e,t,r){var n,a;if(L.unmount&&L.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||ei(n,null,t)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){L.__e(e,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(a=0;a<n.length;a++)n[a]&&es(n[a],t,r||"function"!=typeof e.type);r||null==e.__e||W(e.__e),e.__=e.__e=e.__d=void 0}function el(e,t,r){return this.constructor(e,r)}D=V.slice,L={__e:function(e,t,r,n){for(var a,o,i;t=t.__;)if((a=t.__c)&&!a.__)try{if((o=a.constructor)&&null!=o.getDerivedStateFromError&&(a.setState(o.getDerivedStateFromError(e)),i=a.__d),null!=a.c
28omponentDidCatch&&(a.componentDidCatch(e,n||{}),i=a.__d),i)return a.__E=a}catch(t){e=t}throw e}},w=0,z.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Y({},this.state),"function"==typeof e&&(e=e(Y({},r),this.props)),e&&Y(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),X(this))},z.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),X(this))},z.prototype.render=q,B=[],x="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,G=function(e,t){return e.__v.__b-t.__v.__b},Q.__r=0;var eu,ec,ed,e_,ep=0,eE=[],eS=[],eT=L,eg=eT.__b,ef=eT.__r,em=eT.diffed,eh=eT.__c,eA=eT.unmount,eR=eT.__;function eI(e,t){eT.__h&&eT.__h(ec,e,ep||t),ep=0;var r=ec.__H||(ec.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:eS}),r.__[e]}function ey(e){return ep=1,eN(eL,e)}function eN(e,t,r){var n=eI(eu++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):eL(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=ec,!ec.u)){var a=function(e,t,r){if(!n.__c.__H)return!0;var a=n.__c.__H.__.filter(function(e){return!!e.__c});if(a.every(function(e){return!e.__N}))return!o||o.call(this,e,t,r);var i=!1;return a.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),!(!i&&n.__c.props===e)&&(!o||o.call(this,e,t,r))};ec.u=!0;var o=ec.shouldComponentUpdate,i=ec.componentWillUpdate;ec.componentWillUpdate=function(e,t,r){if(this.__e){var n=o;o=void 0,a(e,t,r),o=n}i&&i.call(this,e,t,r)},ec.shouldComponentUpdate=a}return n.__N||n.__}function eO(e,t){var r=eI(eu++,4);!eT.__s&&eD(r.__H,t)&&(r.__=e,r.i=t,ec.__h.push(r))}function ev(e,t){var r=eI(eu++,7);return eD(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function eb(e,t){return ep=8,ev(function(){return e},t)}function eC(){for(var e;e=eE.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eU),e.__H.__h.forEach(eP),e.__H.__h=[]}catch(t){e.__H.__h=[],eT.__e(t,e.__v)}}eT.__b=function(e){ec=null,eg&&eg(e)},eT.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),eR&&eR(e,t)},eT.__r=function(e){ef&&ef(e),eu=0;var t=(ec=e.__c).__H;t&&(ed===ec?(t.__h=[],ec.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=eS,e.__N=e.i=void 0})):(t.__h.forEach(eU),t.__h.forEach(eP),t.__h=[],eu=0)),ed=ec},eT.diffed=function(e){em&&em(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==eE.push(t)&&e_===eT.requestAnimationFrame||((e_=eT.requestAnimationFrame)||function(e){var t,r=function(){clearTimeout(n),eM&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);eM&&(t=requestAnimationFrame(r))})(eC)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==eS&&(e.__=e.__V),e.i=void 0,e.__V=eS})),ed=ec=null},eT.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eU),e.__h=e.__h.filter(function(e){return!e.__||eP(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],eT.__e(r,e.__v)}}),eh&&eh(e,t)},eT.unmount=function(e){eA&&eA(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(e){try{eU(e)}catch(e){t=e}}),r.__H=void 0,t&&eT.__e(t,r.__v))};var eM="function"==typeof requestAnimationFrame;function eU(e){var t=ec,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),ec=t}function eP(e){var t=ec;e.__c=e.__(),ec=t}function eD(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function eL(e,t){return"function"==typeof t?t(e):t}let ew=Object.defineProperty({__proto__:null,useCallback:eb,useContext:function(e){var t=ec.context[e.__c],r=eI(eu++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(ec)),t.props.value):e.__},useDebugValue:function(e,t){eT.useDebugValue&&eT.useDebugValue(t?t(e):e)},useEffect:function(e,t){var r=eI(eu++,3);!eT.__s&&eD(r.__H,t)&&(r.__=e,r.i=t,ec.__H.__h.push(r))},useErrorBoundary:function(e){var t=eI(eu++,10),r=ey();return t.__=e,ec.componentDidCatch||(ec.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]},useId:function(){var e=eI(eu++,11);if(!e.__){for(var t=ec.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__},useImperativeHandle:function(e,t,r){ep=6,eO(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==r?r:r.concat(e))}
28,useLayoutEffect:eO,useMemo:ev,useReducer:eN,useRef:function(e){return ep=5,ev(function(){return{current:e}},[])},useState:ey},Symbol.toStringTag,{value:"Module"});function eB({options:e}){let t=ev(()=>{let e,t;return{__html:(e=b(o.createElementNS("http://www.w3.org/2000/svg","svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),t=b(o.createElementNS("http://www.w3.org/2000/svg","path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"}),e.appendChild(t),e).outerHTML}},[]);return $("h2",{class:"dialog__header"},$("span",{class:"dialog__title"},e.formTitle),e.showBranding?$("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function ek(e,t){let r=e.get(t);return"string"==typeof r?r.trim():""}function ex({options:e,defaultEmail:t,defaultName:r,onFormClose:a,onSubmit:o,onSubmitSuccess:i,onSubmitError:s,showEmail:l,showName:u,screenshotInput:c}){let{tags:d,addScreenshotButtonLabel:_,removeScreenshotButtonLabel:p,cancelButtonLabel:E,emailLabel:S,emailPlaceholder:T,isEmailRequired:g,isNameRequired:f,messageLabel:m,messagePlaceholder:h,nameLabel:A,namePlaceholder:R,submitButtonLabel:I,isRequiredLabel:y}=e,[N,v]=ey(!1),[b,C]=ey(null),[M,U]=ey(!1),P=c?.input,[D,L]=ey(null),w=eb(e=>{L(e),U(!1)},[]),B=eb(e=>{var t;let r,n=(r=[],(t={emailLabel:S,isEmailRequired:g,isNameRequired:f,messageLabel:m,nameLabel:A}).isNameRequired&&!e.name&&r.push(t.nameLabel),t.isEmailRequired&&!e.email&&r.push(t.emailLabel),e.message||r.push(t.messageLabel),r);return n.length>0?C(`Please enter in the following required fields: ${n.join(", ")}`):C(null),0===n.length},[S,g,f,m,A]);return $("form",{class:"form",onSubmit:eb(async e=>{v(!0);try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;let t=new FormData(e.target),r=await (c&&M?c.value():void 0),a={name:ek(t,"name"),email:ek(t,"email"),message:ek(t,"message"),attachments:r?[r]:void 0};if(!B(a))return;try{let e=await o({name:a.name,email:a.email,message:a.message,source:"widget",tags:d},{attachments:a.attachments});i(a,e)}catch(e){O&&n.debug.error(e),C(e),s(e)}}finally{v(!1)}},[c&&M,i,s])},P&&M?$(P,{onError:w}):null,$("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:N},$("div",{class:"form__top"},b?$("div",{class:"form__error-container"},b):null,u?$("label",{for:"name",class:"form__label"},$(eG,{label:A,isRequiredLabel:y,isRequired:f}),$("input",{class:"form__input",defaultValue:r,id:"name",name:"name",placeholder:R,required:f,type:"text"})):$("input",{"aria-hidden":!0,value:r,name:"name",type:"hidden"}),l?$("label",{for:"email",class:"form__label"},$(eG,{label:S,isRequiredLabel:y,isRequired:g}),$("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:T,required:g,type:"email"})):$("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),$("label",{for:"message",class:"form__label"},$(eG,{label:m,isRequiredLabel:y,isRequired:!0}),$("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:h,required:!0,rows:5})),P?$("label",{for:"screenshot",class:"form__label"},$("button",{class:"btn btn--default",disabled:N,type:"button",onClick:()=>{L(null),U(e=>!e)}},M?p:_),D?$("div",{class:"form__error-container"},D.message):null):null),$("div",{class:"btn-group"},$("button",{class:"btn btn--primary",disabled:N,type:"submit"},I),$("button",{class:"btn btn--default",disabled:N,type:"button",onClick:a},E))))}function eG({label:e,isRequired:t,isRequiredLabel:r}){return $("span",{class:"form__label__text"},e,t&&$("span",{class:"form__label__text--required"},r))}function eF({open:e,onFormSubmitted:t,...r}
28){let n=r.options,o=ev(()=>{let e,t,r,n,o,i,s,l;return{__html:(t=b((e=e=>a.document.createElementNS("http://www.w3.org/2000/svg",e))("svg"),{width:"16",height:"17",viewBox:"0 0 16 17",fill:"inherit"}),r=b(e("g"),{clipPath:"url(#clip0_57_156)"}),n=b(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),o=b(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"}),t.appendChild(r).append(o,n),i=e("defs"),s=b(e("clipPath"),{id:"clip0_57_156"}),l=b(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"}),s.appendChild(l),i.appendChild(s),t.appendChild(i).appendChild(s).appendChild(l),t).outerHTML}},[]),[i,s]=ey(null),l=eb(()=>{i&&(clearTimeout(i),s(null)),t()},[i]),u=eb((e,n)=>{r.onSubmitSuccess(e,n),s(setTimeout(()=>{t(),s(null)},5e3))},[t]);return $(q,null,i?$("div",{class:"success__position",onClick:l},$("div",{class:"success__content"},n.successMessageText,$("span",{class:"success__icon",dangerouslySetInnerHTML:o}))):$("dialog",{class:"dialog",onClick:n.onFormClose,open:e},$("div",{class:"dialog__position"},$("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()}},$(eB,{options:n}),$(ex,{...r,onSubmitSuccess:u})))))}let eV=`
29.dialog {
30  position: fixed;
31  z-index: var(--z-index);
32  margin: 0;
33  inset: 0;
34
35  display: flex;
36  align-items: center;
37  justify-content: center;
38  padding: 0;
39  height: 100vh;
40  width: 100vw;
41
42  color: var(--dialog-color, var(--foreground));
43  fill: var(--dialog-color, var(--foreground));
44  line-height: 1.75em;
45
46  background-color: rgba(0, 0, 0, 0.05);
47  border: none;
48  inset: 0;
49  opacity: 1;
50  transition: opacity 0.2s ease-in-out;
51}
52
53.dialog__position {
54  position: fixed;
55  z-index: var(--z-index);
56  inset: var(--dialog-inset);
57  padding: var(--page-margin);
58  display: flex;
59  max-height: calc(100vh - (2 * var(--page-margin)));
60}
61@media (max-width: 600px) {
62  .dialog__position {
63    inset: var(--page-margin);
64    padding: 0;
65  }
66}
67
68.dialog__position:has(.editor) {
69  inset: var(--page-margin);
70  padding: 0;
71}
72
73.dialog:not([open]) {
74  opacity: 0;
75  pointer-events: none;
76  visibility: hidden;
77}
78.dialog:not([open]) .dialog__content {
79  transform: translate(0, -16px) scale(0.98);
80}
81
82.dialog__content {
83  display: flex;
84  flex-direction: column;
85  gap: 16px;
86  padding: var(--dialog-padding, 24px);
87  max-width: 100%;
88  width: 100%;
89  max-height: 100%;
90  overflow: auto;
91
92  background: var(--dialog-background, var(--background));
93  border-radius: var(--dialog-border-radius, 20px);
94  border: var(--dialog-border, var(--border));
95  box-shadow: var(--dialog-box-shadow, var(--box-shadow));
96  transform: translate(0, 0) scale(1);
97  transition: transform 0.2s ease-in-out;
98}
99
100`,eH=`
101.dialog__header {
102  display: flex;
103  gap: 4px;
104  justify-content: space-between;
105  font-weight: var(--dialog-header-weight, 600);
106  margin: 0;
107}
108.dialog__title {
109  align-self: center;
110  width: var(--form-width, 272px);
111}
112
113@media (max-width: 600px) {
114  .dialog__title {
115    width: auto;
116  }
117}
118
119.dialog__position:has(.editor) .dialog__title {
120  width: auto;
121}
122
123
124.brand-link {
125  display: inline-flex;
126}
127.brand-link:focus-visible {
128  outline: var(--outline);
129}
130`,ej=`
131.form {
132  display: flex;
133  overflow: auto;
134  flex-direction: row;
135  gap: 16px;
136  flex: 1 0;
137}
138
139.form fieldset {
140  border: none;
141  margin: 0;
142  padding: 0;
143}
144
145.form__right {
146  flex: 0 0 auto;
147  display: flex;
148  overflow: auto;
149  flex-direction: column;
150  justify-content: space-between;
151  gap: 20px;
152  width: var(--form-width, 100%);
153}
154
155.dialog__position:has(.editor) .form__right {
156  width: var(--form-width, 272px);
157}
158
159.form__top {
160  display: flex;
161  flex-direction: column;
162  gap: 8px;
163}
164
165.form__error-container {
166  color: var(--error-color);
167  fill: var(--error-color);
168}
169
170.form__label {
171  display: flex;
172  flex-direction: column;
173  gap: 4px;
174  margin: 0px;
175}
176
177.form__label__text {
178  display: flex;
179  gap: 4px;
180  align-items: center;
181}
182
183.form__label__text--required {
184  font-size: 0.85em;
185}
186
187.form__input {
188  font-family: inherit;
189  line-height: inherit;
190  background: transparent;
191  box-sizing: border-box;
192  border: var(--input-border, var(--border));
193  border-radius: var(--input-border-radius, 6px);
194  color: var(--input-color, inherit);
195  fill: var(--input-color, inherit);
196  font-size: var(--input-font-size, inherit);
197  font-weight: var(--input-font-weight, 500);
198  padding: 6px 12px;
199}
200
201.form__input::placeholder {
202  opacity: 0.65;
203  color: var(--input-placeholder-color, inherit);
204  filter: var(--interactive-filter);
205}
206
207.form__input:focus-visible {
208  outline: var(--input-focus-outline, var(--outline));
209}
210
211.form__input--textarea {
212  font-family: inherit;
213  resize: vertical;
214}
215
216.error {
217  color: var(--error-color);
218  fill: var(--error-color);
219}
220`,eY=`
221.btn-group {
222  display: grid;
223  gap: 8px;
224}
225
226.btn {
227  line-height: inherit;
228  border: var(--button-border, var(--border));
229  border-radius: var(--button-border-radius, 6px);
230  cursor: pointer;
231  font-family: inherit;
232  font-size: var(--button-font-size, inherit);
233  font-weight: var(--button-font-weight, 600);
234  padding: var(--button-padding, 6px 16px);
235}
236.btn[disabled] {
237  opacity: 0.6;
238  pointer-events: none;
239}
240
241.btn--primary {
242  color: var(--button-primary-color, var(--accent-foreground));
243  fill: var(--button-primary-color, var(--accent-foreground));
244  background: var(--button-primary-background, var(--accent-background));
245  border: var(--button-primary-border, var(--border));
246  border-radius: var(--button-primary-border-radius, 6px);
247  font-weight: var(--button-primary-font-weight, 500);
248}
249.btn--primary:hover {
250  color: var(--button-primary-hover-color, var(--accent-foreground));
251  fill: var(--button-primary-hover-color, var(--accent-foreground));
252  background: var(--button-primary-hover-background, var(--accent-background));
253  filter: var(--interactive-filter);
254}
255.btn--primary:focus-visible {
256  background: var(--button-primary-hover-background, var(--accent-background));
257  filter: var(--interactive-filter);
258  outline: var(--button-primary-focus-outline, var(--outline));
259}
260
261.btn--default {
262  color: var(--button-color, var(--foreground));
263  fill: var(--button-color, var(--foreground));
264  background: var(--button-background, var(--background));
265  border: var(--button-border, var(--border));
266  border-radius: var(--button-border-radius, 6px);
267  font-weight: var(--button-font-weight, 500);
268}
269.btn--default:hover {
270  color: var(--button-color, var(--foreground));
271  fill: var(--button-color, var(--foreground));
272  background: var(--button-hover-background, var(--background));
273  filter: var(--interactive-filter);
274}
275.btn--default:focus-visible {
276  background: var(--button-hover-background, var(--background));
277  filter: var(--interactive-filter);
278  outline: var(--button-focus-outline, var(--outline));
279}
280`,eW=`
281.success__position {
282  position: fixed;
283  inset: var(--dialog-inset);
284  padding: var(--page-margin);
285  z-index: var(--z-index);
286}
287.success__content {
288  background: var(--success-background, var(--background));
289  border: var(--success-border, var(--border));
290  border-radius: var(--success-border-radius, 1.7em/50%);
291  box-shadow: var(--success-box-shadow, var(--box-shadow));
292  font-weight: var(--success-font-weight, 600);
293  color: var(--success-color);
294  fill: var(--success-color);
295  padding: 12px 24px;
296  line-height: 1.75em;
297
298  display: grid;
299  align-items: center;
300  grid-auto-flow: column;
301  gap: 6px;
302  cursor: default;
303}
304
305.success__icon {
306  display: flex;
307}
308`;function e$(e,t,r){if(!e)return;let n=e.getContext("2d",t);n&&r(e,n)}function eK(e,t){e$(e,{alpha:!0},(e,r)=>{r.drawImage(t,0,0,t.width,t.height,0,0,e.width,e.height)})}function eq(e,t,r){e$(e,{alpha:!0},(e,n)=>{r.length&&(n.fillStyle="rgba(0, 0, 0, 0.25)",n.fillRect(0,0,e.width,e.height)),r.forEach(e=>{switch(e.type){case"highlight":n.shadowColor="rgba(0, 0, 0, 0.7)",n.shadowBlur=50,n.fillStyle=t,n.fillRect(e.x-1,e.y-1,e.w+2,e.h+2),n.clearRect(e.x,e.y,e.w,e.h);break;case"hide":n.fillStyle="rgb(0, 0, 0)",n.fillRect(e.x,e.y,e.w,e.h)}})})}r.buildFeedbackIntegration=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:r})=>({id:C="sentry-feedback",autoInject:D=!0,showBranding:L=!0,isEmailRequired:w=!1,isNameRequired:B=!1,showEmail:k=!0,showName:x=!0,enableScreenshot:G=!0,useSentryUser:F={email:"email",name:"username"},tags:V,styleNonce:H,scriptNonce:j,colorScheme:Y="system",themeLight:W={},themeDark:$={},addScreenshotButtonLabel:K=h,cancelButtonLabel:q=l,confirmButtonLabel:z=c,emailLabel:J=p,emailPlaceholder:X=_,formTitle:Q=d,isRequiredLabel:Z=m,messageLabel:ee=S,messagePlaceholder:et=E,nameLabel:er=g,namePlaceholder:en=T,removeScreenshotButtonLabel:ea=A,submitButtonLabel:eo=u,successMessageText:ei=f,triggerLabel:es=s,triggerAriaLabel:el="",highlightToolText:eu=R,hideToolText:ec=I,removeHighlightText:ed=y,onFormOpen:e_,onFormClose:ep,onSubmitSuccess:eE,onSubmitError:eS,onFormSubmitted:eT}={})=>{let eg={id:C,autoInject:D,showBranding:L,isEmailRequired:w,isNameRequired:B,showEmail:k,showName:x,enableScreenshot:G,useSentryUser:F,tags:V,styleNonce:H,scriptNonce:j,colorScheme:Y,themeDark:$,themeLight:W,triggerLabel:es,triggerAriaLabel:el,cancelButtonLabel:q,submitButtonLabel:eo,confirmButtonLabel:z,formTitle:Q,emailLabel:J,emailPlaceholder:X,messageLabel:ee,messagePlaceholder:et,nameLabel:er,namePlaceholder:en,successMessageText:ei,isRequiredLabel:Z,addScreenshotButtonLabel:K,removeScreenshotButtonLabel:ea,highlightToolText:eu,hideToolText:ec,removeHighlightText:ed,onFormClose:ep,onFormOpen:e_,onSubmitError:eS,onSubmitSuccess:eE,onFormSubmitted:eT},ef=null,em=[],eh=e=>{if(!ef){let t=o.createElement("div");t.id=String(e.id),o.body.appendChild(t),(ef=t.attachShadow({mode:"open"})).appendChild(function({colorScheme:e,themeDark:t,themeLight:r,styleNonce:n}){let a=o.createElement("style");return a.textContent=`
309:host {
310  --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;
311  --font-size: 14px;
312  --z-index: 100000;
313
314  --page-margin: 16px;
315  --inset: auto 0 0 auto;
316  --actor-inset: var(--inset);
317
318  font-family: var(--font-family);
319  font-size: var(--font-size);
320
321  ${"system"!==e?`color-scheme: only ${e};`:""}
322
323  ${P("dark"===e?{...U,...t}:{...M,...r})}
324}
325
326${"system"===e?`
327@media (prefers-color-scheme: dark) {
328  :host {
329    color-scheme: only dark;
330
331    ${P({...U,...t})}
332  }
333}`:""}
334`,n&&a.setAttribute("nonce",n),a}(e))}return ef},eA=async a=>{let o,s,l=a.enableScreenshot&&!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(i.userAgent)||/Macintosh/i.test(i.userAgent)&&i.maxTouchPoints&&i.maxTouchPoints>1)&&!!isSecureContext;try{o=(t?t():await e("feedbackModalIntegration",j))(),n.addIntegration(o)}catch{throw O&&n.debug.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),Error("[Feedback] Missing feedback modal integration!")}try{let t=l?r?r():await e("feedbackScreenshotIntegration",j):void 0;t&&(s=t(),n.addIntegration(s))}catch{O&&n.debug.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}let u=o.createDialog({options:{...a,onFormClose:()=>{u?.close(),a.onFormClose?.()},onFormSubmitted:()=>{u?.close(),a.onFormSubmitted?.()}},screenshotIntegration:s,sendFeedback:N,shadow:eh(a)});return u},eR=(e,t={})=>{let r=v(eg,t),a="string"==typeof e?o.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!a)throw O&&n.debug.error("[Feedback] Unable to attach to target element"),Error("Unable to attach to target element");let i=null,s=async()=>{i||(i=await eA({...r,onFormSubmitted:()=>{i?.removeFromDom(),r.onFormSubmitted?.()}})),i.appendToDom(),i.open()};
334a.addEventListener("click",s);let l=()=>{em=em.filter(e=>e!==l),i?.removeFromDom(),i=null,a.removeEventListener("click",s)};return em.push(l),l},eI=(e={})=>{let t=v(eg,e),r=eh(t),n=function({triggerLabel:e,triggerAriaLabel:t,shadow:r,styleNonce:n}){let i,l,u,c,d,_,p,E,S=o.createElement("button");if(S.type="button",S.className="widget__actor",S.ariaHidden="false",S.ariaLabel=t||e||s,S.appendChild((l=b((i=e=>a.document.createElementNS("http://www.w3.org/2000/svg",e))("svg"),{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--actor-color, var(--foreground))"}),u=b(i("g"),{clipPath:"url(#clip0_57_80)"}),c=b(i("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"}),l.appendChild(u).appendChild(c),d=i("defs"),_=b(i("clipPath"),{id:"clip0_57_80"}),p=b(i("rect"),{width:"20",height:"20",fill:"white"}),_.appendChild(p),d.appendChild(_),l.appendChild(d).appendChild(_).appendChild(p),l)),e){let t=o.createElement("span");t.appendChild(o.createTextNode(e)),S.appendChild(t)}let T=((E=o.createElement("style")).textContent=`
335.widget__actor {
336  position: fixed;
337  z-index: var(--z-index);
338  margin: var(--page-margin);
339  inset: var(--actor-inset);
340
341  display: flex;
342  align-items: center;
343  gap: 8px;
344  padding: 16px;
345
346  font-family: inherit;
347  font-size: var(--font-size);
348  font-weight: 600;
349  line-height: 1.14em;
350  text-decoration: none;
351
352  background: var(--actor-background, var(--background));
353  border-radius: var(--actor-border-radius, 1.7em/50%);
354  border: var(--actor-border, var(--border));
355  box-shadow: var(--actor-box-shadow, var(--box-shadow));
356  color: var(--actor-color, var(--foreground));
357  fill: var(--actor-color, var(--foreground));
358  cursor: pointer;
359  opacity: 1;
360  transition: transform 0.2s ease-in-out;
361  transform: translate(0, 0) scale(1);
362}
363.widget__actor[aria-hidden="true"] {
364  opacity: 0;
365  pointer-events: none;
366  visibility: hidden;
367  transform: translate(0, 16px) scale(0.98);
368}
369
370.widget__actor:hover {
371  background: var(--actor-hover-background, var(--background));
372  filter: var(--interactive-filter);
373}
374
375.widget__actor svg {
376  width: 1.14em;
377  height: 1.14em;
378}
379
380@media (max-width: 600px) {
381  .widget__actor span {
382    display: none;
383  }
384}
385`,n&&E.setAttribute("nonce",n),E);return{el:S,appendToDom(){r.appendChild(T),r.appendChild(S)},removeFromDom(){S.remove(),T.remove()},show(){S.ariaHidden="false"},hide(){S.ariaHidden="true"}}}({triggerLabel:t.triggerLabel,triggerAriaLabel:t.triggerAriaLabel,shadow:r,styleNonce:H});return eR(n.el,{...t,onFormOpen(){n.hide()},onFormClose(){n.show()},onFormSubmitted(){n.show()}}),n};return{name:"Feedback",setupOnce(){n.isBrowser()&&eg.autoInject&&("loading"===o.readyState?o.addEventListener("DOMContentLoaded",()=>eI().appendToDom()):eI().appendToDom())},attachTo:eR,createWidget(e={}){let t=eI(v(eg,e));return t.appendToDom(),t},createForm:async(e={})=>eA(v(eg,e)),remove(){ef&&(ef.parentElement?.remove(),ef=null),em.forEach(e=>e()),em=[]}}},r.feedbackModalIntegration=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:r,shadow:a})=>{var i;let s,l,u,c,d=e.useSentryUser,_=(s=n.getCurrentScope().getUser(),l=n.getIsolationScope().getUser(),u=n.getGlobalScope().getUser(),s&&Object.keys(s).length?s:l&&Object.keys(l).length?l:u),p=o.createElement("div"),E=(i=e.styleNonce,(c=o.createElement("style")).textContent=`
386:host {
387  --dialog-inset: var(--inset);
388}
389
390${eV}
391${eH}
392${ej}
393${eY}
394${eW}
395`,i&&c.setAttribute("nonce",i),c),S="",T={get el(){return p},appendToDom(){a.contains(E)||a.contains(p)||(a.appendChild(E),a.appendChild(p))},removeFromDom(){p.remove(),E.remove(),o.body.style.overflow=S},open(){f(!0),e.onFormOpen?.(),n.getClient()?.emit("openFeedbackWidget"),S=o.body.style.overflow,o.body.style.overflow="hidden"},close(){f(!1),o.body.style.overflow=S}},g=t?.createInput({h:$,hooks:ew,dialog:T,options:e}),f=t=>{var n,a,o,i;n=$(eF,{options:e,screenshotInput:g,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:String(d&&_?.[d.name]||""),defaultEmail:String(d&&_?.[d.email]||""),onFormClose:()=>{f(!1),e.onFormClose?.()},onSubmit:r,onSubmitSuccess:(t,r)=>{f(!1),e.onSubmitSuccess?.(t,r)},onSubmitError:t=>{e.onSubmitError?.(t)},onFormSubmitted:()=>{e.onFormSubmitted?.()},open:t}),L.__&&L.__(n,p),a=p.__k,o=[],i=[],ea(p,n=p.__k=$(q,null,[n]),a||F,F,void 0!==p.ownerSVGElement,a?null:p.firstChild?D.call(p.childNodes):null,o,a?a.__e:p.firstChild,!1,i),n.__d=void 0,eo(o,n,i)};return T}}),r.feedbackScreenshotIntegration=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:r,options:n})=>{let s=o.createElement("canvas");return{input:function({h:e,hooks:t,outputBuffer:r,dialog:n,options:s}){var l;let u,c,d,_=function({hooks:e}){return function({onBeforeScreenshot:t,onScreenshot:r,onAfterScreenshot:n,onError:s}){let l=function(){let[t,r]=e.useState(a.devicePixelRatio??1);return e.useEffect(()=>{let e=()=>{r(a.devicePixelRatio)},t=matchMedia(`(resolution: ${a.devicePixelRatio}dppx)`);return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}},[]),t}();e.useEffect(()=>{(async()=>{t();let e=await i.mediaDevices.getDisplayMedia({video:{width:a.innerWidth*l,height:a.innerHeight*l},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),s=o.createElement("video");await new Promise((t,n)=>{s.srcObject=e,s.onloadedmetadata=()=>{r(s,l),e.getTracks().forEach(e=>e.stop()),t()},s.play().catch(n)}),n()})().catch(s)},[])}}({hooks:t}),p=function({h:e}){return function({action:t,setAction:r,options:n}){return e("div",{class:"editor__tool-container"},e("div",{class:"editor__tool-bar"},e("button",{type:"button",class:`editor__tool ${"highlight"===t?"editor__tool--active":""}`,onClick:()=>{r("highlight"===t?"":"highlight")}},n.highlightToolText),e("button",{type:"button",class:`editor__tool ${"hide"===t?"editor__tool--active":""}`,onClick:()=>{r("hide"===t?"":"hide")}},n.hideToolText)))}}({h:e}),E=function({h:e}){return function(){return e("svg",{"data-test-id":"icon-close",viewBox:"0 0 16 16",fill:"#2B2233",he
395ight:"25px",width:"25px"},e("circle",{r:"7",cx:"8",cy:"8",fill:"white"}),e("path",{strokeWidth:"1.5",d:"M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"}),e("path",{strokeWidth:"1.5",d:"M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"}),e("path",{strokeWidth:"1.5",d:"M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"}))}}({h:e}),S={__html:(l=s.styleNonce,u=o.createElement("style"),c="#1A141F",d="#302735",u.textContent=`
396.editor {
397  display: flex;
398  flex-grow: 1;
399  flex-direction: column;
400}
401
402.editor__image-container {
403  justify-items: center;
404  padding: 15px;
405  position: relative;
406  height: 100%;
407  border-radius: var(--menu-border-radius, 6px);
408
409  background-color: ${c};
410  background-image: repeating-linear-gradient(
411      -145deg,
412      transparent,
413      transparent 8px,
414      ${c} 8px,
415      ${c} 11px
416    ),
417    repeating-linear-gradient(
418      -45deg,
419      transparent,
420      transparent 15px,
421      ${d} 15px,
422      ${d} 16px
423    );
424}
425
426.editor__canvas-container {
427  width: 100%;
428  height: 100%;
429  position: relative;
430  display: flex;
431  align-items: center;
432  justify-content: center;
433}
434
435.editor__canvas-container > * {
436  object-fit: contain;
437  position: absolute;
438}
439
440.editor__tool-container {
441  padding-top: 8px;
442  display: flex;
443  justify-content: center;
444}
445
446.editor__tool-bar {
447  display: flex;
448  gap: 8px;
449}
450
451.editor__tool {
452  display: flex;
453  padding: 8px 12px;
454  justify-content: center;
455  align-items: center;
456  border: var(--button-border, var(--border));
457  border-radius: var(--button-border-radius, 6px);
458  background: var(--button-background, var(--background));
459  color: var(--button-color, var(--foreground));
460}
461
462.editor__tool--active {
463  background: var(--button-primary-background, var(--accent-background));
464  color: var(--button-primary-color, var(--accent-foreground));
465}
466
467.editor__rect {
468  position: absolute;
469  z-index: 2;
470}
471
472.editor__rect button {
473  opacity: 0;
474  position: absolute;
475  top: -12px;
476  right: -12px;
477  cursor: pointer;
478  padding: 0;
479  z-index: 3;
480  border: none;
481  background: none;
482}
483
484.editor__rect:hover button {
485  opacity: 1;
486}
487`,l&&u.setAttribute("nonce",l),u).innerText},T=n.el.style,g=({screenshot:n})=>{let[i,l]=t.useState("highlight"),[u,c]=t.useState([]),d=t.useRef(null),_=t.useRef(null),T=t.useRef(null),g=t.useRef(null),[f,m]=t.useState(1),h=t.useMemo(()=>{let e=o.getElementById(s.id);if(!e)return"white";let t=getComputedStyle(e);return t.getPropertyValue("--button-primary-background")||t.getPropertyValue("--accent-background")},[s.id]);t.useLayoutEffect(()=>{let e=()=>{let t=d.current;t&&(e$(n.canvas,{alpha:!1},e=>{m(Math.min(t.clientWidth/e.width,t.clientHeight/e.height))}),(0===t.clientHeight||0===t.clientWidth)&&setTimeout(e,0))};return e(),a.addEventListener("resize",e),()=>{a.removeEventListener("resize",e)}},[n]);let A=t.useCallback((e,t)=>{e$(e,{alpha:!0},(e,r)=>{r.scale(t,t),e.width=n.canvas.width,e.height=n.canvas.height})},[n]);t.useEffect(()=>{A(_.current,n.dpi),eK(_.current,n.canvas)},[n]),t.useEffect(()=>{A(T.current,n.dpi),e$(T.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),eq(T.current,h,u)},[u,h]),t.useEffect(()=>{A(r,n.dpi),eK(r,n.canvas),e$(o.createElement("canvas"),{alpha:!0},(e,t)=>{t.scale(n.dpi,n.dpi),e.width=n.canvas.width,e.height=n.canvas.height,eq(e,h,u),eK(r,e)})},[u,n,h]);let R=t.useCallback(e=>t=>{t.preventDefault(),t.stopPropagation(),c(t=>{let r=[...t];return r.splice(e,1),r})},[]),I={width:`${n.canvas.width*f}px`,height:`${n.canvas.height*f}px`},y=e=>{e.stopPropagation()};return e("div",{class:"editor"},e("style",{nonce:s.styleNonce,dangerouslySetInnerHTML:S}),e("div",{class:"editor__image-container"},e("div",{class:"editor__canvas-container",ref:d},e("canvas",{ref:_,id:"background",style:I}),e("canvas",{ref:T,id:"foreground",style:I}),e("div",{ref:g,onMouseDown:e=>{if(!i||!g.current)return;let t=g.current.getBoundingClientRect(),r={type:i,x:e.offsetX/f,y:e.offsetY/f},n=(e,r)=>
487{let n=(r.clientX-t.x)/f,a=(r.clientY-t.y)/f;return{type:e.type,x:Math.min(e.x,n),y:Math.min(e.y,a),w:Math.abs(n-e.x),h:Math.abs(a-e.y)}},a=e=>{e$(T.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),eq(T.current,h,[...u,n(r,e)])},s=e=>{let t=n(r,e);t.w*f>=1&&t.h*f>=1&&c(e=>[...e,t]),o.removeEventListener("mousemove",a),o.removeEventListener("mouseup",s)};o.addEventListener("mousemove",a),o.addEventListener("mouseup",s)},style:I},u.map((t,r)=>e("div",{key:r,class:"editor__rect",style:{top:`${t.y*f}px`,left:`${t.x*f}px`,width:`${t.w*f}px`,height:`${t.h*f}px`}},e("button",{"aria-label":s.removeHighlightText,onClick:R(r),onMouseDown:y,onMouseUp:y,type:"button"},e(E,null))))))),e(p,{options:s,action:i,setAction:l}))};return function({onError:n}){let[a,i]=t.useState();return(_({onBeforeScreenshot:t.useCallback(()=>{T.display="none"},[]),onScreenshot:t.useCallback((e,t)=>{e$(o.createElement("canvas"),{alpha:!1},(r,n)=>{n.scale(t,t),r.width=e.videoWidth,r.height=e.videoHeight,n.drawImage(e,0,0,r.width,r.height),i({canvas:r,dpi:t})}),r.width=e.videoWidth,r.height=e.videoHeight},[]),onAfterScreenshot:t.useCallback(()=>{T.display="block"},[]),onError:t.useCallback(e=>{T.display="block",n(e)},[])}),a)?e(g,{screenshot:a}):e("div",null)}}({h:e,hooks:t,outputBuffer:s,dialog:r,options:n}),value:async()=>{let e=await new Promise(e=>{s.toBlob(e,"image/png")});if(e)return{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),r.getFeedback=function(){let e=n.getClient();return e?.getIntegrationByName("Feedback")},r.sendFeedback=N},705889,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=n.GLOBAL_OBJ,o=0;function i(){o++,setTimeout(()=>{o--})}r.WINDOW=a,r.getHttpRequestData=function(){let e=n.getLocationHref(),{referrer:t}=a.document||{},{userAgent:r}=a.navigator||{};return{url:e,headers:{...t&&{Referer:t},...r&&{"User-Agent":r}}}},r.ignoreNextOnError=i,r.shouldIgnoreOnError=function(){return o>0},r.wrap=function e(t,r={}){if("function"!=typeof t)return t;try{let e=t.__sentry_wrapped__;if(e)if("function"==typeof e)return e;else return t;if(n.getOriginalFunction(t))return t}catch{return t}let a=function(...a){try{let n=a.map(t=>e(t,r));return t.apply(this,n)}catch(e){throw i(),n.withScope(t=>{t.addEventProcessor(e=>(r.mechanism&&(n.addExceptionTypeValue(e,void 0,void 0),n.addExceptionMechanism(e,r.mechanism)),e.extra={...e.extra,arguments:a},e)),n.captureException(e)}),e}};try{for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(a[e]=t[e])}catch{}n.markFunctionWrapped(a,t),n.addNonEnumerableProperty(t,"__sentry_wrapped__",a);try{Object.getOwnPropertyDescriptor(a,"name").configurable&&Object.defineProperty(a,"name",{get:()=>t.name})}catch{}return a}},293976,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(705889),o={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",graphqlClientIntegration:"graphqlclient",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",browserProfilingIntegration:"browserprofiling",moduleMetadataIntegration:"modulemetadata",instrumentAnthropicAiClient:"instrumentanthropicaiclient",instrumentOpenAiClient:"instrumentopenaiclient",instrumentGoogleGenAIClient:"instrumentgooglegenaiclient",instrumentLangGraph:"instrumentlanggraph",createLangChainCallbackHandler:"createlangchaincallbackhandler"},i=a.WINDOW;r.lazyLoadIntegration=async function e(e,t){var r;let s,l,u=o[e],c=i.Sentry=i.Sentry||{};if(!u)throw Error(`Cannot lazy load integration: ${e}`);let d=c[e];if("function"==typeof d&&!("_isShim"in d))return d;let _=(r=u,s=n.getClient(),l=s?.getOptions()?.cdnBaseUrl||"https://browser.sentry-cdn.com",new URL(`/${n.S
487DK_VERSION}/${r}.min.js`,l).toString()),p=a.WINDOW.document.createElement("script");p.src=_,p.crossOrigin="anonymous",p.referrerPolicy="strict-origin",t&&p.setAttribute("nonce",t);let E=new Promise((e,t)=>{p.addEventListener("load",()=>e()),p.addEventListener("error",t)}),S=a.WINDOW.document.currentScript,T=a.WINDOW.document.body||a.WINDOW.document.head||S?.parentElement;if(T)T.appendChild(p);else throw Error(`Could not find parent element to insert lazy-loaded ${e} script`);try{await E}catch{throw Error(`Error when loading integration: ${e}`)}let g=c[e];if("function"!=typeof g)throw Error(`Could not load integration: ${e}`);return g}},782436,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(72656),a=e.r(293976);r.feedbackAsyncIntegration=n.buildFeedbackIntegration({lazyLoadIntegration:a.lazyLoadIntegration})},293078,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(72656);r.feedbackSyncIntegration=n.buildFeedbackIntegration({getModalIntegration:()=>n.feedbackModalIntegration,getScreenshotIntegration:()=>n.feedbackScreenshotIntegration})},45595,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);function a(e,t){let r=i(e,t),n={type:u(t),value:c(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function o(e,t){return{exception:{values:[a(e,t)]}}}function i(e,t){var r,n;let a=t.stacktrace||t.stack||"",o=(r=t)&&s.test(r.message)?1:0,i="number"==typeof(n=t).framesToPop?n.framesToPop:0;try{return e(a,o,i)}catch{}return[]}let s=/Minified React error #\d+;/i;function l(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function u(e){let t=e?.name;return!t&&l(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function c(e){let t=e?.message;return l(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?n._INTERNAL_enhanceErrorWithSentryInfo(t.error):n._INTERNAL_enhanceErrorWithSentryInfo(e):"No error message"}function d(e,t,r,s,l){let u;if(n.isErrorEvent(t)&&t.error)return o(e,t.error);if(n.isDOMError(t)||n.isDOMException(t)){if("stack"in t)u=o(e,t);else{let a=t.name||(n.isDOMError(t)?"DOMError":"DOMException"),o=t.message?`${a}: ${t.message}`:a;u=_(e,o,r,s),n.addExceptionTypeValue(u,o)}return"code"in t&&(u.tags={...u.tags,"DOMException.code":`${t.code}`}),u}return n.isError(t)?o(e,t):(n.isPlainObject(t)||n.isEvent(t)?u=function(e,t,r,o){let s=n.getClient(),l=s?.getOptions().normalizeDepth,u=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(r instanceof Error)return r}}(t),c={__serialized__:n.normalizeToSize(t,l)};if(u)return{exception:{values:[a(e,u)]},extra:c};let d={exception:{values:[{type:n.isEvent(t)?t.constructor.name:o?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=n.extractExceptionKeysForMessage(e),a=t?"promise rejection":"exception";if(n.isErrorEvent(e))return`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``;if(n.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 ${a}`}return`Object captured as ${a} with keys: ${r}`}(t,{isUnhandledRejection:o})}]},extra:c};if(r){let t=i(e,r);t.length&&(d.exception.values[0].stacktrace={frames:t})}return d}(e,t,r,l):(u=_(e,t,r,s),n.addExceptionTypeValue(u,`${t}`,void 0)),n.addExceptionMechanism(u,{synthetic:!0}),u)}function _(e,t,r,a){let o={};if(a&&r){let a=i(e,r);a.length&&(o.exception={values:[{value:t,stacktrace:{frames:a}}]}),n.addExceptionMechanism(o,{synthetic:!0})}if(n.isParameterizedString(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return o.logentry={message:e,params:r},o}return o.message=t,o}r.eventFromException=function(e,t,r,a){let o=d(e,t,r?.syntheticException||void 0,a);return n.addExceptionMechanism(o),o.level="error",r?.event_id&&(o.event_id=r.event_id),n.resolvedSyncPromise(o)},r.eventFromMessage=function(e,t,r="info",a,o){let i=_(e,t,a?.syntheticException||void 0,o);return i.level=r,a?.event_id&&(i.event_id=a.event_id),n.resolvedSyncPromise(i)},r.eventFromUnknownInput=d,r.exceptionFromError=a,r.extractMessage=c,r.extractType=u},32531,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(45595),o=e.r(705889);class i extends n.Client{constructor(e){const t=s(e),r=o.WINDOW.SENTRY_SDK_SOURCE||n.getSDKSource();n.applySdkMetadata(t,"browser",["browser"],r),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:a,sendClientReports:i,enableLogs:l,_experiments:u,enableMetrics:c}=this._options,d=c??u?.enableMetrics??!0;o.WINDOW.document&&(i||l||d)&&o.WINDOW.document.addEventListener("visibilitychange",()=>{"hidden"===o.WINDOW.document.visibilityState&&(i&&this._flushOutcomes(),l&&n._INTERNAL_flushLogsBuffer(this),d&&n._INTERNAL_flushMetricsBuffer(this))}),a&&this.on("beforeSendSession",n.addAutoIpAddressToSession)}eventFromException(e,t){return a.eventFromException(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return a.eventFromMessage(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}function s(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:o.WINDOW.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}r.BrowserClient=i,r.applyDefaultOptions=s},332425,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.DEBUG_BUILD="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},599161,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.WINDOW=e.r(814923).GLOBAL_OBJ},622382,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.bindReporter=(e,t,r,n)=>{let a,o;return i=>{if(t.value>=0&&(i||n)&&((o=t.value-(a??0))||void 0===a)){var s;a=t.value,t.delta=o,s=t.value,t.rating=s>r[1]?"poor":s>r[0]?"needs-improvement":"good",e(t)}}}},109639,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161);r.getNavigationEntry=(e=!0)=>{let t=n.WINDOW.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t}},575199,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(109639);r.getActivationStart=()=>{let e=n.getNavigationEntry();return e?.activationStart??0}},619323,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161);r.addPageListener=function(e,t,r){n.WINDOW.document&&n.WINDOW.addEventListener(e,t,r)},r.removePageListener=function(e,t,r){n.WINDOW.document&&n.WINDOW.removeEventListener(e,t,r)}},921951,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161),a=e.r(575199),o=e.r(619323),i=-1,s=new Set,l=e=>{if(("pagehide"===e.type||n.WINDOW.document?.visibilityState==="hidden")&&i>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of s)e();isFinite(i)||(i="visibilitychange"===e.type?e.timeStamp:0,o.removePageListener("prerenderingchange",l,!0))}};r.getVisibilityWatcher=()=>{if(n.WINDOW.document&&i<0){let e=a.getActivationStart();i=(n.WINDOW.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(n.WINDOW.document?.visibilityState!=="hidden"||n.WINDOW.document?.prerendering?1/0:0),o.addPageListener("visibilitychange",l,!0),o.addPageListener("pagehide",l,!0),o.addPageListener("prerenderingchange",l,!0)}return{get firstHiddenTime(){return i},onHidden(e){s.add(e)}}}},1818,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.generateUniqueID=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`},217590,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161),a=e.r(1818),o=e.r(575199),i=e.r(109639);r.initMetric=(e,t=-1)=>{let r=i.getNavigationEntry(),s="navigate";return r&&(n.WINDOW.document?.prerendering||o.getActivationStart()>0?s="prerender":n.WINDOW.document?.wasDiscarded?s="restore":r.type&&(s=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:a.generateUniqueID(),navigationType:s}}},660758,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=new WeakMap;r.initUnique=function(e,t){try{return n.get(e)||n.set(e,new t),n.get(e)}catch(e){return new t}}},358467,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.LayoutShiftManager=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}},508498,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.observe=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}}},829743,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.runOnce=e=>{let t=!1;return()=>{t||(e(),t=!0)}}},367156,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161);r.whenActivated=e=>{n.WINDOW.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()}},955119,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(622382),a=e.r(575199),o=e.r(921951),i=e.r(217590),s=e.r(508498),l=e.r(367156),u=[1800,3e3];r.FCPThresholds=u,r.onFCP=(e,t={})=>{l.whenActivated(()=>{let r,l=o.getVisibilityWatcher(),c=i.initMetric("FCP"),d=s.observe("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(d.disconnect(),t.startTime<l.firstHiddenTime&&(c.value=Math.max(t.startTime-a.getActivationStart(),0),c.entries.push(t),r(!0)))});d&&(r=n.bindReporter(e,c,u,t.reportAllChanges))})}},231,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161),a=e.r(622382),o=e.r(921951),i=e.r(217590),s=e.r(660758),l=e.r(358467),u=e.r(508498),c=e.r(829743),d=e.r(955119),_=[.1,.25];r.CLSThresholds=_,r.onCLS=(e,t={})=>{d.onFCP(c.runOnce(()=>{let r,c=i.initMetric("CLS",0),d=o.getVisibilityWatcher(),p=s.initUnique(t,l.LayoutShiftManager),E=e=>{for(let t of e)p._processEntry(t);p._sessionValue>c.value&&(c.value=p._sessionValue,c.entries=p._sessionEntries,r())},S=u.observe("layout-shift",E);S&&(r=a.bindReporter(e,c,_,t.reportAllChanges),d.onHidden(()=>{E(S.takeRecords()),r(!0)}),n.WINDOW?.setTimeout?.(r))}))}},504530,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(508498),o=0,i=1/0,s=0,l=e=>
487{e.forEach(e=>{e.interactionId&&(i=Math.min(i,e.interactionId),o=(s=Math.max(s,e.interactionId))?(s-i)/7+1:0)})};r.getInteractionCount=()=>n?o:performance.interactionCount||0,r.initInteractionCountPolyfill=()=>{"interactionCount"in performance||n||(n=a.observe("event",l,{type:"event",buffered:!0,durationThreshold:0}))}},262830,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(504530),a=0;r.InteractionManager=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){a=n.getInteractionCount(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((n.getInteractionCount()-a)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<10||e.duration>t._latency){if(r?e.duration>r._latency?(r.entries=[e],r._latency=e.duration):e.duration===r._latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(r)}}}},72765,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161),a=e.r(619323),o=e.r(829743);r.whenIdleOrHidden=e=>{let t=n.WINDOW.requestIdleCallback||n.WINDOW.setTimeout;n.WINDOW.document?.visibilityState==="hidden"?e():(e=o.runOnce(e),a.addPageListener("visibilitychange",e,{once:!0,capture:!0}),a.addPageListener("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),a.removePageListener("visibilitychange",e,{capture:!0}),a.removePageListener("pagehide",e,{capture:!0})}))}},4424,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(622382),a=e.r(921951),o=e.r(217590),i=e.r(660758),s=e.r(262830),l=e.r(508498),u=e.r(504530),c=e.r(367156),d=e.r(72765),_=[200,500];r.INPThresholds=_,r.onINP=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let r=a.getVisibilityWatcher();c.whenActivated(()=>{let a;u.initInteractionCountPolyfill();let c=o.initMetric("INP"),p=i.initUnique(t,s.InteractionManager),E=e=>{d.whenIdleOrHidden(()=>{for(let t of e)p._processEntry(t);let t=p._estimateP98LongestInteraction();t&&t._latency!==c.value&&(c.value=t._latency,c.entries=t.entries,a())})},S=l.observe("event",E,{durationThreshold:t.durationThreshold??40});a=n.bindReporter(e,c,_,t.reportAllChanges),S&&(S.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{E(S.takeRecords()),a(!0)}))})}},834953,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.LCPEntryManager=class{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}},844972,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(622382),a=e.r(575199),o=e.r(921951),i=e.r(619323),s=e.r(217590),l=e.r(660758),u=e.r(834953),c=e.r(508498),d=e.r(829743),_=e.r(367156),p=e.r(72765),E=[2500,4e3];r.LCPThresholds=E,r.onLCP=(e,t={})=>{_.whenActivated(()=>{let r,_=o.getVisibilityWatcher(),S=s.initMetric("LCP"),T=l.initUnique(t,u.LCPEntryManager),g=e=>{for(let n of(t.reportAllChanges||(e=e.slice(-1)),e))T._processEntry(n),n.startTime<_.firstHiddenTime&&(S.value=Math.max(n.startTime-a.getActivationStart(),0),S.entries=[n],r())},f=c.observe("largest-contentful-paint",g);if(f){r=n.bindReporter(e,S,E,t.reportAllChanges);let a=d.runOnce(()=>{g(f.takeRecords()),f.disconnect(),r(!0)}),o=e=>{e.isTrusted&&(p.whenIdleOrHidden(a),i.removePageListener(e.type,o,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])i.addPageListener(e,o,{capture:!0})}})}},622359,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161),a=e.r(622382),o=e.r(575199),i=e.r(109639),s=e.r(217590),l=e.r(367156),u=[800,1800],c=e=>{n.WINDOW.document?.prerendering?l.whenActivated(()=>c(e)):n.WINDOW.document?.readyState!=="complete"?addEventListener("load",()=>c(e),!0):setTimeout(e)};r.TTFBThresholds=u,r.onTTFB=(e,t={})=>{let r=s.initMetric("TTFB"),n=a.bindReporter(e,r,u,t.reportAllChanges);c(()=>{let e=i.getNavigationEntry();e&&(r.value=Math.max(e.responseStart-o.getActivationStart(),0),r.entries=[e],n(!0))})}},645722,(e,t,r)=>{let n,a,o,i;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let s=e.r(814923),l=e.r(332425),u=e.r(231),c=e.r(4424),d=e.r(844972),_=e.r(508498),p=e.r(622359),E={},S={};function T(e,t){let r=E[e];if(r?.length)for(let n of r)try{n(t)}catch(t){l.DEBUG_BUILD&&s.debug.error(`Error while triggering instrumentation handler.
488Type: ${e}
489Name: ${s.getFunctionName(n)}
490Error:`,t)}}function g(){return u.onCLS(e=>{T("cls",{metric:e}),n=e},{reportAllChanges:!0})}function f(){return d.onLCP(e=>{T("lcp",{metric:e}),a=e},{reportAllChanges:!0})}function m(){return p.onTTFB(e=>{T("ttfb",{metric:e}),o=e})}function h(){return c.onINP(e=>{T("inp",{metric:e}),i=e})}function A(e,t,r,n,a=!1){let o;return R(e,t),S[e]||(o=r(),S[e]=!0),n&&t({metric:n}),I(e,t,a?o:void 0)}function R(e,t){E[e]=E[e]||[],E[e].push(t)}function I(e,t,r){return()=>{r&&r();let n=E[e];if(!n)return;let a=n.indexOf(t);-1!==a&&n.splice(a,1)}}r.addClsInstrumentationHandler=function(e,t=!1){return A("cls",e,g,n,t)},r.addInpInstrumentationHandler=function(e){return A("inp",e,h,i)},r.addLcpInstrumentationHandler=function(e,t=!1){return A("lcp",e,f,a,t)},r.addPerformanceInstrumentationHandler=function(e,t){var r;let n;return R(e,t),S[e]||(n={},"event"===(r=e)&&(n.durationThreshold=0),_.observe(r,e=>
490{T(r,{entries:e})},n),S[e]=!0),I(e,t)},r.addTtfbInstrumentationHandler=function(e){return A("ttfb",e,m,o)},r.isPerformanceEventTiming=function(e){return"duration"in e}},660842,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(599161),a=e.r(619323);r.onHidden=e=>{let t=t=>{("pagehide"===t.type||n.WINDOW.document?.visibilityState==="hidden")&&e(t)};a.addPageListener("visibilitychange",t,{capture:!0,once:!0}),a.addPageListener("pagehide",t,{capture:!0,once:!0})}},572179,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(599161),o=e.r(660842);r.extractNetworkProtocol=function(e){let t="unknown",r="unknown",n="";for(let a of e){if("/"===a){[t,r]=e.split("/");break}if(!isNaN(Number(a))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=a}return n===e&&(t=n),{name:t,version:r}},r.getBrowserPerformanceAPI=function(){return a.WINDOW.addEventListener&&a.WINDOW.performance},r.isMeasurementValue=function(e){return"number"==typeof e&&isFinite(e)},r.listenForWebVitalReportEvents=function(e,t){let r,n=!1;function a(e){!n&&r&&t(e,r),n=!0}o.onHidden(()=>{a("pagehide")});let i=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(a("navigation"),i(),s())}),s=e.on("afterStartPageLoadSpan",e=>{r=e.spanContext().spanId,s()})},r.msToSec=function(e){return e/1e3},r.startAndEndSpan=function(e,t,r,{...a}){let o=n.spanToJSON(e).start_timestamp;return o&&o>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),n.withActiveSpan(e,()=>{let e=n.startInactiveSpan({startTime:t,...a});return e&&e.end(r),e})},r.startStandaloneWebVitalSpan=function(e){let t,r=n.getClient();if(!r)return;let{name:o,transaction:i,attributes:s,startTime:l}=e,{release:u,environment:c,sendDefaultPii:d}=r.getOptions(),_=r.getIntegrationByName("Replay"),p=_?.getReplayId(),E=n.getCurrentScope(),S=E.getUser(),T=void 0!==S?S.email||S.id||S.ip_address:void 0;try{t=E.getScopeData().contexts.profile.profile_id}catch{}let g={release:u,environment:c,user:T||void 0,profile_id:t||void 0,replay_id:p||void 0,transaction:i,"user_agent.original":a.WINDOW.navigator?.userAgent,"client.address":d?"{{auto}}":void 0,...s};return n.startInactiveSpan({name:o,attributes:g,startTime:l,experimental:{standalone:!0}})},r.supportsWebVital=function(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}},9664,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(332425),o=e.r(645722),i=e.r(572179);function s(e,t,r,o){a.DEBUG_BUILD&&n.debug.log(`Sending CLS span (${e})`);let s=t?i.msToSec((n.browserPerformanceTimeOrigin()||0)+t.startTime):n.timestampInSeconds(),l=n.getCurrentScope().getScopeData().transactionName,u=t?n.htmlTreeAsString(t.sources[0]?.node):"Layout shift",c={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":r,"sentry.report_event":o};t?.sources&&t.sources.forEach((e,t)=>{c[`cls.source.${t+1}`]=n.htmlTreeAsString(e.node)});let d=i.startStandaloneWebVitalSpan({name:u,transaction:l,attributes:c,startTime:s});d&&(d.addEvent("cls",{[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),d.end(s))}r._sendStandaloneClsSpan=s,r.trackClsAsStandaloneSpan=function(e){let t,r=0;if(!i.supportsWebVital("layout-shift"))return;let n=o.addClsInstrumentationHandler(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);i.listenForWebVitalReportEvents(e,(e,a)=>{s(r,t,a,e),n()})}},273076,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(332425),o=e.r(645722),i=e.r(572179);function s(e,t,r,o){a.DEBUG_BUILD&&n.debug.log(`Sending LCP span (${e})`);let s=i.msToSec((n.browserPerformanceTimeOrigin()||0)+(t?.startTime||0)),l=n.getCurrentScope().getScopeData().transactionName,u=t?n.htmlTreeAsString(t.element):"Largest contentful paint",c={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":r,"sentry.report_event":o};t&&(t.element&&(c["lcp.element"]=n.htmlTreeAsString(t.element)),t.id&&(c["lcp.id"]=t.id),t.url&&(c["lcp.url"]=t.url),null!=t.loadTime&&(c["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(c["lcp.renderTime"]=t.renderTime),null!=t.size&&(c["lcp.size"]=t.size));let d=i.startStandaloneWebVitalSpan({name:u,transaction:l,attributes:c,startTime:s});d&&(d.addEvent("lcp",{[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),d.end(s))}r._sendStandaloneLcpSpan=s,r.trackLcpAsStandaloneSpan=function(e){let t,r=0;if(!i.supportsWebVital("largest-contentful-paint"))return;let n=o.addLcpInstrumentationHandler(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);i.listenForWebVitalReportEvents(e,(e,a)=>{s(r,t,a,e),n()})}},844377,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(572179);function o(e){return e?((n.browserPerformanceTimeOrigin()||performance.timeOrigin)+e)/1e3:e}r.resourceTimingToSpanAttributes=function(e){let t={};if(void 0!=e.nextHopProtocol){let{name:r,version:n}=a.extractNetworkProtocol(e.nextHopProtocol);t["network.protocol.version"]=n,t["network.protocol.name"]=r}return n.browserPerformanceTimeOrigin()||a.getBrowserPerformanceAPI()?.timeOrigin?Object.fromEntries(Object.entries({...t,"http.request.redirect_start":o(e.redirectStart),"http.request.redirect_end":o(e.redirectEnd),"http.request.worker_start":o(e.workerStart),"http.request.fetch_start":o(e.fetchStart),"http.request.domain_lookup_start":o(e.domainLookupStart),"http.request.domain_lookup_end":o(e.domainLookupEnd),"http.request.connect_start":o(e.connectStart),"http.request.secure_connection_start":o(e.secureConnectionStart),"http.request.connection_end":o(e.connectEnd),"http.request.request_start":o(e.requestStart),"http.request.response_start":o(e.responseStart),"http.request.response_end":o(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):t}},466226,(e,t,r)=>{let n,a;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let o=e.r(814923),i=e.r(599161),s=e.r(9664),l=e.r(645722),u=e.r(273076),c=e.r(844377),d=e.r(572179),_=e.r(575199),p=e.r(109639),E=e.r(921951),S=0,T={};function g(e,t,r,n,a,i){if(function(e){if(e?.entryType==="measure")try{return"Components ⚛"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&o.stringMatchesSomePattern(t.name,i))return;let s=p.getNavigationEntry(!1),l=a+Math.max(r,d.msToSec(s?s.requestStart:0)),u=a+r,c=u+n,_={[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};l!==u&&(_["sentry.browser.measure_happened_before_request"]=!0,_["sentry.browser.measure_start_time"]=l),function(e,t){try{let r=t.detail;if(!r)return;if("object"==typeof r){for(let[t,n]of Object.entries(r))if(n&&o.isPrimitive(n))e[`sentry.browser.measure.detail.${t}`]=n;else if(void 0!==n)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(n)}catch{}return}if(o.isPrimitive(r)){e["sentry.browser.measure.detail"]=r;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}(_,t),l<=c&&d.startAndEndSpan(e,l,c,{name:t.name,op:t.entryType,attributes:_})}function f(e,t,r){var n,a,i;let s,l,u;["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{m(e,t,n,r)}),m(e,t,"secureConnection",r,"TLS/SSL"),m(e,t,"fetch",r,"cache"),m(e,t,"domainLookup",r,"DNS"),n=e,a=t,s=(i=r)+d.msToSec(a.requestStart),l=i+d.msToSec(a.responseEnd),u=i+d.msToSec(a.responseStart),a.responseEnd&&(d.startAndEndSpan(n,s,l,{op:"browser.request",name:a.name,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),d.startAndEndSpan(n,u,l,{op:"browser.response",name:a.name,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}))}function m(e,t,r,n,a=r){var i;let s=t["secureConnection"===(i=r)?"connectEnd":"fetch"===i?"domainLookupStart":`${i}End`],l=t[`${r}Start`];l&&s&&d.startAndEndSpan(e,n+d.msToSec(l),n+d.msToSec(s),{op:`browser.${a}`,name:t.name,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===r&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}function h(e,t,r,n,a,s,l){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let u=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(l?.includes(u))return;let _={[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"},p=o.parseUrl(r);p.protocol&&(_["url.scheme"]=p.protocol.split(":").pop()),p.host&&(_["server.address"]=p.host),_["url.same_origin"]=r.includes(i.WINDOW.location.origin),A(t,_,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);let E={..._,...c.resourceTimingToSpanAttributes(t)},S=s+n;d.startAndEndSpan(e,S,S+a,{name:r.replace(i.WINDOW.location.origin,""),op:u,attributes:E})}function A(e,t,r){r.forEach(([r,n])=>{let a=e[r];null!=a&&("number"==typeof a&&a<0x7fffffff||"string"==typeof a)&&(t[n]=a)})}r._addMeasureSpans=g,r._addNavigationSpans=f,r._addResourceSpans=h,r._setResourceRequestAttributes=A,r.addPerformanceEntries=function(e,t){var r,s;let l=d.getBrowserPerformanceAPI(),u=o.browserPerformanceTimeOrigin();if(!l?.getEntries||!u)return;let c=d.msToSec(u),m=l.getEntries(),{op:A,start_timestamp:R}=o.spanToJSON(e);
490m.slice(S).forEach(r=>{let n=d.msToSec(r.startTime),a=d.msToSec(Math.max(0,r.duration));if("navigation"!==A||!R||!(c+n<R))switch(r.entryType){case"navigation":f(e,r,c);break;case"mark":case"paint":case"measure":{g(e,r,n,a,c,t.ignorePerformanceApiSpans);let o=E.getVisibilityWatcher(),i=r.startTime<o.firstHiddenTime;"first-paint"===r.name&&i&&(T.fp={value:r.startTime,unit:"millisecond"}),"first-contentful-paint"===r.name&&i&&(T.fcp={value:r.startTime,unit:"millisecond"});break}case"resource":h(e,r,r.name,n,a,c,t.ignoreResourceSpans)}}),S=Math.max(m.length-1,0),function(e){let t=i.WINDOW.navigator;if(!t)return;let r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),d.isMeasurementValue(r.rtt)&&(T["connection.rtt"]={value:r.rtt,unit:"millisecond"})),d.isMeasurementValue(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),d.isMeasurementValue(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===A&&(function(e){let t=p.getNavigationEntry(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}(T),t.recordClsOnPageloadSpan||delete T.cls,t.recordLcpOnPageloadSpan||delete T.lcp,Object.entries(T).forEach(([e,t])=>{o.setMeasurement(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",c),e.setAttribute("performance.activationStart",_.getActivationStart()),r=e,s=t,n&&s.recordLcpOnPageloadSpan&&(n.element&&r.setAttribute("lcp.element",o.htmlTreeAsString(n.element)),n.id&&r.setAttribute("lcp.id",n.id),n.url&&r.setAttribute("lcp.url",n.url.trim().slice(0,200)),null!=n.loadTime&&r.setAttribute("lcp.loadTime",n.loadTime),null!=n.renderTime&&r.setAttribute("lcp.renderTime",n.renderTime),r.setAttribute("lcp.size",n.size)),a?.sources&&s.recordClsOnPageloadSpan&&a.sources.forEach((e,t)=>r.setAttribute(`cls.source.${t+1}`,o.htmlTreeAsString(e.node)))),n=void 0,a=void 0,T={}},r.startTrackingInteractions=function(){l.addPerformanceInstrumentationHandler("event",({entries:e})=>
490{let t=o.getActiveSpan();if(t){for(let r of e)if("click"===r.name){let e=d.msToSec(o.browserPerformanceTimeOrigin()+r.startTime),n=d.msToSec(r.duration),a={name:o.htmlTreeAsString(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},i=o.getComponentName(r.target);i&&(a.attributes["ui.component_name"]=i),d.startAndEndSpan(t,e,e+n,a)}}})},r.startTrackingLongAnimationFrames=function(){new PerformanceObserver(e=>{let t=o.getActiveSpan();if(t)for(let r of e.getEntries()){if(!r.scripts[0])continue;let e=d.msToSec(o.browserPerformanceTimeOrigin()+r.startTime),{start_timestamp:n,op:a}=o.spanToJSON(t);if("navigation"===a&&n&&e<n)continue;let i=d.msToSec(r.duration),s={[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},{invoker:l,invokerType:u,sourceURL:c,sourceFunctionName:_,sourceCharPosition:p}=r.scripts[0];s["browser.script.invoker"]=l,s["browser.script.invoker_type"]=u,c&&(s["code.filepath"]=c),_&&(s["code.function"]=_),-1!==p&&(s["browser.script.source_char_position"]=p),d.startAndEndSpan(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:s})}}).observe({type:"long-animation-frame",buffered:!0})},r.startTrackingLongTasks=function(){l.addPerformanceInstrumentationHandler("longtask",({entries:e})=>
490{let t=o.getActiveSpan();if(!t)return;let{op:r,start_timestamp:n}=o.spanToJSON(t);for(let a of e){let e=d.msToSec(o.browserPerformanceTimeOrigin()+a.startTime),i=d.msToSec(a.duration);"navigation"===r&&n&&e<n||d.startAndEndSpan(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}})},r.startTrackingWebVitals=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){let c=d.getBrowserPerformanceAPI();if(c&&o.browserPerformanceTimeOrigin()){c.mark&&i.WINDOW.performance.mark("sentry-tracing-init");let o=t?u.trackLcpAsStandaloneSpan(r):l.addLcpInstrumentationHandler(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(T.lcp={value:e.value,unit:"millisecond"},n=t)},!0),d=l.addTtfbInstrumentationHandler(({metric:e})=>{e.entries[e.entries.length-1]&&(T.ttfb={value:e.value,unit:"millisecond"})}),_=e?s.trackClsAsStandaloneSpan(r):l.addClsInstrumentationHandler(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(T.cls={value:e.value,unit:""},a=t)},!0);return()=>{o?.(),d(),_?.()}}return()=>void 0}},968063,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(645722),o=e.r(572179),i=({entries:e})=>{let t=n.getActiveSpan(),r=t?n.getRootSpan(t):void 0,a=r?n.spanToJSON(r).description:n.getCurrentScope().getScopeData().transactionName;e.forEach(e=>{if(!e.identifier)return;let t=e.name,r=e.renderTime,i=e.loadTime,[s,l]=i?[o.msToSec(i),"load-time"]:r?[o.msToSec(r),"render-time"]:[n.timestampInSeconds(),"entry-emission"],u="image-paint"===t?o.msToSec(Math.max(0,(r??0)-(i??0))):0,c={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.elementtiming",[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.elementtiming",[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"component","sentry.span_start_time_source":l,"sentry.transaction_name":a,"element.id":e.id,"element.type":e.element?.tagName?.toLowerCase()||"unknown","element.size":e.naturalWidth&&e.naturalHeight?`${e.naturalWidth}x${e.naturalHeight}`:void 0,"element.render_time":r,"element.load_time":i,"element.url":e.url||void 0,"element.identifier":e.identifier,"element.paint_type":t};n.startSpan({name:`element[${e.identifier}]`,attributes:c,startTime:s,onlyIfParent:!0},e=>{e.end(s+u)})})};r._onElementTiming=i,r.startTrackingElementTiming=function(){return o.getBrowserPerformanceAPI()&&n.browserPerformanceTimeOrigin()?a.addPerformanceInstrumentationHandler("element",i):()=>void 0}},426769,(e,t,r)=>{let n,a,o;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let i=e.r(814923),s=e.r(599161);function l(){if(!s.WINDOW.document)return;let e=i.triggerHandlers.bind(null,"dom"),t=u(e,!0);s.WINDOW.document.addEventListener("click",t,!1),s.WINDOW.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=s.WINDOW,n=r[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(i.fill(n,"addEventListener",function(t){return function(r,n,a){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=n[r]=n[r]||{refCount:0};if(!o.handler){let n=u(e);o.handler=n,t.call(this,r,n,a)}o.refCount++}catch{}return t.call(this,r,n,a)}}),i.fill(n,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},a=r[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,n),a.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,r,n)}}))})}function u(e,t=!1){return r=>{var l;if(!r||r._sentryCaptured)return;let u=function(e){try{return e.target}catch{return null}}(r);if(l=r.type,"keypress"===l&&(!u?.tagName||"INPUT"!==u.tagName&&"TEXTAREA"!==u.tagName&&!u.isContentEditable&&1))return;i.addNonEnumerableProperty(r,"_sentryCaptured",!0),u&&!u._sentryId&&i.addNonEnumerableProperty(u,"_sentryId",i.uuid4());let c="keypress"===r.type?"input":r.type;!function(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch{}return!0}(r)&&(e({event:r,name:c,global:t}),a=r.type,o=u?u._sentryId:void 0),clearTimeout(n),n=s.WINDOW.setTimeout(()=>{o=void 0,a=void 0},1e3)}}r.addClickKeypressInstrumentationHandler=function(e){i.addHandler("dom",e),i.maybeInstrument("dom",l)},r.instrumentDOM=l},601106,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(814923),o=e.r(599161);function i(){function e(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let i=n,s=function(e){try{return new URL(e,o.WINDOW.location.origin).toString()}catch{return e}}(String(r));if(n=s,i===s)return e.apply(this,t);a.triggerHandlers("history",{from:i,to:s})}return e.apply(this,t)}}o.WINDOW.addEventListener("popstate",()=>{let e=o.WINDOW.location.href,t=n;n=e,t===e||a.triggerHandlers("history",{from:t,to:e})}),a.supportsHistory()&&(a.fill(o.WINDOW.history,"pushState",e),a.fill(o.WINDOW.history,"replaceState",e))}r.addHistoryInstrumentationHandler=function(e){let t="history";a.addHandler(t,e),a.maybeInstrument(t,i)},r.instrumentHistory=i},58803,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(332425),o=e.r(599161),i={};function s(e){let t=i[e];if(t)return t;let r=o.WINDOW[e];if(n.isNativeFunction(r))return i[e]=r.bind(o.WINDOW);let s=o.WINDOW.document;if(s&&"function"==typeof s.createElement)try{let t=s.createElement("iframe");t.hidden=!0,s.head.appendChild(t);let n=t.contentWindow;n?.[e]&&(r=n[e]),s.head.removeChild(t)}catch(t){a.DEBUG_BUILD&&n.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?i[e]=r.bind(o.WINDOW):r}r.clearCachedImplementation=function(e){i[e]=void 0},r.fetch=function(...e){return s("fetch")(...e)},r.getNativeImplementation=s,r.setTimeout=function(...e){return s("setTimeout")(...e)}
490},244533,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(599161),o="__sentry_xhr_v3__";function i(){if(!a.WINDOW.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let a=Error(),i=1e3*n.timestampInSeconds(),s=n.isString(r[0])?r[0].toUpperCase():void 0,l=function(e){if(n.isString(e))return e;try{return e.toString()}catch{}}(r[1]);if(!s||!l)return e.apply(t,r);t[o]={method:s,url:l,request_headers:{}},"POST"===s&&l.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let u=()=>{let e=t[o];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}let r={endTimestamp:1e3*n.timestampInSeconds(),startTimestamp:i,xhr:t,virtualError:a};n.triggerHandlers("xhr",r)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(u(),e.apply(t,r))}):t.addEventListener("readystatechange",u),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[a,i]=r,s=t[o];return s&&n.isString(a)&&n.isString(i)&&(s.request_headers[a.toLowerCase()]=i),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){let a=t[o];if(!a)return e.apply(t,r);void 0!==r[0]&&(a.body=r[0]);let i={startTimestamp:1e3*n.timestampInSeconds(),xhr:t};return n.triggerHandlers("xhr",i),e.apply(t,r)}})}r.SENTRY_XHR_DATA_KEY=o,r.addXhrInstrumentationHandler=function(e){n.addHandler("xhr",e),n.maybeInstrument("xhr",i)},r.instrumentXHR=i},663497,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(332425),o=Symbol.for("sentry__originalRequestBody");function i(e){return new URLSearchParams(e).toString()}r.ORIGINAL_REQ_BODY=o,r.getBodyString=function(e,t=n.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(r){return a.DEBUG_BUILD&&t.error(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return a.DEBUG_BUILD&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]},r.getFetchRequestArgBody=function(e=[]){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][o];if(void 0!==t)return t}},r.parseXhrResponseHeaders=function(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return a.DEBUG_BUILD&&n.debug.error(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}):{}},r.serializeFormData=i},983693,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(599161),o=e.r(645722),i=e.r(572179),s=[],l=new Map,u=new Map,c={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"};function d(){return o.addInpInstrumentationHandler(_)}let _=({metric:e})=>{if(void 0==e.value)return;let t=i.msToSec(e.value);if(t>60)return;let r=e.entries.find(t=>t.duration===e.value&&c[t.name]);if(!r)return;let{interactionId:a}=r,o=c[r.name],s=i.msToSec(n.browserPerformanceTimeOrigin()+r.startTime),u=n.getActiveSpan(),d=u?n.getRootSpan(u):void 0,_=null!=a?l.get(a):void 0,p=_?.span||d,E=p?n.spanToJSON(p).description:n.getCurrentScope().getScopeData().transactionName,S=_?.elementName||n.htmlTreeAsString(r.target),T={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${o}`,[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:r.duration},g=i.startStandaloneWebVitalSpan({name:S,transaction:E,attributes:T,startTime:s});g&&(g.addEvent("inp",{[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e.value}),g.end(s+t))};r._onInp=_,r._trackINP=d,r.registerInpInteractionListener=function(){let e=Object.keys(c);function t(e){let t=e.target;if(!t)return;let r=n.htmlTreeAsString(t),a=Math.round(e.timeStamp);if(u.set(a,r),u.size>50){let e=u.keys().next().value;void 0!==e&&u.delete(e)}}
490n.isBrowser()&&e.forEach(e=>{a.WINDOW.addEventListener(e,t,{capture:!0,passive:!0})});let r=({entries:e})=>{let t=n.getActiveSpan(),r=t&&n.getRootSpan(t);e.forEach(e=>{if(!o.isPerformanceEventTiming(e))return;let t=e.interactionId;if(null==t||l.has(t))return;let a=e.target?n.htmlTreeAsString(e.target):function(e){let t=Math.round(e.startTime),r=u.get(t);if(!r)for(let e=-5;e<=5;e++){let n=u.get(t+e);if(n){r=n;break}}return r||"<unknown>"}(e);if(s.length>10){let e=s.shift();l.delete(e)}s.push(t),l.set(t,{span:r,elementName:a})})};o.addPerformanceInstrumentationHandler("event",r),o.addPerformanceInstrumentationHandler("first-input",r)},r.startTrackingINP=function(){if(i.getBrowserPerformanceAPI()&&n.browserPerformanceTimeOrigin()){let e=d();return()=>{e()}}return()=>void 0}},203510,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(645722),a=e.r(466226),o=e.r(968063),i=e.r(572179),s=e.r(426769),l=e.r(601106),u=e.r(58803),c=e.r(244533),d=e.r(663497),_=e.r(844377),p=e.r(983693);r.addClsInstrumentationHandler=n.addClsInstrumentationHandler,r.addInpInstrumentationHandler=n.addInpInstrumentationHandler,r.addLcpInstrumentationHandler=n.addLcpInstrumentationHandler,r.addPerformanceInstrumentationHandler=n.addPerformanceInstrumentationHandler,r.addTtfbInstrumentationHandler=n.addTtfbInstrumentationHandler,r.addPerformanceEntries=a.addPerformanceEntries,r.startTrackingInteractions=a.startTrackingInteractions,r.startTrackingLongAnimationFrames=a.startTrackingLongAnimationFrames,r.startTrackingLongTasks=a.startTrackingLongTasks,r.startTrackingWebVitals=a.startTrackingWebVitals,r.startTrackingElementTiming=o.startTrackingElementTiming,r.extractNetworkProtocol=i.extractNetworkProtocol,r.addClickKeypressInstrumentationHandler=s.addClickKeypressInstrumentationHandler,r.addHistoryInstrumentationHandler=l.addHistoryInstrumentationHandler,r.clearCachedImplementation=u.clearCachedImplementation,r.fetch=u.fetch,r.getNativeImplementation=u.getNativeImplementation,r.setTimeout=u.setTimeout,r.SENTRY_XHR_DATA_KEY=c.SENTRY_XHR_DATA_KEY,r.addXhrInstrumentationHandler=c.addXhrInstrumentationHandler,r.getBodyString=d.getBodyString,r.getFetchRequestArgBody=d.getFetchRequestArgBody,r.parseXhrResponseHeaders=d.parseXhrResponseHeaders,r.serializeFormData=d.serializeFormData,r.resourceTimingToSpanAttributes=_.resourceTimingToSpanAttributes,r.registerInpInteractionListener=p.registerInpInteractionListener,r.startTrackingINP=p.startTrackingINP},353897,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(203510);r.makeFetchTransport=function(e,t=a.getNativeImplementation("fetch")){let r=0,o=0;async function i(n){let i=n.body.length;r+=i,o++;let s={body:n.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&o<15,...e.fetchOptions};try{let r=await t(e.url,s);return{statusCode:r.status,headers:{"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")}}}catch(e){throw a.clearCachedImplementation("fetch"),e}finally{r-=i,o--}}return n.createTransport(e,i,n.makePromiseBuffer(e.bufferSize||40))}},480574,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.DEBUG_BUILD="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},522016,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574);r.uiProfiler={startProfiler:function(){let e=n.getClient();if(!e){a.DEBUG_BUILD&&n.debug.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){a.DEBUG_BUILD&&n.debug.warn("BrowserProfiling integration is not available");return}e.emit("startUIProfiler")},stopProfiler:function(){let e=n.getClient();if(!e){a.DEBUG_BUILD&&n.debug.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){a.DEBUG_BUILD&&n.debug.warn("ProfilingIntegration is not available");return}e.emit("stopUIProfiler")}}},625231,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);
490function a(e,t,r,a){let o={filename:e,function:"<anonymous>"===t?n.UNKNOWN_FUNCTION:t,in_app:!0};return void 0!==r&&(o.lineno=r),void 0!==a&&(o.colno=a),o}let o=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,l=/at (.+?) ?\(data:(.+?),/,u=[30,e=>{let t=e.match(l);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let r=o.exec(e);if(r){let[,e,t,o]=r;return a(e,n.UNKNOWN_FUNCTION,+t,+o)}let u=i.exec(e);if(u){if(u[2]&&0===u[2].indexOf("eval")){let e=s.exec(u[2]);e&&(u[2]=e[1],u[3]=e[2],u[4]=e[3])}let[e,t]=A(u[1]||n.UNKNOWN_FUNCTION,u[2]);return a(t,e,u[3]?+u[3]:void 0,u[4]?+u[4]:void 0)}}],c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,_=[50,e=>{let t=c.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=d.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||n.UNKNOWN_FUNCTION;return[r,e]=A(r,e),a(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],p=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,E=[40,e=>{let t=p.exec(e);return t?a(t[2],t[1]||n.UNKNOWN_FUNCTION,+t[3],t[4]?+t[4]:void 0):void 0}],S=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,T=[10,e=>{let t=S.exec(e);return t?a(t[2],t[3]||n.UNKNOWN_FUNCTION,+t[1]):void 0}],g=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,f=[20,e=>{let t=g.exec(e);return t?a(t[5],t[3]||t[4]||n.UNKNOWN_FUNCTION,+t[1],+t[2]):void 0}],m=[u,_],h=n.createStackParser(...m),A=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),a=-1!==e.indexOf("safari-web-extension");return r||a?[-1!==e.indexOf("@")?e.split("@")[0]:n.UNKNOWN_FUNCTION,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};r.chromeStackLineParser=u,r.defaultStackLineParsers=m,r.defaultStackParser=h,r.geckoStackLineParser=_,r.opera10StackLineParser=T,r.opera11StackLineParser=f,r.winjsStackLineParser=E},117277,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.createUserFeedbackEnvelope=function(e,{metadata:t,tunnel:r,dsn:a}){let o={event_id:e.event_id,sent_at:new Date().toISOString(),...t?.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!r&&!!a&&{dsn:n.dsnToString(a)}},i=[{type:"user_report"},e];return n.createEnvelope(o,[i])}},713695,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(203510),o=e.r(480574),i=e.r(705889);r.breadcrumbsIntegration=n.defineIntegration((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var r,s,l,u,c,d,_;t.console&&n.addConsoleInstrumentationHandler((r=e,function(e){if(n.getClient()!==r)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:n.severityLevelFromString(e.level),message:n.safeJoin(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${n.safeJoin(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);n.addBreadcrumb(t,{input:e.args,level:e.level})})),t.dom&&a.addClickKeypressInstrumentationHandler((s=e,l=t.dom,function(e){let t,r;if(n.getClient()!==s)return;let a="object"==typeof l?l.serializeAttribute:void 0,i="object"==typeof l&&"number"==typeof l.maxStringLength?l.maxStringLength:void 0;i&&i>1024&&(o.DEBUG_BUILD&&n.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof a&&(a=[a]);try{var u;let o=e.event,s=(u=o)&&u.target?o.target:o;t=n.htmlTreeAsString(s,{keyAttrs:a,maxStringLength:i}),r=n.getComponentName(s)}catch{t="<unknown>"}if(0===t.length)return;let c={category:`ui.${e.name}`,message:t};r&&(c.data={"ui.component_name":r}),n.addBreadcrumb(c,{event:e.event,name:e.name,global:e.global})})),t.xhr&&a.addXhrInstrumentationHandler((u=e,function(e){if(n.getClient()!==u)return;let{startTimestamp:t,endTimestamp:r}=e,o=e.xhr[a.SENTRY_XHR_DATA_KEY];if(!t||!r||!o)return;let{method:i,url:s,status_code:l,body:c}=o,d={xhr:e.xhr,input:c,startTimestamp:t,endTimestamp:r},_={category:"xhr",data:{method:i,url:s,status_code:l},type:"http",level:n.getBreadcrumbLogLevelFromHttpStatusCode(l)};u.emit("beforeOutgoingRequestBreadcrumb",_,d),n.addBreadcrumb(_,d)})),t.fetch&&n.addFetchInstrumentationHandler((c=e,function(e){if(n.getClient()!==c)return;let{startTimestamp:t,endTimestamp:r}=e;
490if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.fetchData.method,e.fetchData.url,e.error){let a=e.fetchData,o={data:e.error,input:e.args,startTimestamp:t,endTimestamp:r},i={category:"fetch",data:a,level:"error",type:"http"};c.emit("beforeOutgoingRequestBreadcrumb",i,o),n.addBreadcrumb(i,o)}else{let a=e.response,o={...e.fetchData,status_code:a?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,a?.status;let i={input:e.args,response:a,startTimestamp:t,endTimestamp:r},s={category:"fetch",data:o,type:"http",level:n.getBreadcrumbLogLevelFromHttpStatusCode(o.status_code)};c.emit("beforeOutgoingRequestBreadcrumb",s,i),n.addBreadcrumb(s,i)}})),t.history&&a.addHistoryInstrumentationHandler((d=e,function(e){if(n.getClient()!==d)return;let t=e.from,r=e.to,a=n.parseUrl(i.WINDOW.location.href),o=t?n.parseUrl(t):void 0,s=n.parseUrl(r);o?.path||(o=a),a.protocol===s.protocol&&a.host===s.host&&(r=s.relative),a.protocol===o.protocol&&a.host===o.host&&(t=o.relative),n.addBreadcrumb({category:"navigation",data:{from:t,to:r}})})),t.sentry&&e.on("beforeSendEvent",(_=e,function(e){n.getClient()===_&&n.addBreadcrumb({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:n.getEventDescription(e)},{event:e})}))}}})},365753,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(705889),o=["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"];function i(e){return function(...t){let r=t[0];return t[0]=a.wrap(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${n.getFunctionName(e)}`}}),e.apply(this,t)}}function s(e){return function(t){return e.apply(this,[a.wrap(t,{mechanism:{data:{handler:n.getFunctionName(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function l(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&n.fill(r,e,function(t){let r={mechanism:{data:{handler:n.getFunctionName(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},o=n.getOriginalFunction(t);return o&&(r.mechanism.data.handler=n.getFunctionName(o)),a.wrap(t,r)})}),e.apply(this,t)}}r.browserApiErrorsIntegration=n.defineIntegration((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&n.fill(a.WINDOW,"setTimeout",i),t.setInterval&&n.fill(a.WINDOW,"setInterval",i),t.requestAnimationFrame&&n.fill(a.WINDOW,"requestAnimationFrame",s),t.XMLHttpRequest&&"XMLHttpRequest"in a.WINDOW&&n.fill(XMLHttpRequest.prototype,"send",l);let e=t.eventTarget;e&&(Array.isArray(e)?e:o).forEach(e=>{var r,o;let i,s;return r=e,o=t,i=a.WINDOW,s=i[r]?.prototype,void(s?.hasOwnProperty?.("addEventListener")&&(n.fill(s,"addEventListener",function(e){return function(t,i,s){var l,u,c,d;try{l=i,"function"==typeof l.handleEvent&&(i.handleEvent=a.wrap(i.handleEvent,{mechanism:{data:{handler:n.getFunctionName(i),target:r},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return o.unregisterOriginalCallbacks&&(u=this,c=t,d=i,u&&"object"==typeof u&&"removeEventListener"in u&&"function"==typeof u.removeEventListener&&u.removeEventListener(c,d)),e.apply(this,[t,a.wrap(i,{mechanism:{data:{handler:n.getFunctionName(i),target:r},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),s])}}),n.fill(s,"removeEventListener",function(e){return function(t,r,n){try{let a=r.__sentry_wrapped__;a&&e.call(this,t,a,n)}catch{}return e.call(this,t,r,n)}})))})}}})},256866,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(203510),o=e.r(480574),i=e.r(705889);r.browserSessionIntegration=n.defineIntegration(()=>({name:"BrowserSession",setupOnce(){if(void 0===i.WINDOW.document){o.DEBUG_BUILD&&n.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}n.startSession({ignoreDuration:!0}),n.captureSession(),a.addHistoryInstrumentationHandler(({from:e,to:t})=>{void 0!==e&&e!==t&&(n.startSession({ignoreDuration:!0}),n.captureSession())})}}))},858886,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(45595),i=e.r(705889),s=n.defineIntegration((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var r,a;t.onerror&&(r=e,n.addGlobalErrorInstrumentationHandler(e=>{var t,a,s,l;let u,c,_,p,E,S,{stackParser:T,attachStacktrace:g}=d();if(n.getClient()!==r||i.shouldIgnoreOnError())return;let{msg:f,url:m,line:h,column:A,error:R}=e,I=(t=o.eventFromUnknownInput(T,R||f,void 0,g,!1),a=m,s=h,l=A,E=(p=(_=(c=(u=t.exception=t.exception||{}).values=u.values||[])[0]=c[0]||{}).stacktrace=_.stacktrace||{}).frames=p.frames||[],S=function(e){if(n.isString(e)&&0!==e.length)return e.startsWith("data:")?`<${n.stripDataUrlContent(e,!1)}>`:e}(a)??n.getLocationHref(),0===E.length&&E.push({colno:l,filename:S,function:n.UNKNOWN_FUNCTION,in_app:!0,lineno:s}),t);I.level="error",n.captureEvent(I,{originalException:R,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),c("onerror")),t.onunhandledrejection&&(a=e,n.addGlobalUnhandledRejectionInstrumentationHandler(e=>{let{stackParser:t,attachStacktrace:r}=d();if(n.getClient()!==a||i.shouldIgnoreOnError())return;let s=l(e),c=n.isPrimitive(s)?u(s):o.eventFromUnknownInput(t,s,void 0,r,!0);c.level="error",n.captureEvent(c,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),c("onunhandledrejection"))}}});function l(e){if(n.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 u(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function c(e){a.DEBUG_BUILD&&n.debug.log(`Global Handler attached: ${e}`)}function d(){let e=n.getClient();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}r._eventFromRejectionWithPrimitive=u,r._getUnhandledRejectionError=l,r.globalHandlersIntegration=s},819891,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(705889);r.httpContextIntegration=n.defineIntegration(()=>({name:"HttpContext",preprocessEvent(e){if(!a.WINDOW.navigator&&!a.WINDOW.location&&!a.WINDOW.document)return;let t=a.getHttpRequestData(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}}}))},153926,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(45595);r.linkedErrorsIntegration=n.defineIntegration((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,o,i){let s=i.getOptions();n.applyAggregateErrorsToEvent(a.exceptionFromError,s.stackParser,r,t,e,o)}}})},207663,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(203510),o=e.r(480574),i="SpotlightBrowser",s=n.defineIntegration((e={})=>{let t=e.sidecarUrl||"http://localhost:8969/stream";return{name:i,setup:()=>{o.DEBUG_BUILD&&n.debug.log("Using Sidecar URL",t)},processEvent:e=>l(e)?null:e,afterAllSetup:e=>{var r,o;let i,s;r=e,o=t,i=a.getNativeImplementation("fetch"),s=0,r.on("beforeEnvelope",e=>{s>3?n.debug.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",s):i(o,{method:"POST",body:n.serializeEnvelope(e),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(e=>{e.status>=200&&e.status<400&&(s=0)},e=>
490{s++,n.debug.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",e)})})}}});function l(e){return!!("transaction"===e.type&&e.spans&&e.contexts?.trace&&"ui.action.click"===e.contexts.trace.op&&e.spans.some(({description:e})=>e?.includes("#sentry-spotlight")))}r.INTEGRATION_NAME=i,r.isSpotlightInteraction=l,r.spotlightBrowserIntegration=s},560200,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(705889);r.checkAndWarnIfIsEmbeddedBrowserExtension=function(){return!!function(){if(void 0===o.WINDOW.window)return!1;let e=o.WINDOW;if(e.nw)return!1;let t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;let r=n.getLocationHref();return!(o.WINDOW===o.WINDOW.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(e=>r.startsWith(`${e}://`)))}()&&(a.DEBUG_BUILD&&n.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)}},847467,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(32531),o=e.r(713695),i=e.r(365753),s=e.r(256866),l=e.r(858886),u=e.r(819891),c=e.r(153926);e.r(207663);let d=e.r(625231),_=e.r(353897),p=e.r(560200);function E(e){return[n.inboundFiltersIntegration(),n.functionToStringIntegration(),n.conversationIdIntegration(),i.browserApiErrorsIntegration(),o.breadcrumbsIntegration(),l.globalHandlersIntegration(),c.linkedErrorsIntegration(),n.dedupeIntegration(),u.httpContextIntegration(),s.browserSessionIntegration()]}r.forceLoad=function(){},r.getDefaultIntegrations=E,r.init=function(e={}){let t=!e.skipBrowserExtensionCheck&&p.checkAndWarnIfIsEmbeddedBrowserExtension(),r=null==e.defaultIntegrations?E():e.defaultIntegrations,o={...e,enabled:!t&&e.enabled,stackParser:n.stackParserFromStackParserOptions(e.stackParser||d.defaultStackParser),integrations:n.getIntegrationsToSetup({integrations:e.integrations,defaultIntegrations:r}),transport:e.transport||_.makeFetchTransport};return n.initAndBind(a.BrowserClient,o)},r.onLoad=function(e){e()}},131211,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(705889);r.showReportDialog=function(e={}){let t=o.WINDOW.document,r=t?.head||t?.body;if(!r){a.DEBUG_BUILD&&n.debug.error("[showReportDialog] Global document not defined");return}let i=n.getCurrentScope(),s=n.getClient(),l=s?.getDsn();if(!l){a.DEBUG_BUILD&&n.debug.error("[showReportDialog] DSN not configured");return}let u={...e,user:{...i.getUser(),...e.user},eventId:e.eventId||n.lastEventId()},c=o.WINDOW.document.createElement("script");c.async=!0,c.crossOrigin="anonymous",c.src=n.getReportDialogEndpoint(l,u);let{onLoad:d,onClose:_}=u;if(d&&(c.onload=d),_){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{_()}finally{o.WINDOW.removeEventListener("message",e)}};o.WINDOW.addEventListener("message",e)}r.appendChild(c)}},967882,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=n.GLOBAL_OBJ,o=new WeakMap;r.reportingObserverIntegration=n.defineIntegration((e={})=>{let t=e.types||["crash","deprecation","intervention"];function r(e){if(o.has(n.getClient()))for(let t of e)n.withScope(e=>{e.setExtra("url",t.url);let r=`ReportingObserver [${t.type}]`,a="No details available";if(t.body){let r={};for(let e in t.body)r[e]=t.body[e];if(e.setExtra("body",r),"crash"===t.type){let e=t.body;a=[e.crashId||"",e.reason||""].join(" ").trim()||a}else a=t.body.message||a}n.captureMessage(`${r}: ${a}`)})}return{name:"ReportingObserver",setupOnce(){n.supportsReportingObserver()&&new a.ReportingObserver(r,{buffered:!0,types:t}).observe()},setup(e){o.set(e,!0)}}})},886134,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(203510),o=e.r(480574);function i(e,t){var r;let n,a,o=(r=t.headers,n={},r.forEach((e,t)=>{n[t]=e}),n);try{let t=o[e]||o[e.toLowerCase()]||void 0;t&&(a=s(t))}catch{}return[o,a]}function s(e){return e.split("; ").reduce((e,t)=>
490{let[r,n]=t.split("=");return r&&n&&(e[r]=n),e},{})}function l(e,t,r){var a,o;return a=e.failedRequestStatusCodes,a.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])&&(o=e.failedRequestTargets,o.some(e=>"string"==typeof e?r.includes(e):e.test(r)))&&!n.isSentryRequestUrl(r,n.getClient())}function u(e){let t=n.getClient(),r=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,a=r&&t?t.getOptions().stackParser(r,0,1):void 0,o=`HTTP Client Error with status code: ${e.status}`,i={message:o,exception:{values:[{type:"Error",value:o,stacktrace:a?{frames:a}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:function(e){if(e){let t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}(e.responseHeaders)}}};return n.addExceptionMechanism(i,{type:`auto.http.client.${e.type}`,handled:!1}),i}function c(){let e=n.getClient();return!!e&&!!e.getOptions().sendDefaultPii}r.httpClientIntegration=n.defineIntegration((e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){var r,d,_,p;r=e,d=t,n.supportsNativeFetch()&&n.addFetchInstrumentationHandler(e=>{if(n.getClient()!==r)return;let{response:t,args:a,error:o,virtualError:s}=e,[_,p]=a;t&&function(e,t,r,a,o){if(l(e,r.status,r.url)){var s,d;let e,l,_,p,E=(s=t,!(d=a)&&s instanceof Request||s instanceof Request&&s.bodyUsed?s:new Request(s,d));c()&&([e,_]=i("Cookie",E),[l,p]=i("Set-Cookie",r));let S=u({url:E.url,method:E.method,status:r.status,requestHeaders:e,responseHeaders:l,requestCookies:_,responseCookies:p,error:o,type:"fetch"});n.captureEvent(S)}}(d,_,t,p,o||s)}
490,!1),_=e,p=t,"XMLHttpRequest"in n.GLOBAL_OBJ&&a.addXhrInstrumentationHandler(e=>{if(n.getClient()!==_)return;let{error:t,virtualError:r}=e,i=e.xhr,d=i[a.SENTRY_XHR_DATA_KEY];if(!d)return;let{method:E,request_headers:S}=d;try{!function(e,t,r,a,o){if(l(e,t.status,t.responseURL)){let e,i,l;if(c()){try{let e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(i=s(e))}catch{}try{let e;l=(e=t.getAllResponseHeaders())?e.split("\r\n").reduce((e,t)=>{let[r,n]=t.split(": ");return r&&n&&(e[r]=n),e},{}):{}}catch{}e=a}let d=u({url:t.responseURL,method:r,status:t.status,requestHeaders:e,responseHeaders:l,responseCookies:i,error:o,type:"xhr"});n.captureEvent(d)}}(p,i,E,S,t||r)}catch(e){o.DEBUG_BUILD&&n.debug.warn("Error while extracting response event form XHR response",e)}})}}})},235761,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=n.GLOBAL_OBJ,o=n.defineIntegration((e={})=>{let t=null!=e.frameContextLines?e.frameContextLines:7;return{name:"ContextLines",processEvent:e=>(function(e,t){let r=a.document,o=a.location&&n.stripUrlQueryAndFragment(a.location.href);if(!r||!o)return e;let s=e.exception?.values;if(!s?.length)return e;let l=r.documentElement.innerHTML;if(!l)return e;let u=["<!DOCTYPE html>","<html>",...l.split("\n"),"</html>"];return s.forEach(e=>{let r=e.stacktrace;r?.frames&&(r.frames=r.frames.map(e=>i(e,u,o,t)))}),e})(e,t)}});function i(e,t,r,a){return e.filename===r&&e.lineno&&t.length&&n.addContextToFrame(t,e,a),e}r.applySourceContextToFrame=i,r.contextLinesIntegration=o},209546,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(203510);function o(e){if(c(e))return`persisted ${e.operationName}`;if(u(e)){let{query:t,operationName:r}=e,{operationName:n=r,operationType:a}=s(t);return n?`${a} ${n}`:`${a}`}return"unknown"}function i(e){let t;if("xhr"in e){let r=e.xhr[a.SENTRY_XHR_DATA_KEY];t=r&&a.getBodyString(r.body)[0]}else{let r=a.getFetchRequestArgBody(e.input);t=a.getBodyString(r)[0]}return t}function s(e){let t=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)(\w+)(?:\s*)[{(]/);if(t)return{operationType:t[1],operationName:t[2]};let r=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/);return r?{operationType:r[1],operationName:void 0}:{operationType:void 0,operationName:void 0}}function l(e){return"object"==typeof e&&null!==e}function u(e){return l(e)&&"string"==typeof e.query}function c(e){return l(e)&&"string"==typeof e.operationName&&l(e.extensions)&&l(e.extensions.persistedQuery)&&"string"==typeof e.extensions.persistedQuery.sha256Hash&&"number"==typeof e.extensions.persistedQuery.version}function d(e){try{let t=JSON.parse(e);if(u(t)||c(t))return t;return}catch{return}}let _=n.defineIntegration(e=>({name:"GraphQLClient",setup(t){var r,a,s,l;r=t,a=e,r.on("beforeOutgoingRequestSpan",(e,t)=>{let r=n.spanToJSON(e).data||{};if("http.client"!==r[n.SEMANTIC_ATTRIBUTE_SENTRY_OP])return;let s=r[n.SEMANTIC_ATTRIBUTE_URL_FULL]||r["http.url"],l=r[n.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD]||r["http.method"];if(!n.isString(s)||!n.isString(l))return;let{endpoints:_}=a,p=n.stringMatchesSomePattern(s,_),E=i(t);if(p&&E){let t=d(E);if(t){let r=o(t);e.updateName(`${l} ${s} (${r})`),u(t)&&e.setAttribute("graphql.document",t.query),c(t)&&(e.setAttribute("graphql.persisted_query.hash.sha256",t.extensions.persistedQuery.sha256Hash),e.setAttribute("graphql.persisted_query.version",t.extensions.persistedQuery.version))}}}),s=t,l=e,s.on("beforeOutgoingRequestBreadcrumb",(e,t)=>{let{category:r,type:a,data:s}=e;if("http"===a&&("fetch"===r||"xhr"===r)){let e=s?.url,{endpoints:r}=l,a=n.stringMatchesSomePattern(e,r),_=i(t);if(a&&s&&_){let e=d(_);if(!s.graphql&&e){let t=o(e);s["graphql.operation"]=t,u(e)&&(s["graphql.document"]=e.query),c(e)&&(s["graphql.persisted_query.hash.sha256"]=e.extensions.persistedQuery.sha256Hash,s["graphql.persisted_query.version"]=e.extensions.persistedQuery.version)}}}})}}));r._getGraphQLOperation=o,r.getGraphQLRequestPayload=d,r.getRequestPayloadXhrOrFetch=i,r.graphqlClientIntegration=_,r.parseGraphQLQuery=s},900022,(e,t,r)=>{let n,a,o,i,s,l,u,c,d;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let _=e.r(814923),p=e.r(203510),E=_.GLOBAL_OBJ,S="sentryReplaySession",T="Unable to send Replay";var g,f,m,h,A,R,I,y,N,O=Object.defineProperty,v=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?O(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},b=((g=b||{})[g.Document=0]="Document",g[g.DocumentType=1]="DocumentType",g[g.Element=2]="Element",g[g.Text=3]="Text",g[g.CDATA=4]="CDATA",g[g.Comment=5]="Comment",g);function C(e){let t=e?.host;return t?.shadowRoot===e}function M(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function U(e){try{var t;let r=e.rules||e.cssRules;return r?((t=Array.from(r,P).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function P(e){let t;if("styleSheet"in e)try{t=U(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,r=e.selectorText.includes(":"),n="string"==typeof e.style.all&&e.style.all;if(n&&(t=function(e){let t="";for(let r=0;r<e.style.length;r++){let n=e.style,a=n[r],o=n.getPropertyPriority(a);t+=`${a}:${n.getPropertyValue(a)}${o?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),r&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),r||n)return t}return t||e.cssText}class D{constructor(){v(this,"idNodeMap",new Map),v(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);
490this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function L({maskInputOptions:e,tagName:t,type:r}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||r&&e[r]||"password"===r||"INPUT"===t&&!r&&e.text)}function w({isMasked:e,element:t,value:r,maskInputFn:n}){let a=r||"";return e?(n&&(a=n(a,t)),"*".repeat(a.length)):a}function B(e){return e.toLowerCase()}function k(e){return e.toUpperCase()}let x="__rrweb_original__";function G(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?B(t):null}function F(e,t,r){return"INPUT"===t&&("radio"===r||"checkbox"===r)?e.getAttribute("value")||"":e.value}function V(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}let n=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return n?.[1]??null}let H={};function j(e){let t=H[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(n=a[e]),r.head.removeChild(t)}catch(e){}return H[e]=n.bind(window)}function Y(...e){return j("setTimeout")(...e)}function W(...e){return j("clearTimeout")(...e)}function $(e){try{return e.contentDocument}catch(e){}}let K=1,q=RegExp("[^a-z0-9-_:]");function z(){return K++}let J=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,X=/^(?:[a-z+]+:)?\/\//i,Q=/^www\..*/i,Z=/^(data:)([^,]*),(.*)/i;function ee(e,t){return(e||"").replace(J,(e,r,n,a,o,i)=>{let s=n||o||i,l=r||a||"";if(!s)return e;if(X.test(s)||Q.test(s)||Z.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+s}${l})`;let u=t.split("/"),c=s.split("/");for(let e of(u.pop(),c))if("."===e)continue;else".."===e?u.pop():u.push(e);return`url(${l}${u.join("/")}${l})`})}let et=/^[^ \t\n\r\u000c]+/,er=/^[, \t\n\r\u000c]+/,en=new WeakMap;function ea(e,t){return t&&""!==t.trim()?eo(e,t):t}function eo(e,t){let r=en.get(e);if(r||(r=e.createElement("a"),en.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function ei(e,t,r,n,a,o,i){if(!n)return n;if("src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0])return ea(e,n);if("background"===r&&("table"===t||"td"===t||"th"===t))return ea(e,n);if("srcset"===r)return function(e,t){if(""===t.trim())return t;let r=0;function n(e){let n,a=e.exec(t.substring(r));return a?(n=a[0],r+=n.length,n):""}let a=[];for(;n(er),!(r>=t.length);){let o=n(et);if(","===o.slice(-1))o=ea(e,o.substring(0,o.length-1)),a.push(o);else{let n="";o=ea(e,o);let i=!1;for(;;){let e=t.charAt(r);if(""===e){a.push((o+n).trim());break}if(i)")"===e&&(i=!1);else if(","===e){r+=1,a.push((o+n).trim());break}else"("===e&&(i=!0);n+=e,r+=1}}}return a.join(", ")}(e,n);if("style"===r){let t=ee(n,eo(e));return i&&i.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{let r=e.split(";"),n=[];for(let e of r){if(!(e=e.trim()))continue;let r=e.indexOf(":");if(-1===r){n.push(e);continue}let a=e.slice(0,r).trim();t.has(a)||n.push(e)}return n.join("; ")+(n.length>0&&e.endsWith(";")?";":"")}catch(t){return console.warn("Error filtering CSS properties:",t),e}}(t,i)),t}else if("object"===t&&"data"===r)return ea(e,n);return"function"==typeof o?o(r,n,a):n}function es(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function el(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:el(e.parentNode,t,r,n+1)}function eu(e,t){return r=>{if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch{return!1}}}function ec(e,t,r,n,a,o){try{let i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===i)return!1;if("INPUT"===i.tagName){let e=i.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(o){if((l=el(i,eu(n,a)))<0)return!0;s=el(i,eu(t,r),l>=0?l:1/0)}else{if((s=el(i,eu(t,r)))<0)return!1;l=el(i,eu(n,a),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!o}catch(e){}return!!o}function ed(e){return null==e?"":e.toLowerCase()}function e_(e,t){let r,{doc:o,mirror:i,blockClass:s,blockSelector:l,unblockSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:_,maskTextSelector:p,unmaskTextSelector:E,skipChild:S=!1,inlineStylesheet:T=!0,maskInputOptions:g={},maskAttributeFn:f,maskTextFn:m,maskInputFn:h,slimDOMOptions:A,dataURLOptions:R={},inlineImages:I=!1,recordCanvas:y=!1,onSerialize:N,onIframeLoad:O,iframeLoadTimeout:v=5e3,onBlockedImageLoad:P,onStylesheetLoad:D,stylesheetLoadTimeout:H=5e3,keepIframeSrcFn:j=()=>!1,newlyAddedElement:K=!1,ignoreCSSAttributes:J}=t,{preserveWhiteSpace:X=!0}=t,Q=function(e,t){let{doc:r,mirror:o,blockClass:i,blockSelector:s,unblockSelector:l,maskAllText:u,maskAttributeFn:c,maskTextClass:d,unmaskTextClass:_,maskTextSelector:p,unmaskTextSelector:E,inlineStylesheet:S,maskInputOptions:T={},maskTextFn:g,maskInputFn:f,dataURLOptions:m={},inlineImages:h,recordCanvas:A,keepIframeSrcFn:R,newlyAddedElement:I=!1,ignoreCSSAttributes:y}=t,N=function(e,t){if(!t.hasNode(e))return;let r=t.getId(e);return 1===r?void 0:r}(r,o);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:b.Document,childNodes:[],compatMode:e.compatMode};return{type:b.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:b.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:N};case e.ELEMENT_NODE:return function(e,t){let r,{doc:o,blockClass:i,blockSelector:s,unblockSelector:l,inlineStylesheet:u,maskInputOptions:c={},maskAttributeFn:d,maskInputFn:_,dataURLOptions:p={},inlineImages:E,recordCanvas:S,keepIframeSrcFn:T,newlyAddedElement:g=!1,rootId:f,maskTextClass:m,unmaskTextClass:h,maskTextSelector:A,unmaskTextSelector:R,ignoreCSSAttributes:I}=t,y=function(e,t,r,n){try{if(n&&e.matches(n))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,i,s,l),N=function(e){if(e instanceof HTMLFormElement)return"form";let t=B(e.tagName);return q.test(t)?"div":t}(e),O={},v=e.attributes.length;for(let t=0;t<v;t++){let r=e.attributes[t];r.name&&!es(N,r.name,r.value)&&(O[r.name]=ei(o,N,B(r.name),r.value,e,d,I))}if("link"===N&&u){let t=Array.from(o.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=U(t)),r&&(O.rel=null,O.href=null,O.crossorigin=null,O._cssText=ee(r,t.href))}if("style"===N&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=U(e.sheet);t&&(O._cssText=ee(t,eo(o)))}if("input"===N||"textarea"===N||"select"===N||"option"===N){let t=G(e),r=F(e,k(N),t),n=e.checked;if("submit"!==t&&"button"!==t&&r){let n=ec(e,m,A,h,R,L({type:t,tagName:k(N),maskInputOptions:c}));O.value=w({isMasked:n,element:e,value:r,maskInputFn:_})}n&&(O.checked=n)}if("option"===N&&(e.selected&&!c.select?O.selected=!0:delete O.selected),"canvas"===N&&S){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let r=0;r<e.width;r+=50)for(let n=0;n<e.height;n+=50){let a=t.getImageData;
490if(new Uint32Array((x in a?a[x]:a).call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(O.rr_dataURL=e.toDataURL(p.type,p.quality));else if(!("__context"in e)){let t=e.toDataURL(p.type,p.quality),r=o.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(p.type,p.quality)&&(O.rr_dataURL=t)}}if("img"===N&&E){n||(a=(n=o.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",r=e.crossOrigin,i=()=>{e.removeEventListener("load",i);try{n.width=e.naturalWidth,n.height=e.naturalHeight,a.drawImage(e,0,0),O.rr_dataURL=n.toDataURL(p.type,p.quality)}catch(r){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i);return}console.warn(`Cannot inline img src=${t}! Error: ${r}`)}"anonymous"===e.crossOrigin&&(r?O.crossOrigin=r:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i)}if(("audio"===N||"video"===N)&&(O.rr_mediaState=e.paused?"paused":"played",O.rr_mediaCurrentTime=e.currentTime),!g&&(e.scrollLeft&&(O.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(O.rr_scrollTop=e.scrollTop)),y){let{width:t,height:r}=e.getBoundingClientRect();O={class:O.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==N||T(O.src)||(y||$(e)||(O.rr_src=O.src),delete O.src);try{customElements.get(N)&&(r=!0)}catch(e){}return{type:b.Element,tagName:N,attributes:O,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:y,rootId:f,isCustom:r}}(e,{doc:r,blockClass:i,blockSelector:s,unblockSelector:l,inlineStylesheet:S,maskAttributeFn:c,maskInputOptions:T,maskInputFn:f,dataURLOptions:m,inlineImages:h,recordCanvas:A,keepIframeSrcFn:R,newlyAddedElement:I,rootId:N,maskTextClass:d,unmaskTextClass:_,maskTextSelector:p,unmaskTextSelector:E,ignoreCSSAttributes:y});case e.TEXT_NODE:return function(e,t){let{maskAllText:r,maskTextClass:n,unmaskTextClass:a,maskTextSelector:o,unmaskTextSelector:i,maskTextFn:s,maskInputOptions:l,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,_=e.textContent,p="STYLE"===d||void 0,E="SCRIPT"===d||void 0,S="TEXTAREA"===d||void 0;if(p&&_){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(_=U(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}_=ee(_,eo(t.doc))}E&&(_="SCRIPT_PLACEHOLDER");let T=ec(e,n,o,a,i,r);return p||E||S||!_||!T||(_=s?s(_,e.parentElement):_.replace(/[\S]/g,"*")),S&&_&&(l.textarea||T)&&(_=u?u(_,e.parentNode):_.replace(/[\S]/g,"*")),"OPTION"===d&&_&&(_=w({isMasked:ec(e,n,o,a,i,L({type:null,tagName:d,maskInputOptions:l})),element:e,value:_,maskInputFn:u})),{type:b.Text,textContent:_||"",isStyle:p,rootId:c}}(e,{doc:r,maskAllText:u,maskTextClass:d,unmaskTextClass:_,maskTextSelector:p,unmaskTextSelector:E,maskTextFn:g,maskInputOptions:T,maskInputFn:f,rootId:N});case e.CDATA_SECTION_NODE:return{type:b.CDATA,textContent:"",rootId:N};case e.COMMENT_NODE:return{type:b.Comment,textContent:e.textContent||"",rootId:N};default:return!1}}(e,{doc:o,mirror:i,blockClass:s,blockSelector:l,maskAllText:c,unblockSelector:u,maskTextClass:d,unmaskTextClass:_,maskTextSelector:p,unmaskTextSelector:E,inlineStylesheet:T,maskInputOptions:g,maskAttributeFn:f,maskTextFn:m,maskInputFn:h,dataURLOptions:R,inlineImages:I,recordCanvas:y,keepIframeSrcFn:j,newlyAddedElement:K,ignoreCSSAttributes:J});if(!Q)return console.warn(e,"not serialized"),null;r=i.hasNode(e)?i.getId(e):!function(e,t){if(t.comment&&e.type===b.Comment)return!0;if(e.type===b.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===V(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ed(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ed(e.attributes.name)||"icon"===ed(e.attributes.rel)||"apple-touch-icon"===ed(e.attributes.rel)||"shortcut icon"===ed(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&ed(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(ed(e.attributes.property).match(/^(og|twitter|fb):/)||ed(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ed(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===ed(e.attributes.name)||"googlebot"===ed(e.attributes.name)||"bingbot"===ed(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===ed(e.attributes.name)||"generator"===ed(e.attributes.name)||"framework"===ed(e.attributes.name)||"publisher"===ed(e.attributes.name)||"progid"===ed(e.attributes.name)||ed(e.attributes.property).match(/^article:/)||ed(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===ed(e.attributes.name)||"yandex-verification"===ed(e.attributes.name)||"csrf-token"===ed(e.attributes.name)||"p:domain_verify"===ed(e.attributes.name)||"verify-v1"===ed(e.attributes.name)||"verification"===ed(e.attributes.name)||"shopify-checkout-api-token"===ed(e.attributes.name)))return!0}}return!1}(Q,A)&&(X||Q.type!==b.Text||Q.isStyle||Q.textContent.replace(/^\s+|\s+$/gm,"").length)?z():-2;let Z=Object.assign(Q,{id:r});if(i.add(e,Z),-2===r)return null;N&&N(e);let et=!S;if(Z.type===b.Element){et=et&&!Z.needBlock;let t=e.shadowRoot;t&&M(t)&&(Z.isShadowHost=!0)}if((Z.type===b.Document||Z.type===b.Element)&&et){A.headWhitespace&&Z.type===b.Element&&"head"===Z.tagName&&(X=!1);let t={doc:o,mirror:i,blockClass:s,blockSelector:l,maskAllText:c,unblockSelector:u,maskTextClass:d,unmaskTextClass:_,maskTextSelector:p,unmaskTextSelector:E,skipChild:S,inlineStylesheet:T,maskInputOptions:g,maskAttributeFn:f,maskTextFn:m,maskInputFn:h,slimDOMOptions:A,dataURLOptions:R,inlineImages:I,recordCanvas:y,preserveWhiteSpace:X,onSerialize:N,onIframeLoad:O,iframeLoadTimeout:v,onBlockedImageLoad:P,onStylesheetLoad:D,stylesheetLoadTimeout:H,keepIframeSrcFn:j,ignoreCSSAttributes:J};for(let r of e.childNodes?Array.from(e.childNodes):[]){let e=e_(r,t);e&&Z.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let r of Array.from(e.shadowRoot.childNodes)){let n=e_(r,t);n&&(M(e.shadowRoot)&&(n.isShadow=!0),Z.childNodes.push(n))}}if(e.parentNode&&C(e.parentNode)&&M(e.parentNode)&&(Z.isShadow=!0),Z.t
490ype!==b.Element||"iframe"!==Z.tagName||Z.needBlock||function(e,t,r){let n,a=e.contentWindow;if(!a)return;let o=!1;try{n=a.document.readyState}catch(e){return}if("complete"!==n){let n=Y(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{W(n),o=!0,t()});return}let i="about:blank";if(a.location.href!==i||e.src===i||""===e.src)return Y(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=$(e);if(t&&O){let r=e_(t,{doc:t,mirror:i,blockClass:s,blockSelector:l,unblockSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:_,maskTextSelector:p,unmaskTextSelector:E,skipChild:!1,inlineStylesheet:T,maskInputOptions:g,maskAttributeFn:f,maskTextFn:m,maskInputFn:h,slimDOMOptions:A,dataURLOptions:R,inlineImages:I,recordCanvas:y,preserveWhiteSpace:X,onSerialize:N,onIframeLoad:O,iframeLoadTimeout:v,onStylesheetLoad:D,stylesheetLoadTimeout:H,keepIframeSrcFn:j,ignoreCSSAttributes:J});r&&O(e,r)}},v),Z.type===b.Element&&"img"===Z.tagName&&!e.complete&&Z.needBlock){let t=()=>{if(e.isConnected&&!e.complete&&P)try{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&P(e,Z,t)}catch(e){}e.removeEventListener("load",t)};e.isConnected&&e.addEventListener("load",t)}return Z.type===b.Element&&"link"===Z.tagName&&"string"==typeof Z.attributes.rel&&("stylesheet"===Z.attributes.rel||"preload"===Z.attributes.rel&&"string"==typeof Z.attributes.href&&"css"===V(Z.attributes.href))&&function(e,t,r){let n,a=!1;try{n=e.sheet}catch(e){return}if(n)return;let o=Y(()=>{a||(t(),a=!0)},r);e.addEventListener("load",()=>{W(o),a=!0,t()})}(e,()=>{if(D){let t=e_(e,{doc:o,mirror:i,blockClass:s,blockSelector:l,unblockSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:_,maskTextSelector:p,unmaskTextSelector:E,skipChild:!1,inlineStylesheet:T,maskInputOptions:g,maskAttributeFn:f,maskTextFn:m,maskInputFn:h,slimDOMOptions:A,dataURLOptions:R,inlineImages:I,recordCanvas:y,preserveWhiteSpace:X,onSerialize:N,onIframeLoad:O,iframeLoadTimeout:v,onStylesheetLoad:D,stylesheetLoadTimeout:H,keepIframeSrcFn:j,ignoreCSSAttributes:J});t&&D(e,t)}},H),Z.type===b.Element&&delete Z.needBlock,Z}function ep(e,t,r=document){let n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}let eE="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",eS={map:{},getId:()=>(console.error(eE),-1),getNode:()=>(console.error(eE),null),removeNodeFromMap(){console.error(eE)},has:()=>(console.error(eE),!1),reset(){console.error(eE)}};function eT(e,t,r={}){let n=null,a=0;return function(...o){let i=Date.now();a||!1!==r.leading||(a=i);let s=t-(i-a),l=this;s<=0||s>t?(n&&(function(...e){eD("clearTimeout")(...e)}(n),n=null),a=i,e.apply(l,o)):n||!1===r.trailing||(n=eL(()=>{a=!1===r.leading?0:Date.now(),n=null,e.apply(l,o)},s))}}function eg(e,t,r){try{if(!(t in e))return()=>{};let n=e[t],a=r(n);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=a,()=>{e[t]=n}}catch{return()=>{}}}"u">typeof window&&window.Proxy&&window.Reflect&&(eS=new Proxy(eS,{get:(e,t,r)=>("map"===t&&console.error(eE),Reflect.get(e,t,r))}));let ef=Date.now;function em(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function eh(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function eA(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function eR(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function eI(e,t,r,n,a){if(!e)return!1;let o=eR(e);if(!o)return!1;let i=eu(t,r);
490if(!a){let e=n&&o.matches(n);return i(o)&&!e}let s=el(o,i),l=-1;return!(s<0)&&(n&&(l=el(o,eu(null,n))),s>-1&&l<0||s<l)}function ey(e,t){return -2===t.getId(e)}function eN(e){return!!e.changedTouches}function eO(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function ev(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function eb(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(ef=()=>new Date().getTime());class eC{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let r;return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function eM(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function eU(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let r=function(e){let t,r=e;for(;t=eM(r);)r=t;return r}(e);return t.contains(r)}(e))}let eP={};function eD(e){let t=eP[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(n=a[e]),r.head.removeChild(t)}catch(e){}return eP[e]=n.bind(window)}function eL(...e){return eD("setTimeout")(...e)}var ew=((f=ew||{})[f.DomContentLoaded=0]="DomContentLoaded",f[f.Load=1]="Load",f[f.FullSnapshot=2]="FullSnapshot",f[f.IncrementalSnapshot=3]="IncrementalSnapshot",f[f.Meta=4]="Meta",f[f.Custom=5]="Custom",f[f.Plugin=6]="Plugin",f),eB=((m=eB||{})[m.Mutation=0]="Mutation",m[m.MouseMove=1]="MouseMove",m[m.MouseInteraction=2]="MouseInteraction",m[m.Scroll=3]="Scroll",m[m.ViewportResize=4]="ViewportResize",m[m.Input=5]="Input",m[m.TouchMove=6]="TouchMove",m[m.MediaInteraction=7]="MediaInteraction",m[m.StyleSheetRule=8]="StyleSheetRule",m[m.CanvasMutation=9]="CanvasMutation",m[m.Font=10]="Font",m[m.Log=11]="Log",m[m.Drag=12]="Drag",m[m.StyleDeclaration=13]="StyleDeclaration",m[m.Selection=14]="Selection",m[m.AdoptedStyleSheet=15]="AdoptedStyleSheet",m[m.CustomElement=16]="CustomElement",m),ek=((h=ek||{})[h.MouseUp=0]="MouseUp",h[h.MouseDown=1]="MouseDown",h[h.Click=2]="Click",h[h.ContextMenu=3]="ContextMenu",h[h.DblClick=4]="DblClick",h[h.Focus=5]="Focus",h[h.Blur=6]="Blur",h[h.TouchStart=7]="TouchStart",h[h.TouchMove_Departed=8]="TouchMove_Departed",h[h.TouchEnd=9]="TouchEnd",h[h.TouchCancel=10]="TouchCancel",h),ex=((A=ex||{})[A.Mouse=0]="Mouse",A[A.Pen=1]="Pen",A[A.Touch=2]="Touch",A),eG=((R=eG||{})[R.Play=0]="Play",R[R.Pause=1]="Pause",R[R.Seeked=2]="Seeked",R[R.VolumeChange=3]="VolumeChange",R[R.RateChange=4]="RateChange",R);function eF(e){try{return e.contentDocument}catch(e){}}class eV{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let eH=(e,t)=>`${e}@${t}`;class ej{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>
490{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,r=new eV,n=e=>{let t=e,r=-2;for(;-2===r;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},a=a=>{if(!a.parentNode||!eU(a))return;let o=C(a.parentNode)?this.mirror.getId(eM(a)):this.mirror.getId(a.parentNode),i=n(a);if(-1===o||-1===i)return r.addNode(a);let s=e_(a,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{eO(e,this.mirror)&&!eI(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),ev(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),eb(a)&&this.shadowDomManager.addShadowRoot(a.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{eI(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:r,height:n})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${n}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:o,nextId:i,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!eW(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&a(e);for(let e of this.addedSet)e$(this.droppedSet,e)||eW(this.removes,e,this.mirror)?e$(this.movedSet,e)?a(e):this.droppedSet.add(e):a(e);let o=null;for(;r.length;){let e=null;if(o){let t=this.mirror.getId(o.value.parentNode),r=n(o.value);-1!==t&&-1!==r&&(e=o)}if(!e){let t=r.tail;for(;t;){let r=t;if(t=t.previous,r){let t=this.mirror.getId(r.value.parentNode);if(-1===n(r.value))continue;if(-1!==t){e=r;break}{let t=r.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=t.parentNode.host;if(-1!==this.mirror.getId(n)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}o=e.previous,r.removeNode(e.value),a(e.value)}let i={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(i.texts.length||i.attributes.length||i.removes.length||i.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(i))},this.processMutation=e=>{if(!ey(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;eI(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:ec(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,eR(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){let r=G(t),a=t.tagName;n=F(t,a,r);let o=L({maskInputOptions:this.maskInputOptions,tagName:a,type:r});n=w({isMasked:ec(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:t,value:n,maskInputFn:this.maskInputFn})}if(eI(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue)return;let a=this.attributeMap.get(e.target);
490if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(n)){if(eF(t))return;r="rr_src"}if(a||(a={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(a),this.attributeMap.set(e.target,a)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!es(t.tagName,r)&&(a.attributes[r]=ei(this.doc,B(t.tagName),B(r),n,t,this.maskAttributeFn),"style"===r)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let r=this.unattachedDoc.createElement("span");for(let n of(e.oldValue&&r.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(n),o=t.style.getPropertyPriority(n);e!==r.style.getPropertyValue(n)||o!==r.style.getPropertyPriority(n)?""===o?a.styleDiff[n]=e:a.styleDiff[n]=[e,o]:a._unchangedStyles[n]=[e,o]}for(let e of Array.from(r.style))""===t.style.getPropertyValue(e)&&(a.styleDiff[e]=!1)}break}case"childList":if(eI(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let r=this.mirror.getId(t),n=C(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);eI(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||ey(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(eY(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||function e(t,r){if(C(t))return!1;let n=r.getId(t);return!r.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,r))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[eH(r,n)]?eY(this.movedSet,t):this.removes.push({parentId:n,id:r,isShadow:!!(C(e.target)&&M(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(ey(e,this.mirror))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[eH(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!eI(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),eb(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function eY(e,t){e.delete(t),t.childNodes?.forEach(t=>eY(e,t))}function eW(e,t,r){return 0!==e.length&&function(e,t,r){let n=t.parentNode;for(;n;){let t=r.getId(n);if(e.some(e=>e.id===t))return!0;n=n.parentNode}return!1}(e,t,r)}function e$(e,t){return 0!==e.size&&function e(t,r){let{parentNode:n}=r;return!!n&&(!!t.has(n)||e(t,n))}(e,t)}let eK=e=>o?(...t)=>{try{return e(...t)}catch(e){if(o&&!0===o(e))return()=>{};throw e}}:e,eq=[];function ez(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function eJ(e,t){let r=new ej;eq.push(r),r.init(e);let n=window.MutationObserver||window.__rrMutationObserver,a=window?.Zone?.__symbol__?.("MutationObserver");a&&window[a]&&(n=window[a]);let o=new n(eK(t=>{e.onMutation&&!1===e.onMutation(t)||r.processMutations.bind(r)(t)}));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function eX({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:a,unblockSelector:o,sampling:i}){return ep("scroll",eK(eT(eK(i=>{let s=ez(i);if(!s||eI(s,n,a,o,!0))return;let l=r.getId(s);if(s===t&&t.defaultView){let r=em(t.defaultView);e({id:l,x:r.left,y:r.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),i.scroll||100)),t)}let eQ=["INPUT","TEXTAREA","SELECT"],eZ=new WeakMap;function e0(e){var t=[];if(e4("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||e4("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||e4("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||e4("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){let r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){let r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}function e1(e,t,r){let n,a;return e?(e.ownerNode?n=t.getId(e.ownerNode):a=r.getId(e),{styleId:a,id:n}):{}}function e2({mirror:e,stylesheetManager:t},r){let n=null;n="#document"===r.nodeName?e.getId(r):e.getId(r.host);let a="#document"===r.nodeName?r.defaultView?.Document:r.ownerDocument?.defaultView?.ShadowRoot,o=a?.prototype?Object.getOwnPropertyDescriptor(a?.prototype,"adoptedStyleSheets"):void 0;return null!==n&&-1!==n&&a&&o?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return o.get?.call(this)},set(e){let r=o.set?.call(this,e);if(null!==n&&-1!==n)try{t.adoptStyleSheets(e,n)}catch(e){}return r}}),eK(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})})):()=>{}}function e3(e,t={}){let r,n=e.doc.defaultView;if(!n)return()=>{};e.recordDOM&&(r=eJ(e,e.doc));let a=function({mousemoveCb:e,sampling:t,doc:r,mirror:n}){let a;if(!1===t.mousemove)return()=>{};let o="number"==typeof t.mousemove?t.mousemove:50,i="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],l=eT(eK(t=>{let r=Date.now()-a;e(s.map(e=>(e.timeOffset-=r,e)),t),s=[],a=null}),i),u=eK(eT(eK(e=>{let t=ez(e),{clientX:r,clientY:o}=eN(e)?e.changedTouches[0]:e;a||(a=ef()),s.push({x:r,y:o,id:n.getId(t),timeOffset:ef()-a}),l("u">typeof DragEvent&&e instanceof DragEvent?eB.Drag:e instanceof MouseEvent?eB.MouseMove:eB.TouchMove)}),o,{trailing:!1})),c=[ep("mousemove",u,r),ep("touchmove",u,r),ep("drag",u,r)];return eK(()=>
490{c.forEach(e=>e())})}(e),o=function({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:a,unblockSelector:o,sampling:i}){if(!1===i.mouseInteraction)return()=>{};let s=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,l=[],u=null;return Object.keys(ek).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(i=>{let s=B(i),c=t=>{let s=ez(t);if(eI(s,n,a,o,!0))return;let l=null,c=i;if("pointerType"in t){switch(t.pointerType){case"mouse":l=ex.Mouse;break;case"touch":l=ex.Touch;break;case"pen":l=ex.Pen}l===ex.Touch?ek[i]===ek.MouseDown?c="TouchStart":ek[i]===ek.MouseUp&&(c="TouchEnd"):ex.Pen}else eN(t)&&(l=ex.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===ex.Touch||c.startsWith("Mouse")&&l===ex.Mouse)&&(l=null)):ek[i]===ek.Click&&(l=u,u=null);let d=eN(t)?t.changedTouches[0]:t;if(!d)return;let _=r.getId(s),{clientX:p,clientY:E}=d;eK(e)({type:ek[c],id:_,x:p,y:E,...null!==l&&{pointerType:l}})};if(window.PointerEvent)switch(ek[i]){case ek.MouseDown:case ek.MouseUp:s=s.replace("mouse","pointer");break;case ek.TouchStart:case ek.TouchEnd:return}l.push(ep(s,c,t))}),eK(()=>{l.forEach(e=>e())})}(e),i=eX(e),s=function({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return ep("resize",eK(eT(eK(()=>{let t=eh(),a=eA();(r!==t||n!==a)&&(e({width:Number(a),height:Number(t)}),r=t,n=a)}),200)),t)}(e,{win:n}),l=function({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:a,unblockSelector:o,ignoreClass:i,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:_,unmaskTextClass:p,maskTextSelector:E,unmaskTextSelector:S}){function T(e){let r=ez(e),c=e.isTrusted,T=r&&k(r.tagName);if("OPTION"===T&&(r=r.parentElement),!r||!T||0>eQ.indexOf(T)||eI(r,n,a,o,!0))return;let f=r;if(f.classList.contains(i)||s&&f.matches(s))return;
490let m=G(r),h=F(f,T,m),A=!1,R=L({maskInputOptions:l,tagName:T,type:m}),I=ec(r,_,E,p,S,R);("radio"===m||"checkbox"===m)&&(A=r.checked),h=w({isMasked:I,element:r,value:h,maskInputFn:u}),g(r,d?{text:h,isChecked:A,userTriggered:c}:{text:h,isChecked:A});let y=r.name;"radio"===m&&y&&A&&t.querySelectorAll(`input[type="radio"][name="${y}"]`).forEach(e=>{if(e!==r){let t=w({isMasked:I,element:e,value:F(e,T,m),maskInputFn:u});g(e,d?{text:t,isChecked:!A,userTriggered:!1}:{text:t,isChecked:!A})}})}function g(t,n){let a=eZ.get(t);if(!a||a.text!==n.text||a.isChecked!==n.isChecked){eZ.set(t,n);let a=r.getId(t);eK(e)({...n,id:a})}}let f=("last"===c.input?["change"]:["input","change"]).map(e=>ep(e,eK(T),t)),m=t.defaultView;if(!m)return()=>{f.forEach(e=>e())};let h=m.Object.getOwnPropertyDescriptor(m.HTMLInputElement.prototype,"value"),A=[[m.HTMLInputElement.prototype,"value"],[m.HTMLInputElement.prototype,"checked"],[m.HTMLSelectElement.prototype,"value"],[m.HTMLTextAreaElement.prototype,"value"],[m.HTMLSelectElement.prototype,"selectedIndex"],[m.HTMLOptionElement.prototype,"selected"]];return h&&h.set&&f.push(...A.map(e=>(function e(t,r,n,a,o=window){let i=o.Object.getOwnPropertyDescriptor(t,r);return o.Object.defineProperty(t,r,a?n:{set(e){eL(()=>{n.set.call(this,e)},0),i&&i.set&&i.set.call(this,e)}}),()=>e(t,r,i||{},!0)})(e[0],e[1],{set(){eK(T)({target:this,isTrusted:!1})}},!1,m))),eK(()=>{f.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:n,mirror:a,sampling:o,doc:i}){let s=eK(i=>eT(eK(o=>{let s=ez(o);if(!s||eI(s,t,r,n,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d}=s;e({type:i,id:a.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d})}),o.media||500)),l=[ep("play",s(eG.Play),i),ep("pause",s(eG.Pause),i),ep("seeked",s(eG.Seeked),i),ep("volumechange",s(eG.VolumeChange),i),ep("ratechange",s(eG.RateChange),i)];return eK(()=>{l.forEach(e=>e())})}(e),c=()=>{},d=()=>{},_=()=>{},p=()=>{};e.recordDOM&&(c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){let a,o;if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};let i=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:eK((n,a,o)=>{let[i,s]=o,{id:l,styleId:u}=e1(a,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:i,index:s}]}),n.apply(a,o)})});let s=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:eK((n,a,o)=>{let[i]=o,{id:s,styleId:l}=e1(a,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:i}]}),n.apply(a,o)})}),n.CSSStyleSheet.prototype.replace&&(a=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:eK((n,a,o)=>{let[i]=o,{id:s,styleId:l}=e1(a,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:i}),n.apply(a,o)})})),n.CSSStyleSheet.prototype.replaceSync&&(o=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:eK((n,a,o)=>{let[i]=o,{id:s,styleId:l}=e1(a,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:i}),n.apply(a,o)})}));let l={};e5("CSSGroupingRule")?l.CSSGroupingRule=n.CSSGroupingRule:(e5("CSSMediaRule")&&(l.CSSMediaRule=n.CSSMediaRule),e5("CSSConditionRule")&&(l.CSSConditionRule=n.CSSConditionRule),e5("CSSSupportsRule")&&(l.CSSSupportsRule=n.CSSSupportsRule));let u={};return Object.entries(l).forEach(([n,a])=>{u[n]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(u[n].insertRule,{apply:eK((n,a,o)=>{let[i,s]=o,{id:l,styleId:u}=e1(a.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:i,index:[...e0(a),s||0]}]}),n.apply(a,o)})}),a.prototype.deleteRule=new Proxy(u[n].deleteRule,{apply:eK((n,a,o)=>{let[i]=o,{id:s,styleId:l}=e1(a.parentStyleSheet,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...e0(a),i]}]}),n.apply(a,o)})})}),eK(()=>{n.CSSStyleSheet.prototype.insertRule=i,n.CSSStyleSheet.prototype.deleteRule=s,a&&(n.CSSStyleSheet.prototype.replace=a),o&&(n.CSSStyleSheet.prototype.replaceSync=o),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule})})}(e,{win:n}),d=e2(e,e.doc),_=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:a}){let o=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:eK((a,i,s)=>{let[l,u,c]=s;
490if(r.has(l))return o.apply(i,[l,u,c]);let{id:d,styleId:_}=e1(i.parentRule?.parentStyleSheet,t,n.styleMirror);return(d&&-1!==d||_&&-1!==_)&&e({id:d,styleId:_,set:{property:l,value:u,priority:c},index:e0(i.parentRule)}),a.apply(i,s)})});let i=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:eK((a,o,s)=>{let[l]=s;if(r.has(l))return i.apply(o,[l]);let{id:u,styleId:c}=e1(o.parentRule?.parentStyleSheet,t,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:e0(o.parentRule)}),a.apply(o,s)})}),eK(()=>{a.CSSStyleDeclaration.prototype.setProperty=o,a.CSSStyleDeclaration.prototype.removeProperty=i})}(e,{win:n}),e.collectFonts&&(p=function({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=>{};let n=[],a=new WeakMap,o=r.FontFace;r.FontFace=function(e,t,r){let n=new o(e,t,r);return a.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};let i=eg(t.fonts,"add",function(t){return function(r){return eL(eK(()=>{let t=a.get(r);t&&(e(t),a.delete(r))}),0),t.apply(this,[r])}});return n.push(()=>{r.FontFace=o}),n.push(i),eK(()=>{n.forEach(e=>e())})}(e)));let E=function(e){let{doc:t,mirror:r,blockClass:n,blockSelector:a,unblockSelector:o,selectionCb:i}=e,s=!0,l=eK(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let l=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:i,startOffset:s,endContainer:u,endOffset:c}=e.getRangeAt(t);eI(i,n,a,o,!0)||eI(u,n,a,o,!0)||l.push({start:r.getId(i),startOffset:s,end:r.getId(u),endOffset:c})}i({ranges:l})});return l(),ep("selectionchange",l)}(e),S=function({doc:e,customElementCb:t}){let r=e.defaultView;return r&&r.customElements?eg(r.customElements,"define",function(e){return function(r,n,a){try{t({define:{name:r}})}catch(e){}return e.apply(this,[r,n,a])}}):()=>{}}(e),T=[];for(let t of e.plugins)T.push(t.observer(t.callback,n,t.options));return eK(()=>{eq.forEach(e=>e.reset()),r?.disconnect(),a(),o(),i(),s(),l(),u(),c(),d(),_(),p(),E(),S(),T.forEach(e=>e())})}function e4(e){return void 0!==window[e]}function e5(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class e6{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,r,n){let a=r||this.getIdToRemoteIdMap(e),o=n||this.getRemoteIdToIdMap(e),i=a.get(t);return i||(i=this.generateIdFn(),a.set(t,i),o.set(i,t)),i}getIds(e,t){let r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,r,n))}getRemoteId(e,t,r){let n=r||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let a=n.get(t);return a||-1}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,r))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class e9{constructor(){this.crossOriginIframeMirror=new e6(z),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class e8{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new e6(z),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new e6(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let r=eF(e);r&&r.adoptedStyleSheets&&r.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let r=this.transformCrossOriginEvent(t,e.data.event);r&&this.wrappedEmit(r,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case ew.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:ew.IncrementalSnapshot,data:{source:eB.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case ew.Meta:case ew.Load:case ew.DomContentLoaded:break;case ew.Plugin:return t;case ew.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case ew.IncrementalSnapshot:switch(t.data.source){case eB.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)}
490),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case eB.Drag:case eB.TouchMove:case eB.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case eB.ViewportResize:return!1;case eB.MediaInteraction:case eB.MouseInteraction:case eB.Scroll:case eB.CanvasMutation:case eB.Input:return this.replaceIds(t.data,e,["id"]),t;case eB.StyleSheetRule:case eB.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case eB.Font:return t;case eB.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case eB.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,r,n){for(let a of n)(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(r,t[a]):t[a]=e.getId(r,t[a]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===b.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class e7{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class te{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!M(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let r=eJ({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(eX({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),eL(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(e2({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=eF(e),r=function(e){try{return e.contentWindow}catch(e){}}(e);t&&r&&this.patchAttachShadow(r.Element,t)}patchAttachShadow(e,t){let r=this;this.restoreHandlers.push(eg(e.prototype,"attachShadow",function(e){return function(n){let a=e.call(this,n);return this.shadowRoot&&eU(this)&&r.addShadowRoot(this.shadowRoot,t),a}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tr="u"<typeof Uint8Array?[]:new Uint8Array(256),tn=0;tn<tt.length;tn++)tr[tt.charCodeAt(tn)]=tn;class ta{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class to{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new eC,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let r={id:t,styleIds:[]},n=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:P(e),index:t}))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class ti{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&&Array.from(r).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){eD("requestAnimationFrame")(...e)}
490(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let ts=new D;function tl(e={}){let t,{emit:r,checkoutEveryNms:n,checkoutEveryNth:a,blockClass:l="rr-block",blockSelector:u=null,unblockSelector:c=null,ignoreClass:d="rr-ignore",ignoreSelector:_=null,maskAllText:p=!1,maskTextClass:E="rr-mask",unmaskTextClass:S=null,maskTextSelector:T=null,unmaskTextSelector:g=null,inlineStylesheet:f=!0,maskAllInputs:m,maskInputOptions:h,slimDOMOptions:A,maskAttributeFn:R,maskInputFn:I,maskTextFn:y,maxCanvasSize:N=null,packFn:O,sampling:v={},dataURLOptions:b={},mousemoveWait:C,recordDOM:M=!0,recordCanvas:U=!1,recordCrossOriginIframes:P=!1,recordAfter:L="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:w=!1,collectFonts:B=!1,inlineImages:k=!1,plugins:x,keepIframeSrcFn:G=()=>!1,ignoreCSSAttributes:F=new Set([]),errorHandler:V,onMutation:H,getCanvasManager:j}=e;o=V;let Y=!P||window.parent===window,W=!1;if(!Y)try{window.parent.document&&(W=!1)}catch(e){W=!0}if(Y&&!r)throw Error("emit function is required");if(!Y&&!W)return()=>{};void 0!==C&&void 0===v.mousemove&&(v.mousemove=C),ts.reset();let $=!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==h?h:{},K=!0===A||"all"===A?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===A,headMetaDescKeywords:"all"===A}:A||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode)return!1})}();let q=0,z=e=>{for(let t of x||[])t.eventProcessor&&(e=t.eventProcessor(e));return O&&!W&&(e=O(e)),e};i=(e,o)=>{if(e.timestamp=ef(),eq[0]?.isFrozen()&&e.type!==ew.FullSnapshot&&(e.type!==ew.IncrementalSnapshot||e.data.source!==eB.Mutation)&&eq.forEach(e=>e.unfreeze()),Y)r?.(z(e),o);else if(W){let t={type:"rrweb",event:z(e),origin:window.location.origin,isCheckout:o};window.parent.postMessage(t,"*")}if(e.type===ew.FullSnapshot)t=e,q=0;else if(e.type===ew.IncrementalSnapshot){if(e.data.source===eB.Mutation&&e.data.isAttachIframe)return;q++;let r=a&&q>=a,o=n&&t&&e.timestamp-t.timestamp>n;(r||o)&&ea(!0)}};let J=e=>{i({type:ew.IncrementalSnapshot,data:{source:eB.Mutation,...e}})},X=e=>i({type:ew.IncrementalSnapshot,data:{source:eB.Scroll,...e}}),Q=e=>i({type:ew.IncrementalSnapshot,data:{source:eB.CanvasMutation,...e}}),Z=new to({mutationCb:J,adoptedStyleSheetCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.AdoptedStyleSheet,...e}})}),ee="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new e9:new e8({mirror:ts,mutationCb:J,stylesheetManager:Z,recordCrossOriginIframes:P,wrappedEmit:i});for(let e of x||[])e.getMirror&&e.getMirror({nodeMirror:ts,crossOriginIframeMirror:ee.crossOriginIframeMirror,crossOriginIframeStyleMirror:ee.crossOriginIframeStyleMirror});let et=new ti,er=function(e,t){try{return e?e(t):new ta}catch{return console.warn("Unable to initialize CanvasManager"),new ta}}(j,{mirror:ts,win:window,mutationCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.CanvasMutation,...e}}),recordCanvas:U,blockClass:l,blockSelector:u,unblockSelector:c,maxCanvasSize:N,sampling:v.canvas,dataURLOptions:b,errorHandler:V}),en="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new e7:new te({mutationCb:J,scrollCb:X,bypassOptions:{onMutation:H,blockClass:l,blockSelector:u,unblockSelector:c,maskAllText:p,maskTextClass:E,unmaskTextClass:S,maskTextSelector:T,unmaskTextSelector:g,inlineStylesheet:f,maskInputOptions:$,dataURLOptions:b,maskAttributeFn:R,maskTextFn:y,maskInputFn:I,recordCanvas:U,inlineImages:k,sampling:v,slimDOMOptions:K,iframeManager:ee,stylesheetManager:Z,canvasManager:er,keepIframeSrcFn:G,processedNodeManager:et,ignoreCSSAttributes:F},mirror:ts}),ea=(e=!1)=>
490{if(!M)return;i({type:ew.Meta,data:{href:window.location.href,width:eA(),height:eh()}},e),Z.reset(),en.init(),eq.forEach(e=>e.lock());let t=function(e,t){let{mirror:r=new D,blockClass:n="rr-block",blockSelector:a=null,unblockSelector:o=null,maskAllText:i=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:_=!1,recordCanvas:p=!1,maskAllInputs:E=!1,maskAttributeFn:S,maskTextFn:T,maskInputFn:g,slimDOM:f=!1,dataURLOptions:m,preserveWhiteSpace:h,onSerialize:A,onIframeLoad:R,iframeLoadTimeout:I,onBlockedImageLoad:y,onStylesheetLoad:N,stylesheetLoadTimeout:O,keepIframeSrcFn:v=()=>!1,ignoreCSSAttributes:b=new Set([])}=t||{};return e_(e,{doc:e,mirror:r,blockClass:n,blockSelector:a,unblockSelector:o,maskAllText:i,maskTextClass:s,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===E?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===E?{}:E,maskAttributeFn:S,maskTextFn:T,maskInputFn:g,slimDOMOptions:!0===f||"all"===f?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===f,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===f?{}:f,dataURLOptions:m,inlineImages:_,recordCanvas:p,preserveWhiteSpace:h,onSerialize:A,onIframeLoad:R,iframeLoadTimeout:I,onBlockedImageLoad:y,onStylesheetLoad:N,stylesheetLoadTimeout:O,keepIframeSrcFn:v,newlyAddedElement:!1,ignoreCSSAttributes:b})}(document,{mirror:ts,blockClass:l,blockSelector:u,unblockSelector:c,maskAllText:p,maskTextClass:E,unmaskTextClass:S,maskTextSelector:T,unmaskTextSelector:g,inlineStylesheet:f,maskAllInputs:$,maskAttributeFn:R,maskInputFn:I,maskTextFn:y,slimDOM:K,dataURLOptions:b,recordCanvas:U,inlineImages:k,onSerialize:e=>{eO(e,ts)&&ee.addIframe(e),ev(e,ts)&&Z.trackLinkElement(e),eb(e)&&en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{ee.attachIframe(e,t),e.contentWindow&&er.addWindow(e.contentWindow),en.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Z.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:r,height:n})=>{J({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${n}px`}}}]})},keepIframeSrcFn:G,ignoreCSSAttributes:F});if(!t)return console.warn("Failed to snapshot the document");i({type:ew.FullSnapshot,data:{node:t,initialOffset:em(window)}}),eq.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Z.adoptStyleSheets(document.adoptedStyleSheets,ts.getId(document))};s=ea;try{let e=[],t=e=>eK(e3)({onMutation:H,mutationCb:J,mousemoveCb:(e,t)=>i({type:ew.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.MouseInteraction,...e}}),scrollCb:X,viewportResizeCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.ViewportResize,...e}}),inputCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.Input,...e}}),mediaInteractionCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.MediaInteraction,...e}}),styleSheetRuleCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.StyleSheetRule,...e}}),styleDeclarationCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.StyleDeclaration,...e}}),canvasMutationCb:Q,fontCb:e=>i({type:ew.IncrementalSnapshot,data:{source:eB.Font,...e}}),selectionCb:e=>{i({type:ew.IncrementalSnapshot,data:{source:eB.Selection,...e}})},customElementCb:e=>{i({type:ew.IncrementalSnapshot,data:{source:eB.CustomElement,...e}})},blockClass:l,ignoreClass:d,ignoreSelector:_,maskAllText:p,maskTextClass:E,unmaskTextClass:S,maskTextSelector:T,unmaskTextSelector:g,maskInputOptions:$,inlineStylesheet:f,sampling:v,recordDOM:M,recordCanvas:U,inlineImages:k,userTriggeredOnInput:w,collectFonts:B,doc:e,maskAttributeFn:R,maskInputFn:I,maskTextFn:y,keepIframeSrcFn:G,blockSelector:u,unblockSelector:c,slimDOMOptions:K,dataURLOptions:b,mirror:ts,iframeManager:ee,stylesheetManager:Z,shadowDomManager:en,processedNodeManager:et,canvasManager:er,ignoreCSSAttributes:F,plugins:x?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>i({type:ew.Plugin,data:{plugin:e.name,payload:t}}
490)}))||[]},{});ee.addLoadListener(r=>{try{e.push(t(r.contentDocument))}catch(e){console.warn(e)}});let r=()=>{ea(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?r():(e.push(ep("DOMContentLoaded",()=>{i({type:ew.DomContentLoaded,data:{}}),"DOMContentLoaded"===L&&r()})),e.push(ep("load",()=>{i({type:ew.Load,data:{}}),"load"===L&&r()},window))),()=>{e.forEach(e=>e()),et.destroy(),s=void 0,o=void 0}}catch(e){console.warn(e)}}function tu(e){return e>0x2540be3ff?e:1e3*e}function tc(e){return e>0x2540be3ff?e/1e3:e}function td(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:ew.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:_.normalize(t,10,1e3)}}),"console"===t.category)))}function t_(e){return e.closest("button,a")||e}function tp(e){let t=tE(e);return t&&t instanceof Element?t_(t):t}function tE(e){var t;return"object"==typeof(t=e)&&t&&"target"in t?e.target:e}tl.mirror=ts,tl.takeFullSnapshot=function(e){if(!s)throw Error("please take full snapshot after start recording");s(e)},(I=N||(N={}))[I.NotStarted=0]="NotStarted",I[I.Running=1]="Running",I[I.Stopped=2]="Stopped";let tS=new Set([eB.Mutation,eB.StyleSheetRule,eB.StyleDeclaration,eB.AdoptedStyleSheet,eB.CanvasMutation,eB.Selection,eB.MediaInteraction]);class tT{constructor(e,t,r=td){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){var e;let t=(e=()=>{this._lastMutation=tf()},l||(l=[],_.fill(E,"open",function(e){return function(...t){if(l)try{l.forEach(e=>e())}catch{}return e.apply(E,t)}})),l.push(e),()=>{let t=l?l.indexOf(e):-1;t>-1&&l.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var r,n,a;if(r=t,n=this._ignoreSelector,!tg.includes(r.tagName)||"INPUT"===r.tagName&&!["submit","button"].includes(r.getAttribute("type")||"")||"A"===r.tagName&&(r.hasAttribute("download")||r.hasAttribute("target")&&"_self"!==r.getAttribute("target"))||n&&r.matches(n)||!((a=e).data&&"number"==typeof a.data.nodeId&&a.timestamp))return;let o={timestamp:tc(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===o.node&&1>Math.abs(e.timestamp-o.timestamp))||(this._clicks.push(o),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=tc(e)}registerScroll(e=Date.now()){this._lastScroll=tc(e)}registerClick(e){let t=t_(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=tf();for(let r of(this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=t&&e.push(r)}),e)){let e=this._clicks.indexOf(r);e>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,r=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,n=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:a,clickBreadcrumb:o}=e;if(!r&&!n){let r=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),n=r<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:E.location.href,route:t.getCurrentRoute(),timeAfterClickMs:r,endReason:n,clickCount:a||1}};this._addBreadcrumbEvent(t,i);return}if(a>1){let e={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:E.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=p.setTimeout(()=>this._checkClicks(),1e3)}}let tg=["A","BUTTON","INPUT"];function tf(){return Date.now()/1e3}function tm(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var th=((y=th||{})[y.Document=0]="Document",y[y.DocumentType=1]="DocumentType",y[y.Element=2]="Element",y[y.Text=3]="Text",y[y.
490CDATA=4]="CDATA",y[y.Comment=5]="Comment",y);let tA=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function tR(e,t){let r=tl.mirror.getId(e),n=r&&tl.mirror.getNode(r),a=n&&tl.mirror.getMeta(n),o=a&&a.type===th.Element?a:null;return{message:t,data:o?{nodeId:r,node:{id:r,tagName:o.tagName,textContent:Array.from(o.childNodes).map(e=>e.type===th.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let r in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(tA.has(r)){let n=r;("data-testid"===r||"data-test-id"===r)&&(n="testId"),t[n]=e[r]}return t}(o.attributes)}}:{}}}let tI={resource:function(e){let{entryType:t,initiatorType:r,name:n,responseEnd:a,startTime:o,decodedBodySize:i,encodedBodySize:s,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${t}.${r}`,start:tO(o),end:tO(a),name:n,data:{size:u,statusCode:l,decodedBodySize:i,encodedBodySize:s}}},paint:function(e){let{duration:t,entryType:r,name:n,startTime:a}=e,o=tO(a);return{type:r,name:n,start:o,end:o+t,data:void 0}},navigation:function(e){let{entryType:t,name:r,decodedBodySize:n,duration:a,domComplete:o,encodedBodySize:i,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:_,startTime:p,transferSize:E,type:S}=e;return 0===a?null:{type:`${t}.${S}`,start:tO(p),end:tO(o),name:r,data:{size:E,decodedBodySize:n,encodedBodySize:i,duration:a,domInteractive:u,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:o,redirectCount:_}}}};function ty(e,t){return({metric:r})=>void t.replayPerformanceEntries.push(e(r))}function tN(e){let t=tI[e.entryType];return t?t(e):null}function tO(e){return((_.browserPerformanceTimeOrigin()||E.performance.timeOrigin)+e)/1e3}function tv(e){let t=e.entries[e.entries.length-1];return tM(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function tb(e){let t=[],r=[];for(let n of e.entries)if(void 0!==n.sources){let e=[];for(let t of n.sources)if(t.node){r.push(t.node);let n=tl.mirror.getId(t.node);n&&e.push(n)}t.push({value:n.value,nodeIds:e.length?e:void 0})}return tM(e,"cumulative-layout-shift",r,t)}function tC(e){let t=e.entries[e.entries.length-1];return tM(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function tM(e,t,r,n){let a=e.value,o=e.rating,i=tO(a);return{type:"web-vital",name:t,start:i,end:i,data:{value:a,size:a,rating:o,nodeIds:r?r.map(e=>tl.mirror.getId(e)):void 0,attributions:n}}}let tU="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tP=["log","warn","error"],tD="[Replay] ";function tL(e,t="info"){_.addBreadcrumb({category:"console",data:{logger:"replay"},level:t,message:`${tD}${e}`},{level:t})}let tw=(u=!1,c=!1,d={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{u=!!e.captureExceptions,c=!!e.traceInternals}},tU?(tP.forEach(e=>{d[e]=(...t)=>{_.debug[e](tD,...t),c&&tL(t.join(""),_.severityLevelFromString(e))}}),d.exception=(e,...t)=>{t.length&&d.error&&d.error(...t),_.debug.error(tD,e),u?_.captureException(e,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):c&&tL(e,"error")},d.infoTick=(...e)=>{_.debug.log(tD,...e),c&&setTimeout(()=>tL(e[0]),0)}):tP.forEach(e=>{d[e]=()=>void 0}),d);class tB extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class tk{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new tB;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?tu(e):null}}class tx{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>
490{this._worker.addEventListener("message",({data:r})=>{r.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){tU&&tw.log("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let r=this._getAndIncrementId();return new Promise((n,a)=>{let o=({data:t})=>{if(t.method===e&&t.id===r){if(this._worker.removeEventListener("message",o),!t.success){tU&&tw.error("Error in compression worker: ",t.response),a(Error("Error in compression worker"));return}n(t.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:r,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class tG{constructor(e){this._worker=new tx(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=tu(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let r=JSON.stringify(e);return(this._totalSize+=r.length,this._totalSize>2e7)?Promise.reject(new tB):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{tU&&tw.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class tF{constructor(e){this._fallback=new tk,this._compression=new tG(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){tU&&tw.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:r}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(n),this._fallback.clear()}catch(e){tU&&tw.exception(e,"Failed to add events when switching buffers.")}}}function tV(){try{return"sessionStorage"in E&&!!E.sessionStorage}catch{return!1}}function tH(e){return void 0!==e&&Math.random()<e}function tj(e){if(tV())try{E.sessionStorage.setItem(S,JSON.stringify(e))}catch{}}function tY(e){let t=Date.now(),r=e.id||_.uuid4(),n=e.started||t,a=e.lastActivity||t,o=e.segmentId||0,i=e.sampled;return{id:r,started:n,lastActivity:a,segmentId:o,sampled:i,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function tW({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:n}={}){let a=tY({sampled:tH(e)?"session":!!t&&"buffer",previousSessionId:n});return r&&tj(a),a}function t$(e,t,r=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=r}function tK(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:n=Date.now()}){return t$(e.started,t,n)||t$(e.lastActivity,r,n)}function tq(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!!tK(e,{sessionIdleExpire:t,maxReplayDuration:r})&&("buffer"!==e.sampled||0!==e.segmentId)}function tz({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},n){let a=n.stickySession&&function(){if(!tV())return null;try{let e=E.sessionStorage.getItem(S);if(!e)return null;let t=JSON.parse(e);return tU&&tw.infoTick("Loading existing session"),tY(t)}catch{return null}}();return a?tq(a,{sessionIdleExpire:e,maxReplayDuration:t})?(tU&&tw.infoTick("Session in sessionStorage is expired, creating new one..."),tW(n,{previousSessionId:a.id})):a:(tU&&tw.infoTick("Creating new session"),tW(n,{previousSessionId:r}))}function tJ(e,t,r){return!!tQ(e,t)&&(tX(e,t,r),!0)}async function tX(e,t,r){let{eventBuffer:n}=e;if(!n||n.waitForCheckout&&!r)return null;let a="buffer"===e.recordingMode;try{r&&a&&n.clear(),r&&(n.hasCheckout=!0,n.waitForCheckout=!1);let o=e.getOptions(),i=function(e,t){try{if("function"==typeof t&&e.type===ew.Custom)return t(e)}catch(e){return tU&&tw.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,o.beforeAddRecordingEvent);if(!i)return;return await n.addEvent(i)}
490catch(o){let t=o&&o instanceof tB,r=_.getClient();if(r&&r.recordDroppedEvent(t?"buffer_overflow":"internal_sdk_error","replay"),t&&a)return n.clear(),n.waitForCheckout=!0,null;e.handleException(o),await e.stop({reason:t?"addEventSizeExceeded":"addEvent"})}}function tQ(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let r=tu(t.timestamp);return!(r+e.timeouts.sessionIdlePause<Date.now())&&(!(r>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(tU&&tw.infoTick(`Skipping event with timestamp ${r} because it is after maxReplayDuration`),!1))}function tZ(e){return"transaction"===e.type}function t0(e){return"feedback"===e.type}function t1(e){return!!e.category}function t2(){let e=_.getCurrentScope().getPropagationContext().dsc;e&&delete e.replay_id;let t=_.getActiveSpan();if(t){let e=_.getDynamicSamplingContextFromSpan(t);delete e.replay_id}}function t3(e,t){return t.map(({type:t,start:r,end:n,name:a,data:o})=>{let i=e.throttledAddEvent({type:ew.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:t,description:a,startTimestamp:r,endTimestamp:n,data:o}}});return"string"==typeof i?Promise.resolve(null):i})}function t4(e,t){var r;e.isEnabled()&&null!==t&&(r=t.name,(!tU||!e.getOptions()._experiments.traceInternals)&&_.isSentryRequestUrl(r,_.getClient())||e.addUpdate(()=>(t3(e,[t]),!0)))}function t5(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let r=p.serializeFormData(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function t6(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function t9(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let r={...e._meta},n=r.warnings||[];return r.warnings=[...n,t],e._meta=r,e}function t8(e,t){if(!t)return null;let{startTimestamp:r,endTimestamp:n,url:a,method:o,statusCode:i,request:s,response:l}=t;return{type:e,start:r/1e3,end:n/1e3,name:a,data:{method:o,statusCode:i,request:s,response:l}}}function t7(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function re(e,t,r){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!r)return{headers:e,size:t};let n={headers:e,size:t},{body:a,warnings:o}=function(e){var t;let r,n;if(!e||"string"!=typeof e)return{body:e};let a=e.length>15e4,o=(r=(t=e)[0],n=t[t.length-1],"["===r&&"]"===n||"{"===r&&"}"===n);if(a){let t=e.slice(0,15e4);return o?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(o)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(r);return n.body=a,o?.length&&(n._meta={warnings:o}),n}function rt(e,t){return Object.entries(e).reduce((r,[n,a])=>{let o=n.toLowerCase();return t.includes(o)&&e[n]&&(r[o]=a),r},{})}function rr(e,t){let r=function(e,t=E.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(E.location.origin))return e;let r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;let n=r.href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}(e);return _.stringMatchesSomePattern(r,t)}async function rn(e,t,r){try{let n=await ra(e,t,r),a=t8("resource.fetch",n);t4(r.replay,a)}catch(e){tU&&tw.exception(e,"Failed to capture fetch breadcrumb")}}async function ra(e,t,r){let n=Date.now(),{startTimestamp:a=n,endTimestamp:o=n}=t,{url:i,method:s,status_code:l=0,request_body_size:u,response_body_size:c}=e.data,d=rr(i,r.networkDetailAllowUrls)&&!rr(i,r.networkDetailDenyUrls);return{startTimestamp:a,endTimestamp:o,url:i,method:s,statusCode:l,request:d?function({networkCaptureBodies:e,networkRequestHeaders:t},r,n){var a,o;let i=r?(a=r,o=t,1===a.length&&"string"!=typeof a[0]?rl(a[0],o):2===a.length?rl(a[1],o):{}):{};if(!e)return re(i,n,void 0);let s=p.getFetchRequestArgBody(r),[l,u]=p.getBodyString(s,tw),c=re(i,n,l);return u?t9(c,u):c}(r,t.input,u):t7(u),response:await ro(d,r,t.response,c)}}async function ro(e,{networkCaptureBodies:t,networkResponseHeaders:r},n,a){if(!e&&void 0!==a)return t7(a);let o=n?rs(n.headers,r):{};if(!n||!t&&void 0!==a)return re(o,a,void 0);let[i,s]=await ri(n),l=function(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:n,headers:a}){try{let o=e?.length&&void 0===r?t5(e):r;if(!n)return t7(o);if(t)return re(a,o,e);return re(a,o,void 0)}catch(e){return tU&&tw.exception(e,"Failed to serialize response body"),re(a,r,void 0)}}(i,{networkCaptureBodies:t,responseBodySize:a,captureDetails:e,headers:o});return s?t9(l,s):l}async function ri(e){let t=function(e){try{return e.clone()}catch(e){tU&&tw.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{var r;return[await (r=t,new Promise((e,t)=>
490{let n=p.setTimeout(()=>t(Error("Timeout while trying to read response body")),500);ru(r).then(t=>e(t),e=>t(e)).finally(()=>clearTimeout(n))}))]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return tU&&tw.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return tU&&tw.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function rs(e,t){let r={};return t.forEach(t=>{e.get(t)&&(r[t]=e.get(t))}),r}function rl(e,t){if(!e)return{};let r=e.headers;return r?r instanceof Headers?rs(r,t):Array.isArray(r)?{}:rt(r,t):{}}async function ru(e){return await e.text()}async function rc(e,t,r){try{let n=function(e,t,r){let n=Date.now(),{startTimestamp:a=n,endTimestamp:o=n,input:i,xhr:s}=t,{url:l,method:u,status_code:c=0,request_body_size:d,response_body_size:_}=e.data;if(!l)return null;if(!s||!rr(l,r.networkDetailAllowUrls)||rr(l,r.networkDetailDenyUrls)){let e=t7(d);return{startTimestamp:a,endTimestamp:o,url:l,method:u,statusCode:c,request:e,response:t7(_)}}let E=s[p.SENTRY_XHR_DATA_KEY],S=E?rt(E.request_headers,r.networkRequestHeaders):{},T=rt(p.parseXhrResponseHeaders(s),r.networkResponseHeaders),[g,f]=r.networkCaptureBodies?p.getBodyString(i,tw):[void 0],[m,h]=r.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{var r=e.response,n=e.responseType;try{if("string"==typeof r)return[r];if(r instanceof Document)return[r.body.outerHTML];if("json"===n&&r&&"object"==typeof r)return[JSON.stringify(r)];if(!r)return[void 0]}catch(e){return tU&&tw.exception(e,"Failed to serialize body",r),[void 0,"BODY_PARSE_ERROR"]}return tU&&tw.log("Skipping network body because of body type",r),[void 0,"UNPARSEABLE_BODY_TYPE"]}catch(e){t.push(e)}return tU&&tw.warn("Failed to get xhr response body",...t),[void 0]}(s):[void 0],A=re(S,d,g),R=re(T,_,m);return{startTimestamp:a,endTimestamp:o,url:l,method:u,statusCode:c,request:f?t9(A,f):A,response:h?t9(R,h):R}}(e,t,r),a=t8("resource.xhr",n);t4(r.replay,a)}catch(e){tU&&tw.exception(e,"Failed to capture xhr breadcrumb")}}async function rd(e){try{return Promise.all(t3(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}=e,a=Date.now()/1e3;return{type:"memory",name:"memory",start:a,end:a,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}(E.performance.memory)]))}catch{return[]}}let r_=_.GLOBAL_OBJ.navigator;async function rp({client:e,scope:t,replayId:r,event:n}){let a={event_id:r,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",n,a);let o=await _.prepareEvent(e.getOptions(),n,a,t,e,_.getIsolationScope());if(!o)return null;e.emit("postprocessEvent",o,a),o.platform=o.platform||"javascript";let i=e.getSdkMetadata(),{name:s,version:l,settings:u}=i?.sdk||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0",settings:u},o}async function rE({recordingData:e,replayId:t,segmentId:r,eventContext:n,timestamp:a,session:o}){var i;let s,l=function({recordingData:e,headers:t}){let r,n=`${JSON.stringify(t)}
491`;if("string"==typeof e)r=`${n}${e}`;else{let t=new TextEncoder().encode(n);(r=new Uint8Array(t.length+e.length)).set(t),r.set(e,t.length)}return r}({recordingData:e,headers:{segment_id:r}}),{urls:u,errorIds:c,traceIds:d,initialTimestamp:p}=n,E=_.getClient(),S=_.getCurrentScope(),g=E?.getTransport(),f=E?.getDsn();if(!E||!g||!f||!o.sampled)return Promise.resolve({});let m={type:"replay_event",replay_start_timestamp:p/1e3,timestamp:a/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:t,segment_id:r,replay_type:o.sampled},h=await rp({scope:S,client:E,replayId:t,event:m});if(!h)return E.recordDroppedEvent("event_processor","replay"),tU&&tw.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete h.sdkProcessingMetadata;let A=(i=E.getOptions().tunnel,_.createEnvelope(_.createEventEnvelopeHeaders(h,_.getSdkMetadataForEnvelopeHeader(h),i,f),[[{type:"replay_event"},h],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await g.send(A)}catch(t){let e=Error(T);try{e.cause=t}catch{}throw e}let R=_.updateRateLimits({},s);if(_.isRateLimited(R,"replay"))throw new rT(R);if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new rS(s.statusCode);return s}
491class rS extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class rT extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class rg extends Error{constructor(){super("Session is too long, not sending replay")}}async function rf(e,t={count:0,interval:5e3}){let{recordingData:r,onError:n}=e;if(r.length)try{return await rE(e),!0}catch(r){if(r instanceof rS||r instanceof rT)throw r;if(_.setContext("Replays",{_retryCount:t.count}),n&&n(r),t.count>=3){let e=Error(`${T} - max retries exceeded`);try{e.cause=r}catch{}throw e}return t.interval*=++t.count,new Promise((r,n)=>{p.setTimeout(async()=>{try{await rf(e,t),r(!0)}catch(e){n(e)}},t.interval)})}}let rm="__THROTTLED";class rh{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,r){return _.debounce(e,t,{...r,setTimeoutImpl:p.setTimeout})}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e){let t=new Map,r=!1;return(...n)=>{let a,o=Math.floor(Date.now()/1e3);if(a=o-5,t.forEach((e,r)=>{r<a&&t.delete(r)}),[...t.values()].reduce((e,t)=>e+t,0)>=300){let e=r;return r=!0,e?"__SKIPPED":rm}r=!1;let i=t.get(o)||0;return t.set(o,i+1),e(...n)}}((e,t)=>tQ(this,e)?tX(this,e,t):Promise.resolve(null));const{slowClickTimeout:r,slowClickIgnoreSelectors:n}=this.getOptions(),a=r?{threshold:Math.min(3e3,r),timeout:r,scrollTimeout:300,ignoreSelector:n?n.join(","):""}:void 0;if(a&&(this.clickDetector=new tT(this,a)),tU){const t=e._experiments;tw.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===E.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=tm({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=tm({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let r=function(e){var t;let{metaKey:r,shiftKey:n,ctrlKey:a,altKey:o,key:i,target:s}=e;if(!s||"INPUT"===(t=s).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!i)return null;let l=r||a||o,u=1===i.length;if(!l&&u)return null;let c=_.htmlTreeAsString(s,{maxStringLength:200})||"<unknown>",d=tR(s,c);return tm({category:"ui.keyDown",message:c,data:{...d.data,metaKey:r,shiftKey:n,ctrlKey:a,altKey:o,key:i}})}(t);r&&td(e,r)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){tU&&tw.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:r}=this._options,n=t<=0&&r<=0;if(this._requiresManualStart=n,!n){if(this._initializeSessionForSampling(e),!this.session){tU&&tw.exception(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",tU&&tw.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){tU&&tw.log("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){tU&&tw.log("Buffering is in progress, call `flush()` to save the replay");return}tU&&tw.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=tz({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}
491startBuffering(){if(this._isEnabled){tU&&tw.log("Buffering is in progress, call `flush()` to save the replay");return}tU&&tw.infoTick("Starting replay in buffer mode");let e=tz({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t,r=this._canvas;this._stopRecording=tl({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(r,n)=>{if(!e.checkAndHandleExpiredSession()){tU&&tw.warn("Received replay event after session expired.");return}let a=n||!t;t=!0,e.clickDetector&&function(e,t){try{var r;if(r=t,3!==r.type)return;let{source:n}=t.data;if(tS.has(n)&&e.registerMutation(t.timestamp),n===eB.Scroll&&e.registerScroll(t.timestamp),t.data.source===eB.MouseInteraction){let{type:r,id:n}=t.data,a=tl.mirror.getNode(n);a instanceof HTMLElement&&r===ek.Click&&e.registerClick(a)}}catch{}}(e.clickDetector,r),e.addUpdate(()=>{if("buffer"===e.recordingMode&&a&&e.setInitialState(),!tJ(e,r,a))return!0;if(!a)return!1;let t=e.session;if(function(e,t){if(t&&e.session&&0===e.session.segmentId){let t;tJ(e,(t=e.getOptions(),{type:ew.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}),!1)}}(e,a),"buffer"===e.recordingMode&&t&&e.eventBuffer&&!t.dirty){let r=e.eventBuffer.getEarliestTimestamp();r&&(tU&&tw.log(`Updating session start time to earliest event in buffer to ${new Date(r)}`),t.started=r,e.getOptions().stickySession&&tj(t))}return!!t?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(r_?.userAgent??"")||/Macintosh/i.test(r_?.userAgent??"")&&r_?.maxTouchPoints&&r_?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...r?{recordCanvas:r.recordCanvas,getCanvasManager:r.getCanvasManager,sampling:r.sampling,dataURLOptions:r.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{tU&&tw.log(`Stopping Replay${t?` triggered by ${t}`:""}`),t2(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(tV())try{E.sessionStorage.removeItem(S)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),tU&&tw.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),tU&&tw.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();tU&&tw.log("Converting buffer to session"),await this.flushImmediate();let r=this.stopRecording();e&&r&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!e||this.session?.sampled!==!1)return this.session?.id}
491checkAndHandleExpiredSession(){return this._lastActivity&&t$(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled?void this.pause():!!this._checkSession()}setInitialState(){let e=`${E.location.pathname}${E.location.hash}${E.location.search}`,t=`${E.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let r=this._throttledAddEvent(e,t);if(r===rm){let e=tm({category:"replay.throttled"});this.addUpdate(()=>!tJ(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return r}getCurrentRoute(){let e=this.lastActiveSpan||_.getActiveSpan(),t=e&&_.getRootSpan(e),r=(t&&_.spanToJSON(t).data||{})[_.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if(t&&r&&["route","custom"].includes(r))return _.spanToJSON(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||function(){if("u"<typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__){let e;return e=new Blob(['
vendor: 10,329 bytes, line 491
491var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
491']),URL.createObjectURL(e)}return""}();if(!t)return;tU&&tw.log(`Using compression worker${e?` from ${e}`:""}`);let r=new Worker(t);return new tF(r)}catch(e){tU&&tw.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return tU&&tw.log("Using simple buffer"),new tk}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,r=tz({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=r}_checkSession(){if(!this.session)return!1;let e=this.session;return!tq(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{E.document.addEventListener("visibilitychange",this._handleVisibilityChange),E.addEventListener("blur",this._handleWindowBlur),E.addEventListener("focus",this._handleWindowFocus),E.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){let t,r=_.getClient();p.addClickKeypressInstrumentationHandler(t=>{var r,n;if(!e.isEnabled())return;let a=function(e){let{target:t,message:r}=function(e){let t,r="click"===e.name,n=null;try{n=r?tp(e.event):tE(e.event),t=_.htmlTreeAsString(n,{maxStringLength:200})||"<unknown>"}catch{t="<unknown>"}return{target:n,message:t}}(e);return tm({category:`ui.${e.name}`,...tR(t,r)})}(t);if(!a)return;let o="click"===t.name,i=o?t.event:void 0;o&&e.clickDetector&&i?.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&(r=e.clickDetector,n=tp(t.event),r.handleClick(a,n)),td(e,a)}),p.addHistoryInstrumentationHandler(t=>{if(!e.isEnabled())return;let r=function(e){let{from:t,to:r}=e,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:t}}}(t);null!==r&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>(t3(e,[r]),!1)))}),(t=_.getClient())&&t.on("beforeAddBreadcrumb",t=>(function(e,t){var r;if(!e.isEnabled()||!t1(t))return;let n=(r=t,!t1(r)||["fetch","xhr","sentry.event","sentry.transaction"].includes(r.category)||r.category.startsWith("ui.")?null:"console"===r.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return tm(e);let r=!1,n=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(r=!0,`${e.slice(0,5e3)}…`):e;if("object"==typeof e)try{let t=_.normalize(e,7);if(JSON.stringify(t).length>5e3)return r=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}…`;return t}catch{}return e});return tm({...e,data:{...e.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(r):tm(r));n&&td(e,n)})(e,t));let n=_.getClient();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:r,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:i}=e.getOptions(),s={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:r,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:i};n&&n.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,r){if(t.data)try{var n,a,o,i;n=t,"xhr"===n.category&&(a=r,a?.xhr)&&(!function(e,t){let{xhr:r,input:n}=t;if(!r)return;let a=t5(n),o=r.getResponseHeader("content-length")?t6(r.getResponseHeader("content-length")):function(e,t){try{let r="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return t5(r)}catch{return}}(r.response,r.responseType);void 0!==a&&(e.data.request_body_size=a),void 0!==o&&(e.data.response_body_size=o)}(t,r),rc(t,r,e)),o=t,"fetch"===o.category&&(i=r,i?.response)&&(!function(e,t){let{input:r,response:n}=t,a=t5(r?p.getFetchRequestArgBody(r):void 0),o=n?t6(n.headers.get("content-length")):void 0;
491void 0!==a&&(e.data.request_body_size=a),void 0!==o&&(e.data.response_body_size=o)}(t,r),rn(t,r,e))}catch(e){tU&&tw.exception(e,"Error when enriching network breadcrumb")}})(s,e,t))}catch{}let a=Object.assign((t,r)=>{if(!e.isEnabled()||e.isPaused())return t;if("replay_event"===t.type)return delete t.breadcrumbs,t;if(t.type&&!tZ(t)&&!t0(t))return t;if(!e.checkAndHandleExpiredSession())return t2(),t;if(t0(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:ew.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t;if(!t.type&&t.exception?.values?.length&&r.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions)return tU&&tw.log("Ignoring error from rrweb internals",t),null;let n="buffer"===e.recordingMode&&t.message!==T&&!!t.exception&&!t.type&&tH(e.getOptions().errorSampleRate);if((n||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&"buffer"===e.recordingMode&&e.session?.sampled==="buffer"){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&tj(t)}return t},{id:"Replay"});_.addEventProcessor(a),r&&(r.on("beforeSendEvent",t=>{var r,n;let a;e.isEnabled()&&!t.type&&(r=e,n=t,a=n.exception?.values?.[0]?.value,"string"==typeof a&&(a.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||a.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&td(r,tm({category:"replay.hydrate-error",data:{url:_.getLocationHref()}})))}),r.on("afterSendEvent",(t,r)=>{if(!e.isEnabled()||t.type&&!tZ(t))return;let n=r.statusCode;if(n&&!(n<200)&&!(n>=300)){if(tZ(t)){var a,o;let r;return void(a=e,o=t,r=a.getContext(),o.contexts?.trace?.trace_id&&r.traceIds.size<100&&r.traceIds.add(o.contexts.trace.trace_id))}!function(e,t){let r=e.getContext();if(t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:n}=e.getOptions();("function"!=typeof n||n(t))&&p.setTimeout(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t)}}),r.on("createDsc",t=>{let r=e.getSessionId();r&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=r)}),r.on("spanStart",t=>{e.lastActiveSpan=t}),r.on("spanEnd",t=>{e.lastActiveSpan=t}),r.on("beforeSendFeedback",async(t,r)=>{let n=e.getSessionId();r?.includeReplay&&e.isEnabled()&&n&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=n)}),r.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function r({entries:e}){e.forEach(t)}let n=[];return["navigation","paint","resource"].forEach(e=>{n.push(p.addPerformanceInstrumentationHandler(e,r))}),n.push(p.addLcpInstrumentationHandler(ty(tv,e)),p.addClsInstrumentationHandler(ty(tb,e)),p.addInpInstrumentationHandler(ty(tC,e))),()=>{n.forEach(e=>e())}}(this)}_removeListeners(){try{E.document.removeEventListener("visibilitychange",this._handleVisibilityChange),E.removeEventListener("blur",this._handleWindowBlur),E.removeEventListener("focus",this._handleWindowFocus),E.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){!this.session||tK(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){tU&&tw.log("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:ew.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(tN).filter(
491Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(t3(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let r=t.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){tU&&tw.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents){if((await rd(this),this.eventBuffer)&&e===this.getSessionId())try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new rg;let r=this._popEventContext(),n=this.session.segmentId++;this._maybeSaveSession();let a=await this.eventBuffer.finish();await rf({replayId:e,recordingData:a,segmentId:n,eventContext:r,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendReplay"});let e=_.getClient();e&&e.recordDroppedEvent(t instanceof rT?"ratelimit_backoff":t instanceof rg?"invalid":"send_error","replay")}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){tU&&tw.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,r=Date.now()-t;this._debouncedFlush.cancel();let n=r<this._options.minReplayDuration,a=r>this._options.maxReplayDuration+5e3;if(n||a){tU&&tw.log(`Session duration (${Math.floor(r/1e3)}s) is too ${n?"short":"long"}, not sending replay.`),n&&this._debouncedFlush();return}let o=this.eventBuffer;o&&0===this.session.segmentId&&!o.hasCheckout&&tU&&tw.log("Flushing initial segment without checkout.");let i=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,i&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&tj(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let r=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),n=t.join(",");return r?.matches(n)}))return!1;let r=e.length,n=this._options.mutationLimit,a=this._options.mutationBreadcrumbLimit,o=n&&r>n;if(r>a||o){let e=tm({category:"replay.mutations",data:{count:r,limit:o}});this._createCustomBreadcrumb(e)}return!o||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function rA(e,t){return[...e,...t].join(",")}let rR='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',rI=["content-length","content-type","accept"],ry=Symbol.for("sentry__originalRequestBody"),rN=!1,rO=!1;class rv{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:r=4999,maxReplayDuration:n=36e5,stickySession:a=!0,useCompression:o=!0,workerUrl:i,_experiments:s={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:d=750,mutationLimit:p=1e4,slowClickTimeout:E=7e3,slowClickIgnoreSelectors:S=[],networkDetailAllowUrls:T=[],networkDetailDenyUrls:g=[],networkCaptureBodies:f=!0,networkRequestHeaders:m=[],networkResponseHeaders:h=[],mask:A=[],maskAttributes:R=["title","placeholder","aria-label"],unmask:I=[],block:y=[],unblock:N=[],ignore:O=[],maskFn:v,beforeAddRecordingEvent:b,beforeErrorSampling:C,onError:M,attachRawBodyFromRequest:U=!1}={}){this.name="Replay";const P=function({mask:e,unmask:t,block:r,unblock:n,ignore:a}){return{maskTextSelector:rA(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:rA(t,[]),blockSelector:rA(r,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not
491([src])"]),unblockSelector:rA(n,[]),ignoreSelector:rA(a,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:A,unmask:I,block:y,unblock:N,ignore:O});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:v,maskInputFn:v,maskAttributeFn:(e,t,r)=>(function({el:e,key:t,maskAttributes:r,maskAllText:n,privacyOptions:a,value:o}){return!n||a.unmaskTextSelector&&e.matches(a.unmaskTextSelector)?o:r.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o})({maskAttributes:R,maskAllText:l,privacyOptions:P,key:e,value:t,el:r}),...P,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(r,5e4),maxReplayDuration:Math.min(n,36e5),stickySession:a,useCompression:o,workerUrl:i,blockAllMedia:c,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:p,slowClickTimeout:E,slowClickIgnoreSelectors:S,networkDetailAllowUrls:T,networkDetailDenyUrls:g,networkCaptureBodies:f,networkRequestHeaders:rb(m),networkResponseHeaders:rb(h),beforeAddRecordingEvent:b,beforeErrorSampling:C,onError:M,attachRawBodyFromRequest:U,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${rR}`:rR,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&_.isBrowser())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return rN}set _isInitialized(e){rN=e}afterAllSetup(e){_.isBrowser()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("u"<typeof Request||rO)return;let e=Request;try{let t=function(t,r){let n=new e(t,r);return r?.body!=null&&(n[ry]=r.body),n};t.prototype=e.prototype,_.GLOBAL_OBJ.Request=t,rO=!0}catch{}}(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){var t;let r,n,a,o,i=(t=this._initialOptions,r=e.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...t},a=_.parseSampleRate(r.replaysSessionSampleRate),o=_.parseSampleRate(r.replaysOnErrorSampleRate),null==a&&null==o&&_.consoleSandbox(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=a&&(n.sessionSampleRate=a),null!=o&&(n.errorSampleRate=o),n);this._replay=new rh({options:i,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function rb(e){return[...rI,...e.map(e=>e.toLowerCase())]}r.getReplay=function(){let e=_.getClient();return e?.getIntegrationByName("Replay")},r.replayIntegration=e=>new rv(e)},969274,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(814923);var o,i,s,l=Object.defineProperty,u=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?l(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r};function c(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:c(e.parentNode,t,r,n+1)}function d(e,t){return r=>{if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch{return!1}}}let _="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",p={map:{},getId:()=>(console.error(_),-1),getNode:()=>(console.error(_),null),removeNodeFromMap(){console.error(_)},has:()=>(console.error(_),!1),reset(){console.error(_)}};function E(e,t,r,n,a=window){let o=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,n?r:{set(e){h(()=>{r.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>E(e,t,o||{},!0)}function S(e,t,r){try{if(!(t in e))return()=>{};
491let n=e[t],a=r(n);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=a,()=>{e[t]=n}}catch{return()=>{}}}function T(e,t,r,n,a){if(!e)return!1;let o=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}(e);if(!o)return!1;let i=d(t,r);if(!a){let e=n&&o.matches(n);return i(o)&&!e}let s=c(o,i),l=-1;return!(s<0)&&(n&&(l=c(o,d(null,n))),s>-1&&l<0||s<l)}"u">typeof window&&window.Proxy&&window.Reflect&&(p=new Proxy(p,{get:(e,t,r)=>("map"===t&&console.error(_),Reflect.get(e,t,r))})),Date.now().toString();let g={};function f(e){let t=g[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(n=a[e]),r.head.removeChild(t)}catch(e){}return g[e]=n.bind(window)}function m(...e){return f("requestAnimationFrame")(...e)}function h(...e){return f("setTimeout")(...e)}var A=((o=A||{})[o["2D"]=0]="2D",o[o.WebGL=1]="WebGL",o[o.WebGL2=2]="WebGL2",o);let R=e=>n?(...t)=>{try{return e(...t)}catch(e){if(n&&!0===n(e))return()=>{};throw e}}:e;for(var I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y="u"<typeof Uint8Array?[]:new Uint8Array(256),N=0;N<I.length;N++)y[I.charCodeAt(N)]=N;var O=function(e){var t,r=new Uint8Array(e),n=r.length,a="";for(t=0;t<n;t+=3)a+=I[r[t]>>2],a+=I[(3&r[t])<<4|r[t+1]>>4],a+=I[(15&r[t+1])<<2|r[t+2]>>6],a+=I[63&r[t+2]];return n%3==2?a=a.substring(0,a.length-1)+"=":n%3==1&&(a=a.substring(0,a.length-2)+"=="),a};let v=new Map,b=(e,t,r)=>{let n;if(!e||!(M(e,t)||"object"==typeof e))return;let a=e.constructor.name,o=((n=v.get(r))||(n=new Map,v.set(r,n)),n.has(a)||n.set(a,[]),n.get(a)),i=o.indexOf(e);return -1===i&&(i=o.length,o.push(e)),i},C=(e,t,r)=>e.map(e=>(function e(t,r,n){if(t instanceof Array)return t.map(t=>e(t,r,n));if(null===t);else if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};else if(t instanceof ArrayBuffer)return{rr_type:t.constructor.name,base64:O(t)};else if(t instanceof DataView)return{rr_type:t.constructor.name,args:[e(t.buffer,r,n),t.byteOffset,t.byteLength]};else if(t instanceof HTMLImageElement){let e=t.constructor.name,{src:r}=t;return{rr_type:e,src:r}}else if(t instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:t.toDataURL()};else if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[e(t.data,r,n),t.width,t.height]};else if(M(t,r)||"object"==typeof t)return{rr_type:t.constructor.name,index:b(t,r,n)};return t})(e,t,r)),M=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>"function"==typeof t[e]).find(r=>e instanceof t[r]);function U(e,t,r,n,a){let o=[];try{let i=S(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(o,...i){if(!T(this,t,r,n,!0)){let e="experimental-webgl"===o?"webgl":o;if("__context"in this||(this.__context=e),a&&["webgl","webgl2"].includes(e))if(i[0]&&"object"==typeof i[0]){let e=i[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else i.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[o,...i])}});o.push(i)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach(e=>e())}}function P(e,t,r,n,a,o,i,s){let l=[];for(let i of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(i))try{if("function"!=typeof e[i])continue;let u=S(e,i,function(e){return function(...l){let u=e.apply(this,l);if(b(u,s,this),"tagName"in this.canvas&&!T(this.canvas,n,a,o,!0)){let e=C(l,s,this),n={type:t,property:i,args:e};r(this.canvas,n)}return u}});l.push(u)}catch{let n=E(e,i,{set(e){r(this.canvas,{type:t,property:i,args:[e],setter:!0})}});l.push(n)}return l}class D{constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.lastSnapshotTime=0,this.processMutation=(e,t)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};const{enableManualSnapshot:t,sampling:r="all",win:a,recordCanvas:o,errorHandler:i}=e;if(e.sampling=r,this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,i&&function(e){n=e}(i),(o&&"number"==typeof r||t)&&(this.worker=this.initFPSWorker()),this.addWindow(a),t)return;R(()=>{o&&"all"===r&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),o&&"number"==typeof r&&this.initCanvasFPSObserver()})()}reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEac
491h(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,this.worker?.terminate(),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}addWindow(e){let{sampling:t="all",blockClass:r,blockSelector:n,unblockSelector:a,recordCanvas:o,enableManualSnapshot:i}=this.options;if(!this.windowsSet.has(e)){if(i){this.windowsSet.add(e),this.windows.push(new WeakRef(e));return}R(()=>{if(o&&"all"===t&&this.initCanvasMutationObserver(e,r,n,a),o&&"number"==typeof t){let t=U(e,r,n,a,!0);this.restoreHandlers.push(()=>{t()})}})(),this.windowsSet.add(e),this.windows.push(new WeakRef(e))}}addShadowRoot(e){this.shadowDoms.add(new WeakRef(e))}resetShadowRoots(){this.shadowDoms=new Set}snapshot(e,t){t?.skipRequestAnimationFrame?this.takeSnapshot(performance.now(),!0,e):m(t=>this.takeSnapshot(t,!0,e))}initFPSWorker(){let e,t=new Worker((e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w?.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']),URL.createObjectURL(e)));return t.onmessage=e=>{let t=e.data,{id:r}=t;if(this.snapshotInProgressMap.set(r,!1),!("base64"in t))return;let{base64:n,type:a,width:o,height:i}=t;this.mutationCb({id:r,type:A["2D"],commands:[{property:"clearRect",args:[0,0,o,i]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:a}]},0,0,o,i]}]})},t}initCanvasFPSObserver(){let e;if(!this.windows.length&&!this.shadowDoms.size)return;let t=r=>{this.takeSnapshot(r,!1),e=m(t)};e=m(t),this.restoreHandlers.push(()=>{e&&cancelAnimationFrame(e)})}initCanvasMutationObserver(e,t,r,n){var a,o;let i,s=U(e,t,r,n,!1),l=function(e,t,r,n,a){let o=[];for(let i of Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype))try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[i])continue;let s=S(t.CanvasRenderingContext2D.prototype,i,function(o){return function(...s){return T(this.canvas,r,n,a,!0)||h(()=>{let r=C(s,t,this);e(this.canvas,{type:A["2D"],property:i,args:r})},0),o.apply(this,s)}});o.push(s)}catch{let r=E(t.CanvasRenderingContext2D.prototype,i,{set(t){e(this.canvas,{type:A["2D"],property:i,args:[t],setter:!0})}});o.push(r)}return()=>{o.forEach(e=>e())}}(this.processMutation.bind(this),e,t,r,n),u=(a=this.processMutation.bind(this),o=this.mirror,(i=[]).push(...P(e.WebGLRenderingContext.prototype,A.WebGL,a,t,r,n,o,e)),void 0!==e.WebGL2RenderingContext&&i.push(...P(e.WebGL2RenderingContext.prototype,A.WebGL2,a,t,r,n,o,e)),()=>{i.forEach(e=>e())});this.restoreHandlers.push(()=>{s(),l(),u()})}getCanvasElements(e,t,r){let n=[],a=a=>{a.querySelectorAll("canvas").forEach(a=>{T(a,e,t,r,!0)||n.push(a)})};for(let e of this.windows){let t,r=e.deref();try{t=r&&r.document}catch{}t&&a(t)}for(let e of this.shadowDoms){let t=e.deref();t&&a(t)}return n}takeSnapshot(e,t,r){let{sampling:n,blockClass:a,blockSelector:o,unblockSelector:i,dataURLOptions:s,maxCanvasSize:l}=this.options;return(!this.lastSnapshotTime||!(e-this.lastSnapshotTime<1e3/("all"===n?2:n||2)))&&(this.lastSnapshotTime=e,(r?[r]:this.getCanvasElements(a,o,i)).forEac
491h(e=>{let r=this.mirror.getId(e);if(!(!this.mirror.hasNode(e)||!e.width||!e.height||this.snapshotInProgressMap.get(r))){if(this.snapshotInProgressMap.set(r,!0),!t&&["webgl","webgl2"].includes(e.__context)){let t=e.getContext(e.__context);t?.getContextAttributes()?.preserveDrawingBuffer===!1&&t.clear(t.COLOR_BUFFER_BIT)}createImageBitmap(e).then(t=>{this.worker?.postMessage({id:r,bitmap:t,width:e.width,height:e.height,dataURLOptions:s,maxCanvasSize:l},[t])}).catch(e=>{R(()=>{throw this.snapshotInProgressMap.delete(r),e})()})}}),!0)}startPendingCanvasMutationFlusher(){m(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,m(e)};m(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)}),m(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let r=this.pendingCanvasMutations.get(e);if(!r||-1===t)return;let n=r.map(e=>{let{type:t,...r}=e;return r}),{type:a}=r[0];this.mutationCb({id:t,type:a,commands:n}),this.pendingCanvasMutations.delete(e)}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}new class e{constructor(){u(this,"idNodeMap",new Map),u(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}},(i=s||(s={}))[i.NotStarted=0]="NotStarted",i[i.Running=1]="Running",i[i.Stopped=2]="Stopped";let L={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}};r.replayCanvasIntegration=a.defineIntegration((e={})=>{let t,r,[n,a]=e.maxCanvasSize||[],o={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[n?Math.min(n,1280):1280,a?Math.min(a,1280):1280]},i=new Promise(e=>r=e);return{name:"ReplayCanvas",getOptions(){let{quality:e,enableManualSnapshot:n,maxCanvasSize:a}=o;return{enableManualSnapshot:n,recordCanvas:!0,getCanvasManager:e=>{let o=new D({...e,enableManualSnapshot:n,maxCanvasSize:a,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch{}}});return t=o,r(o),o},...L[e]||L.medium}},async snapshot(e,r){(t||await i).snapshot(e,r)}}})},837509,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(705889);r.baggageHeaderHasSentryValues=function(e){return e.split(",").some(e=>e.trim().startsWith("sentry-"))},r.createHeadersSafely=function(e){try{return new Headers(e)}catch{return}},r.getFullURL=function(e){try{return new URL(e,n.WINDOW.location.origin).href}catch{return}},r.isPerformanceResourceTiming=function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}},558163,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(203510),o=e.r(837509),i=new WeakMap,s=new Map,l={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function u(e){let{url:t}=n.spanToJSON(e).data;if(!t||"string"!=typeof t)return;let r=a.addPerformanceInstrumentationHandler("resource",({entries:n})=>{n.forEach(n=>{o.isPerformanceResourceTiming(n)&&n.name.endsWith(t)&&(e.setAttributes(a.resourceTimingToSpanAttributes(n)),setTimeout(r))})})}
491function c(e,t){let r=n.getLocationHref();if(r){let a,o;try{a=new URL(e,r),o=new URL(r).origin}catch{return!1}let i=a.origin===o;return t?n.stringMatchesSomePattern(a.toString(),t)||i&&n.stringMatchesSomePattern(a.pathname,t):i}{let r=!!e.match(/^\/(?!\/)/);return t?n.stringMatchesSomePattern(e,t):r}}r.defaultRequestInstrumentationOptions=l,r.instrumentOutgoingRequests=function(e,t){let{traceFetch:r,traceXHR:d,trackFetchStreamPerformance:_,shouldCreateSpanForRequest:p,enableHTTPTimings:E,tracePropagationTargets:S,onRequestSpanStart:T,onRequestSpanEnd:g}={...l,...t},f="function"==typeof p?p:e=>!0,m=e=>c(e,S),h={},A=e.getOptions().propagateTraceparent;r&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=s.get(e.span_id);t&&(e.timestamp=t/1e3,s.delete(e.span_id))}}),e)),_&&n.addFetchEndInstrumentationHandler(e=>{if(e.response){let t=i.get(e.response);t&&e.endTimestamp&&s.set(t,e.endTimestamp)}}),n.addFetchInstrumentationHandler(e=>{let t=n.instrumentFetchRequest(e,f,m,h,{propagateTraceparent:A,onRequestSpanEnd:g});if(e.response&&e.fetchData.__span&&i.set(e.response,e.fetchData.__span),t){let r=o.getFullURL(e.fetchData.url),a=r?n.parseUrl(r).host:void 0;t.setAttributes({"http.url":r?n.stripDataUrlContent(r):void 0,"server.address":a}),E&&u(t),T?.(t,{headers:e.headers})}})),d&&a.addXhrInstrumentationHandler(e=>{let t=function(e,t,r,i,s,l){let u=e.xhr,c=u?.[a.SENTRY_XHR_DATA_KEY];if(!u||u.__sentry_own_request__||!c)return;let{url:d,method:_}=c,p=n.hasSpansEnabled()&&t(d);if(e.endTimestamp&&p){let t=u.__sentry_xhr_span_id__;if(!t)return;let r=i[t];r&&void 0!==c.status_code&&(n.setHttpStatus(r,c.status_code),r.end(),l?.(r,{headers:o.createHeadersSafely(a.parseXhrResponseHeaders(u)),error:e.error}),delete i[t]);return}let E=o.getFullURL(d),S=E?n.parseUrl(E):n.parseUrl(d),T=n.stripDataUrlContent(n.stripUrlQueryAndFragment(d)),g=!!n.getActiveSpan(),f=p&&g?n.startInactiveSpan({name:`${_} ${T}`,attributes:{url:n.stripDataUrlContent(d),type:"xhr","http.method":_,"http.url":E?n.stripDataUrlContent(E):void 0,"server.address":S?.host,[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...S?.search&&{"http.query":S?.search},...S?.hash&&{"http.fragment":S?.hash}}}):new n.SentryNonRecordingSpan;u.__sentry_xhr_span_id__=f.spanContext().spanId,i[u.__sentry_xhr_span_id__]=f,r(d)&&function(e,t,r){let{"sentry-trace":a,baggage:i,traceparent:s}=n.getTraceData({span:t,propagateTraceparent:r});a&&function(e,t,r,n){let a=e.__sentry_xhr_v3__?.request_headers;if(!a?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),n&&!a?.traceparent&&e.setRequestHeader("traceparent",n),r){let t=a?.baggage;t&&o.baggageHeaderHasSentryValues(t)||e.setRequestHeader("baggage",r)}}catch{}}(e,a,i,s)}(u,n.hasSpansEnabled()&&g?f:void 0,s);let m=n.getClient();return m&&m.emit("beforeOutgoingRequestSpan",f,e),f}(e,f,m,h,A,g);t&&(E&&u(t),T?.(t,{headers:o.createHeadersSafely(e.xhr.__sentry_xhr_v3__?.request_headers)}))})},r.shouldAttachHeaders=c},72543,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(705889);r.registerBackgroundTabDetection=function(){o.WINDOW.document?o.WINDOW.document.addEventListener("visibilitychange",()=>{let e=n.getActiveSpan();if(!e)return;let t=n.getRootSpan(e);if(o.WINDOW.document.hidden&&t){let e="cancelled",{op:r,status:o}=n.spanToJSON(t);a.DEBUG_BUILD&&n.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),o||t.setStatus({code:n.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):a.DEBUG_BUILD&&n.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")}},981083,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(705889);e.r(203510),e.r(625231),e.r(713695),e.r(365753),e.r(256866),e.r(858886),e.r(819891),e.r(153926),e.r(207663);let i="sentry_previous_trace",s="sentry.previous_trace";function l(e,t,r){let o=n.spanToJSON(t),i={spanContext:t.spanContext(),startTimestamp:o.start_timestamp,sampleRate:function(){try{return Number(r.dsc?.sample_rate)??Number(o.data?.[n.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])}catch{return 0}}(),sampleRand:r.sampleRand};if(!e)return i;let l=e.spanContext;return l.traceId===o.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(a.DEBUG_BUILD&&n.debug.log(`Adding previous_trace \`${JSON.stringify(l)}\` link to span \`${JSON.stringify({op:o.op,...t.spanContext()})}\``),t.addLink({context:l,attributes:{[n.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),t.setAttribute(s,`${l.traceId}-${l.spanId}-${+!!d(l)}`)),i)}function u(e){try{o.WINDOW.sessionStorage.setItem(i,JSON.stringify(e))}catch(e){a.DEBUG_BUILD&&n.debug.warn("Could not store previous trace in sessionStorage",e)}}function c(){try{let e=o.WINDOW.sessionStorage?.getItem(i);return JSON.parse(e)}catch{return}}function d(e){return 1===e.traceFlags}r.PREVIOUS_TRACE_KEY=i,r.PREVIOUS_TRACE_MAX_DURATION=3600,r.PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE=s,r.addPreviousTraceSpanLink=l,r.getPreviousTraceFromSessionStorage=c,r.linkTraces=function(e,{linkPreviousTrace:t,consistentTraceSampling:r}){let a="session-storage"===t,o=a?c():void 0;e.on("spanStart",e=>{if(n.getRootSpan(e)!==e)return;let t=n.getCurrentScope().getPropagationContext();o=l(o,e,t),a&&u(o)});let i=!0;r&&e.on("beforeSampling",e=>
491{if(!o)return;let t=n.getCurrentScope(),r=t.getPropagationContext();if(i&&r.parentSpanId){i=!1;return}t.setPropagationContext({...r,dsc:{...r.dsc,sample_rate:String(o.sampleRate),sampled:String(d(o.spanContext))},sampleRand:o.sampleRand}),e.parentSampled=d(o.spanContext),e.parentSampleRate=o.sampleRate,e.spanAttributes={...e.spanAttributes,[n.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:o.sampleRate}})},r.spanContextSampled=d,r.storePreviousTraceInSessionStorage=u},825302,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(203510),o=e.r(480574),i=e.r(705889),s=e.r(72543),l=e.r(981083),u=e.r(558163),c="BrowserTracing",d={...n.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...u.defaultRequestInstrumentationOptions};function _(e,t,r){e.emit("startPageLoadSpan",t,r),n.getCurrentScope().setTransactionName(t.name);let a=e[S];return a&&e.emit("afterStartPageLoadSpan",a),a}function p(e,t,r){let{url:a,isRedirect:o}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:o}),e.emit("startNavigationSpan",t,{isRedirect:o});let s=n.getCurrentScope();return s.setTransactionName(t.name),a&&!o&&s.setSDKProcessingMetadata({normalizedRequest:{...i.getHttpRequestData(),url:a}}),e[S]}function E(e){let t=i.WINDOW.document,r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||void 0}let S="_sentry_idleSpan";function T(e,t){n.addNonEnumerableProperty(e,S,t)}r.BROWSER_TRACING_INTEGRATION_ID=c,r.browserTracingIntegration=(e={})=>{let t,r,g,f={name:void 0,source:void 0},m=i.WINDOW.document,{enableInp:h,enableElementTiming:A,enableLongTask:R,enableLongAnimationFrame:I,_experiments:{enableInteractions:y,enableStandaloneClsSpans:N,enableStandaloneLcpSpans:O},beforeStartSpan:v,idleTimeout:b,finalTimeout:C,childSpanTimeout:M,markBackgroundSpan:U,traceFetch:P,traceXHR:D,trackFetchStreamPerformance:L,shouldCreateSpanForRequest:w,enableHTTPTimings:B,ignoreResourceSpans:k,ignorePerformanceApiSpans:x,instrumentPageLoad:G,instrumentNavigation:F,detectRedirects:V,linkPreviousTrace:H,consistentTraceSampling:j,enableReportPageLoaded:Y,onRequestSpanStart:W,onRequestSpanEnd:$}={...d,...e};function K(e,r,o=!0){let i="pageload"===r.op,s=r.name,l=v?v(r):r,u=l.attributes||{};if(s!==l.name&&(u[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom",l.attributes=u),!o){let e=n.dateTimestampInSeconds();n.startInactiveSpan({...l,startTime:e}).end(e);return}f.name=l.name,f.source=u[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let c=n.startIdleSpan(l,{idleTimeout:b,finalTimeout:C,childSpanTimeout:M,disableAutoFinish:i,beforeSpanEnd:r=>{t?.(),a.addPerformanceEntries(r,{recordClsOnPageloadSpan:!N,recordLcpOnPageloadSpan:!O,ignoreResourceSpans:k,ignorePerformanceApiSpans:x}),T(e,void 0);let o=n.getCurrentScope(),s=o.getPropagationContext();o.setPropagationContext({...s,traceId:c.spanContext().traceId,sampled:n.spanIsSampled(c),dsc:n.getDynamicSamplingContextFromSpan(r)}),i&&(g=void 0)},trimIdleSpanEndTimestamp:!Y});function d(){m&&["interactive","complete"].includes(m.readyState)&&e.emit("idleSpanEnableAutoFinish",c)}i&&Y&&(g=c),T(e,c),i&&!Y&&m&&(m.addEventListener("readystatechange",()=>{d()}),d())}return{name:c,setup(e){if(n.registerSpanErrorInstrumentation(),t=a.startTrackingWebVitals({recordClsStandaloneSpans:N||!1,recordLcpStandaloneSpans:O||!1,client:e}),h&&a.startTrackingINP(),A&&a.startTrackingElementTiming(),I&&n.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?a.startTrackingLongAnimationFrames():R&&a.startTrackingLongTasks(),y&&a.startTrackingInteractions(),V&&m){let e=()=>{r=n.timestampInSeconds()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function s(){let t=e[S];t&&!n.spanToJSON(t).timestamp&&(o.DEBUG_BUILD&&n.debug.log(`[Tracing] Finishing current active span with op: ${n.spanToJSON(t).op}`),t.setAttribute(n.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),t.end())}e.on("startNavigationSpan",(t,a)=>{if(n.getClient()!==e)return;if(a?.isRedirect){o.DEBUG_BUILD&&n.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),K(e,{op:"navigation.redirect",...t},!1);return}r=void 0,s(),n.getIsolationScope().setPropagationContext({traceId:n.generateTraceId(),sampleRand:Math.random(),propagationSpanId:n.hasSpansEnabled()?void 0:n.generateSpanId()});let i=n.getCurrentScope();i.setPropagationContext({traceId:n.generateTraceId(),sampleRand:Math.random(),propagationSpanId:n.hasSpansEnabled()?void 0:n.generateSpanId()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),K(e,{op:"navigation",...t,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(t,r={})=>
491{if(n.getClient()!==e)return;s();let a=r.sentryTrace||E("sentry-trace"),o=r.baggage||E("baggage"),l=n.propagationContextFromHeaders(a,o),u=n.getCurrentScope();u.setPropagationContext(l),n.hasSpansEnabled()||(u.getPropagationContext().propagationSpanId=n.generateSpanId()),u.setSDKProcessingMetadata({normalizedRequest:i.getHttpRequestData()}),K(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{Y&&g&&(g.setAttribute(n.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),g.end())})},afterAllSetup(e){var t,c,d,E,T;let g,m=n.getLocationHref();if("off"!==H&&l.linkTraces(e,{linkPreviousTrace:H,consistentTraceSampling:j}),i.WINDOW.location){if(G){let t=n.browserPerformanceTimeOrigin();_(e,{name:i.WINDOW.location.pathname,startTime:t?t/1e3:void 0,attributes:{[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}F&&a.addHistoryInstrumentationHandler(({to:t,from:a})=>{var o,s;let l,u;if(void 0===a&&m?.indexOf(t)!==-1){m=void 0;return}m=void 0;let c=n.parseStringToURLObject(t),d=e[S],_=d&&V&&(o=d,s=r,l=n.spanToJSON(o),!((u=n.dateTimestampInSeconds())-l.start_timestamp>1.5)&&(!s||!(u-s<=1.5)));p(e,{name:c?.pathname||i.WINDOW.location.pathname,attributes:{[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:t,isRedirect:_})})}U&&s.registerBackgroundTabDetection(),y&&(t=e,c=b,d=C,E=M,T=f,i.WINDOW.document&&addEventListener("click",()=>{let e="ui.action.click",r=t[S];if(r&&["navigation","pageload"].includes(n.spanToJSON(r).op)){o.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(n.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),g.end(),g=void 0),!T.name){o.DEBUG_BUILD&&n.debug.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}g=n.startIdleSpan({name:T.name,op:e,attributes:{[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:T.source||"url"}},{idleTimeout:c,finalTimeout:d,childSpanTimeout:E})},{capture:!0})),h&&a.registerInpInteractionListener(),u.instrumentOutgoingRequests(e,{traceFetch:P,traceXHR:D,trackFetchStreamPerformance:L,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:w,enableHTTPTimings:B,onRequestSpanStart:W,onRequestSpanEnd:$})}}},r.getMetaContent=E,r.startBrowserTracingNavigationSpan=p,r.startBrowserTracingPageLoadSpan=_},318445,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.reportPageLoaded=function(e=n.getClient()){e?.emit("endPageloadSpan")}},450610,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.setActiveSpanInBrowser=function(e){let t=n.getActiveSpan();if(t===e)return;let r=n.getCurrentScope();e.end=new Proxy(e.end,{apply:(e,a,o)=>(n._INTERNAL_setSpanForScope(r,t),Reflect.apply(e,a,o))}),n._INTERNAL_setSpanForScope(r,e)}},353813,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(705889),o=e.r(353897);function i(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function s(e,t){let r=indexedDB.open(e);r.onupgradeneeded=()=>r.result.createObjectStore(t);let n=i(r);return e=>n.then(r=>e(r.transaction(t,"readwrite").objectStore(t)))}function l(e){return i(e.getAllKeys())}function u(e,t,r){return e(e=>l(e).then(n=>{if(!(n.length>=r))return e.put(t,Math.max(...n,0)+1),i(e.transaction)}))}function c(e,t,r){return e(e=>l(e).then(n=>{if(!(n.length>=r))return e.put(t,Math.min(...n,0)-1),i(e.transaction)}))}function d(e){return e(e=>l(e).then(t=>{let r=t[0];if(null!=r)return i(e.get(r)).then(t=>(e.delete(r),i(e.transaction).then(()=>t)))}))}function _(e){let t;function r(){return void 0==t&&(t=s(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{push:async t=>{try{let a=await n.serializeEnvelope(t);await u(r(),a,e.maxQueueSize||30)}catch{}},unshift:async t=>{try{let a=await n.serializeEnvelope(t);await c(r(),a,e.maxQueueSize||30)}catch{}},shift:async()=>{try{let e=await d(r());if(e)return n.parseEnvelope(e)}catch{}}}}r.createStore=s,r.makeBrowserOfflineTransport=function(e=o.makeFetchTransport){var t;return t=n.makeOfflineTransport(e),e=>{let r=t({...e,createStore:_});return a.WINDOW.addEventListener("online",async e=>{await r.flush()}),r}},r.push=u,r.shift=d,r.unshift=c},899023,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(705889),i="window"in n.GLOBAL_OBJ&&n.GLOBAL_OBJ.window===n.GLOBAL_OBJ&&"u"<typeof importScripts,s=String(0),l=i?"main":"worker",u=o.WINDOW.navigator,c="",d="",_="",p=u?.userAgent||"",E="",S=u?.language||u?.languages?.[0]||"",T=u?.userAgentData;function g(e){return"thread_metadata"in e?e:m(e)}
491function f(e,t,r,i){let l;if("transaction"!==i.type)throw TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==r)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${r} instead.`);let u=("string"==typeof(l=i.contexts?.trace?.trace_id)&&32!==l.length&&a.DEBUG_BUILD&&n.debug.log(`[Profiling] Invalid traceId: ${l} on profiled event`),"string"!=typeof l)?"":l,T=g(r),f=t||("number"==typeof i.start_timestamp?1e3*i.start_timestamp:1e3*n.timestampInSeconds()),m="number"==typeof i.timestamp?1e3*i.timestamp:1e3*n.timestampInSeconds();return{event_id:e,timestamp:new Date(f).toISOString(),platform:"javascript",version:"1",release:i.release||"",environment:i.environment||n.DEFAULT_ENVIRONMENT,runtime:{name:"javascript",version:o.WINDOW.navigator.userAgent},os:{name:c,version:d,build_number:p},device:{locale:S,model:E,manufacturer:p,architecture:_,is_emulator:!1},debug_meta:{images:h(r.resources)},profile:T,transactions:[{name:i.transaction||"",id:i.event_id||n.uuid4(),trace_id:u,active_thread_id:s,relative_start_ns:"0",relative_end_ns:((m-f)*1e6).toFixed(0)}]}}function m(e){let t,r=0,a={samples:[],stacks:[],frames:[],thread_metadata:{[s]:{name:l}}},o=e.samples[0];if(!o)return a;let i=o.timestamp,u=n.browserPerformanceTimeOrigin(),c="number"==typeof performance.timeOrigin?performance.timeOrigin:u||0,d=c-(u||c);return e.samples.forEach((n,o)=>{if(void 0===n.stackId){void 0===t&&(t=r,a.stacks[t]=[],r++),a.samples[o]={elapsed_since_start_ns:((n.timestamp+d-i)*1e6).toFixed(0),stack_id:t,thread_id:s};return}let l=e.stacks[n.stackId],u=[];for(;l;){u.push(l.frameId);let t=e.frames[l.frameId];t&&void 0===a.frames[l.frameId]&&(a.frames[l.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),l=void 0===l.parentId?void 0:e.stacks[l.parentId]}let c={elapsed_since_start_ns:((n.timestamp+d-i)*1e6).toFixed(0),stack_id:r,thread_id:s};a.stacks[r]=u,a.samples[o]=c,r++}),a}function h(e){let t=n.getClient(),r=t?.getOptions(),a=r?.stackParser;return a?n.getDebugImagesForResources(a,e):[]}function A(e){return"number"!=typeof e&&"boolean"!=typeof e||"number"==typeof e&&isNaN(e)?(a.DEBUG_BUILD&&n.debug.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||!(e<0)&&!(e>1)||(a.DEBUG_BUILD&&n.debug.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1)}"object"==typeof T&&null!==T&&"getHighEntropyValues"in T&&T.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(c=e.platform||"",_=e.architecture||"",E=e.model||"",d=e.platformVersion||"",e.fullVersionList?.length){let t=e.fullVersionList[e.fullVersionList.length-1];p=`${t.brand} ${t.version}`}}).catch(e=>void 0);let R=!1,I=new Map;r.MAX_PROFILE_DURATION_MS=3e4,r.PROFILER_THREAD_ID_STRING=s,r.PROFILER_THREAD_NAME=l,r.addProfileToGlobalCache=function(e,t){if(I.set(e,t),I.size>30){let e=I.keys().next().value;void 0!==e&&I.delete(e)}},r.addProfilesToEnvelope=function(e,t){if(!t.length)return e;for(let r of t)e[1].push([{type:"profile"},r]);return e},r.applyDebugMetadata=h,r.attachProfiledThreadToEvent=function(e){return e?.contexts?.profile&&e.contexts&&(e.contexts.trace={...e.contexts?.trace??{},data:{...e.contexts?.trace?.data??{},"thread.id":s,"thread.name":l}},e.spans?.forEach(e=>{e.data={...e.data||{},"thread.id":s,"thread.name":l}})),e},r.convertJSSelfProfileToSampledFormat=m,r.createProfileChunkPayload=function(e,t,r){if(null==e)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);let a=function(e){let t=[];for(let r=0;r<e.frames.length;r++){let n=e.frames[r];n&&(t[r]={function:n.name,abs_path:"number"==typeof n.resourceId?e.resources[n.resourceId]:void 0,lineno:n.line,colno:n.column})}let r=[];for(let t=0;t<e.stacks.length;t++){let n=e.stacks[t];if(!n)continue;let a=[],o=n;for(;o;)a.push(o.frameId),o=void 0===o.parentId?void 0:e.stacks[o.parentId];r[t]=a}let a=n.browserPerformanceTimeOrigin(),o="number"==typeof performance.timeOrigin?performance.timeOrigin:a||0,i=o-(a||o),u=[];for(let t=0;t<e.samples.length;t++){let r=e.samples[t];if(!r)continue;let n=(o+(r.timestamp-i))/1e3;u[t]={stack_id:r.stackId??0,thread_id:s,timestamp:n}}return{frames:t,stacks:r,samples:u,thread_metadata:{[s]:{name:l}}}}(e),o=t.getOptions(),i=t.getSdkMetadata?.()?.sdk;return{chunk_id:n.uuid4(),client_sdk:{name:i?.name??"sentry.javascript.browser",version:i?.version??"0.0.0"},profiler_id:r||n.uuid4(),platform:"javascript",version:"2",release:o.release??"",environment:o.environment??"production",debug_meta:{images:h(e.resources)},profile:a}},r.createProfilePayload=f,r.createProfilingEvent=function(e,t,r,o){return(r.samples.length<2?(a.DEBUG_BUILD&&n.debug.log("[Profiling] Discarding profile because it c
491ontains less than 2 samples"),1):!r.frames.length&&(a.DEBUG_BUILD&&n.debug.log("[Profiling] Discarding profile because it contains no frames"),1))?null:f(e,t,r,o)},r.enrichWithThreadInformation=g,r.findProfiledTransactionsFromEnvelope=function(e){let t=[];return n.forEachEnvelopeItem(e,(e,r)=>{if("transaction"===r)for(let r=1;r<e.length;r++){let n=e[r];n?.contexts?.profile?.profile_id&&t.push(e[r])}}),t},r.getActiveProfilesCount=function(){return I.size},r.hasLegacyProfiling=function(e){return void 0!==e.profilesSampleRate},r.isAutomatedPageLoadSpan=function(e){return"pageload"===n.spanToJSON(e).op},r.isValidSampleRate=A,r.shouldProfileSession=function(e){if(R)return a.DEBUG_BUILD&&n.debug.log("[Profiling] Profiling has been disabled for the duration of the current user session as the JS Profiler could not be started."),!1;if("trace"!==e.profileLifecycle&&"manual"!==e.profileLifecycle)return a.DEBUG_BUILD&&n.debug.warn("[Profiling] Session not sampled. Invalid `profileLifecycle` option."),!1;let t=e.profileSessionSampleRate;return A(t)?t?Math.random()<=t:(a.DEBUG_BUILD&&n.debug.log("[Profiling] Discarding profile because profileSessionSampleRate is not defined or set to 0"),!1):(a.DEBUG_BUILD&&n.debug.warn("[Profiling] Discarding profile because of invalid profileSessionSampleRate."),!1)},r.shouldProfileSpanLegacy=function(e){if(R)return a.DEBUG_BUILD&&n.debug.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return a.DEBUG_BUILD&&n.debug.log("[Profiling] Discarding profile because root span was not sampled."),!1;let t=n.getClient(),r=t?.getOptions();if(!r)return a.DEBUG_BUILD&&n.debug.log("[Profiling] Profiling disabled, no options found."),!1;let o=r.profilesSampleRate;return A(o)?o?!!(!0===o||Math.random()<o)||(a.DEBUG_BUILD&&n.debug.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(o)})`),!1):(a.DEBUG_BUILD&&n.debug.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(a.DEBUG_BUILD&&n.debug.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)},r.startJSSelfProfile=function(){let e=o.WINDOW.Profiler;if("function"!=typeof e){a.DEBUG_BUILD&&n.debug.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}let t=Math.floor(3e3);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){a.DEBUG_BUILD&&(n.debug.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),n.debug.log("[Profiling] Disabling profiling for current user session.")),R=!0}},r.takeProfileFromGlobalCache=function(e){let t=I.get(e);return t&&I.delete(e),t},r.validateProfileChunk=function(e){try{if(!e||"object"!=typeof e)return{reason:"chunk is not an object"};let t=e=>"string"==typeof e&&/^[a-f0-9]{32}$/.test(e);if(!t(e.profiler_id))return{reason:"missing or invalid profiler_id"};if(!t(e.chunk_id))return{reason:"missing or invalid chunk_id"};if(!e.client_sdk)return{reason:"missing client_sdk metadata"};let r=e.profile;if(!r)return{reason:"missing profile data"};if(!Array.isArray(r.frames)||!r.frames.length)return{reason:"profile has no frames"};if(!Array.isArray(r.stacks)||!r.stacks.length)return{reason:"profile has no stacks"};if(!Array.isArray(r.samples)||!r.samples.length)return{reason:"profile has no samples"};return{valid:!0}}catch(e){return{reason:`unknown validation error: ${e}`}}}},235362,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(705889),i=e.r(899023);r.startProfileForSpan=function(e){let t;i.isAutomatedPageLoadSpan(e)&&(t=1e3*n.timestampInSeconds());let r=i.startJSSelfProfile();if(!r)return;a.DEBUG_BUILD&&n.debug.log(`[Profiling] started profiling span: ${n.spanToJSON(e).description}`);let s=n.uuid4(),l=null;async function u(){if(e&&r){if(l){a.DEBUG_BUILD&&n.debug.log("[Profiling] profile for:",n.spanToJSON(e).description,"already exists, returning early");return}return r.stop().then(t=>{if(c&&(o.WINDOW.clearTimeout(c),c=void 0),a.DEBUG_BUILD&&n.debug.log(`[Profiling] stopped profiling of span: ${n.spanToJSON(e).description}`),!t){a.DEBUG_BUILD&&n.debug.log(`[Profiling] profiler returned null profile for: ${n.spanToJSON(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}l=t,i.addProfileToGlobalCache(s,t)}).catch(e=>{a.DEBUG_BUILD&&n.debug.log("[Profiling] error while stopping profiler:",e)})}}n.getCurrentScope().setContext("profile",{profile_id:s,start_timestamp:t});let c=o.WINDOW.setTimeout(()=>{a.DEBUG_BUILD&&n.debug.log("[Profiling] max profile duration elapsed, stopping profiling for:",n.spanToJSON(e).description),u()},i.MAX_PROFILE_DURATION_MS),d=e.end.bind(e);e.end=function(){return e?(u().then(()=>{d()},()=>{d()}),e):d()}}},908361,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(899023);r.UIProfiler=class{constructor(){this._client=void 0,this._profiler=void 0,this._chunkTimer=void 0,this._profilerId=void 0,this._isRunning=!1,this._sessionSampled=!1,this._lifecycleMode=void 0,this._activeRootSpanIds=new Set,this._rootSpanTimeouts=new Map}initialize(e){let t=e.getOptions().profileLifecycle,r=o.shouldProfileSession(e.getOptions());a.DEBUG_BUILD&&n.debug.log(`[Profiling] Initializing profiler (lifecycle='${t}').`),!r&&a.DEBUG_BUILD&&n.debug.log("[Profiling] Session not sampled. Skipping lifecycle profiler initialization."),this._profilerId=n.uuid4(),this._client=e,this._sessionSampled=r,this._lifecycleMode=t,"trace"===t&&this._setupTraceLifecycleListeners(e)}
491start(){if("trace"===this._lifecycleMode){a.DEBUG_BUILD&&n.debug.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.start()` are ignored in trace mode.');return}if(this._isRunning){a.DEBUG_BUILD&&n.debug.warn("[Profiling] Profile session is already running, `uiProfiler.start()` is a no-op.");return}if(!this._sessionSampled){a.DEBUG_BUILD&&n.debug.warn("[Profiling] Session is not sampled, `uiProfiler.start()` is a no-op.");return}this._beginProfiling()}stop(){if("trace"===this._lifecycleMode){a.DEBUG_BUILD&&n.debug.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.stop()` are ignored in trace mode.');return}if(!this._isRunning){a.DEBUG_BUILD&&n.debug.warn("[Profiling] Profiler is not running, `uiProfiler.stop()` is a no-op.");return}this._endProfiling()}notifyRootSpanActive(e){if("trace"!==this._lifecycleMode||!this._sessionSampled)return;let t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);let r=this._activeRootSpanIds.size;1===r&&(a.DEBUG_BUILD&&n.debug.log("[Profiling] Detected already active root span during setup. Active root spans now:",r),this._beginProfiling())}_beginProfiling(){if(!this._isRunning){if(this._isRunning=!0,a.DEBUG_BUILD&&n.debug.log("[Profiling] Started profiling with profiler ID:",this._profilerId),n.getGlobalScope().setContext("profile",{profiler_id:this._profilerId}),this._startProfilerInstance(),!this._profiler){a.DEBUG_BUILD&&n.debug.log("[Profiling] Failed to start JS Profiler; stopping."),this._resetProfilerInfo();return}this._startPeriodicChunking()}}_endProfiling(){this._isRunning&&(this._isRunning=!1,this._chunkTimer&&(clearTimeout(this._chunkTimer),this._chunkTimer=void 0),this._clearAllRootSpanTimeouts(),this._collectCurrentChunk().catch(e=>{a.DEBUG_BUILD&&n.debug.error("[Profiling] Failed to collect current profile chunk on `stop()`:",e)}),"manual"===this._lifecycleMode&&n.getGlobalScope().setContext("profile",{}))}_setupTraceLifecycleListeners(e){e.on("spanStart",e=>{if(!this._sessionSampled){a.DEBUG_BUILD&&n.debug.log("[Profiling] Span not profiled because of negative sampling decision for user session.");return}if(e!==n.getRootSpan(e))return;if(!e.isRecording()){a.DEBUG_BUILD&&n.debug.log("[Profiling] Discarding profile because root span was not sampled.");return}let t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);let r=this._activeRootSpanIds.size;1===r&&(a.DEBUG_BUILD&&n.debug.log(`[Profiling] Root span ${t} started. Profiling active while there are active root spans (count=${r}).`),this._beginProfiling())}),e.on("spanEnd",e=>{if(!this._sessionSampled)return;let t=e.spanContext().spanId;if(!t||!this._activeRootSpanIds.has(t))return;this._activeRootSpanIds.delete(t);let r=this._activeRootSpanIds.size;a.DEBUG_BUILD&&n.debug.log(`[Profiling] Root span with ID ${t} ended. Will continue profiling for as long as there are active root spans (currently: ${r}).`),0===r&&(this._collectCurrentChunk().catch(e=>{a.DEBUG_BUILD&&n.debug.error("[Profiling] Failed to collect current profile chunk on last `spanEnd`:",e)}),this._endProfiling())})}_resetProfilerInfo(){this._isRunning=!1,n.getGlobalScope().setContext("profile",{})}_clearAllRootSpanTimeouts(){this._rootSpanTimeouts.forEach(e=>clearTimeout(e)),this._rootSpanTimeouts.clear()}_registerTraceRootSpan(e){this._activeRootSpanIds.add(e);let t=setTimeout(()=>this._onRootSpanTimeout(e),3e5);this._rootSpanTimeouts.set(e,t)}_startProfilerInstance(){if(this._profiler?.stopped===!1)return;let e=o.startJSSelfProfile();if(!e){a.DEBUG_BUILD&&n.debug.log("[Profiling] Failed to start JS Profiler.");return}this._profiler=e}_startPeriodicChunking(){this._isRunning&&(this._chunkTimer=setTimeout(()=>{if(this._collectCurrentChunk().catch(e=>{a.DEBUG_BUILD&&n.debug.error("[Profiling] Failed to collect current profile chunk during periodic chunking:",e)}),this._isRunning){if(this._startProfilerInstance(),!this._profiler)return void this._resetProfilerInfo();this._startPeriodicChunking()}},6e4))}_onRootSpanTimeout(e){!this._rootSpanTimeouts.has(e)||(this._rootSpanTimeouts.delete(e),this._activeRootSpanIds.has(e)&&(a.DEBUG_BUILD&&n.debug.log(`[Profiling] Reached 5-minute timeout for root span ${e}. You likely started a manual root span that never called \`.end()\`.`),this._activeRootSpanIds.delete(e),0===this._activeRootSpanIds.size&&this._endProfiling()))}async _collectCurrentChunk(){let e=this._profiler;if(this._profiler=void 0,e)try{let t=await e.stop(),r=o.createProfileChunkPayload(t,this._client,this._profilerId),i=o.validateProfileChunk(r);if("reason"in i){a.DEBUG_BUILD&&n.debug.log("[Profiling] Discarding invalid profile chunk (this is probably a bug in the SDK):",i.reason);return}this._sendProfileChunk(r),a.DEBUG_BUILD&&n.debug.log("[Profiling] Collected browser profile chunk.")}catch(e){a.DEBUG_BUILD&&n.debug.log("[Profiling] Error while stopping JS Profiler for chunk:",e)}}_sendProfileChunk(e){let t=this._client,r=n.getSdkMetadataForEnvelopeHeader(t.getSdkMetadata?.()),o=t.getDsn(),i=t.getOptions().tunnel,s=n.
491createEnvelope({event_id:n.uuid4(),sent_at:new Date().toISOString(),...r&&{sdk:r},...!!i&&o&&{dsn:n.dsnToString(o)}},[[{type:"profile_chunk",platform:"javascript"},e]]);t.sendEnvelope(s).then(null,e=>{a.DEBUG_BUILD&&n.debug.error("Error while sending profile chunk envelope:",e)})}}},404903,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(705889),i=e.r(235362),s=e.r(908361),l=e.r(899023);r.browserProfilingIntegration=n.defineIntegration(()=>({name:"BrowserProfiling",setup(e){let t=e.getOptions(),r=new s.UIProfiler;if(l.hasLegacyProfiling(t)||t.profileLifecycle||(t.profileLifecycle="manual"),l.hasLegacyProfiling(t)&&!t.profilesSampleRate){a.DEBUG_BUILD&&n.debug.log("[Profiling] Profiling disabled, no profiling options found.");return}let u=n.getActiveSpan(),c=u&&n.getRootSpan(u);if(l.hasLegacyProfiling(t)&&void 0!==t.profileSessionSampleRate&&a.DEBUG_BUILD&&n.debug.warn("[Profiling] Both legacy profiling (`profilesSampleRate`) and UI profiling settings are defined. `profileSessionSampleRate` has no effect when legacy profiling is enabled."),l.hasLegacyProfiling(t))c&&l.isAutomatedPageLoadSpan(c)&&l.shouldProfileSpanLegacy(c)&&i.startProfileForSpan(c),e.on("spanStart",e=>{e===n.getRootSpan(e)&&l.shouldProfileSpanLegacy(e)&&i.startProfileForSpan(e)}),e.on("beforeEnvelope",e=>{if(!l.getActiveProfilesCount())return;let t=l.findProfiledTransactionsFromEnvelope(e);if(!t.length)return;let r=[];for(let e of t){let t=e?.contexts,o=t?.profile?.profile_id,i=t?.profile?.start_timestamp;if("string"!=typeof o||!o){a.DEBUG_BUILD&&n.debug.log("[Profiling] cannot find profile for a span without a profile context");continue}t?.profile&&delete t.profile;let s=l.takeProfileFromGlobalCache(o);if(!s){a.DEBUG_BUILD&&n.debug.log(`[Profiling] Could not retrieve profile for span: ${o}`);continue}let u=l.createProfilingEvent(o,i,s,e);u&&r.push(u)}l.addProfilesToEnvelope(e,r)});else{let i=t.profileLifecycle;if(e.on("startUIProfiler",()=>r.start()),e.on("stopUIProfiler",()=>r.stop()),"manual"===i)r.initialize(e);else if("trace"===i){if(!n.hasSpansEnabled(t)){a.DEBUG_BUILD&&n.debug.warn("[Profiling] `profileLifecycle` is 'trace' but tracing is disabled. Set a `tracesSampleRate` or `tracesSampler` to enable span tracing.");return}r.initialize(e),c&&r.notifyRootSpanActive(c),o.WINDOW.setTimeout(()=>{let e=n.getActiveSpan(),t=e&&n.getRootSpan(e);t&&r.notifyRootSpanActive(t)},0)}}},processEvent:e=>l.attachProfiledThreadToEvent(e)}))},974832,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=n.defineIntegration(()=>({name:"LaunchDarkly",processEvent:(e,t,r)=>n._INTERNAL_copyFlagsFromScopeToEvent(e)}));r.buildLaunchDarklyFlagUsedHandler=function(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,r)=>{n._INTERNAL_insertFlagToScope(e,t.value),n._INTERNAL_addFeatureFlagToActiveSpan(e,t.value)}}},r.launchDarklyIntegration=a},105755,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=n.defineIntegration(()=>({name:"OpenFeature",processEvent:(e,t,r)=>n._INTERNAL_copyFlagsFromScopeToEvent(e)}));r.OpenFeatureIntegrationHook=class{after(e,t){n._INTERNAL_insertFlagToScope(t.flagKey,t.value),n._INTERNAL_addFeatureFlagToActiveSpan(t.flagKey,t.value)}error(e,t,r){n._INTERNAL_insertFlagToScope(e.flagKey,e.defaultValue),n._INTERNAL_addFeatureFlagToActiveSpan(e.flagKey,e.defaultValue)}},r.openFeatureIntegration=a},2906,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574);function o(e){return function(...t){let r=t[0],o=e.apply(this,t);return"string"==typeof r&&"boolean"==typeof o?(n._INTERNAL_insertFlagToScope(r,o),n._INTERNAL_addFeatureFlagToActiveSpan(r,o)):a.DEBUG_BUILD&&n.debug.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${r} (${typeof r}), result: ${o} (${typeof o})`),o}}r.unleashIntegration=n.defineIntegration(({featureFlagClientClass:e})=>({name:"Unleash",setupOnce(){let t=e.prototype;n.fill(t,"isEnabled",o)},processEvent:(e,t,r)=>n._INTERNAL_copyFlagsFromScopeToEvent(e)}))},640883,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.growthbookIntegration=({growthbookClass:e})=>n.growthbookIntegration({growthbookClass:e})},330612,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.statsigIntegration=n.defineIntegration(({featureFlagClient:e})=>({name:"Statsig",setup(t){e.on("gate_evaluation",e=>{n._INTERNAL_insertFlagToScope(e.gate.name,e.gate.value),n._INTERNAL_addFeatureFlagToActiveSpan(e.gate.name,e.gate.value)})},processEvent:(e,t,r)=>n._INTERNAL_copyFlagsFromScopeToEvent(e)}))},90354,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.diagnoseSdkConnectivity=async function(){let e=n.getClient();if(!e)return"no-client-active";if(!e.getDsn())return"no-dsn-configured";let t=e.getOptions().tunnel||"https://o447951.ingest.sentry.io/api/4509632503087104/envelope/?sentry_version=7&sentry_key=c1dfb07d783ad5325c245c1fd3725390&sentry_client=sentry.javascript.browser%2F1.33.7";try{await n.suppressTracing(()=>fetch(t,{body:"{}",method:"POST",mode:"cors",credentials:"omit"}))}catch{return"sentry-unreachable"}}},855340,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(480574),o=e.r(45595),i=e.r(705889),s=e.r(858886),l="WebWorker",u=n.defineIntegration(({worker:e})=>({name:l,setupOnce:()=>
491{(Array.isArray(e)?e:[e]).forEach(e=>c(e))},addWorker:e=>c(e)}));function c(e){e.addEventListener("message",e=>{if(function(e){if(!n.isPlainObject(e)||!0!==e._sentryMessage)return!1;let t="_sentryDebugIds"in e,r="_sentryModuleMetadata"in e,a="_sentryWorkerError"in e,o="_sentryWasmImages"in e;return(!!t||!!r||!!a||!!o)&&(!t||!!(n.isPlainObject(e._sentryDebugIds)||void 0===e._sentryDebugIds))&&(!r||!!(n.isPlainObject(e._sentryModuleMetadata)||void 0===e._sentryModuleMetadata))&&(!a||!!n.isPlainObject(e._sentryWorkerError))&&(!o||!!Array.isArray(e._sentryWasmImages)&&!!e._sentryWasmImages.every(e=>n.isPlainObject(e)&&"string"==typeof e.code_file))&&!0}(e.data)){if(e.stopImmediatePropagation(),e.data._sentryDebugIds&&(a.DEBUG_BUILD&&n.debug.log("Sentry debugId web worker message received",e.data),i.WINDOW._sentryDebugIds={...e.data._sentryDebugIds,...i.WINDOW._sentryDebugIds}),e.data._sentryModuleMetadata&&(a.DEBUG_BUILD&&n.debug.log("Sentry module metadata web worker message received",e.data),i.WINDOW._sentryModuleMetadata={...e.data._sentryModuleMetadata,...i.WINDOW._sentryModuleMetadata}),e.data._sentryWasmImages){a.DEBUG_BUILD&&n.debug.log("Sentry WASM images web worker message received",e.data);let t=i.WINDOW._sentryWasmImages||[],r=e.data._sentryWasmImages.filter(e=>n.isPlainObject(e)&&"string"==typeof e.code_file&&!t.some(t=>t.code_file===e.code_file));i.WINDOW._sentryWasmImages=[...t,...r]}e.data._sentryWorkerError&&(a.DEBUG_BUILD&&n.debug.log("Sentry worker rejection message received",e.data._sentryWorkerError),function(e){let t=n.getClient();if(!t)return;let r=t.getOptions().stackParser,i=t.getOptions().attachStacktrace,l=e.reason,u=n.isPrimitive(l)?s._eventFromRejectionWithPrimitive(l):o.eventFromUnknownInput(r,l,void 0,i,!0);u.level="error",e.filename&&(u.contexts={...u.contexts,worker:{filename:e.filename}}),n.captureEvent(u,{originalException:l,mechanism:{handled:!1,type:"auto.browser.web_worker.onunhandledrejection"}}),a.DEBUG_BUILD&&n.debug.log("Captured worker unhandled rejection",l)}(e.data._sentryWorkerError))}})}r.INTEGRATION_NAME=l,r.registerWebWorker=function({self:e}){e.postMessage({_sentryMessage:!0,_sentryDebugIds:e._sentryDebugIds??void 0,_sentryModuleMetadata:e._sentryModuleMetadata??void 0}),e.addEventListener("unhandledrejection",t=>{let r={reason:s._getUnhandledRejectionError(t),filename:e.location?.href};e.postMessage({_sentryMessage:!0,_sentryWorkerError:r}),a.DEBUG_BUILD&&n.debug.log("[Sentry Worker] Forwarding unhandled rejection to parent",r)}),a.DEBUG_BUILD&&n.debug.log("[Sentry Worker] Registered worker with unhandled rejection handling")},r.webWorkerIntegration=u},632302,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(782436),a=e.r(293078),o=e.r(814923),i=e.r(705889),s=e.r(32531),l=e.r(353897),u=e.r(522016),c=e.r(625231),d=e.r(45595),_=e.r(117277),p=e.r(847467),E=e.r(131211),S=e.r(713695),T=e.r(858886),g=e.r(819891),f=e.r(153926),m=e.r(365753),h=e.r(293976),A=e.r(967882),R=e.r(886134),I=e.r(235761),y=e.r(209546),N=e.r(900022),O=e.r(969274),v=e.r(72656),b=e.r(558163),C=e.r(825302),M=e.r(318445),U=e.r(450610),P=e.r(353813),D=e.r(404903),L=e.r(207663),w=e.r(256866),B=e.r(974832),k=e.r(105755),x=e.r(2906),G=e.r(640883),F=e.r(330612),V=e.r(90354),H=e.r(855340);r.feedbackAsyncIntegration=n.feedbackAsyncIntegration,r.feedbackIntegration=a.feedbackSyncIntegration,r.feedbackSyncIntegration=a.feedbackSyncIntegration,r.MULTIPLEXED_TRANSPORT_EXTRA_KEY=o.MULTIPLEXED_TRANSPORT_EXTRA_KEY,r.SDK_VERSION=o.SDK_VERSION,r.SEMANTIC_ATTRIBUTE_SENTRY_OP=o.SEMANTIC_ATTRIBUTE_SENTRY_OP,r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,r.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=o.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,r.Scope=o.Scope,r.addBreadcrumb=o.addBreadcrumb,r.addEventProcessor=o.addEventProcessor,r.addIntegration=o.addIntegration,r.captureConsoleIntegration=o.captureConsoleIntegration,r.captureEvent=o.captureEvent,r.captureException=o.captureException,r.captureFeedback=o.captureFeedback,r.captureMessage=o.captureMessage,r.captureSession=o.captureSession,r.close=o.close,r.consoleLoggingIntegration=o.consoleLoggingIntegration,r.continueTrace=o.continueTrace,r.createConsolaReporter=o.createConsolaReporter,r.createLangChainCallbackHandler=o.createLangChainCallbackHandler,r.createTransport=o.createTransport,r.dedupeIntegration=o.dedupeIntegration,r.endSession=o.endSession,r.eventFiltersIntegration=o.eventFiltersIntegration,r.extraErrorDataIntegration=o.extraErrorDataIntegration,r.featureFlagsIntegration=o.featureFlagsIntegration,r.flush=o.flush,r.functionToStringIntegration=o.functionToStringIntegration,r.getActiveSpan=o.getActiveSpan,r.getClient=o.getClient,r.getCurrentScope=o.getCurrentScope,r.getGlobalScope=o.getGlobalScope,r.getIsolationScope=
491o.getIsolationScope,r.getRootSpan=o.getRootSpan,r.getSpanDescendants=o.getSpanDescendants,r.getSpanStatusFromHttpCode=o.getSpanStatusFromHttpCode,r.getTraceData=o.getTraceData,r.inboundFiltersIntegration=o.inboundFiltersIntegration,r.instrumentAnthropicAiClient=o.instrumentAnthropicAiClient,r.instrumentGoogleGenAIClient=o.instrumentGoogleGenAIClient,r.instrumentLangGraph=o.instrumentLangGraph,r.instrumentOpenAiClient=o.instrumentOpenAiClient,r.instrumentSupabaseClient=o.instrumentSupabaseClient,r.isEnabled=o.isEnabled,r.isInitialized=o.isInitialized,r.lastEventId=o.lastEventId,r.logger=o.logger,r.makeMultiplexedTransport=o.makeMultiplexedTransport,r.metrics=o.metrics,r.moduleMetadataIntegration=o.moduleMetadataIntegration,r.parameterize=o.parameterize,r.registerSpanErrorInstrumentation=o.registerSpanErrorInstrumentation,r.rewriteFramesIntegration=o.rewriteFramesIntegration,r.setContext=o.setContext,r.setCurrentClient=o.setCurrentClient,r.setExtra=o.setExtra,r.setExtras=o.setExtras,r.setHttpStatus=o.setHttpStatus,r.setMeasurement=o.setMeasurement,r.setTag=o.setTag,r.setTags=o.setTags,r.setUser=o.setUser,r.spanToBaggageHeader=o.spanToBaggageHeader,r.spanToJSON=o.spanToJSON,r.spanToTraceHeader=o.spanToTraceHeader,r.startInactiveSpan=o.startInactiveSpan,r.startNewTrace=o.startNewTrace,r.startSession=o.startSession,r.startSpan=o.startSpan,r.startSpanManual=o.startSpanManual,r.supabaseIntegration=o.supabaseIntegration,r.suppressTracing=o.suppressTracing,r.thirdPartyErrorFilterIntegration=o.thirdPartyErrorFilterIntegration,r.updateSpanName=o.updateSpanName,r.withActiveSpan=o.withActiveSpan,r.withIsolationScope=o.withIsolationScope,r.withScope=o.withScope,r.zodErrorsIntegration=o.zodErrorsIntegration,r.WINDOW=i.WINDOW,r.BrowserClient=s.BrowserClient,r.makeFetchTransport=l.makeFetchTransport,r.uiProfiler=u.uiProfiler,r.chromeStackLineParser=c.chromeStackLineParser,r.defaultStackLineParsers=c.defaultStackLineParsers,r.defaultStackParser=c.defaultStackParser,r.geckoStackLineParser=c.geckoStackLineParser,r.opera10StackLineParser=c.opera10StackLineParser,r.opera11StackLineParser=c.opera11StackLineParser,r.winjsStackLineParser=c.winjsStackLineParser,r.eventFromException=d.eventFromException,r.eventFromMessage=d.eventFromMessage,r.exceptionFromError=d.exceptionFromError,r.createUserFeedbackEnvelope=_.createUserFeedbackEnvelope,r.forceLoad=p.forceLoad,r.getDefaultIntegrations=p.getDefaultIntegrations,r.init=p.init,r.onLoad=p.onLoad,r.showReportDialog=E.showReportDialog,r.breadcrumbsIntegration=S.breadcrumbsIntegration,r.globalHandlersIntegration=T.globalHandlersIntegration,r.httpContextIntegration=g.httpContextIntegration,r.linkedErrorsIntegration=f.linkedErrorsIntegration,r.browserApiErrorsIntegration=m.browserApiErrorsIntegration,r.lazyLoadIntegration=h.lazyLoadIntegration,r.reportingObserverIntegration=A.reportingObserverIntegration,r.httpClientIntegration=R.httpClientIntegration,r.contextLinesIntegration=I.contextLinesIntegration,r.graphqlClientIntegration=y.graphqlClientIntegration,r.getReplay=N.getReplay,r.replayIntegration=N.replayIntegration,r.replayCanvasIntegration=O.replayCanvasIntegration,r.getFeedback=v.getFeedback,r.sendFeedback=v.sendFeedback,r.defaultRequestInstrumentationOptions=b.defaultRequestInstrumentationOptions,r.instrumentOutgoingRequests=b.instrumentOutgoingRequests,r.browserTracingIntegration=C.browserTracingIntegration,r.startBrowserTracingNavigationSpan=C.startBrowserTracingNavigationSpan,r.startBrowserTracingPageLoadSpan=C.startBrowserTracingPageLoadSpan,r.reportPageLoaded=M.reportPageLoaded,r.setActiveSpanInBrowser=U.setActiveSpanInBrowser,r.makeBrowserOfflineTransport=P.makeBrowserOfflineTransport,r.browserProfilingIntegration=D.browserProfilingIntegration,r.spotlightBrowserIntegration=L.spotlightBrowserIntegration,r.browserSessionIntegration=w.browserSessionIntegration,r.buildLaunchDarklyFlagUsedHandler=B.buildLaunchDarklyFlagUsedHandler,r.launchDarklyIntegration=B.launchDarklyIntegration,r.OpenFeatureIntegrationHook=k.OpenFeatureIntegrationHook,r.openFeatureIntegration=k.openFeatureIntegration,r.unleashIntegration=x.unleashIntegration,r.growthbookIntegration=G.growthbookIntegration,r.statsigIntegration=F.statsigIntegration,r.diagnoseSdkConnectivity=V.diagnoseSdkConnectivity,r.registerWebWorker=H.registerWebWorker,r.webWorkerIntegration=H.webWorkerIntegration},117248,(e,t,r)=>
491{Object.defineProperty(r,"__esModule",{value:!0}),r.DEBUG_BUILD="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},932820,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SDK_VERSION="8.55.1"},346679,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(932820),a=globalThis;r.GLOBAL_OBJ=a,r.getGlobalSingleton=function(e,t,r){let o=r||a,i=o.__SENTRY__=o.__SENTRY__||{},s=i[n.SDK_VERSION]=i[n.SDK_VERSION]||{};return s[e]||(s[e]=t())}},154661,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.DEBUG_BUILD="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},510439,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(154661),a=e.r(346679),o=["debug","info","warn","error","log","assert","trace"],i={};function s(e){if(!("console"in a.GLOBAL_OBJ))return e();let t=a.GLOBAL_OBJ.console,r={},n=Object.keys(i);n.forEach(e=>{let n=i[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}let l=a.getGlobalSingleton("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return n.DEBUG_BUILD?o.forEach(r=>{t[r]=(...t)=>{e&&s(()=>{a.GLOBAL_OBJ.console[r](`Sentry Logger [${r}]:`,...t)})}}):o.forEach(e=>{t[e]=()=>void 0}),t});r.CONSOLE_LEVELS=o,r.consoleSandbox=s,r.logger=l,r.originalConsoleMethods=i},939358,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=/\(error: (.*)\)/,a=/captureMessage|captureException/;function o(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,a=0)=>{let o=[],s=e.split("\n");for(let e=r;e<s.length;e++){let r=s[e];if(r.length>1024)continue;let i=n.test(r)?r.replace(n,"$1"):r;if(!i.match(/\S*Error: /)){for(let e of t){let t=e(i);if(t){o.push(t);break}}if(o.length>=50+a)break}}return i(o.slice(a))}}function i(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(s(t).function||"")&&t.pop(),t.reverse(),a.test(s(t).function||"")&&(t.pop(),a.test(s(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||s(t).filename,function:e.function||"?"}))}function s(e){return e[e.length-1]||{}}let l="<anonymous>";r.UNKNOWN_FUNCTION="?",r.createStackParser=o,r.getFramesFromEvent=function(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){}}},r.getFunctionName=function(e){try{if(!e||"function"!=typeof e)return l;return e.name||l}catch(e){return l}},r.stackParserFromStackParserOptions=function(e){return Array.isArray(e)?o(...e):e},r.stripSentryFramesAndReverse=i},120620,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(154661),a=e.r(510439),o=e.r(939358),i={},s={};r.addHandler=function(e,t){i[e]=i[e]||[],i[e].push(t)},r.maybeInstrument=function(e,t){if(!s[e]){s[e]=!0;try{t()}catch(t){n.DEBUG_BUILD&&a.logger.error(`Error while instrumenting ${e}`,t)}}},r.resetInstrumentationHandlers=function(){Object.keys(i).forEac
491h(e=>{i[e]=void 0})},r.triggerHandlers=function(e,t){let r=e&&i[e];if(r)for(let i of r)try{i(t)}catch(t){n.DEBUG_BUILD&&a.logger.error(`Error while triggering instrumentation handler.
492Type: ${e}
493Name: ${o.getFunctionName(i)}
494Error:`,t)}}},507385,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(346679),a=e.r(120620),o=null;function i(){o=n.GLOBAL_OBJ.onerror,n.GLOBAL_OBJ.onerror=function(e,t,r,n,i){return a.triggerHandlers("error",{column:n,error:i,line:r,msg:e,url:t}),!!o&&o.apply(this,arguments)},n.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}r.addGlobalErrorInstrumentationHandler=function(e){let t="error";a.addHandler(t,e),a.maybeInstrument(t,i)}},96134,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(346679),a=e.r(120620),o=null;function i(){o=n.GLOBAL_OBJ.onunhandledrejection,n.GLOBAL_OBJ.onunhandledrejection=function(e){return a.triggerHandlers("unhandledrejection",e),!o||o.apply(this,arguments)},n.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}r.addGlobalUnhandledRejectionInstrumentationHandler=function(e){let t="unhandledrejection";a.addHandler(t,e),a.maybeInstrument(t,i)}},823869,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(932820),a=e.r(346679);function o(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.SDK_VERSION,t[n.SDK_VERSION]=t[n.SDK_VERSION]||{}}r.getMainCarrier=function(){return o(a.GLOBAL_OBJ),a.GLOBAL_OBJ},r.getSentryCarrier=o},252540,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=Object.prototype.toString;function a(e,t){return n.call(e)===`[object ${t}]`}function o(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function i(e){return a(e,"Object")}function s(e,t){try{return e instanceof t}catch(e){return!1}}r.isDOMError=function(e){return a(e,"DOMError")},r.isDOMException=function(e){return a(e,"DOMException")},r.isElement=function(e){return"u">typeof Element&&s(e,Element)},r.isError=function(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return s(e,Error)}},r.isErrorEvent=function(e){return a(e,"ErrorEvent")},r.isEvent=function(e){return"u">typeof Event&&s(e,Event)},r.isInstanceOf=s,r.isParameterizedString=o,r.isPlainObject=i,r.isPrimitive=function(e){return null===e||o(e)||"object"!=typeof e&&"function"!=typeof e},r.isRegExp=function(e){return a(e,"RegExp")},r.isString=function(e){return a(e,"String")},r.isSyntheticEvent=function(e){return i(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e},r.isThenable=function(e){return!!(e&&e.then&&"function"==typeof e.then)},r.isVueViewModel=function(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}},780161,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(252540),a=e.r(346679).GLOBAL_OBJ;r.getComponentName=function(e){if(!a.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null},r.getDomElement=function(e){return a.document&&a.document.querySelector?a.document.querySelector(e):null},r.getLocationHref=function(){try{return a.document.location.href}catch(e){return""}},r.htmlTreeAsString=function(e,t={}){if(!e)return"<unknown>";try{let r,o=e,i=[],s=0,l=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;o&&s++<5&&(r=function(e,t){let r=[];if(!e||!e.tagName)return"";if(a.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}r.push(e.tagName.toLowerCase());let o=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(o&&o.length)o.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&r.push(`#${e.id}`);let t=e.className;if(t&&n.isString(t))for(let e of t.split(/\s+/))r.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let n=e.getAttribute(t);n&&r.push(`[${t}="${n}"]`)}return r.join("")}(o,u),"html"!==r&&(!(s>1)||!(l+3*i.length+r.length>=c)));)i.push(r),l+=r.length,o=o.parentNode;return i.reverse().join(" > ")}catch(e){return"<unknown>"}}},108910,(e,t,r)=>
494{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(252540);function a(e,t,r=!1){return!!n.isString(e)&&(n.isRegExp(t)?t.test(e):!!n.isString(t)&&(r?e===t:e.includes(t)))}r.isMatchingPattern=a,r.safeJoin=function(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let a=e[t];try{n.isVueViewModel(a)?r.push("[VueViewModel]"):r.push(String(a))}catch(e){r.push("[value cannot be serialized]")}}return r.join(t)},r.snipLine=function(e,t){let r=e,n=r.length;if(n<=150)return r;t>n&&(t=n);let a=Math.max(t-60,0);a<5&&(a=0);let o=Math.min(a+140,n);return o>n-5&&(o=n),o===n&&(a=Math.max(o-140,0)),r=r.slice(a,o),a>0&&(r=`'{snip} ${r}`),o<n&&(r+=" {snip}"),r},r.stringMatchesSomePattern=function(e,t=[],r=!1){return t.some(t=>a(e,t,r))},r.truncate=function(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}},398820,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(780161),a=e.r(154661),o=e.r(252540),i=e.r(510439),s=e.r(108910);function l(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch(r){a.DEBUG_BUILD&&i.logger.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,l(e,"__sentry_original__",t)}catch(e){}}function c(e){if(o.isError(e))return{message:e.message,name:e.name,stack:e.stack,..._(e)};if(!o.isEvent(e))return e;{let t={type:e.type,target:d(e.target),currentTarget:d(e.currentTarget),..._(e)};return"u">typeof CustomEvent&&o.isInstanceOf(e,CustomEvent)&&(t.detail=e.detail),t}}function d(e){try{return o.isElement(e)?n.htmlTreeAsString(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function _(e){if("object"!=typeof e||null===e)return{};{let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}r.addNonEnumerableProperty=l,r.convertToPlainObject=c,r.dropUndefinedKeys=function(e){return function e(t,r){if(function(e){if(!o.isPlainObject(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let n=r.get(t);if(void 0!==n)return n;let a={};for(let n of(r.set(t,a),Object.getOwnPropertyNames(t)))void 0!==t[n]&&(a[n]=e(t[n],r));return a}if(Array.isArray(t)){let n=r.get(t);if(void 0!==n)return n;let a=[];return r.set(t,a),t.forEach(t=>{a.push(e(t,r))}),a}return t}(e,new Map)},r.extractExceptionKeysForMessage=function(e,t=40){let r=Object.keys(c(e));r.sort();let n=r[0];if(!n)return"[object has no keys]";if(n.length>=t)return s.truncate(n,t);for(let e=r.length;e>0;e--){let n=r.slice(0,e).join(", ");if(!(n.length>t)){if(e===r.length)return n;return s.truncate(n,t)}}return""},r.fill=function(e,t,r){if(!(t in e))return;let n=e[t],o=r(n);"function"==typeof o&&u(o,n);try{e[t]=o}catch(r){a.DEBUG_BUILD&&i.logger.log(`Failed to replace method "${t}" in object`,e)}},r.getOriginalFunction=function(e){return e.__sentry_original__},r.markFunctionWrapped=u,r.objectify=function(e){let t;switch(!0){case void 0==e:t=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:t=Object(e);break;case o.isPrimitive(e):t=new e.constructor(e);break;default:t=e}return t},r.urlEncode=function(e){return Object.entries(e).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&")}},149437,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(346679);function a(){return Date.now()/1e3}let o=function(){let{performance:e}=n.GLOBAL_OBJ;if(!e||!e.now)return a;let t=Date.now()-e.now(),r=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(r+e.now())/1e3}();r._browserPerformanceTimeOriginMode=void 0;let i=(()=>{let{performance:e}=n.GLOBAL_OBJ;if(!e||!e.now){r._browserPerformanceTimeOriginMode="none";return}let t=e.now(),a=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+t-a):36e5,i=e.timing&&e.timing.navigationStart,s="number"==typeof i?Math.abs(i+t-a):36e5;if(o<36e5||s<36e5)if(o<=s)return r._browserPerformanceTimeOriginMode="timeOrigin",e.timeOrigin;else return r._browserPerformanceTimeOriginMode="navigationStart",i;return r._browserPerformanceTimeOriginMode="dateNow",a})();r.browserPerformanceTimeOrigin=i,r.dateTimestampInSeconds=a,r.timestampInSeconds=o},986420,(e,t,r)=>
494{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(398820),a=e.r(108910),o=e.r(346679);function i(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}let s=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function l(e){return parseInt(e||"",10)}r.addContextToFrame=function(e,t,r=5){if(void 0===t.lineno)return;let n=e.length,o=Math.max(Math.min(n-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,o-r),o).map(e=>a.snipLine(e,0));let i=Math.min(n-1,o);t.context_line=a.snipLine(e[i],t.colno||0),t.post_context=e.slice(Math.min(o+1,n),o+1+r).map(e=>a.snipLine(e,0))},r.addExceptionMechanism=function(e,t){let r=i(e);if(!r)return;let n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){let e={...n&&n.data,...t.data};r.mechanism.data=e}},r.addExceptionTypeValue=function(e,t,r){let n=e.exception=e.exception||{},a=n.values=n.values||[],o=a[0]=a[0]||{};o.value||(o.value=t||""),o.type||(o.type=r||"Error")},r.arrayify=function(e){return Array.isArray(e)?e:[e]},r.checkOrSetAlreadyCaught=function(e){if(function(e){try{return e.__sentry_captured__}catch(e){}}(e))return!0;try{n.addNonEnumerableProperty(e,"__sentry_captured__",!0)}catch(e){}return!1},r.getEventDescription=function(e){let{message:t,event_id:r}=e;if(t)return t;let n=i(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"},r.parseSemver=function(e){let t=e.match(s)||[],r=l(t[1]),n=l(t[2]),a=l(t[3]);return{buildmetadata:t[5],major:isNaN(r)?void 0:r,minor:isNaN(n)?void 0:n,patch:isNaN(a)?void 0:a,prerelease:t[4]}},r.uuid4=function(){let e=o.GLOBAL_OBJ,t=e.crypto||e.msCrypto,r=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(r=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&r())>>e/4).toString(16))}},110192,(e,t,r)=>{var n,a;Object.defineProperty(r,"__esModule",{value:!0});let o=e.r(252540);(a=n||(n={}))[a.PENDING=0]="PENDING",a[a.RESOLVED=1]="RESOLVED",a[a.REJECTED=2]="REJECTED";class i{constructor(e){i.prototype.__init.call(this),i.prototype.__init2.call(this),i.prototype.__init3.call(this),i.prototype.__init4.call(this),this._state=n.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new i((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new i((t,r)=>{let n,a;return this.then(t=>{a=!1,n=t,e&&e()},t=>{a=!0,n=t,e&&e()}).then(()=>{a?r(n):t(n)})})}__init(){this._resolve=e=>{this._setResult(n.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(n.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===n.PENDING){if(o.isThenable(t))return void t.then(this._resolve,this._reject);this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===n.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===n.RESOLVED&&e[1](this._value),this._state===n.REJECTED&&e[2](this._value),e[0]=!0)})}}}r.SyncPromise=i,r.rejectedSyncPromise=function(e){return new i((t,r)=>{r(e)})},r.resolvedSyncPromise=function(e){return new i(t=>{t(e)})}},102386,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),e.r(154661),e.r(510439);let n=e.r(398820),a=e.r(149437),o=e.r(986420);function i(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||a.timestampInSeconds(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:o.uuid4()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}e.r(110192),r.closeSession=function(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),i(e,r)},r.makeSession=function(e){let t=a.timestampInSeconds(),r={sid:o.uuid4(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,n.dropUndefinedKeys({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}};return e&&i(r,e),r},r.updateSession=i},822488,(e,t,r)=>
494{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(986420);function a(){return n.uuid4()}function o(){return n.uuid4().substring(16)}r.generatePropagationContext=function(){return{traceId:a(),spanId:o()}},r.generateSpanId=o,r.generateTraceId=a},346023,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.merge=function e(t,r,n=2){if(!r||"object"!=typeof r||n<=0)return r;if(t&&r&&0===Object.keys(r).length)return t;let a={...t};for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(a[t]=e(a[t],r[t],n-1));return a}},202548,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(398820),a="_sentrySpan";r._getSpanForScope=function(e){return e[a]},r._setSpanForScope=function(e,t){t?n.addNonEnumerableProperty(e,a,t):delete e[a]}},839107,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(102386),a=e.r(252540),o=e.r(510439),i=e.r(986420),s=e.r(822488),l=e.r(149437),u=e.r(346023),c=e.r(202548),d=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:s.generateTraceId(),spanId:s.generateSpanId()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,c._setSpanForScope(t,c._getSpanForScope(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&n.updateSession(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,[r,n]=t instanceof d?[t.getScopeData(),t.getRequestSession()]:a.isPlainObject(t)?[e,e.requestSession]:[],{tags:o,extra:i,user:s,contexts:l,level:u,fingerprint:c=[],propagationContext:_}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),u&&(this._level=u),c.length&&(this._fingerprint=c),_&&(this._propagationContext=_),n&&(this._requestSession=n),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,c._setSpanForScope(this,void 0),this._attachments=[],this.setPropagationContext({traceId:s.generateTraceId()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:l.dateTimestampInSeconds(),...e};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client&&this._client.re
494cordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:c._getSpanForScope(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=u.merge(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext={spanId:s.generateSpanId(),...e},this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t&&t.event_id?t.event_id:i.uuid4();if(!this._client)return o.logger.warn("No client configured on scope - will not capture exception!"),r;let n=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:n,...t,event_id:r},this),r}captureMessage(e,t,r){let n=r&&r.event_id?r.event_id:i.uuid4();if(!this._client)return o.logger.warn("No client configured on scope - will not capture message!"),n;let a=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:a,...r,event_id:n},this),n}captureEvent(e,t){let r=t&&t.event_id?t.event_id:i.uuid4();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):o.logger.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}};r.Scope=d},505587,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(839107),a=e.r(346679);r.getDefaultCurrentScope=function(){return a.getGlobalSingleton("defaultCurrentScope",()=>new n.Scope)},r.getDefaultIsolationScope=function(){return a.getGlobalSingleton("defaultIsolationScope",()=>new n.Scope)}},602951,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(505587),a=e.r(839107),o=e.r(252540),i=e.r(823869);class s{constructor(e,t){let r,n;r=e||new a.Scope,n=t||new a.Scope,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t,r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return o.isThenable(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function l(){let e=i.getMainCarrier(),t=i.getSentryCarrier(e);return t.stack=t.stack||new s(n.getDefaultCurrentScope(),n.getDefaultIsolationScope())}function u(e){return l().withScope(e)}function c(e,t){let r=l();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function d(e){return l().withScope(()=>e(l().getIsolationScope()))}r.AsyncContextStack=s,r.getStackAsyncContextStrategy=function(){return{withIsolationScope:d,withScope:u,withSetScope:c,withSetIsolationScope:(e,t)=>d(t),getCurrentScope:()=>l().getScope(),getIsolationScope:()=>l().getIsolationScope()}}},235551,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(823869),a=e.r(602951);r.getAsyncContextStrategy=function(e){let t=n.getSentryCarrier(e);return t.acs?t.acs:a.getStackAsyncContextStrategy()},r.setAsyncContextStrategy=function(e){let t=n.getMainCarrier();n.getSentryCarrier(t).acs=e}},360522,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(235551),a=e.r(823869),o=e.r(839107),i=e.r(398820),s=e.r(346679);function l(){let e=a.getMainCarrier();return n.getAsyncContextStrategy(e).getCurrentScope()}r.getClient=function(){return l().getClient()},r.getCurrentScope=l,r.getGlobalScope=function(){return s.getGlobalSingleton("globalScope",()=>new o.Scope)},r.getIsolationScope=function(){let e=a.getMainCarrier();return n.getAsyncContextStrategy(e).getIsolationScope()},r.getTraceContextFromScope=function(e){let{traceId:t,spanId:r,parentSpanId:n}=e.getPropagationContext();return i.dropUndefinedKeys({trace_id:t,span_id:r,parent_span_id:n})},r.withIsolationScope=function(...e){let t=a.getMainCarrier(),r=n.getAsyncContextStrategy(t);if(2===e.length){let[t,n]=e;return t?r.withSetIsolationScope(t,n):r.withIsolationScope(n)}return r.withIsolationScope(e[0])},r.withScope=function(...e){let t=a.getMainCarrier(),r=n.getAsyncContextStrategy(t);if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}},668866,(e,t,r)=>
494{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(398820),a="_sentryMetrics";r.getMetricSummaryJsonForSpan=function(e){let t=e[a];if(!t)return;let r={};for(let[,[e,a]]of t)(r[e]||(r[e]=[])).push(n.dropUndefinedKeys(a));return r},r.updateMetricSummaryOnSpan=function(e,t,r,n,o,i,s){let l=e[a]||(e[a]=new Map),u=`${t}:${r}@${o}`,c=l.get(s);if(c){let[,e]=c;l.set(s,[u,{min:Math.min(e.min,n),max:Math.max(e.max,n),count:e.count+=1,sum:e.sum+=n,tags:e.tags}])}else l.set(s,[u,{min:n,max:n,count:1,sum:n,tags:i}])}},392025,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SEMANTIC_ATTRIBUTE_CACHE_HIT="cache.hit",r.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE="cache.item_size",r.SEMANTIC_ATTRIBUTE_CACHE_KEY="cache.key",r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME="sentry.exclusive_time",r.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD="http.request.method",r.SEMANTIC_ATTRIBUTE_PROFILE_ID="sentry.profile_id",r.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME="sentry.custom_span_name",r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON="sentry.idle_span_finish_reason",r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT="sentry.measurement_unit",r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE="sentry.measurement_value",r.SEMANTIC_ATTRIBUTE_SENTRY_OP="sentry.op",r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN="sentry.origin",r.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE="sentry.sample_rate",r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE="sentry.source",r.SEMANTIC_ATTRIBUTE_URL_FULL="url.full"},816624,(e,t,r)=>{function n(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"};default:return{code:2,message:"internal_error"}}return{code:2,message:"unknown_error"}}Object.defineProperty(r,"__esModule",{value:!0}),r.SPAN_STATUS_ERROR=2,r.SPAN_STATUS_OK=1,r.SPAN_STATUS_UNSET=0,r.getSpanStatusFromHttpCode=n,r.setHttpStatus=function(e,t){e.setAttribute("http.response.status_code",t);let r=n(t);"unknown_error"!==r.message&&e.setStatus(r)}},843605,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(154661),a=e.r(252540),o=e.r(510439),i="sentry-",s=/^sentry-/;function l(e){if(e&&(a.isString(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(u(t)).forEach(([t,r])=>{e[t]=r}),e),{}):u(e)}function u(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}r.BAGGAGE_HEADER_NAME="baggage",r.MAX_BAGGAGE_STRING_LENGTH=8192,r.SENTRY_BAGGAGE_KEY_PREFIX=i,r.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=s,r.baggageHeaderToDynamicSamplingContext=function(e){let t=l(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.match(s)&&(e[t.slice(i.length)]=r),e),{});return Object.keys(r).length>0?r:void 0},r.dynamicSamplingContextToSentryBaggageHeader=function(e){if(e){var t=Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${i}${t}`]=r),e),{});return 0!==Object.keys(t).length?Object.entries(t).reduce((e,[t,r],a)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,s=0===a?i:`${e},${i}`;return s.length>8192?(n.DEBUG_BUILD&&o.logger.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):s},""):void 0}},r.parseBaggageHeader=l},753641,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(843605),a=e.r(822488),o=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function i(e){let t;if(!e)return;let r=e.match(o);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}r.TRACEPARENT_REGEXP=o,r.extractTraceparentData=i,r.generateSentryTraceHeader=function(e=a.generateTraceId(),t=a.generateSpanId(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`},r.propagationContextFromHeaders=function(e,t){let r=i(e),o=n.baggageHeaderToDynamicSamplingContext(t);if(!r||!r.traceId)return{traceId:a.generateTraceId(),spanId:a.generateSpanId()};let{traceId:s,parentSpanId:l,parentSampled:u}=r;return{traceId:s,parentSpanId:l,spanId:a.generateSpanId(),sampled:u,dsc:o||{}}}},706135,(e,t,r)=>
494{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(235551),a=e.r(823869),o=e.r(360522),i=e.r(668866),s=e.r(392025),l=e.r(816624),u=e.r(510439),c=e.r(398820),d=e.r(822488),_=e.r(149437),p=e.r(753641),E=e.r(202548),S=!1;function T(e){return"number"==typeof e?g(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?g(e.getTime()):_.timestampInSeconds()}function g(e){return e>0x2540be3ff?e/1e3:e}function f(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();try{var t;let{spanId:r,traceId:n}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:a,name:o,endTime:l,parentSpanId:u,status:d}=e;return c.dropUndefinedKeys({span_id:r,trace_id:n,data:t,description:o,parent_span_id:u,start_timestamp:T(a),timestamp:T(l)||void 0,status:h(d),op:t[s.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:t[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],_metrics_summary:i.getMetricSummaryJsonForSpan(e)})}return{span_id:r,trace_id:n}}catch(e){return{}}}function m(e){let{traceFlags:t}=e.spanContext();return 1===t}function h(e){if(e&&e.code!==l.SPAN_STATUS_UNSET)return e.code===l.SPAN_STATUS_OK?"ok":e.message||"unknown_error"}let A="_sentryChildSpans",R="_sentryRootSpan";function I(){let e=a.getMainCarrier(),t=n.getAsyncContextStrategy(e);return t.getActiveSpan?t.getActiveSpan():E._getSpanForScope(o.getCurrentScope())}r.TRACE_FLAG_NONE=0,r.TRACE_FLAG_SAMPLED=1,r.addChildSpanToSpan=function(e,t){let r=e[R]||e;c.addNonEnumerableProperty(t,R,r),e[A]?e[A].add(t):c.addNonEnumerableProperty(e,A,new Set([t]))},r.getActiveSpan=I,r.getRootSpan=function(e){return e[R]||e},r.getSpanDescendants=function(e){let t=new Set;return!function e(r){if(!t.has(r)&&m(r))for(let n of(t.add(r),r[A]?Array.from(r[A]):[]))e(n)}(e),Array.from(t)},r.getStatusMessage=h,r.removeChildSpanFromSpan=function(e,t){e[A]&&e[A].delete(t)},r.showSpanDropWarning=function(){S||(u.consoleSandbox(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),S=!0)},r.spanIsSampled=m,r.spanTimeInputToSeconds=T,r.spanToJSON=f,r.spanToTraceContext=function(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext(),a=n?t:f(e).parent_span_id,o=n?d.generateSpanId():t;return c.dropUndefinedKeys({parent_span_id:a,span_id:o,trace_id:r})},r.spanToTraceHeader=function(e){let{traceId:t,spanId:r}=e.spanContext(),n=m(e);return p.generateSentryTraceHeader(t,r,n)},r.spanToTransactionTraceContext=function(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:a,parent_span_id:o,status:i,origin:s}=f(e);return c.dropUndefinedKeys({parent_span_id:o,span_id:t,trace_id:r,data:n,op:a,status:i,origin:s})},r.updateMetricSummaryOnActiveSpan=function(e,t,r,n,a,o){let s=I();s&&i.updateMetricSummaryOnSpan(s,e,t,r,n,a,o)},r.updateSpanName=function(e,t){e.updateName(t),e.setAttributes({[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]:t})}},518284,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(117248),a=e.r(507385),o=e.r(96134),i=e.r(510439),s=e.r(706135),l=e.r(816624),u=!1;function c(){let e=s.getActiveSpan(),t=e&&s.getRootSpan(e);if(t){let e="internal_error";n.DEBUG_BUILD&&i.logger.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:l.SPAN_STATUS_ERROR,message:e})}}c.tag="sentry_tracingErrorCallback",r.registerSpanErrorInstrumentation=function(){u||(u=!0,a.addGlobalErrorInstrumentationHandler(c),o.addGlobalUnhandledRejectionInstrumentationHandler(c))}},473841,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(398820),a="_sentryScope",o="_sentryIsolationScope";r.getCapturedScopesOnSpan=function(e){return{scope:e[a],isolationScope:e[o]}},r.setCapturedScopesOnSpan=function(e,t,r){e&&(n.addNonEnumerableProperty(e,o,r),n.addNonEnumerableProperty(e,a,t))}},182394,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(518284);r.addTracingExtensions=function(){n.registerSpanErrorInstrumentation()}},145620,(e,t,r)=>
494{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522);r.hasTracingEnabled=function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=n.getClient(),r=e||t&&t.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}},461427,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(822488),a=e.r(706135);r.SentryNonRecordingSpan=class{constructor(e={}){this._traceId=e.traceId||n.generateTraceId(),this._spanId=e.spanId||n.generateSpanId()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:a.TRACE_FLAG_NONE}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}},685907,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(252540);r.handleCallbackErrors=function(e,t,r=()=>{}){var a,o,i;let s;try{s=e()}catch(e){throw t(e),r(),e}return a=s,o=t,i=r,n.isThenable(a)?a.then(e=>(i(),e),e=>{throw o(e),i(),e}):(i(),a)}},777184,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_ENVIRONMENT="production"},613957,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(777184),a=e.r(360522),o=e.r(392025),i=e.r(843605),s=e.r(398820),l=e.r(145620),u=e.r(706135),c="_frozenDsc";function d(e,t){let r=t.getOptions(),{publicKey:a}=t.getDsn()||{},o=s.dropUndefinedKeys({environment:r.environment||n.DEFAULT_ENVIRONMENT,release:r.release,public_key:a,trace_id:e});return t.emit("createDsc",o),o}function _(e){let t=a.getClient();if(!t)return{};let r=u.getRootSpan(e),n=r[c];if(n)return n;let s=r.spanContext().traceState,_=s&&s.get("sentry.dsc"),p=_&&i.baggageHeaderToDynamicSamplingContext(_);if(p)return p;let E=d(e.spanContext().traceId,t),S=u.spanToJSON(r),T=S.data||{},g=T[o.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE];null!=g&&(E.sample_rate=`${g}`);let f=T[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],m=S.description;return"url"!==f&&m&&(E.transaction=m),l.hasTracingEnabled()&&(E.sampled=String(u.spanIsSampled(r))),t.emit("createDsc",E,r),E}r.freezeDscOnSpan=function(e,t){s.addNonEnumerableProperty(e,c,t)},r.getDynamicSamplingContextFromClient=d,r.getDynamicSamplingContextFromScope=function(e,t){let r=t.getPropagationContext();return r.dsc||d(r.traceId,e)},r.getDynamicSamplingContextFromSpan=_,r.spanToBaggageHeader=function(e){let t=_(e);return i.dynamicSamplingContextToSentryBaggageHeader(t)}},953068,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(117248),a=e.r(510439),o=e.r(706135);r.logSpanEnd=function(e){if(!n.DEBUG_BUILD)return;let{description:t="< unknown name >",op:r="< unknown op >"}=o.spanToJSON(e),{spanId:i}=e.spanContext(),s=o.getRootSpan(e)===e,l=`[Tracing] Finishing "${r}" ${s?"root ":""}span "${t}" with ID ${i}`;a.logger.log(l)},r.logSpanStart=function(e){if(!n.DEBUG_BUILD)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:i}=o.spanToJSON(e),{spanId:s}=e.spanContext(),l=o.spanIsSampled(e),u=o.getRootSpan(e),c=u===e,d=`[Tracing] Starting ${l?"sampled":"unsampled"} ${c?"root ":""}span`,_=[`op: ${r}`,`name: ${t}`,`ID: ${s}`];if(i&&_.push(`parent ID: ${i}`),!c){let{op:e,description:t}=o.spanToJSON(u);_.push(`root ID: ${u.spanContext().spanId}`),e&&_.push(`root op: ${e}`),t&&_.push(`root description: ${t}`)}a.logger.log(`${d}
495  ${_.join("\n  ")}`)}},355605,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(117248),a=e.r(510439);r.parseSampleRate=function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)||t<0||t>1){n.DEBUG_BUILD&&a.logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}},166144,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(117248),o=e.r(510439),i=e.r(145620),s=e.r(355605);
495r.sampleSpan=function(e,t){let r;if(!i.hasTracingEnabled(e))return[!1];let l=n.getIsolationScope().getScopeData().sdkProcessingMetadata.normalizedRequest,u={...t,normalizedRequest:t.normalizedRequest||l};r="function"==typeof e.tracesSampler?e.tracesSampler(u):void 0!==u.parentSampled?u.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;let c=s.parseSampleRate(r);return void 0===c?(a.DEBUG_BUILD&&o.logger.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):c?Math.random()<c?[!0,c]:(a.DEBUG_BUILD&&o.logger.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[!1,c]):(a.DEBUG_BUILD&&o.logger.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,c])}},247867,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(154661),a=e.r(510439),o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(e){let t=o.exec(e);if(!t)return void a.consoleSandbox(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,n,i="",l="",u="",c=""]=t.slice(1),d="",_=c,p=_.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),_=p.pop()),_){let e=_.match(/^\d+/);e&&(_=e[0])}return s({host:l,pass:i,path:d,projectId:_,port:u,protocol:r,publicKey:n})}function s(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}r.dsnFromString=i,r.dsnToString=function(e,t=!1){let{host:r,path:n,pass:a,port:o,projectId:i,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&a?`:${a}`:""}@${r}${o?`:${o}`:""}/${n?`${n}/`:n}${i}`},r.makeDsn=function(e){let t="string"==typeof e?i(e):s(e);if(t&&function(e){if(!n.DEBUG_BUILD)return!0;let{port:t,projectId:r,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(a.logger.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==o&&"https"!==o?(a.logger.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):!(t&&isNaN(parseInt(t,10)))||(a.logger.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(a.logger.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}},503127,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.memoBuilder=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(r){if(e)return!!t.has(r)||(t.add(r),!1);for(let e=0;e<t.length;e++)if(t[e]===r)return!0;return t.push(r),!1},function(r){if(e)t.delete(r);else for(let e=0;e<t.length;e++)if(t[e]===r){t.splice(e,1);break}}]}},483512,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(252540),a=e.r(503127),o=e.r(398820),i=e.r(939358);function s(t,r=100,l=Infinity){try{return function t(r,s,l=Infinity,u=Infinity,c=a.memoBuilder()){let[d,_]=c;if(null==s||["boolean","string"].includes(typeof s)||"number"==typeof s&&Number.isFinite(s))return s;let p=function(t,r){try{var a;let o;if("domain"===t&&r&&"object"==typeof r&&r._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if(r===e.g)return"[Global]";if("u">typeof window&&r===window)return"[Window]";if("u">typeof document&&r===document)return"[Document]";if(n.isVueViewModel(r))return"[VueViewModel]";if(n.isSyntheticEvent(r))return"[SyntheticEvent]";if("number"==typeof r&&!Number.isFinite(r))return`[${r}]`;if("function"==typeof r)return`[Function: ${i.getFunctionName(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let s=(a=r,(o=Object.getPrototypeOf(a))?o.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(s))return`[HTMLElement: ${s}]`;return`[object ${s}]`}catch(e){return`**non-serializable** (${e})`}}(r,s);if(!p.startsWith("[object "))return p;if(s.__sentry_skip_normalization__)return s;let E="number"==typeof s.__sentry_override_normalization_depth__?s.__sentry_override_normalization_depth__:l;if(0===E)return p.replace("object ","");if(d(s))return"[Circular ~]";if(s&&"function"==typeof s.toJSON)try{let e=s.toJSON();return t("",e,E-1,u,c)}catch(e){}let S=Array.isArray(s)?[]:{},T=0,g=o.convertToPlainObject(s);for(let e in g){if(!Object.prototype.hasOwnProperty.call(g,e))continue;if(T>=u){S[e]="[MaxProperties ~]";break}let r=g[e];S[e]=t(e,r,E-1,u,c),T++}return _(s),S}("",t,r,l)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}r.normalize=s,r.normalizeToSize=function e(t,r=3,n=102400){let a=s(t,r);return~-encodeURI(JSON.stringify(a)).split(/%..|./).length>n?e(t,r-1,n):a},r.normalizeUrlToBase=function(e,t){let r=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),n=e;try{n=decodeURI(e)}catch(e){}return n.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(RegExp(`(file://)?/*${r}/*`,"ig"),"app:///")}},630618,(e,t,r)=>
495{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(247867),a=e.r(483512),o=e.r(398820),i=e.r(346679);function s(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function l(e){return i.GLOBAL_OBJ.__SENTRY__&&i.GLOBAL_OBJ.__SENTRY__.encodePolyfill?i.GLOBAL_OBJ.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}let u={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};r.addItemToEnvelope=function(e,t){let[r,n]=e;return[r,[...n,t]]},r.createAttachmentEnvelopeItem=function(e){let t="string"==typeof e.data?l(e.data):e.data;return[o.dropUndefinedKeys({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]},r.createEnvelope=function(e,t=[]){return[e,t]},r.createEventEnvelopeHeaders=function(e,t,r,a){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&a&&{dsn:n.dsnToString(a)},...i&&{trace:o.dropUndefinedKeys({...i})}}},r.createSpanEnvelopeItem=function(e){return[{type:"span"},e]},r.envelopeContainsItemType=function(e,t){return s(e,(e,r)=>t.includes(r))},r.envelopeItemTypeToDataCategory=function(e){return u[e]},r.forEachEnvelopeItem=s,r.getSdkMetadataForEnvelopeHeader=function(e){if(!e||!e.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}},r.parseEnvelope=function(e){let t="string"==typeof e?l(e):e;function r(e){let r=t.subarray(0,e);return t=t.subarray(e+1),r}function n(){var e;let n=t.indexOf(10);return n<0&&(n=t.length),JSON.parse((e=r(n),i.GLOBAL_OBJ.__SENTRY__&&i.GLOBAL_OBJ.__SENTRY__.decodePolyfill?i.GLOBAL_OBJ.__SENTRY__.decodePolyfill(e):new TextDecoder().decode(e)))}let a=n(),o=[];for(;t.length;){let e=n(),t="number"==typeof e.length?e.length:void 0;o.push([e,t?r(t):n()])}return[a,o]},r.serializeEnvelope=function(e){let[t,r]=e,n=JSON.stringify(t);function o(e){"string"==typeof n?n="string"==typeof e?n+e:[l(n),e]:n.push("string"==typeof e?l(e):e)}for(let e of r){let[t,r]=e;if(o(`
496${JSON.stringify(t)}
497`),"string"==typeof r||r instanceof Uint8Array)o(r);else{let e;try{e=JSON.stringify(r)}catch(t){e=JSON.stringify(a.normalize(r))}o(e)}}return"string"==typeof n?n:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n)}},296860,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(613957),a=e.r(247867),o=e.r(630618);e.r(154661),e.r(510439);let i=e.r(706135);r.createEventEnvelope=function(e,t,r,n){var a;let i=o.getSdkMetadataForEnvelopeHeader(r),s=e.type&&"replay_event"!==e.type?e.type:"event";(a=r&&r.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||a.name,e.sdk.version=e.sdk.version||a.version,e.sdk.integrations=[...e.sdk.integrations||[],...a.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...a.packages||[]]);let l=o.createEventEnvelopeHeaders(e,i,n,t);delete e.sdkProcessingMetadata;let u=[{type:s},e];return o.createEnvelope(l,[u])},r.createSessionEnvelope=function(e,t,r,n){let i=o.getSdkMetadataForEnvelopeHeader(r),s={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:a.dsnToString(t)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return o.createEnvelope(s,[l])},r.createSpanEnvelope=function(e,t){let r=n.getDynamicSamplingContextFromSpan(e[0]),s=t&&t.getDsn(),l=t&&t.getOptions().tunnel,u={sent_at:new Date().toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!l&&s&&{dsn:a.dsnToString(s)}},c=t&&t.getOptions().beforeSendSpan,d=c?e=>{let t=c(i.spanToJSON(e));return t||i.showSpanDropWarning(),t}:e=>i.spanToJSON(e),_=[];for(let t of e){let e=d(t);e&&_.push(o.createSpanEnvelopeItem(e))}return o.createEnvelope(u,_)}},277780,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(117248),a=e.r(392025),o=e.r(510439),i=e.r(706135);r.setMeasurement=function(e,t,r,s=i.getActiveSpan()){let l=s&&i.getRootSpan(s);l&&(n.DEBUG_BUILD&&o.logger.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),l.addEvent(e,{[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t,[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:r}))},r.timedEventsToMeasurements=function(e){if(!e||0===e.length)return;let t={};
497return e.forEach(e=>{let r=e.attributes||{},n=r[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],o=r[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof n&&"number"==typeof o&&(t[e.name]={value:o,unit:n})}),t}},705843,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(117248),o=e.r(296860),i=e.r(668866),s=e.r(392025),l=e.r(510439),u=e.r(398820),c=e.r(822488),d=e.r(149437),_=e.r(706135),p=e.r(613957),E=e.r(953068),S=e.r(277780),T=e.r(473841);function g(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function f(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}r.SentrySpan=class e{constructor(e={}){this._traceId=e.traceId||c.generateTraceId(),this._spanId=e.spanId||c.generateSpanId(),this._startTime=e.startTimestamp||d.timestampInSeconds(),this._attributes={},this.setAttributes({[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this}addLinks(e){return this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?_.TRACE_FLAG_SAMPLED:_.TRACE_FLAG_NONE}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=_.spanTimeInputToSeconds(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(e){this._endTime||(this._endTime=_.spanTimeInputToSeconds(e),E.logSpanEnd(this),this._onSpanEnded())}getSpanJSON(){return u.dropUndefinedKeys({data:this._attributes,description:this._name,op:this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:_.getStatusMessage(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],_metrics_summary:i.getMetricSummaryJsonForSpan(this),profile_id:this._attributes[s.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[s.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:S.timedEventsToMeasurements(this._events),is_segment:this._isStandaloneSpan&&_.getRootSpan(this)===this||void 0,segment_id:this._isStandaloneSpan?_.getRootSpan(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){a.DEBUG_BUILD&&l.logger.log("[Tracing] Adding an event to span:",e);let n=g(t)?t:r||d.timestampInSeconds(),o=g(t)?{}:t||{},i={name:e,time:_.spanTimeInputToSeconds(n),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=n.getClient();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===_.getRootSpan(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=n.getClient();if(!t)return;let r=e[1];r&&0!==r.length?t.sendEnvelope(e):t.recordDroppedEvent("before_send","span")}(o.createSpanEnvelope([this],e)):(a.DEBUG_BUILD&&l.logger.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));let t=this._convertSpanToTransaction();t&&(T.getCapturedScopesOnSpan(this).scope||n.getCurrentScope()).captureEvent(t)}_convertSpanToTransaction(){if(!f(_.spanToJSON(this)))return;this._name||(a.DEBUG_BUILD&&l.logger.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:r}=T.getCapturedScopesOnSpan(this),o=(t||n.getCurrentScope()).getClient()||n.getClient();if(!0!==this._sampled){a.DEBUG_BUILD&&l.logger.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),o&&o.recordDroppedEvent("sample_rate","transaction");return}let c=_.getSpanDescendants(this).filter(t=>{var r;return t!==this&&!((r=t)instanceof e&&r.isStandaloneSpan())}).map(e=>_.spanToJSON(e)).filter(f),d=this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],c.forEac
497h(e=>{e.data&&delete e.data[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]});let E={contexts:{trace:_.spanToTransactionTraceContext(this)},spans:c.length>1e3?c.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):c,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:r,...u.dropUndefinedKeys({dynamicSamplingContext:p.getDynamicSamplingContextFromSpan(this)})},_metrics_summary:i.getMetricSummaryJsonForSpan(this),...d&&{transaction_info:{source:d}}},g=S.timedEventsToMeasurements(this._events);return g&&Object.keys(g).length&&(a.DEBUG_BUILD&&l.logger.log("[Measurements] Adding measurements to transaction event",JSON.stringify(g,void 0,2)),E.measurements=g),E}}},5556,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(823869),a=e.r(360522),o=e.r(235551),i=e.r(117248),s=e.r(392025),l=e.r(510439),u=e.r(822488),c=e.r(753641),d=e.r(685907),_=e.r(145620),p=e.r(202548),E=e.r(706135),S=e.r(613957),T=e.r(953068),g=e.r(166144),f=e.r(461427),m=e.r(705843),h=e.r(816624),A=e.r(473841),R="__SENTRY_SUPPRESS_TRACING__";function I(e,t){let r=O();return r.withActiveSpan?r.withActiveSpan(e,t):a.withScope(r=>(p._setSpanForScope(r,e||void 0),t(r)))}function y({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){let o;if(!_.hasTracingEnabled())return new f.SentryNonRecordingSpan;let i=a.getIsolationScope();if(e&&!r)o=function(e,t,r){let{spanId:n,traceId:o}=e.spanContext(),i=!t.getScopeData().sdkProcessingMetadata[R]&&E.spanIsSampled(e),s=i?new m.SentrySpan({...r,parentSpanId:n,traceId:o,sampled:i}):new f.SentryNonRecordingSpan({traceId:o});E.addChildSpanToSpan(e,s);let l=a.getClient();return l&&(l.emit("spanStart",s),r.endTimestamp&&l.emit("spanEnd",s)),s}(e,n,t),E.addChildSpanToSpan(e,o);else if(e){let r=S.getDynamicSamplingContextFromSpan(e),{traceId:a,spanId:i}=e.spanContext(),s=E.spanIsSampled(e);o=v({traceId:a,parentSpanId:i,...t},n,s),S.freezeDscOnSpan(o,r)}else{let{traceId:e,dsc:r,parentSpanId:a,sampled:s}={...i.getPropagationContext(),...n.getPropagationContext()};o=v({traceId:e,parentSpanId:a,...t},n,s),r&&S.freezeDscOnSpan(o,r)}return T.logSpanStart(o),A.setCapturedScopesOnSpan(o,n,i),o}function N(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=E.spanTimeInputToSeconds(e.startTime),delete r.startTime,r}return t}function O(){let e=n.getMainCarrier();return o.getAsyncContextStrategy(e)}function v(e,t,r){let n=a.getClient(),o=n&&n.getOptions()||{},{name:i="",attributes:l}=e,[u,c]=t.getScopeData().sdkProcessingMetadata[R]?[!1]:g.sampleSpan(o,{name:i,parentSampled:r,attributes:l,transactionContext:{name:i,parentSampled:r}}),d=new m.SentrySpan({...e,attributes:{[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",...e.attributes},sampled:u});return void 0!==c&&d.setAttribute(s.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,c),n&&n.emit("spanStart",d),d}function b(e){let t=p._getSpanForScope(e);if(!t)return;let r=a.getClient();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?E.getRootSpan(t):t}function C(e){return void 0!==e?t=>I(e,t):e=>e()}r.continueTrace=(e,t)=>{let r=n.getMainCarrier(),i=o.getAsyncContextStrategy(r);if(i.continueTrace)return i.continueTrace(e,t);let{sentryTrace:s,baggage:l}=e;return a.withScope(e=>
497{let r=c.propagationContextFromHeaders(s,l);return e.setPropagationContext(r),t()})},r.startInactiveSpan=function(e){let t=O();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=N(e),{forceTransaction:n,parentSpan:o}=e;return(e.scope?t=>a.withScope(e.scope,t):void 0!==o?e=>I(o,e):e=>e())(()=>{let t=a.getCurrentScope(),o=b(t);return e.onlyIfParent&&!o?new f.SentryNonRecordingSpan:y({parentSpan:o,spanArguments:r,forceTransaction:n,scope:t})})},r.startNewTrace=function(e){return a.withScope(t=>(t.setPropagationContext({traceId:u.generateTraceId()}),i.DEBUG_BUILD&&l.logger.info(`Starting a new trace with id ${t.getPropagationContext().traceId}`),I(null,e)))},r.startSpan=function(e,t){let r=O();if(r.startSpan)return r.startSpan(e,t);let n=N(e),{forceTransaction:o,parentSpan:i}=e;return a.withScope(e.scope,()=>C(i)(()=>{let r=a.getCurrentScope(),i=b(r),s=e.onlyIfParent&&!i?new f.SentryNonRecordingSpan:y({parentSpan:i,spanArguments:n,forceTransaction:o,scope:r});return p._setSpanForScope(r,s),d.handleCallbackErrors(()=>t(s),()=>{let{status:e}=E.spanToJSON(s);s.isRecording()&&(!e||"ok"===e)&&s.setStatus({code:h.SPAN_STATUS_ERROR,message:"internal_error"})},()=>s.end())}))},r.startSpanManual=function(e,t){let r=O();if(r.startSpanManual)return r.startSpanManual(e,t);let n=N(e),{forceTransaction:o,parentSpan:i}=e;return a.withScope(e.scope,()=>C(i)(()=>{let r=a.getCurrentScope(),i=b(r),s=e.onlyIfParent&&!i?new f.SentryNonRecordingSpan:y({parentSpan:i,spanArguments:n,forceTransaction:o,scope:r});function l(){s.end()}return p._setSpanForScope(r,s),d.handleCallbackErrors(()=>t(s,l),()=>{let{status:e}=E.spanToJSON(s);s.isRecording()&&(!e||"ok"===e)&&s.setStatus({code:h.SPAN_STATUS_ERROR,message:"internal_error"})})}))},r.suppressTracing=function(e){let t=O();return t.suppressTracing?t.suppressTracing(e):a.withScope(t=>(t.setSDKProcessingMetadata({[R]:!0}),e()))},r.withActiveSpan=I},316779,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(117248),o=e.r(392025),i=e.r(510439),s=e.r(149437),l=e.r(145620),u=e.r(202548),c=e.r(706135),d=e.r(461427),_=e.r(816624),p=e.r(5556),E={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};r.TRACING_DEFAULTS=E,r.startIdleSpan=function(e,t={}){var r;let S,T,g=new Map,f=!1,m="externalFinish",h=!t.disableAutoFinish,A=[],{idleTimeout:R=E.idleTimeout,finalTimeout:I=E.finalTimeout,childSpanTimeout:y=E.childSpanTimeout,beforeSpanEnd:N}=t,O=n.getClient();if(!O||!l.hasTracingEnabled())return new d.SentryNonRecordingSpan;let v=n.getCurrentScope(),b=c.getActiveSpan(),C=(r=e,S=p.startInactiveSpan(r),u._setSpanForScope(n.getCurrentScope(),S),a.DEBUG_BUILD&&i.logger.log("[Tracing] Started span is an idle span"),S);function M(){T&&(clearTimeout(T),T=void 0)}function U(e){M(),T=setTimeout(()=>{!f&&0===g.size&&h&&(m="idleTimeout",C.end(e))},R)}function P(e){T=setTimeout(()=>{!f&&h&&(m="heartbeatFailed",C.end(e))},y)}function D(e){f=!0,g.clear(),A.forEach(e=>e()),u._setSpanForScope(v,b);let t=c.spanToJSON(C),{start_timestamp:r}=t;if(!r)return;(t.data||{})[o.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||C.setAttribute(o.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,m),i.logger.log(`[Tracing] Idle span "${t.op}" finished`);let n=c.getSpanDescendants(C).filter(e=>e!==C),s=0;n.forEach(t=>{t.isRecording()&&(t.setStatus({code:_.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),a.DEBUG_BUILD&&i.logger.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=c.spanToJSON(t),o=n<=e,l=r-n<=(I+R)/1e3;if(a.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);o?l||i.logger.log("[Tracing] Discarding span since it finished after idle span final timeout",e):i.logger.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!l||!o)&&(c.removeChildSpanFromSpan(C,t),s++)}),s>0&&C.setAttribute("sentry.idle_span_discarded_spans",s)}return C.end=new Proxy(C.end,{apply(e,t,r){N&&N(C);let[n,...a]=r,o=n||s.timestampInSeconds(),i=c.spanTimeInputToSeconds(o),l=c.getSpanDescendants(C).filter(e=>e!==C);if(!l.length)return D(i),Reflect.apply(e,t,[i,...a]);let u=l.map(e=>c.spanToJSON(e).timestamp).filter(e=>!!e),d=u.length?Math.max(...u):void 0,_=c.spanToJSON(C).start_timestamp,p=Math.min(_?_+I/1e3:1/0,Math.max(_||-1/0,Math.min(i,d||1/0)));return D(p),Reflect.apply(e,t,[p,...a])}}),A.push(O.on("spanStart",e=>{var t;f||e===C||c.spanToJSON(e).timestamp||c.getSpanDescendants(C).includes(e)&&(t=e.spanContext().spanId,M(),g.set(t,!0),P(s.timestampInSeconds()+y/1e3))})),A.push(O.on("spanEnd",e=>{if(!f){var t;t=e.spanContext().spanId,g.has(t)&&g.delete(t),0===g.size&&U(s.timestampInSeconds()+R/1e3)}})),A.push(O.on("idleSpanEnableAutoFinish",e=>{e===C&&(h=!0,U(),g.size&&P())})),t.disableAutoFinish||U(),setTimeout(()=>{f||(C.setStatus({code:_.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),m="finalTimeout",C.end())},I),C}},862451,(e,t,r)=>
497{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(117248),a=e.r(252540),o=e.r(510439),i=e.r(110192);r.notifyEventProcessors=function e(t,r,s,l=0){return new i.SyncPromise((i,u)=>{let c=t[l];if(null===r||"function"!=typeof c)i(r);else{let d=c({...r},s);n.DEBUG_BUILD&&c.id&&null===d&&o.logger.log(`Event processor "${c.id}" dropped event`),a.isThenable(d)?d.then(r=>e(t,r,s,l+1).then(i)).then(null,u):e(t,d,s,l+1).then(i).then(null,u)}})}},541879,(e,t,r)=>{let n,a,o;Object.defineProperty(r,"__esModule",{value:!0});let i=e.r(346679);function s(e){let t=i.GLOBAL_OBJ._sentryDebugIds;if(!t)return{};let r=Object.keys(t);return o&&r.length===a?o:(a=r.length,o=r.reduce((r,a)=>{n||(n={});let o=n[a];if(o)r[o[0]]=o[1];else{let o=e(a);for(let e=o.length-1;e>=0;e--){let i=o[e],s=i&&i.filename,l=t[a];if(s&&l){r[s]=l,n[a]=[s,l];break}}}return r},{}))}r.getDebugImagesForResources=function(e,t){let r=s(e);if(!r)return[];let n=[];for(let e of t)e&&r[e]&&n.push({type:"sourcemap",code_file:e,debug_id:r[e]});return n},r.getFilenameToDebugIdMap=s},675414,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(613957),a=e.r(398820),o=e.r(346023),i=e.r(706135);function s(e,t,r){e[t]=o.merge(e[t],r,1)}r.applyScopeDataToEvent=function(e,t){var r,o,s,l,u,c,d,_;let p,E,S,{fingerprint:T,span:g,breadcrumbs:f,sdkProcessingMetadata:m}=t;(function(e,t){let{extra:r,tags:n,user:o,contexts:i,level:s,transactionName:l}=t,u=a.dropUndefinedKeys(r);u&&Object.keys(u).length&&(e.extra={...u,...e.extra});let c=a.dropUndefinedKeys(n);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});let d=a.dropUndefinedKeys(o);d&&Object.keys(d).length&&(e.user={...d,...e.user});let _=a.dropUndefinedKeys(i);_&&Object.keys(_).length&&(e.contexts={..._,...e.contexts}),s&&(e.level=s),l&&"transaction"!==e.type&&(e.transaction=l)})(e,t),g&&(r=e,o=g,r.contexts={trace:i.spanToTraceContext(o),...r.contexts},r.sdkProcessingMetadata={dynamicSamplingContext:n.getDynamicSamplingContextFromSpan(o),...r.sdkProcessingMetadata},p=i.getRootSpan(o),(E=i.spanToJSON(p).description)&&!r.transaction&&"transaction"===r.type&&(r.transaction=E)),s=e,l=T,s.fingerprint=s.fingerprint?Array.isArray(s.fingerprint)?s.fingerprint:[s.fingerprint]:[],l&&(s.fingerprint=s.fingerprint.concat(l)),s.fingerprint&&!s.fingerprint.length&&delete s.fingerprint,u=e,c=f,S=[...u.breadcrumbs||[],...c],u.breadcrumbs=S.length?S:void 0,d=e,_=m,d.sdkProcessingMetadata={...d.sdkProcessingMetadata,..._}},r.mergeAndOverwriteScopeData=s,r.mergeScopeData=function(e,t){let{extra:r,tags:n,user:a,contexts:i,level:l,sdkProcessingMetadata:u,breadcrumbs:c,fingerprint:d,eventProcessors:_,attachments:p,propagationContext:E,transactionName:S,span:T}=t;s(e,"extra",r),s(e,"tags",n),s(e,"user",a),s(e,"contexts",i),e.sdkProcessingMetadata=o.merge(e.sdkProcessingMetadata,u,2),l&&(e.level=l),S&&(e.transactionName=S),T&&(e.span=T),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),d.length&&(e.fingerprint=[...e.fingerprint,...d]),_.length&&(e.eventProcessors=[...e.eventProcessors,..._]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...E}}},927755,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(777184),a=e.r(360522),o=e.r(862451),i=e.r(839107),s=e.r(541879),l=e.r(986420),u=e.r(483512),c=e.r(108910),d=e.r(149437),_=e.r(675414);function p(e,t){let{environment:r,release:a,dist:o,maxValueLength:i=250}=t;e.environment=e.environment||r||n.DEFAULT_ENVIRONMENT,!e.release&&a&&(e.release=a),!e.dist&&o&&(e.dist=o),e.message&&(e.message=c.truncate(e.message,i));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=c.truncate(s.value,i));let l=e.request;l&&l.url&&(l.url=c.truncate(l.url,i))}function E(e,t){let r=s.getFilenameToDebugIdMap(t);try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{r&&e.filename&&(e.debug_id=r[e.filename])})})}catch(e){}}function S(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}let T=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];r.applyClientOptions=p,r.applyDebugIds=E,r.applyDebugMeta=S,r.parseEventHintOrCaptureContext=function(e){if(e){var t;return(t=e)instanceof i.Scope||"function"==typeof t||Object.keys(e).some(e=>T.includes(e))?{captureContext:e}:e}},r.prepareEvent=function(e,t,r,n,s,c){var T,g;let{normalizeDepth:f=3,normalizeMaxBreadth:m=1e3}=e,h={...t,event_id:t.event_id||r.event_id||l.uuid4(),timestamp:t.timestamp||d.dateTimestampInSeconds()},A=r.integrations||e.integrations.map(e=>e.name);p(h,e),T=h,(g=A).length>0&&(T.sdk=T.sdk||{},T.sdk.integrations=[...T.sdk.integrations||[],...g]),s&&s.emit("applyFrameMetadata",t),void 0===t.type&&E(h,e.stackParser);let R=function(e,t){if(!t)return e;let r=e?e.clone():new i.Scope;return r.update(t),r}(n,r.captureContext);r.mechanism&&l.addExceptionMechanism(h,r.mechanism);let I=s?s.getEventProcessors():[],y=a.getGlobalScope().getScopeData();if(c){let e=c.getScopeData();_.mergeScopeData(y,e)}if(R){let e=R.getScopeData();_.mergeScopeData(y,e)}let N=[...r.attachments||[],...y.attachments];N.length&&(r.attachments=N),_.applyScopeDataToEvent(h,y);let O=[...I,...y.eventProcessors];return o.notifyEventProcessors(O,h,r).then(e=>(e&&S(e),"number"==typeof f&&f>0)?function(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:u.normalize(e.data,t,r)}}))},...e.user&&{user:u.normalize(e.user,t,r)},...e.contexts&&{contexts:u.normalize(e.contexts,t,r)},...e.extra&&{extra:u.normalize(e.extra,t,r)}};return e.contexts&&e.contexts.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=u.normalize(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:u.normalize(e.data,t,r)}}))),e.contexts&&e.contexts.flags&&n.contexts&&(n.contexts.flags=u.normalize(e.contexts.flags,3,r)),n}(e,f,m):e)}},470758,(e,t,r)=>
497{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(777184),a=e.r(360522),o=e.r(117248),i=e.r(102386),s=e.r(252540),l=e.r(510439),u=e.r(986420),c=e.r(149437),d=e.r(346679),_=e.r(927755);function p(e,t){let r=a.getCurrentScope(),n=a.getClient();if(n)if(n.captureCheckIn)return n.captureCheckIn(e,t,r);else o.DEBUG_BUILD&&l.logger.warn("Cannot capture check-in. Client does not support sending check-ins.");else o.DEBUG_BUILD&&l.logger.warn("Cannot capture check-in. No client defined.");return u.uuid4()}async function E(e){let t=a.getClient();return t?t.flush(e):(o.DEBUG_BUILD&&l.logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function S(e){let t=a.getClient();return t?t.close(e):(o.DEBUG_BUILD&&l.logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function T(){let e=a.getIsolationScope(),t=a.getCurrentScope(),r=t.getSession()||e.getSession();r&&i.closeSession(r),g(),e.setSession(),t.setSession()}function g(){let e=a.getIsolationScope(),t=a.getCurrentScope(),r=a.getClient(),n=t.getSession()||e.getSession();n&&r&&r.captureSession(n)}r.addEventProcessor=function(e){a.getIsolationScope().addEventProcessor(e)},r.captureCheckIn=p,r.captureEvent=function(e,t){return a.getCurrentScope().captureEvent(e,t)},r.captureException=function(e,t){return a.getCurrentScope().captureException(e,_.parseEventHintOrCaptureContext(t))},r.captureMessage=function(e,t){let r="string"==typeof t?t:void 0,n="string"!=typeof t?{captureContext:t}:void 0;return a.getCurrentScope().captureMessage(e,r,n)},r.captureSession=function(e=!1){e?T():g()},r.close=S,r.endSession=T,r.flush=E,r.isEnabled=function(){let e=a.getClient();return!!e&&!1!==e.getOptions().enabled&&!!e.getTransport()},r.isInitialized=function(){return!!a.getClient()},r.lastEventId=function(){return a.getIsolationScope().lastEventId()},r.setContext=function(e,t){a.getIsolationScope().setContext(e,t)},r.setExtra=function(e,t){a.getIsolationScope().setExtra(e,t)},r.setExtras=function(e){a.getIsolationScope().setExtras(e)},r.setTag=function(e,t){a.getIsolationScope().setTag(e,t)},r.setTags=function(e){a.getIsolationScope().setTags(e)},r.setUser=function(e){a.getIsolationScope().setUser(e)},r.startSession=function(e){let t=a.getClient(),r=a.getIsolationScope(),o=a.getCurrentScope(),{release:s,environment:l=n.DEFAULT_ENVIRONMENT}=t&&t.getOptions()||{},{userAgent:u}=d.GLOBAL_OBJ.navigator||{},c=i.makeSession({release:s,environment:l,user:o.getUser()||r.getUser(),...u&&{userAgent:u},...e}),_=r.getSession();return _&&"ok"===_.status&&i.updateSession(_,{status:"exited"}),T(),r.setSession(c),o.setSession(c),c},r.withMonitor=function(e,t,r){let n=p({monitorSlug:e,status:"in_progress"},r),o=c.timestampInSeconds();function i(t){p({monitorSlug:e,status:t,checkInId:n,duration:c.timestampInSeconds()-o})}return a.withIsolationScope(()=>{let e;try{e=t()}catch(e){throw i("error"),e}return s.isThenable(e)?Promise.resolve(e).then(()=>{i("ok")},e=>{throw i("error"),e}):i("ok"),e})}},67241,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(398820);r.SessionFlusher=class{constructor(e,t){this._client=e,this.flushTimeout=60,this._pendingAggregates=new Map,this._isEnabled=!0,this._intervalId=setInterval(()=>this.flush(),1e3*this.flushTimeout),this._intervalId.unref&&this._intervalId.unref(),this._sessionAttrs=t}flush(){let e=this.getSessionAggregates();0!==e.aggregates.length&&(this._pendingAggregates=new Map,this._client.sendSession(e))}getSessionAggregates(){let e=Array.from(this._pendingAggregates.values()),t={attrs:this._sessionAttrs,aggregates:e};return a.dropUndefinedKeys(t)}close(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()}incrementSessionStatusCount(){if(!this._isEnabled)return;let e=n.getIsolationScope(),t=e.getRequestSession();t&&t.status&&(this._incrementSessionStatusCount(t.status,new Date),e.setRequestSession(void 0))}_incrementSessionStatusCount(e,t){let r=new Date(t).setSeconds(0,0),n=this._pendingAggregates.get(r);switch(!n&&(n={started:new Date(r).toISOString()},this._pendingAggregates.set(r,n)),e){case"errored":return n.errored=(n.errored||0)+1,n.errored;case"ok":return n.exited=(n.exited||0)+1,n.exited;default:return n.crashed=(n.crashed||0)+1,n.crashed}}}},722344,(e,t,r)=>
497{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(247867);function a(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}r.getEnvelopeEndpointWithUrlEncodedAuth=function(e,t,r){let n;return t||`${a(e)}${e.projectId}/envelope/?${n={sentry_version:"7"},e.publicKey&&(n.sentry_key=e.publicKey),r&&(n.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(n).toString()}`},r.getReportDialogEndpoint=function(e,t){let r=n.makeDsn(e);if(!r)return"";let o=`${a(r)}embed/error-page/`,i=`dsn=${n.dsnToString(r)}`;for(let e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${o}?${i}`}},850786,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(117248),o=e.r(510439),i=[];function s(e,t,r){if(r[t.name]){a.DEBUG_BUILD&&o.logger.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,-1===i.indexOf(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 r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}a.DEBUG_BUILD&&o.logger.log(`Integration installed: ${t.name}`)}r.addIntegration=function(e){let t=n.getClient();if(!t){a.DEBUG_BUILD&&o.logger.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)},r.afterSetupIntegrations=function(e,t){for(let r of t)r&&r.afterAllSetup&&r.afterAllSetup(e)},r.defineIntegration=function(e){return e},r.getIntegrationsToSetup=function(e){let t,r,n=e.defaultIntegrations||[],a=e.integrations;if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(a))t=[...n,...a];else if("function"==typeof a){let e=a(n);t=Array.isArray(e)?e:[e]}else t=n;let o=(r={},t.forEach(e=>{let{name:t}=e,n=r[t];n&&!n.isDefaultInstance&&e.isDefaultInstance||(r[t]=e)}),Object.values(r)),i=o.findIndex(e=>"Debug"===e.name);if(i>-1){let[e]=o.splice(i,1);o.push(e)}return o},r.installedIntegrations=i,r.setupIntegration=s,r.setupIntegrations=function(e,t){let r={};return t.forEach(t=>{t&&s(e,t,r)}),r}},168471,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(630618),a=e.r(149437);r.createClientReportEnvelope=function(e,t,r){let o=[{type:"client_report"},{timestamp:r||a.dateTimestampInSeconds(),discarded_events:e}];return n.createEnvelope(t?{dsn:t}:{},[o])}},556737,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SentryError=class extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}}},353149,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(722344),a=e.r(360522),o=e.r(117248),i=e.r(296860),s=e.r(850786),l=e.r(102386),u=e.r(613957),c=e.r(168471),d=e.r(247867),_=e.r(630618),p=e.r(556737),E=e.r(252540),S=e.r(510439),T=e.r(986420),g=e.r(110192),f=e.r(355605),m=e.r(927755),h=e.r(706135),A="Not capturing exception because it's already been captured.";function R(e){return void 0===e.type}function I(e){return"transaction"===e.type}r.BaseClient=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=d.makeDsn(e.dsn):o.DEBUG_BUILD&&S.logger.warn("No DSN provided, client will not send events."),this._dsn){const t=n.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:t})}const t=["enableTracing","tracesSampleRate","tracesSampler"].find(t=>t in e&&void 0==e[t]);t&&S.consoleSandbox(()=>{console.warn(`[Sentry] Deprecation warning: \`${t}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,t,r){let n=T.uuid4();if(T.checkOrSetAlreadyCaught(e))return o.DEBUG_BUILD&&S.logger.log(A),n;let a={event_id:n,...t};return this._process(this.eventFromException(e,a).then(e=>this._captureEvent(e,a,r))),a.event_id}captureMessage(e,t,r,n){let a={event_id:T.uuid4(),...r},o=E.isParameterizedString(e)?e:String(e),i=E.isPrimitive(e)?this.eventFromMessage(o,t,a):this.eventFromException(e,a);return this._process(i.then(e=>this._captureEvent(e,a,n))),a.event_id}captureEvent(e,t,r){let n=T.uuid4();if(t&&t.originalException&&T.checkOrSetAlreadyCaught(t.originalException))return o.DEBUG_BUILD&&S.logger.log(A),n;let a={event_id:n,...t},i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,a,i||r)),a.event_id}captureSession(e){"string"!=typeof e.release?o.DEBUG_BUILD&&S.logger.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),l.updateSession(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
497return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(r=>t.flush(e).then(e=>r&&e))):g.resolvedSyncPromise(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];s.setupIntegration(this,e,this._integrations),t||s.afterSetupIntegrations(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=i.createEventEnvelope(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=_.addItemToEnvelope(r,_.createAttachmentEnvelopeItem(e));let n=this.sendEnvelope(r);n&&n.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=i.createSessionEnvelope(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,r){if(this._options.sendClientReports){let n="number"==typeof r?r:1,a=`${e}:${t}`;o.DEBUG_BUILD&&S.logger.log(`Recording outcome: "${a}"${n>1?` (${n} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+n}}on(e,t){let r=this._hooks[e]=this._hooks[e]||[];return r.push(t),()=>{let e=r.indexOf(t);e>-1&&r.splice(e,1)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(o.DEBUG_BUILD&&S.logger.error("Error while sending envelope:",e),e)):(o.DEBUG_BUILD&&S.logger.error("Transport disabled"),g.resolvedSyncPromise({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=s.setupIntegrations(this,e),s.afterSetupIntegrations(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,a=t.exception&&t.exception.values;if(a)for(let e of(n=!0,a)){let t=e.mechanism;if(t&&!1===t.handled){r=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&r)&&(l.updateSession(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new g.SyncPromise(t=>{let r=0,n=setInterval(()=>{0==this._numProcessing?(clearInterval(n),t(!0)):(r+=1,e&&r>=e&&(clearInterval(n),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r=a.getCurrentScope(),n=a.getIsolationScope()){let o=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),m.prepareEvent(o,e,t,r,this,n).then(e=>(null===e||(e.contexts={trace:a.getTraceContextFromScope(r),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:u.getDynamicSamplingContextFromScope(this,r),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},r){return this._processEvent(e,t,r).then(e=>e.event_id,e=>{o.DEBUG_BUILD&&(e instanceof p.SentryError&&"log"===e.logLevel?S.logger.log(e.message):S.logger.warn(e))})}_processEvent(e,t,r){let n=this.getOptions(),{sampleRate:a}=n,o=I(e),i=R(e),s=e.type||"error",l=`before send for type \`${s}\``,u=void 0===a?void 0:f.parseSampleRate(a);if(i&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",e),g.rejectedSyncPromise(new p.SentryError(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));let c="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,r,d).then(r=>{if(null===r)throw this.recordDroppedEvent("event_processor",c,e),new p.SentryError("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?r:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if(E.isThenable(e))return e.then(e=>{if(!E.isPlainObject(e)&&null!==e)throw new p.SentryError(r);return e},e=>{throw new p.SentryError(`${t} rejected with ${e}`)});if(!E.isPlainObject(e)&&null!==e)throw new p.SentryError(r);return e}(function(e,t,r,n){let{beforeSend:a,beforeSendTransaction:o,beforeSendSpan:i}=t;if(R(r)&&a)return a(r,n);if(I(r)){if(r.spans&&i){let t=[];for(let n of r.spans){let r=i(n);r?t.push(r):(h.showSpanDropWarning(),e.recordDroppedEvent("before_send","span"))}r.spans=t}if(o){if(r.spans){let e=r.spans.length;r.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(r,n)}}return r}(this,n,r,t),l)}).then(n=>{if(null===n){if(this.recordDroppedEvent("before_send",c,e),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new p.SentryError(`${l} returned \`null\`, will not send event.`,"log")}let a=r&&r.getSession();if(!o&&a&&this._updateSessionFromEvent(a,n),o){let e=(n.sdkProcessingMetadata&&n.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(n.spans?n.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let i=n.transaction_info;return o&&i&&n.transaction!==e.transaction&&(n.transaction_info={...i,source:"custom"}),this.sendEvent(n,t),n}).then(null,e=>{if(e instanceof p.SentryError)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new p.SentryError(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
498Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){o.DEBUG_BUILD&&S.logger.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){o.DEBUG_BUILD&&S.logger.log("No outcomes to send");return}if(!this._dsn){o.DEBUG_BUILD&&S.logger.log("No dsn provided, will not send outcomes");return}o.DEBUG_BUILD&&S.logger.log("Sending outcomes:",e);let t=c.createClientReportEnvelope(e,this._options.tunnel&&d.dsnToString(this._dsn));this.sendEnvelope(t)}}},331419,(e,t,r)=>
498{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(247867),a=e.r(630618),o=e.r(398820);r.createCheckInEnvelope=function(e,t,r,i,s){let l={sent_at:new Date().toISOString()};r&&r.sdk&&(l.sdk={name:r.sdk.name,version:r.sdk.version}),i&&s&&(l.dsn=n.dsnToString(s)),t&&(l.trace=o.dropUndefinedKeys(t));let u=[{type:"check_in"},e];return a.createEnvelope(l,[u])}},442370,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(252540),a=e.r(986420),o=e.r(483512),i=e.r(398820);function s(e,t){return e(t.stack||"",1)}function l(e,t){let r={type:t.name||t.constructor.name,value:t.message},n=s(e,t);return n.length&&(r.stacktrace={frames:n}),r}r.eventFromMessage=function(e,t,r="info",o,i){let l={event_id:o&&o.event_id,level:r};if(i&&o&&o.syntheticException){let r=s(e,o.syntheticException);r.length&&(l.exception={values:[{value:t,stacktrace:{frames:r}}]},a.addExceptionMechanism(l,{synthetic:!0}))}if(n.isParameterizedString(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return l.logentry={message:e,params:r},l}return l.message=t,l},r.eventFromUnknownInput=function(e,t,r,s){let u=s&&s.data&&s.data.mechanism||{handled:!0,type:"generic"},[c,d]=function(e,t,r,a){if(n.isError(r))return[r,void 0];if(t.synthetic=!0,n.isPlainObject(r)){let t=e&&e.getOptions().normalizeDepth,s={__serialized__:o.normalizeToSize(r,t)},l=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(r instanceof Error)return r}}(r);if(l)return[l,s];let u=function(e){if("name"in e&&"string"==typeof e.name){let t=`'${e.name}' captured as exception`;return"message"in e&&"string"==typeof e.message&&(t+=` with message '${e.message}'`),t}if("message"in e&&"string"==typeof e.message)return e.message;let t=i.extractExceptionKeysForMessage(e);if(n.isErrorEvent(e))return`Event \`ErrorEvent\` captured as exception with message \`${e.message}\``;let r=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`${r&&"Object"!==r?`'${r}'`:"Object"} captured as exception with keys: ${t}`}(r),c=a&&a.syntheticException||Error(u);return c.message=u,[c,s]}let s=a&&a.syntheticException||Error(r);return s.message=`${r}`,[s,void 0]}(e,u,r,s),_={exception:{values:[l(t,c)]}};return d&&(_.extra=d),a.addExceptionTypeValue(_,void 0,void 0),a.addExceptionMechanism(_,u),{..._,event_id:s&&s.event_id}},r.exceptionFromError=l,r.parseStackFrames=s},995e3,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(353149),a=e.r(331419),o=e.r(360522),i=e.r(117248),s=e.r(67241),l=e.r(518284);e.r(154661);let u=e.r(510439);e.r(149437);let c=e.r(202548),d=e.r(706135),_=e.r(986420),p=e.r(110192),E=e.r(442370),S=e.r(613957);class T extends n.BaseClient{constructor(e){l.registerSpanErrorInstrumentation(),super(e)}eventFromException(e,t){let r=E.eventFromUnknownInput(this,this._options.stackParser,e,t);return r.level="error",p.resolvedSyncPromise(r)}eventFromMessage(e,t="info",r){return p.resolvedSyncPromise(E.eventFromMessage(this._options.stackParser,e,t,r,this._options.attachStacktrace))}captureException(e,t,r){if(this._options.autoSessionTracking&&this._sessionFlusher){let e=o.getIsolationScope().getRequestSession();e&&"ok"===e.status&&(e.status="errored")}return super.captureException(e,t,r)}captureEvent(e,t,r){if(this._options.autoSessionTracking&&this._sessionFlusher&&"exception"===(e.type||"exception")&&e.exception&&e.exception.values&&e.exception.values.length>0){let e=o.getIsolationScope().getRequestSession();e&&"ok"===e.status&&(e.status="errored")}return super.captureEvent(e,t,r)}close(e){return this._sessionFlusher&&this._sessionFlusher.close(),super.close(e)}initSessionFlusher(){let{release:e,environment:t}=this._options;e?this._sessionFlusher=new s.SessionFlusher(this,{release:e,environment:t}):i.DEBUG_BUILD&&u.logger.warn("Cannot initialize an instance of SessionFlusher if no release is provided!")}captureCheckIn(e,t,r){let n="checkInId"in e&&e.checkInId?e.checkInId:_.uuid4();if(!this._isEnabled())return i.DEBUG_BUILD&&u.logger.warn("SDK not enabled, will not capture checkin."),n;let{release:o,environment:s,tunnel:l}=this.getOptions(),c={check_in_id:n,monitor_slug:e.monitorSlug,status:e.status,release:o,environment:s};"duration"in e&&(c.duration=e.duration),t&&(c.monitor_config={schedule:t.schedule,checkin_margin:t.checkinMargin,max_runtime:t.maxRuntime,timezone:t.timezone,failure_issue_threshold:t.failureIssueThreshold,recovery_threshold:t.recoveryThreshold});let[d,p]=this._getTraceInfoFromScope(r);p&&(c.contexts={trace:p});
498let E=a.createCheckInEnvelope(c,d,this.getSdkMetadata(),l,this.getDsn());return i.DEBUG_BUILD&&u.logger.info("Sending checkin:",e.monitorSlug,e.status),this.sendEnvelope(E),n}_captureRequestSession(){this._sessionFlusher?this._sessionFlusher.incrementSessionStatusCount():i.DEBUG_BUILD&&u.logger.warn("Discarded request mode session because autoSessionTracking option was disabled")}_prepareEvent(e,t,r,n){return this._options.platform&&(e.platform=e.platform||this._options.platform),this._options.runtime&&(e.contexts={...e.contexts,runtime:(e.contexts||{}).runtime||this._options.runtime}),this._options.serverName&&(e.server_name=e.server_name||this._options.serverName),super._prepareEvent(e,t,r,n)}_getTraceInfoFromScope(e){if(!e)return[void 0,void 0];let t=c._getSpanForScope(e),r=t?d.spanToTraceContext(t):o.getTraceContextFromScope(e);return[t?S.getDynamicSamplingContextFromSpan(t):S.getDynamicSamplingContextFromScope(this,e),r]}}r.ServerRuntimeClient=T},690501,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(117248),o=e.r(510439);function i(e){n.getCurrentScope().setClient(e)}r.initAndBind=function(e,t){!0===t.debug&&(a.DEBUG_BUILD?o.logger.enable():o.consoleSandbox(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),n.getCurrentScope().update(t.initialScope);let r=new e(t);return i(r),r.init(),r},r.setCurrentClient=i},53837,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(556737),a=e.r(110192);r.makePromiseBuffer=function(e){let t=[];function r(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(o){if(!(void 0===e||t.length<e))return a.rejectedSyncPromise(new n.SentryError("Not adding Promise because buffer limit was reached."));let i=o();return -1===t.indexOf(i)&&t.push(i),i.then(()=>r(i)).then(null,()=>r(i).then(null,()=>{})),i},drain:function(e){return new a.SyncPromise((r,n)=>{let o=t.length;if(!o)return r(!0);let i=setTimeout(()=>{e&&e>0&&r(!1)},e);t.forEach(e=>{a.resolvedSyncPromise(e).then(()=>{--o||(clearTimeout(i),r(!0))},n)})})}}}},97506,(e,t,r)=>{function n(e,t=Date.now()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let a=Date.parse(`${e}`);return isNaN(a)?6e4:a-t}function a(e,t){return e[t]||e.all||0}Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_RETRY_AFTER=6e4,r.disabledUntil=a,r.isRateLimited=function(e,t,r=Date.now()){return a(e,t)>r},r.parseRetryAfterHeader=n,r.updateRateLimits=function(e,{statusCode:t,headers:r},a=Date.now()){let o={...e},i=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(i)for(let e of i.trim().split(",")){let[t,r,,,n]=e.split(":",5),i=parseInt(t,10),s=(isNaN(i)?60:i)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!n||n.split(";").includes("custom"))&&(o[e]=a+s):o[e]=a+s;else o.all=a+s}else s?o.all=a+n(s,a):429===t&&(o.all=a+6e4);return o}},341692,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(117248),a=e.r(630618),o=e.r(556737),i=e.r(510439),s=e.r(53837),l=e.r(97506),u=e.r(110192);function c(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}r.DEFAULT_TRANSPORT_BUFFER_SIZE=64,r.createTransport=function(e,t,r=s.makePromiseBuffer(e.bufferSize||64)){let d={};return{send:function(s){let _=[];if(a.forEachEnvelopeItem(s,(t,r)=>{let n=a.envelopeItemTypeToDataCategory(r);if(l.isRateLimited(d,n)){let a=c(t,r);e.recordDroppedEvent("ratelimit_backoff",n,a)}else _.push(t)}),0===_.length)return u.resolvedSyncPromise({});let p=a.createEnvelope(s[0],_),E=t=>{a.forEachEnvelopeItem(p,(r,n)=>{let o=c(r,n);e.recordDroppedEvent(t,a.envelopeItemTypeToDataCategory(n),o)})};return r.add(()=>t({body:a.serializeEnvelope(p)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&n.DEBUG_BUILD&&i.logger.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),d=l.updateRateLimits(d,e),e),e=>{throw E("network_error"),e})).then(e=>e,e=>{if(e instanceof o.SentryError)return n.DEBUG_BUILD&&i.logger.error("Skipped sending event because buffer is full."),E("queue_overflow"),u.resolvedSyncPromise({});throw e})},flush:e=>r.drain(e)}}},293782,(e,t,r)=>
498{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(117248),a=e.r(630618),o=e.r(510439),i=e.r(97506);r.MIN_DELAY=100,r.START_DELAY=5e3,r.makeOfflineTransport=function(e){function t(...e){n.DEBUG_BUILD&&o.logger.info("[Offline]:",...e)}return r=>{let n,o=e(r);if(!r.createStore)throw Error("No `createStore` function was provided");let s=r.createStore(r),l=5e3;function u(e){n&&clearTimeout(n),"number"!=typeof(n=setTimeout(async()=>{n=void 0;let e=await s.shift();e&&(t("Attempting to send previously queued event"),e[0].sent_at=new Date().toISOString(),d(e,!0).catch(e=>{t("Failed to retry sending",e)}))},e))&&n.unref&&n.unref()}function c(){n||(u(l),l=Math.min(2*l,36e5))}async function d(e,n=!1){if(!n&&a.envelopeContainsItemType(e,["replay_event","replay_recording"]))return await s.push(e),u(100),{};try{let t=await o.send(e),r=100;if(t){if(t.headers&&t.headers["retry-after"])r=i.parseRetryAfterHeader(t.headers["retry-after"]);else if(t.headers&&t.headers["x-sentry-rate-limits"])r=6e4;else if((t.statusCode||0)>=400)return t}return u(r),l=5e3,t}catch(o){var _;if(await (_=l,!a.envelopeContainsItemType(e,["client_report"])&&(!r.shouldStore||r.shouldStore(e,o,_))))return n?await s.unshift(e):await s.push(e),c(),t("Error sending. Event queued.",o),{};throw o}}return r.flushAtStartup&&c(),{send:d,flush:e=>(void 0===e&&(l=5e3,u(100)),o.flush(e))}}}},769643,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(722344),a=e.r(247867),o=e.r(630618);function i(e,t){let r;return o.forEachEnvelopeItem(e,(e,n)=>(t.includes(n)&&(r=Array.isArray(e)?e[1]:void 0),!!r)),r}r.eventFromEnvelope=i,r.makeMultiplexedTransport=function(e,t){return r=>{let s=e(r),l=new Map;function u(t,o){let s=o?`${t}:${o}`:t,u=l.get(s);if(!u){let c=a.dsnFromString(t);if(!c)return;let d=n.getEnvelopeEndpointWithUrlEncodedAuth(c,r.tunnel);u=o?(t=>{let r=e(t);return{...r,send:async e=>{let t=i(e,["event","transaction","profile","replay_event"]);return t&&(t.release=o),r.send(e)}}})({...r,url:d}):e({...r,url:d}),l.set(s,u)}return[t,u]}return{send:async function(e){let r=t({envelope:e,getEvent:function(t){return i(e,t&&t.length?t:["event"])}}).map(e=>"string"==typeof e?u(e,void 0):u(e.dsn,e.release)).filter(e=>!!e),n=r.length?r:[["",s]];return(await Promise.all(n.map(([t,r])=>r.send(o.createEnvelope(t?{...e[0],dsn:t}:e[0],e[1])))))[0]},flush:async function(e){let t=[...l.values(),s];return(await Promise.all(t.map(t=>t.flush(e)))).every(e=>e)}}}}},257815,(e,t,r)=>{function n(e){return"/"===e[e.length-1]?e.slice(0,-1):e}Object.defineProperty(r,"__esModule",{value:!0}),r.isSentryRequestUrl=function(e,t){var r,a,o,i;let s=t&&t.getDsn(),l=t&&t.getOptions().tunnel;return r=e,!!(a=s)&&r.includes(a.host)||(o=e,!!(i=l)&&n(o)===n(i))}},845699,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parameterize=function(e,...t){let r=new String(String.raw(e,...t));return r.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=t,r}},555712,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(932820);r.applySdkMetadata=function(e,t,r=[t],a="npm"){let o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:r.map(e=>({name:`${a}:@sentry/${e}`,version:n.SDK_VERSION})),version:n.SDK_VERSION}),e._metadata=o}},94e3,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(235551),a=e.r(823869),o=e.r(360522),i=e.r(470758);e.r(518284),e.r(154661);let s=e.r(510439);e.r(117248),e.r(149437);let l=e.r(706135),u=e.r(753641),c=e.r(613957),d=e.r(843605);r.getTraceData=function(e={}){let t=o.getClient();if(!i.isEnabled()||!t)return{};let r=a.getMainCarrier(),_=n.getAsyncContextStrategy(r);if(_.getTraceData)return _.getTraceData(e);let p=o.getCurrentScope(),E=e.span||l.getActiveSpan(),S=E?l.spanToTraceHeader(E):function(e){let{traceId:t,sampled:r,spanId:n}=e.getPropagationContext();return u.generateSentryTraceHeader(t,n,r)}(p),T=E?c.getDynamicSamplingContextFromSpan(E):c.getDynamicSamplingContextFromScope(t,p),g=d.dynamicSamplingContextToSentryBaggageHeader(T);return u.TRACEPARENT_REGEXP.test(S)?{"sentry-trace":S,baggage:g}:(s.logger.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}},297796,(e,t,r)=>
498{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(94e3);r.getTraceMetaTags=function(){return Object.entries(n.getTraceData()).map(([e,t])=>`<meta name="${e}" content="${t}"/>`).join("\n")}},275379,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(510439),o=e.r(149437);r.addBreadcrumb=function(e,t){let r=n.getClient(),i=n.getIsolationScope();if(!r)return;let{beforeBreadcrumb:s=null,maxBreadcrumbs:l=100}=r.getOptions();if(l<=0)return;let u={timestamp:o.dateTimestampInSeconds(),...e},c=s?a.consoleSandbox(()=>s(u,t)):u;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),i.addBreadcrumb(c,l))}},608617,(e,t,r)=>{let n;Object.defineProperty(r,"__esModule",{value:!0});let a=e.r(360522),o=e.r(850786),i=e.r(398820),s=new WeakMap;r.functionToStringIntegration=o.defineIntegration(()=>({name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=i.getOriginalFunction(this),r=s.has(a.getClient())&&void 0!==t?t:this;return n.apply(r,e)}}catch(e){}},setup(e){s.set(e,!0)}}))},625103,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(117248),a=e.r(850786),o=e.r(510439),i=e.r(986420),s=e.r(108910),l=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/];function u(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(t):null}catch(t){return n.DEBUG_BUILD&&o.logger.error(`Cannot extract url for event ${i.getEventDescription(e)}`),null}}r.inboundFiltersIntegration=a.defineIntegration((e={})=>({name:"InboundFilters",processEvent:(t,r,a)=>{var c,d,_,p,E;return(c=t,(d=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:l],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,a.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(c)?(n.DEBUG_BUILD&&o.logger.warn(`Event dropped due to being internal Sentry Error.
499Event: ${i.getEventDescription(c)}`),0):(_=c,p=d.ignoreErrors,!_.type&&p&&p.length&&(function(e){let t,r=[];e.message&&r.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(r.push(t.value),t.type&&r.push(`${t.type}: ${t.value}`)),r})(_).some(e=>s.stringMatchesSomePattern(e,p)))?(n.DEBUG_BUILD&&o.logger.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
500Event: ${i.getEventDescription(c)}`),0):(E=c).type||!E.exception||!E.exception.values||0===E.exception.values.length||E.message||E.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)?!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let r=e.transaction;return!!r&&s.stringMatchesSomePattern(r,t)}(c,d.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let r=u(e);return!!r&&s.stringMatchesSomePattern(r,t)}(c,d.denyUrls)?function(e,t){if(!t||!t.length)return!0;let r=u(e);return!r||s.stringMatchesSomePattern(r,t)}(c,d.allowUrls)||(n.DEBUG_BUILD&&o.logger.warn(`Event dropped due to not being matched by \`allowUrls\` option.
501Event: ${i.getEventDescription(c)}.
502Url: ${u(c)}`),0):(n.DEBUG_BUILD&&o.logger.warn(`Event dropped due to being matched by \`denyUrls\` option.
503Event: ${i.getEventDescription(c)}.
504Url: ${u(c)}`),0):(n.DEBUG_BUILD&&o.logger.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
505Event: ${i.getEventDescription(c)}`),0):(n.DEBUG_BUILD&&o.logger.warn(`Event dropped due to not having an error message, error type or stacktrace.
506Event: ${i.getEventDescription(c)}`),0))?t:null}}))},805886,(e,t,r)=>
506{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(252540),a=e.r(108910);function o(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function i(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}r.applyAggregateErrorsToEvent=function(e,t,r=250,s,l,u,c){var d,_;if(!u.exception||!u.exception.values||!c||!n.isInstanceOf(c.originalException,Error))return;let p=u.exception.values.length>0?u.exception.values[u.exception.values.length-1]:void 0;p&&(u.exception.values=(d=function e(t,r,a,s,l,u,c,d){if(u.length>=a+1)return u;let _=[...u];if(n.isInstanceOf(s[l],Error)){o(c,d);let n=t(r,s[l]),u=_.length;i(n,l,u,d),_=e(t,r,a,s[l],l,[n,..._],n,u)}return Array.isArray(s.errors)&&s.errors.forEach((s,u)=>{if(n.isInstanceOf(s,Error)){o(c,d);let n=t(r,s),p=_.length;i(n,`errors[${u}]`,p,d),_=e(t,r,a,s,l,[n,..._],n,p)}}),_}(e,t,l,c.originalException,s,u.exception.values,p,0),_=r,d.map(e=>(e.value&&(e.value=a.truncate(e.value,_)),e))))}},554268,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(805886),o=e.r(442370);r.linkedErrorsIntegration=n.defineIntegration((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,i){let s=i.getOptions();a.applyAggregateErrorsToEvent(o.exceptionFromError,s.stackParser,s.maxValueLength,r,t,e,n)}}})},18448,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(346679),a=new Map,o=new Set;function i(e,t){if(n.GLOBAL_OBJ._sentryModuleMetadata)for(let t of Object.keys(n.GLOBAL_OBJ._sentryModuleMetadata)){let r=n.GLOBAL_OBJ._sentryModuleMetadata[t];if(!o.has(t)){for(let n of(o.add(t),e(t).reverse()))if(n.filename){a.set(n.filename,r);break}}}return a.get(t)}r.addMetadataToStackFrames=function(e,t){try{t.exception.values.forEach(t=>{if(t.stacktrace)for(let r of t.stacktrace.frames||[]){if(!r.filename||r.module_metadata)continue;let t=i(e,r.filename);t&&(r.module_metadata=t)}})}catch(e){}},r.getMetadataForUrl=i,r.stripMetadataFromStackFrames=function(e){try{e.exception.values.forEach(e=>{if(e.stacktrace)for(let t of e.stacktrace.frames||[])delete t.module_metadata})}catch(e){}}},571711,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(18448),o=e.r(630618);r.moduleMetadataIntegration=n.defineIntegration(()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",e=>{o.forEachEnvelopeItem(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(a.stripMetadataFromStackFrames(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{if(t.type)return;let r=e.getOptions().stackParser;a.addMetadataToStackFrames(r,t)})}}))},276586,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseCookie=function(e){let t={},r=0;for(;r<e.length;){let n=e.indexOf("=",r);
506if(-1===n)break;let a=e.indexOf(";",r);if(-1===a)a=e.length;else if(a<n){r=e.lastIndexOf(";",n-1)+1;continue}let o=e.slice(r,n).trim();if(void 0===t[o]){let r=e.slice(n+1,a).trim();34===r.charCodeAt(0)&&(r=r.slice(1,-1));try{t[o]=-1!==r.indexOf("%")?decodeURIComponent(r):r}catch(e){t[o]=r}}r=a+1}return t}},497227,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.getNumberOfUrlSegments=function(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length},r.getSanitizedUrlString=function(e){let{protocol:t,host:r,path:n}=e,a=r&&r.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||"";return`${t?`${t}://`:""}${a}${n}`},r.parseUrl=function(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}},r.stripUrlQueryAndFragment=function(e){return e.split(/[?#]/,1)[0]}},120426,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=["X-Client-IP","X-Forwarded-For","Fly-Client-IP","CF-Connecting-IP","Fastly-Client-Ip","True-Client-Ip","X-Real-IP","X-Cluster-Client-IP","X-Forwarded","Forwarded-For","Forwarded","X-Vercel-Forwarded-For"];r.getClientIPAddress=function(e){return n.map(t=>{let r=e[t],n=Array.isArray(r)?r.join(";"):r;return"Forwarded"===t?function(e){if(!e)return null;for(let t of e.split(";"))if(t.startsWith("for="))return t.slice(4);return null}(n):n&&n.split(",").map(e=>e.trim())}).reduce((e,t)=>t?e.concat(t):e,[]).find(e=>{var t;return null!==e&&(t=e,/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-fA-F\d]{1,4}:){7}(?:[a-fA-F\d]{1,4}|:)|(?:[a-fA-F\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-fA-F\d]{1,4}|:)|(?:[a-fA-F\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,2}|:)|(?:[a-fA-F\d]{1,4}:){4}(?:(?::[a-fA-F\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,3}|:)|(?:[a-fA-F\d]{1,4}:){3}(?:(?::[a-fA-F\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,4}|:)|(?:[a-fA-F\d]{1,4}:){2}(?:(?::[a-fA-F\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,5}|:)|(?:[a-fA-F\d]{1,4}:){1}(?:(?::[a-fA-F\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,6}|:)|(?::(?:(?::[a-fA-F\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,7}|:)))(?:%[0-9a-zA-Z]{1,})?$)/.test(t))})||null},r.ipHeaderNames=n},812835,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(276586),a=e.r(154661),o=e.r(252540),i=e.r(510439),s=e.r(483512),l=e.r(398820),u=e.r(108910),c=e.r(497227),d=e.r(120426),_={ip:!1,request:!0,user:!0},p=["cookies","data","headers","method","query_string","url"],E=["id","username","email"];function S(e,t){let r={};return(Array.isArray(t)?t:E).forEach(t=>{e&&t in e&&(r[t]=e[t])}),r}function T(e,t={}){let{include:r=p}=t,a={},i=e.headers||{},l=e.method,c=i.host||e.hostname||e.host||"<no host>",_="https"===e.protocol||e.socket&&e.socket.encrypted?"https":"http",E=e.originalUrl||e.url||"",S=E.startsWith(_)?E:`${_}://${c}${E}`;return r.forEach(t=>{switch(t){case"headers":a.headers=i,r.includes("cookies")||delete a.headers.cookie,r.includes("ip")||d.ipHeaderNames.forEach(e=>{delete a.headers[e]});break;case"method":a.method=l;break;case"url":a.url=S;break;case"cookies":a.cookies=e.cookies||i.cookie&&n.parseCookie(i.cookie)||{};break;case"query_string":a.query_string=function(e){let t=e.originalUrl||e.url||"";if(t){t.startsWith("/")&&(t=`http://dogs.are.great${t}`);try{let r=e.query||new URL(t).search.slice(1);return r.length?r:void 0}catch(e){return}}}(e);break;case"data":{if("GET"===l||"HEAD"===l)break;let t=e.body;if(void 0!==t){let e=o.isString(t)?t:o.isPlainObject(t)?JSON.stringify(s.normalize(t)):u.truncate(`${t}`,1024);e&&(a.data=e)}break}default:({}).hasOwnProperty.call(e,t)&&(a[t]=e[t])}}),a}function g(e){let t={};try{e.forEach((e,r)=>{"string"==typeof e&&(t[r]=e)})}catch(e){a.DEBUG_BUILD&&i.logger.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return t}function f(e){let t=Object.create(null);try{Object.entries(e).forEach(([e,r])=>{"string"==typeof r&&(t[e]=r)})}catch(e){a.DEBUG_BUILD&&i.logger.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return t}function m(e){if(e)try{let t=new URL(e,"http://dogs.are.great").search.slice(1);return t.length?t:void 0}catch(e){return}}r.DEFAULT_USER_INCLUDES=E,r.addNormalizedRequestDataToEvent=function(e,t,r,a){let i={..._,...a&&a.include};if(i.request){let r=Array.isArray(i.request)?[...i.request]:[...p];i.ip&&r.push("ip");let a=function(e,{include:t}){let r=t?Array.isArray(t)?t:p:[],a={},o={...e.headers};return r.includes("headers")&&(a.headers=o,t.includes("cookies")||delete o.cookie,t.includes("ip")||d.ipHeaderNames.forEac
506h(e=>{delete o[e]})),r.includes("method")&&(a.method=e.method),r.includes("url")&&(a.url=e.url),r.includes("cookies")&&(a.cookies=e.cookies||(o&&o.cookie?n.parseCookie(o.cookie):void 0)||{}),r.includes("query_string")&&(a.query_string=e.query_string),r.includes("data")&&(a.data=e.data),a}(t,{include:r});e.request={...e.request,...a}}if(i.user){let t=r.user&&o.isPlainObject(r.user)?S(r.user,i.user):{};Object.keys(t).length&&(e.user={...t,...e.user})}if(i.ip){let n=t.headers&&d.getClientIPAddress(t.headers)||r.ipAddress;n&&(e.user={...e.user,ip_address:n})}},r.addRequestDataToEvent=function(e,t,r){let n={..._,...r&&r.include};if(n.request){let r=Array.isArray(n.request)?[...n.request]:[...p];n.ip&&r.push("ip");let a=T(t,{include:r});e.request={...e.request,...a}}if(n.user){let r=t.user&&o.isPlainObject(t.user)?S(t.user,n.user):{};Object.keys(r).length&&(e.user={...e.user,...r})}if(n.ip){let r=t.headers&&d.getClientIPAddress(t.headers)||t.ip||t.socket&&t.socket.remoteAddress;r&&(e.user={...e.user,ip_address:r})}return e},r.extractPathForTransaction=function(e,t={}){let r=e.method&&e.method.toUpperCase(),n="",a="url";t.customRoute||e.route?(n=t.customRoute||`${e.baseUrl||""}${e.route&&e.route.path}`,a="route"):(e.originalUrl||e.url)&&(n=c.stripUrlQueryAndFragment(e.originalUrl||e.url||""));let o="";return t.method&&r&&(o+=r),t.method&&t.path&&(o+=" "),t.path&&n&&(o+=n),[o,a]},r.extractQueryParamsFromUrl=m,r.extractRequestData=T,r.headersToDict=f,r.httpRequestToRequestData=function(e){let t=e.headers||{},r=t.host||"<no host>",n=e.socket&&e.socket.encrypted?"https":"http",a=e.url||"",o=a.startsWith(n)?a:`${n}://${r}${a}`,i=e.body||void 0,s=e.cookies;return l.dropUndefinedKeys({url:o,method:e.method,query_string:m(a),headers:f(t),cookies:s,data:i})},r.winterCGHeadersToDict=g,r.winterCGRequestToRequestData=function(e){let t=g(e.headers);return{method:e.method,url:e.url,query_string:m(e.url),headers:t}}},352064,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(812835),o={include:{cookies:!0,data:!0,headers:!0,ip:!1,query_string:!0,url:!0,user:{id:!0,username:!0,email:!0}},transactionNamingScheme:"methodPath"};r.requestDataIntegration=n.defineIntegration((e={})=>{let t={...o,...e,include:{...o.include,...e.include,user:e.include&&"boolean"==typeof e.include.user?e.include.user:{...o.include.user,...(e.include||{}).user}}};return{name:"RequestData",processEvent(e){let{sdkProcessingMetadata:r={}}=e,{request:n,normalizedRequest:o}=r,i=function(e){let t,{transactionNamingScheme:r,include:{ip:n,user:a,...o}}=e,i=["method"];for(let[e,t]of Object.entries(o))t&&i.push(e);if(void 0===a)t=!0;else if("boolean"==typeof a)t=a;else{let e=[];for(let[t,r]of Object.entries(a))r&&e.push(t);t=e}return{include:{ip:n,user:t,request:0!==i.length?i:void 0,transaction:r}}}(t);if(o){let t=n?n.ip||n.socket&&n.socket.remoteAddress:void 0,r=n?n.user:void 0;return a.addNormalizedRequestDataToEvent(e,o,{ipAddress:t,user:r},i),e}return n?a.addRequestDataToEvent(e,n,i):e}}})},597426,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(510439),a=e.r(398820),o=e.r(346679),i=e.r(120620);function s(){"console"in o.GLOBAL_OBJ&&n.CONSOLE_LEVELS.forEach(function(e){e in o.GLOBAL_OBJ.console&&a.fill(o.GLOBAL_OBJ.console,e,function(t){return n.originalConsoleMethods[e]=t,function(...t){i.triggerHandlers("console",{args:t,level:e});let r=n.originalConsoleMethods[e];r&&r.apply(o.GLOBAL_OBJ.console,t)}})})}r.addConsoleInstrumentationHandler=function(e){let t="console";i.addHandler(t,e),i.maybeInstrument(t,s)}},845410,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.severityLevelFromString=function(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"},r.validSeverityLevels=["fatal","error","warning","log","info","debug"]},774663,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(470758),o=e.r(850786),i=e.r(597426),s=e.r(510439),l=e.r(986420),u=e.r(845410),c=e.r(108910),d=e.r(346679);r.captureConsoleIntegration=o.defineIntegration((e={})=>{let t=e.levels||s.CONSOLE_LEVELS,r=!!e.handled;return{name:"CaptureConsole",setup(e){"console"in d.GLOBAL_OBJ&&i.addConsoleInstrumentationHandler(({args:o,level:i})=>{var s,d,_;let p;n.getClient()===e&&t.includes(i)&&(s=o,d=i,_=r,p={level:u.severityLevelFromString(d),extra:{arguments:s}},n.withScope(e=>{if(e.addEventProcessor(e=>(e.logger="console",l.addExceptionMechanism(e,{handled:_,type:"console"}),e)),"assert"===d){if(!s[0]){let t=`Assertion failed: ${c.safeJoin(s.slice(1)," ")||"console.assert"}`;e.setExtra("arguments",s.slice(1)),a.captureMessage(t,p)}return}let t=s.find(e=>e instanceof Error);if(t)return void a.captureException(t,p);let r=c.safeJoin(s," ");a.captureMessage(r,p)}))})}}})},924659,(e,t,r)=>
506{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(510439);r.debugIntegration=n.defineIntegration((e={})=>{let t={debugger:!1,stringify:!1,...e};return{name:"Debug",setup(e){e.on("beforeSendEvent",(e,r)=>{t.debugger,a.consoleSandbox(()=>{t.stringify?(console.log(JSON.stringify(e,null,2)),r&&Object.keys(r).length&&console.log(JSON.stringify(r,null,2))):(console.log(e),r&&Object.keys(r).length&&console.log(r))})})}}})},548807,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(117248),o=e.r(510439),i=e.r(939358),s=n.defineIntegration(()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(l(t,e))return a.DEBUG_BUILD&&o.logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}});function l(e,t){var r,n,a,o;let i,s,l,_;return!!t&&(r=e,n=t,i=r.message,s=n.message,!!((i||s)&&(!i||s)&&(i||!s)&&i===s&&c(r,n)&&u(r,n)&&1||(a=e,l=d(o=t),_=d(a),l&&_&&l.type===_.type&&l.value===_.value&&c(a,o)&&u(a,o))))}function u(e,t){let r=i.getFramesFromEvent(e),n=i.getFramesFromEvent(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],a=r[e];if(t.filename!==a.filename||t.lineno!==a.lineno||t.colno!==a.colno||t.function!==a.function)return!1}return!0}function c(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return r.join("")===n.join("")}catch(e){return!1}}function d(e){return e.exception&&e.exception.values&&e.exception.values[0]}r._shouldDropEvent=l,r.dedupeIntegration=s},872930,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(117248),o=e.r(252540),i=e.r(510439),s=e.r(483512),l=e.r(398820),u=e.r(108910);r.extraErrorDataIntegration=n.defineIntegration((e={})=>{let{depth:t=3,captureErrorCause:r=!0}=e;return{name:"ExtraErrorData",processEvent(e,n,c){let{maxValueLength:d=250}=c.getOptions();return function(e,t={},r,n,c){if(!t.originalException||!o.isError(t.originalException))return e;let d=t.originalException.name||t.originalException.constructor.name,_=function(e,t,r){try{let n=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],a={};for(let t of Object.keys(e)){if(-1!==n.indexOf(t))continue;let i=e[t];a[t]=o.isError(i)||"string"==typeof i?u.truncate(`${i}`,r):i}if(t&&void 0!==e.cause&&(a.cause=o.isError(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){let t=e.toJSON();for(let e of Object.keys(t)){let r=t[e];a[e]=o.isError(r)?r.toString():r}}return a}catch(e){a.DEBUG_BUILD&&i.logger.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,n,c);if(_){let t={...e.contexts},n=s.normalize(_,r);return o.isPlainObject(n)&&(l.addNonEnumerableProperty(n,"__sentry_skip_normalization__",!0),t[d]=n),{...e,contexts:t}}return e}(e,n,t,r,d)}}})},456415,(e,t,r)=>{function n(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;)e.unshift("..");return e}Object.defineProperty(r,"__esModule",{value:!0});let a=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function o(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=a.exec(t);return r?r.slice(1):[]}function i(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let a=n>=0?e[n]:"/";a&&(t=`${a}/${t}`,r="/"===a.charAt(0))}return t=n(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function s(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}function l(e){let t=u(e),r="/"===e.slice(-1),a=n(e.split("/").filter(e=>!!e),!t).join("/");return a||t||(a="."),a&&r&&(a+="/"),(t?"/":"")+a}function u(e){return"/"===e.charAt(0)}r.basename=function(e,t){let r=o(e)[2]||"";return t&&r.slice(-1*t.length)===t&&(r=r.slice(0,r.length-t.length)),r},r.dirname=function(e){let t=o(e),r=t[0]||"",n=t[1];return r||n?(n&&(n=n.slice(0,n.length-1)),r+n):"."},r.isAbsolute=u,r.join=function(...e){return l(e.join("/"))},r.normalizePath=l,r.relative=function(e,t){e=i(e).slice(1),t=i(t).slice(1);let r=s(e.split("/")),n=s(t.split("/")),a=Math.min(r.length,n.length),o=a;for(let e=0;e<a;e++)if(r[e]!==n[e]){o=e;break}let l=[];for(let e=o;e<r.length;e++)l.push("..");return(l=l.concat(n.slice(o))).join("/")},r.resolve=i},607099,(e,t,r)=>
506{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(456415),o=e.r(346679),i=n.defineIntegration((e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in o.GLOBAL_OBJ&&void 0!==o.GLOBAL_OBJ.window,a=e.iteratee||s({isBrowser:n,root:t,prefix:r});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t&&t.frames&&t.frames.map(e=>a(e))}}}})}}}catch(t){return e}}(t)),t}}});function s({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let o=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),i=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(o||i){let e=o?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,i=t?a.relative(t,e):a.basename(e);n.filename=`${r}${i}`}return n}}r.generateIteratee=s,r.rewriteFramesIntegration=i},905268,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(149437);r.sessionTimingIntegration=n.defineIntegration(()=>{let e=1e3*a.timestampInSeconds();return{name:"SessionTiming",processEvent(t){let r=1e3*a.timestampInSeconds();return{...t,extra:{...t.extra,"session:start":e,"session:duration":r-e,"session:end":r}}}}})},389961,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(252540),o=e.r(108910);function i(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}function s(e){return e.map(e=>"number"==typeof e?"<array>":e).join(".")}function l(e){let t=new Set;for(let r of e.issues){let e=s(r.path);e.length>0&&t.add(e)}let r=Array.from(t);if(0===r.length){let t="variable";if(e.issues.length>0){let r=e.issues[0];void 0!==r&&"expected"in r&&"string"==typeof r.expected&&(t=r.expected)}return`Failed to validate ${t}`}return`Failed to validate keys: ${o.truncate(r.join(", "),100)}`}function u(e,t=!1,r,n){var o;if(!r.exception||!r.exception.values||!n||!n.originalException||(o=n.originalException,!(a.isError(o)&&"ZodError"===o.name&&Array.isArray(o.issues)))||0===n.originalException.issues.length)return r;try{let a=(t?n.originalException.issues:n.originalException.issues.slice(0,e)).map(i);return t&&(Array.isArray(n.attachments)||(n.attachments=[]),n.attachments.push({filename:"zod_issues.json",data:JSON.stringify({issues:a})})),{...r,exception:{...r.exception,values:[{...r.exception.values[0],value:l(n.originalException)},...r.exception.values.slice(1)]},extra:{...r.extra,"zoderror.issues":a.slice(0,e)}}}catch(e){return{...r,extra:{...r.extra,"zoderrors sentry integration parse error":{message:"an exception was thrown while processing ZodError within applyZodErrorsToEvent()",error:e instanceof Error?`${e.name}: ${e.message}
507${e.stack}`:"unknown"}}}}}let c=n.defineIntegration((e={})=>{let t=void 0===e.limit?10:e.limit;return{name:"ZodErrors",processEvent:(r,n)=>u(t,e.saveZodIssuesAsAttachment,r,n)}});r.applyZodErrorsToEvent=u,r.flattenIssue=i,r.flattenIssuePath=s,r.formatIssueMessage=l,r.zodErrorsIntegration=c},17323,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(850786),a=e.r(18448),o=e.r(630618),i=e.r(939358),s=n.defineIntegration(e=>({name:"ThirdPartyErrorsFilter",setup(e){e.on("beforeEnvelope",e=>{o.forEachEnvelopeItem(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(a.stripMetadataFromStackFrames(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{if(t.type)return;let r=e.getOptions().stackParser;a.addMetadataToStackFrames(r,t)})},processEvent(t){let r=function(e){let t=i.getFramesFromEvent(e);if(t)return t.filter(e=>!!e.filename).map(e=>e.module_metadata?Object.keys(e.module_metadata).filter(e=>e.startsWith(l)).map(e=>e.slice(l.length)):[])}(t);if(r&&r["drop-error-if-contains-third-party-frames"===e.behaviour||"apply-tag-if-contains-third-party-frames"===e.behaviour?"some":"every"](t=>!t.some(t=>e.filterKeys.includes(t)))){if("drop-error-if-contains-third-party-frames"===e.behaviour||"drop-error-if-exclusively-contains-third-party-frames"===e.behaviour)return null;t.tags={...t.tags,third_party_code:!0}}return t}})),l="_sentryBundlerPluginAppKey:";r.thirdPartyErrorFilterIntegration=s},552176,(e,t,r)=>
507{Object.defineProperty(r,"__esModule",{value:!0}),r.COUNTER_METRIC_TYPE="c",r.DEFAULT_BROWSER_FLUSH_INTERVAL=5e3,r.DEFAULT_FLUSH_INTERVAL=1e4,r.DISTRIBUTION_METRIC_TYPE="d",r.GAUGE_METRIC_TYPE="g",r.MAX_WEIGHT=1e4,r.SET_METRIC_TYPE="s"},791863,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(117248);e.r(518284);let o=e.r(346679);e.r(154661);let i=e.r(510439),s=e.r(149437),l=e.r(706135),u=e.r(5556),c=e.r(685907),d=e.r(552176);function _(e,t){let r=o.getGlobalSingleton("globalMetricsAggregators",()=>new WeakMap),n=r.get(e);if(n)return n;let a=new t(e);return e.on("flush",()=>a.flush()),e.on("close",()=>a.close()),r.set(e,a),a}function p(e,t,r,o,s={}){let u=s.client||n.getClient();if(!u)return;let c=l.getActiveSpan(),d=c?l.getRootSpan(c):void 0,E=d&&l.spanToJSON(d).description,{unit:S,tags:T,timestamp:g}=s,{release:f,environment:m}=u.getOptions(),h={};f&&(h.release=f),m&&(h.environment=m),E&&(h.transaction=E),a.DEBUG_BUILD&&i.logger.log(`Adding value of ${o} to ${t} metric ${r}`),_(u,e).add(t,r,o,S,{...h,...T},g)}function E(e,t,r,n){p(e,d.DISTRIBUTION_METRIC_TYPE,t,S(r),n)}function S(e){return"string"==typeof e?parseInt(e):e}r.metrics={increment:function(e,t,r=1,n){p(e,d.COUNTER_METRIC_TYPE,t,S(r),n)},distribution:E,set:function(e,t,r,n){p(e,d.SET_METRIC_TYPE,t,r,n)},gauge:function(e,t,r,n){p(e,d.GAUGE_METRIC_TYPE,t,S(r),n)},timing:function(e,t,r,n="second",a){if("function"==typeof r){let n=s.timestampInSeconds();return u.startSpanManual({op:"metrics.timing",name:t,startTime:n,onlyIfParent:!0},o=>c.handleCallbackErrors(()=>r(),()=>{},()=>{let r=s.timestampInSeconds();E(e,t,r-n,{...a,unit:"second"}),o.end(r)}))}E(e,t,r,{...a,unit:n})},getMetricsAggregatorForClient:_}},751745,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(117248),o=e.r(510439);function i(e){return!!e&&void 0!==e._profiler&&"function"==typeof e._profiler.start&&"function"==typeof e._profiler.stop}
507r.profiler={startProfiler:function(){let e=n.getClient();if(!e){a.DEBUG_BUILD&&o.logger.warn("No Sentry client available, profiling is not started");return}let t=e.getIntegrationByName("ProfilingIntegration");if(!t){a.DEBUG_BUILD&&o.logger.warn("ProfilingIntegration is not available");return}if(!i(t)){a.DEBUG_BUILD&&o.logger.warn("Profiler is not available on profiling integration.");return}t._profiler.start()},stopProfiler:function(){let e=n.getClient();if(!e){a.DEBUG_BUILD&&o.logger.warn("No Sentry client available, profiling is not started");return}let t=e.getIntegrationByName("ProfilingIntegration");if(!t){a.DEBUG_BUILD&&o.logger.warn("ProfilingIntegration is not available");return}if(!i(t)){a.DEBUG_BUILD&&o.logger.warn("Profiler is not available on profiling integration.");return}t._profiler.stop()}}},533593,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(398820),a=[["\n","\\n"],["\r","\\r"],["	","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];r.getBucketKey=function(e,t,r,a){let o=Object.entries(n.dropUndefinedKeys(a)).sort((e,t)=>e[0].localeCompare(t[0]));return`${e}${t}${r}${o}`},r.sanitizeMetricKey=function(e){return e.replace(/[^\w\-.]+/gi,"_")},r.sanitizeTags=function(e){let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r.replace(/[^\w\-./]+/gi,"")]=[...String(e[r])].reduce((e,t)=>e+function(e){for(let[t,r]of a)if(e===t)return r;return e}(t),""));return t},r.sanitizeUnit=function(e){return e.replace(/[^\w]+/gi,"_")},r.serializeMetricBuckets=function(e){let t="";for(let r of e){let e=Object.entries(r.tags),n=e.length>0?`|#${e.map(([e,t])=>`${e}:${t}`).join(",")}`:"";t+=`${r.name}@${r.unit}:${r.metric}|${r.metricType}${n}|T${r.timestamp}
508`}return t},r.simpleHash=function(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t>>>0}},735017,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(247867),a=e.r(630618),o=e.r(510439),i=e.r(533593);function s(e,t,r,o){var s;let l,u={sent_at:new Date().toISOString()};r&&r.sdk&&(u.sdk={name:r.sdk.name,version:r.sdk.version}),o&&t&&(u.dsn=n.dsnToString(t));let c=(s=e,[{type:"statsd",length:(l=i.serializeMetricBuckets(s)).length},l]);return a.createEnvelope(u,[c])}r.captureAggregateMetrics=function(e,t){o.logger.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);let r=s(t,e.getDsn(),e.getSdkMetadata(),e.getOptions().tunnel);e.sendEnvelope(r)},r.createMetricEnvelope=s},140981,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(552176),a=e.r(533593);class o{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}}class i{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,e<this._min&&(this._min=e),e>this._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class s{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}}class l{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map(e=>"string"==typeof e?a.simpleHash(e):e).join(":")}}let u={[n.COUNTER_METRIC_TYPE]:o,[n.GAUGE_METRIC_TYPE]:i,[n.DISTRIBUTION_METRIC_TYPE]:s,[n.SET_METRIC_TYPE]:l};r.CounterMetric=o,r.DistributionMetric=s,r.GaugeMetric=i,r.METRIC_MAP=u,r.SetMetric=l},295544,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(149437),a=e.r(706135),o=e.r(552176),i=e.r(735017),s=e.r(140981),l=e.r(533593);r.MetricsAggregator=class{constructor(e){this._client=e,this._buckets=new Map,this._bucketsTotalWeight=0,this._interval=setInterval(()=>this._flush(),o.DEFAULT_FLUSH_INTERVAL),this._interval.unref&&this._interval.unref(),this._flushShift=Math.floor(Math.random()*o.DEFAULT_FLUSH_INTERVAL/1e3),this._forceFlush=!1}add(e,t,r,i="none",u={},c=n.timestampInSeconds()){let d=Math.floor(c),_=l.sanitizeMetricKey(t),p=l.sanitizeTags(u),E=l.sanitizeUnit(i),S=l.getBucketKey(e,_,E,p),T=this._buckets.get(S),g=T&&e===o.SET_METRIC_TYPE?T.metric.weight:0;T?(T.metric.add(r),T.timestamp<d&&(T.timestamp=d)):(T={metric:new s.METRIC_MAP[e](r),timestamp:d,metricType:e,name:_,unit:E,tags:p},this._buckets.set(S,T));let f="string"==typeof r?T.metric.weight-g:r;a.updateMetricSummaryOnActiveSpan(e,_,f,E,u,S),this._bucketsTotalWeight+=T.metric.weight,this._bucketsTotalWeight>=o.MAX_WEIGHT&&this.flush()}flush(){this._forceFlush=!0,this._flush()}close(){this._forceFlush=!0,clearInterval(this._interval),this._flush()}_flush(){if(this._forceFlush){this._forceFlush=!1,this._bucketsTotalWeight=0,this._captureMetrics(this._buckets),this._buckets.clear();return}let e=Math.floor(n.timestampInSeconds())-o.DEFAULT_FLUSH_INTERVAL/1e3-this._flushShift,t=new Map;for(let[r,n]of this._buckets)n.timestamp<=e&&(t.set(r,n),this._bucketsTotalWeight-=n.metric.weight);for(let[e]of t)this._buckets.delete(e);this._captureMetrics(t)}_captureMetrics(e){if(e.size>0){let t=Array.from(e).map(([,e])=>e);i.captureAggregateMetrics(this._client,t)}}}},790672,(e,t,r)=>
508{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(295544),a=e.r(791863);r.metricsDefault={increment:function(e,t=1,r){a.metrics.increment(n.MetricsAggregator,e,t,r)},distribution:function(e,t,r){a.metrics.distribution(n.MetricsAggregator,e,t,r)},set:function(e,t,r){a.metrics.set(n.MetricsAggregator,e,t,r)},gauge:function(e,t,r){a.metrics.gauge(n.MetricsAggregator,e,t,r)},timing:function(e,t,r="second",o){return a.metrics.timing(n.MetricsAggregator,e,t,r,o)},getMetricsAggregatorForClient:function(e){return a.metrics.getMetricsAggregatorForClient(e,n.MetricsAggregator)}}},901335,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(149437),a=e.r(706135),o=e.r(552176),i=e.r(735017),s=e.r(140981),l=e.r(533593);r.BrowserMetricsAggregator=class{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),o.DEFAULT_BROWSER_FLUSH_INTERVAL)}add(e,t,r,i="none",u={},c=n.timestampInSeconds()){let d=Math.floor(c),_=l.sanitizeMetricKey(t),p=l.sanitizeTags(u),E=l.sanitizeUnit(i),S=l.getBucketKey(e,_,E,p),T=this._buckets.get(S),g=T&&e===o.SET_METRIC_TYPE?T.metric.weight:0;T?(T.metric.add(r),T.timestamp<d&&(T.timestamp=d)):(T={metric:new s.METRIC_MAP[e](r),timestamp:d,metricType:e,name:_,unit:E,tags:p},this._buckets.set(S,T));let f="string"==typeof r?T.metric.weight-g:r;a.updateMetricSummaryOnActiveSpan(e,_,f,E,u,S)}flush(){if(0===this._buckets.size)return;let e=Array.from(this._buckets.values());i.captureAggregateMetrics(this._client,e),this._buckets.clear()}close(){clearInterval(this._interval),this.flush()}}},36783,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(392025);e.r(518284);let a=e.r(252540);e.r(154661),e.r(510439),e.r(149437),e.r(110192);let o=e.r(497227),i=e.r(843605);e.r(117248);let s=e.r(145620),l=e.r(706135),u=e.r(461427),c=e.r(816624),d=e.r(5556),_=e.r(94e3);function p(e,t,r){var n,o;let i=_.getTraceData({span:r}),s=i["sentry-trace"],l=i.baggage;if(!s)return;let u=t.headers||((n=e,"u">typeof Request&&a.isInstanceOf(n,Request))?e.headers:void 0);if(!u)return{...i};if(o=u,"u">typeof Headers&&a.isInstanceOf(o,Headers)){let e=new Headers(u);if(e.set("sentry-trace",s),l){let t=e.get("baggage");if(t){let r=E(t);e.set("baggage",r?`${r},${l}`:l)}else e.set("baggage",l)}return e}if(Array.isArray(u)){let e=[...u.filter(e=>!(Array.isArray(e)&&"sentry-trace"===e[0])).map(e=>{if(!Array.isArray(e)||"baggage"!==e[0]||"string"!=typeof e[1])return e;{let[t,r,...n]=e;return[t,E(r),...n]}}),["sentry-trace",s]];return l&&e.push(["baggage",l]),e}{let e="baggage"in u?u.baggage:void 0,t=[];return Array.isArray(e)?t=e.map(e=>"string"==typeof e?E(e):e).filter(e=>""===e):e&&t.push(E(e)),l&&t.push(l),{...u,"sentry-trace":s,baggage:t.length>0?t.join(","):void 0}}}function E(e){return e.split(",").filter(e=>!e.split("=")[0].startsWith(i.SENTRY_BAGGAGE_KEY_PREFIX)).join(",")}r.addTracingHeadersToFetchRequest=function(e,t,r,n,a){return p(e,n,a)},r.instrumentFetchRequest=function(e,t,r,a,i="auto.http.browser"){if(!e.fetchData)return;let _=s.hasTracingEnabled()&&t(e.fetchData.url);if(e.endTimestamp&&_){let t=e.fetchData.__span;if(!t)return;let r=a[t];r&&(function(e,t){if(t.response){c.setHttpStatus(e,t.response.status);let r=t.response&&t.response.headers&&t.response.headers.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:c.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(r,e),delete a[t]);return}let{method:E,url:S}=e.fetchData,T=function(e){try{return new URL(e).href}catch(e){return}}(S),g=T?o.parseUrl(T).host:void 0,f=!!l.getActiveSpan(),m=_&&f?d.startInactiveSpan({name:`${E} ${S}`,attributes:{url:S,type:"fetch","http.method":E,"http.url":T,"server.address":g,[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:i,[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"}}):new u.SentryNonRecordingSpan;if(e.fetchData.__span=m.spanContext().spanId,a[m.spanContext().spanId]=m,r(e.fetchData.url)){let t=e.args[0],r=e.args[1]||{},n=p(t,r,s.hasTracingEnabled()&&f?m:void 0);n&&(e.args[1]=r,r.headers=n)}return m}},967148,(e,t,r)=>
508{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(470758),o=e.r(392025);e.r(518284),e.r(154661),e.r(510439),e.r(117248),e.r(149437);let i=e.r(483512);e.r(110192);let s=e.r(5556),l={mechanism:{handled:!1,data:{function:"trpcMiddleware"}}};r.trpcMiddleware=function(e={}){return async function(t){let{path:r,type:u,next:c,rawInput:d,getRawInput:_}=t,p=n.getClient(),E=p&&p.getOptions(),S={procedure_path:r,procedure_type:u};if((void 0!==e.attachRpcInput?e.attachRpcInput:E&&E.sendDefaultPii)&&(void 0!==d&&(S.input=i.normalize(d)),void 0!==_&&"function"==typeof _))try{let e=await _();S.input=i.normalize(e)}catch(e){}return n.withScope(e=>(e.setContext("trpc",S),s.startSpanManual({name:`trpc/${r}`,op:"rpc.server",attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"route",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.rpc.trpc"}},async e=>{try{let t=await c();return"object"==typeof t&&null!==t&&"ok"in t&&!t.ok&&"error"in t&&a.captureException(t.error,l),e.end(),t}catch(t){throw a.captureException(t,l),e.end(),t}})))}}},517376,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(360522),a=e.r(398820);r.captureFeedback=function(e,t={},r=n.getCurrentScope()){let{message:o,name:i,email:s,url:l,source:u,associatedEventId:c,tags:d}=e,_={contexts:{feedback:a.dropUndefinedKeys({contact_email:s,name:i,message:o,url:l,source:u,associated_event_id:c})},type:"feedback",level:"info",tags:d},p=r&&r.getClient()||n.getClient();return p&&p.emit("beforeSendFeedback",_,t),r.captureEvent(_,t)}},22316,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(275379),a=e.r(360522),o=e.r(470758);function i(){return{bindClient(e){a.getCurrentScope().setClient(e)},withScope:a.withScope,getClient:()=>a.getClient(),getScope:a.getCurrentScope,getIsolationScope:a.getIsolationScope,captureException:(e,t)=>a.getCurrentScope().captureException(e,t),captureMessage:(e,t,r)=>a.getCurrentScope().captureMessage(e,t,r),captureEvent:o.captureEvent,addBreadcrumb:n.addBreadcrumb,setUser:o.setUser,setTags:o.setTags,setTag:o.setTag,setExtra:o.setExtra,setExtras:o.setExtras,setContext:o.setContext,getIntegration(e){let t=a.getClient();return t&&t.getIntegrationByName(e.id)||null},startSession:o.startSession,endSession:o.endSession,captureSession(e){let t,r,n;if(e)return o.endSession();t=a.getCurrentScope(),r=a.getClient(),n=t.getSession(),r&&n&&r.captureSession(n)}}}r.getCurrentHub=i,r.getCurrentHubShim=i},353785,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.flatten=function(e){let t=[],r=e=>{e.forEach(e=>{Array.isArray(e)?r(e):t.push(e)})};return r(e),t}},406130,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.getBreadcrumbLogLevelFromHttpStatusCode=function(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}},319763,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(154661),a=e.r(510439),o=e.r(346679).GLOBAL_OBJ;function i(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}r.isNativeFunction=s,r.supportsDOMError=function(){try{return new DOMError(""),!0}catch(e){return!1}},r.supportsDOMException=function(){try{return new DOMException(""),!0}catch(e){return!1}},r.supportsErrorEvent=function(){try{return new ErrorEvent(""),!0}catch(e){return!1}},r.supportsFetch=i,r.supportsNativeFetch=function(){if("string"==typeof EdgeRuntime)return!0;if(!i())return!1;if(s(o.fetch))return!0;let e=!1,t=o.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=s(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){n.DEBUG_BUILD&&a.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e},r.supportsReferrerPolicy=function(){if(!i())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}},r.supportsReportingObserver=function(){return"ReportingObserver"in o}},945806,(e,t,r)=>
508{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(252540),a=e.r(398820),o=e.r(319763),i=e.r(149437),s=e.r(346679),l=e.r(120620);function u(e,t=!1){(!t||o.supportsNativeFetch())&&a.fill(s.GLOBAL_OBJ,"fetch",function(t){return function(...r){let o=Error(),{method:u,url:c}=E(r),d={args:r,fetchData:{method:u,url:c},startTimestamp:1e3*i.timestampInSeconds(),virtualError:o};return e||l.triggerHandlers("fetch",{...d}),t.apply(s.GLOBAL_OBJ,r).then(async t=>(e?e(t):l.triggerHandlers("fetch",{...d,endTimestamp:1e3*i.timestampInSeconds(),response:t}),t),e=>{throw l.triggerHandlers("fetch",{...d,endTimestamp:1e3*i.timestampInSeconds(),error:e}),n.isError(e)&&void 0===e.stack&&(e.stack=o.stack,a.addNonEnumerableProperty(e,"framesToPop",1)),e})}})}async function c(e,t){if(e&&e.body){let r=e.body,n=r.getReader(),a=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),o=!0;for(;o;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:a}=await n.read();clearTimeout(e),a&&(t(),o=!1)}catch(e){o=!1}finally{clearTimeout(e)}}clearTimeout(a),n.releaseLock(),r.cancel().then(null,()=>{})}}function d(e){let t;try{t=e.clone()}catch(e){return}c(t,()=>{l.triggerHandlers("fetch-body-resolved",{endTimestamp:1e3*i.timestampInSeconds(),response:e})})}function _(e,t){return!!e&&"object"==typeof e&&!!e[t]}function p(e){return"string"==typeof e?e:e?_(e,"url")?e.url:e.toString?e.toString():"":""}function E(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:p(t),method:_(r,"method")?String(r.method).toUpperCase():"GET"}}let t=e[0];return{url:p(t),method:_(t,"method")?String(t.method).toUpperCase():"GET"}}r.addFetchEndInstrumentationHandler=function(e){let t="fetch-body-resolved";l.addHandler(t,e),l.maybeInstrument(t,()=>u(d))},r.addFetchInstrumentationHandler=function(e,t){let r="fetch";l.addHandler(r,e),l.maybeInstrument(r,()=>u(void 0,t))},r.parseFetchArgs=E},363453,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.getSDKSource=function(){return"npm"},r.isBrowserBundle=function(){return"u">typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}},450390,(e,t,r)=>{var n=e.i(7021);Object.defineProperty(r,"__esModule",{value:!0});let a=e.r(363453);function o(e,t){return e.require(t)}r.dynamicRequire=o,r.isNodeEnv=function(){return!a.isBrowserBundle()&&"[object process]"===Object.prototype.toString.call(void 0!==n.default?n.default:0)},r.loadModule=function(e,r=t){let n;try{n=o(r,e)}catch(e){}if(!n)try{let{cwd:t}=o(r,"process");n=o(r,`${t()}/node_modules/${e}`)}catch(e){}return n}},706946,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(450390),a=e.r(346679);r.isBrowser=function(){let e;return"u">typeof window&&(!n.isNodeEnv()||!!(e=a.GLOBAL_OBJ.process)&&"renderer"===e.type)}},158544,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(939358);function a(e,t=!1){return!(t||e&&!e.startsWith("/")&&!e.match(/^[A-Z]:/)&&!e.startsWith(".")&&!e.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&void 0!==e&&!e.includes("node_modules/")}function o(e){let t=/^\s*[-]{4,}$/,r=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return o=>{let s=o.match(r);if(s){let t,r,o,l,u;if(s[1]){let e=(o=s[1]).lastIndexOf(".");if("."===o[e-1]&&e--,e>0){t=o.slice(0,e),r=o.slice(e+1);let n=t.indexOf(".Module");n>0&&(o=o.slice(n+1),t=t.slice(0,n))}l=void 0}r&&(l=t,u=r),"<anonymous>"===r&&(u=void 0,o=void 0),void 0===o&&(u=u||n.UNKNOWN_FUNCTION,o=l?`${l}.${u}`:u);let c=s[2]&&s[2].startsWith("file://")?s[2].slice(7):s[2],d="native"===s[5];return c&&c.match(/\/[A-Z]:/)&&(c=c.slice(1)),c||!s[5]||d||(c=s[5]),{filename:c?decodeURI(c):void 0,module:e?e(c):void 0,function:o,lineno:i(s[3]),colno:i(s[4]),in_app:a(c||"",d)}}if(o.match(t))return{filename:o}}}function i(e){return parseInt(e||"",10)||void 0}r.filenameIsInApp=a,r.node=o,r.nodeStackLineParser=function(e){return[90,o(e)]}},459628,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.makeFifoCache=function(e){let t=[],r={};return{add(n,a){for(;t.length>=e;){let e=t.shift();void 0!==e&&delete r[e]}r[n]&&this.delete(n),t.push(n),r[n]=a},clear(){r={},t=[]},get:e=>r[e],size:()=>t.length,delete(e){if(!r[e])return!1;delete r[e];for(let r=0;r<t.length;r++)if(t[r]===e){t.splice(r,1);break}return!0}}}},4018,(e,t,r)=>
508{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(158544),a=e.r(398820),o=e.r(939358);r.callFrameToStackFrame=function(e,t,r){let i=t?t.replace(/^file:\/\//,""):void 0,s=e.location.columnNumber?e.location.columnNumber+1:void 0,l=e.location.lineNumber?e.location.lineNumber+1:void 0;return a.dropUndefinedKeys({filename:i,module:r(i),function:e.functionName||o.UNKNOWN_FUNCTION,colno:s,lineno:l,in_app:i?n.filenameIsInApp(i):void 0})},r.watchdogTimer=function(e,t,r,n){let a=e(),o=!1,i=!0;return setInterval(()=>{let e=a.getTimeMs();!1===o&&e>t+r&&(o=!0,i&&n()),e<t+r&&(o=!1)},20),{poll:()=>{a.reset()},enabled:e=>{i=e}}}},264711,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LRUMap=class{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){this._cache.size>=this._maxSize&&this._cache.delete(this._cache.keys().next().value),this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}},254441,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(346679);r.vercelWaitUntil=function(e){let t=n.GLOBAL_OBJ[Symbol.for("@vercel/request-context")],r=t&&t.get&&t.get()?t.get():{};r&&r.waitUntil&&r.waitUntil(e)}},187952,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.escapeStringForRegex=function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},522123,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(346679).GLOBAL_OBJ;r.supportsHistory=function(){let e=n.chrome,t=e&&e.app&&e.app.runtime,r="history"in n&&!!n.history.pushState&&!!n.history.replaceState;return!t&&r}},394909,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r._nullishCoalesce=function(e,t){return null!=e?e:t()}},294590,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(394909);r._asyncNullishCoalesce=async function(e,t){return n._nullishCoalesce(e,t)}},314338,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r._asyncOptionalChain=async function(e){let t,r=e[0],n=1;for(;n<e.length;){let a=e[n],o=e[n+1];if(n+=2,("optionalAccess"===a||"optionalCall"===a)&&null==r)return;"access"===a||"optionalAccess"===a?(t=r,r=await o(r)):("call"===a||"optionalCall"===a)&&(r=await o((...e)=>r.call(t,...e)),t=void 0)}return r}},888356,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(314338);r._asyncOptionalChainDelete=async function(e){let t=await n._asyncOptionalChain(e);return null==t||t}},136557,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r._optionalChain=function(e){let t,r=e[0],n=1;for(;n<e.length;){let a=e[n],o=e[n+1];if(n+=2,("optionalAccess"===a||"optionalCall"===a)&&null==r)return;"access"===a||"optionalAccess"===a?(t=r,r=o(r)):("call"===a||"optionalCall"===a)&&(r=o((...e)=>r.call(t,...e)),t=void 0)}return r}},766762,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(136557);r._optionalChainDelete=function(e){let t=n._optionalChain(e);return null==t||t}},11425,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(518284),a=e.r(473841),o=e.r(182394),i=e.r(316779),s=e.r(705843),l=e.r(461427),u=e.r(816624),c=e.r(5556),d=e.r(613957),_=e.r(277780),p=e.r(166144),E=e.r(953068),S=e.r(392025),T=e.r(296860),g=e.r(470758),f=e.r(360522),m=e.r(505587),h=e.r(235551),A=e.r(823869),R=e.r(102386),I=e.r(67241),y=e.r(839107),N=e.r(862451),O=e.r(722344),v=e.r(353149),b=e.r(995e3),C=e.r(690501),M=e.r(341692),U=e.r(293782),P=e.r(769643),D=e.r(850786),L=e.r(675414),w=e.r(927755),B=e.r(331419),k=e.r(145620),x=e.r(257815),G=e.r(685907),F=e.r(845699),V=e.r(706135),H=e.r(355605),j=e.r(555712),Y=e.r(94e3),W=e.r(297796),$=e.r(777184),K=e.r(275379),q=e.r(608617),z=e.r(625103),J=e.r(554268),X=e.r(571711),Q=e.r(352064),Z=e.r(774663),ee=e.r(924659),et=e.r(548807),er=e.r(872930),en=e.r(607099),ea=e.r(905268),eo=e.r(389961),ei=e.r(17323),es=e.r(791863),el=e.r(751745),eu=e.r(790672),ec=e.r(901335),ed=e.r(668866),e_=e.r(36783),ep=e.r(967148),eE=e.r(517376),eS=e.r(22316),eT=e.r(805886),eg=e.r(353785),ef=e.r(406130),em=e.r(780161),eh=e.r(247867),eA=e.r(556737),eR=e.r(346679),eI=e.r(597426),ey=e.r(945806),eN=e.r(507385),eO=e.r(96134),ev=e.r(120620),eb=e.r(252540),eC=e.r(706946),eM=e.r(510439),eU=e.r(503127),eP=e.r(986420),eD=e.r(450390),eL=e.r(483512),ew=e.r(398820),eB=e.r(456415),ek=e.r(53837),ex=e.r(812835),eG=e.r(845410),eF=e.r(939358),eV=e.r(158544),eH=e.r(108910),ej=e.r(319763),eY=e.r(110192),eW=e.r(149437),e$=e.r(753641),eK=e.r(363453),eq=e.r(630618),ez=e.r(168471),eJ=e.r(97506),eX=e.r(843605),eQ=e.r(497227),eZ=e.r(459628),e0=e.r(442370),e1=e.r(4018),e2=e.r(264711),e3=e.r(822488),e4=e.r(254441),e5=e.r(932820),e6=e.r(541879),e9=e.r(187952),e8=e.r(522123),e7=e.r(294590),te=e.r(314338),tt=e.r(888356),tr=e.r(394909),tn=e.r(136557),ta=e.r(766762);r.registerSpanErrorInstrumentation=n.registerSpanErrorInstrumentation,r.getCapturedScopesOnSpan=a.getCapturedScopesOnSpan,r.setCapturedScopesOnSpan=a.setCapturedScopesOnSpan,r.addTracingExtensions=o.addTracingExtensions,r.TRACING_DEFAULTS=i.TRACING_DEFAULTS,r.startIdleSpan=i.startIdleSpan,r.SentrySpan=s.SentrySpan,r.SentryNonRecordingSpan=l.SentryNonRecordingSpan,r.SPAN_STATUS_ERROR=u.SPAN_STATUS_ERROR,r.SPAN_STATUS_OK=u.SPAN_STATUS_OK,r.SPAN_STATUS_UNSET=u.SPAN_STATUS_UNSET,r.getSpanStatusFromHttpCode=u.getSpanStatusFromHttpCode,r.setHttpStatus=u.setHttpStatus,r.continueTrace=c.continueTrace,r.startInactiveSpan=c.startInactiveSpan,r.startNewTrace=c.startNewTrace,r.startSpan=c.startSpan,r.startSpanManual=c.startSpanManual,r.suppressTracing=c.suppressTracing,r.withActiveSpan=c.withActiveSpan,r.getDynamicSamplingContextFromClient=d.getDynamicSamplingContextFromClient,r.getDynamicSamplingContextFromScope=d.getDynamicSamplingContextFromScope,r.getDynamicSamplingContextFromSpan=d.getDynamicSamplingContextFromSpan,r.spanToBaggageHeader=d.spanToBaggageHeader,r.setMeasurement=_.setMeasurement,r.timedEventsToMeasurements=_.timedEventsToMeasurements,r.sampleSpan=p.sampleSpan,r.logSpanEnd=E.logSpanEnd,r.logSpanStart=E.logSpanStart,r.SEMANTIC_ATTRIBUTE_CACHE_HIT=S.SEMANTIC_ATTRIBUTE_CACHE_HIT,r.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE=S.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE,r.SEMANTIC_ATTRIBUTE_CACHE_KEY=S.SEMANTIC_ATTRIBUTE_CACHE_KEY,r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME=S.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME,r.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD=S.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD,r.SEMANTIC_ATTRIBUTE_PROFILE_ID=S.SEMANTIC_ATTRIBUTE_PROFILE_ID,r.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME=S.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME,r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON=S.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT=S.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT,r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE=S.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE,r.SEMANTIC_ATTRIBUTE_SENTRY_OP=S.SEMANTIC_ATTRIBUTE_SENTRY_OP,r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=S.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,r.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=S.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,r.SEMANTIC_ATTRIBUTE_URL_FULL=S.SEMANTIC_ATTRIBUTE_URL_FULL,r.createEventEnvelope=T.createEventEnvelope,r.createSessionEnvelope=T.createSessionEnvelope,r.createSpanEnvelope=T.createSpanEnvelope,r.addEventProcessor=g.addEventProcessor,r.captureCheckIn=g.captureCheckIn,r.captureEvent=g.captureEvent,r.captureException=g.captureException,r.captureMessage=g.captureMessage,r.captureSession=g.captureSession,r.close=g.close,r.endSession=g.endSession,r.flush=g.flush,r.isEnabled=g.isEnabled,r.isInitialized=g.isInitialized,r.lastEventId=g.lastEventId,r.setContext=g.setContext,r.setExtra=g.setExtra,r.setExtras=g.setExtras,r.setTag=g.setTag,r.setTags=g.setTags,r.setUser=g.setUser,r.startSession=g.startSession,r.withMonitor=g.withMonitor,r.getClient=f.getClient,r.getCurrentScope=f.getCurrentScope,r.getGlobalScope=f.getGlobalScope,r.getIsolationScope=f.getIsolationScope,r.getTraceContextFromScope=f.getTraceContextFromScope,r.withIsolationScope=f.withIsolationScope,r.withScope=f.withScope,r.getDefaultCurrentScope=m.getDefaultCurrentScope,r.getDefaultIsolationScope=m.getDefaultIsolationScope,r.setAsyncContextStrategy=h.setAsyncContextStrategy,r.getMainCarrier=A.getMainCarrier,r.closeSession=R.closeSession,r.makeSession=R.makeSession,r.updateSession=R.updateSession,r.SessionFlusher=I.SessionFlusher,r.Scope=y.Scope,r.notifyEventProcessors=N.notifyEventProcessors,r.getEnvelopeEndpointWithUrlEncodedAuth=O.getEnvelopeEndpointWithUrlEncodedAuth,r.getReportDialogEndpoint=O.getReportDialogEndpoint,r.BaseClient=v.BaseClient,r.ServerRuntimeClient=b.ServerRuntimeClient,r.initAndBind=C.initAndBind,r.setCurrentClient=C.setCurrentClient,r.createTransport=M.createTransport,r.makeOfflineTransport=U.makeOfflineTransport,r.makeMultiplexedTransport=P.makeMultiplexedTransport,r.addIntegration=D.addIntegration,r.defineIntegration=D.defineIntegration,r.getIntegrationsToSetup=D.getIntegrationsToSetup,r.applyScopeDataToEvent=L.applyScopeDataToEvent,r.mergeScopeData=L.mergeScopeData,r.prepareEvent=w.prepareEvent,r.createCheckInEnvelope=B.createCheckInEnvelope,r.hasTracingEnabled=k.hasTracingEnabled,r.isSentryRequestUrl=x.isSentryRequestUrl,r.handleCallbackErrors=G.handleCallbackErrors,r.parameterize=F.parameterize,r.addChildSpanToSpan=V.addChildSpanToSpan,r.getActiveSpan=V.getActiveSpan,r.getRootSpan=V.getRootSpan,r.getSpanDescendants=V.getSpanDescendants,r.getStatusMessage=V.getStatusMessage,r.spanIsSampled=V.spanIsSampled,r.spanTimeInputToSeconds=V.spanTimeInputToSeconds,r.spanToJSON=V.spanToJSON,r.spanToTraceContext=V.spanToTraceContext,r.spanToTraceHeader=V.spanToTraceHeader,r.updateSpanName=V.updateSpanName,r.parseSampleRate=H.parseSampleRate,r.applySdkMetadata=j.applySdkMetadata,r.getTraceData=Y.getTraceData,r.getTraceMetaTags=W.getTraceMetaTags,r.DEFAULT_ENVIRONMENT=$.DEFAULT_ENVIRONMENT,r.addBreadcrumb=K.addBreadcrumb,r.functionToStringIntegration=q.functionToStringIntegration,r.inboundFiltersIntegration=z.inboundFiltersIntegration,r.linkedErrorsIntegration=J.linkedErrorsIntegration,r.moduleMetadataIntegration=X.moduleMetadataIntegration,r.requestDataIntegration=Q.requestDataIntegration,r.captureConsoleIntegration=Z.c
508aptureConsoleIntegration,r.debugIntegration=ee.debugIntegration,r.dedupeIntegration=et.dedupeIntegration,r.extraErrorDataIntegration=er.extraErrorDataIntegration,r.rewriteFramesIntegration=en.rewriteFramesIntegration,r.sessionTimingIntegration=ea.sessionTimingIntegration,r.zodErrorsIntegration=eo.zodErrorsIntegration,r.thirdPartyErrorFilterIntegration=ei.thirdPartyErrorFilterIntegration,r.metrics=es.metrics,r.profiler=el.profiler,r.metricsDefault=eu.metricsDefault,r.BrowserMetricsAggregator=ec.BrowserMetricsAggregator,r.getMetricSummaryJsonForSpan=ed.getMetricSummaryJsonForSpan,r.addTracingHeadersToFetchRequest=e_.addTracingHeadersToFetchRequest,r.instrumentFetchRequest=e_.instrumentFetchRequest,r.trpcMiddleware=ep.trpcMiddleware,r.captureFeedback=eE.captureFeedback,r.getCurrentHub=eS.getCurrentHub,r.getCurrentHubShim=eS.getCurrentHubShim,r.applyAggregateErrorsToEvent=eT.applyAggregateErrorsToEvent,r.flatten=eg.flatten,r.getBreadcrumbLogLevelFromHttpStatusCode=ef.getBreadcrumbLogLevelFromHttpStatusCode,r.getComponentName=em.getComponentName,r.getDomElement=em.getDomElement,r.getLocationHref=em.getLocationHref,r.htmlTreeAsString=em.htmlTreeAsString,r.dsnFromString=eh.dsnFromString,r.dsnToString=eh.dsnToString,r.makeDsn=eh.makeDsn,r.SentryError=eA.SentryError,r.GLOBAL_OBJ=eR.GLOBAL_OBJ,r.getGlobalSingleton=eR.getGlobalSingleton,r.addConsoleInstrumentationHandler=eI.addConsoleInstrumentationHandler,r.addFetchEndInstrumentationHandler=ey.addFetchEndInstrumentationHandler,r.addFetchInstrumentationHandler=ey.addFetchInstrumentationHandler,r.addGlobalErrorInstrumentationHandler=eN.addGlobalErrorInstrumentationHandler,r.addGlobalUnhandledRejectionInstrumentationHandler=eO.addGlobalUnhandledRejectionInstrumentationHandler,r.addHandler=ev.addHandler,r.maybeInstrument=ev.maybeInstrument,r.resetInstrumentationHandlers=ev.resetInstrumentationHandlers,r.triggerHandlers=ev.triggerHandlers,r.isDOMError=eb.isDOMError,r.isDOMException=eb.isDOMException,r.isElement=eb.isElement,r.isError=eb.isError,r.isErrorEvent=eb.isErrorEvent,r.isEvent=eb.isEvent,r.isInstanceOf=eb.isInstanceOf,r.isParameterizedString=eb.isParameterizedString,r.isPlainObject=eb.isPlainObject,r.isPrimitive=eb.isPrimitive,r.isRegExp=eb.isRegExp,r.isString=eb.isString,r.isSyntheticEvent=eb.isSyntheticEvent,r.isThenable=eb.isThenable,r.isVueViewModel=eb.isVueViewModel,r.isBrowser=eC.isBrowser,r.CONSOLE_LEVELS=eM.CONSOLE_LEVELS,r.consoleSandbox=eM.consoleSandbox,r.logger=eM.logger,r.originalConsoleMethods=eM.originalConsoleMethods,r.memoBuilder=eU.memoBuilder,r.addContextToFrame=eP.addContextToFrame,r.addExceptionMechanism=eP.addExceptionMechanism,r.addExceptionTypeValue=eP.addExceptionTypeValue,r.arrayify=eP.arrayify,r.checkOrSetAlreadyCaught=eP.checkOrSetAlreadyCaught,r.getEventDescription=eP.getEventDescription,r.parseSemver=eP.parseSemver,r.uuid4=eP.uuid4,r.dynamicRequire=eD.dynamicRequire,r.isNodeEnv=eD.isNodeEnv,r.loadModule=eD.loadModule,r.normalize=eL.normalize,r.normalizeToSize=eL.normalizeToSize,r.normalizeUrlToBase=eL.normalizeUrlToBase,r.addNonEnumerableProperty=ew.addNonEnumerableProperty,r.convertToPlainObject=ew.convertToPlainObject,r.dropUndefinedKeys=ew.dropUndefinedKeys,r.extractExceptionKeysForMessage=ew.extractExceptionKeysForMessage,r.fill=ew.fill,r.getOriginalFunction=ew.getOriginalFunction,r.markFunctionWrapped=ew.markFunctionWrapped,r.objectify=ew.objectify,r.urlEncode=ew.urlEncode,r.basename=eB.basename,r.dirname=eB.dirname,r.isAbsolute=eB.isAbsolute,r.join=eB.join,r.normalizePath=eB.normalizePath,r.relative=eB.relative,r.resolve=eB.resolve,r.makePromiseBuffer=ek.makePromiseBuffer,r.DEFAULT_USER_INCLUDES=ex.DEFAULT_USER_INCLUDES,r.addNormalizedRequestDataToEvent=ex.addNormalizedRequestDataToEvent,r.addRequestDataToEvent=ex.addRequestDataToEvent,r.extractPathForTransaction=ex.extractPathForTransaction,r.extractQueryParamsFromUrl=ex.extractQueryParamsFromUrl,r.extractRequestData=ex.extractRequestData,r.headersToDict=ex.headersToDict,r.httpRequestToRequestData=ex.httpRequestToRequestData,r.winterCGHeadersToDict=ex.winterCGHeadersToDict,r.winterCGRequestToRequestData=ex.winterCGRequestToRequestData,r.severityLevelFromString=eG.severityLevelFromString,r.validSeverityLevels=eG.validSeverityLevels,r.UNKNOWN_FUNCTION=eF.UNKNOWN_FUNCTION,r.createStackParser=eF.createStackParser,r.getFramesFromEvent=eF.getFramesFromEvent,r.getFunctionName=eF.getFunctionName,r.stackParserFromStackParserOptions=eF.stackParserFromStackParserOptions,r.stripSentryFramesAndReverse=eF.stripSentryFramesAndReverse,r.filenameIsInApp=eV.filenameIsInApp,r.node=eV.node,r.nodeStackLineParser=eV.nodeStackLineParser,r.isMatchingPattern=eH.isMatchingPattern,r.safeJoin=eH.safeJoin,r.snipLine=eH.snipLine,r.stringMatchesSomePattern=eH.stringMatchesSomePattern,r.truncate=eH.truncate,r.isNativeFunction=ej.isNativeFunction,r.supportsDOMError=ej.supportsDOMError,r.supportsDOMException=ej.supportsDOMException,r.supportsErrorEvent=ej.supportsErrorEvent,r.supportsFetch=ej.supportsFetch,r.supportsNativeFetch=ej.supportsNativeFetch,r.supportsReferrerPolicy=ej.supportsReferrerPolicy,r.supportsReportingObserver=ej.supportsReportingObserver,r.SyncPromise=eY.SyncPromise,r.rejectedSyncPromise=eY.rejectedSyncPromise,r.resolvedSyncPromise=eY.resolvedSyncPromise,Object.defineProperty(r,"_browserPerformanceTimeOriginMode",{enumerable:!0,get:()=>eW._browserPerformanceTimeOriginMode}),r.browserPerformanceTimeOrigin=eW.browserPerformanceTimeOrigin,r.dateTimestampInSeconds=eW.dateTimestampInSeconds,r.timestampInSeconds=eW.timestampInSeconds,r.TRACEPARENT_REGEXP=e$.TRACEPARENT_REGEXP,r.extractTraceparentData=e$.extractTraceparentData,r.generateSentryTraceHeader=e$.generateSentryTraceHeader,r.propagationContextFromHeaders=e$.propagationContextFromHeaders,r.getSDKSource=eK.getSDKSource,r.isBrowserBun
508dle=eK.isBrowserBundle,r.addItemToEnvelope=eq.addItemToEnvelope,r.createAttachmentEnvelopeItem=eq.createAttachmentEnvelopeItem,r.createEnvelope=eq.createEnvelope,r.createEventEnvelopeHeaders=eq.createEventEnvelopeHeaders,r.createSpanEnvelopeItem=eq.createSpanEnvelopeItem,r.envelopeContainsItemType=eq.envelopeContainsItemType,r.envelopeItemTypeToDataCategory=eq.envelopeItemTypeToDataCategory,r.forEachEnvelopeItem=eq.forEachEnvelopeItem,r.getSdkMetadataForEnvelopeHeader=eq.getSdkMetadataForEnvelopeHeader,r.parseEnvelope=eq.parseEnvelope,r.serializeEnvelope=eq.serializeEnvelope,r.createClientReportEnvelope=ez.createClientReportEnvelope,r.DEFAULT_RETRY_AFTER=eJ.DEFAULT_RETRY_AFTER,r.disabledUntil=eJ.disabledUntil,r.isRateLimited=eJ.isRateLimited,r.parseRetryAfterHeader=eJ.parseRetryAfterHeader,r.updateRateLimits=eJ.updateRateLimits,r.BAGGAGE_HEADER_NAME=eX.BAGGAGE_HEADER_NAME,r.MAX_BAGGAGE_STRING_LENGTH=eX.MAX_BAGGAGE_STRING_LENGTH,r.SENTRY_BAGGAGE_KEY_PREFIX=eX.SENTRY_BAGGAGE_KEY_PREFIX,r.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=eX.SENTRY_BAGGAGE_KEY_PREFIX_REGEX,r.baggageHeaderToDynamicSamplingContext=eX.baggageHeaderToDynamicSamplingContext,r.dynamicSamplingContextToSentryBaggageHeader=eX.dynamicSamplingContextToSentryBaggageHeader,r.parseBaggageHeader=eX.parseBaggageHeader,r.getNumberOfUrlSegments=eQ.getNumberOfUrlSegments,r.getSanitizedUrlString=eQ.getSanitizedUrlString,r.parseUrl=eQ.parseUrl,r.stripUrlQueryAndFragment=eQ.stripUrlQueryAndFragment,r.makeFifoCache=eZ.makeFifoCache,r.eventFromMessage=e0.eventFromMessage,r.eventFromUnknownInput=e0.eventFromUnknownInput,r.exceptionFromError=e0.exceptionFromError,r.parseStackFrames=e0.parseStackFrames,r.callFrameToStackFrame=e1.callFrameToStackFrame,r.watchdogTimer=e1.watchdogTimer,r.LRUMap=e2.LRUMap,r.generatePropagationContext=e3.generatePropagationContext,r.generateSpanId=e3.generateSpanId,r.generateTraceId=e3.generateTraceId,r.vercelWaitUntil=e4.vercelWaitUntil,r.SDK_VERSION=e5.SDK_VERSION,r.getDebugImagesForResources=e6.getDebugImagesForResources,r.getFilenameToDebugIdMap=e6.getFilenameToDebugIdMap,r.escapeStringForRegex=e9.escapeStringForRegex,r.supportsHistory=e8.supportsHistory,r._asyncNullishCoalesce=e7._asyncNullishCoalesce,r._asyncOptionalChain=te._asyncOptionalChain,r._asyncOptionalChainDelete=tt._asyncOptionalChainDelete,r._nullishCoalesce=tr._nullishCoalesce,r._optionalChain=tn._optionalChain,r._optionalChainDelete=ta._optionalChainDelete},871799,(e,t,r)=>{var{_asyncNullishCoalesce:n,_asyncOptionalChain:a,_asyncOptionalChainDelete:o,_nullishCoalesce:i,_optionalChain:s,_optionalChainDelete:l}=e.r(11425);Object.defineProperty(r,"__esModule",{value:!0});let u=e.r(11425),c=u.applyAggregateErrorsToEvent,d=u.getBreadcrumbLogLevelFromHttpStatusCode,_=u.dsnFromString,p=u.dsnToString,E=u.makeDsn,S=u.SentryError,T=u.GLOBAL_OBJ,g=u.getGlobalSingleton,f=u.addConsoleInstrumentationHandler,m=u.addFetchEndInstrumentationHandler,h=u.addFetchInstrumentationHandler,A=u.addGlobalErrorInstrumentationHandler,R=u.addGlobalUnhandledRejectionInstrumentationHandler,I=u.addHandler,y=u.maybeInstrument,N=u.resetInstrumentationHandlers,O=u.triggerHandlers,v=u.isDOMError,b=u.isDOMException,C=u.isElement,M=u.isError,U=u.isErrorEvent,P=u.isEvent,D=u.isInstanceOf,L=u.isParameterizedString,w=u.isPlainObject,B=u.isPrimitive,k=u.isRegExp,x=u.isString,G=u.isSyntheticEvent,F=u.isThenable,V=u.isVueViewModel,H=u.isBrowser,j=u.CONSOLE_LEVELS,Y=u.consoleSandbox,W=u.logger,$=u.originalConsoleMethods,K=u.addContextToFrame,q=u.addExceptionMechanism,z=u.addExceptionTypeValue,J=u.checkOrSetAlreadyCaught,X=u.getEventDescription,Q=u.parseSemver,Z=u.uuid4,ee=u.normalize,et=u.normalizeToSize,er=u.addNonEnumerableProperty,en=u.convertToPlainObject,ea=u.dropUndefinedKeys,eo=u.extractExceptionKeysForMessage,ei=u.fill,es=u.getOriginalFunction,el=u.markFunctionWrapped,eu=u.objectify,ec=u.makePromiseBuffer,ed=u.addNormalizedRequestDataToEvent,e_=u.winterCGHeadersToDict,ep=u.winterCGRequestToRequestData,eE=u.severityLevelFromString,eS=u.validSeverityLevels,eT=u.UNKNOWN_FUNCTION,eg=u.createStackParser,ef=u.getFramesFromEvent,em=u.getFunctionName,eh=u.stackParserFromStackParserOptions,eA=u.stripSentryFramesAndReverse,eR=u.filenameIsInApp,eI=u.node,ey=u.nodeStackLineParser,eN=u.isMatchingPattern,eO=u.safeJoin,ev=u.snipLine,eb=u.stringMatchesSomePattern,eC=u.truncate,eM=u.SyncPromise,eU=u.rejectedSyncPromise,eP=u.resolvedSyncPromise,eD=u.dateTimestampInSeconds,eL=u.timestampInSeconds,ew=u.TRACEPARENT_REGEXP,eB=u.extractTraceparentData,ek=u.generateSentryTraceHeader,ex=u.propagationContextFromHeaders,eG=u.getSDKSource,eF=u.isBrowserBun
508dle,eV=u.MAX_BAGGAGE_STRING_LENGTH,eH=u.SENTRY_BAGGAGE_KEY_PREFIX,ej=u.SENTRY_BAGGAGE_KEY_PREFIX_REGEX,eY=u.baggageHeaderToDynamicSamplingContext,eW=u.dynamicSamplingContextToSentryBaggageHeader,e$=u.parseBaggageHeader,eK=u.addItemToEnvelope,eq=u.createAttachmentEnvelopeItem,ez=u.createEnvelope,eJ=u.createEventEnvelopeHeaders,eX=u.createSpanEnvelopeItem,eQ=u.envelopeContainsItemType,eZ=u.envelopeItemTypeToDataCategory,e0=u.forEachEnvelopeItem,e1=u.getSdkMetadataForEnvelopeHeader,e2=u.parseEnvelope,e3=u.serializeEnvelope,e4=u.createClientReportEnvelope,e5=u.DEFAULT_RETRY_AFTER,e6=u.disabledUntil,e9=u.isRateLimited,e8=u.parseRetryAfterHeader,e7=u.updateRateLimits,te=u.eventFromMessage,tt=u.eventFromUnknownInput,tr=u.exceptionFromError,tn=u.parseStackFrames,ta=u.callFrameToStackFrame,to=u.watchdogTimer,ti=u.LRUMap,ts=u.generatePropagationContext,tl=u.vercelWaitUntil,tu=u.SDK_VERSION,tc=u.getDebugImagesForResources,td=u.getFilenameToDebugIdMap,t_=u.escapeStringForRegex,tp=u.basename,tE=u.dirname,tS=u.isAbsolute,tT=u.join,tg=u.normalizePath,tf=u.relative,tm=u.resolve,th=u.getComponentName,tA=u.getDomElement,tR=u.getLocationHref,tI=u.htmlTreeAsString,ty=u.isNativeFunction,tN=u.supportsDOMError,tO=u.supportsDOMException,tv=u.supportsErrorEvent,tb=u.supportsFetch,tC=u.supportsNativeFetch,tM=u.supportsReferrerPolicy,tU=u.supportsReportingObserver,tP=u._browserPerformanceTimeOriginMode,tD=u.browserPerformanceTimeOrigin,tL=u.supportsHistory,tw=u.dynamicRequire,tB=u.isNodeEnv,tk=u.loadModule,tx=u.flatten,tG=u.memoBuilder,tF=u.arrayify,tV=u.normalizeUrlToBase,tH=u.urlEncode,tj=u.extractPathForTransaction,tY=u.DEFAULT_USER_INCLUDES,tW=u.extractRequestData,t$=u.addRequestDataToEvent,tK=u.BAGGAGE_HEADER_NAME,tq=u.getNumberOfUrlSegments,tz=u.getSanitizedUrlString,tJ=u.parseUrl,tX=u.stripUrlQueryAndFragment,tQ=u.makeFifoCache;r.BAGGAGE_HEADER_NAME=tK,r.CONSOLE_LEVELS=j,r.DEFAULT_RETRY_AFTER=e5,r.DEFAULT_USER_INCLUDES=tY,r.GLOBAL_OBJ=T,r.LRUMap=ti,r.MAX_BAGGAGE_STRING_LENGTH=eV,r.SDK_VERSION=tu,r.SENTRY_BAGGAGE_KEY_PREFIX=eH,r.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=ej,r.SentryError=S,r.SyncPromise=eM,r.TRACEPARENT_REGEXP=ew,r.UNKNOWN_FUNCTION=eT,r._asyncNullishCoalesce=n,r._asyncOptionalChain=a,r._asyncOptionalChainDelete=o,r._browserPerformanceTimeOriginMode=tP,r._nullishCoalesce=i,r._optionalChain=s,r._optionalChainDelete=l,r.addConsoleInstrumentationHandler=f,r.addContextToFrame=K,r.addExceptionMechanism=q,r.addExceptionTypeValue=z,r.addFetchEndInstrumentationHandler=m,r.addFetchInstrumentationHandler=h,r.addGlobalErrorInstrumentationHandler=A,r.addGlobalUnhandledRejectionInstrumentationHandler=R,r.addHandler=I,r.addItemToEnvelope=eK,r.addNonEnumerableProperty=er,r.addNormalizedRequestDataToEvent=ed,r.addRequestDataToEvent=t$,r.applyAggregateErrorsToEvent=c,r.arrayify=tF,r.baggageHeaderToDynamicSamplingContext=eY,r.basename=tp,r.browserPerformanceTimeOrigin=tD,r.callFrameToStackFrame=ta,r.checkOrSetAlreadyCaught=J,r.consoleSandbox=Y,r.convertToPlainObject=en,r.createAttachmentEnvelopeItem=eq,r.createClientReportEnvelope=e4,r.createEnvelope=ez,r.createEventEnvelopeHeaders=eJ,r.createSpanEnvelopeItem=eX,r.createStackParser=eg,r.dateTimestampInSeconds=eD,r.dirname=tE,r.disabledUntil=e6,r.dropUndefinedKeys=ea,r.dsnFromString=_,r.dsnToString=p,r.dynamicRequire=tw,r.dynamicSamplingContextToSentryBaggageHeader=eW,r.envelopeContainsItemType=eQ,r.envelopeItemTypeToDataCategory=eZ,r.escapeStringForRegex=t_,r.eventFromMessage=te,r.eventFromUnknownInput=tt,r.exceptionFromError=tr,r.extractExceptionKeysForMessage=eo,r.extractPathForTransaction=tj,r.extractRequestData=tW,r.extractTraceparentData=eB,r.filenameIsInApp=eR,r.fill=ei,r.flatten=tx,r.forEachEnvelopeItem=e0,r.generatePropagationContext=ts,r.generateSentryTraceHeader=ek,r.getBreadcrumbLogLevelFromHttpStatusCode=d,r.getComponentName=th,r.getDebugImagesForResources=tc,r.getDomElement=tA,r.getEventDescription=X,r.getFilenameToDebugIdMap=td,r.getFramesFromEvent=ef,r.getFunctionName=em,r.getGlobalSingleton=g,r.getLocationHref=tR,r.getNumberOfUrlSegments=tq,r.getOriginalFunction=es,r.getSDKSource=eG,r.getSanitizedUrlString=tz,r.getSdkMetadataForEnvelopeHeader=e1,r.htmlTreeAsString=tI,r.isAbsolute=tS,r.isBrowser=H,r.isBrowserBun
508dle=eF,r.isDOMError=v,r.isDOMException=b,r.isElement=C,r.isError=M,r.isErrorEvent=U,r.isEvent=P,r.isInstanceOf=D,r.isMatchingPattern=eN,r.isNativeFunction=ty,r.isNodeEnv=tB,r.isParameterizedString=L,r.isPlainObject=w,r.isPrimitive=B,r.isRateLimited=e9,r.isRegExp=k,r.isString=x,r.isSyntheticEvent=G,r.isThenable=F,r.isVueViewModel=V,r.join=tT,r.loadModule=tk,r.logger=W,r.makeDsn=E,r.makeFifoCache=tQ,r.makePromiseBuffer=ec,r.markFunctionWrapped=el,r.maybeInstrument=y,r.memoBuilder=tG,r.node=eI,r.nodeStackLineParser=ey,r.normalize=ee,r.normalizePath=tg,r.normalizeToSize=et,r.normalizeUrlToBase=tV,r.objectify=eu,r.originalConsoleMethods=$,r.parseBaggageHeader=e$,r.parseEnvelope=e2,r.parseRetryAfterHeader=e8,r.parseSemver=Q,r.parseStackFrames=tn,r.parseUrl=tJ,r.propagationContextFromHeaders=ex,r.rejectedSyncPromise=eU,r.relative=tf,r.resetInstrumentationHandlers=N,r.resolve=tm,r.resolvedSyncPromise=eP,r.safeJoin=eO,r.serializeEnvelope=e3,r.severityLevelFromString=eE,r.snipLine=ev,r.stackParserFromStackParserOptions=eh,r.stringMatchesSomePattern=eb,r.stripSentryFramesAndReverse=eA,r.stripUrlQueryAndFragment=tX,r.supportsDOMError=tN,r.supportsDOMException=tO,r.supportsErrorEvent=tv,r.supportsFetch=tb,r.supportsHistory=tL,r.supportsNativeFetch=tC,r.supportsReferrerPolicy=tM,r.supportsReportingObserver=tU,r.timestampInSeconds=eL,r.triggerHandlers=O,r.truncate=eC,r.updateRateLimits=e7,r.urlEncode=tH,r.uuid4=Z,r.validSeverityLevels=eS,r.vercelWaitUntil=tl,r.watchdogTimer=to,r.winterCGHeadersToDict=e_,r.winterCGRequestToRequestData=ep},978967,(e,t,r)=>{var n=e.i(7021);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(152065);r.isBuild=function(){return n.default.env.NEXT_PHASE===a.PHASE_PRODUCTION_BUILD}},472991,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.TRANSACTION_ATTR_SENTRY_ROUTE_BACKFILL="sentry.route_backfill",r.TRANSACTION_ATTR_SENTRY_TRACE_BACKFILL="sentry.sentry_trace_backfill",r.TRANSACTION_ATTR_SHOULD_DROP_TRANSACTION="sentry.drop_transaction"},282408,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(472991);r.callDataFetcherTraced=async function(e,t){try{return await e(...t)}catch(e){throw n.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.data_fetcher"}}),e}},r.withErrorInstrumentation=function(e){return async function(...t){try{return await e.apply(this,t)}catch(t){throw n.captureException(t,{mechanism:{handled:!1,type:"auto.function.nextjs.wrapped",data:{function:e.name}}}),t}}},r.withTracedServerSideDataFetcher=function(e,t,r,o){return async function(...r){let i=n.httpRequestToRequestData(t);n.getCurrentScope().setTransactionName(`${o.dataFetchingMethodName} (${o.dataFetcherRouteName})`),n.getIsolationScope().setSDKProcessingMetadata({normalizedRequest:i});let s=n.getActiveSpan();s&&"/_error"!==o.requestedRouteName&&n.getRootSpan(s).setAttribute(a.TRANSACTION_ATTR_SENTRY_ROUTE_BACKFILL,o.requestedRouteName);let{"sentry-trace":l,baggage:u}=n.getTraceData();return{sentryTrace:l,baggage:u,data:await e.apply(this,r)}}}},997152,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(978967),a=e.r(282408);r.wrapGetStaticPropsWithSentry=function(e,t){return new Proxy(e,{apply:async(e,t,r)=>{if(n.isBuild())return e.apply(t,r);let o=a.withErrorInstrumentation(e);return a.callDataFetcherTraced(o,r)}})}},275305,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(978967),a=e.r(282408);r.wrapGetInitialPropsWithSentry=function(e){return new Proxy(e,{apply:async(e,t,r)=>{if(n.isBuild())return e.apply(t,r);let[o]=r,{req:i,res:s}=o,l=a.withErrorInstrumentation(e);if(!i||!s)return l.apply(t,r);{let e=a.withTracedServerSideDataFetcher(l,i,s,{dataFetcherRouteName:o.pathname,requestedRouteName:o.pathname,dataFetchingMethodName:"getInitialProps"}),{data:n,baggage:u,sentryTrace:c}=await e.apply(t,r)??{};return"object"==typeof n&&null!==n&&(c&&(n._sentryTraceData=c),u&&(n._sentryBaggage=u)),n}}})}},364468,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(978967),a=e.r(282408);r.wrapAppGetInitialPropsWithSentry=function(e){return new Proxy(e,{apply:async(e,t,r)=>{if(n.isBuild())return e.apply(t,r);let[o]=r,{req:i,res:s}=o.ctx,l=a.withErrorInstrumentation(e);if(!i||!s)return l.apply(t,r);{let e=a.withTracedServerSideDataFetcher(l,i,s,{dataFetcherRouteName:"/_app",requestedRouteName:o.ctx.pathname,dataFetchingMethodName:"getInitialProps"}),{data:n,sentryTrace:u,baggage:c}=await e.apply(t,r);return"object"==typeof n&&null!==n&&(n.pageProps||(n.pageProps={}),u&&(n.pageProps._sentryTraceData=u),c&&(n.pageProps._sentryBaggage=c)),n}}})}},452523,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(978967),a=e.r(282408);r.wrapDocumentGetInitialPropsWithSentry=function(e){return new Proxy(e,{apply:async(e,t,r)=>{if(n.isBuild())return e.apply(t,r);let[o]=r,{req:i,res:s}=o,l=a.withErrorInstrumentation(e);if(!i||!s)return l.apply(t,r);{let e=a.withTracedServerSideDataFetcher(l,i,s,{dataFetcherRouteName:"/_document",requestedRouteName:o.pathname,dataFetchingMethodName:"getInitialProps"}),{data:n}=await e.apply(t,r);return n}}})}},994787,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(978967),a=e.r(282408);r.wrapErrorGetInitialPropsWithSentry=function(e){return new Proxy(e,{apply:async(e,t,r)=>{if(n.isBuild())return e.apply(t,r);let[o]=r,{req:i,res:s}=o,l=a.withErrorInstrumentation(e);if(!i||!s)return l.apply(t,r);{let e=a.withTracedServerSideDataFetcher(l,i,s,{dataFetcherRouteName:"/_error",requestedRouteName:o.pathname,dataFetchingMethodName:"getInitialProps"}),{data:n,baggage:u,sentryTrace:c}=await e.apply(t,r);return"object"==typeof n&&null!==n&&(c&&(n._sentryTraceData=c),u&&(n._sentryBaggage=u)),n}}})}},92748,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(978967),a=e.r(282408);r.wrapGetServerSidePropsWithSentry=function(e,t){return new Proxy(e,{apply:async(e,r,o)=>{if(n.isBuild())return e.apply(r,o);let[i]=o,{req:s,res:l}=i,u=a.withErrorInstrumentation(e),c=a.withTracedServerSideDataFetcher(u,s,l,{dataFetcherRouteName:t,requestedRouteName:t,dataFetchingMethodName:"getServerSideProps"}),{data:d,baggage:_,sentryTrace:p}=await c.apply(r,o);return"object"==typeof d&&null!==d&&"props"in d&&(p&&(d.props._sentryTraceData=p),_&&(d.props._sentryBaggage=_)),d}})}},846600,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(876210);async function o(){try{a.DEBUG_BUILD&&n.debug.log("Flushing events..."),await n.flush(2e3),a.DEBUG_BUILD&&n.debug.log("Done flushing events")}catch(e){a.DEBUG_BUILD&&n.debug.log("Error while flushing events:\n",e)}}function i(){let e=Symbol.for("__cloudflare-context__");return n.GLOBAL_OBJ[e]?.ctx}function s(e){i()?.waitUntil(e)}function l(){return"function"==typeof i()?.waitUntil}r.cloudflareWaitUntil=s,r.flushSafelyWithTimeout=o,r.isCloudflareWaitUntilAvailable=l,r.waitUntil=function(e){l()?s(e):n.vercelWaitUntil(e)}},198999,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(995183),o=e.r(846600);r.wrapServerComponentWithSentry=function(e,t){return new Proxy(e,{apply:(e,r,i)=>{let s=n.getIsolationScope(),l=t.headers?n.winterCGHeadersToDict(t.headers):void 0;return s.setSDKProcessingMetadata({normalizedRequest:{headers:l}}),n.handleCallbackErrors(()=>e.apply(r,i),e=>{let r=n.getActiveSpan(),{componentRoute:o,componentType:i}=t,l=!0;s.setTransactionName(`${i} Server Component (${o})`),r&&(a.isNotFoundNavigationError(e)?(l=!1,r.setStatus({code:n.SPAN_STATUS_ERROR,message:"not_found"})):a.isRedirectNavigationError(e)?(l=!1,r.setStatus({code:n.SPAN_STATUS_OK})):r.setStatus({code:n.SPAN_STATUS_ERROR,message:"internal_error"})),l&&n.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.server_component"}})},()=>{o.waitUntil(o.flushSafelyWithTimeout())})}})}},82680,e=>{"use strict";function t(e){let t={},r=e.length;for(let n=0;n<r;n++){let r=e[n];
508r&&(t[String(r).toUpperCase().replace(/[-.]/g,"_")]=r)}return t}e.s([],361199),e.i(361199),e.s([],562371),e.i(562371);let r="aws.lambda.invoked_arn",n="db.system",a="db.connection_string",o="db.user",i="db.jdbc.driver_classname",s="db.name",l="db.statement",u="db.operation",c="db.mssql.instance_name",d="db.cassandra.keyspace",_="db.cassandra.page_size",p="db.cassandra.consistency_level",E="db.cassandra.table",S="db.cassandra.idempotence",T="db.cassandra.speculative_execution_count",g="db.cassandra.coordinator.id",f="db.cassandra.coordinator.dc",m="db.hbase.namespace",h="db.redis.database_index",A="db.mongodb.collection",R="db.sql.table",I="exception.type",y="exception.message",N="exception.stacktrace",O="exception.escaped",v="faas.trigger",b="faas.execution",C="faas.document.collection",M="faas.document.operation",U="faas.document.time",P="faas.document.name",D="faas.time",L="faas.cron",w="faas.coldstart",B="faas.invoked_name",k="faas.invoked_provider",x="faas.invoked_region",G="net.transport",F="net.peer.ip",V="net.peer.port",H="net.peer.name",j="net.host.ip",Y="net.host.port",W="net.host.name",$="net.host.connection.type",K="net.host.connection.subtype",q="net.host.carrier.name",z="net.host.carrier.mcc",J="net.host.carrier.mnc",X="net.host.carrier.icc",Q="peer.service",Z="enduser.id",ee="enduser.role",et="enduser.scope",er="thread.id",en="thread.name",ea="code.function",eo="code.namespace",ei="code.filepath",es="code.lineno",el="http.method",eu="http.url",ec="http.target",ed="http.host",e_="http.scheme",ep="http.status_code",eE="http.flavor",eS="http.user_agent",eT="http.request_content_length",eg="http.request_content_length_uncompressed",ef="http.response_content_length",em="http.response_content_length_uncompressed",eh="http.server_name",eA="http.route",eR="http.client_ip",eI="aws.dynamodb.table_names",ey="aws.dynamodb.consumed_capacity",eN="aws.dynamodb.item_collection_metrics",eO="aws.dynamodb.provisioned_read_capacity",ev="aws.dynamodb.provisioned_write_capacity",eb="aws.dynamodb.consistent_read",eC="aws.dynamodb.projection",eM="aws.dynamodb.limit",eU="aws.dynamodb.attributes_to_get",eP="aws.dynamodb.index_name",eD="aws.dynamodb.select",eL="aws.dynamodb.global_secondary_indexes",ew="aws.dynamodb.local_secondary_indexes",eB="aws.dynamodb.exclusive_start_table",ek="aws.dynamodb.table_count",ex="aws.dynamodb.scan_forward",eG="aws.dynamodb.segment",eF="aws.dynamodb.total_segments",eV="aws.dynamodb.count",eH="aws.dynamodb.scanned_count",ej="aws.dynamodb.attribute_definitions",eY="aws.dynamodb.global_secondary_index_updates",eW="messaging.system",e$="messaging.destination",eK="messaging.destination_kind",eq="messaging.temp_destination",ez="messaging.protocol",eJ="messaging.protocol_version",eX="messaging.url",eQ="messaging.message_id",eZ="messaging.conversation_id",e0="messaging.message_payload_size_bytes",e1="messaging.message_payload_compressed_size_bytes",e2="messaging.operation",e3="messaging.consumer_id",e4="messaging.rabbitmq.routing_key",e5="messaging.kafka.message_key",e6="messaging.kafka.consumer_group",e9="messaging.kafka.client_id",e8="messaging.kafka.partition",e7="messaging.kafka.tombstone",te="rpc.system",tt="rpc.service",tr="rpc.method",tn="rpc.grpc.status_code",ta="rpc.jsonrpc.version",to="rpc.jsonrpc.request_id",ti="rpc.jsonrpc.error_code",ts="rpc.jsonrpc.error_message",tl="message.type",tu="message.id",tc="message.compressed_size",td="message.uncompressed_size",t_=t([r,n,a,o,i,s,l,u,c,d,_,p,E,S,T,g,f,m,h,A,R,I,y,N,O,v,b,C,M,U,P,D,L,w,B,k,x,G,F,V,H,j,Y,W,$,K,q,z,J,X,Q,Z,ee,et,er,en,ea,eo,ei,es,el,eu,ec,ed,e_,ep,eE,eS,eT,eg,ef,em,eh,eA,eR,eI,ey,eN,eO,ev,eb,eC,eM,eU,eP,eD,eL,ew,eB,ek,ex,eG,eF,eV,eH,ej,eY,eW,e$,eK,eq,ez,eJ,eX,eQ,eZ,e0,e1,e2,e3,e4,e5,e6,e9,e8,e7,te,tt,tr,tn,ta,to,ti,ts,tl,tu,tc,td]),tp="other_sql",tE="mssql",tS="mysql",tT="oracle",tg="postgresql",tf="redshift",tm="hive",th="cloudscape",tA="hsqldb",tR="progress",tI="maxdb",ty="hanadb",tN="ingres",tO="firstsql",tv="cache",tb="adabas",tC="firebird",tM="derby",tU="filemaker",tP="informix",tD="instantdb",tL="interbase",tw="mariadb",tB="netezza",tk="pervasive",tx="pointbase",tG="sqlite",tF="sybase",tV="teradata",tH="vertica",tj="coldfusion",tY="cassandra",tW="hbase",t$="mongodb",tK="redis",tq="couchbase",tz="couchdb",tJ="cosmosdb",tX="dynamodb",tQ="neo4j",tZ="geode",t0="elasticsearch",t1="memcached",t2="cockroachdb",t3=t([tp,tE,tS,tT,"db2",tg,tf,tm,th,tA,tR,tI,ty,tN,tO,"edb",tv,tb,tC,tM,tU,tP,tD,tL,tw,tB,tk,tx,tG,tF,tV,tH,"h2",tj,tY,tW,t$,tK,tq,tz,tJ,tX,tQ,tZ,t0,t1,t2]),t4="each_quorum",t5="quorum",t6="local_quorum",t9="three",t8="local_one",t7="serial",re="local_serial",rt=t(["all",t4,t5,t6,"one","two",t9,t8,"any",t7,re]),rr="datasource",rn="http",ra="pubsub",ro="timer",ri="other",rs=t([rr,rn,ra,ro,ri]),rl="insert",ru="edit",rc="delete",rd=t([rl,ru,rc]),r_="alibaba_cloud",rp="azure",rE=t([r_,"aws",rp,"gcp"]),rS="ip_tcp",rT="ip_udp",rg="unix",rf="pipe",rm="inproc",rh="other",rA=t([rS,rT,"ip",rg,rf,rm,rh]),rR="wifi",rI="wired",ry="cell",rN="unavailable",rO="unknown",rv=t([rR,rI,ry,rN,rO]),rb="gprs",rC="edge",rM="umts",rU="cdma",rP="evdo_0",rD="evdo_a",rL="cdma2000_1xrtt",rw="hsdpa",rB="hsupa",rk="hspa",rx="iden",rG="evdo_b",rF="ehrpd",rV="hspap",rH="td_scdma",rj="iwlan",rY="nrnsa",rW="lte_ca",r$=t([rb,rC,rM,rU,rP,rD,rL,rw,rB,rk,rx,rG,"lte",rF,rV,"gsm",rH,rj,"nr",rY,rW]),rK="SPDY",rq="QUIC",rz={HTTP_1_0:"1.0",HTTP_1_1:"1.1",HTTP_2_
5080:"2.0",SPDY:rK,QUIC:rq},rJ="queue",rX="topic",rQ=t([rJ,rX]),rZ="receive",r0="process",r1=t([rZ,r0]),r2={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15,UNAUTHENTICATED:16},r3="SENT",r4="RECEIVED",r5=t([r3,r4]);e.s(["DBCASSANDRACONSISTENCYLEVELVALUES_ALL",0,"all","DBCASSANDRACONSISTENCYLEVELVALUES_ANY",0,"any","DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM",0,t4,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE",0,t8,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM",0,t6,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL",0,re,"DBCASSANDRACONSISTENCYLEVELVALUES_ONE",0,"one","DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM",0,t5,"DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL",0,t7,"DBCASSANDRACONSISTENCYLEVELVALUES_THREE",0,t9,"DBCASSANDRACONSISTENCYLEVELVALUES_TWO",0,"two","DBSYSTEMVALUES_ADABAS",0,tb,"DBSYSTEMVALUES_CACHE",0,tv,"DBSYSTEMVALUES_CASSANDRA",0,tY,"DBSYSTEMVALUES_CLOUDSCAPE",0,th,"DBSYSTEMVALUES_COCKROACHDB",0,t2,"DBSYSTEMVALUES_COLDFUSION",0,tj,"DBSYSTEMVALUES_COSMOSDB",0,tJ,"DBSYSTEMVALUES_COUCHBASE",0,tq,"DBSYSTEMVALUES_COUCHDB",0,tz,"DBSYSTEMVALUES_DB2",0,"db2","DBSYSTEMVALUES_DERBY",0,tM,"DBSYSTEMVALUES_DYNAMODB",0,tX,"DBSYSTEMVALUES_EDB",0,"edb","DBSYSTEMVALUES_ELASTICSEARCH",0,t0,"DBSYSTEMVALUES_FILEMAKER",0,tU,"DBSYSTEMVALUES_FIREBIRD",0,tC,"DBSYSTEMVALUES_FIRSTSQL",0,tO,"DBSYSTEMVALUES_GEODE",0,tZ,"DBSYSTEMVALUES_H2",0,"h2","DBSYSTEMVALUES_HANADB",0,ty,"DBSYSTEMVALUES_HBASE",0,tW,"DBSYSTEMVALUES_HIVE",0,tm,"DBSYSTEMVALUES_HSQLDB",0,tA,"DBSYSTEMVALUES_INFORMIX",0,tP,"DBSYSTEMVALUES_INGRES",0,tN,"DBSYSTEMVALUES_INSTANTDB",0,tD,"DBSYSTEMVALUES_INTERBASE",0,tL,"DBSYSTEMVALUES_MARIADB",0,tw,"DBSYSTEMVALUES_MAXDB",0,tI,"DBSYSTEMVALUES_MEMCACHED",0,t1,"DBSYSTEMVALUES_MONGODB",0,t$,"DBSYSTEMVALUES_MSSQL",0,tE,"DBSYSTEMVALUES_MYSQL",0,tS,"DBSYSTEMVALUES_NEO4J",0,tQ,"DBSYSTEMVALUES_NETEZZA",0,tB,"DBSYSTEMVALUES_ORACLE",0,tT,"DBSYSTEMVALUES_OTHER_SQL",0,tp,"DBSYSTEMVALUES_PERVASIVE",0,tk,"DBSYSTEMVALUES_POINTBASE",0,tx,"DBSYSTEMVALUES_POSTGRESQL",0,tg,"DBSYSTEMVALUES_PROGRESS",0,tR,"DBSYSTEMVALUES_REDIS",0,tK,"DBSYSTEMVALUES_REDSHIFT",0,tf,"DBSYSTEMVALUES_SQLITE",0,tG,"DBSYSTEMVALUES_SYBASE",0,tF,"DBSYSTEMVALUES_TERADATA",0,tV,"DBSYSTEMVALUES_VERTICA",0,tH,"DbCassandraConsistencyLevelValues",0,rt,"DbSystemValues",0,t3,"FAASDOCUMENTOPERATIONVALUES_DELETE",0,rc,"FAASDOCUMENTOPERATIONVALUES_EDIT",0,ru,"FAASDOCUMENTOPERATIONVALUES_INSERT",0,rl,"FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD",0,r_,"FAASINVOKEDPROVIDERVALUES_AWS",0,"aws","FAASINVOKEDPROVIDERVALUES_AZURE",0,rp,"FAASINVOKEDPROVIDERVALUES_GCP",0,"gcp","FAASTRIGGERVALUES_DATASOURCE",0,rr,"FAASTRIGGERVALUES_HTTP",0,rn,"FAASTRIGGERVALUES_OTHER",0,ri,"FAASTRIGGERVALUES_PUBSUB",0,ra,"FAASTRIGGERVALUES_TIMER",0,ro,"FaasDocumentOperationValues",0,rd,"FaasInvokedProviderValues",0,rE,"FaasTriggerValues",0,rs,"HTTPFLAVORVALUES_HTTP_1_0",0,"1.0","HTTPFLAVORVALUES_HTTP_1_1",0,"1.1","HTTPFLAVORVALUES_HTTP_2_0",0,"2.0","HTTPFLAVORVALUES_QUIC",0,rq,"HTTPFLAVORVALUES_SPDY",0,rK,"HttpFlavorValues",0,rz,"MESSAGETYPEVALUES_RECEIVED",0,r4,"MESSAGETYPEVALUES_SENT",0,r3,"MESSAGINGDESTINATIONKINDVALUES_QUEUE",0,rJ,"MESSAGINGDESTINATIONKINDVALUES_TOPIC",0,rX,"MESSAGINGOPERATIONVALUES_PROCESS",0,r0,"MESSAGINGOPERATIONVALUES_RECEIVE",0,rZ,"MessageTypeValues",0,r5,"MessagingDestinationKindValues",0,rQ,"MessagingOperationValues",0,r1,"NETHOSTCONNECTIONSUBTYPEVALUES_CDMA",0,rU,"NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT",0,rL,"NETHOSTCONNECTIONSUBTYPEVALUES_EDGE",0,rC,"NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD",0,rF,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0",0,rP,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A",0,rD,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B",0,rG,"NETHOSTCONNECTIONSUBTYPEVALUES_GPRS",0,rb,"NETHOSTCONNECTIONSUBTYPEVALUES_GSM",0,"gsm","NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA",0,rw,"NETHOSTCONNECTIONSUBTYPEVALUES_HSPA",0,rk,"NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP",0,rV,"NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA",0,rB,"NETHOSTCONNECTIONSUBTYPEVALUES_IDEN",0,rx,"NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN",0,rj,"NETHOSTCONNECTIONSUBTYPEVALUES_LTE",0,"lte","NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA",0,rW,"NETHOSTCONNECTIONSUBTYPEVALUES_NR",0,"nr","NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA",0,rY,"NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA",0,rH,"NETHOSTCONNECTIONSUBTYPEVALUES_UMT
508S",0,rM,"NETHOSTCONNECTIONTYPEVALUES_CELL",0,ry,"NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE",0,rN,"NETHOSTCONNECTIONTYPEVALUES_UNKNOWN",0,rO,"NETHOSTCONNECTIONTYPEVALUES_WIFI",0,rR,"NETHOSTCONNECTIONTYPEVALUES_WIRED",0,rI,"NETTRANSPORTVALUES_INPROC",0,rm,"NETTRANSPORTVALUES_IP",0,"ip","NETTRANSPORTVALUES_IP_TCP",0,rS,"NETTRANSPORTVALUES_IP_UDP",0,rT,"NETTRANSPORTVALUES_OTHER",0,rh,"NETTRANSPORTVALUES_PIPE",0,rf,"NETTRANSPORTVALUES_UNIX",0,rg,"NetHostConnectionSubtypeValues",0,r$,"NetHostConnectionTypeValues",0,rv,"NetTransportValues",0,rA,"RPCGRPCSTATUSCODEVALUES_ABORTED",0,10,"RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS",0,6,"RPCGRPCSTATUSCODEVALUES_CANCELLED",0,1,"RPCGRPCSTATUSCODEVALUES_DATA_LOSS",0,15,"RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED",0,4,"RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION",0,9,"RPCGRPCSTATUSCODEVALUES_INTERNAL",0,13,"RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT",0,3,"RPCGRPCSTATUSCODEVALUES_NOT_FOUND",0,5,"RPCGRPCSTATUSCODEVALUES_OK",0,0,"RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE",0,11,"RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED",0,7,"RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED",0,8,"RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED",0,16,"RPCGRPCSTATUSCODEVALUES_UNAVAILABLE",0,14,"RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED",0,12,"RPCGRPCSTATUSCODEVALUES_UNKNOWN",0,2,"RpcGrpcStatusCodeValues",0,r2,"SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET",0,eU,"SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS",0,ej,"
508SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ",0,eb,"SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY",0,ey,"SEMATTRS_AWS_DYNAMODB_COUNT",0,eV,"SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE",0,eB,"SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES",0,eL,"SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES",0,eY,"SEMATTRS_AWS_DYNAMODB_INDEX_NAME",0,eP,"SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS",0,eN,"SEMATTRS_AWS_DYNAMODB_LIMIT",0,eM,"SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES",0,ew,"SEMATTRS_AWS_DYNAMODB_PROJECTION",0,eC,"SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY",0,eO,"SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY",0,ev,"SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT",0,eH,"SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD",0,ex,"SEMATTRS_AWS_DYNAMODB_SEGMENT",0,eG,"SEMATTRS_AWS_DYNAMODB_SELECT",0,eD,"SEMATTRS_AWS_DYNAMODB_TABLE_COUNT",0,ek,"SEMATTRS_AWS_DYNAMODB_TABLE_NAMES",0,eI,"SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS",0,eF,"SEMATTRS_AWS_LAMBDA_INVOKED_ARN",0,r,"SEMATTRS_CODE_FILEPATH",0,ei,"SEMATTRS_CODE_FUNCTION",0,ea,"SEMATTRS_CODE_LINENO",0,es,"SEMATTRS_CODE_NAMESPACE",0,eo,"SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL",0,p,"SEMATTRS_DB_CASSANDRA_COORDINATOR_DC",0,f,"SEMATTRS_DB_CASSANDRA_COORDINATOR_ID",0,g,"SEMATTRS_DB_CASSANDRA_IDEMPOTENCE",0,S,"SEMATTRS_DB_CASSANDRA_KEYSPACE",0,d,"SEMATTRS_DB_CASSANDRA_PAGE_SIZE",0,_,"SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT",0,T,"SEMATTRS_DB_CASSANDRA_TABLE",0,E,"SEMATTRS_DB_CONNECTION_STRING",0,a,"SEMATTRS_DB_HBASE_NAMESPACE",0,m,"SEMATTRS_DB_JDBC_DRIVER_CLASSNAME",0,i,"SEMATTRS_DB_MONGODB_COLLECTION",0,A,"SEMATTRS_DB_MSSQL_INSTANCE_NAME",0,c,"SEMATTRS_DB_NAME",0,s,"SEMATTRS_DB_OPERATION",0,u,"SEMATTRS_DB_REDIS_DATABASE_INDEX",0,h,"SEMATTRS_DB_SQL_TABLE",0,R,"SEMATTRS_DB_STATEMENT",0,l,"SEMATTRS_DB_SYSTEM",0,n,"SEMATTRS_DB_USER",0,o,"SEMATTRS_ENDUSER_ID",0,Z,"SEMATTRS_ENDUSER_ROLE",0,ee,"SEMATTRS_ENDUSER_SCOPE",0,et,"SEMATTRS_EXCEPTION_ESCAPED",0,O,"SEMATTRS_EXCEPTION_MESSAGE",0,y,"SEMATTRS_EXCEPTION_STACKTRACE",0,N,"SEMATTRS_EXCEPTION_TYPE",0,I,"SEMATTRS_FAAS_COLDSTART",0,w,"SEMATTRS_FAAS_CRON",0,L,"SEMATTRS_FAAS_DOCUMENT_COLLECTION",0,C,"SEMATTRS_FAAS_DOCUMENT_NAME",0,P,"SEMATTRS_FAAS_DOCUMENT_OPERATION",0,M,"SEMATTRS_FAAS_DOCUMENT_TIME",0,U,"SEMATTRS_FAAS_EXECUTION",0,b,"SEMATTRS_FAAS_INVOKED_NAME",0,B,"SEMATTRS_FAAS_INVOKED_PROVIDER",0,k,"SEMATTRS_FAAS_INVOKED_REGION",0,x,"SEMATTRS_FAAS_TIME",0,D,"SEMATTRS_FAAS_TRIGGER",0,v,"SEMATTRS_HTTP_CLIENT_IP",0,eR,"SEMATTRS_HTTP_FLAVOR",0,eE,"SEMATTRS_HTTP_HOST",0,ed,"SEMATTRS_HTTP_METHOD",0,el,"SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH",0,eT,"SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED",0,eg,"SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH",0,ef,"SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED",0,em,"SEMATTRS_HTTP_ROUTE",0,eA,"SEMATTRS_HTTP_SCHEME",0,e_,"SEMATTRS_HTTP_SERVER_NAME",0,eh,"SEMATTRS_HTTP_STATUS_CODE",0,ep,"SEMATTRS_HTTP_TARGET",0,ec,"SEMATTRS_HTTP_URL",0,eu,"SEMATTRS_HTTP_USER_AGENT",0,eS,"SEMATTRS_MESSAGE_COMPRESSED_SIZE",0,tc,"SEMATTRS_MESSAGE_ID",0,tu,"SEMATTRS_MESSAGE_TYPE",0,tl,"SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE",0,td,"SEMATTRS_MESSAGING_CONSUMER_ID",0,e3,"SEMATTRS_MESSAGING_CONVERSATION_ID",0,eZ,"SEMATTRS_MESSAGING_DESTINATION",0,e$,"SEMATTRS_MESSAGING_DESTINATION_KIND",0,eK,"SEMATTRS_MESSAGING_KAFKA_CLIENT_ID",0,e9,"SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP",0,e6,"SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY",0,e5,"SEMATTRS_MESSAGING_KAFKA_PARTITION",0,e8,"SEMATTRS_MESSAGING_KAFKA_TOMBSTONE",0,e7,"SEMATTRS_MESSAGING_MESSAGE_ID",0,eQ,"SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES",0,e1,"SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES",0,e0,"SEMATTRS_MESSAGING_OPERATION",0,e2,"SEMATTRS_MESSAGING_PROTOCOL",0,ez,"SEMATTRS_MESSAGING_PROTOCOL_VERSION",0,eJ,"SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY",0,e4,"SEMATTRS_MESSAGING_SYSTEM",0,eW,"SEMATTRS_MESSAGING_TEMP_DESTINATION",0,eq,"SEMATTRS_MESSAGING_URL",0,eX,"SEMATTRS_NET_HOST_CARRIER_ICC",0,X,"SEMATTRS_NET_HOST_CARRIER_MCC",0,z,"SEMATTRS_NET_HOST_CARRIER_MNC",0,J,"SEMATTRS_NET_HOST_CARRIER_NAME",0,q,"SEMATTRS_NET_HOST_CONNECTION_SUBTYPE",0,K,"SEMATTRS_NET_HOST_CONNECTION_TYPE",0,$,"SEMATTRS_NET_HOST_IP",0,j,"SEMATTRS_NET_HOST_NAME",0,W,"SEMATTRS_NET_HOST_PORT",0,Y,"SEMATTRS_NET_PEER_IP",0,F,"SEMATTRS_NET_PEER_NAME",0,H,"SEMATTRS_NET_PEER_PORT",0,V,"SEMATTRS_NET_TRANSPORT",0,G,"SEMATTRS_PEER_SERVICE",0,Q,"SEMATTRS_RPC_GRPC_STATUS_CODE",0,tn,"SEMATTRS_RPC_JSONRPC_ERROR_CODE",0,ti,"SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE",0,ts,"SEMATTRS_RPC_JSONRPC_REQUEST_ID",0,to,"SEMATTRS_RPC_JSONRPC_VERSION",0,ta,"SEMATTRS_RPC_METHOD",0,tr,"SEMATTRS_RPC_SERVICE",0,tt,"SEMATTRS_RPC_SYSTEM",0,te,"SEMATTRS_THREAD_ID",0,er,"SEMATTRS_THREAD_NAME",0,en,"
508SemanticAttributes",0,t_],677163),e.i(677163),e.s(["DBCASSANDRACONSISTENCYLEVELVALUES_ALL",0,"all","DBCASSANDRACONSISTENCYLEVELVALUES_ANY",0,"any","DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM",0,t4,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE",0,t8,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM",0,t6,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL",0,re,"DBCASSANDRACONSISTENCYLEVELVALUES_ONE",0,"one","DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM",0,t5,"DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL",0,t7,"DBCASSANDRACONSISTENCYLEVELVALUES_THREE",0,t9,"DBCASSANDRACONSISTENCYLEVELVALUES_TWO",0,"two","DBSYSTEMVALUES_ADABAS",0,tb,"DBSYSTEMVALUES_CACHE",0,tv,"DBSYSTEMVALUES_CASSANDRA",0,tY,"DBSYSTEMVALUES_CLOUDSCAPE",0,th,"DBSYSTEMVALUES_COCKROACHDB",0,t2,"DBSYSTEMVALUES_COLDFUSION",0,tj,"DBSYSTEMVALUES_COSMOSDB",0,tJ,"DBSYSTEMVALUES_COUCHBASE",0,tq,"DBSYSTEMVALUES_COUCHDB",0,tz,"DBSYSTEMVALUES_DB2",0,"db2","DBSYSTEMVALUES_DERBY",0,tM,"DBSYSTEMVALUES_DYNAMODB",0,tX,"DBSYSTEMVALUES_EDB",0,"edb","DBSYSTEMVALUES_ELASTICSEARCH",0,t0,"DBSYSTEMVALUES_FILEMAKER",0,tU,"DBSYSTEMVALUES_FIREBIRD",0,tC,"DBSYSTEMVALUES_FIRSTSQL",0,tO,"DBSYSTEMVALUES_GEODE",0,tZ,"DBSYSTEMVALUES_H2",0,"h2","DBSYSTEMVALUES_HANADB",0,ty,"DBSYSTEMVALUES_HBASE",0,tW,"DBSYSTEMVALUES_HIVE",0,tm,"DBSYSTEMVALUES_HSQLDB",0,tA,"DBSYSTEMVALUES_INFORMIX",0,tP,"DBSYSTEMVALUES_INGRES",0,tN,"DBSYSTEMVALUES_INSTANTDB",0,tD,"DBSYSTEMVALUES_INTERBASE",0,tL,"DBSYSTEMVALUES_MARIADB",0,tw,"DBSYSTEMVALUES_MAXDB",0,tI,"DBSYSTEMVALUES_MEMCACHED",0,t1,"DBSYSTEMVALUES_MONGODB",0,t$,"DBSYSTEMVALUES_MSSQL",0,tE,"DBSYSTEMVALUES_MYSQL",0,tS,"DBSYSTEMVALUES_NEO4J",0,tQ,"DBSYSTEMVALUES_NETEZZA",0,tB,"DBSYSTEMVALUES_ORACLE",0,tT,"DBSYSTEMVALUES_OTHER_SQL",0,tp,"DBSYSTEMVALUES_PERVASIVE",0,tk,"DBSYSTEMVALUES_POINTBASE",0,tx,"DBSYSTEMVALUES_POSTGRESQL",0,tg,"DBSYSTEMVALUES_PROGRESS",0,tR,"DBSYSTEMVALUES_REDIS",0,tK,"DBSYSTEMVALUES_REDSHIFT",0,tf,"DBSYSTEMVALUES_SQLITE",0,tG,"DBSYSTEMVALUES_SYBASE",0,tF,"DBSYSTEMVALUES_TERADATA",0,tV,"DBSYSTEMVALUES_VERTICA",0,tH,"DbCassandraConsistencyLevelValues",0,rt,"DbSystemValues",0,t3,"FAASDOCUMENTOPERATIONVALUES_DELETE",0,rc,"FAASDOCUMENTOPERATIONVALUES_EDIT",0,ru,"FAASDOCUMENTOPERATIONVALUES_INSERT",0,rl,"FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD",0,r_,"FAASINVOKEDPROVIDERVALUES_AWS",0,"aws","FAASINVOKEDPROVIDERVALUES_AZURE",0,rp,"FAASINVOKEDPROVIDERVALUES_GCP",0,"gcp","FAASTRIGGERVALUES_DATASOURCE",0,rr,"FAASTRIGGERVALUES_HTTP",0,rn,"FAASTRIGGERVALUES_OTHER",0,ri,"FAASTRIGGERVALUES_PUBSUB",0,ra,"FAASTRIGGERVALUES_TIMER",0,ro,"FaasDocumentOperationValues",0,rd,"FaasInvokedProviderValues",0,rE,"FaasTriggerValues",0,rs,"HTTPFLAVORVALUES_HTTP_1_0",0,"1.0","HTTPFLAVORVALUES_HTTP_1_1",0,"1.1","HTTPFLAVORVALUES_HTTP_2_0",0,"2.0","HTTPFLAVORVALUES_QUIC",0,rq,"HTTPFLAVORVALUES_SPDY",0,rK,"HttpFlavorValues",0,rz,"MESSAGETYPEVALUES_RECEIVED",0,r4,"MESSAGETYPEVALUES_SENT",0,r3,"MESSAGINGDESTINATIONKINDVALUES_QUEUE",0,rJ,"MESSAGINGDESTINATIONKINDVALUES_TOPIC",0,rX,"MESSAGINGOPERATIONVALUES_PROCESS",0,r0,"MESSAGINGOPERATIONVALUES_RECEIVE",0,rZ,"MessageTypeValues",0,r5,"MessagingDestinationKindValues",0,rQ,"MessagingOperationValues",0,r1,"NETHOSTCONNECTIONSUBTYPEVALUES_CDMA",0,rU,"NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT",0,rL,"NETHOSTCONNECTIONSUBTYPEVALUES_EDGE",0,rC,"NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD",0,rF,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0",0,rP,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A",0,rD,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B",0,rG,"NETHOSTCONNECTIONSUBTYPEVALUES_GPRS",0,rb,"NETHOSTCONNECTIONSUBTYPEVALUES_GSM",0,"gsm","NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA",0,rw,"NETHOSTCONNECTIONSUBTYPEVALUES_HSPA",0,rk,"NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP",0,rV,"NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA",0,rB,"NETHOSTCONNECTIONSUBTYPEVALUES_IDEN",0,rx,"NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN",0,rj,"NETHOSTCONNECTIONSUBTYPEVALUES_LTE",0,"lte","NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA",0,rW,"NETHOSTCONNECTIONSUBTYPEVALUES_NR",0,"nr","NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA",0,rY,"NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA",0,rH,"NETHOSTCONNECTIONSUBTYPEVALUES_UMTS",0,rM,"NETHOSTCONNECTIONTYPEVALUES_CELL",0,ry,"NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE",0,rN,"NETHOSTCONNECTIONTYPEVALUES_UNKNOWN",0,rO,"NETHOSTCONNECTIONTYPEVALUES_WIFI",0,rR,"NETHOSTCONNECTIONTYPEVALUES_WIRED",0,rI,"NETTRANSPORTVALUES_INPROC",0,rm,"NETTRANSPORTVALUES_IP",0,"ip","NETTRANSPORTVALUES_IP_TCP",0,rS,"NETTRANSPORTVALUES_IP_UDP",0,rT,"NETTRANSPORTVALUES_OTHER",0,rh,"NETTRANSPORTVALUES_PIPE",0,rf,"NETTRANSPORTVALUES_UNIX",0,rg,"NetHostConnectionSubtypeValues",0,r$,"NetHostConnectionTypeValues",0,rv,"NetTransportValues",0,rA,"RPCGRPCSTATUSCODEVALUES_ABORTED",0,10,"RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS",0,6,"RPCGRPCSTATUSCODEVALUES_CA
508NCELLED",0,1,"RPCGRPCSTATUSCODEVALUES_DATA_LOSS",0,15,"RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED",0,4,"RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION",0,9,"RPCGRPCSTATUSCODEVALUES_INTERNAL",0,13,"RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT",0,3,"RPCGRPCSTATUSCODEVALUES_NOT_FOUND",0,5,"RPCGRPCSTATUSCODEVALUES_OK",0,0,"RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE",0,11,"RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED",0,7,"RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED",0,8,"RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED",0,16,"RPCGRPCSTATUSCODEVALUES_UNAVAILABLE",0,14,"RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED",0,12,"RPCGRPCSTATUSCODEVALUES_UNKNOWN",0,2,"RpcGrpcStatusCodeValues",0,r2,"SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET",0,eU,"SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS",0,ej,"SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ",0,eb,"SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY",0,ey,"SEMATTRS_AWS_DYNAMODB_COUNT",0,eV,"SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE",0,eB,"SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES",0,eL,"SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES",0,eY,"SEMATTRS_AWS_DYNAMODB_INDEX_NAME",0,eP,"SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS",0,eN,"SEMATTRS_AWS_DYNAMODB_LIMIT",0,eM,"SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES",0,ew,"SEMATTRS_AWS_DYNAMODB_PROJECTION",0,eC,"SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY",0,eO,"SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY",0,ev,"SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT",0,eH,"SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD",0,ex,"SEMATTRS_AWS_DYNAMODB_SEGMENT",0,eG,"SEMATTRS_AWS_DYNAMODB_SELECT",0,eD,"SEMATTRS_AWS_DYNAMODB_TABLE_COUNT",0,ek,"SEMATTRS_AWS_DYNAMODB_TABLE_NAMES",0,eI,"SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS",0,eF,"SEMATTRS_AWS_LAMBDA_INVOKED_ARN",0,r,"SEMATTRS_CODE_FILEPATH",0,ei,"SEMATTRS_CODE_FUNCTION",0,ea,"SEMATTRS_CODE_LINENO",0,es,"SEMATTRS_CODE_NAMESPACE",0,eo,"SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL",0,p,"SEMATTRS_DB_CASSANDRA_COORDINATOR_DC",0,f,"SEMATTRS_DB_CASSANDRA_COORDINATOR_ID",0,g,"SEMATTRS_DB_CASSANDRA_IDEMPOTENCE",0,S,"SEMATTRS_DB_CASSANDRA_KEYSPACE",0,d,"SEMATTRS_DB_CASSANDRA_PAGE_SIZE",0,_,"SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT",0,T,"SEMATTRS_DB_CASSANDRA_TABLE",0,E,"SEMATTRS_DB_CONNECTION_STRING",0,a,"SEMATTRS_DB_HBASE_NAMESPACE",0,m,"SEMATTRS_DB_JDBC_DRIVER_CLASSNAME",0,i,"SEMATTRS_DB_MONGODB_COLLECTION",0,A,"SEMATTRS_DB_MSSQL_INSTANCE_NAME",0,c,"SEMATTRS_DB_NAME",0,s,"SEMATTRS_DB_OPERATION",0,u,"SEMATTRS_DB_REDIS_DATABASE_INDEX",0,h,"SEMATTRS_DB_SQL_TABLE",0,R,"SEMATTRS_DB_STATEMENT",0,l,"SEMATTRS_DB_SYSTEM",0,n,"SEMATTRS_DB_USER",0,o,"SEMATTRS_ENDUSER_ID",0,Z,"SEMATTRS_ENDUSER_ROLE",0,ee,"SEMATTRS_ENDUSER_SCOPE",0,et,"SEMATTRS_EXCEPTION_ESCAPED",0,O,"SEMATTRS_EXCEPTION_MESSAGE",0,y,"SEMATTRS_EXCEPTION_STACKTRACE",0,N,"SEMATTRS_EXCEPTION_TYPE",0,I,"SEMATTRS_FAAS_COLDSTART",0,w,"SEMATTRS_FAAS_CRON",0,L,"SEMATTRS_FAAS_DOCUMENT_COLLECTION",0,C,"SEMATTRS_FAAS_DOCUMENT_NAME",0,P,"SEMATTRS_FAAS_DOCUMENT_OPERATION",0,M,"SEMATTRS_FAAS_DOCUMENT_TIME",0,U,"SEMATTRS_FAAS_EXECUTION",0,b,"SEMATTRS_FAAS_INVOKED_NAME",0,B,"SEMATTRS_FAAS_INVOKED_PROVIDER",0,k,"SEMATTRS_FAAS_INVOKED_REGION",0,x,"SEMATTRS_FAAS_TIME",0,D,"SEMATTRS_FAAS_TRIGGER",0,v,"SEMATTRS_HTTP_CLIENT_IP",0,eR,"SEMATTRS_HTTP_FLAVOR",0,eE,"SEMATTRS_HTTP_HOST",0,ed,"SEMATTRS_HTTP_METHOD",0,el,"SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH",0,eT,"SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED",0,eg,"SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH",0,ef,"SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED",0,em,"SEMATTRS_HTTP_ROUTE",0,eA,"SEMATTRS_HTTP_SCHEME",0,e_,"SEMATTRS_HTTP_SERVER_NAME",0,eh,"SEMATTRS_HTTP_STATUS_CODE",0,ep,"SEMATTRS_HTTP_TARGET",0,ec,"SEMATTRS_HTTP_URL",0,eu,"SEMATTRS_HTTP_USER_AGENT",0,eS,"SEMATTRS_MESSAGE_COMPRESSED_SIZE",0,tc,"SEMATTRS_MESSAGE_ID",0,tu,"SEMATTRS_MESSAGE_TYPE",0,tl,"SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE",0,td,"SEMATTRS_MESSAGING_CONSUMER_ID",0,e3,"SEMATTRS_MESSAGING_CONVERSATION_ID",0,eZ,"SEMATTRS_MESSAGING_DESTINATION",0,e$,"SEMATTRS_MESSAGING_DESTINATION_KIND",0,eK,"SEMATTRS_MESSAGING_KAFKA_CLIENT_ID",0,e9,"SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP",0,e6,"SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY",0,e5,"SEMATTRS_MESSAGING_KAFKA_PARTITION",0,e8,"SEMATTRS_MESSAGING_KAFKA_TOMBSTONE",0,e7,"SEMATTRS_MESSAGING_MESSAGE_ID",0,eQ,"SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES",0,e1,"SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES",0,e0,"SEMATTRS_MESSAGING_OPERATION",0,e2,"SEMATTRS_MESSAGING_PROTOCOL",0,ez,"SEMATTRS_MESSAGING_PROTOCOL_VERSION",0,eJ,"SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY",0,e4,"SEMATTRS_MESSAGING_SYSTEM",0,eW,"SEMATTRS_MESSAGING_TEMP_DESTINATION",0,eq,"SEMATTRS_MESSAGING_URL",0,eX,"SEMATTRS_NET_HOST_CARRIER_ICC",0,X,"SEMATTRS_NET_HOST_CARRIER_MCC",0,z,"SEMATTRS_NET_HOST_CARRIER_MNC",0,J,"SEMATTRS_NET_HOST_CARRIER_NAME",0,q,"SEMATTRS_NET_HOST_CONNECTION_SUBTYPE",0,K,"SEMATTRS_NET_HOST_CONNECTION_TYPE",0,$,"SEMATTRS_NET_HOST_IP",0,j,"SEMATTRS_NET_HOST_NAME",0,W,"SEMATTRS_NET_HOST_PORT",0,Y,"SEMATTRS_NET_PEER_IP",0,F,"SEMATTRS_NET_PEER_NAME",0,H,"SEMATTRS_NET_PEER_PORT",0,V,"SEMATTRS_NET_TRANSPORT",0,G,"SEMATTRS_PEER_SERVICE",0,Q,"SEMATTRS_RPC_GRPC_STATUS_CODE",0,tn,"SEMATTRS_RPC_JSONRPC_ERROR_CODE",0,ti,"SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE",0,ts,"SEMATTRS_RPC_JSONRPC_REQUEST_ID",0,to,"SEMATTRS_RPC_JSONRPC_VERSION",0,ta,"SEMATTRS_RPC_METHOD",0,tr,"SEMATTRS_RPC_SERVICE",0,tt,"SEMATTRS_RPC_SYSTEM",0,te,"SEMATTRS_THREAD_ID",0,er,"SEMATTRS_THREAD_NAME",0,en,"
508SemanticAttributes",0,t_],27991),e.i(27991),e.s([],602623),e.i(602623);let r6="cloud.provider",r9="cloud.account.id",r8="cloud.region",r7="cloud.availability_zone",ne="cloud.platform",nt="aws.ecs.container.arn",nr="aws.ecs.cluster.arn",nn="aws.ecs.launchtype",na="aws.ecs.task.arn",no="aws.ecs.task.family",ni="aws.ecs.task.revision",ns="aws.eks.cluster.arn",nl="aws.log.group.names",nu="aws.log.group.arns",nc="aws.log.stream.names",nd="aws.log.stream.arns",n_="container.name",np="container.id",nE="container.runtime",nS="container.image.name",nT="container.image.tag",ng="deployment.environment",nf="device.id",nm="device.model.identifier",nh="device.model.name",nA="faas.name",nR="faas.id",nI="faas.version",ny="faas.instance",nN="faas.max_memory",nO="host.id",nv="host.name",nb="host.type",nC="host.arch",nM="host.image.name",nU="host.image.id",nP="host.image.version",nD="k8s.cluster.name",nL="k8s.node.name",nw="k8s.node.uid",nB="k8s.namespace.name",nk="k8s.pod.uid",nx="k8s.pod.name",nG="k8s.container.name",nF="k8s.replicaset.uid",nV="k8s.replicaset.name",nH="k8s.deployment.uid",nj="k8s.deployment.name",nY="k8s.statefulset.uid",nW="k8s.statefulset.name",n$="k8s.daemonset.uid",nK="k8s.daemonset.name",nq="k8s.job.uid",nz="k8s.job.name",nJ="k8s.cronjob.uid",nX="k8s.cronjob.name",nQ="os.type",nZ="os.description",n0="os.name",n1="os.version",n2="process.pid",n3="process.executable.name",n4="process.executable.path",n5="process.command",n6="process.command_line",n9="process.command_args",n8="process.owner",n7="process.runtime.name",ae="process.runtime.version",at="process.runtime.description",ar="service.name",an="service.namespace",aa="service.instance.id",ao="service.version",ai="telemetry.sdk.name",as="telemetry.sdk.language",al="telemetry.sdk.version",au="telemetry.auto.version",ac="webengine.name",ad="webengine.version",a_="webengine.description",ap=t([r6,r9,r8,r7,ne,nt,nr,nn,na,no,ni,ns,nl,nu,nc,nd,n_,np,nE,nS,nT,ng,nf,nm,nh,nA,nR,nI,ny,nN,nO,nv,nb,nC,nM,nU,nP,nD,nL,nw,nB,nk,nx,nG,nF,nV,nH,nj,nY,nW,n$,nK,nq,nz,nJ,nX,nQ,nZ,n0,n1,n2,n3,n4,n5,n6,n9,n8,n7,ae,at,ar,an,aa,ao,ai,as,al,au,ac,ad,a_]),aE="alibaba_cloud",aS="azure",aT=t([aE,"aws",aS,"gcp"]),ag="alibaba_cloud_ecs",af="alibaba_cloud_fc",am="aws_ec2",ah="aws_ecs",aA="aws_eks",aR="aws_lambda",aI="aws_elastic_beanstalk",ay="azure_vm",aN="azure_container_instances",aO="azure_aks",av="azure_functions",ab="azure_app_service",aC="gcp_compute_engine",aM="gcp_cloud_run",aU="gcp_kubernetes_engine",aP="gcp_cloud_functions",aD="gcp_app_engine",aL=t([ag,af,am,ah,aA,aR,aI,ay,aN,aO,av,ab,aC,aM,aU,aP,aD]),aw="fargate",aB=t(["e
508c2",aw]),ak="amd64",ax="arm32",aG="arm64",aF="ia64",aV="ppc32",aH="ppc64",aj=t([ak,ax,aG,aF,aV,aH,"x86"]),aY="windows",aW="linux",a$="darwin",aK="freebsd",aq="netbsd",az="openbsd",aJ="dragonflybsd",aX="hpux",aQ="solaris",aZ="z_os",a0=t([aY,aW,a$,aK,aq,az,aJ,aX,"aix",aQ,aZ]),a1="dotnet",a2="erlang",a3="java",a4="nodejs",a5="python",a6="ruby",a9="webjs",a8=t(["cpp",a1,a2,"go",a3,a4,"php",a5,a6,a9]);e.s(["AWSECSLAUNCHTYPEVALUES_EC2",0,"ec2","AWSECSLAUNCHTYPEVALUES_FARGATE",0,aw,"AwsEcsLaunchtypeValues",0,aB,"CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS",0,ag,"CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC",0,af,"CLOUDPLATFORMVALUES_AWS_EC2",0,am,"CLOUDPLATFORMVALUES_AWS_ECS",0,ah,"CLOUDPLATFORMVALUES_AWS_EKS",0,aA,"CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK",0,aI,"CLOUDPLATFORMVALUES_AWS_LAMBDA",0,aR,"CLOUDPLATFORMVALUES_AZURE_AKS",0,aO,"CLOUDPLATFORMVALUES_AZURE_APP_SERVICE",0,ab,"CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES",0,aN,"CLOUDPLATFORMVALUES_AZURE_FUNCTIONS",0,av,"CLOUDPLATFORMVALUES_AZURE_VM",0,ay,"CLOUDPLATFORMVALUES_GCP_APP_ENGINE",0,aD,"CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS",0,aP,"CLOUDPLATFORMVALUES_GCP_CLOUD_RUN",0,aM,"CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE",0,aC,"CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE",0,aU,"CLOUDPROVIDERVALUES_ALIBABA_CLOUD",0,aE,"CLOUDPROVIDERVALUES_AWS",0,"aws","CLOUDPROVIDERVALUES_AZURE",0,aS,"CLOUDPROVIDERVALUES_GCP",0,"gcp","CloudPlatformValues",0,aL,"CloudProviderValues",0,aT,"HOSTARCHVALUES_AMD64",0,ak,"HOSTARCHVALUES_ARM32",0,ax,"HOSTARCHVALUES_ARM64",0,aG,"HOSTARCHVALUES_IA64",0,aF,"HOSTARCHVALUES_PPC32",0,aV,"HOSTARCHVALUES_PPC64",0,aH,"HOSTARCHVALUES_X86",0,"x86","HostArchValues",0,aj,"OSTYPEVALUES_AIX",0,"aix","OSTYPEVALUES_DARWIN",0,a$,"OSTYPEVALUES_DRAGONFLYBSD",0,aJ,"OSTYPEVALUES_FREEBSD",0,aK,"OSTYPEVALUES_HPUX",0,aX,"OSTYPEVALUES_LINUX",0,aW,"OSTYPEVALUES_NETBSD",0,aq,"OSTYPEVALUES_OPENBSD",0,az,"OSTYPEVALUES_SOLARIS",0,aQ,"OSTYPEVALUES_WINDOWS",0,aY,"OSTYPEVALUES_Z_OS",0,aZ,"OsTypeValues",0,a0,"SEMRESATTRS_AWS_ECS_CLUSTER_ARN",0,nr,"SEMRESATTRS_AWS_ECS_CONTAINER_ARN",0,nt,"SEMRESATTRS_AWS_ECS_LAUNCHTYPE",0,nn,"SEMRESATTRS_AWS_ECS_TASK_ARN",0,na,"SEMRESATTRS_AWS_ECS_TASK_FAMILY",0,no,"SEMRESATTRS_AWS_ECS_TASK_REVISION",0,ni,"SEMRESATTRS_AWS_EKS_CLUSTER_ARN",0,ns,"SEMRESATTRS_AWS_LOG_GROUP_ARNS",0,nu,"SEMRESATTRS_AWS_LOG_GROUP_NAMES",0,nl,"SEMRESATTRS_AWS_LOG_STREAM_ARNS",0,nd,"SEMRESATTRS_AWS_LOG_STREAM_NAMES",0,nc,"SEMRESATTRS_CLOUD_ACCOUNT_ID",0,r9,"SEMRESATTRS_CLOUD_AVAILABILITY_ZONE",0,r7,"SEMRESATTRS_CLOUD_PLATFORM",0,ne,"SEMRESATTRS_CLOUD_PROVIDER",0,r6,"SEMRESATTRS_CLOUD_REGION",0,r8,"SEMRESATTRS_CONTAINER_ID",0,np,"SEMRESATTRS_CONTAINER_IMAGE_NAME",0,nS,"SEMRESATTRS_CONTAINER_IMAGE_TAG",0,nT,"SEMRESATTRS_CONTAINER_NAME",0,n_,"SEMRESATTRS_CONTAINER_RUNTIME",0,nE,"SEMRESATTRS_DEPLOYMENT_ENVIRONMENT",0,ng,"SEMRESATTRS_DEVICE_ID",0,nf,"SEMRESATTRS_DEVICE_MODEL_IDENTIFIER",0,nm,"SEMRESATTRS_DEVICE_MODEL_NAME",0,nh,"SEMRESATTRS_FAAS_ID",0,nR,"SEMRESATTRS_FAAS_INSTANCE",0,ny,"SEMRESATTRS_FAAS_MAX_MEMORY",0,nN,"SEMRESATTRS_FAAS_NAME",0,nA,"SEMRESATTRS_FAAS_VERSION",0,nI,"SEMRESATTRS_HOST_ARCH",0,nC,"SEMRESATTRS_HOST_ID",0,nO,"SEMRESATTRS_HOST_IMAGE_ID",0,nU,"SEMRESATTRS_HOST_IMAGE_NAME",0,nM,"SEMRESATTRS_HOST_IMAGE_VERSION",0,nP,"SEMRESATTRS_HOST_NAME",0,nv,"SEMRESATTRS_HOST_TYPE",0,nb,"SEMRESATTRS_K8S_CLUSTER_NAME",0,nD,"SEMRESATTRS_K8S_CONTAINER_NAME",0,nG,"SEMRESATTRS_K8S_CRONJOB_NAME",0,nX,"SEMRESATTRS_K8S_CRONJOB_UID",0,nJ,"SEMRESATTRS_K8S_DAEMONSET_NAME",0,nK,"SEMRESATTRS_K8S_DAEMONSET_UID",0,n$,"SEMRESATTRS_K8S_DEPLOYMENT_NAME",0,nj,"SEMRESATTRS_K8S_DEPLOYMENT_UID",0,nH,"SEMRESATTRS_K8S_JOB_NAME",0,nz,"SEMRESATTRS_K8S_JOB_UID",0,nq,"SEMRESATTRS_K8S_NAMESPACE_NAME",0,nB,"SEMRESATTRS_K8S_NODE_NAME",0,nL,"SEMRESATTRS_K8S_NODE_UID",0,nw,"SEMRESATTRS_K8S_POD_NAME",0,nx,"SEMRESATTRS_K8S_POD_UID",0,nk,"SEMRESATTRS_K8S_REPLICASET_NAME",0,nV,"SEMRESATTRS_K8S_REPLICASET_UID",0,nF,"SEMRESATTRS_K8S_STATEFULSET_NAME",0,nW,"SEMRESATTRS_K8S_STATEFULSET_UID",0,nY,"SEMRESATTRS_OS_DESCRIPTION",0,nZ,"
508SEMRESATTRS_OS_NAME",0,n0,"SEMRESATTRS_OS_TYPE",0,nQ,"SEMRESATTRS_OS_VERSION",0,n1,"SEMRESATTRS_PROCESS_COMMAND",0,n5,"SEMRESATTRS_PROCESS_COMMAND_ARGS",0,n9,"SEMRESATTRS_PROCESS_COMMAND_LINE",0,n6,"SEMRESATTRS_PROCESS_EXECUTABLE_NAME",0,n3,"SEMRESATTRS_PROCESS_EXECUTABLE_PATH",0,n4,"SEMRESATTRS_PROCESS_OWNER",0,n8,"SEMRESATTRS_PROCESS_PID",0,n2,"SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION",0,at,"SEMRESATTRS_PROCESS_RUNTIME_NAME",0,n7,"SEMRESATTRS_PROCESS_RUNTIME_VERSION",0,ae,"SEMRESATTRS_SERVICE_INSTANCE_ID",0,aa,"SEMRESATTRS_SERVICE_NAME",0,ar,"SEMRESATTRS_SERVICE_NAMESPACE",0,an,"SEMRESATTRS_SERVICE_VERSION",0,ao,"SEMRESATTRS_TELEMETRY_AUTO_VERSION",0,au,"SEMRESATTRS_TELEMETRY_SDK_LANGUAGE",0,as,"SEMRESATTRS_TELEMETRY_SDK_NAME",0,ai,"SEMRESATTRS_TELEMETRY_SDK_VERSION",0,al,"SEMRESATTRS_WEBENGINE_DESCRIPTION",0,a_,"SEMRESATTRS_WEBENGINE_NAME",0,ac,"SEMRESATTRS_WEBENGINE_VERSION",0,ad,"SemanticResourceAttributes",0,ap,"TELEMETRYSDKLANGUAGEVALUES_CPP",0,"cpp","TELEMETRYSDKLANGUAGEVALUES_DOTNET",0,a1,"TELEMETRYSDKLANGUAGEVALUES_ERLANG",0,a2,"TELEMETRYSDKLANGUAGEVALUES_GO",0,"go","TELEMETRYSDKLANGUAGEVALUES_JAVA",0,a3,"TELEMETRYSDKLANGUAGEVALUES_NODEJS",0,a4,"TELEMETRYSDKLANGUAGEVALUES_PHP",0,"php","TELEMETRYSDKLANGUAGEVALUES_PYTHON",0,a5,"TELEMETRYSDKLANGUAGEVALUES_RUBY",0,a6,"TELEMETRYSDKLANGUAGEVALUES_WEBJS",0,a9,"TelemetrySdkLanguageValues",0,a8],246990),e.i(246990),e.s(["AWSECSLAUNCHTYPEVALUES_EC2",0,"ec2","AWSECSLAUNCHTYPEVALUES_FARGATE",0,aw,"AwsEcsLaunchtypeValues",0,aB,"CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS",0,ag,"CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC",0,af,"CLOUDPLATFORMVALUES_AWS_EC2",0,am,"CLOUDPLATFORMVALUES_AWS_ECS",0,ah,"CLOUDPLATFORMVALUES_AWS_EKS",0,aA,"CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK",0,aI,"CLOUDPLATFORMVALUES_AWS_LAMBDA",0,aR,"CLOUDPLATFORMVALUES_AZURE_AKS",0,aO,"CLOUDPLATFORMVALUES_AZURE_APP_SERVICE",0,ab,"CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES",0,aN,"CLOUDPLATFORMVALUES_AZURE_FUNCTIONS",0,av,"CLOUDPLATFORMVALUES_AZURE_VM",0,ay,"CLOUDPLATFORMVALUES_GCP_APP_ENGINE",0,aD,"CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS",0,aP,"CLOUDPLATFORMVALUES_GCP_CLOUD_RUN",0,aM,"CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE",0,aC,"CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE",0,aU,"CLOUDPROVIDERVALUES_ALIBABA_CLOUD",0,aE,"CLOUDPROVIDERVALUES_AWS",0,"aws","CLOUDPROVIDERVALUES_AZURE",0,aS,"CLOUDPROVIDERVALUES_GCP",0,"gcp","CloudPlatformValues",0,aL,"CloudProviderValues",0,aT,"HOSTARCHVALUES_AMD64",0,ak,"HOSTARCHVALUES_ARM32",0,ax,"HOSTARCHVALUES_ARM64",0,aG,"HOSTARCHVALUES_IA64",0,aF,"HOSTARCHVALUES_PPC32",0,aV,"HOSTARCHVALUES_PPC64",0,aH,"HOSTARCHVALUES_X86",0,"x86","HostArchValues",0,aj,"OSTYPEVALUES_AIX",0,"aix","OSTYPEVALUES_DARWIN",0,a$,"OSTYPEVALUES_DRAGONFLYBSD",0,aJ,"OSTYPEVALUES_FREEBSD",0,aK,"OSTYPEVALUES_HPUX",0,aX,"OSTYPEVALUES_LINUX",0,aW,"OSTYPEVALUES_NETBSD",0,aq,"OSTYPEVALUES_OPENBSD",0,az,"OSTYPEVALUES_SOLARIS",0,aQ,"OSTYPEVALUES_WINDOWS",0,aY,"OSTYPEVALUES_Z_OS",0,aZ,"OsTypeValues",0,a0,"SEMRESATTRS_AWS_ECS_CLUSTER_ARN",0,nr,"SEMRESATTRS_AWS_ECS_CONTAINER_ARN",0,nt,"SEMRESATTRS_AWS_ECS_LAUNCHTYPE",0,nn,"SEMRESATTRS_AWS_ECS_TASK_ARN",0,na,"SEMRESATTRS_AWS_ECS_TASK_FAMILY",0,no,"SEMRESATTRS_AWS_ECS_TASK_REVISION",0,ni,"SEMRESATTRS_AWS_EKS_CLUSTER_ARN",0,ns,"SEMRESATTRS_AWS_LOG_GROUP_ARNS",0,nu,"SEMRESATTRS_AWS_LOG_GROUP_NAMES",0,nl,"SEMRESATTRS_AWS_LOG_STREAM_ARNS",0,nd,"SEMRESATTRS_AWS_LOG_STREAM_NAMES",0,nc,"SEMRESATTRS_CLOUD_ACCOUNT_ID",0,r9,"SEMRESATTRS_CLOUD_AVAILABILITY_ZONE",0,r7,"SEMRESATTRS_CLOUD_PLATFORM",0,ne,"SEMRESATTRS_CLOUD_PROVIDER",0,r6,"SEMRESATTRS_CLOUD_REGION",0,r8,"SEMRESATTRS_CONTAINER_ID",0,np,"SEMRESATTRS_CONTAINER_IMAGE_NAME",0,nS,"SEMRESATTRS_CONTAINER_IMAGE_TAG",0,nT,"SEMRESATTRS_CONTAINER_NAME",0,n_,"SEMRESATTRS_CONTAINER_RUNTIME",0,nE,"SEMRESATTRS_DEPLOYMENT_ENVIRONMENT",0,ng,"SEMRESATTRS_DEVICE_ID",0,nf,"SEMRESATTRS_DEVICE_MODEL_IDENTIFIER",0,nm,"SEMRESATTRS_DEVICE_MODEL_NAME",0,nh,"SEMRESATTRS_FAAS_ID",0,nR,"SEMRESATTRS_FAAS_INSTANCE",0,ny,"SEMRESATTRS_FAAS_MAX_MEMORY",0,nN,"SEMRESATTRS_FAAS_NAME",0,nA,"SEMRESATTRS_FAAS_VERSION",0,nI,"SEMRESATTRS_HOST_ARCH",0,nC,"SEMRESATTRS_HOST_ID",0,nO,"SEMRESATTRS_HOST_IMAGE_ID",0,nU,"SEMRESATTRS_HOST_IMAGE_NAME",0,nM,"SEMRESATTRS_HOST_IMAGE_VERSION",0,nP,"SEMRESATTRS_HOST_NAME",0,nv,"SEMRESATTRS_HOST_TYPE",0,nb,"SEMRESATTRS_K8S_CLUSTER_NAME",0,nD,"SEMRESATTRS_K8S_CONTAINER_NAME",0,nG,"SEMRESATTRS_K8S_CRONJOB_NAME",0,nX,"SEMRESATTRS_K8S_CRONJOB_UID",0,nJ,"SEMRESATTRS_K8S_DAEMONSET_NAME",0,nK,"SEMRESATTRS_K8S_DAEMONSET_UID",0,n$,"SEMRESATTRS_K8S_DEPLOYMENT_NAME",0,nj,"SEMRESATTRS_K8S_DEPLOYMENT_UID",0,nH,"SEMRESATTRS_K8S_JOB_NAME",0,nz,"SEMRESATTRS_K8S_JOB_UID",0,nq,"SEMRESATTRS_K8S_NAMESPACE_NAME",0,nB,"SEMRESATTRS_K8S_NODE_NAME",0,nL,"SEMRESATTRS_K8S_NODE_UID",0,nw,"SEMRESATTRS_K8S_POD_NAME",0,nx,"SEMRESATTRS_K8S_POD_UID",0,nk,"SEMRESATTRS_K8S_REPLICASET_NAME",0,nV,"SEMRESATTRS_K8S_REPLICASET_UID",0,nF,"SEMRESATTRS_K8S_STATEFULSET_NAME",0,nW,"SEMRESATTRS_K8S_STATEFULSET_UID",0,nY,"SEMRESATTRS_OS_DESCRIPTION",0,nZ,"
508SEMRESATTRS_OS_NAME",0,n0,"SEMRESATTRS_OS_TYPE",0,nQ,"SEMRESATTRS_OS_VERSION",0,n1,"SEMRESATTRS_PROCESS_COMMAND",0,n5,"SEMRESATTRS_PROCESS_COMMAND_ARGS",0,n9,"SEMRESATTRS_PROCESS_COMMAND_LINE",0,n6,"SEMRESATTRS_PROCESS_EXECUTABLE_NAME",0,n3,"SEMRESATTRS_PROCESS_EXECUTABLE_PATH",0,n4,"SEMRESATTRS_PROCESS_OWNER",0,n8,"SEMRESATTRS_PROCESS_PID",0,n2,"SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION",0,at,"SEMRESATTRS_PROCESS_RUNTIME_NAME",0,n7,"SEMRESATTRS_PROCESS_RUNTIME_VERSION",0,ae,"SEMRESATTRS_SERVICE_INSTANCE_ID",0,aa,"SEMRESATTRS_SERVICE_NAME",0,ar,"SEMRESATTRS_SERVICE_NAMESPACE",0,an,"SEMRESATTRS_SERVICE_VERSION",0,ao,"SEMRESATTRS_TELEMETRY_AUTO_VERSION",0,au,"SEMRESATTRS_TELEMETRY_SDK_LANGUAGE",0,as,"SEMRESATTRS_TELEMETRY_SDK_NAME",0,ai,"SEMRESATTRS_TELEMETRY_SDK_VERSION",0,al,"SEMRESATTRS_WEBENGINE_DESCRIPTION",0,a_,"SEMRESATTRS_WEBENGINE_NAME",0,ac,"SEMRESATTRS_WEBENGINE_VERSION",0,ad,"SemanticResourceAttributes",0,ap,"TELEMETRYSDKLANGUAGEVALUES_CPP",0,"cpp","TELEMETRYSDKLANGUAGEVALUES_DOTNET",0,a1,"TELEMETRYSDKLANGUAGEVALUES_ERLANG",0,a2,"TELEMETRYSDKLANGUAGEVALUES_GO",0,"go","TELEMETRYSDKLANGUAGEVALUES_JAVA",0,a3,"TELEMETRYSDKLANGUAGEVALUES_NODEJS",0,a4,"TELEMETRYSDKLANGUAGEVALUES_PHP",0,"php","TELEMETRYSDKLANGUAGEVALUES_PYTHON",0,a5,"TELEMETRYSDKLANGUAGEVALUES_RUBY",0,a6,"TELEMETRYSDKLANGUAGEVALUES_WEBJS",0,a9,"TelemetrySdkLanguageValues",0,a8],6931),e.i(6931);let a7="aspnetcore.diagnostics.exception.result",oe="aborted",ot="handled",or="skipped",on="unhandled",oa="aspnetcore.diagnostics.handler.type",oo="aspnetcore.rate_limiting.policy",oi="aspnetcore.rate_limiting.result",os="acquired",ol="endpoint_limiter",ou="global_limiter",oc="request_canceled",od="aspnetcore.request.is_unhandled",o_="aspnetcore.routing.is_fallback",op="aspnetcore.routing.match_status",oE="failure",oS="success",oT="aspnetcore.user.is_authenticated",og="client.address",of="client.port",om="code.column.number",oh="code.file.path",oA="code.function.name",oR="code.line.number",oI="code.stacktrace",oy="db.collection.name",oN="db.namespace",oO="db.operation.batch.size",ov="db.operation.name",ob="db.query.summary",oC="db.query.text",oM="db.response.status_code",oU="db.stored_procedure.name",oP="db.system.name",oD="mariadb",oL="microsoft.sql_server",ow="mysql",oB="postgresql",ok="deployment.environment.name",ox="development",oG="production",oF="staging",oV="test",oH="dotnet.gc.heap.generation",oj="gen0",oY="gen1",oW="gen2",o$="error.type",oK="_OTHER",oq="exception.escaped",oz="exception.message",oJ="exception.stacktrace",oX="exception.type",oQ=e=>`http.request.header.${e}`,oZ="http.request.method",o0="_OTHER",o1="CONNECT",o2="DELETE",o3="HEAD",o4="OPTIONS",o5="PATCH",o6="POST",o9="TRACE",o8="http.request.method_original",o7="http.request.resend_count",ie=e=>`http.response.header.${e}`,it="http.response.status_code",ir="http.route",ia="jvm.gc.action",io="jvm.gc.name",ii="jvm.memory.pool.name",is="jvm.memory.type",il="heap",iu="non_heap",ic="jvm.thread.daemon",id="jvm.thread.state",i_="blocked",ip="runnable",iE="terminated",iS="timed_waiting",iT="waiting",ig="network.local.address",im="network.local.port",ih="network.peer.address",iA="network.peer.port",iR="network.protocol.name",iI="network.protocol.version",iy="network.transport",iN="pipe",iO="quic",iv="unix",ib="network.type",iC="ipv4",iM="ipv6",iU="otel.event.name",iP="otel.scope.name",iD="otel.scope.version",iL="otel.status_code",iw="ERROR",iB="otel.status_description",ik="server.address",ix="server.port",iG="service.instance.id",iF="service.name",iV="service.namespace",iH="service.version",ij="signalr.connection.status",iY="app_shutdown",iW="normal_closure",i$="timeout",iK="signalr.transport",iq="long_polling",iz="server_sent_events",iJ="web_sockets",iX="telemetry.distro.name",iQ="telemetry.distro.version",iZ="telemetry.sdk.language",i0="dotnet",i1="erlang",i2="java",i3="nodejs",i4="python",i5="ruby",i6="rust",i9="swift",i8="webjs",i7="telemetry.sdk.name",se="telemetry.sdk.version",st="url.fragment",sr="url.full",sn="url.path",sa="url.query",so="url.scheme",si="user_agent.original";e.s(["ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED",0,oe,"ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED",0,ot,"ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED",0,or,"ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED",0,on,"ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED",0,os,"ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER",0,ol,"ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER",0,ou,"ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED",0,oc,"ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE",0,oE,"ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS",0,oS,"ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT",0,a7,"ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE",0,oa,"ATTR_ASPNETCORE_RATE_LIMITING_POLICY",0,oo,"ATTR_ASPNETCORE_RATE_LIMITING_RESULT",0,oi,"ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED",0,od,"ATTR_ASPNETCORE_ROUTING_IS_FALLBACK",0,o_,"ATTR_ASPNETCORE_ROUTING_MATCH_STATUS",0,op,"ATTR_ASPNETCORE_USER_IS_AUTHENTICATED",0,oT,"ATTR_CLIENT_ADDRESS",0,og,"ATTR_CLIENT_PORT",0,of,"ATTR_CODE_COLUMN_NUMBER",0,om,"ATTR_CODE_FILE_PATH",0,oh,"ATTR_CODE_FUNCTION_NAME",0,oA,"ATTR_CODE_LINE_NUMBER",0,oR,"ATTR_CODE_STACKTRACE",0,oI,"ATTR_DB_COLLECTION_NAME",0,oy,"ATTR_DB_NAMESPACE",0,oN,"ATTR_DB_OPERATION_BATCH_SIZE",0,oO,"ATTR_DB_OPERATION_NAME",0,ov,"ATTR_DB_QUERY_SUMMARY",0,ob,"ATTR_DB_QUERY_TEXT",0,oC,"ATTR_DB_RESPONSE_STATUS_CODE",0,oM,"ATTR_DB_STORED_PROCEDURE_NAME",0,oU,"ATTR_DB_SYSTEM_NAME",0,oP,"ATTR_DEPLOYMENT_ENVIRONMENT_NAME",0,ok,"ATTR_DOTNET_GC_HEAP_GENERATION",0,oH,"ATTR_ERROR_TYPE",0,o$,"ATTR_EXCEPTION_ESCAPED",0,oq,"ATTR_EXCEPTION_MESSAGE",0,oz,"ATTR_EXCEPTION_STACKTRACE",0,oJ,"ATTR_EXCEPTION_TYPE",0,oX,"ATTR_HTTP_REQUEST_HEADER",0,oQ,"ATTR_HTTP_REQUEST_METHOD",0,oZ,"ATTR_HTTP_REQUEST_METHOD_ORIGINAL",0,o8,"ATTR_HTTP_REQUEST_RESEND_COUNT",0,o7,"ATTR_HTTP_RESPONSE_HEADER",0,ie,"ATTR_HTTP_RESPONSE_STATUS_CODE",0,it,"ATTR_HTTP_ROUTE",0,ir,"ATTR_JVM_GC_ACTION",0,ia,"ATTR_JVM_GC_NAME",0,io,"ATTR_JVM_MEMORY_POOL_NAME",0,ii,"ATTR_JVM_MEMORY_TYPE",0,is,"ATTR_JVM_THREAD_DAEMON",0,ic,"ATTR_JVM_THREAD_STATE",0,id,"ATTR_NETWORK_LOCAL_ADDRESS",0,ig,"ATTR_NETWORK_LOCAL_PORT",0,im,"ATTR_NETWORK_PEER_ADDRESS",0,ih,"ATTR_NETWORK_PEER_PORT",0,iA,"ATTR_NETWORK_PROTOCOL_NAME",0,iR,"ATTR_NETWORK_PROTOCOL_VERSION",0,i
508I,"ATTR_NETWORK_TRANSPORT",0,iy,"ATTR_NETWORK_TYPE",0,ib,"ATTR_OTEL_EVENT_NAME",0,iU,"ATTR_OTEL_SCOPE_NAME",0,iP,"ATTR_OTEL_SCOPE_VERSION",0,iD,"ATTR_OTEL_STATUS_CODE",0,iL,"ATTR_OTEL_STATUS_DESCRIPTION",0,iB,"ATTR_SERVER_ADDRESS",0,ik,"ATTR_SERVER_PORT",0,ix,"ATTR_SERVICE_INSTANCE_ID",0,iG,"ATTR_SERVICE_NAME",0,iF,"ATTR_SERVICE_NAMESPACE",0,iV,"ATTR_SERVICE_VERSION",0,iH,"ATTR_SIGNALR_CONNECTION_STATUS",0,ij,"ATTR_SIGNALR_TRANSPORT",0,iK,"ATTR_TELEMETRY_DISTRO_NAME",0,iX,"ATTR_TELEMETRY_DISTRO_VERSION",0,iQ,"ATTR_TELEMETRY_SDK_LANGUAGE",0,iZ,"ATTR_TELEMETRY_SDK_NAME",0,i7,"ATTR_TELEMETRY_SDK_VERSION",0,se,"ATTR_URL_FRAGMENT",0,st,"ATTR_URL_FULL",0,sr,"ATTR_URL_PATH",0,sn,"ATTR_URL_QUERY",0,sa,"ATTR_URL_SCHEME",0,so,"ATTR_USER_AGENT_ORIGINAL",0,si,"DB_SYSTEM_NAME_VALUE_MARIADB",0,oD,"DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER",0,oL,"DB_SYSTEM_NAME_VALUE_MYSQL",0,ow,"DB_SYSTEM_NAME_VALUE_POSTGRESQL",0,oB,"DEPLOYMENT_ENVIRONMENT_NAME_VALUE_DEVELOPMENT",0,ox,"DEPLOYMENT_ENVIRONMENT_NAME_VALUE_PRODUCTION",0,oG,"DEPLOYMENT_ENVIRONMENT_NAME_VALUE_STAGING",0,oF,"DEPLOYMENT_ENVIRONMENT_NAME_VALUE_TEST",0,oV,"DOTNET_GC_HEAP_GENERATION_VALUE_GEN0",0,oj,"DOTNET_GC_HEAP_GENERATION_VALUE_GEN1",0,oY,"DOTNET_GC_HEAP_GENERATION_VALUE_GEN2",0,oW,"DOTNET_GC_HEAP_GENERATION_VALUE_LOH",0,"loh","DOTNET_GC_HEAP_GENERATION_VALUE_POH",0,"poh","ERROR_TYPE_VALUE_OTHER",0,oK,"HTTP_REQUEST_METHOD_VALUE_CONNECT",0,o1,"HTTP_REQUEST_METHOD_VALUE_DELETE",0,o2,"HTTP_REQUEST_METHOD_VALUE_GET",0,"GET","HTTP_REQUEST_METHOD_VALUE_HEAD",0,o3,"HTTP_REQUEST_METHOD_VALUE_OPTIONS",0,o4,"HTTP_REQUEST_METHOD_VALUE_OTHER",0,o0,"HTTP_REQUEST_METHOD_VALUE_PATCH",0,o5,"HTTP_REQUEST_METHOD_VALUE_POST",0,o6,"HTTP_REQUEST_METHOD_VALUE_PUT",0,"PUT","HTTP_REQUEST_METHOD_VALUE_TRACE",0,o9,"JVM_MEMORY_TYPE_VALUE_HEAP",0,il,"JVM_MEMORY_TYPE_VALUE_NON_HEAP",0,iu,"JVM_THREAD_STATE_VALUE_BLOCKED",0,i_,"JVM_THREAD_STATE_VALUE_NEW",0,"new","JVM_THREAD_STATE_VALUE_RUNNABLE",0,ip,"JVM_THREAD_STATE_VALUE_TERMINATED",0,iE,"JVM_THREAD_STATE_VALUE_TIMED_WAITING",0,iS,"JVM_THREAD_STATE_VALUE_WAITING",0,iT,"NETWORK_TRANSPORT_VALUE_PIPE",0,iN,"NETWORK_TRANSPORT_VALUE_QUIC",0,iO,"NETWORK_TRANSPORT_VALUE_TCP",0,"tcp","NETWORK_TRANSPORT_VALUE_UDP",0,"udp","NETWORK_TRANSPORT_VALUE_UNIX",0,iv,"NETWORK_TYPE_VALUE_IPV4",0,iC,"NETWORK_TYPE_VALUE_IPV6",0,iM,"OTEL_STATUS_CODE_VALUE_ERROR",0,iw,"OTEL_STATUS_CODE_VALUE_OK",0,"OK","SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN",0,iY,"SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE",0,iW,"SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT",0,i$,"SIGNALR_TRANSPORT_VALUE_LONG_POLLING",0,iq,"SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS",0,iz,"SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS",0,iJ,"TELEMETRY_SDK_LANGUAGE_VALUE_CPP",0,"cpp","TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET",0,i0,"TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG",0,i1,"TELEMETRY_SDK_LANGUAGE_VALUE_GO",0,"go","TELEMETRY_SDK_LANGUAGE_VALUE_JAVA",0,i2,"TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS",0,i3,"TELEMETRY_SDK_LANGUAGE_VALUE_PHP",0,"php","TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON",0,i4,"TELEMETRY_SDK_LANGUAGE_VALUE_RUBY",0,i5,"TELEMETRY_SDK_LANGUAGE_VALUE_RUST",0,i6,"TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT",0,i9,"TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS",0,i8],367289),e.i(367289);let ss="aspnetcore.diagnostics.exceptions",sl="aspnetcore.rate_limiting.active_request_leases",su="aspnetcore.rate_limiting.queued_requests",sc="aspnetcore.rate_limiting.request.time_in_queue",sd="aspnetcore.rate_limiting.request_lease.duration",s_="aspnetcore.rate_limiting.requests",sp="aspnetcore.routing.match_attempts",sE="db.client.operation.duration",sS="dotnet.assembly.count",sT="dotnet.exceptions",sg="dotnet.gc.collections",sf="dotnet.gc.heap.total_allocated",sm="dotnet.gc.last_collection.heap.fragmentation.size",sh="dotnet.gc.last_collection.heap.size",sA="dotnet.gc.last_collection.memory.committed_size",sR="dotnet.gc.pause.time",sI="dotnet.jit.compilation.time",sy="dotnet.jit.compiled_il.size",sN="dotnet.jit.compiled_methods",sO="dotnet.monitor.lock_contentions",sv="dotnet.process.cpu.count",sb="dotnet.process.cpu.time",sC="dotnet.process.memory.working_set",sM="dotnet.thread_pool.queue.length",sU="dotnet.thread_pool.thread.count",sP="dotnet.thread_pool.work_item.count",sD="dotnet.timer.count",sL="http.client.request.duration",sw="http.server.request.duration",sB="jvm.class.count",sk="jvm.class.loaded",sx="jvm.class.unloaded",sG="jvm.cpu.count",sF="jvm.cpu.recent_utilization",sV="jvm.cpu.time",sH="jvm.gc.duration",sj="jvm.memory.committed",sY="jvm.memory.limit",sW="jvm.memory.used",s$="jvm.memory.used_after_last_gc",sK="jvm.thread.count",sq="kestrel.active_connections",sz="kestrel.active_tls_handshakes",sJ="kestrel.connection.duration",sX="kestrel.queued_connections",sQ="kestrel.queued_requests",sZ="kestrel.rejected_connections",s0="kestrel.tls_handshake.duration",s1="kestrel.upgraded_connections",s2="signalr.server.active_connections",s3="signalr.server.connection.duration";e.s(["METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS",0,ss,"METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES",0,sl,"METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS",0,su,"METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS",0,s_,"METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION",0,sd,"METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE",0,sc,"METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS",0,sp,"METRIC_DB_CLIENT_OPERATION_DURATION",0,sE,"METRIC_DOTNET_ASSEMBLY_COUNT",0,sS,"METRIC_DOTNET_EXCEPTIONS",0,sT,"METRIC_DOTNET_GC_COLLECTIONS",0,sg,"METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED",0,sf,"METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE",0,sm,"METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE",0,sh,"METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE",0,sA,"METRIC_DOTNET_GC_PAUSE_TIME",0,sR,"METRIC_DOTNET_JIT_COMPILATION_TIME",0,sI,"METRIC_DOTNET_JIT_COMPILED_IL_SIZE",0,sy,"METRIC_DOTNET_JIT_COMPILED_METHODS",0,sN,"METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS",0,sO,"METRIC_DOTNET_PROCESS_CPU_COUNT",0,sv,"METRIC_DOTNET_PROCESS_CPU_TIME",0,sb,"METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET",0,sC,"METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH",0,sM,"METRIC_DOTNET_THREAD_POOL_THREAD_COUNT",0,sU,"METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT",0,sP,"METRIC_DOTNET_TIMER_COUNT",0,sD,"METRIC_HTTP_CLIENT_REQUEST_DURATION",0,sL,"METRIC_HTTP_SERVER_REQUEST_DURATION",0,sw,"METRIC_JVM_CLASS_COUNT",0,sB,"METRIC_JVM_CLASS_LOADED",0,sk,"METRIC_JVM_CLASS_UNLOADED",0,sx,"METRIC_JVM_CPU_COUNT",0,sG,"METRIC_JVM_CPU_RECENT_UTILIZATION",0,sF,"METRIC_JVM_CPU_TIME",0,sV,"METRIC_JVM_GC_DURATION",0,sH,"METRIC_JVM_MEMORY_COMMITTED",0,sj,"METRIC_JVM_MEMORY_LIMIT",0,sY,"METRIC_JVM_MEMORY_USED",0,sW,"METRIC_JVM_MEMORY_USED_AFTER_LAST_GC",0,s$,"METRIC_JVM_THREAD_COUNT",0,sK,"METRIC_KESTREL_ACTIVE_CONNECTIONS",0,sq,"METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES",0,sz,"METRIC_KESTREL_CONNECTION_DURATION",0,sJ,"METRIC_KESTREL_QUEUED_CONNECTIONS",0,sX,"METRIC_KESTREL_QUEUED_REQUESTS",0,sQ,"METRIC_KESTREL_REJECTED_CONNECTIONS",0,sZ,"METRIC_KESTREL_TLS_HANDSHAKE_DURATION",0,s0,"METRIC_KESTREL_UPGRADED_CONNECTIONS",0,s1,"METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS",0,s2,"METRIC_SIGNALR_SERVER_CONNECTION_DURATION",0,s3],536426),e.i(536426);let s4="exception";e.s(["EVENT_EXCEPTION",0,s4],908114),e.i(908114),e.s(["ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED",0,oe,"ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED",0,ot,"ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED",0,or,"ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED",0,on,"ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED",0,os,"ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER",0,ol,"ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER",0,ou,"ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED",0,oc,"ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE",0,oE,"ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS",0,oS,"ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT",0,a7,"ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE",0,oa,"ATTR_ASPNETCORE_RATE_LIMITING_POLICY",0,oo,"ATTR_ASPNETCORE_RATE_LIMITING_RESULT",0,oi,"ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED",0,od,"ATTR_ASPNETCORE_ROUTING_IS_FALLBACK",0,o_,"ATTR_ASPNETCORE_ROUTING_MATCH_STATUS",0,op,"ATTR_ASPNETCORE_USER_IS_AUTHENTICATED",0,oT,"ATTR_CLIENT_ADDRESS",0,og,"ATTR_CLIENT_PORT",0,of,"ATTR_CODE_COLUMN_NUMBER",0,om,"ATTR_CODE_FILE_PATH",0,oh,"ATTR_CODE_FUNCTION_NAME",0,oA,"ATTR_CODE_LINE_NUMBER",0,oR,"ATTR_CODE_STACKTRACE",0,oI,"ATTR_DB_COLLECTION_NAME",0,oy,"ATTR_DB_NAMESPACE",0,oN,"ATTR_DB_OPERATION_BATCH_SIZE",0,oO,"ATTR_DB_OPERATION_NAME",0,ov,"ATTR_DB_QUERY_SUMMARY",0,ob,"ATTR_DB_QUERY_TEXT",0,oC,"ATTR_DB_RESPONSE_STATUS_CODE",0,oM,"ATTR_DB_STORED_PROCEDURE_NAME",0,oU,"ATTR_DB_SYSTEM_NAME",0,oP,"ATTR_DEPLOYMENT_ENVIRONMENT_NAME",0,ok,"ATTR_DOTNET_GC_HEAP_GENERATION",0,oH,"ATTR_ERROR_TYPE",0,o$,"ATTR_EXCEPTION_ESCAPED",0,oq,"ATTR_EXCEPTION_MESSAGE",0,oz,"ATTR_EXCEPTION_STACKTRACE",0,oJ,"ATTR_EXCEPTION_TYPE",0,oX,"ATTR_HTTP_REQUEST_HEADER",0,oQ,"ATTR_HTTP_REQUEST_METHOD",0,oZ,"ATTR_HTTP_REQUEST_METHOD_ORIGINAL",0,o8,"ATTR_HTTP_REQUEST_RESEND_COUNT",0,o7,"ATTR_HTTP_RESPONSE_HEADER",0,ie,"ATTR_HTTP_RESPONSE_STATUS_CODE",0,it,"ATTR_HTTP_ROUTE",0,ir,"ATTR_JVM_GC_ACTION",0,ia,"ATTR_JVM_GC_NAME",0,io,"ATTR_JVM_MEMORY_POOL_NAME",0,ii,"ATTR_JVM_MEMORY_TYPE",0,is,"ATTR_JVM_THREAD_DAEMON",0,ic,"ATTR_JVM_THREAD_STATE",0,id,"ATTR_NETWORK_LOCAL_ADDRESS",0,ig,"ATTR_NETWORK_LOCAL_PORT",0,im,"ATTR_NETWORK_PEER_ADDRESS",0,ih,"ATTR_NETWORK_PEER_PORT",0,iA,"ATTR_NETWORK_PROTOCOL_NAME",0,iR,"ATTR_NETWORK_PROTOCOL_VERSION",0,i
508I,"ATTR_NETWORK_TRANSPORT",0,iy,"ATTR_NETWORK_TYPE",0,ib,"ATTR_OTEL_EVENT_NAME",0,iU,"ATTR_OTEL_SCOPE_NAME",0,iP,"ATTR_OTEL_SCOPE_VERSION",0,iD,"ATTR_OTEL_STATUS_CODE",0,iL,"ATTR_OTEL_STATUS_DESCRIPTION",0,iB,"ATTR_SERVER_ADDRESS",0,ik,"ATTR_SERVER_PORT",0,ix,"ATTR_SERVICE_INSTANCE_ID",0,iG,"ATTR_SERVICE_NAME",0,iF,"ATTR_SERVICE_NAMESPACE",0,iV,"ATTR_SERVICE_VERSION",0,iH,"ATTR_SIGNALR_CONNECTION_STATUS",0,ij,"ATTR_SIGNALR_TRANSPORT",0,iK,"ATTR_TELEMETRY_DISTRO_NAME",0,iX,"ATTR_TELEMETRY_DISTRO_VERSION",0,iQ,"ATTR_TELEMETRY_SDK_LANGUAGE",0,iZ,"ATTR_TELEMETRY_SDK_NAME",0,i7,"ATTR_TELEMETRY_SDK_VERSION",0,se,"ATTR_URL_FRAGMENT",0,st,"ATTR_URL_FULL",0,sr,"ATTR_URL_PATH",0,sn,"ATTR_URL_QUERY",0,sa,"ATTR_URL_SCHEME",0,so,"ATTR_USER_AGENT_ORIGINAL",0,si,"AWSECSLAUNCHTYPEVALUES_EC2",0,"ec2","AWSECSLAUNCHTYPEVALUES_FARGATE",0,aw,"AwsEcsLaunchtypeValues",0,aB,"CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS",0,ag,"CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC",0,af,"CLOUDPLATFORMVALUES_AWS_EC2",0,am,"CLOUDPLATFORMVALUES_AWS_ECS",0,ah,"CLOUDPLATFORMVALUES_AWS_EKS",0,aA,"CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK",0,aI,"CLOUDPLATFORMVALUES_AWS_LAMBDA",0,aR,"CLOUDPLATFORMVALUES_AZURE_AKS",0,aO,"CLOUDPLATFORMVALUES_AZURE_APP_SERVICE",0,ab,"CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES",0,aN,"CLOUDPLATFORMVALUES_AZURE_FUNCTIONS",0,av,"CLOUDPLATFORMVALUES_AZURE_VM",0,ay,"CLOUDPLATFORMVALUES_GCP_APP_ENGINE",0,aD,"CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS",0,aP,"CLOUDPLATFORMVALUES_GCP_CLOUD_RUN",0,aM,"CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE",0,aC,"CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE",0,aU,"CLOUDPROVIDERVALUES_ALIBABA_CLOUD",0,aE,"CLOUDPROVIDERVALUES_AWS",0,"aws","CLOUDPROVIDERVALUES_AZURE",0,aS,"CLOUDPROVIDERVALUES_GCP",0,"gcp","CloudPlatformValues",0,aL,"CloudProviderValues",0,aT,"DBCASSANDRACONSISTENCYLEVELVALUES_ALL",0,"all","DBCASSANDRACONSISTENCYLEVELVALUES_ANY",0,"any","DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM",0,t4,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE",0,t8,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM",0,t6,"DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL",0,re,"DBCASSANDRACONSISTENCYLEVELVALUES_ONE",0,"one","DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM",0,t5,"DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL",0,t7,"DBCASSANDRACONSISTENCYLEVELVALUES_THREE",0,t9,"DBCASSANDRACONSISTENCYLEVELVALUES_TWO",0,"two","DBSYSTEMVALUES_ADABAS",0,tb,"DBSYSTEMVALUES_CACHE",0,tv,"DBSYSTEMVALUES_CASSANDRA",0,tY,"DBSYSTEMVALUES_CLOUDSCAPE",0,th,"DBSYSTEMVALUES_COCKROACHDB",0,t2,"DBSYSTEMVALUES_COLDFUSION",0,tj,"DBSYSTEMVALUES_COSMOSDB",0,tJ,"DBSYSTEMVALUES_COUCHBASE",0,tq,"DBSYSTEMVALUES_COUCHDB",0,tz,"DBSYSTEMVALUES_DB2",0,"db2","DBSYSTEMVALUES_DERBY",0,tM,"DBSYSTEMVALUES_DYNAMODB",0,tX,"DBSYSTEMVALUES_EDB",0,"edb","DBSYSTEMVALUES_ELASTICSEARCH",0,t0,"DBSYSTEMVALUES_FILEMAKER",0,tU,"DBSYSTEMVALUES_FIREBIRD",0,tC,"DBSYSTEMVALUES_FIRSTSQL",0,tO,"DBSYSTEMVALUES_GEODE",0,tZ,"DBSYSTEMVALUES_H2",0,"h2","DBSYSTEMVALUES_HANADB",0,ty,"DBSYSTEMVALUES_HBASE",0,tW,"DBSYSTEMVALUES_HIVE",0,tm,"DBSYSTEMVALUES_HSQLDB",0,tA,"DBSYSTEMVALUES_INFORMIX",0,tP,"DBSYSTEMVALUES_INGRES",0,tN,"DBSYSTEMVALUES_INSTANTDB",0,tD,"DBSYSTEMVALUES_INTERBASE",0,tL,"DBSYSTEMVALUES_MARIADB",0,tw,"DBSYSTEMVALUES_MAXDB",0,tI,"DBSYSTEMVALUES_MEMCACHED",0,t1,"DBSYSTEMVALUES_MONGODB",0,t$,"DBSYSTEMVALUES_MSSQL",0,tE,"DBSYSTEMVALUES_MYSQL",0,tS,"DBSYSTEMVALUES_NEO4J",0,tQ,"DBSYSTEMVALUES_NETEZZA",0,tB,"DBSYSTEMVALUES_ORACLE",0,tT,"DBSYSTEMVALUES_OTHER_SQL",0,tp,"DBSYSTEMVALUES_PERVASIVE",0,tk,"DBSYSTEMVALUES_POINTBASE",0,tx,"DBSYSTEMVALUES_POSTGRESQL",0,tg,"DBSYSTEMVALUES_PROGRESS",0,tR,"DBSYSTEMVALUES_REDIS",0,tK,"DBSYSTEMVALUES_REDSHIFT",0,tf,"DBSYSTEMVALUES_SQLITE",0,tG,"DBSYSTEMVALUES_SYBASE",0,tF,"DBSYSTEMVALUES_TERADATA",0,tV,"DBSYSTEMVALUES_VERTICA",0,tH,"DB_SYSTEM_NAME_VALUE_MARIADB",0,oD,"DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER",0,oL,"DB_SYSTEM_NAME_VALUE_MYSQL",0,ow,"DB_SYSTEM_NAME_VALUE_POSTGRESQL",0,oB,"DEPLOYMENT_ENVIRONMENT_NAME_VALUE_DEVELOPMENT",0,ox,"DEPLOYMENT_ENVIRONMENT_NAME_VALUE_PRODUCTION",0,oG,"DEPLOYMENT_ENVIRONMENT_NAME_VALUE_STAGING",0,oF,"DEPLOYMENT_ENVIRONMENT_NAME_VALUE_TEST",0,oV,"DOTNET_GC_HEAP_GENERATION_VALUE_GEN0",0,oj,"DOTNET_GC_HEAP_GENERATION_VALUE_GEN1",0,oY,"DOTNET_GC_HEAP_GENERATION_VALUE_GEN2",0,oW,"DOTNET_GC_HEAP_GENERATION_VALUE_LOH",0,"loh","DOTNET_GC_HEAP_GENERATION_VALUE_POH",0,"poh","DbCassandraConsistencyLevelValues",0,rt,"DbSystemValues",0,t3,"ERROR_TYPE_VALUE_OTHER",0,oK,"EVENT_EXCEPTION",0,s4,"FAASDOCUMENTOPERATIONVALUES_DELETE",0,rc,"FAASDOCUMENTOPERATIONVALUES_EDIT",0,ru,"FAASDOCUMENTOPERATIONVALUES_INSERT",0,rl,"FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD",0,r_,"FAASINVOKEDPROVIDERVALUES_AWS",0,"aws","FAASINVOKEDPROVIDERVALUES_AZURE",0,rp,"FAASINVOKEDPROVIDERVALUES_GCP",0,"gcp","FAASTRIGGERVALUES_DATASOURCE",0,rr,"FAASTRIGGERVALUES_HTTP",0,rn,"FAASTRIGGERVALUES_OTHER",0,ri,"FAASTRIGGERVALUES_PUBSUB",0,ra,"FAASTRIGGERVALUES_TIMER",0,ro,"FaasDocumentOperationValues",0,rd,"FaasInvokedProviderValues",0,rE,"FaasTriggerValues",0,rs,"HOSTARCHVALUES_AMD64",0,ak,"HOSTARCHVALUES_ARM32",0,ax,"HOSTARCHVALUES_ARM64",0,aG,"HOSTARCHVALUES_IA64",0,aF,"HOSTARCHVALUES_PPC32",0,aV,"HOSTARCHVALUES_PPC64",0,aH,"HOSTARCHVALUES_X86",0,"x86","HTTPFLAVORVALUES_HTTP_1_0",0,"1.0","HTTPFLAVORVALUES_HTTP_1_1",0,"1.1","HTTPFLAVORVALUES_HTTP_2_
5080",0,"2.0","HTTPFLAVORVALUES_QUIC",0,rq,"HTTPFLAVORVALUES_SPDY",0,rK,"HTTP_REQUEST_METHOD_VALUE_CONNECT",0,o1,"HTTP_REQUEST_METHOD_VALUE_DELETE",0,o2,"HTTP_REQUEST_METHOD_VALUE_GET",0,"GET","HTTP_REQUEST_METHOD_VALUE_HEAD",0,o3,"HTTP_REQUEST_METHOD_VALUE_OPTIONS",0,o4,"HTTP_REQUEST_METHOD_VALUE_OTHER",0,o0,"HTTP_REQUEST_METHOD_VALUE_PATCH",0,o5,"HTTP_REQUEST_METHOD_VALUE_POST",0,o6,"HTTP_REQUEST_METHOD_VALUE_PUT",0,"PUT","HTTP_REQUEST_METHOD_VALUE_TRACE",0,o9,"HostArchValues",0,aj,"HttpFlavorValues",0,rz,"JVM_MEMORY_TYPE_VALUE_HEAP",0,il,"JVM_MEMORY_TYPE_VALUE_NON_HEAP",0,iu,"JVM_THREAD_STATE_VALUE_BLOCKED",0,i_,"JVM_THREAD_STATE_VALUE_NEW",0,"new","JVM_THREAD_STATE_VALUE_RUNNABLE",0,ip,"JVM_THREAD_STATE_VALUE_TERMINATED",0,iE,"JVM_THREAD_STATE_VALUE_TIMED_WAITING",0,iS,"JVM_THREAD_STATE_VALUE_WAITING",0,iT,"MESSAGETYPEVALUES_RECEIVED",0,r4,"MESSAGETYPEVALUES_SENT",0,r3,"MESSAGINGDESTINATIONKINDVALUES_QUEUE",0,rJ,"MESSAGINGDESTINATIONKINDVALUES_TOPIC",0,rX,"MESSAGINGOPERATIONVALUES_PROCESS",0,r0,"MESSAGINGOPERATIONVALUES_RECEIVE",0,rZ,"METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS",0,ss,"METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES",0,sl,"METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS",0,su,"METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS",0,s_,"METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION",0,sd,"METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE",0,sc,"METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS",0,sp,"METRIC_DB_CLIENT_OPERATION_DURATION",0,sE,"METRIC_DOTNET_ASSEMBLY_COUNT",0,sS,"METRIC_DOTNET_EXCEPTIONS",0,sT,"METRIC_DOTNET_GC_COLLECTIONS",0,sg,"METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED",0,sf,"METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE",0,sm,"METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE",0,sh,"METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE",0,sA,"METRIC_DOTNET_GC_PAUSE_TIME",0,sR,"METRIC_DOTNET_JIT_COMPILATION_TIME",0,sI,"METRIC_DOTNET_JIT_COMPILED_IL_SIZE",0,sy,"METRIC_DOTNET_JIT_COMPILED_METHODS",0,sN,"METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS",0,sO,"METRIC_DOTNET_PROCESS_CPU_COUNT",0,sv,"METRIC_DOTNET_PROCESS_CPU_TIME",0,sb,"METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET",0,sC,"METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH",0,sM,"METRIC_DOTNET_THREAD_POOL_THREAD_COUNT",0,sU,"METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT",0,sP,"METRIC_DOTNET_TIMER_COUNT",0,sD,"METRIC_HTTP_CLIENT_REQUEST_DURATION",0,sL,"METRIC_HTTP_SERVER_REQUEST_DURATION",0,sw,"METRIC_JVM_CLASS_COUNT",0,sB,"METRIC_JVM_CLASS_LOADED",0,sk,"METRIC_JVM_CLASS_UNLOADED",0,sx,"METRIC_JVM_CPU_COUNT",0,sG,"METRIC_JVM_CPU_RECENT_UTILIZATION",0,sF,"METRIC_JVM_CPU_TIME",0,sV,"METRIC_JVM_GC_DURATION",0,sH,"METRIC_JVM_MEMORY_COMMITTED",0,sj,"METRIC_JVM_MEMORY_LIMIT",0,sY,"METRIC_JVM_MEMORY_USED",0,sW,"METRIC_JVM_MEMORY_USED_AFTER_LAST_GC",0,s$,"METRIC_JVM_THREAD_COUNT",0,sK,"METRIC_KESTREL_ACTIVE_CONNECTIONS",0,sq,"METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES",0,sz,"METRIC_KESTREL_CONNECTION_DURATION",0,sJ,"METRIC_KESTREL_QUEUED_CONNECTIONS",0,sX,"METRIC_KESTREL_QUEUED_REQUESTS",0,sQ,"METRIC_KESTREL_REJECTED_CONNECTIONS",0,sZ,"METRIC_KESTREL_TLS_HANDSHAKE_DURATION",0,s0,"METRIC_KESTREL_UPGRADED_CONNECTIONS",0,s1,"METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS",0,s2,"METRIC_SIGNALR_SERVER_CONNECTION_DURATION",0,s3,"MessageTypeValues",0,r5,"MessagingDestinationKindValues",0,rQ,"MessagingOperationValues",0,r1,"NETHOSTCONNECTIONSUBTYPEVALUES_CDMA",0,rU,"NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT",0,rL,"NETHOSTCONNECTIONSUBTYPEVALUES_EDGE",0,rC,"NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD",0,rF,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0",0,rP,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A",0,rD,"NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B",0,rG,"NETHOSTCONNECTIONSUBTYPEVALUES_GPRS",0,rb,"NETHOSTCONNECTIONSUBTYPEVALUES_GSM",0,"gsm","NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA",0,rw,"NETHOSTCONNECTIONSUBTYPEVALUES_HSPA",0,rk,"NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP",0,rV,"NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA",0,rB,"NETHOSTCONNECTIONSUBTYPEVALUES_IDEN",0,rx,"NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN",0,rj,"NETHOSTCONNECTIONSUBTYPEVALUES_LTE",0,"lte","NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA",0,rW,"NETHOSTCONNECTIONSUBTYPEVALUES_NR",0,"nr","NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA",0,rY,"NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA",0,rH,"NETHOSTCONNECTIONSUBTYPEVALUES_UMT
508S",0,rM,"NETHOSTCONNECTIONTYPEVALUES_CELL",0,ry,"NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE",0,rN,"NETHOSTCONNECTIONTYPEVALUES_UNKNOWN",0,rO,"NETHOSTCONNECTIONTYPEVALUES_WIFI",0,rR,"NETHOSTCONNECTIONTYPEVALUES_WIRED",0,rI,"NETTRANSPORTVALUES_INPROC",0,rm,"NETTRANSPORTVALUES_IP",0,"ip","NETTRANSPORTVALUES_IP_TCP",0,rS,"NETTRANSPORTVALUES_IP_UDP",0,rT,"NETTRANSPORTVALUES_OTHER",0,rh,"NETTRANSPORTVALUES_PIPE",0,rf,"NETTRANSPORTVALUES_UNIX",0,rg,"NETWORK_TRANSPORT_VALUE_PIPE",0,iN,"NETWORK_TRANSPORT_VALUE_QUIC",0,iO,"NETWORK_TRANSPORT_VALUE_TCP",0,"tcp","NETWORK_TRANSPORT_VALUE_UDP",0,"udp","NETWORK_TRANSPORT_VALUE_UNIX",0,iv,"NETWORK_TYPE_VALUE_IPV4",0,iC,"NETWORK_TYPE_VALUE_IPV6",0,iM,"NetHostConnectionSubtypeValues",0,r$,"NetHostConnectionTypeValues",0,rv,"NetTransportValues",0,rA,"OSTYPEVALUES_AIX",0,"aix","OSTYPEVALUES_DARWIN",0,a$,"OSTYPEVALUES_DRAGONFLYBSD",0,aJ,"OSTYPEVALUES_FREEBSD",0,aK,"OSTYPEVALUES_HPUX",0,aX,"OSTYPEVALUES_LINUX",0,aW,"OSTYPEVALUES_NETBSD",0,aq,"OSTYPEVALUES_OPENBSD",0,az,"OSTYPEVALUES_SOLARIS",0,aQ,"OSTYPEVALUES_WINDOWS",0,aY,"OSTYPEVALUES_Z_OS",0,aZ,"OTEL_STATUS_CODE_VALUE_ERROR",0,iw,"OTEL_STATUS_CODE_VALUE_OK",0,"OK","OsTypeValues",0,a0,"RPCGRPCSTATUSCODEVALUES_ABORTED",0,10,"RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS",0,6,"RPCGRPCSTATUSCODEVALUES_CANCELLED",0,1,"RPCGRPCSTATUSCODEVALUES_DATA_LOSS",0,15,"RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED",0,4,"RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION",0,9,"RPCGRPCSTATUSCODEVALUES_INTERNAL",0,13,"RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT",0,3,"RPCGRPCSTATUSCODEVALUES_NOT_FOUND",0,5,"RPCGRPCSTATUSCODEVALUES_OK",0,0,"RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE",0,11,"RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED",0,7,"RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED",0,8,"RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED",0,16,"RPCGRPCSTATUSCODEVALUES_UNAVAILABLE",0,14,"RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED",0,12,"RPCGRPCSTATUSCODEVALUES_UNKNOWN",0,2,"RpcGrpcStatusCodeValues",0,r2,"SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET",0,eU,"SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS",0,ej,"
508SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ",0,eb,"SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY",0,ey,"SEMATTRS_AWS_DYNAMODB_COUNT",0,eV,"SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE",0,eB,"SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES",0,eL,"SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES",0,eY,"SEMATTRS_AWS_DYNAMODB_INDEX_NAME",0,eP,"SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS",0,eN,"SEMATTRS_AWS_DYNAMODB_LIMIT",0,eM,"SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES",0,ew,"SEMATTRS_AWS_DYNAMODB_PROJECTION",0,eC,"SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY",0,eO,"SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY",0,ev,"SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT",0,eH,"SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD",0,ex,"SEMATTRS_AWS_DYNAMODB_SEGMENT",0,eG,"SEMATTRS_AWS_DYNAMODB_SELECT",0,eD,"SEMATTRS_AWS_DYNAMODB_TABLE_COUNT",0,ek,"SEMATTRS_AWS_DYNAMODB_TABLE_NAMES",0,eI,"SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS",0,eF,"SEMATTRS_AWS_LAMBDA_INVOKED_ARN",0,r,"SEMATTRS_CODE_FILEPATH",0,ei,"SEMATTRS_CODE_FUNCTION",0,ea,"SEMATTRS_CODE_LINENO",0,es,"SEMATTRS_CODE_NAMESPACE",0,eo,"SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL",0,p,"SEMATTRS_DB_CASSANDRA_COORDINATOR_DC",0,f,"SEMATTRS_DB_CASSANDRA_COORDINATOR_ID",0,g,"SEMATTRS_DB_CASSANDRA_IDEMPOTENCE",0,S,"SEMATTRS_DB_CASSANDRA_KEYSPACE",0,d,"SEMATTRS_DB_CASSANDRA_PAGE_SIZE",0,_,"SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT",0,T,"SEMATTRS_DB_CASSANDRA_TABLE",0,E,"SEMATTRS_DB_CONNECTION_STRING",0,a,"SEMATTRS_DB_HBASE_NAMESPACE",0,m,"SEMATTRS_DB_JDBC_DRIVER_CLASSNAME",0,i,"SEMATTRS_DB_MONGODB_COLLECTION",0,A,"SEMATTRS_DB_MSSQL_INSTANCE_NAME",0,c,"SEMATTRS_DB_NAME",0,s,"SEMATTRS_DB_OPERATION",0,u,"SEMATTRS_DB_REDIS_DATABASE_INDEX",0,h,"SEMATTRS_DB_SQL_TABLE",0,R,"SEMATTRS_DB_STATEMENT",0,l,"SEMATTRS_DB_SYSTEM",0,n,"SEMATTRS_DB_USER",0,o,"SEMATTRS_ENDUSER_ID",0,Z,"SEMATTRS_ENDUSER_ROLE",0,ee,"SEMATTRS_ENDUSER_SCOPE",0,et,"SEMATTRS_EXCEPTION_ESCAPED",0,O,"SEMATTRS_EXCEPTION_MESSAGE",0,y,"SEMATTRS_EXCEPTION_STACKTRACE",0,N,"SEMATTRS_EXCEPTION_TYPE",0,I,"SEMATTRS_FAAS_COLDSTART",0,w,"SEMATTRS_FAAS_CRON",0,L,"SEMATTRS_FAAS_DOCUMENT_COLLECTION",0,C,"SEMATTRS_FAAS_DOCUMENT_NAME",0,P,"SEMATTRS_FAAS_DOCUMENT_OPERATION",0,M,"SEMATTRS_FAAS_DOCUMENT_TIME",0,U,"SEMATTRS_FAAS_EXECUTION",0,b,"SEMATTRS_FAAS_INVOKED_NAME",0,B,"SEMATTRS_FAAS_INVOKED_PROVIDER",0,k,"SEMATTRS_FAAS_INVOKED_REGION",0,x,"SEMATTRS_FAAS_TIME",0,D,"SEMATTRS_FAAS_TRIGGER",0,v,"SEMATTRS_HTTP_CLIENT_IP",0,eR,"SEMATTRS_HTTP_FLAVOR",0,eE,"SEMATTRS_HTTP_HOST",0,ed,"SEMATTRS_HTTP_METHOD",0,el,"SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH",0,eT,"SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED",0,eg,"SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH",0,ef,"SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED",0,em,"SEMATTRS_HTTP_ROUTE",0,eA,"SEMATTRS_HTTP_SCHEME",0,e_,"SEMATTRS_HTTP_SERVER_NAME",0,eh,"SEMATTRS_HTTP_STATUS_CODE",0,ep,"SEMATTRS_HTTP_TARGET",0,ec,"SEMATTRS_HTTP_URL",0,eu,"SEMATTRS_HTTP_USER_AGENT",0,eS,"SEMATTRS_MESSAGE_COMPRESSED_SIZE",0,tc,"SEMATTRS_MESSAGE_ID",0,tu,"SEMATTRS_MESSAGE_TYPE",0,tl,"SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE",0,td,"SEMATTRS_MESSAGING_CONSUMER_ID",0,e3,"SEMATTRS_MESSAGING_CONVERSATION_ID",0,eZ,"SEMATTRS_MESSAGING_DESTINATION",0,e$,"SEMATTRS_MESSAGING_DESTINATION_KIND",0,eK,"SEMATTRS_MESSAGING_KAFKA_CLIENT_ID",0,e9,"SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP",0,e6,"SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY",0,e5,"SEMATTRS_MESSAGING_KAFKA_PARTITION",0,e8,"SEMATTRS_MESSAGING_KAFKA_TOMBSTONE",0,e7,"SEMATTRS_MESSAGING_MESSAGE_ID",0,eQ,"SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES",0,e1,"SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES",0,e0,"SEMATTRS_MESSAGING_OPERATION",0,e2,"SEMATTRS_MESSAGING_PROTOCOL",0,ez,"SEMATTRS_MESSAGING_PROTOCOL_VERSION",0,eJ,"SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY",0,e4,"SEMATTRS_MESSAGING_SYSTEM",0,eW,"SEMATTRS_MESSAGING_TEMP_DESTINATION",0,eq,"SEMATTRS_MESSAGING_URL",0,eX,"SEMATTRS_NET_HOST_CARRIER_ICC",0,X,"SEMATTRS_NET_HOST_CARRIER_MCC",0,z,"SEMATTRS_NET_HOST_CARRIER_MNC",0,J,"SEMATTRS_NET_HOST_CARRIER_NAME",0,q,"SEMATTRS_NET_HOST_CONNECTION_SUBTYPE",0,K,"SEMATTRS_NET_HOST_CONNECTION_TYPE",0,$,"SEMATTRS_NET_HOST_IP",0,j,"SEMATTRS_NET_HOST_NAME",0,W,"SEMATTRS_NET_HOST_PORT",0,Y,"SEMATTRS_NET_PEER_IP",0,F,"SEMATTRS_NET_PEER_NAME",0,H,"SEMATTRS_NET_PEER_PORT",0,V,"SEMATTRS_NET_TRANSPORT",0,G,"SEMATTRS_PEER_SERVICE",0,Q,"SEMATTRS_RPC_GRPC_STATUS_CODE",0,tn,"SEMATTRS_RPC_JSONRPC_ERROR_CODE",0,ti,"SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE",0,ts,"SEMATTRS_RPC_JSONRPC_REQUEST_ID",0,to,"SEMATTRS_RPC_JSONRPC_VERSION",0,ta,"SEMATTRS_RPC_METHOD",0,tr,"SEMATTRS_RPC_SERVICE",0,tt,"SEMATTRS_RPC_SYSTEM",0,te,"SEMATTRS_THREAD_ID",0,er,"SEMATTRS_THREAD_NAME",0,en,"
508SEMRESATTRS_AWS_ECS_CLUSTER_ARN",0,nr,"SEMRESATTRS_AWS_ECS_CONTAINER_ARN",0,nt,"SEMRESATTRS_AWS_ECS_LAUNCHTYPE",0,nn,"SEMRESATTRS_AWS_ECS_TASK_ARN",0,na,"SEMRESATTRS_AWS_ECS_TASK_FAMILY",0,no,"SEMRESATTRS_AWS_ECS_TASK_REVISION",0,ni,"SEMRESATTRS_AWS_EKS_CLUSTER_ARN",0,ns,"SEMRESATTRS_AWS_LOG_GROUP_ARNS",0,nu,"SEMRESATTRS_AWS_LOG_GROUP_NAMES",0,nl,"SEMRESATTRS_AWS_LOG_STREAM_ARNS",0,nd,"SEMRESATTRS_AWS_LOG_STREAM_NAMES",0,nc,"SEMRESATTRS_CLOUD_ACCOUNT_ID",0,r9,"SEMRESATTRS_CLOUD_AVAILABILITY_ZONE",0,r7,"SEMRESATTRS_CLOUD_PLATFORM",0,ne,"SEMRESATTRS_CLOUD_PROVIDER",0,r6,"SEMRESATTRS_CLOUD_REGION",0,r8,"SEMRESATTRS_CONTAINER_ID",0,np,"SEMRESATTRS_CONTAINER_IMAGE_NAME",0,nS,"SEMRESATTRS_CONTAINER_IMAGE_TAG",0,nT,"SEMRESATTRS_CONTAINER_NAME",0,n_,"SEMRESATTRS_CONTAINER_RUNTIME",0,nE,"SEMRESATTRS_DEPLOYMENT_ENVIRONMENT",0,ng,"SEMRESATTRS_DEVICE_ID",0,nf,"SEMRESATTRS_DEVICE_MODEL_IDENTIFIER",0,nm,"SEMRESATTRS_DEVICE_MODEL_NAME",0,nh,"SEMRESATTRS_FAAS_ID",0,nR,"SEMRESATTRS_FAAS_INSTANCE",0,ny,"SEMRESATTRS_FAAS_MAX_MEMORY",0,nN,"SEMRESATTRS_FAAS_NAME",0,nA,"SEMRESATTRS_FAAS_VERSION",0,nI,"SEMRESATTRS_HOST_ARCH",0,nC,"SEMRESATTRS_HOST_ID",0,nO,"SEMRESATTRS_HOST_IMAGE_ID",0,nU,"SEMRESATTRS_HOST_IMAGE_NAME",0,nM,"SEMRESATTRS_HOST_IMAGE_VERSION",0,nP,"SEMRESATTRS_HOST_NAME",0,nv,"SEMRESATTRS_HOST_TYPE",0,nb,"SEMRESATTRS_K8S_CLUSTER_NAME",0,nD,"SEMRESATTRS_K8S_CONTAINER_NAME",0,nG,"SEMRESATTRS_K8S_CRONJOB_NAME",0,nX,"SEMRESATTRS_K8S_CRONJOB_UID",0,nJ,"SEMRESATTRS_K8S_DAEMONSET_NAME",0,nK,"SEMRESATTRS_K8S_DAEMONSET_UID",0,n$,"SEMRESATTRS_K8S_DEPLOYMENT_NAME",0,nj,"SEMRESATTRS_K8S_DEPLOYMENT_UID",0,nH,"SEMRESATTRS_K8S_JOB_NAME",0,nz,"SEMRESATTRS_K8S_JOB_UID",0,nq,"SEMRESATTRS_K8S_NAMESPACE_NAME",0,nB,"SEMRESATTRS_K8S_NODE_NAME",0,nL,"SEMRESATTRS_K8S_NODE_UID",0,nw,"SEMRESATTRS_K8S_POD_NAME",0,nx,"SEMRESATTRS_K8S_POD_UID",0,nk,"SEMRESATTRS_K8S_REPLICASET_NAME",0,nV,"SEMRESATTRS_K8S_REPLICASET_UID",0,nF,"SEMRESATTRS_K8S_STATEFULSET_NAME",0,nW,"SEMRESATTRS_K8S_STATEFULSET_UID",0,nY,"SEMRESATTRS_OS_DESCRIPTION",0,nZ,"
508SEMRESATTRS_OS_NAME",0,n0,"SEMRESATTRS_OS_TYPE",0,nQ,"SEMRESATTRS_OS_VERSION",0,n1,"SEMRESATTRS_PROCESS_COMMAND",0,n5,"SEMRESATTRS_PROCESS_COMMAND_ARGS",0,n9,"SEMRESATTRS_PROCESS_COMMAND_LINE",0,n6,"SEMRESATTRS_PROCESS_EXECUTABLE_NAME",0,n3,"SEMRESATTRS_PROCESS_EXECUTABLE_PATH",0,n4,"SEMRESATTRS_PROCESS_OWNER",0,n8,"SEMRESATTRS_PROCESS_PID",0,n2,"SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION",0,at,"SEMRESATTRS_PROCESS_RUNTIME_NAME",0,n7,"SEMRESATTRS_PROCESS_RUNTIME_VERSION",0,ae,"SEMRESATTRS_SERVICE_INSTANCE_ID",0,aa,"SEMRESATTRS_SERVICE_NAME",0,ar,"SEMRESATTRS_SERVICE_NAMESPACE",0,an,"SEMRESATTRS_SERVICE_VERSION",0,ao,"SEMRESATTRS_TELEMETRY_AUTO_VERSION",0,au,"SEMRESATTRS_TELEMETRY_SDK_LANGUAGE",0,as,"SEMRESATTRS_TELEMETRY_SDK_NAME",0,ai,"SEMRESATTRS_TELEMETRY_SDK_VERSION",0,al,"SEMRESATTRS_WEBENGINE_DESCRIPTION",0,a_,"SEMRESATTRS_WEBENGINE_NAME",0,ac,"SEMRESATTRS_WEBENGINE_VERSION",0,ad,"SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN",0,iY,"SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE",0,iW,"SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT",0,i$,"SIGNALR_TRANSPORT_VALUE_LONG_POLLING",0,iq,"SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS",0,iz,"SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS",0,iJ,"SemanticAttributes",0,t_,"SemanticResourceAttributes",0,ap,"TELEMETRYSDKLANGUAGEVALUES_CPP",0,"cpp","TELEMETRYSDKLANGUAGEVALUES_DOTNET",0,a1,"TELEMETRYSDKLANGUAGEVALUES_ERLANG",0,a2,"TELEMETRYSDKLANGUAGEVALUES_GO",0,"go","TELEMETRYSDKLANGUAGEVALUES_JAVA",0,a3,"TELEMETRYSDKLANGUAGEVALUES_NODEJS",0,a4,"TELEMETRYSDKLANGUAGEVALUES_PHP",0,"php","TELEMETRYSDKLANGUAGEVALUES_PYTHON",0,a5,"TELEMETRYSDKLANGUAGEVALUES_RUBY",0,a6,"TELEMETRYSDKLANGUAGEVALUES_WEBJS",0,a9,"TELEMETRY_SDK_LANGUAGE_VALUE_CPP",0,"cpp","TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET",0,i0,"TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG",0,i1,"TELEMETRY_SDK_LANGUAGE_VALUE_GO",0,"go","TELEMETRY_SDK_LANGUAGE_VALUE_JAVA",0,i2,"TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS",0,i3,"TELEMETRY_SDK_LANGUAGE_VALUE_PHP",0,"php","TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON",0,i4,"TELEMETRY_SDK_LANGUAGE_VALUE_RUBY",0,i5,"TELEMETRY_SDK_LANGUAGE_VALUE_RUST",0,i6,"TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT",0,i9,"TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS",0,i8,"TelemetrySdkLanguageValues",0,a8],82680)},398410,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.ATTR_NEXT_ROUTE="next.route",r.ATTR_NEXT_SEGMENT="next.segment",r.ATTR_NEXT_SPAN_NAME="next.span_name",r.ATTR_NEXT_SPAN_TYPE="next.span_type"},593852,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(82680),o=e.r(814923),i=e.r(876210),s=e.r(398410),l=e.r(472991),u="__PAGE__",c=new WeakMap;function d(e){return"NextNodeServer.getLayoutOrPageModule"===e[s.ATTR_NEXT_SPAN_TYPE]&&"resolve segment modules"===e[s.ATTR_NEXT_SPAN_NAME]&&"string"==typeof e[s.ATTR_NEXT_SEGMENT]}function _({segment:e,route:t}){return e===u?`resolve page server component "${t}"`:""===e?"resolve root layout server component":`resolve layout server component "${e}"`}r.commonObjectToIsolationScope=function(e){if("object"!=typeof e||!e)return new o.Scope;{let t=c.get(e);if(t)return t;{let t=new o.Scope;return c.set(e,t),t}}},r.dropNextjsRootContext=function(){let e=o.getActiveSpan();if(e){let t=o.getRootSpan(e),r=o.spanToJSON(t).data;r?.["next.span_type"]&&o.getRootSpan(e)?.setAttribute(l.TRANSACTION_ATTR_SHOULD_DROP_TRANSACTION,!0)}},r.escapeNextjsTracing=function(e){let t=o.GLOBAL_OBJ.AsyncLocalStorage;return t?(n||(n=new t),n.getStore())?e():o.startNewTrace(()=>n.run(!0,()=>e())):(i.DEBUG_BUILD&&o.debug.warn("Tried to register AsyncLocalStorage async context strategy in a runtime that doesn't support AsyncLocalStorage."),e())},r.getEnhancedResolveSegmentSpanName=_,r.isResolveSegmentSpan=d,r.maybeEnhanceServerComponentSpanName=function(e,t,r){if(!d(t))return;let n=t[s.ATTR_NEXT_SEGMENT],i=r[a.ATTR_HTTP_ROUTE],l=_({segment:n,route:"string"==typeof i?i:""});e.updateName(l),e.setAttributes({"sentry.nextjs.ssr.function.type":n===u?"Page":"Layout","sentry.nextjs.ssr.function.route":i}),e.setAttribute(o.SEMANTIC_ATTRIBUTE_SENTRY_OP,"function.nextjs")}},64369,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(995183),o=e.r(846600);e.r(593852),r.wrapRouteHandlerWithSentry=function(e,t){let{method:r,parameterizedRoute:i,headers:s}=t;return new Proxy(e,{apply:async(e,t,s)=>{let l=n.getActiveSpan(),u=l?n.getRootSpan(l):void 0;return n.withIsolationScope(n.getIsolationScope(),()=>n.withScope(async c=>{c.setTransactionName(`${r} ${i}`);let d=await n.handleCallbackErrors(()=>e.apply(t,s),e=>{a.isRedirectNavigationError(e)||(a.isNotFoundNavigationError(e)?(l&&n.setHttpStatus(l,404),u&&n.setHttpStatus(u,404)):n.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.route_handler"}}))},()=>{o.waitUntil(o.flushSafelyWithTimeout())});try{d.status&&(l&&n.setHttpStatus(l,d.status),u&&n.setHttpStatus(u,d.status))}catch{}return d}))}})}},605613,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.wrapApiHandlerWithSentryVercelCrons=function(e,t){return new Proxy(e,{apply:(e,r,a)=>{let o;if(!a?.[0])return e.apply(r,a);let[i]=a,s="nextUrl"in i?i.nextUrl.pathname:i.url,l="nextUrl"in i?i.headers.get("user-agent"):i.headers["user-agent"];if(!t||!l?.includes("vercel-cron"))return e.apply(r,a);let u=t.find(e=>e.path===s);if(!u?.path||!u.schedule)return e.apply(r,a);let c=u.path,d=n.captureCheckIn({monitorSlug:c,status:"in_progress"},{maxRuntime:720,schedule:{type:"crontab",value:u.schedule}}),_=n._INTERNAL_safeDateNow()/1e3,p=()=>{n.captureCheckIn({checkInId:d,monitorSlug:c,status:"error",duration:n._INTERNAL_safeDateNow()/1e3-_})};try{o=e.apply(r,a)}catch(e){throw p(),e}return"object"==typeof o&&null!==o&&"then"in o?Promise.resolve(o).then(()=>{n.captureCheckIn({checkInId:d,monitorSlug:c,status:"ok",duration:n._INTERNAL_safeDateNow()/1e3-_})},()=>{p()}):n.captureCheckIn({checkInId:d,monitorSlug:c,status:"ok",duration:n._INTERNAL_safeDateNow()/1e3-_}),o}})}},869738,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(846600);r.wrapMiddlewareWithSentry=function(e){return new Proxy(e,{apply:async(e,t,r)=>{let o="_sentryRewritesTunnelPath"in globalThis?globalThis._sentryRewritesTunnelPath:void 0;if(o&&"string"==typeof o){let e=r[0];if(e instanceof Request&&new URL(e.url).pathname.startsWith(o))return new Response(null,{status:200,headers:{"x-middleware-next":"1"}})}return n.withIsolationScope(o=>{let i,s,l=r[0],u=n.getCurrentScope();l instanceof Request?(o.setSDKProcessingMetadata({normalizedRequest:n.winterCGRequestToRequestData(l)}),i=`middleware ${l.method}`,s="url"):(i="middleware",s="component"),u.setTransactionName(i);let c=n.getActiveSpan();if(c){i="middleware",s="component";let e=n.getRootSpan(c);e&&n.setCapturedScopesOnSpan(e,u,o)}return n.startSpan({name:i,op:"http.server.middleware",attributes:{[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s,[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.function.nextjs.wrap_middleware"}},()=>n.handleCallbackErrors(()=>e.apply(t,r),e=>{n.captureException(e,{mechanism:{type:"auto.function.nextjs.wrap_middleware",handled:!1}})},()=>{a.waitUntil(a.flushSafelyWithTimeout())}))})}})}},539704,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.wrapPageComponentWithSentry=function(e){return"function"==typeof e&&e?.prototype?.isReactComponent?class extends e{render(...e){return n.withIsolationScope(()=>{let t=n.getCurrentScope(),r="object"==typeof this.props&&null!==this.props&&"_sentryTraceData"in this.props&&"string"==typeof this.props._sentryTraceData?this.props._sentryTraceData:void 0;if(r){let e=n.extractTraceparentData(r);t.setContext("trace",{span_id:e?.parentSpanId,trace_id:e?.traceId})}try{return super.render(...e)}catch(e){throw n.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.page_class"}}),e}}
508)}}:"function"==typeof e?new Proxy(e,{apply:(e,t,r)=>n.withIsolationScope(()=>{let a=n.getCurrentScope(),o=r?.[0]?._sentryTraceData;if(o){let e=n.extractTraceparentData(o);a.setContext("trace",{span_id:e?.parentSpanId,trace_id:e?.traceId})}try{return e.apply(t,r)}catch(e){throw n.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.page_function"}}),e}})}):e}},444749,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(995183),o=e.r(846600);r.wrapGenerationFunctionWithSentry=function(e,t){return new Proxy(e,{apply:(e,r,i)=>{let s,l=n.getIsolationScope();try{s=t.requestAsyncStorage?.getStore()?.headers}catch{}let u=s?n.winterCGHeadersToDict(s):void 0;return l.setSDKProcessingMetadata({normalizedRequest:{headers:u}}),n.handleCallbackErrors(()=>e.apply(r,i),e=>{let r=n.getActiveSpan(),{componentRoute:o,componentType:i,generationFunctionIdentifier:s}=t,u=!0;l.setTransactionName(`${i}.${s} (${o})`),r&&(a.isNotFoundNavigationError(e)?(u=!1,r.setStatus({code:n.SPAN_STATUS_ERROR,message:"not_found"})):a.isRedirectNavigationError(e)?(u=!1,r.setStatus({code:n.SPAN_STATUS_OK})):r.setStatus({code:n.SPAN_STATUS_ERROR,message:"internal_error"})),u&&n.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.generation_function",data:{function:s}}})},()=>{o.waitUntil(o.flushSafelyWithTimeout())})}})}},309046,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(846600),o=e.r(876210),i=e.r(995183);async function s(e,t,r){return n.withIsolationScope(async s=>{let l,u,c=n.getClient()?.getOptions().sendDefaultPii,d={};try{let e=await t.headers;l=e?.get("sentry-trace")??void 0,u=e?.get("baggage"),e?.forEach((e,t)=>{d[t]=e})}catch{o.DEBUG_BUILD&&n.debug.warn("Sentry wasn't able to extract the tracing headers for a server action. Will not trace this request.")}return s.setTransactionName(`serverAction/${e}`),s.setSDKProcessingMetadata({normalizedRequest:{headers:d}}),(n.getActiveSpan()?(e,t)=>t():n.continueTrace)({sentryTrace:l,baggage:u},async()=>{try{return await n.startSpan({op:"function.server_action",name:`serverAction/${e}`,forceTransaction:!0,attributes:{[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"route",[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.function.nextjs.server_action"}},async e=>{let a=await n.handleCallbackErrors(r,t=>{i.isNotFoundNavigationError(t)?e.setStatus({code:n.SPAN_STATUS_ERROR,message:"not_found"}):i.isRedirectNavigationError(t)||(e.setStatus({code:n.SPAN_STATUS_ERROR,message:"internal_error"}),n.captureException(t,{mechanism:{handled:!1,type:"auto.function.nextjs.server_action"}}))});return(void 0!==t.recordResponse?t.recordResponse:c)&&n.getIsolationScope().setExtra("server_action_result",a),t.formData&&t.formData.forEach((e,t)=>{n.getIsolationScope().setExtra(`server_action_form_data.${t}`,"string"==typeof e?e:"[non-string value]")}),a})}finally{a.waitUntil(a.flushSafelyWithTimeout())}})})}r.withServerActionInstrumentation=function(...e){if("function"==typeof e[1]){let[t,r]=e;return s(t,{},r)}{let[t,r,n]=e;return s(t,r,n)}}},581237,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(846600);r.captureRequestError=function(e,t,r){n.withScope(o=>{o.setSDKProcessingMetadata({normalizedRequest:{headers:n.headersToDict(t.headers),method:t.method}}),o.setContext("nextjs",{request_path:t.path,router_kind:r.routerKind,router_path:r.routePath,route_type:r.routeType}),o.setTransactionName(r.routePath),n.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.on_request_error"}}),a.waitUntil(a.flushSafelyWithTimeout())})}},727094,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(846600);r.captureUnderscoreErrorException=async function(e){let{req:t,res:r,err:o}=e,i=r?.statusCode||e.statusCode;if(i&&i<500||!e.pathname)return Promise.resolve();n.withScope(e=>{if(t){let r=n.httpRequestToRequestData(t);e.setSDKProcessingMetadata({normalizedRequest:r})}n.captureException(o||`_error.js called with falsy error (${o})`,{mechanism:{type:"auto.function.nextjs.underscore_error",handled:!1,data:{function:"_error.getInitialProps"}}})}),a.waitUntil(a.flushSafelyWithTimeout())}},776575,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.isUseCacheFunction=function(e){if(e.$$typeof!==Symbol.for("react.server.reference"))return!1;let{type:t}=function(e){let t=parseInt(e.slice(0,2),16),r=t>>1&63,n=Array(6);for(let e=0;e<6;e++){let t=r>>5-e&1;n[e]=1===t}return{type:1==(t>>7&1)?"use-cache":"server-action",usedArgs:n,hasRestArgs:1==(1&t)}}(e.$$id);return"use-cache"===t}},187310,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(876210),o=e.r(978967),i=e.r(776575);function s(e){let t=o.isBuild(),r=!!e&&i.isUseCacheFunction(e);return r&&a.DEBUG_BUILD&&n.debug.log("Skipping span creation in Cache Components context"),t||r}function l(){return new n.SentryNonRecordingSpan({traceId:"00000000000000000000000000000000",spanId:"0000000000000000"})}r.startInactiveSpan=function(e){return s()?l():n.startInactiveSpan(e)},r.startSpan=function(e,t){return s(t)?t(l()):n.startSpan(e,t)},r.startSpanManual=function(e,t){if(s(t)){let e=l();return t(e,()=>e.end())}return n.startSpanManual(e,t)}},458100,(e,t,r)=>{var n=e.i(7021);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(814923),o=e.r(553949),i=e.r(876210);e.r(790531);let s=e.r(542625),l=e.r(995183),u=e.r(75674),c=e.r(647465),d=e.r(381697),_=e.r(207404),p=e.r(75787),E=e.r(997152),S=e.r(275305),T=e.r(364468),g=e.r(452523),f=e.r(994787),m=e.r(92748),h=e.r(198999),A=e.r(64369),R=e.r(605613),I=e.r(869738),y=e.r(539704),N=e.r(444749),O=e.r(309046),v=e.r(581237),b=e.r(727094),C=e.r(187310),M=!1,U=a.GLOBAL_OBJ;r.browserTracingIntegration=u.browserTracingIntegration,r.captureRouterTransitionStart=d.captureRouterTransitionStart,r.wrapGetStaticPropsWithSentry=E.wrapGetStaticPropsWithSentry,r.wrapGetInitialPropsWithSentry=S.wrapGetInitialPropsWithSentry,r.wrapAppGetInitialPropsWithSentry=T.wrapAppGetInitialPropsWithSentry,r.wrapDocumentGetInitialPropsWithSentry=g.wrapDocumentGetInitialPropsWithSentry,r.wrapErrorGetInitialPropsWithSentry=f.wrapErrorGetInitialPropsWithSentry,r.wrapGetServerSidePropsWithSentry=m.wrapGetServerSidePropsWithSentry,r.wrapServerComponentWithSentry=h.wrapServerComponentWithSentry,r.wrapRouteHandlerWithSentry=A.wrapRouteHandlerWithSentry,r.wrapApiHandlerWithSentryVercelCrons=R.wrapApiHandlerWithSentryVercelCrons,r.wrapMiddlewareWithSentry=I.wrapMiddlewareWithSentry,r.wrapPageComponentWithSentry=y.wrapPageComponentWithSentry,r.wrapGenerationFunctionWithSentry=N.wrapGenerationFunctionWithSentry,r.withServerActionInstrumentation=O.withServerActionInstrumentation,r.captureRequestError=v.captureRequestError,r.captureUnderscoreErrorException=b.captureUnderscoreErrorException,r.startInactiveSpan=C.startInactiveSpan,r.startSpan=C.startSpan,r.startSpanManual=C.startSpanManual,r.init=function(e){var t;let r,E,S,T,g;M&&a.consoleSandbox(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),M=!0,!i.DEBUG_BUILD&&e.debug&&a.consoleSandbox(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&_.removeIsrSsgTraceMetaTags();let f={environment:s.getVercelEnv(!0)||"production",defaultIntegrations:(t=e,r=o.getDefaultIntegrations(t),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&r.push(u.browserTracingIntegration()),E=U._sentryRewriteFramesAssetPrefixPath||"",S=n.default.env._sentryAssetPrefix||U._sentryAssetPrefix,T=n.default.env._sentryBasePath||U._sentryBasePath,g="true"===n.default.env._experimentalThirdPartyOriginStackFrames||"true"===U._experimentalThirdPartyOriginStackFrames,r.push(c.nextjsClientStackFrameNormalizationIntegration({assetPrefix:S,basePath:T,rewriteFramesAssetPrefixPath:E,experimentalThirdPartyOriginStackFrames:g})),r),release:n.default.env._sentryRelease||U._sentryRelease,...e};p.applyTunnelRouteOption(f),a.applySdkMetadata(f,"nextjs",["nextjs","react"]);let m=o.init(f),h=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;h.id="NextClient404Filter",a.addEventProcessor(h);let A=e=>"transaction"===e.type&&e.transaction===d.INCOMPLETE_APP_ROUTER_INSTRUMENTATION_TRANSACTION_NAME?null:e;A.id="IncompleteTransactionFilter",a.addEventProcessor(A);let R=(e,t)=>l.isRedirectNavigationError(t?.originalException)||e.exception?.values?.[0]?.value==="NEXT_REDIRECT"?null:e;R.id="NextRedirectErrorFilter",a.addEventProcessor(R);try{a.getGlobalScope().setTag("turbopack",!0)}catch{}return m},r.withSentryConfig=function(e){return e},Object.prototype.hasOwnProperty.call(o,"__proto__")&&!Object.prototype.hasOwnProperty.call(r,"__proto__")&&Object.defineProperty(r,"__proto__",{enumerable:!0,value:o.__proto__}
508),Object.keys(o).forEach(e=>{"default"===e||Object.prototype.hasOwnProperty.call(r,e)||(r[e]=o[e])})},917596,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(458100),a=e.r(553949),o=e.r(75674),i=e.r(581237),s=e.r(381697),l=e.r(727094),u=e.r(187310),c=e.r(309046),d=e.r(605613),_=e.r(364468),p=e.r(452523),E=e.r(994787),S=e.r(444749),T=e.r(275305),g=e.r(92748),f=e.r(997152),m=e.r(869738),h=e.r(539704),A=e.r(64369),R=e.r(198999);r.init=n.init,r.withSentryConfig=n.withSentryConfig,r.browserTracingIntegration=o.browserTracingIntegration,r.captureRequestError=i.captureRequestError,r.captureRouterTransitionStart=s.captureRouterTransitionStart,r.captureUnderscoreErrorException=l.captureUnderscoreErrorException,r.startInactiveSpan=u.startInactiveSpan,r.startSpan=u.startSpan,r.startSpanManual=u.startSpanManual,r.withServerActionInstrumentation=c.withServerActionInstrumentation,r.wrapApiHandlerWithSentryVercelCrons=d.wrapApiHandlerWithSentryVercelCrons,r.wrapAppGetInitialPropsWithSentry=_.wrapAppGetInitialPropsWithSentry,r.wrapDocumentGetInitialPropsWithSentry=p.wrapDocumentGetInitialPropsWithSentry,r.wrapErrorGetInitialPropsWithSentry=E.wrapErrorGetInitialPropsWithSentry,r.wrapGenerationFunctionWithSentry=S.wrapGenerationFunctionWithSentry,r.wrapGetInitialPropsWithSentry=T.wrapGetInitialPropsWithSentry,r.wrapGetServerSidePropsWithSentry=g.wrapGetServerSidePropsWithSentry,r.wrapGetStaticPropsWithSentry=f.wrapGetStaticPropsWithSentry,r.wrapMiddlewareWithSentry=m.wrapMiddlewareWithSentry,r.wrapPageComponentWithSentry=h.wrapPageComponentWithSentry,r.wrapRouteHandlerWithSentry=A.wrapRouteHandlerWithSentry,r.wrapServerComponentWithSentry=R.wrapServerComponentWithSentry,Object.prototype.hasOwnProperty.call(a,"__proto__")&&!Object.prototype.hasOwnProperty.call(r,"__proto__")&&Object.defineProperty(r,"__proto__",{enumerable:!0,value:a.__proto__}),Object.keys(a).forEach(e=>{"default"===e||Object.prototype.hasOwnProperty.call(r,e)||(r[e]=a[e])})},427585,(e,t,r)=>{var n=e.i(7021);let{normalize:a}=e.r(871799),{SENTRY_SERVER_SAMPLE_RATE:o,SENTRY_CLIENT_SAMPLE_RATE:i}=e.r(45135),s=e=>{let t=e.exception?.values?.[0]?.stacktrace?.frames||[];return!!t[t.length-1]?.filename?.startsWith("app:///_next/")&&!(t.filter(e=>e.filename?.startsWith("app:///_next/")).length<2)};function l(e,t){let r=t;for(let n of(Array.isArray(t)||(r=[t]),r))if("string"==typeof n&&e===n||n instanceof RegExp&&e.match(n))return!0;return!1}t.exports={createSentryConfig:function({supportedBrowsersRegExp:t,allowDomains:r="www.sbnation.com"}){return{debug:!1,skipOpenTelemetrySetup:!0,integrations:function(t){let n=t;n=t.filter(function(e){return"RewriteFrames"!==e.name});let{rewriteFramesIntegration:a}=e.r(917596),o=a({iteratee:e=>{try{let{hostname:t}=new URL(e.filename);l(t,r)&&(e.filename=e.filename.replace(origin,"app://"))}catch{}return e.filename&&e.filename.startsWith("app:///_next")&&(e.filename=decodeURI(e.filename)),e.filename&&e.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(e.in_app=!1),e}});return n.push(o),n},dsn:"https://dda62d08b807fc79b0fff14e1d7dd23d@o4507017844228096.ingest.us.sentry.io/4507272654159872",environment:"production",tracePropagationTargets:[],sampleRate:i,sendClientReports:!1,normalizeDepth:10,normalizeMaxBreadth:1e3,beforeSend:(r,o)=>{let i;r.contexts=r.contexts||{},r.tags=r.tags||{},r.tags["network.name"]="SB Nation",r.tags["network.id"]="1",r.tags["wordpress.target"]="production",r.tags["wordpress.origin"]="https://platform.sbnation.com",r.tags["deploy.environment"]="production",r.tags["runtime.name"]||(r.tags["runtime.name"]="browser");let l=r.request?.cookies?.OptanonConsent||(i="OptanonConsent=",decodeURIComponent(document.cookie).split("; ").reduce((e,t)=>0===t.indexOf(i)?t.substring(i.length):e,""));if(l)try{let e={};new URLSearchParams(l).forEach((t,r)=>{"groups"===r||"hosts"===r?e[r]=t.split(","):e[r]=t}),r.contexts["Consent Cookie"]=e}catch(e){}n.default.env.VERSION&&(r.tags.version=n.default.env.VERSION),o.originalException?.extra&&(r.extra=r.extra||{},Object.assign(r.extra,o.originalException.extra),r.extra=a(r.extra,10,1e3));let u=!s(r)||!t.test(e.g.navigator.userAgent);return(u||console.error(`Error: ${o.event_id}`),u)?null:r}}},customFilter:s,isValidHostname:l}},806725,e=>{"use strict";let t,r;var n=e.i(7021),a=e.i(488207),o=e.i(743769),i=e.i(581661),s=e.i(591370),l=e.i(703152),u=e.i(127611),c=e.i(849802);let d="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var _=e.i(392188),p=e.i(982333),E=e.i(135921),S=e.i(70119),T=e.i(803848);let g=o.GLOBAL_OBJ,f=null,m=new Map,h=new Map;
508function A(e){let t=e.split("/").filter(Boolean),r=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?r+=1e3:t.endsWith("*")?r+=100:r+=10}return t.length>0&&(r+=1/t.length),r}function R(e){if(m.has(e))return m.get(e)??null;try{let t=new RegExp(e);return m.set(e,t),t}catch(t){return d&&a.debug.warn("Could not compile regex",{regexString:e,error:t}),null}}function I(){if(!g?._sentryRouteManifest||"string"!=typeof g._sentryRouteManifest)return null;let e=g._sentryRouteManifest;if(f&&t===e)return f;m.clear(),h.clear();let r={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(r=JSON.parse(e),!Array.isArray(r.staticRoutes)||!Array.isArray(r.dynamicRoutes))return null;return f=r,t=e,r}catch{return d&&a.debug.warn("Could not extract route manifest"),null}}let y=e=>{let t=I();if(!t)return;if(h.has(e))return h.get(e);let{staticRoutes:r,dynamicRoutes:n}=t;if(!Array.isArray(r)||!Array.isArray(n))return;let a=(function(e,t,r){let n=[];if(t.some(t=>t.path===e))return n;for(let t of r)if(t.regex){let r=R(t.regex);r?.test(e)&&n.push(t.path)}if(!e.startsWith("/:")){for(let t of r)if(t.hasOptionalPrefix&&t.regex){let r="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,a=R(t.regex);a?.test(r)&&n.push(t.path)}}return n})(e,r,n).sort((e,t)=>A(e)-A(t))[0];return h.set(e,a),a},N="incomplete-app-router-transaction",O="router-patch",v={current:void 0},b=o.GLOBAL_OBJ,C=o.GLOBAL_OBJ;function M(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let U=new WeakSet;function P(e,t,r){U.has(t)||(U.add(t),["back","forward","push","replace"].forEach(a=>{t?.[a]&&(t[a]=new Proxy(t[a],{apply(t,o,i){if("router-patch"!==O)return t.apply(o,i);let s=N,l={[S.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[S.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"},u=i[0],c=n.default.env._sentryBasePath??C._sentryBasePath,d=c&&"string"==typeof u&&!u.startsWith(c)?`${c}${u}`:u;"push"===a?(s=M(d),l["navigation.type"]="router.push"):"replace"===a?(s=M(d),l["navigation.type"]="router.replace"):"back"===a?l["navigation.type"]="router.back":"forward"===a&&(l["navigation.type"]="router.forward");let _=y(s);return r.current=(0,p.startBrowserTracingNavigationSpan)(e,{name:_??s,attributes:{...l,[S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:_?"route":"url"}}),t.apply(o,i)}}))}))}var D=e.i(249338),L=e.i(718032),w=e.i(583241);let B=w.default.events?w.default:w.default.default,k=E.WINDOW;var x=e.i(334538),G=e.i(492980);let F=(0,x.defineIntegration)(({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:n})=>({...(0,G.rewriteFramesIntegration)({iteratee:a=>{if(n){let r="u">typeof window&&window.location?window.location.origin:"";if(a.filename?.startsWith(r)&&!a.filename.endsWith(".js"))return a;if(e)a.filename?.startsWith(e)&&(a.filename=a.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(a.filename);e===r&&(a.filename=a.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(a.filename);a.filename=a.filename?.replace(e,"app://").replace(r,"")}catch{}return n?(a.filename?.includes("/_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)):(a.filename?.startsWith("app:///_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)),a}}),name:"NextjsClientStackFrameNormalization"})),V=new(e.i(697104)).LRUMap(100);var H=e.i(172007);let j=o.GLOBAL_OBJ,Y=!1,W=o.GLOBAL_OBJ,{createSentryConfig:$}=e.i(427585).default;!function(e){var t;let o,g,f,m,h,A;Y&&(0,a.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),Y=!0,!d&&e.debug&&(0,a.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){E.WINDOW.document&&function(e){let t=y(e)||e,r=V.get(t);if(void 0!==r)return r;let n=I();if(!n?.isrRoutes||!Array.isArray(n.isrRoutes)||0===n.isrRoutes.length)return V.set(t,!1),!1;let a=n.isrRoutes.includes(t);return V.set(t,a),a}(E.WINDOW.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=E.WINDOW.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}();let R={environment:((o=n.default.env.NEXT_PUBLIC_VERCEL_ENV)?`vercel-${o}`:void 0)||"production",defaultIntegrations:(t=e,g=(0,c.getDefaultIntegrations)(t),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&g.push(function(e={}){let t=(0,p.browserTracingIntegration)({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[r,{headers:n}]=t;return n?.get("next-router-prefetch")&&r?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:o=!0,instrumentNavigation:i=!0}=e;return{...t,afterAllSetup(e){i&&function(e){if(E.WINDOW.document.getElementById("__NEXT_DATA__"))B.events.on("routeChangeStart",t=>{let r,n,a=(0,D.stripUrlQueryAndFragment)(t),o=function(e){let t=k.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let r,n,a,o=(r=t.split("/"),n="",r[r.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(r.pop(),n="(?:/(.+?))?"),a=r.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),RegExp(`^${a}${n}(?:/)?$`));return e.match(o)})}(a);o?(r=o,n="route"):(r=a,n="url"),(0,p.startBrowserTracingNavigationSpan)(e,{name:r,attributes:{[S.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[S.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.pages_router_instrumentation",[S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n}})});else{let t,a,o;r=(t,r)=>{let a=n.default.env._sentryBasePath??C._sentryBasePath,o=new URL(a&&!t.startsWith(a)?`${a}${t}`:t,E.WINDOW.location.href).pathname,i=y(o),s=i??o;"router-patch"===O&&(O="transition-start-hook");let l=v.current;l?(l.updateName(s),l.setAttributes({"navigation.type":`router.${r}`,[S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:i?"route":"url"}),v.current=void 0):(0,p.startBrowserTracingNavigationSpan)(e,{name:s,attributes:{[S.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[S.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:i?"route":"url","navigation.type":`router.${r}`}})},E.WINDOW.addEventListener("popstate",()=>{let t=y(E.WINDOW.location.pathname);v.current?.isRecording()?(v.current.updateName(t??E.WINDOW.location.pathname),v.current.setAttribute(S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,t?"route":"url")):v.current=(0,p.startBrowserTracingNavigationSpan)(e,{name:t??E.WINDOW.location.pathname,attributes:{[S.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url","navigation.type":"browser.popstate"}})}),t=!1,a=0,o=setInterval(()=>{a++;let r=b?.next?.router??b?.nd?.router;t||a>500?clearInterval(o):r&&(clearInterval(o),t=!0,P(e,r,v),["nd","next"].forEach(t=>{let r=b[t];r&&(b[t]=new Proxy(r,{set:(t,r,n)=>("router"===r&&"object"==typeof n&&null!==n&&P(e,n,v),t[r]=n,!0)}))}))},20)}}(e),t.afterAllSetup(e),o&&function(e){if(E.WINDOW.document.getElementById("__NEXT_DATA__"))!function(e){let{route:t,params:r,sentryTrace:n,baggage:o}=function(){let e,t=k.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{d&&a.debug.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:o,props:i}=e;return r.route=n,r.params=o,i?.pageProps&&(r.sentryTrace=i.pageProps._sentryTraceData,r.baggage=i.pageProps._sentryBaggage),r}(),i=(0,L.parseBaggageHeader)(o),s=t||k.location.pathname;i?.["sentry-transaction"]&&"/_error"===s&&(s=(s=i["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let l=(0,T.browserPerformanceTimeOrigin)();(0,p.startBrowserTracingPageLoadSpan)(e,{name:s,startTime:l?l/1e3:void 0,attributes:{[S.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[S.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.pages_router_instrumentation",[S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:n,baggage:o})}(e);else{let t,r;t=y(E.WINDOW.location.pathname),r=(0,T.browserPerformanceTimeOrigin)(),(0,p.startBrowserTracingPageLoadSpan)(e,{name:t??E.WINDOW.location.pathname,startTime:r?r/1e3:void 0,attributes:{[S.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[S.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.app_router_instrumentation",[S.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url"}})}}(e)}}}()),f=W._sentryRewriteFramesAssetPrefixPath||"",m=n.default.env._sentryAssetPrefix||W._sentryAssetPrefix,h=n.default.env._sentryBasePath||W._sentryBasePath,A="true"===n.default.env._experimentalThirdPartyOriginStackFrames||"true"===W._experimentalThirdPartyOriginStackFrames,g.push(F({assetPrefix:m,basePath:h,rewriteFramesAssetPrefixPath:f,experimentalThirdPartyOriginStackFrames:A})),g),release:n.default.env._sentryRelease||W._sentryRelease,...e};!function(e){let t=n.default.env._sentryRewritesTunnelPath||j._sentryRewritesTunnelPath;if(t&&e.dsn){let r=(0,H.dsnFromString)(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let o=n[1],i=n[2],s=`${t}?o=${o}&p=${r.projectId}`;i&&(s+=`&r=${i}`),e.tunnel=s,d&&a.debug.log(`Tunneling events to "${s}"`)}else d&&a.debug.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(R),(0,i.applySdkMetadata)(R,"nextjs",["nextjs","react"]),(0,u.init)(R);let M=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;M.id="NextClient404Filter",(0,s.addEventProcessor)(M);let U=e=>"transaction"===e.type&&e.transaction===N?null:e;U.id="IncompleteTransactionFilter",(0,s.addEventProcessor)(U);let w=(e,t)=>{var r;return(r=t?.originalException,(0,_.isError)(r)&&"string"==typeof r.digest&&r.digest.startsWith("NEXT_REDIRECT;")||e.exception?.values?.[0]?.value==="NEXT_REDIRECT")?null:e};w.id="NextRedirectErrorFilter",(0,s.addEventProcessor)(w);try{(0,l.getGlobalScope)().setTag("turbopack",!0)}catch{}}
508($({supportedBrowsersRegExp:/Edge?\/(14[6-9]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(149|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(109|1[1-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(26\.([3-9]|\d{2,})|(2[7-9]|[3-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(12[7-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(18[._]([5-9]|\d{2,})|(19|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[7-9]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[7-9]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(2[89]|[3-9]\d|\d{3,})\.\d+|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(2\.([5-9]|\d{2,})|([3-9]|\d{2,})\.\d+)(\.\d+|)/})),globalThis._sentryRouteManifest='{"isrRoutes":[],"dynamicRoutes":[],"staticRoutes":[]}',globalThis._sentryNextJsVersion="16.3.0",e.s(["onRouterTransitionStart",0,function(e,t){r&&r(e,t)}],806725)},13511,(e,t,r)=>{"use strict";{let r=e.f({"private-next-instrumentation-client":{id:()=>806725,module:()=>e.r(806725)}})("private-next-instrumentation-client");t.exports=Array.isArray(r)?r:[r]}},817908,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(814923),o=e.r(389959);r.init=function(e){let t={...e};return a.applySdkMetadata(t,"react"),n.setContext("react",{version:o.version}),n.init(t)}},204205,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(814923),o=e.r(389959);function i(e){let t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}function s(e,t){let r=new WeakSet;!function e(t,n){if(!r.has(t)){if(t.cause)return r.add(t),e(t.cause,n);t.cause=n}}(e,t)}function l(e,{componentStack:t},r){if(i(o.version)&&a.isError(e)&&t){let r=Error(e.message);r.name=`React ErrorBoundary ${e.name}`,r.stack=t,s(e,r)}return n.withScope(a=>(a.setContext("react",{componentStack:t}),n.captureException(e,r)))}r.captureReactException=l,r.isAtLeastReact17=i,r.reactErrorHandler=function(e){return(t,r)=>{let n=!!e,a=l(t,r,{mechanism:{handled:n,type:"auto.function.react.error_handler"}});n&&e(t,r,a)}},r.setCause=s},172866,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.REACT_MOUNT_OP="ui.react.mount",r.REACT_RENDER_OP="ui.react.render",r.REACT_UPDATE_OP="ui.react.update"},711970,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i=Symbol.for("react.forward_ref"),s=Symbol.for("react.memo"),l={};function u(e){if("object"==typeof e&&null!==e&&e.$$typeof===s)return o;let t=e.$$typeof;return t&&l[t]||n}l[i]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[s]=o;let c=Object.defineProperty.bind(Object),d=Object.getOwnPropertyNames.bind(Object),_=Object.getOwnPropertySymbols?.bind(Object),p=Object.getOwnPropertyDescriptor.bind(Object),E=Object.getPrototypeOf.bind(Object),S=Object.prototype;r.hoistNonReactStatics=function e(t,r,n){if("string"!=typeof r){if(S){let n=E(r);n&&n!==S&&e(t,n)}let n=d(r);_&&(n=n.concat(_(r)));let o=u(t),i=u(r);for(let e of n)if(!a[e]&&!i?.[e]&&!o?.[e]&&!p(t,e)){let n=p(r,e);if(n)try{c(t,e,n)}catch(e){}}}return t}},50837,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(814923),o=e.r(389959),i=e.r(172866),s=e.r(711970),l="unknown";class u extends o.Component{constructor(e){super(e);const{name:t,disabled:r=!1}=this.props;if(r)return;this._mountSpan=n.startInactiveSpan({name:`<${t}>`,onlyIfParent:!0,op:i.REACT_MOUNT_OP,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":t}})}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:t=!0}){if(t&&this._mountSpan&&e!==this.props.updateProps){let t=Object.keys(e).filter(t=>e[t]!==this.props.updateProps[t]);if(t.length>0){let e=a.timestampInSeconds();this._updateSpan=a.withActiveSpan(this._mountSpan,()=>n.startInactiveSpan({name:`<${this.props.name}>`,onlyIfParent:!0,op:i.REACT_UPDATE_OP,startTime:e,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":this.props.name,"ui.react.changed_props":t}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){let e=a.timestampInSeconds(),{name:t,includeRender:r=!0}=this.props;if(this._mountSpan&&r){let r=a.spanToJSON(this._mountSpan).timestamp;a.withActiveSpan(this._mountSpan,()=>{let o=n.startInactiveSpan({onlyIfParent:!0,name:`<${t}>`,op:i.REACT_RENDER_OP,startTime:r,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":t}});o&&o.end(e)})}}render(){return this.props.children}}Object.assign(u,{defaultProps:{disabled:!1,includeRender:!0,includeUpdates:!0}}),r.Profiler=u,r.UNKNOWN_COMPONENT=l,r.useProfiler=function(e,t={disabled:!1,hasRenderSpan:!0}
508){let[r]=o.useState(()=>{if(!t?.disabled)return n.startInactiveSpan({name:`<${e}>`,onlyIfParent:!0,op:i.REACT_MOUNT_OP,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":e}})});o.useEffect(()=>(r&&r.end(),()=>{if(r&&t.hasRenderSpan){let t=a.spanToJSON(r).timestamp,o=a.timestampInSeconds(),s=n.startInactiveSpan({name:`<${e}>`,onlyIfParent:!0,op:i.REACT_RENDER_OP,startTime:t,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":e}});s&&s.end(o)}}),[])},r.withProfiler=function(e,t){let r=t?.name||e.displayName||e.name||l,n=n=>o.createElement(u,{...t,name:r,updateProps:n},o.createElement(e,{...n}));return n.displayName=`profiler(${r})`,s.hoistNonReactStatics(n,e),n}},733675,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.DEBUG_BUILD="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},347462,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(814923),o=e.r(389959),i=e.r(733675),s=e.r(204205),l=e.r(711970),u="unknown",c={componentStack:null,error:null,eventId:null};class d extends o.Component{constructor(e){super(e),this.state=c,this._openFallbackReportDialog=!0;const t=n.getClient();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&n.showReportDialog({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,t){let{componentStack:r}=t,{beforeCapture:a,onError:o,showDialog:i,dialogOptions:l}=this.props;n.withScope(u=>{a&&a(u,e,r);let c=null!=this.props.handled?this.props.handled:!!this.props.fallback,d=s.captureReactException(e,t,{mechanism:{handled:c,type:"auto.function.react.error_boundary"}});o&&o(e,r,d),i&&(this._lastEventId=d,this._openFallbackReportDialog&&n.showReportDialog({...l,eventId:d})),this.setState({error:e,componentStack:r,eventId:d})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:r}=this.state,{onUnmount:n}=this.props;n&&(this.state===c?n(null,null,null):n(e,t,r)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:t,componentStack:r,eventId:n}=this.state;e&&e(t,r,n),this.setState(c)}render(){let{fallback:e,children:t}=this.props,r=this.state;if(null===r.componentStack)return"function"==typeof t?t():t;let n="function"==typeof e?o.createElement(e,{error:r.error,componentStack:r.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:r.eventId}):e;return o.isValidElement(n)?n:(e&&i.DEBUG_BUILD&&a.debug.warn("fallback did not produce a valid ReactElement"),null)}}r.ErrorBoundary=d,r.UNKNOWN_COMPONENT=u,r.withErrorBoundary=function(e,t){let r=e.displayName||e.name||u,n=o.memo(r=>o.createElement(d,{...t},o.createElement(e,{...r})));return n.displayName=`errorBoundary(${r})`,l.hoistNonReactStatics(n,e),n}},104463,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};r.createReduxEnhancer=function(e){let t={...a,...e};return e=>(r,a)=>{function o(e){return(r,a)=>{let o=e(r,a),i=n.getCurrentScope(),s=t.actionTransformer(a);null!=s&&n.addBreadcrumb({category:"redux.action",data:s,type:"info"});let l=t.stateTransformer(o);if(null!=l){let e=n.getClient(),t=e?.getOptions(),r=t?.normalizeDepth||3,a={state:{type:"redux",value:l}};n.addNonEnumerableProperty(a,"__sentry_override_normalization_depth__",3+r),i.setContext("state",a)}else i.setContext("state",null);let{configureScopeWithState:u}=t;return"function"==typeof u&&u(i,o),o}}t.attachReduxState&&n.getGlobalScope().addEventProcessor((e,t)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(t.attachments=[...t.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch{}return e});let i=e(o(r),a);return i.replaceReducer=new Proxy(i.replaceReducer,{apply:function(e,t,r){e.apply(t,[o(r[0])])}}),i}}},931868,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(814923);function o(e,t,r,n){let a=t.pathname;r({location:t,routes:e},(e,t,r)=>{if(e||!r)return n(a);let o=function(e){if(!Array.isArray(e)||0===e.length)return"";let t=e.filter(e=>!!e.path),r=-1;for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.path?.startsWith("/")){r=e;break}}return t.slice(r).reduce((e,{path:t})=>{let r="/"===e||""===e?t:`/${t}`;return`${e}${r}`},"")}(r.routes||[]);return 0===o.length||"/*"===o?n(a):n(a=o,"route")})}r.reactRouterV3BrowserTracingIntegration=function(e){let t=n.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:i,match:s,instrumentPageLoad:l=!0,instrumentNavigation:u=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),l&&n.WINDOW.location&&o(i,n.WINDOW.location,s,(t,r="url")=>{n.startBrowserTracingPageLoadSpan(e,{name:t,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.reactrouter_v3",[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r}})}),u&&r.listen&&r.listen(t=>{("PUSH"===t.action||"POP"===t.action)&&o(i,t,s,(t,r="url")=>{n.startBrowserTracingNavigationSpan(e,{name:t,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.reactrouter_v3",[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r}})})})}}}},870329,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(814923);function o(e){if(!e)return{};let t={};
508return Object.entries(e.params).forEach(([e,r])=>{t[`url.path.params.${e}`]=r,t[`url.path.parameter.${e}`]=r,t[`params.${e}`]=r}),t}r.tanstackRouterBrowserTracingIntegration=function(e,t={}){let r=n.browserTracingIntegration({...t,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:i=!0,instrumentNavigation:s=!0}=t;return{...r,afterAllSetup(t){r.afterAllSetup(t);let l=n.WINDOW.location;if(i&&l){let r=e.matchRoutes(l.pathname,e.options.parseSearch(l.search),{preload:!1,throwOnError:!1}),i=r[r.length-1],s=i?.routeId!=="__root__"?i:void 0;n.startBrowserTracingPageLoadSpan(t,{name:s?s.routeId:l.pathname,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.tanstack_router",[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s?"route":"url",...o(s)}})}s&&e.subscribe("onBeforeNavigate",r=>{if(!r.fromLocation||r.toLocation.state===r.fromLocation.state)return;let i=e.matchRoutes(r.toLocation.pathname,r.toLocation.search,{preload:!1,throwOnError:!1}),s=i[i.length-1],l=s?.routeId!=="__root__"?s:void 0,u=n.WINDOW.location,c=n.startBrowserTracingNavigationSpan(t,{name:l?l.routeId:u.pathname,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.tanstack_router",[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:l?"route":"url"}}),d=e.subscribe("onResolved",t=>{if(d(),c){let r=e.matchRoutes(t.toLocation.pathname,t.toLocation.search,{preload:!1,throwOnError:!1}),n=r[r.length-1],i=n?.routeId!=="__root__"?n:void 0;i&&(c.updateName(i.routeId),c.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"),c.setAttributes(o(i)))}})})}}}},960820,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(814923),o=e.r(389959),i=e.r(711970);function s(e,t,r,o,i,l=[],u){function c(e){if(0===l.length||!u)return[e,"url"];for(let t of function e(t,r,n,a=[]){return t.some(t=>{let o=t.path?n(r,t):a.length?a[a.length-1].match:{path:"/",url:"/",params:{},isExact:"/"===r};return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,r,n,a)),!!o}),a}(l,e,u))if(t.match.isExact)return[t.match.path,"route"];return[e,"url"]}if(t){let t=o.location?o.location.pathname:n.WINDOW.location?n.WINDOW.location.pathname:void 0;if(t){let[r,o]=c(t);n.startBrowserTracingPageLoadSpan(e,{name:r,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.pageload.react.${i}`,[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o}})}}r&&o.listen&&o.listen((t,r)=>{if(r&&("PUSH"===r||"POP"===r)){let[r,o]=c(t.pathname);n.startBrowserTracingNavigationSpan(e,{name:r,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.navigation.react.${i}`,[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o}})}})}r.reactRouterV4BrowserTracingIntegration=function(e){let t=n.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:a,matchPath:o,instrumentPageLoad:i=!0,instrumentNavigation:l=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),s(e,i,l,r,"reactrouter_v4",a,o)}}},r.reactRouterV5BrowserTracingIntegration=function(e){let t=n.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:a,matchPath:o,instrumentPageLoad:i=!0,instrumentNavigation:l=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),s(e,i,l,r,"reactrouter_v5",a,o)}}},r.withSentryRouting=function(e){let t=e.displayName||e.name,r=t=>{if(t?.computedMatch?.isExact){let e=t.computedMatch.path,r=function(){let e=a.getActiveSpan(),t=e&&a.getRootSpan(e);if(!t)return;let r=a.spanToJSON(t).op;return"navigation"===r||"pageload"===r?t:void 0}();a.getCurrentScope().setTransactionName(e),r&&(r.updateName(e),r.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"))}return o.createElement(e,{...t})};return r.displayName=`sentryRoute(${t})`,i.hoistNonReactStatics(r,e),r}},257995,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(814923),o=e.r(733675),i=!1,s=[];function l(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function u(e){return e.endsWith("*")}function c(e,t){return u(e)&&!!t.route.children?.length||!1}function d(e){return!!(!e.children&&e.element&&e.path?.endsWith("/*"))}function _(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length}function p(e,t){if(!t||"/"===t||!e.toLowerCase().startsWith(t.toLowerCase()))return e;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?e:e.slice(r)||"/"}function E(e){return"/"===e[0]?e:`/${e}`}function S(e,t){let r=n(e,t);if(!r||0===r.length)return"";for(let n of r)if(n.route.path&&"*"!==n.route.path){var a;let r="*"===(a=n.route.path||"")[a.length-1]?a.slice(0,-1):a,o=p(t.pathname,E(n.pathnameBase));if(t.pathname===o)return l(o);return l(l(r||"")+E(S(e.filter(e=>e!==n.route),{pathname:o})))}return""}function T(e,t){let r=n(t,e);if(r){for(let e of r)if(d(e.route)&&e.params["*"])return!0}return!1}function g(e,t){return i?p(e.pathname,t):e.pathname||""}function f(e,t,r,n=""){if(!e||0===e.length)return[i?p(t.pathname,n):t.pathname,"url"];if(!r)return[g(t,n),"url"];let a="";for(let e of r){let r=e.route;if(!r)continue;if(r.index)return function(e,t,r){let n=e&&e.length>0?e:i?p(t,r):t,a="/*"===n.slice(-2)?n.slice(0,-2):n;return a.length>1&&"/"===a[a.length-1]&&(a=a.slice(0,-1)),[a,"route"]}(a,e.pathname,n);let o=r.path;if(!o||c(o,e))continue;let s="/"===o[0]||"/"===a[a.length-1]?o:`/${o}`;if(a=l(a)+E(s),l(t.pathname)===l(n+e.pathname)){if(_(a)!==_(e.pathname)&&!u(a))return[(i?"":n)+s,"route"];return c(a,e)&&(a=a.slice(0,-1)),[(i?"":n)+a,"route"]}}return[g(t,n),"url"]}r.clearNavigationContext=function(e){let t=s[s.length-1];t?.token===e&&s.pop()},r.getActiveRootSpan=function(){let e=a.getActiveSpan(),t=e?a.getRootSpan(e):void 0;if(!t)return;let r=a.spanToJSON(t).op;return"navigation"===r||"pageload"===r?t:void 0},r.getNavigationContext=function(){let e=s.length;return e>0?s[e-1]??null:null},r.getNormalizedName=f,r.getNumberOfUrlSegments=_,r.initializeRouterUtils=function(e,t=!1){n=e,i=t},r.locationIsInsideDescendantRoute=T,r.pathEndsWithWildcard=u,r.pathIsWildcardAndHasChildren=c,r.prefixWithSlash=E,r.rebuildRoutePathFromAllRoutes=S,r.resolveRouteNameAndSource=function(e,t,r,n,a=""){let o,i="url",s=T(e,r);return s&&(o=E(S(r,e)),i="route"),s&&o||([o,i]=f(t,e,n,a)),[o||e.pathname,i]},r.routeIsDescendant=d,r.setNavigationContext=function(e,t){let r={};return s.length>=10&&(o.DEBUG_BUILD&&a.debug.warn("[React Router] Navigation context stack overflow - removing oldest context"),s.shift()),s.push({token:r,targetPath:e,span:t}),r},r.transactionNameHasWildcard=function(e){return e.includes("/*")||e.endsWith("*")}},188017,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(814923),o=e.r(733675),i=e.r(257995);function s(e,t,r,s){let u=new Proxy(e,{apply(e,u,c){let d,_=function(){let e=i.getNavigationContext();if(e)return e.targetPath?{pathname:e.targetPath,search:"",hash:"",state:null,key:"default"}:null;if(void 0!==n.WINDOW)try{let e=n.WINDOW.location;if(e)return{pathname:e.pathname,search:e.search||"",hash:e.hash||"",state:null,key:"default"}}catch{o.DEBUG_BUILD&&a.debug.warn("[React Router] Could not access window.location")}return null}(),p=(d=i.getNavigationContext())?d.span:i.getActiveRootSpan(),E=e.apply(u,c);return l(E,t,r,s,_,p),E}});return a.addNonEnumerableProperty(u,"__sentry_proxied__",!0),u}function l(e,t,r,n,i,s){a.isThenable(e)?e.then(e=>{Array.isArray(e)&&n(e,t,i??void 0,s)}).catch(e=>{o.DEBUG_BUILD&&a.debug.warn(`Error resolving async handler '${r}' for route`,t,e)}):Array.isArray(e)&&n(e,t,i??void 0,s)}r.checkRouteForAsyncHandler=function e(t,r){if(t.handle&&"object"==typeof t.handle)for(let e of Object.keys(t.handle)){let n=t.handle[e];"function"!=typeof n||n.__sentry_proxied__||(t.handle[e]=s(n,t,e,r))}if(Array.isArray(t.children))for(let n of t.children)e(n,r)},r.createAsyncHandlerProxy=s,r.handleAsyncHandlerResult=l},42603,(e,t,r)=>{let n,a,o,i,s;globalThis._sentryNextJsVersion="16.3.0",Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let l=e.r(632302),u=e.r(814923),c=e.r(389959),d=e.r(733675),_=e.r(711970),p=e.r(188017),E=e.r(257995),S=!1,T=3e3,g=new WeakSet,f=new WeakMap,m=new Set,h=new WeakMap,A=new WeakMap;function R(e){l.WINDOW?.cancelAnimationFrame?l.WINDOW.cancelAnimationFrame(e):clearTimeout(e)}function I(e){return`${e.pathname}${e.search||""}${e.hash||""}`}function y(e){return e.includes(":")||e.includes("*")}function N(e,t,r,n){if(!e)return{skip:!1,shouldUpdate:!1};if(e.locationKey===t&&(e.isPlaceholder||!n)){let t=!!e.routeName&&E.transactionNameHasWildcard(e.routeName),n=E.transactionNameHasWildcard(r),a=!!e.routeName&&y(e.routeName),o=y(r),i=r!==e.routeName&&r.length>(e.routeName?.length||0)&&!n;return{skip:!0,shouldUpdate:!!(e.routeName&&(t&&!n||!a&&o||i))}}return{skip:!1,shouldUpdate:!1}}function O(e,t){let r=t.children||[],n=e.filter(e=>!r.some(t=>t===e||e.path&&t.path===e.path||e.id&&t.id===e.id));n.length>0&&(t.children=[...r,...n])}function v(e,t){let r=h.get(e);r||(r=new Set,h.set(e,r)),r.add(t),t.finally(()=>{let r=h.get(e);r&&r.delete(t)})}function b(e){let t=new Promise(t=>{A.set(e,t)});v(e,t)}
508function C(e,t,r=null,n){e.forEach(e=>{m.add(e),S&&p.checkRouteForAsyncHandler(e,C)}),t&&O(e,t);let a=n??E.getActiveRootSpan();if(a){let e=u.spanToJSON(a);if(e.timestamp){d.DEBUG_BUILD&&u.debug.warn("[React Router] Lazy handler resolved after span ended - skipping update");return}let t=e.op,o=r;if(!o&&!n&&void 0!==l.WINDOW){let e=l.WINDOW.location;e?.pathname&&(o={pathname:e.pathname})}o&&("pageload"===t?w({activeRootSpan:a,location:{pathname:o.pathname},routes:Array.from(m),allRoutes:Array.from(m)}):"navigation"===t&&M(a,o,Array.from(m),!1,s))}}function M(e,t,r,n=!1,a){let o=u.spanToJSON(e),i=o.description,s=e?.__sentry_navigation_name_set__,l=i&&E.transactionNameHasWildcard(i);if((!s||n||l)&&!o.timestamp){let n=a(r,t),[c,d]=E.resolveRouteNameAndSource(t,r,r,n||[],""),_=o.data?.[u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];c&&(!i||!s&&("route"!==_||"route"===d)||"route"!==_&&"route"===d||"route"===_&&"route"===d&&l)&&(e.updateName(c),e.setAttribute(u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,d),E.transactionNameHasWildcard(c)||"route"!==d||u.addNonEnumerableProperty(e,"__sentry_navigation_name_set__",!0))}}function U(e,t,r,n,a){let o=!1,i=!!a&&"pageload"===u.spanToJSON(a).op,s=!1,c=null,d=null;e.subscribe(e=>{if(!o){let t=E.getActiveRootSpan();t&&"pageload"===u.spanToJSON(t).op?i=!0:i&&("POP"!==e.historyAction||s?o=!0:s=!0)}if("PUSH"===e.historyAction||"POP"===e.historyAction&&o){let a=I(e.location),o=()=>{d!==a&&(d=a,c=null,D({location:e.location,routes:t,navigationType:e.historyAction,version:r,basename:n,allRoutes:Array.from(m)}))};if("idle"!==e.navigation.state)d!==a&&(d=null),null!==c&&R(c),c=l.WINDOW?.requestAnimationFrame?l.WINDOW.requestAnimationFrame(o):setTimeout(o,0);else null!==c&&(R(c),c=null),o()}})}function P(e,t=!1,r){if(!e||!("patchRoutesOnNavigation"in e)||"function"!=typeof e.patchRoutesOnNavigation)return e||{};let n=e.patchRoutesOnNavigation;return{...e,patchRoutesOnNavigation:async e=>{let a=e?.path,o=E.getActiveRootSpan()??r;if(!t){let t=e?.patch,r=e?.matches;t&&(e.patch=(e,n)=>{if(L(n),r&&r.length>0){let t=r[r.length-1],a=t?.route;if(a){let t=Array.from(m).find(t=>{let r=void 0!==t.id&&t.id===e,n=t===a,o=void 0!==t.path&&void 0!==a.path&&t.path===a.path;return r||n||o});t&&O(n,t)}}let i=o?u.spanToJSON(o):void 0;return a&&o&&i&&!i.timestamp&&"navigation"===i.op&&M(o,{pathname:a,search:"",hash:"",state:null,key:"default"},Array.from(m),!0,s),t(e,n)})}let i=(async()=>{let t,r=E.setNavigationContext(a,o);try{t=await n(e)}finally{let e;E.clearNavigationContext(r),o&&(e=A.get(o))&&(e(),A.delete(o),o.__sentry_may_have_lazy_routes__&&(o.__sentry_may_have_lazy_routes__=!1))}let i=o?u.spanToJSON(o):void 0;return o&&i&&!i.timestamp&&"navigation"===i.op&&a&&M(o,{pathname:a,search:"",hash:"",state:null,key:"default"},Array.from(m),!1,s),t})();return o&&v(o,i),i}}}function D(e){let{location:t,routes:r,navigationType:n,version:a,matches:o,basename:i,allRoutes:c}=e,_=Array.isArray(o)?o:s(c||r,t,i),p=u.getClient();if(!p||!g.has(p))return;let S=E.getActiveRootSpan();if((!S||"pageload"!==u.spanToJSON(S).op||"POP"!==n)&&("PUSH"===n||"POP"===n)&&_){let e,[n,o]=E.resolveRouteNameAndSource(t,c||r,c||r,_,i),s=I(t),S=f.get(p),T=!!S&&!S.isPlaceholder&&!!u.spanToJSON(S.span).timestamp,{skip:g,shouldUpdate:m}=N(S,s,n,T);if(g){if(m&&S){let e=S.routeName;S.isPlaceholder?(S.routeName=n,d.DEBUG_BUILD&&u.debug.log(`[Tracing] Updated placeholder navigation name from "${e}" to "${n}" (will apply to real span)`)):(S.span.updateName(n),S.span.setAttribute(u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,o),u.addNonEnumerableProperty(S.span,"__sentry_navigation_name_set__",!0),S.routeName=n,d.DEBUG_BUILD&&u.debug.log(`[Tracing] Updated navigation span name from "${e}" to "${n}"`))}else d.DEBUG_BUILD&&u.debug.log(`[Tracing] Skipping duplicate navigation for location: ${s}`);return}let h={span:{end:()=>{}},routeName:n,pathname:t.pathname,locationKey:s,isPlaceholder:!0};f.set(p,h);try{e=l.startBrowserTracingNavigationSpan(p,{name:h.routeName,attributes:{[u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o,[u.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[u.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.navigation.react.reactrouter_v${a}`}})}catch(e){throw f.delete(p),e}e?(f.set(p,{span:e,routeName:h.routeName,pathname:t.pathname,locationKey:s}),k(e,t,r,i,"navigation")):f.delete(p)}}
508function L(e){e.forEach(e=>{(function e(t,r=new Set){return r.has(t)||(r.add(t),t.children&&!t.index&&t.children.forEach(t=>{e(t,r).forEach(e=>{r.add(e)})})),r})(e).forEach(e=>{m.add(e)})})}function w({activeRootSpan:e,location:t,routes:r,matches:n,basename:a,allRoutes:o}){let i=Array.isArray(n)?n:s(o||r,t,a);if(i){let[n,s]=E.resolveRouteNameAndSource(t,o||r,o||r,i,a);u.getCurrentScope().setTransactionName(n||"/"),e&&(e.updateName(n),e.setAttribute(u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,s),k(e,t,r,a,"pageload"))}else e&&k(e,t,r,a,"pageload")}function B(e,t,r,n,a,o,i,l){try{let c=t.data?.[u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if("route"===c&&r&&!E.transactionNameHasWildcard(r))return;let d=Array.from(l),_=d.length>0?d:a,p=s(_,n,o);if(!p)return;let[S,T]=E.resolveRouteNameAndSource(n,_,_,p,o),g=function(e,t,r,n,a=!1){return!!r&&(!!(!e&&a||e&&E.transactionNameHasWildcard(e)&&"route"===n&&!E.transactionNameHasWildcard(r))||"route"!==t&&"route"===n)}(r,c,S,T,!0),f="pageload"===i||!t.timestamp;g&&f&&(e.updateName(S),e.setAttribute(u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,T))}catch(e){d.DEBUG_BUILD&&u.debug.warn(`Error updating span details before ending: ${e}`)}}function k(e,t,r,n,a){let o=`__sentry_${a}_end_patched__`;if(e?.[o]||!e.end)return;let i=e.end.bind(e),s=!1;e.end=function(...o){if(s)return;s=!0;let l=o.length>0?o[0]:Date.now()/1e3,c=u.spanToJSON(e),d=c.description,_=c.data?.[u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],p=()=>{let t=u.getClient();if(t&&"navigation"===a){let r=f.get(t);r&&r.span===e&&f.delete(t)}},S=h.get(e),g=e.__sentry_may_have_lazy_routes__;if((S&&S.size>0||g)&&d&&(E.transactionNameHasWildcard(d)||"route"!==_)){let o;if(0===T){B(e,c,d,t,r,n,a,m),p(),i(l);return}let s=new Promise(e=>setTimeout(e,T));if(S&&S.size>0){let e=Promise.allSettled(S).then(()=>{});o=T===1/0?e:Promise.race([e,s])}else o=s;o.then(()=>{let o=u.spanToJSON(e);B(e,o,o.description,t,r,n,a,m),p(),i(l)}).catch(()=>{p(),i(l)});return}B(e,c,d,t,r,n,a,m),p(),i(l)},u.addNonEnumerableProperty(e,o,!0)}r.addResolvedRoutesToParent=O,r.addRoutesToAllRoutes=L,r.allRoutes=m,r.computeLocationKey=I,r.createReactRouterV6CompatibleTracingIntegration=function(e,t){let r=l.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:c,useLocation:_,useNavigationType:p,createRoutesFromChildren:f,matchRoutes:m,stripBasename:h,enableAsyncRouteHandlers:A=!1,instrumentPageLoad:R=!0,instrumentNavigation:I=!0,lazyRouteTimeout:y}=e;return{...r,setup(t){r.setup(t);let l=e.finalTimeout??3e4,g=(e.idleTimeout??1e3)*3,R=y??g;R===1/0?(T=l,d.DEBUG_BUILD&&u.debug.log("[React Router] lazyRouteTimeout set to Infinity, capping at finalTimeout:",l,"ms to prevent indefinite hangs")):Number.isNaN(R)?(d.DEBUG_BUILD&&u.debug.warn("[React Router] lazyRouteTimeout must be a number, falling back to default:",g),T=g):R<0?(d.DEBUG_BUILD&&u.debug.warn("[React Router] lazyRouteTimeout must be non-negative or Infinity, got:",R,"falling back to:",g),T=g):T=R,n=c,a=_,o=p,s=m,i=f,S=A,E.initializeRouterUtils(m,h||!1)},afterAllSetup(e){r.afterAllSetup(e);let n=l.WINDOW.location?.pathname;R&&n&&l.startBrowserTracingPageLoadSpan(e,{name:n,attributes:{[u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[u.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[u.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.pageload.react.reactrouter_v${t}`}}),I&&g.add(e)}}},r.createV6CompatibleWithSentryReactRouterRouting=function(e,t){if(!n||!a||!o||!i||!s)return d.DEBUG_BUILD&&u.debug.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters.
509      useEffect: ${n}. useLocation: ${a}. useNavigationType: ${o}.
510      createRoutesFromChildren: ${i}. matchRoutes: ${s}.`),e;let r=r=>{let s=c.useRef(!0),l=a(),u=o();return n(()=>{let e=i(r.children);s.current?(L(e),w({activeRootSpan:E.getActiveRootSpan(),location:l,routes:e,allRoutes:Array.from(m)}),s.current=!1):D({location:l,routes:e,navigationType:u,version:t,allRoutes:Array.from(m)})},[l,u]),c.createElement(e,{...r})};return _.hoistNonReactStatics(r,e),r},r.createV6CompatibleWrapCreateBrowserRouter=function(e,t){return n&&a&&o&&s?function(r,n){if(L(r),S)for(let e of r)p.checkRouteForAsyncHandler(e,C);let a=E.getActiveRootSpan();n&&"patchRoutesOnNavigation"in n&&"function"==typeof n.patchRoutesOnNavigation&&a&&(u.addNonEnumerableProperty(a,"__sentry_may_have_lazy_routes__",!0),b(a));let o=e(r,P(n,!1,a)),i=n?.basename;return"POP"===o.state.historyAction&&a&&w({activeRootSpan:a,location:o.state.location,routes:r,basename:i,allRoutes:Array.from(m)}
510),U(o,r,t,i,a),o}:(d.DEBUG_BUILD&&u.debug.warn(`reactRouterV${t}Instrumentation was unable to wrap the \`createRouter\` function because of one or more missing parameters.`),e)},r.createV6CompatibleWrapCreateMemoryRouter=function(e,t){return n&&a&&o&&s?function(r,n){let a;if(L(r),S)for(let e of r)p.checkRouteForAsyncHandler(e,C);let o=E.getActiveRootSpan();n&&"patchRoutesOnNavigation"in n&&"function"==typeof n.patchRoutesOnNavigation&&o&&(u.addNonEnumerableProperty(o,"__sentry_may_have_lazy_routes__",!0),b(o));let i=e(r,P(n,!0,o)),s=n?.basename,l=n?.initialEntries,c=n?.initialIndex,d=l&&1===l.length,_=void 0!==c&&l&&l[c],T=(a=d?l[0]:_?l[c]:void 0)?"string"==typeof a?{pathname:a}:a:i.state.location,g=E.getActiveRootSpan();return"POP"===i.state.historyAction&&g&&w({activeRootSpan:g,location:T,routes:r,basename:s,allRoutes:Array.from(m)}),U(i,r,t,s,g),i}:(d.DEBUG_BUILD&&u.debug.warn(`reactRouterV${t}Instrumentation was unable to wrap the \`createMemoryRouter\` function because of one or more missing parameters.`),e)},r.createV6CompatibleWrapUseRoutes=function(e,t){if(!n||!a||!o||!s)return d.DEBUG_BUILD&&u.debug.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),e;let r=r=>{let i=c.useRef(!0),{routes:s,locationArg:l}=r,u=e(s,l),d=a(),_=o(),p="string"==typeof l||l?.pathname?l:d;return n(()=>{let e="string"==typeof p?{pathname:p}:p;i.current?(L(s),w({activeRootSpan:E.getActiveRootSpan(),location:e,routes:s,allRoutes:Array.from(m)}),i.current=!1):D({location:e,routes:s,navigationType:_,version:t,allRoutes:Array.from(m)})},[_,p]),u};return(e,t)=>c.createElement(r,{routes:e,locationArg:t})},r.handleNavigation=D,r.processResolvedRoutes=C,r.shouldSkipNavigation=N,r.updateNavigationSpan=M},345979,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(42603);e.r(814923),e.r(632302),r.reactRouterV6BrowserTracingIntegration=function(e){return n.createReactRouterV6CompatibleTracingIntegration(e,"6")},r.withSentryReactRouterV6Routing=function(e){return n.createV6CompatibleWithSentryReactRouterRouting(e,"6")},r.wrapCreateBrowserRouterV6=function(e){return n.createV6CompatibleWrapCreateBrowserRouter(e,"6")},r.wrapCreateMemoryRouterV6=function(e){return n.createV6CompatibleWrapCreateMemoryRouter(e,"6")},r.wrapUseRoutesV6=function(e){return n.createV6CompatibleWrapUseRoutes(e,"6")}},289437,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(42603);e.r(814923),e.r(632302),r.reactRouterV7BrowserTracingIntegration=function(e){return n.createReactRouterV6CompatibleTracingIntegration(e,"7")},r.withSentryReactRouterV7Routing=function(e){return n.createV6CompatibleWithSentryReactRouterRouting(e,"7")},r.wrapCreateBrowserRouterV7=function(e){return n.createV6CompatibleWrapCreateBrowserRouter(e,"7")},r.wrapCreateMemoryRouterV7=function(e){return n.createV6CompatibleWrapCreateMemoryRouter(e,"7")},r.wrapUseRoutesV7=function(e){return n.createV6CompatibleWrapUseRoutes(e,"7")}},553949,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(632302),a=e.r(817908),o=e.r(204205),i=e.r(50837),s=e.r(347462),l=e.r(104463),u=e.r(931868),c=e.r(870329),d=e.r(960820),_=e.r(345979),p=e.r(289437);r.init=a.init,r.captureReactException=o.captureReactException,r.reactErrorHandler=o.reactErrorHandler,r.Profiler=i.Profiler,r.useProfiler=i.useProfiler,r.withProfiler=i.withProfiler,r.ErrorBoundary=s.ErrorBoundary,r.withErrorBoundary=s.withErrorBoundary,r.createReduxEnhancer=l.createReduxEnhancer,r.reactRouterV3BrowserTracingIntegration=u.reactRouterV3BrowserTracingIntegration,r.tanstackRouterBrowserTracingIntegration=c.tanstackRouterBrowserTracingIntegration,r.reactRouterV4BrowserTracingIntegration=d.reactRouterV4BrowserTracingIntegration,r.reactRouterV5BrowserTracingIntegration=d.reactRouterV5BrowserTracingIntegration,r.withSentryRouting=d.withSentryRouting,r.reactRouterV6BrowserTracingIntegration=_.reactRouterV6BrowserTracingIntegration,r.withSentryReactRouterV6Routing=_.withSentryReactRouterV6Routing,r.wrapCreateBrowserRouterV6=_.wrapCreateBrowserRouterV6,r.wrapCreateMemoryRouterV6=_.wrapCreateMemoryRouterV6,r.wrapUseRoutesV6=_.wrapUseRoutesV6,r.reactRouterV7BrowserTracingIntegration=p.reactRouterV7BrowserTracingIntegration,r.withSentryReactRouterV7Routing=p.withSentryReactRouterV7Routing,r.wrapCreateBrowserRouterV7=p.wrapCreateBrowserRouterV7,r.wrapCreateMemoryRouterV7=p.wrapCreateMemoryRouterV7,r.wrapUseRoutesV7=p.wrapUseRoutesV7,Object.prototype.hasOwnProperty.call(n,"__proto__")&&!Object.prototype.hasOwnProperty.call(r,"__proto__")&&Object.defineProperty(r,"__proto__",{enumerable:!0,value:n.__proto__}
510),Object.keys(n).forEach(e=>{"default"===e||Object.prototype.hasOwnProperty.call(r,e)||(r[e]=n[e])})},876210,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.DEBUG_BUILD="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},106869,e=>{"use strict";var t="<unknown>",r=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|rsc|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n=/\((\S*)(?::(\d+))(?::(\d+))\)/,a=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|rsc|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|rsc|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,s=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,l=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;e.s(["parse",0,function(e){return e.split("\n").reduce(function(e,u){var c,d,_,p,E,S,T=function(e){var a=r.exec(e);if(!a)return null;var o=a[2]&&0===a[2].indexOf("native"),i=a[2]&&0===a[2].indexOf("eval"),s=n.exec(a[2]);return i&&null!=s&&(a[2]=s[1],a[3]=s[2],a[4]=s[3]),{file:o?null:a[2],methodName:a[1]||t,arguments:o?[a[2]]:[],lineNumber:a[3]?+a[3]:null,column:a[4]?+a[4]:null}}(u)||(c=u,(d=a.exec(c))?{file:d[2],methodName:d[1]||t,arguments:[],lineNumber:+d[3],column:d[4]?+d[4]:null}:null)||function(e){var r=o.exec(e);if(!r)return null;var n=r[3]&&r[3].indexOf(" > eval")>-1,a=i.exec(r[3]);return n&&null!=a&&(r[3]=a[1],r[4]=a[2],r[5]=null),{file:r[3],methodName:r[1]||t,arguments:r[2]?r[2].split(","):[],lineNumber:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}(u)||(_=u,(p=l.exec(_))?{file:p[2],methodName:p[1]||t,arguments:[],lineNumber:+p[3],column:p[4]?+p[4]:null}:null)||(E=u,(S=s.exec(E))?{file:S[3],methodName:S[1]||t,arguments:[],lineNumber:+S[4],column:S[5]?+S[5]:null}:null);return T&&e.push(T),e},[])}])},790531,(e,t,r)=>{var n=e.i(7021);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(814923),o=e.r(106869),i=e.r(876210),s=a.GLOBAL_OBJ;function l(){let e=n.default.env._sentryBasePath??s._sentryBasePath??"";if(""===e||e.match(/^\//)||(e=`/${e}`),"u">typeof window)return e;let t=n.default.env.PORT||"3000";return`http://localhost:${t}${e}`}async function u(e,t={}){let r=new AbortController,n=setTimeout(()=>r.abort(),3e3);return a.suppressTracing(()=>fetch(e,{...t,signal:r.signal}).finally(()=>{clearTimeout(n)}))}async function c(e,t){try{if(!(e.file?.startsWith("webpack-internal:")||e.file?.startsWith("file:")))return null;let r=new URLSearchParams;r.append("isServer",String(!1)),r.append("isEdgeServer",String(!1)),r.append("isAppDirectory",String(!0)),r.append("errorMessage",t.toString()),Object.keys(e).forEach(t=>{r.append(t,(e[t]??"").toString())});let n=l(),a=await u(`${n}/__nextjs_original-stack-frame?${r.toString()}`);if(!a.ok||204===a.status)return null;let o=await a.json();return{originalCodeFrame:o.originalCodeFrame,originalStackFrame:o.originalStackFrame}}catch(e){return i.DEBUG_BUILD&&a.debug.error("Failed to symbolicate event with Next.js dev server",e),null}}async function d(e){try{let t={frames:e.filter(e=>!!e.file).map(e=>(e.file=e.file.replace(/^rsc:\/\/React\/[^/]+\//,"").replace(/\?\d+$/,""),{file:e.file,methodName:e.methodName??"<unknown>",arguments:[],lineNumber:e.lineNumber??0,column:e.column??0,line1:e.lineNumber??0,column1:e.column??0})),isServer:!1,isEdgeServer:!1,isAppDirectory:!0},r=l(),n=await u(`${r}/__nextjs_original-stack-frames`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!n.ok||204===n.status)return null;return(await n.json()).map(e=>({originalCodeFrame:e.value.originalCodeFrame,originalStackFrame:e.value.originalStackFrame}))}catch(e){return i.DEBUG_BUILD&&a.debug.error("Failed to symbolicate event with Next.js dev server",e),null}}r.devErrorSymbolicationEventProcessor=async function e(e,t){"transaction"===e.type&&(e.spans=e.spans?.filter(e=>{let t=e.data?.["http.url"];return"string"!=typeof t||!t.includes("__nextjs_original-stack-frame")}));try{if(t.originalException&&t.originalException instanceof Error&&t.originalException.stack){let r,n=o.parse(t.originalException.stack),i=s._sentryNextJsVersion;if(!i)return e;let l=a.parseSemver(i);if(l.major>15||15===l.major&&l.minor>=2){let t=await d(n);if(null===t)return e;r=t}else r=await Promise.all(n.map(e=>c(e,t.originalException)));e.exception?.values?.[0]?.stacktrace?.frames&&(e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames.map((e,t,n)=>{let a=r[n.length-1-t];
510if(!a?.originalStackFrame||!a.originalCodeFrame)return{...e,platform:e.filename?.startsWith("node:internal")?"nodejs":void 0,in_app:!1};let{contextLine:o,preContextLines:i,postContextLines:s}=function(e){let t,r=e.replace(/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,"").split("\n").filter(e=>!e.match(/^\s*\|/)).map(e=>({line:e,isErrorLine:!!e.match(/^>/)})).map(e=>({...e,line:e.line.replace(/^.*\|/,"")})),n=[],a=[],o=!1;for(let e of r)e.isErrorLine?(t=e.line,o=!0):o?a.push(e.line):n.push(e.line);return{contextLine:t,preContextLines:n,postContextLines:a}}(a.originalCodeFrame);return{...e,pre_context:i,context_line:o,post_context:s,function:a.originalStackFrame.methodName,filename:a.originalStackFrame.file?function(e){if(!e)return e;let t=e.match(/^webpack-internal:(?:\/+)?(?:\([^)]*\)\/)?(.+)$/);return t?t[1]:e}(a.originalStackFrame.file):void 0,lineno:a.originalStackFrame.lineNumber||a.originalStackFrame.line1||void 0,colno:a.originalStackFrame.column||a.originalStackFrame.column1||void 0}}))}}catch{}return e}},542625,(e,t,r)=>{var n=e.i(7021);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.getVercelEnv=function(e){let t=e?n.default.env.NEXT_PUBLIC_VERCEL_ENV:n.default.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}},995183,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923);r.isNotFoundNavigationError=function(e){return n.isError(e)&&["NEXT_NOT_FOUND","NEXT_HTTP_ERROR_FALLBACK;404"].includes(e.digest)},r.isRedirectNavigationError=function(e){return n.isError(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}},177192,(e,t,r)=>{let n;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(814923),o=e.r(876210),i=a.GLOBAL_OBJ,s=null,l=new Map,u=new Map;function c(e){let t=e.split("/").filter(Boolean),r=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?r+=1e3:t.endsWith("*")?r+=100:r+=10}return t.length>0&&(r+=1/t.length),r}function d(e){if(l.has(e))return l.get(e)??null;try{let t=new RegExp(e);return l.set(e,t),t}catch(t){return o.DEBUG_BUILD&&a.debug.warn("Could not compile regex",{regexString:e,error:t}),null}}function _(){if(!i?._sentryRouteManifest||"string"!=typeof i._sentryRouteManifest)return null;let e=i._sentryRouteManifest;if(s&&n===e)return s;l.clear(),u.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return s=t,n=e,t}catch{return o.DEBUG_BUILD&&a.debug.warn("Could not extract route manifest"),null}}r.getManifest=_,r.maybeParameterizeRoute=e=>{let t=_();if(!t)return;if(u.has(e))return u.get(e);let{staticRoutes:r,dynamicRoutes:n}=t;if(!Array.isArray(r)||!Array.isArray(n))return;let a=(function(e,t,r){let n=[];if(t.some(t=>t.path===e))return n;for(let t of r)if(t.regex){let r=d(t.regex);r?.test(e)&&n.push(t.path)}if(!e.startsWith("/:")){for(let t of r)if(t.hasOptionalPrefix&&t.regex){let r="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,a=d(t.regex);a?.test(r)&&n.push(t.path)}}return n})(e,r,n).sort((e,t)=>c(e)-c(t))[0];return u.set(e,a),a}},381697,(e,t,r)=>{let n;var a=e.i(7021);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let o=e.r(814923),i=e.r(553949),s=e.r(177192),l="incomplete-app-router-transaction",u="router-patch",c={current:void 0},d=o.GLOBAL_OBJ,_=o.GLOBAL_OBJ;function p(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let E=new WeakSet;function S(e,t,r){E.has(t)||(E.add(t),["back","forward","push","replace"].forEach(n=>{t?.[n]&&(t[n]=new Proxy(t[n],{apply(t,c,d){if("router-patch"!==u)return t.apply(c,d);let E=l,S={[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"},T=d[0],g=a.default.env._sentryBasePath??_._sentryBasePath,f=g&&"string"==typeof T&&!T.startsWith(g)?`${g}${T}`:T;"push"===n?(E=p(f),S["navigation.type"]="router.push"):"replace"===n?(E=p(f),S["navigation.type"]="router.replace"):"back"===n?S["navigation.type"]="router.back":"forward"===n&&(S["navigation.type"]="router.forward");let m=s.maybeParameterizeRoute(E);return r.current=i.startBrowserTracingNavigationSpan(e,{name:m??E,attributes:{...S,[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:m?"route":"url"}}),t.apply(c,d)}}))}))}r.INCOMPLETE_APP_ROUTER_INSTRUMENTATION_TRANSACTION_NAME=l,r.appRouterInstrumentNavigation=function(e){n=(t,r)=>{let n=a.default.env._sentryBasePath??_._sentryBasePath,l=new URL(n&&!t.startsWith(n)?`${n}${t}`:t,i.WINDOW.location.href).pathname,d=s.maybeParameterizeRoute(l),p=d??l;"router-patch"===u&&(u="transition-start-hook");let E=c.current;E?(E.updateName(p),E.setAttributes({"navigation.type":`router.${r}`,[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:d?"route":"url"}),c.current=void 0):i.startBrowserTracingNavigationSpan(e,{name:p,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:d?"route":"url","navigation.type":`router.${r}`}})},i.WINDOW.addEventListener("popstate",()=>{let t=s.maybeParameterizeRoute(i.WINDOW.location.pathname);c.current?.isRecording()?(c.current.updateName(t??i.WINDOW.location.pathname),c.current.setAttribute(o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,t?"route":"url")):c.current=i.startBrowserTracingNavigationSpan(e,{name:t??i.WINDOW.location.pathname,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url","navigation.type":"browser.popstate"}})});let t=!1,r=0,l=setInterval(()=>{r++;let n=d?.next?.router??d?.nd?.router;t||r>
510500?clearInterval(l):n&&(clearInterval(l),t=!0,S(e,n,c),["nd","next"].forEach(t=>{let r=d[t];r&&(d[t]=new Proxy(r,{set:(t,r,n)=>("router"===r&&"object"==typeof n&&null!==n&&S(e,n,c),t[r]=n,!0)}))}))},20)},r.appRouterInstrumentPageLoad=function(e){let t=s.maybeParameterizeRoute(i.WINDOW.location.pathname),r=o.browserPerformanceTimeOrigin();i.startBrowserTracingPageLoadSpan(e,{name:t??i.WINDOW.location.pathname,startTime:r?r/1e3:void 0,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.app_router_instrumentation",[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url"}})},r.captureRouterTransitionStart=function(e,t){n&&n(e,t)}},7977,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(553949),o=e.r(583241),i=e.r(876210),s=o.default.events?o.default:o.default.default,l=a.WINDOW;r.pagesRouterInstrumentNavigation=function(e){s.events.on("routeChangeStart",t=>{let r,o,i=n.stripUrlQueryAndFragment(t),s=function(e){let t=l.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let r,n,a,o=(r=t.split("/"),n="",r[r.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(r.pop(),n="(?:/(.+?))?"),a=r.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),RegExp(`^${a}${n}(?:/)?$`));return e.match(o)})}(i);s?(r=s,o="route"):(r=i,o="url"),a.startBrowserTracingNavigationSpan(e,{name:r,attributes:{[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.pages_router_instrumentation",[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o}})})},r.pagesRouterInstrumentPageLoad=function(e){let{route:t,params:r,sentryTrace:o,baggage:s}=function(){let e,t=l.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{i.DEBUG_BUILD&&n.debug.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:a,query:o,props:s}=e;return r.route=a,r.params=o,s?.pageProps&&(r.sentryTrace=s.pageProps._sentryTraceData,r.baggage=s.pageProps._sentryBaggage),r}(),u=n.parseBaggageHeader(s),c=t||l.location.pathname;u?.["sentry-transaction"]&&"/_error"===c&&(c=(c=u["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let d=n.browserPerformanceTimeOrigin();a.startBrowserTracingPageLoadSpan(e,{name:c,startTime:d?d/1e3:void 0,attributes:{[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.pages_router_instrumentation",[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:o,baggage:s})}},95738,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(553949),a=e.r(381697),o=e.r(7977);r.nextRouterInstrumentNavigation=function(e){n.WINDOW.document.getElementById("__NEXT_DATA__")?o.pagesRouterInstrumentNavigation(e):a.appRouterInstrumentNavigation(e)},r.nextRouterInstrumentPageLoad=function(e){n.WINDOW.document.getElementById("__NEXT_DATA__")?o.pagesRouterInstrumentPageLoad(e):a.appRouterInstrumentPageLoad(e)}},75674,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(553949),a=e.r(95738);r.browserTracingIntegration=function(e={}){let t=n.browserTracingIntegration({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[r,{headers:n}]=t;return n?.get("next-router-prefetch")&&r?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:r=!0,instrumentNavigation:o=!0}=e;return{...t,afterAllSetup(e){o&&a.nextRouterInstrumentNavigation(e),t.afterAllSetup(e),r&&a.nextRouterInstrumentPageLoad(e)}}}},647465,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(553949);r.nextjsClientStackFrameNormalizationIntegration=n.defineIntegration(({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:n})=>({...a.rewriteFramesIntegration({iteratee:a=>{if(n){let r="u">typeof window&&window.location?window.location.origin:"";if(a.filename?.startsWith(r)&&!a.filename.endsWith(".js"))return a;
510if(e)a.filename?.startsWith(e)&&(a.filename=a.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(a.filename);e===r&&(a.filename=a.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(a.filename);a.filename=a.filename?.replace(e,"app://").replace(r,"")}catch{}return n?(a.filename?.includes("/_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)):(a.filename?.startsWith("app:///_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)),a}}),name:"NextjsClientStackFrameNormalization"}))},207404,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let n=e.r(814923),a=e.r(553949),o=e.r(177192),i=new n.LRUMap(100);function s(e){let t=o.maybeParameterizeRoute(e)||e,r=i.get(t);if(void 0!==r)return r;let n=o.getManifest();if(!n?.isrRoutes||!Array.isArray(n.isrRoutes)||0===n.isrRoutes.length)return i.set(t,!1),!1;let a=n.isrRoutes.includes(t);return i.set(t,a),a}r.IS_ISR_SSG_ROUTE_CACHE=i,r.isIsrSsgRoute=s,r.removeIsrSsgTraceMetaTags=function(){a.WINDOW.document&&s(a.WINDOW.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=a.WINDOW.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}},75787,(e,t,r)=>{var n=e.i(7021);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});let a=e.r(814923),o=e.r(876210),i=a.GLOBAL_OBJ;r.applyTunnelRouteOption=function(e){let t=n.default.env._sentryRewritesTunnelPath||i._sentryRewritesTunnelPath;if(t&&e.dsn){let r=a.dsnFromString(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let i=n[1],s=n[2],l=`${t}?o=${i}&p=${r.projectId}`;s&&(l+=`&r=${s}`),e.tunnel=l,o.DEBUG_BUILD&&a.debug.log(`Tunneling events to "${l}"`)}else o.DEBUG_BUILD&&a.debug.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}},984848,(e,t,r)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},936155,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return s},isEqualNode:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(526014);function i(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function s(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"])if(document.querySelector(`style[data-href="${e.props["data-href"]}"]`))return;else e.props.href=e.props["data-href"],e.props["data-href"]=void 0;let r=t[e.type]||[];r.push(e),t[e.type]=r});let r=t.title?t.title[0]:null,n="";if(r){let{children:e}=r.props;n="string"==typeof e?e:Array.isArray(e)?e.join(""):""}n!==document.title&&(document.title=n),["meta","base","link","style","script"].forEach(e
510=>{!function(e,t){let r=document.querySelector("head");if(!r)return;let n=new Set(r.querySelectorAll(`${e}[data-next-head]`));if("meta"===e){let e=r.querySelector("meta[charset]");null!==e&&n.add(e)}let a=[];for(let e=0;e<t.length;e++){let r=function({type:e,props:t}){let r=document.createElement(e);(0,o.setAttributesFromProps)(r,t);let{children:n,dangerouslySetInnerHTML:a}=t;return a?r.innerHTML=a.__html||"":n&&(r.textContent="string"==typeof n?n:Array.isArray(n)?n.join(""):""),r}(t[e]);r.setAttribute("data-next-head","");let s=!0;for(let e of n)if(i(e,r)){n.delete(e),s=!1;break}s&&a.push(r)}for(let e of n)e.parentNode?.removeChild(e);for(let e of a)"meta"===e.tagName.toLowerCase()&&null!==e.getAttribute("charset")&&r.prepend(e),r.appendChild(e)}(e,t[e]||[])})}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},414724,(e,t,r)=>{"use strict";let n,a,o,i,s,l,u,c,d,_,p,E;Object.defineProperty(r,"__esModule",{value:!0});var S={emitter:function(){return H},hydrate:function(){return e_},initialize:function(){return W},router:function(){return n},version:function(){return V}};for(var T in S)Object.defineProperty(r,T,{enumerable:!0,get:S[T]});let g=e.r(2879),f=e.r(478902);e.r(984848);let m=g._(e.r(389959)),h=g._(e.r(358752)),A=e.r(530471),R=g._(e.r(114492)),I=e.r(641260),y=e.r(913996),N=e.r(187833),O=e.r(583280),v=e.r(505987),b=e.r(645234),C=g._(e.r(936155)),M=g._(e.r(392114)),U=e.r(494973),P=e.r(568112),D=e.r(347989),L=e.r(373105),w=e.r(770226),B=e.r(123562),k=e.r(151180),x=e.r(693067),G=e.r(857523),F=e.r(622317);e.r(924932),e.r(551506);let V="16.3.0",H=(0,R.default)(),j=!1;class Y extends m.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(a.isFallback||a.nextExport&&((0,N.isDynamicRoute)(n.pathname)||location.search||j)||a.props&&a.props.__N_SSG&&(location.search||j))&&n.replace(n.pathname+"?"+String((0,O.assign)((0,O.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!a.isFallback&&!j}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function W(t={}){a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,E=a.defaultLocale;let r=a.assetPrefix||"";if(self.__next_set_public_path__(`${r}/_next/`),o=(0,v.getURL)(),(0,B.hasBasePath)(o)&&(o=(0,w.removeBasePath)(o)),a.scriptLoader){let{initScriptLoader:t}=e.r(837015);t(a.scriptLoader)}i=new M.default(a.buildId,r);let u=([e,t])=>i.routeLoader.onEntrypoint(e,t);return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>u(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=u,(l=(0,C.default)()).getIsSsr=()=>n.isSsr,s=document.getElementById("__next"),{assetPrefix:r}}function $(e,t){return(0,f.jsx)(e,{...t})}function K({children:e}){let t=m.default.useMemo(()=>(0,x.adaptForAppRouterInstance)(n),[]);return(0,f.jsx)(Y,{fn:e=>z({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,f.jsx)(k.AppRouterContext.Provider,{value:t,children:(0,f.jsx)(G.SearchParamsContext.Provider,{value:(0,x.adaptForSearchParams)(n),children:(0,f.jsx)(x.PathnameContextProviderAdapter,{router:n,isAutoExport:self.__NEXT_DATA__.autoExport??!1,children:(0,f.jsx)(G.PathParamsContext.Provider,{value:(0,x.adaptForPathParams)(n),children:(0,f.jsx)(I.RouterContext.Provider,{value:(0,P.makePublicRouterInstance)(n),children:(0,f.jsx)(A.HeadManagerContext.Provider,{value:l,children:(0,f.jsx)(L.ImageConfigContext.Provider,{value:{deviceSizes:[376,415,480,540,640,750,828,1080,1200,1440,1920,2048,2400],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:e})})})})})})})})}let q=e=>t=>{let r={...t,Component:p,err:a.err,router:n};return(0,f.jsx)(K,{children:$(e,r)})};function z(t){let{App:r,err:s}=t;return console.error(s),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(({page:n,styleSheets:a})=>u?.Component===n?e.A(732672).then(n=>e.A(835985).then(e=>(t.App=r=e.default,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:n,styleSheets:a}).then(({ErrorComponent:e,styleSheets:i})=>{let l=q(r),u={Component:e,AppTree:l,router:n,ctx:{err:s,pathname:a.page,query:a.query,asPath:o,AppTree:l}};return Promise.resolve(t.props?.err?t.props:(0,v.loadGetInitialProps)(r,u)).then(r=>ec({...t,err:s,Component:e,styleSheets:i,props:r}))})}function J({callback:e}){return m.default.useLayoutEffect(()=>e(),[e]),null}let X="beforeRender",Q="afterRender",Z="afterHydrate",ee="routeChange",et="Next.js-hydration",er="Next.js-route-change-to-render",en="Next.js-render",ea=null,eo=!0;
510function ei(){[X,Z,Q,ee].forEach(e=>performance.clearMarks(e))}function es(){v.ST&&(performance.mark(Z),performance.getEntriesByName(X,"mark").length&&(performance.measure("Next.js-before-hydration","navigationStart",X),performance.measure(et,X,Z)),_&&performance.getEntriesByName(et).forEach(_),ei())}function el(){if(!v.ST)return;performance.mark(Q);let e=performance.getEntriesByName(ee,"mark");e.length&&(performance.getEntriesByName(X,"mark").length&&(performance.measure(er,e[0].name,X),performance.measure(en,X,Q),_&&(performance.getEntriesByName(en).forEach(_),performance.getEntriesByName(er).forEach(_))),ei(),[er,en].forEach(e=>performance.clearMeasures(e)))}function eu({callbacks:e,children:t}){return m.default.useLayoutEffect(()=>e.forEach(e=>e()),[e]),t}function ec(e){var t,r;let a,o,{App:i,Component:l,props:d,err:_}=e,p="initial"in e?void 0:e.styleSheets;l=l||u.Component;let E={...d=d||u.props,Component:l,err:_,router:n};u=E;let S=new Promise((e,t)=>{c&&c(),o=()=>{c=null,e()},c=()=>{c=null;let e=Object.defineProperty(Error("Cancel rendering route"),"__NEXT_ERROR_CODE",{value:"E503",enumerable:!1,configurable:!0});e.cancelled=!0,t(e)}});function T(){o()}!function(){let e;if(!p)return;let t=new Set((e=document.querySelectorAll("style[data-n-href]"),[].slice.call(e)).map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=r?.getAttribute("data-n-css");p.forEach(({href:e,text:r})=>{if(!t.has(e)){let t=document.createElement("style");t.setAttribute("data-n-href",e),t.setAttribute("media","x"),n&&t.setAttribute("nonce",n),document.head.appendChild(t),t.appendChild(document.createTextNode(r))}})}();let g=(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(J,{callback:function(){if(e.scroll){let{x:t,y:r}=e.scroll;(0,y.disableSmoothScrollDuringRouteTransition)(()=>{window.scrollTo(t,r)})}}}),(0,f.jsxs)(K,{children:[$(i,E),(0,f.jsx)(b.Portal,{type:"next-route-announcer",children:(0,f.jsx)(U.RouteAnnouncer,{})})]})]});return t=s,r=e=>(0,f.jsx)(eu,{callbacks:[e,T],children:g}),v.ST&&performance.mark(X),a=r(eo?es:el),ea?(0,m.default.startTransition)(()=>{ea.render(a)}):(ea=h.default.hydrateRoot(t,a,{onRecoverableError:F.onRecoverableError}),eo=!1),S}async function ed(e){if(e.err&&(void 0===e.Component||!e.isHydratePass))return void await z(e);try{await ec(e)}catch(r){let t=(0,D.getProperError)(r);if(t.cancelled)throw t;await z({...e,err:t})}}async function e_(e){let t=a.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(_=({id:e,name:t,startTime:n,value:a,duration:o,entryType:i,entries:s,attribution:l})=>{let u,c=`${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`;s&&s.length&&(u=s[0].startTime);let d={id:e||c,name:t,startTime:n||u,value:null==a?o:a,label:"mark"===i||"measure"===i?"custom":"web-vital"};l&&(d.attribution=l),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(a.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,D.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(a.dynamicIds),n=(0,P.createRouter)(a.page,a.query,o,{initialProps:a.props,pageLoader:i,App:d,Component:p,wrapApp:q,err:t,isFallback:!!a.isFallback,subscription:(e,t,r)=>ed(Object.assign({},e,{App:t,scroll:r})),locale:a.locale,locales:a.locales,defaultLocale:E,domainLocales:a.domainLocales,isPreview:a.isPreview}),j=await n._initialMatchesMiddlewarePromise;let r={App:d,initial:!0,Component:p,props:a.props,err:t,isHydratePass:!0};e?.beforeRender&&await e.beforeRender(),ed(r)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},968604,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),e.r(743048),e.r(13511);let n=e.r(414724);window.next={version:n.version,turbopack:!0,get router(){return n.router},emitter:n.emitter},self.__next_set_public_path__=()=>{},self.__webpack_hash__="",(0,n.initialize)({}).then(()=>(self.__turbopack_load_page_chunks__=(t,r)=>{Promise.all(r.map(t=>e.l(t))).catch(e=>console.error("failed to load chunks for page "+t,e))},(0,n.hydrate)())).catch(e=>{console.error("Error was not caught",e)}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
510dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},392114,(e,t,r)=>{"use strict";var n=e.i(7021);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return E}});let a=e.r(2879),o=e.r(597870),i=e.r(313518),s=a._(e.r(864221)),l=e.r(509223),u=e.r(187833),c=e.r(60059),d=e.r(632730),_=e.r(325218);e.r(814691);let p=e.r(254357);class E{constructor(e,t){this.routeLoader=(0,_.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}getPageList(){return(0,_.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){if(n.default.env.__NEXT_MIDDLEWARE_MATCHERS){let e=n.default.env.__NEXT_MIDDLEWARE_MATCHERS;return window.__MIDDLEWARE_MATCHERS=e||void 0,window.__MIDDLEWARE_MATCHERS}if(window.__MIDDLEWARE_MATCHERS)return window.__MIDDLEWARE_MATCHERS;{let e=new Promise(e=>{let t=self.__MIDDLEWARE_MATCHERS_CB;self.__MIDDLEWARE_MATCHERS_CB=()=>{e(self.__MIDDLEWARE_MATCHERS),t&&t()}});return(0,p.resolvePromiseWithTimeout)(e,(0,_.markAssetError)(Object.defineProperty(Error("Failed to load client middleware manifest"),"__NEXT_ERROR_CODE",{value:"E980",enumerable:!1,configurable:!0})),void 0)}}getDataHref(e){var t;let r,{asPath:n,href:a,locale:_}=e,{pathname:p,query:E,search:S}=(0,c.parseRelativeUrl)(a),{pathname:T}=(0,c.parseRelativeUrl)(n),g=(0,d.removeTrailingSlash)(p);if("/"!==g[0])throw Object.defineProperty(Error(`Route name should start with a "/", got "${g}"`),"__NEXT_ERROR_CODE",{value:"E303",enumerable:!1,configurable:!0});return t=e.skipInterpolation?T:(0,u.isDynamicRoute)(g)?(0,i.interpolateAs)(p,T,E).result:g,r=(0,s.default)((0,d.removeTrailingSlash)((0,l.addLocale)(t,_)),".json"),(0,o.addBasePath)(`/_next/data/${this.buildId}${r}${S}`,!0)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},645234,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Portal",{enumerable:!0,get:function(){return o}});let n=e.r(389959),a=e.r(971131),o=({children:e,type:t})=>{let[r,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(t);return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}},[t]),r?(0,a.createPortal)(e,r):null};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},950702,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"reportGlobalError",{enumerable:!0,get:function(){return n}});let n="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},622317,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isRecoverableError:function(){return c},onRecoverableError:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(2879),i=e.r(610983),s=o._(e.r(347989)),l=e.r(950702),u=new WeakSet;function c(e){return u.has(e)}let d=e=>{let t=(0,s.default)(e)&&"cause"in e?e.cause:e;(0,i.isBailoutToCSRError)(t)||(0,l.reportGlobalError)(t)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
510dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},924932,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let n=e.r(2879)._(e.r(114492));class a{constructor(e,t,r){this.name=e,this.attributes=t.attributes??{},this.startTime=t.startTime??Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}end(e){if("ended"===this.state.state)throw Object.defineProperty(Error("Span has already ended"),"__NEXT_ERROR_CODE",{value:"E17",enumerable:!1,configurable:!0});this.state={state:"ended",endTime:e??Date.now()},this.onSpanEnd(this)}}let o=new class{startSpan(e,t){return new a(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},743048,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=(0,e.r(921933).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=n,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},494973,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RouteAnnouncer:function(){return c},default:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(2879),i=e.r(478902),s=o._(e.r(389959)),l=e.r(568112),u={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},c=()=>{let{asPath:e}=(0,l.useRouter)(),[t,r]=s.default.useState(""),n=s.default.useRef(e);return s.default.useEffect(()=>{if(n.current!==e)if(n.current=e,document.title)r(document.title);else{let t=document.querySelector("h1");r((t?.innerText??t?.textContent)||e)}},[e]),(0,i.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:u,children:t})},d=c;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},693067,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={PathnameContextProviderAdapter:function(){return S},adaptForAppRouterInstance:function(){return _},adaptForPathParams:function(){return E},adaptForSearchParams:function(){return p}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(887602),i=e.r(478902),s=o._(e.r(389959)),l=e.r(857523),u=e.r(822273),c=e.r(392514),d=e.r(586115);function _(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},hmrRefresh(){},push(t,{scroll:r}={}){e.push(t,void 0,{scroll:r})},replace(t,{scroll:r}={}){e.replace(t,void 0,{scroll:r})},prefetch(t){e.prefetch(t)},bfcacheId:"0"}}function p(e){return e.isReady&&e.query?(0,c.asPathToSearchParams)(e.asPath):new URLSearchParams}function E(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,d.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function S({children:e,router:t,...r}){let n=(0,s.useRef)(r.isAutoExport),a=(0,s.useMemo)(()=>{let e,r=n.current;if(r&&(n.current=!1),(0,u.isDynamicRoute)(t.pathname)&&(t.isFallback||r&&!t.isReady))return null;try{e=new URL(t.asPath,"http://f")}catch(e){return"/"}return e.pathname},[t.asPath,t.isFallback,t.isReady,t.pathname]);return(0,i.jsx)(l.PathnameContext.Provider,{value:a,children:e})}},392514,(e,t,r)=>{"use strict";function n(e){return new URL(e,"http://n").searchParams}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"asPathToSearchParams",{enumerable:!0,get:function(){return n}})},358752,(e,t,r)=>{"use strict";var n=e.r(971131);r.createRoot=n.createRoot,r.hydrateRoot=n.hydrateRoot}]);
511
512//# debugId=e0dc0085-9741-541c-5e8a-55b1cd20a4b2
513//# sourceMappingURL=1l3ncrhtog24c.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.