1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="e77c34b4-dd2d-476a-d7e6-49b1dbcd8a81")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,45873,3906,59421,49079,70887,65720,79746,4710,39511,21288,75287,42429,90225,20648,8817,5429,39687,55934,e=>{"use strict";let t;var n=e.i(74860),a=e.i(31140),r=e.i(9081),i=e.i(64660),s=e.i(82021),o=e.i(14046),p=e.i(76082),l=e.i(72536),c=e.i(93859),d=e.i(47378);let u=0;function S(e){let n=Math.floor(1e3*e);void 0!==t&&n!==t&&(u=0);let a=u;return u++,t=n,{key:"sentry.timestamp.sequence",value:{value:a,type:"integer"}}}e.s(["getSequenceAttribute",0,S],3906);var _=e.i(40735);function g(e,t){return t?(0,r.withScope)(t,()=>{let n=(0,c.getActiveSpan)(),a=n?(0,c.spanToTraceContext)(n):(0,r.getTraceContextFromScope)(t);return[n?(0,_.getDynamicSamplingContextFromSpan)(n):(0,_.getDynamicSamplingContextFromScope)(e,t),a]}):[void 0,void 0]}e.s(["_getTraceInfoFromScope",0,g],59421);let m={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};var f=e.i(11053),T=e.i(57082),h=e.i(50461);function E(){return"u">typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}e.s(["getSDKSource",0,function(){return"npm"},"isBrowserBundle",0,E],49079);var I=e.i(10544);function b(){let e;return"u">typeof window&&(!(!E()&&"[object process]"===Object.prototype.toString.call(void 0!==h.default?h.default:0))||(e=I.GLOBAL_OBJ.process,e?.type==="renderer"))}function v(e,t,n){let a=!(arguments.length>3)||void 0===arguments[3]||arguments[3];n&&(!e[t]||a)&&(e[t]=n)}function C(e,t){var n;let a=y(),r=(n=e,y().get(n));void 0===r?a.set(e,[t]):r.length>=100?(N(e,r),a.set(e,[t])):a.set(e,[...r,t])}function R(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,r.getCurrentScope)(),a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,u=t?.getClient()??(0,r.getClient)();if(!u){i.DEBUG_BUILD&&s.debug.warn("No client available to capture log.");return}let{release:_,environment:f,beforeSendLog:T}=u.getOptions(),[,h]=g(u,t),E={...e.attributes},{user:{id:I,email:b,username:R},attributes:N}=(0,l.getCombinedScopeData)((0,r.getIsolationScope)(),t);v(E,"user.id",I,!1),v(E,"user.email",b,!1),v(E,"user.name",R,!1),v(E,"sentry.release",_),v(E,"sentry.environment",f);let{name:y,version:D}=u.getSdkMetadata()?.sdk??{};v(E,"sentry.sdk.name",y),v(E,"sentry.sdk.version",D);let U=u.getIntegrationByName("Replay"),O=U?.getReplayId(!0);v(E,"sentry.replay_id",O),O&&U?.getRecordingMode()==="buffer"&&v(E,"sentry._internal.replay_is_buffering",!0);let B=e.message;if((0,o.isParameterizedString)(B)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=B;t?.length&&(E["sentry.message.template"]=e),t.forEach((e,t)=>{E[`sentry.message.parameter.${t}`]=e})}let M=(0,c.getActiveSpan)(t);v(E,"sentry.trace.parent_span_id",M?.spanContext().spanId);let k={...e,attributes:E};u.emit("beforeCaptureLog",k);let w=T?(0,p.safeCallback)(i.DEBUG_BUILD?"The `beforeSendLog` callback threw an error, dropping the log:":"",()=>(0,s.consoleSandbox)(()=>T(k)),()=>p.CALLBACK_ERROR):k;if(w===p.CALLBACK_ERROR)return void u.recordDroppedEvent("callback_error","log_item",1);if(!w){u.recordDroppedEvent("before_send","log_item",1),i.DEBUG_BUILD&&s.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:L,message:P,attributes:x={},severityNumber:G}=w,Y=(0,d.timestampInSeconds)(),z=S(Y);a(u,{timestamp:Y,level:L,body:A(String(P)),trace_id:h?.trace_id,severity_number:G??m[L],attributes:function(e){let t={};for(let[n,a]of Object.entries(e)){let e=A(n);"string"===a.type?t[e]={...a,value:A(a.value)}:t[e]=a}return t}({...(0,n.serializeAttributes)(N),...(0,n.serializeAttributes)(x,!0),[z.key]:z.value})}),u.emit("afterCaptureLog",w)}function N(e,t){var n,a,r,i,s;let o,p,l=t??(s=e,y().get(s))??[];if(0===l.length)return;let c=e.getOptions(),d=(n=c._metadata,a=c.tunnel,r=e.getDsn(),i=e.getDataCollectionOptions().userInfo,o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),a&&r&&(o.dsn=(0,f.dsnToString)(r)),(0,T.createEnvelope)(o,[(p=i?"auto":"never",[{type:"log",item_count:l.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...b()&&{ingest_settings:{infer_ip:p,infer_user_agent:p}},items:l}])]));y().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(d)}e.s(["isBrowser",0,b],70887);function y(){return(0,a.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function A(e){let t=Object(e),n=t.isWellFormed,a=t.toWellFormed;return"function"==typeof n&&"function"==typeof a?n.call(e)?e:a.call(e):e}e.s(["_INTERNAL_captureLog",0,R,"_INTERNAL_flushLogsBuffer",0,N],45873);var D=e.i(99619);function U(e){return!!e&&"function"==typeof e&&"_static"in e&&!!e._static}let O=!1;function B(e,t){let n=(0,p.safeCallback)(i.DEBUG_BUILD?"The `beforeSendSpan` callback threw an error, sending the span unmodified:":"",()=>t(e),()=>e);return n||(O||((0,s.consoleSandbox)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),O=!0),e)}e.s(["applyBeforeSendSpanCallback",0,B,"isStaticBeforeSendSpanCallback",0,U,"withStaticSpan",0,function(e){return(0,D.addNonEnumerableProperty)(e,"_static",!0),e},"withStreamedSpan",0,function(e){return e}],65720);var M=e.i(79838);
2function k(e,t,n){var a;let r=n.getOptions(),i=n.getDsn(),s=r.tunnel,o=(0,T.getSdkMetadataForEnvelopeHeader)(r._metadata),p={sent_at:new Date((0,M.safeDateNow)()).toISOString(),...!!(a=t).trace_id&&!!a.public_key&&{trace:t},...o&&{sdk:o},...!!s&&i&&{dsn:(0,f.dsnToString)(i)}};return(0,T.createEnvelope)(p,[w(e,n)])}function w(e,t){let n=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:e.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,ingest_settings:b()?{infer_ip:n,infer_user_agent:n}:void 0,items:e}]}function L(e){return"stream"===e.getOptions().traceLifecycle}function P(e){let t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links};return(0,c.streamedSpanJsonToSerializedSpan)(t)}e.s(["createSpanContainerItem",0,w,"createStreamedSpanEnvelope",0,k],79746),e.s(["hasSpanStreamingEnabled",0,L],4710),e.s(["spanJsonToSerializedStreamedSpan",0,P],39511);var x=e.i(99677);function G(e){s.debug.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Y(e,t){if(!t?.length)return!1;for(let a of t){var n;if("string"==typeof(n=a)||n instanceof RegExp){if(e.description&&(0,x.isMatchingPattern)(e.description,a))return i.DEBUG_BUILD&&G(e),!0;continue}let t=!!a.attributes&&Object.keys(a.attributes).length>0;if(!a.name&&!a.op&&!t)continue;let r=!a.name||e.description&&(0,x.isMatchingPattern)(e.description,a.name),s=!a.op||e.op&&(0,x.isMatchingPattern)(e.op,a.op),o=!a.attributes||Object.entries(a.attributes).every(t=>{let[n,a]=t;return function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?(0,x.isMatchingPattern)(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}(e.attributes?.[n],a)});if(r&&s&&o)return i.DEBUG_BUILD&&G(e),!0}return!1}e.s(["reparentChildSpans",0,function(e,t){let n=t.parent_span_id,a=t.span_id;if(n)for(let t of e)t.parent_span_id===a&&(t.parent_span_id=n)},"shouldIgnoreSpan",0,Y],21288);var z=e.i(63104),$=e.i(22511),F=e.i(72028),J=e.i(63254);function j(e,t){var n;let a,r=(0,c.spanToJSON)(e),i=(0,c.INTERNAL_getSegmentSpan)(e),s=(0,c.spanToJSON)(i),{isolationScope:o,scope:p}=(0,$.getCapturedScopesOnSpan)(e),d=(0,l.getCombinedScopeData)(o,p);K(r,W(s,t,d)),t.emit("preprocessSpan",r),r.is_segment&&(K(r,function(e){let t={},{response:n,profile:a,cloud_resource:r,culture:i,state:s}=e;if(n&&(null!=n.status_code&&(t["http.response.status_code"]=n.status_code),null!=n.body_size&&(t["http.response.body.size"]=n.body_size)),a&&(a.profile_id&&(t["sentry.profile_id"]=a.profile_id),a.profiler_id&&(t["sentry.profiler_id"]=a.profiler_id)),r)for(let[e,n]of Object.entries(r))null!=n&&(t[e]=n);i&&(i.locale&&(t["culture.locale"]=i.locale),i.timezone&&(t["culture.timezone"]=i.timezone)),s?.state&&"string"==typeof s.state.type&&(t["state.type"]=s.state.type);let o=e.angular;if(o){let e=o.version;("string"==typeof e||"number"==typeof e)&&(t["angular.version"]=e)}let p=e.react;if(p){let e=p.version;("string"==typeof e||"number"==typeof e)&&(t["react.version"]=e)}return t}(d.contexts)),n=r,(a=t.getIntegrationNames()).length&&K(n,{[z.SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS]:a}),t.emit("processSegmentSpan",r)),t.emit("processSpan",r);let{beforeSendSpan:u,traceLifecycle:S}=t.getOptions(),_="static"!==S&&u&&!U(u)?B(r,u):r;return{...(0,c.streamedSpanJsonToSerializedSpan)(_),_segmentSpan:i}}function K(e,t){let n=e.attributes??(e.attributes={});Object.entries(t).forEach(e=>{let[t,a]=e;null==a||t in n||(n[t]=a)})}function W(e,t,n){let a=!(arguments.length>3)||void 0===arguments[3]||arguments[3],r=t.getSdkMetadata(),{release:i,environment:s}=t.getOptions();return{[J.SENTRY_TRACE_LIFECYCLE]:"stream",[J.SENTRY_SEGMENT_NAME]:e.name,[J.SENTRY_SEGMENT_ID]:e.span_id,[J.SENTRY_SDK_NAME]:r?.sdk?.name,[J.SENTRY_SDK_VERSION]:r?.sdk?.version,[z.SEMANTIC_ATTRIBUTE_SENTRY_RELEASE]:i,[z.SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT]:s||F.DEFAULT_ENVIRONMENT,[z.SEMANTIC_ATTRIBUTE_USER_ID]:n.user?.id,[z.SEMANTIC_ATTRIBUTE_USER_EMAIL]:n.user?.email,[z.SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS]:n.user?.ip_address,[z.SEMANTIC_ATTRIBUTE_USER_USERNAME]:n.user?.username,...a?n.attributes:void 0}}function q(e,t,n){let a=(0,c.spanToStaticSpanJSON)(e),r=(0,c.INTERNAL_getSegmentSpan)(e),i=(0,c.spanToJSON)(r),{isolationScope:s,scope:o}=(0,$.getCapturedScopesOnSpan)(e);return Object.entries(W(i,t,(0,l.getCombinedScopeData)(s,o),!1)).forEac
2h(e=>{let[t,n]=e;null==n||t in a.data||(a.data[t]=n)}),P(B(a,n))}e.s(["captureSpan",0,j,"captureStandaloneSpanWithStaticCallback",0,q,"safeSetSpanJSONAttributes",0,K],75287);var V=e.i(14697),H=e.i(57821),X=e.i(28659);function Q(e,t){var n,a,r,i;let s,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{};try{s=e()}catch(e){throw t(e),p(),e}return n=s,a=t,r=p,i=l,(0,o.isThenable)(n)?(0,X.chainAndCopyPromiseLike)(n,e=>{r(),i(e)},e=>{a(e),r()}):(r(),i(n),n)}e.s(["handleCallbackErrors",0,Q],42429);var Z=e.i(86038),ee=e.i(59546),et=e.i(58927),en=e.i(54402),ea=e.i(66361),er=e.i(76357),ei=e.i(33226);function es(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},a=n[z.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],r=n[z.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof a&&"number"==typeof r&&(t[e.name]={value:r,unit:a})}),t}function eo(){return(0,a.getSentryCarrier)((0,a.getMainCarrier)()).segmentSpanCaptureStrategy}e.s(["setMeasurement",0,function(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,c.getActiveSpan)(),r=a&&(0,c.getRootSpan)(a);r&&(i.DEBUG_BUILD&&s.debug.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),r.addEvent(e,{[z.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t,[z.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:n}))},"timedEventsToMeasurements",0,es],90225);class ep{constructor(e={}){this._traceId=e.traceId||(0,en.generateTraceId)(),this._spanId=e.spanId||(0,en.generateSpanId)(),this._startTime=e.startTimestamp||(0,d.timestampInSeconds)(),this._links=e.links,this._attributes={},this.setAttributes({[z.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[z.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),this._events=[],this._isStandaloneSpan=e.isStandalone}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(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?c.TRACE_FLAG_SAMPLED:c.TRACE_FLAG_NONE}}setAttribute(e,t){return this._frozen||(e!==J.SENTRY_SEGMENT_NAME_SOURCE||void 0===t||(0,c.spanIsSegment)(this)?void 0===t?delete this._attributes[e]:this._attributes[e]=t:i.DEBUG_BUILD&&s.debug.warn("[Tracing] Ignoring name source on a child span: this attribute is only valid on the root span.")),this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=(0,c.spanTimeInputToSeconds)(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen||(this._name=e,(0,c.INTERNAL_setSegmentNameSourceIfSegment)(this,"custom")),this}end(e){this._endTime||(this._endTime=(0,c.spanTimeInputToSeconds)(e),function(e){if(!i.DEBUG_BUILD)return;let{description:t="< unknown name >",op:n="< unknown op >"}=(0,c.spanToStaticSpanJSON)(e),{spanId:a}=e.spanContext(),r=(0,c.getRootSpan)(e)===e,o=`[Tracing] Finishing "${n}" ${r?"root ":""}span "${t}" with ID ${a}`;s.debug.log(o)}(this),this._onSpanEnded(),this._frozen=(0,$.spanIsTracerProviderSpan)(this))}getStaticSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[z.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,c.getStatusMessage)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[z.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[z.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[z.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:es(this._events),links:(0,c.convertSpanLinksForEnvelope)(this._links)}}getSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime,is_segment:(0,c.spanIsSegment)(this),status:(0,c.getSimpleStatus)(this._status),attributes:(0,c.addStatusMessageAttribute)(this._attributes,this._status),links:(0,c.getStreamedSpanLinks)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;i.DEBUG_BUILD&&s.debug.log("[Tracing] Adding an event to span:",e);let a=el(t)?t:n||(0,d.timestampInSeconds)(),r=el(t)?{}:t||{},o={name:e,time:(0,c.spanTimeInputToSeconds)(a),attributes:r};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,r.getClient)();if(e?.emit("spanEnd",this),this._isStandaloneSpan)return e?this._sampled?void function(e,t){let{beforeSendSpan:n,traceLifecycle:a}=t.getOptions();if("static"===a&&U(n)){let a=q(e,t,n),r=(0,_.getDynamicSamplingContextFromSpan)(e);t.sendEnvelope(k([a],r,t));return}let{_segmentSpan:r,...i}=j(e,t),s=(0,_.getDynamicSamplingContextFromSpan)(r);t.sendEnvelope(k([i],s,t))}(this,e):(i.DEBUG_BUILD&&s.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),void e.recordDroppedEvent("sample_rate","span")):void 0;e?.emit("afterSpanEnd",this);let t=(0,c.getRootSpan)(this);if(t!==this){let e=eo();if(e){let n=(0,$.getCapturedScopesOnSpan)(this).scope||(0,r.getCurrentScope)();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&L(e))return void e.emit("afterSegmentSpanEnd",this);let n=(0,$.getCapturedScopesOnSpan)(this).scope||(0,r.getCurrentScope)(),a=eo();if(a)a.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),n);else{let e=this._convertSpanToTransaction();e&&n.captureEvent(e)}}_convertSpanToTransaction(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ec((0,c.spanToStaticSpanJSON)(this)))return;this._name||(i.DEBUG_BUILD&&s.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:n}=(0,$.getCapturedScopesOnSpan)(this),a=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;e.onSpanCaptured?.(this);let r=[];for(let t of(0,c.getSpanDescendants)(this)){var o;if(t===this||(o=t)instanceof ep&&o.isStandaloneSpan()||e.isSpanAlreadyCaptured?.(t))continue;let n=(0,c.spanToStaticSpanJSON)(t);ec(n)&&(e.onSpanCaptured?.(t),r.push(n))}let p=this._attributes[J.SENTRY_SEGMENT_NAME_SOURCE];delete this._attributes[z.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];let l=!1;
2r.forEach(e=>{delete e.data[z.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],e.op?.startsWith("gen_ai.")&&(l=!0)});let d={contexts:{trace:(0,c.spanToTransactionTraceContext)(this)},spans:r.length>1e3?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:(0,_.getDynamicSamplingContextFromSpan)(this),hasGenAiSpans:l},request:a,...p&&{transaction_info:{source:p}}},u=es(this._events);return u&&Object.keys(u).length&&(i.DEBUG_BUILD&&s.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),d.measurements=u),d}}function el(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function ec(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}e.s(["SentrySpan",0,ep],20648);var ed=e.i(42044),eu=e.i(73565);function eS(e,t){let n=eE();return n.withActiveSpan?n.withActiveSpan(e,t):(0,r.withScope)(n=>((0,ea._setSpanForScope)(n,e||void 0),t(n)))}function e_(e){let t=eE();return t.suppressTracing?t.suppressTracing(e):(0,r.withScope)(t=>(t.setSDKProcessingMetadata({[eu.SUPPRESS_TRACING_KEY]:!0}),e()))}function eg(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.getCurrentScope)(),t=eE();return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata[eu.SUPPRESS_TRACING_KEY]}function em(e){let t=eE();return t.startNewTrace?t.startNewTrace(e):eS(null,()=>(0,r.withScope)(t=>(t.setPropagationContext({traceId:(0,en.generateTraceId)(),sampleRand:(0,M.safeMathRandom)()}),i.DEBUG_BUILD&&s.debug.log(`Starting a new trace with id ${t.getPropagationContext().traceId}`),e())))}function ef(e,t){t?.recordDroppedEvent("no_parent_span","span");let n=new ei.SentryNonRecordingSpan({traceId:e.getPropagationContext().traceId});return(0,$.setCapturedScopesOnSpan)(n,e,(0,r.getIsolationScope)()),n}function eT(e){var t,n;let a,o,{parentSpan:p,spanArguments:l,forceTransaction:d,scope:u}=e,S=(0,r.getIsolationScope)(),g={scope:u,parentSpan:p};(0,r.getClient)()?.emit("prepareSpanScope",g);let{scope:m,parentSpan:f}=g;if(!(0,ee.hasSpansEnabled)()){let e=m.getPropagationContext(),t=f?f.spanContext().traceId:e.traceId,n=new ei.SentryNonRecordingSpan({traceId:t});return f&&!d&&(0,c.addChildSpanToSpan)(f,n),(0,$.setCapturedScopesOnSpan)(n,m,S),n}let T=(0,r.getClient)();if(t=T,n=l,a=t?.getOptions().ignoreSpans,t&&L(t)&&a?.length&&Y({description:n.name||"",op:n.attributes?.[z.SEMANTIC_ATTRIBUTE_SENTRY_OP]||n.op,attributes:n.attributes},a)){eg(m)||T?.recordDroppedEvent("ignored","span");let e=new ei.SentryNonRecordingSpan({dropReason:"ignored",traceId:f?.spanContext().traceId??m.getPropagationContext().traceId});return f&&!d&&(0,c.addChildSpanToSpan)(f,e),(0,$.setCapturedScopesOnSpan)(e,m,S),e}if(f&&!d)o=function(e,t,n,a){let{spanId:i,traceId:s}=e.spanContext(),o=eg(t),p=!o&&(0,c.spanIsSampled)(e),l=p?new ep({...n,parentSpanId:i,traceId:s,sampled:p}):new ei.SentryNonRecordingSpan({traceId:s});(0,c.addChildSpanToSpan)(e,l),(0,$.setCapturedScopesOnSpan)(l,t,a);let d=(0,r.getClient)();return d&&(L(d)&&(0,ei.spanIsNonRecordingSpan)(l)&&((0,ei.spanIsNonRecordingSpan)(e)&&e.dropReason?(l.dropReason=e.dropReason,d.recordDroppedEvent(e.dropReason,"span")):o||(l.dropReason="sample_rate",d.recordDroppedEvent("sample_rate","span"))),d.emit("spanStart",l)),l}(f,m,l,S),(0,c.addChildSpanToSpan)(f,o);else if(f){let e=(0,_.getDynamicSamplingContextFromSpan)(f),{traceId:t,spanId:n}=f.spanContext(),a=(0,c.spanIsSampled)(f);o=eI({traceId:t,parentSpanId:n,...l},m,S,a),(0,_.freezeDscOnSpan)(o,e)}else{let{traceId:e,dsc:t,parentSpanId:n,sampled:a,sampleRand:r}=m.getPropagationContext();if(o=eI({traceId:e,parentSpanId:n,...l},m,S,a),t){let e=0===Object.keys(t).length&&void 0!==r?{sample_rand:r.toString()}:t;(0,_.freezeDscOnSpan)(o,e)}}return!function(e){if(!i.DEBUG_BUILD)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:a}=(0,c.spanToStaticSpanJSON)(e),{spanId:r}=e.spanContext(),o=(0,c.spanIsSampled)(e),p=(0,c.getRootSpan)(e),l=p===e,d=`[Tracing] Starting ${o?"sampled":"unsampled"} ${l?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${r}`];if(a&&u.push(`parent ID: ${a}`),!l){let{op:e,description:t}=(0,c.spanToStaticSpanJSON)(p);u.push(`root ID: ${p.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}s.debug.log(`${d} 3 ${u.join("\n ")}`)}(o),o}function eh(e){let t={isStandalone:e.experimental?.standalone,...e};
3if(e.op&&(t.attributes={[z.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),e.startTime){let n={...t};return n.startTimestamp=(0,c.spanTimeInputToSeconds)(e.startTime),delete n.startTime,n}return t}function eE(){let e=(0,a.getMainCarrier)();return(0,V.getAsyncContextStrategy)(e)}function eI(e,t,n,a){let o=(0,r.getClient)(),l=o?.getOptions()||{},{name:c=""}=e,d={spanAttributes:{...e.attributes},spanName:c,parentSampled:a};o?.emit("beforeSampling",d,{decision:!1});let u=d.parentSampled??a,S=d.spanAttributes,_=t.getPropagationContext(),g=eg(t),[m,f,T,h]=g?[!1]:function(e,t,n){if(!(0,ee.hasSpansEnabled)(e))return[!1];let a=function(e,t){let{tracesSampler:n,tracesSampleRate:a}=e;if("function"==typeof n){let e=(0,p.safeCallback)(i.DEBUG_BUILD?"The `tracesSampler` callback threw an error, falling back to the parent sampling decision or `tracesSampleRate`:":"",()=>[n({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),!0],()=>void 0);if(e)return e}return void 0!==t.parentSampled?[t.parentSampled]:void 0!==a?[a,!0]:void 0}(e,t);if(!a)return[!1,void 0,void 0,"callback_error"];let[r,o]=a,l=(0,et.parseSampleRate)(r);if(void 0===l)return i.DEBUG_BUILD&&s.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(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!l)return i.DEBUG_BUILD&&s.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=n<l;return!c&&i.DEBUG_BUILD&&s.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[c,l,o]}(l,{name:c,parentSampled:u,attributes:S,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:(0,et.parseSampleRate)(_.dsc?.sample_rate)},_.sampleRand),E=new ep({...e,attributes:{[J.SENTRY_SEGMENT_NAME_SOURCE]:"custom",[z.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==f&&T?f:void 0,...S},sampled:m});return m||!o||g||(i.DEBUG_BUILD&&s.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent(h||"sample_rate",L(o)?"span":"transaction")),(0,$.setCapturedScopesOnSpan)(E,t,n),o&&o.emit("spanStart",E),E}function eb(e,t){if(t)return t;if(null===t)return;let n=(0,c.getActiveSpan)(e);if(!n)return;let a=(0,r.getClient)();return(a?a.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,c.getRootSpan)(n):n}function ev(e){return void 0!==e?t=>eS(e,t):e=>e()}function eC(e){return(0,ei.spanIsNonRecordingSpan)(e)&&"ignored"===e.dropReason}function eR(e,t,n,a){return(t?t=>eS(e,()=>{let n=(0,r.getCurrentScope)(),a=(0,$.getCapturedScopesOnSpan)(e).scope;return a&&n.setPropagationContext(a.getPropagationContext()),(0,$.setCapturedScopesOnSpan)(e,n,(0,r.getIsolationScope)()),t()}):e=>e())(()=>Q(()=>n(),t=>{(0,Z.recordEscapedErrorSpan)(t,e);let{status:n}=(0,c.spanToStaticSpanJSON)(e);e.isRecording()&&"ok"===n&&e.setStatus({code:ed.SPAN_STATUS_ERROR,message:"internal_error"})},a))}function eN(e,t,n,a,r){R({level:e,message:t,attributes:n,severityNumber:r},a)}function ey(e,t){let{scope:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eN("trace",e,t,n)}function eA(e,t){let{scope:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eN("debug",e,t,n)}function eD(e,t){let{scope:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eN("info",e,t,n)}function eU(e,t){let{scope:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eN("warn",e,t,n)}function eO(e,t){let{scope:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eN("error",e,t,n)}function eB(e,t){let{scope:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eN("fatal",e,t,n)}function eM(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];let r=new String(String.raw(e,...n));
3return r.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=n,r}e.s(["continueTrace",0,(e,t)=>{let n=(0,a.getMainCarrier)(),i=(0,V.getAsyncContextStrategy)(n);if(i.continueTrace)return i.continueTrace(e,t);let{sentryTrace:s,baggage:o}=e,p=(0,r.getClient)(),l=(0,H.baggageHeaderToDynamicSamplingContext)(o);return p&&!(0,er.shouldContinueTrace)(p,l?.org_id)?em(t):(0,r.withScope)(e=>{let n=(0,er.propagationContextFromHeaders)(s,o);return e.setPropagationContext(n),eS(null,t)})},"spanIsIgnored",0,eC,"startInactiveSpan",0,function(e){let t=eh(e),{forceTransaction:n,parentSpan:a,scope:i}=e;return(i?e=>(0,r.withScope)(i,e):void 0!==a?e=>eS(a,e):e=>e())(()=>{let s=(0,r.getCurrentScope)(),o=eb(i??s,a),p=(0,r.getClient)();return e.onlyIfParent&&!o?ef(s,p):eT({parentSpan:o,spanArguments:t,forceTransaction:n,scope:s})})},"startNewTrace",0,em,"startSpan",0,function(e,t){let n=eh(e),{forceTransaction:a,parentSpan:i,scope:s}=e,o=s?.clone();return(0,r.withScope)(o,()=>ev(i)(()=>{let o=(0,r.getCurrentScope)(),p=eb(s??o,i),l=(0,r.getClient)(),c=e.onlyIfParent&&!p?ef(o,l):eT({parentSpan:p,spanArguments:n,forceTransaction:a,scope:o}),d=!eC(c)||!p;return eR(c,d,()=>t(c),()=>c.end())}))},"startSpanManual",0,function(e,t){let n=eh(e),{forceTransaction:a,parentSpan:i,scope:s}=e,o=s?.clone();return(0,r.withScope)(o,()=>ev(i)(()=>{let o=(0,r.getCurrentScope)(),p=eb(s??o,i),l=e.onlyIfParent&&!p?ef(o,(0,r.getClient)()):eT({parentSpan:p,spanArguments:n,forceTransaction:a,scope:o}),c=!eC(l)||!p;return eR(l,c,()=>t(l,()=>l.end()))}))},"suppressTracing",0,e_,"withActiveSpan",0,eS],8817),e.s(["debug",0,eA,"error",0,eO,"fatal",0,eB,"info",0,eD,"trace",0,ey,"warn",0,eU],9333),e.i(9333),e.s(["fmt",0,eM,"parameterize",0,eM],5429),e.s(["debug",0,eA,"error",0,eO,"fatal",0,eB,"fmt",0,eM,"info",0,eD,"trace",0,ey,"warn",0,eU],45287);var ek=e.i(45287);async function ew(){let e=(0,r.getClient)();if(!e)return"no-client-active";if(!e.getDsn())return"no-dsn-configured";let t=e.getOptions().tunnel||"https://o447951.ingest.sentry.io/api/4509632503087104/envelope/?sentry_version=7&sentry_key=c1dfb07d783ad5325c245c1fd3725390&sentry_client=sentry.javascript.browser%2F1.33.7";try{await e_(()=>fetch(t,{body:"{}",method:"POST",mode:"cors",credentials:"omit"}))}catch{return"sentry-unreachable"}}e.s(["logger",0,ek],39687),e.s(["diagnoseSdkConnectivity",0,ew],55934)}]); 4 5//# debugId=e77c34b4-dd2d-476a-d7e6-49b1dbcd8a81
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.