PageSourceSearch

https://farminsta.com/_next/static/chunks/1272d13677ee73aa.js

js farminsta.com collected 2026-10-02 00:49:11 UTC 59,832 bytes, 7 lines download raw bytes

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

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.