PageSourceSearch

https://www.optimsy.com/_next/static/chunks/57c10c135003d3a0.js?dpl=dpl_9teUzSi3Z9Jc8bPPnjvGD417JQYm

js optimsy.com collected 2026-09-24 14:16:50 UTC 56,022 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a803f6cc-22cd-5509-82b2-c8b8a4c59320")}catch(e){}}();
3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,519988,t=>{"use strict";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",()=>h,"SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",()=>p,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",()=>d,"SEMANTIC_ATTRIBUTE_PROFILE_ID",()=>l,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",()=>u,"SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",()=>s,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",()=>o,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",()=>c,"SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>i,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>a,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",()=>r,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>n,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>e,"SEMANTIC_ATTRIBUTE_URL_FULL",()=>_,"SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",()=>f]);let e="sentry.source",n="sentry.sample_rate",r="sentry.previous_trace_sample_rate",i="sentry.op",a="sentry.origin",s="sentry.idle_span_finish_reason",o="sentry.measurement_unit",c="sentry.measurement_value",u="sentry.custom_span_name",l="sentry.profile_id",p="sentry.exclusive_time",d="http.request.method",_="url.full",f="sentry.link.type",h="gen_ai.conversation.id"},225304,t=>{"use strict";t.s(["GLOBAL_OBJ",()=>e]);let e=globalThis},111139,t=>{"use strict";let e;t.s(["safeDateNow",()=>a,"safeMathRandom",()=>i,"withRandomSafeContext",()=>r]);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 a(){return r(()=>Date.now())}},605394,t=>{"use strict";let e;t.s(["browserPerformanceTimeOrigin",()=>o,"dateTimestampInSeconds",()=>i,"timestampInSeconds",()=>a]);var n=t.i(111139),r=t.i(225304);function i(){return(0,n.safeDateNow)()/1e3}function a(){return(null!=e?e:e=function(){let{performance:t}=r.GLOBAL_OBJ;if(!(null==t?void 0:t.now)||!t.timeOrigin)return i;let e=t.timeOrigin;return()=>(e+(0,n.withRandomSafeContext)(()=>t.now()))/1e3}())()}let s=null;function o(){return null===s&&(s=function(){var t;let{performance:e}=r.GLOBAL_OBJ;if(!(null==e?void 0:e.now))return;let i=(0,n.withRandomSafeContext)(()=>e.now()),a=(0,n.safeDateNow)(),s=e.timeOrigin;if("number"==typeof s&&3e5>Math.abs(s+i-a))return s;let o=null==(t=e.timing)?void 0:t.navigationStart;return"number"==typeof o&&3e5>Math.abs(o+i-a)?o:a-i}()),s}},901020,t=>{"use strict";t.s(["DEBUG_BUILD",()=>e]);let e="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},303798,453288,t=>{"use strict";t.s(["getComponentName",()=>y,"getLocationHref",()=>v,"htmlTreeAsString",()=>T],303798),t.s(["isDOMError",()=>a,"isDOMException",()=>s,"isElement",()=>d,"isError",()=>n,"isErrorEvent",()=>i,"isEvent",()=>p,"isInstanceOf",()=>g,"isParameterizedString",()=>c,"isPlainObject",()=>l,"isPrimitive",()=>u,"isRegExp",()=>_,"isRequest",()=>S,"isString",()=>o,"isSyntheticEvent",()=>h,"isThenable",()=>f,"isVueViewModel",()=>m],453288);let e=Object.prototype.toString;function n(t){switch(e.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return g(t,Error)}}function r(t,n){return e.call(t)==="[object ".concat(n,"]")}function i(t){return r(t,"ErrorEvent")}function a(t){return r(t,"DOMError")}function s(t){return r(t,"DOMException")}function o(t){return r(t,"String")}function c(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function u(t){return null===t||c(t)||"object"!=typeof t&&"function"!=typeof t}function l(t){return r(t,"Object")}function p(t){return"undefined"!=typeof Event&&g(t,Event)}function d(t){return"undefined"!=typeof Element&&g(t,Element)}function _(t){return r(t,"RegExp")}function f(t){return!!((null==t?void 0:t.then)&&"function"==typeof t.then)}function h(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function g(t,e){try{return t instanceof e}catch(t){return!1}}function m(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue||t.__v_isVNode))}function S(t){return"undefined"!=typeof Request&&g(t,Request)}let E=t.i(225304).GLOBAL_OBJ;function T(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return"<unknown>";try{let n,r=t,i=[],a=0,s=0,c=Array.isArray(e)?e:e.keyAttrs,u=!Array.isArray(e)&&e.maxStringLength||80;for(;r&&a++<5&&(n=function(t,e){let n=[];if(!(null==t?void 0:t.tagName))return"";if(E.HTMLElement&&t instanceof HTMLElement&&t.dataset){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}n.push(t.tagName.toLowerCase());let r=(null==e?void 0:e.length)?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(null==r?void 0:r.length)r.forEach(t=>{n.push("[".concat(t[0],'="').concat(t[1],'"]'))});else{t.id&&n.push("#".concat(t.id));let e=t.className;if(e&&o(e))for(let t of e.split(/\s+/))n.push(".".concat(t))}for(let e of["aria-label","type","name","title","alt"]){let r=t.getAttribute(e);r&&n.push("[".concat(e,'="').concat(r,'"]'))}return n.join("")}(r,c),"html"!==n&&(!(a>1)||!(s+3*i.length+n.length>=u)));)i.push(n),s+=n.length,r=r.parentNode;return i.reverse().join(" > ")}catch(t){return"<unknown>"}}function v(){try{return E.document.location.href}catch(t){return""}}function y(t){if(!E.HTMLElement)return null;let e=t;for(let t=0;t<5&&e;t++){if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}},591401,t=>{"use strict";t.s(["SDK_VERSION",()=>e]);let e="10.39.0"},923288,t=>{"use strict";t.s(["getGlobalSingleton",()=>a,"getMainCarrier",()=>r,"getSentryCarrier",()=>i]);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 a(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.GLOBAL_OBJ,a=i.__SENTRY__=i.__SENTRY__||{},s=a[e.SDK_VERSION]=a[e.SDK_VERSION]||{};return s[t]||(s[t]=r())}},272598,t=>{"use strict";t.s(["CONSOLE_LEVELS",()=>i,"consoleSandbox",()=>s,"debug",()=>l,"originalConsoleMethods",()=>a]);
3var e=t.i(923288),n=t.i(901020),r=t.i(225304);let i=["debug","info","warn","error","log","assert","trace"],a={};function s(t){if(!("console"in r.GLOBAL_OBJ))return t();let e=r.GLOBAL_OBJ.console,n={},i=Object.keys(a);i.forEach(t=>{let r=a[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){for(var e=arguments.length,i=Array(e>1?e-1:0),a=1;a<e;a++)i[a-1]=arguments[a];n.DEBUG_BUILD&&o()&&s(()=>{r.GLOBAL_OBJ.console[t]("".concat("Sentry Logger ","[").concat(t,"]:"),...i)})}function u(){return n.DEBUG_BUILD?(0,e.getGlobalSingleton)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let l={enable:function(){u().enabled=!0},disable:function(){u().enabled=!1},isEnabled:o,log:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c("log",...e)},warn:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c("warn",...e)},error:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c("error",...e)}}},951497,t=>{"use strict";t.s(["addNonEnumerableProperty",()=>s,"convertToPlainObject",()=>u,"extractExceptionKeysForMessage",()=>d,"fill",()=>a,"getOriginalFunction",()=>c,"markFunctionWrapped",()=>o]);var e=t.i(901020),n=t.i(303798),r=t.i(272598),i=t.i(453288);function a(t,n,i){if(!(n in t))return;let a=t[n];if("function"!=typeof a)return;let s=i(a);"function"==typeof s&&o(s,a);try{t[n]=s}catch(i){e.DEBUG_BUILD&&r.debug.log('Failed to replace method "'.concat(n,'" in object'),t)}}function s(t,n,i){try{Object.defineProperty(t,n,{value:i,writable:!0,configurable:!0})}catch(i){e.DEBUG_BUILD&&r.debug.log('Failed to add non-enumerable property "'.concat(n,'" to object'),t)}}function o(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,s(t,"__sentry_original__",e)}catch(t){}}function c(t){return t.__sentry_original__}function u(t){if((0,i.isError)(t))return{message:t.message,name:t.name,stack:t.stack,...p(t)};if(!(0,i.isEvent)(t))return t;{let e={type:t.type,target:l(t.target),currentTarget:l(t.currentTarget),...p(t)};return"undefined"!=typeof CustomEvent&&(0,i.isInstanceOf)(t,CustomEvent)&&(e.detail=t.detail),e}}function l(t){try{return(0,i.isElement)(t)?(0,n.htmlTreeAsString)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function p(t){if("object"!=typeof t||null===t)return{};{let e={};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}}function d(t){let e=Object.keys(u(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}},682564,936032,821593,t=>{"use strict";let e;t.s(["addContextToFrame",()=>R,"addExceptionMechanism",()=>N,"addExceptionTypeValue",()=>A,"checkOrSetAlreadyCaught",()=>C,"getEventDescription",()=>b,"uuid4",()=>y],682564);var n=t.i(951497),r=t.i(111139);t.s(["isMatchingPattern",()=>E,"safeJoin",()=>S,"snipLine",()=>m,"stringMatchesSomePattern",()=>T,"truncate",()=>g],821593);var i=t.i(453288);t.s(["UNKNOWN_FUNCTION",()=>a,"createStackParser",()=>c,"getFramesFromEvent",()=>_,"getFunctionName",()=>d,"getVueInternalName",()=>f,"normalizeStackTracePath",()=>h,"stackParserFromStackParserOptions",()=>u],936032);let a="?",s=/\(error: (.*)\)/,o=/captureMessage|captureException/;function c(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=e.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=[],c=t.split("\n");for(let t=e;t<c.length;t++){let e=c[t];e.length>1024&&(e=e.slice(0,1024));let a=s.test(e)?e.replace(s,"$1"):e;if(!a.match(/\S*Error: /)){for(let t of r){let e=t(a);if(e){i.push(e);break}}if(i.length>=50+n)break}}var u=i.slice(n);if(!u.length)return[];let p=Array.from(u);return/sentryWrapped/.test(l(p).function||"")&&p.pop(),p.reverse(),o.test(l(p).function||"")&&(p.pop(),o.test(l(p).function||"")&&p.pop()),p.slice(0,50).map(t=>({...t,filename:t.filename||l(p).filename,function:t.function||a}))}}function u(t){return Array.isArray(t)?c(...t):t}function l(t){return t[t.length-1]||{}}let p="<anonymous>";function d(t){try{if(!t||"function"!=typeof t)return p;return t.name||p}catch(t){return p}}function _(t){let e=t.exception;if(e){let t=[];
3try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch(t){}}}function f(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function h(t){let 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}function g(t){let 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 m(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 a=Math.min(i+140,r);return a>r-5&&(a=r),a===r&&(i=Math.max(a-140,0)),n=n.slice(i,a),i>0&&(n="'{snip} ".concat(n)),a<r&&(n+=" {snip}"),n}function S(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];try{(0,i.isVueViewModel)(r)?n.push(f(r)):n.push(String(r))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function E(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!(0,i.isString)(t)&&((0,i.isRegExp)(e)?e.test(t):!!(0,i.isString)(e)&&(n?t===e:t.includes(e)))}function T(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.some(e=>E(t,e,n))}var v=t.i(225304);function y(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){let t=v.GLOBAL_OBJ;return t.crypto||t.msCrypto}();try{if(null==t?void 0:t.randomUUID)return(0,r.withRandomSafeContext)(()=>t.randomUUID()).replace(/-/g,"")}catch(t){}return e||(e="10000000100040008000100000000000"),e.replace(/[018]/g,t=>(t^(15&16*(0,r.safeMathRandom)())>>t/4).toString(16))}function I(t){var e,n;return null==(n=t.exception)||null==(e=n.values)?void 0:e[0]}function b(t){let{message:e,event_id:n}=t;if(e)return e;let r=I(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function A(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=e||""),a.type||(a.type=n||"Error")}function N(t,e){let n=I(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...null==r?void 0:r.data,...e.data};n.mechanism.data=t}}function R(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;if(void 0===e.lineno)return;let r=t.length,i=Math.max(Math.min(r-1,e.lineno-1),0);e.pre_context=t.slice(Math.max(0,i-n),i).map(t=>m(t,0)),e.context_line=m(t[Math.min(r-1,i)],e.colno||0),e.post_context=t.slice(Math.min(i+1,r),i+1+n).map(t=>m(t,0))}function C(t){if(function(t){try{return t.__sentry_captured__}catch(t){}}(t))return!0;try{(0,n.addNonEnumerableProperty)(t,"__sentry_captured__",!0)}catch(t){}return!1}},250804,341041,318746,373382,821061,994218,301263,t=>{"use strict";t.s(["getClient",()=>x,"getCurrentScope",()=>N,"getGlobalScope",()=>C,"getIsolationScope",()=>R,"getTraceContextFromScope",()=>D,"withIsolationScope",()=>M,"withScope",()=>O],250804),t.s(["getAsyncContextStrategy",()=>A],301263);var e=t.i(923288);t.s(["Scope",()=>E],994218);var n=t.i(901020);t.s(["closeSession",()=>o,"makeSession",()=>a,"updateSession",()=>s],341041);var r=t.i(682564),i=t.i(605394);function a(t){let e=(0,i.timestampInSeconds)(),n={sid:(0,r.uuid4)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{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&&s(n,t),n}function s(t){let 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||(0,i.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,r.uuid4)()),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{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 o(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),s(t,n)}var c=t.i(272598),u=t.i(453288);function l(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]: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]=l(r[t],e[t],n-1));return r}function p(){return(0,r.uuid4)()}function d(){return(0,r.uuid4)().substring(16)}t.s(["merge",()=>l],318746),t.s(["generateSpanId",()=>d,"generateTraceId",()=>p],373382);var _=t.i(111139);t.s(["_getSpanForScope",()=>m,"_setSpanForScope",()=>g],821061);var f=t.i(951497);let h="_sentrySpan";function g(t,e){e?(0,f.addNonEnumerableProperty)(t,h,e):delete t[h]}function m(t){return t[h]}var S=t.i(821593);class E{clone(){let t=new E;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,g(t,this[h]),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&&s(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:a,contexts:s,level:o,fingerprint:c=[],propagationContext:l,conversationId:p}=(e instanceof E?e.getScopeData():(0,u.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,...s},a&&Object.keys(a).length&&(this._user=a),o&&(this._level=o),c.length&&(this._fingerprint=c),l&&(this._propagationContext=l),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,g(this,void 0),this._attachments=[],this.setPropagationContext({traceId:p(),sampleRand:(0,_.safeMathRandom)()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:(0,i.dateTimestampInSeconds)(),...t,message:t.message?(0,S.truncate)(t.message,2048):t.message};if(this._breadcrumbs.push(r),this._breadcrumbs.length>n){var a;this._breadcrumbs=this._breadcrumbs.slice(-n),null==(a=this._client)||a.recordDroppedEvent("buffer_overflow","log_item")}return 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:this[h],conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=l(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let i=(null==e?void 0:e.event_id)||(0,r.uuid4)();if(!this._client)return n.DEBUG_BUILD&&c.debug.warn("No client configured on scope - will not capture exception!"),i;let a=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:a,...e,event_id:i},this),i}captureMessage(t,e,i){var a;let s=(null==i?void 0:i.event_id)||(0,r.uuid4)();if(!this._client)return n.DEBUG_BUILD&&c.debug.warn("No client configured on scope - will not capture message!"),s;let o=null!=(a=null==i?void 0:i.syntheticException)?a:Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:o,...i,event_id:s},this),s}
3captureEvent(t,e){let i=t.event_id||(null==e?void 0:e.event_id)||(0,r.uuid4)();return this._client?this._client.captureEvent(t,{...e,event_id:i},this):n.DEBUG_BUILD&&c.debug.warn("No client configured on scope - will not capture event!"),i}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}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:p(),sampleRand:(0,_.safeMathRandom)()}}}class T{withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return(0,u.isThenable)(e)?e.then(t=>(this._popScope(),t),t=>{throw this._popScope(),t}):(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()}constructor(t,e){let n,r;
3n=t||new E,r=e||new E,this._stack=[{scope:n}],this._isolationScope=r}}function v(){let t=(0,e.getMainCarrier)(),n=(0,e.getSentryCarrier)(t);return n.stack=n.stack||new T((0,e.getGlobalSingleton)("defaultCurrentScope",()=>new E),(0,e.getGlobalSingleton)("defaultIsolationScope",()=>new E))}function y(t){return v().withScope(t)}function I(t,e){let n=v();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function b(t){return v().withScope(()=>t(v().getIsolationScope()))}function A(t){let n=(0,e.getSentryCarrier)(t);return n.acs?n.acs:{withIsolationScope:b,withScope:y,withSetScope:I,withSetIsolationScope:(t,e)=>b(e),getCurrentScope:()=>v().getScope(),getIsolationScope:()=>v().getIsolationScope()}}function N(){return A((0,e.getMainCarrier)()).getCurrentScope()}function R(){return A((0,e.getMainCarrier)()).getIsolationScope()}function C(){return(0,e.getGlobalSingleton)("globalScope",()=>new E)}function O(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=A((0,e.getMainCarrier)());if(2===n.length){let[t,e]=n;return t?i.withSetScope(t,e):i.withScope(e)}return i.withScope(n[0])}function M(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=A((0,e.getMainCarrier)());if(2===n.length){let[t,e]=n;return t?i.withSetIsolationScope(t,e):i.withIsolationScope(e)}return i.withIsolationScope(n[0])}function x(){return N().getClient()}function D(t){let{traceId:e,parentSpanId:n,propagationSpanId:r}=t.getPropagationContext(),i={trace_id:e,span_id:r||d()};return n&&(i.parent_span_id=n),i}},541193,602309,30686,10008,170637,776710,242222,339435,132584,304661,373250,473753,728469,45968,67486,454300,869766,804478,14177,t=>{"use strict";t.s(["continueTrace",()=>tQ,"startInactiveSpan",()=>t$,"startNewTrace",()=>t1,"startSpan",()=>tq,"startSpanManual",()=>tX,"suppressTracing",()=>t0,"withActiveSpan",()=>tZ],541193);var e=t.i(301263),n=t.i(923288),r=t.i(250804),i=t.i(901020),a=t.i(519988);t.s(["SENTRY_BAGGAGE_KEY_PREFIX",()=>c,"baggageHeaderToDynamicSamplingContext",()=>l,"dynamicSamplingContextToSentryBaggageHeader",()=>p,"parseBaggageHeader",()=>d],602309);var s=t.i(272598),o=t.i(453288);let c="sentry-",u=/^sentry-/;function l(t){let e=d(t);if(!e)return;let n=Object.entries(e).reduce((t,e)=>{let[n,r]=e;return n.match(u)&&(t[n.slice(c.length)]=r),t},{});return Object.keys(n).length>0?n:void 0}function p(t){if(t){var e=Object.entries(t).reduce((t,e)=>{let[n,r]=e;return r&&(t["".concat(c).concat(n)]=r),t},{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,e,n)=>{let[r,a]=e,o="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(a)),c=0===n?o:"".concat(t,",").concat(o);return c.length>8192?(i.DEBUG_BUILD&&s.debug.warn("Not adding key: ".concat(r," with val: ").concat(a," to baggage header due to exceeding baggage size limits.")),t):c},""):void 0}}function d(t){if(t&&((0,o.isString)(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>(Object.entries(_(e)).forEach(e=>{let[n,r]=e;t[n]=r}),t),{}):_(t)}function _(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(t){return}})}).reduce((t,e)=>{let[n,r]=e;return n&&r&&(t[n]=r),t},{})}function f(t,e){var n,r,i,a;let s,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{};try{s=t()}catch(t){throw e(t),c(),t}return n=s,r=e,i=c,a=u,(0,o.isThenable)(n)?n.then(t=>(i(),a(t),t),t=>{throw r(t),i(),t}):(i(),a(n),n)}function h(t){var e;if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let n=t||(null==(e=(0,r.getClient)())?void 0:e.getOptions());return!!n&&(null!=n.tracesSampleRate||!!n.tracesSampler)}function g(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(["handleCallbackErrors",()=>f],30686),t.s(["hasSpansEnabled",()=>h],10008),t.s(["parseSampleRate",()=>g],170637);var m=t.i(373382),S=t.i(111139),E=t.i(821061);t.s(["TRACE_FLAG_NONE",()=>H,"TRACE_FLAG_SAMPLED",()=>K,"addChildSpanToSpan",()=>ts,"convertSpanLinksForEnvelope",()=>Q,"getActiveSpan",()=>tl,"getRootSpan",()=>tu,"getSpanDescendants",()=>tc,"getStatusMessage",()=>tr,"removeChildSpanFromSpan",()=>to,"showSpanDropWarning",()=>tp,"spanIsSampled",()=>tn,"spanTimeInputToSeconds",()=>Z,"spanToJSON",()=>te,"spanToTraceContext",()=>q,"spanToTraceHeader",()=>X,"spanToTraceparentHeader",()=>$,"spanToTransactionTraceContext",()=>W,"updateSpanName",()=>td],304661),t.s(["SPAN_STATUS_ERROR",()=>y,"SPAN_STATUS_OK",()=>v,"SPAN_STATUS_UNSET",()=>T,"getSpanStatusFromHttpCode",()=>I,"setHttpStatus",()=>b],776710);let T=0,v=1,y=2;function I(t){if(t<400&&t>=100)return{code:v};if(t>=400&&t<500)switch(t){case 401:return{code:y,message:"unauthenticated"};case 403:return{code:y,message:"permission_denied"};case 404:return{code:y,message:"not_found"};case 409:return{code:y,message:"already_exists"};case 413:return{code:y,message:"failed_precondition"};case 429:return{code:y,message:"resource_exhausted"};case 499:return{code:y,message:"cancelled"};default:return{code:y,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:y,message:"unimplemented"};case 503:return{code:y,message:"unavailable"};case 504:return{code:y,message:"deadline_exceeded"}}return{code:y,message:"internal_error"}}function b(t,e){t.setAttribute("http.response.status_code",e);let n=I(e);"unknown_error"!==n.message&&t.setStatus(n)}
3t.s(["getCapturedScopesOnSpan",()=>M,"setCapturedScopesOnSpan",()=>O],242222);var A=t.i(951497),N=t.i(225304);let R="_sentryScope",C="_sentryIsolationScope";function O(t,e,n){t&&((0,A.addNonEnumerableProperty)(t,C,function(t){try{let e=N.GLOBAL_OBJ.WeakRef;if("function"==typeof e)return new e(t)}catch(t){}return t}(n)),(0,A.addNonEnumerableProperty)(t,R,e))}function M(t){return{scope:t[R],isolationScope:function(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch(t){return}return t}}(t[C])}}var x=t.i(605394);t.s(["TRACEPARENT_REGEXP",()=>G,"extractTraceparentData",()=>j,"generateSentryTraceHeader",()=>Y,"generateTraceparentHeader",()=>V,"propagationContextFromHeaders",()=>F,"shouldContinueTrace",()=>J],132584),t.s(["dsnFromString",()=>w,"dsnToString",()=>B,"extractOrgIdFromClient",()=>k,"makeDsn",()=>P],339435);let D=/^o(\d+)\./,U=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function B(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{host:n,path:r,pass:i,port:a,projectId:s,protocol:o,publicKey:c}=t;return"".concat(o,"://").concat(c).concat(e&&i?":".concat(i):"")+"@".concat(n).concat(a?":".concat(a):"","/").concat(r?"".concat(r,"/"):r).concat(s)}function w(t){let e=U.exec(t);if(!e)return void(0,s.consoleSandbox)(()=>{console.error("Invalid Sentry Dsn: ".concat(t))});let[n,r,i="",a="",o="",c=""]=e.slice(1),u="",l=c,p=l.split("/");if(p.length>1&&(u=p.slice(0,-1).join("/"),l=p.pop()),l){let t=l.match(/^\d+/);t&&(l=t[0])}return L({host:a,pass:i,path:u,projectId:l,port:o,protocol:n,publicKey:r})}function L(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function k(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};return n.orgId?e=String(n.orgId):r&&(e=function(t){let e=t.match(D);return null==e?void 0:e[1]}(r)),e}function P(t){let e="string"==typeof t?w(t):L(t);if(e&&function(t){if(!i.DEBUG_BUILD)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(s.debug.error("Invalid Sentry Dsn: ".concat(e," missing")),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(s.debug.error("Invalid Sentry Dsn: Invalid protocol ".concat(r)),!1):!(e&&isNaN(parseInt(e,10)))||(s.debug.error("Invalid Sentry Dsn: Invalid port ".concat(e)),!1):(s.debug.error("Invalid Sentry Dsn: Invalid projectId ".concat(n)),!1))}(e))return e}
3let G=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function j(t){let e;if(!t)return;let n=t.match(G);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}function F(t,e){let n=j(t),r=l(e);if(!(null==n?void 0:n.traceId))return{traceId:(0,m.generateTraceId)(),sampleRand:(0,S.safeMathRandom)()};let i=function(t,e){let n=g(null==e?void 0:e.sample_rand);if(void 0!==n)return n;let r=g(null==e?void 0:e.sample_rate);return r&&(null==t?void 0:t.parentSampled)!==void 0?t.parentSampled?(0,S.safeMathRandom)()*r:r+(0,S.safeMathRandom)()*(1-r):(0,S.safeMathRandom)()}(n,r);r&&(r.sample_rand=i.toString());let{traceId:a,parentSpanId:s,parentSampled:o}=n;return{traceId:a,parentSpanId:s,sampled:o,dsc:r||{},sampleRand:i}}function Y(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,m.generateTraceId)(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,m.generateSpanId)(),n=arguments.length>2?arguments[2]:void 0,r="";return void 0!==n&&(r=n?"-1":"-0"),"".concat(t,"-").concat(e).concat(r)}function V(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,m.generateTraceId)(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,m.generateSpanId)(),n=arguments.length>2?arguments[2]:void 0;return"00-".concat(t,"-").concat(e,"-").concat(n?"01":"00")}function J(t,e){let n=k(t);return e&&n&&e!==n?(s.debug.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)||(s.debug.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)}let H=0,K=1,z=!1;function W(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:a,status:s,origin:o,links:c}=te(t);return{parent_span_id:a,span_id:e,trace_id:n,data:r,op:i,status:s,origin:o,links:c}}function q(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:te(t).parent_span_id,a=M(t).scope;return{parent_span_id:i,span_id:r?(null==a?void 0:a.getPropagationContext().propagationSpanId)||(0,m.generateSpanId)():e,trace_id:n}}function X(t){let{traceId:e,spanId:n}=t.spanContext();return Y(e,n,tn(t))}function $(t){let{traceId:e,spanId:n}=t.spanContext();return V(e,n,tn(t))}function Q(t){return t&&t.length>0?t.map(t=>{let{context:{spanId:e,traceId:n,traceFlags:r,...i},attributes:a}=t;return{span_id:e,trace_id:n,sampled:r===K,attributes:a,...i}}):void 0}function Z(t){return"number"==typeof t?tt(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?tt(t.getTime()):(0,x.timestampInSeconds)()}function tt(t){return t>0x2540be3ff?t/1e3:t}function te(t){var e,n;if("function"==typeof t.getSpanJSON)return t.getSpanJSON();let{spanId:r,traceId:i}=t.spanContext();if((e=t).attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:e,startTime:s,name:o,endTime:c,status:u,links:l}=t;return{span_id:r,trace_id:i,data:e,description:o,parent_span_id:"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?null==(n=t.parentSpanContext)?void 0:n.spanId:void 0,start_timestamp:Z(s),timestamp:Z(c)||void 0,status:tr(u),op:e[a.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:e[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:Q(l)}}return{span_id:r,trace_id:i,start_timestamp:0,data:{}}}function tn(t){let{traceFlags:e}=t.spanContext();return e===K}function tr(t){if(t&&t.code!==T)return t.code===v?"ok":t.message||"internal_error"}let ti="_sentryChildSpans",ta="_sentryRootSpan";function ts(t,e){let n=t[ta]||t;(0,A.addNonEnumerableProperty)(e,ta,n),t[ti]?t[ti].add(e):(0,A.addNonEnumerableProperty)(t,ti,new Set([e]))}function to(t,e){t[ti]&&t[ti].delete(e)}function tc(t){let e=new Set;return!function t(n){if(!e.has(n)&&tn(n))for(let r of(e.add(n),n[ti]?Array.from(n[ti]):[]))t(r)}(t),Array.from(e)}function tu(t){return t[ta]||t}function tl(){let t=(0,n.getMainCarrier)(),i=(0,e.getAsyncContextStrategy)(t);return i.getActiveSpan?i.getActiveSpan():(0,E._getSpanForScope)((0,r.getCurrentScope)())}function tp(){z||((0,s.consoleSandbox)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),z=!0)}function td(t,e){t.updateName(e),t.setAttributes({[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[a.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]:e})}t.s(["freezeDscOnSpan",()=>th,"getDynamicSamplingContextFromScope",()=>tm,"getDynamicSamplingContextFromSpan",()=>tS,"spanToBaggageHeader",()=>tE],473753),t.s(["DEFAULT_ENVIRONMENT",()=>t_],373250);let t_="production",tf="_frozenDsc";function th(t,e){(0,A.addNonEnumerableProperty)(t,tf,e)}function tg(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||t_,release:n.release,public_key:r,trace_id:t,org_id:k(e)};return e.emit("createDsc",i),i}function tm(t,e){let n=e.getPropagationContext();return n.dsc||tg(n.traceId,t)}function tS(t){var e,n,i,s;let o=(0,r.getClient)();if(!o)return{};let c=tu(t),u=te(c),p=u.data,d=c.spanContext().traceState,_=null!=(n=null!=(e=null==d?void 0:d.get("sentry.sample_rate"))?e:p[a.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])?n:p[a.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];function f(t){return("number"==typeof _||"string"==typeof _)&&(t.sample_rate="".concat(_)),t}let g=c[tf];if(g)return f(g);let m=null==d?void 0:d.get("sentry.dsc"),S=m&&l(m);if(S)return f(S);let E=tg(t.spanContext().traceId,o),T=p[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],v=u.description;return"url"!==T&&v&&(E.transaction=v),h()&&(E.sampled=String(tn(c)),E.sample_rand=null!=(s=null==d?void 0:d.get("sentry.sample_rand"))?s:null==(i=M(c).scope)?void 0:i.getPropagationContext().sampleRand.toString()),f(E),o.emit("createDsc",E,c),E}function tE(t){return p(tS(t))}t.s(["SentryNonRecordingSpan",()=>tT],728469);class tT{spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:H}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
3addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}constructor(t={}){this._traceId=t.traceId||(0,m.generateTraceId)(),this._spanId=t.spanId||(0,m.generateSpanId)()}}t.s(["SentrySpan",()=>tH],14177),t.s(["createEventEnvelope",()=>tF,"createSessionEnvelope",()=>tj,"createSpanEnvelope",()=>tY],869766),t.s(["addItemToEnvelope",()=>tb,"createAttachmentEnvelopeItem",()=>tx,"createEnvelope",()=>tI,"createEventEnvelopeHeaders",()=>tw,"createSpanEnvelopeItem",()=>tM,"envelopeContainsItemType",()=>tN,"envelopeItemTypeToDataCategory",()=>tU,"forEachEnvelopeItem",()=>tA,"getSdkMetadataForEnvelopeHeader",()=>tB,"parseEnvelope",()=>tO,"serializeEnvelope",()=>tC],67486),t.s(["normalize",()=>ty,"normalizeToSize",()=>function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,i=ty(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}],45968);var tv=t.i(936032);function ty(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Infinity;try{return function e(n,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Infinity,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Infinity,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}(),[c,u]=s;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let l=function(e,n){try{if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(n===t.g)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=typeof document&&n===document)return"[Document]";if((0,o.isVueViewModel)(n))return(0,tv.getVueInternalName)(n);if((0,o.isSyntheticEvent)(n))return"[SyntheticEvent]";if("number"==typeof n&&!Number.isFinite(n))return"[".concat(n,"]");if("function"==typeof n)return"[Function: ".concat((0,tv.getFunctionName)(n),"]");if("symbol"==typeof n)return"[".concat(String(n),"]");if("bigint"==typeof n)return"[BigInt: ".concat(String(n),"]");let r=function(t){let e=Object.getPrototypeOf(t);return(null==e?void 0:e.constructor)?e.constructor.name:"null prototype"}(n);if(/^HTML(\w*)Element$/.test(r))return"[HTMLElement: ".concat(r,"]");return"[object ".concat(r,"]")}catch(t){return"**non-serializable** (".concat(t,")")}}(n,r);if(!l.startsWith("[object "))return l;if(r.__sentry_skip_normalization__)return r;let p="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:i;if(0===p)return l.replace("object ","");if(c(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,p-1,a,s)}catch(t){}let d=Array.isArray(r)?[]:{},_=0,f=(0,A.convertToPlainObject)(r);for(let t in f){if(!Object.prototype.hasOwnProperty.call(f,t))continue;if(_>=a){d[t]="[MaxProperties ~]";break}let n=f[t];d[t]=e(t,n,p-1,a,s),_++}return u(r),d}("",e,n,r)}catch(t){return{ERROR:"**non-serializable** (".concat(t,")")}}}function tI(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[t,e]}function tb(t,e){let[n,r]=t;return[n,[...r,e]]}function tA(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function tN(t,e){return tA(t,(t,n)=>e.includes(n))}function tR(t){let e=(0,n.getSentryCarrier)(N.GLOBAL_OBJ);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function tC(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[tR(r),t]:r.push("string"==typeof t?tR(t):t)}for(let t of n){let[e,n]=t;if(i("\n".concat(JSON.stringify(e),"\n")),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify(ty(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 tO(t){let e="string"==typeof t?tR(t):t;function r(t){let n=e.subarray(0,t);return e=e.subarray(t+1),n}function i(){let t=e.indexOf(10);return t<0&&(t=e.length),JSON.parse(function(t){let e=(0,n.getSentryCarrier)(N.GLOBAL_OBJ);return e.decodePolyfill?e.decodePolyfill(t):new TextDecoder().decode(t)}(r(t)))}let a=i(),s=[];for(;e.length;){let t=i(),e="number"==typeof t.length?t.length:void 0;s.push([t,e?r(e):i()])}return[a,s]}function tM(t){return[{type:"span"},t]}function tx(t){let e="string"==typeof t.data?tR(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}let tD={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function tU(t){return tD[t]}function tB(t){if(!(null==t?void 0:t.sdk))return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function tw(t,e,n,r){var i;
3let a=null==(i=t.sdkProcessingMetadata)?void 0:i.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:B(r)},...a&&{trace:a}}}t.s(["reparentChildSpans",()=>tG,"shouldIgnoreSpan",()=>tP],454300);var tL=t.i(821593);function tk(t){s.debug.log("Ignoring span ".concat(t.op," - ").concat(t.description," because it matches `ignoreSpans`."))}function tP(t,e){if(!(null==e?void 0:e.length)||!t.description)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if((0,tL.isMatchingPattern)(t.description,r))return i.DEBUG_BUILD&&tk(t),!0;continue}if(!r.name&&!r.op)continue;let e=!r.name||(0,tL.isMatchingPattern)(t.description,r.name),a=!r.op||t.op&&(0,tL.isMatchingPattern)(t.op,r.op);if(e&&a)return i.DEBUG_BUILD&&tk(t),!0}return!1}function tG(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 tj(t,e,n,r){let i=tB(n);return tI({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:B(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}function tF(t,e,n,r){let i=tB(n),a=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){var n,r,i,a;if(!e)return;let s=t.sdk||{};t.sdk={...s,name:s.name||e.name,version:s.version||e.version,integrations:[...(null==(n=t.sdk)?void 0:n.integrations)||[],...e.integrations||[]],packages:[...(null==(r=t.sdk)?void 0:r.packages)||[],...e.packages||[]],settings:(null==(i=t.sdk)?void 0:i.settings)||e.settings?{...null==(a=t.sdk)?void 0:a.settings,...e.settings}:void 0}}(t,null==n?void 0:n.sdk);let s=tw(t,i,r,e);return delete t.sdkProcessingMetadata,tI(s,[[{type:a},t]])}function tY(t,e){let n=tS(t[0]),r=null==e?void 0:e.getDsn(),i=null==e?void 0:e.getOptions().tunnel,a={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:B(r)}},{beforeSendSpan:s,ignoreSpans:o}=(null==e?void 0:e.getOptions())||{},c=(null==o?void 0:o.length)?t.filter(t=>!tP(te(t),o)):t,u=t.length-c.length;u&&(null==e||e.recordDroppedEvent("before_send","span",u));let l=s?t=>{let e=te(t),n=s(e);return n||(tp(),e)}:te,p=[];for(let t of c){let e=l(t);e&&p.push(tM(e))}return tI(a,p)}function tV(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:tl(),o=r&&tu(r);o&&(i.DEBUG_BUILD&&s.debug.log("[Measurement] Setting measurement on root span: ".concat(t," = ").concat(e," ").concat(n)),o.addEvent(t,{[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e,[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:n}))}function tJ(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],i=n[a.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}t.s(["setMeasurement",()=>tV,"timedEventsToMeasurements",()=>tJ],804478);class tH{addLink(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?K:H}}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=Z(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(t){this._endTime||(this._endTime=Z(t),function(t){if(!i.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >"}=te(t),{spanId:r}=t.spanContext(),a=tu(t)===t,o='[Tracing] Finishing "'.concat(n,'" ').concat(a?"root ":"",'span "').concat(e,'" with ID ').concat(r);s.debug.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[a.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:tr(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[a.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[a.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:tJ(this._events),is_segment:this._isStandaloneSpan&&tu(this)===this||void 0,segment_id:this._isStandaloneSpan?tu(this).spanContext().spanId:void 0,links:Q(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){i.DEBUG_BUILD&&s.debug.log("[Tracing] Adding an event to span:",t);let r=tK(e)?e:n||(0,x.timestampInSeconds)(),a=tK(e)?{}:e||{},o={name:t,time:Z(r),attributes:a};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=(0,r.getClient)();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===tu(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=(0,r.getClient)();if(!e)return;let n=t[1];
3if(!n||0===n.length)return e.recordDroppedEvent("before_send","span");e.sendEnvelope(t)}(tY([this],t)):(i.DEBUG_BUILD&&s.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));let e=this._convertSpanToTransaction();e&&(M(this).scope||(0,r.getCurrentScope)()).captureEvent(e)}_convertSpanToTransaction(){var t;if(!tz(te(this)))return;this._name||(i.DEBUG_BUILD&&s.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:n}=M(this),r=null==e||null==(t=e.getScopeData().sdkProcessingMetadata)?void 0:t.normalizedRequest;if(!0!==this._sampled)return;let o=tc(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof tH&&e.isStandaloneSpan())}).map(t=>te(t)).filter(tz),c=this._attributes[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[a.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],o.forEach(t=>{delete t.data[a.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]});let u={contexts:{trace:W(this)},spans:o.length>1e3?o.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:n,dynamicSamplingContext:tS(this)},request:r,...c&&{transaction_info:{source:c}}},l=tJ(this._events);return l&&Object.keys(l).length&&(i.DEBUG_BUILD&&s.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),u.measurements=l),u}constructor(t={}){this._traceId=t.traceId||(0,m.generateTraceId)(),this._spanId=t.spanId||(0,m.generateSpanId)(),this._startTime=t.startTimestamp||(0,x.timestampInSeconds)(),this._links=t.links,this._attributes={},this.setAttributes({[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[a.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()}}function tK(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function tz(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}let tW="__SENTRY_SUPPRESS_TRACING__";function tq(t,e){let n=t4();if(n.startSpan)return n.startSpan(t,e);let i=t3(t),{forceTransaction:a,parentSpan:s,scope:o}=t,c=null==o?void 0:o.clone();return(0,r.withScope)(c,()=>t9(s)(()=>{let n=(0,r.getCurrentScope)(),o=t5(n,s),c=t.onlyIfParent&&!o?new tT:t2({parentSpan:o,spanArguments:i,forceTransaction:a,scope:n});return(0,E._setSpanForScope)(n,c),f(()=>e(c),()=>{let{status:t}=te(c);c.isRecording()&&(!t||"ok"===t)&&c.setStatus({code:y,message:"internal_error"})},()=>{c.end()})}))}function tX(t,e){let n=t4();if(n.startSpanManual)return n.startSpanManual(t,e);let i=t3(t),{forceTransaction:a,parentSpan:s,scope:o}=t,c=null==o?void 0:o.clone();return(0,r.withScope)(c,()=>t9(s)(()=>{let n=(0,r.getCurrentScope)(),o=t5(n,s),c=t.onlyIfParent&&!o?new tT:t2({parentSpan:o,spanArguments:i,forceTransaction:a,scope:n});return(0,E._setSpanForScope)(n,c),f(()=>e(c,()=>c.end()),()=>{let{status:t}=te(c);c.isRecording()&&(!t||"ok"===t)&&c.setStatus({code:y,message:"internal_error"})})}))}function t$(t){let e=t4();if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=t3(t),{forceTransaction:i,parentSpan:a}=t;return(t.scope?e=>(0,r.withScope)(t.scope,e):void 0!==a?t=>tZ(a,t):t=>t())(()=>{let e=(0,r.getCurrentScope)(),s=t5(e,a);return t.onlyIfParent&&!s?new tT:t2({parentSpan:s,spanArguments:n,forceTransaction:i,scope:e})})}let tQ=(t,i)=>{let a=(0,n.getMainCarrier)(),s=(0,e.getAsyncContextStrategy)(a);if(s.continueTrace)return s.continueTrace(t,i);let{sentryTrace:o,baggage:c}=t,u=(0,r.getClient)(),p=l(c);return u&&!J(u,null==p?void 0:p.org_id)?t1(i):(0,r.withScope)(t=>{let e=F(o,c);return t.setPropagationContext(e),(0,E._setSpanForScope)(t,void 0),i()})};function tZ(t,e){let n=t4();return n.withActiveSpan?n.withActiveSpan(t,e):(0,r.withScope)(n=>((0,E._setSpanForScope)(n,t||void 0),e(n)))}function t0(t){let e=t4();return e.suppressTracing?e.suppressTracing(t):(0,r.withScope)(e=>{e.setSDKProcessingMetadata({[tW]:!0}
3);let n=t();return e.setSDKProcessingMetadata({[tW]:void 0}),n})}function t1(t){return(0,r.withScope)(e=>(e.setPropagationContext({traceId:(0,m.generateTraceId)(),sampleRand:(0,S.safeMathRandom)()}),i.DEBUG_BUILD&&s.debug.log("Starting a new trace with id ".concat(e.getPropagationContext().traceId)),tZ(null,t)))}function t2(t){let e,{parentSpan:n,spanArguments:a,forceTransaction:o,scope:c}=t;if(!h()){let t=new tT;if(o||!n){let e={sampled:"false",sample_rate:"0",transaction:a.name,...tS(t)};th(t,e)}return t}let u=(0,r.getIsolationScope)();if(n&&!o)e=function(t,e,n){let{spanId:i,traceId:a}=t.spanContext(),s=!e.getScopeData().sdkProcessingMetadata[tW]&&tn(t),o=s?new tH({...n,parentSpanId:i,traceId:a,sampled:s}):new tT({traceId:a});ts(t,o);let c=(0,r.getClient)();return c&&(c.emit("spanStart",o),n.endTimestamp&&c.emit("spanEnd",o)),o}(n,c,a),ts(n,e);else if(n){let t=tS(n),{traceId:r,spanId:i}=n.spanContext(),s=tn(n);th(e=t8({traceId:r,parentSpanId:i,...a},c,s),t)}else{let{traceId:t,dsc:n,parentSpanId:r,sampled:i}={...u.getPropagationContext(),...c.getPropagationContext()};e=t8({traceId:t,parentSpanId:r,...a},c,i),n&&th(e,n)}return!function(t){if(!i.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=te(t),{spanId:a}=t.spanContext(),o=tn(t),c=tu(t),u=c===t,l="[Tracing] Starting ".concat(o?"sampled":"unsampled"," ").concat(u?"root ":"","span"),p=["op: ".concat(n),"name: ".concat(e),"ID: ".concat(a)];if(r&&p.push("parent ID: ".concat(r)),!u){let{op:t,description:e}=te(c);p.push("root ID: ".concat(c.spanContext().spanId)),t&&p.push("root op: ".concat(t)),e&&p.push("root description: ".concat(e))}s.debug.log("".concat(l,"\n  ").concat(p.join("\n  ")))}(e),O(e,c,u),e}function t3(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=Z(t.startTime),delete n.startTime,n}return e}function t4(){let t=(0,n.getMainCarrier)();return(0,e.getAsyncContextStrategy)(t)}function t8(t,e,n){var o,c;let u=(0,r.getClient)(),l=(null==u?void 0:u.getOptions())||{},{name:p=""}=t,d={spanAttributes:{...t.attributes},spanName:p,parentSampled:n};null==u||u.emit("beforeSampling",d,{decision:!1});let _=null!=(c=d.parentSampled)?c:n,f=d.spanAttributes,m=e.getPropagationContext(),[S,E,T]=e.getScopeData().sdkProcessingMetadata[tW]?[!1]:function(t,e,n){let r,a;if(!h(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}),a=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,a=!0);let o=g(r);if(void 0===o)return i.DEBUG_BUILD&&s.debug.warn("[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(r)," of type ").concat(JSON.stringify(typeof r),".")),[!1];if(!o)return i.DEBUG_BUILD&&s.debug.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,o,a];let c=n<o;return!c&&i.DEBUG_BUILD&&s.debug.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),[c,o,a]}(l,{name:p,parentSampled:_,attributes:f,parentSampleRate:g(null==(o=m.dsc)?void 0:o.sample_rate)},m.sampleRand),v=new tH({...t,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[a.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==E&&T?E:void 0,...f},sampled:S});return!S&&u&&(i.DEBUG_BUILD&&s.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),u.recordDroppedEvent("sample_rate","transaction")),u&&u.emit("spanStart",v),v}function t5(t,e){if(e)return e;if(null===e)return;let n=(0,E._getSpanForScope)(t);if(!n)return;let i=(0,r.getClient)();return(i?i.getOptions():{}).parentSpanIsAlwaysRootSpan?tu(n):n}function t9(t){return void 0!==t?e=>tZ(t,e):t=>t()}}]);
4
5//# sourceMappingURL=2f042038479cca43.js.map
6//# debugId=a803f6cc-22cd-5509-82b2-c8b8a4c59320

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.