PageSourceSearch

https://www.listening.com/assets/exports-JT5FmDoT.js

js listening.com collected 2026-10-01 10:23:41 UTC 36,431 bytes, 3 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`798154dfe6f02312abe2ebb46dcac5b55267091e`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:listening-web":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`23648ac2-0ef8-40f1-af76-7c7c9f916f3b`,e._sentryDebugIdIdentifier=`sentry-dbid-23648ac2-0ef8-40f1-af76-7c7c9f916f3b`)}catch{}})();var e=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,t=globalThis,n=`10.75.0`;function r(){return i(t),t}function i(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.75.0`,t[n]=t[`10.75.0`]||{}}function a(e,r,i=t){let a=i.__SENTRY__=i.__SENTRY__||{},o=a[n]=a[`10.75.0`]||{};return o[e]||(o[e]=r())}var o=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],s=`Sentry Logger `,c={};function l(e){if(!(`console`in t))return e();let n=t.console,r={},i=Object.keys(c);i.forEach(e=>{let t=c[e];r[e]=n[e],n[e]=t});try{return e()}finally{i.forEach(e=>{n[e]=r[e]})}}function u(){g().enabled=!0}function d(){g().enabled=!1}function f(){return g().enabled}function p(...e){ee(`log`,...e)}function m(...e){ee(`warn`,...e)}function h(...e){ee(`error`,...e)}function ee(n,...r){e&&f()&&l(()=>{t.console[n](`${s}[${n}]:`,...r)})}function g(){return e?a(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var _={enable:u,disable:d,isEnabled:f,log:p,warn:m,error:h},te=50,ne=/\(error: (.*)\)/,re=/captureMessage|captureException/;function ie(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(`
2`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=ne.test(n)?n.replace(ne,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=te+r)break}}return oe(i.slice(r))}}function ae(e){return Array.isArray(e)?ie(...e):e}function oe(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(v(t).function||``)&&t.pop(),t.reverse(),re.test(v(t).function||``)&&(t.pop(),re.test(v(t).function||``)&&t.pop()),t.slice(0,te).map(e=>({...e,filename:e.filename||v(t).filename,function:e.function||`?`}))}function v(e){return e[e.length-1]||{}}var y=`<anonymous>`;function se(e){try{return!e||typeof e!=`function`?y:e.name||y}catch{return y}}function ce(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var le=Object.prototype.toString;function ue(e){switch(le.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return C(e,Error)}}function b(e,t){return le.call(e)===`[object ${t}]`}function de(e){return b(e,`ErrorEvent`)}function fe(e){return b(e,`DOMError`)}function pe(e){return b(e,`DOMException`)}function x(e){return b(e,`String`)}function me(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function he(e){return e===null||me(e)||typeof e!=`object`&&typeof e!=`function`}function ge(e){return b(e,`Object`)}function _e(e){return typeof e==`object`&&!!e}function ve(e){return typeof Event<`u`&&C(e,Event)}function ye(e){return b(e,`RegExp`)}function S(e){return!!(e?.then&&typeof e.then==`function`)}function C(e,t){try{return e instanceof t}catch{return!1}}function be(e){return typeof Request<`u`&&C(e,Request)}function xe(t,n,r){if(!(n in t))return;let i=t[n];if(typeof i!=`function`)return;let a=r(i);typeof a==`function`&&Se(a,i);try{t[n]=a}catch{e&&_.log(`Failed to replace method "${n}" in object`,t)}}function w(t,n,r){try{Object.defineProperty(t,n,{value:r,writable:!0,configurable:!0})}catch{e&&_.log(`Failed to add non-enumerable property "${String(n)}" to object`,t)}}function Se(e,t){try{e.prototype=t.prototype=t.prototype||{},w(e,`__sentry_original__`,t)}catch{}}function Ce(e){return e.__sentry_original__}function we(e){if(ue(e))return{message:e.message,name:e.name,stack:e.stack,...Te(e)};
2if(ve(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...Te(e)}}return e}function Te(e){return _e(e)?Object.fromEntries(Object.entries(e)):{}}function Ee(e){let t=Object.keys(we(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var T;function E(e){if(T!==void 0)return T?T(e):e();let n=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),r=t;return n in r&&typeof r[n]==`function`?(T=r[n],T(e)):(T=null,e())}function D(){return E(()=>Math.random())}function De(){return E(()=>Date.now())}var Oe=Symbol.for(`sentry.skipNormalization`),ke=Symbol.for(`sentry.overrideNormalizationDepth`);function Ae(e){return!!e[Oe]}function je(e){let t=e[ke];return typeof t==`number`?t:void 0}var Me;function Ne(e){Me=e}function O(e,t=100,n=1/0){try{return Fe(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Pe(e,t=3,n=102400){let r=O(e,t);return ze(r)>n?Pe(e,t-1,n):r}function Fe(e,t,n=1/0,r=1/0,i=Be()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=Ie(e,t);if(!s.startsWith(`[object `))return s;if(Ae(t))return t;let c=je(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return Fe(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=we(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=Fe(e,t,l-1,r,i),f++}return o(t),d}function Ie(e,t){try{if(Me){let e=Me(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${se(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${Le(t)}]`}catch(e){return`**non-serializable** (${e})`}}function Le(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function Re(e){return~-encodeURI(e).split(/%..|./).length}function ze(e){return Re(JSON.stringify(e))}function Be(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function Ve(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function He(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];he(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(Ie(void 0,r))}return n.join(t)}function Ue(e,t,n=!1){return x(e)?ye(t)?t.test(e):x(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function We(e,t=[],n=!1){for(let r of t)if(Ue(e,r,n))return!0;return!1}function Ge(){let e=t;return e.crypto||e.msCrypto}var Ke;function qe(){return D()*16}function k(e=Ge()){try{if(e?.randomUUID)return E(()=>e.randomUUID()).replace(/-/g,``)}catch{}return Ke||=`10000000100040008000100000000000`,Ke.replace(/[018]/g,e=>(e^(qe()&15)>>e/4).toString(16))}function Je(e){return e.exception?.values?.[0]}function Ye(e){let{message:t,event_id:n}=e;if(t)return t;let r=Je(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function Xe(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function Ze(e,t){let n=Je(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function Qe(e){if($e(e))return!0;try{w(e,`__sentry_captured__`,!0)}catch{}return!1}function $e(e){try{return e.__sentry_captured__}catch{}}var et=1e3;function A(){return De()/et}function tt(){let{performance:e}=t;if(!e?.now||!e.timeOrigin)return A;let n=e.timeOrigin;return()=>(n+E(()=>e.now()))/et}var nt;function j(){return(nt??=tt())()}var M=null;function rt(){let{performance:e}=t;if(!e?.now)return;let n=3e5,r=E(()=>e.now()),i=De(),a=e.timeOrigin;if(typeof a==`number`&&Math.abs(a+r-i)<n)return a;let o=e.timing?.navigationStart;return typeof o==`number`&&Math.abs(o+r-i)<n?o:i-r}function it(){return M===null&&(M=rt()),M}function at(e){let t=j(),n={sid:k(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>st(n)};return e&&N(n,e),n}function N(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||j(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:k()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),t
2ypeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ot(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),N(e,n)}function st(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function P(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=P(r[e],t[e],n-1));return r}function F(){return k()}function I(){return k().substring(16)}function ct(e){try{let n=t.WeakRef;if(typeof n==`function`)return new n(e)}catch{}return e}function lt(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var ut=`_sentrySpan`;function L(e,t){t?w(e,ut,ct(t)):delete e[ut]}function R(e){return lt(e[ut])}var dt=100,z=class t{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:F(),sampleRand:D()}}clone(){let e=new t;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,L(e,R(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&N(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let n=typeof e==`function`?e(this):e,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof t?n.getScopeData():ge(n)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),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,L(this,void 0),this._attachments=[],this.setPropagationContext({traceId:F(),sampleRand:D()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:dt;if(n<=0)return this;let r={timestamp:A(),...e,message:e.message?Ve(e.message,2048):e.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(e){return this._attachments.push(e),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:R(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=P(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(t,n){let r=n?.event_id||k();if(!this._client)return e&&_.warn(`No client configured on scope - will not capture exception!`),r;let i=Error(`Sentry syntheticException`);return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureMessage(t,n,r){let i=r?.event_id||k();if(!this._client)return e&&_.warn(`No client configured on scope - will not capture message!`),i;let a=r?.syntheticException??Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},this),i}captureEvent(t,n){let r=t.event_id||n?.event_id||k();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(e&&_.warn(`No client configured on scope - will not capture event!`),r)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),!1)}};function ft(){return a(`defaultCurrentScope`,()=>new z)}function pt(){return a(`defaultIsolationScope`,()=>new z)}var mt=e=>e instanceof Promise&&!e[ht],ht=Symbol(`chained PromiseLike`),gt=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return mt(r)&&mt(e)?r:_t(e,r)},_t=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[ht]:!0}),t},vt=class{constructor(e,t){let n;n=e||new z;let r;r=t||new z,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return S(n)?gt(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function B(){let e=i(r());return e.stack=e.stack||new vt(ft(),pt())}function yt(e){return B().withScope(e)}function bt(e,t){let n=B();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function xt(e){return B().withScope(()=>e(B().getIsolationScope()))}function St(){return{withIsolationScope:xt,withScope:yt,withSetScope:bt,withSetIsolationScope:(e,t)=>xt(t),getCurrentScope:()=>B().getScope(),getIsolationScope:()=>B().getIsolationScope()}}function V(e){let t=i(e);return t.acs?t.acs:St()}function Ct(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function wt(e,t){let{value:n,unit:r}=Ct(e)?e:{value:e,unit:void 0},i=Et(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function Tt(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=wt(i,t);e&&(n[r]=e)}return n}function Et(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}function Dt(){return!1}function H(){return V(r()).getCurrentScope()}function U(){return V(r()).getIsolationScope()}function Ot(){return a(`globalScope`,()=>new z)}function kt(...e){let t=V(r());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function W(){return H().getClient()}function At(e){let{traceId:t,parentSpanId:n,propagationSpanId:r}=e.getPropagationContext(),i={trace_id:t,span_id:r||I()};return n&&(i.parent_span_id=n),i}var jt=`sentry.source`,Mt=`sentry.sample_rate`,Nt=`sentry.previous_trace_sample_rate`,Pt=`sentry.op`,Ft=`sentry.origin`,It=`sentry.idle_span_finish_reason`,Lt=`sentry.measurement_unit`,Rt=`sentry.measurement_value`,zt=`sentry.custom_span_name`,Bt=`sentry.profile_id`,Vt=`sentry.exclusive_time`,Ht=`sentry.link.type`,Ut=`gen_ai.conversation.id`;function Wt(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){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(e>=500&&e<600)switch(e){case 501:return{code:2,message:`unimplemented`};case 503:return{code:2,message:`unavailable`};case 504:return{code:2,message:`deadline_exceeded`};default:return{code:2,message:`internal_error`}}return{code:2,message:`internal_error`}}function Gt(e,t){e.setAttribute(`http.response.status_code`,t);let n=Wt(t);n.message!==`unknown_error`&&e.setStatus(n)}var Kt=`_sentryScope`,qt=`_sentryIsolationScope`,Jt=Symbol.for(`sentry.otelSourceInference`),Yt=Symbol.for(`sentry.otelSourceExplicitlySet`),Xt=Symbol.for(`sentry.tracerProviderSpan`);function Zt(e,t,n){e&&(w(e,qt,ct(n)),w(e,Kt,t))}function G(e){let t=e;return{scope:t[Kt],isolationScope:lt(t[qt])}}function Qt(e){return e[Jt]===!0}function $t(e){w(e,Yt,!0)}function en(e){return e[Xt]===!0}var tn=`sentry-`;function nn(e){let t=an(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function rn(e){if(e)return sn(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${tn}${t}`]=n),e),{}))}function an(e){if(e&&(x(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
2{let n=on(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):on(e)}function on(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function sn(t){if(Object.keys(t).length!==0)return Object.entries(t).reduce((t,[n,r],i)=>{let a=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=i===0?a:`${t},${a}`;return o.length>8192?(e&&_.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},``)}var cn=/^o(\d+)\./,ln=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function un(e){return e===`http`||e===`https`}function dn(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function fn(e){let t=ln.exec(e);if(!t){l(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,u=s,d=u.split(`/`);if(d.length>1&&(c=d.slice(0,-1).join(`/`),u=d.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return pn({host:a,pass:i,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function pn(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function mn(t){if(!e)return!0;let{port:n,projectId:r,protocol:i}=t;return[`protocol`,`publicKey`,`host`,`projectId`].find(e=>!t[e]&&(_.error(`Invalid Sentry Dsn: ${e} missing`),!0))?!1:r.match(/^\d+$/)?un(i)?n&&isNaN(parseInt(n,10))?(_.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):!0:(_.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(_.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function hn(e){return e.match(cn)?.[1]}function gn(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=hn(n)),r}function _n(e){let t=typeof e==`string`?fn(e):pn(e);if(t&&mn(t))return t}function K(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var vn=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function yn(e){if(!e)return;let t=e.match(vn);if(!t)return;let n;return t[3]===`1`?n=!0:t[3]===`0`&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function bn(e,t){let n=yn(e),r=nn(t);if(!n?.traceId)return{traceId:F(),sampleRand:D()};let i=Cn(n,r);r&&(r.sample_rand=i.toString());let{traceId:a,parentSpanId:o,parentSampled:s}=n;return{traceId:a,parentSpanId:o,sampled:s,dsc:r||{},sampleRand:i}}function xn(e=F(),t=I(),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function Sn(e=F(),t=I(),n){return`00-${e}-${t}-${n?`01`:`00`}`}function Cn(e,t){let n=K(t?.sample_rand);if(n!==void 0)return n;let r=K(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?D()*r:r+D()*(1-r):D()}var wn=!1;function Tn(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=J(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function En(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:J(e).parent_span_id,a=G(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||I():t,trace_id:n}}function Dn(e){let{traceId:t,spanId:n}=e.spanContext();return xn(t,n,Y(e))}function On(e){let{traceId:t,spanId:n}=e.spanContext();return Sn(t,n,Y(e))}function kn(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function An(e){if(e?.length)return e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:n===1,attributes:r}))}function q(e){return typeof e==`number`?jn(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?jn(e.getTime()):j()}function jn(e){return e>9999999999?e/1e3:e}function J(e){if(Fn(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Pn(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:Mn(e),start_timestamp:q(i),timestamp:q(o)||void 0,status:In(s),op:r[Pt],origin:r[Ft],links:kn(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function Mn(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function Nn(e){return{...e,attributes:Tt(e.attributes),links:e.links?.map(e=>({...e,attributes:Tt(e.attributes)}))}}function Pn(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Fn(e){return typeof e.getSpanJSON==`function`}function Y(e){let{traceFlags:t}=e.spanContext();return t===1}function In(e){if(e&&e.code!==0)return e.code===1?`ok`:e.message||`internal_error`}function Ln(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function Rn(e,t){let n=Ln(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}var X=`_sentryChildSpans`,zn=`_sentryRootSpan`;function Bn(e,t){let n=e[zn]||e;w(t,zn,n),Y(e)&&(e.isRecording()||n.isRecording())&&(e[X]?e[X].add(t):w(e,X,new Set([t])))}function Vn(e,t){e[X]&&e[X].delete(t)}function Hn(e){let t=new Set;function n(e){if(!t.has(e)&&Y(e)){t.add(e);let r=e[X]?Array.from(e[X]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var Un=Wn;function Wn(e){return e[zn]||e}function Gn(){let e=V(r());return e.getActiveSpan?e.getActiveSpan():R(H())}function Kn(){wn||=(l(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}function qn(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||W()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}var Jn=Symbol.for(`sentry.nonRecordingSpan`),Yn=class{constructor(e={}){this._traceId=e.traceId||F(),this._spanId=e.spanId||I(),this.dropReason=e.dropReason,w(this,Jn,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}
2addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function Xn(e){return!!e&&e[Jn]===!0}var Zn=`production`,Qn=`_frozenDsc`;function $n(e,t){w(e,Qn,t)}function er(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:gn(t)};return t.emit(`createDsc`,i),i}function tr(e,t){let n=t.getPropagationContext();return n.dsc||er(n.traceId,e)}function nr(e){let t=W();if(!t)return{};let n=Un(e),r=J(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[Qn];if(c)return s(c);let l=Xn(n),u=l&&n.dropReason===`ignored`;if(l&&(!qn(t.getOptions())||u)){let e=G(n).scope;if(e){let n={...tr(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&nn(d);if(f)return s(f);let p=er(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),qn()&&(p.sampled=String(Y(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??G(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function rr(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;or(e,t),r&&lr(e,r),ur(e,n),sr(e,i),cr(e,a)}function ir(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;Z(e,`extra`,n),Z(e,`tags`,r),Z(e,`attributes`,i),Z(e,`user`,a),Z(e,`contexts`,o),e.sdkProcessingMetadata=P(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function Z(e,t,n){e[t]=P(e[t],n,1)}function ar(e,t){let n=Ot().getScopeData();return e&&ir(n,e.getScopeData()),t&&ir(n,t.getScopeData()),n}function or(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function sr(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function cr(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function lr(e,t){e.contexts={trace:En(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:nr(t),...e.sdkProcessingMetadata};let n=J(Un(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function ur(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var dr=0,fr=1,pr=2;function mr(e){return new gr(t=>{t(e)})}function hr(e){return new gr((t,n)=>{n(e)})}var gr=class e{constructor(e){this._state=dr,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===dr)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===fr&&e[1](this._value),this._state===pr&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===dr){if(S(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(fr,e)},r=e=>{t(pr,e)};try{e(n,r)}catch(e){r(e)}}};function _r(e,t,n,r=0){try{let i=vr(t,n,e,r);return S(i)?i:mr(i)}catch(e){return hr(e)}}function vr(t,n,r,i){let a=r[i];if(!t||!a)return t;let o=a({...t},n);return e&&o===null&&_.log(`Event processor "${a.id||`?`}" dropped event`),S(o)?o.then(e=>vr(e,n,r,i+1)):vr(o,n,r,i+1)}var Q,yr,br,$;function xr(e){let n=t._sentryDebugIds,r=t._debugIds;if(!n&&!r)return{};let i=n?Object.keys(n):[],a=r?Object.keys(r):[];if($&&i.length===yr&&a.length===br)return $;yr=i.length,br=a.length,$={},Q||={};let o=(t,n)=>{for(let r of t){let t=n[r],i=Q?.[r];if(i&&$&&t)$[i[0]]=t,Q&&(Q[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&$&&Q){$[i]=t,Q[r]=[i,t];break}}}}};return n&&o(i,n),r&&o(a,r),$}function Sr(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||k(),timestamp:t.timestamp||A()},l=n.integrations||e.integrations.map(e=>e.name);Cr(c,e),Er(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&wr(c,e.stackParser);let u=Or(r,n.captureContext);n.mechanism&&Ze(c,n.mechanism);let d=i?i.getEventProcessors():[],f=ar(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),rr(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?mr(c):_r(m,c,n)).then(e=>(e&&Tr(e),typeof o==`number`&&o>0?Dr(e,o,s):e))}function Cr(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=Ve(o.url,a)),a&&e.exception?.values?.forEach(e
2=>{e.value&&=Ve(e.value,a)})}function wr(e,t){let n=xr(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function Tr(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function Er(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Dr(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:O(e.data,t,n)}}))},...e.user&&{user:O(e.user,t,n)},...e.contexts&&{contexts:O(e.contexts,t,n)},...e.extra&&{extra:O(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=O(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:O(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=O(e.contexts.flags,3,n)),r}function Or(e,t){if(!t)return e;let n=e?e.clone():new z;return n.update(t),n}function kr(e){if(e)return Ar(e)||Mr(e)?{captureContext:e}:e}function Ar(e){return e instanceof z||typeof e==`function`}var jr=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function Mr(e){return Object.keys(e).some(e=>jr.includes(e))}function Nr(e,t){return H().captureException(e,kr(t))}function Pr(e,t){return H().captureEvent(e,t)}function Fr(e,t){U().setContext(e,t)}function Ir(e){U().setUser(e)}function Lr(){let e=W();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function Rr(e){U().addEventProcessor(e)}function zr(e){let n=U(),{user:r}=ar(n,H()),{userAgent:i}=t.navigator||{},a=at({user:r,...i&&{userAgent:i},...e}),o=n.getSession();return o?.status===`ok`&&N(o,{status:`exited`}),Br(),n.setSession(a),a}function Br(){let e=U(),t=H().getSession()||e.getSession();t&&ot(t),Vr(),e.setSession()}function Vr(){let e=U(),t=W(),n=e.getSession();n&&t&&t.captureSession(n)}function Hr(e=!1){if(e){Br();return}Vr()}export{Vt as $,ge as $t,Y as A,Ye as At,bn as B,w as Bt,Un as C,N as Ct,An as D,Ze as Dt,In as E,j as Et,Tn as F,O as Ft,rn as G,fe as Gt,dn as H,xe as Ht,Nn as I,Pe as It,Zt as J,de as Jt,G as K,pe as Kt,vn as L,Ne as Lt,J as M,Ue as Mt,Dn as N,He as Nt,Vn as O,Xe as Ot,On as P,We as Pt,Ut as Q,me as Qt,xn as R,De as Rt,Gn as S,P as St,Hn as T,A as Tt,_n as U,Ce as Ut,K as V,Ee as Vt,tn as W,Se as Wt,Qt as X,C as Xt,en as Y,ve as Yt,Gt as Z,_e as Zt,Xn as _,e as _n,V as _t,Lr as a,ce as an,Pt as at,Rn as b,I as bt,zr as c,o as cn,Mt as ct,mr as d,c as dn,W as dt,he as en,Bt as et,$n as f,a as fn,H as ft,Yn as g,t as gn,kt as gt,Zn as h,n as hn,Dt as ht,Hr as i,ie as in,Rt as it,q as j,k as jt,Kn as k,Qe as kt,Sr as l,l as ln,jt as lt,nr as m,i as mn,At as mt,Pr as n,x as nn,It as nt,Fr as o,se as on,Ft as ot,tr as p,r as pn,U as pt,$t as q,ue as qt,Nr as r,S as rn,Lt as rt,Ir as s,ae as sn,Nt as st,Rr as t,be as tn,zt as tt,hr as u,_ as un,Ht as ut,qn as v,R as vt,Ln as w,it as wt,kn as x,F as xt,Bn as y,L as yt,Sn as z,D as zt};
3//# sourceMappingURL=exports-JT5FmDoT.js.map

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.