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]="bbe3926c-7b92-aa45-3260-285f38f0587d")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,250804,591401,225304,923288,901020,272598,453288,951497,111139,936032,45968,821593,682564,605394,341041,318746,373382,821061,994218,301263,519988,602309,10008,454300,812024,170637,759075,776710,242222,339435,132584,304661,664963,373250,728469,473753,286564,67486,869766,804478,14177,541193,571993,t=>{"use strict";var e,n,r,a,i,o=t.i(651682),s="10.65.0";t.s(["SDK_VERSION",0,s],591401);var c=globalThis;function u(){return p(c),c}function p(t){var e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||s,e[s]=e[s]||{}}function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=n.__SENTRY__=n.__SENTRY__||{},a=r[s]=r[s]||{};return a[t]||(a[t]=e())}t.s(["GLOBAL_OBJ",0,c],225304),t.s(["getGlobalSingleton",0,l,"getMainCarrier",0,u,"getSentryCarrier",0,p],923288);var d=t.i(292955),f=t.i(780646),_=t.i(299749),v=t.i(108487),h=t.i(120786),g=t.i(92808),m=t.i(540316),S="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,S],901020);var y=t.i(500075),b={};function T(t){if(!("console"in c))return t();var e=c.console,n={},r=Object.keys(b);r.forEach(function(t){var r=b[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(function(t){e[t]=n[t]})}}function E(){return k().enabled}function I(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];S&&E()&&T(function(){var e;(e=c.console)[t].apply(e,["".concat("Sentry Logger ","[").concat(t,"]:")].concat((0,m._)(n)))})}function k(){return S?l("loggerSettings",function(){return{enabled:!1}}):{enabled:!1}}var A={enable:function(){k().enabled=!0},disable:function(){k().enabled=!1},isEnabled:E,log:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];I.apply(void 0,["log"].concat((0,m._)(e)))},warn:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];I.apply(void 0,["warn"].concat((0,m._)(e)))},error:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];I.apply(void 0,["error"].concat((0,m._)(e)))}};t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,T,"debug",0,A,"originalConsoleMethods",0,b],272598);var x=Object.prototype.toString;function N(t){switch(x.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return j(t,Error)}}function R(t,e){return x.call(t)==="[object ".concat(e,"]")}function C(t){return R(t,"String")}function O(t){return(void 0===t?"undefined":(0,y._)(t))==="object"&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function w(t){return null===t||O(t)||(void 0===t?"undefined":(0,y._)(t))!=="object"&&"function"!=typeof t}function P(t){return R(t,"Object")}function M(t){return(void 0===t?"undefined":(0,y._)(t))==="object"&&null!==t}function D(t){return"u">typeof Event&&j(t,Event)}function U(t){return R(t,"RegExp")}function L(t){return!!((null==t?void 0:t.then)&&"function"==typeof t.then)}function j(t,e){try{return(0,v._)(t,e)}catch(t){return!1}}function F(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){S&&A.log('Failed to add non-enumerable property "'.concat(String(e),'" to object'),t)}}function B(t,e){try{var n=e.prototype||{};t.prototype=e.prototype=n,F(t,"__sentry_original__",e)}catch(t){}}function Y(t){if(N(t))return(0,h._)({message:t.message,name:t.name,stack:t.stack},z(t));if(D(t)){var e=t.type,n=t.target,r=t.currentTarget,a=t.detail;return(0,h._)({type:e,target:n,currentTarget:r},a?{detail:a}:{},z(t))}return t}function z(t){return M(t)?Object.fromEntries(Object.entries(t)):{}}function G(t){if(void 0!==e)return e?e(t):t();var n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in c&&"function"==typeof c[n]?(e=c[n])(t):(e=null,t())}function J(){return G(function(){return Math.random()})}function K(){return G(function(){return Date.now()})}t.s(["isDOMError",0,function(t){return R(t,"DOMError")},"isDOMException",0,function(t){return R(t,"DOMException")},"isError",0,N,"isErrorEvent",0,function(t){return R(t,"ErrorEvent")},"isEvent",0,D,"isInstanceOf",0,j,"isObjectLike",0,M,"isParameterizedString",0,O,"isPlainObject",0,P,"isPrimitive",0,w,"isRegExp",0,U,"isRequest",0,function(t){return"u">typeof Request&&j(t,Request)},"isString",0,C,"isThenable",0,L],453288),t.s(["addNonEnumerableProperty",0,F,"convertToPlainObject",0,Y,"extractExceptionKeysForMessage",0,function(t){var e=Object.keys(Y(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"},"fill",0,function(t,e,n){if(e in t){var r=t[e];if("function"==typeof r){var a=n(r);"function"==typeof a&&B(a,r);try{t[e]=a}catch(n){S&&A.log('Failed to replace method "'.concat(e,'" in object'),t)}}}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,B],951497),t.s(["safeDateNow",0,K,"safeMathRandom",0,J,"withRandomSafeContext",0,G],111139);var H=Symbol.for("sentry.skipNormalization"),W=Symbol.for("sentry.overrideNormalizationDepth"),V=/\(error: (.*)\)/,q=/captureMessage|captureException/;function X(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.sort(function(t,e){return t[0]-e[0]}).map(function(t){return t[1]});return function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=[],i=t.split("\n"),o=e;o<i.length;o++){var s=i[o];s.length>1024&&(s=s.slice(0,1024));var c=V.test(s)?s.replace(V,"$1"):s;if(!c.includes("Error: ")){var u=!0,p=!1,l=void 0;try{for(var d,f=r[Symbol.iterator]();!(u=(d=f.next()).done);u=!0){var _=(0,d.value)(c);if(_){a.push(_);break}}}catch(t){p=!0,l=t}finally{try{u||null==f.return||f.return()}finally{if(p)throw l}}if(a.length>=50+n)break}}var v=a.slice(n);if(!v.length)return[];var m=Array.from(v);return/sentryWrapped/.test($(m).function||"")&&m.pop(),m.reverse(),q.test($(m).function||"")&&(m.pop(),q.test($(m).function||"")&&m.pop()),m.slice(0,50).map(function(t){return(0,g._)((0,h._)({},t),{filename:t.filename||$(m).filename,function:t.function||"?"})})}}function $(t){return t[t.length-1]||{}}var Q="<anonymous>";function Z(t){try{if(!t||"function"!=typeof t)return Q;return t.name||Q}catch(t){return Q}}function tt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return function t(e,n){var r,a,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(r=new WeakSet,[function(t){return!!r.has(t)||(r.add(t),!1)},function(t){r.delete(t)}]),u=(0,o._)(c,2),p=u[0],l=u[1];if(null==n||["boolean","string"].includes(void 0===n?"undefined":(0,y._)(n))||"number"==typeof n&&Number.isFinite(n))return n;var d=te(e,n);if(!d.startsWith("[object "))return d;if(n[H])return n;var f="number"==typeof(a=n[W])?a:void 0,_=void 0!==f?f:i;if(0===_)return d.replace("object ","");if(p(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{var v=n.toJSON();return t("",v,_-1,s,c)}catch(t){}var h=Array.isArray(n)?[]:{},g=0,m=Y(n);for(var S in m)if(Object.prototype.hasOwnProperty.call(m,S)){if(g>=s){h[S]="[MaxProperties ~]";break}var b=m[S];h[S]=t(S,b,_-1,s,c),g++}return l(n),h}("",t,e,n)}catch(t){return{ERROR:"**non-serializable** (".concat(t,")")}}}function te(e,r){try{if(n){var a,i,o=n(r);if(o)return o}if(r===t.g)return"[Global]";if("number"==typeof r&&!Number.isFinite(r))return"[".concat(r,"]");if("function"==typeof r)return"[Function: ".concat(Z(r),"]");if((void 0===r?"undefined":(0,y._)(r))==="symbol")return"[".concat(String(r),"]");if((void 0===r?"undefined":(0,y._)(r))==="bigint")return"[BigInt: ".concat(String(r),"]");var s=(a=r,i=Object.getPrototypeOf(a),(null==i?void 0:i.constructor)?i.constructor.name:"null prototype");return"[object ".concat(s,"]")}catch(t){return"**non-serializable** (".concat(t,")")}}function tn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof t||0===e||t.length<=e?t:"".concat(t.slice(0,e),"...")}function tr(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!C(t)&&(U(e)?e.test(t):C(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function ta(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.crypto||c.msCrypto;try{if(null==t?void 0:t.randomUUID)return G(function(){return t.randomUUID()}).replace(/-/g,"")}catch(t){}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,function(t){return(t^(15&16*J())>>t/4).toString(16)})}function ti(t){var e,n;return null==(n=t.exception)||null==(e=n.values)?void 0:e[0]}function to(){return K()/1e3}function ts(){return(null!=a?a:a=function(){var t=c.performance;if(!(null==t?void 0:t.now)||!t.timeOrigin)return to;var e=t.timeOrigin;return function(){return(e+G(function(){return t.now()}))/1e3}}())()}
2t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,X,"getFramesFromEvent",0,function(t){var e=t.exception;if(e){var n=[];try{return e.values.forEach(function(t){t.stacktrace.frames&&n.push.apply(n,(0,m._)(t.stacktrace.frames))}),n}catch(t){}}},"getFunctionName",0,Z,"normalizeStackTracePath",0,function(t){var e=(null==t?void 0:t.startsWith("file://"))?t.slice(7):t;return(null==e?void 0:e.match(/\/[A-Z]:/))&&(e=e.slice(1)),e},"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?X.apply(void 0,(0,m._)(t)):t}],936032),t.s(["normalize",0,tt,"normalizeToSize",0,function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,a=tt(e,n);return~-encodeURI(JSON.stringify(a)).split(/%..|./).length>r?t(e,n-1,r):a},"setNormalizeStringifier",0,function(t){n=t},"stringifyValue",0,te],45968),t.s(["isMatchingPattern",0,tr,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var a=t[r];w(a)?n.push(String(a)):(0,v._)(a,Error)?n.push(a.message?"".concat(a.name,": ").concat(a.message):a.name):n.push(te(void 0,a))}return n.join(e)},"snipLine",0,function(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var a=Math.max(e-60,0);a<5&&(a=0);var i=Math.min(a+140,r);return i>r-5&&(i=r),i===r&&(a=Math.max(i-140,0)),n=n.slice(a,i),a>0&&(n="'{snip} ".concat(n)),i<r&&(n+=" {snip}"),n},"stringMatchesSomePattern",0,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;if(tr(t,c,n))return!0}}catch(t){a=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return!1},"truncate",0,tn],821593),t.s(["addExceptionMechanism",0,function(t,e){var n=ti(t);if(n){var r=n.mechanism;if(n.mechanism=(0,h._)({},{type:"generic",handled:!0},r,e),e&&"data"in e){var a=(0,h._)({},null==r?void 0:r.data,e.data);n.mechanism.data=a}}},"addExceptionTypeValue",0,function(t,e,n){var r=t.exception=t.exception||{},a=r.values=r.values||[],i=a[0]=a[0]||{};i.value||(i.value=e||""),i.type||(i.type=n||"Error")},"checkOrSetAlreadyCaught",0,function(t){if(function(t){try{return t.__sentry_captured__}catch(t){}}(t))return!0;try{F(t,"__sentry_captured__",!0)}catch(t){}return!1},"getEventDescription",0,function(t){var e=t.message,n=t.event_id;if(e)return e;var r=ti(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"},"uuid4",0,ta],682564);var tc=null;function tu(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||ts(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:ta()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did="".concat(e.did)),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{var n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function tp(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(!e||(void 0===e?"undefined":(0,y._)(e))!=="object"||n<=0)return e;if(t&&0===Object.keys(e).length)return t;var r=(0,h._)({},t);for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=tp(r[a],e[a],n-1));return r}function tl(){return ta()}function td(){return ta().substring(16)}function tf(t){try{var e=c.WeakRef;if("function"==typeof e)return new e(t)}catch(t){}return t}function t_(t){if(t){if((void 0===t?"undefined":(0,y._)(t))==="object"&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch(t){return}return t}}t.s(["browserPerformanceTimeOrigin",0,function(){return null===tc&&(tc=function(){var t,e=c.performance;if(null==e?void 0:e.now){var n=G(function(){return e.now()}),r=K(),a=e.timeOrigin;if("number"==typeof a&&3e5>Math.abs(a+n-r))return a;var i=null==(t=e.timing)?void 0:t.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+n-r)?i:r-n}}()),tc},"dateTimestampInSeconds",0,to,"timestampInSeconds",0,ts],605394),t.s(["closeSession",0,function(t,e){var n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),tu(t,n)},"makeSession",0,function(t){var e=ts(),n={sid:ta(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){var t;return t=n,{sid:"".concat(t.sid),init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?"".concat(t.did):void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}};return t&&tu(n,t),n},"updateSession",0,tu],341041),t.s(["merge",0,tp],318746),t.s(["generateSpanId",0,td,"generateTraceId",0,tl],373382);var tv="_sentrySpan";function th(t,e){e?F(t,tv,tf(e)):delete t[tv]}function tg(t){return t_(t[tv])}t.s(["_getSpanForScope",0,tg,"_setSpanForScope",0,th],821061);var tm=function(){function t(){(0,d._)(this,t),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:tl(),sampleRand:J()}}return(0,f._)(t,[{key:"clone",value:function(){var e=new t;return e._breadcrumbs=(0,m._)(this._breadcrumbs),e._tags=(0,h._)({},this._tags),e._attributes=(0,h._)({},this._attributes),e._extra=(0,h._)({},this._extra),e._contexts=(0,h._)({},this._contexts),this._contexts.flags&&(e._contexts.flags={values:(0,m._)(this._contexts.flags.values)}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=(0,m._)(this._eventProcessors),e._attachments=(0,m._)(this._attachments),e._sdkProcessingMetadata=(0,h._)({},this._sdkProcessingMetadata),e._propagationContext=(0,h._)({},this._propagationContext),e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,th(e,tg(this)),e}},{key:"setClient",value:function(t){this._client=t}},{key:"setLastEventId",value:function(t){this._lastEventId=t}},{key:"getClient",value:function(){return this._client}},{key:"lastEventId",value:function(){return this._lastEventId}},{key:"addScopeListener",value:function(t){this._scopeListeners.push(t)}},{key:"addEventProcessor",value:function(t){return this._eventProcessors.push(t),this}},{key:"setUser",value:function(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&tu(this._session,{user:t}),this._notifyScopeListeners(),this}},{key:"getUser",value:function(){return this._user}},{key:"setConversationId",value:function(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}},{key:"setTags",value:function(t){return this._tags=(0,h._)({},this._tags,t),this._notifyScopeListeners(),this}},{key:"setTag",value:function(t,e){return this.setTags((0,_._)({},t,e))}},{key:"setAttributes",value:function(t){return this._attributes=(0,h._)({},this._attributes,t),this._notifyScopeListeners(),this}},{key:"setAttribute",value:function(t,e){return this.setAttributes((0,_._)({},t,e))}},{key:"removeAttribute",value:function(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}},{key:"setExtras",value:function(t){return this._extra=(0,h._)({},this._extra,t),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(t,e){return this._extra=(0,g._)((0,h._)({},this._extra),(0,_._)({},t,e)),this._notifyScopeListeners(),this}},{key:"setFingerprint",value:function(t){return this._fingerprint=t,this._notifyScopeListeners(),this}},{key:"setLevel",value:function(t){return this._level=t,this._notifyScopeListeners(),this}},{key:"setTransactionName",value:function(t){return this._transactionName=t,this._notifyScopeListeners(),this}},{key:"setContext",value:function(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}},{key:"setSession",value:function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}},{key:"getSession",value:function(){return this._session}},{key:"update",value:function(e){if(!e)return this;var n="function"==typeof e?e(this):e,r=((0,v._)(n,t)?n.getScopeData():P(n)?e:void 0)||{},a=r.tags,i=r.attributes,o=r.extra,s=r.user,c=r.contexts,u=r.level,p=r.fingerprint,l=void 0===p?[]:p,d=r.propagationContext,f
2=r.conversationId;return this._tags=(0,h._)({},this._tags,a),this._attributes=(0,h._)({},this._attributes,i),this._extra=(0,h._)({},this._extra,o),this._contexts=(0,h._)({},this._contexts,c),s&&Object.keys(s).length&&(this._user=s),u&&(this._level=u),l.length&&(this._fingerprint=l),d&&(this._propagationContext=d),f&&(this._conversationId=f),this}},{key:"clear",value:function(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,th(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tl(),sampleRand:J()}),this._notifyScopeListeners(),this}},{key:"addBreadcrumb",value:function(t,e){var n,r="number"==typeof e?e:100;if(r<=0)return this;var a=(0,g._)((0,h._)({timestamp:to()},t),{message:t.message?tn(t.message,2048):t.message});return this._breadcrumbs.push(a),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),null==(n=this._client)||n.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}},{key:"getLastBreadcrumb",value:function(){return this._breadcrumbs[this._breadcrumbs.length-1]}},{key:"clearBreadcrumbs",value:function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}},{key:"addAttachment",value:function(t){return this._attachments.push(t),this}},{key:"clearAttachments",value:function(){return this._attachments=[],this}},{key:"getScopeData",value:function(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:tg(this),conversationId:this._conversationId}}},{key:"setSDKProcessingMetadata",value:function(t){return this._sdkProcessingMetadata=tp(this._sdkProcessingMetadata,t,2),this}},{key:"setPropagationContext",value:function(t){return this._propagationContext=t,this}},{key:"getPropagationContext",value:function(){return this._propagationContext}},{key:"captureException",value:function(t,e){var n=(null==e?void 0:e.event_id)||ta();if(!this._client)return S&&A.warn("No client configured on scope - will not capture exception!"),n;var r=Error("Sentry syntheticException");return this._client.captureException(t,(0,g._)((0,h._)({originalException:t,syntheticException:r},e),{event_id:n}),this),n}},{key:"captureMessage",value:function(t,e,n){var r,a=(null==n?void 0:n.event_id)||ta();if(!this._client)return S&&A.warn("No client configured on scope - will not capture message!"),a;var i=null!=(r=null==n?void 0:n.syntheticException)?r:Error(t);return this._client.captureMessage(t,e,(0,g._)((0,h._)({originalException:t,syntheticException:i},n),{event_id:a}),this),a}},{key:"captureEvent",value:function(t,e){var n=t.event_id||(null==e?void 0:e.event_id)||ta();return this._client?this._client.captureEvent(t,(0,g._)((0,h._)({},e),{event_id:n}),this):S&&A.warn("No client configured on scope - will not capture event!"),n}},{key:"_notifyScopeListeners",value:function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(e){e(t)}),this._notifyingListeners=!1)}}]),t}();t.s(["Scope",0,tm],994218);var tS=function(t){return(0,v._)(t,Promise)&&!t[ty]},ty=Symbol("chained PromiseLike"),tb=function(t,e,n){var r=t.then(function(t){return e(t),t},function(t){throw n(t),t});return tS(r)&&tS(t)?r:tT(t,r)},tT=function(t,e){if(!e)return t;var n=!1;for(var r in t)!function(r){if(!(r in e)){n=!0;var a=t[r];"function"==typeof a?Object.defineProperty(e,r,{value:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return a.apply(t,n)},enumerable:!0,configurable:!0,writable:!0}):e[r]=a}}(r);return n&&Object.assign(e,(0,_._)({},ty,!0)),e},tE=function(){function t(e,n){var r,a;(0,d._)(this,t),r=e||new tm,a=n||new tm,this._stack=[{scope:r}],this._isolationScope=a}return(0,f._)(t,[{key:"withScope",value:function(t){var e,n=this,r=this._pushScope();try{e=t(r)}catch(t){throw this._popScope(),t}return L(e)?tb(e,function(){return n._popScope()},function(){return n._popScope()}):(this._popScope(),e)}}
2,{key:"getClient",value:function(){return this.getStackTop().client}},{key:"getScope",value:function(){return this.getStackTop().scope}},{key:"getIsolationScope",value:function(){return this._isolationScope}},{key:"getStackTop",value:function(){return this._stack[this._stack.length-1]}},{key:"_pushScope",value:function(){var t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}},{key:"_popScope",value:function(){return!(this._stack.length<=1)&&!!this._stack.pop()}}]),t}();function tI(){var t=p(u());return t.stack=t.stack||new tE(l("defaultCurrentScope",function(){return new tm}),l("defaultIsolationScope",function(){return new tm}))}function tk(t){return tI().withScope(t)}function tA(t,e){var n=tI();return n.withScope(function(){return n.getStackTop().scope=t,e(t)})}function tx(t){return tI().withScope(function(){return t(tI().getIsolationScope())})}function tN(t){var e=p(t);return e.acs?e.acs:{withIsolationScope:tx,withScope:tk,withSetScope:tA,withSetIsolationScope:function(t,e){return tx(e)},getCurrentScope:function(){return tI().getScope()},getIsolationScope:function(){return tI().getIsolationScope()}}}function tR(){return tN(u()).getCurrentScope()}function tC(){return tN(u()).getIsolationScope()}function tO(){return l("globalScope",function(){return new tm})}function tw(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=tN(u());if(2===e.length){var a=(0,o._)(e,2),i=a[0],s=a[1];return i?r.withSetScope(i,s):r.withScope(s)}return r.withScope(e[0])}function tP(){return tR().getClient()}t.s(["getAsyncContextStrategy",0,tN],301263),t.s(["getClient",0,tP,"getCurrentScope",0,tR,"getGlobalScope",0,tO,"getIsolationScope",0,tC,"getTraceContextFromScope",0,function(t){var e=null==i?void 0:i();if(e)return{trace_id:e.traceId,span_id:e.spanId};var n=t.getPropagationContext(),r=n.traceId,a=n.parentSpanId,o={trace_id:r,span_id:n.propagationSpanId||td()};return a&&(o.parent_span_id=a),o},"hasExternalPropagationContext",0,function(){return void 0!==i},"withIsolationScope",0,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=tN(u());if(2===e.length){var a=(0,o._)(e,2),i=a[0],s=a[1];return i?r.withSetIsolationScope(i,s):r.withIsolationScope(s)}return r.withIsolationScope(e[0])},"withScope",0,tw],250804);var tM="sentry.source",tD="sentry.sample_rate",tU="sentry.previous_trace_sample_rate",tL="sentry.op",tj="sentry.origin",tF="sentry.status.message",tB="sentry.measurement_unit",tY="sentry.measurement_value",tz="sentry.custom_span_name",tG="sentry.profile_id",tJ="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,tJ,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,tG,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,tz,"SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT",0,"sentry.environment","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",0,"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",0,tB,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,tY,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tL,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tj,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,tU,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tD,"SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",0,"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tM,"SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE",0,tF,"SEMANTIC_ATTRIBUTE_URL_FULL",0,"url.full","SEMANTIC_ATTRIBUTE_USER_EMAIL",0,"user.email","SEMANTIC_ATTRIBUTE_USER_ID",0,"user.id","SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS",0,"user.ip_address","SEMANTIC_ATTRIBUTE_USER_USERNAME",0,"user.name","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",0,"sentry.link.type"],519988);var tK="sentry-";function tH(t){var e=tW(t);if(e){var n=Object.entries(e).reduce(function(t,e){var n=(0,o._)(e,2),r=n[0],a=n[1];return r.startsWith(tK)&&(t[r.slice(tK.length)]=a),t},{});return Object.keys(n).length>0?n:void 0}}function tW(t){if(t&&(C(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce(function(t,e){return Object.entries(tV(e)).forEac
2h(function(e){var n=(0,o._)(e,2),r=n[0],a=n[1];t[r]=a}),t},{}):tV(t)}function tV(t){return t.split(",").map(function(t){var e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(function(t){try{return decodeURIComponent(t.trim())}catch(t){return}})}).reduce(function(t,e){var n=(0,o._)(e,2),r=n[0],a=n[1];return r&&a&&(t[r]=a),t},{})}function tq(t,e){var n,r,a,i,o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};try{o=t()}catch(t){throw e(t),s(),t}return n=o,r=e,a=s,i=c,L(n)?tb(n,function(t){a(),i(t)},function(t){r(t),a()}):(a(),i(n),n)}function tX(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;var e,n=t||(null==(e=tP())?void 0:e.getOptions());return!!n&&(null!=n.tracesSampleRate||!!n.tracesSampler)}function t$(t){A.log("Ignoring span ".concat(t.op," - ").concat(t.description," because it matches `ignoreSpans`."))}function tQ(t,e){if(!(null==e?void 0:e.length))return!1;var n=!0,r=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var c,u=i.value;if(c=u,"string"==typeof c||(0,v._)(c,RegExp)){if(t.description&&tr(t.description,u))return S&&t$(t),!0;continue}var p=!!u.attributes&&Object.keys(u.attributes).length>0;
2if(u.name||u.op||p){var l=!u.name||t.description&&tr(t.description,u.name),d=!u.op||t.op&&tr(t.op,u.op),f=!u.attributes||Object.entries(u.attributes).every(function(e){var n,r=(0,o._)(e,2),a=r[0],i=r[1];return function(t,e){return"string"==typeof t&&("string"==typeof e||(0,v._)(e,RegExp))?tr(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every(function(t,n){return t===e[n]}):t===e}(null==(n=t.attributes)?void 0:n[a],i)});if(l&&d&&f)return S&&t$(t),!0}}}catch(t){r=!0,a=t}finally{try{n||null==s.return||s.return()}finally{if(r)throw a}}return!1}function tZ(t){return"stream"===t.getOptions().traceLifecycle}function t0(t){if("boolean"==typeof t)return Number(t);var e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,tK,"baggageHeaderToDynamicSamplingContext",0,tH,"dynamicSamplingContextToSentryBaggageHeader",0,function(t){if(t){var e=Object.entries(t).reduce(function(t,e){var n=(0,o._)(e,2),r=n[0],a=n[1];return a&&(t["".concat(tK).concat(r)]=a),t},{});return 0!==Object.keys(e).length?Object.entries(e).reduce(function(t,e,n){var r=(0,o._)(e,2),a=r[0],i=r[1],s="".concat(encodeURIComponent(a),"=").concat(encodeURIComponent(i)),c=0===n?s:"".concat(t,",").concat(s);return c.length>8192?(S&&A.warn("Not adding key: ".concat(a," with val: ").concat(i," to baggage header due to exceeding baggage size limits.")),t):c},""):void 0}},"parseBaggageHeader",0,tW],602309),t.s(["hasSpansEnabled",0,tX],10008),t.s(["reparentChildSpans",0,function(t,e){var n=e.parent_span_id,r=e.span_id;if(n){var a=!0,i=!1,o=void 0;try{for(var s,c=t[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var u=s.value;u.parent_span_id===r&&(u.parent_span_id=n)}}catch(t){i=!0,o=t}finally{try{a||null==c.return||c.return()}finally{if(i)throw o}}}},"shouldIgnoreSpan",0,tQ],454300),t.s(["hasSpanStreamingEnabled",0,tZ],812024),t.s(["parseSampleRate",0,t0],170637);var t1=t.i(233027);function t2(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=!0,a=!1,i=void 0;try{for(var s,c=Object.entries(null!=t?t:{})[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var u=(0,o._)(s.value,2),p=u[0],l=u[1],d=function(t,e){var n,r=(void 0===t?"undefined":(0,y._)(t))==="object"&&null!=t&&!Array.isArray(t)&&Object.keys(t).includes("value")?t:{value:t,unit:void 0},a=r.value,i=r.unit,o=function(t){if(Array.isArray(t))return{value:t,type:"array"};var e="string"==typeof t?"string":"boolean"==typeof t?"boolean":"number"!=typeof t||Number.isNaN(t)?null:Number.isInteger(t)?"integer":"double";if(e)return{value:t,type:e}}(a),s=i&&"string"==typeof i?{unit:i}:{};if(o)return(0,h._)({},o,s);if(e&&("skip-undefined"!==e||void 0!==a)){var c="";try{c=null!=(n=JSON.stringify(a))?n:""}catch(t){}return(0,h._)({value:c,type:"string"},s)}}(l,e);d&&(n[p]=d)}}catch(t){a=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}t.s(["serializeAttributes",0,t2],759075),t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);var n=function(t){if(t<400&&t>=100)return{code:1};if(t>=400&&t<500)switch(t){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}],776710);var t3="_sentryScope",t4="_sentryIsolationScope",t5=Symbol.for("sentry.otelSourceInference"),t6=Symbol.for("sentry.otelSourceExplicitlySet"),t9=Symbol.for("sentry.tracerProviderSpan");function t8(t,e,n){t&&(F(t,t4,tf(n)),F(t,t3,e))}function t7(t){return{scope:t[t3],isolationScope:t_(t[t4])}}function et(t){return!0===t[t5]}function ee(t){F(t,t6,!0)}function en(t){return!0===t[t9]}t.s(["getCapturedScopesOnSpan",0,t7,"markSpanSourceAsExplicit",0,ee,"setCapturedScopesOnSpan",0,t8,"spanIsTracerProviderSpan",0,en,"spanShouldInferOtelSource",0,et],242222);var er=/^o(\d+)\./,ea=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function ei(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.host,r=t.path,a=t.pass,i=t.port,o=t.projectId,s=t.protocol,c=t.publicKey;return"".concat(s,"://").concat(c).concat(e&&a?":".concat(a):"","@").concat(n).concat(i?":".concat(i):"","/").concat(r?"".concat(r,"/"):r).concat(o)}function eo(t){var e=ea.exec(t);if(!e)return void T(function(){console.error("Invalid Sentry Dsn: ".concat(t))});var n=(0,o._)(e.slice(1),6),r=n[0],a=n[1],i=n[2],s=n[3],c=n[4],u=n[5],p="",l=void 0===u?"":u,d=l.split("/");if(d.length>1&&(p=d.slice(0,-1).join("/"),l=d.pop()),l){var f=l.match(/^\d+/);f&&(l=f[0])}return es({host:void 0===s?"":s,pass:void 0===i?"":i,path:p,projectId:l,port:void 0===c?"":c,protocol:r,publicKey:a})}function es(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function ec(t){var e,n,r=t.getOptions(),a=(t.getDsn()||{}).host;return r.orgId?n=String(r.orgId):a&&(n=null==(e=a.match(er))?void 0:e[1]),n}
2t.s(["dsnFromString",0,eo,"dsnToString",0,ei,"extractOrgIdFromClient",0,ec,"makeDsn",0,function(t){var e="string"==typeof t?eo(t):es(t);if(e&&function(t){if(!S)return!0;var e=t.port,n=t.projectId,r=t.protocol;return!["protocol","publicKey","host","projectId"].find(function(e){return!t[e]&&(A.error("Invalid Sentry Dsn: ".concat(e," missing")),!0)})&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(A.error("Invalid Sentry Dsn: Invalid protocol ".concat(r)),!1):!(e&&isNaN(parseInt(e,10)))||(A.error("Invalid Sentry Dsn: Invalid port ".concat(e)),!1):(A.error("Invalid Sentry Dsn: Invalid projectId ".concat(n)),!1))}(e))return e}],339435);var eu=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function ep(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tl(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:td(),n=arguments.length>2?arguments[2]:void 0,r="";return void 0!==n&&(r=n?"-1":"-0"),"".concat(t,"-").concat(e).concat(r)}function el(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tl(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:td(),n=arguments.length>2?arguments[2]:void 0;return"00-".concat(t,"-").concat(e,"-").concat(n?"01":"00")}t.s(["TRACEPARENT_REGEXP",0,eu,"generateSentryTraceHeader",0,ep,"generateTraceparentHeader",0,el,"propagationContextFromHeaders",0,function(t,e){var n=function(t){if(t){var e,n=t.match(eu);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}}(t),r=tH(e);if(!(null==n?void 0:n.traceId))return{traceId:tl(),sampleRand:J()};var a=function(t,e){var n=t0(null==e?void 0:e.sample_rand);if(void 0!==n)return n;var r=t0(null==e?void 0:e.sample_rate);return r&&(null==t?void 0:t.parentSampled)!==void 0?t.parentSampled?J()*r:r+J()*(1-r):J()}(n,r);return r&&(r.sample_rand=a.toString()),{traceId:n.traceId,parentSpanId:n.parentSpanId,sampled:n.parentSampled,dsc:r||{},sampleRand:a}},"shouldContinueTrace",0,function(t,e){var n=ec(t);return e&&n&&e!==n?(A.log("Won't continue trace because org IDs don't match (incoming baggage: ".concat(e,", SDK options: ").concat(n,")")),!1):!t.getOptions().strictTraceContinuation||(!e||!!n)&&(!!e||!n)||(A.log("Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ".concat(e,", Sentry client: ").concat(n,")")),!1)}],132584);var ed=!1;function ef(t){var e=t.spanContext(),n=e.spanId,r=e.traceId,a=eS(t),i=a.data,o=a.op;return{parent_span_id:a.parent_span_id,span_id:n,trace_id:r,data:i,op:o,status:a.status,origin:a.origin,links:a.links}}function e_(t){var e=t.spanContext(),n=e.spanId,r=e.traceId,a=e.isRemote,i=a?n:eS(t).parent_span_id,o=t7(t).scope;return{parent_span_id:i,span_id:a?(null==o?void 0:o.getPropagationContext().propagationSpanId)||td():n,trace_id:r}}function ev(t){return t&&t.length>0?t.map(function(t){var e=t.context,n=e.spanId,r=e.traceId,a=e.traceFlags,i=(0,t1._)(e,["spanId","traceId","traceFlags"]),o=t.attributes;return(0,h._)({span_id:n,trace_id:r,sampled:1===a,attributes:o},i)}):void 0}function eh(t){return(null==t?void 0:t.length)?t.map(function(t){var e=t.context;return{span_id:e.spanId,trace_id:e.traceId,sampled:1===e.traceFlags,attributes:t.attributes}}):void 0}function eg(t){return"number"==typeof t?em(t):Array.isArray(t)?t[0]+t[1]/1e9:(0,v._)(t,Date)?em(t.getTime()):ts()}function em(t){return t>0x2540be3ff?t/1e3:t}function eS(t){if(eT(t))return t.getSpanJSON();var e=t.spanContext(),n=e.spanId,r=e.traceId;if(eb(t)){var a=t.attributes,i=t.startTime,o=t.name,s=t.endTime,c=t.status,u=t.links;return{span_id:n,trace_id:r,data:a,description:o,parent_span_id:ey(t),start_timestamp:eg(i),timestamp:eg(s)||void 0,status:eI(c),op:a[tL],origin:a[tj],links:ev(u)}}return{span_id:n,trace_id:r,start_timestamp:0,data:{}}}function ey(t){var e;return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?null==(e=t.parentSpanContext)?void 0:e.spanId:void 0}function eb(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eT(t){return"function"==typeof t.getSpanJSON}function eE(t){return 1===t.spanContext().traceFlags}function eI(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function ek(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}
2function eA(t,e){var n="error"===ek(e)?null==e?void 0:e.message:void 0;return(0,h._)({},n&&(0,_._)({},tF,n),t)}var ex="_sentryChildSpans",eN="_sentryRootSpan";function eR(t,e){var n=t[eN]||t;F(e,eN,n),t[ex]?t[ex].add(e):F(t,ex,new Set([e]))}function eC(t){var e=new Set;return!function t(n){if(!e.has(n)&&eE(n)){e.add(n);var r=n[ex]?Array.from(n[ex]):[],a=!0,i=!1,o=void 0;try{for(var s,c=r[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var u=s.value;t(u)}}catch(t){i=!0,o=t}finally{try{a||null==c.return||c.return()}finally{if(i)throw o}}}}(t),Array.from(e)}var eO=ew;function ew(t){return t[eN]||t}function eP(){var t=tN(u());return t.getActiveSpan?t.getActiveSpan():tg(tR())}function eM(){ed||(T(function(){console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),ed=!0)}t.s(["INTERNAL_getSegmentSpan",0,ew,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,eR,"addStatusMessageAttribute",0,eA,"convertSpanLinksForEnvelope",0,ev,"getActiveSpan",0,eP,"getRootSpan",0,eO,"getSimpleStatus",0,ek,"getSpanDescendants",0,eC,"getStatusMessage",0,eI,"getStreamedSpanLinks",0,eh,"removeChildSpanFromSpan",0,function(t,e){t[ex]&&t[ex].delete(e)},"showSpanDropWarning",0,eM,"spanIsSampled",0,eE,"spanTimeInputToSeconds",0,eg,"spanToJSON",0,eS,"spanToStreamedSpanJSON",0,function(t){if(eT(t))return t.getStreamedSpanJSON();var e=t.spanContext(),n=e.spanId,r=e.traceId;if(eb(t)){var a=t.attributes,i=t.startTime,o=t.name,s=t.endTime,c=t.status,u=t.links;return{name:o,span_id:n,trace_id:r,parent_span_id:ey(t),start_timestamp:eg(i),end_timestamp:eg(s),is_segment:t===ew(t),status:ek(c),attributes:eA(a,c),links:eh(u)}}return{span_id:n,trace_id:r,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===ew(t)}},"spanToTraceContext",0,e_,"spanToTraceHeader",0,function(t){var e=t.spanContext();return ep(e.traceId,e.spanId,eE(t))},"spanToTraceparentHeader",0,function(t){var e=t.spanContext();return el(e.traceId,e.spanId,eE(t))},"spanToTransactionTraceContext",0,ef,"streamedSpanJsonToSerializedSpan",0,function(t){var e;return(0,g._)((0,h._)({},t),{attributes:t2(t.attributes),links:null==(e=t.links)?void 0:e.map(function(t){return(0,g._)((0,h._)({},t),{attributes:t2(t.attributes)})})})}],304661);var eD="sentry.span.source";t.s(["SENTRY_SDK_NAME",0,"sentry.sdk.name","SENTRY_SDK_VERSION",0,"sentry.sdk.version","SENTRY_SEGMENT_ID",0,"sentry.segment.id","SENTRY_SEGMENT_NAME",0,"sentry.segment.name","SENTRY_SPAN_SOURCE",0,eD,"SENTRY_TRACE_LIFECYCLE",0,"sentry.trace_lifecycle","SENTRY_TRANSACTION",0,"sentry.transaction","URL_FULL",0,"url.full","URL_PATH",0,"url.path","URL_TEMPLATE",0,"url.template"],664963);var eU="production";t.s(["DEFAULT_ENVIRONMENT",0,eU],373250);var eL=Symbol.for("sentry.nonRecordingSpan"),ej=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,d._)(this,t),this._traceId=e.traceId||tl(),this._spanId=e.spanId||td(),this.dropReason=e.dropReason,F(this,eL,!0)}return(0,f._)(t,[{key:"spanContext",value:function(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}},{key:"end",value:function(t){}},{key:"setAttribute",value:function(t,e){return this}},{key:"setAttributes",value:function(t){return this}},{key:"setStatus",value:function(t){return this}},{key:"updateName",value:function(t){return this}},{key:"isRecording",value:function(){return!1}},{key:"addEvent",value:function(t,e,n){return this}},{key:"addLink",value:function(t){return this}},{key:"addLinks",value:function(t){return this}},{key:"recordException",value:function(t,e){}}]),t}();function eF(t){return!!t&&!0===t[eL]}t.s(["SentryNonRecordingSpan",0,ej,"spanIsNonRecordingSpan",0,eF],728469);var eB="_frozenDsc";function eY(t,e){F(t,eB,e)}function ez(t,e){var n=e.getOptions(),r=(e.getDsn()||{}).publicKey,a={environment:n.environment||eU,release:n.release,public_key:r,trace_id:t,org_id:ec(e)};return e.emit("createDsc",a),a}function eG(t,e){var n=e.getPropagationContext();return n.dsc||ez(n.traceId,t)}function eJ(t){var e,n,r,a,i,o=tP();if(!o)return{};var s=eO(t),c=eS(s),u=c.data,p=s.spanContext().traceState,l=null!=(e=null!=(n=null==p?void 0:p.get("sentry.sample_rate"))?n:u[tD])?e:u[tU];function d(t){return("number"==typeof l||"string"==typeof l)&&(t.sample_rate="".concat(l)),t}var f=s[eB];if(f)return d(f);if(eF(s)&&!tX(o.getOptions())){var _=t7(s).scope;if(_)return d((0,h._)({},eG(o,_)))}var v=null==p?void 0:p.get("sentry.dsc"),g=v&&tH(v);if(g)return d(g);var m=ez(t.spanContext().traceId,o),S=null!=(r=u[tM])?r:u[eD],y=c.description;return"url"!==S&&y&&(m.transaction=y),tX()&&(m.sampled=String(eE(s)),m.sample_rand=null!=(a=null==p?void 0:p.get("sentry.sample_rand"))?a:null==(i=t7(s).scope)?void 0:i.getPropagationContext().sampleRand.toString()),d(m),o.emit("createDsc",m,s),m}function eK(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}function eH(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[t,e]}function eW(t,e){var n=t[1],r=!0,a=!1,i=void 0;try{for(var o,s=n[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value,u=c[0].type;if(e(c,u))return!0}}catch(t){a=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return!1}function eV(t){var e=p(c);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function eq(t){return[{type:"span"},t]}t.s(["freezeDscOnSpan",0,eY,"getDynamicSamplingContextFromScope",0,eG,"getDynamicSamplingContextFromSpan",0,eJ],473753),t.s(["isStreamedBeforeSendSpanCallback",0,eK],286564);var eX={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function e$(t){if(null==t?void 0:t.sdk){var e=t.sdk;return{name:e.name,version:e.version}}}function eQ(t,e,n,r){var a,i=null==(a=t.sdkProcessingMetadata)?void 0:a.dynamicSamplingContext;return(0,h._)({event_id:t.event_id,sent_at:new Date(K()).toISOString()},e&&{sdk:e},!!n&&r&&{dsn:ei(r)},i&&{trace:i})}function eZ(t,e){var n=eJ(t[0]),r=null==e?void 0:e.getDsn(),a=null==e?void 0:e.getOptions().tunnel,i=(0,h._)({sent_at:new Date(K()).toISOString()},!!n.trace_id&&!!n.public_key&&{trace:n},!!a&&r&&{dsn:ei(r)}),o=(null==e?void 0:e.getOptions())||{},s=o.beforeSendSpan,c=o.ignoreSpans,u=(null==c?void 0:c.length)?t.filter(function(t){var e=eS(t);return!tQ({description:e.description,op:e.op,attributes:e.data},c)}):t,p=t.length-u.length;p&&(null==e||e.recordDroppedEvent("before_send","span",p));var l=s?function(t){var e=eS(t),n=eK(s)?e:s(e);return n||(eM(),e)}:eS,d=[],f=!0,_=!1,v=void 0;try{for(var g,m=u[Symbol.iterator]();!(f=(g=m.next()).done);f=!0){var S=g.value,y=l(S);y&&d.push(eq(y))}}catch(t){_=!0,v=t}finally{try{f||null==m.return||m.return()}finally{if(_)throw v}}return eH(i,d)}function e0(t){if(t&&0!==t.length){var e={};return t.forEach(function(t){var n=t.attributes||{},r=n[tB],a=n[tY];"string"==typeof r&&"number"==typeof a&&(e[t.name]={value:a,unit:r})}),e}}function e1(){return p(u()).segmentSpanCaptureStrategy}t.s(["addItemToEnvelope",0,function(t,e){var n=(0,o._)(t,2),r=n[0],a=n[1];return[r,(0,m._)(a).concat([e])]},"createAttachmentEnvelopeItem",0,function(t){var e="string"==typeof t.data?eV(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,eH,"createEventEnvelopeHeaders",0,eQ,"createSpanEnvelopeItem",0,eq,"envelopeContainsItemType",0,function(t,e){return eW(t,function(t,n){return e.includes(n)})},"envelopeItemTypeToDataCategory",0,function(t){return t in eX?eX[t]:t},"forEachEnvelopeItem",0,eW,"getSdkMetadataForEnvelopeHeader",0,e$,"serializeEnvelope",0,function(t){var e=(0,o._)(t,2),n=e[0],r=e[1],a=JSON.stringify(n);function i(t){"string"==typeof a?a="string"==typeof t?a+t:[eV(a),t]:a.push("string"==typeof t?eV(t):t)}var s=!0,c=!1,u=void 0;try{for(var p,l=r[Symbol.iterator]();!(s=(p=l.next()).done);s=!0){var d=p.value,f=(0,o._)(d,2),_=f[0],h=f[1];if(i("\n".concat(JSON.stringify(_),"\n")),"string"==typeof h||(0,v._)(h,Uint8Array))i(h);else{var g=void 0;try{g=JSON.stringify(h)}catch(t){g=JSON.stringify(tt(h))}i(g)}}}catch(t){c=!0,u=t}finally{try{s||null==l.return||l.return()}finally{if(c)throw u}}return"string"==typeof a?a:function(t){var e=new Uint8Array(t.reduce(function(t,e){return t+e.length},0)),n=0,r=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;e.set(c,n),n+=c.length}}catch(t){a=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return e}(a)}],67486),t.s(["createEventEnvelope",0,function(t,e,n,r){var a=e$(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(e){var n,r,a,i,o=t.sdk||{};t.sdk=(0,g._)((0,h._)({},o),{name:o.name||e.name,version:o.version||e.version,integrations:(0,m._)((null==(n=t.sdk)?void 0:n.integrations)||[]).concat((0,m._)(e.integrations||[])),packages:(0,m._)((null==(r=t.sdk)?void 0:r.packages)||[]).concat((0,m._)(e.packages||[])),settings:(null==(a=t.sdk)?void 0:a.settings)||e.settings?(0,h._)({}
2,null==(i=t.sdk)?void 0:i.settings,e.settings):void 0})}}(t,null==n?void 0:n.sdk);var o=eQ(t,a,r,e);return delete t.sdkProcessingMetadata,eH(o,[[{type:i},t]])},"createSessionEnvelope",0,function(t,e,n,r){var a=e$(n);return eH((0,h._)({sent_at:new Date(K()).toISOString()},a&&{sdk:a},!!r&&e&&{dsn:ei(e)}),["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,eZ],869766),t.s(["setMeasurement",0,function(t,e,n){var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:eP(),i=a&&eO(a);i&&(S&&A.log("[Measurement] Setting measurement on root span: ".concat(t," = ").concat(e," ").concat(n)),i.addEvent(t,(r={},(0,_._)(r,tY,e),(0,_._)(r,tB,n),r)))},"timedEventsToMeasurements",0,e0],804478);var e2=function(){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,d._)(this,t),this._traceId=n.traceId||tl(),this._spanId=n.spanId||td(),this._startTime=n.startTimestamp||ts(),this._links=n.links,this._attributes={},this.setAttributes((0,h._)((e={},(0,_._)(e,tj,"manual"),(0,_._)(e,tL,n.op),e),n.attributes)),this._name=n.name,n.parentSpanId&&(this._parentSpanId=n.parentSpanId),"sampled"in n&&(this._sampled=n.sampled),n.endTimestamp&&(this._endTime=n.endTimestamp),this._events=[],this._isStandaloneSpan=n.isStandalone,this._endTime&&this._onSpanEnded()}return(0,f._)(t,[{key:"addLink",value:function(t){return this._frozen||(this._links?this._links.push(t):this._links=[t]),this}},{key:"addLinks",value:function(t){if(this._frozen)return this;if(this._links){var e;(e=this._links).push.apply(e,(0,m._)(t))}else this._links=t;return this}},{key:"recordException",value:function(t,e){}},{key:"spanContext",value:function(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:+!!this._sampled}}},{key:"setAttribute",value:function(t,e){return this._frozen||(void 0===e?delete this._attributes[t]:this._attributes[t]=e,t===tM&&void 0!==e&&et(this)&&ee(this)),this}},{key:"setAttributes",value:function(t){var e=this;return Object.keys(t).forEach(function(n){return e.setAttribute(n,t[n])}),this}},{key:"updateStartTime",value:function(t){this._frozen||(this._startTime=eg(t))}},{key:"setStatus",value:function(t){return this._frozen||(this._status=t),this}},{key:"updateName",value:function(t){return this._frozen||(this._name=t,et(this)||this.setAttribute(tM,"custom")),this}},{key:"end",value:function(t){if(this._endTime){this._frozen=en(this);return}this._endTime=eg(t),function(t){if(S){var e=eS(t),n=e.description,r=e.op,a=t.spanContext().spanId,i=eO(t)===t,o='[Tracing] Finishing "'.concat(void 0===r?"< unknown op >":r,'" ').concat(i?"root ":"",'span "').concat(void 0===n?"< unknown name >":n,'" with ID ').concat(a);A.log(o)}}(this),this._onSpanEnded(),this._frozen=en(this)}},{key:"getSpanJSON",value:function(){return{data:this._attributes,description:this._name,op:this._attributes[tL],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:eI(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tj],profile_id:this._attributes[tG],exclusive_time:this._attributes[tJ],measurements:e0(this._events),is_segment:this._isStandaloneSpan&&eO(this)===this||void 0,segment_id:this._isStandaloneSpan?eO(this).spanContext().spanId:void 0,links:ev(this._links)}}},{key:"getStreamedSpanJSON",value:function(){var t,e;return{name:null!=(t=this._name)?t:"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:null!=(e=this._endTime)?e:this._startTime,is_segment:this._isStandaloneSpan||this===eO(this),status:ek(this._status),attributes:eA(this._attributes,this._status),links:eh(this._links)}}},{key:"isRecording",value:function(){return!this._endTime&&!!this._sampled}},{key:"addEvent",value:function(t,e,n){if(this._frozen)return this;S&&A.log("[Tracing] Adding an event to span:",t);var r=e3(e)?e:n||ts(),a=e3(e)?{}:e||{},i={name:t,time:eg(r),attributes:a};return this._events.push(i),this}},{key:"isStandaloneSpan",value:function(){return!!this._isStandaloneSpan}},{key:"_onSpanEnded",value:function(){var t=this,e=tP();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));var n=eO(this),r=this._isStandaloneSpan||this===n;if(this._isStandaloneSpan)return void(this._sampled?function(t){var e=tP();if(e){var n=t[1];
2if(!n||0===n.length)return e.recordDroppedEvent("before_send","span");e.sendEnvelope(t)}}(eZ([this],e)):(S&&A.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(!r){var a=e1();if(a){var i=t7(this).scope||tR();a.onChildSpanEnded(this,n,function(e){return t._convertSpanToTransaction(e)},i)}return}if(e&&tZ(e))return void e.emit("afterSegmentSpanEnd",this);var o=t7(this).scope||tR(),s=e1();if(s)s.onSegmentSpanEnded(function(e){return t._convertSpanToTransaction(e)},o);else{var c=this._convertSpanToTransaction();c&&o.captureEvent(c)}}},{key:"_convertSpanToTransaction",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e4(eS(this))){this._name||(S&&A.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");var e=t7(this),n=e.scope,r=e.isolationScope,a=null==n||null==(u=n.getScopeData().sdkProcessingMetadata)?void 0:u.normalizedRequest;if(!0===this._sampled){null==(p=t.onSpanCaptured)||p.call(t,this);var i=[],o=!0,s=!1,c=void 0;try{for(var u,p,l,d=eC(this)[Symbol.iterator]();!(o=(l=d.next()).done);o=!0){var f,_,g,m=l.value;if(!(m===this||(f=m,(0,v._)(f,e2)&&f.isStandaloneSpan())||(null==(_=t.isSpanAlreadyCaptured)?void 0:_.call(t,m)))){var y=eS(m);e4(y)&&(null==(g=t.onSpanCaptured)||g.call(t,m),i.push(y))}}}catch(t){s=!0,c=t}finally{try{o||null==d.return||d.return()}finally{if(s)throw c}}var b=this._attributes[tM];delete this._attributes[tz];var T=!1;i.forEach(function(t){var e;delete t.data[tz],(null==(e=t.op)?void 0:e.startsWith("gen_ai."))&&(T=!0)});var E=(0,h._)({contexts:{trace:ef(this)},spans:i.length>1e3?i.sort(function(t,e){return t.start_timestamp-e.start_timestamp}).slice(0,1e3):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:n,capturedSpanIsolationScope:r,dynamicSamplingContext:eJ(this),hasGenAiSpans:T},request:a},b&&{transaction_info:{source:b}}),I=e0(this._events);return I&&Object.keys(I).length&&(S&&A.log("[Measurements] Adding measurements to transaction event",JSON.stringify(I,void 0,2)),E.measurements=I),E}}}}]),t}();function e3(t){return t&&"number"==typeof t||(0,v._)(t,Date)||Array.isArray(t)}function e4(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}t.s(["SentrySpan",0,e2],14177);var e5="__SENTRY_SUPPRESS_TRACING__";function e6(t,e){var n=ne();return n.withActiveSpan?n.withActiveSpan(t,e):tw(function(n){return th(n,t||void 0),e(n)})}function e9(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tR(),e=ne();return e.isTracingSuppressed?e.isTracingSuppressed(t):!0===t.getScopeData().sdkProcessingMetadata[e5]}function e8(t,e){null==e||e.recordDroppedEvent("no_parent_span","span");var n=new ej({traceId:t.getPropagationContext().traceId});return t8(n,t,tC()),n}function e7(t){var e,n,r,a,i,o,s,c,u,p,l,d,f=t.parentSpan,_=t.spanArguments,v=t.forceTransaction,m=t.scope,y=tC();if(!tX()){var b=(0,h._)({},y.getPropagationContext(),m.getPropagationContext()),T=new ej({traceId:f?f.spanContext().traceId:b.traceId});return f&&!v&&eR(f,T),t8(T,m,y),T}var E=tP();if(I=E,k=_,N=null==I?void 0:I.getOptions().ignoreSpans,I&&tZ(I)&&(null==N?void 0:N.length)&&tQ({description:k.name||"",op:(null==(x=k.attributes)?void 0:x[tL])||k.op,attributes:k.attributes},N)){e9(m)||null==E||E.recordDroppedEvent("ignored","span");var I,k,x,N,R,C=new ej({dropReason:"ignored",traceId:null!=(R=null==f?void 0:f.spanContext().traceId)?R:m.getPropagationContext().traceId});return t8(C,m,y),C}if(f&&!v){e=f,n=m,r=_,a=y,o=(i=e.spanContext()).spanId,s=i.traceId,p=(u=!(c=e9(n))&&eE(e))?new e2((0,g._)((0,h._)({},r),{parentSpanId:o,traceId:s,sampled:u})):new ej({traceId:s}),eR(e,p),t8(p,n,a),(l=tP())&&(tZ(l)&&eF(p)&&(eF(e)&&e.dropReason?(p.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,"span")):c||(p.dropReason="sample_rate",l.recordDroppedEvent("sample_rate","span"))),l.emit("spanStart",p),r.endTimestamp&&(l.emit("spanEnd",p),l.emit("afterSpanEnd",p))),eR(f,d=
2p)}else if(f){var O=eJ(f),w=f.spanContext(),P=w.traceId,M=w.spanId,D=eE(f);eY(d=nn((0,h._)({traceId:P,parentSpanId:M},_),m,y,D),O)}else{var U=(0,h._)({},y.getPropagationContext(),m.getPropagationContext()),L=U.traceId,j=U.dsc,F=U.parentSpanId,B=U.sampled;d=nn((0,h._)({traceId:L,parentSpanId:F},_),m,y,B),j&&eY(d,j)}return!function(t){if(S){var e=eS(t),n=e.description,r=e.op,a=e.parent_span_id,i=t.spanContext().spanId,o=eE(t),s=eO(t),c=s===t,u="[Tracing] Starting ".concat(o?"sampled":"unsampled"," ").concat(c?"root ":"","span"),p=["op: ".concat(void 0===r?"< unknown op >":r),"name: ".concat(void 0===n?"< unknown name >":n),"ID: ".concat(i)];if(a&&p.push("parent ID: ".concat(a)),!c){var l=eS(s),d=l.op,f=l.description;p.push("root ID: ".concat(s.spanContext().spanId)),d&&p.push("root op: ".concat(d)),f&&p.push("root description: ".concat(f))}A.log("".concat(u,"\n ").concat(p.join("\n ")))}}(d),d}function nt(t){var e=t.experimental||{},n=(0,h._)({isStandalone:e.standalone},t);if(t.startTime){var r=(0,h._)({},n);return r.startTimestamp=eg(t.startTime),delete r.startTime,r}return n}function ne(){return tN(u())}function nn(t,e,n,r){var a,i,s,c=tP(),u=(null==c?void 0:c.getOptions())||{},p=t.name,l=void 0===p?"":p,d={spanAttributes:(0,h._)({},t.attributes),spanName:l,parentSampled:r};null==c||c.emit("beforeSampling",d,{decision:!1});var f=null!=(a=d.parentSampled)?a:r,v=d.spanAttributes,m=e.getPropagationContext(),b=e9(e),T=(0,o._)(b?[!1]:function(t,e,n){if(!tX(t))return[!1];var r,a=void 0;"function"==typeof t.tracesSampler?(r=t.tracesSampler((0,g._)((0,h._)({},e),{inheritOrSampleWith:function(t){return"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}})),a=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,a=!0);var i=t0(r);if(void 0===i)return S&&A.warn("[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(r)," of type ").concat(JSON.stringify(void 0===r?"undefined":(0,y._)(r)),".")),[!1];if(!i)return S&&A.log("[Tracing] Discarding transaction because ".concat("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,i,a];var o=n<i;return!o&&S&&A.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),[o,i,a]}(u,{name:l,parentSampled:f,attributes:v,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:t0(null==(i=m.dsc)?void 0:i.sample_rate)},m.sampleRand),3),E=T[0],I=T[1],k=T[2],x=new e2((0,g._)((0,h._)({},t),{attributes:(0,h._)((s={},(0,_._)(s,tM,"custom"),(0,_._)(s,tD,void 0!==I&&k?I:void 0),s),v),sampled:E}));return E||!c||b||(S&&A.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),c.recordDroppedEvent("sample_rate",tZ(c)?"span":"transaction")),t8(x,e,n),c&&c.emit("spanStart",x),x}function nr(t,e){if(e)return e;if(null!==e){var n=tg(t);if(n){var r=tP();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?eO(n):n}}}function na(t){return void 0!==t?function(e){return e6(t,e)}:function(t){return t()}}function ni(t){return eF(t)&&"ignored"===t.dropReason}function no(t,e){var n=e.extra,r=e.tags,a=e.attributes,i=e.user,o=e.contexts,s=e.level,c=e.sdkProcessingMetadata,u=e.breadcrumbs,p=e.fingerprint,l=e.eventProcessors,d=e.attachments,f=e.propagationContext,_=e.transactionName,v=e.span;ns(t,"extra",n),ns(t,"tags",r),ns(t,"attributes",a),ns(t,"user",i),ns(t,"contexts",o),t.sdkProcessingMetadata=tp(t.sdkProcessingMetadata,c,2),s&&(t.level=s),_&&(t.transactionName=_),v&&(t.span=v),u.length&&(t.breadcrumbs=(0,m._)(t.breadcrumbs).concat((0,m._)(u))),p.length&&(t.fingerprint=(0,m._)(t.fingerprint).concat((0,m._)(p))),l.length&&(t.eventProcessors=(0,m._)(t.eventProcessors).concat((0,m._)(l))),d.length&&(t.attachments=(0,m._)(t.attachments).concat((0,m._)(d))),t.propagationContext=(0,h._)({},t.propagationContext,f)}function ns(t,e,n){t[e]=tp(t[e],n,1)}t.s(["startInactiveSpan",0,function(t){var e,n,r,a,i=ne();return i.startInactiveSpan?i.startInactiveSpan(t):(n=nt(e=t),r=e.forceTransaction,a=e.parentSpan,(e.scope?function(t){return tw(e.scope,t)}:void 0!==a?function(t){return e6(a,t)}:function(t){return t()})(function(){var t=tR(),i=nr(t,a),o=tP();return e.onlyIfParent&&!i?e8(t,o):e7({parentSpan:i,spanArguments:n,forceTransaction:r,scope:t})}))},"startNewTrace",0,function(t){var e=ne();return e.startNewTrace?e.startNewTrace(t):tw(function(e){return e.setPropagationContext({traceId:tl(),sampleRand:J()}
2),S&&A.log("Starting a new trace with id ".concat(e.getPropagationContext().traceId)),e6(null,t)})},"startSpan",0,function(t,e){var n=ne();if(n.startSpan)return n.startSpan(t,e);var r=nt(t),a=t.forceTransaction,i=t.parentSpan,o=t.scope;return tw(null==o?void 0:o.clone(),function(){return na(i)(function(){var n=tR(),o=nr(n,i),s=tP(),c=t.onlyIfParent&&!o?e8(n,s):e7({parentSpan:o,spanArguments:r,forceTransaction:a,scope:n});return ni(c)&&o||th(n,c),tq(function(){return e(c)},function(){var t=eS(c).status;c.isRecording()&&(!t||"ok"===t)&&c.setStatus({code:2,message:"internal_error"})},function(){c.end()})})})},"startSpanManual",0,function(t,e){var n=ne();if(n.startSpanManual)return n.startSpanManual(t,e);var r=nt(t),a=t.forceTransaction,i=t.parentSpan,o=t.scope;return tw(null==o?void 0:o.clone(),function(){return na(i)(function(){var n=tR(),o=nr(n,i),s=t.onlyIfParent&&!o?e8(n,tP()):e7({parentSpan:o,spanArguments:r,forceTransaction:a,scope:n});return ni(s)&&o||th(n,s),tq(function(){return e(s,function(){return s.end()})},function(){var t=eS(s).status;s.isRecording()&&(!t||"ok"===t)&&s.setStatus({code:2,message:"internal_error"})})})})},"suppressTracing",0,function(t){var e=ne();return e.suppressTracing?e.suppressTracing(t):tw(function(e){e.setSDKProcessingMetadata((0,_._)({},e5,!0));var n=t();return e.setSDKProcessingMetadata((0,_._)({},e5,void 0)),n})},"withActiveSpan",0,e6],541193),t.s(["applyScopeDataToEvent",0,function(t,e){var n,r,a,i,o,s,c,u,p,l,d,f,_,v,g,S,y,b,T=e.fingerprint,E=e.span,I=e.breadcrumbs,k=e.sdkProcessingMetadata;n=t,a=(r=e).extra,i=r.tags,o=r.user,s=r.contexts,c=r.level,u=r.transactionName,Object.keys(a).length&&(n.extra=(0,h._)({},a,n.extra)),Object.keys(i).length&&(n.tags=(0,h._)({},i,n.tags)),Object.keys(o).length&&(n.user=(0,h._)({},o,n.user)),Object.keys(s).length&&(n.contexts=(0,h._)({},s,n.contexts)),c&&(n.level=c),u&&"transaction"!==n.type&&(n.transaction=u),E&&(p=t,l=E,p.contexts=(0,h._)({trace:e_(l)},p.contexts),p.sdkProcessingMetadata=(0,h._)({dynamicSamplingContext:eJ(l)},p.sdkProcessingMetadata),(d=eS(eO(l)).description)&&!p.transaction&&"transaction"===p.type&&(p.transaction=d)),f=t,_=T,f.fingerprint=f.fingerprint?Array.isArray(f.fingerprint)?f.fingerprint:[f.fingerprint]:[],_&&(f.fingerprint=f.fingerprint.concat(_)),f.fingerprint.length||delete f.fingerprint,v=t,g=I,S=(0,m._)(v.breadcrumbs||[]).concat((0,m._)(g)),v.breadcrumbs=S.length?S:void 0,y=t,b=k,y.sdkProcessingMetadata=(0,h._)({},y.sdkProcessingMetadata,b)},"getCombinedScopeData",0,function(t,e){var n=tO().getScopeData();return t&&no(n,t.getScopeData()),e&&no(n,e.getScopeData()),n}],571993)}]); 3 4//# debugId=bbe3926c-7b92-aa45-3260-285f38f0587d
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.