try{window.performance.mark("shared~commons~ar.js:eval-start")}catch(e){} function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var r=globalThis;function n(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}var a={},i={},o=r.parcelRequire49d7;null==o&&(o=function(e){if(e in a)return a[e].exports;if(e in i){var t=i[e];delete i[e];var r={id:e,exports:{}};return a[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n},o.register=function(e,t){i[e]=t},r.parcelRequire49d7=o);var s=o.register;r.lb||(r.lb=new Set,r.bq=[],r.rlb=e=>{r.lb.add(e),r.pq()},r.rwr=(e,t,n)=>{r.bq.push({b:e,r:t,d:n}),r.pq()},r.pq=()=>{var e=r.bq.find(e=>e.d.every(e=>r.lb.has(e)));e&&(r.bq=r.bq.filter(t=>t.b!==e.b),e.r(),r.pq())}),s("978hs",function(r,n){t(r.exports,"defaultLocale",()=>a),t(r.exports,"default",()=>i),t(r.exports,"standardizeLocale",()=>s);let a="en_US";var i=Object.keys(e(o("bnqi9"))).map(e=>e.replace("-","_"));let s=e=>e.replace("_","-")}),s("bnqi9",function(e,t){e.exports=JSON.parse('{"cs-CZ":{},"da-DK":{},"de-DE":{},"en-GB":{},"en-UK":{},"en-US":{},"en-ZZ":{},"es-ES":{},"et-EE":{},"fi-FI":{},"fr-FR":{},"hu-HU":{},"is-IS":{},"it-IT":{},"ja-JP":{},"ko-KR":{},"nb-NO":{},"nl-NL":{},"pl-PL":{},"pt-BR":{},"pt-PT":{},"ro-RO":{},"ru-RU":{},"sk-SK":{},"sv-SE":{},"tr-TR":{},"zh-CN":{},"zh-TW":{}}')}),s("2IWJd",function(e,t){o("haztg"),r.__SPA__=!1}),s("haztg",function(e,t){(0,o("k11SN").default)("fe_platform_error_tracking_enabled_sentry")||(0,o("m9zhS").installGlobalHandler)(),(0,o("bDxkI").installErrorHandler)(o("lSsUZ").platformErrorHandler),(0,o("1ekWM").default)()}),s("m9zhS",function(e,r){t(e.exports,"installGlobalHandler",()=>n);let n=()=>(0,o("68wlw").installGlobalHandler)()}),s("68wlw",function(e,r){t(e.exports,"installGlobalHandler",()=>i);let n=[/https:\/\/jira-frontend.*\..*\.atl-paas\.net\//,/https:\/\/jira-fe\..*\.atl-paas\.net\//,/atlastunnel/,/localhost/,/https:\/\/d398cwy4pffc4s\.cloudfront\.net\//,/https:\/\/(d25s903c0x7s6j|dgjotco7y2aa|d9x1z07c483jl|d1vkjhvgh6tvn1).cloudfront.net\//,/https:\/\/d2oj435jmh0qvz\.cloudfront\.net\//,/https:\/\/(d3r49bgl1frqoy|d2v2wiwzx86dg|d283vu6e5qi87p).cloudfront.net\//],a=e=>(e.filename&&(e.in_app=n.some(t=>t.test(e.filename))),e),i=()=>{if(globalThis.__JIRA_SENTRY_INSTALLED)return;globalThis.__JIRA_SENTRY_INSTALLED=!0;let e=(0,o("84Maa").getCurrentHub)().getClient();if(e&&e.getOptions().enabled)return;let t=(0,o("i860n").fg)("jira-bypass-sentry-environment-filter")?"dev":(0,o("2HuOR").getTenantContext_DEPRECATED_DO_NOT_USE)().environment??"no-environment";"prod"===t&&(t="production");let r={region:(0,o("6bEm8").default)("ajs-region")||"unknown",isStaticFallback:"static"===(0,o("gToGk").getSsrStatus)()||!!globalThis.__SSR_FALLBACK__};window.BUNDLER_VERSION&&(r.bundler=window.BUNDLER_VERSION.includes("@")?window.BUNDLER_VERSION:`webpack@${window.BUNDLER_VERSION}`),window.BUILD_VARIANT&&(r.variant=window.BUILD_VARIANT);let i={allowUrls:n,beforeSend:o("7YAQr").normaliseSentryEvent,beforeBreadcrumb:o("5HYmv").normaliseSentryBreadcrumbs,dsn:(0,o("l1vE2").isFedRamp)()?void 0:"https://12742a0abbd1484686195dca8ba74be6@o55978.ingest.sentry.io/5988809",enabled:!(0,o("i860n").fg)("jfp_disable_sentry_bb")||!globalThis.BUILD_KEY?.startsWith("MRJF-BB"),environment:t,initialScope:{tags:r,user:{id:(0,o("2HuOR").getTenantContext_DEPRECATED_DO_NOT_USE)().atlassianAccountId??void 0}},integrations:e=>[...e.filter(({name:e})=>"Breadcrumbs"!==e),new(o("c2AmC")).Integrations.Breadcrumbs({dom:{serializeAttribute:o("5HYmv").SERIALIZABLE_ATTRIBUTES,maxStringLength:300},fetch:!1,xhr:!1,console:!1,history:!1,sentry:!1}),new(0,o("lJt5a").Dedupe),new(0,o("gpdQo").ExtraErrorData),new(0,o("kb1Yw").RewriteFrames)({iteratee:a}),...(0,o("i860n").fg)("jira-capture-console-errors-in-sentry")?[new(0,o("lmSpp").CaptureConsole)({levels:["error"]})]:[]],maxBreadcrumbs:15,release:globalThis.BUILD_KEY,dist:globalThis.BUILD_VARIANT||"default"};return(0,o("eGgLE").init)(i),(0,o("dcgSS").handleAtlaspackErrors)(),"sentry-init"}}),s("eGgLE",function(e,r){t(e.exports,"defaultIntegrations",()=>n),t(e.exports,"getDefaultIntegrations",()=>a),t(e.exports,"init",()=>i),t(e.exports,"showReportDialog",()=>s),t(e.exports,"forceLoad",()=>l),t(e.exports,"onLoad",()=>c),t(e.exports,"wrap",()=>u),t(e.exports,"captureUserFeedback",()=>d);let n=[(0,o("85Shi").inboundFiltersIntegration)(),(0,o("2sSit").functionToStringIntegration)(),(0,o("eqOkL").browserApiErrorsIntegration)(),(0,o("lfdSs").breadcrumbsIntegration)(),(0,o("efJnc").globalHandlersIntegration)(),(0,o("2JxJk").linkedErrorsIntegration)(),(0,o("9nLSz").dedupeIntegration)(),(0,o("5lgCu").httpContextIntegration)()];function a(e){return[...n]}function i(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=a()),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),o("2TIK5").WINDOW.SENTRY_RELEASE&&o("2TIK5").WINDOW.SENTRY_RELEASE.id&&(e.release=o("2TIK5").WINDOW.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);let t={...e,stackParser:(0,o("lnX7A").stackParserFromStackParserOptions)(e.stackParser||o("21oNa").defaultStackParser),integrations:(0,o("dFnv4").getIntegrationsToSetup)(e),transport:e.transport||((0,o("40AKY").supportsFetch)()?o("5UoQk").makeFetchTransport:o("6Em6n").makeXHRTransport)};(0,o("kOHMF").initAndBind)(o("iQyrW").BrowserClient,t),e.autoSessionTracking&&function(){if(void 0===o("2TIK5").WINDOW.document){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}(0,o("dmS7i").startSession)({ignoreDuration:!0}),(0,o("dmS7i").captureSession)(),(0,o("4rg5W").addHistoryInstrumentationHandler)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,o("dmS7i").startSession)({ignoreDuration:!0}),(0,o("dmS7i").captureSession)())})}()}let s=(e={},t=(0,o("84Maa").getCurrentHub)())=>{if(!o("2TIK5").WINDOW.document){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.error("Global document not defined in showReportDialog call");return}let{client:r,scope:n}=t.getStackTop(),a=e.dsn||r&&r.getDsn();if(!a){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.error("DSN not configured for showReportDialog call");return}n&&(e.user={...n.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());let i=o("2TIK5").WINDOW.document.createElement("script");i.async=!0,i.crossOrigin="anonymous",i.src=(0,o("5hILL").getReportDialogEndpoint)(a,e),e.onLoad&&(i.onload=e.onLoad);let{onClose:s}=e;if(s){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{s()}finally{o("2TIK5").WINDOW.removeEventListener("message",e)}};o("2TIK5").WINDOW.addEventListener("message",e)}let l=o("2TIK5").WINDOW.document.head||o("2TIK5").WINDOW.document.body;l?l.appendChild(i):o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.error("Not injecting report dialog. No injection point found in HTML")};function l(){}function c(e){e()}function u(e){return(0,o("2TIK5").wrap)(e)()}function d(e){let t=(0,o("dmS7i").getClient)();t&&t.captureUserFeedback(e)}}),s("2sSit",function(e,r){let n;t(e.exports,"functionToStringIntegration",()=>s),t(e.exports,"FunctionToString",()=>l);let a="FunctionToString",i=new WeakMap,s=(0,o("dFnv4").defineIntegration)(()=>({name:a,setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,o("iiQEB").getOriginalFunction)(this),r=i.has((0,o("dmS7i").getClient)())&&void 0!==t?t:this;return n.apply(r,e)}}catch(e){}},setup(e){i.set(e,!0)}})),l=(0,o("dFnv4").convertIntegrationFnToClass)(a,s)}),s("dFnv4",function(e,r){t(e.exports,"getIntegrationsToSetup",()=>a),t(e.exports,"setupIntegrations",()=>i),t(e.exports,"setupIntegration",()=>l),t(e.exports,"afterSetupIntegrations",()=>s),t(e.exports,"addIntegration",()=>c),t(e.exports,"convertIntegrationFnToClass",()=>u),t(e.exports,"defineIntegration",()=>d);let n=[];function a(e){let t,r=e.defaultIntegrations||[],n=e.integrations;r.forEach(e=>{e.isDefaultInstance=!0});let a=(t={},(Array.isArray(n)?[...r,...n]:"function"==typeof n?(0,o("h7F1u").arrayify)(n(r)):r).forEach(e=>{let{name:r}=e,n=t[r];n&&!n.isDefaultInstance&&e.isDefaultInstance||(t[r]=e)}),Object.keys(t).map(e=>t[e])),i=function(e,t){for(let r=0;r"Debug"===e.name);if(-1!==i){let[e]=a.splice(i,1);a.push(e)}return a}function i(e,t){let r={};return t.forEach(t=>{t&&l(e,t,r)}),r}function s(e,t){for(let r of t)r&&r.afterAllSetup&&r.afterAllSetup(e)}function l(e,t,r){if(r[t.name]){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,-1===n.indexOf(t.name)&&(t.setupOnce(o("d86W5").addGlobalEventProcessor,o("84Maa").getCurrentHub),n.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),e.on&&"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if(e.addEventProcessor&&"function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`Integration installed: ${t.name}`)}function c(e){let t=(0,o("dmS7i").getClient)();if(!t||!t.addIntegration){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function u(e,t){return Object.assign(function(...e){return t(...e)},{id:e})}function d(e){return e}}),s("5hILL",function(e,r){function n(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function a(e,t={}){let r="string"==typeof t?t:t.tunnel,i="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return r||`${n(e)}${e.projectId}/envelope/?${(0,o("iiQEB").urlEncode)({sentry_key:e.publicKey,sentry_version:"7",...i&&{sentry_client:`${i.name}/${i.version}`}})}`}function i(e,t){let r=(0,o("5Na3j").makeDsn)(e);if(!r)return"";let a=`${n(r)}embed/error-page/`,i=`dsn=${(0,o("5Na3j").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`${a}?${i}`}t(e.exports,"getEnvelopeEndpointWithUrlEncodedAuth",()=>a),t(e.exports,"getReportDialogEndpoint",()=>i)}),s("5Na3j",function(e,r){t(e.exports,"dsnToString",()=>a),t(e.exports,"dsnFromString",()=>i),t(e.exports,"makeDsn",()=>l);let n=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e,t=!1){let{host:r,path:n,pass:i,port:o,projectId:s,protocol:l,publicKey:c}=e;return`${l}://${c}${t&&i?`:${i}`:""}@${r}${o?`:${o}`:""}/${n?`${n}/`:n}${s}`}function i(e){let t=n.exec(e);if(!t)return void(0,o("7I6pg").consoleSandbox)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,a,i="",l,c="",u]=t.slice(1),d="",p=u,g=p.split("/");if(g.length>1&&(d=g.slice(0,-1).join("/"),p=g.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return s({host:l,pass:i,path:d,projectId:p,port:c,protocol:r,publicKey:a})}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}}function l(e){let t="string"==typeof e?i(e):s(e);if(t&&function(e){if(!o("fmZZ6").DEBUG_BUILD)return!0;let{port:t,projectId:r,protocol:n}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(o("7I6pg").logger.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==n&&"https"!==n?(o("7I6pg").logger.error(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):!(t&&isNaN(parseInt(t,10)))||(o("7I6pg").logger.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(o("7I6pg").logger.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}}),s("85Shi",function(e,r){t(e.exports,"inboundFiltersIntegration",()=>s),t(e.exports,"InboundFilters",()=>l);let n=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],a=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],i="InboundFilters",s=(0,o("dFnv4").defineIntegration)((e={})=>({name:i,setupOnce(){},processEvent:(t,r,i)=>{var s,l,u,d;return(s=t,(l=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:n],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:a],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,i.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(s)?(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`Event dropped due to being internal Sentry Error. Event: ${(0,o("h7F1u").getEventDescription)(s)}`),0):(u=s,d=l.ignoreErrors,!u.type&&d&&d.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}`)),o("aCaWa").DEBUG_BUILD&&0===r.length&&o("7I6pg").logger.error(`Could not extract message for event ${(0,o("h7F1u").getEventDescription)(e)}`),r})(u).some(e=>(0,o("4TtIy").stringMatchesSomePattern)(e,d)))?(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${(0,o("h7F1u").getEventDescription)(s)}`),0):!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let r=e.transaction;return!!r&&(0,o("4TtIy").stringMatchesSomePattern)(r,t)}(s,l.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let r=c(e);return!!r&&(0,o("4TtIy").stringMatchesSomePattern)(r,t)}(s,l.denyUrls)?function(e,t){if(!t||!t.length)return!0;let r=c(e);return!r||(0,o("4TtIy").stringMatchesSomePattern)(r,t)}(s,l.allowUrls)||(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${(0,o("h7F1u").getEventDescription)(s)}. Url: ${c(s)}`),0):(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${(0,o("h7F1u").getEventDescription)(s)}. Url: ${c(s)}`),0):(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${(0,o("h7F1u").getEventDescription)(s)}`),0))?t:null}})),l=(0,o("dFnv4").convertIntegrationFnToClass)(i,s);function c(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&""!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(t):null}catch(t){return o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.error(`Cannot extract url for event ${(0,o("h7F1u").getEventDescription)(e)}`),null}}}),s("kOHMF",function(e,r){function n(e,t){var r;!0===t.debug&&(o("aCaWa").DEBUG_BUILD?o("7I6pg").logger.enable():(0,o("7I6pg").consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,o("dmS7i").getCurrentScope)().update(t.initialScope);let n=new e(t);a(n),(r=n).init?r.init():r.setupIntegrations&&r.setupIntegrations()}function a(e){let t=(0,o("84Maa").getCurrentHub)().getStackTop();t.client=e,t.scope.setClient(e)}t(e.exports,"initAndBind",()=>n),t(e.exports,"setCurrentClient",()=>a)}),s("4rg5W",function(e,r){let n;t(e.exports,"addHistoryInstrumentationHandler",()=>i);let a=o("hi3E4").GLOBAL_OBJ;function i(e){let t="history";(0,o("cPqXP").addHandler)(t,e),(0,o("cPqXP").maybeInstrument)(t,s)}function s(){if(!(0,o("djhN8").supportsHistory)())return;let e=a.onpopstate;function t(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let e=n,t=String(r);n=t,(0,o("cPqXP").triggerHandlers)("history",{from:e,to:t})}return e.apply(this,t)}}a.onpopstate=function(...t){let r=a.location.href,i=n;if(n=r,(0,o("cPqXP").triggerHandlers)("history",{from:i,to:r}),e)try{return e.apply(this,t)}catch(e){}},(0,o("iiQEB").fill)(a.history,"pushState",t),(0,o("iiQEB").fill)(a.history,"replaceState",t)}}),s("djhN8",function(e,r){t(e.exports,"supportsHistory",()=>a);let n=(0,o("hi3E4").getGlobalObject)();function a(){let e=n.chrome,t=e&&e.app&&e.app.runtime,r="history"in n&&!!n.history.pushState&&!!n.history.replaceState;return!t&&r}}),s("cPqXP",function(e,r){t(e.exports,"addHandler",()=>i),t(e.exports,"maybeInstrument",()=>s),t(e.exports,"triggerHandlers",()=>l);let n={},a={};function i(e,t){n[e]=n[e]||[],n[e].push(t)}function s(e,t){a[e]||(t(),a[e]=!0)}function l(e,t){let r=e&&n[e];if(r)for(let n of r)try{n(t)}catch(t){o("fmZZ6").DEBUG_BUILD&&o("7I6pg").logger.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${(0,o("lnX7A").getFunctionName)(n)} Error:`,t)}}}),s("40AKY",function(e,r){t(e.exports,"supportsFetch",()=>a),t(e.exports,"isNativeFetch",()=>i),t(e.exports,"supportsNativeFetch",()=>s),t(e.exports,"supportsReportingObserver",()=>l);let n=(0,o("hi3E4").getGlobalObject)();function a(){if(!("fetch"in n))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function i(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function s(){if("string"==typeof EdgeRuntime)return!0;if(!a())return!1;if(i(n.fetch))return!0;let e=!1,t=n.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=i(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){o("fmZZ6").DEBUG_BUILD&&o("7I6pg").logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function l(){return"ReportingObserver"in n}}),s("iQyrW",function(e,r){t(e.exports,"BrowserClient",()=>n);class n extends o("ciWI5").BaseClient{constructor(e){let t=o("2TIK5").WINDOW.SENTRY_SDK_SOURCE||(0,o("f3FpS").getSDKSource)();(0,o("b6cMu").applySdkMetadata)(e,"browser",["browser"],t),super(e),e.sendClientReports&&o("2TIK5").WINDOW.document&&o("2TIK5").WINDOW.document.addEventListener("visibilitychange",()=>{"hidden"===o("2TIK5").WINDOW.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return(0,o("etX8V").eventFromException)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return(0,o("etX8V").eventFromMessage)(this._options.stackParser,e,t,r,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.warn("SDK not enabled, will not capture user feedback.");return}let t=(0,o("ej73F").createUserFeedbackEnvelope)(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r)}_flushOutcomes(){let e=this._clearOutcomes();if(0===e.length){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("No outcomes to send");return}if(!this._dsn){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("No dsn provided, will not send outcomes");return}o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("Sending outcomes:",e);let t=(0,o("1sNzt").createClientReportEnvelope)(e,this._options.tunnel&&(0,o("5Na3j").dsnToString)(this._dsn));this._sendEnvelope(t)}}}),s("b6cMu",function(e,r){t(e.exports,"applySdkMetadata",()=>n);function n(e,t,r=[t],a="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:r.map(e=>({name:`${a}:@sentry/${e}`,version:o("gLE2H").SDK_VERSION})),version:o("gLE2H").SDK_VERSION}),e._metadata=i}}),s("ciWI5",function(e,r){t(e.exports,"BaseClient",()=>a),t(e.exports,"addEventProcessor",()=>l);let n="Not capturing exception because it's already been captured.";class a{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,o("5Na3j").makeDsn)(e.dsn):o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn("No DSN provided, client will not send events."),this._dsn){let t=(0,o("5hILL").getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,e);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,r){if((0,o("h7F1u").checkOrSetAlreadyCaught)(e)){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(n);return}let a=t&&t.event_id;return this._process(this.eventFromException(e,t).then(e=>this._captureEvent(e,t,r)).then(e=>{a=e})),a}captureMessage(e,t,r,n){let a=r&&r.event_id,i=(0,o("9r1pX").isParameterizedString)(e)?e:String(e),s=(0,o("9r1pX").isPrimitive)(e)?this.eventFromMessage(i,t,r):this.eventFromException(e,r);return this._process(s.then(e=>this._captureEvent(e,r,n)).then(e=>{a=e})),a}captureEvent(e,t,r){if(t&&t.originalException&&(0,o("h7F1u").checkOrSetAlreadyCaught)(t.originalException)){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(n);return}let a=t&&t.event_id,i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,i||r).then(e=>{a=e})),a}captureSession(e){"string"!=typeof e.release?o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,o("8Ly0x").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;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then(r=>t.flush(e).then(e=>r&&e))):(0,o("2VQuW").resolvedSyncPromise)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){let t=this._integrations[e.name];(0,o("dFnv4").setupIntegration)(this,e,this._integrations),t||(0,o("dFnv4").afterSetupIntegrations)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=(0,o("l04vj").createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=(0,o("eoF3x").addItemToEnvelope)(r,(0,o("eoF3x").createAttachmentEnvelopeItem)(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));let n=this._sendEnvelope(r);n&&n.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=(0,o("l04vj").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("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`Recording outcome: "${a}"${n>1?` (${n} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+n}}captureAggregateMetrics(e){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);let t=(0,o("1xs5F").createMetricEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach(e=>e(...t))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,o("dFnv4").setupIntegrations)(this,e),(0,o("dFnv4").afterSetupIntegrations)(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let r=!1,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 i="ok"===e.status;(i&&0===e.errors||i&&r)&&((0,o("8Ly0x").updateSession)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new(0,o("2VQuW").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,n=(0,o("84Maa").getIsolationScope)()){let a=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),(0,o("1jkNj").prepareEvent)(a,e,t,r,this,n).then(e=>{if(null===e)return e;let t={...n.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){let{traceId:n,spanId:a,parentSpanId:i,dsc:s}=t;e.contexts={trace:{trace_id:n,span_id:a,parent_span_id:i},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:s||(0,o("aw8s7").getDynamicSamplingContextFromClient)(n,this,r),...e.sdkProcessingMetadata}}return e})}_captureEvent(e,t={},r){return this._processEvent(e,t,r).then(e=>e.event_id,e=>{o("aCaWa").DEBUG_BUILD&&("log"===e.logLevel?o("7I6pg").logger.log(e.message):o("7I6pg").logger.warn(e))})}_processEvent(e,t,r){let n=this.getOptions(),{sampleRate:a}=n,l=s(e),c=i(e),u=e.type||"error",d=`before send for type \`${u}\``;if(c&&"number"==typeof a&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",e),(0,o("2VQuW").rejectedSyncPromise)(new(0,o("fqZAk").SentryError)(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));let p="replay_event"===u?"replay":u,g=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,r,g).then(r=>{if(null===r)throw this.recordDroppedEvent("event_processor",p,e),new(0,o("fqZAk").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((0,o("9r1pX").isThenable)(e))return e.then(e=>{if(!(0,o("9r1pX").isPlainObject)(e)&&null!==e)throw new(0,o("fqZAk").SentryError)(r);return e},e=>{throw new(0,o("fqZAk").SentryError)(`${t} rejected with ${e}`)});if(!(0,o("9r1pX").isPlainObject)(e)&&null!==e)throw new(0,o("fqZAk").SentryError)(r);return e}(function(e,t,r){let{beforeSend:n,beforeSendTransaction:a}=e;if(i(t)&&n)return n(t,r);if(s(t)&&a){if(t.spans){let e=t.spans.length;t.sdkProcessingMetadata={...t.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(t,r)}return t}(n,r,t),d)}).then(n=>{if(null===n){if(this.recordDroppedEvent("before_send",p,e),l){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new(0,o("fqZAk").SentryError)(`${d} returned \`null\`, will not send event.`,"log")}let a=r&&r.getSession();if(!l&&a&&this._updateSessionFromEvent(a,n),l){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 l&&i&&n.transaction!==e.transaction&&(n.transaction_info={...i,source:"custom"}),this.sendEvent(n,t),n}).then(null,e=>{if(e instanceof o("fqZAk").SentryError)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new(0,o("fqZAk").SentryError)(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,e=>{o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.error("Error while sending event:",e)});o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.error("Transport disabled")}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(t=>{let[r,n]=t.split(":");return{reason:r,category:n,quantity:e[t]}})}}function i(e){return void 0===e.type}function s(e){return"transaction"===e.type}function l(e){let t=(0,o("dmS7i").getClient)();t&&t.addEventProcessor&&t.addEventProcessor(e)}}),s("eoF3x",function(e,r){function n(e,t=[]){return[e,t]}function a(e,t){let[r,n]=e;return[r,[...n,t]]}function i(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function s(e,t){return i(e,(e,r)=>t.includes(r))}function l(e,t){return(t||new TextEncoder).encode(e)}function c(e,t){let[r,n]=e,a=JSON.stringify(r);function i(e){"string"==typeof a?a="string"==typeof e?a+e:[l(a,t),e]:a.push("string"==typeof e?l(e,t):e)}for(let e of n){let[t,r]=e;if(i(` ${JSON.stringify(t)} `),"string"==typeof r||r instanceof Uint8Array)i(r);else{let e;try{e=JSON.stringify(r)}catch(t){e=JSON.stringify((0,o("bsqJK").normalize)(r))}i(e)}}return"string"==typeof a?a: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}(a)}function u(e,t,r){let n="string"==typeof e?t.encode(e):e;function a(e){let t=n.subarray(0,e);return n=n.subarray(e+1),t}function i(){let e=n.indexOf(10);return e<0&&(e=n.length),JSON.parse(r.decode(a(e)))}let o=i(),s=[];for(;n.length;){let e=i(),t="number"==typeof e.length?e.length:void 0;s.push([e,t?a(t):i()])}return[o,s]}function d(e,t){let r="string"==typeof e.data?l(e.data,t):e.data;return[(0,o("iiQEB").dropUndefinedKeys)({type:"attachment",length:r.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),r]}t(e.exports,"createEnvelope",()=>n),t(e.exports,"addItemToEnvelope",()=>a),t(e.exports,"forEachEnvelopeItem",()=>i),t(e.exports,"envelopeContainsItemType",()=>s),t(e.exports,"serializeEnvelope",()=>c),t(e.exports,"parseEnvelope",()=>u),t(e.exports,"createAttachmentEnvelopeItem",()=>d),t(e.exports,"envelopeItemTypeToDataCategory",()=>g),t(e.exports,"getSdkMetadataForEnvelopeHeader",()=>f),t(e.exports,"createEventEnvelopeHeaders",()=>m);let p={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function g(e){return p[e]}function f(e){if(!e||!e.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function m(e,t,r,n){let a=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:(0,o("5Na3j").dsnToString)(n)},...a&&{trace:(0,o("iiQEB").dropUndefinedKeys)({...a})}}}}),s("fqZAk",function(e,r){t(e.exports,"SentryError",()=>n);class n extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}}),s("l04vj",function(e,r){function n(e,t,r,n){let a=(0,o("eoF3x").getSdkMetadataForEnvelopeHeader)(r),i={sent_at:new Date().toISOString(),...a&&{sdk:a},...!!n&&t&&{dsn:(0,o("5Na3j").dsnToString)(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,o("eoF3x").createEnvelope)(i,[s])}function a(e,t,r,n){var a;let i=(0,o("eoF3x").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=(0,o("eoF3x").createEventEnvelopeHeaders)(e,i,n,t);delete e.sdkProcessingMetadata;let c=[{type:s},e];return(0,o("eoF3x").createEnvelope)(l,[c])}t(e.exports,"createSessionEnvelope",()=>n),t(e.exports,"createEventEnvelope",()=>a)}),s("1xs5F",function(e,r){function n(e,t,r,n){var a;let i,s={sent_at:new Date().toISOString()};r&&r.sdk&&(s.sdk={name:r.sdk.name,version:r.sdk.version}),n&&t&&(s.dsn=(0,o("5Na3j").dsnToString)(t));let l=(a=e,[{type:"statsd",length:(i=(0,o("hWySO").serializeMetricBuckets)(a)).length},i]);return(0,o("eoF3x").createEnvelope)(s,[l])}t(e.exports,"createMetricEnvelope",()=>n)}),s("hWySO",function(e,r){function n(e,t,r,n){let a=Object.entries((0,o("iiQEB").dropUndefinedKeys)(n)).sort((e,t)=>e[0].localeCompare(t[0]));return`${e}${t}${r}${a}`}function a(e){let t=0;for(let r=0;r>>0}function i(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} `}return t}function s(e){return e.replace(/[^\w]+/gi,"_")}function l(e){return e.replace(/[^\w\-.]+/gi,"_")}t(e.exports,"getBucketKey",()=>n),t(e.exports,"simpleHash",()=>a),t(e.exports,"serializeMetricBuckets",()=>i),t(e.exports,"sanitizeUnit",()=>s),t(e.exports,"sanitizeMetricKey",()=>l),t(e.exports,"sanitizeTags",()=>u);let c=[["\n","\\n"],["\r","\\r"],[" ","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function u(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 c)if(e===t)return r;return e}(t),""));return t}}),s("1sNzt",function(e,r){t(e.exports,"createClientReportEnvelope",()=>n);function n(e,t,r){let n=[{type:"client_report"},{timestamp:r||(0,o("8t2EY").dateTimestampInSeconds)(),discarded_events:e}];return(0,o("eoF3x").createEnvelope)(t?{dsn:t}:{},[n])}}),s("f3FpS",function(e,r){function n(){return"u">typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function a(){return"npm"}t(e.exports,"isBrowserBundle",()=>n),t(e.exports,"getSDKSource",()=>a)}),s("3gMoL",function(e,r){t(e.exports,"DEBUG_BUILD",()=>n);let n="u"n),t(e.exports,"eventFromException",()=>l),t(e.exports,"eventFromUnknownInput",()=>u),t(e.exports,"eventFromMessage",()=>c);let s=/Minified React error #\d+;/i;function l(e,t,r,n){let a=u(e,t,r&&r.syntheticException||void 0,n);return(0,o("h7F1u").addExceptionMechanism)(a),a.level="error",r&&r.event_id&&(a.event_id=r.event_id),(0,o("2VQuW").resolvedSyncPromise)(a)}function c(e,t,r="info",n,a){let i=d(e,t,n&&n.syntheticException||void 0,a);return i.level=r,n&&n.event_id&&(i.event_id=n.event_id),(0,o("2VQuW").resolvedSyncPromise)(i)}function u(e,t,r,n,s){let l;if((0,o("9r1pX").isErrorEvent)(t)&&t.error)return a(e,t.error);if((0,o("9r1pX").isDOMError)(t)||(0,o("9r1pX").isDOMException)(t)){if("stack"in t)l=a(e,t);else{let a=t.name||((0,o("9r1pX").isDOMError)(t)?"DOMError":"DOMException"),i=t.message?`${a}: ${t.message}`:a;l=d(e,i,r,n),(0,o("h7F1u").addExceptionTypeValue)(l,i)}return"code"in t&&(l.tags={...l.tags,"DOMException.code":`${t.code}`}),l}return(0,o("9r1pX").isError)(t)?a(e,t):((0,o("9r1pX").isPlainObject)(t)||(0,o("9r1pX").isEvent)(t)?l=function(e,t,r,n){let a=(0,o("dmS7i").getClient)(),s=a&&a.getOptions().normalizeDepth,l={exception:{values:[{type:(0,o("9r1pX").isEvent)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=(0,o("iiQEB").extractExceptionKeysForMessage)(e),n=t?"promise rejection":"exception";if((0,o("9r1pX").isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,o("9r1pX").isEvent)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}(t,{isUnhandledRejection:n})}]},extra:{__serialized__:(0,o("bsqJK").normalizeToSize)(t,s)}};if(r){let t=i(e,r);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,r,s):(l=d(e,t,r,n),(0,o("h7F1u").addExceptionTypeValue)(l,`${t}`,void 0)),(0,o("h7F1u").addExceptionMechanism)(l,{synthetic:!0}),l)}function d(e,t,r,n){let a={};if(n&&r){let n=i(e,r);n.length&&(a.exception={values:[{value:t,stacktrace:{frames:n}}]})}if((0,o("9r1pX").isParameterizedString)(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return a.logentry={message:e,params:r},a}return a.message=t,a}}),s("2TIK5",function(e,r){t(e.exports,"WINDOW",()=>n),t(e.exports,"shouldIgnoreOnError",()=>i),t(e.exports,"wrap",()=>function e(t,r={},n){if("function"!=typeof t)return t;try{let e=t.__sentry_wrapped__;if(e)if("function"==typeof e)return e;else return t;if((0,o("iiQEB").getOriginalFunction)(t))return t}catch(e){return t}let i=function(){let i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);let a=i.map(t=>e(t,r));return t.apply(this,a)}catch(e){throw a++,setTimeout(()=>{a--}),(0,o("dmS7i").withScope)(t=>{t.addEventProcessor(e=>(r.mechanism&&((0,o("h7F1u").addExceptionTypeValue)(e,void 0,void 0),(0,o("h7F1u").addExceptionMechanism)(e,r.mechanism)),e.extra={...e.extra,arguments:i},e)),(0,o("dmS7i").captureException)(e)}),e}};try{for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e])}catch(e){}(0,o("iiQEB").markFunctionWrapped)(i,t),(0,o("iiQEB").addNonEnumerableProperty)(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>t.name})}catch(e){}return i});let n=o("hi3E4").GLOBAL_OBJ,a=0;function i(){return a>0}}),s("ej73F",function(e,r){function n(e,{metadata:t,tunnel:r,dsn:a}){let i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!r&&!!a&&{dsn:(0,o("5Na3j").dsnToString)(a)}},s=[{type:"user_report"},e];return(0,o("eoF3x").createEnvelope)(i,[s])}t(e.exports,"createUserFeedbackEnvelope",()=>n)}),s("lfdSs",function(e,r){t(e.exports,"breadcrumbsIntegration",()=>a),t(e.exports,"Breadcrumbs",()=>i);let n="Breadcrumbs",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:n,setupOnce(){},setup(e){var r,n,a,i,s,l,c;t.console&&(0,o("e6ZUP").addConsoleInstrumentationHandler)((r=e,function(e){if((0,o("dmS7i").getClient)()!==r)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,o("953Ix").severityLevelFromString)(e.level),message:(0,o("4TtIy").safeJoin)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,o("4TtIy").safeJoin)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);(0,o("dmS7i").addBreadcrumb)(t,{input:e.args,level:e.level})})),t.dom&&(0,o("hgMmk").addClickKeypressInstrumentationHandler)((n=e,a=t.dom,function(e){let t,r;if((0,o("dmS7i").getClient)()!==n)return;let i="object"==typeof a?a.serializeAttribute:void 0,s="object"==typeof a&&"number"==typeof a.maxStringLength?a.maxStringLength:void 0;s&&s>1024&&(o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=1024),"string"==typeof i&&(i=[i]);try{var l;let n=e.event,a=(l=n)&&l.target?n.target:n;t=(0,o("cx9zm").htmlTreeAsString)(a,{keyAttrs:i,maxStringLength:s}),r=(0,o("cx9zm").getComponentName)(a)}catch(e){t=""}if(0===t.length)return;let c={category:`ui.${e.name}`,message:t};r&&(c.data={"ui.component_name":r}),(0,o("dmS7i").addBreadcrumb)(c,{event:e.event,name:e.name,global:e.global})})),t.xhr&&(0,o("3evL1").addXhrInstrumentationHandler)((i=e,function(e){if((0,o("dmS7i").getClient)()!==i)return;let{startTimestamp:t,endTimestamp:r}=e,n=e.xhr[o("3evL1").SENTRY_XHR_DATA_KEY];if(!t||!r||!n)return;let{method:a,url:s,status_code:l,body:c}=n,u={xhr:e.xhr,input:c,startTimestamp:t,endTimestamp:r};(0,o("dmS7i").addBreadcrumb)({category:"xhr",data:{method:a,url:s,status_code:l},type:"http"},u)})),t.fetch&&(0,o("dPv3P").addFetchInstrumentationHandler)((s=e,function(e){if((0,o("dmS7i").getClient)()!==s)return;let{startTimestamp:t,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let n=e.fetchData,a={data:e.error,input:e.args,startTimestamp:t,endTimestamp:r};(0,o("dmS7i").addBreadcrumb)({category:"fetch",data:n,level:"error",type:"http"},a)}else{let n=e.response,a={...e.fetchData,status_code:n&&n.status},i={input:e.args,response:n,startTimestamp:t,endTimestamp:r};(0,o("dmS7i").addBreadcrumb)({category:"fetch",data:a,type:"http"},i)}})),t.history&&(0,o("4rg5W").addHistoryInstrumentationHandler)((l=e,function(e){if((0,o("dmS7i").getClient)()!==l)return;let t=e.from,r=e.to,n=(0,o("rcz3w").parseUrl)(o("2TIK5").WINDOW.location.href),a=t?(0,o("rcz3w").parseUrl)(t):void 0,i=(0,o("rcz3w").parseUrl)(r);a&&a.path||(a=n),n.protocol===i.protocol&&n.host===i.host&&(r=i.relative),n.protocol===a.protocol&&n.host===a.host&&(t=a.relative),(0,o("dmS7i").addBreadcrumb)({category:"navigation",data:{from:t,to:r}})})),t.sentry&&e.on&&e.on("beforeSendEvent",(c=e,function(e){(0,o("dmS7i").getClient)()===c&&(0,o("dmS7i").addBreadcrumb)({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,o("h7F1u").getEventDescription)(e)},{event:e})}))}}}),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("hgMmk",function(e,r){let n,a,i;t(e.exports,"addClickKeypressInstrumentationHandler",()=>l);let s=o("hi3E4").GLOBAL_OBJ;function l(e){(0,o("cPqXP").addHandler)("dom",e),(0,o("cPqXP").maybeInstrument)("dom",c)}function c(){if(!s.document)return;let e=o("cPqXP").triggerHandlers.bind(null,"dom"),t=u(e,!0);s.document.addEventListener("click",t,!1),s.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=s[t]&&s[t].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&((0,o("iiQEB").fill)(r,"addEventListener",function(t){return function(r,n,a){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=n[r]=n[r]||{refCount:0};if(!i.handler){let n=u(e);i.handler=n,t.call(this,r,n,a)}i.refCount++}catch(e){}return t.call(this,r,n,a)}}),(0,o("iiQEB").fill)(r,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},a=r[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,n),a.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,r,n)}}))})}function u(e,t=!1){return r=>{var l;if(!r||r._sentryCaptured)return;let c=function(e){try{return e.target}catch(e){return null}}(r);if(l=r.type,"keypress"===l&&(!c||!c.tagName||"INPUT"!==c.tagName&&"TEXTAREA"!==c.tagName&&!c.isContentEditable&&1))return;(0,o("iiQEB").addNonEnumerableProperty)(r,"_sentryCaptured",!0),c&&!c._sentryId&&(0,o("iiQEB").addNonEnumerableProperty)(c,"_sentryId",(0,o("h7F1u").uuid4)());let u="keypress"===r.type?"input":r.type;!function(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==i)return!1}catch(e){}return!0}(r)&&(e({event:r,name:u,global:t}),a=r.type,i=c?c._sentryId:void 0),clearTimeout(n),n=s.setTimeout(()=>{i=void 0,a=void 0},1e3)}}}),s("e6ZUP",function(e,r){function n(e){let t="console";(0,o("cPqXP").addHandler)(t,e),(0,o("cPqXP").maybeInstrument)(t,a)}function a(){"console"in o("hi3E4").GLOBAL_OBJ&&o("7I6pg").CONSOLE_LEVELS.forEach(function(e){e in o("hi3E4").GLOBAL_OBJ.console&&(0,o("iiQEB").fill)(o("hi3E4").GLOBAL_OBJ.console,e,function(t){return o("7I6pg").originalConsoleMethods[e]=t,function(...t){(0,o("cPqXP").triggerHandlers)("console",{args:t,level:e});let r=o("7I6pg").originalConsoleMethods[e];r&&r.apply(o("hi3E4").GLOBAL_OBJ.console,t)}})})}t(e.exports,"addConsoleInstrumentationHandler",()=>n)}),s("dPv3P",function(e,r){function n(e){let t="fetch";(0,o("cPqXP").addHandler)(t,e),(0,o("cPqXP").maybeInstrument)(t,a)}function a(){(0,o("40AKY").supportsNativeFetch)()&&(0,o("iiQEB").fill)(o("hi3E4").GLOBAL_OBJ,"fetch",function(e){return function(...t){let{method:r,url:n}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:s(t),method:i(r,"method")?String(r.method).toUpperCase():"GET"}}let t=e[0];return{url:s(t),method:i(t,"method")?String(t.method).toUpperCase():"GET"}}(t),a={args:t,fetchData:{method:r,url:n},startTimestamp:Date.now()};return(0,o("cPqXP").triggerHandlers)("fetch",{...a}),e.apply(o("hi3E4").GLOBAL_OBJ,t).then(e=>{let t={...a,endTimestamp:Date.now(),response:e};return(0,o("cPqXP").triggerHandlers)("fetch",t),e},e=>{let t={...a,endTimestamp:Date.now(),error:e};throw(0,o("cPqXP").triggerHandlers)("fetch",t),e})}})}function i(e,t){return!!e&&"object"==typeof e&&!!e[t]}function s(e){return"string"==typeof e?e:e?i(e,"url")?e.url:e.toString?e.toString():"":""}t(e.exports,"addFetchInstrumentationHandler",()=>n)}),s("3evL1",function(e,r){t(e.exports,"SENTRY_XHR_DATA_KEY",()=>a),t(e.exports,"addXhrInstrumentationHandler",()=>i);let n=o("hi3E4").GLOBAL_OBJ,a="__sentry_xhr_v3__";function i(e){(0,o("cPqXP").addHandler)("xhr",e),(0,o("cPqXP").maybeInstrument)("xhr",s)}function s(){if(!n.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;(0,o("iiQEB").fill)(e,"open",function(e){return function(...t){let r=Date.now(),n=(0,o("9r1pX").isString)(t[0])?t[0].toUpperCase():void 0,i=function(e){if((0,o("9r1pX").isString)(e))return e;try{return e.toString()}catch(e){}}(t[1]);if(!n||!i)return e.apply(this,t);this[a]={method:n,url:i,request_headers:{}},"POST"===n&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let s=()=>{let e=this[a];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}let t={args:[n,i],endTimestamp:Date.now(),startTimestamp:r,xhr:this};(0,o("cPqXP").triggerHandlers)("xhr",t)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,o("iiQEB").fill)(this,"onreadystatechange",function(e){return function(...t){return s(),e.apply(this,t)}}):this.addEventListener("readystatechange",s),(0,o("iiQEB").fill)(this,"setRequestHeader",function(e){return function(...t){let[r,n]=t,i=this[a];return i&&(0,o("9r1pX").isString)(r)&&(0,o("9r1pX").isString)(n)&&(i.request_headers[r.toLowerCase()]=n),e.apply(this,t)}}),e.apply(this,t)}}),(0,o("iiQEB").fill)(e,"send",function(e){return function(...t){let r=this[a];if(!r)return e.apply(this,t);void 0!==t[0]&&(r.body=t[0]);let n={args:[r.method,r.url],startTimestamp:Date.now(),xhr:this};return(0,o("cPqXP").triggerHandlers)("xhr",n),e.apply(this,t)}})}}),s("rcz3w",function(e,r){function n(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function a(e){return e.split(/[\?#]/,1)[0]}function i(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length}t(e.exports,"parseUrl",()=>n),t(e.exports,"stripUrlQueryAndFragment",()=>a),t(e.exports,"getNumberOfUrlSegments",()=>i)}),s("953Ix",function(e,r){t(e.exports,"severityLevelFromString",()=>a);let n=["fatal","error","warning","log","info","debug"];function a(e){return"warn"===e?"warning":n.includes(e)?e:"log"}}),s("9nLSz",function(e,r){t(e.exports,"dedupeIntegration",()=>a),t(e.exports,"Dedupe",()=>i);let n="Dedupe",a=(0,o("dFnv4").defineIntegration)(()=>{let e;return{name:n,setupOnce(){},processEvent(t){if(t.type)return t;try{var r,n,a,i,u,d;let p,g,f,m;if(r=t,(n=e)&&(a=r,i=n,p=a.message,g=i.message,(p||g)&&(!p||g)&&(p||!g)&&p===g&&l(a,i)&&s(a,i)&&1||(u=r,d=n,f=c(d),m=c(u),f&&m&&f.type===m.type&&f.value===m.value&&l(u,d)&&s(u,d))))return o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}}),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a);function s(e,t){let r=u(e),n=u(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;ea),t(e.exports,"GlobalHandlers",()=>i);let n="GlobalHandlers",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:n,setupOnce(){Error.stackTraceLimit=50},setup(e){var r,n;t.onerror&&(r=e,(0,o("4CcuA").addGlobalErrorInstrumentationHandler)(e=>{var t,n,a,i;let l,u,d,{stackParser:p,attachStacktrace:g}=c();if((0,o("dmS7i").getClient)()!==r||(0,o("2TIK5").shouldIgnoreOnError)())return;let{msg:f,url:m,line:h,column:_,error:E}=e,v=void 0===E&&(0,o("9r1pX").isString)(f)?(t=f,n=m,a=h,i=_,l=(0,o("9r1pX").isErrorEvent)(t)?t.message:t,u="Error",(d=l.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i))&&(u=d[1],l=d[2]),s({exception:{values:[{type:u,value:l}]}},n,a,i)):s((0,o("etX8V").eventFromUnknownInput)(p,E||f,void 0,g,!1),m,h,_);v.level="error",(0,o("dmS7i").captureEvent)(v,{originalException:E,mechanism:{handled:!1,type:"onerror"}})}),l("onerror")),t.onunhandledrejection&&(n=e,(0,o("73l0k").addGlobalUnhandledRejectionInstrumentationHandler)(e=>{var t;let{stackParser:r,attachStacktrace:a}=c();if((0,o("dmS7i").getClient)()!==n||(0,o("2TIK5").shouldIgnoreOnError)())return;let i=function(e){if((0,o("9r1pX").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(e){}return e}(e),s=(0,o("9r1pX").isPrimitive)(i)?(t=i,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):(0,o("etX8V").eventFromUnknownInput)(r,i,void 0,a,!0);s.level="error",(0,o("dmS7i").captureEvent)(s,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}),l("onunhandledrejection"))}}}),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a);function s(e,t,r,n){let a=e.exception=e.exception||{},i=a.values=a.values||[],s=i[0]=i[0]||{},l=s.stacktrace=s.stacktrace||{},c=l.frames=l.frames||[],u=isNaN(parseInt(n,10))?void 0:n,d=isNaN(parseInt(r,10))?void 0:r,p=(0,o("9r1pX").isString)(t)&&t.length>0?t:(0,o("cx9zm").getLocationHref)();return 0===c.length&&c.push({colno:u,filename:p,function:"?",in_app:!0,lineno:d}),e}function l(e){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log(`Global Handler attached: ${e}`)}function c(){let e=(0,o("dmS7i").getClient)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}}),s("4CcuA",function(e,r){t(e.exports,"addGlobalErrorInstrumentationHandler",()=>a);let n=null;function a(e){let t="error";(0,o("cPqXP").addHandler)(t,e),(0,o("cPqXP").maybeInstrument)(t,i)}function i(){n=o("hi3E4").GLOBAL_OBJ.onerror,o("hi3E4").GLOBAL_OBJ.onerror=function(e,t,r,a,i){return(0,o("cPqXP").triggerHandlers)("error",{column:a,error:i,line:r,msg:e,url:t}),!!n&&!n.__SENTRY_LOADER__&&n.apply(this,arguments)},o("hi3E4").GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}}),s("73l0k",function(e,r){t(e.exports,"addGlobalUnhandledRejectionInstrumentationHandler",()=>a);let n=null;function a(e){let t="unhandledrejection";(0,o("cPqXP").addHandler)(t,e),(0,o("cPqXP").maybeInstrument)(t,i)}function i(){n=o("hi3E4").GLOBAL_OBJ.onunhandledrejection,o("hi3E4").GLOBAL_OBJ.onunhandledrejection=function(e){return(0,o("cPqXP").triggerHandlers)("unhandledrejection",e),!n||!!n.__SENTRY_LOADER__||n.apply(this,arguments)},o("hi3E4").GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}}),s("5lgCu",function(e,r){t(e.exports,"httpContextIntegration",()=>a),t(e.exports,"HttpContext",()=>i);let n="HttpContext",a=(0,o("dFnv4").defineIntegration)(()=>({name:n,setupOnce(){},preprocessEvent(e){if(!o("2TIK5").WINDOW.navigator&&!o("2TIK5").WINDOW.location&&!o("2TIK5").WINDOW.document)return;let t=e.request&&e.request.url||o("2TIK5").WINDOW.location&&o("2TIK5").WINDOW.location.href,{referrer:r}=o("2TIK5").WINDOW.document||{},{userAgent:n}=o("2TIK5").WINDOW.navigator||{},a={...e.request&&e.request.headers,...r&&{Referer:r},...n&&{"User-Agent":n}},i={...e.request,...t&&{url:t},headers:a};e.request=i}})),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("2JxJk",function(e,r){t(e.exports,"linkedErrorsIntegration",()=>a),t(e.exports,"LinkedErrors",()=>i);let n="LinkedErrors",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:n,setupOnce(){},preprocessEvent(e,n,a){let i=a.getOptions();(0,o("bB9Vc").applyAggregateErrorsToEvent)(o("etX8V").exceptionFromError,i.stackParser,i.maxValueLength,r,t,e,n)}}}),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("bB9Vc",function(e,r){function n(e,t,r=250,s,l,c,u){var d,p;if(!c.exception||!c.exception.values||!u||!(0,o("9r1pX").isInstanceOf)(u.originalException,Error))return;let g=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:void 0;g&&(c.exception.values=(d=function e(t,r,n,s,l,c,u,d){if(c.length>=n+1)return c;let p=[...c];if((0,o("9r1pX").isInstanceOf)(s[l],Error)){a(u,d);let o=t(r,s[l]),c=p.length;i(o,l,c,d),p=e(t,r,n,s[l],l,[o,...p],o,c)}return Array.isArray(s.errors)&&s.errors.forEach((s,c)=>{if((0,o("9r1pX").isInstanceOf)(s,Error)){a(u,d);let o=t(r,s),g=p.length;i(o,`errors[${c}]`,g,d),p=e(t,r,n,s,l,[o,...p],o,g)}}),p}(e,t,l,u.originalException,s,c.exception.values,g,0),p=r,d.map(e=>(e.value&&(e.value=(0,o("4TtIy").truncate)(e.value,p)),e))))}function a(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}}t(e.exports,"applyAggregateErrorsToEvent",()=>n)}),s("eqOkL",function(e,r){t(e.exports,"browserApiErrorsIntegration",()=>i),t(e.exports,"TryCatch",()=>s);let n=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],a="TryCatch",i=(0,o("dFnv4").defineIntegration)((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:a,setupOnce(){t.setTimeout&&(0,o("iiQEB").fill)(o("2TIK5").WINDOW,"setTimeout",l),t.setInterval&&(0,o("iiQEB").fill)(o("2TIK5").WINDOW,"setInterval",l),t.requestAnimationFrame&&(0,o("iiQEB").fill)(o("2TIK5").WINDOW,"requestAnimationFrame",c),t.XMLHttpRequest&&"XMLHttpRequest"in o("2TIK5").WINDOW&&(0,o("iiQEB").fill)(XMLHttpRequest.prototype,"send",u);let e=t.eventTarget;e&&(Array.isArray(e)?e:n).forEach(d)}}}),s=(0,o("dFnv4").convertIntegrationFnToClass)(a,i);function l(e){return function(...t){let r=t[0];return t[0]=(0,o("2TIK5").wrap)(r,{mechanism:{data:{function:(0,o("lnX7A").getFunctionName)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function c(e){return function(t){return e.apply(this,[(0,o("2TIK5").wrap)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,o("lnX7A").getFunctionName)(e)},handled:!1,type:"instrument"}})])}}function u(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,o("iiQEB").fill)(r,e,function(t){let r={mechanism:{data:{function:e,handler:(0,o("lnX7A").getFunctionName)(t)},handled:!1,type:"instrument"}},n=(0,o("iiQEB").getOriginalFunction)(t);return n&&(r.mechanism.data.handler=(0,o("lnX7A").getFunctionName)(n)),(0,o("2TIK5").wrap)(t,r)})}),e.apply(this,t)}}function d(e){let t=o("2TIK5").WINDOW,r=t[e]&&t[e].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&((0,o("iiQEB").fill)(r,"addEventListener",function(t){return function(r,n,a){try{"function"==typeof n.handleEvent&&(n.handleEvent=(0,o("2TIK5").wrap)(n.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,o("lnX7A").getFunctionName)(n),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[r,(0,o("2TIK5").wrap)(n,{mechanism:{data:{function:"addEventListener",handler:(0,o("lnX7A").getFunctionName)(n),target:e},handled:!1,type:"instrument"}}),a])}}),(0,o("iiQEB").fill)(r,"removeEventListener",function(e){return function(t,r,n){try{let a=r&&r.__sentry_wrapped__;a&&e.call(this,t,a,n)}catch(e){}return e.call(this,t,r,n)}}))}}),s("21oNa",function(e,r){function n(e,t,r,n){let a={filename:e,function:t,in_app:!0};return void 0!==r&&(a.lineno=r),void 0!==n&&(a.colno=n),a}t(e.exports,"chromeStackLineParser",()=>s),t(e.exports,"geckoStackLineParser",()=>u),t(e.exports,"winjsStackLineParser",()=>p),t(e.exports,"opera10StackLineParser",()=>f),t(e.exports,"opera11StackLineParser",()=>h),t(e.exports,"defaultStackLineParsers",()=>_),t(e.exports,"defaultStackParser",()=>E);let a=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/\((\S*)(?::(\d+))(?::(\d+))\)/,s=[30,e=>{let t=a.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){let e=i.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}let[e,r]=v(t[1]||"?",t[2]);return n(r,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=[50,e=>{let t=l.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=c.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||"?";return[r,e]=v(r,e),n(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,p=[40,e=>{let t=d.exec(e);return t?n(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0}],g=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,f=[10,e=>{let t=g.exec(e);return t?n(t[2],t[3]||"?",+t[1]):void 0}],m=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,h=[20,e=>{let t=m.exec(e);return t?n(t[5],t[3]||t[4]||"?",+t[1],+t[2]):void 0}],_=[s,u,p],E=(0,o("lnX7A").createStackParser)(..._),v=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:"?",r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]}}),s("5UoQk",function(e,r){t(e.exports,"makeFetchTransport",()=>n);function n(e,t=(0,o("6Fcjn").getNativeFetchImplementation)()){let r=0,a=0;return(0,o("6fbbQ").createTransport)(e,function(n){let i=n.body.length;r+=i,a++;let s={body:n.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:r<=6e4&&a<15,...e.fetchOptions};try{return t(e.url,s).then(e=>(r-=i,a--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return(0,o("6Fcjn").clearCachedFetchImplementation)(),r-=i,a--,(0,o("2VQuW").rejectedSyncPromise)(e)}})}}),s("6fbbQ",function(e,r){function n(e,t,r=(0,o("lWTr7").makePromiseBuffer)(e.bufferSize||30)){let i={};function s(n){let s=[];if((0,o("eoF3x").forEachEnvelopeItem)(n,(t,r)=>{let n=(0,o("eoF3x").envelopeItemTypeToDataCategory)(r);if((0,o("lDqxe").isRateLimited)(i,n)){let i=a(t,r);e.recordDroppedEvent("ratelimit_backoff",n,i)}else s.push(t)}),0===s.length)return(0,o("2VQuW").resolvedSyncPromise)();let l=(0,o("eoF3x").createEnvelope)(n[0],s),c=t=>{(0,o("eoF3x").forEachEnvelopeItem)(l,(r,n)=>{let i=a(r,n);e.recordDroppedEvent(t,(0,o("eoF3x").envelopeItemTypeToDataCategory)(n),i)})};return r.add(()=>t({body:(0,o("eoF3x").serializeEnvelope)(l,e.textEncoder)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),i=(0,o("lDqxe").updateRateLimits)(i,e),e),e=>{throw c("network_error"),e})).then(e=>e,e=>{if(e instanceof o("fqZAk").SentryError)return o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.error("Skipped sending event because buffer is full."),c("queue_overflow"),(0,o("2VQuW").resolvedSyncPromise)();throw e})}return s.__sentry__baseTransport__=!0,{send:s,flush:e=>r.drain(e)}}function a(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}t(e.exports,"createTransport",()=>n)}),s("lDqxe",function(e,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,r=Date.now()){return(e[t]||e.all||0)>r}function i(e,{statusCode:t,headers:r},a=Date.now()){let o={...e},s=r&&r["x-sentry-rate-limits"],l=r&&r["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,r,,,n]=e.split(":",5),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 l?o.all=a+n(l,a):429===t&&(o.all=a+6e4);return o}t(e.exports,"parseRetryAfterHeader",()=>n),t(e.exports,"isRateLimited",()=>a),t(e.exports,"updateRateLimits",()=>i)}),s("lWTr7",function(e,r){t(e.exports,"makePromiseBuffer",()=>n);function n(e){let t=[];function r(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(n){if(!(void 0===e||t.lengthr(a)).then(null,()=>r(a).then(null,()=>{})),a},drain:function(e){return new(0,o("2VQuW").SyncPromise)((r,n)=>{let a=t.length;if(!a)return r(!0);let i=setTimeout(()=>{e&&e>0&&r(!1)},e);t.forEach(e=>{(0,o("2VQuW").resolvedSyncPromise)(e).then(()=>{--a||(clearTimeout(i),r(!0))},n)})})}}}}),s("6Fcjn",function(e,r){let n;function a(){if(n)return n;if((0,o("40AKY").isNativeFetch)(o("2TIK5").WINDOW.fetch))return n=o("2TIK5").WINDOW.fetch.bind(o("2TIK5").WINDOW);let e=o("2TIK5").WINDOW.document,t=o("2TIK5").WINDOW.fetch;if(e&&"function"==typeof e.createElement)try{let r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r);let n=r.contentWindow;n&&n.fetch&&(t=n.fetch),e.head.removeChild(r)}catch(e){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return n=t.bind(o("2TIK5").WINDOW)}function i(){n=void 0}t(e.exports,"getNativeFetchImplementation",()=>a),t(e.exports,"clearCachedFetchImplementation",()=>i)}),s("6Em6n",function(e,r){t(e.exports,"makeXHRTransport",()=>n);function n(e){return(0,o("6fbbQ").createTransport)(e,function(t){return new(0,o("2VQuW").SyncPromise)((r,n)=>{let a=new XMLHttpRequest;for(let t in a.onerror=n,a.onreadystatechange=()=>{4===a.readyState&&r({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&a.setRequestHeader(t,e.headers[t]);a.send(t.body)})})}}),s("c2AmC",function(e,r){t(e.exports,"Integrations",()=>n),t(e.exports,"FunctionToString",()=>o("2sSit").FunctionToString),t(e.exports,"Hub",()=>o("84Maa").Hub),t(e.exports,"InboundFilters",()=>o("85Shi").InboundFilters),t(e.exports,"ModuleMetadata",()=>o("4qRd6").ModuleMetadata),t(e.exports,"SDK_VERSION",()=>o("gLE2H").SDK_VERSION),t(e.exports,"SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_OP),t(e.exports,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN),t(e.exports,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE),t(e.exports,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE),t(e.exports,"Scope",()=>o("dmR7m").Scope),t(e.exports,"addBreadcrumb",()=>o("dmS7i").addBreadcrumb),t(e.exports,"addEventProcessor",()=>o("ciWI5").addEventProcessor),t(e.exports,"addGlobalEventProcessor",()=>o("d86W5").addGlobalEventProcessor),t(e.exports,"addIntegration",()=>o("dFnv4").addIntegration),t(e.exports,"addTracingExtensions",()=>o("iCMnl").addTracingExtensions),t(e.exports,"captureEvent",()=>o("dmS7i").captureEvent),t(e.exports,"captureException",()=>o("dmS7i").captureException),t(e.exports,"captureMessage",()=>o("dmS7i").captureMessage),t(e.exports,"captureSession",()=>o("dmS7i").captureSession),t(e.exports,"close",()=>o("dmS7i").close),t(e.exports,"configureScope",()=>o("dmS7i").configureScope),t(e.exports,"continueTrace",()=>o("9lKdF").continueTrace),t(e.exports,"createTransport",()=>o("6fbbQ").createTransport),t(e.exports,"endSession",()=>o("dmS7i").endSession),t(e.exports,"extractTraceparentData",()=>o("dWocc").extractTraceparentData),t(e.exports,"flush",()=>o("dmS7i").flush),t(e.exports,"functionToStringIntegration",()=>o("2sSit").functionToStringIntegration),t(e.exports,"getActiveSpan",()=>o("9lKdF").getActiveSpan),t(e.exports,"getActiveTransaction",()=>o("dWocc").getActiveTransaction),t(e.exports,"getClient",()=>o("dmS7i").getClient),t(e.exports,"getCurrentHub",()=>o("84Maa").getCurrentHub),t(e.exports,"getCurrentScope",()=>o("dmS7i").getCurrentScope),t(e.exports,"getHubFromCarrier",()=>o("84Maa").getHubFromCarrier),t(e.exports,"getSpanStatusFromHttpCode",()=>o("c40Kr").getSpanStatusFromHttpCode),t(e.exports,"inboundFiltersIntegration",()=>o("85Shi").inboundFiltersIntegration),t(e.exports,"isInitialized",()=>o("dmS7i").isInitialized),t(e.exports,"lastEventId",()=>o("dmS7i").lastEventId),t(e.exports,"makeMain",()=>o("84Maa").makeMain),t(e.exports,"makeMultiplexedTransport",()=>o("pc4Pc").makeMultiplexedTransport),t(e.exports,"metrics",()=>o("jxWdC").metrics),t(e.exports,"moduleMetadataIntegration",()=>o("4qRd6").moduleMetadataIntegration),t(e.exports,"parameterize",()=>o("kilk2").parameterize),t(e.exports,"setContext",()=>o("dmS7i").setContext),t(e.exports,"setCurrentClient",()=>o("kOHMF").setCurrentClient),t(e.exports,"setExtra",()=>o("dmS7i").setExtra),t(e.exports,"setExtras",()=>o("dmS7i").setExtras),t(e.exports,"setHttpStatus",()=>o("c40Kr").setHttpStatus),t(e.exports,"setMeasurement",()=>o("chwAd").setMeasurement),t(e.exports,"setTag",()=>o("dmS7i").setTag),t(e.exports,"setTags",()=>o("dmS7i").setTags),t(e.exports,"setUser",()=>o("dmS7i").setUser),t(e.exports,"spanStatusfromHttpCode",()=>o("c40Kr").spanStatusfromHttpCode),t(e.exports,"startInactiveSpan",()=>o("9lKdF").startInactiveSpan),t(e.exports,"startSession",()=>o("dmS7i").startSession),t(e.exports,"startSpan",()=>o("9lKdF").startSpan),t(e.exports,"startSpanManual",()=>o("9lKdF").startSpanManual),t(e.exports,"startTransaction",()=>o("dmS7i").startTransaction),t(e.exports,"trace",()=>o("9lKdF").trace),t(e.exports,"withActiveSpan",()=>o("dmS7i").withActiveSpan),t(e.exports,"withIsolationScope",()=>o("dmS7i").withIsolationScope),t(e.exports,"withScope",()=>o("dmS7i").withScope),t(e.exports,"WINDOW",()=>o("2TIK5").WINDOW),t(e.exports,"BrowserClient",()=>o("iQyrW").BrowserClient),t(e.exports,"makeFetchTransport",()=>o("5UoQk").makeFetchTransport),t(e.exports,"makeXHRTransport",()=>o("6Em6n").makeXHRTransport),t(e.exports,"chromeStackLineParser",()=>o("21oNa").chromeStackLineParser),t(e.exports,"defaultStackLineParsers",()=>o("21oNa").defaultStackLineParsers),t(e.exports,"defaultStackParser",()=>o("21oNa").defaultStackParser),t(e.exports,"geckoStackLineParser",()=>o("21oNa").geckoStackLineParser),t(e.exports,"opera10StackLineParser",()=>o("21oNa").opera10StackLineParser),t(e.exports,"opera11StackLineParser",()=>o("21oNa").opera11StackLineParser),t(e.exports,"winjsStackLineParser",()=>o("21oNa").winjsStackLineParser),t(e.exports,"eventFromException",()=>o("etX8V").eventFromException),t(e.exports,"eventFromMessage",()=>o("etX8V").eventFromMessage),t(e.exports,"exceptionFromError",()=>o("etX8V").exceptionFromError),t(e.exports,"createUserFeedbackEnvelope",()=>o("ej73F").createUserFeedbackEnvelope),t(e.exports,"captureUserFeedback",()=>o("eGgLE").captureUserFeedback),t(e.exports,"defaultIntegrations",()=>o("eGgLE").defaultIntegrations),t(e.exports,"forceLoad",()=>o("eGgLE").forceLoad),t(e.exports,"getDefaultIntegrations",()=>o("eGgLE").getDefaultIntegrations),t(e.exports,"init",()=>o("eGgLE").init),t(e.exports,"onLoad",()=>o("eGgLE").onLoad),t(e.exports,"showReportDialog",()=>o("eGgLE").showReportDialog),t(e.exports,"wrap",()=>o("eGgLE").wrap),t(e.exports,"Breadcrumbs",()=>o("lfdSs").Breadcrumbs),t(e.exports,"breadcrumbsIntegration",()=>o("lfdSs").breadcrumbsIntegration),t(e.exports,"Dedupe",()=>o("9nLSz").Dedupe),t(e.exports,"GlobalHandlers",()=>o("efJnc").GlobalHandlers),t(e.exports,"globalHandlersIntegration",()=>o("efJnc").globalHandlersIntegration),t(e.exports,"HttpContext",()=>o("5lgCu").HttpContext),t(e.exports,"httpContextIntegration",()=>o("5lgCu").httpContextIntegration),t(e.exports,"LinkedErrors",()=>o("2JxJk").LinkedErrors),t(e.exports,"linkedErrorsIntegration",()=>o("2JxJk").linkedErrorsIntegration),t(e.exports,"TryCatch",()=>o("eqOkL").TryCatch),t(e.exports,"browserApiErrorsIntegration",()=>o("eqOkL").browserApiErrorsIntegration),t(e.exports,"Replay",()=>o("5MpFc").InternalReplay),t(e.exports,"getReplay",()=>o("5MpFc").internalGetReplay),t(e.exports,"replayIntegration",()=>o("5MpFc").internalReplayIntegration),t(e.exports,"ReplayCanvas",()=>o("5IZWm").ReplayCanvas),t(e.exports,"replayCanvasIntegration",()=>o("5IZWm").replayCanvasIntegration),t(e.exports,"Feedback",()=>o("5MpFc").Feedback),t(e.exports,"feedbackIntegration",()=>o("5MpFc").feedbackIntegration),t(e.exports,"sendFeedback",()=>o("5MpFc").sendFeedback),t(e.exports,"captureConsoleIntegration",()=>o("3zcyB").captureConsoleIntegration),t(e.exports,"contextLinesIntegration",()=>o("2J7EI").contextLinesIntegration),t(e.exports,"debugIntegration",()=>o("6JGJC").debugIntegration),t(e.exports,"dedupeIntegration",()=>o("8Ropc").dedupeIntegration),t(e.exports,"extraErrorDataIntegration",()=>o("rjBqd").extraErrorDataIntegration),t(e.exports,"httpClientIntegration",()=>o("7uXTZ").httpClientIntegration),t(e.exports,"reportingObserverIntegration",()=>o("3CqqH").reportingObserverIntegration),t(e.exports,"rewriteFramesIntegration",()=>o("2J6kR").rewriteFramesIntegration),t(e.exports,"sessionTimingIntegration",()=>o("8C1r5").sessionTimingIntegration),t(e.exports,"BrowserTracing",()=>o("b4EUg").BrowserTracing),t(e.exports,"browserTracingIntegration",()=>o("h3C2f").browserTracingIntegration),t(e.exports,"defaultRequestInstrumentationOptions",()=>o("je0dc").defaultRequestInstrumentationOptions),t(e.exports,"instrumentOutgoingRequests",()=>o("je0dc").instrumentOutgoingRequests),t(e.exports,"startBrowserTracingNavigationSpan",()=>o("h3C2f").startBrowserTracingNavigationSpan),t(e.exports,"startBrowserTracingPageLoadSpan",()=>o("h3C2f").startBrowserTracingPageLoadSpan),t(e.exports,"makeBrowserOfflineTransport",()=>o("crjkJ").makeBrowserOfflineTransport),t(e.exports,"onProfilingStartRouteTransaction",()=>o("4ylGE").onProfilingStartRouteTransaction),t(e.exports,"BrowserProfilingIntegration",()=>o("2I8JG").BrowserProfilingIntegration),t(e.exports,"browserProfilingIntegration",()=>o("2I8JG").browserProfilingIntegration),o("5MpFc"),o("5MpFc");let n={...o("3ktBp").Integrations,...o("6cnML")}}),s("iCMnl",function(e,r){function n(){let e=this.getScope().getSpan();return e?{"sentry-trace":(0,o("ajbYg").spanToTraceHeader)(e)}:{}}function a(e,t){let r=this.getClient(),n=r&&r.getOptions()||{},a=n.instrumenter||"sentry",i=e.instrumenter||"sentry";a!==i&&(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.error(`A transaction was started with instrumenter=\`${i}\`, but the SDK is configured with the \`${a}\` instrumenter. The transaction will not be sampled. Please use the ${a} instrumentation to start transactions.`),e.sampled=!1);let s=new(0,o("jBgts").Transaction)(e,this);return(s=(0,o("4iC5n").sampleTransaction)(s,n,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t})).isRecording()&&s.initSpanRecorder(n._experiments&&n._experiments.maxSpans),r&&r.emit&&r.emit("startTransaction",s),s}function i(e,t,r,n,a,s,l,c=!1){let u=e.getClient(),d=u&&u.getOptions()||{},p=new(0,o("dkCHP").IdleTransaction)(t,e,r,n,l,a,c);return(p=(0,o("4iC5n").sampleTransaction)(p,d,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...s})).isRecording()&&p.initSpanRecorder(d._experiments&&d._experiments.maxSpans),u&&u.emit&&u.emit("startTransaction",p),p}function s(){let e=(0,o("84Maa").getMainCarrier)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=a),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=n),(0,o("5FLQK").registerErrorInstrumentation)())}t(e.exports,"startIdleTransaction",()=>i),t(e.exports,"addTracingExtensions",()=>s)}),s("5FLQK",function(e,r){t(e.exports,"registerErrorInstrumentation",()=>a);let n=!1;function a(){n||(n=!0,(0,o("4CcuA").addGlobalErrorInstrumentationHandler)(i),(0,o("73l0k").addGlobalUnhandledRejectionInstrumentationHandler)(i))}function i(){let e=(0,o("dWocc").getActiveTransaction)();if(e){let t="internal_error";o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}i.tag="sentry_tracingErrorCallback"}),s("dWocc",function(e,r){function n(e){return(e||(0,o("84Maa").getCurrentHub)()).getScope().getTransaction()}t(e.exports,"getActiveTransaction",()=>n),t(e.exports,"extractTraceparentData",()=>a);let a=o("eUr7O").extractTraceparentData}),s("dkCHP",function(e,r){t(e.exports,"TRACING_DEFAULTS",()=>n),t(e.exports,"IdleTransaction",()=>i);let n={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3};class a extends o("ijnVc").SpanRecorder{constructor(e,t,r,n){super(n),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=r}add(e){if(e.spanContext().spanId!==this.transactionSpanId){let t=e.end;e.end=(...r)=>(this._popActivity(e.spanContext().spanId),t.apply(e,r)),void 0===(0,o("ajbYg").spanToJSON)(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class i extends o("jBgts").Transaction{constructor(e,t,r=n.idleTimeout,a=n.finalTimeout,i=n.heartbeatInterval,s=!1,l=!1){super(e,t),this._idleHub=t,this._idleTimeout=r,this._finalTimeout=a,this._heartbeatInterval=i,this._onScope=s,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason="externalFinish",this._autoFinishAllowed=!l,s&&(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),t.getScope().setSpan(this)),l||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason="finalTimeout",this.end())},this._finalTimeout)}end(e){let t=(0,o("ajbYg").spanTimeInputToSeconds)(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){for(let e of(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op),this._beforeFinishCallbacks))e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;!(0,o("ajbYg").spanToJSON)(e).timestamp&&(e.setStatus("cancelled"),e.end(t),o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));let{start_timestamp:r,timestamp:n}=(0,o("ajbYg").spanToJSON)(e),a=r&&r{this._finished||this._pushActivity(e)},r=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new a(t,r,this.spanContext().spanId,e),o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason="cancelled",this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason="idleTimeout",this.end(e))},this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] popActivity ${e}`),delete this.activities[e],o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){let e=(0,o("8t2EY").timestampInSeconds)();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason="cancelled",this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;let e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason="heartbeatFailed",this.end()):this._pingHeartbeat()}_pingHeartbeat(){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}}),s("ijnVc",function(e,r){t(e.exports,"SpanRecorder",()=>n),t(e.exports,"Span",()=>a);class n{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class a{constructor(e={}){this._traceId=e.traceId||(0,o("h7F1u").uuid4)(),this._spanId=e.spanId||(0,o("h7F1u").uuid4)().substring(16),this._startTime=e.startTimestamp||(0,o("8t2EY").timestampInSeconds)(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:e.origin||"manual",[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),void 0!==e.exclusiveTime&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?{...e.measurements}:{}}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_OP]}set op(e){this.setAttribute(o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_OP,e)}get origin(){return this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]}set origin(e){this.setAttribute(o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,e)}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?o("ajbYg").TRACE_FLAG_SAMPLED:o("ajbYg").TRACE_FLAG_NONE}}startChild(e){let t=new a({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t);let r=(0,o("kdA50").getRootSpan)(this);if(t.transaction=r,o("aCaWa").DEBUG_BUILD&&r){let n=e&&e.op||"< unknown op >",a=(0,o("ajbYg").spanToJSON)(t).description||"< unknown name >",i=r.spanContext().spanId,s=`[Tracing] Starting '${n}' span on transaction '${a}' (${i}).`;o("7I6pg").logger.log(s),this._logMessage=s}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach(t=>this.setAttribute(t,e[t]))}setStatus(e){return this._status=e,this}setHttpStatus(e){return(0,o("c40Kr").setHttpStatus)(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;let t=(0,o("kdA50").getRootSpan)(this);if(o("aCaWa").DEBUG_BUILD&&t&&t.spanContext().spanId!==this._spanId){let e=this._logMessage;e&&o("7I6pg").logger.log(e.replace("Starting","Finishing"))}this._endTime=(0,o("ajbYg").spanTimeInputToSeconds)(e)}toTraceparent(){return(0,o("ajbYg").spanToTraceHeader)(this)}toContext(){return(0,o("iiQEB").dropUndefinedKeys)({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return(0,o("ajbYg").spanToTraceContext)(this)}getSpanJSON(){return(0,o("iiQEB").dropUndefinedKeys)({data:this._getData(),description:this._name,op:this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],_metrics_summary:(0,o("a73mh").getMetricSummaryJsonForSpan)(this),profile_id:this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){let{data:e,_attributes:t}=this,r=Object.keys(e).length>0,n=Object.keys(t).length>0;if(r||n)return r&&n?{...e,...t}:r?e:t}}}),s("a73mh",function(e,r){let n;function a(e){return n?n.get(e):void 0}function i(e){let t=a(e);if(!t)return;let r={};for(let[,[e,n]]of t)r[e]||(r[e]=[]),r[e].push((0,o("iiQEB").dropUndefinedKeys)(n));return r}function s(e,t,r,i,s,l){let c=(0,o("9lKdF").getActiveSpan)();if(c){let o=a(c)||new Map,u=`${e}:${t}@${i}`,d=o.get(l);if(d){let[,e]=d;o.set(l,[u,{min:Math.min(e.min,r),max:Math.max(e.max,r),count:e.count+=1,sum:e.sum+=r,tags:e.tags}])}else o.set(l,[u,{min:r,max:r,count:1,sum:r,tags:s}]);n||(n=new WeakMap),n.set(c,o)}}t(e.exports,"getMetricSummaryJsonForSpan",()=>i),t(e.exports,"updateMetricSummaryOnActiveSpan",()=>s)}),s("9lKdF",function(e,r){function n(e,t,r=()=>{},a=()=>{}){let i=(0,o("84Maa").getCurrentHub)(),s=(0,o("dmS7i").getCurrentScope)(),l=s.getSpan(),c=u(i,{parentSpan:l,spanContext:d(e),forceTransaction:!1,scope:s});return s.setSpan(c),(0,o("hGrs1").handleCallbackErrors)(()=>t(c),e=>{c&&c.setStatus("internal_error"),r(e,c)},()=>{c&&c.end(),s.setSpan(l),a()})}function a(e,t){let r=d(e);return(0,o("84Maa").runWithAsyncContext)(()=>(0,o("dmS7i").withScope)(e.scope,n=>{let a=(0,o("84Maa").getCurrentHub)(),i=n.getSpan(),s=e.onlyIfParent&&!i?void 0:u(a,{parentSpan:i,spanContext:r,forceTransaction:e.forceTransaction,scope:n});return(0,o("hGrs1").handleCallbackErrors)(()=>t(s),()=>{if(s){let{status:e}=(0,o("ajbYg").spanToJSON)(s);e&&"ok"!==e||s.setStatus("internal_error")}},()=>s&&s.end())}))}function i(e,t){let r=d(e);return(0,o("84Maa").runWithAsyncContext)(()=>(0,o("dmS7i").withScope)(e.scope,n=>{let a=(0,o("84Maa").getCurrentHub)(),i=n.getSpan(),s=e.onlyIfParent&&!i?void 0:u(a,{parentSpan:i,spanContext:r,forceTransaction:e.forceTransaction,scope:n});function l(){s&&s.end()}return(0,o("hGrs1").handleCallbackErrors)(()=>t(s,l),()=>{if(s&&s.isRecording()){let{status:e}=(0,o("ajbYg").spanToJSON)(s);e&&"ok"!==e||s.setStatus("internal_error")}})}))}function s(e){if(!(0,o("6B8d6").hasTracingEnabled)())return;let t=d(e),r=(0,o("84Maa").getCurrentHub)(),n=e.scope?e.scope.getSpan():l();if(e.onlyIfParent&&!n)return;let a=(e.scope||(0,o("dmS7i").getCurrentScope)()).clone();return u(r,{parentSpan:n,spanContext:t,forceTransaction:e.forceTransaction,scope:a})}function l(){return(0,o("dmS7i").getCurrentScope)().getSpan()}t(e.exports,"trace",()=>n),t(e.exports,"startSpan",()=>a),t(e.exports,"startSpanManual",()=>i),t(e.exports,"startInactiveSpan",()=>s),t(e.exports,"getActiveSpan",()=>l),t(e.exports,"continueTrace",()=>c),t(e.exports,"getCapturedScopesOnSpan",()=>f);let c=({sentryTrace:e,baggage:t},r)=>{let n=(0,o("dmS7i").getCurrentScope)(),{traceparentData:a,dynamicSamplingContext:i,propagationContext:s}=(0,o("eUr7O").tracingContextFromHeaders)(e,t);n.setPropagationContext(s),o("aCaWa").DEBUG_BUILD&&a&&o("7I6pg").logger.log(`[Tracing] Continuing trace ${a.traceId}.`);let l={...a,metadata:(0,o("iiQEB").dropUndefinedKeys)({dynamicSamplingContext:i})};return r?(0,o("84Maa").runWithAsyncContext)(()=>r(l)):l};function u(e,{parentSpan:t,spanContext:r,forceTransaction:n,scope:a}){var i,s,l;let c;if(!(0,o("6B8d6").hasTracingEnabled)())return;let d=(0,o("84Maa").getIsolationScope)();if(t&&!n)c=t.startChild(r);else if(t){let n=(0,o("aw8s7").getDynamicSamplingContextFromSpan)(t),{traceId:a,spanId:i}=t.spanContext(),s=(0,o("ajbYg").spanIsSampled)(t);c=e.startTransaction({traceId:a,parentSpanId:i,parentSampled:s,...r,metadata:{dynamicSamplingContext:n,...r.metadata}})}else{let{traceId:t,dsc:n,parentSpanId:i,sampled:o}={...d.getPropagationContext(),...a.getPropagationContext()};c=e.startTransaction({traceId:t,parentSpanId:i,parentSampled:o,...r,metadata:{dynamicSamplingContext:n,...r.metadata}})}return a.setSpan(c),i=c,s=a,l=d,i&&((0,o("iiQEB").addNonEnumerableProperty)(i,g,l),(0,o("iiQEB").addNonEnumerableProperty)(i,p,s)),c}function d(e){if(e.startTime){let t={...e};return t.startTimestamp=(0,o("ajbYg").spanTimeInputToSeconds)(e.startTime),delete t.startTime,t}return e}let p="_sentryScope",g="_sentryIsolationScope";function f(e){return{scope:e[p],isolationScope:e[g]}}}),s("hGrs1",function(e,r){function n(e,t,r=()=>{}){var a,i,s;let l;try{l=e()}catch(e){throw t(e),r(),e}return a=l,i=t,s=r,(0,o("9r1pX").isThenable)(a)?a.then(e=>(s(),e),e=>{throw i(e),s(),e}):(s(),a)}t(e.exports,"handleCallbackErrors",()=>n)}),s("6B8d6",function(e,r){t(e.exports,"hasTracingEnabled",()=>n);function n(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=(0,o("dmS7i").getClient)(),r=e||t&&t.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}}),s("2iz3c",function(e,r){t(e.exports,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>n),t(e.exports,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>a),t(e.exports,"SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>i),t(e.exports,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>o),t(e.exports,"SEMANTIC_ATTRIBUTE_PROFILE_ID",()=>s);let n="sentry.source",a="sentry.sample_rate",i="sentry.op",o="sentry.origin",s="profile_id"}),s("c40Kr",function(e,r){var n,a;function i(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}t(e.exports,"SpanStatus",()=>n),t(e.exports,"getSpanStatusFromHttpCode",()=>i),t(e.exports,"spanStatusfromHttpCode",()=>o),t(e.exports,"setHttpStatus",()=>s),(a=n||(n={})).Ok="ok",a.DeadlineExceeded="deadline_exceeded",a.Unauthenticated="unauthenticated",a.PermissionDenied="permission_denied",a.NotFound="not_found",a.ResourceExhausted="resource_exhausted",a.InvalidArgument="invalid_argument",a.Unimplemented="unimplemented",a.Unavailable="unavailable",a.InternalError="internal_error",a.UnknownError="unknown_error",a.Cancelled="cancelled",a.AlreadyExists="already_exists",a.FailedPrecondition="failed_precondition",a.Aborted="aborted",a.OutOfRange="out_of_range",a.DataLoss="data_loss";let o=i;function s(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);let r=i(t);"unknown_error"!==r&&e.setStatus(r)}}),s("jBgts",function(e,r){t(e.exports,"Transaction",()=>n);class n extends o("ijnVc").Span{constructor(e,t){super(e),this._contexts={},this._hub=t||(0,o("84Maa").getCurrentHub)(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;let r=this._metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]&&{source:this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]},...this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]&&{sampleRate:this._attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]}}}set metadata(e){this._metadata=e}setName(e,t="custom"){this._name=e,this.setAttribute(o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,t)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new(0,o("ijnVc").SpanRecorder)(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,r=""){this._measurements[e]={value:t,unit:r}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){let t=(0,o("ajbYg").spanTimeInputToSeconds)(e),r=this._finishTransaction(t);if(r)return this._hub.captureEvent(r)}toContext(){let e=super.toContext();return(0,o("iiQEB").dropUndefinedKeys)({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return(0,o("aw8s7").getDynamicSamplingContextFromSpan)(this)}setHub(e){this._hub=e}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn("Transaction has no name, falling back to ``."),this._name=""),super.end(e);let t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this._sampled){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","transaction");return}let r=this.spanRecorder?this.spanRecorder.spans.filter(e=>e!==this&&(0,o("ajbYg").spanToJSON)(e).timestamp):[];if(this._trimEnd&&r.length>0){let e=r.map(e=>(0,o("ajbYg").spanToJSON)(e).timestamp).filter(Boolean);this._endTime=e.reduce((e,t)=>e>t?e:t)}let{scope:n,isolationScope:a}=(0,o("9lKdF").getCapturedScopesOnSpan)(this),{metadata:i}=this,{source:s}=i,l={contexts:{...this._contexts,trace:(0,o("ajbYg").spanToTraceContext)(this)},spans:r,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...i,capturedSpanScope:n,capturedSpanIsolationScope:a,...(0,o("iiQEB").dropUndefinedKeys)({dynamicSamplingContext:(0,o("aw8s7").getDynamicSamplingContextFromSpan)(this)})},_metrics_summary:(0,o("a73mh").getMetricSummaryJsonForSpan)(this),...s&&{transaction_info:{source:s}}};return Object.keys(this._measurements).length>0&&(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),l.measurements=this._measurements),o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),l}}}),s("4iC5n",function(e,r){function n(e,t,r){let n;return(0,o("6B8d6").hasTracingEnabled)(t)?void 0!==e.sampled?e.setAttribute(o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,Number(e.sampled)):("function"==typeof t.tracesSampler?(n=t.tracesSampler(r),e.setAttribute(o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,Number(n))):void 0!==r.parentSampled?n=r.parentSampled:void 0!==t.tracesSampleRate?(n=t.tracesSampleRate,e.setAttribute(o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,Number(n))):(n=1,e.setAttribute(o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,n)),a(n))?n?(e.sampled=Math.random()1)||(o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1)}t(e.exports,"sampleTransaction",()=>n),t(e.exports,"isValidSampleRate",()=>a)}),s("3ktBp",function(e,r){t(e.exports,"Integrations",()=>n);let n=o("eWD3o")}),s("chwAd",function(e,r){t(e.exports,"setMeasurement",()=>n);function n(e,t,r){let n=(0,o("dWocc").getActiveTransaction)();n&&n.setMeasurement(e,t,r)}}),s("2CFWY",function(e,r){function n(e,t){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.info(`[Offline]: ${e}`,t)}function a(e){return t=>{let r,a=e(t),i=t.createStore?t.createStore(t):void 0,s=5e3;function l(e){i&&(r&&clearTimeout(r),"number"!=typeof(r=setTimeout(async()=>{r=void 0;let e=await i.pop();e&&(n("Attempting to send previously queued event"),u(e).catch(e=>{n("Failed to retry sending",e)}))},e))&&r.unref&&r.unref())}function c(){r||(l(s),s=Math.min(2*s,36e5))}async function u(e){try{let t=await a.send(e),r=100;if(t){if(t.headers&&t.headers["retry-after"])r=(0,o("lDqxe").parseRetryAfterHeader)(t.headers["retry-after"]);else if((t.statusCode||0)>=400)return t}return l(r),s=5e3,t}catch(a){var r;if(i&&await (r=s,!(0,o("eoF3x").envelopeContainsItemType)(e,["replay_event","replay_recording","client_report"])&&(!t.shouldStore||t.shouldStore(e,a,r))))return await i.insert(e),c(),n("Error sending. Event queued",a),{};throw a}}return t.flushAtStartup&&c(),{send:u,flush:e=>a.flush(e)}}}t(e.exports,"makeOfflineTransport",()=>a)}),s("pc4Pc",function(e,r){function n(e,t){let r;return(0,o("eoF3x").forEachEnvelopeItem)(e,(e,n)=>(t.includes(n)&&(r=Array.isArray(e)?e[1]:void 0),!!r)),r}function a(e,t){return r=>{let a=e(r),i=new Map;function s(t,a){let s=a?`${t}:${a}`:t,l=i.get(s);if(!l){let c=(0,o("5Na3j").dsnFromString)(t);if(!c)return;let u=(0,o("5hILL").getEnvelopeEndpointWithUrlEncodedAuth)(c,r.tunnel);l=a?(t=>{let r=e(t);return{...r,send:async e=>{let t=n(e,["event","transaction","profile","replay_event"]);return t&&(t.release=a),r.send(e)}}})({...r,url:u}):e({...r,url:u}),i.set(s,l)}return[t,l]}return{send:async function(e){let r=t({envelope:e,getEvent:function(t){return n(e,t&&t.length?t:["event"])}}).map(e=>"string"==typeof e?s(e,void 0):s(e.dsn,e.release)).filter(e=>!!e);return 0===r.length&&r.push(["",a]),(await Promise.all(r.map(([t,r])=>r.send((0,o("eoF3x").createEnvelope)(t?{...e[0],dsn:t}:e[0],e[1])))))[0]},flush:async function(e){let t=[await a.flush(e)];for(let[,r]of i)t.push(await r.flush(e));return t.every(e=>e)}}}}t(e.exports,"makeMultiplexedTransport",()=>a)}),s("5xyU1",function(e,r){function n(e,t){let r={sent_at:new Date().toISOString()};t&&(r.dsn=(0,o("5Na3j").dsnToString)(t));let n=e.map(a);return(0,o("eoF3x").createEnvelope)(r,n)}function a(e){return[{type:"span"},e]}t(e.exports,"createSpanEnvelope",()=>n)}),s("aw6iz",function(e,r){function n(e,t){var r,n,i,o;let s=t&&void 0!==t.getClient?t.getClient():t,l=s&&s.getDsn(),c=s&&s.getOptions().tunnel;return r=e,!!(n=l)&&r.includes(n.host)||(i=e,!!(o=c)&&a(i)===a(o))}function a(e){return"/"===e[e.length-1]?e.slice(0,-1):e}t(e.exports,"isSentryRequestUrl",()=>n)}),s("kilk2",function(e,r){t(e.exports,"parameterize",()=>n);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}}),s("4qRd6",function(e,r){t(e.exports,"moduleMetadataIntegration",()=>a),t(e.exports,"ModuleMetadata",()=>i);let n="ModuleMetadata",a=(0,o("dFnv4").defineIntegration)(()=>({name:n,setupOnce(){},setup(e){"function"==typeof e.on&&e.on("beforeEnvelope",e=>{(0,o("eoF3x").forEachEnvelopeItem)(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&((0,o("bmhzE").stripMetadataFromStackFrames)(t),e[1]=t)}})})},processEvent(e,t,r){let n=r.getOptions().stackParser;return(0,o("bmhzE").addMetadataToStackFrames)(n,e),e}})),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("bmhzE",function(e,r){t(e.exports,"addMetadataToStackFrames",()=>i),t(e.exports,"stripMetadataFromStackFrames",()=>s);let n=new Map,a=new Set;function i(e,t){try{t.exception.values.forEach(t=>{if(t.stacktrace)for(let r of t.stacktrace.frames||[]){if(!r.filename)continue;let t=function(e,t){if(o("hi3E4").GLOBAL_OBJ._sentryModuleMetadata)for(let t of Object.keys(o("hi3E4").GLOBAL_OBJ._sentryModuleMetadata)){let r=o("hi3E4").GLOBAL_OBJ._sentryModuleMetadata[t];if(!a.has(t)){for(let i of(a.add(t),e(t).reverse()))if(i.filename){n.set(i.filename,r);break}}}return n.get(t)}(e,r.filename);t&&(r.module_metadata=t)}})}catch(e){}}function s(e){try{e.exception.values.forEach(e=>{if(e.stacktrace)for(let t of e.stacktrace.frames||[])delete t.module_metadata})}catch(e){}}}),s("eWD3o",function(e,r){t(e.exports,"FunctionToString",()=>o("2sSit").FunctionToString),t(e.exports,"InboundFilters",()=>o("85Shi").InboundFilters),t(e.exports,"LinkedErrors",()=>o("4RdTC").LinkedErrors)}),s("4RdTC",function(e,r){t(e.exports,"LinkedErrors",()=>i);let n="LinkedErrors",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:n,setupOnce(){},preprocessEvent(e,n,a){let i=a.getOptions();(0,o("bB9Vc").applyAggregateErrorsToEvent)(o("8KTbr").exceptionFromError,i.stackParser,i.maxValueLength,r,t,e,n)}}}),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("8KTbr",function(e,r){t(e.exports,"exceptionFromError",()=>n);function n(e,t){let r={type:t.name||t.constructor.name,value:t.message},n=e(t.stack||"",1);return n.length&&(r.stacktrace={frames:n}),r}}),s("jxWdC",function(e,r){function n(e,t,r,a={}){let i=(0,o("dmS7i").getClient)(),s=(0,o("dmS7i").getCurrentScope)();if(i){if(!i.metricsAggregator){o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs");return}let{unit:n,tags:l,timestamp:c}=a,{release:u,environment:d}=i.getOptions(),p=s.getTransaction(),g={};u&&(g.release=u),d&&(g.environment=d),p&&(g.transaction=(0,o("ajbYg").spanToJSON)(p).description||""),o("aCaWa").DEBUG_BUILD&&o("7I6pg").logger.log(`Adding value of ${r} to ${e} metric ${t}`),i.metricsAggregator.add(e,t,r,n,{...g,...l},c)}}t(e.exports,"metrics",()=>a);let a={increment:function(e,t=1,r){n(o("djQin").COUNTER_METRIC_TYPE,e,t,r)},distribution:function(e,t,r){n(o("djQin").DISTRIBUTION_METRIC_TYPE,e,t,r)},set:function(e,t,r){n(o("djQin").SET_METRIC_TYPE,e,t,r)},gauge:function(e,t,r){n(o("djQin").GAUGE_METRIC_TYPE,e,t,r)},MetricsAggregator:o("76Lv6").MetricsAggregator,metricsAggregatorIntegration:o("76Lv6").metricsAggregatorIntegration}}),s("djQin",function(e,r){t(e.exports,"COUNTER_METRIC_TYPE",()=>n),t(e.exports,"GAUGE_METRIC_TYPE",()=>a),t(e.exports,"SET_METRIC_TYPE",()=>i),t(e.exports,"DISTRIBUTION_METRIC_TYPE",()=>o),t(e.exports,"DEFAULT_BROWSER_FLUSH_INTERVAL",()=>s);let n="c",a="g",i="s",o="d",s=5e3}),s("76Lv6",function(e,r){t(e.exports,"metricsAggregatorIntegration",()=>a),t(e.exports,"MetricsAggregator",()=>i);let n="MetricsAggregator",a=(0,o("dFnv4").defineIntegration)(()=>({name:n,setupOnce(){},setup(e){e.metricsAggregator=new(0,o("fjB3t").BrowserMetricsAggregator)(e)}})),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("fjB3t",function(e,r){t(e.exports,"BrowserMetricsAggregator",()=>n);class n{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),o("djQin").DEFAULT_BROWSER_FLUSH_INTERVAL)}add(e,t,r,n="none",a={},i=(0,o("8t2EY").timestampInSeconds)()){let s=Math.floor(i),l=(0,o("hWySO").sanitizeMetricKey)(t),c=(0,o("hWySO").sanitizeTags)(a),u=(0,o("hWySO").sanitizeUnit)(n),d=(0,o("hWySO").getBucketKey)(e,l,u,c),p=this._buckets.get(d),g=p&&e===o("djQin").SET_METRIC_TYPE?p.metric.weight:0;p?(p.metric.add(r),p.timestampe);this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}}),s("kjB7m",function(e,r){t(e.exports,"METRIC_MAP",()=>n);let n={[o("djQin").COUNTER_METRIC_TYPE]:class{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}},[o("djQin").GAUGE_METRIC_TYPE]:class{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,ethis._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}},[o("djQin").DISTRIBUTION_METRIC_TYPE]:class{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}},[o("djQin").SET_METRIC_TYPE]:class{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?(0,o("hWySO").simpleHash)(e):e).join(":")}}}}),s("6cnML",function(e,r){t(e.exports,"GlobalHandlers",()=>o("efJnc").GlobalHandlers),t(e.exports,"TryCatch",()=>o("eqOkL").TryCatch),t(e.exports,"Breadcrumbs",()=>o("lfdSs").Breadcrumbs),t(e.exports,"LinkedErrors",()=>o("2JxJk").LinkedErrors),t(e.exports,"HttpContext",()=>o("5lgCu").HttpContext),t(e.exports,"Dedupe",()=>o("9nLSz").Dedupe)}),s("5IZWm",function(e,r){let n;function a(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:a(e.parentNode,t,r,n+1)}function i(e,t){return r=>{if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch(e){return!1}}}t(e.exports,"replayCanvasIntegration",()=>L),t(e.exports,"ReplayCanvas",()=>U),(h=E||(E={}))[h.Document=0]="Document",h[h.DocumentType=1]="DocumentType",h[h.Element=2]="Element",h[h.Text=3]="Text",h[h.CDATA=4]="CDATA",h[h.Comment=5]="Comment";let s="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.",l={map:{},getId:()=>(console.error(s),-1),getNode:()=>(console.error(s),null),removeNodeFromMap(){console.error(s)},has:()=>(console.error(s),!1),reset(){console.error(s)}};function c(e,t,r,n,a=window){let i=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,n?r:{set(e){m(()=>{r.set.call(this,e)},0),i&&i.set&&i.set.call(this,e)}}),()=>c(e,t,i||{},!0)}function u(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(e){return()=>{}}}function d(e,t,r,n,o){if(!e)return!1;let s=e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null;if(!s)return!1;let l=i(t,r);if(!o){let e=n&&s.matches(n);return l(s)&&!e}let c=a(s,l),u=-1;return!(c<0)&&(n&&(u=a(s,i(null,n))),c>-1&&u<0||ctypeof window&&window.Proxy&&window.Reflect&&(l=new Proxy(l,{get:(e,t,r)=>("map"===t&&console.error(s),Reflect.get(e,t,r))})),/[1-9][0-9]{12}/.test(Date.now().toString());let p={};function g(e){let t=p[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 p[e]=n.bind(window)}function f(...e){return g("requestAnimationFrame")(...e)}function m(...e){return g("setTimeout")(...e)}var h,_,E,v=((_=v||{})[_["2D"]=0]="2D",_[_.WebGL=1]="WebGL",_[_.WebGL2=2]="WebGL2",_);let S=e=>n?(...t)=>{try{return e(...t)}catch(e){if(n&&!0===n(e))return()=>{};throw e}}:e;for(var y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I="u">2],a+=y[(3&r[t])<<4|r[t+1]>>4],a+=y[(15&r[t+1])<<2|r[t+2]>>6],a+=y[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 b=new Map,C=(e,t,r)=>{let n;if(!e||!(O(e,t)||"object"==typeof e))return;let a=e.constructor.name,i=((n=b.get(r))||(n=new Map,b.set(r,n)),n.has(a)||n.set(a,[]),n.get(a)),o=i.indexOf(e);return -1===o&&(o=i.length,i.push(e)),o},D=(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:T(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(O(t,r)||"object"==typeof t)return{rr_type:t.constructor.name,index:C(t,r,n)};return t})(e,t,r)),O=(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 A(e,t,r,n,a){let i=[];try{let o=u(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(i,...o){if(!d(this,t,r,n,!0)){let e="experimental-webgl"===i?"webgl":i;if("__context"in this||(this.__context=e),a&&["webgl","webgl2"].includes(e))if(o[0]&&"object"==typeof o[0]){let e=o[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else o.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[i,...o])}});i.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(e=>e())}}function N(e,t,r,n,a,i,o,s){let l=[];for(let o of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(o))try{if("function"!=typeof e[o])continue;let c=u(e,o,function(e){return function(...l){let c=e.apply(this,l);if(C(c,s,this),"tagName"in this.canvas&&!d(this.canvas,n,a,i,!0)){let e=D(l,s,this),n={type:t,property:o,args:e};r(this.canvas,n)}return c}});l.push(c)}catch(a){let n=c(e,o,{set(e){r(this.canvas,{type:t,property:o,args:[e],setter:!0})}});l.push(n)}return l}class R{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(e,t)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};let{sampling:t="all",win:r,blockClass:a,blockSelector:i,unblockSelector:o,maxCanvasSize:s,recordCanvas:l,dataURLOptions:c,errorHandler:u}=e;if(this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,u&&(n=u),e.enableManualSnapshot)return;S(()=>{l&&"all"===t&&this.initCanvasMutationObserver(r,a,i,o),l&&"number"==typeof t&&this.initCanvasFPSObserver(t,r,a,i,o,s,{dataURLOptions:c})})()}initCanvasFPSObserver(e,t,r,n,a,i,o){let s=A(t,r,n,a,!0),l=this.takeSnapshot(!1,e,t,r,n,a,i,o.dataURLOptions);this.resetObservers=()=>{s(),cancelAnimationFrame(l)}}initCanvasMutationObserver(e,t,r,n){var a,i;let o;this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let s=A(e,t,r,n,!1),l=function(e,t,r,n,a){let i=[];for(let o of Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype))try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])continue;let s=u(t.CanvasRenderingContext2D.prototype,o,function(i){return function(...s){return d(this.canvas,r,n,a,!0)||m(()=>{let r=D(s,t,this);e(this.canvas,{type:v["2D"],property:o,args:r})},0),i.apply(this,s)}});i.push(s)}catch(n){let r=c(t.CanvasRenderingContext2D.prototype,o,{set(t){e(this.canvas,{type:v["2D"],property:o,args:[t],setter:!0})}});i.push(r)}return()=>{i.forEach(e=>e())}}(this.processMutation.bind(this),e,t,r,n),p=(a=this.processMutation.bind(this),i=this.mirror,(o=[]).push(...N(e.WebGLRenderingContext.prototype,v.WebGL,a,t,r,n,i,e)),void 0!==e.WebGL2RenderingContext&&o.push(...N(e.WebGL2RenderingContext.prototype,v.WebGL2,a,t,r,n,i,e)),()=>{o.forEach(e=>e())});this.resetObservers=()=>{s(),l(),p()}}snapshot(e){let{options:t}=this,r=this.takeSnapshot(!0,"all"===t.sampling?2:t.sampling||2,t.win,t.blockClass,t.blockSelector,t.unblockSelector,t.maxCanvasSize,t.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(r)}}takeSnapshot(e,t,r,n,a,i,s,l,c){let u,p=new Map,g=new Worker((u=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>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(u)));g.onmessage=e=>{let t=e.data,{id:r}=t;if(p.set(r,!1),!("base64"in t))return;let{base64:n,type:a,width:i,height:o}=t;this.mutationCb({id:r,type:v["2D"],commands:[{property:"clearRect",args:[0,0,i,o]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:a}]},0,0,i,o]}]})};let m=1e3/t,h=0,_=t=>{if(h&&t-h{if(e)return[e];let t=[];return r.document.querySelectorAll("canvas").forEach(e=>{d(e,n,a,i,!0)||t.push(e)}),t})(c).forEach(t=>{let r=this.mirror.getId(t);if(!p.get(r)&&t.width&&t.height){if(p.set(r,!0),!e&&["webgl","webgl2"].includes(t.__context)){let e=t.getContext(t.__context);!1===(0,o("867Yq")._optionalChain)([e,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(t).then(e=>{g.postMessage({id:r,bitmap:e,width:t.width,height:t.height,dataURLOptions:l,maxCanvasSize:s},[e])}).catch(e=>{S(()=>{throw e})()})}}),f(_)};return f(_)}startPendingCanvasMutationFlusher(){f(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,f(e)};f(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)}),f(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let r=this.pendingCanvasMutations.get(e);if(!r||-1===t)return;let n=r.map(e=>{let{type:t,...r}=e;return r}),{type:a}=r[0];this.mutationCb({id:t,type:a,commands:n}),this.pendingCanvasMutations.delete(e)}}let w={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}}},k="ReplayCanvas",L=(0,o("dFnv4").defineIntegration)((e={})=>{let t,[r,n]=e.maxCanvasSize||[],a={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[r?Math.min(r,1280):1280,n?Math.min(n,1280):1280]},i=new Promise(e=>t=e);return{name:k,setupOnce(){},getOptions(){let{quality:e,enableManualSnapshot:r,maxCanvasSize:n}=a;return{enableManualSnapshot:r,recordCanvas:!0,getCanvasManager:e=>{let a=new R({...e,enableManualSnapshot:r,maxCanvasSize:n,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch(e){}}});return t(a),a},...w[e||"medium"]||w.medium}},async snapshot(e){(await i).snapshot(e)}}}),U=(0,o("dFnv4").convertIntegrationFnToClass)(k,L)}),s("867Yq",function(e,r){t(e.exports,"_optionalChain",()=>n);function n(e){let t,r=e[0],n=1;for(;nr.call(t,...e)),t=void 0)}return r}}),s("3zcyB",function(e,r){t(e.exports,"captureConsoleIntegration",()=>a);let n="CaptureConsole",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t=e.levels||o("7I6pg").CONSOLE_LEVELS;return{name:n,setupOnce(){},setup(e){"console"in o("hi3E4").GLOBAL_OBJ&&(0,o("e6ZUP").addConsoleInstrumentationHandler)(({args:r,level:n})=>{var a,i;let s;(0,o("dmS7i").getClient)()===e&&t.includes(n)&&(a=r,i=n,s={level:(0,o("953Ix").severityLevelFromString)(i),extra:{arguments:a}},(0,o("dmS7i").withScope)(e=>{if(e.addEventProcessor(e=>(e.logger="console",(0,o("h7F1u").addExceptionMechanism)(e,{handled:!1,type:"console"}),e)),"assert"===i&&!1===a[0]){let t=`Assertion failed: ${(0,o("4TtIy").safeJoin)(a.slice(1)," ")||"console.assert"}`;e.setExtra("arguments",a.slice(1)),(0,o("dmS7i").captureMessage)(t,s);return}let t=a.find(e=>e instanceof Error);if("error"===i&&t)return void(0,o("dmS7i").captureException)(t,s);let r=(0,o("4TtIy").safeJoin)(a," ");(0,o("dmS7i").captureMessage)(r,s)}))})}}});(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("2J7EI",function(e,r){t(e.exports,"contextLinesIntegration",()=>i);let n=o("hi3E4").GLOBAL_OBJ,a="ContextLines",i=(0,o("dFnv4").defineIntegration)((e={})=>{let t=null!=e.frameContextLines?e.frameContextLines:7;return{name:a,setupOnce(){},processEvent:e=>(function(e,t){let r=n.document,a=n.location&&(0,o("rcz3w").stripUrlQueryAndFragment)(n.location.href);if(!r||!a)return e;let i=e.exception&&e.exception.values;if(!i||!i.length)return e;let s=r.documentElement.innerHTML;if(!s)return e;let l=["","",...s.split("\n"),""];return i.forEach(e=>{let r=e.stacktrace;r&&r.frames&&(r.frames=r.frames.map(e=>{var r,n,i,s;return r=e,n=l,i=a,s=t,r.filename===i&&r.lineno&&n.length&&(0,o("h7F1u").addContextToFrame)(n,r,s),r}))}),e})(e,t)}});(0,o("dFnv4").convertIntegrationFnToClass)(a,i)}),s("6JGJC",function(e,r){t(e.exports,"debugIntegration",()=>a);let n="Debug",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t={debugger:!1,stringify:!1,...e};return{name:n,setupOnce(){},setup(e){e.on&&e.on("beforeSendEvent",(e,r)=>{t.debugger,(0,o("7I6pg").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))})})}}});(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("8Ropc",function(e,r){t(e.exports,"dedupeIntegration",()=>a);let n="Dedupe",a=(0,o("dFnv4").defineIntegration)(()=>{let e;return{name:n,setupOnce(){},processEvent(t){if(t.type)return t;try{var r,n,a,c,u,d;let p,g,f,m;if(r=t,(n=e)&&(a=r,c=n,p=a.message,g=c.message,(p||g)&&(!p||g)&&(p||!g)&&p===g&&s(a,c)&&i(a,c)&&1||(u=r,d=n,f=l(d),m=l(u),f&&m&&f.type===m.type&&f.value===m.value&&s(u,d)&&i(u,d))))return o("aiWLI").DEBUG_BUILD&&o("7I6pg").logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}});function i(e,t){let r=c(e),n=c(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;en);let n="u"a);let n="ExtraErrorData",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t=e.depth||3,r=e.captureErrorCause||!1;return{name:n,setupOnce(){},processEvent:(e,n)=>(function(e,t={},r,n){if(!t.originalException||!(0,o("9r1pX").isError)(t.originalException))return e;let a=t.originalException.name||t.originalException.constructor.name,i=function(e,t){try{let r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],n={};for(let t of Object.keys(e)){if(-1!==r.indexOf(t))continue;let a=e[t];n[t]=(0,o("9r1pX").isError)(a)?a.toString():a}if(t&&void 0!==e.cause&&(n.cause=(0,o("9r1pX").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];n[e]=(0,o("9r1pX").isError)(r)?r.toString():r}}return n}catch(e){o("aiWLI").DEBUG_BUILD&&o("7I6pg").logger.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,n);if(i){let t={...e.contexts},n=(0,o("bsqJK").normalize)(i,r);return(0,o("9r1pX").isPlainObject)(n)&&((0,o("iiQEB").addNonEnumerableProperty)(n,"__sentry_skip_normalization__",!0),t[a]=n),{...e,contexts:t}}return e})(e,n,t,r)}});(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("7uXTZ",function(e,r){t(e.exports,"httpClientIntegration",()=>a);let n="HttpClient",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:n,setupOnce(){},setup(e){var r,n,a,u;r=e,n=t,(0,o("40AKY").supportsNativeFetch)()&&(0,o("dPv3P").addFetchInstrumentationHandler)(e=>{if((0,o("dmS7i").getClient)()!==r)return;let{response:t,args:a}=e,[u,d]=a;t&&function(e,t,r,n){if(s(e,r.status,r.url)){var a,u;let e,s,d,p,g=(a=t,!(u=n)&&a instanceof Request||a instanceof Request&&a.bodyUsed?a:new Request(a,u));c()&&([{headers:e,cookies:d},{headers:s,cookies:p}]=[{cookieHeader:"Cookie",obj:g},{cookieHeader:"Set-Cookie",obj:r}].map(({cookieHeader:e,obj:t})=>{var r;let n,a,s=(r=t.headers,n={},r.forEach((e,t)=>{n[t]=e}),n);try{let t=s[e]||s[e.toLowerCase()]||void 0;t&&(a=i(t))}catch(t){o("aiWLI").DEBUG_BUILD&&o("7I6pg").logger.log(`Could not extract cookies from header ${e}`)}return{headers:s,cookies:a}}));let f=l({url:g.url,method:g.method,status:r.status,requestHeaders:e,responseHeaders:s,requestCookies:d,responseCookies:p});(0,o("dmS7i").captureEvent)(f)}}(n,u,t,d)}),a=e,u=t,"XMLHttpRequest"in o("hi3E4").GLOBAL_OBJ&&(0,o("3evL1").addXhrInstrumentationHandler)(e=>{if((0,o("dmS7i").getClient)()!==a)return;let t=e.xhr,r=t[o("3evL1").SENTRY_XHR_DATA_KEY];if(!r)return;let{method:n,request_headers:d}=r;try{!function(e,t,r,n){if(s(e,t.status,t.responseURL)){let e,a,s;if(c()){try{let e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(a=i(e))}catch(e){o("aiWLI").DEBUG_BUILD&&o("7I6pg").logger.log("Could not extract cookies from response headers")}try{let e;s=(e=t.getAllResponseHeaders())?e.split("\r\n").reduce((e,t)=>{let[r,n]=t.split(": ");return e[r]=n,e},{}):{}}catch(e){o("aiWLI").DEBUG_BUILD&&o("7I6pg").logger.log("Could not extract headers from response")}e=n}let u=l({url:t.responseURL,method:r,status:t.status,requestHeaders:e,responseHeaders:s,responseCookies:a});(0,o("dmS7i").captureEvent)(u)}}(u,t,n,d)}catch(e){o("aiWLI").DEBUG_BUILD&&o("7I6pg").logger.warn("Error while extracting response event form XHR response",e)}})}}});function i(e){return e.split("; ").reduce((e,t)=>{let[r,n]=t.split("=");return e[r]=n,e},{})}function s(e,t,r){var n,a;return n=e.failedRequestStatusCodes,n.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])&&(a=e.failedRequestTargets,a.some(e=>"string"==typeof e?r.includes(e):e.test(r)))&&!(0,o("aw6iz").isSentryRequestUrl)(r,(0,o("dmS7i").getClient)())}function l(e){let t=`HTTP Client Error with status code: ${e.status}`,r={message:t,exception:{values:[{type:"Error",value:t}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:function(e){if(e){let t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}(e.responseHeaders)}}};return(0,o("h7F1u").addExceptionMechanism)(r,{type:"http.client",handled:!1}),r}function c(){let e=(0,o("dmS7i").getClient)();return!!e&&!!e.getOptions().sendDefaultPii}(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("3CqqH",function(e,r){t(e.exports,"reportingObserverIntegration",()=>s);let n=o("hi3E4").GLOBAL_OBJ,a="ReportingObserver",i=new WeakMap,s=(0,o("dFnv4").defineIntegration)((e={})=>{let t=e.types||["crash","deprecation","intervention"];function r(e){if(i.has((0,o("dmS7i").getClient)()))for(let t of e)(0,o("dmS7i").withScope)(e=>{e.setExtra("url",t.url);let r=`ReportingObserver [${t.type}]`,n="No details available";if(t.body){let r={};for(let e in t.body)r[e]=t.body[e];if(e.setExtra("body",r),"crash"===t.type){let e=t.body;n=[e.crashId||"",e.reason||""].join(" ").trim()||n}else n=t.body.message||n}(0,o("dmS7i").captureMessage)(`${r}: ${n}`)})}return{name:a,setupOnce(){(0,o("40AKY").supportsReportingObserver)()&&new n.ReportingObserver(r,{buffered:!0,types:t}).observe()},setup(e){i.set(e,!0)}}});(0,o("dFnv4").convertIntegrationFnToClass)(a,s)}),s("2J6kR",function(e,r){t(e.exports,"rewriteFramesIntegration",()=>a);let n="RewriteFrames",a=(0,o("dFnv4").defineIntegration)((e={})=>{let t=e.root,r=e.prefix||"app:///",a=e.iteratee||(e=>{if(!e.filename)return e;let n=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),a=/^\//.test(e.filename);if(n||a){let a=n?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,i=t?(0,o("1SqCr").relative)(t,a):(0,o("1SqCr").basename)(a);e.filename=`${r}${i}`}return e});return{name:n,setupOnce(){},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}}});(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("1SqCr",function(e,r){t(e.exports,"relative",()=>o),t(e.exports,"basename",()=>s);let n=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function a(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let a=n>=0?e[n]:"/";a&&(t=`${a}/${t}`,r="/"===a.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function i(e){let t=0;for(;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}function o(e,t){e=a(e).slice(1),t=a(t).slice(1);let r=i(e.split("/")),n=i(t.split("/")),o=Math.min(r.length,n.length),s=o;for(let e=0;e1024?`${e.slice(-1024)}`:e,(a=n.exec(r))?a.slice(1):[])[2];return t&&i.slice(-1*t.length)===t&&(i=i.slice(0,i.length-t.length)),i}}),s("8C1r5",function(e,r){t(e.exports,"sessionTimingIntegration",()=>a);let n="SessionTiming",a=(0,o("dFnv4").defineIntegration)(()=>{let e=Date.now();return{name:n,setupOnce(){},processEvent(t){let r=Date.now();return{...t,extra:{...t.extra,"session:start":e,"session:duration":r-e,"session:end":r}}}}});(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("b4EUg",function(e,r){t(e.exports,"BROWSER_TRACING_INTEGRATION_ID",()=>n),t(e.exports,"BrowserTracing",()=>i);let n="BrowserTracing",a={...o("dkCHP").TRACING_DEFAULTS,markBackgroundTransactions:!0,routingInstrumentation:o("8DHE7").instrumentRoutingWithDefaults,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...o("je0dc").defaultRequestInstrumentationOptions};class i{constructor(e){this.name=n,this._hasSetTracePropagationTargets=!1,(0,o("iCMnl").addTracingExtensions)(),o("aNUuF").DEBUG_BUILD&&(this._hasSetTracePropagationTargets=!!(e&&(e.tracePropagationTargets||e.tracingOrigins))),this.options={...a,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=(0,o("iRvYJ").startTrackingWebVitals)(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&(0,o("iRvYJ").startTrackingINP)(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&(0,o("iRvYJ").startTrackingLongTasks)(),this.options._experiments.enableInteractions&&(0,o("iRvYJ").startTrackingInteractions)(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,t){this._getCurrentHub=t;let r=t().getClient(),n=r&&r.getOptions(),{routingInstrumentation:a,startTransactionOnLocationChange:i,startTransactionOnPageLoad:s,markBackgroundTransactions:l,traceFetch:c,traceXHR:u,shouldCreateSpanForRequest:d,enableHTTPTimings:p,_experiments:g}=this.options,f=n&&n.tracePropagationTargets,m=f||this.options.tracePropagationTargets;o("aNUuF").DEBUG_BUILD&&this._hasSetTracePropagationTargets&&f&&o("7I6pg").logger.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),a(e=>{let r=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(r,e,t),r},s,i),l&&(0,o("b9Kot").registerBackgroundTabDetection)(),g.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),(0,o("je0dc").instrumentOutgoingRequests)({traceFetch:c,traceXHR:u,tracePropagationTargets:m,shouldCreateSpanForRequest:d,enableHTTPTimings:p})}_createRouteTransaction(e){let t;if(!this._getCurrentHub){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`);return}let r=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:a,finalTimeout:i,heartbeatInterval:l}=this.options,c="pageload"===e.op;if(c){let r=c?s("sentry-trace"):"",n=c?s("baggage"):void 0,{traceId:a,dsc:i,parentSpanId:l,sampled:u}=(0,o("eUr7O").propagationContextFromHeaders)(r,n);t={traceId:a,parentSpanId:l,parentSampled:u,...e,metadata:{...e.metadata,dynamicSamplingContext:i},trimEnd:!0}}else t={trimEnd:!0,...e};let u="function"==typeof n?n(t):t,d=void 0===u?{...t,sampled:!1}:u;d.metadata=d.name!==t.name?{...d.metadata,source:"custom"}:d.metadata,this._latestRoute.name=d.name,this._latestRoute.context=d,!1===d.sampled&&o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Will not send ${d.op} transaction because of beforeNavigate.`),o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Starting ${d.op} transaction on scope`);let{location:p}=o("1xpaI").WINDOW,g=(0,o("iCMnl").startIdleTransaction)(r,d,a,i,!0,{location:p},l,c);return c&&o("1xpaI").WINDOW.document&&(o("1xpaI").WINDOW.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(o("1xpaI").WINDOW.document.readyState)&&g.sendAutoFinishSignal()}),["interactive","complete"].includes(o("1xpaI").WINDOW.document.readyState)&&g.sendAutoFinishSignal()),g.registerBeforeFinishCallback(e=>{this._collectWebVitals(),(0,o("iRvYJ").addPerformanceEntries)(e)}),g}_registerInteractionListener(){let e,t=()=>{var t;let r,n,a,{idleTimeout:i,finalTimeout:s,heartbeatInterval:l}=this.options,c="ui.action.click",u=(0,o("dWocc").getActiveTransaction)();if(u&&u.op&&["navigation","pageload"].includes(u.op)){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Tracing] Did not create ${c} transaction because a pageload or navigation transaction is in progress.`);return}if(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Tracing] Did not create ${c} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRoute.name){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}let d=this._getCurrentHub(),{location:p}=o("1xpaI").WINDOW,g={name:this._latestRoute.name,op:c,trimEnd:!0,data:{[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:this._latestRoute.context?(r=(t=this._latestRoute.context).attributes&&t.attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],n=t.data&&t.data[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],a=t.metadata&&t.metadata.source,r||n||a):"url"}};e=(0,o("iCMnl").startIdleTransaction)(d,g,i,s,!0,{location:p},l)};["click"].forEach(e=>{o("1xpaI").WINDOW.document&&addEventListener(e,t,{once:!1,capture:!0})})}_registerInpInteractionListener(){let e=({entries:e})=>{let t=(0,o("dmS7i").getClient)(),r=void 0!==t&&void 0!==t.getIntegrationByName?t.getIntegrationByName("Replay"):void 0,n=void 0!==r?r.getReplayId():void 0,a=(0,o("dWocc").getActiveTransaction)(),i=(0,o("dmS7i").getCurrentScope)(),s=void 0!==i?i.getUser():void 0;e.forEach(e=>{if("duration"in e){let t=e.interactionId;if(void 0===t)return;let r=this._interactionIdToRouteNameMapping[t],i=e.duration,o=e.startTime,l=Object.keys(this._interactionIdToRouteNameMapping),c=l.length>0?l.reduce((e,t)=>this._interactionIdToRouteNameMapping[e].durationthis._interactionIdToRouteNameMapping[e]).some(e=>e.duration===i&&e.startTime===o))&&t){if(r)r.duration=Math.max(r.duration,i);else if(l.length<10||void 0===c||i>this._interactionIdToRouteNameMapping[c].duration){let e=this._latestRoute.name,r=this._latestRoute.context;e&&r&&(c&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[c],this._interactionIdToRouteNameMapping[t]={routeName:e,duration:i,parentContext:r,user:s,activeTransaction:a,replayId:n,startTime:o})}}}})};(0,o("6pOMQ").addPerformanceInstrumentationHandler)("event",e),(0,o("6pOMQ").addPerformanceInstrumentationHandler)("first-input",e)}}function s(e){let t=(0,o("cx9zm").getDomElement)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}}),s("aNUuF",function(e,r){t(e.exports,"DEBUG_BUILD",()=>n);let n="u"n);function n(){o("1xpaI").WINDOW.document?o("1xpaI").WINDOW.document.addEventListener("visibilitychange",()=>{let e=(0,o("dWocc").getActiveTransaction)();if(o("1xpaI").WINDOW.document.hidden&&e){let t="cancelled",{op:r,status:n}=(0,o("ajbYg").spanToJSON)(e);o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${r}`),n||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}}):o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn("[Tracing] Could not set up background tab detection due to lack of global document")}}),s("1xpaI",function(e,r){t(e.exports,"WINDOW",()=>n);let n=o("hi3E4").GLOBAL_OBJ}),s("6pOMQ",function(e,r){let n,a,i,s,l;t(e.exports,"addClsInstrumentationHandler",()=>d),t(e.exports,"addLcpInstrumentationHandler",()=>p),t(e.exports,"addTtfbInstrumentationHandler",()=>g),t(e.exports,"addFidInstrumentationHandler",()=>f),t(e.exports,"addInpInstrumentationHandler",()=>m),t(e.exports,"addPerformanceInstrumentationHandler",()=>h);let c={},u={};function d(e,t=!1){return x("cls",e,E,n,t)}function p(e,t=!1){return x("lcp",e,S,i,t)}function g(e){return x("ttfb",e,y,s)}function f(e){return x("fid",e,v,a)}function m(e){return x("inp",e,I,l)}function h(e,t){var r;let n;return T(e,t),u[e]||(n={},"event"===(r=e)&&(n.durationThreshold=0),(0,o("6gthQ").observe)(r,e=>{_(r,{entries:e})},n),u[e]=!0),b(e,t)}function _(e,t){let r=c[e];if(r&&r.length)for(let n of r)try{n(t)}catch(t){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${(0,o("lnX7A").getFunctionName)(n)} Error:`,t)}}function E(){return(0,o("DNJAa").onCLS)(e=>{_("cls",{metric:e}),n=e},{reportAllChanges:!0})}function v(){return(0,o("2O0NT").onFID)(e=>{_("fid",{metric:e}),a=e})}function S(){return(0,o("gZiBR").onLCP)(e=>{_("lcp",{metric:e}),i=e})}function y(){return(0,o("6rlAH").onTTFB)(e=>{_("ttfb",{metric:e}),s=e})}function I(){return(0,o("bNDM4").onINP)(e=>{_("inp",{metric:e}),l=e})}function x(e,t,r,n,a=!1){let i;return T(e,t),u[e]||(i=r(),u[e]=!0),n&&t({metric:n}),b(e,t,a?i:void 0)}function T(e,t){c[e]=c[e]||[],c[e].push(t)}function b(e,t,r){return()=>{r&&r();let n=c[e];if(!n)return;let a=n.indexOf(t);-1!==a&&n.splice(a,1)}}}),s("DNJAa",function(e,r){t(e.exports,"onCLS",()=>n);let n=(e,t={})=>{let r,n=(0,o("b9wAs").initMetric)("CLS",0),a=0,i=[],s=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=i[0],o=i[i.length-1];a&&0!==i.length&&e.startTime-o.startTime<1e3&&e.startTime-t.startTime<5e3?(a+=e.value,i.push(e)):(a=e.value,i=[e]),a>n.value&&(n.value=a,n.entries=i,r&&r())}})},l=(0,o("6gthQ").observe)("layout-shift",s);if(l){r=(0,o("eZvtZ").bindReporter)(e,n,t.reportAllChanges);let a=()=>{s(l.takeRecords()),r(!0)};return(0,o("4fiPy").onHidden)(a),a}}}),s("eZvtZ",function(e,r){t(e.exports,"bindReporter",()=>n);let n=(e,t,r)=>{let n,a;return i=>{t.value>=0&&(i||r)&&((a=t.value-(n||0))||void 0===n)&&(n=t.value,t.delta=a,e(t))}}}),s("b9wAs",function(e,r){t(e.exports,"initMetric",()=>n);let n=(e,t)=>{let r=(0,o("dbL4b").getNavigationEntry)(),n="navigate";return r&&(n=o("1xpaI").WINDOW.document&&o("1xpaI").WINDOW.document.prerendering||(0,o("edDXy").getActivationStart)()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:(0,o("5MdwD").generateUniqueID)(),navigationType:n}}}),s("5MdwD",function(e,r){t(e.exports,"generateUniqueID",()=>n);let n=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`}),s("edDXy",function(e,r){t(e.exports,"getActivationStart",()=>n);let n=()=>{let e=(0,o("dbL4b").getNavigationEntry)();return e&&e.activationStart||0}}),s("dbL4b",function(e,r){t(e.exports,"getNavigationEntry",()=>n);let n=()=>o("1xpaI").WINDOW.__WEB_VITALS_POLYFILL__?o("1xpaI").WINDOW.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{let e=o("1xpaI").WINDOW.performance.timing,t=o("1xpaI").WINDOW.performance.navigation.type,r={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(let t in e)"navigationStart"!==t&&"toJSON"!==t&&(r[t]=Math.max(e[t]-e.navigationStart,0));return r})()):o("1xpaI").WINDOW.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]}),s("6gthQ",function(e,r){t(e.exports,"observe",()=>n);let n=(e,t,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}}}),s("4fiPy",function(e,r){t(e.exports,"onHidden",()=>n);let n=(e,t)=>{let r=n=>{("pagehide"===n.type||"hidden"===o("1xpaI").WINDOW.document.visibilityState)&&(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};o("1xpaI").WINDOW.document&&(addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0))}}),s("2O0NT",function(e,r){t(e.exports,"onFID",()=>n);let n=e=>{let t,r=(0,o("5GlTO").getVisibilityWatcher)(),n=(0,o("b9wAs").initMetric)("FID"),a=e=>{e.startTime{e.forEach(a)},s=(0,o("6gthQ").observe)("first-input",i);t=(0,o("eZvtZ").bindReporter)(e,n),s&&(0,o("4fiPy").onHidden)(()=>{i(s.takeRecords()),s.disconnect()},!0)}}),s("5GlTO",function(e,r){t(e.exports,"getVisibilityWatcher",()=>a);let n=-1,a=()=>(n<0&&(o("1xpaI").WINDOW.document&&o("1xpaI").WINDOW.document.visibilityState&&(n="hidden"!==o("1xpaI").WINDOW.document.visibilityState||o("1xpaI").WINDOW.document.prerendering?1/0:0),(0,o("4fiPy").onHidden)(({timeStamp:e})=>{n=e},!0)),{get firstHiddenTime(){return n}})}),s("bNDM4",function(e,r){t(e.exports,"onINP",()=>l);let n=()=>(0,o("e1MoK").getInteractionCount)(),a=[],i={},s=e=>{let t=a[a.length-1],r=i[e.interactionId];if(r||a.length<10||e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};i[t.id]=t,a.push(t)}a.sort((e,t)=>t.latency-e.latency),a.splice(10).forEach(e=>{delete i[e.id]})}},l=(e,t)=>{let r;t=t||{},(0,o("e1MoK").initInteractionCountPolyfill)();let i=(0,o("b9wAs").initMetric)("INP"),l=e=>{let t;e.forEach(e=>{e.interactionId&&s(e),"first-input"===e.entryType&&(a.some(t=>t.entries.some(t=>e.duration===t.duration&&e.startTime===t.startTime))||s(e))});let o=(t=Math.min(a.length-1,Math.floor(n()/50)),a[t]);o&&o.latency!==i.value&&(i.value=o.latency,i.entries=o.entries,r())},c=(0,o("6gthQ").observe)("event",l,{durationThreshold:t.durationThreshold||40});r=(0,o("eZvtZ").bindReporter)(e,i,t.reportAllChanges),c&&(c.observe({type:"first-input",buffered:!0}),(0,o("4fiPy").onHidden)(()=>{l(c.takeRecords()),i.value<0&&n()>0&&(i.value=0,i.entries=[]),r(!0)}))}}),s("e1MoK",function(e,r){let n;t(e.exports,"getInteractionCount",()=>c),t(e.exports,"initInteractionCountPolyfill",()=>u);let a=0,i=1/0,s=0,l=e=>{e.forEach(e=>{e.interactionId&&(i=Math.min(i,e.interactionId),a=(s=Math.max(s,e.interactionId))?(s-i)/7+1:0)})},c=()=>n?a:performance.interactionCount||0,u=()=>{"interactionCount"in performance||n||(n=(0,o("6gthQ").observe)("event",l,{type:"event",buffered:!0,durationThreshold:0}))}}),s("gZiBR",function(e,r){t(e.exports,"onLCP",()=>a);let n={},a=e=>{let t,r=(0,o("5GlTO").getVisibilityWatcher)(),a=(0,o("b9wAs").initMetric)("LCP"),i=e=>{let n=e[e.length-1];if(n){let e=Math.max(n.startTime-(0,o("edDXy").getActivationStart)(),0);e{n[a.id]||(i(s.takeRecords()),s.disconnect(),n[a.id]=!0,t(!0))};return["keydown","click"].forEach(e=>{o("1xpaI").WINDOW.document&&addEventListener(e,r,{once:!0,capture:!0})}),(0,o("4fiPy").onHidden)(r,!0),r}}}),s("6rlAH",function(e,r){t(e.exports,"onTTFB",()=>a);let n=e=>{o("1xpaI").WINDOW.document&&(o("1xpaI").WINDOW.document.prerendering?addEventListener("prerenderingchange",()=>n(e),!0):"complete"!==o("1xpaI").WINDOW.document.readyState?addEventListener("load",()=>n(e),!0):setTimeout(e,0))},a=(e,t)=>{t=t||{};let r=(0,o("b9wAs").initMetric)("TTFB"),a=(0,o("eZvtZ").bindReporter)(e,r,t.reportAllChanges);n(()=>{let e=(0,o("dbL4b").getNavigationEntry)();if(e){if(r.value=Math.max(e.responseStart-(0,o("edDXy").getActivationStart)(),0),r.value<0||r.value>performance.now())return;r.entries=[e],a(!0)}})}}),s("iRvYJ",function(e,r){let n,a;function i(e){return e/1e3}function s(){return o("1xpaI").WINDOW&&o("1xpaI").WINDOW.addEventListener&&o("1xpaI").WINDOW.performance}t(e.exports,"startTrackingWebVitals",()=>u),t(e.exports,"startTrackingLongTasks",()=>d),t(e.exports,"startTrackingInteractions",()=>p),t(e.exports,"startTrackingINP",()=>g),t(e.exports,"addPerformanceEntries",()=>m);let l=0,c={};function u(){let e=s();if(e&&o("8t2EY").browserPerformanceTimeOrigin){e.mark&&o("1xpaI").WINDOW.performance.mark("sentry-tracing-init");let t=(0,o("6pOMQ").addFidInstrumentationHandler)(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let r=i(o("8t2EY").browserPerformanceTimeOrigin),n=i(t.startTime);o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("[Measurements] Adding FID"),c.fid={value:e.value,unit:"millisecond"},c["mark.fid"]={value:r+n,unit:"second"}}),r=(0,o("6pOMQ").addClsInstrumentationHandler)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("[Measurements] Adding CLS"),c.cls={value:e.value,unit:""},a=t)},!0),s=(0,o("6pOMQ").addLcpInstrumentationHandler)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("[Measurements] Adding LCP"),c.lcp={value:e.value,unit:"millisecond"},n=t)},!0),l=(0,o("6pOMQ").addTtfbInstrumentationHandler)(({metric:e})=>{e.entries[e.entries.length-1]&&(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("[Measurements] Adding TTFB"),c.ttfb={value:e.value,unit:"millisecond"})});return()=>{t(),r(),s(),l()}}return()=>void 0}function d(){(0,o("6pOMQ").addPerformanceInstrumentationHandler)("longtask",({entries:e})=>{for(let t of e){let e=(0,o("dWocc").getActiveTransaction)();if(!e)return;let r=i(o("8t2EY").browserPerformanceTimeOrigin+t.startTime),n=i(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+n})}})}function p(){(0,o("6pOMQ").addPerformanceInstrumentationHandler)("event",({entries:e})=>{for(let t of e){let e=(0,o("dWocc").getActiveTransaction)();if(!e)return;if("click"===t.name){let r=i(o("8t2EY").browserPerformanceTimeOrigin+t.startTime),n=i(t.duration),a={description:(0,o("cx9zm").htmlTreeAsString)(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+n},s=(0,o("cx9zm").getComponentName)(t.target);s&&(a.attributes={"ui.component_name":s}),e.startChild(a)}}})}function g(e,t){if(s()&&o("8t2EY").browserPerformanceTimeOrigin){var r,n;let a=(r=e,n=t,(0,o("6pOMQ").addInpInstrumentationHandler)(({metric:e})=>{var t,a,s;let l;if(void 0===e.value)return;let c=e.entries.find(t=>t.duration===e.value&&void 0!==f[t.name]),u=(0,o("dmS7i").getClient)();if(!c||!u)return;let d=f[c.name],p=u.getOptions(),g=i(o("8t2EY").browserPerformanceTimeOrigin+c.startTime),m=i(e.value),h=void 0!==c.interactionId?r[c.interactionId]:void 0;if(void 0===h)return;let{routeName:_,parentContext:E,activeTransaction:v,user:S,replayId:y}=h,I=void 0!==S?S.email||S.id||S.ip_address:void 0,x=void 0!==v?v.getProfileId():void 0,T=new(0,o("ijnVc").Span)({startTimestamp:g,endTimestamp:g+m,op:`ui.interaction.${d}`,name:(0,o("cx9zm").htmlTreeAsString)(c.target),attributes:{release:p.release,environment:p.environment,transaction:_,...void 0!==I&&""!==I?{user:I}:{},...void 0!==x?{profile_id:x}:{},...void 0!==y?{replay_id:y}:{}},exclusiveTime:e.value,measurements:{inp:{value:e.value,unit:"millisecond"}}}),b=(t=E,a=p,s=n,!!(0,o("6B8d6").hasTracingEnabled)(a)&&((l=void 0!==t&&"function"==typeof a.tracesSampler?a.tracesSampler({transactionContext:t,name:t.name,parentSampled:t.parentSampled,attributes:{...t.data,...t.attributes},location:o("1xpaI").WINDOW.location}):void 0!==t&&void 0!==t.sampled?t.sampled:void 0!==a.tracesSampleRate?a.tracesSampleRate:1,(0,o("4iC5n").isValidSampleRate)(l))?!0===l?s:!1===l?0:l*s:(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1)));if(b&&Math.random(){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("Error while sending interaction:",e)});return}}));return()=>{a()}}return()=>void 0}let f={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function m(e){let t=s();if(!t||!o("1xpaI").WINDOW.performance.getEntries||!o("8t2EY").browserPerformanceTimeOrigin)return;o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("[Tracing] Adding & adjusting spans using Performance API");let r=i(o("8t2EY").browserPerformanceTimeOrigin),u=t.getEntries(),{op:d,start_timestamp:p}=(0,o("ajbYg").spanToJSON)(e);if(u.slice(l).forEach(t=>{var n,a,s,l,u,d,g,f,m,E;let v=i(t.startTime),S=i(t.duration);if("navigation"!==e.op||!p||!(r+v{h(n,a,e,s)}),h(n,a,"secureConnection",s,"TLS/SSL","connectEnd"),h(n,a,"fetch",s,"cache","domainLookupStart"),h(n,a,"domainLookup",s,"DNS"),l=n,u=a,d=s,u.responseEnd&&((0,o("cIIXj")._startChild)(l,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:d+i(u.requestStart),endTimestamp:d+i(u.responseEnd)}),(0,o("cIIXj")._startChild)(l,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:d+i(u.responseStart),endTimestamp:d+i(u.responseEnd)}));break;case"mark":case"paint":case"measure":{let n;g=e,f=t,m=v,E=S,n=r+m,(0,o("cIIXj")._startChild)(g,{description:f.name,endTimestamp:n+E,op:f.entryType,origin:"auto.resource.browser.metrics",startTimestamp:n});let a=(0,o("5GlTO").getVisibilityWatcher)(),i=t.startTime{if(!c[e]||!p||r>=p)return;let t=c[e].value,n=Math.abs((r+i(t)-p)*1e3),a=n-t;o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Measurements] Normalized ${e} from ${t} to ${n} (${a})`),c[e].value=n});let t=c["mark.fid"];t&&c.fid&&((0,o("cIIXj")._startChild)(e,{description:"first input delay",endTimestamp:t.value+i(c.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete c["mark.fid"]),"fcp"in c||delete c.cls,Object.keys(c).forEach(e=>{(0,o("chwAd").setMeasurement)(e,c[e].value,c[e].unit)}),g=e,n&&(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("[Measurements] Adding LCP Data"),n.element&&g.setTag("lcp.element",(0,o("cx9zm").htmlTreeAsString)(n.element)),n.id&&g.setTag("lcp.id",n.id),n.url&&g.setTag("lcp.url",n.url.trim().slice(0,200)),g.setTag("lcp.size",n.size)),a&&a.sources&&(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("[Measurements] Adding CLS Data"),a.sources.forEach((e,t)=>g.setTag(`cls.source.${t+1}`,(0,o("cx9zm").htmlTreeAsString)(e.node))))}n=void 0,a=void 0,c={}}function h(e,t,r,n,a,s){let l=s?t[s]:t[`${r}End`],c=t[`${r}Start`];c&&l&&(0,o("cIIXj")._startChild)(e,{op:"browser",origin:"auto.browser.browser.metrics",description:a||r,startTimestamp:n+i(c),endTimestamp:n+i(l)})}function _(e,t,r,n){let a=t[r];null!=a&&a<0x7fffffff&&(e[n]=a)}}),s("cIIXj",function(e,r){function n(e){return"number"==typeof e&&isFinite(e)}function a(e,{startTimestamp:t,...r}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...r})}t(e.exports,"isMeasurementValue",()=>n),t(e.exports,"_startChild",()=>a)}),s("je0dc",function(e,r){t(e.exports,"defaultRequestInstrumentationOptions",()=>a),t(e.exports,"instrumentOutgoingRequests",()=>i);let n=["localhost",/^\/(?!\/)/],a={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:n,tracePropagationTargets:n};function i(e){let{traceFetch:t,traceXHR:r,tracePropagationTargets:i,tracingOrigins:l,shouldCreateSpanForRequest:u,enableHTTPTimings:d}={traceFetch:a.traceFetch,traceXHR:a.traceXHR,...e},p="function"==typeof u?u:e=>!0,g=e=>{var t,r;return t=e,r=i||l,(0,o("4TtIy").stringMatchesSomePattern)(t,r||n)},f={};t&&(0,o("dPv3P").addFetchInstrumentationHandler)(e=>{let t=(0,o("4sgy7").instrumentFetchRequest)(e,p,g,f);if(t){let r=c(e.fetchData.url),n=r?(0,o("rcz3w").parseUrl)(r).host:void 0;t.setAttributes({"http.url":r,"server.address":n})}d&&t&&s(t)}),r&&(0,o("3evL1").addXhrInstrumentationHandler)(e=>{let t=function(e,t,r,n){let a=e.xhr,i=a&&a[o("3evL1").SENTRY_XHR_DATA_KEY];if(!(0,o("6B8d6").hasTracingEnabled)()||!a||a.__sentry_own_request__||!i)return;let s=t(i.url);if(e.endTimestamp&&s){let e=a.__sentry_xhr_span_id__;if(!e)return;let t=n[e];t&&void 0!==i.status_code&&((0,o("c40Kr").setHttpStatus)(t,i.status_code),t.end(),delete n[e]);return}let l=(0,o("dmS7i").getCurrentScope)(),u=(0,o("84Maa").getIsolationScope)(),d=c(i.url),p=d?(0,o("rcz3w").parseUrl)(d).host:void 0,g=s?(0,o("9lKdF").startInactiveSpan)({name:`${i.method} ${i.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":i.method,"http.url":d,url:i.url,"server.address":p,[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser"},op:"http.client"}):void 0;g&&(a.__sentry_xhr_span_id__=g.spanContext().spanId,n[a.__sentry_xhr_span_id__]=g);let f=(0,o("dmS7i").getClient)();if(a.setRequestHeader&&r(i.url)&&f){let{traceId:e,spanId:t,sampled:r,dsc:n}={...u.getPropagationContext(),...l.getPropagationContext()},i=g?(0,o("ajbYg").spanToTraceHeader)(g):(0,o("eUr7O").generateSentryTraceHeader)(e,t,r);var m=a,h=i,_=(0,o("94mso").dynamicSamplingContextToSentryBaggageHeader)(n||(g?(0,o("aw8s7").getDynamicSamplingContextFromSpan)(g):(0,o("aw8s7").getDynamicSamplingContextFromClient)(e,f,l)));try{m.setRequestHeader("sentry-trace",h),_&&m.setRequestHeader(o("94mso").BAGGAGE_HEADER_NAME,_)}catch(e){}}return g}(e,p,g,f);d&&t&&s(t)})}function s(e){let{url:t}=(0,o("ajbYg").spanToJSON)(e).data||{};if(!t||"string"!=typeof t)return;let r=(0,o("6pOMQ").addPerformanceInstrumentationHandler)("resource",({entries:n})=>{n.forEach(n=>{"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)&&n.name.endsWith(t)&&((function(e){let{name:t,version:r}=function(e){let t="unknown",r="unknown",n="";for(let a of e){if("/"===a){[t,r]=e.split("/");break}if(!isNaN(Number(a))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=a}return n===e&&(t=n),{name:t,version:r}}(e.nextHopProtocol),n=[];return(n.push(["network.protocol.version",r],["network.protocol.name",t]),o("8t2EY").browserPerformanceTimeOrigin)?[...n,["http.request.redirect_start",l(e.redirectStart)],["http.request.fetch_start",l(e.fetchStart)],["http.request.domain_lookup_start",l(e.domainLookupStart)],["http.request.domain_lookup_end",l(e.domainLookupEnd)],["http.request.connect_start",l(e.connectStart)],["http.request.secure_connection_start",l(e.secureConnectionStart)],["http.request.connection_end",l(e.connectEnd)],["http.request.request_start",l(e.requestStart)],["http.request.response_start",l(e.responseStart)],["http.request.response_end",l(e.responseEnd)]]:n})(n).forEach(t=>e.setAttribute(...t)),setTimeout(r))})})}function l(e=0){return((o("8t2EY").browserPerformanceTimeOrigin||performance.timeOrigin)+e)/1e3}function c(e){try{return new URL(e,o("1xpaI").WINDOW.location.origin).href}catch(e){return}}}),s("4sgy7",function(e,r){function n(e,t,r,a,i="auto.http.browser"){if(!(0,o("6B8d6").hasTracingEnabled)()||!e.fetchData)return;let s=t(e.fetchData.url);if(e.endTimestamp&&s){let t=e.fetchData.__span;if(!t)return;let r=a[t];r&&(function(e,t){if(t.response){(0,o("c40Kr").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("internal_error");e.end()}(r,e),delete a[t]);return}let l=(0,o("dmS7i").getCurrentScope)(),c=(0,o("dmS7i").getClient)(),{method:u,url:d}=e.fetchData,p=function(e){try{return new URL(e).href}catch(e){return}}(d),g=p?(0,o("rcz3w").parseUrl)(p).host:void 0,f=s?(0,o("9lKdF").startInactiveSpan)({name:`${u} ${d}`,onlyIfParent:!0,attributes:{url:d,type:"fetch","http.method":u,"http.url":p,"server.address":g,[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:i},op:"http.client"}):void 0;if(f&&(e.fetchData.__span=f.spanContext().spanId,a[f.spanContext().spanId]=f),r(e.fetchData.url)&&c){let t=e.args[0];e.args[1]=e.args[1]||{};let r=e.args[1];r.headers=function(e,t,r,n,a){let i=a||r.getSpan(),{traceId:s,spanId:l,sampled:c,dsc:u}={...(0,o("84Maa").getIsolationScope)().getPropagationContext(),...r.getPropagationContext()},d=i?(0,o("ajbYg").spanToTraceHeader)(i):(0,o("eUr7O").generateSentryTraceHeader)(s,l,c),p=(0,o("94mso").dynamicSamplingContextToSentryBaggageHeader)(u||(i?(0,o("aw8s7").getDynamicSamplingContextFromSpan)(i):(0,o("aw8s7").getDynamicSamplingContextFromClient)(s,t,r))),g=n.headers||("u">typeof Request&&(0,o("9r1pX").isInstanceOf)(e,Request)?e.headers:void 0);if(!g)return{"sentry-trace":d,baggage:p};if("u">typeof Headers&&(0,o("9r1pX").isInstanceOf)(g,Headers)){let e=new Headers(g);return e.append("sentry-trace",d),p&&e.append(o("94mso").BAGGAGE_HEADER_NAME,p),e}if(Array.isArray(g)){let e=[...g,["sentry-trace",d]];return p&&e.push([o("94mso").BAGGAGE_HEADER_NAME,p]),e}{let e="baggage"in g?g.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),p&&t.push(p),{...g,"sentry-trace":d,baggage:t.length>0?t.join(","):void 0}}}(t,c,l,r,f)}return f}t(e.exports,"instrumentFetchRequest",()=>n)}),s("8DHE7",function(e,r){t(e.exports,"instrumentRoutingWithDefaults",()=>n);function n(e,t=!0,r=!0){let a;if(!o("1xpaI").WINDOW||!o("1xpaI").WINDOW.location){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn("Could not initialize routing instrumentation due to invalid location");return}let i=o("1xpaI").WINDOW.location.href;t&&(a=e({name:o("1xpaI").WINDOW.location.pathname,startTimestamp:o("8t2EY").browserPerformanceTimeOrigin?o("8t2EY").browserPerformanceTimeOrigin/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),r&&(0,o("4rg5W").addHistoryInstrumentationHandler)(({to:t,from:r})=>{if(void 0===r&&i&&-1!==i.indexOf(t)){i=void 0;return}r!==t&&(i=void 0,a&&(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Finishing current transaction with op: ${a.op}`),a.end()),a=e({name:o("1xpaI").WINDOW.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})}}),s("h3C2f",function(e,r){t(e.exports,"browserTracingIntegration",()=>a),t(e.exports,"startBrowserTracingPageLoadSpan",()=>i),t(e.exports,"startBrowserTracingNavigationSpan",()=>s);let n={...o("dkCHP").TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...o("je0dc").defaultRequestInstrumentationOptions},a=(e={})=>{let t=!!o("aNUuF").DEBUG_BUILD&&!!(e.tracePropagationTargets||e.tracingOrigins);(0,o("iCMnl").addTracingExtensions)(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);let r={...n,...e},a=(0,o("iRvYJ").startTrackingWebVitals)(),c={};r.enableInp&&(0,o("iRvYJ").startTrackingINP)(c,r.interactionsSampleRate),r.enableLongTask&&(0,o("iRvYJ").startTrackingLongTasks)(),r._experiments.enableInteractions&&(0,o("iRvYJ").startTrackingInteractions)();let u={name:void 0,context:void 0};function d(e){let t,n=(0,o("84Maa").getCurrentHub)(),{beforeStartSpan:i,idleTimeout:s,finalTimeout:c,heartbeatInterval:d}=r,p="pageload"===e.op;if(p){let r=p?l("sentry-trace"):"",n=p?l("baggage"):void 0,{traceId:a,dsc:i,parentSpanId:s,sampled:c}=(0,o("eUr7O").propagationContextFromHeaders)(r,n);t={traceId:a,parentSpanId:s,parentSampled:c,...e,metadata:{...e.metadata,dynamicSamplingContext:i},trimEnd:!0}}else t={trimEnd:!0,...e};let g=i?i(t):t;g.metadata=g.name!==t.name?{...g.metadata,source:"custom"}:g.metadata,u.name=g.name,u.context=g,!1===g.sampled&&o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Will not send ${g.op} transaction because of beforeNavigate.`),o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Starting ${g.op} transaction on scope`);let{location:f}=o("1xpaI").WINDOW,m=(0,o("iCMnl").startIdleTransaction)(n,g,s,c,!0,{location:f},d,p);return p&&o("1xpaI").WINDOW.document&&(o("1xpaI").WINDOW.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(o("1xpaI").WINDOW.document.readyState)&&m.sendAutoFinishSignal()}),["interactive","complete"].includes(o("1xpaI").WINDOW.document.readyState)&&m.sendAutoFinishSignal()),m.registerBeforeFinishCallback(e=>{a(),(0,o("iRvYJ").addPerformanceEntries)(e)}),m}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){var n,a,l,p;let g,f,m,h,_=e.getOptions(),{markBackgroundSpan:E,traceFetch:v,traceXHR:S,shouldCreateSpanForRequest:y,enableHTTPTimings:I,_experiments:x}=r,T=_&&_.tracePropagationTargets,b=T||r.tracePropagationTargets;o("aNUuF").DEBUG_BUILD&&t&&T&&o("7I6pg").logger.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let C=o("1xpaI").WINDOW.location&&o("1xpaI").WINDOW.location.href;e.on&&(e.on("startNavigationSpan",e=>{h&&(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Finishing current transaction with op: ${(0,o("ajbYg").spanToJSON)(h).op}`),h.end()),h=d({op:"navigation",...e})}),e.on("startPageLoadSpan",e=>{h&&(o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log(`[Tracing] Finishing current transaction with op: ${(0,o("ajbYg").spanToJSON)(h).op}`),h.end()),h=d({op:"pageload",...e})})),r.instrumentPageLoad&&e.emit&&o("1xpaI").WINDOW.location&&i(e,{name:o("1xpaI").WINDOW.location.pathname,startTimestamp:o("8t2EY").browserPerformanceTimeOrigin?o("8t2EY").browserPerformanceTimeOrigin/1e3:void 0,origin:"auto.pageload.browser",attributes:{[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"}}),r.instrumentNavigation&&e.emit&&o("1xpaI").WINDOW.location&&(0,o("4rg5W").addHistoryInstrumentationHandler)(({to:t,from:r})=>{if(void 0===r&&C&&-1!==C.indexOf(t)){C=void 0;return}r!==t&&(C=void 0,s(e,{name:o("1xpaI").WINDOW.location.pathname,origin:"auto.navigation.browser",attributes:{[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"}}))}),E&&(0,o("b9Kot").registerBackgroundTabDetection)(),x.enableInteractions&&(n=r,a=u,f=()=>{var e;let t,r,i,{idleTimeout:s,finalTimeout:l,heartbeatInterval:c}=n,u="ui.action.click",d=(0,o("dWocc").getActiveTransaction)();if(d&&d.op&&["navigation","pageload"].includes(d.op)){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Tracing] Did not create ${u} transaction because a pageload or navigation transaction is in progress.`);return}if(g&&(g.setFinishReason("interactionInterrupted"),g.end(),g=void 0),!a.name){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Tracing] Did not create ${u} transaction because _latestRouteName is missing.`);return}let{location:p}=o("1xpaI").WINDOW,f={name:a.name,op:u,trimEnd:!0,data:{[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:a.context?(t=(e=a.context).attributes&&e.attributes[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],r=e.data&&e.data[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],i=e.metadata&&e.metadata.source,t||r||i):"url"}};g=(0,o("iCMnl").startIdleTransaction)((0,o("84Maa").getCurrentHub)(),f,s,l,!0,{location:p},c)},["click"].forEach(e=>{o("1xpaI").WINDOW.document&&addEventListener(e,f,{once:!1,capture:!0})})),r.enableInp&&(l=c,p=u,m=({entries:e})=>{let t=(0,o("dmS7i").getClient)(),r=void 0!==t&&void 0!==t.getIntegrationByName?t.getIntegrationByName("Replay"):void 0,n=void 0!==r?r.getReplayId():void 0,a=(0,o("dWocc").getActiveTransaction)(),i=(0,o("dmS7i").getCurrentScope)(),s=void 0!==i?i.getUser():void 0;e.forEach(e=>{if("duration"in e){let t=e.interactionId;if(void 0===t)return;let r=l[t],i=e.duration,o=e.startTime,c=Object.keys(l),u=c.length>0?c.reduce((e,t)=>l[e].durationl[e]).some(e=>e.duration===i&&e.startTime===o))&&t){if(r)r.duration=Math.max(r.duration,i);else if(c.length<10||void 0===u||i>l[u].duration){let e=p.name,r=p.context;e&&r&&(u&&Object.keys(l).length>=10&&delete l[u],l[t]={routeName:e,duration:i,parentContext:r,user:s,activeTransaction:a,replayId:n,startTime:o})}}}})},(0,o("6pOMQ").addPerformanceInstrumentationHandler)("event",m),(0,o("6pOMQ").addPerformanceInstrumentationHandler)("first-input",m)),(0,o("je0dc").instrumentOutgoingRequests)({traceFetch:v,traceXHR:S,tracePropagationTargets:b,shouldCreateSpanForRequest:y,enableHTTPTimings:I})},options:r}};function i(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);let r=(0,o("9lKdF").getActiveSpan)();return"pageload"===(r&&(0,o("ajbYg").spanToJSON)(r).op)?r:void 0}function s(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);let r=(0,o("9lKdF").getActiveSpan)();return"navigation"===(r&&(0,o("ajbYg").spanToJSON)(r).op)?r:void 0}function l(e){let t=(0,o("cx9zm").getDomElement)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}}),s("crjkJ",function(e,r){function n(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function a(e){return n(e.getAllKeys())}function i(e){let t;function r(){var r,a;let i,o;return void 0==t&&(r=e.dbName||"sentry-offline",a=e.storeName||"queue",(i=indexedDB.open(r)).onupgradeneeded=()=>i.result.createObjectStore(a),o=n(i),t=e=>o.then(t=>e(t.transaction(a,"readwrite").objectStore(a)))),t}return{insert:async t=>{try{var i,s;let l=await (0,o("eoF3x").serializeEnvelope)(t,e.textEncoder);await (i=r(),s=e.maxQueueSize||30,i(e=>a(e).then(t=>{if(!(t.length>=s))return e.put(l,Math.max(...t,0)+1),n(e.transaction)})))}catch(e){}},pop:async()=>{try{let t=await r()(e=>a(e).then(t=>{if(0!==t.length)return n(e.get(t[0])).then(r=>(e.delete(t[0]),n(e.transaction).then(()=>r)))}));if(t)return(0,o("eoF3x").parseEnvelope)(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function s(e){var t;return t=(0,o("2CFWY").makeOfflineTransport)(e),e=>t({...e,createStore:i})}t(e.exports,"makeBrowserOfflineTransport",()=>s)}),s("4ylGE",function(e,r){function n(e){return e?(0,o("a306A").shouldProfileTransaction)(e)?a(e):e:(o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("[Profiling] Transaction is undefined, skipping profiling"),e)}function a(e){let t;(0,o("a306A").isAutomatedPageLoadTransaction)(e)&&(t=1e3*(0,o("8t2EY").timestampInSeconds)());let r=(0,o("a306A").startJSSelfProfile)();if(!r)return e;o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log(`[Profiling] started profiling transaction: ${(0,o("ajbYg").spanToJSON)(e).description}`);let n=(0,o("h7F1u").uuid4)();async function a(){return e&&r?r.stop().then(t=>((i&&(o("2TIK5").WINDOW.clearTimeout(i),i=void 0),o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log(`[Profiling] stopped profiling of transaction: ${(0,o("ajbYg").spanToJSON)(e).description}`),t)?(0,o("a306A").addProfileToGlobalCache)(n,t):o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log(`[Profiling] profiler returned null profile for: ${(0,o("ajbYg").spanToJSON)(e).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null)).catch(e=>(o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("[Profiling] error while stopping profiler:",e),null)):null}let i=o("2TIK5").WINDOW.setTimeout(()=>{o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,o("ajbYg").spanToJSON)(e).description),a()},o("a306A").MAX_PROFILE_DURATION_MS),s=e.end.bind(e);return e.end=function(){return e?(a().then(()=>{e.setContext("profile",{profile_id:n,start_timestamp:t}),s()},()=>{s()}),e):s()},e}t(e.exports,"onProfilingStartRouteTransaction",()=>n),t(e.exports,"startProfileForTransaction",()=>a)}),s("a306A",function(e,r){t(e.exports,"isAutomatedPageLoadTransaction",()=>p),t(e.exports,"addProfilesToEnvelope",()=>g),t(e.exports,"findProfiledTransactionsFromEnvelope",()=>f),t(e.exports,"MAX_PROFILE_DURATION_MS",()=>_),t(e.exports,"startJSSelfProfile",()=>E),t(e.exports,"shouldProfileTransaction",()=>v),t(e.exports,"createProfilingEvent",()=>S),t(e.exports,"getActiveProfilesCount",()=>I),t(e.exports,"takeProfileFromGlobalCache",()=>x),t(e.exports,"addProfileToGlobalCache",()=>T);let n=String(0),a="",i="",s="",l=o("2TIK5").WINDOW.navigator&&o("2TIK5").WINDOW.navigator.userAgent||"",c="",u=o("2TIK5").WINDOW.navigator&&o("2TIK5").WINDOW.navigator.language||o("2TIK5").WINDOW.navigator&&o("2TIK5").WINDOW.navigator.languages&&o("2TIK5").WINDOW.navigator.languages[0]||"",d=o("2TIK5").WINDOW.navigator&&o("2TIK5").WINDOW.navigator.userAgentData;function p(e){return"pageload"===e.op}function g(e,t){if(!t.length)return e;for(let r of t)e[1].push([{type:"profile"},r]);return e}function f(e){let t=[];return(0,o("eoF3x").forEachEnvelopeItem)(e,(e,r)=>{if("transaction"===r)for(let r=1;r{if(a=e.platform||"",s=e.architecture||"",c=e.model||"",i=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){let t=e.fullVersionList[e.fullVersionList.length-1];l=`${t.brand} ${t.version}`}}).catch(e=>void 0);let m=new WeakMap,h=!1,_=3e4;function E(){let e=o("2TIK5").WINDOW.Profiler;if("function"!=typeof e){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}let t=Math.floor(_/10);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){o("3gMoL").DEBUG_BUILD&&(o("7I6pg").logger.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),o("7I6pg").logger.log("[Profiling] Disabling profiling for current user session.")),h=!0}}function v(e){if(h)return o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("[Profiling] Discarding profile because transaction was not sampled."),!1;let t=(0,o("dmS7i").getClient)(),r=t&&t.getOptions();if(!r)return o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("[Profiling] Profiling disabled, no options found."),!1;let n=r.profilesSampleRate;return("number"!=typeof n&&"boolean"!=typeof n||"number"==typeof n&&isNaN(n)?(o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(n)} of type ${JSON.stringify(typeof n)}.`),1):!0!==n&&!1!==n&&(n<0||n>1)&&(o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${n}.`),1))?(o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.warn("[Profiling] Discarding profile because of invalid sample rate."),!1):n?!!(!0===n||Math.random(){let a,o=t.get(n);o?a=o:(a=i(n),t.set(n,a));for(let t=a.length-1;t>=0;t--){let i=a[t],o=i&&i.filename;if(i&&o){e[o]=r[n];break}}return e},{}),c=[];for(let t of e)t&&l[t]&&c.push({type:"sourcemap",code_file:t,debug_id:l[t]});return c}(r.resources)},profile:h,transactions:[{name:d.transaction||"",id:d.event_id||(0,o("h7F1u").uuid4)(),trace_id:f,active_thread_id:n,relative_start_ns:"0",relative_end_ns:((E-_)*1e6).toFixed(0)}]}}(e,t,r,d)}let y=new Map;function I(){return y.size}function x(e){let t=y.get(e);return t&&y.delete(e),t}function T(e,t){if(y.set(e,t),y.size>30){let e=y.keys().next().value;y.delete(e)}}}),s("2I8JG",function(e,r){t(e.exports,"browserProfilingIntegration",()=>a),t(e.exports,"BrowserProfilingIntegration",()=>i);let n="BrowserProfiling",a=(0,o("dFnv4").defineIntegration)(()=>({name:n,setupOnce(){},setup(e){let t=(0,o("dmS7i").getCurrentScope)().getTransaction();(t&&(0,o("a306A").isAutomatedPageLoadTransaction)(t)&&(0,o("a306A").shouldProfileTransaction)(t)&&(0,o("4ylGE").startProfileForTransaction)(t),"function"!=typeof e.on)?o("7I6pg").logger.warn("[Profiling] Client does not support hooks, profiling will be disabled"):(e.on("startTransaction",e=>{(0,o("a306A").shouldProfileTransaction)(e)&&(0,o("4ylGE").startProfileForTransaction)(e)}),e.on("beforeEnvelope",e=>{if(!(0,o("a306A").getActiveProfilesCount)())return;let t=(0,o("a306A").findProfiledTransactionsFromEnvelope)(e);if(!t.length)return;let r=[];for(let e of t){let t=e&&e.contexts,n=t&&t.profile&&t.profile.profile_id,a=t&&t.profile&&t.profile.start_timestamp;if("string"!=typeof n||!n){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log("[Profiling] cannot find profile for a transaction without a profile context");continue}t&&t.profile&&delete t.profile;let i=(0,o("a306A").takeProfileFromGlobalCache)(n);if(!i){o("3gMoL").DEBUG_BUILD&&o("7I6pg").logger.log(`[Profiling] Could not retrieve profile for transaction: ${n}`);continue}let s=(0,o("a306A").createProfilingEvent)(n,a,i,e);s&&r.push(s)}(0,o("a306A").addProfilesToEnvelope)(e,r)}))}})),i=(0,o("dFnv4").convertIntegrationFnToClass)(n,a)}),s("lmSpp",function(e,r){t(e.exports,"CaptureConsole",()=>i);let n="CaptureConsole",a=(0,o("i8vMy").defineIntegration)((e={})=>{let t=e.levels||o("fIVdo").CONSOLE_LEVELS;return{name:n,setupOnce(){},setup(e){"console"in o("1s3dl").GLOBAL_OBJ&&(0,o("er6T8").addConsoleInstrumentationHandler)(({args:r,level:n})=>{var a,i;let s;(0,o("gPxSj").getClient)()===e&&t.includes(n)&&(a=r,i=n,s={level:(0,o("i4BcD").severityLevelFromString)(i),extra:{arguments:a}},(0,o("gPxSj").withScope)(e=>{if(e.addEventProcessor(e=>(e.logger="console",(0,o("hvgWU").addExceptionMechanism)(e,{handled:!1,type:"console"}),e)),"assert"===i&&!1===a[0]){let t=`Assertion failed: ${(0,o("8jOyf").safeJoin)(a.slice(1)," ")||"console.assert"}`;e.setExtra("arguments",a.slice(1)),(0,o("gPxSj").captureMessage)(t,s);return}let t=a.find(e=>e instanceof Error);if("error"===i&&t)return void(0,o("gPxSj").captureException)(t,s);let r=(0,o("8jOyf").safeJoin)(a," ");(0,o("gPxSj").captureMessage)(r,s)}))})}}}),i=(0,o("i8vMy").convertIntegrationFnToClass)(n,a)}),s("gPxSj",function(e,r){function n(e,t){return(0,o("gZpcN").getCurrentHub)().captureException(e,(0,o("2s3iD").parseEventHintOrCaptureContext)(t))}function a(e,t){let r="string"==typeof t?t:void 0,n="string"!=typeof t?{captureContext:t}:void 0;return(0,o("gZpcN").getCurrentHub)().captureMessage(e,r,n)}function i(...e){let t=(0,o("gZpcN").getCurrentHub)();if(2===e.length){let[r,n]=e;return r?t.withScope(()=>(t.getStackTop().scope=r,n(r))):t.withScope(n)}return t.withScope(e[0])}function s(){return(0,o("gZpcN").getCurrentHub)().getClient()}function l(){return(0,o("gZpcN").getCurrentHub)().getScope()}t(e.exports,"captureException",()=>n),t(e.exports,"captureMessage",()=>a),t(e.exports,"withScope",()=>i),t(e.exports,"getCurrentScope",()=>l),t(e.exports,"getClient",()=>s)}),s("1s3dl",function(e,n){function a(e){return e&&e.Math==Math?e:void 0}t(e.exports,"GLOBAL_OBJ",()=>i),t(e.exports,"getGlobalObject",()=>o),t(e.exports,"getGlobalSingleton",()=>s);let i="object"==typeof globalThis&&a(globalThis)||"object"==typeof window&&a(window)||"object"==typeof self&&a(self)||"object"==typeof r&&a(r)||function(){return this}()||{};function o(){return i}function s(e,t,r){let n=r||i,a=n.__SENTRY__=n.__SENTRY__||{};return a[e]||(a[e]=t())}}),s("hh9fP",function(e,r){t(e.exports,"isError",()=>a),t(e.exports,"isInstanceOf",()=>m),t(e.exports,"isString",()=>o),t(e.exports,"isPrimitive",()=>s),t(e.exports,"isPlainObject",()=>l),t(e.exports,"isEvent",()=>c),t(e.exports,"isElement",()=>u),t(e.exports,"isRegExp",()=>d),t(e.exports,"isThenable",()=>p),t(e.exports,"isSyntheticEvent",()=>g),t(e.exports,"isNaN",()=>f),t(e.exports,"isVueViewModel",()=>h);let n=Object.prototype.toString;function a(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return m(e,Error)}}function i(e,t){return n.call(e)===`[object ${t}]`}function o(e){return i(e,"String")}function s(e){return null===e||"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e||"object"!=typeof e&&"function"!=typeof e}function l(e){return i(e,"Object")}function c(e){return"u">typeof Event&&m(e,Event)}function u(e){return"u">typeof Element&&m(e,Element)}function d(e){return i(e,"RegExp")}function p(e){return!!(e&&e.then&&"function"==typeof e.then)}function g(e){return l(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function f(e){return"number"==typeof e&&e!=e}function m(e,t){try{return e instanceof t}catch(e){return!1}}function h(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}}),s("fIVdo",function(e,r){let n,a;t(e.exports,"CONSOLE_LEVELS",()=>i),t(e.exports,"originalConsoleMethods",()=>s),t(e.exports,"consoleSandbox",()=>l),t(e.exports,"logger",()=>c);let i=["debug","info","warn","error","log","assert","trace"],s={};function l(e){if(!("console"in o("1s3dl").GLOBAL_OBJ))return e();let t=o("1s3dl").GLOBAL_OBJ.console,r={},n=Object.keys(s);n.forEach(e=>{let n=s[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}let c=(n=!1,a={enable:()=>{n=!0},disable:()=>{n=!1},isEnabled:()=>n},o("la5bY").DEBUG_BUILD?i.forEach(e=>{a[e]=(...t)=>{n&&l(()=>{o("1s3dl").GLOBAL_OBJ.console[e](`Sentry Logger [${e}]:`,...t)})}}):i.forEach(e=>{a[e]=()=>void 0}),a)}),s("la5bY",function(e,r){t(e.exports,"DEBUG_BUILD",()=>n);let n="u"n),t(e.exports,"timestampInSeconds",()=>a);let a=function(){let{performance:e}=o("1s3dl").GLOBAL_OBJ;if(!e||!e.now)return n;let t=Date.now()-e.now(),r=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(r+e.now())/1e3}();(()=>{let{performance:e}=o("1s3dl").GLOBAL_OBJ;if(!e||!e.now)return;let t=e.now(),r=Date.now(),n=e.timeOrigin?Math.abs(e.timeOrigin+t-r):36e5,a=e.timing&&e.timing.navigationStart,i="number"==typeof a?Math.abs(a+t-r):36e5;if((n<36e5||i<36e5)&&n<=i)return e.timeOrigin})()}),s("hvgWU",function(e,r){function n(){let e=o("1s3dl").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))}function a(e,t){let r=e.exception&&e.exception.values?e.exception.values[0]:void 0;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}}function i(e){return Array.isArray(e)?e:[e]}t(e.exports,"uuid4",()=>n),t(e.exports,"addExceptionMechanism",()=>a),t(e.exports,"arrayify",()=>i)}),s("bC2bl",function(e,r){function n(e,t,r){if(!(t in e))return;let n=e[t],i=r(n);"function"==typeof i&&function(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,a(e,"__sentry_original__",t)}catch(e){}}(i,n),e[t]=i}function a(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch(r){o("la5bY").DEBUG_BUILD&&o("fIVdo").logger.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function i(e){if((0,o("hh9fP").isError)(e))return{message:e.message,name:e.name,stack:e.stack,...l(e)};if(!(0,o("hh9fP").isEvent)(e))return e;{let t={type:e.type,target:s(e.target),currentTarget:s(e.currentTarget),...l(e)};return"u">typeof CustomEvent&&(0,o("hh9fP").isInstanceOf)(e,CustomEvent)&&(t.detail=e.detail),t}}function s(e){try{return(0,o("hh9fP").isElement)(e)?(0,o("7zDdB").htmlTreeAsString)(e):Object.prototype.toString.call(e)}catch(e){return""}}function l(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}}function c(e){return function e(t,r){if(function(e){if(!(0,o("hh9fP").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.keys(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)}t(e.exports,"fill",()=>n),t(e.exports,"addNonEnumerableProperty",()=>a),t(e.exports,"convertToPlainObject",()=>i),t(e.exports,"dropUndefinedKeys",()=>c)}),s("7zDdB",function(e,r){t(e.exports,"htmlTreeAsString",()=>a);let n=(0,o("1s3dl").getGlobalObject)();function a(e,t={}){if(!e)return"";try{let r,a=e,i=[],s=0,l=0,c=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||80;for(;a&&s++<5&&(r=function(e,t){let r,a,i,s,l,c=[];if(!e||!e.tagName)return"";if(n.HTMLElement&&e instanceof HTMLElement&&e.dataset&&e.dataset.sentryComponent)return e.dataset.sentryComponent;c.push(e.tagName.toLowerCase());let u=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(u&&u.length)u.forEach(e=>{c.push(`[${e[0]}="${e[1]}"]`)});else if(e.id&&c.push(`#${e.id}`),(r=e.className)&&(0,o("hh9fP").isString)(r))for(l=0,a=r.split(/\s+/);l1)||!(l+3*i.length+r.length>=u)));)i.push(r),l+=r.length,a=a.parentNode;return i.reverse().join(" > ")}catch(e){return""}}}),s("8jOyf",function(e,r){function n(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function a(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 i=Math.min(a+140,n);return i>n-5&&(i=n),i===n&&(a=Math.max(i-140,0)),r=r.slice(a,i),a>0&&(r=`'{snip} ${r}`),in),t(e.exports,"snipLine",()=>a),t(e.exports,"safeJoin",()=>i)}),s("92zar",function(e,r){t(e.exports,"DEFAULT_ENVIRONMENT",()=>n);let n="production"}),s("86TOa",function(e,r){t(e.exports,"DEBUG_BUILD",()=>n);let n="u"l),t(e.exports,"getIsolationScope",()=>c),t(e.exports,"runWithAsyncContext",()=>u);let n=parseFloat(o("j1DBk").SDK_VERSION);class a{constructor(e,t,r,a=n){let i,s;this._version=a,t?i=t:(i=new(0,o("lOoLb").Scope)).setClient(e),r?s=r:(s=new(0,o("lOoLb").Scope)).setClient(e),this._stack=[{scope:i}],e&&this.bindClient(e),this._isolationScope=s}isOlderThan(e){return this._version(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}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){let r=this._lastEventId=t&&t.event_id?t.event_id:(0,o("hvgWU").uuid4)(),n=Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:n,...t,event_id:r}),r}captureMessage(e,t,r){let n=this._lastEventId=r&&r.event_id?r.event_id:(0,o("hvgWU").uuid4)(),a=Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:a,...r,event_id:n}),n}captureEvent(e,t){let r=t&&t.event_id?t.event_id:(0,o("hvgWU").uuid4)();return e.type||(this._lastEventId=r),this.getScope().captureEvent(e,{...t,event_id:r}),r}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){let{scope:r,client:n}=this.getStackTop();if(!n)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:i=100}=n.getOptions&&n.getOptions()||{};if(i<=0)return;let s={timestamp:(0,o("hdMNC").dateTimestampInSeconds)(),...e},l=a?(0,o("fIVdo").consoleSandbox)(()=>a(s,t)):s;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,i))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){let{scope:t,client:r}=this.getStackTop();r&&e(t)}run(e){let t=s(this);try{e(this)}finally{s(t)}}getIntegration(e){let t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return o("86TOa").DEBUG_BUILD&&o("fIVdo").logger.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){let r=this._callExtensionMethod("startTransaction",e,t);return o("86TOa").DEBUG_BUILD&&!r&&(this.getClient()?o("fIVdo").logger.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); `):o("fIVdo").logger.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){let e=this.getStackTop().scope,t=e.getSession();t&&(0,o("4mbA9").closeSession)(t),this._sendSessionUpdate(),e.setSession()}startSession(e){let{scope:t,client:r}=this.getStackTop(),{release:n,environment:a=o("92zar").DEFAULT_ENVIRONMENT}=r&&r.getOptions()||{},{userAgent:i}=o("1s3dl").GLOBAL_OBJ.navigator||{},s=(0,o("4mbA9").makeSession)({release:n,environment:a,user:t.getUser(),...i&&{userAgent:i},...e}),l=t.getSession&&t.getSession();return l&&"ok"===l.status&&(0,o("4mbA9").updateSession)(l,{status:"exited"}),this.endSession(),t.setSession(s),s}shouldSendDefaultPii(){let e=this.getClient(),t=e&&e.getOptions();return!!(t&&t.sendDefaultPii)}_sendSessionUpdate(){let{scope:e,client:t}=this.getStackTop(),r=e.getSession();r&&t&&t.captureSession&&t.captureSession(r)}_callExtensionMethod(e,...t){let r=i().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[e])return r.extensions[e].apply(this,t);o("86TOa").DEBUG_BUILD&&o("fIVdo").logger.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function i(){return o("1s3dl").GLOBAL_OBJ.__SENTRY__=o("1s3dl").GLOBAL_OBJ.__SENTRY__||{extensions:{},hub:void 0},o("1s3dl").GLOBAL_OBJ}function s(e){let t=i(),r=d(t);return p(t,e),r}function l(){let e=i();if(e.__SENTRY__&&e.__SENTRY__.acs){let t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return function(e=i()){var t;return(!((t=e)&&t.__SENTRY__&&t.__SENTRY__.hub)||d(e).isOlderThan(n))&&p(e,new a),d(e)}(e)}function c(){return l().getIsolationScope()}function u(e,t={}){let r=i();return r.__SENTRY__&&r.__SENTRY__.acs?r.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function d(e){return(0,o("1s3dl").getGlobalSingleton)("hub",()=>new a,e)}function p(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}}),s("lOoLb",function(e,r){let n;t(e.exports,"Scope",()=>a),t(e.exports,"getGlobalScope",()=>i);class a{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=s()}static clone(e){return e?e.clone():new a}clone(){let e=new a;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}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,segment:void 0,username:void 0},this._session&&(0,o("4mbA9").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}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let e=this._span;return e&&e.transaction}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;if(t instanceof a){let e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else(0,o("hh9fP").isPlainObject)(t)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext));return 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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=s(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:(0,o("hdMNC").dateTimestampInSeconds)(),...e},a=this._breadcrumbs;return a.push(n),this._breadcrumbs=a.length>r?a.slice(-r):a,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}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:e,_attachments:t,_contexts:r,_tags:n,_extra:a,_user:i,_level:o,_fingerprint:s,_eventProcessors:l,_propagationContext:c,_sdkProcessingMetadata:u,_transactionName:d,_span:p}=this;return{breadcrumbs:e,attachments:t,contexts:r,tags:n,extra:a,user:i,level:o,fingerprint:s||[],eventProcessors:l,propagationContext:c,sdkProcessingMetadata:u,transactionName:d,span:p}}applyToEvent(e,t={},r=[]){(0,o("7GwVB").applyScopeDataToEvent)(e,this.getScopeData());let n=[...r,...(0,o("8Fzqm").getGlobalEventProcessors)(),...this._eventProcessors];return(0,o("8Fzqm").notifyEventProcessors)(n,e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t&&t.event_id?t.event_id:(0,o("hvgWU").uuid4)();if(!this._client)return o("fIVdo").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:(0,o("hvgWU").uuid4)();if(!this._client)return o("fIVdo").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:(0,o("hvgWU").uuid4)();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):o("fIVdo").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)}}function i(){return n||(n=new a),n}function s(){return{traceId:(0,o("hvgWU").uuid4)(),spanId:(0,o("hvgWU").uuid4)().substring(16)}}}),s("8Fzqm",function(e,r){function n(){return(0,o("1s3dl").getGlobalSingleton)("globalEventProcessors",()=>[])}function a(e){n().push(e)}t(e.exports,"getGlobalEventProcessors",()=>n),t(e.exports,"addGlobalEventProcessor",()=>a),t(e.exports,"notifyEventProcessors",()=>function e(t,r,n,a=0){return new(0,o("lGkpC").SyncPromise)((i,s)=>{let l=t[a];if(null===r||"function"!=typeof l)i(r);else{let c=l({...r},n);o("86TOa").DEBUG_BUILD&&l.id&&null===c&&o("fIVdo").logger.log(`Event processor "${l.id}" dropped event`),(0,o("hh9fP").isThenable)(c)?c.then(r=>e(t,r,n,a+1).then(i)).then(null,s):e(t,c,n,a+1).then(i).then(null,s)}})})}),s("lGkpC",function(e,r){var n,a;t(e.exports,"SyncPromise",()=>i),(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((0,o("hh9fP").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)})}}}}),s("4mbA9",function(e,r){function n(e){let t=(0,o("hdMNC").timestampInSeconds)(),r={sid:(0,o("hvgWU").uuid4)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,(0,o("bC2bl").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&&a(r,e),r}function a(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||(0,o("hdMNC").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:(0,o("hvgWU").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)}function i(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),a(e,r)}t(e.exports,"makeSession",()=>n),t(e.exports,"updateSession",()=>a),t(e.exports,"closeSession",()=>i)}),s("7GwVB",function(e,r){function n(e,t){var r,n,a,i,s,l;let c,{fingerprint:u,span:d,breadcrumbs:p,sdkProcessingMetadata:g}=t;(function(e,t){let{extra:r,tags:n,user:a,contexts:i,level:s,transactionName:l}=t,c=(0,o("bC2bl").dropUndefinedKeys)(r);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});let u=(0,o("bC2bl").dropUndefinedKeys)(n);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let d=(0,o("bC2bl").dropUndefinedKeys)(a);d&&Object.keys(d).length&&(e.user={...d,...e.user});let p=(0,o("bC2bl").dropUndefinedKeys)(i);p&&Object.keys(p).length&&(e.contexts={...p,...e.contexts}),s&&(e.level=s),l&&(e.transaction=l)})(e,t),d&&function(e,t){e.contexts={trace:(0,o("k5OvV").spanToTraceContext)(t),...e.contexts};let r=(0,o("b8s48").getRootSpan)(t);if(r){e.sdkProcessingMetadata={dynamicSamplingContext:(0,o("5wsNx").getDynamicSamplingContextFromSpan)(t),...e.sdkProcessingMetadata};let n=(0,o("k5OvV").spanToJSON)(r).description;n&&(e.tags={transaction:n,...e.tags})}}(e,d),r=e,n=u,r.fingerprint=r.fingerprint?(0,o("hvgWU").arrayify)(r.fingerprint):[],n&&(r.fingerprint=r.fingerprint.concat(n)),r.fingerprint&&!r.fingerprint.length&&delete r.fingerprint,a=e,i=p,c=[...a.breadcrumbs||[],...i],a.breadcrumbs=c.length?c:void 0,s=e,l=g,s.sdkProcessingMetadata={...s.sdkProcessingMetadata,...l}}function a(e,t){let{extra:r,tags:n,user:a,contexts:o,level:s,sdkProcessingMetadata:l,breadcrumbs:c,fingerprint:u,eventProcessors:d,attachments:p,propagationContext:g,transactionName:f,span:m}=t;i(e,"extra",r),i(e,"tags",n),i(e,"user",a),i(e,"contexts",o),i(e,"sdkProcessingMetadata",l),s&&(e.level=s),f&&(e.transactionName=f),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...g}}function i(e,t,r){if(r&&Object.keys(r).length)for(let n in e[t]={...e[t]},r)Object.prototype.hasOwnProperty.call(r,n)&&(e[t][n]=r[n])}t(e.exports,"applyScopeDataToEvent",()=>n),t(e.exports,"mergeScopeData",()=>a)}),s("5wsNx",function(e,r){t(e.exports,"getDynamicSamplingContextFromSpan",()=>n);function n(e){let t=(0,o("gPxSj").getClient)();if(!t)return{};let r=function(e,t,r){let n=t.getOptions(),{publicKey:a}=t.getDsn()||{},{segment:i}=r&&r.getUser()||{},s=(0,o("bC2bl").dropUndefinedKeys)({environment:n.environment||o("92zar").DEFAULT_ENVIRONMENT,release:n.release,user_segment:i,public_key:a,trace_id:e});return t.emit&&t.emit("createDsc",s),s}((0,o("k5OvV").spanToJSON)(e).trace_id||"",t,(0,o("gPxSj").getCurrentScope)()),n=(0,o("b8s48").getRootSpan)(e);if(!n)return r;let a=n&&n._frozenDynamicSamplingContext;if(a)return a;let{sampleRate:i,source:s}=n.metadata;null!=i&&(r.sample_rate=`${i}`);let l=(0,o("k5OvV").spanToJSON)(n);return s&&"url"!==s&&(r.transaction=l.description),r.sampled=String((0,o("k5OvV").spanIsSampled)(n)),t.emit&&t.emit("createDsc",r),r}}),s("b8s48",function(e,r){t(e.exports,"getRootSpan",()=>n);function n(e){return e.transaction}}),s("k5OvV",function(e,r){function n(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:i,parent_span_id:s,status:l,tags:c,origin:u}=a(e);return(0,o("bC2bl").dropUndefinedKeys)({data:n,op:i,parent_span_id:s,span_id:t,status:l,tags:c,trace_id:r,origin:u})}function a(e){return"function"==typeof e.getSpanJSON?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function i(e){let{traceFlags:t}=e.spanContext();return!!(1&t)}t(e.exports,"spanToTraceContext",()=>n),t(e.exports,"spanToJSON",()=>a),t(e.exports,"spanIsSampled",()=>i)}),s("6EJmZ",function(e,r){function n(e=(0,o("hvgWU").uuid4)(),t=(0,o("hvgWU").uuid4)().substring(16),r){let a="";return void 0!==r&&(a=r?"-1":"-0"),`${e}-${t}${a}`}t(e.exports,"generateSentryTraceHeader",()=>n),RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$")}),s("dSVLa",function(e,r){t(e.exports,"baggageHeaderToDynamicSamplingContext",()=>a);let n=/^sentry-/;function a(e){if(!(0,o("hh9fP").isString)(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((e,t)=>{let r=i(t);for(let t of Object.keys(r))e[t]=r[t];return e},{});else{if(!e)return;t=i(e)}let r=Object.entries(t).reduce((e,[t,r])=>(t.match(n)&&(e[t.slice(7)]=r),e),{});return Object.keys(r).length>0?r:void 0}function i(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,r])=>(e[t]=r,e),{})}}),s("j1DBk",function(e,r){t(e.exports,"SDK_VERSION",()=>n);let n="7.120.4"}),s("2s3iD",function(e,r){function n(e){if(e){var t;return(t=e)instanceof o("lOoLb").Scope||"function"==typeof t||Object.keys(e).some(e=>a.includes(e))?{captureContext:e}:e}}t(e.exports,"parseEventHintOrCaptureContext",()=>n),new WeakMap;let a=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]}),s("4gcSf",function(e,n){function a(e,t=100,n=1/0){try{return function e(t,n,a=1/0,i=1/0,s=(0,o("jIYQx").memoBuilder)()){let[l,c]=s;if(null==n||["number","boolean","string"].includes(typeof n)&&!(0,o("hh9fP").isNaN)(n))return n;let u=function(e,t){try{var n;let a;if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==r&&t===r)return"[Global]";if("u">typeof window&&t===window)return"[Window]";if("u">typeof document&&t===document)return"[Document]";if((0,o("hh9fP").isVueViewModel)(t))return"[VueViewModel]";if((0,o("hh9fP").isSyntheticEvent)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,o("2rnjp").getFunctionName)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let i=(n=t,(a=Object.getPrototypeOf(n))?a.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(i))return`[HTMLElement: ${i}]`;return`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!u.startsWith("[object "))return u;if(n.__sentry_skip_normalization__)return n;let d="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:a;if(0===d)return u.replace("object ","");if(l(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,d-1,i,s)}catch(e){}let p=Array.isArray(n)?[]:{},g=0,f=(0,o("bC2bl").convertToPlainObject)(n);for(let t in f){if(!Object.prototype.hasOwnProperty.call(f,t))continue;if(g>=i){p[t]="[MaxProperties ~]";break}let r=f[t];p[t]=e(t,r,d-1,i,s),g++}return c(n),p}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}t(e.exports,"normalize",()=>a)}),s("jIYQx",function(e,r){t(e.exports,"memoBuilder",()=>n);function n(){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;ea);let n="";function a(e){try{if(!e||"function"!=typeof e)return n;return e.name||n}catch(e){return n}}}),s("5pRiK",function(e,r){t(e.exports,"node",()=>n);function n(e){let t=/^\s*[-]{4,}$/,r=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return n=>{let a=n.match(r);if(a){let t,r,n,i,o;if(a[1]){let e=(n=a[1]).lastIndexOf(".");if("."===n[e-1]&&e--,e>0){t=n.slice(0,e),r=n.slice(e+1);let a=t.indexOf(".Module");a>0&&(n=n.slice(a+1),t=t.slice(0,a))}i=void 0}r&&(i=t,o=r),""===r&&(o=void 0,n=void 0),void 0===n&&(o=o||"",n=i?`${i}.${o}`:o);let s=a[2]&&a[2].startsWith("file://")?a[2].slice(7):a[2],l="native"===a[5];return s&&s.match(/\/[A-Z]:/)&&(s=s.slice(1)),s||!a[5]||l||(s=a[5]),{filename:s,module:e?e(s):void 0,function:n,lineno:parseInt(a[3],10)||void 0,colno:parseInt(a[4],10)||void 0,in_app:function(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/")}(s,l)}}if(n.match(t))return{filename:n}}}}),s("i8vMy",function(e,r){function n(e,t){let r=function(...e){return t(...e)};return r.id=e,r}function a(e){return e}t(e.exports,"convertIntegrationFnToClass",()=>n),t(e.exports,"defineIntegration",()=>a)}),s("er6T8",function(e,r){function n(e){let t="console";(0,o("2UuKQ").addHandler)(t,e),(0,o("2UuKQ").maybeInstrument)(t,a)}function a(){"console"in o("1s3dl").GLOBAL_OBJ&&o("fIVdo").CONSOLE_LEVELS.forEach(function(e){e in o("1s3dl").GLOBAL_OBJ.console&&(0,o("bC2bl").fill)(o("1s3dl").GLOBAL_OBJ.console,e,function(t){return o("fIVdo").originalConsoleMethods[e]=t,function(...t){(0,o("2UuKQ").triggerHandlers)("console",{args:t,level:e});let r=o("fIVdo").originalConsoleMethods[e];r&&r.apply(o("1s3dl").GLOBAL_OBJ.console,t)}})})}t(e.exports,"addConsoleInstrumentationHandler",()=>n)}),s("2UuKQ",function(e,r){t(e.exports,"addHandler",()=>i),t(e.exports,"maybeInstrument",()=>s),t(e.exports,"triggerHandlers",()=>l);let n={},a={};function i(e,t){n[e]=n[e]||[],n[e].push(t)}function s(e,t){a[e]||(t(),a[e]=!0)}function l(e,t){let r=e&&n[e];if(r)for(let n of r)try{n(t)}catch(t){o("la5bY").DEBUG_BUILD&&o("fIVdo").logger.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${(0,o("2rnjp").getFunctionName)(n)} Error:`,t)}}}),s("i4BcD",function(e,r){t(e.exports,"severityLevelFromString",()=>a);let n=["fatal","error","warning","log","info","debug"];function a(e){return"warn"===e?"warning":n.includes(e)?e:"log"}}),s("lJt5a",function(e,r){t(e.exports,"Dedupe",()=>i);let n="Dedupe",a=(0,o("i8vMy").defineIntegration)(()=>{let e;return{name:n,setupOnce(){},processEvent(t){if(t.type)return t;try{var r,n,a,i,u,d;let p,g,f,m;if(r=t,(n=e)&&(a=r,i=n,p=a.message,g=i.message,(p||g)&&(!p||g)&&(p||!g)&&p===g&&l(a,i)&&s(a,i)&&1||(u=r,d=n,f=c(d),m=c(u),f&&m&&f.type===m.type&&f.value===m.value&&l(u,d)&&s(u,d))))return o("kppx0").DEBUG_BUILD&&o("fIVdo").logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}}),i=(0,o("i8vMy").convertIntegrationFnToClass)(n,a);function s(e,t){let r=u(e),n=u(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;en);let n="u"i);let n="ExtraErrorData",a=(0,o("i8vMy").defineIntegration)((e={})=>{let t=e.depth||3,r=e.captureErrorCause||!1;return{name:n,setupOnce(){},processEvent:(e,n)=>(function(e,t={},r,n){if(!t.originalException||!(0,o("hh9fP").isError)(t.originalException))return e;let a=t.originalException.name||t.originalException.constructor.name,i=function(e,t){try{let r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],n={};for(let t of Object.keys(e)){if(-1!==r.indexOf(t))continue;let a=e[t];n[t]=(0,o("hh9fP").isError)(a)?a.toString():a}if(t&&void 0!==e.cause&&(n.cause=(0,o("hh9fP").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];n[e]=(0,o("hh9fP").isError)(r)?r.toString():r}}return n}catch(e){o("kppx0").DEBUG_BUILD&&o("fIVdo").logger.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,n);if(i){let t={...e.contexts},n=(0,o("4gcSf").normalize)(i,r);return(0,o("hh9fP").isPlainObject)(n)&&((0,o("bC2bl").addNonEnumerableProperty)(n,"__sentry_skip_normalization__",!0),t[a]=n),{...e,contexts:t}}return e})(e,n,t,r)}}),i=(0,o("i8vMy").convertIntegrationFnToClass)(n,a)}),s("kb1Yw",function(e,r){t(e.exports,"RewriteFrames",()=>i);let n="RewriteFrames",a=(0,o("i8vMy").defineIntegration)((e={})=>{let t=e.root,r=e.prefix||"app:///",a=e.iteratee||(e=>{if(!e.filename)return e;let n=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),a=/^\//.test(e.filename);if(n||a){let a=n?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,i=t?(0,o("4MONN").relative)(t,a):(0,o("4MONN").basename)(a);e.filename=`${r}${i}`}return e});return{name:n,setupOnce(){},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}}}),i=(0,o("i8vMy").convertIntegrationFnToClass)(n,a)}),s("4MONN",function(e,r){t(e.exports,"relative",()=>o),t(e.exports,"basename",()=>s);let n=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function a(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let a=n>=0?e[n]:"/";a&&(t=`${a}/${t}`,r="/"===a.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function i(e){let t=0;for(;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}function o(e,t){e=a(e).slice(1),t=a(t).slice(1);let r=i(e.split("/")),n=i(t.split("/")),o=Math.min(r.length,n.length),s=o;for(let e=0;e1024?`${e.slice(-1024)}`:e,(a=n.exec(r))?a.slice(1):[])[2];return t&&i.slice(-1*t.length)===t&&(i=i.slice(0,i.length-t.length)),i}}),s("gToGk",function(e,r){t(e.exports,"getSsrStatus",()=>n);function n(){return"client"}}),s("xuQLH",function(e,r){t(e.exports,"getStaticFallbackContext",()=>n);function n(){return!1}}),s("2HuOR",function(e,r){t(e.exports,"LICENSED_PRODUCTS",()=>n),t(e.exports,"getLicensedProducts",()=>a),t(e.exports,"getIsAnonymous",()=>i),t(e.exports,"getInitialProductList",()=>s),t(e.exports,"getFirstActivationDate",()=>l),t(e.exports,"determineProductCrossSellConfig",()=>c),t(e.exports,"getEnvironment",()=>u),t(e.exports,"getAtlassianAccountId",()=>d),t(e.exports,"getTenantContext_DEPRECATED_DO_NOT_USE",()=>p);let n={ATLASSIAN_ANALYTICS:"atlassian-analytics-free",JIRA_SOFTWARE:"jira-software",JIRA_SERVICEDESK:"jira-servicedesk",JIRA_PORTFOLIO:"com.radiantminds.roadmaps-jira",JIRA_CORE:"jira-core",JIRA_PRODUCT_DISCOVERY:"jira-product-discovery",CONFLUENCE:"confluence",OPSGENIE:"opsgenie",BITBUCKET:"com.atlassian.bitbucket",STATUS_PAGE:"statuspage",LOOM:"loom",COMPASS:"compass",TOWNSQUARE:"townsquare",PROJECT:"project",GOAL:"goal"},a=e=>{let t=void 0===e?o("6bEm8").default:e;try{return JSON.parse(t("ajs-licensed-products")||"{}")}catch(e){return console.warn(`Invalid list of licensed products: ${e}`),{}}},i=e=>""===(void 0===e?o("6bEm8").default:e)("ajs-atlassian-account-id"),s=e=>{let t=(void 0===e?o("6bEm8").default:e)("ajs-initial-product-list");return null===t?"":t},l=e=>{let t=(void 0===e?o("6bEm8").default:e)("ajs-first-activation-date");if(null===t)return null;let r=parseInt(t,10);return Number.isNaN(r)?null:r},c=e=>{let t=(void 0===e?o("6bEm8").default:e)("ajs-xflow-product-suggestions-enabled");return null===t?"unknown":"true"===t?"enabled":"disabled"},u=()=>(0,o("5EbfN").toEnvironment)((0,o("6bEm8").default)("ajs-environment")),d=()=>(0,o("6bEm8").default)("ajs-atlassian-account-id"),p=(0,o("emCaV").default)(e=>{let t,r,n=void 0===e?o("6bEm8").default:e,i=n("ajs-cloud-id"),s=n("ajs-activation-id"),u=n("ajs-cloud-name"),d=n===o("6bEm8").default?(0,o("9CNRl").default)()||null:n("atlassian-token"),p=n("ajs-fspage-locale"),g=n("ajs-user-locale"),f=n("ajs-remote-user-fullname"),m=n("ajs-remote-user"),h="true"===n("ajs-is-admin"),_="true"===n("ajs-is-site-admin"),E=n("ajs-fabric-pf-dir-url"),v=(0,o("5EbfN").populateApplicationPermissions)({hasSoftwareAccess:"true"===n("ajs-has-jira-software"),hasServiceDeskAccess:"true"===n("ajs-has-jira-service-desk"),hasCoreAccess:"true"===n("ajs-has-jira-core"),hasProductDiscoveryAccess:"true"===n("ajs-has-jira-product-discovery"),hasCustomerServiceAccess:"true"===n("ajs-has-jira-customer-service")}),S=n("ajs-atlassian-account-id"),y=""===S,I=n("ajs-application-key"),x=(0,o("5EbfN").toEnvironment)(n("ajs-environment")),T="true"===n("ajs-xflow-product-suggestions-enabled"),b=a(n),C=(e=>{let t=void 0===e?o("6bEm8").default:e;try{return JSON.parse(t("ajs-product-entitlement-details")||"{}")}catch(e){return{}}})(n);if(null===S||null===g||null===i)throw(0,o("fEmTm").captureException)("getTenantContextFromMeta",Error("Unable to find tenant context (detailed exception)"),{teamName:"jfp-magma",isAnonymous:y.toString(),isAccountIdNull:(null===S).toString(),isLocaleNull:(null===g).toString(),isCloudIdNull:(null===i).toString()}),Error("Unable to find tenant context");o("978hs").default.includes(g)||console.warn(`Non supported locale in tenant context: ${g}`);let D=null===(r=(void 0===n?o("6bEm8").default:n)("ajs-is-admin"))?"unknown":"true"===r?"admin":"non-admin",O=c(n),A=(0,o("bS6BF").default)(n),N=(0,o("h7NDP").default)(n);t=null!==n("ajs-product-license-states")?(0,o("87ZgK").default)(n):(0,o("7tjnB").populateApplicationLicenseStates)({core:v.hasCoreAccess?o("7tjnB").LICENSE_STATE_ACTIVE:o("7tjnB").LICENSE_STATE_UNLICENSED,software:v.hasSoftwareAccess?o("7tjnB").LICENSE_STATE_ACTIVE:o("7tjnB").LICENSE_STATE_UNLICENSED,serviceDesk:v.hasServiceDeskAccess?o("7tjnB").LICENSE_STATE_ACTIVE:o("7tjnB").LICENSE_STATE_UNLICENSED,customerService:v.hasCustomerServiceAccess?o("7tjnB").LICENSE_STATE_ACTIVE:o("7tjnB").LICENSE_STATE_UNLICENSED,productDiscovery:v.hasProductDiscoveryAccess?o("7tjnB").LICENSE_STATE_ACTIVE:o("7tjnB").LICENSE_STATE_UNLICENSED});let R="true"===n("ajs-dev-mode"),w=l(n),k="true"===n("ajs-devops-project-creation-scenario"),L=n("ajs-devops-signup-source-scenario"),U="true"===n("ajs-marketing-opt-out"),B="true"===n("ajs-has-dlp"),P=(e=>{let t=(void 0===e?o("6bEm8").default:e)("ajs-app-updates-available");if(null===t)return null;let r=parseInt(t,10);return Number.isNaN(r)?null:r})(n),M=n("ajs-avp-workspace-id");return{appEditions:A,applicationKey:I,appPermissions:v,appUpdatesAvailable:P,areProductSuggestionsEnabled:T,atlassianAccountId:""===S?null:S,cloudId:i,orgId:n("ajs-org-id")??void 0,activationId:s,cloudName:u,devopsProjectSignupSource:L,environment:x,fabricActivityUrl:"/gateway/api/activity",fabricNotificationLogUrl:"/gateway/api/notification-log",fabricPfDirUrl:E,firstActivationDateMs:w,isAdmin:h,isAnonymous:y,isDevMode:R,isDevopsProjectCreationScenario:k,isMarketingOptOut:U,isSiteAdmin:_,languageTag:p,licensedProducts:b,licenseStates:t,locale:g,loggedInUser:""===m?null:m,productCrossSellConfig:O,productEntitlementDetails:C,productPermissionGated:N,siteAdminStatus:D,userFullname:f,xsrfToken:d,hasDlpEnabled:B,avpWorkspaceId:M}})}),s("7tjnB",function(e,r){t(e.exports,"LICENSE_STATE_ACTIVE",()=>n),t(e.exports,"LICENSE_STATE_SUSPENDED",()=>a),t(e.exports,"LICENSE_STATE_EXPIRED",()=>i),t(e.exports,"LICENSE_STATE_UNLICENSED",()=>o),t(e.exports,"populateApplicationLicenseStates",()=>s);let n="ACTIVE",a="SUSPENDED",i="EXPIRED",o="UNLICENSED",s=(e={},t=o)=>({core:t,software:t,serviceDesk:t,customerService:t,productDiscovery:t,...e})}),s("5EbfN",function(e,r){t(e.exports,"populateApplicationPermissions",()=>n),t(e.exports,"toEnvironment",()=>a);let n=(e={},t=!1)=>({hasCoreAccess:t,hasSoftwareAccess:t,hasServiceDeskAccess:t,hasCustomerServiceAccess:t,hasProductDiscoveryAccess:t,...e}),a=e=>{switch(e){case"dev":return"dev";case"staging":return"staging";case"prod":return"prod";case"local":return"local";default:return null}}}),s("9CNRl",function(e,r){t(e.exports,"default",()=>a);var n=o("lO5Ez"),a=()=>n.default.get("atlassian.xsrf.token")}),s("bS6BF",function(e,r){t(e.exports,"default",()=>a);let n=e=>{switch(e){case"f":return o("d8LhJ").FREE_EDITION;case"s":return o("d8LhJ").STANDARD_EDITION;case"p":return o("d8LhJ").PREMIUM_EDITION;default:return o("d8LhJ").UNLICENSED}};var a=e=>{try{let t=JSON.parse(e("ajs-product-editions")||"{}");return(0,o("d8LhJ").populateApplicationEditions)({core:n(t["jira-core"]),software:n(t["jira-software"]),serviceDesk:n(t["jira-servicedesk"]),customerService:n(t["jira-customer-service"]),productDiscovery:n(t["jira-product-discovery"])})}catch(e){return console.warn(`Error parsing application editions from tenant context: ${e}`),(0,o("d8LhJ").populateApplicationEditions)()}}}),s("d8LhJ",function(e,r){t(e.exports,"FREE_EDITION",()=>n),t(e.exports,"STANDARD_EDITION",()=>a),t(e.exports,"PREMIUM_EDITION",()=>i),t(e.exports,"UNLICENSED",()=>s),t(e.exports,"STANDARD_EDITION_KEY",()=>c),t(e.exports,"PREMIUM_EDITION_KEY",()=>u),t(e.exports,"editionKeyToEdition",()=>d),t(e.exports,"editionToEditionKey",()=>p),t(e.exports,"populateApplicationEditions",()=>g),t(e.exports,"getEdition",()=>f),t(e.exports,"getEditionForProject",()=>m),t(e.exports,"toEdition",()=>h);let n="FREE_EDITION",a="STANDARD_EDITION",i="PREMIUM_EDITION",s="UNLICENSED",l="free",c="standard",u="premium",d=e=>e===l?n:e===c?a:e===u?i:s,p=e=>{switch(e){case n:return l;case a:return c;case i:return u;default:return}},g=(e={},t=s)=>({core:t,software:t,serviceDesk:t,customerService:t,productDiscovery:t,...e}),f=(e,t)=>{switch(e){case o("hJL79").JIRA_CORE:return t.core;case o("hJL79").JIRA_SOFTWARE:return t.software;case o("hJL79").JIRA_PRODUCT_DISCOVERY:return t.productDiscovery;case o("hJL79").JIRA_SERVICE_DESK:return t.serviceDesk;case o("hJL79").JIRA_CUSTOMER_SERVICE:return t.customerService;default:throw Error(`Unrecognised application: ${e}`)}},m=(e,t)=>f((0,o("hJL79").getApplicationForProject)(e),t),h=e=>{switch(e){case n:return n;case a:return a;case i:return i;default:return s}}}),s("hJL79",function(e,r){t(e.exports,"JIRA_PORTFOLIO",()=>n),t(e.exports,"JIRA_SERVICE_DESK",()=>a),t(e.exports,"JIRA_CUSTOMER_SERVICE",()=>i),t(e.exports,"JIRA_SOFTWARE",()=>o),t(e.exports,"JIRA_CORE",()=>s),t(e.exports,"JIRA_PRODUCT_DISCOVERY",()=>l),t(e.exports,"getApplicationForProject",()=>c);let n="JIRA_PORTFOLIO",a="JIRA_SERVICE_DESK",i="JIRA_CUSTOMER_SERVICE",o="JIRA_SOFTWARE",s="JIRA_CORE",l="JIRA_PRODUCT_DISCOVERY",c=e=>{switch(e){case"business":return s;case"product_discovery":return l;case"software":return o;case"service_desk":return a;case"customer_service":return i;default:throw Error(`Unrecognised project type: ${e}`)}}}),s("87ZgK",function(e,r){t(e.exports,"default",()=>a);let n=e=>{switch(e){case"ACTIVE":return o("7tjnB").LICENSE_STATE_ACTIVE;case"SUSPENDED":return o("7tjnB").LICENSE_STATE_SUSPENDED;case"EXPIRED":return o("7tjnB").LICENSE_STATE_EXPIRED;default:return o("7tjnB").LICENSE_STATE_UNLICENSED}};var a=e=>{try{let t=JSON.parse(e("ajs-product-license-states")||"{}");return(0,o("7tjnB").populateApplicationLicenseStates)({core:n(t["jira-core"]),software:n(t["jira-software"]),serviceDesk:n(t["jira-servicedesk"]),customerService:n(t["jira-customer-service"]),productDiscovery:n(t["jira-product-discovery"])})}catch(e){return console.warn(`Error parsing application license states from tenant context: ${e}`),(0,o("7tjnB").populateApplicationLicenseStates)()}}}),s("h7NDP",function(e,r){t(e.exports,"default",()=>a);let n={core:!0,software:!0,serviceDesk:!0,productDiscovery:!0,customerService:!0};var a=e=>{try{let t=JSON.parse(e("ajs-product-permission-gates")||"{}");return{core:"boolean"!=typeof t[p]||t[p],software:"boolean"!=typeof t[u]||t[u],serviceDesk:"boolean"!=typeof t[l]||t[l],productDiscovery:"boolean"!=typeof t[d]||t[d],customerService:"boolean"!=typeof t[c]||t[c]}}catch(e){return console.warn(`Error parsing product permission gates from tenant context: ${e}`),n}}});let l="jira-servicedesk",c="jira-customer-service",u="jira-software",d="jira-product-discovery",p="jira-core";s("5HYmv",function(e,r){t(e.exports,"SERIALIZABLE_ATTRIBUTES",()=>n),t(e.exports,"normaliseSentryBreadcrumbs",()=>o);let n=["data-test-id","data-testid"],a=["type","name",...n],i=RegExp(`\\[(?!${a.join("|")}).*?\\]`,"gm"),o=e=>{let{category:t}=e||{};if(t?.startsWith("ui")){let{message:t}=e;null!=t&&(e.message=t.replace(i,""))}return e}}),s("7YAQr",function(e,r){t(e.exports,"normaliseSentryEvent",()=>i);let n=new WeakSet,a=new WeakSet;(0,o("gXtG2").autoBeforeEachTest)(()=>{n=new WeakSet,a=new WeakSet});let i=(e,t)=>{let r=t?.originalException;if(!e||"development"===e.environment)return null;if("string"==typeof r&&(0,o("i860n").fg)("jira-capture-console-errors-in-sentry")){let r=t?.originalException;if("string"!=typeof r||a.has(r))return null;e.tags?.logger&&a.add(r);let n=e;return(n.request?.url&&(n.request.url=(0,o("7RVVN").default)(n.request.url)),n=(0,o("a0kXA").stackFrameAssetRewrite)(n),(0,o("ejDuo").default)(r,n.request?.url).limitCaptureException)?null:(n.tags={userLocation:(0,o("41zzZ").getUserLocation)(),...n.tags},n)}if(!(r instanceof Error))return null;let i=(0,o("66ukR").isChrome)(84)||(0,o("66ukR").isFirefox)(76)||(0,o("66ukR").isSafari)(15)||(0,o("66ukR").isEdge)(84);if(!("allSettled"in Promise)||!i||"skipSentry"in r&&(!0===r.skipSentry||"function"==typeof r.skipSentry&&r.skipSentry())||(0,o("lCetP").isClientFetchError)(r)||n.has(r))return null;e.tags?.logger&&n.add(r);let s=e;s.request?.url&&(s.request.url=(0,o("7RVVN").default)(s.request.url)),s=(0,o("a0kXA").stackFrameAssetRewrite)(s);let l=(0,o("ejDuo").default)(r?.message,s.request?.url);return l.limitCaptureException||(0,o("lCetP").isBackendAPIError)(r)&&(l={limitCaptureException:.05>=Math.random(),samplingRate:20}).limitCaptureException?null:((e,t,r)=>{if(!t)return e;let n=t.originalException||t.syntheticException;if(!n||"string"==typeof n)return e;let a=n.stack;if(!a)return e;e.tags={backend:n.statusCode||n.cause?.statusCode||n.cause?.extensions?.statusCode||n.metadata?.statusCode||(0,o("lCetP").isBackendAPIError)(n)&&"true"||"false",hash:(0,o("eXdAp").getErrorHash)(n),userLocation:(0,o("41zzZ").getUserLocation)(),traceId:n.traceId||n.cause?.traceId||n.cause?.extensions?.traceId||void 0,...e.tags};let i=(e=>{let t=/(?:src\/entry|src|assets)\/([^,./]+)/g,r=new Set,n=t.exec(e);for(;n;)r.add(n[1]),n=t.exec(e);return Array.from(r)})(a);return i.length?(e.tags={...e.tags,fragment:i[0]},i.length>1&&(e.extra={...e.extra,allRelevantFragments:i})):e.tags={...e.tags,fragment:"unknown"},r&&null!==r.samplingRate&&(e.tags.sampled=`1/${r.samplingRate}`),e})(s,t,l)}}),s("7RVVN",function(r,n){t(r.exports,"default",()=>i);var a=o("21iIq"),i=(t,r=o("6Y4rz").default)=>{let n;try{n=e(a)(t,o("6Y4rz").PARSE_ERROR_FALLBACK_URL)}catch(e){return o("6Y4rz").PARSE_ERROR_FALLBACK_URL}let i=((e,t)=>{for(let r=0;r1)throw Error("Grouped matcher requires a match => string transformer");return n.transformer}if(1===a.length)throw Error("Basic matcher only supports a string transformer");return n.transformer(a)}}throw Error("No URL mappers matched! Expected a default matcher.")})(`${n.pathname}${n.query}`,r);return`${n.protocol}//${n.host}${i}`}}),s("6Y4rz",function(e,r){t(e.exports,"PARSE_ERROR_FALLBACK_URL",()=>a),t(e.exports,"default",()=>i);let n="/could-not-parse/",a=`https://unknown.example.com${n}`;var i=[{matcher:/^\/browse\/.*/i,transformer:"/browse/:issueKey"},{matcher:/^\/project\/[A-Z][A-Z0-9]+\/issues/i,transformer:"/project/:projectKey/issues"},{matcher:/^\/jira\/software\/projects\/[A-Z][A-Z0-9]+\/issues/i,transformer:"/jira/software/projects/:projectKey/issues"},{matcher:/^\/jira\/software\/c\/projects\/[A-Z][A-Z0-9]+\/issues/i,transformer:"/jira/software/c/projects/:projectKey/issues"},{matcher:/^\/jira\/servicedesk\/projects\/[A-Z][A-Z0-9]+\/issues/i,transformer:"/jira/servicedesk/projects/:projectKey/issues"},{matcher:/^\/jira\/core\/projects\/[A-Z][A-Z0-9]+\/issues/i,transformer:"/jira/core/projects/:projectKey/issues"},{matcher:/^\/issues/i,transformer:"/issues"},{matcher:/^\/jira\/issues/i,transformer:"/jira/issues"},{matcher:/^\/jira\/software\/projects\/[A-Z][A-Z0-9]+\/boards\/\d+(\/backlog|\/roadmap|\/timeline)?/i,transformer:e=>`/jira/software/projects/:projectKey/boards/:boardId${e[1]?e[1]:""}`},{matcher:/^\/jira\/software\/c\/projects\/[A-Z][A-Z0-9]+\/boards\/\d+(\/roadmap|\/timeline)?/i,transformer:e=>`/jira/software/c/projects/:projectKey/boards/:boardId${e[1]?e[1]:""}`},{matcher:/^\/rest\/agile\/(.*?)\/board\/\d+\/configuration/i,transformer:e=>`/rest/agile/${e[1]}/board/:boardId/configuration`},{matcher:/^\/gateway\/api\/insights\/agile\/board\/\d+\/backlog\/sprint-commitment/i,transformer:"/gateway/api/insights/agile/board/:boardId/backlog/sprint-commitment"},{matcher:/^\/rest\/internal\/board\/\d+\/sprint\/\d+\/workload/i,transformer:"/rest/internal/board/:boardId/sprint/:sprintId/workload"},{matcher:/^\/rest\/internal\/board\/\d+\/sprint\/\d+\/sprint-progress/i,transformer:"/rest/internal/board/:boardId/sprint/:sprintId/sprint-progress"},{matcher:/^\/rest\/internal\/board\/\d+\/sprint\/\d+\/blocked-issues/i,transformer:"/rest/internal/board/:boardId/sprint/:sprintId/blocked-issues"},{matcher:/^\/rest\/internal\/board\/\d+\/sprint\/\d+\/epic-progress/i,transformer:"/rest/internal/board/:boardId/sprint/:sprintId/epic-progress"},{matcher:/^\/gateway\/api\/aris\/jira\/[a-f0-9-]+\/board\/\d+\/config/i,transformer:"/gateway/api/aris/jira/:cloudId/board/:boardId/config"},{matcher:/^\/gateway\/api\/jira-insights\/settings\/board\/\d+\/permissions\/board-admin/i,transformer:"/gateway/api/jira-insights/settings/board/:boardId/permissions/board-admin"},{matcher:/\/gateway\/api\/jira-insights\/settings\/board\/\d+/i,transformer:"/gateway/api/jira-insights/settings/board/:boardId"},{matcher:/^\/gateway\/api\/insights\/agile\/board\/\d+\/sprint\/\d+\/burndown/i,transformer:"/gateway/api/insights/agile/board/:boardId/sprint/:sprintId/burndown"},{matcher:/^\/jira\/servicedesk\/projects\/[A-Z][A-Z0-9]+\/queues\/custom\/\d+/i,transformer:"/jira/servicedesk/projects/:projectKey/queues/custom/:queueId/:issueKey"},{matcher:/^\/jira\/servicedesk\/projects\/[A-Z][A-Z0-9]+\/section\/[A-Z]+\/custom\/\d+/i,transformer:"/jira/servicedesk/projects/:projectKey/section/:category/custom/:queueId/:issueKey"},{matcher:/^\/projects\/[A-Z][A-Z0-9]+\/settings(\/[a-z]+)?/i,transformer:e=>`/projects/settings${e[1]?e[1]:""}`},{matcher:/^\/projects\/[A-Z][A-Z0-9]+.*?selectedItem=com\.atlassian\.jira\.jira-projects-plugin:(\w+)/i,transformer:e=>`/projects/:projectKey?selectedItem=com.atlassian.jira.jira-projects-plugin:${e[1]}`},{matcher:/^\/secure\/ConfigureReport!default.jspa.*?reportKey=com.atlassian.jira.plugin.system.reports:(\w+)/i,transformer:e=>`/secure/ConfigureReport!default.jspa?reportKey=com.atlassian.jira.plugin.system.reports:${e[1]}`},{matcher:/^\/secure\/((.*?\/)?\w+.jspa)/i,transformer:e=>`/secure/${e[1]}`},{matcher:/^\/plugins\/servlet\/(\w+)/i,transformer:e=>`/plugins/servlet/${e[1]}`},{matcher:/^\/jira\/your-work/i,transformer:"/jira/your-work"},{matcher:/^\/jira\/plans\/\d+\/scenarios\/\d+\/program\/\d+/i,transformer:"/jira/plans/:planId/scenarios/:scenarioId/program/:incrementId"},{matcher:/^\/jira\/plans\/\d+\/scenarios\/\d+\/summary/i,transformer:"/jira/plans/:planId/scenarios/:scenarioId/summary"},{matcher:/^\/jira\/plans\/\d+\/scenarios\/\d+\/calendar/i,transformer:"/jira/plans/:planId/scenarios/:scenarioId/calendar"},{matcher:/^\/jira\/plans\/\d+\/scenarios\/\d+\/teams/i,transformer:"/jira/plans/:planId/scenarios/:scenarioId/teams"},{matcher:/^\/jira\/plans\/\d+\/scenarios\/\d+\/releases/i,transformer:"/jira/plans/:planId/scenarios/:scenarioId/releases"},{matcher:/^\/jira\/plans\/\d+\/scenarios\/\d+\/dependencies/i,transformer:"/jira/plans/:planId/scenarios/:scenarioId/dependencies"},{matcher:/^\/jira\/plans\/\d+\/scenarios\/\d+\/timeline/i,transformer:"/jira/plans/:planId/scenarios/:scenarioId/timeline"},{matcher:/^\/jira\/plans\/\d+\/scenarios\/\d+/i,transformer:"/jira/plans/:planId/scenarios/:scenarioId"},{matcher:new RegExp(n),transformer:"/could-not-parse/"},{matcher:null,transformer:"/unknown"}]}),s("eXdAp",function(e,r){t(e.exports,"getErrorHash",()=>a);let n=new WeakMap;(0,o("gXtG2").autoBeforeEachTest)(()=>{n=new WeakMap});let a=e=>{if(n.has(e))return n.get(e);let t="";if(void 0!==e.stack)try{var r;let n,a;n=(r=e.stack).match(/\/([\w.~\-_]+)\.[jt]sx?/g),a=r.match(/:\d+:\d+/g),t=(n?.[0]??"")+(a?.[0]??"")}catch(e){}let a=((e,t=1)=>{let r,n=e.length,a=t^n,i=0;for(;n>=4;)r=(65535&(r=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))*0x5bd1e995+(((r>>>16)*0x5bd1e995&65535)<<16),r^=r>>>24,a=(65535&a)*0x5bd1e995+(((a>>>16)*0x5bd1e995&65535)<<16)^(r=(65535&r)*0x5bd1e995+(((r>>>16)*0x5bd1e995&65535)<<16)),n-=4,++i;switch(n){case 3:a^=(255&e.charCodeAt(i+2))<<16;case 2:a^=(255&e.charCodeAt(i+1))<<8;case 1:a^=255&e.charCodeAt(i),a=(65535&a)*0x5bd1e995+(((a>>>16)*0x5bd1e995&65535)<<16)}return a^=a>>>13,a=(65535&a)*0x5bd1e995+(((a>>>16)*0x5bd1e995&65535)<<16),(a^=a>>>15)>>>0})(`${e.name} ${t||e.message}`).toString(36).toUpperCase();try{n.set(e,a)}catch(e){}return a}}),s("ejDuo",function(r,n){let a,i;t(r.exports,"default",()=>l);var s=o("WqSvO"),l=(a=o("8zwuE").default,i=e=>0!==Math.floor(Math.random()*e),(t,r)=>{let n=a.find(e=>((e,t,r)=>{let{matcher:n,route:a}=e;return!!n.test(t||"")&&(void 0===a||!!(void 0!==r&&r.endsWith(a)))&&!0})(e,t,r)),o=e(s)(n)?null:n.samplingRate;return{limitCaptureException:!e(s)(o)&&i(o),samplingRate:o}})}),s("8zwuE",function(e,r){t(e.exports,"default",()=>n);var n=[{matcher:/postrobot_method/,samplingRate:0},{matcher:/postMessage'\)/,samplingRate:0},{matcher:/^\[Frontend PubSub\] Failed to retrieve subscription configuration \[object Object\]$/,samplingRate:10},{matcher:/Setting the value of 'atlassian-analytics\.jira\.lock' exceeded the quota/,samplingRate:0}]}),s("a0kXA",function(e,r){t(e.exports,"stackFrameAssetRewrite",()=>n);let n=e=>{try{let t=e=>{e&&e.stacktrace&&e.stacktrace.frames&&e.stacktrace.frames.length&&e.stacktrace.frames.forEach(e=>{e.filename&&(e.filename=e.filename.replace("/assets-brotli/","/assets/"))})};if(t(e),!(e.exception&&e.exception.values&&e.exception.values.length))return e;e.exception.values.forEach(t)}catch(e){console.warn("Unable to rewrite stacktrace filenames",e)}return e}}),s("dcgSS",function(e,r){t(e.exports,"handleAtlaspackErrors",()=>a);class n extends Array{constructor(...e){super(...e),this.reportErrors()}push(...e){let t=super.push(...e);return this.reportErrors(),t}reportErrors(){for(;this.length>0;){let e=this.shift();e&&(0,o("fEmTm").captureException)("atlaspack",e)}}}n.displayName="AtlaspackErrors";let a=()=>{if(!(0,o("i860n").fg)("jira_atlaspack_errors_array_tracker"))return;let e=globalThis;e.__ATLASPACK_ERRORS instanceof n||(e.__ATLASPACK_ERRORS=new n(...e.__ATLASPACK_ERRORS??[]))}}),s("lSsUZ",function(e,r){t(e.exports,"platformErrorHandler",()=>n);function n(e){(0,o("cCE2Z").reportError)(e.error,e.errorInfo,{id:e.interactionId})}}),s("cCE2Z",function(r,n){t(r.exports,"reportError",()=>l),t(r.exports,"default",()=>u);var a=o("euxye");let i=({id:e,packageName:t,prefixOverride:r})=>{let n=null!=r?r:"common";return null!=e?null!=t?`${n}.error-boundary.${t}.${e}`:`${n}.error-boundary.${e}`:`${n}.error-boundary`},s=t=>{let r=(0,a.useContext)(o("qqoKJ").default),n=(0,a.useContext)(o("4FR7Y").default),i=(0,o("5ARAC").useOwnershipMarkerComponent)({markerType:"error-boundary",name:t.id??"unknown",packageName:t.packageName,teamName:t.teamName});return e(a).createElement(i,null,e(a).createElement(c,{...t,ufoInteractionId:r.current,ufoLabelStack:n?.labelStack}))};function l(e,t,{id:r,packageName:n,teamName:a,prefixOverride:s,onError:u,extraEventData:d={}},p,g){let f=e??new(0,o("9nZGZ").UnknownError),m=f instanceof o("75sVW").default||f instanceof o("75sVW").ValidationError,h=(0,o("75sVW").isRelayNetworkError)(f),_=()=>m?f.statusCode:h?f.source?.errors?.[0]?.extensions?.statusCode:void 0,E=(0,o("eXdAp").getErrorHash)(f),v={teamName:a??null,...d,message:f.message??null,stack:f.stack??null,componentStack:t.componentStack,hash:E??null},S=i({id:r,packageName:n,prefixOverride:s});c.logErrorToSplunk(E,S,v),(0,o("fEmTm").captureException)(S,f,t),p?(0,o("i860n").fg)("obsrve-2504-add-errorhash-to-ufo-message")?(0,o("siTdT").addError)(p,`JSErrorBoundary:${r}`,g||null,f.name,f.message,f.stack,void 0,E,_()):(0,o("siTdT").addError)(p,`JSErrorBoundary:${r}`,g||null,f.name,f.message,f.stack,void 0,void 0,_()):(0,o("i860n").fg)("obsrve-2504-add-errorhash-to-ufo-message")?(0,o("siTdT").addErrorToAll)(`JSErrorBoundary:${r}`,g||null,f.name,f.message,f.stack,E,_()):(0,o("siTdT").addErrorToAll)(`JSErrorBoundary:${r}`,g||null,f.name,f.message,f.stack,void 0,_()),u&&u(S,f,v)}s.displayName="ErrorBoundary";class c extends a.Component{static{this.defaultProps={children:null,extraEventData:{},render:()=>null,withExperienceTracker:!1,onError:()=>void 0,ufoInteractionId:null,ufoLabelStack:null}}static{this.errorFrequencyMap=new Map}static logErrorToSplunk(e,t,r){let n;void 0!==e?(n=(this.errorFrequencyMap.get(e)??0)+1,this.errorFrequencyMap.set(e,n)):n=1,n<=5&&o("6CfY5").default.safeErrorWithoutCustomerData(t,"Unhandled error caught by error boundary",r)}static getDerivedStateFromProps(e,t){return e.resetCaughtError&&t.caughtError?.error===e.resetCaughtError?{...t,caughtError:null}:t}componentDidCatch(e,t){let{id:r,packageName:n,teamName:a,prefixOverride:i,onError:o,extraEventData:s}=this.props;this.setState({caughtError:{error:e,info:t}}),l(e,t,{id:r,packageName:n,teamName:a,prefixOverride:i,onError:o,extraEventData:s},this.props.ufoInteractionId,this.props.ufoLabelStack)}render(){let{caughtError:t}=this.state,{children:r,render:n,withExperienceTracker:s,extraEventData:l}=this.props;if(!t)return r;let c=i(this.props);return e(a).createElement(e(a).Fragment,null,e(a).createElement(n,{error:t.error}),s&&e(a).createElement(o("jnHs7").ExperienceFailureTracker,{location:c,failureEventAttributes:l}))}constructor(...e){super(...e),this.state={caughtError:null}}}c.displayName="ErrorBoundaryInner";var u=s}),s("5ARAC",function(e,r){t(e.exports,"useOwnershipMarkerComponent",()=>i);var n=o("euxye");let a=new Map;(0,o("gXtG2").autoBeforeEachTest)(()=>{a.clear()});let i=e=>{let t=(0,n.useRef)(e).current,r=(({markerType:e,name:t,packageName:r,teamName:n})=>`${e}/${t}/${r??o("6t4Ql").NULL_STR}/${n??o("6t4Ql").NULL_STR}`)(t),i=a.get(r);if(i)return i;let l=({children:e})=>e,c=s(t);return Object.defineProperty(l,"name",{value:c}),l.displayName=c,a.set(r,l),l},s=({markerType:e,name:t,packageName:r=o("6t4Ql").NULL_STR,teamName:n=o("6t4Ql").NULL_STR})=>`${o("6t4Ql").OWNER_PREFIX}${e}___${t}___${r}___${n}`}),s("6t4Ql",function(e,r){t(e.exports,"NULL_STR",()=>n),t(e.exports,"OWNER_PREFIX",()=>a),t(e.exports,"extractOwnershipStack",()=>i),t(e.exports,"getOwningTeam",()=>o),t(e.exports,"getContainingPackageName",()=>s);let n="-",a="OwnerMark___",i=e=>e.split("\n").flatMap(e=>{let t=e.trim();return t.startsWith(`at ${a}`)?[t.replace(`at ${a}`,"").split(" ")[0]]:[]}).flatMap(e=>{let t=e.split("___");if(4!==t.length)return[];let[r,a,i,o]=t;return[{markerType:r,name:a,packageName:i!==n?i:null,teamName:o!==n?o:null}]}),o=e=>e.map(({teamName:e})=>e).find(e=>null!==e)??null,s=e=>e.map(({packageName:e})=>e).find(e=>null!==e)??null}),s("jnHs7",function(r,n){t(r.exports,"ExperienceSuccessTracker",()=>l),t(r.exports,"ExperienceFailureTracker",()=>c),t(r.exports,"ExperienceAbortTracker",()=>u),t(r.exports,"ExperienceResultFromPropsTracker",()=>d);var a=o("euxye");class i extends a.Component{static{this.defaultProps={hasSucceeded:!1,hasFailed:!1,hasAborted:!1,children:null}}componentDidMount(){this.postRenderChecks()}componentDidUpdate(){this.postRenderChecks()}postRenderChecks(){let{onExperienceSuccess:e,onExperienceFailure:t,onExperienceAbort:r,hasSucceeded:n,hasFailed:a,hasAborted:i}=this.props;a?t():i?r():n&&e()}render(){return this.props.children}}i.displayName="ResultDeclaredTrackerChildOld";let s=({onExperienceSuccess:e,onExperienceFailure:t,onExperienceAbort:r,hasSucceeded:n=!1,hasFailed:i=!1,hasAborted:o=!1,children:s=null})=>((0,a.useEffect)(()=>{i?t():o?r():n&&e()},[n,i,o,e,t,r]),s);s.displayName="ResultDeclaredTrackerChildNew";let l=({children:t=null,failureEventAttributes:r=null,parentProviders:n=null,...i})=>e(a).createElement(o("l7vxt").ExperienceTracker,{failureEventAttributes:r,parentProviders:n,...i},({onExperienceSuccess:r,onExperienceFailure:n,onExperienceAbort:i})=>e(a).createElement(s,{hasSucceeded:!0,onExperienceSuccess:r,onExperienceFailure:n,onExperienceAbort:i},t));l.displayName="ExperienceSuccessTracker";let c=({children:t=null,failureEventAttributes:r=null,parentProviders:n=null,...i})=>e(a).createElement(o("l7vxt").ExperienceTracker,{failureEventAttributes:r,parentProviders:n,...i},({onExperienceSuccess:r,onExperienceFailure:n,onExperienceAbort:i})=>e(a).createElement(s,{hasFailed:!0,onExperienceSuccess:r,onExperienceFailure:n,onExperienceAbort:i},t));c.displayName="ExperienceFailureTracker";let u=({children:t=null,failureEventAttributes:r=null,parentProviders:n=null,...i})=>e(a).createElement(o("l7vxt").ExperienceTracker,{failureEventAttributes:r,parentProviders:n,...i},({onExperienceSuccess:r,onExperienceFailure:n,onExperienceAbort:i})=>e(a).createElement(s,{hasAborted:!0,onExperienceSuccess:r,onExperienceFailure:n,onExperienceAbort:i},t));u.displayName="ExperienceAbortTracker";let d=({hasSucceeded:t=!1,hasFailed:r=!1,hasAborted:n=!1,children:i=null,failureEventAttributes:l=null,parentProviders:c=null,...u})=>e(a).createElement(o("l7vxt").ExperienceTracker,{failureEventAttributes:l,parentProviders:c,...u},({onExperienceSuccess:o,onExperienceFailure:l,onExperienceAbort:c})=>e(a).createElement(s,{hasSucceeded:t,hasFailed:r,hasAborted:n,onExperienceSuccess:o,onExperienceFailure:l,onExperienceAbort:c},i));d.displayName="ExperienceResultFromPropsTracker"}),s("l7vxt",function(r,n){t(r.exports,"ExperienceTracker",()=>s);var a=o("euxye"),i=o("fcq2N");let s=({children:t=null,location:r,failureEventAttributes:n=null,parentProviders:s=null})=>{let l=(0,a.useContext)(o("6DzQn").default);return((0,a.useEffect)(()=>{null===l&&o("6CfY5").default.safeErrorWithoutCustomerData("experience-tracker.missing-provider","Experience tracker rendered without a provider")},[l]),null==l)?"function"==typeof t?t({onExperienceSuccess:e(i),onExperienceFailure:e(i),onExperienceAbort:e(i)}):e(a).createElement(e(a).Fragment,null,t):e(a).createElement(o("3mIJe").default,{experienceTrackerId:r,location:r,experienceContext:l,failureEventAttributes:n,parentProvidersWhitelist:s},t)};s.displayName="ExperienceTracker"}),s("6DzQn",function(e,r){t(e.exports,"default",()=>n);var n=(0,o("euxye").createContext)(null)}),s("3mIJe",function(e,r){t(e.exports,"default",()=>a);var n=o("euxye");class a extends n.Component{constructor(e){super(e),this.onSuccess=()=>{!this.hasSignalledSuccess&&this.isReportingToCurrentProvider()&&(this.hasSignalledSuccess=!0,this.props.experienceContext.consumerCallbacks.onSuccess(this.props.experienceTrackerId))},this.onFailure=(e,t)=>{let{experienceContext:{consumerCallbacks:{onFailure:r}},location:n,failureEventAttributes:a}=this.props;!this.hasSignalledFailure&&this.isReportingToCurrentProvider()&&(this.hasSignalledFailure=!0,r(null==e?n:`${n}.${e}`,{...t,...a}))},this.onAbort=(e,t)=>{let{experienceContext:{consumerCallbacks:{onAbort:r}},location:n,failureEventAttributes:a}=this.props;!this.hasSignalledFailure&&this.isReportingToCurrentProvider()&&(this.hasSignalledFailure=!0,r(null==e?n:`${n}.${e}`,{...t,...a}))},this.resetTracker()}componentDidCatch(e){throw(0,o("lCetP").isClientFetchError)(e)||this.onFailure(void 0,{errorMessage:e.message}),e}componentWillUnmount(){this.props.experienceContext.consumerCallbacks.onClearPending(this.props.experienceTrackerId)}isReportingToCurrentProvider(){let{experience:e}=this.props.experienceContext;return null==this.parentProvidersWhitelistSet||this.parentProvidersWhitelistSet.has(e)}resetTracker(){this.hasSignalledFailure=!1,this.hasSignalledSuccess=!1,this.lastExperienceId=this.props.experienceContext.experienceId,this.parentProvidersWhitelistSet=this.props.parentProvidersWhitelist?new Set(this.props.parentProvidersWhitelist):null,this.isReportingToCurrentProvider()&&this.props.experienceContext.consumerCallbacks.onPending(this.props.experienceTrackerId)}checkExperienceIdForExperienceReset(){this.lastExperienceId!==this.props.experienceContext.experienceId&&this.resetTracker()}render(){this.checkExperienceIdForExperienceReset();let{children:e}=this.props;return"function"==typeof e?e({onExperienceSuccess:this.onSuccess,onExperienceFailure:this.onFailure,onExperienceAbort:this.onAbort}):e}}a.displayName="TrackerBase"}),s("9nZGZ",function(e,r){t(e.exports,"UnknownError",()=>n);class n extends Error{constructor(){super(),this.name="UnknownError",this.message="There is something wrong and ErrorBoundary component catch an undefined error."}}n.displayName="UnknownError"}),s("8w5ez",function(r,a){n(r.exports),t(r.exports,"AnalyticsProviders",()=>s),t(r.exports,"default",()=>l);var i=o("euxye");let s=({children:t})=>{let r=(0,o("eijVy").useTenantContext)(),{data:n}=(0,o("6zTYs").useOrgId)();(0,i.useEffect)(()=>{try{let e=(0,o("ffNik").initAnalytics)({...r,orgId:n});if(void 0===e)throw Error("observability.analytics-providers-error: @atlassiansox/analytics-web-client AnalyticsClient in src/common/analytics-web-react/web-client/index.js failed to initialise successfully")}catch(e){o("6CfY5").default.safeErrorWithoutCustomerData("observability.analytics-providers.analytics",e)}},[n,r]);let a={isMobileUserAgent:(0,o("7Odw0").isSupportedUserAgent)(),userAgent:navigator?.userAgent},s={shard:(0,o("6bEm8").default)("ajs-shard")||"",region:(0,o("6bEm8").default)("ajs-region")||""};return e(i).createElement(o("599w8").JiraStructuredAnalyticsListener,null,e(i).createElement(o("aZMdt").ContextualAnalyticsData,{attributes:{isSPA:__SPA__,variant:window.BUILD_VARIANT,...a,...s}},t))};s.displayName="AnalyticsProviders";var l=s}),s("7Odw0",function(e,r){let n;t(e.exports,"isSupportedUserAgent",()=>p),t(e.exports,"isAndroidUserAgent",()=>g),t(e.exports,"isTabletUserAgent",()=>m),t(e.exports,"shouldShowReturnToMobileBanner",()=>h),t(e.exports,"shouldShowDismissButton",()=>_),t(e.exports,"determineOperatingSystemAttribute",()=>E),t(e.exports,"default",()=>v);var a=o("lO5Ez");let i=/Android|iPhone|iPad|Mobil/i,s=/Mobile/,l=RegExp("iPad;"),c=RegExp("(iPhone;|iPad;|iPod;)"),u=/Android/,d=RegExp("CriOS|FxiOS|EdgiOS"),p=()=>{let e=globalThis.navigator?.userAgent??n;return void 0!==e&&i.test(e)},g=()=>{let e=globalThis.navigator?.userAgent??n;return void 0!==e&&u.test(e)},f=()=>{let e=globalThis.navigator?.userAgent??n;return void 0!==e&&c.test(e)},m=()=>{let e=globalThis.navigator?.userAgent??n;return!!e&&(l.test(e)||g()&&!s.test(e))},h=()=>{let e;return p()&&!((e=globalThis.navigator?.userAgent??n)&&f()&&!d.test(e))},_=()=>h()&&m(),E=()=>f()?"ios":g()?"android":"other";var v=()=>p()&&"true"!==a.default.get("jira.mobile.desktop.switch")}),s("6zTYs",function(e,r){t(e.exports,"useOrgId",()=>n);let n=()=>({data:(0,o("6bEm8").default)("ajs-org-id")||void 0})}),s("aZMdt",function(r,n){t(r.exports,"extractContextualData",()=>l),t(r.exports,"ContextualAnalyticsData",()=>c);var a=o("euxye"),i=o("808aL"),s=o("3irVK");let l=t=>{let{children:r,sourceName:n,sourceType:a,...o}=t,l=n&&a?`${n}${a}`:void 0;return e(s)({source:l,...o},e(i))},c=(0,a.memo)(t=>{let r=l(t);return e(a).createElement(o("hUqPj").default,{data:r},e(a).createElement(e(a).Fragment,null,t.children))})}),s("eijVy",function(e,r){t(e.exports,"TenantContextContainer",()=>n),t(e.exports,"TenantContextSubscriber",()=>a),t(e.exports,"useTenantContextHook",()=>i),t(e.exports,"useTenantContext",()=>s);let n=(0,o("dB6ay").createContainer)(o("8GgAm").default,{onInit:()=>({dispatch:e})=>e(o("1vdeU").bootstrap())}),a=(0,o("iGu4q").createSubscriber)(o("8GgAm").default,{displayName:"TenantContextSubscriber"}),i=(0,o("3h1FP").createHook)(o("8GgAm").default),s=()=>{let[{tenantContext:e}]=i();return e}}),s("1vdeU",function(e,r){t(e.exports,"bootstrap",()=>n);let n=()=>({setState:e,getState:t},{getMeta:r})=>{t().tenantContext||e({tenantContext:(0,o("2HuOR").getTenantContext_DEPRECATED_DO_NOT_USE)(r)})}}),s("8GgAm",function(e,r){t(e.exports,"default",()=>n);var n=(0,o("5QDqc").createStore)({name:"tenantContext",initialState:{tenantContext:null},actions:o("1vdeU")})}),s("ffNik",function(e,r){t(e.exports,"initAnalytics",()=>n);let n=({cloudId:e,cloudName:t,atlassianAccountId:r,environment:n,locale:a,orgId:i,activationId:s})=>(0,o("hz0Ap").initAnalyticsWebClient)({tenantId:e,...r?{userId:r}:void 0,...i&&{orgId:i},...s&&{workspaceId:s},product:"jira",environment:"prod"===n?"prod":(0,o("aNyDs").default)({cloudId:e,cloudName:t,environment:n}),callback:o("ajsFq").logEmau,subProduct:o("4D4Jz").default,solutions:(0,o("l9ND4").default)(),locale:a})}),s("l9ND4",function(e,r){t(e.exports,"default",()=>n);var n=()=>"serviceDesk"===(0,o("4D4Jz").default)()?[g]:void 0});let g="jiraServiceManagement";s("4D4Jz",function(e,r){t(e.exports,"default",()=>n);var n=()=>(0,o("aYD0q").default)((0,o("6bEm8").default)("ajs-application-key"))}),s("aYD0q",function(e,r){t(e.exports,"default",()=>n);var n=e=>e?"family"===e?"platform":"jira-servicedesk"===e?"serviceDesk":e.startsWith("jira-")?e.replace("jira-",""):e:"unknown"}),s("aNyDs",function(e,r){t(e.exports,"default",()=>n);var n=({environment:e,cloudId:t,cloudName:r})=>{let n,a;return"staging"===e&&(!(n=globalThis.BUILD_KEY)||/^(?:(?:MR)?JF-PROD-\d+|\d+\.\d+\.\d+-[0-9a-f]+)$/.test(n))&&(!(a=globalThis.SSR_BUILD_KEY)||/^(?:(?:MR)?JF-PROD-\d+|\d+\.\d+\.\d+-[0-9a-f]+)$/i.test(a))&&!(({cloudId:e,cloudName:t})=>/^(TEST--)/.test(e)&&/^(atl-vertigo--jira-jira-branch)/.test(t))({cloudId:t,cloudName:r})?e:"dev"}}),s("ajsFq",function(e,r){t(e.exports,"logEmau",()=>n);let n=({product:e,subproduct:t})=>{let r,n;"jira"===e&&(r=JSON.stringify({eventData:{url:window.location.pathname,subproduct:t,urlParams:window.location.search}}),n={...(0,o("ff8AH").getDefaultOptions)("/rest/internal/2/log/unsafe/emau"),method:"POST",body:r},fetch("/rest/internal/2/log/unsafe/emau",n))}}),s("599w8",function(r,n){t(r.exports,"JiraStructuredAnalyticsListener",()=>g);var a=o("euxye"),i=o("9YCxR");let s=[o("8GASP").FabricChannel.atlaskit],l=(e,t=!1)=>{try{let r=(0,o("ieuXy").addSearchSessionAttributes)();Object.keys(r).length>0&&(t?e.payload.attributes={...e.payload.attributes,...r}:e.payload={...e.payload,...r})}catch(e){o("6CfY5").default.safeErrorWithoutCustomerData("observability.analytics-providers.addSearchPayload","Failed to dynamically add search payload",e)}return e},c=e=>{let t=Error(`This ${e.type} event is not valid`);(0,o("6Kdw4").getAnalyticsWebClientPromise)().then(r=>{try{r.sendEvent(e)}catch(e){throw e.cause=t,e}})},u=e=>{let t=l(e);c((0,o("3mujO").default)(t))},d=e=>{let t=l(e,!0);c((0,o("7RK6D").getEvent)(t))},p=({onEvent:t,onEventV3:r,children:n})=>e(a).createElement(o("f6SzU").default,{onEvent:t},e(a).createElement(o("f6SzU").default,{onEvent:r,channel:"productAnalytics"},n));p.displayName="JiraAnalyticsListener";let g=({children:t})=>e(a).createElement(i.default,{client:(0,o("6Kdw4").getAnalyticsWebClientPromise)().then(e=>e.getInstance()),excludedChannels:s},e(a).createElement(p,{onEvent:u,onEventV3:d},t));g.displayName="JiraStructuredAnalyticsListener"}),s("3mujO",function(r,n){t(r.exports,"default",()=>c);var a=o("808aL"),i=o("hlxpN"),s=o("3irVK");let l=(e,t)=>t?`${e}${t[0].toUpperCase()}${t.substring(1)}`:e;var c=t=>{let r=(0,o("8BtfF").getSources)(t),n=(0,o("8BtfF").getAnalyticsType)(t),c=n===o("7iRBQ").TRACK_EVENT_TYPE?e(i)((0,o("8BtfF").getActionSubjects)(t)):e(i)((0,o("8BtfF").getComponents)(t)),u=e(i)(r),d=(0,o("8BtfF").getAction)(t),p={...(0,o("8BtfF").getAttributes)(t),namespaces:r.join(".")},g=(0,o("8BtfF").getContainers)(t);if(d===o("7iRBQ").PAGE_EVENT_ACTION)return{type:o("7iRBQ").SCREEN_EVENT_TYPE,payload:{name:u,attributes:p,containers:g}};switch(n){case o("7iRBQ").UI_EVENT_TYPE:case o("7iRBQ").TRACK_EVENT_TYPE:case o("7iRBQ").OPERATIONAL_EVENT_TYPE:{let r,f=(r=(0,o("8BtfF").getName)(t),n===o("7iRBQ").OPERATIONAL_EVENT_TYPE?r?l(r,c):c:n===o("7iRBQ").UI_EVENT_TYPE?l(r,c):(0,o("8BtfF").getActionSubjectId)(t)),m=e(i)((0,o("8BtfF").getContainerIds)(t)),h=e(i)((0,o("8BtfF").getContainerTypes)(t)),_=e(i)((0,o("8BtfF").getObjectIds)(t)),E=e(i)((0,o("8BtfF").getObjectTypes)(t)),v=(0,o("8BtfF").getTags)(t);return{type:n,payload:e(s)({action:d,actionSubject:c,actionSubjectId:f,source:u,tags:v,containerId:m,containers:g,containerType:h,objectType:E,objectId:_,attributes:p},e(a))}}default:return{payload:{source:u,actionSubject:c,attributes:p,containers:g},type:void 0}}}}),s("7iRBQ",function(e,r){t(e.exports,"UI_EVENT_TYPE",()=>n),t(e.exports,"TRACK_EVENT_TYPE",()=>a),t(e.exports,"SCREEN_EVENT_TYPE",()=>i),t(e.exports,"OPERATIONAL_EVENT_TYPE",()=>o),t(e.exports,"PAGE_EVENT_ACTION",()=>s),t(e.exports,"ScreenTypes",()=>l);let n="UI",a="TRACK",i="SCREEN",o="OPERATIONAL",s="page-view",l={SCREEN:"Screen",MODAL:"Modal",DRAWER:"Drawer",INLINE_DIALOG:"InlineDialog",DROPDOWN:"Dropdown"}}),s("8BtfF",function(r,n){t(r.exports,"getComponents",()=>p),t(r.exports,"getActionSubjects",()=>g),t(r.exports,"getSources",()=>f),t(r.exports,"getAttributes",()=>m),t(r.exports,"getTags",()=>h),t(r.exports,"getContainerTypes",()=>_),t(r.exports,"getContainerIds",()=>E),t(r.exports,"getObjectTypes",()=>v),t(r.exports,"getObjectIds",()=>S),t(r.exports,"getActionSubjectId",()=>y),t(r.exports,"getAnalyticsType",()=>I),t(r.exports,"getName",()=>x),t(r.exports,"getAction",()=>T),t(r.exports,"getContainers",()=>b);var a=o("808aL"),i=o("6Fltw"),s=o("3irVK"),l=o("9O1Qa");let c=(e,t)=>t.context.reduce((t,r)=>(e.forEach(e=>{t.push(r[e])}),t),[]).filter(Boolean),u=(e,t)=>t.payload[e],d=(e,t)=>{let r=u(e,t),n=c([e],t);return r?n.concat(r):n},p=e=>c(["component","componentName"],e),g=e=>c(["actionSubject"],e),f=e=>c(["source"],e),m=t=>e(i)(c(["attributes"],t).reduce((t,r)=>e(i)(t,r),{}),(e=>{let{tags:t,actionSubjectId:r,containerType:n,containerId:a,objectType:i,objectId:o,analyticsType:s,name:l,action:c,...u}=e.payload;return u})(t)),h=t=>{let r=e(l)(c(["tags"],t).reduce((e,t)=>e.concat(t),[]).concat(u("tags",t)).filter(Boolean));return r.length>0?r:void 0},_=e=>d("containerType",e),E=e=>d("containerId",e),v=e=>d("objectType",e),S=e=>d("objectId",e),y=e=>u("actionSubjectId",e),I=e=>u("analyticsType",e),x=e=>u("name",e),T=e=>u("action",e),b=t=>{let r=c(["containers"],t),n=t.payload.containers,o=e(i)(r.reduce((t,r)=>e(i)(t,r),{}),n),l=e(s)(o,e(a));return Object.keys(l).length>0?l:void 0}}),s("ieuXy",function(r,n){t(r.exports,"addSearchSessionAttributes",()=>s);var a=o("eSVkV"),i=o("dAmGh");let s=t=>{let r=t||{},n={searchSessionId:"searchSessionId"in r&&r.searchSessionId?r.searchSessionId:(0,o("6bEm8").default)("ajs-search-session-id"),searchObjectId:"searchObjectId"in r&&r.searchObjectId?r.searchObjectId:(0,o("6bEm8").default)("ajs-search-object-id"),searchContainerId:"searchContainerId"in r&&r.searchContainerId?r.searchContainerId:(0,o("6bEm8").default)("ajs-search-container-id"),searchContentType:"searchContentType"in r&&r.searchContentType?r.searchContentType:(0,o("6bEm8").default)("ajs-search-content-type")};return{...t,...e(i)(n,e(a))}}}),s("lPmfV",function(r,a){n(r.exports),t(r.exports,"default",()=>l);var i=o("euxye");let s=t=>{let r=(0,o("5EbfN").toEnvironment)((0,o("6bEm8").default)("ajs-environment")),n=(0,o("6bEm8").default)("ajs-atlassian-account-id");if(null===n)return t.children;let a={aaid:n,cloudId:(0,o("6bEm8").default)("ajs-cloud-id")||"",locale:(0,o("6bEm8").default)("ajs-user-locale")||"",product:"jira",stargateUrl:"/gateway/api",orgId:t.orgId},s={envType:"prod"===r?o("hIipg").envType.PROD:"staging"===r?o("hIipg").envType.STAGING:o("hIipg").envType.DEV,enableChoreographer:!0,additionalData:{sourceProductId:o("kNBjd").ProductIds.JIRA}};return e(i).createElement(o("gjqtf").default,{...t,config:a,analyticsClientInstance:Promise.resolve((0,o("6Kdw4").getAnalyticsWebClientPromise)().then(e=>e.getInstance())),coordinationOptions:s})};s.displayName="EngagementProvider";var l=s}),s("9OCIS",function(r,n){t(r.exports,"localePropType",()=>a),t(r.exports,"defaultLocale",()=>o("dwzGJ").defaultLocale),t(r.exports,"supportedLanguagesMap",()=>o("dwzGJ").supportedLanguagesMap),t(r.exports,"getLocale",()=>o("d5gEK").getLocale),t(r.exports,"formatTimezonedWithLocale",()=>o("d5gEK").formatTimezonedWithLocale),t(r.exports,"floatDifferenceOfDates",()=>o("d5gEK").floatDifferenceOfDates),t(r.exports,"formatWithLocale",()=>o("d5gEK").formatWithLocale),t(r.exports,"formatDistanceWithLocale",()=>o("d5gEK").formatDistanceWithLocale),t(r.exports,"formatRelativeWithLocale",()=>o("d5gEK").formatRelativeWithLocale),t(r.exports,"formatDistanceStrictWithLocale",()=>o("d5gEK").formatDistanceStrictWithLocale),t(r.exports,"weekStartDayWithLocale",()=>o("d5gEK").weekStartDayWithLocale),t(r.exports,"formatZonedDateTimeWithZone",()=>o("d5gEK").formatZonedDateTimeWithZone),t(r.exports,"parseZoneDateTime",()=>o("d5gEK").parseZoneDateTime),t(r.exports,"setTimezoneOffset",()=>o("d5gEK").setTimezoneOffset),t(r.exports,"setNumberOffsetToISODate",()=>o("d5gEK").setNumberOffsetToISODate),t(r.exports,"formatDateStringToISO",()=>o("d5gEK").formatDateStringToISO),t(r.exports,"isValidTimeZone",()=>o("d5gEK").isValidTimeZone);let a=e(o("bUjzO")).oneOf(Object.keys(e(o("cVLWE"))))}),s("cVLWE",function(e,t){e.exports=JSON.parse('{"cs_CZ":"cs-CZ","cs":"cs-CZ","da_DK":"da-DK","da":"da-DK","de_DE":"de-DE","de":"de-DE","en_GB":"en-GB","en-GB":"en-GB","en_UK":"en-US","en-UK":"en-US","enUS":"enUS","en_US":"en-US","en-US":"en-US","es-ES":"es-ES","es":"es-ES","et_EE":"et-EE","et":"et-EE","fi_FI":"fi-FI","fi":"fi-FI","fr_FR":"fr-FR","fr":"fr-FR","hu_HU":"hu-HU","hu":"hu-HU","is_IS":"is-IS","is":"is-IS","it_IT":"it-IT","it":"it-IT","ja_JP":"ja-JP","ja":"ja-JP","ko_KR":"ko-KR","ko":"ko-KR","nb_NO":"nb-NO","nb":"nb-NO","nl_NL":"nl-NL","nl":"nl-NL","pl_PL":"pl-PL","pl":"pl-PL","pt_BR":"pt-BR","pt-BR":"pt-BR","pt_PT":"pt-PT","pt":"pt-PT","ro_RO":"ro-RO","ro":"ro-RO","ru_RU":"ru-RU","ru":"ru-RU","sk_SK":"sk-SK","sk":"sk-SK","sv_SE":"sv-SE","sv":"sv-SE","tr":"tr-TR","tr_TR":"tr-TR","tr-TR":"tr-TR","zh_CN":"zh-CN","zh-CN":"zh-CN","zh_TW":"zh-TW","zh-TW":"zh-TW"}')}),s("dwzGJ",function(e,r){t(e.exports,"defaultLocale",()=>n),t(e.exports,"supportedLanguagesMap",()=>i);let n="enUS",a="arDZ",i={ar:a,ar_DZ:a,ar_MA:a,ar_SA:a,cs_CZ:"cs",cs:"cs",da_DK:"da",da:"da",de_DE:"de",de:"de",en_GB:"enGB","en-GB":"enGB",en_UK:n,"en-UK":n,en_US:n,"en-US":n,en_AU:"enAU",es_ES:"es",es:"es",et_EE:"et",et:"et",fi_FI:"fi",fi:"fi",fr_FR:"fr",fr:"fr",hu_HU:"hu",hu:"hu",is_IS:"is",is:"is",it_IT:"it",it:"it",ja_JP:"ja",ja:"ja",ko_KR:"ko",ko:"ko",nb_NO:"nb",nb:"nb",nl_NL:"nl",nl:"nl",pl_PL:"pl",pl:"pl",pt_BR:"ptBR","pt-BR":"ptBR",pt_PT:"pt",pt:"pt",ro_RO:"ro",ro:"ro",ru_RU:"ru",ru:"ru",sk_SK:"sk",sk:"sk",sv_SE:"sv",sv:"sv",tr:"tr",tr_TR:"tr",zh_CN:"zhCN","zh-CN":"zhCN",zh_TW:"zhTW","zh-TW":"zhTW"}}),s("d5gEK",function(e,r){t(e.exports,"getLocale",()=>s),t(e.exports,"parseISODate",()=>l),t(e.exports,"isValidTimeZone",()=>c),t(e.exports,"formatWithLocale",()=>u),t(e.exports,"formatTimezonedWithLocale",()=>d),t(e.exports,"formatDistanceWithLocale",()=>p),t(e.exports,"formatRelativeWithLocale",()=>g),t(e.exports,"formatDistanceStrictWithLocale",()=>f),t(e.exports,"weekStartDayWithLocale",()=>m),t(e.exports,"parseZoneDateTime",()=>h),t(e.exports,"setTimezoneOffset",()=>E),t(e.exports,"setNumberOffsetToISODate",()=>v),t(e.exports,"formatZonedDateTimeWithZone",()=>S),t(e.exports,"formatDateStringToISO",()=>y),t(e.exports,"floatDifferenceOfDates",()=>x),o("eT4u6");let n={arDZ:o("dt1y6").default,cs:o("49Ri2").default,cs_CZ:o("49Ri2").default,da:o("8TAdq").default,da_DK:o("8TAdq").default,de:o("21fcH").default,de_DE:o("21fcH").default,enUS:o("gcFTj").default,en_US:o("gcFTj").default,"en-US":o("gcFTj").default,enGB:o("fgiQ0").default,en_UK:o("fgiQ0").default,"en-UK":o("fgiQ0").default,"en-GB":o("fgiQ0").default,en_GB:o("fgiQ0").default,enAU:o("3xzlf").default,es:o("gtbIq").default,es_ES:o("gtbIq").default,et:o("7dVeQ").default,et_EE:o("7dVeQ").default,fi:o("gKLIX").default,fi_FI:o("gKLIX").default,fr:o("cuaUr").default,fr_FR:o("cuaUr").default,hu:o("8mQhO").default,hu_HU:o("8mQhO").default,is:o("7ah7A").default,is_IS:o("7ah7A").default,it:o("e0GTq").default,it_IT:o("e0GTq").default,ja:o("59R5I").default,ja_JP:o("59R5I").default,ko:o("ieyUQ").default,ko_KR:o("ieyUQ").default,nb:o("irUpT").default,nb_NO:o("irUpT").default,nl:o("35xWZ").default,nl_NL:o("35xWZ").default,pl:o("jlGdp").default,pl_PL:o("jlGdp").default,pt:o("glUk8").default,"pt-PT":o("glUk8").default,pt_PT:o("glUk8").default,ptBR:o("7koEZ").default,"pt-BR":o("7koEZ").default,pt_BR:o("7koEZ").default,ro:o("afHG0").default,ro_RO:o("afHG0").default,ru:o("8PQ29").default,ru_RU:o("8PQ29").default,sk:o("4NUsi").default,sk_SK:o("4NUsi").default,sv:o("1DRvc").default,sv_SE:o("1DRvc").default,tr:o("jdMAw").default,"tr-TR":o("jdMAw").default,tr_TR:o("jdMAw").default,zhCN:o("8Bhf4").default,"zh-CN":o("8Bhf4").default,zh_CN:o("8Bhf4").default,zhTW:o("8zwm9").default,"zh-TW":o("8zwm9").default,zh_TW:o("8zwm9").default},a=new RegExp(/:\d\d(\.\d+)?[-,+]\d\d:\d\d$/),i=new RegExp(/:\d\d(\.\d+)?-/),s=e=>n[o("dwzGJ").supportedLanguagesMap[e]||o("dwzGJ").defaultLocale],l=e=>{let t=(0,o("7cCLc").default)(e);return(0,o("dGdlo").default)(t)?new Date(e):void 0},c=e=>{try{return Intl.DateTimeFormat(void 0,{timeZone:e}),!0}catch(e){return!1}},u=(e,t,r)=>(0,o("dYbSv").default)(e,t,{locale:s(r)}),d=(e,t,r,n)=>c(n)?(0,o("36Ugw").default)((0,o("av4S1").default)(e,n),t,{locale:s(r),timeZone:n}):(0,o("36Ugw").default)((0,o("av4S1").default)(e,"utc"),t,{locale:s(r),timeZone:"utc"}),p=(e,t,r,n=!1)=>(0,o("f59Wr").default)(e,t,{locale:s(r),addSuffix:n}),g=(e,t,r)=>(0,o("5ssT5").default)(e,t,{locale:s(r)}),f=(e,t,r,n=!1)=>(0,o("4TdwU").default)(e,t,{locale:s(r),addSuffix:n}),m=(e,t)=>(0,o("TsgOl").default)(e,{locale:s(t)}),h=e=>{let t="string"==typeof e?e:new Date().toISOString(),r={positiveZoneStartIndex:t.indexOf("+"),negativeZoneStartIndex:i.test(t)?t.lastIndexOf("-"):-1,utcZoneStartIndex:t.indexOf("Z")},n=Object.values(r).find(e=>"number"==typeof e&&e>-1),s="number"==typeof n?t.substring(0,n):t,l="";return"number"==typeof n&&(l=a.test(t)?t.substring(n,n+6):`${t.substring(n,n+3)}:00`),{date:(0,o("7cCLc").default)(s),zone:r.utcZoneStartIndex>-1?"+00:00":l}},_=e=>60*Number.parseInt(e,10)+Number.parseInt(`${e.substring(0,1)}${e.substring(4)}`,10),E=(e,t)=>{let r=e.getTimezoneOffset(),n=_(h(t).zone);return(0,o("jAWvZ").default)(e,n+r)},v=(e,t)=>{let r=h(e),n=_(r.zone);return(0,o("jAWvZ").default)(r.date,60*t-n)},S=(e,t,r)=>{let n="",a=(0,o("dYbSv").default)(e,t),s=Object.values({positiveZoneStartIndex:a.indexOf("+"),negativeZoneStartIndex:i.test(a)?a.lastIndexOf("-"):-1,utcZoneStartIndex:a.indexOf("Z")}).find(e=>"number"==typeof e&&e>-1);return"number"==typeof s&&(n=`${a.substring(0,s)}${r}`),n},y=(e,t="yyyy-MM-dd")=>{if(null==e||""===e)return"";let r=(0,o("cAvrm").default)(e,t,new Date(0,0,0,0,0,0));return(0,o("dGdlo").default)(r)?r.toISOString():""},I=(e,t)=>{let r;if((0,o("3qzB7").default)(e)<(0,o("3qzB7").default)(t))return-I(t,e);let n=((0,o("lFmbd").default)(t)-(0,o("lFmbd").default)(e))*12+((0,o("gLA6A").default)(t)-(0,o("gLA6A").default)(e)),a=(0,o("lvb5q").default)(e,n);return r=t-a<0?(t-a)/(a-(0,o("lvb5q").default)(e,n-1)):(t-a)/((0,o("lvb5q").default)(e,n+1)-a),-(n+r)||0},x=(e,t,r)=>{let n=-6e4*t.getTimezoneOffset()- -6e4*e.getTimezoneOffset();switch(r){case"years":return I(e,t)/12;case"quarters":return I(e,t)/3;case"months":return I(e,t);case"weeks":return(e-t-n)/6048e5;case"days":return(e-t-n)/864e5;case"hours":return(e-t)/36e5;case"minutes":return(e-t)/6e4;case"seconds":return(e-t)/1e3;default:return(0,o("1Ubq3").default)(e,t)}}}),s("eT4u6",function(e,r){t(e.exports,"format",()=>o("36Ugw").default),t(e.exports,"formatInTimeZone",()=>o("chc5U").default),t(e.exports,"getTimezoneOffset",()=>o("6FnLX").default),t(e.exports,"toDate",()=>o("1pymE").default),t(e.exports,"utcToZonedTime",()=>o("av4S1").default),t(e.exports,"zonedTimeToUtc",()=>o("h0Icr").default)}),s("36Ugw",function(r,n){t(r.exports,"default",()=>i);var a=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function i(t,r,n){var i=String(r),s=n||{},l=i.match(a);if(l){var c=(0,o("1pymE").default)(s.originalDate||t,s);i=l.reduce(function(e,t){if("'"===t[0])return e;var r=e.indexOf(t),n="'"===e[r-1],a=e.replace(t,"'"+o("cmq2k").default[t[0]](c,t,null,s)+"'");return n?a.substring(0,r-1)+a.substring(r+1):a},i)}return e(o("6CZmd"))(t,i,s)}}),s("cmq2k",function(e,r){t(e.exports,"default",()=>u);var n=o("9rnLw"),a=o("7wK3A");function i(e,t){var r=e?(0,a.default)(e,t,!0)/6e4:t.getTimezoneOffset();if(Number.isNaN(r))throw RangeError("Invalid time zone specified: "+e);return r}function s(e,t){for(var r=Math.abs(e).toString();r.length0?"-":"+")+s(Math.floor(r/60),2)+(t||"")+s(Math.floor(r%60),2)}function c(e,t){return e%60==0?(e>0?"-":"+")+s(Math.abs(e)/60,2):l(e,t)}var u={X:function(e,t,r,n){var a=i(n.timeZone,e);if(0===a)return"Z";switch(t){case"X":return c(a);case"XXXX":case"XX":return l(a);default:return l(a,":")}},x:function(e,t,r,n){var a=i(n.timeZone,e);switch(t){case"x":return c(a);case"xxxx":case"xx":return l(a);default:return l(a,":")}},O:function(e,t,r,n){var a,o,c,u,d,p=i(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+(o=(a=p)>0?"-":"+",u=Math.floor((c=Math.abs(a))/60),0==(d=c%60)?o+String(u):o+String(u)+":"+s(d,2));default:return"GMT"+l(p,":")}},z:function(e,t,r,a){switch(t){case"z":case"zz":case"zzz":return(0,n.default)("short",e,a);default:return(0,n.default)("long",e,a)}}}}),s("9rnLw",function(e,r){function n(e,t,r){var n,a,i,o,s=function(e,t,r){if(r&&!r.code)throw Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,r.timeZone,r.locale);return s.formatToParts?function(e,t){for(var r=e.formatToParts(t),n=r.length-1;n>=0;--n)if("timeZoneName"===r[n].type)return r[n].value}(s,t):(n=s,a=t,i=n.format(a).replace(/\u200E/g,""),(o=/ [\w-+ ]+$/.exec(i))?o[0].substr(1):"")}t(e.exports,"default",()=>n)}),s("7wK3A",function(e,r){t(e.exports,"default",()=>c);var n=o("fYTGX"),a=o("lQVOK"),i=/^(Z)$/,s=/^([+-]\d{2})$/,l=/^([+-])(\d{2}):?(\d{2})$/;function c(e,t,r){if(!e||(n=i.exec(e)))return 0;if(n=s.exec(e))return d(c=parseInt(n[1],10))?-(36e5*c):NaN;if(n=l.exec(e)){var n,o,c=parseInt(n[2],10),g=parseInt(n[3],10);return d(c,g)?(o=36e5*Math.abs(c)+6e4*g,"+"===n[1]?-o:o):NaN}if(function(e){if(p[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),p[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());var f,m=u(r?t:(f=t,(0,a.default)(f.getFullYear(),f.getMonth(),f.getDate(),f.getHours(),f.getMinutes(),f.getSeconds(),f.getMilliseconds())),e);return-(r?m:function(e,t,r){var n=e.getTime()-t,a=u(new Date(n),r);if(t===a)return t;var i=u(new Date(n-=a-t),r);return a===i?a:Math.max(a,i)}(t,m,e))}return NaN}function u(e,t){var r=(0,n.default)(e,t),i=(0,a.default)(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime(),o=e.getTime(),s=o%1e3;return i-(o-=s>=0?s:1e3+s)}function d(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}var p={}}),s("fYTGX",function(e,r){function n(e,t){var r,n,o,s,l=function(e){if(!i[e]){var t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));i[e]="06/25/2014, 00:00:00"===t||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===t?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return i[e]}(t);return l.formatToParts?function(e,t){try{for(var r=e.formatToParts(t),n=[],i=0;i=0&&(n[o]=parseInt(r[i].value,10))}return n}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(l,e):(r=l,n=e,o=r.format(n),[(s=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(o))[3],s[1],s[2],s[4],s[5],s[6]])}t(e.exports,"default",()=>n);var a={year:0,month:1,day:2,hour:3,minute:4,second:5},i={}}),s("lQVOK",function(e,r){t(e.exports,"default",()=>n);function n(e,t,r,n,a,i,o){var s=new Date(0);return s.setUTCFullYear(e,t,r),s.setUTCHours(n,a,i,o),s}}),s("1pymE",function(r,n){t(r.exports,"default",()=>s);var a=o("7wK3A"),i={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:o("2w9lS").default};function s(t,r){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===t)return new Date(NaN);var n=r||{},s=null==n.additionalDigits?2:e(o("r1m99"))(n.additionalDigits);if(2!==s&&1!==s&&0!==s)throw RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))return new Date(t.getTime());if("number"==typeof t||"[object Number]"===Object.prototype.toString.call(t))return new Date(t);if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var c=function(e){var t,r={},n=i.dateTimePattern.exec(e);if(n?(r.date=n[1],t=n[3]):(n=i.datePattern.exec(e))?(r.date=n[1],t=n[2]):(r.date=null,t=e),t){var a=i.timeZone.exec(t);a?(r.time=t.replace(a[1],""),r.timeZone=a[1].trim()):r.time=t}return r}(t),u=function(e,t){var r,n=i.YYY[t],a=i.YYYYY[t];if(r=i.YYYY.exec(e)||a.exec(e)){var o=r[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(r=i.YY.exec(e)||n.exec(e)){var s=r[1];return{year:100*parseInt(s,10),restDateString:e.slice(s.length)}}return{year:null}}(c.date,s),m=u.year,h=function(e,t){if(null===t)return null;if(0===e.length)return(o=new Date(0)).setUTCFullYear(t),o;if(r=i.MM.exec(e))return(o=new Date(0),p(t,n=parseInt(r[1],10)-1))?(o.setUTCFullYear(t,n),o):new Date(NaN);if(r=i.DDD.exec(e)){var r,n,a,o=new Date(0),s=parseInt(r[1],10);return!function(e,t){if(t<1)return!1;var r=d(e);return(!r||!(t>366))&&(!!r||!(t>365))}(t,s)?new Date(NaN):(o.setUTCFullYear(t,0,s),o)}if(r=i.MMDD.exec(e)){o=new Date(0),n=parseInt(r[1],10)-1;var c=parseInt(r[2],10);return p(t,n,c)?(o.setUTCFullYear(t,n,c),o):new Date(NaN)}if(r=i.Www.exec(e))return g(t,a=parseInt(r[1],10)-1)?l(t,a):new Date(NaN);if(r=i.WwwD.exec(e)){a=parseInt(r[1],10)-1;var u=parseInt(r[2],10)-1;return g(t,a,u)?l(t,a,u):new Date(NaN)}return null}(u.restDateString,m);if(isNaN(h)||!h)return new Date(NaN);var _,E=h.getTime(),v=0;if(c.time&&isNaN(v=function(e){if(t=i.HH.exec(e))return f(r=parseFloat(t[1].replace(",",".")))?r%24*36e5:NaN;if(t=i.HHMM.exec(e))return f(r=parseInt(t[1],10),n=parseFloat(t[2].replace(",",".")))?r%24*36e5+6e4*n:NaN;if(t=i.HHMMSS.exec(e)){var t,r=parseInt(t[1],10),n=parseInt(t[2],10),a=parseFloat(t[3].replace(",","."));return f(r,n,a)?r%24*36e5+6e4*n+1e3*a:NaN}return null}(c.time)))return new Date(NaN);if(c.timeZone||n.timeZone){if(isNaN(_=(0,a.default)(c.timeZone||n.timeZone,new Date(E+v))))return new Date(NaN)}else _=e(o("fKom7"))(new Date(E+v)),_=e(o("fKom7"))(new Date(E+v+_));return new Date(E+v+_)}function l(e,t,r){t=t||0,r=r||0;var n=new Date(0);n.setUTCFullYear(e,0,4);var a=7*t+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+a),n}var c=[31,28,31,30,31,30,31,31,30,31,30,31],u=[31,29,31,30,31,30,31,31,30,31,30,31];function d(e){return e%400==0||e%4==0&&e%100!=0}function p(e,t,r){if(t<0||t>11)return!1;if(null!=r){if(r<1)return!1;var n=d(e);if(n&&r>u[t]||!n&&r>c[t])return!1}return!0}function g(e,t,r){return!(t<0)&&!(t>52)&&(null==r||!(r<0)&&!(r>6))}function f(e,t,r){return(null==e||!(e<0)&&!(e>=25))&&(null==t||!(t<0)&&!(t>=60))&&(null==r||!(r<0)&&!(r>=60))}}),s("2w9lS",function(e,r){t(e.exports,"default",()=>n);var n=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/}),s("chc5U",function(r,n){t(r.exports,"default",()=>a);function a(t,r,n,a){var i=e(o("3ZYbY"))(a);return i.timeZone=r,i.originalDate=t,(0,o("36Ugw").default)((0,o("av4S1").default)(t,r),n,i)}}),s("av4S1",function(e,r){t(e.exports,"default",()=>a);var n=o("7wK3A");function a(e,t,r){var a=(0,o("1pymE").default)(e,r),i=(0,n.default)(t,a,!0),s=new Date(a.getTime()-i),l=new Date(0);return l.setFullYear(s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()),l.setHours(s.getUTCHours(),s.getUTCMinutes(),s.getUTCSeconds(),s.getUTCMilliseconds()),l}}),s("6FnLX",function(e,r){t(e.exports,"default",()=>a);var n=o("7wK3A");function a(e,t){return-(0,n.default)(e,t)}}),s("h0Icr",function(r,n){t(r.exports,"default",()=>l);var a=o("2w9lS"),i=o("7wK3A"),s=o("lQVOK");function l(t,r,n){if("string"==typeof t&&!t.match(a.default)){var l=e(o("3ZYbY"))(n);return l.timeZone=r,(0,o("1pymE").default)(t,l)}var c=(0,o("1pymE").default)(t,n),u=(0,s.default)(c.getFullYear(),c.getMonth(),c.getDate(),c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds()).getTime(),d=(0,i.default)(r,new Date(u));return new Date(u+d)}}),s("4aWLY",function(r,n){t(r.exports,"default",()=>s);var a=o("euxye");function i({id:t="@jira/platform__utils-app-base::unknown-app",packageName:r="@jira/platform__utils-app-base",teamName:n,fallback:s="flag",store:l,children:c}){let u=c;return l&&(u=e(a).createElement(o("kwMul").Provider,{store:l},u)),e(a).createElement(o("h8QGu").JSErrorBoundary,{id:t,teamName:n,fallback:s,packageName:r},u)}i.displayName="AppBase";var s=i}),s("h8QGu",function(r,n){t(r.exports,"JSErrorBoundary",()=>l);var a=o("euxye");let i=()=>null,s={},l=({id:t,packageName:r,teamName:n,fallback:l="page",children:c,attributes:u,sendToPrivacyUnsafeSplunk:d,onError:p,extraEventData:g=s,...f})=>{let m=(0,a.useCallback)(({error:i})=>e(a).createElement(o("8xoxE").ErrorFlagRenderer,{id:t,error:i,packageName:r,teamName:n}),[t,r,n]),h=(0,a.useCallback)(({error:i})=>e(a).createElement(o("g7inT").JSErrorPageAsync,{error:i,id:t,packageName:r,teamName:n}),[n,r,t]),_=(0,a.useRef)(p);_.current=p;let E=(0,a.useCallback)((e,t,r)=>{_.current?.(e,t,r)},[]),v="function"==typeof l?"custom":l;return e(a).createElement(o("cCE2Z").default,{id:t,packageName:r,teamName:n,render:((e,t,r)=>{switch(e){case"page":return r;case"flag":return t;case"unmount":return i;default:return e}})(l,m,h),onError:E,extraEventData:g,...f},e(a).createElement(o("dCJKF").ReportErrors,{id:t,packageName:r,teamName:n,attributes:u,sendToPrivacyUnsafeSplunk:d,fallbackType:(0,o("i860n").fg)("jserrorboundary_analytics_update")?v:void 0},c))};l.displayName="JSErrorBoundary"}),s("dCJKF",function(r,n){t(r.exports,"ReportErrors",()=>s);var a=o("euxye");class i extends a.Component{componentDidCatch(e,t){let{packageName:r,teamName:n,id:a,attributes:i,createAnalyticsEvent:s,sendToPrivacyUnsafeSplunk:l,ufoLabelStack:c,fallbackType:u}=this.props,d=s({action:"failed"});throw(0,o("hFtK7").fireErrorAnalytics)({event:d,errorInfo:t,error:e,meta:{id:a,packageName:r,teamName:n},attributes:"function"==typeof i?i(e):i,sendToPrivacyUnsafeSplunk:l,view:(e=>{if((0,o("i860n").fg)("jserrorboundary_analytics_update"))return e?.find(e=>(0,o("hFtK7").isViewSupported)(e.name))?.name;let t=e?.find(e=>o("hFtK7").VIEW_WHITELIST.has(e.name));return t?.name})(c),fallbackType:(0,o("i860n").fg)("jserrorboundary_analytics_update")?u:void 0}),e}render(){return this.props.children}}i.displayName="CatchAndReportErrors";let s=t=>{let r=(0,o("4FR7Y").useInteractionContext)(),{createAnalyticsEvent:n}=(0,o("inMxE").useAnalyticsEvents)();return e(a).createElement(i,{...t,createAnalyticsEvent:n,ufoLabelStack:r?.labelStack})};s.displayName="ReportErrors"}),s("g7inT",function(r,n){t(r.exports,"JSErrorPageAsync",()=>s);var a=o("euxye");let i=(0,o("l8G1z").lazy)(()=>o("bxJGz").then(e=>e.JSErrorPage),{moduleId:"./src/packages/platform/js-error-page/src/JSErrorPage.tsx"}),s=t=>e(a).createElement(o("a8EUd").default,{name:"async-js-error-page",fallback:null},e(a).createElement(i,t));s.displayName="JSErrorPageAsync"}),s("a8EUd",function(r,n){t(r.exports,"default",()=>l),t(r.exports,"PlaceholderWithNativeSuspense",()=>c),t(r.exports,"ConditionalPlaceholderWithNativeSuspense",()=>u);var a=o("euxye");function i({name:e}){let t=(0,a.useContext)(o("4FR7Y").default),r=(0,a.useContext)(o("8tMC2").WaitContext),n=e?.replaceAll("/","_");return(0,o("aEpnN").default)(()=>{let e=!r||!!r.currentValue();if(null!=t&&e)return t.hold(n)},[t,n,r]),null}function s({name:t,children:r,fallback:n}){let l=(0,o("5ARAC").useOwnershipMarkerComponent)({markerType:"placeholder",name:t});return e(a).createElement(l,null,e(a).createElement(o("6x5Yw").LazySuspense,{fallback:e(a).createElement(e(a).Fragment,null,null!=n?n:null,e(a).createElement(i,{name:t})),name:t},null!=r?r:null))}i.displayName="Hold",s.displayName="RLLPlaceholder";var l=(0,o("aWliK").componentWithCondition)(()=>(0,o("TTcqD").useIsHydrateRenderMode)(),o("deTZV").SuspensePlaceholder,s);let c=o("deTZV").SuspensePlaceholder;function u({name:t,condition:r,children:n,fallback:i}){let[o]=(0,a.useState)(r);return o?e(a).createElement(c,{name:t,fallback:i},n):e(a).createElement(e(a).Fragment,null,n)}u.displayName="ConditionalPlaceholderWithNativeSuspense"}),s("TTcqD",function(e,r){t(e.exports,"useIsHydrateRenderMode",()=>i),t(e.exports,"useSsrPlaceholders",()=>s),t(e.exports,"setIsHydrationRenderMode",()=>l),t(e.exports,"reportHydrationEnd",()=>c),t(e.exports,"getIsHydrationInProgress",()=>u);let n={renderMode:"createRoot"},a=Object.freeze(n);(0,o("gXtG2").autoBeforeEachTest)(()=>{a=n});let i=()=>"hydrateRoot"===a.renderMode,s=()=>"hydrateRoot"!==a.renderMode||!(0,o("i860n").fg)("jfp-magma-data-ssr-placeholder-retain"),l=()=>{a={renderMode:"hydrateRoot",isComplete:!1}},c=()=>{"hydrateRoot"===a.renderMode&&(a.isComplete=!0)},u=()=>"hydrateRoot"===a.renderMode&&!a.isComplete}),s("aEpnN",function(e,r){t(e.exports,"default",()=>n);var n=o("euxye").useLayoutEffect}),s("aWliK",function(r,n){t(r.exports,"componentWithCondition",()=>i);var a=o("euxye");function i(t,r,n){let i=(0,a.forwardRef)((i,s)=>((0,o("1uH7N").di)(n,r),t()?e(a).createElement(r,{...i,ref:s}):e(a).createElement(n,{...i,ref:s})));return""!==r.name&&(i.displayName=`ComponentWithCondition[${t.name}]`),i}}),s("deTZV",function(r,n){t(r.exports,"SuspensePlaceholder",()=>l);var a=o("euxye");let i=({fallback:t,fallbackRender:r,children:n,childrenRender:i})=>e(a).createElement(a.Suspense,{fallback:e(a).createElement(e(a).Fragment,null,t,r)},n,i);i.displayName="SuspenseWrapper";let s=(0,a.memo)(i,(e,t)=>!t.unlocked||t.fallback===e.fallback&&t.children===e.children),l=({name:t,children:r,fallback:n})=>{let[i,l,c]=(0,o("48XUH").useSwitchControl)(t),u=(0,a.useCallback)(()=>"children"!==l.current,[l]);(0,o("6hiHV").useHold)(t,"children"!==i,u);let d=!!i;(0,o("aLkSN").useHydrationSubtreeCompleter)({isSubtreeRendered:d,name:t});let p=(0,o("5ARAC").useOwnershipMarkerComponent)({markerType:"placeholder",name:t});return e(a).createElement(p,null,e(a).createElement(s,{fallback:n,fallbackRender:c.fallback,childrenRender:c.children,unlocked:d||!(0,o("TTcqD").getIsHydrationInProgress)()},r))};l.displayName="SuspensePlaceholder"}),s("aLkSN",function(e,r){t(e.exports,"useHydrationSubtreeCompleter",()=>a);var n=o("euxye");let a=({isSubtreeRendered:e,name:t})=>{let r=(0,n.useId)(),[a]=(0,n.useState)(t),{addPendingSubtree:i,completePendingSubtree:s}=(0,o("5XU1N").useGlobalHydrationActions)(),l=(0,n.useContext)(o("8tMC2").WaitContext);return(0,n.useEffect)(()=>{l?.currentValue()!==0&&(e?s(r):i(r,a))},[e,r,a,s,i,l]),(0,n.useEffect)(()=>()=>{s(r)},[r,s]),r}}),s("5XU1N",function(e,r){t(e.exports,"getIsGlobalTimedOut",()=>a),t(e.exports,"useIsGlobalHydrationComplete",()=>d),t(e.exports,"useGlobalHydrationActions",()=>p);let n={pendingIds:{},globalTimedOut:!1},a=()=>n.globalTimedOut,i=null,s=e=>{null!=i&&i(),i=e()},l=null;(0,o("gXtG2").autoBeforeEachTest)(()=>{n={pendingIds:{},globalTimedOut:!1},i?.(),i=null,l?.(),l=null});let c={addPendingSubtree:(e,t)=>({getState:r,setState:a,dispatch:i})=>{if(!(0,o("TTcqD").getIsHydrationInProgress)())return;if(null==l){let e=setTimeout(()=>{n.globalTimedOut=!0,i(c.complete())},3e4);l=()=>clearTimeout(e)}let u=r().pendingIds;if(!Object.hasOwn(u,e)){let r={...u,[e]:t};a({pendingIds:r}),n.pendingIds=r,s(()=>{let e=setTimeout(()=>{i(c.complete())},5e3);return()=>clearTimeout(e)})}},completePendingSubtree:e=>({getState:t,setState:r,dispatch:a})=>{if(!(0,o("TTcqD").getIsHydrationInProgress)())return;let i={...t().pendingIds};delete i[e],r({pendingIds:i}),n.pendingIds=i,0===Object.keys(i).length&&s(()=>(0,o("9uN8d").callWhenIdleWithTimeout)(()=>{a(c.complete())}))},complete:()=>({setState:e})=>{(0,o("TTcqD").getIsHydrationInProgress)()&&((0,o("TTcqD").reportHydrationEnd)(),e({isComplete:!0}),i?.(),l?.(),globalThis.window&&globalThis.window.dispatchEvent(new CustomEvent("jira:hydration-complete")))}},u=(0,o("5QDqc").createStore)({name:"hydration-global-completion",initialState:()=>({isComplete:!1,pendingIds:{}}),actions:c}),d=(0,o("3h1FP").createStateHook)(u,{selector:({isComplete:e})=>e}),p=(0,o("3h1FP").createActionsHook)(u)}),s("9uN8d",function(e,r){t(e.exports,"callWhenIdleWithTimeout",()=>n);let n=e=>{if("u">typeof window&&"function"==typeof window.requestIdleCallback){let t=window.requestIdleCallback(e,{timeout:5e3});return()=>cancelIdleCallback(t)}let t=setTimeout(e,2e3);return()=>{clearTimeout(t)}}}),s("48XUH",function(r,n){t(r.exports,"useSwitchControl",()=>s);var a=o("euxye");let i=({cb:e,location:t})=>((0,o("aEpnN").default)(()=>{e(t)},[e,t]),null);i.displayName="ReportLocation";let s=t=>{let r=(0,a.useRef)(void 0),[n,o]=(0,a.useState)(void 0),s=(0,a.useCallback)(e=>{r.current=e,o(e)},[]);return[n,r,(0,a.useMemo)(()=>({fallback:e(a).createElement(i,{key:"unfreeze",cb:s,location:"fallback"}),children:e(a).createElement(i,{key:"unfreeze",cb:s,location:"children"})}),[s])]}}),s("6hiHV",function(e,r){t(e.exports,"useHold",()=>i);var n=o("euxye");let a=()=>!0,i=(e,t,r=a)=>{let i=(0,n.useContext)(o("4FR7Y").default),s=(0,n.useContext)(o("8tMC2").WaitContext);(0,o("aEpnN").default)(()=>{if(!t||!r())return;let n=!s||!!s.currentValue();if(null!=i&&n)return i.hold(e)},[i,e,s,t,r])}}),s("bxJGz",function(e,t){var r=o("4cvLQ");e.exports=Promise.all([r("hc93Z"),r("4Smn9"),r("iZe2c"),r("cu5IN")]).then(()=>o("5UBut"))}),s("4cvLQ",function(e,t){e.exports=function(e){return import(o("96thM").resolve(e))}}),s("96thM",function(e,r){t(e.exports,"register",()=>n,e=>n=e),t(e.exports,"resolve",()=>a,e=>a=e);var n,a,i=new Map;n=function(e,t){for(var r=0;rs),t(r.exports,"ErrorBoundaryFlag",()=>c);var a=o("euxye");let i=(0,o("l8G1z").lazy)(()=>o("jabq1").then(e=>e.ErrorFlagManager),{moduleId:"./src/packages/platform/error-flag-renderer/src/ErrorFlagManager.tsx"}),s=({id:t,error:r,packageName:n,teamName:s})=>((0,o("kKbVr").useReportTerminalError)(r,{teamName:s,packageName:n,errorBoundaryId:t,fallbackType:"flag",errorHash:r?(0,o("eXdAp").getErrorHash)(r):void 0}),e(a).createElement(o("cCE2Z").default,{id:t,packageName:n??"jiraErrorBoundary",teamName:s},e(a).createElement(o("dCJKF").ReportErrors,{id:t,packageName:n??"jiraErrorBoundary",teamName:s},e(a).createElement(o("a8EUd").default,{name:"async-error-flag-renderer",fallback:null},e(a).createElement(i,{id:t,error:r})))));s.displayName="ErrorFlagRenderer";let l={},c=({children:t,extraEventData:r=l,id:n,packageName:i,teamName:c,withExperienceTracker:u})=>{let d=(0,a.useCallback)(({error:t})=>e(a).createElement(s,{id:"error-boundary",error:t,packageName:i,teamName:c}),[i,c]);return e(a).createElement(o("cCE2Z").default,{extraEventData:r,id:n,packageName:i,teamName:c,withExperienceTracker:u,render:d},t)};c.displayName="ErrorBoundaryFlag"}),s("jabq1",function(e,t){var r=o("4cvLQ");e.exports=Promise.all([r("hc93Z"),r("4Smn9"),r("iZe2c"),r("5mDdu")]).then(()=>o("lvy9k"))}),s("fDxFn",function(r,n){t(r.exports,"default",()=>i);var a=o("fcq2N"),i=(()=>{try{return window.performance.clearResourceTimings&&(window.performance.clearResourceTimings=e(a)),window.performance}catch(t){return{now:()=>0,mark:e(a),clearMarks:e(a),clearResourceTimings:e(a),getEntriesByType:e=>[],getEntriesByName:e=>[],measure:(e,t,r)=>{}}}})()}),s("6xuJS",function(e,r){t(e.exports,"getMark",()=>n),t(e.exports,"setMark",()=>a),t(e.exports,"setMeasure",()=>i),t(e.exports,"measureFunc",()=>s);let n=e=>{if(!o("fDxFn").default.getEntriesByName)return null;let t=o("fDxFn").default.getEntriesByName(e)||[];return t.length>0?t[0]:null},a=(e,t)=>{if(!o("fDxFn").default.mark)return;let r=o("fDxFn").default.mark(e,t);return console.timeStamp&&console.timeStamp(e),r},i=(e,t,r)=>{try{return o("fDxFn").default.measure(e,t,r)}catch(e){}};function s(e,t){a(`${e}:start`);let r=t();return a(`${e}:end`),i(e,`${e}:start`,`${e}:end`),r}}),s("9UMsa",function(e,r){t(e.exports,"addExtensionMethods",()=>n);function n(){(0,o("iCMnl").addTracingExtensions)(),(0,o("2z1qP").isNodeEnv)()&&function(){let t=(0,o("84Maa").getMainCarrier)();if(!t.__SENTRY__)return;let r={mongodb:()=>new((0,o("2z1qP").dynamicRequire)(e,"./node/integrations/mongo")).Mongo,mongoose:()=>new((0,o("2z1qP").dynamicRequire)(e,"./node/integrations/mongo")).Mongo,mysql:()=>new((0,o("2z1qP").dynamicRequire)(e,"./node/integrations/mysql")).Mysql,pg:()=>new((0,o("2z1qP").dynamicRequire)(e,"./node/integrations/postgres")).Postgres},n=Object.keys(r).filter(e=>!!(0,o("2z1qP").loadModule)(e)).map(e=>{try{return r[e]()}catch(e){return}}).filter(e=>e);n.length>0&&(t.__SENTRY__.integrations=[...t.__SENTRY__.integrations||[],...n])}()}}),s("2z1qP",function(e,r){t(e.exports,"isNodeEnv",()=>a),t(e.exports,"dynamicRequire",()=>i),t(e.exports,"loadModule",()=>s);var n=o("gIMgJ");function a(){return!(0,o("f3FpS").isBrowserBundle)()&&"[object process]"===Object.prototype.toString.call(void 0!==n?n:0)}function i(e,t){return e.require(t)}function s(t){let r;try{r=i(e,t)}catch(e){}try{let{cwd:n}=i(e,"process");r=i(e,`${n()}/node_modules/${t}`)}catch(e){}return r}}),s("2jXVk",function(e,r){t(e.exports,"Apollo",()=>n);class n{static __initStatic(){this.id="Apollo"}constructor(e={useNestjs:!1}){this.name=n.id,this._useNest=!!e.useNestjs}loadDependency(){return this._useNest?this._module=this._module||(0,o("2z1qP").loadModule)("@nestjs/graphql"):this._module=this._module||(0,o("2z1qP").loadModule)("apollo-server-core"),this._module}setupOnce(e,t){if((0,o("1d0lF").shouldDisableAutoInstrumentation)(t)){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("Apollo Integration is skipped because of instrumenter configuration.");return}if(this._useNest){let e=this.loadDependency();if(!e){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("Apollo-NestJS Integration was unable to require @nestjs/graphql package.");return}(0,o("iiQEB").fill)(e.GraphQLFactory.prototype,"mergeWithSchema",function(e){return function(...r){return(0,o("iiQEB").fill)(this.resolversExplorerService,"explore",function(e){return function(){return a((0,o("h7F1u").arrayify)(e.call(this)),t)}}),e.call(this,...r)}})}else{let e=this.loadDependency();if(!e){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("Apollo Integration was unable to require apollo-server-core package.");return}(0,o("iiQEB").fill)(e.ApolloServerBase.prototype,"constructSchema",function(e){return function(){if(!this.config.resolvers)return o("aNUuF").DEBUG_BUILD&&(this.config.schema?(o("7I6pg").logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead."),o("7I6pg").logger.warn()):this.config.modules&&o("7I6pg").logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),o("7I6pg").logger.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),e.call(this);let r=(0,o("h7F1u").arrayify)(this.config.resolvers);return this.config.resolvers=a(r,t),e.call(this)}})}}}function a(e,t){return e.map(e=>(Object.keys(e).forEach(r=>{Object.keys(e[r]).forEach(n=>{var a,i,s,l;"function"==typeof e[r][n]&&(a=e,i=r,s=n,l=t,(0,o("iiQEB").fill)(a[i],s,function(e){return function(...t){let r=l().getScope().getSpan(),n=(0,o("867Yq")._optionalChain)([r,"optionalAccess",e=>e.startChild,"call",e=>e({description:`${i}.${s}`,op:"graphql.resolve",origin:"auto.graphql.apollo"})]),a=e.call(this,...t);return(0,o("9r1pX").isThenable)(a)?a.then(e=>((0,o("867Yq")._optionalChain)([n,"optionalAccess",e=>e.end,"call",e=>e()]),e)):((0,o("867Yq")._optionalChain)([n,"optionalAccess",e=>e.end,"call",e=>e()]),a)}}))})}),e))}n.__initStatic()}),s("1d0lF",function(e,r){t(e.exports,"shouldDisableAutoInstrumentation",()=>n);function n(e){let t=(0,o("867Yq")._optionalChain)([e,"call",e=>e(),"access",e=>e.getClient,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);return"sentry"!==((0,o("867Yq")._optionalChain)([t,"optionalAccess",e=>e.instrumenter])||"sentry")}}),s("3WLmJ",function(e,r){t(e.exports,"Express",()=>n);class n{static __initStatic(){this.id="Express"}constructor(e={}){this.name=n.id,this._router=e.router||e.app,this._methods=(Array.isArray(e.methods)?e.methods:[]).concat("use")}setupOnce(e,t){if(!this._router){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("ExpressIntegration is missing an Express instance");return}if((0,o("1d0lF").shouldDisableAutoInstrumentation)(t)){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("Express Integration is skipped because of instrumenter configuration.");return}(function(e,t=[]){t.forEach(t=>{let r;return r=e[t],e[t]=function(...e){return r.call(this,...e.map(e=>"function"==typeof e?a(e,t):Array.isArray(e)?e.map(e=>"function"==typeof e?a(e,t):e):e))},e})})(this._router,this._methods),function(e){let t="settings"in e;t&&void 0===e._router&&e.lazyrouter&&e.lazyrouter();let r=t?e._router:e;if(!r){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.debug("Routing instrumentation is currently only supported in Express 4.");return}let n=Object.getPrototypeOf(r),a=n.process_params;n.process_params=function(e,t,r,n,i){var s,l,c;let u,d,p,g;r._reconstructedRoute||(r._reconstructedRoute="");let{layerRoutePath:f,isRegex:m,isArray:h,numExtraSegments:_}=function(e){var t,r;let n=(0,o("867Yq")._optionalChain)([e,"access",e=>e.route,"optionalAccess",e=>e.path]),a=(0,o("9r1pX").isRegExp)(n),i=Array.isArray(n);if(!n){let[t]=o("hi3E4").GLOBAL_OBJ.process.versions.node.split(".").map(Number);t>=16&&(n=((e,t,r)=>{if(!e||!t||!r||0===Object.keys(r).length||void 0===(0,o("867Yq")._optionalChain)([r,"access",e=>e[0],"optionalAccess",e=>e.offset])||null===(0,o("867Yq")._optionalChain)([r,"access",e=>e[0],"optionalAccess",e=>e.offset]))return;let n=r.sort((e,t)=>e.offset-t.offset),a=RegExp(t,`${t.flags}d`).exec(e);if(!a||!a.indices)return;let[,...i]=a.indices;if(i.length!==n.length)return;let s=e,l=0;return i.forEach((e,t)=>{if(e){let[r,a]=e,i=s.substring(0,r-l),o=`:${n[t].name}`;s=i+o+s.substring(a-l),l+=a-r-o.length}}),s})(e.path,e.regexp,e.keys))}if(!n)return{isRegex:a,isArray:i,numExtraSegments:0};let s=i?Math.max(n.reduce((e,t)=>e+(0,o("rcz3w").getNumberOfUrlSegments)(t.toString()),0)-(0,o("rcz3w").getNumberOfUrlSegments)(e.path||""),0):0;return{layerRoutePath:(t=i,r=n,t?r.map(e=>e.toString()).join(","):r&&r.toString()),isRegex:a,isArray:i,numExtraSegments:s}}(e);(f||m||h)&&(r._hasParameters=!0);let E=(f||(s=r.originalUrl,l=r._reconstructedRoute,c=e.path,u=(0,o("rcz3w").stripUrlQueryAndFragment)(s||""),d=(0,o("867Yq")._optionalChain)([u,"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e(e=>!!e)]),p=0,g=(0,o("867Yq")._optionalChain)([l,"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e(e=>!!e),"access",e=>e.length])||0,(0,o("867Yq")._optionalChain)([c,"optionalAccess",e=>e.split,"call",e=>e("/"),"access",e=>e.filter,"call",e=>e(e=>(0,o("867Yq")._optionalChain)([d,"optionalAccess",e=>e[g+p]])===e&&(p+=1,!0)),"access",e=>e.join,"call",e=>e("/")])||"")).split("/").filter(e=>e.length>0&&(m||h||!e.includes("*"))).join("/");if(E&&E.length>0&&(r._reconstructedRoute+=`/${E}${m?"/":""}`),(0,o("rcz3w").getNumberOfUrlSegments)((0,o("rcz3w").stripUrlQueryAndFragment)(r.originalUrl||""))+_===(0,o("rcz3w").getNumberOfUrlSegments)(r._reconstructedRoute)){r._hasParameters||r._reconstructedRoute===r.originalUrl||(r._reconstructedRoute=r.originalUrl?(0,o("rcz3w").stripUrlQueryAndFragment)(r.originalUrl):r.originalUrl);let e=n.__sentry_transaction,t=e&&(0,o("ajbYg").spanToJSON)(e).data||{};if(e&&"custom"!==t[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]){let t=r._reconstructedRoute||"/",[n,a]=(0,o("f99Nh").extractPathForTransaction)(r,{path:!0,method:!0,customRoute:t});e.updateName(n),e.setAttribute(o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,a)}}return a.call(this,e,t,r,n,i)}}(this._router)}}function a(e,t){let r=e.length;switch(r){case 2:return function(r,n){let a=n.__sentry_transaction;if(a){let r=a.startChild({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"});n.once("finish",()=>{r.end()})}return e.call(this,r,n)};case 3:return function(r,n,a){let i=n.__sentry_transaction,s=(0,o("867Yq")._optionalChain)([i,"optionalAccess",e=>e.startChild,"call",r=>r({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"})]);e.call(this,r,n,function(...e){(0,o("867Yq")._optionalChain)([s,"optionalAccess",e=>e.end,"call",e=>e()]),a.call(this,...e)})};case 4:return function(r,n,a,i){let s=a.__sentry_transaction,l=(0,o("867Yq")._optionalChain)([s,"optionalAccess",e=>e.startChild,"call",r=>r({description:e.name,op:`middleware.express.${t}`,origin:"auto.middleware.express"})]);e.call(this,r,n,a,function(...e){(0,o("867Yq")._optionalChain)([l,"optionalAccess",e=>e.end,"call",e=>e()]),i.call(this,...e)})};default:throw Error(`Express middleware takes 2-4 arguments. Got: ${r}`)}}n.__initStatic()}),s("f99Nh",function(e,r){t(e.exports,"extractPathForTransaction",()=>n);function n(e,t={}){let r=e.method&&e.method.toUpperCase(),a="",i="url";t.customRoute||e.route?(a=t.customRoute||`${e.baseUrl||""}${e.route&&e.route.path}`,i="route"):(e.originalUrl||e.url)&&(a=(0,o("rcz3w").stripUrlQueryAndFragment)(e.originalUrl||e.url||""));let s="";return t.method&&r&&(s+=r),t.method&&t.path&&(s+=" "),t.path&&a&&(s+=a),[s,i]}}),s("9gdW0",function(e,r){t(e.exports,"parseCookie",()=>n);function n(e){let t={},r=0;for(;rn);class n{static __initStatic(){this.id="GraphQL"}constructor(){this.name=n.id}loadDependency(){return this._module=this._module||(0,o("2z1qP").loadModule)("graphql/execution/execute.js")}setupOnce(e,t){if((0,o("1d0lF").shouldDisableAutoInstrumentation)(t)){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("GraphQL Integration is skipped because of instrumenter configuration.");return}let r=this.loadDependency();if(!r){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("GraphQL Integration was unable to require graphql/execution package.");return}(0,o("iiQEB").fill)(r,"execute",function(e){return function(...r){let n=t().getScope(),a=n.getSpan(),i=(0,o("867Yq")._optionalChain)([a,"optionalAccess",e=>e.startChild,"call",e=>e({description:"execute",op:"graphql.execute",origin:"auto.graphql.graphql"})]);(0,o("867Yq")._optionalChain)([n,"optionalAccess",e=>e.setSpan,"call",e=>e(i)]);let s=e.call(this,...r);return(0,o("9r1pX").isThenable)(s)?s.then(e=>((0,o("867Yq")._optionalChain)([i,"optionalAccess",e=>e.end,"call",e=>e()]),(0,o("867Yq")._optionalChain)([n,"optionalAccess",e=>e.setSpan,"call",e=>e(a)]),e)):((0,o("867Yq")._optionalChain)([i,"optionalAccess",e=>e.end,"call",e=>e()]),(0,o("867Yq")._optionalChain)([n,"optionalAccess",e=>e.setSpan,"call",e=>e(a)]),s)}})}}n.__initStatic()}),s("3AVVQ",function(e,r){t(e.exports,"Mongo",()=>i);let n=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],a={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};class i{static __initStatic(){this.id="Mongo"}constructor(e={}){this.name=i.id,this._operations=Array.isArray(e.operations)?e.operations:n,this._describeOperations=!("describeOperations"in e)||e.describeOperations,this._useMongoose=!!e.useMongoose}loadDependency(){let e=this._useMongoose?"mongoose":"mongodb";return this._module=this._module||(0,o("2z1qP").loadModule)(e)}setupOnce(e,t){if((0,o("1d0lF").shouldDisableAutoInstrumentation)(t)){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("Mongo Integration is skipped because of instrumenter configuration.");return}let r=this.loadDependency();if(!r){let e=this._useMongoose?"mongoose":"mongodb";o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error(`Mongo Integration was unable to require \`${e}\` package.`);return}this._instrumentOperations(r.Collection,this._operations,t)}_instrumentOperations(e,t,r){t.forEach(t=>this._patchOperation(e,t,r))}_patchOperation(e,t,r){if(!(t in e.prototype))return;let n=this._getSpanContextFromOperationArguments.bind(this);(0,o("iiQEB").fill)(e.prototype,t,function(e){return function(...a){let i=a[a.length-1],s=r(),l=s.getScope(),c=s.getClient(),u=l.getSpan(),d=(0,o("867Yq")._optionalChain)([c,"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii]);if("function"!=typeof i||"mapReduce"===t&&2===a.length){let r=(0,o("867Yq")._optionalChain)([u,"optionalAccess",e=>e.startChild,"call",e=>e(n(this,t,a,d))]),i=e.call(this,...a);if((0,o("9r1pX").isThenable)(i))return i.then(e=>((0,o("867Yq")._optionalChain)([r,"optionalAccess",e=>e.end,"call",e=>e()]),e));if(!i||"object"!=typeof i||!i.once||"function"!=typeof i.once)return(0,o("867Yq")._optionalChain)([r,"optionalAccess",e=>e.end,"call",e=>e()]),i;try{i.once("close",()=>{(0,o("867Yq")._optionalChain)([r,"optionalAccess",e=>e.end,"call",e=>e()])})}catch(e){(0,o("867Yq")._optionalChain)([r,"optionalAccess",e=>e.end,"call",e=>e()])}return i}let p=(0,o("867Yq")._optionalChain)([u,"optionalAccess",e=>e.startChild,"call",e=>e(n(this,t,a.slice(0,-1)))]);return e.call(this,...a.slice(0,-1),function(e,t){(0,o("867Yq")._optionalChain)([p,"optionalAccess",e=>e.end,"call",e=>e()]),i(e,t)})}})}_getSpanContextFromOperationArguments(e,t,r,n=!1){let i={"db.system":"mongodb","db.name":e.dbName,"db.operation":t,"db.mongodb.collection":e.collectionName},o={op:"db",origin:"auto.db.mongo",description:t,data:i},s=a[t],l=Array.isArray(this._describeOperations)?this._describeOperations.includes(t):this._describeOperations;if(!s||!l||!n)return o;try{if("mapReduce"===t){let[e,t]=r;i[s[0]]="string"==typeof e?e:e.name||"",i[s[1]]="string"==typeof t?t:t.name||""}else for(let e=0;en);class n{static __initStatic(){this.id="Mysql"}constructor(){this.name=n.id}loadDependency(){return this._module=this._module||(0,o("2z1qP").loadModule)("mysql/lib/Connection.js")}setupOnce(e,t){let r;if((0,o("1d0lF").shouldDisableAutoInstrumentation)(t)){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("Mysql Integration is skipped because of instrumenter configuration.");return}let n=this.loadDependency();if(!n){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("Mysql Integration was unable to require `mysql` package.");return}try{n.prototype.connect=new Proxy(n.prototype.connect,{apply:(e,t,n)=>(r||(r=t.config),e.apply(t,n))})}catch(e){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("Mysql Integration was unable to instrument `mysql` config.")}function a(e){if(!e)return;let t=r?{"server.address":r.host,"server.port":r.port,"db.user":r.user}:{};Object.keys(t).forEach(r=>{e.setAttribute(r,t[r])}),e.end()}(0,o("iiQEB").fill)(n,"createQuery",function(e){return function(r,n,i){let s=t().getScope().getSpan(),l=(0,o("867Yq")._optionalChain)([s,"optionalAccess",e=>e.startChild,"call",e=>e({description:"string"==typeof r?r:r.sql,op:"db",origin:"auto.db.mysql",data:{"db.system":"mysql"}})]);if("function"==typeof i)return e.call(this,r,n,function(e,t,r){a(l),i(e,t,r)});if("function"==typeof n)return e.call(this,r,function(e,t,r){a(l),n(e,t,r)});let c=e.call(this,r,n);return c.on("end",()=>{a(l)}),c}})}}n.__initStatic()}),s("fs0qs",function(e,r){t(e.exports,"Postgres",()=>n);class n{static __initStatic(){this.id="Postgres"}constructor(e={}){this.name=n.id,this._usePgNative=!!e.usePgNative,this._module=e.module}loadDependency(){return this._module=this._module||(0,o("2z1qP").loadModule)("pg")}setupOnce(e,t){if((0,o("1d0lF").shouldDisableAutoInstrumentation)(t)){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.log("Postgres Integration is skipped because of instrumenter configuration.");return}let r=this.loadDependency();if(!r){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("Postgres Integration was unable to require `pg` package.");return}let n=this._usePgNative?(0,o("867Yq")._optionalChain)([r,"access",e=>e.native,"optionalAccess",e=>e.Client]):r.Client;if(!n){o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.error("Postgres Integration was unable to access 'pg-native' bindings.");return}(0,o("iiQEB").fill)(n.prototype,"query",function(e){return function(r,n,a){let i=t().getScope().getSpan(),s={"db.system":"postgresql"};try{this.database&&(s["db.name"]=this.database),this.host&&(s["server.address"]=this.host),this.port&&(s["server.port"]=this.port),this.user&&(s["db.user"]=this.user)}catch(e){}let l=(0,o("867Yq")._optionalChain)([i,"optionalAccess",e=>e.startChild,"call",e=>e({description:"string"==typeof r?r:r.text,op:"db",origin:"auto.db.postgres",data:s})]);if("function"==typeof a)return e.call(this,r,n,function(e,t){(0,o("867Yq")._optionalChain)([l,"optionalAccess",e=>e.end,"call",e=>e()]),a(e,t)});if("function"==typeof n)return e.call(this,r,function(e,t){(0,o("867Yq")._optionalChain)([l,"optionalAccess",e=>e.end,"call",e=>e()]),n(e,t)});let c=void 0!==n?e.call(this,r,n):e.call(this,r);return(0,o("9r1pX").isThenable)(c)?c.then(e=>((0,o("867Yq")._optionalChain)([l,"optionalAccess",e=>e.end,"call",e=>e()]),e)):((0,o("867Yq")._optionalChain)([l,"optionalAccess",e=>e.end,"call",e=>e()]),c)}})}}n.__initStatic()}),s("3HslA",function(e,r){t(e.exports,"Prisma",()=>n);class n{static __initStatic(){this.id="Prisma"}constructor(e={}){var t;if(this.name=n.id,(t=e.client)&&t.$use&&!e.client._sentryInstrumented){(0,o("iiQEB").addNonEnumerableProperty)(e.client,"_sentryInstrumented",!0);let t={};try{let r=e.client._engineConfig;if(r){let{activeProvider:e,clientVersion:n}=r;e&&(t["db.system"]=e),n&&(t["db.prisma.version"]=n)}}catch(e){}e.client.$use((e,r)=>{if((0,o("1d0lF").shouldDisableAutoInstrumentation)(o("84Maa").getCurrentHub))return r(e);let n=e.action,a=e.model;return(0,o("9lKdF").startSpan)({name:a?`${a} ${n}`:n,onlyIfParent:!0,op:"db.prisma",attributes:{[o("2iz3c").SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.prisma"},data:{...t,"db.operation":n}},()=>r(e))})}else o("aNUuF").DEBUG_BUILD&&o("7I6pg").logger.warn("Unsupported Prisma client provided to PrismaIntegration. Provided client:",e.client)}setupOnce(){}}n.__initStatic()}),s("lwmtx",function(e,r){t(e.exports,"ssr",()=>a),t(e.exports,"ssrExtended",()=>i);let n=(0,o("emCaV").default)(()=>{try{let e=(0,o("6bEm8").default)("spa-service-flags");if(null===e)return null;return JSON.parse(e)||null}catch(e){return null}}),a={getDoneMark:o("1sVtJ").getSSRMark,getTimings:o("kX67D").getSSRTimings,getFeatureFlags:n},i={...a,includeFeatureFlags:"when-available"}}),s("1sVtJ",function(e,r){t(e.exports,"getSSRMark",()=>n);let n=()=>(0,o("6xuJS").getMark)(f)?.startTime||null});let f="ssr.spa.rendered";s("kX67D",function(r,n){t(r.exports,"getSSRTimings",()=>i);var a=o("hBj11");let i=()=>{if(!window.SPA_STATE)return null;let t=window.SPA_STATE["ssr/detail_render_trace"],r=window.SPA_STATE["ssr/detail_request_trace"],n=window.SPA_STATE["ssr/metrics"],i=e(a)(t?.data?.traces)||{};return n?.data&&("ssrTotal"in n.data&&(i.total={startTime:0,duration:n.data.ssrTotal}),"ssrGetStyle"in n.data&&(i.styles={startTime:n.data.ssrGetStyle-n.data.ssrGetStyle,duration:n.data.ssrGetStyle}),"ssrPrefetch"in n.data&&(i.prefetch={startTime:Object.values(t?.data?.traces||{}).reduce((e,{startTime:t})=>-1===e||e>t?t:e,-1),duration:n.data.ssrPrefetch})),r?.data&&Object.entries(r.data).forEach(([e,t])=>{i[`prefetch/${e}`]=t}),i}}),s("7bitu",function(e,r){t(e.exports,"initBrowserMetrics3",()=>s);var n=o("euxye");let a=e=>e.includes("/batch.js")||e.includes("/batch.css"),i=e=>a(e)?(e=>{let[,t]=/\/([\w.\-,:]*?)(?:,-|\/batch\.)/.exec(e)||[],r=(0,o("1awbE").sanitiseAssetName)(!1)(e);return t?`wrm/${t}/${r}`:r})(e):(0,o("1awbE").sanitiseAssetName)(!1)(e),s=()=>{(0,o("dANgO").startLSObserver)(),(0,o("dANgO").startLTObserver)();let e={product:"jira",app:{version:{web:window.BUILD_KEY,ssr:window.SSR_BUILD_KEY},framework:{name:"react",version:n.version}},region:(0,o("6bEm8").default)("ajs-region")||"unknown"},t={eventPipelineClient:(0,o("6Kdw4").getAnalyticsWebClientPromise)().then(e=>{let t=e.getInstance();return{sendOperationalEvent:e=>{if("page-load"!==e?.attributes?.properties?.["event:type"])return t.sendOperationalEvent(e)}}})},r={sanitiseEndpoints:o("cBLn7").sanitiseEndpoints,mapResources:i,hasTimingHeaders:e=>e.includes("jira-frontend-branch")||a(e),xhrFilter:e=>e.includes("/rest/greenhopper/")},s={getValue:e=>{}},l={featureFlags:{client:Promise.resolve(s)},resourceTimings:r,bundleEvalTimings:o("fB57Z").bundleEvalTimings};(0,o("6Kdw4").getAnalyticsWebClientPromise)().then(e=>{o("211nO").payloadPublisher.setup({product:"jira",app:{version:{web:window.BUILD_KEY,ssr:window.SSR_BUILD_KEY},framework:{name:"react",version:n.version}},region:(0,o("6bEm8").default)("ajs-region")||"unknown",tenantType:"true"===(0,o("6bEm8").default)("ajs-is-synthetic")?o("4HRn5").TenantType.Synthetic:o("4HRn5").TenantType.RealUser,gasv3:e.getInstance(),bundleEvalTimings:o("fB57Z").bundleEvalTimings,resourceTimings:r,featureFlagClient:s,featureFlags:[...o("jM9B9").featureFlagsAddedToEVERYJiraEvent,...o("4FfW8").jfpPerfFeatureFlags,...o("5QGqk").featureFlagsAddedToEVERYPageLoadEvent],plugins:[o("pabd0").getCustomData,o("cBLn7").getMarks,o("cBLn7").getMemoryMetrics,o("jKrQU").getPageSizeMetrics,o("jKrQU").getExtraNavigationTimings,o("cBLn7").getPageLoadPlugins],ssr:o("lwmtx").ssr,performanceConfig:{histogram:{[o("ipvkO").ExperiencePerformanceTypes.PageLoad]:{initial:{fmp:"2500_3000_3500_4000_5000_6000",tti:"4000_4500_5000_6000_7000_8000_9000"},transition:{fmp:"2500_3000_3500_4000_5000_6000",tti:"2500_3000_3500_4000_5000_6000"}},[o("ipvkO").ExperiencePerformanceTypes.InlineResult]:{result:"100_200_500_1000_1500",response:"50_100_150_200_300_500"},[o("ipvkO").ExperiencePerformanceTypes.Custom]:{duration:"250_500_1000_1500_2000_3000_4000"}}}})}),o("9yf7o").browserMetrics.init({info:e,endpoints:t,plugins:l,events:{all:{featureFlags:[...o("jM9B9").featureFlagsAddedToEVERYJiraEvent,...o("4FfW8").jfpPerfFeatureFlags],plugins:[o("cBLn7").getMarks,o("cBLn7").getMemoryMetrics,o("6rWlk").getLighthouseMetrics,o("pabd0").newGetCustomData]},PAGE_LOAD:{featureFlags:[...o("5QGqk").featureFlagsAddedToEVERYPageLoadEvent],custom:{...(0,o("jKrQU").getPageSizeMetrics)(),...(0,o("jKrQU").getExtraNavigationTimings)()},plugins:(0,o("cBLn7").getPageLoadPlugins)(),histogram:{initial:{fmp:"2500_3000_3500_4000_5000_6000",tti:"4000_4500_5000_6000_7000_8000_9000"},transition:{fmp:"2500_3000_3500_4000_5000_6000",tti:"2500_3000_3500_4000_5000_6000"}}},INLINE_RESULT:{histogram:{result:"100_200_500_1000_1500",response:"50_100_150_200_300_500"}},CUSTOM:{histogram:{duration:"250_500_1000_1500_2000_3000_4000"}},WEB_VITALS:{enabled:"true"===(0,o("6bEm8").default)("ajs-is-synthetic")}},ssr:o("lwmtx").ssrExtended}),o("9yf7o").browserMetrics.startPageLoad({isInitial:!0})}}),s("fB57Z",function(e,r){t(e.exports,"bundleEvalTimings",()=>n);let n={mapPerformanceMark:e=>e.endsWith(o("lhWE3").JS_EVAL_START)?{name:e.substring(0,e.indexOf(o("lhWE3").JS_EVAL_START)),type:"start"}:e.endsWith(o("lhWE3").JS_EVAL_STOP)?{name:e.substring(0,e.indexOf(o("lhWE3").JS_EVAL_STOP)),type:"end"}:null}}),s("pabd0",function(r,n){t(r.exports,"newGetCustomData",()=>s),t(r.exports,"getCustomData",()=>l);var a=o("aUPBc");let i=()=>{let e={},t=(0,o("6bEm8").default)("ajs-shard");null!==t&&""!==t&&(e.shard=t),e["jira:productEditions"]=(0,o("bMqRl").getProductEditions)(),e["network:assetEncoding"]=(0,o("gWfLh").getAssetEncoding)();let r=(0,o("lgfkb").getBuildVariant)();r&&(e["app:buildVariant"]=r);let n=(0,o("kq0hx").getBundlerVersion)();return n&&(e["app:bundlerVersion"]=n),e.httpProtocol=performance.getEntriesByType("resource").find(({nextHopProtocol:e})=>!!e)?.nextHopProtocol??"unknown",e},s=e(a)(i,()=>!0),l=(0,o("emCaV").default)(i)}),s("gWfLh",function(e,r){t(e.exports,"getAssetEncoding",()=>n);let n=()=>{let e=Object.keys(Array.prototype.map.call(document.querySelectorAll("script[data-encoding], link[data-encoding]"),e=>e.getAttribute("data-encoding")).reduce((e,t)=>(e[t]=!0,e),{})).sort(),t="unknown";return 1===e.length&&([t]=e),e.length>1&&(t=`mixed: ${e.toString()}`),t}}),s("lgfkb",function(e,r){t(e.exports,"getBuildVariant",()=>n);let n=()=>window.BUILD_VARIANT}),s("kq0hx",function(e,r){t(e.exports,"getBundlerVersion",()=>n);let n=()=>window.BUNDLER_VERSION}),s("jKrQU",function(e,r){t(e.exports,"getPageSizeMetrics",()=>n),t(e.exports,"getExtraNavigationTimings",()=>a),t(e.exports,"getPageSizeInfo",()=>s);let n=()=>{let e=-1,t=-1,r=0,n=(a=document.body,i=1)=>{if(!a)return;i>e&&(e=i),a.children.length>t&&(t=a.children.length);let o=a.firstElementChild;for(;o;)n(o,i+1),o.shadowRoot&&n(o.shadowRoot,i+1),o=o.nextElementSibling,r+=1};return n(),{totalBodyElements:r,maxNestedLevels:e,maxChildElements:t}},a=()=>{if(!o("fDxFn").default)return{};let e=o("fDxFn").default.getEntriesByType("navigation")[0];return e?{decodedBodySize:e.decodedBodySize,encodedBodySize:e.encodedBodySize,transferSize:e.transferSize}:{}},i=["script","link"],s=({start:e,stop:t})=>{let r=a();if(!r||0===Object.keys(r).length||0===r.decodedBodySize||e>0)return{};let n={total:r.decodedBodySize,pageSize:r.decodedBodySize,assets:0,endpoints:0},s={total:r.encodedBodySize,pageSize:r.encodedBodySize,assets:0,endpoints:0},l={total:r.transferSize,assets:0,endpoints:0};for(let e of o("fDxFn").default.getEntriesByType("resource"))e.startTime>t||(i.includes(e.initiatorType)?(n.total+=e.decodedBodySize,n.assets+=e.decodedBodySize,s.total+=e.encodedBodySize,s.assets+=e.encodedBodySize,l.total+=e.transferSize,l.assets+=e.transferSize):(n.total+=e.decodedBodySize,n.endpoints+=e.decodedBodySize,s.total+=e.encodedBodySize,s.endpoints+=e.encodedBodySize,l.total+=e.transferSize,l.endpoints+=e.transferSize));let c={};return Object.keys(n).forEach(e=>{c[`size:decoded:${e}`]=n[e]}),Object.keys(s).forEach(e=>{c[`size:encoded:${e}`]=s[e]}),Object.keys(l).forEach(e=>{c[`size:net:${e}`]=l[e]}),c}}),s("jM9B9",function(e,r){t(e.exports,"featureFlagsAddedToEVERYJiraEvent",()=>n);let n=[]}),s("5QGqk",function(e,r){t(e.exports,"featureFlagsAddedToEVERYPageLoadEvent",()=>n);let n=[]}),s("cBLn7",function(r,n){t(r.exports,"getPageLoadPlugins",()=>s),t(r.exports,"getMemoryMetrics",()=>l),t(r.exports,"getMarks",()=>c),t(r.exports,"sanitiseEndpoints",()=>u);var a=o("21iIq");let i=RegExp("/rest/graphql/1/|/rest/gira/1/|/gateway/api/graphql|/jsw2/graphql"),s=()=>{let e=[];return e.push(e=>0!==(e?.start||e?.result?.startTime||0)?{}:Object.entries((0,o("eX7KM").getServerDurationMetrics)()).reduce((e,[t,r])=>(e[t]=r,e),{})),e.push(o("lHLb3").getRouterResourceMetrics),e.push(o("4Krsy").getWRMStats),e.push(o("4KGG4").getCacheHitRatio),e.push(o("2pe2G").getCHRInfo),e.push(o("jKrQU").getPageSizeInfo),e},l=()=>{let e={},t=(0,o("2DyVr").getMemoryUsageReport)();return t&&(e.memory=t),e},c=e=>{let t=(0,o("a622V").getUserTiming)();if(null===t)return null;let r={};return t.filter(t=>"mark"===t.type&&!t.name.startsWith("_")&&!t.name.endsWith(o("lhWE3").JS_EVAL_START)&&!t.name.endsWith(o("lhWE3").JS_EVAL_STOP)&&t.startTime>=e.start).forEach(t=>{let n=(({baseName:e,collection:t})=>{let r,n=e,a=2;for(;!r;)n in t?(n=`${e}_${a}`,a+=1):r=n;return r})({baseName:`mark__${t.name.replace(/[\W_]+/g,"_")}`,collection:r});r[n]=Math.round(t.startTime-e.start)}),r},u=t=>{let r=e(a)(t,!0),n=r.pathname.replace(/\/(\w+)-(\d+)\//i,"//").replace(/[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}/gi,"").replace(/\/pq\/[a-fA-F0-9]+/i,"/pq/").replace(/\/\d+$/i,"/");if(i.test(n)){let{operation:e}=r.query;e&&(n+=`?operation=${e}`)}return n}}),s("2DyVr",function(e,r){t(e.exports,"getMemoryUsageReport",()=>a);let n=Date.now(),a=()=>{if("u"n);let n=()=>{let e={};try{let t=document.querySelector('#jira_request_timing_info [title="jira.request.server.time"]');if(t){let r=Number(t.value);r>0&&(e.serverDuration=Math.round(r))}let r=document.querySelector('#jira_request_timing_info [title="jira.request.trace.id"]');r&&(e.serverRequestTraceId=r.value);let n=document.querySelector('#jira_request_timing_info [title="jira.request.sampled"]');if(n)switch(n.value){case"true":e.serverRequestTraceSampled=!0;break;case"false":e.serverRequestTraceSampled=!1;break;default:e.serverRequestTraceSampled=null}let a=document.querySelector('#jira_request_timing_info [name="jira.request.concurrent.requests"]');a&&(e.concurrentRequests=a.value);let i=document.querySelector('#jira_request_timing_info [name="jira.request.start.millis"]');i&&(e.serverRequestStartTime=i.value);let o=document.querySelector('#jira_request_timing_info [name="jira.request.frontend.flush.start"]');o&&(e.frontendFlushStartTime=o.value)}catch(e){}return e}}),s("4KGG4",function(e,r){t(e.exports,"getCacheHitRatio",()=>s);let n=["script","link"],a="network",i=(e,t,r)=>n.includes(e)?(void 0===r||0===r)&&0===t?"memory":0===r&&t>0?"disk":void 0===r?null:a:a,s=({start:e})=>{let t=0,r=0,n=0,a=0;if(0!==e)return{};try{for(let e of o("fDxFn").default.getEntriesByType("resource")){let o=i(e.initiatorType,e.duration,e.transferSize),s="link"===e.initiatorType;("disk"===o||"memory"===o)&&(t+=1,s&&(r+=1)),null!==o&&(n+=1,s&&(a+=1))}let e={};return n>0&&(e.cacheHitRatio=t/n),a>0&&(e.preloadCacheHitRatio=r/a),e}catch(e){return{}}}}),s("2pe2G",function(e,r){t(e.exports,"getCHRInfo",()=>n);let n=({start:e})=>{if(0!==e)return{};let t=(0,o("1sVtJ").getSSRMark)(),r=new(0,o("lW1DP").CHRReporter)(t);try{for(let e of o("fDxFn").default.getEntriesByType("resource"))r.add(e);let e=r.get();return null===e?{}:{chr:e}}catch(e){return{}}}}),s("lW1DP",function(e,r){t(e.exports,"CHRReporter",()=>n);class n{constructor(e){this.preloaded=new(0,o("ftutm").CHRSummary),this.all=new(0,o("ftutm").CHRSummary),this.ssrMark=null,this.ssrMark=e}add(e){0!==e.encodedBodySize&&("link"===e.initiatorType&&o("j1uVX").cacheableTypes.includes(e.initiatorType)&&(null===this.ssrMark||e.startTimen);let n=["script","link"]}),s("ftutm",function(e,r){t(e.exports,"CHRSummary",()=>n);class n{static{this.MEMORY_KEY="mem"}static{this.DISK_KEY="disk"}static{this.NETWORK_KEY="net"}add(e){var t,r,a;let i=(t=e.initiatorType,r=e.duration,a=e.transferSize,o("j1uVX").cacheableTypes.includes(t)?(void 0===a||0===a)&&0===r?n.MEMORY_KEY:0===a&&r>0?n.DISK_KEY:void 0===a?null:n.NETWORK_KEY:null);null!==i&&(this.bundles[i]+=1,this.bundlesCount+=1,this.size[i]+=e.encodedBodySize,this.sizeTotal+=e.encodedBodySize)}constructor(){this.bundles={[n.MEMORY_KEY]:0,[n.DISK_KEY]:0,[n.NETWORK_KEY]:0},this.bundlesCount=0,this.size={[n.MEMORY_KEY]:0,[n.DISK_KEY]:0,[n.NETWORK_KEY]:0},this.sizeTotal=0}}n.displayName="CHRSummary"}),s("lHLb3",function(e,r){t(e.exports,"getRouterResourceMetrics",()=>n);let n=()=>({ssrRouterResourceTimeouts:window.SPA_STATE?Object.keys(window.SPA_STATE).filter(e=>{if(e!==e.toUpperCase())return!1;let t=window.SPA_STATE[e];if("object"!=typeof t)return!1;let r=t[Object.keys(t)[0]];return r?.error?.name==="TimeoutError"}):[]})}),s("4Krsy",function(e,r){t(e.exports,"getWRMStats",()=>n);let n=()=>({wrmStats:window.__WRM_INTERNAL_STATS__??{}})}),s("4FfW8",function(e,r){t(e.exports,"jfpPerfFeatureFlags",()=>n);let n=[]}),s("6rWlk",function(e,r){t(e.exports,"getLighthouseMetrics",()=>n);let n=({start:e,stop:t})=>{let r=(0,o("haWdL").getTBT)(e,t,o("1tJfM").EntriesBuffer[o("zoKQi").PerformanceObserverEntryTypes.LongTask]),n=(0,o("d8z3u").getCLS)(e,t,o("1tJfM").EntriesBuffer[o("zoKQi").PerformanceObserverEntryTypes.LayoutShift]);return{"metric:tbt":Math.round(r.total),"metric:tbt:observed":Math.round(r.observed),"metric:cls":n}}}),s("d8z3u",function(e,r){t(e.exports,"getCLS",()=>n);let n=(e,t,r)=>{let n=r.getAll().filter(r=>r.startTime>=e&&r.startTime<=t),a=[],i=null;for(let e of n){let{startTime:t}=e,r=e.startTime+e.duration,n=e.value;null===i||t-i.endTime>1e3||r-i.startTime>5e3?(i={startTime:t,endTime:r,score:n},a.push(i)):(i.endTime=r,i.score+=n)}return Math.round(1e4*a.reduce((e,t)=>t.score>e?t.score:e,0))/1e4}}),s("zoKQi",function(e,r){t(e.exports,"PerformanceObserverEntryTypes",()=>n);let n={LayoutShift:"layout-shift",LongTask:"longtask"}}),s("haWdL",function(e,r){t(e.exports,"getTBT",()=>n);let n=(e,t,r)=>r.getAll().filter(r=>r.startTime<=t&&r.duration>50&&(r.startTime>=e||r.startTime+r.duration>=e||r.startTime<=e&&r.startTime+r.duration>=t)).reduce((r,n)=>{let a=Math.max(Math.min(n.startTime+n.duration,t)-Math.max(n.startTime+50,e),0);return r.observed+=n.duration-50,r.total+=a,r},{total:0,observed:0})}),s("1tJfM",function(e,r){t(e.exports,"EntriesBuffer",()=>a);class n{constructor(e=1e3){this.buffer=[],this.full=!1,this.maxLength=e}push(e){(this.full||this.maxLength===this.buffer.length)&&(this.full=!0,this.buffer.shift()),this.buffer.push(e)}getAll(){return this.buffer}}n.displayName="BufferWithMaxLength";let a={[o("zoKQi").PerformanceObserverEntryTypes.LongTask]:new n,[o("zoKQi").PerformanceObserverEntryTypes.LayoutShift]:new n}}),s("dANgO",function(e,r){t(e.exports,"startLSObserver",()=>i),t(e.exports,"startLTObserver",()=>s);let n=null,a=()=>null!==n?n:n=new PerformanceObserver(e=>{e.getEntries().forEach(e=>{e.entryType===o("zoKQi").PerformanceObserverEntryTypes.LayoutShift&&o("1tJfM").EntriesBuffer[o("zoKQi").PerformanceObserverEntryTypes.LayoutShift].push(e),e.entryType===o("zoKQi").PerformanceObserverEntryTypes.LongTask&&o("1tJfM").EntriesBuffer[o("zoKQi").PerformanceObserverEntryTypes.LongTask].push(e)})}),i=()=>{a().observe({type:o("zoKQi").PerformanceObserverEntryTypes.LayoutShift,buffered:!0})},s=()=>{a().observe({type:o("zoKQi").PerformanceObserverEntryTypes.LongTask,buffered:!0})}}),r.rlb("f15cT"); try{performance.mark("shared~commons~ar.js:eval-stop")}catch(e){} //# sourceMappingURL=https://jira-fe.prod-east.frontend.public.atl-paas.net/assets/shared~commons~ar.78894615.js.map