1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,208460,e=>{"use strict";var t=e.i(410544),n=e.i(899619),r=e.i(451048),i=e.i(387395),a=e.i(275885),s=e.i(530011);let o=t.GLOBAL_OBJ,l=0;function c(){return l>0}function u(){let e=(0,s.getLocationHref)(),{referrer:t}=o.document||{},{userAgent:n}=o.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}e.s(["WINDOW",()=>o,"getHttpRequestData",()=>u,"shouldIgnoreOnError",()=>c,"wrap",()=>function e(t,s={}){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,n.getOriginalFunction)(t))return t}catch{return t}let o=function(...n){try{let r=n.map(t=>e(t,s));return t.apply(this,r)}catch(e){throw l++,setTimeout(()=>{l--}),(0,r.withScope)(t=>{t.addEventProcessor(e=>(s.mechanism&&((0,i.addExceptionTypeValue)(e,void 0,void 0),(0,i.addExceptionMechanism)(e,s.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,a.captureException)(e)}),e}};try{for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=t[e])}catch{}(0,n.markFunctionWrapped)(o,t),(0,n.addNonEnumerableProperty)(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:()=>t.name})}catch{}return o}])},333226,e=>{"use strict";var t=e.i(254402),n=e.i(893859);class r{constructor(e={}){this._traceId=e.traceId||(0,t.generateTraceId)(),this._spanId=e.spanId||(0,t.generateSpanId)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:n.TRACE_FLAG_NONE}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}e.s(["SentryNonRecordingSpan",()=>r])},347907,357082,e=>{"use strict";var t=e.i(540735),n=e.i(111053),r=e.i(931140),i=e.i(878174),a=e.i(410544);function s(e,t=[]){return[e,t]}function o(e,t){let[n,r]=e;return[n,[...r,t]]}function l(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function c(e,t){return l(e,(e,n)=>t.includes(n))}function u(e){let t=(0,r.getSentryCarrier)(a.GLOBAL_OBJ);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function d(e){let[t,n]=e,r=JSON.stringify(t);function a(e){"string"==typeof r?r="string"==typeof e?r+e:[u(r),e]:r.push("string"==typeof e?u(e):e)}for(let e of n){let[t,n]=e;if(a(` 2${JSON.stringify(t)} 3`),"string"==typeof n||n instanceof Uint8Array)a(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify((0,i.normalize)(n))}a(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}function p(e){let t="string"==typeof e?u(e):e;function n(e){let n=t.subarray(0,e);return t=t.subarray(e+1),n}function i(){var e;let i,s=t.indexOf(10);return s<0&&(s=t.length),JSON.parse((e=n(s),(i=(0,r.getSentryCarrier)(a.GLOBAL_OBJ)).decodePolyfill?i.decodePolyfill(e):new TextDecoder().decode(e)))}let s=i(),o=[];for(;t.length;){let e=i(),t="number"==typeof e.length?e.length:void 0;o.push([e,t?n(t):i()])}return[s,o]}function h(e){return[{type:"span"},e]}function m(e){let t="string"==typeof e.data?u(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}let f={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function g(e){return f[e]}function _(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function S(e,t,r,i){let a=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&i&&{dsn:(0,n.dsnToString)(i)},...a&&{trace:a}}}e.s(["addItemToEnvelope",()=>o,"createAttachmentEnvelopeItem",()=>m,"createEnvelope",()=>s,"createEventEnvelopeHeaders",()=>S,"createSpanEnvelopeItem",()=>h,"envelopeContainsItemType",()=>c,"envelopeItemTypeToDataCategory",()=>g,"forEachEnvelopeItem",()=>l,"getSdkMetadataForEnvelopeHeader",()=>_,"parseEnvelope",()=>p,"serializeEnvelope",()=>d],357082);var y=e.i(893859);function E(e,t,r,i){let a=_(r);return s({sent_at:new Date().toISOString(),...a&&{sdk:a},...!!i&&t&&{dsn:(0,n.dsnToString)(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}function v(e,t,n,r){var i;let a=_(n),o=e.type&&"replay_event"!==e.type?e.type:"event";(i=n?.sdk)&&(e.sdk=e.sdk||{}
3,e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let l=S(e,a,r,t);return delete e.sdkProcessingMetadata,s(l,[[{type:o},e]])}function T(e,r){let i=(0,t.getDynamicSamplingContextFromSpan)(e[0]),a=r?.getDsn(),o=r?.getOptions().tunnel,l={sent_at:new Date().toISOString(),...!!i.trace_id&&!!i.public_key&&{trace:i},...!!o&&a&&{dsn:(0,n.dsnToString)(a)}},c=r?.getOptions().beforeSendSpan,u=c?e=>{let t=(0,y.spanToJSON)(e),n=c(t);return n||((0,y.showSpanDropWarning)(),t)}:y.spanToJSON,d=[];for(let t of e){let e=u(t);e&&d.push(h(e))}return s(l,d)}e.s(["createEventEnvelope",()=>v,"createSessionEnvelope",()=>E,"createSpanEnvelope",()=>T],347907)},464735,190225,742429,908817,e=>{"use strict";var t=e.i(451048),n=e.i(664660),r=e.i(63104),i=e.i(182021),a=e.i(359546),s=e.i(266361),o=e.i(893859),l=e.i(847378),c=e.i(540735),u=e.i(333226),d=e.i(347907),p=e.i(254402);function h(e,t,a,s=(0,o.getActiveSpan)()){let l=s&&(0,o.getRootSpan)(s);l&&(n.DEBUG_BUILD&&i.debug.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${a}`),l.addEvent(e,{[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t,[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:a}))}function m(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},i=n[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],a=n[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof i&&"number"==typeof a&&(t[e.name]={value:a,unit:i})}),t}e.s(["setMeasurement",()=>h,"timedEventsToMeasurements",()=>m],190225);var f=e.i(22511);class g{constructor(e={}){this._traceId=e.traceId||(0,p.generateTraceId)(),this._spanId=e.spanId||(0,p.generateSpanId)(),this._startTime=e.startTimestamp||(0,l.timestampInSeconds)(),this._links=e.links,this._attributes={},this.setAttributes({[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?o.TRACE_FLAG_SAMPLED:o.TRACE_FLAG_NONE}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,o.spanTimeInputToSeconds)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(e){this._endTime||(this._endTime=(0,o.spanTimeInputToSeconds)(e),function(e){if(!n.DEBUG_BUILD)return;let{description:t="< unknown name >",op:r="< unknown op >"}=(0,o.spanToJSON)(e),{spanId:a}=e.spanContext(),s=(0,o.getRootSpan)(e)===e,l=`[Tracing] Finishing "${r}" ${s?"root ":""}span "${t}" with ID ${a}`;i.debug.log(l)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[r.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,o.getStatusMessage)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[r.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:m(this._events),is_segment:this._isStandaloneSpan&&(0,o.getRootSpan)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,o.getRootSpan)(this).spanContext().spanId:void 0,links:(0,o.convertSpanLinksForEnvelope)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){n.DEBUG_BUILD&&i.debug.log("[Tracing] Adding an event to span:",e);let a=_(t)?t:r||(0,l.timestampInSeconds)(),s=_(t)?{}:t||{},c={name:e,time:(0,o.spanTimeInputToSeconds)(a),attributes:s};return this._events.push(c),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,t.getClient)();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,o.getRootSpan)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let n=(0,t.getClient)();if(!n)return;let r=e[1];r&&0!==r.length?n.sendEnvelope(e):n.recordDroppedEvent("before_send","span")}((0,d.createSpanEnvelope)([this],e)):(n.DEBUG_BUILD&&i.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));let r=this._convertSpanToTransaction();r&&((0,f.getCapturedScopesOnSpan)(this).scope||(0,t.getCurrentScope)()).captureEvent(r)}_convertSpanToTransaction(){if(!S((0,o.spanToJSON)(this)))return;this._name||(n.DEBUG_BUILD&&i.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=(0,f.getCapturedScopesOnSpan)(this),a=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let s=(0,o.getSpanDescendants)(this).filter(e=>{var t;return e!==this&&!((t=e)instanceof g&&t.isStandaloneSpan())}).map(e=>(0,o.spanToJSON)(e)).filter(S),l=this._attributes[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[r.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],s.forEac
3h(e=>{delete e.data[r.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]});let u={contexts:{trace:(0,o.spanToTransactionTraceContext)(this)},spans:s.length>1e3?s.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):s,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,c.getDynamicSamplingContextFromSpan)(this)},request:a,...l&&{transaction_info:{source:l}}},d=m(this._events);return d&&Object.keys(d).length&&(n.DEBUG_BUILD&&i.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(d,void 0,2)),u.measurements=d),u}}function _(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function S(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}var y=e.i(442044),E=e.i(414697),v=e.i(931140),T=e.i(914046);function I(e,t,n=()=>{}){var r,i,a;let s;try{s=e()}catch(e){throw t(e),n(),e}return r=s,i=t,a=n,(0,T.isThenable)(r)?r.then(e=>(a(),e),e=>{throw i(e),a(),e}):(a(),r)}e.s(["handleCallbackErrors",()=>I],742429);var b=e.i(958927),R=e.i(76357);let N="__SENTRY_SUPPRESS_TRACING__";function w(e,n){let r=U();if(r.startSpan)return r.startSpan(e,n);let i=L(e),{forceTransaction:a,parentSpan:l,scope:c}=e,d=c?.clone();return(0,t.withScope)(d,()=>F(l)(()=>{let r=(0,t.getCurrentScope)(),c=B(r,l),d=e.onlyIfParent&&!c?new u.SentryNonRecordingSpan:x({parentSpan:c,spanArguments:i,forceTransaction:a,scope:r});return(0,s._setSpanForScope)(r,d),I(()=>n(d),()=>{let{status:e}=(0,o.spanToJSON)(d);d.isRecording()&&(!e||"ok"===e)&&d.setStatus({code:y.SPAN_STATUS_ERROR,message:"internal_error"})},()=>{d.end()})}))}function C(e,n){let r=U();if(r.startSpanManual)return r.startSpanManual(e,n);let i=L(e),{forceTransaction:a,parentSpan:l,scope:c}=e,d=c?.clone();return(0,t.withScope)(d,()=>F(l)(()=>{let r=(0,t.getCurrentScope)(),c=B(r,l),d=e.onlyIfParent&&!c?new u.SentryNonRecordingSpan:x({parentSpan:c,spanArguments:i,forceTransaction:a,scope:r});return(0,s._setSpanForScope)(r,d),I(()=>n(d,()=>d.end()),()=>{let{status:e}=(0,o.spanToJSON)(d);d.isRecording()&&(!e||"ok"===e)&&d.setStatus({code:y.SPAN_STATUS_ERROR,message:"internal_error"})})}))}function A(e){let n=U();if(n.startInactiveSpan)return n.startInactiveSpan(e);let r=L(e),{forceTransaction:i,parentSpan:a}=e;return(e.scope?n=>(0,t.withScope)(e.scope,n):void 0!==a?e=>k(a,e):e=>e())(()=>{let n=(0,t.getCurrentScope)(),s=B(n,a);return e.onlyIfParent&&!s?new u.SentryNonRecordingSpan:x({parentSpan:s,spanArguments:r,forceTransaction:i,scope:n})})}let O=(e,n)=>{let r=(0,v.getMainCarrier)(),i=(0,E.getAsyncContextStrategy)(r);if(i.continueTrace)return i.continueTrace(e,n);let{sentryTrace:a,baggage:s}=e;return(0,t.withScope)(e=>{let t=(0,R.propagationContextFromHeaders)(a,s);return e.setPropagationContext(t),n()})};function k(e,n){let r=U();return r.withActiveSpan?r.withActiveSpan(e,n):(0,t.withScope)(t=>((0,s._setSpanForScope)(t,e||void 0),n(t)))}function D(e){let n=U();return n.suppressTracing?n.suppressTracing(e):(0,t.withScope)(t=>{t.setSDKProcessingMetadata({[N]:!0});let n=e();return t.setSDKProcessingMetadata({[N]:void 0}),n})}function M(e){return(0,t.withScope)(t=>(t.setPropagationContext({traceId:(0,p.generateTraceId)(),sampleRand:Math.random()}),n.DEBUG_BUILD&&i.debug.log(`Starting a new trace with id ${t.getPropagationContext().traceId}`),k(null,e)))}function x({parentSpan:e,spanArguments:r,forceTransaction:s,scope:l}){let d;if(!(0,a.hasSpansEnabled)()){let t=new u.SentryNonRecordingSpan;if(s||!e){let e={sampled:"false",sample_rate:"0",transaction:r.name,...(0,c.getDynamicSamplingContextFromSpan)(t)};(0,c.freezeDscOnSpan)(t,e)}return t}let p=(0,t.getIsolationScope)();if(e&&!s)d=function(e,n,r){let{spanId:i,traceId:a}=e.spanContext(),s=!n.getScopeData().sdkProcessingMetadata[N]&&(0,o.spanIsSampled)(e),l=s?new g({...r,parentSpanId:i,traceId:a,sampled:s}):new u.SentryNonRecordingSpan({traceId:a});(0,o.addChildSpanToSpan)(e,l);let c=(0,t.getClient)();return c&&(c.emit("spanStart",l),r.endTimestamp&&c.emit("spanEnd",l)),l}(e,l,r),(0,o.addChildSpanToSpan)(e,d);else if(e){let t=(0,c.getDynamicSamplingContextFromSpan)(e),{traceId:n,spanId:i}=e.spanContext(),a=(0,o.spanIsSampled)(e);d=P({traceId:n,parentSpanId:i,...r},l,a),(0,c.freezeDscOnSpan)(d,t)}else{let{traceId:e,dsc:t,parentSpanId:n,sampled:i}={...p.getPropagationContext(),...l.getPropagationContext()};d=P({traceId:e,parentSpanId:n,...r},l,i),t&&(0,c.freezeDscOnSpan)(d,t)}return!function(e){if(!n.DEBUG_BUILD)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:a}=(0,o.spanToJSON)(e),{spanId:s}=e.spanContext(),l=(0,o.spanIsSampled)(e),c=(0,o.getRootSpan)(e),u=c===e,d=`[Tracing] Starting ${l?"sampled":"unsampled"} ${u?"root ":""}span`,p=[`op: ${r}`,`name: ${t}`,`ID: ${s}`];if(a&&p.push(`parent ID: ${a}`),!u){let{op:e,description:t}=(0,o.spanToJSON)(c);p.push(`root ID: ${c.spanContext().spanId}`),e&&p.push(`root op: ${e}`),t&&p.push(`root description: ${t}`)}i.debug.log(`${d} 4 ${p.join("\n ")}`)}(d),(0,f.setCapturedScopesOnSpan)(d,l,p),d}function L(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=(0,o.spanTimeInputToSeconds)(e.startTime),delete n.startTime,n}return t}function U(){let e=(0,v.getMainCarrier)();return(0,E.getAsyncContextStrategy)(e)}function P(e,s,o){let l=(0,t.getClient)(),c=l?.getOptions()||{},{name:u=""}=e,d={spanAttributes:{...e.attributes},spanName:u,parentSampled:o};l?.emit("beforeSampling",d,{decision:!1});let p=d.parentSampled??o,h=d.spanAttributes,m=s.getPropagationContext(),[f,_,S]=s.getScopeData().sdkProcessingMetadata[N]?[!1]:function(e,t,r){let s,o;
4if(!(0,a.hasSpansEnabled)(e))return[!1];"function"==typeof e.tracesSampler?(s=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),o=!0):void 0!==t.parentSampled?s=t.parentSampled:void 0!==e.tracesSampleRate&&(s=e.tracesSampleRate,o=!0);let l=(0,b.parseSampleRate)(s);if(void 0===l)return n.DEBUG_BUILD&&i.debug.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(s)} of type ${JSON.stringify(typeof s)}.`),[!1];if(!l)return n.DEBUG_BUILD&&i.debug.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,l,o];let c=r<l;return!c&&n.DEBUG_BUILD&&i.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[c,l,o]}(c,{name:u,parentSampled:p,attributes:h,parentSampleRate:(0,b.parseSampleRate)(m.dsc?.sample_rate)},m.sampleRand),y=new g({...e,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[r.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==_&&S?_:void 0,...h},sampled:f});return!f&&l&&(n.DEBUG_BUILD&&i.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),l.recordDroppedEvent("sample_rate","transaction")),l&&l.emit("spanStart",y),y}function B(e,n){if(n)return n;if(null===n)return;let r=(0,s._getSpanForScope)(e);if(!r)return;let i=(0,t.getClient)();return(i?i.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,o.getRootSpan)(r):r}function F(e){return void 0!==e?t=>k(e,t):e=>e()}e.s(["continueTrace",()=>O,"startInactiveSpan",()=>A,"startNewTrace",()=>M,"startSpan",()=>w,"startSpanManual",()=>C,"suppressTracing",()=>D,"withActiveSpan",()=>k],908817);let W={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function $(e,d={}){let p,h,m=new Map,f=!1,_="externalFinish",S=!d.disableAutoFinish,E=[],{idleTimeout:v=W.idleTimeout,finalTimeout:T=W.finalTimeout,childSpanTimeout:I=W.childSpanTimeout,beforeSpanEnd:b}=d,R=(0,t.getClient)();if(!R||!(0,a.hasSpansEnabled)()){let e=new u.SentryNonRecordingSpan,t={sample_rate:"0",sampled:"false",...(0,c.getDynamicSamplingContextFromSpan)(e)};return(0,c.freezeDscOnSpan)(e,t),e}let N=(0,t.getCurrentScope)(),w=(0,o.getActiveSpan)(),C=(p=A(e),(0,s._setSpanForScope)((0,t.getCurrentScope)(),p),n.DEBUG_BUILD&&i.debug.log("[Tracing] Started span is an idle span"),p);function O(){h&&(clearTimeout(h),h=void 0)}function k(e){O(),h=setTimeout(()=>{!f&&0===m.size&&S&&(_="idleTimeout",C.end(e))},v)}function D(e){h=setTimeout(()=>{!f&&S&&(_="heartbeatFailed",C.end(e))},I)}
4function M(e){f=!0,m.clear(),E.forEach(e=>e()),(0,s._setSpanForScope)(N,w);let t=(0,o.spanToJSON)(C),{start_timestamp:a}=t;if(!a)return;t.data[r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||C.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,_),i.debug.log(`[Tracing] Idle span "${t.op}" finished`);let l=(0,o.getSpanDescendants)(C).filter(e=>e!==C),c=0;l.forEach(t=>{t.isRecording()&&(t.setStatus({code:y.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),n.DEBUG_BUILD&&i.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:a=0}=(0,o.spanToJSON)(t),s=a<=e,l=r-a<=(T+v)/1e3;if(n.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);s?l||i.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):i.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!l||!s)&&((0,o.removeChildSpanFromSpan)(C,t),c++)}),c>0&&C.setAttribute("sentry.idle_span_discarded_spans",c)}return C.end=new Proxy(C.end,{apply(e,t,n){if(b&&b(C),t instanceof u.SentryNonRecordingSpan)return;let[r,...i]=n,a=r||(0,l.timestampInSeconds)(),s=(0,o.spanTimeInputToSeconds)(a),c=(0,o.getSpanDescendants)(C).filter(e=>e!==C);if(!c.length)return M(s),Reflect.apply(e,t,[s,...i]);let d=c.map(e=>(0,o.spanToJSON)(e).timestamp).filter(e=>!!e),p=d.length?Math.max(...d):void 0,h=(0,o.spanToJSON)(C).start_timestamp,m=Math.min(h?h+T/1e3:1/0,Math.max(h||-1/0,Math.min(s,p||1/0)));return M(m),Reflect.apply(e,t,[m,...i])}}),E.push(R.on("spanStart",e=>{var t;!(f||e===C||(0,o.spanToJSON)(e).timestamp||e instanceof g&&e.isStandaloneSpan())&&(0,o.getSpanDescendants)(C).includes(e)&&(t=e.spanContext().spanId,O(),m.set(t,!0),D((0,l.timestampInSeconds)()+I/1e3))})),E.push(R.on("spanEnd",e=>{if(!f){var t;t=e.spanContext().spanId,m.has(t)&&m.delete(t),0===m.size&&k((0,l.timestampInSeconds)()+v/1e3)}})),E.push(R.on("idleSpanEnableAutoFinish",e=>{e===C&&(S=!0,k(),m.size&&D())})),d.disableAutoFinish||k(),setTimeout(()=>{f||(C.setStatus({code:y.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),_="finalTimeout",C.end())},T),C}e.s(["TRACING_DEFAULTS",()=>W,"startIdleSpan",()=>$],464735)},758893,e=>{"use strict";function t(e){return"isRelative"in e}function n(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function r(e){if(t(e))return e.pathname;let n=new URL(e);return n.search="",n.hash="",["80","443"].includes(n.port)&&(n.port=""),n.password&&(n.password="%filtered%"),n.username&&(n.username="%filtered%"),n.toString()}function i(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function a(e){return e.split(/[?#]/,1)[0]}e.i(63104),e.s(["getSanitizedUrlStringFromUrlObject",()=>r,"isURLObjectRelative",()=>t,"parseStringToURLObject",()=>n,"parseUrl",()=>i,"stripUrlQueryAndFragment",()=>a])},28979,e=>{"use strict";var t=e.i(664660),n=e.i(182021),r=e.i(25366);let i={},a={};function s(e,t){i[e]=i[e]||[],i[e].push(t)}function o(e,r){if(!a[e]){a[e]=!0;try{r()}catch(r){t.DEBUG_BUILD&&n.debug.error(`Error while instrumenting ${e}`,r)}}}function l(e,a){let s=e&&i[e];if(s)for(let i of s)try{i(a)}catch(a){t.DEBUG_BUILD&&n.debug.error(`Error while triggering instrumentation handler. 5Type: ${e} 6Name: ${(0,r.getFunctionName)(i)} 7Error:`,a)}}e.s(["addHandler",()=>s,"maybeInstrument",()=>o,"triggerHandlers",()=>l])},602486,983276,e=>{"use strict";var t=e.i(410544),n=e.i(28979);let r=null;function i(e){let t="error";(0,n.addHandler)(t,e),(0,n.maybeInstrument)(t,a)}function a(){r=t.GLOBAL_OBJ.onerror,t.GLOBAL_OBJ.onerror=function(e,t,i,a,s){return(0,n.triggerHandlers)("error",{column:a,error:s,line:i,msg:e,url:t}),!!r&&r.apply(this,arguments)},t.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}e.s(["addGlobalErrorInstrumentationHandler",()=>i],602486);let s=null;function o(e){let t="unhandledrejection";(0,n.addHandler)(t,e),(0,n.maybeInstrument)(t,l)}function l(){s=t.GLOBAL_OBJ.onunhandledrejection,t.GLOBAL_OBJ.onunhandledrejection=function(e){return(0,n.triggerHandlers)("unhandledrejection",e),!s||s.apply(this,arguments)},t.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}e.s(["addGlobalUnhandledRejectionInstrumentationHandler",()=>o],983276)},856291,e=>{"use strict";var t=e.i(664660),n=e.i(602486),r=e.i(983276),i=e.i(182021),a=e.i(893859),s=e.i(442044);let o=!1;function l(){o||(e.tag="sentry_tracingErrorCallback",o=!0,(0,n.addGlobalErrorInstrumentationHandler)(e),(0,r.addGlobalUnhandledRejectionInstrumentationHandler)(e));function e(){let e=(0,a.getActiveSpan)(),n=e&&(0,a.getRootSpan)(e);if(n){let e="internal_error";t.DEBUG_BUILD&&i.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),n.setStatus({code:s.SPAN_STATUS_ERROR,message:e})}}}e.s(["registerSpanErrorInstrumentation",()=>l])},353231,e=>{"use strict";var t=e.i(664660),n=e.i(182021);let r=e.i(410544).GLOBAL_OBJ;function i(){return"history"in r&&!!r.history}function a(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function s(){if("string"==typeof EdgeRuntime)return!0;
7if(!function(){if(!("fetch"in r))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}())return!1;if(a(r.fetch))return!0;let e=!1,i=r.document;if(i&&"function"==typeof i.createElement)try{let t=i.createElement("iframe");t.hidden=!0,i.head.appendChild(t),t.contentWindow?.fetch&&(e=a(t.contentWindow.fetch)),i.head.removeChild(t)}catch(e){t.DEBUG_BUILD&&n.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function o(){return"ReportingObserver"in r}e.s(["isNativeFunction",()=>a,"supportsHistory",()=>i,"supportsNativeFetch",()=>s,"supportsReportingObserver",()=>o])},577538,e=>{"use strict";let t=e.i(410544).GLOBAL_OBJ;e.s(["WINDOW",()=>t])},982120,e=>{"use strict";let t;var n=e.i(28979),r=e.i(353231),i=e.i(899619),a=e.i(577538);function s(e){let t="history";(0,n.addHandler)(t,e),(0,n.maybeInstrument)(t,o)}function o(){function e(e){return function(...r){let i=r.length>2?r[2]:void 0;if(i){let s=t,o=function(e){try{return new URL(e,a.WINDOW.location.origin).toString()}catch{return e}}(String(i));if(t=o,s===o)return e.apply(this,r);(0,n.triggerHandlers)("history",{from:s,to:o})}return e.apply(this,r)}}a.WINDOW.addEventListener("popstate",()=>{let e=a.WINDOW.location.href,r=t;t=e,r===e||(0,n.triggerHandlers)("history",{from:r,to:e})}),(0,r.supportsHistory)()&&((0,i.fill)(a.WINDOW.history,"pushState",e),(0,i.fill)(a.WINDOW.history,"replaceState",e))}e.s(["addHistoryInstrumentationHandler",()=>s])},364213,e=>{"use strict";let t="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",()=>t])},71178,509018,15333,727597,819013,e=>{"use strict";let t,n,r,i,a,s,o,l;var c=e.i(847378),u=e.i(893859),d=e.i(451048),p=e.i(530011),h=e.i(63104),m=e.i(182021),f=e.i(25366),g=e.i(364213),_=e.i(577538);let S=(e,t,n,r)=>{let i,a;return s=>{if(t.value>=0&&(s||r)&&((a=t.value-(i??0))||void 0===i)){var o;i=t.value,t.delta=a,o=t.value,t.rating=o>n[1]?"poor":o>n[0]?"needs-improvement":"good",e(t)}}},y=(e=!0)=>{let t=_.WINDOW.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},E=()=>{let e=y();return e?.activationStart??0},v=(e,t=-1)=>{let n=y(),r="navigate";return n&&(_.WINDOW.document?.prerendering||E()>0?r="prerender":_.WINDOW.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:r}},T=new WeakMap;function I(e,t){return T.get(e)||T.set(e,new t),T.get(e)}class b{constructor(){b.prototype.__init.call(this),b.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let R=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},N=e=>{let t=!1;return()=>{t||(e(),t=!0)}},w=-1,C=e=>{"hidden"===_.WINDOW.document.visibilityState&&w>-1&&(w="visibilitychange"===e.type?e.timeStamp:0,A())},A=()=>{removeEventListener("visibilitychange",C,!0),removeEventListener("prerenderingchange",C,!0)},O=()=>{if(_.WINDOW.document&&w<0){let e=E();w=(_.WINDOW.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(_.WINDOW.document?.visibilityState!=="hidden"||_.WINDOW.document?.prerendering?1/0:0),addEventListener("visibilitychange",C,!0),addEventListener("prerenderingchange",C,!0)}return{get firstHiddenTime(){return w}}},k=e=>{_.WINDOW.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},D=[1800,3e3],M=[.1,.25],x=e=>{let t=t=>{("pagehide"===t.type||_.WINDOW.document?.visibilityState==="hidden")&&e(t)};_.WINDOW.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},L=[100,300],U=0,P=1/0,B=0,F=e=>
7{e.forEach(e=>{e.interactionId&&(P=Math.min(P,e.interactionId),U=(B=Math.max(B,e.interactionId))?(B-P)/7+1:0)})},W=()=>t?U:performance.interactionCount||0,$=0;class H{constructor(){H.prototype.__init.call(this),H.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){$=W(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((W()-$)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(n)}}}let G=e=>{let t=_.WINDOW.requestIdleCallback||_.WINDOW.setTimeout;_.WINDOW.document?.visibilityState==="hidden"?e():(t(e=N(e)),x(e))},j=[200,500];class z{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let Y=[2500,4e3],q=[800,1800],J=e=>{_.WINDOW.document?.prerendering?k(()=>J(e)):_.WINDOW.document?.readyState!=="complete"?addEventListener("load",()=>J(e),!0):setTimeout(e)},V={},K={};function X(e,t=!1){return ec("cls",e,ei,n,t)}function Q(e,t=!1){return ec("lcp",e,es,i,t)}function Z(e){return ec("fid",e,ea,r)}function ee(e){return ec("ttfb",e,eo,a)}function et(e){return ec("inp",e,el,s)}function en(e,t){var n;let r;return eu(e,t),K[e]||(r={},"event"===(n=e)&&(r.durationThreshold=0),R(n,e=>{er(n,{entries:e})},r),K[e]=!0),ed(e,t)}function er(e,t){let n=V[e];if(n?.length)for(let r of n)try{r(t)}catch(t){g.DEBUG_BUILD&&m.debug.error(`Error while triggering instrumentation handler. 8Type: ${e} 9Name: ${(0,f.getFunctionName)(r)} 10Error:`,t)}}function ei(){return((e,t={})=>{((e,t={})=>{k(()=>{let n,r=O(),i=v("FCP"),a=R("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-E(),0),i.entries.push(t),n(!0)))});a&&(n=S(e,i,D,t.reportAllChanges))})})(N(()=>{let n,r=v("CLS",0),i=I(t,b),a=e=>{for(let t of e)i._processEntry(t);i._sessionValue>r.value&&(r.value=i._sessionValue,r.entries=i._sessionEntries,n())},s=R("layout-shift",a);s&&(n=S(e,r,M,t.reportAllChanges),_.WINDOW.document?.addEventListener("visibilitychange",()=>{_.WINDOW.document?.visibilityState==="hidden"&&(a(s.takeRecords()),n(!0))}),_.WINDOW?.setTimeout?.(n))}))})(e=>{er("cls",{metric:e}),n=e},{reportAllChanges:!0})}function ea(){return((e,t={})=>{k(()=>{let n,r=O(),i=v("FID"),a=e=>{e.startTime<r.firstHiddenTime&&(i.value=e.processingStart-e.startTime,i.entries.push(e),n(!0))},s=e=>{e.forEach(a)},o=R("first-input",s);n=S(e,i,L,t.reportAllChanges),o&&x(N(()=>{s(o.takeRecords()),o.disconnect()}))})})(e=>{er("fid",{metric:e}),r=e})}function es(){return((e,t={})=>{k(()=>{let n,r=O(),i=v("LCP"),a=I(t,z),s=e=>{for(let s of(t.reportAllChanges||(e=e.slice(-1)),e))a._processEntry(s),s.startTime<r.firstHiddenTime&&(i.value=Math.max(s.startTime-E(),0),i.entries=[s],n())},o=R("largest-contentful-paint",s);if(o){n=S(e,i,Y,t.reportAllChanges);let r=N(()=>{s(o.takeRecords()),o.disconnect(),n(!0)});for(let e of["keydown","click","visibilitychange"])_.WINDOW.document&&addEventListener(e,()=>G(r),{capture:!0,once:!0})}})})(e=>{er("lcp",{metric:e}),i=e},{reportAllChanges:!0})}function eo(){return((e,t={})=>{let n=v("TTFB"),r=S(e,n,q,t.reportAllChanges);J(()=>{let e=y();e&&(n.value=Math.max(e.responseStart-E(),0),n.entries=[e],r(!0))})})(e=>{er("ttfb",{metric:e}),a=e})}function el(){return((e,n={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&k(()=>{let r;"interactionCount"in performance||t||(t=R("event",F,{type:"event",buffered:!0,durationThreshold:0}));let i=v("INP"),a=I(n,H),s=e=>{G(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==i.value&&(i.value=t._latency,i.entries=t.entries,r())})},o=R("event",s,{durationThreshold:n.durationThreshold??40});r=S(e,i,j,n.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),x(()=>{s(o.takeRecords()),r(!0)}))})})(e=>{er("inp",{metric:e}),s=e})}function ec(e,t,n,r,i=!1){let a;return eu(e,t),K[e]||(a=n(),K[e]=!0),r&&t({metric:r}),ed(e,t,i?a:void 0)}function eu(e,t){V[e]=V[e]||[],V[e].push(t)}function ed(e,t,n){return()=>{n&&n();let r=V[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function ep(e){return"duration"in e}e.s(["addClsInstrumentationHandler",()=>X,"addFidInstrumentationHandler",()=>Z,"addInpInstrumentationHandler",()=>et,"addLcpInstrumentationHandler",()=>Q,"addPerformanceInstrumentationHandler",()=>en,"addTtfbInstrumentationHandler",()=>ee,"isPerformanceEventTiming",()=>ep],509018);var eh=e.i(908817);function em(e){return"number"==typeof e&&isFinite(e)}function ef(e,t,n,{...r}){let i=(0,u.spanToJSON)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),(0,eh.withActiveSpan)(e,()=>{let e=(0,eh.startInactiveSpan)({startTime:t,...r});return e&&e.end(n),e})}function eg(e){let t,n=(0,d.getClient)();if(!n)return;let{name:r,transaction:i,attributes:a,startTime:s}=e,{release:o,environment:l,sendDefaultPii:c}=n.getOptions(),u=n.getIntegrationByName("Replay"),p=u?.getReplayId(),h=(0,d.getCurrentScope)(),m=h.getUser(),f=void 0!==m?m.email||m.id||m.ip_address:void 0;try{t=h.getScopeData().contexts.profile.profile_id}catch{}let g={release:o,environment:l,user:f||void 0,profile_id:t||void 0,replay_id:p||void 0,transaction:i,"user_agent.original":_.WINDOW.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...a};return(0,eh.startInactiveSpan)({name:r,attributes:g,startTime:s,experimental:{standalone:!0}})}function e_(){return _.WINDOW.addEventListener&&_.WINDOW.performance}function eS(e){return e/1e3}function ey(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}
10return r===e&&(t=r),{name:t,version:n}}function eE(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function ev(e,t){let n,r=!1;function i(e){!r&&n&&t(e,n),r=!0}x(()=>{i("pagehide")});let a=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(i("navigation"),a?.(),s?.())}),s=e.on("afterStartPageLoadSpan",e=>{n=e.spanContext().spanId,s?.()})}e.s(["extractNetworkProtocol",()=>ey,"getBrowserPerformanceAPI",()=>e_,"isMeasurementValue",()=>em,"listenForWebVitalReportEvents",()=>ev,"msToSec",()=>eS,"startAndEndSpan",()=>ef,"startStandaloneWebVitalSpan",()=>eg,"supportsWebVital",()=>eE],15333);let eT=[],eI=new Map;function eb(){if(e_()&&(0,c.browserPerformanceTimeOrigin)()){let e=et(eN);return()=>{e()}}return()=>void 0}let eR={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"},eN=({metric:e})=>{if(void 0==e.value)return;let t=eS(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&eR[t.name]);if(!n)return;let{interactionId:r}=n,i=eR[n.name],a=eS((0,c.browserPerformanceTimeOrigin)()+n.startTime),s=(0,u.getActiveSpan)(),o=s?(0,u.getRootSpan)(s):void 0,l=(null!=r?eI.get(r):void 0)||o,m=l?(0,u.spanToJSON)(l).description:(0,d.getCurrentScope)().getScopeData().transactionName,f=eg({name:(0,p.htmlTreeAsString)(n.target),transaction:m,attributes:{[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[h.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${i}`,[h.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:n.duration},startTime:a});f&&(f.addEvent("inp",{[h.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[h.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e.value}),f.end(a+t))};function ew(){let e=({entries:e})=>{let t=(0,u.getActiveSpan)(),n=t&&(0,u.getRootSpan)(t);e.forEach(e=>{if(!ep(e)||!n)return;let t=e.interactionId;if(null!=t&&!eI.has(t)){if(eT.length>10){let e=eT.shift();eI.delete(e)}eT.push(t),eI.set(t,n)}})};en("event",e),en("first-input",e)}e.s(["registerInpInteractionListener",()=>ew,"startTrackingINP",()=>eb],71178);var eC=e.i(190225),eA=e.i(758893),eO=e.i(399677),ek=e.i(914046);let eD=0,eM={};function ex({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=e_();if(r&&(0,c.browserPerformanceTimeOrigin)()){r.mark&&_.WINDOW.performance.mark("sentry-tracing-init");let i=Z(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=eS((0,c.browserPerformanceTimeOrigin)()),r=eS(t.startTime);eM.fid={value:e.value,unit:"millisecond"},eM["mark.fid"]={value:n+r,unit:"second"}}),a=t?function(e){let t,n=0;if(!eE("largest-contentful-paint"))return;let r=Q(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);ev(e,(e,i)=>{var a,s,o,l;let u,f,_,S,y;a=n,s=t,o=i,l=e,g.DEBUG_BUILD&&m.debug.log(`Sending LCP span (${a})`),u=eS(((0,c.browserPerformanceTimeOrigin)()||0)+(s?.startTime||0)),f=(0,d.getCurrentScope)().getScopeData().transactionName,_=s?(0,p.htmlTreeAsString)(s.element):"Largest contentful paint",S={[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[h.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[h.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":o,"sentry.report_event":l},s&&(s.element&&(S["lcp.element"]=(0,p.htmlTreeAsString)(s.element)),s.id&&(S["lcp.id"]=s.id),s.url&&(S["lcp.url"]=s.url.trim().slice(0,200)),null!=s.loadTime&&(S["lcp.loadTime"]=s.loadTime),null!=s.renderTime&&(S["lcp.renderTime"]=s.renderTime),null!=s.size&&(S["lcp.size"]=s.size)),(y=eg({name:_,transaction:f,attributes:S,startTime:u}))&&(y.addEvent("lcp",{[h.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[h.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:a}),y.end(u)),r()})}(n):Q(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(eM.lcp={value:e.value,unit:"millisecond"},o=t)},!0),s=ee(({metric:e})=>{e.entries[e.entries.length-1]&&(eM.ttfb={value:e.value,unit:"millisecond"})}),u=e?function(e){let t,n=0;if(!eE("layout-shift"))return;let r=X(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);ev(e,(e,i)=>{var a,s,o,l;let u,f,_,S,y;a=n,s=t,o=i,l=e,g.DEBUG_BUILD&&m.debug.log(`Sending CLS span (${a})`),u=eS(((0,c.browserPerformanceTimeOrigin)()||0)+(s?.startTime||0)),f=(0,d.getCurrentScope)().getScopeData().transactionName,_=s?(0,p.htmlTreeAsString)(s.sources[0]?.node):"Layout shift",S={[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[h.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[h.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:s?.duration||0,"sentry.pageload.span_id":o,"sentry.report_event":l}
10,s?.sources&&s.sources.forEach((e,t)=>{S[`cls.source.${t+1}`]=(0,p.htmlTreeAsString)(e.node)}),(y=eg({name:_,transaction:f,attributes:S,startTime:u}))&&(y.addEvent("cls",{[h.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[h.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:a}),y.end(u)),r()})}(n):X(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(eM.cls={value:e.value,unit:""},l=t)},!0);return()=>{i(),a?.(),s(),u?.()}}return()=>void 0}function eL(){en("longtask",({entries:e})=>{let t=(0,u.getActiveSpan)();if(!t)return;let{op:n,start_timestamp:r}=(0,u.spanToJSON)(t);for(let i of e){let e=eS((0,c.browserPerformanceTimeOrigin)()+i.startTime),a=eS(i.duration);"navigation"===n&&r&&e<r||ef(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}})}function eU(){new PerformanceObserver(e=>{let t=(0,u.getActiveSpan)();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=eS((0,c.browserPerformanceTimeOrigin)()+n.startTime),{start_timestamp:r,op:i}=(0,u.spanToJSON)(t);if("navigation"===i&&r&&e<r)continue;let a=eS(n.duration),s={[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},{invoker:o,invokerType:l,sourceURL:d,sourceFunctionName:p,sourceCharPosition:m}=n.scripts[0];s["browser.script.invoker"]=o,s["browser.script.invoker_type"]=l,d&&(s["code.filepath"]=d),p&&(s["code.function"]=p),-1!==m&&(s["browser.script.source_char_position"]=m),ef(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:s})}}).observe({type:"long-animation-frame",buffered:!0})}function eP(){en("event",({entries:e})=>{let t=(0,u.getActiveSpan)();if(t){for(let n of e)if("click"===n.name){let e=eS((0,c.browserPerformanceTimeOrigin)()+n.startTime),r=eS(n.duration),i={name:(0,p.htmlTreeAsString)(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},a=(0,p.getComponentName)(n.target);a&&(i.attributes["ui.component_name"]=a),ef(t,e,e+r,i)}}})}function eB(e,t){let n=e_(),r=(0,c.browserPerformanceTimeOrigin)();if(!n?.getEntries||!r)return;let i=eS(r),a=n.getEntries(),{op:s,start_timestamp:d}=(0,u.spanToJSON)(e);if(a.slice(eD).forEach(n=>{let r=eS(n.startTime),a=eS(Math.max(0,n.duration));if("navigation"!==s||!d||!(i+r<d))switch(n.entryType){case"navigation":var o,l,c,u,p,m;let f,g,S;o=e,l=n,c=i,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{eF(o,l,e,c)}),eF(o,l,"secureConnection",c,"TLS/SSL"),eF(o,l,"fetch",c,"cache"),eF(o,l,"domainLookup",c,"DNS"),u=o,p=l,f=(m=c)+eS(p.requestStart),g=m+eS(p.responseEnd),S=m+eS(p.responseStart),p.responseEnd&&(ef(u,f,g,{op:"browser.request",name:p.name,attributes:{[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),ef(u,S,g,{op:"browser.response",name:p.name,attributes:{[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i,a){if(["mark","measure"].includes(t.entryType)&&(0,eO.stringMatchesSomePattern)(t.name,a))return;let s=y(!1),o=i+Math.max(n,eS(s?s.requestStart:0)),l=i+n,c=l+r,u={[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};o!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=o),function(e,t){try{let n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&(0,ek.isPrimitive)(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if((0,ek.isPrimitive)(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}(u,t),o<=c&&ef(e,o,c,{name:t.name,op:t.entryType,attributes:u})}(e,n,r,a,i,t.ignorePerformanceApiSpans);let s=O(),o=n.startTime<s.firstHiddenTime;"first-paint"===n.name&&o&&(eM.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&o&&(eM.fcp={value:n.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,i,a,s){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let o=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(s?.includes(o))return;let l=(0,eA.parseUrl)(n),c={[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};eW(c,t,"transferSize","http.response_transfer_size"),eW(c,t,"encodedBodySize","http.response_content_length"),eW(c,t,"decodedBodySize","http.decoded_response_content_length");let u=t.deliveryType;null!=u&&(c["http.response_delivery_type"]=u);let d=t.renderBlockingStatus;if(d&&(c["resource.render_blocking_status"]=d),l.protocol&&(c["url.scheme"]=l.protocol.split(":").pop()),l.host&&(c["server.address"]=l.host),c["url.same_origin"]=n.includes(_.WINDOW.location.origin),null!=t.nextHopProtocol){let{name:e,version:n}=ey(t.nextHopProtocol);c["network.protocol.name"]=e,c["network.protocol.version"]=n}let p=a+r;ef(e,p,p+i,{name:n.replace(_.WINDOW.location.origin,""),op:o,attributes:c})}(e,n,n.name,r,a,i,t.ignoreResourceSpans)}}),eD=Math.max(a.length-1,0),function(e){let t=_.WINDOW.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),em(n.rtt)&&(eM["connection.rtt"]={value:n.rtt,unit:"millisecond"})),em(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),em(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===s){var m,f;!function(e){let t=y(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(eM);let n=eM["mark.fid"];n&&eM.fid&&(ef(e,n.value,n.value+eS(eM.fid.value),{name:"first input delay",op:"ui.action",attributes:{[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),delete eM["mark.fid"]),t.recordClsOnPageloadSpan||delete eM.cls,t.recordLcpOnPageloadSpan||delete eM.lcp,Object.entries(eM).forEac
10h(([e,t])=>{(0,eC.setMeasurement)(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",i),e.setAttribute("performance.activationStart",E()),m=e,f=t,o&&f.recordLcpOnPageloadSpan&&(o.element&&m.setAttribute("lcp.element",(0,p.htmlTreeAsString)(o.element)),o.id&&m.setAttribute("lcp.id",o.id),o.url&&m.setAttribute("lcp.url",o.url.trim().slice(0,200)),null!=o.loadTime&&m.setAttribute("lcp.loadTime",o.loadTime),null!=o.renderTime&&m.setAttribute("lcp.renderTime",o.renderTime),m.setAttribute("lcp.size",o.size)),l?.sources&&f.recordClsOnPageloadSpan&&l.sources.forEach((e,t)=>m.setAttribute(`cls.source.${t+1}`,(0,p.htmlTreeAsString)(e.node)))}o=void 0,l=void 0,eM={}}function eF(e,t,n,r,i=n){var a;let s=t["secureConnection"===(a=n)?"connectEnd":"fetch"===a?"domainLookupStart":`${a}End`],o=t[`${n}Start`];o&&s&&ef(e,r+eS(o),r+eS(s),{op:`browser.${i}`,name:t.name,attributes:{[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}function eW(e,t,n,r){let i=t[n];null!=i&&i<0x7fffffff&&(e[r]=i)}function e$(){return e_()&&(0,c.browserPerformanceTimeOrigin)()?en("element",eH):()=>void 0}e.s(["addPerformanceEntries",()=>eB,"startTrackingInteractions",()=>eP,"startTrackingLongAnimationFrames",()=>eU,"startTrackingLongTasks",()=>eL,"startTrackingWebVitals",()=>ex],727597);let eH=({entries:e})=>{let t=(0,u.getActiveSpan)(),n=t?(0,u.getRootSpan)(t):void 0,r=n?(0,u.spanToJSON)(n).description:(0,d.getCurrentScope)().getScopeData().transactionName;e.forEach(e=>{if(!e.identifier)return;let t=e.name,n=e.renderTime,i=e.loadTime,[a,s]=i?[eS(i),"load-time"]:n?[eS(n),"render-time"]:[(0,c.timestampInSeconds)(),"entry-emission"],o="image-paint"===t?eS(Math.max(0,(n??0)-(i??0))):0,l={[h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.elementtiming",[h.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.elementtiming",[h.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"component","sentry.span_start_time_source":s,"sentry.transaction_name":r,"element.id":e.id,"element.type":e.element?.tagName?.toLowerCase()||"unknown","element.size":e.naturalWidth&&e.naturalHeight?`${e.naturalWidth}x${e.naturalHeight}`:void 0,"element.render_time":n,"element.load_time":i,"element.url":e.url||void 0,"element.identifier":e.identifier,"element.paint_type":t};(0,eh.startSpan)({name:`element[${e.identifier}]`,attributes:l,startTime:a,onlyIfParent:!0},e=>{e.end(a+o)})})};e.s(["startTrackingElementTiming",()=>e$],819013)},513162,e=>{"use strict";let t="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",()=>t])},700785,967174,e=>{"use strict";var t=e.i(893859),n=e.i(182021),r=e.i(442044),i=e.i(513162),a=e.i(208460);function s(){a.WINDOW.document?a.WINDOW.document.addEventListener("visibilitychange",()=>{let e=(0,t.getActiveSpan)();if(!e)return;let s=(0,t.getRootSpan)(e);if(a.WINDOW.document.hidden&&s){let e="cancelled",{op:a,status:o}=(0,t.spanToJSON)(s);i.DEBUG_BUILD&&n.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${a}`),o||s.setStatus({code:r.SPAN_STATUS_ERROR,message:e}),s.setAttribute("sentry.cancellation_reason","document.hidden"),s.end()}}):i.DEBUG_BUILD&&n.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")}e.s(["registerBackgroundTabDetection",()=>s],700785);var o=e.i(451048),l=e.i(63104);let c="sentry_previous_trace";function u(e,{linkPreviousTrace:r,consistentTraceSampling:s}){let u="session-storage"===r,p=u?function(){try{let e=a.WINDOW.sessionStorage?.getItem(c);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,t.getRootSpan)(e)!==e)return;let r=(0,o.getCurrentScope)().getPropagationContext();p=function(e,r,a){let s=(0,t.spanToJSON)(r),o={spanContext:r.spanContext(),startTimestamp:s.start_timestamp,sampleRate:function(){try{return Number(a.dsc?.sample_rate)??Number(s.data?.[l.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])}catch{return 0}}(),sampleRand:a.sampleRand};if(!e)return o;let c=e.spanContext;return c.traceId===s.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(i.DEBUG_BUILD&&n.debug.log(`Adding previous_trace ${c} link to span ${{op:s.op,...r.spanContext()}}`),r.addLink({context:c,attributes:{[l.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),r.setAttribute("sentry.previous_trace",`${c.traceId}-${c.spanId}-${+!!d(c)}`)),o)}(p,e,r),u&&function(e){try{a.WINDOW.sessionStorage.setItem(c,JSON.stringify(e))}catch(e){i.DEBUG_BUILD&&n.debug.warn("Could not store previous trace in sessionStorage",e)}}(p)});let h=!0;s&&e.on("beforeSampling",e=>
10{if(!p)return;let t=(0,o.getCurrentScope)(),n=t.getPropagationContext();if(h&&n.parentSpanId){h=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(p.sampleRate),sampled:String(d(p.spanContext))},sampleRand:p.sampleRand}),e.parentSampled=d(p.spanContext),e.parentSampleRate=p.sampleRate,e.spanAttributes={...e.spanAttributes,[l.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:p.sampleRate}})}function d(e){return 1===e.traceFlags}e.s(["linkTraces",()=>u],967174)},334018,e=>{"use strict";var t=e.i(914046),n=e.i(899619),r=e.i(353231),i=e.i(847378),a=e.i(410544),s=e.i(28979);function o(e,t){let n="fetch";(0,s.addHandler)(n,e),(0,s.maybeInstrument)(n,()=>c(void 0,t))}function l(e){let t="fetch-body-resolved";(0,s.addHandler)(t,e),(0,s.maybeInstrument)(t,()=>c(d))}function c(e,o=!1){(!o||(0,r.supportsNativeFetch)())&&(0,n.fill)(a.GLOBAL_OBJ,"fetch",function(r){return function(...o){let l=Error(),{method:c,url:u}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:h(t),method:p(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:h(t),method:p(t,"method")?String(t.method).toUpperCase():"GET"}}(o),d={args:o,fetchData:{method:c,url:u},startTimestamp:1e3*(0,i.timestampInSeconds)(),virtualError:l,headers:function(e){let[n,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,t.isRequest)(n))return new Headers(n.headers)}catch{}}(o)};return e||(0,s.triggerHandlers)("fetch",{...d}),r.apply(a.GLOBAL_OBJ,o).then(async t=>(e?e(t):(0,s.triggerHandlers)("fetch",{...d,endTimestamp:1e3*(0,i.timestampInSeconds)(),response:t}),t),e=>{if((0,s.triggerHandlers)("fetch",{...d,endTimestamp:1e3*(0,i.timestampInSeconds)(),error:e}),(0,t.isError)(e)&&void 0===e.stack&&(e.stack=l.stack,(0,n.addNonEnumerableProperty)(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(d.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}async function u(e,t){if(e?.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function d(e){let t;try{t=e.clone()}catch{return}u(t,()=>{(0,s.triggerHandlers)("fetch-body-resolved",{endTimestamp:1e3*(0,i.timestampInSeconds)(),response:e})})}function p(e,t){return!!e&&"object"==typeof e&&!!e[t]}function h(e){return"string"==typeof e?e:e?p(e,"url")?e.url:e.toString?e.toString():"":""}e.s(["addFetchEndInstrumentationHandler",()=>l,"addFetchInstrumentationHandler",()=>o])},226836,295998,e=>{"use strict";var t=e.i(451048),n=e.i(63104),r=e.i(893859),i=e.i(442044),a=e.i(914046),s=e.i(359546),o=e.i(157821),l=e.i(333226),c=e.i(908817),u=e.i(414697),d=e.i(931140),p=e.i(275885),h=e.i(182021),m=e.i(540735),f=e.i(76357);function g(e={}){let n=e.client||(0,t.getClient)();if(!(0,p.isEnabled)()||!n)return{};let i=(0,d.getMainCarrier)(),a=(0,u.getAsyncContextStrategy)(i);if(a.getTraceData)return a.getTraceData(e);let s=e.scope||(0,t.getCurrentScope)(),l=e.span||(0,r.getActiveSpan)(),c=l?(0,r.spanToTraceHeader)(l):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,f.generateSentryTraceHeader)(t,r,n)}(s),_=l?(0,m.getDynamicSamplingContextFromSpan)(l):(0,m.getDynamicSamplingContextFromScope)(n,s),S=(0,o.dynamicSamplingContextToSentryBaggageHeader)(_);return f.TRACEPARENT_REGEXP.test(c)?{"sentry-trace":c,baggage:S}:(h.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}e.s(["getTraceData",()=>g],295998);var _=e.i(758893);function S(e,o,u,d,p="auto.http.browser"){var h,m,f,E,v,T,I;let b,R;if(!e.fetchData)return;let{method:N,url:w}=e.fetchData,C=(0,s.hasSpansEnabled)()&&o(w);if(e.endTimestamp&&C){let t=e.fetchData.__span;if(!t)return;let n=d[t];n&&(function(e,t){if(t.response){(0,i.setHttpStatus)(e,t.response.status);let n=t.response?.headers?.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:i.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(n,e),delete d[t]);return}let A=!!(0,r.getActiveSpan)(),O=C&&A?(0,c.startInactiveSpan)((h=w,m=N,f=p,{name:(b=(0,_.parseStringToURLObject)(h))?`${m} ${(0,_.getSanitizedUrlStringFromUrlObject)(b)}`:m,attributes:(E=h,v=b,T=m,I=f,R={url:E,type:"fetch","http.method":T,[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:I,[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"},v&&((0,_.isURLObjectRelative)(v)||(R["http.url"]=v.href,R["server.address"]=v.host),v.search&&(R["http.query"]=v.search),v.hash&&(R["http.fragment"]=v.hash)),R)})):new l.SentryNonRecordingSpan;if(e.fetchData.__span=O.spanContext().spanId,d[O.spanContext().spanId]=O,u(e.fetchData.url)){let t=e.args[0],n=e.args[1]||{},r=function(e,t,n){var r;let i=g({span:n}),s=i["sentry-trace"],o=i.baggage;if(!s)return;let l=t.headers||((0,a.isRequest)(e)?e.headers:void 0);if(!l)return{...i};if(r=l,"u">typeof Headers&&(0,a.isInstanceOf)(r,Headers)){let e=new Headers(l);if(e.get("sentry-trace")||e.set("sentry-trace",s),o){let t=e.get("baggage");t?y(t)||e.set("baggage",`${t},${o}`):e.set("baggage",o)}return e}if(Array.isArray(l)){let e=[...l];l.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",s]);let t=l.find(e=>"baggage"===e[0]&&y(e[1]));return o&&!t&&e.push(["baggage",o]),e}{let e="sentry-trace"in l?l["sentry-trace"]:void 0,t="baggage"in l?l.baggage:void 0,n=t?Array.isArray(t)?[...t]:[t]:[],r=t&&(Array.isArray(t)?t.find(e=>y(e)):y(t));return o&&!r&&n.push(o),{...l,"sentry-trace":e??s,baggage:n.length>0?n.join(","):void 0}}}(t,n,(0,s.hasSpansEnabled)()&&A?O:void 0);r&&(e.args[1]=n,n.headers=r)}let k=(0,t.getClient)();if(k){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};k.emit("beforeOutgoingRequestSpan",O,t)}return O}function y(e){return e.split(",").some(e=>e.trim().startsWith(o.SENTRY_BAGGAGE_KEY_PREFIX))}e.s(["instrumentFetchRequest",()=>S],226836)},696843,e=>{"use strict";var t=e.i(28979),n=e.i(847378),r=e.i(914046),i=e.i(577538);let a="__sentry_xhr_v3__";function s(e){(0,t.addHandler)("xhr",e),(0,t.maybeInstrument)("xhr",o)}function o(){if(!i.WINDOW.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,i,s){let o=Error(),l=1e3*(0,n.timestampInSeconds)(),c=(0,r.isString)(s[0])?s[0].toUpperCase():void 0,u=function(e){if((0,r.isString)(e))return e;try{return e.toString()}catch{}}(s[1]);if(!c||!u)return e.apply(i,s);i[a]={method:c,url:u,request_headers:{}}
10,"POST"===c&&u.match(/sentry_key/)&&(i.__sentry_own_request__=!0);let d=()=>{let e=i[a];if(e&&4===i.readyState){try{e.status_code=i.status}catch{}let r={endTimestamp:1e3*(0,n.timestampInSeconds)(),startTimestamp:l,xhr:i,virtualError:o};(0,t.triggerHandlers)("xhr",r)}};return"onreadystatechange"in i&&"function"==typeof i.onreadystatechange?i.onreadystatechange=new Proxy(i.onreadystatechange,{apply:(e,t,n)=>(d(),e.apply(t,n))}):i.addEventListener("readystatechange",d),i.setRequestHeader=new Proxy(i.setRequestHeader,{apply(e,t,n){let[i,s]=n,o=t[a];return o&&(0,r.isString)(i)&&(0,r.isString)(s)&&(o.request_headers[i.toLowerCase()]=s),e.apply(t,n)}}),e.apply(i,s)}}),e.send=new Proxy(e.send,{apply(e,r,i){let s=r[a];if(!s)return e.apply(r,i);void 0!==i[0]&&(s.body=i[0]);let o={startTimestamp:1e3*(0,n.timestampInSeconds)(),xhr:r};return(0,t.triggerHandlers)("xhr",o),e.apply(r,i)}})}e.s(["SENTRY_XHR_DATA_KEY",()=>a,"addXhrInstrumentationHandler",()=>s])},777042,776389,630952,e=>{"use strict";let t,n;var r=e.i(63104),i=e.i(410544),a=e.i(847378),s=e.i(208460),o=e.i(464735),l=e.i(530011),c=e.i(758893),u=e.i(856291),d=e.i(451048),p=e.i(182021),h=e.i(254402),m=e.i(76357),f=e.i(893859),g=e.i(908817),_=e.i(540735),S=e.i(899619),y=e.i(982120),E=e.i(71178),v=e.i(727597),T=e.i(819013),I=e.i(513162),b=e.i(700785),R=e.i(967174),N=e.i(334018),w=e.i(226836),C=e.i(399677),A=e.i(359546),O=e.i(442044),k=e.i(333226),D=e.i(295998),M=e.i(696843),x=e.i(509018),L=e.i(15333);function U(e=0){return(((0,a.browserPerformanceTimeOrigin)()||performance.timeOrigin)+e)/1e3}let P=new WeakMap,B=new Map,F={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function W(e,t){let{traceFetch:n,traceXHR:i,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:s,enableHTTPTimings:o,tracePropagationTargets:u,onRequestSpanStart:p}={...F,...t},h="function"==typeof s?s:e=>!0,m=e=>(function(e,t){let n=(0,l.getLocationHref)();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return t?(0,C.stringMatchesSomePattern)(r.toString(),t)||a&&(0,C.stringMatchesSomePattern)(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?(0,C.stringMatchesSomePattern)(e,t):n}})(e,u),_={};n&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=B.get(e.span_id);t&&(e.timestamp=t/1e3,B.delete(e.span_id))}}),e)),a&&(0,N.addFetchEndInstrumentationHandler)(e=>{if(e.response){let t=P.get(e.response);t&&e.endTimestamp&&B.set(t,e.endTimestamp)}}),(0,N.addFetchInstrumentationHandler)(e=>{let t=(0,w.instrumentFetchRequest)(e,h,m,_);if(e.response&&e.fetchData.__span&&P.set(e.response,e.fetchData.__span),t){let n=H(e.fetchData.url),r=n?(0,c.parseUrl)(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r}),o&&$(t),p?.(t,{headers:e.headers})}})),i&&(0,M.addXhrInstrumentationHandler)(e=>{let t=function(e,t,n,i){let a=e.xhr,s=a?.[M.SENTRY_XHR_DATA_KEY];if(!a||a.__sentry_own_request__||!s)return;let{url:o,method:l}=s,u=(0,A.hasSpansEnabled)()&&t(o);if(e.endTimestamp&&u){let e=a.__sentry_xhr_span_id__;if(!e)return;let t=i[e];t&&void 0!==s.status_code&&((0,O.setHttpStatus)(t,s.status_code),t.end(),delete i[e]);return}let p=H(o),h=p?(0,c.parseUrl)(p):(0,c.parseUrl)(o),m=(0,c.stripUrlQueryAndFragment)(o),_=!!(0,f.getActiveSpan)(),S=u&&_?(0,g.startInactiveSpan)({name:`${l} ${m}`,attributes:{url:o,type:"xhr","http.method":l,"http.url":p,"server.address":h?.host,[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...h?.search&&{"http.query":h?.search},...h?.hash&&{"http.fragment":h?.hash}}}):new k.SentryNonRecordingSpan;a.__sentry_xhr_span_id__=S.spanContext().spanId,i[a.__sentry_xhr_span_id__]=S,n(o)&&function(e,t){let{"sentry-trace":n,baggage:r}=(0,D.getTraceData)({span:t});n&&function(e,t,n){let r=e.__sentry_xhr_v3__?.request_headers;if(!r?.["sentry-trace"])try{if(e.setRequestHeader("sentry-trace",t),n){let t=r?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,n,r)}(a,(0,A.hasSpansEnabled)()&&_?S:void 0);let y=(0,d.getClient)();return y&&y.emit("beforeOutgoingRequestSpan",S,e),S}(e,h,m,_);if(t){let n;o&&$(t);try{n=new Headers(e.xhr.__sentry_xhr_v3__?.request_headers)}catch{}p?.(t,{headers:n})}})}function $(e){let{url:t}=(0,f.spanToJSON)(e).data;if(!t||"string"!=typeof t)return;let n=(0,x.addPerformanceInstrumentationHandler)("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(t)&&((function(e){let t=[];if(void 0!=e.nextHopProtocol){let{name:n,version:r}=(0,L.extractNetworkProtocol)(e.nextHopProtocol);t.push(["network.protocol.version",r],["network.protocol.name",n])}return(0,a.browserPerformanceTimeOrigin)()?[...t,["http.request.redirect_start",
10U(e.redirectStart)],["http.request.fetch_start",U(e.fetchStart)],["http.request.domain_lookup_start",U(e.domainLookupStart)],["http.request.domain_lookup_end",U(e.domainLookupEnd)],["http.request.connect_start",U(e.connectStart)],["http.request.secure_connection_start",U(e.secureConnectionStart)],["http.request.connection_end",U(e.connectEnd)],["http.request.request_start",U(e.requestStart)],["http.request.response_start",U(e.responseStart)],["http.request.response_end",U(e.responseEnd)]]:t})(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function H(e){try{return new URL(e,s.WINDOW.location.origin).href}catch{return}}e.s(["defaultRequestInstrumentationOptions",()=>F,"instrumentOutgoingRequests",()=>W],776389);let G={...o.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,_experiments:{},...F},j=(e={})=>{let t,n,S={name:void 0,source:void 0},N=s.WINDOW.document,{enableInp:w,enableElementTiming:C,enableLongTask:A,enableLongAnimationFrame:O,_experiments:{enableInteractions:k,enableStandaloneClsSpans:D,enableStandaloneLcpSpans:M},beforeStartSpan:x,idleTimeout:L,finalTimeout:U,childSpanTimeout:P,markBackgroundSpan:B,traceFetch:F,traceXHR:$,trackFetchStreamPerformance:H,shouldCreateSpanForRequest:j,enableHTTPTimings:K,ignoreResourceSpans:X,ignorePerformanceApiSpans:Q,instrumentPageLoad:Z,instrumentNavigation:ee,detectRedirects:et,linkPreviousTrace:en,consistentTraceSampling:er,onRequestSpanStart:ei}={...G,...e};function ea(e,n,i=!0){let s="pageload"===n.op,l=x?x(n):n,c=l.attributes||{};if(n.name!==l.name&&(c[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom",l.attributes=c),!i){let e=(0,a.dateTimestampInSeconds)();(0,g.startInactiveSpan)({...l,startTime:e}).end(e);return}S.name=l.name,S.source=c[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let u=(0,o.startIdleSpan)(l,{idleTimeout:L,finalTimeout:U,childSpanTimeout:P,disableAutoFinish:s,beforeSpanEnd:n=>{t?.(),(0,v.addPerformanceEntries)(n,{recordClsOnPageloadSpan:!D,recordLcpOnPageloadSpan:!M,ignoreResourceSpans:X,ignorePerformanceApiSpans:Q}),V(e,void 0);let r=(0,d.getCurrentScope)(),i=r.getPropagationContext();r.setPropagationContext({...i,traceId:u.spanContext().traceId,sampled:(0,f.spanIsSampled)(u),dsc:(0,_.getDynamicSamplingContextFromSpan)(n)})}});function p(){N&&["interactive","complete"].includes(N.readyState)&&e.emit("idleSpanEnableAutoFinish",u)}V(e,u),s&&N&&(N.addEventListener("readystatechange",()=>{p()}),p())}return{name:"BrowserTracing",setup(e){if((0,u.registerSpanErrorInstrumentation)(),t=(0,v.startTrackingWebVitals)({recordClsStandaloneSpans:D||!1,recordLcpStandaloneSpans:M||!1,client:e}),w&&(0,E.startTrackingINP)(),C&&(0,T.startTrackingElementTiming)(),O&&i.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?(0,v.startTrackingLongAnimationFrames)():A&&(0,v.startTrackingLongTasks)(),k&&(0,v.startTrackingInteractions)(),et&&N){let e=()=>{n=(0,a.timestampInSeconds)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function o(){let t=e[J];t&&!(0,f.spanToJSON)(t).timestamp&&(I.DEBUG_BUILD&&p.debug.log(`[Tracing] Finishing current active span with op: ${(0,f.spanToJSON)(t).op}`),t.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),t.end())}e.on("startNavigationSpan",(t,n)=>{if((0,d.getClient)()!==e)return;if(n?.isRedirect){I.DEBUG_BUILD&&p.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),ea(e,{op:"navigation.redirect",...t},!1);return}o(),(0,d.getIsolationScope)().setPropagationContext({traceId:(0,h.generateTraceId)(),sampleRand:Math.random()});let r=(0,d.getCurrentScope)();r.setPropagationContext({traceId:(0,h.generateTraceId)(),sampleRand:Math.random()}),r.setSDKProcessingMetadata({normalizedRequest:void 0}),ea(e,{op:"navigation",...t})}),e.on("startPageLoadSpan",(t,n={})=>
10{if((0,d.getClient)()!==e)return;o();let r=n.sentryTrace||q("sentry-trace"),i=n.baggage||q("baggage"),a=(0,m.propagationContextFromHeaders)(r,i),l=(0,d.getCurrentScope)();l.setPropagationContext(a),l.setSDKProcessingMetadata({normalizedRequest:(0,s.getHttpRequestData)()}),ea(e,{op:"pageload",...t})})},afterAllSetup(e){var t,i,u,d,h;let m,g=(0,l.getLocationHref)();if("off"!==en&&(0,R.linkTraces)(e,{linkPreviousTrace:en,consistentTraceSampling:er}),s.WINDOW.location){if(Z){let t=(0,a.browserPerformanceTimeOrigin)();z(e,{name:s.WINDOW.location.pathname,startTime:t?t/1e3:void 0,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}ee&&(0,y.addHistoryInstrumentationHandler)(({to:t,from:i})=>{var o,l;let u,d;if(void 0===i&&g?.indexOf(t)!==-1){g=void 0;return}g=void 0;let p=(0,c.parseStringToURLObject)(t),h=e[J],m=h&&et&&(o=h,l=n,u=(0,f.spanToJSON)(o),!((d=(0,a.dateTimestampInSeconds)())-u.start_timestamp>.3)&&(!l||!(d-l<=.3)));Y(e,{name:p?.pathname||s.WINDOW.location.pathname,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:t,isRedirect:m})})}B&&(0,b.registerBackgroundTabDetection)(),k&&(t=e,i=L,u=U,d=P,h=S,s.WINDOW.document&&addEventListener("click",()=>{let e="ui.action.click",n=function(e){return e[J]}(t);if(n&&["navigation","pageload"].includes((0,f.spanToJSON)(n).op)){I.DEBUG_BUILD&&p.debug.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(m&&(m.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),m.end(),m=void 0),!h.name){I.DEBUG_BUILD&&p.debug.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}m=(0,o.startIdleSpan)({name:h.name,op:e,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:h.source||"url"}},{idleTimeout:i,finalTimeout:u,childSpanTimeout:d})},{capture:!0})),w&&(0,E.registerInpInteractionListener)(),W(e,{traceFetch:F,traceXHR:$,trackFetchStreamPerformance:H,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:j,enableHTTPTimings:K,onRequestSpanStart:ei})}}};function z(e,t,n){e.emit("startPageLoadSpan",t,n),(0,d.getCurrentScope)().setTransactionName(t.name);let r=e[J];return r&&e.emit("afterStartPageLoadSpan",r),r}function Y(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i}),e.emit("startNavigationSpan",t,{isRedirect:i});let a=(0,d.getCurrentScope)();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...(0,s.getHttpRequestData)(),url:r}}),e[J]}function q(e){let t=s.WINDOW.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}let J="_sentry_idleSpan";function V(e,t){(0,S.addNonEnumerableProperty)(e,J,t)}e.s(["browserTracingIntegration",()=>j,"startBrowserTracingNavigationSpan",()=>Y,"startBrowserTracingPageLoadSpan",()=>z],630952);var K=e.i(321231);let X=i.GLOBAL_OBJ,Q=null,Z=new Map,ee=new Map;function et(e){let t=e.split("/").filter(Boolean),n=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?n+=1e3:t.endsWith("*")?n+=100:n+=10}return n}let en=e=>{let n=function(){if(!X?._sentryRouteManifest||"string"!=typeof X._sentryRouteManifest)return null;let e=X._sentryRouteManifest;if(Q&&t===e)return Q;Z.clear(),ee.clear();let n={staticRoutes:[],dynamicRoutes:[]};try{if(n=JSON.parse(e),!Array.isArray(n.staticRoutes)||!Array.isArray(n.dynamicRoutes))return null;return Q=n,t=e,n}catch{return K.DEBUG_BUILD&&p.debug.warn("Could not extract route manifest"),null}}();if(!n)return;if(ee.has(e))return ee.get(e);let{staticRoutes:r,dynamicRoutes:i}=n;if(!Array.isArray(r)||!Array.isArray(i))return;let a=(function(e,t,n){let r=[];if(t.some(t=>t.path===e))return r;for(let t of n)if(t.regex){let n=function(e){if(Z.has(e))return Z.get(e)??null;try{let t=new RegExp(e);return Z.set(e,t),t}catch(t){return K.DEBUG_BUILD&&p.debug.warn("Could not compile regex",{regexString:e,error:t}),null}}(t.regex);n?.test(e)&&r.push(t.path)}return r})(e,r,i).sort((e,t)=>
10et(e)-et(t))[0];return ee.set(e,a),a},er="incomplete-app-router-transaction",ei="router-patch",ea={current:void 0};function es(e){let t=en(s.WINDOW.location.pathname),n=(0,a.browserPerformanceTimeOrigin)();z(e,{name:t??s.WINDOW.location.pathname,startTime:n?n/1e3:void 0,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.app_router_instrumentation",[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url"}})}let eo=i.GLOBAL_OBJ;function el(e){n=(t,n)=>{let i=new URL(t,s.WINDOW.location.href).pathname,a=en(i),o=a??i;"router-patch"===ei&&(ei="transition-start-hook");let l=ea.current;l?(l.updateName(o),l.setAttributes({"navigation.type":`router.${n}`,[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:a?"route":"url"}),ea.current=void 0):Y(e,{name:o,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:a?"route":"url","navigation.type":`router.${n}`}})},s.WINDOW.addEventListener("popstate",()=>{let t=en(s.WINDOW.location.pathname);ea.current?.isRecording()?(ea.current.updateName(t??s.WINDOW.location.pathname),ea.current.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,t?"route":"url")):ea.current=Y(e,{name:t??s.WINDOW.location.pathname,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url","navigation.type":"browser.popstate"}})});let t=!1,i=0,a=setInterval(()=>{i++;let n=eo?.next?.router??eo?.nd?.router;t||i>500?clearInterval(a):n&&(clearInterval(a),t=!0,ed(e,n,ea),["nd","next"].forEach(t=>{let n=eo[t];n&&(eo[t]=new Proxy(n,{set:(t,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&ed(e,r,ea),t[n]=r,!0)}))}))},20)}function ec(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let eu=new WeakSet;function ed(e,t,n){eu.has(t)||(eu.add(t),["back","forward","push","replace"].forEach(i=>{t?.[i]&&(t[i]=new Proxy(t[i],{apply(t,a,s){if("router-patch"!==ei)return t.apply(a,s);let o=er,l={[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"};"push"===i?(o=ec(s[0]),l["navigation.type"]="router.push"):"replace"===i?(o=ec(s[0]),l["navigation.type"]="router.replace"):"back"===i?l["navigation.type"]="router.back":"forward"===i&&(l["navigation.type"]="router.forward");let c=en(o);return n.current=Y(e,{name:c??o,attributes:{...l,[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:c?"route":"url"}}),t.apply(a,s)}}))}))}function ep(e,t){n&&n(e,t)}e.s(["INCOMPLETE_APP_ROUTER_INSTRUMENTATION_TRANSACTION_NAME",()=>er,"appRouterInstrumentNavigation",()=>el,"appRouterInstrumentPageLoad",()=>es,"captureRouterTransitionStart",()=>ep],777042)},990476,285898,732275,418557,573338,512623,685168,623827,e=>{"use strict";let t;var n=e.i(653541);function r(e,t,i=[t],a="npm"){let s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:i.map(e=>({name:`${a}:@sentry/${e}`,version:n.SDK_VERSION})),version:n.SDK_VERSION}),e._metadata=s}e.s(["applySdkMetadata",()=>r],990476);var i=e.i(664660),a=e.i(451048),s=e.i(182021);let o=[];function l(e){let t,n,r=e.defaultIntegrations||[],i=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(i))t=[...r,...i];else if("function"==typeof i){let e=i(r);t=Array.isArray(e)?e:[e]}else t=r;return n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)}function c(e,t){let n={};return t.forEach(t=>{t&&d(e,t,n)}),n}function u(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function d(e,t,n){if(n[t.name]){i.DEBUG_BUILD&&s.debug.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===o.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),o.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}i.DEBUG_BUILD&&s.debug.log(`Integration installed: ${t.name}`)}function p(e){let t=(0,a.getClient)();if(!t){i.DEBUG_BUILD&&s.debug.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function h(e){return e}function m(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}e.s(["addIntegration",()=>p,"afterSetupIntegrations",()=>u,"defineIntegration",()=>h,"getIntegrationsToSetup",()=>l,"setupIntegration",()=>d,"setupIntegrations",()=>c],285898),e.s(["getPossibleEventMessages",()=>m],732275);var f=e.i(387395),g=e.i(399677);let _=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],S=(e={})=>{let t;return{name:"EventFilters",setup(n){t=E(e,n.getOptions())},processEvent:(n,r,a)=>(t||(t=E(e,a.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&(0,g.stringMatchesSomePattern)(n,t)}(e,t.ignoreTransactions))return i.DEBUG_BUILD&&s.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 11Event: ${(0,f.getEventDescription)(e)}`),!0}else{var n,r,a;if(n=e,r=t.ignoreErrors,r?.length&&m(n).some(e=>(0,g.stringMatchesSomePattern)(e,r)))return i.DEBUG_BUILD&&s.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 12Event: ${(0,f.getEventDescription)(e)}`),!0;if(a=e,a.exception?.values?.length&&!a.message&&!a.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return i.DEBUG_BUILD&&s.debug.warn(`Event dropped due to not having an error message, error type or stacktrace. 13Event: ${(0,f.getEventDescription)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=v(e);return!!n&&(0,g.stringMatchesSomePattern)(n,t)}(e,t.denyUrls))return i.DEBUG_BUILD&&s.debug.warn(`Event dropped due to being matched by \`denyUrls\` option. 14Event: ${(0,f.getEventDescription)(e)}. 15Url: ${v(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=v(e);return!n||(0,g.stringMatchesSomePattern)(n,t)}(e,t.allowUrls))return i.DEBUG_BUILD&&s.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option. 16Event: ${(0,f.getEventDescription)(e)}. 17Url: ${v(e)}`),!0}return!1}(n,t)?n:null)}},y=(e={})=>({...S(e),name:"InboundFilters"});
17function E(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:_],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function v(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return i.DEBUG_BUILD&&s.debug.error(`Cannot extract url for event ${(0,f.getEventDescription)(e)}`),null}}e.s(["eventFiltersIntegration",()=>S,"inboundFiltersIntegration",()=>y],418557);var T=e.i(899619);let I=new WeakMap,b=()=>({name:"FunctionToString",setupOnce(){t=Function.prototype.toString;try{Function.prototype.toString=function(...e){let n=(0,T.getOriginalFunction)(this),r=I.has((0,a.getClient)())&&void 0!==n?n:this;return t.apply(r,e)}}catch{}},setup(e){I.set(e,!0)}});e.s(["functionToStringIntegration",()=>b],573338);var R=e.i(25366);let N=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n,r,a,o,l,c;let u,d,p,h;if(n=t,(r=e)&&(a=n,o=r,u=a.message,d=o.message,(u||d)&&(!u||d)&&(u||!d)&&u===d&&C(a,o)&&w(a,o)&&1||(l=n,c=r,p=A(c),h=A(l),p&&h&&p.type===h.type&&p.value===h.value&&C(l,c)&&w(l,c))))return i.DEBUG_BUILD&&s.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function w(e,t){let n=(0,R.getFramesFromEvent)(e),r=(0,R.getFramesFromEvent)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function C(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch{return!1}}function A(e){return e.exception?.values?.[0]}function O(e,t){!0===t.debug&&(i.DEBUG_BUILD?s.debug.enable():(0,s.consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,a.getCurrentScope)().update(t.initialScope);let n=new e(t);return k(n),n.init(),n}function k(e){(0,a.getCurrentScope)().setClient(e)}e.s(["dedupeIntegration",()=>N],512623),e.s(["initAndBind",()=>O,"setCurrentClient",()=>k],685168);var D=e.i(111053);function M(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function x(e,t,n){let r;return t||`${M(e)}${e.projectId}/envelope/?${r={sentry_version:"7"},e.publicKey&&(r.sentry_key=e.publicKey),n&&(r.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(r).toString()}`}function L(e,t){let n=(0,D.makeDsn)(e);if(!n)return"";let r=`${M(n)}embed/error-page/`,i=`dsn=${(0,D.dsnToString)(n)}`;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`${r}?${i}`}e.s(["getEnvelopeEndpointWithUrlEncodedAuth",()=>x,"getReportDialogEndpoint",()=>L],623827)},389,449079,725089,645804,105878,e=>{"use strict";var t=e.i(623827),n=e.i(872028),r=e.i(451048),i=e.i(664660),a=e.i(347907),s=e.i(285898),o=e.i(817433),l=e.i(540735),c=e.i(357082),u=e.i(847378),d=e.i(182021),p=e.i(111053),h=e.i(732275),m=e.i(914046),f=e.i(871766),g=e.i(387395),_=e.i(958927),S=e.i(929203),y=e.i(893859),E=e.i(980323),v=e.i(63104);let T="Not capturing exception because it's already been captured.",I="Discarded session because of missing or non-string release",b=Symbol.for("SentryInternalError"),R=Symbol.for("SentryDoNotSendEventError");function N(e){return{message:e,[b]:!0}}function w(e){return{message:e,[R]:!0}}function C(e){return!!e&&"object"==typeof e&&b in e}function A(e){return!!e&&"object"==typeof e&&R in e}class O{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,p.makeDsn)(e.dsn):i.DEBUG_BUILD&&d.debug.warn("No DSN provided, client will not send events."),this._dsn){const n=(0,t.getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:n})}}captureException(e,t,n){let r=(0,g.uuid4)();if((0,g.checkOrSetAlreadyCaught)(e))return i.DEBUG_BUILD&&d.debug.log(T),r;let a={event_id:r,...t};return this._process(this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n))),a.event_id}captureMessage(e,t,n,r){let i={event_id:(0,g.uuid4)(),...n},a=(0,m.isParameterizedString)(e)?e:String(e),s=(0,m.isPrimitive)(e)?this.eventFromMessage(
17a,t,i):this.eventFromException(e,i);return this._process(s.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){let r=(0,g.uuid4)();if(t?.originalException&&(0,g.checkOrSetAlreadyCaught)(t.originalException))return i.DEBUG_BUILD&&d.debug.log(T),r;let a={event_id:r,...t},s=e.sdkProcessingMetadata||{},o=s.capturedSpanScope,l=s.capturedSpanIsolationScope;return this._process(this._captureEvent(e,a,o||n,l)),a.event_id}captureSession(e){this.sendSession(e),(0,o.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.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):(0,E.resolvedSyncPromise)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];(0,s.setupIntegration)(this,e,this._integrations),t||(0,s.afterSetupIntegrations)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,a.createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=(0,c.addItemToEnvelope)(n,(0,c.createAttachmentEnvelopeItem)(e));let r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let{release:t,environment:r=n.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){i.DEBUG_BUILD&&d.debug.warn(I);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){i.DEBUG_BUILD&&d.debug.warn(I);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let s=(0,a.createSessionEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(s)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;i.DEBUG_BUILD&&d.debug.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(i.DEBUG_BUILD&&d.debug.error("Error while sending envelope:",e),e)):(i.DEBUG_BUILD&&d.debug.error("Transport disabled"),(0,E.resolvedSyncPromise)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,s.setupIntegrations)(this,e),(0,s.afterSetupIntegrations)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception?.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t?.handled===!1){n=!0;break}}let a="ok"===e.status;(a&&0===e.errors||a&&n)&&((0,o.updateSession)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new E.SyncPromise(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,i){let a=this.getOptions(),s=Object.keys(this._integrations);return!t.integrations&&s?.length&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||i.setLastEventId(e.event_id||t.event_id),(0,S.prepareEvent)(a,e,t,n,this,i).then(e=>
17(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:(0,r.getTraceContextFromScope)(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,l.getDynamicSamplingContextFromScope)(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n=(0,r.getCurrentScope)(),a=(0,r.getIsolationScope)()){return i.DEBUG_BUILD&&k(e)&&d.debug.log(`Captured error event \`${(0,h.getPossibleEventMessages)(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,a).then(e=>e.event_id,e=>{i.DEBUG_BUILD&&(A(e)?d.debug.log(e.message):C(e)?d.debug.warn(e.message):d.debug.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,s=D(e),o=k(e),l=e.type||"error",c=`before send for type \`${l}\``,u=void 0===a?void 0:(0,_.parseSampleRate)(a);if(o&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),(0,E.rejectedSyncPromise)(w(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let d="replay_event"===l?"replay":l;return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),w("An event processor returned `null`, will not send event.");return t.data&&!0===t.data.__sentry__?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,m.isThenable)(e))return e.then(e=>{if(!(0,m.isPlainObject)(e)&&null!==e)throw N(n);return e},e=>{throw N(`${t} rejected with ${e}`)});if(!(0,m.isPlainObject)(e)&&null!==e)throw N(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,beforeSendSpan:s}=t,o=n;if(k(o)&&i)return i(o,r);if(D(o)){if(s){let e=s(function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:s,op:o}=e.contexts?.trace??{};return{data:s??{},description:e.transaction,op:o,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:s?.[v.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:s?.[v.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}(o));if(e)o=(0,f.merge)(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[v.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[v.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements});else(0,y.showSpanDropWarning)();if(o.spans){let e=[];for(let t of o.spans){let n=s(t);n?e.push(n):((0,y.showSpanDropWarning)(),e.push(t))}o.spans=e}}if(a){if(o.spans){let e=o.spans.length;o.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(o,r)}}return o}(0,i,e,t),c)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",d),s){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw w(`${c} returned \`null\`, will not send event.`)}let a=n.getSession()||r.getSession();if(o&&a&&this._updateSessionFromEvent(a,i),s){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=i.transaction_info;return s&&l&&i.transaction!==e.transaction&&(i.transaction_info={...l,source:"custom"}),this.sendEvent(i,t),i}).then(null,e=>{if(A(e)||C(e))throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),N(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 18Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;let t;i.DEBUG_BUILD&&d.debug.log("Flushing outcomes...");let n=this._clearOutcomes();if(0===n.length){i.DEBUG_BUILD&&d.debug.log("No outcomes to send");return}if(!this._dsn){i.DEBUG_BUILD&&d.debug.log("No dsn provided, will not send outcomes");return}i.DEBUG_BUILD&&d.debug.log("Sending outcomes:",n);let r=(e=this._options.tunnel&&(0,p.dsnToString)(this._dsn),t=[{type:"client_report"},{timestamp:(0,u.dateTimestampInSeconds)(),discarded_events:n}],(0,c.createEnvelope)(e?{dsn:e}:{},[t]));this.sendEnvelope(r)}}function k(e){return void 0===e.type}function D(e){return"transaction"===e.type}function M(e,t){return t?(0,r.withScope)(t,()=>{let n=(0,y.getActiveSpan)(),i=n?(0,y.spanToTraceContext)(n):(0,r.getTraceContextFromScope)(t);return[n?(0,l.getDynamicSamplingContextFromSpan)(n):(0,l.getDynamicSamplingContextFromScope)(e,t),i]}):[void 0,void 0]}function x(){return"u">typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function L(){return"npm"}e.s(["Client",()=>O,"_getTraceInfoFromScope",()=>M],389),e.s(["getSDKSource",()=>
18L,"isBrowserBundle",()=>x],449079);var U=e.i(931140),P=e.i(649796),B=e.i(266361);let F={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};function W(e,t,n,r=!0){n&&(!e[t]||r)&&(e[t]=n)}function $(e,t){var n;let r=j(),i=(n=e,j().get(n));void 0===i?r.set(e,[t]):i.length>=100?(G(e,i),r.set(e,[t])):r.set(e,[...i,t])}function H(e,t=(0,r.getClient)(),n=(0,r.getCurrentScope)(),a=$){var s;let o;if(!t){i.DEBUG_BUILD&&d.debug.warn("No client available to capture log.");return}let{release:l,environment:c,enableLogs:p,beforeSendLog:h,_experiments:f}=t.getOptions();if(!(p??f?.enableLogs)){i.DEBUG_BUILD&&d.debug.warn("logging option not enabled, log will not be captured.");return}let g=h??f?.beforeSendLog,[,_]=M(t,n),S={...e.attributes},{user:{id:y,email:E,username:v}}=(s=n,o=(0,r.getGlobalScope)().getScopeData(),(0,P.mergeScopeData)(o,(0,r.getIsolationScope)().getScopeData()),(0,P.mergeScopeData)(o,s.getScopeData()),o);W(S,"user.id",y,!1),W(S,"user.email",E,!1),W(S,"user.name",v,!1),W(S,"sentry.release",l),W(S,"sentry.environment",c);let{name:T,version:I}=t.getSdkMetadata()?.sdk??{};W(S,"sentry.sdk.name",T),W(S,"sentry.sdk.version",I);let b=e.message;if((0,m.isParameterizedString)(b)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=b;S["sentry.message.template"]=e,t.forEach((e,t)=>{S[`sentry.message.parameter.${t}`]=e})}let R=(0,B._getSpanForScope)(n);W(S,"sentry.trace.parent_span_id",R?.spanContext().spanId);let N={...e,attributes:S};t.emit("beforeCaptureLog",N);let w=g?(0,d.consoleSandbox)(()=>g(N)):N;if(!w){t.recordDroppedEvent("before_send","log_item",1),i.DEBUG_BUILD&&d.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:C,message:A,attributes:O={},severityNumber:k}=w;a(t,{timestamp:(0,u.timestampInSeconds)(),level:C,body:A,trace_id:_?.trace_id,severity_number:k??F[C],attributes:Object.keys(O).reduce((e,t)=>(e[t]=function(e){switch(typeof e){case"number":if(Number.isInteger(e))return{value:e,type:"integer"};return{value:e,type:"double"};case"boolean":return{value:e,type:"boolean"};case"string":return{value:e,type:"string"};default:{let t="";try{t=JSON.stringify(e)??""}catch{}return{value:t,type:"string"}}}}(O[t]),e),{})}),t.emit("afterCaptureLog",w)}function G(e,t){var n,r,i,a;let s,o=t??(a=e,j().get(a))??[];if(0===o.length)return;let l=e.getOptions(),u=(n=l._metadata,r=l.tunnel,i=e.getDsn(),s={},n?.sdk&&(s.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(s.dsn=(0,p.dsnToString)(i)),(0,c.createEnvelope)(s,[[{type:"log",item_count:o.length,content_type:"application/vnd.sentry.items.log+json"},{items:o}]]));j().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(u)}function j(){return(0,U.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function z(e){e.user?.ip_address===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}function Y(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}e.s(["_INTERNAL_captureLog",()=>H,"_INTERNAL_flushLogsBuffer",()=>G],725089),e.s(["addAutoIpAddressToSession",()=>Y,"addAutoIpAddressToUser",()=>z],645804);var q=e.i(878174),J=e.i(899619);function V(e,t){var n,r;let i,a,s=X(e,t),o={type:(n=t,!(i=n?.name)&&Z(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":i),value:(r=t,a=r?.message,Z(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":a?a.error&&"string"==typeof a.error.message?a.error.message:a:"No error message")};return s.length&&(o.stacktrace={frames:s}),void 0===o.type&&""===o.value&&(o.value="Unrecoverable error caught"),o}function K(e,t){return{exception:{values:[V(e,t)]}}}function X(e,t){var n,r;let i=t.stacktrace||t.stack||"",a=(n=t)&&Q.test(n.message)?1:0,s="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(i,a,s)}catch{}return[]}let Q=/Minified React error #\d+;/i;function Z(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function ee(e,t,n,r){let i=en(e,t,n?.syntheticException||void 0,r);return(0,g.addExceptionMechanism)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),(0,E.resolvedSyncPromise)(i)}function et(e,t,n="info",r,i){let a=er(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),(0,E.resolvedSyncPromise)(a)}function en(e,t,n,i,a){let s;if((0,m.isErrorEvent)(t)&&t.error)return K(e,t.error);if((0,m.isDOMError)(t)||(0,m.isDOMException)(t)){if("stack"in t)s=K(e,t);else{let r=t.name||((0,m.isDOMError)(t)?"DOMError":"DOMException"),a=t.message?`${r}: ${t.message}`:r;s=er(e,a,n,i),(0,g.addExceptionTypeValue)(s,a)}return"code"in t&&(s.tags={...s.tags,"DOMException.code":`${t.code}`}),s}return(0,m.isError)(t)?K(e,t):((0,m.isPlainObject)(t)||(0,m.isEvent)(t)?s=function(e,t,n,i){let a=(0,r.getClient)(),s=a?.getOptions().normalizeDepth,o=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),l={__serialized__:(0,q.normalizeToSize)(t,s)};if(o)return{exception:{values:[V(e,o)]},extra:l};let c={exception:{values:[{type:(0,m.isEvent)(t)?t.constructor.name:i?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=(0,J.extractExceptionKeysForMessage)(e),r=t?"promise rejection":"exception";if((0,m.isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,m.isEvent)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:i})}]},extra:l};if(n){let t=X(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}(e,t,n,a):(s=er(e,t,n,i),(0,g.addExceptionTypeValue)(s,`${t}`,void 0)),(0,g.addExceptionMechanism)(s,{synthetic:!0}),s)}function er(e,t,n,r){let i={};if(r&&n){let r=X(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,g.addExceptionMechanism)(i,{synthetic:!0})}
18if((0,m.isParameterizedString)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}e.s(["eventFromException",()=>ee,"eventFromMessage",()=>et,"eventFromUnknownInput",()=>en,"exceptionFromError",()=>V],105878)},23015,e=>{"use strict";var t=e.i(389),n=e.i(449079),r=e.i(990476),i=e.i(725089),a=e.i(645804),s=e.i(105878),o=e.i(208460);class l extends t.Client{constructor(e){const t=function(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:o.WINDOW.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}(e),s=o.WINDOW.SENTRY_SDK_SOURCE||(0,n.getSDKSource)();(0,r.applySdkMetadata)(t,"browser",["browser"],s),super(t);const{sendDefaultPii:l,sendClientReports:c,enableLogs:u,_experiments:d}=this._options,p=u??d?.enableLogs;o.WINDOW.document&&(c||p)&&o.WINDOW.document.addEventListener("visibilitychange",()=>{"hidden"===o.WINDOW.document.visibilityState&&(c&&this._flushOutcomes(),p&&(0,i._INTERNAL_flushLogsBuffer)(this))}),p&&(this.on("flush",()=>{(0,i._INTERNAL_flushLogsBuffer)(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{(0,i._INTERNAL_flushLogsBuffer)(this)},5e3)})),l&&(this.on("postprocessEvent",a.addAutoIpAddressToUser),this.on("beforeSendSession",a.addAutoIpAddressToSession))}eventFromException(e,t){return(0,s.eventFromException)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return(0,s.eventFromMessage)(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}e.s(["BrowserClient",()=>l])},782771,e=>{"use strict";var t=e.i(182021),n=e.i(899619),r=e.i(410544),i=e.i(28979);function a(e){let t="console";(0,i.addHandler)(t,e),(0,i.maybeInstrument)(t,s)}function s(){"console"in r.GLOBAL_OBJ&&t.CONSOLE_LEVELS.forEach(function(e){e in r.GLOBAL_OBJ.console&&(0,n.fill)(r.GLOBAL_OBJ.console,e,function(n){return t.originalConsoleMethods[e]=n,function(...n){(0,i.triggerHandlers)("console",{args:n,level:e});let a=t.originalConsoleMethods[e];a?.apply(r.GLOBAL_OBJ.console,n)}})})}e.s(["addConsoleInstrumentationHandler",()=>a])},131713,460077,762190,e=>{"use strict";function t(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}e.s(["severityLevelFromString",()=>t],131713);var n=e.i(451048),r=e.i(182021),i=e.i(847378);function a(e,t){let a=(0,n.getClient)(),s=(0,n.getIsolationScope)();if(!a)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:l=100}=a.getOptions();if(l<=0)return;let c={timestamp:(0,i.dateTimestampInSeconds)(),...e},u=o?(0,r.consoleSandbox)(()=>o(c,t)):c;null!==u&&(a.emit&&a.emit("beforeAddBreadcrumb",u,t),s.addBreadcrumb(u,l))}function s(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}e.s(["addBreadcrumb",()=>a],460077),e.s(["getBreadcrumbLogLevelFromHttpStatusCode",()=>s],762190)},611210,e=>{"use strict";let t,n,r;var i=e.i(28979),a=e.i(899619),s=e.i(387395),o=e.i(577538);function l(e){(0,i.addHandler)("dom",e),(0,i.maybeInstrument)("dom",c)}function c(){if(!o.WINDOW.document)return;let e=i.triggerHandlers.bind(null,"dom"),t=u(e,!0);o.WINDOW.document.addEventListener("click",t,!1),o.WINDOW.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=o.WINDOW,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,a.fill)(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=u(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),(0,a.fill)(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function u(e,i=!1){return l=>{var c;if(!l||l._sentryCaptured)return;let u=function(e){try{return e.target}catch{return null}}(l);if(c=l.type,"keypress"===c&&(!u?.tagName||"INPUT"!==u.tagName&&"TEXTAREA"!==u.tagName&&!u.isContentEditable&&1))return;(0,a.addNonEnumerableProperty)(l,"_sentryCaptured",!0),u&&!u._sentryId&&(0,a.addNonEnumerableProperty)(u,"_sentryId",(0,s.uuid4)());let d="keypress"===l.type?"input":l.type;!function(e){if(e.type!==n)return!1;try{if(!e.target||e.target._sentryId!==r)return!1}catch{}return!0}(l)&&(e({event:l,name:d,global:i}),n=l.type,r=u?u._sentryId:void 0),clearTimeout(t),t=o.WINDOW.setTimeout(()=>{r=void 0,n=void 0},1e3)}}e.s(["addClickKeypressInstrumentationHandler",()=>l])},984027,987069,716117,e=>{"use strict";var t=e.i(285898),n=e.i(782771),r=e.i(334018),i=e.i(451048),a=e.i(399677),s=e.i(131713),o=e.i(460077),l=e.i(182021),c=e.i(530011),u=e.i(762190),d=e.i(758893),p=e.i(387395),h=e.i(611210),m=e.i(696843),f=e.i(982120),g=e.i(513162),_=e.i(208460);let S=(0,t.defineIntegration)((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var S,y,E,v,T,I,b;t.console&&(0,n.addConsoleInstrumentationHandler)((S=e,function(e){if((0,i.getClient)()!==S)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,s.severityLevelFromString)(e.level),message:(0,a.safeJoin)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,a.safeJoin)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);(0,o.addBreadcrumb)(t,{input:e.args,level:e.level})})),t.dom&&(0,h.addClickKeypressInstrumentationHandler)((y=e,E=t.dom,function(e){let t,n;if((0,i.getClient)()!==y)return;let r="object"==typeof E?E.serializeAttribute:void 0,a="object"==typeof E&&"number"==typeof E.maxStringLength?E.maxStringLength:void 0;a&&a>1024&&(g.DEBUG_BUILD&&l.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof r&&(r=[r]);try{var s;let i=e.event,o=(s=i)&&s.target?i.target:i;t=(0,c.htmlTreeAsString)(o,{keyAttrs:r,maxStringLength:a}),n=(0,c.getComponentName)(o)}catch{t="<unknown>"}if(0===t.length)return;let u={category:`ui.${e.name}`,message:t};n&&(u.data={"ui.component_name":n}),(0,o.addBreadcrumb)(u,{event:e.event,name:e.name,global:e.global})})),t.xhr&&(0,m.addXhrInstrumentationHandler)((v=e,function(e){if((0,i.getClient)()!==v)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[m.SENTRY_XHR_DATA_KEY];if(!t||!n||!r)return;let{method:a,url:s,status_code:l,body:c}=r,d={xhr:e.xhr,input:c,startTimestamp:t,endTimestamp:n},p={category:"xhr",data:{method:a,url:s,status_code:l},type:"http",level:(0,u.getBreadcrumbLogLevelFromHttpStatusCode)(l)};v.emit("beforeOutgoingRequestBreadcrumb",p,d),(0,o.addBreadcrumb)(p,d)})),t.fetch&&(0,r.addFetchInstrumentationHandler)((T=e,function(e){if((0,i.getClient)()!==T)return;let{startTimestamp:t,endTimestamp:n}=e;
18if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.fetchData.method,e.fetchData.url,e.error){let r=e.fetchData,i={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},a={category:"fetch",data:r,level:"error",type:"http"};T.emit("beforeOutgoingRequestBreadcrumb",a,i),(0,o.addBreadcrumb)(a,i)}else{let r=e.response,i={...e.fetchData,status_code:r?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,r?.status;let a={input:e.args,response:r,startTimestamp:t,endTimestamp:n},s={category:"fetch",data:i,type:"http",level:(0,u.getBreadcrumbLogLevelFromHttpStatusCode)(i.status_code)};T.emit("beforeOutgoingRequestBreadcrumb",s,a),(0,o.addBreadcrumb)(s,a)}})),t.history&&(0,f.addHistoryInstrumentationHandler)((I=e,function(e){if((0,i.getClient)()!==I)return;let t=e.from,n=e.to,r=(0,d.parseUrl)(_.WINDOW.location.href),a=t?(0,d.parseUrl)(t):void 0,s=(0,d.parseUrl)(n);a?.path||(a=r),r.protocol===s.protocol&&r.host===s.host&&(n=s.relative),r.protocol===a.protocol&&r.host===a.host&&(t=a.relative),(0,o.addBreadcrumb)({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(b=e,function(e){(0,i.getClient)()===b&&(0,o.addBreadcrumb)({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,p.getEventDescription)(e)},{event:e})}))}}});e.s(["breadcrumbsIntegration",()=>S],984027);var y=e.i(899619),E=e.i(25366);let v=["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"],T=(0,t.defineIntegration)((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,y.fill)(_.WINDOW,"setTimeout",I),t.setInterval&&(0,y.fill)(_.WINDOW,"setInterval",I),t.requestAnimationFrame&&(0,y.fill)(_.WINDOW,"requestAnimationFrame",b),t.XMLHttpRequest&&"XMLHttpRequest"in _.WINDOW&&(0,y.fill)(XMLHttpRequest.prototype,"send",R);let e=t.eventTarget;e&&(Array.isArray(e)?e:v).forEach(e=>{var n,r;let i,a;return n=e,r=t,i=_.WINDOW,a=i[n]?.prototype,void(a?.hasOwnProperty?.("addEventListener")&&((0,y.fill)(a,"addEventListener",function(e){return function(t,i,a){var s,o,l,c;try{s=i,"function"==typeof s.handleEvent&&(i.handleEvent=(0,_.wrap)(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,E.getFunctionName)(i),target:n},handled:!1,type:"instrument"}}))}catch{}return r.unregisterOriginalCallbacks&&(o=this,l=t,c=i,o&&"object"==typeof o&&"removeEventListener"in o&&"function"==typeof o.removeEventListener&&o.removeEventListener(l,c)),e.apply(this,[t,(0,_.wrap)(i,{mechanism:{data:{function:"addEventListener",handler:(0,E.getFunctionName)(i),target:n},handled:!1,type:"instrument"}}),a])}}),(0,y.fill)(a,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch{}return e.call(this,t,n,r)}})))})}}});function I(e){return function(...t){let n=t[0];return t[0]=(0,_.wrap)(n,{mechanism:{data:{function:(0,E.getFunctionName)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function b(e){return function(t){return e.apply(this,[(0,_.wrap)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,E.getFunctionName)(e)},handled:!1,type:"instrument"}})])}}function R(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,y.fill)(n,e,function(t){let n={mechanism:{data:{function:e,handler:(0,E.getFunctionName)(t)},handled:!1,type:"instrument"}},r=(0,y.getOriginalFunction)(t);return r&&(n.mechanism.data.handler=(0,E.getFunctionName)(r)),(0,_.wrap)(t,n)})}),e.apply(this,t)}}e.s(["browserApiErrorsIntegration",()=>T],987069);var N=e.i(275885);let w=(0,t.defineIntegration)(()=>({name:"BrowserSession",setupOnce(){if(void 0===_.WINDOW.document){g.DEBUG_BUILD&&l.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,N.startSession)({ignoreDuration:!0}),(0,N.captureSession)(),(0,f.addHistoryInstrumentationHandler)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,N.startSession)({ignoreDuration:!0}),(0,N.captureSession)())})}}));e.s(["browserSessionIntegration",()=>w],716117)},455827,230692,417489,637858,440616,826201,e=>{"use strict";var t=e.i(285898),n=e.i(602486),r=e.i(451048),i=e.i(275885),a=e.i(182021),s=e.i(983276),o=e.i(914046),l=e.i(530011),c=e.i(25366),u=e.i(513162),d=e.i(105878),p=e.i(208460);let h=(0,t.defineIntegration)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var a,u;t.onerror&&(a=e,(0,n.addGlobalErrorInstrumentationHandler)(e=>{var t,n,s,u;let h,m,g,_,S,y,{stackParser:E,attachStacktrace:v}=f();if((0,r.getClient)()!==a||(0,p.shouldIgnoreOnError)())return;let{msg:T,url:I,line:b,column:R,error:N}=e,w=(t=(0,d.eventFromUnknownInput)(E,N||T,void 0,v,!1),n=I,s=b,u=R,S=(_=(g=(m=(h=t.exception=t.exception||{}).values=h.values||[])[0]=m[0]||{}).stacktrace=g.stacktrace||{}).frames=_.frames||[],y=(0,o.isString)(n)&&n.length>0?n:(0,l.getLocationHref)(),0===S.length&&S.push({colno:u,filename:y,function:c.UNKNOWN_FUNCTION,in_app:!0,lineno:s}),t);w.level="error",(0,i.captureEvent)(w,{originalException:N,mechanism:{handled:!1,type:"onerror"}})}),m("onerror")),t.onunhandledrejection&&(u=e,(0,s.addGlobalUnhandledRejectionInstrumentationHandler)(e=>{var t;let{stackParser:n,attachStacktrace:a}=f();if((0,r.getClient)()!==u||(0,p.shouldIgnoreOnError)())return;let s=function(e){if((0,o.isPrimitive)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(e),l=(0,o.isPrimitive)(s)?(t=s,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):(0,d.eventFromUnknownInput)(n,s,void 0,a,!0);l.level="error",(0,i.captureEvent)(l,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})}),m("onunhandledrejection"))}}});function m(e){u.DEBUG_BUILD&&a.debug.log(`Global Handler attached: ${e}`)}function f(){let e=(0,r.getClient)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}e.s(["globalHandlersIntegration",()=>h],455827);let g=(0,t.defineIntegration)(()=>({name:"HttpContext",preprocessEvent(e){if(!p.WINDOW.navigator&&!p.WINDOW.location&&!p.WINDOW.document)return;let t=(0,p.getHttpRequestData)(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}));function _(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0}
18,exception_id:t}}function S(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}e.s(["httpContextIntegration",()=>g],230692);let y=(0,t.defineIntegration)((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){let a=i.getOptions();!function(e,t,n,r,i,a){if(!i.exception?.values||!a||!(0,o.isInstanceOf)(a.originalException,Error))return;let s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=function e(t,n,r,i,a,s,l,c){if(s.length>=r+1)return s;let u=[...s];if((0,o.isInstanceOf)(i[a],Error)){_(l,c);let s=t(n,i[a]),o=u.length;S(s,a,o,c),u=e(t,n,r,i[a],a,[s,...u],s,o)}return Array.isArray(i.errors)&&i.errors.forEach((i,s)=>{if((0,o.isInstanceOf)(i,Error)){_(l,c);let o=t(n,i),d=u.length;S(o,`errors[${s}]`,d,c),u=e(t,n,r,i,a,[o,...u],o,d)}}),u}(e,t,r,a.originalException,n,i.exception.values,s,0))}(d.exceptionFromError,a.stackParser,n,t,e,r)}}});function E(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?c.UNKNOWN_FUNCTION:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}e.s(["linkedErrorsIntegration",()=>y],417489);let v=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,T=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,I=/\((\S*)(?::(\d+))(?::(\d+))\)/,b=[30,e=>{let t=v.exec(e);if(t){let[,e,n,r]=t;return E(e,c.UNKNOWN_FUNCTION,+n,+r)}let n=T.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=I.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=U(n[1]||c.UNKNOWN_FUNCTION,n[2]);return E(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],R=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,N=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,w=[50,e=>{let t=R.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=N.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||c.UNKNOWN_FUNCTION;return[n,e]=U(n,e),E(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],C=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,A=[40,e=>{let t=C.exec(e);return t?E(t[2],t[1]||c.UNKNOWN_FUNCTION,+t[3],t[4]?+t[4]:void 0):void 0}],O=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,k=[10,e=>{let t=O.exec(e);return t?E(t[2],t[3]||c.UNKNOWN_FUNCTION,+t[1]):void 0}],D=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,M=[20,e=>{let t=D.exec(e);return t?E(t[5],t[3]||t[4]||c.UNKNOWN_FUNCTION,+t[1],+t[2]):void 0}],x=[b,w],L=(0,c.createStackParser)(...x),U=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:c.UNKNOWN_FUNCTION,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};e.s(["chromeStackLineParser",()=>b,"defaultStackLineParsers",()=>x,"defaultStackParser",()=>L,"geckoStackLineParser",()=>w,"opera10StackLineParser",()=>k,"opera11StackLineParser",()=>M,"winjsStackLineParser",()=>A],637858);var P=e.i(664660),B=e.i(357082),F=e.i(980323);let W=Symbol.for("SentryBufferFullError");function $(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}function H(e,t,n=Date.now()){return(e[t]||e.all||0)>n}function G(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},a=n?.["x-sentry-rate-limits"],s=n?.["retry-after"];if(a)for(let e of a.trim().split(",")){let[t,n,,,a]=e.split(":",5),s=parseInt(t,10),o=(isNaN(s)?60:s)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!a||a.split(";").includes("custom"))&&(i[e]=r+o):i[e]=r+o;else i.all=r+o}else s?i.all=r+$(s,r):429===t&&(i.all=r+6e4);return i}function j(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,F.rejectedSyncPromise)(W);let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new F.SyncPromise((n,r)=>{let i=t.length;if(!i)return n(!0);let a=setTimeout(()=>{e&&e>0&&n(!1)},e);
18t.forEach(e=>{(0,F.resolvedSyncPromise)(e).then(()=>{--i||(clearTimeout(a),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(i){let s=[];if((0,B.forEachEnvelopeItem)(i,(t,n)=>{let i=(0,B.envelopeItemTypeToDataCategory)(n);H(r,i)?e.recordDroppedEvent("ratelimit_backoff",i):s.push(t)}),0===s.length)return(0,F.resolvedSyncPromise)({});let o=(0,B.createEnvelope)(i[0],s),l=t=>{(0,B.forEachEnvelopeItem)(o,(n,r)=>{e.recordDroppedEvent(t,(0,B.envelopeItemTypeToDataCategory)(r))})};return n.add(()=>t({body:(0,B.serializeEnvelope)(o)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&P.DEBUG_BUILD&&a.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=G(r,e),e),e=>{throw l("network_error"),P.DEBUG_BUILD&&a.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===W)return P.DEBUG_BUILD&&a.debug.error("Skipped sending event because buffer is full."),l("queue_overflow"),(0,F.resolvedSyncPromise)({});throw e})},flush:e=>n.drain(e)}}e.s(["isRateLimited",()=>H,"parseRetryAfterHeader",()=>$,"updateRateLimits",()=>G],440616),e.s(["createTransport",()=>j],826201)},513386,715492,580735,872183,680221,275816,e=>{"use strict";var t=e.i(275885),n=e.i(418557),r=e.i(573338),i=e.i(512623),a=e.i(285898),s=e.i(25366),o=e.i(685168),l=e.i(23015),c=e.i(984027),u=e.i(987069),d=e.i(716117),p=e.i(455827),h=e.i(230692),m=e.i(417489),f=e.i(637858),g=e.i(826201),_=e.i(980323),S=e.i(353231),y=e.i(182021),E=e.i(364213),v=e.i(577538);let T={};function I(e){let t=T[e];if(t)return t;let n=v.WINDOW[e];if((0,S.isNativeFunction)(n))return T[e]=n.bind(v.WINDOW);let r=v.WINDOW.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){E.DEBUG_BUILD&&y.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?T[e]=n.bind(v.WINDOW):n}function b(e){T[e]=void 0}function R(...e){return I("setTimeout")(...e)}function N(e,t=I("fetch")){let n=0,r=0;return(0,g.createTransport)(e,function(i){let a=i.body.length;n+=a,r++;let s={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return b("fetch"),(0,_.rejectedSyncPromise)("No fetch implementation available");try{return t(e.url,s).then(e=>(n-=a,r--,{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 b("fetch"),n-=a,r--,(0,_.rejectedSyncPromise)(e)}})}e.s(["clearCachedImplementation",()=>b,"getNativeImplementation",()=>I,"setTimeout",()=>R],715492),e.s(["makeFetchTransport",()=>N],580735);var w=e.i(530011),C=e.i(513162),A=e.i(208460);function O(e){return[(0,n.inboundFiltersIntegration)(),(0,r.functionToStringIntegration)(),(0,u.browserApiErrorsIntegration)(),(0,c.breadcrumbsIntegration)(),(0,p.globalHandlersIntegration)(),(0,m.linkedErrorsIntegration)(),(0,i.dedupeIntegration)(),(0,h.httpContextIntegration)(),(0,d.browserSessionIntegration)()]}function k(e={}){let t=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===A.WINDOW.window)return!1;let e=A.WINDOW;if(e.nw)return!1;let t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;let n=(0,w.getLocationHref)();return!(A.WINDOW===A.WINDOW.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(e=>n.startsWith(`${e}://`)))}()&&(C.DEBUG_BUILD&&(0,y.consoleSandbox)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),n={...e,enabled:!t&&e.enabled,stackParser:(0,s.stackParserFromStackParserOptions)(e.stackParser||f.defaultStackParser),integrations:(0,a.getIntegrationsToSetup)({integrations:e.integrations,defaultIntegrations:null==e.defaultIntegrations?O():e.defaultIntegrations}),transport:e.transport||N};return(0,o.initAndBind)(l.BrowserClient,n)}function D(){}function M(e){e()}e.s(["forceLoad",()=>D,"getDefaultIntegrations",()=>O,"init",()=>k,"onLoad",()=>M],872183);var x=e.i(990476),L=e.i(191788);function U(e){let n={...e};
18return(0,x.applySdkMetadata)(n,"react"),(0,t.setContext)("react",{version:L.version}),k(n)}e.s(["init",()=>U],513386);var P=e.i(350461);function B(e){let t=e?"production":P.default.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}e.s(["getVercelEnv",()=>B],680221);var F=e.i(914046);function W(e){return(0,F.isError)(e)&&["NEXT_NOT_FOUND","NEXT_HTTP_ERROR_FALLBACK;404"].includes(e.digest)}function $(e){return(0,F.isError)(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}e.s(["isNotFoundNavigationError",()=>W,"isRedirectNavigationError",()=>$],275816)},327377,454578,995790,e=>{"use strict";var t=e.i(350461),n=e.i(410544),r=e.i(990476),i=e.i(275885),a=e.i(451048),s=e.i(182021),o=e.i(513386),l=e.i(872183),c=e.i(680221),u=e.i(275816),d=e.i(630952),p=e.i(208460),h=e.i(777042),m=e.i(758893),f=e.i(63104),g=e.i(157821),_=e.i(847378),S=e.i(203828),y=e.i(321231);let E=S.default.events?S.default:S.default.default,v=p.WINDOW;function T(e={}){let t=(0,d.browserTracingIntegration)({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[n,{headers:r}]=t;return r?.get("next-router-prefetch")&&n?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){r&&function(e){if(p.WINDOW.document.getElementById("__NEXT_DATA__"))E.events.on("routeChangeStart",t=>{let n,r,i=(0,m.stripUrlQueryAndFragment)(t),a=function(e){let t=v.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let n,r,i,a=(n=t.split("/"),r="",n[n.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(n.pop(),r="(?:/(.+?))?"),i=n.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),RegExp(`^${i}${r}(?:/)?$`));return e.match(a)})}(i);a?(n=a,r="route"):(n=i,r="url"),(0,d.startBrowserTracingNavigationSpan)(e,{name:n,attributes:{[f.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[f.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.pages_router_instrumentation",[f.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:r}})});else(0,h.appRouterInstrumentNavigation)(e)}(e),t.afterAllSetup(e),n&&(p.WINDOW.document.getElementById("__NEXT_DATA__")?function(e){let{route:t,params:n,sentryTrace:r,baggage:i}=function(){let e,t=v.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{y.DEBUG_BUILD&&s.debug.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:i,props:a}=e;return n.route=r,n.params=i,a?.pageProps&&(n.sentryTrace=a.pageProps._sentryTraceData,n.baggage=a.pageProps._sentryBaggage),n}(),a=(0,g.parseBaggageHeader)(i),o=t||v.location.pathname;a?.["sentry-transaction"]&&"/_error"===o&&(o=(o=a["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let l=(0,_.browserPerformanceTimeOrigin)();(0,d.startBrowserTracingPageLoadSpan)(e,{name:o,startTime:l?l/1e3:void 0,attributes:{[f.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[f.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.pages_router_instrumentation",[f.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:i})}(e):(0,h.appRouterInstrumentPageLoad)(e))}}}e.s(["browserTracingIntegration",()=>T],454578);var I=e.i(285898);let b=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function R(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function N(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let w=(0,I.defineIntegration)((e={})=>{let t=e.root,r=e.prefix||"app:///",i="window"in n.GLOBAL_OBJ&&!!n.GLOBAL_OBJ.window,a=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),a=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(i||a){let e,a,s=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,o=t?function(e,t){e=R(e).slice(1),t=R(t).slice(1);let n=N(e.split("/")),r=N(t.split("/")),i=Math.min(n.length,r.length),a=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){a=e;break}let s=[];for(let e=a;
18e<n.length;e++)s.push("..");return(s=s.concat(r.slice(a))).join("/")}(t,s):(e=s.length>1024?`<truncated>${s.slice(-1024)}`:s,(a=b.exec(e))?a.slice(1):[])[2]||"";r.filename=`${n}${o}`}return r}}({isBrowser:i,root:t,prefix:r});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>a(e))}}}})}}}catch{return e}}(t)),t}}});e.s(["rewriteFramesIntegration",()=>w],995790);let C=(0,I.defineIntegration)(({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:r})=>({...w({iteratee:i=>{if(r){let n="u">typeof window&&window.location?window.location.origin:"";if(i.filename?.startsWith(n)&&!i.filename.endsWith(".js"))return i;if(e)i.filename?.startsWith(e)&&(i.filename=i.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(i.filename);e===n&&(i.filename=i.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(i.filename);i.filename=i.filename?.replace(e,"app://").replace(n,"")}catch{}return r?(i.filename?.includes("/_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)):(i.filename?.startsWith("app:///_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)),i}}),name:"NextjsClientStackFrameNormalization"}));var A=e.i(111053);let O=n.GLOBAL_OBJ,k=!1,D=n.GLOBAL_OBJ;function M(e){var n;let d,p,m,f,g;k&&(0,s.consoleSandbox)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),k=!0;let _={environment:(0,c.getVercelEnv)(!0)||"production",defaultIntegrations:(n=e,d=(0,l.getDefaultIntegrations)(n),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&d.push(T()),p=D._sentryRewriteFramesAssetPrefixPath||"",m=t.default.env._sentryAssetPrefix||D._sentryAssetPrefix,f=t.default.env._sentryBasePath||D._sentryBasePath,g="true"===t.default.env._experimentalThirdPartyOriginStackFrames||"true"===D._experimentalThirdPartyOriginStackFrames,d.push(C({assetPrefix:m,basePath:f,rewriteFramesAssetPrefixPath:p,experimentalThirdPartyOriginStackFrames:g})),d),release:"17ef6f4c439c37f148570e358e3ae48c0b7fc08a",...e};!function(e){let n=t.default.env._sentryRewritesTunnelPath||O._sentryRewritesTunnelPath;if(n&&e.dsn){let t=(0,A.dsnFromString)(e.dsn);if(!t)return;let r=t.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],a=r[2],o=`${n}?o=${i}&p=${t.projectId}`;a&&(o+=`&r=${a}`),e.tunnel=o,y.DEBUG_BUILD&&s.debug.log(`Tunneling events to "${o}"`)}else y.DEBUG_BUILD&&s.debug.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(_),(0,r.applySdkMetadata)(_,"nextjs",["nextjs","react"]);let S=(0,o.init)(_),E=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;E.id="NextClient404Filter",(0,i.addEventProcessor)(E);let v=e=>"transaction"===e.type&&e.transaction===h.INCOMPLETE_APP_ROUTER_INSTRUMENTATION_TRANSACTION_NAME?null:e;v.id="IncompleteTransactionFilter",(0,i.addEventProcessor)(v);let I=(e,t)=>(0,u.isRedirectNavigationError)(t?.originalException)||e.exception?.values?.[0]?.value==="NEXT_REDIRECT"?null:e;I.id="NextRedirectErrorFilter",(0,i.addEventProcessor)(I);try{(0,a.getGlobalScope)().setTag("turbopack",!0)}catch{}return S}function x(e){return e}e.s(["init",()=>M,"withSentryConfig",()=>x],327377)},239208,e=>{"use strict";function t(e,t){var r,i,a,s;let o=t?.getDsn(),l=t?.getOptions().tunnel;return r=e,!!(i=o)&&r.includes(i.host)||(a=e,!!(s=l)&&n(a)===n(s))}function n(e){return"/"===e[e.length-1]?e.slice(0,-1):e}e.s(["isSentryRequestUrl",()=>t])},34408,e=>{"use strict";function t(e,t,n){let r,i,a,s=n?.maxWait?Math.max(n.maxWait,t):0,o=n?.setTimeoutImpl||setTimeout;function l(){return c(),r=e()}function c(){void 0!==i&&clearTimeout(i),void 0!==a&&clearTimeout(a),i=a=void 0}function u(){return i&&clearTimeout(i),i=o(l,t),s&&void 0===a&&(a=o(l,s)),r}return u.cancel=c,u.flush=function(){return void 0!==i||void 0!==a?l():r},u}e.s(["debounce",()=>t])},170887,e=>{"use strict";var t=e.i(350461),n=e.i(449079),r=e.i(410544);function i(){let e;return"u">
18typeof window&&(!(!(0,n.isBrowserBundle)()&&"[object process]"===Object.prototype.toString.call(void 0!==t.default?t.default:0))||(e=r.GLOBAL_OBJ.process,e?.type==="renderer"))}e.s(["isBrowser",()=>i],170887)},712294,e=>{"use strict";var t=e.i(182021),n=e.i(364213);function r(e){return new URLSearchParams(e).toString()}function i(e,a=t.debug){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[r(e)];if(!e)return[void 0]}catch(t){return n.DEBUG_BUILD&&a.error(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return n.DEBUG_BUILD&&a.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function a(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}e.s(["getBodyString",()=>i,"getFetchRequestArgBody",()=>a,"serializeFormData",()=>r])},763402,e=>{"use strict";let t,n,r,i,a,s,o,l,c;var u,d,p,h,m,f,g,_,S,y=e.i(410544),E=e.i(878174),v=e.i(899619),T=e.i(530011),I=e.i(847378),b=e.i(182021),R=e.i(131713),N=e.i(275885),w=e.i(460077),C=e.i(387395),A=e.i(451048),O=e.i(893859),k=e.i(540735),D=e.i(239208),M=e.i(399677),x=e.i(34408),L=e.i(357082),U=e.i(929203),P=e.i(980323),B=e.i(440616),F=e.i(63104),W=e.i(170887),$=e.i(958927),H=e.i(715492),G=e.i(509018),j=e.i(712294),z=e.i(696843),Y=e.i(611210),q=e.i(982120);let J=y.GLOBAL_OBJ,V="sentryReplaySession",K="Unable to send Replay";var X=Object.defineProperty,Q=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?X(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},Z=((u=Z||{})[u.Document=0]="Document",u[u.DocumentType=1]="DocumentType",u[u.Element=2]="Element",u[u.Text=3]="Text",u[u.CDATA=4]="CDATA",u[u.Comment=5]="Comment",u);function ee(e){let t=e?.host;return t?.shadowRoot===e}function et(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function en(e){try{var t;let n=e.rules||e.cssRules;return n?((t=Array.from(n,er).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function er(e){let t;if("styleSheet"in e)try{t=en(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,n=e.selectorText.includes(":"),r="string"==typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){let r=e.style,i=r[n],a=r.getPropertyPriority(i);t+=`${i}:${r.getPropertyValue(i)}${a?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),n||r)return t}return t||e.cssText}class ei{constructor(){Q(this,"idNodeMap",new Map),Q(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function ea({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function es({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function eo(e){return e.toLowerCase()}function el(e){return e.toUpperCase()}let ec="__rrweb_original__";function eu(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?eo(t):null}function ed(e,t,n){return"INPUT"===t&&("radio"===n||"checkbox"===n)?e.getAttribute("value")||"":e.value}function ep(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(e){return null}let r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}let eh={};function em(e){let t=eh[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(e){}return eh[e]=r.bind(window)}function ef(...e){return em("setTimeout")(...e)}
18function eg(...e){return em("clearTimeout")(...e)}function e_(e){try{return e.contentDocument}catch(e){}}let eS=1,ey=RegExp("[^a-z0-9-_:]");function eE(){return eS++}let ev=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,eT=/^(?:[a-z+]+:)?\/\//i,eI=/^www\..*/i,eb=/^(data:)([^,]*),(.*)/i;function eR(e,t){return(e||"").replace(ev,(e,n,r,i,a,s)=>{let o=r||a||s,l=n||i||"";if(!o)return e;if(eT.test(o)||eI.test(o)||eb.test(o))return`url(${l}${o}${l})`;if("/"===o[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+o}${l})`;let c=t.split("/"),u=o.split("/");for(let e of(c.pop(),u))if("."===e)continue;else".."===e?c.pop():c.push(e);return`url(${l}${c.join("/")}${l})`})}let eN=/^[^ \t\n\r\u000c]+/,ew=/^[, \t\n\r\u000c]+/,eC=new WeakMap;function eA(e,t){return t&&""!==t.trim()?eO(e,t):t}function eO(e,t){let n=eC.get(e);if(n||(n=e.createElement("a"),eC.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function ek(e,t,n,r,i,a){if(!r)return r;if("src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0])return eA(e,r);if("background"===n&&("table"===t||"td"===t||"th"===t))return eA(e,r);if("srcset"===n)return function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r,i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}let i=[];for(;r(ew),!(n>=t.length);){let a=r(eN);if(","===a.slice(-1))a=eA(e,a.substring(0,a.length-1)),i.push(a);else{let r="";a=eA(e,a);let s=!1;for(;;){let e=t.charAt(n);if(""===e){i.push((a+r).trim());break}if(s)")"===e&&(s=!1);else if(","===e){n+=1,i.push((a+r).trim());break}else"("===e&&(s=!0);r+=e,n+=1}}}return i.join(", ")}(e,r);if("style"===n)return eR(r,eO(e));else if("object"===t&&"data"===n)return eA(e,r);return"function"==typeof a?a(n,r,i):r}function eD(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function eM(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:eM(e.parentNode,t,n,r+1)}function ex(e,t){return n=>{if(null===n)return!1;try{if(e){if("string"==typeof e){if(n.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}(n,e))return!0}if(t&&n.matches(t))return!0;return!1}catch{return!1}}}function eL(e,t,n,r,i,a){try{let s=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===s)return!1;if("INPUT"===s.tagName){let e=s.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let o=-1,l=-1;if(a){if((l=eM(s,ex(r,i)))<0)return!0;o=eM(s,ex(t,n),l>=0?l:1/0)}else{if((o=eM(s,ex(t,n)))<0)return!1;l=eM(s,ex(r,i),o>=0?o:1/0)}return o>=0?!(l>=0)||o<=l:!(l>=0)&&!!a}catch(e){}return!!a}function eU(e){return null==e?"":e.toLowerCase()}function eP(e,r){let i,{doc:a,mirror:s,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m,skipChild:f=!1,inlineStylesheet:g=!0,maskInputOptions:_={},maskAttributeFn:S,maskTextFn:y,maskInputFn:E,slimDOMOptions:v,dataURLOptions:T={},inlineImages:I=!1,recordCanvas:b=!1,onSerialize:R,onIframeLoad:N,iframeLoadTimeout:w=5e3,onBlockedImageLoad:C,onStylesheetLoad:A,stylesheetLoadTimeout:O=5e3,keepIframeSrcFn:k=()=>!1,newlyAddedElement:D=!1}=r,{preserveWhiteSpace:M=!0}=r,x=function(e,r){let{doc:i,mirror:a,blockClass:s,blockSelector:o,unblockSelector:l,maskAllText:c,maskAttributeFn:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m,inlineStylesheet:f,maskInputOptions:g={},maskTextFn:_,maskInputFn:S,dataURLOptions:y={},inlineImages:E,recordCanvas:v,keepIframeSrcFn:T,newlyAddedElement:I=!1}=r,b=function(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return 1===n?void 0:n}(i,a);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:Z.Document,childNodes:[],compatMode:e.compatMode};return{type:Z.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Z.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:b};case e.ELEMENT_NODE:return function(e,r){let i,{doc:a,blockClass:s,blockSelector:o,unblockSelector:l,inlineStylesheet:c,maskInputOptions:u={},maskAttributeFn:d,maskInputFn:p,dataURLOptions:h={},inlineImages:m,recordCanvas:f,keepIframeSrcFn:g,newlyAddedElement:_=!1,rootId:S,maskTextClass:y,unmaskTextClass:E,maskTextSelector:v,unmaskTextSelector:T}=r,I=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,s,o,l),b=function(e){if(e instanceof HTMLFormElement)return"form";let t=eo(e.tagName);return ey.test(t)?"div":t}(e),R={},N=e.attributes.length;for(let t=0;t<N;t++){let n=e.attributes[t];n.name&&!eD(b,n.name,n.value)&&(R[n.name]=ek(a,b,eo(n.name),n.value,e,d))}if("link"===b&&c){let t=Array.from(a.styleSheets).find(t=>t.href===e.href),n=null;t&&(n=en(t)),n&&(R.rel=null,R.href=null,R.crossorigin=null,R._cssText=eR(n,t.href))}if("style"===b&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=en(e.sheet);t&&(R._cssText=eR(t,eO(a)))}if("input"===b||"textarea"===b||"select"===b||"option"===b){let t=eu(e),n=ed(e,el(b),t),r=e.checked;if("submit"!==t&&"button"!==t&&n){let r=eL(e,y,v,E,T,ea({type:t,tagName:el(b),maskInputOptions:u}));R.value=es({isMasked:r,element:e,value:n,maskInputFn:p})}r&&(R.checked=r)}if("option"===b&&(e.selected&&!u.select?R.selected=!0:delete R.selected),"canvas"===b&&f){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let i=t.getImageData;
18if(new Uint32Array((ec in i?i[ec]:i).call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(R.rr_dataURL=e.toDataURL(h.type,h.quality));else if(!("__context"in e)){let t=e.toDataURL(h.type,h.quality),n=a.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(h.type,h.quality)&&(R.rr_dataURL=t)}}if("img"===b&&m){t||(n=(t=a.createElement("canvas")).getContext("2d"));let r=e.currentSrc||e.getAttribute("src")||"<unknown-src>",i=e.crossOrigin,s=()=>{e.removeEventListener("load",s);try{t.width=e.naturalWidth,t.height=e.naturalHeight,n.drawImage(e,0,0),R.rr_dataURL=t.toDataURL(h.type,h.quality)}catch(t){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?s():e.addEventListener("load",s);return}console.warn(`Cannot inline img src=${r}! Error: ${t}`)}"anonymous"===e.crossOrigin&&(i?R.crossOrigin=i:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?s():e.addEventListener("load",s)}if(("audio"===b||"video"===b)&&(R.rr_mediaState=e.paused?"paused":"played",R.rr_mediaCurrentTime=e.currentTime),!_&&(e.scrollLeft&&(R.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(R.rr_scrollTop=e.scrollTop)),I){let{width:t,height:n}=e.getBoundingClientRect();R={class:R.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==b||g(R.src)||(I||e_(e)||(R.rr_src=R.src),delete R.src);try{customElements.get(b)&&(i=!0)}catch(e){}return{type:Z.Element,tagName:b,attributes:R,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:I,rootId:S,isCustom:i}}(e,{doc:i,blockClass:s,blockSelector:o,unblockSelector:l,inlineStylesheet:f,maskAttributeFn:u,maskInputOptions:g,maskInputFn:S,dataURLOptions:y,inlineImages:E,recordCanvas:v,keepIframeSrcFn:T,newlyAddedElement:I,rootId:b,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m});case e.TEXT_NODE:return function(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:a,unmaskTextSelector:s,maskTextFn:o,maskInputOptions:l,maskInputFn:c,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName,p=e.textContent,h="STYLE"===d||void 0,m="SCRIPT"===d||void 0,f="TEXTAREA"===d||void 0;if(h&&p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(p=en(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}p=eR(p,eO(t.doc))}m&&(p="SCRIPT_PLACEHOLDER");let g=eL(e,r,a,i,s,n);return h||m||f||!p||!g||(p=o?o(p,e.parentElement):p.replace(/[\S]/g,"*")),f&&p&&(l.textarea||g)&&(p=c?c(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=es({isMasked:eL(e,r,a,i,s,ea({type:null,tagName:d,maskInputOptions:l})),element:e,value:p,maskInputFn:c})),{type:Z.Text,textContent:p||"",isStyle:h,rootId:u}}(e,{doc:i,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m,maskTextFn:_,maskInputOptions:g,maskInputFn:S,rootId:b});case e.CDATA_SECTION_NODE:return{type:Z.CDATA,textContent:"",rootId:b};case e.COMMENT_NODE:return{type:Z.Comment,textContent:e.textContent||"",rootId:b};default:return!1}}(e,{doc:a,mirror:s,blockClass:o,blockSelector:l,maskAllText:u,unblockSelector:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m,inlineStylesheet:g,maskInputOptions:_,maskAttributeFn:S,maskTextFn:y,maskInputFn:E,dataURLOptions:T,inlineImages:I,recordCanvas:b,keepIframeSrcFn:k,newlyAddedElement:D});if(!x)return console.warn(e,"not serialized"),null;i=s.hasNode(e)?s.getId(e):!function(e,t){if(t.comment&&e.type===Z.Comment)return!0;if(e.type===Z.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===ep(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(eU(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===eU(e.attributes.name)||"icon"===eU(e.attributes.rel)||"apple-touch-icon"===eU(e.attributes.rel)||"shortcut icon"===eU(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&eU(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(eU(e.attributes.property).match(/^(og|twitter|fb):/)||eU(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===eU(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===eU(e.attributes.name)||"googlebot"===eU(e.attributes.name)||"bingbot"===eU(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===eU(e.attributes.name)||"generator"===eU(e.attributes.name)||"framework"===eU(e.attributes.name)||"publisher"===eU(e.attributes.name)||"progid"===eU(e.attributes.name)||eU(e.attributes.property).match(/^article:/)||eU(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===eU(e.attributes.name)||"yandex-verification"===eU(e.attributes.name)||"csrf-token"===eU(e.attributes.name)||"p:domain_verify"===eU(e.attributes.name)||"verify-v1"===eU(e.attributes.name)||"verification"===eU(e.attributes.name)||"shopify-checkout-api-token"===eU(e.attributes.name)))return!0}}return!1}(x,v)&&(M||x.type!==Z.Text||x.isStyle||x.textContent.replace(/^\s+|\s+$/gm,"").length)?eE():-2;let L=Object.assign(x,{id:i});if(s.add(e,L),-2===i)return null;R&&R(e);let U=!f;if(L.type===Z.Element){U=U&&!L.needBlock;let t=e.shadowRoot;t&&et(t)&&(L.isShadowHost=!0)}if((L.type===Z.Document||L.type===Z.Element)&&U){v.headWhitespace&&L.type===Z.Element&&"head"===L.tagName&&(M=!1);let t={doc:a,mirror:s,blockClass:o,blockSelector:l,maskAllText:u,unblockSelector:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m,skipChild:f,inlineStylesheet:g,maskInputOptions:_,maskAttributeFn:S,maskTextFn:y,maskInputFn:E,slimDOMOptions:v,dataURLOptions:T,inlineImages:I,recordCanvas:b,preserveWhiteSpace:M,onSerialize:R,onIframeLoad:N,iframeLoadTimeout:w,onBlockedImageLoad:C,onStylesheetLoad:A,stylesheetLoadTimeout:O,keepIframeSrcFn:k};for(let n of e.childNodes?Array.from(e.childNodes):[]){let e=eP(n,t);e&&L.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=eP(n,t);r&&(et(e.shadowRoot)&&(r.isShadow=!0),L.childNodes.push(r))}}if(e.parentNode&&ee(e.parentNode)&&et(e.parentNode)&&(L.isShadow=!0),L.type!==Z.Element||"iframe"!==L.tagName||L.needBlock||function(e,t,n){let r,i=e.contentWindow;if(!i)return;let a=!1;try{r=i.document.readyState}catch(e){return}if("complete"!==r){let r=ef(()=>{a||(t(),a=!0)},n);e.addEventListener("load",()=>{eg(r),a=!0,t()});return}let s="about:blank";if(i.location.href!==s||e.src===s||""===e.src)return ef(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=e_(e);
18if(t&&N){let n=eP(t,{doc:t,mirror:s,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m,skipChild:!1,inlineStylesheet:g,maskInputOptions:_,maskAttributeFn:S,maskTextFn:y,maskInputFn:E,slimDOMOptions:v,dataURLOptions:T,inlineImages:I,recordCanvas:b,preserveWhiteSpace:M,onSerialize:R,onIframeLoad:N,iframeLoadTimeout:w,onStylesheetLoad:A,stylesheetLoadTimeout:O,keepIframeSrcFn:k});n&&N(e,n)}},w),L.type===Z.Element&&"img"===L.tagName&&!e.complete&&L.needBlock){let t=()=>{if(e.isConnected&&!e.complete&&C)try{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&C(e,L,t)}catch(e){}e.removeEventListener("load",t)};e.isConnected&&e.addEventListener("load",t)}return L.type===Z.Element&&"link"===L.tagName&&"string"==typeof L.attributes.rel&&("stylesheet"===L.attributes.rel||"preload"===L.attributes.rel&&"string"==typeof L.attributes.href&&"css"===ep(L.attributes.href))&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(e){return}if(r)return;let a=ef(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{eg(a),i=!0,t()})}(e,()=>{if(A){let t=eP(e,{doc:a,mirror:s,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m,skipChild:!1,inlineStylesheet:g,maskInputOptions:_,maskAttributeFn:S,maskTextFn:y,maskInputFn:E,slimDOMOptions:v,dataURLOptions:T,inlineImages:I,recordCanvas:b,preserveWhiteSpace:M,onSerialize:R,onIframeLoad:N,iframeLoadTimeout:w,onStylesheetLoad:A,stylesheetLoadTimeout:O,keepIframeSrcFn:k});t&&A(e,t)}},O),L.type===Z.Element&&delete L.needBlock,L}function eB(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let eF="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.",eW={map:{},getId:()=>(console.error(eF),-1),getNode:()=>(console.error(eF),null),removeNodeFromMap(){console.error(eF)},has:()=>(console.error(eF),!1),reset(){console.error(eF)}};function e$(e,t,n={}){let r=null,i=0;return function(...a){let s=Date.now();i||!1!==n.leading||(i=s);let o=t-(s-i),l=this;o<=0||o>t?(r&&(function(...e){e8("clearTimeout")(...e)}(r),r=null),i=s,e.apply(l,a)):r||!1===n.trailing||(r=e5(()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(l,a)},o))}}function eH(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}"u">typeof window&&window.Proxy&&window.Reflect&&(eW=new Proxy(eW,{get:(e,t,n)=>("map"===t&&console.error(eF),Reflect.get(e,t,n))}));let eG=Date.now;function ej(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function ez(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function eY(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function eq(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function eJ(e,t,n,r,i){if(!e)return!1;let a=eq(e);if(!a)return!1;let s=ex(t,n);if(!i){let e=r&&a.matches(r);return s(a)&&!e}let o=eM(a,s),l=-1;return!(o<0)&&(r&&(l=eM(a,ex(null,r))),o>-1&&l<0||o<l)}function eV(e,t){return -2===t.getId(e)}function eK(e){return!!e.changedTouches}function eX(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function eQ(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}
18function eZ(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(eG=()=>new Date().getTime());class e0{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let n;return this.has(e)?this.getId(e):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function e1(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function e2(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let n=function(e){let t,n=e;for(;t=e1(n);)n=t;return n}(e);return t.contains(n)}(e))}let e3={};function e8(e){let t=e3[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(e){}return e3[e]=r.bind(window)}function e5(...e){return e8("setTimeout")(...e)}var e4=((d=e4||{})[d.DomContentLoaded=0]="DomContentLoaded",d[d.Load=1]="Load",d[d.FullSnapshot=2]="FullSnapshot",d[d.IncrementalSnapshot=3]="IncrementalSnapshot",d[d.Meta=4]="Meta",d[d.Custom=5]="Custom",d[d.Plugin=6]="Plugin",d),e7=((p=e7||{})[p.Mutation=0]="Mutation",p[p.MouseMove=1]="MouseMove",p[p.MouseInteraction=2]="MouseInteraction",p[p.Scroll=3]="Scroll",p[p.ViewportResize=4]="ViewportResize",p[p.Input=5]="Input",p[p.TouchMove=6]="TouchMove",p[p.MediaInteraction=7]="MediaInteraction",p[p.StyleSheetRule=8]="StyleSheetRule",p[p.CanvasMutation=9]="CanvasMutation",p[p.Font=10]="Font",p[p.Log=11]="Log",p[p.Drag=12]="Drag",p[p.StyleDeclaration=13]="StyleDeclaration",p[p.Selection=14]="Selection",p[p.AdoptedStyleSheet=15]="AdoptedStyleSheet",p[p.CustomElement=16]="CustomElement",p),e6=((h=e6||{})[h.MouseUp=0]="MouseUp",h[h.MouseDown=1]="MouseDown",h[h.Click=2]="Click",h[h.ContextMenu=3]="ContextMenu",h[h.DblClick=4]="DblClick",h[h.Focus=5]="Focus",h[h.Blur=6]="Blur",h[h.TouchStart=7]="TouchStart",h[h.TouchMove_Departed=8]="TouchMove_Departed",h[h.TouchEnd=9]="TouchEnd",h[h.TouchCancel=10]="TouchCancel",h),e9=((m=e9||{})[m.Mouse=0]="Mouse",m[m.Pen=1]="Pen",m[m.Touch=2]="Touch",m),te=((f=te||{})[f.Play=0]="Play",f[f.Pause=1]="Pause",f[f.Seeked=2]="Seeked",f[f.VolumeChange=3]="VolumeChange",f[f.RateChange=4]="RateChange",f);function tt(e){try{return e.contentDocument}catch(e){}}class tn{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let tr=(e,t)=>`${e}@${t}`;class ti{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new tn,r=e=>{let t=e,n=-2;for(;-2===n;)n=(t=t&&t.nextSibling)&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!e2(i))return;let a=ee(i.parentNode)?this.mirror.getId(e1(i)):this.mirror.getId(i.parentNode),s=r(i);if(-1===a||-1===s)return n.addNode(i);let o=eP(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inl
18ineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{eX(e,this.mirror)&&!eJ(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),eQ(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),eZ(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{eJ(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})}});o&&(e.push({parentId:a,nextId:s,node:o}),t.add(o.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!ts(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)to(this.droppedSet,e)||ts(this.removes,e,this.mirror)?to(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let a=null;for(;n.length;){let e=null;if(a){let t=this.mirror.getId(a.value.parentNode),n=r(a.value);-1!==t&&-1!==n&&(e=a)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}a=e.previous,n.removeNode(e.value),i(e.value)}let s={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(s.texts.length||s.attributes.length||s.removes.length||s.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.processMutation=e=>{if(!eV(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;eJ(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:eL(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,eq(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){let n=eu(t),i=t.tagName;r=ed(t,i,n);let a=ea({maskInputOptions:this.maskInputOptions,tagName:i,type:n});r=es({isMasked:eL(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a),element:t,value:r,maskInputFn:this.maskInputFn})}if(eJ(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(tt(t))return;n="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}}
18,this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!eD(t.tagName,n)&&(i.attributes[n]=ek(this.doc,eo(t.tagName),eo(n),r,t,this.maskAttributeFn),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let n=this.unattachedDoc.createElement("span");for(let r of(e.oldValue&&n.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(r),a=t.style.getPropertyPriority(r);e!==n.style.getPropertyValue(r)||a!==n.style.getPropertyPriority(r)?""===a?i.styleDiff[r]=e:i.styleDiff[r]=[e,a]:i._unchangedStyles[r]=[e,a]}for(let e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(eJ(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=ee(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);eJ(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||eV(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(ta(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||function e(t,n){if(ee(t))return!1;let r=n.getId(t);return!n.has(r)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,n))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[tr(n,r)]?ta(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!(ee(e.target)&&et(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(eV(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[tr(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!eJ(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),eZ(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function ta(e,t){e.delete(t),t.childNodes?.forEach(t=>ta(e,t))}function ts(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){let t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function to(e,t){return 0!==e.size&&function e(t,n){let{parentNode:r}=n;return!!r&&(!!t.has(r)||e(t,r))}(e,t)}let tl=e=>r?(...t)=>{try{return e(...t)}catch(e){if(r&&!0===r(e))return()=>{};throw e}}:e,tc=[];function tu(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function td(e,t){let n=new ti;tc.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,i=window?.Zone?.__symbol__?.("MutationObserver");i&&window[i]&&(r=window[i]);let a=new r(tl(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function tp({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:s}){return eB("scroll",tl(e$(tl(s=>{let o=tu(s);if(!o||eJ(o,r,i,a,!0))return;let l=n.getId(o);if(o===t&&t.defaultView){let n=ej(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:o.scrollLeft,y:o.scrollTop})}),s.scroll||100)),t)}let th=["INPUT","TEXTAREA","SELECT"],tm=new WeakMap;function tf(e){var t=[];if(ty("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||ty("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||ty("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||ty("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){let n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){let n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}function tg(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function t_({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);let i="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,a=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&a?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return a.get?.call(this)},set(e){let n=a.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),tl(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})})):()=>{}}function tS(e,t={}){let n,r=e.doc.defaultView;if(!r)return()=>{};e.recordDOM&&(n=td(e,e.doc));let i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){let i;if(!1===t.mousemove)return()=>{};let a="number"==typeof t.mousemove?t.mousemove:50,s="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,o=[],l=e$(tl(t=>{let n=Date.now()-i;e(o.map(e=>(e.timeOffset-=n,e)),t),o=[],i=null}),s),c=tl(e$(tl(e=>{let t=tu(e),{clientX:n,clientY:a}=eK(e)?e.changedTouches[0]:e;i||(i=eG()),o.push({x:n,y:a,id:r.getId(t),timeOffset:eG()-i}),l("u">typeof DragEvent&&e instanceof DragEvent?e7.Drag:e instanceof MouseEvent?e7.MouseMove:e7.TouchMove)}),a,{trailing:!1})),u=[eB("mousemove",c,n),eB("touchmove",c,n),eB("drag",c,n)];return tl(()=>
18{u.forEach(e=>e())})}(e),a=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:s}){if(!1===s.mouseInteraction)return()=>{};let o=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,l=[],c=null;return Object.keys(e6).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==o[e]).forEach(s=>{let o=eo(s),u=t=>{let o=tu(t);if(eJ(o,r,i,a,!0))return;let l=null,u=s;if("pointerType"in t){switch(t.pointerType){case"mouse":l=e9.Mouse;break;case"touch":l=e9.Touch;break;case"pen":l=e9.Pen}l===e9.Touch?e6[s]===e6.MouseDown?u="TouchStart":e6[s]===e6.MouseUp&&(u="TouchEnd"):e9.Pen}else eK(t)&&(l=e9.Touch);null!==l?(c=l,(u.startsWith("Touch")&&l===e9.Touch||u.startsWith("Mouse")&&l===e9.Mouse)&&(l=null)):e6[s]===e6.Click&&(l=c,c=null);let d=eK(t)?t.changedTouches[0]:t;if(!d)return;let p=n.getId(o),{clientX:h,clientY:m}=d;tl(e)({type:e6[u],id:p,x:h,y:m,...null!==l&&{pointerType:l}})};if(window.PointerEvent)switch(e6[s]){case e6.MouseDown:case e6.MouseUp:o=o.replace("mouse","pointer");break;case e6.TouchStart:case e6.TouchEnd:return}l.push(eB(o,u,t))}),tl(()=>{l.forEach(e=>e())})}(e),s=tp(e),o=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return eB("resize",tl(e$(tl(()=>{let t=ez(),i=eY();(n!==t||r!==i)&&(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}(e,{win:r}),l=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,ignoreClass:s,ignoreSelector:o,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:h,maskTextSelector:m,unmaskTextSelector:f}){function g(e){let n=tu(e),u=e.isTrusted,g=n&&el(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||0>th.indexOf(g)||eJ(n,r,i,a,!0))return;let S=n;if(S.classList.contains(s)||o&&S.matches(o))return;let y=eu(n),E=ed(S,g,y),v=!1,T=ea({maskInputOptions:l,tagName:g,type:y}),I=eL(n,p,m,h,f,T);("radio"===y||"checkbox"===y)&&(v=n.checked),E=es({isMasked:I,element:n,value:E,maskInputFn:c}),_(n,d?{text:E,isChecked:v,userTriggered:u}:{text:E,isChecked:v});let b=n.name;"radio"===y&&b&&v&&t.querySelectorAll(`input[type="radio"][name="${b}"]`).forEach(e=>{if(e!==n){let t=es({isMasked:I,element:e,value:ed(e,g,y),maskInputFn:c});_(e,d?{text:t,isChecked:!v,userTriggered:!1}:{text:t,isChecked:!v})}})}function _(t,r){let i=tm.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){tm.set(t,r);let i=n.getId(t);tl(e)({...r,id:i})}}let S=("last"===u.input?["change"]:["input","change"]).map(e=>eB(e,tl(g),t)),y=t.defaultView;if(!y)return()=>{S.forEach(e=>e())};let E=y.Object.getOwnPropertyDescriptor(y.HTMLInputElement.prototype,"value"),v=[[y.HTMLInputElement.prototype,"value"],[y.HTMLInputElement.prototype,"checked"],[y.HTMLSelectElement.prototype,"value"],[y.HTMLTextAreaElement.prototype,"value"],[y.HTMLSelectElement.prototype,"selectedIndex"],[y.HTMLOptionElement.prototype,"selected"]];return E&&E.set&&S.push(...v.map(e=>(function e(t,n,r,i,a=window){let s=a.Object.getOwnPropertyDescriptor(t,n);return a.Object.defineProperty(t,n,i?r:{set(e){e5(()=>{r.set.call(this,e)},0),s&&s.set&&s.set.call(this,e)}}),()=>e(t,n,s||{},!0)})(e[0],e[1],{set(){tl(g)({target:this,isTrusted:!1})}},!1,y))),tl(()=>{S.forEach(e=>e())})}(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:a,doc:s}){let o=tl(s=>e$(tl(a=>
18{let o=tu(a);if(!o||eJ(o,t,n,r,!0))return;let{currentTime:l,volume:c,muted:u,playbackRate:d}=o;e({type:s,id:i.getId(o),currentTime:l,volume:c,muted:u,playbackRate:d})}),a.media||500)),l=[eB("play",o(te.Play),s),eB("pause",o(te.Pause),s),eB("seeked",o(te.Seeked),s),eB("volumechange",o(te.VolumeChange),s),eB("ratechange",o(te.RateChange),s)];return tl(()=>{l.forEach(e=>e())})}(e),u=()=>{},d=()=>{},p=()=>{},h=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){let i,a;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let s=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:tl((r,i,a)=>{let[s,o]=a,{id:l,styleId:c}=tg(i,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:s,index:o}]}),r.apply(i,a)})});let o=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:tl((r,i,a)=>{let[s]=a,{id:o,styleId:l}=tg(i,t,n.styleMirror);return(o&&-1!==o||l&&-1!==l)&&e({id:o,styleId:l,removes:[{index:s}]}),r.apply(i,a)})}),r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:tl((r,i,a)=>{let[s]=a,{id:o,styleId:l}=tg(i,t,n.styleMirror);return(o&&-1!==o||l&&-1!==l)&&e({id:o,styleId:l,replace:s}),r.apply(i,a)})})),r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:tl((r,i,a)=>{let[s]=a,{id:o,styleId:l}=tg(i,t,n.styleMirror);return(o&&-1!==o||l&&-1!==l)&&e({id:o,styleId:l,replaceSync:s}),r.apply(i,a)})}));let l={};tE("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(tE("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),tE("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),tE("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let c={};return Object.entries(l).forEach(([r,i])=>{c[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(c[r].insertRule,{apply:tl((r,i,a)=>{let[s,o]=a,{id:l,styleId:c}=tg(i.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:s,index:[...tf(i),o||0]}]}),r.apply(i,a)})}),i.prototype.deleteRule=new Proxy(c[r].deleteRule,{apply:tl((r,i,a)=>{let[s]=a,{id:o,styleId:l}=tg(i.parentStyleSheet,t,n.styleMirror);return(o&&-1!==o||l&&-1!==l)&&e({id:o,styleId:l,removes:[{index:[...tf(i),s]}]}),r.apply(i,a)})})}),tl(()=>{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=o,i&&(r.CSSStyleSheet.prototype.replace=i),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule})})}(e,{win:r}),d=t_(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){let a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:tl((i,s,o)=>{let[l,c,u]=o;if(n.has(l))return a.apply(s,[l,c,u]);let{id:d,styleId:p}=tg(s.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:c,priority:u},index:tf(s.parentRule)}),i.apply(s,o)})});let s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:tl((i,a,o)=>{let[l]=o;if(n.has(l))return s.apply(a,[l]);let{id:c,styleId:u}=tg(a.parentRule?.parentStyleSheet,t,r.styleMirror);return(c&&-1!==c||u&&-1!==u)&&e({id:c,styleId:u,remove:{property:l},index:tf(a.parentRule)}),i.apply(a,o)})}),tl(()=>{i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=s})}(e,{win:r}),e.collectFonts&&(h=function({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,n){let r=new a(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let s=eH(t.fonts,"add",function(t){return function(n){return e5(tl(()=>{let t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=a}),r.push(s),tl(()=>
18{r.forEach(e=>e())})}(e)));let m=function(e){let{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,selectionCb:s}=e,o=!0,l=tl(()=>{let e=t.getSelection();if(!e||o&&e?.isCollapsed)return;o=e.isCollapsed||!1;let l=[],c=e.rangeCount||0;for(let t=0;t<c;t++){let{startContainer:s,startOffset:o,endContainer:c,endOffset:u}=e.getRangeAt(t);eJ(s,r,i,a,!0)||eJ(c,r,i,a,!0)||l.push({start:n.getId(s),startOffset:o,end:n.getId(c),endOffset:u})}s({ranges:l})});return l(),eB("selectionchange",l)}(e),f=function({doc:e,customElementCb:t}){let n=e.defaultView;return n&&n.customElements?eH(n.customElements,"define",function(e){return function(n,r,i){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,i])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,r,t.options));return tl(()=>{tc.forEach(e=>e.reset()),n?.disconnect(),i(),a(),s(),o(),l(),c(),u(),d(),p(),h(),m(),f(),g.forEach(e=>e())})}function ty(e){return void 0!==window[e]}function tE(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class tv{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let i=n||this.getIdToRemoteIdMap(e),a=r||this.getRemoteIdToIdMap(e),s=i.get(t);return s||(s=this.generateIdFn(),i.set(t,s),a.set(s,t)),s}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
18getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let i=r.get(t);return i||-1}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class tT{constructor(){this.crossOriginIframeMirror=new tv(eE),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class tI{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new tv(eE),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new tv(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let n=tt(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let n=this.transformCrossOriginEvent(t,e.data.event);n&&this.wrappedEmit(n,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case e4.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:e4.IncrementalSnapshot,data:{source:e7.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case e4.Meta:case e4.Load:case e4.DomContentLoaded:break;case e4.Plugin:return t;case e4.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case e4.IncrementalSnapshot:switch(t.data.source){case e7.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case e7.Drag:case e7.TouchMove:case e7.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case e7.ViewportResize:return!1;case e7.MediaInteraction:case e7.MouseInteraction:case e7.Scroll:case e7.CanvasMutation:case e7.Input:return this.replaceIds(t.data,e,["id"]),t;case e7.StyleSheetRule:case e7.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case e7.Font:return t;case e7.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case e7.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(let i of r)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEac
18h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===Z.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class tb{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class tR{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!et(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let n=td({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(tp({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),e5(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(t_({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=tt(e),n=function(e){try{return e.contentWindow}catch(e){}}(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(eH(e.prototype,"attachShadow",function(e){return function(r){let i=e.call(this,r);return this.shadowRoot&&e2(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var tN="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tw="u"<typeof Uint8Array?[]:new Uint8Array(256),tC=0;tC<tN.length;tC++)tw[tN.charCodeAt(tC)]=tC;class tA{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class tO{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new e0,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:er(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class tk{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){e8("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let tD=new ei;function tM(e={}){let t,{emit:n,checkoutEveryNms:s,checkoutEveryNth:o,blockClass:l="rr-block",blockSelector:c=null,unblockSelector:u=null,ignoreClass:d="rr-ignore",ignoreSelector:p=null,maskAllText:h=!1,maskTextClass:m="rr-mask",unmaskTextClass:f=null,maskTextSelector:g=null,unmaskTextSelector:_=null,inlineStylesheet:S=!0,maskAllInputs:y,maskInputOptions:E,slimDOMOptions:v,maskAttributeFn:T,maskInputFn:I,maskTextFn:b,maxCanvasSize:R=null,packFn:N,sampling:w={},dataURLOptions:C={},mousemoveWait:A,recordDOM:O=!0,recordCanvas:k=!1,recordCrossOriginIframes:D=!1,recordAfter:M="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:x=!1,collectFonts:L=!1,inlineImages:U=!1,plugins:P,keepIframeSrcFn:B=()=>!1,ignoreCSSAttributes:F=new Set([]),errorHandler:W,onMutation:$,getCanvasManager:H}=e;r=W;let G=!D||window.parent===window,j=!1;if(!G)try{window.parent.document&&(j=!1)}catch(e){j=!0}if(G&&!n)throw Error("emit function is required");if(!G&&!j)return()=>{};void 0!==A&&void 0===w.mousemove&&(w.mousemove=A),tD.reset();let z=!0===y?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==E?E:{},Y=!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===v,headMetaDescKeywords:"all"===v}:v||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode)return!1})}();let q=0,J=e=>{for(let t of P||[])t.eventProcessor&&(e=t.eventProcessor(e));return N&&!j&&(e=N(e)),e};i=(e,r)=>{if(e.timestamp=eG(),tc[0]?.isFrozen()&&e.type!==e4.FullSnapshot&&(e.type!==e4.IncrementalSnapshot||e.data.source!==e7.Mutation)&&tc.forEac
18h(e=>e.unfreeze()),G)n?.(J(e),r);else if(j){let t={type:"rrweb",event:J(e),origin:window.location.origin,isCheckout:r};window.parent.postMessage(t,"*")}if(e.type===e4.FullSnapshot)t=e,q=0;else if(e.type===e4.IncrementalSnapshot){if(e.data.source===e7.Mutation&&e.data.isAttachIframe)return;q++;let n=o&&q>=o,r=s&&t&&e.timestamp-t.timestamp>s;(n||r)&&er(!0)}};let V=e=>{i({type:e4.IncrementalSnapshot,data:{source:e7.Mutation,...e}})},K=e=>i({type:e4.IncrementalSnapshot,data:{source:e7.Scroll,...e}}),X=e=>i({type:e4.IncrementalSnapshot,data:{source:e7.CanvasMutation,...e}}),Q=new tO({mutationCb:V,adoptedStyleSheetCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.AdoptedStyleSheet,...e}})}),Z="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new tT:new tI({mirror:tD,mutationCb:V,stylesheetManager:Q,recordCrossOriginIframes:D,wrappedEmit:i});for(let e of P||[])e.getMirror&&e.getMirror({nodeMirror:tD,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let ee=new tk,et=function(e,t){try{return e?e(t):new tA}catch{return console.warn("Unable to initialize CanvasManager"),new tA}}(H,{mirror:tD,win:window,mutationCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.CanvasMutation,...e}}),recordCanvas:k,blockClass:l,blockSelector:c,unblockSelector:u,maxCanvasSize:R,sampling:w.canvas,dataURLOptions:C,errorHandler:W}),en="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new tb:new tR({mutationCb:V,scrollCb:K,bypassOptions:{onMutation:$,blockClass:l,blockSelector:c,unblockSelector:u,maskAllText:h,maskTextClass:m,unmaskTextClass:f,maskTextSelector:g,unmaskTextSelector:_,inlineStylesheet:S,maskInputOptions:z,dataURLOptions:C,maskAttributeFn:T,maskTextFn:b,maskInputFn:I,recordCanvas:k,inlineImages:U,sampling:w,slimDOMOptions:Y,iframeManager:Z,stylesheetManager:Q,canvasManager:et,keepIframeSrcFn:B,processedNodeManager:ee},mirror:tD}),er=(e=!1)=>{if(!O)return;i({type:e4.Meta,data:{href:window.location.href,width:eY(),height:ez()}},e),Q.reset(),en.init(),tc.forEach(e=>e.lock());let t=function(e,t){let{mirror:n=new ei,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:a=null,maskAllText:s=!1,maskTextClass:o="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:h=!1,maskAllInputs:m=!1,maskAttributeFn:f,maskTextFn:g,maskInputFn:_,slimDOM:S=!1,dataURLOptions:y,preserveWhiteSpace:E,onSerialize:v,onIframeLoad:T,iframeLoadTimeout:I,onBlockedImageLoad:b,onStylesheetLoad:R,stylesheetLoadTimeout:N,keepIframeSrcFn:w=()=>!1}=t||{};return eP(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,maskAllText:s,maskTextClass:o,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===m?{}:m,maskAttributeFn:f,maskTextFn:g,maskInputFn:_,slimDOMOptions:!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===S,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===S?{}:S,dataURLOptions:y,inlineImages:p,recordCanvas:h,preserveWhiteSpace:E,onSerialize:v,onIframeLoad:T,iframeLoadTimeout:I,onBlockedImageLoad:b,onStylesheetLoad:R,stylesheetLoadTimeout:N,keepIframeSrcFn:w,newlyAddedElement:!1})}(document,{mirror:tD,blockClass:l,blockSelector:c,unblockSelector:u,maskAllText:h,maskTextClass:m,unmaskTextClass:f,maskTextSelector:g,unmaskTextSelector:_,inlineStylesheet:S,maskAllInputs:z,maskAttributeFn:T,maskInputFn:I,maskTextFn:b,slimDOM:Y,dataURLOptions:C,recordCanvas:k,inlineImages:U,onSerialize:e=>{eX(e,tD)&&Z.addIframe(e),eQ(e,tD)&&Q.trackLinkElement(e),eZ(e)&&en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t),e.contentWindow&&et.addWindow(e.contentWindow),en.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{V({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:B});if(!t)return console.warn("Failed to snapshot the document");i({type:e4.FullSnapshot,data:{node:t,initialOffset:ej(window)}}
18),tc.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,tD.getId(document))};a=er;try{let e=[],t=e=>tl(tS)({onMutation:$,mutationCb:V,mousemoveCb:(e,t)=>i({type:e4.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.MouseInteraction,...e}}),scrollCb:K,viewportResizeCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.ViewportResize,...e}}),inputCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.Input,...e}}),mediaInteractionCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.MediaInteraction,...e}}),styleSheetRuleCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.StyleSheetRule,...e}}),styleDeclarationCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.StyleDeclaration,...e}}),canvasMutationCb:X,fontCb:e=>i({type:e4.IncrementalSnapshot,data:{source:e7.Font,...e}}),selectionCb:e=>{i({type:e4.IncrementalSnapshot,data:{source:e7.Selection,...e}})},customElementCb:e=>{i({type:e4.IncrementalSnapshot,data:{source:e7.CustomElement,...e}})},blockClass:l,ignoreClass:d,ignoreSelector:p,maskAllText:h,maskTextClass:m,unmaskTextClass:f,maskTextSelector:g,unmaskTextSelector:_,maskInputOptions:z,inlineStylesheet:S,sampling:w,recordDOM:O,recordCanvas:k,inlineImages:U,userTriggeredOnInput:x,collectFonts:L,doc:e,maskAttributeFn:T,maskInputFn:I,maskTextFn:b,keepIframeSrcFn:B,blockSelector:c,unblockSelector:u,slimDOMOptions:Y,dataURLOptions:C,mirror:tD,iframeManager:Z,stylesheetManager:Q,shadowDomManager:en,processedNodeManager:ee,canvasManager:et,ignoreCSSAttributes:F,plugins:P?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>i({type:e4.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});Z.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{er(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(eB("DOMContentLoaded",()=>{i({type:e4.DomContentLoaded,data:{}}),"DOMContentLoaded"===M&&n()})),e.push(eB("load",()=>{i({type:e4.Load,data:{}}),"load"===M&&n()},window))),()=>{e.forEach(e=>e()),ee.destroy(),a=void 0,r=void 0}}catch(e){console.warn(e)}}function tx(e){return e>0x2540be3ff?e:1e3*e}function tL(e){return e>0x2540be3ff?e/1e3:e}function tU(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:e4.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,E.normalize)(t,10,1e3)}}),"console"===t.category)))}function tP(e){return e.closest("button,a")||e}function tB(e){let t=tF(e);return t&&t instanceof Element?tP(t):t}function tF(e){var t;return"object"==typeof(t=e)&&t&&"target"in t?e.target:e}tM.mirror=tD,tM.takeFullSnapshot=function(e){if(!a)throw Error("please take full snapshot after start recording");a(e)},(g=S||(S={}))[g.NotStarted=0]="NotStarted",g[g.Running=1]="Running",g[g.Stopped=2]="Stopped";let tW=new Set([e7.Mutation,e7.StyleSheetRule,e7.StyleDeclaration,e7.AdoptedStyleSheet,e7.CanvasMutation,e7.Selection,e7.MediaInteraction]);class t${constructor(e,t,n=tU){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){var e;let t=(e=()=>{this._lastMutation=tG()},s||(s=[],(0,v.fill)(J,"open",function(e){return function(...t){if(s)try{s.forEach(e=>e())}catch{}return e.apply(J,t)}})),s.push(e),()=>{let t=s?s.indexOf(e):-1;t>-1&&s.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var n,r,i;if(n=t,r=this._ignoreSelector,!tH.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||r&&n.matches(r)||!((i=e).data&&"number"==typeof i.data.nodeId&&i.timestamp))return;let a={timestamp:tL(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===a.node&&1>
18Math.abs(e.timestamp-a.timestamp))||(this._clicks.push(a),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=tL(e)}registerScroll(e=Date.now()){this._lastScroll=tL(e)}registerClick(e){let t=tP(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=tG();for(let n of(this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}),e)){let e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:i,clickBreadcrumb:a}=e;if(!n&&!r){let n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",s={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:J.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:i||1}};this._addBreadcrumbEvent(t,s);return}if(i>1){let e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:J.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=(0,H.setTimeout)(()=>this._checkClicks(),1e3)}}let tH=["A","BUTTON","INPUT"];function tG(){return Date.now()/1e3}function tj(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var tz=((_=tz||{})[_.Document=0]="Document",_[_.DocumentType=1]="DocumentType",_[_.Element=2]="Element",_[_.Text=3]="Text",_[_.CDATA=4]="CDATA",_[_.Comment=5]="Comment",_);let tY=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function tq(e,t){let n=tM.mirror.getId(e),r=n&&tM.mirror.getNode(n),i=r&&tM.mirror.getMeta(r),a=i&&i.type===tz.Element?i:null;return{message:t,data:a?{nodeId:n,node:{id:n,tagName:a.tagName,textContent:Array.from(a.childNodes).map(e=>e.type===tz.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let n in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(tY.has(n)){let r=n;("data-testid"===n||"data-test-id"===n)&&(r="testId"),t[r]=e[n]}return t}(a.attributes)}}:{}}}let tJ={resource:function(e){let{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:a,decodedBodySize:s,encodedBodySize:o,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:tX(a),end:tX(i),name:r,data:{size:c,statusCode:l,decodedBodySize:s,encodedBodySize:o}}},paint:function(e){let{duration:t,entryType:n,name:r,startTime:i}=e,a=tX(i);return{type:n,name:r,start:a,end:a+t,data:void 0}},navigation:function(e){let{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:a,encodedBodySize:s,domContentLoadedEventStart:o,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:d,redirectCount:p,startTime:h,transferSize:m,type:f}=e;return 0===i?null:{type:`${t}.${f}`,start:tX(h),end:tX(a),name:n,data:{size:m,decodedBodySize:r,encodedBodySize:s,duration:i,domInteractive:c,domContentLoadedEventStart:o,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:a,redirectCount:p}}}};function tV(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function tK(e){let t=tJ[e.entryType];return t?t(e):null}function tX(e){return(((0,I.browserPerformanceTimeOrigin)()||J.performance.timeOrigin)+e)/1e3}function tQ(e){let t=e.entries[e.entries.length-1];return t2(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function tZ(e){let t=[],n=[];for(let r of e.entries)if(void 0!==r.sources){let e=[];for(let t of r.sources)if(t.node){n.push(t.node);let r=tM.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return t2(e,"cumulative-layout-shift",n,t)}function t0(e){let t=e.entries[e.entries.length-1];return t2(e,"first-input-delay",t?.target?[t.target]:void 0)}function t1(e){let t=e.entries[e.entries.length-1];return t2(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function t2(e,t,n,r){let i=e.value,a=e.rating,s=tX(i);return{type:"web-vital",name:t,start:s,end:s,data:{value:i,size:i,rating:a,nodeIds:n?n.map(e=>tM.mirror.getId(e)):void 0,attributions:r}}}let t3="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,t8=["log","warn","error"],t5="[Replay] ";function t4(e,t="info"){(0,w.addBreadcrumb)({category:"console",data:{logger:"replay"},level:t,message:`${t5}${e}`},{level:t})}let t7=(o=!1,l=!1,c={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{o=!!e.captureExceptions,l=!!e.traceInternals}}
18,t3?(t8.forEach(e=>{c[e]=(...t)=>{b.debug[e](t5,...t),l&&t4(t.join(""),(0,R.severityLevelFromString)(e))}}),c.exception=(e,...t)=>{t.length&&c.error&&c.error(...t),b.debug.error(t5,e),o?(0,N.captureException)(e):l&&t4(e,"error")},c.infoTick=(...e)=>{b.debug.log(t5,...e),l&&setTimeout(()=>t4(e[0]),0)}):t8.forEach(e=>{c[e]=()=>void 0}),c);class t6 extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class t9{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new t6;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?tx(e):null}}class ne{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){t3&&t7.log("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,i)=>{let a=({data:t})=>{if(t.method===e&&t.id===n){if(this._worker.removeEventListener("message",a),!t.success){t3&&t7.error("Error in compression worker: ",t.response),i(Error("Error in compression worker"));return}r(t.response)}};this._worker.addEventListener("message",a),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class nt{constructor(e){this._worker=new ne(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=tx(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return(this._totalSize+=n.length,this._totalSize>2e7)?Promise.reject(new t6):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{t3&&t7.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class nn{constructor(e){this._fallback=new t9,this._compression=new nt(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){t3&&t7.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(let t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){t3&&t7.exception(e,"Failed to add events when switching buffers.")}}}function nr(){try{return"sessionStorage"in J&&!!J.sessionStorage}catch{return!1}}function ni(e){return void 0!==e&&Math.random()<e}function na(e){if(nr())try{J.sessionStorage.setItem(V,JSON.stringify(e))}catch{}}function ns(e){let t=Date.now(),n=e.id||(0,C.uuid4)(),r=e.started||t,i=e.lastActivity||t,a=e.segmentId||0;return{id:n,started:r,lastActivity:i,segmentId:a,sampled:e.sampled,previousSessionId:e.previousSessionId}}function no({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}
18){let i=ns({sampled:ni(e)?"session":!!t&&"buffer",previousSessionId:r});return n&&na(i),i}function nl(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function nc(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return nl(e.started,t,r)||nl(e.lastActivity,n,r)}function nu(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!nc(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function nd({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){let i=r.stickySession&&function(){if(!nr())return null;try{let e=J.sessionStorage.getItem(V);if(!e)return null;let t=JSON.parse(e);return t3&&t7.infoTick("Loading existing session"),ns(t)}catch{return null}}();return i?nu(i,{sessionIdleExpire:e,maxReplayDuration:t})?(t3&&t7.infoTick("Session in sessionStorage is expired, creating new one..."),no(r,{previousSessionId:i.id})):i:(t3&&t7.infoTick("Creating new session"),no(r,{previousSessionId:n}))}function np(e,t,n){return!!nm(e,t)&&(nh(e,t,n),!0)}async function nh(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;let i="buffer"===e.recordingMode;try{n&&i&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);let a=e.getOptions(),s=function(e,t){try{if("function"==typeof t&&e.type===e4.Custom)return t(e)}catch(e){return t3&&t7.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,a.beforeAddRecordingEvent);if(!s)return;return await r.addEvent(s)}catch(a){let t=a&&a instanceof t6;if(t&&i)return r.clear(),r.waitForCheckout=!0,null;e.handleException(a),await e.stop({reason:t?"addEventSizeExceeded":"addEvent"});let n=(0,A.getClient)();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function nm(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=tx(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(t3&&t7.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function nf(e){return"transaction"===e.type}function ng(e){return"feedback"===e.type}function n_(e){return!!e.category}function nS(){let e=(0,A.getCurrentScope)().getPropagationContext().dsc;e&&delete e.replay_id;let t=(0,O.getActiveSpan)();if(t){let e=(0,k.getDynamicSamplingContextFromSpan)(t);delete e.replay_id}}function ny(e,t){return t.map(({type:t,start:n,end:r,name:i,data:a})=>{let s=e.throttledAddEvent({type:e4.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:a}}});return"string"==typeof s?Promise.resolve(null):s})}function nE(e,t){var n;e.isEnabled()&&null!==t&&(n=t.name,(!t3||!e.getOptions()._experiments.traceInternals)&&(0,D.isSentryRequestUrl)(n,(0,A.getClient)())||e.addUpdate(()=>(ny(e,[t]),!0)))}function nv(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=(0,j.serializeFormData)(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function nT(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function nI(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function nb(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:i,method:a,statusCode:s,request:o,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:{method:a,statusCode:s,request:o,response:l}}}function nR(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function nN(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:i,warnings:a}=function(e){var t;let n,r;if(!e||"string"!=typeof e)return{body:e};let i=e.length>15e4,a=(n=(t=e)[0],r=t[t.length-1],"["===n&&"]"===r||"{"===n&&"}"===r);if(i){let t=e.slice(0,15e4);return a?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}â¦`,warnings:["TEXT_TRUNCATED"]}}if(a)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=i,a?.length&&(r._meta={warnings:a}),r}function nw(e,t){return Object.entries(e).reduce((n,[r,i])=>{let a=r.toLowerCase();return t.includes(a)&&e[r]&&(n[a]=i),n},{})}function nC(e,t){let n=function(e,t=J.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(J.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return(0,M.stringMatchesSomePattern)(n,t)}async function nA(e,t,n){try{let r=await nO(e,t,n),i=nb("resource.fetch",r);nE(n.replay,i)}catch(e){t3&&t7.exception(e,"Failed to capture fetch breadcrumb")}}async function nO(e,t,n){let r=Date.now(),{startTimestamp:i=r,endTimestamp:a=r}=t,{url:s,method:o,status_code:l=0,request_body_size:c,response_body_size:u}=e.data,d=nC(s,n.networkDetailAllowUrls)&&!nC(s,n.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:a,url:s,method:o,statusCode:l,request:d?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){var i,a;let s=n?(i=n,a=t,1===i.length&&"string"!=typeof i[0]?nx(i[0],a):2===i.length?nx(i[1],a):{}):{};if(!e)return nN(s,r,void 0);let o=(0,j.getFetchRequestArgBody)(n),[l,c]=(0,j.getBodyString)(o,t7),u=nN(s,r,l);return c?nI(u,c):u}(n,t.input,c):nR(c),response:await nk(d,n,t.response,u)}}async function nk(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&void 0!==i)return nR(i);let a=r?nM(r.headers,n):{};if(!r||!t&&void 0!==i)return nN(a,i,void 0);let[s,o]=await nD(r),l=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{let a=e?.length&&void 0===n?nv(e):n;if(!r)return nR(a);if(t)return nN(i,a,e);return nN(i,a,void 0)}catch(e){return t3&&t7.exception(e,"Failed to serialize response body"),nN(i,n,void 0)}}(s,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:a});return o?nI(l,o):l}async function nD(e){let t=function(e){try{return e.clone()}catch(e){t3&&t7.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{var n;return[await (n=t,new Promise((e,t)=>
18{let r=(0,H.setTimeout)(()=>t(Error("Timeout while trying to read response body")),500);nL(n).then(t=>e(t),e=>t(e)).finally(()=>clearTimeout(r))}))]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return t3&&t7.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return t3&&t7.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function nM(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function nx(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?nM(n,t):Array.isArray(n)?{}:nw(n,t):{}}async function nL(e){return await e.text()}async function nU(e,t,n){try{let r=function(e,t,n){let r,i=Date.now(),{startTimestamp:a=i,endTimestamp:s=i,input:o,xhr:l}=t,{url:c,method:u,status_code:d=0,request_body_size:p,response_body_size:h}=e.data;if(!c)return null;if(!l||!nC(c,n.networkDetailAllowUrls)||nC(c,n.networkDetailDenyUrls)){let e=nR(p);return{startTimestamp:a,endTimestamp:s,url:c,method:u,statusCode:d,request:e,response:nR(h)}}let m=l[z.SENTRY_XHR_DATA_KEY],f=m?nw(m.request_headers,n.networkRequestHeaders):{},g=nw((r=l.getAllResponseHeaders())?r.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{},n.networkResponseHeaders),[_,S]=n.networkCaptureBodies?(0,j.getBodyString)(o,t7):[void 0],[y,E]=n.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{var n=e.response,r=e.responseType;try{if("string"==typeof n)return[n];if(n instanceof Document)return[n.body.outerHTML];if("json"===r&&n&&"object"==typeof n)return[JSON.stringify(n)];if(!n)return[void 0]}catch(e){return t3&&t7.exception(e,"Failed to serialize body",n),[void 0,"BODY_PARSE_ERROR"]}return t3&&t7.log("Skipping network body because of body type",n),[void 0,"UNPARSEABLE_BODY_TYPE"]}catch(e){t.push(e)}return t3&&t7.warn("Failed to get xhr response body",...t),[void 0]}(l):[void 0],v=nN(f,p,_),T=nN(g,h,y);return{startTimestamp:a,endTimestamp:s,url:c,method:u,statusCode:d,request:S?nI(v,S):v,response:E?nI(T,E):T}}(e,t,n),i=nb("resource.xhr",r);nE(n.replay,i)}catch(e){t3&&t7.exception(e,"Failed to capture xhr breadcrumb")}}async function nP(e){try{return Promise.all(ny(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}(J.performance.memory)]))}catch{return[]}}let nB=y.GLOBAL_OBJ.navigator;async function nF({client:e,scope:t,replayId:n,event:r}){let i={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,i);let a=await (0,U.prepareEvent)(e.getOptions(),r,i,t,e,(0,A.getIsolationScope)());if(!a)return null;e.emit("postprocessEvent",a,i),a.platform=a.platform||"javascript";let s=e.getSdkMetadata(),{name:o,version:l}=s?.sdk||{};return a.sdk={...a.sdk,name:o||"sentry.javascript.unknown",version:l||"0.0.0"},a}async function nW({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:a}){var s;let o,l=function({recordingData:e,headers:t}){let n,r=`${JSON.stringify(t)} 19`;if("string"==typeof e)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);(n=new Uint8Array(t.length+e.length)).set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:c,errorIds:u,traceIds:d,initialTimestamp:p}=r,h=(0,A.getClient)(),m=(0,A.getCurrentScope)(),f=h?.getTransport(),g=h?.getDsn();if(!h||!f||!g||!a.sampled)return(0,P.resolvedSyncPromise)({});let _={type:"replay_event",replay_start_timestamp:p/1e3,timestamp:i/1e3,error_ids:u,trace_ids:d,urls:c,replay_id:t,segment_id:n,replay_type:a.sampled},S=await nF({scope:m,client:h,replayId:t,event:_});if(!S)return h.recordDroppedEvent("event_processor","replay"),t3&&t7.log("An event processor returned `null`, will not send event."),(0,P.resolvedSyncPromise)({});delete S.sdkProcessingMetadata;let y=(s=h.getOptions().tunnel,(0,L.createEnvelope)((0,L.createEventEnvelopeHeaders)(S,(0,L.getSdkMetadataForEnvelopeHeader)(S),s,g),[[{type:"replay_event"},S],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{o=await f.send(y)}catch(t){let e=Error(K);try{e.cause=t}catch{}throw e}if("number"==typeof o.statusCode&&(o.statusCode<200||o.statusCode>=300))throw new n$(o.statusCode);let E=(0,B.updateRateLimits)({},o);if((0,B.isRateLimited)(E,"replay"))throw new nH(E);return o}
19class n$ extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class nH extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function nG(e,t={count:0,interval:5e3}){let{recordingData:n,onError:r}=e;if(n.length)try{return await nW(e),!0}catch(n){if(n instanceof n$||n instanceof nH)throw n;if((0,N.setContext)("Replays",{_retryCount:t.count}),r&&r(n),t.count>=3){let e=Error(`${K} - max retries exceeded`);try{e.cause=n}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{(0,H.setTimeout)(async()=>{try{await nG(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}let nj="__THROTTLED";class nz{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){return(0,x.debounce)(e,t,{...n,setTimeoutImpl:H.setTimeout})}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,n){let r=new Map,i=!1;return(...t)=>{let n,a=Math.floor(Date.now()/1e3);if(n=a-5,r.forEach((e,t)=>{t<n&&r.delete(t)}),[...r.values()].reduce((e,t)=>e+t,0)>=300){let e=i;return i=!0,e?"__SKIPPED":nj}i=!1;let s=r.get(a)||0;return r.set(a,s+1),e(...t)}}((e,t)=>nm(this,e)?nh(this,e,t):Promise.resolve(null),0,0);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(i&&(this.clickDetector=new t$(this,i)),t3){const t=e._experiments;t7.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===J.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=tj({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=tj({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=function(e){var t;let{metaKey:n,shiftKey:r,ctrlKey:i,altKey:a,key:s,target:o}=e;if(!o||"INPUT"===(t=o).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!s)return null;let l=n||i||a,c=1===s.length;if(!l&&c)return null;let u=(0,T.htmlTreeAsString)(o,{maxStringLength:200})||"<unknown>",d=tq(o,u);return tj({category:"ui.keyDown",message:u,data:{...d.data,metaKey:n,shiftKey:r,ctrlKey:i,altKey:a,key:s}})}(t);n&&tU(e,n)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){t3&&t7.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;if(this._requiresManualStart=r,!r){if(this._initializeSessionForSampling(e),!this.session){t3&&t7.exception(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",t3&&t7.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){t3&&t7.log("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){t3&&t7.log("Buffering is in progress, call `flush()` to save the replay");return}t3&&t7.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=nd({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}
19startBuffering(){if(this._isEnabled){t3&&t7.log("Buffering is in progress, call `flush()` to save the replay");return}t3&&t7.infoTick("Starting replay in buffer mode");let e=nd({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t,n=this._canvas;this._stopRecording=tM({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(n,r)=>{if(!e.checkAndHandleExpiredSession()){t3&&t7.warn("Received replay event after session expired.");return}let i=r||!t;t=!0,e.clickDetector&&function(e,t){try{var n;if(n=t,3!==n.type)return;let{source:r}=t.data;if(tW.has(r)&&e.registerMutation(t.timestamp),r===e7.Scroll&&e.registerScroll(t.timestamp),t.data.source===e7.MouseInteraction){let{type:n,id:r}=t.data,i=tM.mirror.getNode(r);i instanceof HTMLElement&&n===e6.Click&&e.registerClick(i)}}catch{}}(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!np(e,n,i))return!0;if(!i)return!1;let t=e.session;if(function(e,t){if(t&&e.session&&0===e.session.segmentId){let t;np(e,(t=e.getOptions(),{type:e4.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}),!1)}}(e,i),"buffer"===e.recordingMode&&t&&e.eventBuffer){let n=e.eventBuffer.getEarliestTimestamp();n&&(t3&&t7.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&na(t))}return!!t?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(nB?.userAgent??"")||/Macintosh/i.test(nB?.userAgent??"")&&nB?.maxTouchPoints&&nB?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...n?{recordCanvas:n.recordCanvas,getCanvasManager:n.getCanvasManager,sampling:n.sampling,dataURLOptions:n.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{t3&&t7.log(`Stopping Replay${t?` triggered by ${t}`:""}`),nS(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(nr())try{J.sessionStorage.removeItem(V)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),t3&&t7.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),t3&&t7.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();t3&&t7.log("Converting buffer to session"),await this.flushImmediate();let n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session?.id}
19checkAndHandleExpiredSession(){return this._lastActivity&&nl(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled?void this.pause():!!this._checkSession()}setInitialState(){let e=`${J.location.pathname}${J.location.hash}${J.location.search}`,t=`${J.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===nj){let e=tj({category:"replay.throttled"});this.addUpdate(()=>!np(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||(0,O.getActiveSpan)(),t=e&&(0,O.getRootSpan)(e),n=(t&&(0,O.spanToJSON)(t).data||{})[F.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if(t&&n&&["route","custom"].includes(n))return(0,O.spanToJSON)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||function(){if("u"<typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__){let e;return e=new Blob(['
vendor: 10,329 bytes, line 19
19var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
19']),URL.createObjectURL(e)}return""}();if(!t)return;t3&&t7.log(`Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new nn(n)}catch(e){t3&&t7.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return t3&&t7.log("Using simple buffer"),new t9}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=nd({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!nu(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{J.document.addEventListener("visibilitychange",this._handleVisibilityChange),J.addEventListener("blur",this._handleWindowBlur),J.addEventListener("focus",this._handleWindowFocus),J.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){let t,n=(0,A.getClient)();(0,Y.addClickKeypressInstrumentationHandler)(t=>{var n,r;if(!e.isEnabled())return;let i=function(e){let{target:t,message:n}=function(e){let t,n="click"===e.name,r=null;try{r=n?tB(e.event):tF(e.event),t=(0,T.htmlTreeAsString)(r,{maxStringLength:200})||"<unknown>"}catch{t="<unknown>"}return{target:r,message:t}}(e);return tj({category:`ui.${e.name}`,...tq(t,n)})}(t);if(!i)return;let a="click"===t.name,s=a?t.event:void 0;a&&e.clickDetector&&s?.target&&!s.altKey&&!s.metaKey&&!s.ctrlKey&&!s.shiftKey&&(n=e.clickDetector,r=tB(t.event),n.handleClick(i,r)),tU(e,i)}),(0,q.addHistoryInstrumentationHandler)(t=>{if(!e.isEnabled())return;let n=function(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(ny(e,[n]),!1)))}),(t=(0,A.getClient)())&&t.on("beforeAddBreadcrumb",t=>(function(e,t){var n;if(!e.isEnabled()||!n_(t))return;let r=(n=t,!n_(n)||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui.")?null:"console"===n.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return tj(e);let n=!1,r=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(n=!0,`${e.slice(0,5e3)}â¦`):e;if("object"==typeof e)try{let t=(0,E.normalize)(e,7);if(JSON.stringify(t).length>5e3)return n=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}â¦`;return t}catch{}return e});return tj({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):tj(n));r&&tU(e,r)})(e,t));let r=(0,A.getClient)();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:s}=e.getOptions(),o={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:s};r&&r.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,n){if(t.data)try{var r,i,a,s;r=t,"xhr"===r.category&&(i=n,i?.xhr)&&(!function(e,t){let{xhr:n,input:r}=t;if(!n)return;let i=nv(r),a=n.getResponseHeader("content-length")?nT(n.getResponseHeader("content-length")):function(e,t){try{let n="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return nv(n)}catch{return}}(n.response,n.responseType);void 0!==i&&(e.data.request_body_size=i),void 0!==a&&(e.data.response_body_size=a)}(t,n),nU(t,n,e)),a=t,"fetch"===a.category&&(s=n,s?.response)&&(!function(e,t){let{input:n,response:r}=t,i=nv(n?(0,j.getFetchRequestArgBody)(n):void 0),a=r?nT(r.headers.get("content-length")):void 0;void 0!==i&&(e.data.request_body_size=i),void 0!==a&&(e.data.response_body_size=a
19)}(t,n),nA(t,n,e))}catch(e){t3&&t7.exception(e,"Error when enriching network breadcrumb")}})(o,e,t))}catch{}let i=Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:"replay_event"===t.type?(delete t.breadcrumbs,t):!t.type||nf(t)||ng(t)?e.checkAndHandleExpiredSession()?ng(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:e4.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t):!t.type&&t.exception?.values?.length&&n.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions?(t3&&t7.log("Ignoring error from rrweb internals",t),null):(("buffer"===e.recordingMode&&t.message!==K&&t.exception&&!t.type&&ni(e.getOptions().errorSampleRate)||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):(nS(),t):t,{id:"Replay"});(0,N.addEventProcessor)(i),n&&(n.on("beforeSendEvent",t=>{var n,r;let i;e.isEnabled()&&!t.type&&(n=e,r=t,i=r.exception?.values?.[0]?.value,"string"==typeof i&&(i.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||i.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&tU(n,tj({category:"replay.hydrate-error",data:{url:(0,T.getLocationHref)()}})))}),n.on("afterSendEvent",(t,n)=>{if(!e.isEnabled()||t.type&&!nf(t))return;let r=n?.statusCode;if(r&&!(r<200)&&!(r>=300)){if(nf(t)){var i,a;let n;return void(i=e,a=t,n=i.getContext(),a.contexts?.trace?.trace_id&&n.traceIds.size<100&&n.traceIds.add(a.contexts.trace.trace_id))}!function(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&(0,H.setTimeout)(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t)}}),n.on("createDsc",t=>{let n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),n.on("spanStart",t=>{e.lastActiveSpan=t}),n.on("spanEnd",t=>{e.lastActiveSpan=t}),n.on("beforeSendFeedback",async(t,n)=>{let r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),n.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push((0,G.addPerformanceInstrumentationHandler)(e,n))}),r.push((0,G.addLcpInstrumentationHandler)(tV(tQ,e)),(0,G.addClsInstrumentationHandler)(tV(tZ,e)),(0,G.addFidInstrumentationHandler)(tV(t0,e)),(0,G.addInpInstrumentationHandler)(tV(t1,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{J.document.removeEventListener("visibilitychange",this._handleVisibilityChange),J.removeEventListener("blur",this._handleWindowBlur),J.removeEventListener("focus",this._handleWindowFocus),J.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){!this.session||nc(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){t3&&t7.log("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:e4.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(tK).filter(
19Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(ny(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){t3&&t7.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents){if((await nP(this),this.eventBuffer)&&e===this.getSessionId())try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await nG({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendReplay"});let e=(0,A.getClient)();e&&e.recordDroppedEvent(t instanceof nH?"ratelimit_backoff":"send_error","replay")}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){t3&&t7.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i){t3&&t7.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),r&&this._debouncedFlush();return}let a=this.eventBuffer;a&&0===this.session.segmentId&&!a.hasCheckout&&t3&&t7.log("Flushing initial segment without checkout.");let s=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,s&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&na(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let n=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=t.join(",");return n?.matches(r)}))return!1;let n=e.length,r=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=r&&n>r;if(n>i||a){let e=tj({category:"replay.mutations",data:{count:n,limit:a}});this._createCustomBreadcrumb(e)}return!a||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function nY(e,t){return[...e,...t].join(",")}let nq='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',nJ=["content-length","content-type","accept"],nV=!1,nK=e=>new nX(e);class nX{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:a=!0,workerUrl:s,_experiments:o={},maskAllText:l=!0,maskAllInputs:c=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:p=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:f=[],networkDetailDenyUrls:g=[],networkCaptureBodies:_=!0,networkRequestHeaders:S=[],networkResponseHeaders:y=[],mask:E=[],maskAttributes:v=["title","placeholder","aria-label"],unmask:T=[],block:I=[],unblock:b=[],ignore:R=[],maskFn:N,beforeAddRecordingEvent:w,beforeErrorSampling:C,onError:A}={}){this.name="Replay";const O=function({mask:e,unmask:t,block:n,unblock:r,ignore:i}){return{maskTextSelector:nY(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:nY(t,[]),blockSelector:nY(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not
19([src])"]),unblockSelector:nY(r,[]),ignoreSelector:nY(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:E,unmask:T,block:I,unblock:b,ignore:R});if(this._recordingOptions={maskAllInputs:c,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:N,maskInputFn:N,maskAttributeFn:(e,t,n)=>(function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:a}){return!r||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?a:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?a.replace(/[\S]/g,"*"):a})({maskAttributes:v,maskAllText:l,privacyOptions:O,key:e,value:t,el:n}),...O,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!o.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:i,useCompression:a,workerUrl:s,blockAllMedia:u,maskAllInputs:c,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:p,slowClickTimeout:h,slowClickIgnoreSelectors:m,networkDetailAllowUrls:f,networkDetailDenyUrls:g,networkCaptureBodies:_,networkRequestHeaders:nQ(S),networkResponseHeaders:nQ(y),beforeAddRecordingEvent:w,beforeErrorSampling:C,onError:A,_experiments:o},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${nq}`:nq),this._isInitialized&&(0,W.isBrowser)())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return nV}set _isInitialized(e){nV=e}afterAllSetup(e){(0,W.isBrowser)()&&!this._replay&&(this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(this._replay?.isEnabled())return this._replay.getSessionId()}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){var t;let n,r,i,a,s=(t=this._initialOptions,n=e.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...t},i=(0,$.parseSampleRate)(n.replaysSessionSampleRate),a=(0,$.parseSampleRate)(n.replaysOnErrorSampleRate),null==i&&null==a&&(0,b.consoleSandbox)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=i&&(r.sessionSampleRate=i),null!=a&&(r.errorSampleRate=a),r);this._replay=new nz({options:s,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function nQ(e){return[...nJ,...e.map(e=>e.toLowerCase())]}function nZ(){let e=(0,A.getClient)();return e?.getIntegrationByName("Replay")}e.s(["getReplay",()=>nZ,"replayIntegration",()=>nK])},934221,(e,t,n)=>{"use strict";t.exports=["chrome 111","edge 111","firefox 111","safari 16.4"]},232063,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return o},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return l},UNDERSCORE_NOT_FOUND_ROUTE:function(){return a},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return s}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a="/_not-found",s=`${a}/page`,o="/_global-error",l=`${o}/page`},558784,(e,t,n)=>{"use strict";var r,i=e.i(350461);Object.defineProperty(n,"__esModule",{value:!0});var a={APP_CLIENT_INTERNALS:function(){return en},APP_PATHS_MANIFEST:function(){return v},APP_PATH_ROUTES_MANIFEST:function(){return T},AdapterOutputType:function(){return d},BARREL_OPTIMIZATION_PREFIX:function(){return q},BLOCKED_PAGES:function(){return H},BUILD_ID_FILE:function(){return $},BUILD_MANIFEST:function(){return I},CLIENT_PUBLIC_FILES_PATH:function(){return G},CLIENT_REFERENCE_MANIFEST:function(){return J},CLIENT_STATIC_FILES_PATH:function(){return j},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return et},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ea},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return es},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return er},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return ei},COMPILER_INDEXES:function(){return u},COMPILER_NAMES:function(){return c},CONFIG_FILES:function(){return W},DEFAULT_RUNTIME_WEBPACK:function(){return eo},DEFAULT_SANS_SERIF_FONT:function(){return ep},DEFAULT_SERIF_FONT:function(){return ed},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return P},DEV_CLIENT_PAGES_MANIFEST:function(){return M},DYNAMIC_CSS_MANIFEST:function(){return Z},EDGE_RUNTIME_WEBPACK:function(){return el},EDGE_UNSUPPORTED_NODE_APIS:function(){return e_},EXPORT_DETAIL:function(){return C},EXPORT_MARKER:function(){return w},FUNCTIONS_CONFIG_MANIFEST:function(){return b},IMAGES_MANIFEST:function(){return k},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return Q},MIDDLEWARE_BUILD_MANIFEST:function(){return K},MIDDLEWARE_MANIFEST:function(){return x},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return X},MODERN_BROWSERSLIST_TARGET:function(){return o.default},NEXT_BUILTIN_DOCUMENT:function(){return Y},NEXT_FONT_MANIFEST:function(){return N},PAGES_MANIFEST:function(){return y},PHASE_ANALYZE:function(){return h},PHASE_DEVELOPMENT_SERVER:function(){return g},PHASE_EXPORT:function(){return p},PHASE_INFO:function(){return S},PHASE_PRODUCTION_BUILD:function(){return m},PHASE_PRODUCTION_SERVER:function(){return f},PHASE_TEST:function(){return _},PRERENDER_MANIFEST:function(){return A},REACT_LOADABLE_MANIFEST:function(){return B},ROUTES_MANIFEST:function(){return O},RSC_MODULE_TYPES:function(){return eg},SERVER_DIRECTORY:function(){return F},SERVER_FILES_MANIFEST:function(){return D},SERVER_PROPS_ID:function(){return eu},SERVER_REFERENCE_MANIFEST:function(){return V},STATIC_PROPS_ID:function(){return ec},STATIC_STATUS_PAGES:function(){return eh},STRING_LITERAL_DROP_BUNDLE:function(){return z},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return R},SYSTEM_ENTRYPOINTS:function(){return eS},TRACE_OUTPUT_VERSION:function(){return em},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return U},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return L},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return l.UNDERSCORE_GLOBAL_ERROR_ROUTE},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return l.UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY},UNDERSCORE_NOT_FOUND_ROUTE:function(){return l.UNDERSCORE_NOT_FOUND_ROUTE},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY},WEBPACK_STATS:function(){return E}};for(var s in a)Object.defineProperty(n,s,{enumerable:!0,get:a[s]});let o=e.r(741705)._(e.r(934221)),l=e.r(232063),c={client:"client",server:"server",edgeServer:"edge-server"},u={[c.client]:0,[c.server]:1,[c.edgeServer]:2};var d=((r={}).PAGES="PAGES",r.PAGES_API="PAGES_API",r.APP_PAGE="APP_PAGE",r.APP_ROUTE="APP_ROUTE",r.PRERENDER="PRERENDER",r.STATIC_FILE="STATIC_FILE",r.MIDDLEWARE="MIDDLEWARE",r);let p="phase-export",h="phase-analyze",m="phase-production-build",f="phase-production-server",g="phase-development-server",_="phase-test",S="phase-info",y="pages-manifest.json",E="webpack-stats.json",v="app-paths-manifest.json",T="app-path-routes-manifest.json",I="build-manifest.json",b="functions-config-manifest.json",R="subresource-integrity-manifest",N="next-font-manifest",w="export-marker.json",C="export-detail.json",A="prerender-manifest.json",O="routes-manifest.json",k="images-manifest.json",D="required-server-files",M="_devPagesManifest.json",x="middleware-manifest.json",L="_clientMiddlewareManifest.json",U="client-build-manifest.json",P="_devMiddlewareManifest.json",B="react-loadable-manifest.json",F="server",W=["next.config.js","next.config.mjs","next.config.ts",...i.default?.features?.typescript?["next.config.mts"]:[]],$="BUILD_ID",H=["/_document","/_app","/_error"],G="public",j="static",z
19="__NEXT_DROP_CLIENT_FILE__",Y="__NEXT_BUILTIN_DOCUMENT__",q="__barrel_optimize__",J="client-reference-manifest",V="server-reference-manifest",K="middleware-build-manifest",X="middleware-react-loadable-manifest",Q="interception-route-rewrite-manifest",Z="dynamic-css-manifest",ee="main",et=`${ee}-app`,en="app-pages-internals",er="react-refresh",ei="webpack",ea="polyfills",es=Symbol(ea),eo="webpack-runtime",el="edge-runtime-webpack",ec="__N_SSG",eu="__N_SSP",ed={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ep={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},eh=["/500"],em=1,ef=6e3,eg={client:"client",server:"server"},e_=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eS=new Set([ee,er,et]);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.