1import{b as O,j as Fe}from"./brand-Df9MitU8.js";import{r as v,m as en,s as tn,E as nn,i as rn,R as y,j as on,k as vt,l as sn,F as an,n as cn,o as un,p as ln,q as fn,t as dn,v as pn,x as mn,y as hn,z as gn,A as _n,B as yn}from"./chunk-JZWAC4HX-uic6Hk2s.js";import{r as bt}from"./index-B_voHWWl.js";import{f as En}from"./features-BnqVRE5T.js";import{D as h,q as m,r as k,G as E,t as re,v as vn,w as bn,x as U,y as St,z as Se,A as wt,B as Rt,C as It,E as Tt,F as Sn,H as G,I as Pe,J as $e,K as wn,L as Rn,M as In,N as Tn,O as we,P as kt,Q as Dt,R as Q,T as Ae,U as kn,V as Dn,W as ue,X as Re,Y as Be,Z as w,_ as Ie,$ as T,a0 as ee,a1 as le,a2 as xn,a3 as S,a4 as He,a5 as Ue,a6 as M,a7 as xt,a8 as K,a9 as Nn,aa as Te,ab as On,ac as Mn,ad as fe,ae as B,c as Cn,af as Nt,ag as je,ah as Ln,ai as ke,aj as Fn,ak as Pn,al as A,am as $n,an as C,ao as An,ap as Bn,aq as We,ar as qe,as as ze,at as Ot,au as Hn,av as Un,d as jn,i as Wn}from"./pricingExperiment-B5uTgUGY.js";import"./storage-zwOQxP94.js";import"./formatEur-ycBfl_Fp.js";var Mt,Ge=bt;Mt=Ge.createRoot,Ge.hydrateRoot;const Y={},Ye={};function x(e,t){Y[e]=Y[e]||[],Y[e].push(t)}function N(e,t){if(!Ye[e]){Ye[e]=!0;try{t()}catch(n){h&&m.error(`Error while instrumenting ${e}`,n)}}}function R(e,t){const n=e&&Y[e];if(n)for(const r of n)try{r(t)}catch(o){h&&m.error(`Error while triggering instrumentation handler. 2Type: ${e} 3Name: ${k(r)} 4Error:`,o)}}let oe=null;function qn(e){const t="error";x(t,e),N(t,zn)}function zn(){oe=E.onerror,E.onerror=function(e,t,n,r,o){return R("error",{column:r,error:o,line:n,msg:e,url:t}),oe?oe.apply(this,arguments):!1},E.onerror.__SENTRY_INSTRUMENTED__=!0}let se=null;function Gn(e){const t="unhandledrejection";x(t,e),N(t,Yn)}function Yn(){se=E.onunhandledrejection,E.onunhandledrejection=function(e){return R("unhandledrejection",e),se?se.apply(this,arguments):!0},E.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Xn(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}function Xe(e){m.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Je(e,t){if(!(t!=null&&t.length)||!e.description)return!1;for(const n of t){if(Kn(n)){if(re(e.description,n))return h&&Xe(e),!0;continue}if(!n.name&&!n.op)continue;const r=n.name?re(e.description,n.name):!0,o=n.op?e.op&&re(e.op,n.op):!0;if(r&&o)return h&&Xe(e),!0}return!1}function Jn(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const o of e)o.parent_span_id===r&&(o.parent_span_id=n)}function Kn(e){return typeof e=="string"||e instanceof RegExp}function F(e,t=[]){return[e,t]}function Vn(e,t){const[n,r]=e;return[n,[...r,t]]}function Ke(e,t){const n=e[1];for(const r of n){const o=r[0].type;if(t(r,o))return!0}return!1}function de(e){const t=bn(E);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function Zn(e){const[t,n]=e;let r=JSON.stringify(t);function o(s){typeof r=="string"?r=typeof s=="string"?r+s:[de(r),s]:r.push(typeof s=="string"?de(s):s)}for(const s of n){const[i,a]=s;if(o(` 5${JSON.stringify(i)} 6`),typeof a=="string"||a instanceof Uint8Array)o(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(vn(a))}o(c)}}return typeof r=="string"?r:Qn(r)}function Qn(e){const t=e.reduce((o,s)=>o+s.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}function er(e){const t=typeof e.data=="string"?de(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const tr={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 Ve(e){return tr[e]}function Ct(e){if(!(e!=null&&e.sdk))return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function nr(e,t,n,r){var s;const o=(s=e.sdkProcessingMetadata)==null?void 0:s.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:U(r)},...o&&{trace:o}}}function rr(e,t){var r,o,s,i;if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...((r=e.sdk)==null?void 0:r.integrations)||[],...t.integrations||[]],packages:[...((o=e.sdk)==null?void 0:o.packages)||[],...t.packages||[]],settings:(s=e.sdk)!=null&&s.settings||t.settings?{...(i=e.sdk)==null?void 0:i.settings,...t.settings}:void 0},e}function or(e,t,n,r){const o=Ct(n),s={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:U(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return F(s,[i])}function sr(e,t,n,r){const o=Ct(n),s=e.type&&e.type!=="replay_event"?e.type:"event";rr(e,n==null?void 0:n.sdk);const i=nr(e,o,r,t);return delete e.sdkProcessingMetadata,F(i,[[{type:s},e]])}const ir="7";function ar(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function cr(e){return`${ar(e)}${e.projectId}/envelope/`}function ur(e,t){const n={sentry_version:ir};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function lr(e,t,n){return t||`${cr(e)}?${ur(e,n)}`}const Ze=[];function fr(e){const t={};return e.forEach(n=>{const{name:r}=n,o=t[r];o&&!o.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function dr(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const o=n(t);r=Array.isArray(o)?o:[o]}else r=t;return fr(r)}function pr(e,t){const n={};return t.forEach(r=>{r&&Lt(e,r,n)}),n}function Qe(e,t){for(const n of t)n!=null&&n.afterAllSetup&&n.afterAllSetup(e)}function Lt(e,t,n){if(n[t.name]){h&&m.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Ze.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),Ze.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(o,s)=>r(o,s,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),o=Object.assign((s,i)=>r(s,i,e),{id:t.name});e.addEventProcessor(o)}h&&m.log(`Integration installed: ${t.name}`)}function mr(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function hr(e,t,n,r){const o={};return t!=null&&t.sdk&&(o.sdk={name:t.sdk.name,version:t.sdk.version}
6),n&&r&&(o.dsn=U(r)),F(o,[mr(e)])}function Ft(e,t){const n=t??gr(e)??[];if(n.length===0)return;const r=e.getOptions(),o=hr(n,r._metadata,r.tunnel,e.getDsn());Pt().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function gr(e){return Pt().get(e)}function Pt(){return St("clientToLogBufferMap",()=>new WeakMap)}function _r(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function yr(e,t,n,r){const o={};return t!=null&&t.sdk&&(o.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(o.dsn=U(r)),F(o,[_r(e)])}function $t(e,t){const n=t??Er(e)??[];if(n.length===0)return;const r=e.getOptions(),o=yr(n,r._metadata,r.tunnel,e.getDsn());At().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function Er(e){return At().get(e)}function At(){return St("clientToMetricBufferMap",()=>new WeakMap)}const De=Symbol.for("SentryBufferFullError");function xe(e=100){const t=new Set;function n(){return t.size<e}function r(i){t.delete(i)}function o(i){if(!n())return wt(De);const a=i();return t.add(a),a.then(()=>r(a),()=>r(a)),a}function s(i){if(!t.size)return Se(!0);const a=Promise.allSettled(Array.from(t)).then(()=>!0);if(!i)return a;const c=[a,new Promise(u=>setTimeout(()=>u(!1),i))];return Promise.race(c)}return{get $(){return Array.from(t)},add:o,drain:s}}const vr=60*1e3;function br(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?vr:r-t}function Sr(e,t){return e[t]||e.all||0}function wr(e,t,n=Date.now()){return Sr(e,t)>n}function Rr(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},s=n==null?void 0:n["x-sentry-rate-limits"],i=n==null?void 0:n["retry-after"];if(s)for(const a of s.trim().split(",")){const[c,u,,,f]=a.split(":",5),d=parseInt(c,10),g=(isNaN(d)?60:d)*1e3;if(!u)o.all=r+g;else for(const p of u.split(";"))p==="metric_bucket"?(!f||f.split(";").includes("custom"))&&(o[p]=r+g):o[p]=r+g}else i?o.all=r+br(i,r):t===429&&(o.all=r+60*1e3);return o}const Bt=64;function Ir(e,t,n=xe(e.bufferSize||Bt)){let r={};const o=i=>n.drain(i);function s(i){const a=[];if(Ke(i,(d,g)=>{const p=Ve(g);wr(r,p)?e.recordDroppedEvent("ratelimit_backoff",p):a.push(d)}),a.length===0)return Promise.resolve({});const c=F(i[0],a),u=d=>{Ke(c,(g,p)=>{e.recordDroppedEvent(d,Ve(p))})},f=()=>t({body:Zn(c)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&h&&m.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=Rr(r,d),d),d=>{throw u("network_error"),h&&m.error("Encountered error running transport request:",d),d});return n.add(f).then(d=>d,d=>{if(d===De)return h&&m.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw d})}return{send:s,flush:o}}function Tr(e,t,n){const r=[{type:"client_report"},{timestamp:Rt(),discarded_events:e}];return F(t?{dsn:t}:{},[r])}function Ht(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n!=null&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function kr(e){var c;const{trace_id:t,parent_span_id:n,span_id:r,status:o,origin:s,data:i,op:a}=((c=e.contexts)==null?void 0:c.trace)??{};return{data:i??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:i==null?void 0:i[Tt],exclusive_time:i==null?void 0:i[It],measurements:e.measurements,is_segment:!0}}function Dr(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[Tt]:e.profile_id},...e.exclusive_time&&{[It]:e.exclusive_time}}}},measurements:e.measurements}}const et="Not capturing exception because it's already been captured.",tt="Discarded session because of missing or non-string release",Ut=Symbol.for("SentryInternalError"),jt=Symbol.for("SentryDoNotSendEventError"),xr=5e3;function X(e){return{message:e,[Ut]:!0}}function ie(e){return{message:e,[jt]:!0}}function nt(e){return!!e&&typeof e=="object"&&Ut in e}function rt(e){return!!e&&typeof e=="object"&&jt in e}function ot(e,t,n,r,o){let s=0,i,a=!1;e.on(n,()=>{s=0,clearTimeout(i),a=!1}),e.on(t,c=>{s+=r(c),s>=8e5?o(e):a||(a=!0,i=setTimeout(()=>{o(e)},xr))}),e.on("flush",()=>{o(e)})}class Nr{constructor(t){var r,o,s;if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=xe(((r=t.transportOptions)==null?void 0:r.bufferSize)??Bt),t.dsn?this._dsn=Sn(t.dsn):h&&m.warn("No DSN provided, client will not send events."),this._dsn){const i=lr(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:i})}this._options.enableLogs=this._options.enableLogs??((o=this._options._experiments)==null?void 0:o.enableLogs),this._options.enableLogs&&ot(this,"afterCaptureLog","flushLogs",Lr,Ft),(this._options.enableMetrics??((s=this._options._experiments)==null?void 0:s.enableMetrics)??!0)&&ot(this,"afterCaptureMetric","flushMetrics",Cr,$t)}
6captureException(t,n,r){const o=G();if(Pe(t))return h&&m.log(et),o;const s={event_id:o,...n};return this._process(()=>this.eventFromException(t,s).then(i=>this._captureEvent(i,s,r)).then(i=>i),"error"),s.event_id}captureMessage(t,n,r,o){const s={event_id:G(),...r},i=Dt(t)?t:String(t),a=Q(t),c=a?this.eventFromMessage(i,n,s):this.eventFromException(t,s);return this._process(()=>c.then(u=>this._captureEvent(u,s,o)),a?"unknown":"error"),s.event_id}captureEvent(t,n,r){const o=G();if(n!=null&&n.originalException&&Pe(n.originalException))return h&&m.log(et),o;const s={event_id:o,...n},i=t.sdkProcessingMetadata||{},a=i.capturedSpanScope,c=i.capturedSpanIsolationScope,u=st(t.type);return this._process(()=>this._captureEvent(t,s,a||r,c),u),s.event_id}captureSession(t){this.sendSession(t),$e(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const n=this._transport;if(!n)return!0;this.emit("flush");const r=await this._isClientDoneProcessing(t),o=await n.flush(t);return r&&o}async close(t){const n=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];Lt(this,t,this._integrations),n||Qe(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=sr(t,this._dsn,this._options._metadata,this._options.tunnel);for(const o of n.attachments||[])r=Vn(r,er(o));this.sendEnvelope(r).then(o=>
6this.emit("afterSendEvent",t,o))}sendSession(t){const{release:n,environment:r=wn}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!n){h&&m.warn(tt);return}s.release=s.release||n,s.environment=s.environment||r,t.attrs=s}else{if(!t.release&&!n){h&&m.warn(tt);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const o=or(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(o)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const o=`${t}:${n}`;h&&m.log(`Recording outcome: "${o}"${r>1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||new Set,o=(...s)=>n(...s);return r.add(o),()=>{r.delete(o)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(o=>o(...n))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(n){return h&&m.error("Error while sending envelope:",n),{}}return h&&m.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=pr(this,t),Qe(this,t)}_updateSessionFromEvent(t,n){var c,u;let r=n.level==="fatal",o=!1;const s=(c=n.exception)==null?void 0:c.values;if(s){o=!0,r=!1;for(const f of s)if(((u=f.mechanism)==null?void 0:u.handled)===!1){r=!0;break}}const i=t.status==="ok";(i&&t.errors===0||i&&r)&&($e(t,{...r&&{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||n<t;){if(await new Promise(r=>setTimeout(r,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,o){const s=this.getOptions(),i=Object.keys(this._integrations);return!n.integrations&&(i!=null&&i.length)&&(n.integrations=i),this.emit("preprocessEvent",t,n),t.type||o.setLastEventId(t.event_id||n.event_id),Rn(s,t,n,r,this,o).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:In(r),...a.contexts};const c=Tn(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r=we(),o=kt()){return h&&pe(t)&&m.log(`Captured error event \`${Ht(t)[0]||"<unknown>"}\``),this._processEvent(t,n,r,o).then(s=>s.event_id,s=>{h&&(rt(s)?m.log(s.message):nt(s)?m.warn(s.message):m.warn(s))})}_processEvent(t,n,r,o){const s=this.getOptions(),{sampleRate:i}=s,a=Wt(t),c=pe(t),f=`before send for type \`${t.type||"error"}\``,d=typeof i>"u"?void 0:Xn(i);if(c&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error"),wt(ie(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));const g=st(t.type);return this._prepareEvent(t,n,r,o).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",g),ie("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return p;const j=Mr(this,s,p,n);return Or(j,f)}).then(p=>{var Ce;if(p===null){if(this.recordDroppedEvent("before_send",g),a){const ne=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",ne)}throw ie(`${f} returned \`null\`, will not send event.`)}const I=r.getSession()||o.getSession();if(c&&I&&this._updateSessionFromEvent(I,p),a){const W=((Ce=p.sdkProcessingMetadata)==null?void 0:Ce.spanCountBeforeProcessing)||0,ne=p.spans?p.spans.length:0,Le=W-ne;Le>0&&this.recordDroppedEvent("before_send","span",Le)}const j=p.transaction_info;if(a&&j&&p.transaction!==t.transaction){const W="custom";p.transaction_info={...j,source:W}}return this.sendEvent(p,n),p}).then(null,p=>{throw rt(p)||nt(p)?p:(this.captureException(p,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:p}),X(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 7Reason: ${p}`))})}_process(t,n){this._numProcessing++,this._promiseBuffer.add(t).then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r===De&&this.recordDroppedEvent("queue_overflow",n),r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[o,s]=n.split(":");return{reason:o,category:s,quantity:r}})}_flushOutcomes(){h&&m.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){h&&m.log("No outcomes to send");return}if(!this._dsn){h&&m.log("No dsn provided, will not send outcomes");return}h&&m.log("Sending outcomes:",t);const n=Tr(t,this._options.tunnel&&U(this._dsn));this.sendEnvelope(n)}}function st(e){return e==="replay_event"?"replay":e||"error"}function Or(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Dn(e))return e.then(r=>{if(!ue(r)&&r!==null)throw X(n);return r},r=>{throw X(`${t} rejected with ${r}`)});if(!ue(e)&&e!==null)throw X(n);return e}function Mr(e,t,n,r){const{beforeSend:o,beforeSendTransaction:s,beforeSendSpan:i,ignoreSpans:a}=t;let c=n;if(pe(c)&&o)return o(c,r);if(Wt(c)){if(i||a){const u=kr(c);if(a!=null&&a.length&&Je(u,a))return null;if(i){const f=i(u);f?c=kn(n,Dr(f)):Ae()}if(c.spans){const f=[],d=c.spans;for(const p of d){if(a!=null&&a.length&&Je(p,a)){Jn(d,p);continue}if(i){const I=i(p);
7I?f.push(I):(Ae(),f.push(p))}else f.push(p)}const g=c.spans.length-f.length;g&&e.recordDroppedEvent("before_send","span",g),c.spans=f}}if(s){if(c.spans){const u=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:u}}return s(c,r)}}return c}function pe(e){return e.type===void 0}function Wt(e){return e.type==="transaction"}function Cr(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+qt(e.attributes)}function Lr(e){let t=0;return e.message&&(t+=e.message.length*2),t+qt(e.attributes)}function qt(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*it(n[0]):Q(n)?t+=it(n):t+=100}),t}function it(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function Fr(e,t){t.debug===!0&&(h?m.enable():Re(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),we().update(t.initialScope);const r=new e(t);return Pr(r),r.init(),r}function Pr(e){we().setClient(e)}function ae(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function $r(e){var t;"aggregates"in e?((t=e.attrs)==null?void 0:t.ip_address)===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function zt(e,t,n=[t],r="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map(s=>({name:`${r}:@sentry/${s}`,version:Be})),version:Be}),e._metadata=o}const Ar=100;function D(e,t){const n=w(),r=kt();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=Ar}=n.getOptions();if(s<=0)return;const a={timestamp:Rt(),...e},c=o?Re(()=>o(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,s))}let at;const Br="FunctionToString",ct=new WeakMap,Hr=()=>({name:Br,setupOnce(){at=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=Ie(this),n=ct.has(w())&&t!==void 0?t:this;
vendor: 10,558 bytes, lines 7-14
7return at.apply(n,e)}}catch{}},setup(e){ct.set(e,!0)}}),Ur=Hr,jr=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],Wr="EventFilters",qr=(e={})=>{let t;return{name:Wr,setup(n){const r=n.getOptions();t=ut(e,r)},processEvent(n,r,o){if(!t){const s=o.getOptions();t=ut(e,s)}return Gr(n,t)?null:n}}},zr=(e={})=>({...qr(e),name:"InboundFilters"});function ut(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:jr],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Gr(e,t){if(e.type){if(e.type==="transaction"&&Xr(e,t.ignoreTransactions))return h&&m.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 8Event: ${T(e)}`),!0}else{if(Yr(e,t.ignoreErrors))return h&&m.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 9Event: ${T(e)}`),!0;if(Zr(e))return h&&m.warn(`Event dropped due to not having an error message, error type or stacktrace. 10Event: ${T(e)}`),!0;if(Jr(e,t.denyUrls))return h&&m.warn(`Event dropped due to being matched by \`denyUrls\` option. 11Event: ${T(e)}. 12Url: ${V(e)}`),!0;if(!Kr(e,t.allowUrls))return h&&m.warn(`Event dropped due to not being matched by \`allowUrls\` option. 13Event: ${T(e)}. 14Url: ${V(e)}`),!0}return!1}function Yr(e,t){return t!=null&&t.length?Ht(e).some(n=>ee(n,t)):!1}function Xr(e,t){if(!(t!=null&&t.length))return!1;const n=e.transaction;return n?ee(n,t):!1}function Jr(e,t){if(!(t!=null&&t.length))return!1;const n=V(e);return n?ee(n,t):!1}function Kr(e,t){if(!(t!=null&&t.length))return!0;const n=V(e);return n?ee(n,t):!0}function Vr(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function V(e){var t,n;try{const r=[...((t=e.exception)==null?void 0:t.values)??[]].reverse().find(s=>{var i,a,c;return((i=s.mechanism)==null?void 0:i.parent_id)===void 0&&((c=(a=s.stacktrace)==null?void 0:a.frames)==null?void 0:c.length)}),o=(n=r==null?void 0:r.stacktrace)==null?void 0:n.frames;return o?Vr(o):null}catch{return h&&m.error(`Cannot extract url for event ${T(e)}`),null}}function Zr(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)!=null&&n.length?!e.message&&!e.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function Qr(e,t,n,r,o,s){var a;if(!((a=o.exception)!=null&&a.values)||!s||!le(s.originalException,Error))return;const i=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;i&&(o.exception.values=me(e,t,r,s.originalException,n,o.exception.values,i,0))}function me(e,t,n,r,o,s,i,a){if(s.length>=n+1)return s;let c=[...s];if(le(r[o],Error)){lt(i,a);const u=e(t,r[o]),f=c.length;ft(u,o,f,a),c=me(e,t,n,r[o],o,[u,...c],u,f)}return Array.isArray(r.errors)&&r.errors.forEach((u,f)=>{if(le(u,Error)){lt(i,a);const d=e(t,u),g=c.length;ft(d,`errors[${f}]`,g,a),c=me(e,t,n,u,o,[d,...c],d,g)}}),c}function lt(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function ft(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function eo(e){const t="console";x(t,e),N(t,to)}function to(){"console"in E&&xn.forEach(function(e){e in E.console&&S(E.console,e,function(t){return He[e]=t,function(...n){R("console",{args:n,level:e});const o=He[e];o==null||o.apply(E.console,n)}})})}function no(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const ro="Dedupe",oo=()=>{let e;return{name:ro,processEvent(t){if(t.type)return t;try{if(io(t,e))return h&&m.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},so=oo;function io(e,t){return t?!!(ao(e,t)||co(e,t)):!1}function ao(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Yt(e,t)||!Gt(e,t))}function co(e,t){const n=dt(t),r=dt(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Yt(e,t)||!Gt(e,t))}function Gt(e,t){let n=Ue(e),r=Ue(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let o=0;o<r.length;o++){const s=r[o],i=n[o];if(s.filename!==i.filename||s.lineno!==i.lineno||s.colno!==i.colno||s.function!==i.function)return!1}return!0}function Yt(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function dt(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}function Xt(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const H=E;function uo(){return"history"in H&&!!H.history}function lo(){if(!("fetch"in H))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function he(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function fo(){var n;if(typeof EdgeRuntime=="string")return!0;if(!lo())return!1;if(he(H.fetch))return!0;let e=!1;const t=H.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(e=he(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){h&&m.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function po(e,t){const n="fetch";x(n,e),N(n,()=>mo(void 0,t))}function mo(e,t=!1){t&&!fo()||S(E,"fetch",function(n){return function(...r){const o=new Error,{method:s,url:i}=ho(r),a={args:r,fetchData:{method:s,url:i},startTimestamp:M()*1e3,virtualError:o,headers:go(r)};return R("fetch",{...a}),n.apply(E,r).then(async c=>(R("fetch",{...a,endTimestamp:M()*1e3,response:c}),c),c=>{if(R("fetch",{...a,endTimestamp:M()*1e3,error:c}),xt(c)&&c.stack===void 0&&(c.stack=o.stack,K(c,"framesToPop",1)),c instanceof TypeError&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const u=new URL(a.fetchData.url);c.message=`${c.message} (${u.host})`}catch{}throw c})}})}function ge(e,t){return!!e&&typeof e=="object"&&!!e[t]}function pt(e){return typeof e=="string"?e:e?ge(e,"url")?e.url:e.toString?e.toString():"":""}function ho(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:pt(n),method:ge(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:pt(t),method:ge(t,"method")?String(t.method).toUpperCase():"GET"}}function go(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Nn(t))return new Headers(t.headers)}catch{}}function _o(){return"npm"}const _=E;let _e=0;function Jt(){return _e>0}function yo(){_e++,setTimeout(()=>{_e--})}function L(e,t={}){function n(o){return typeof o=="function"}if(!n(e))return e;try{const o=e.__sentry_wrapped__;if(o)return typeof o=="function"?o:e;if(Ie(e))return e}catch{return e}const r=function(...o){try{const s=o.map(i=>L(i,t));return e.apply(this,s)}catch(s){throw yo(),Mn(i=>{i.addEventProcessor(a=>(t.mechanism&&(fe(a,void 0),B(a,t.mechanism)),a.extra={...a.extra,arguments:o},a)),Cn(s)}),s}};try{for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}catch{}On(r,e),K(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Eo(){const e=Te(),{referrer:t}=_.document||{},{userAgent:n}=_.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function Ne(e,t){const n=Oe(e,t),r={type:Ro(t),value:Io(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function vo(e,t,n,r){const o=w(),s=o==null?void 0:o.getOptions().normalizeDepth,i=No(t),a={__serialized__:Fn(t,s)};if(i)return{exception:{values:[Ne(e,i)]},extra:a};const c={exception:{values:[{type:ke(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Do(t,{isUnhandledRejection:r})}]},extra:a};if(n){const u=Oe(e,n);u.length&&(c.exception.values[0].stacktrace={frames:u})}return c}function ce(e,t){return{exception:{values:[Ne(e,t)]}}}function Oe(e,t){const n=t.stacktrace||t.stack||"",r=So(t),o=wo(t);try{return e(n,r,o)}catch{}return[]}const bo=/Minified React error #\d+;/i;function So(e){return e&&bo.test(e.message)?1:0}function wo(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function Kt(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function Ro(e){const t=e==null?void 0:e.name;return!t&&Kt(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function Io(e){const t=e==null?void 0:e.message;return Kt(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function To(e,t,n,r){const o=(n==null?void 0:n.syntheticException)||void 0,s=Me(e,t,o,r);return B(s),s.level="error",n!=null&&n.event_id&&(s.event_id=n.event_id),Se(s)}function ko(e,t,n="info",r,o){const s=(r==null?void 0:r.syntheticException)||void 0,i=ye(e,t,s,o);return i.level=n,r!=null&&r.event_id&&(i.event_id=r.event_id),Se(i)}function Me(e,t,n,r,o){let s;if(Nt(t)&&t.error)return ce(e,t.error);if(je(t)||Ln(t)){const i=t;if("stack"in t)s=ce(e,t);else{const a=i.name||(je(i)?"DOMError":"DOMException"),c=i.message?`${a}: ${i.message}`:a;s=ye(e,c,n,r),fe(s,c)}return"code"in i&&(s.tags={...s.tags,"DOMException.code":`${i.code}`}),s}return xt(t)?ce(e,t):ue(t)||ke(t)?(s=vo(e,t,n,o),B(s,{synthetic:!0}),s):(s=ye(e,t,n,r),fe(s,`${t}`),B(s,{synthetic:!0}),s)}function ye(e,t,n,r){const o={};if(r&&n){const s=Oe(e,n);s.length&&(o.exception={values:[{value:t,stacktrace:{frames:s}}]}),B(o,{synthetic:!0})}
14if(Dt(t)){const{__sentry_template_string__:s,__sentry_template_values__:i}=t;return o.logentry={message:s,params:i},o}return o.message=t,o}function Do(e,{isUnhandledRejection:t}){const n=Pn(e),r=t?"promise rejection":"exception";return Nt(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:ke(e)?`Event \`${xo(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function xo(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function No(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}class Oo extends Nr{constructor(t){var f;const n=Mo(t),r=_.SENTRY_SDK_SOURCE||_o();zt(n,"browser",["browser"],r),(f=n._metadata)!=null&&f.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);const{sendDefaultPii:o,sendClientReports:s,enableLogs:i,_experiments:a,enableMetrics:c}=this._options,u=c??(a==null?void 0:a.enableMetrics)??!0;_.document&&(s||i||u)&&_.document.addEventListener("visibilitychange",()=>{_.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),i&&Ft(this),u&&$t(this))}),o&&this.on("beforeSendSession",$r)}eventFromException(t,n){return To(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return ko(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,o){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,o)}}function Mo(e){var t;return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(t=_.SENTRY_RELEASE)==null?void 0:t.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const Co=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,b=E,Lo=1e3;let mt,Ee,ve;function Fo(e){const t="dom";x(t,e),N(t,Po)}function Po(){if(!b.document)return;const e=R.bind(null,"dom"),t=ht(e,!0);b.document.addEventListener("click",t,!1),b.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var s,i;const o=(s=b[n])==null?void 0:s.prototype;(i=o==null?void 0:o.hasOwnProperty)!=null&&i.call(o,"addEventListener")&&(S(o,"addEventListener",function(a){return function(c,u,f){if(c==="click"||c=="keypress")try{const d=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},g=d[c]=d[c]||{refCount:0};if(!g.handler){const p=ht(e);g.handler=p,a.call(this,c,p,f)}g.refCount++}catch{}return a.call(this,c,u,f)}}),S(o,"removeEventListener",function(a){return function(c,u,f){if(c==="click"||c=="keypress")try{const d=this.__sentry_instrumentation_handlers__||{},g=d[c];g&&(g.refCount--,g.refCount<=0&&(a.call(this,c,g.handler,f),g.handler=void 0,delete d[c]),Object.keys(d).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return a.call(this,c,u,f)}}))})}function $o(e){if(e.type!==Ee)return!1;try{if(!e.target||e.target._sentryId!==ve)return!1}catch{}return!0}function Ao(e,t){return e!=="keypress"?!1:t!=null&&t.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function ht(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Bo(n);if(Ao(n.type,r))return;K(n,"_sentryCaptured",!0),r&&!r._sentryId&&K(r,"_sentryId",G());const o=n.type==="keypress"?"input":n.type;$o(n)||(e({event:n,name:o,global:t}),Ee=n.type,ve=r?r._sentryId:void 0),clearTimeout(mt),mt=b.setTimeout(()=>{ve=void 0,Ee=void 0},Lo)}}function Bo(e){try{return e.target}catch{return null}}let q;function Vt(e){const t="history";x(t,e),N(t,Ho)}function Ho(){if(b.addEventListener("popstate",()=>{const t=b.location.href,n=q;if(q=t,n===t)return;R("history",{from:n,to:t})}),!uo())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const o=q,s=Uo(String(r));if(q=s,o===s)return t.apply(this,n);R("history",{from:o,to:s})}return t.apply(this,n)}}S(b.history,"pushState",e),S(b.history,"replaceState",e)}function Uo(e){try{return new URL(e,b.location.origin).toString()}catch{return e}}const J={};function jo(e){const t=J[e];if(t)return t;let n=b[e];if(he(n))return J[e]=n.bind(b);const r=b.document;if(r&&typeof r.createElement=="function")try{const o=r.createElement("iframe");o.hidden=!0,r.head.appendChild(o);const s=o.contentWindow;s!=null&&s[e]&&(n=s[e]),r.head.removeChild(o)}catch(o){Co&&m.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,o)}return n&&(J[e]=n.bind(b))}function Wo(e){J[e]=void 0}const $="__sentry_xhr_v3__";function qo(e){const t="xhr";x(t,e),N(t,zo)}function zo(){if(!b.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const o=new Error,s=M()*1e3,i=A(r[0])?r[0].toUpperCase():void 0,a=Go(r[1]);if(!i||!a)return t.apply(n,r);
14n[$]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[$];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const f={endTimestamp:M()*1e3,startTimestamp:s,xhr:n,virtualError:o};R("xhr",f)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,d){return c(),u.apply(f,d)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,d){const[g,p]=d,I=f[$];return I&&A(g)&&A(p)&&(I.request_headers[g.toLowerCase()]=p),u.apply(f,d)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const o=n[$];if(!o)return t.apply(n,r);r[0]!==void 0&&(o.body=r[0]);const s={startTimestamp:M()*1e3,xhr:n};return R("xhr",s),t.apply(n,r)}})}function Go(e){if(A(e))return e;try{return e.toString()}catch{}}const Yo=40;function Xo(e,t=jo("fetch")){let n=0,r=0;async function o(s){const i=s.body.length;n+=i,r++;const a={body:s.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{const c=await t(e.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw Wo("fetch"),c}finally{n-=i,r--}}return Ir(e,o,xe(e.bufferSize||Yo))}const te=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Jo=30,Ko=50;function be(e,t,n,r){const o={filename:e,function:t==="<anonymous>"?C:t,in_app:!0};return n!==void 0&&(o.lineno=n),r!==void 0&&(o.colno=r),o}const Vo=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Zo=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Qo=/\((\S*)(?::(\d+))(?::(\d+))\)/,es=/at (.+?) ?\(data:(.+?),/,ts=e=>{const t=e.match(es);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=Vo.exec(e);if(n){const[,o,s,i]=n;return be(o,C,+s,+i)}const r=Zo.exec(e);if(r){if(r[2]&&r[2].indexOf("eval")===0){const a=Qo.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[s,i]=Zt(r[1]||C,r[2]);return be(i,s,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},ns=[Jo,ts],rs=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,os=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ss=e=>{const t=rs.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const s=os.exec(t[3]);s&&(t[1]=t[1]||"eval",t[3]=s[1],t[4]=s[2],t[5]="")}let r=t[3],o=t[1]||C;return[o,r]=Zt(o,r),be(r,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},is=[Ko,ss],as=[ns,is],cs=$n(...as),Zt=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:C,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},z=1024,us="Breadcrumbs",ls=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:us,setup(n){t.console&&eo(ms(n)),t.dom&&Fo(ps(n,t.dom)),t.xhr&&qo(hs(n)),t.fetch&&po(gs(n)),t.history&&Vt(_s(n)),t.sentry&&n.on("beforeSendEvent",ds(n))}}},fs=ls;function ds(e){return function(n){w()===e&&D({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:T(n)},{event:n})}}function ps(e,t){return function(r){if(w()!==e)return;let o,s,i=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>z&&(te&&m.warn(`\`dom.maxStringLength\` cannot exceed ${z}, but a value of ${a} was configured. Sentry will use ${z} instead.`),a=z),typeof i=="string"&&(i=[i]);try{const u=r.event,f=ys(u)?u.target:u;o=An(f,{keyAttrs:i,maxStringLength:a}),s=Bn(f)}catch{o="<unknown>"}if(o.length===0)return;const c={category:`ui.${r.name}`,message:o};s&&(c.data={"ui.component_name":s}),D(c,{event:r.event,name:r.name,global:r.global})}}function ms(e){return function(n){if(w()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:no(n.level),message:We(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${We(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;D(r,{input:n.args,level:n.level})}}function hs(e){return function(n){if(w()!==e)return;const{startTimestamp:r,endTimestamp:o}=n,s=n.xhr[$];if(!r||!o||!s)return;const{method:i,url:a,status_code:c,body:u}=s,f={method:i,url:a,status_code:c},d={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:o},g={category:"xhr",data:f,type:"http",level:Xt(c)};e.emit("beforeOutgoingRequestBreadcrumb",g,d),D(g,d)}}function gs(e){return function(n){if(w()!==e)return;const{startTimestamp:r,endTimestamp:o}=n;
vendor: 5,082 bytes, line 14
14if(o&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const s=n.fetchData,i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:o},a={category:"fetch",data:s,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,i),D(a,i)}else{const s=n.response,i={...n.fetchData,status_code:s==null?void 0:s.status};n.fetchData.request_body_size,n.fetchData.response_body_size,s==null||s.status;const a={input:n.args,response:s,startTimestamp:r,endTimestamp:o},c={category:"fetch",data:i,type:"http",level:Xt(i.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),D(c,a)}}}function _s(e){return function(n){if(w()!==e)return;let r=n.from,o=n.to;const s=ae(_.location.href);let i=r?ae(r):void 0;const a=ae(o);i!=null&&i.path||(i=s),s.protocol===a.protocol&&s.host===a.host&&(o=a.relative),s.protocol===i.protocol&&s.host===i.host&&(r=i.relative),D({category:"navigation",data:{from:r,to:o}})}}function ys(e){return!!e&&!!e.target}const Es=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],vs="BrowserApiErrors",bs=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:vs,setupOnce(){t.setTimeout&&S(_,"setTimeout",gt),t.setInterval&&S(_,"setInterval",gt),t.requestAnimationFrame&&S(_,"requestAnimationFrame",ws),t.XMLHttpRequest&&"XMLHttpRequest"in _&&S(XMLHttpRequest.prototype,"send",Rs);const n=t.eventTarget;n&&(Array.isArray(n)?n:Es).forEach(o=>Is(o,t))}}},Ss=bs;function gt(e){return function(...t){const n=t[0];return t[0]=L(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${k(e)}`}}),e.apply(this,t)}}function ws(e){return function(t){return e.apply(this,[L(t,{mechanism:{data:{handler:k(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Rs(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in n&&typeof n[o]=="function"&&S(n,o,function(s){const i={mechanism:{data:{handler:k(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${o}`}},a=Ie(s);return a&&(i.mechanism.data.handler=k(a)),L(s,i)})}),e.apply(this,t)}}function Is(e,t){var o,s;const r=(o=_[e])==null?void 0:o.prototype;(s=r==null?void 0:r.hasOwnProperty)!=null&&s.call(r,"addEventListener")&&(S(r,"addEventListener",function(i){return function(a,c,u){try{Ts(c)&&(c.handleEvent=L(c.handleEvent,{mechanism:{data:{handler:k(c),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&ks(this,a,c),i.apply(this,[a,L(c,{mechanism:{data:{handler:k(c),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),u])}}),S(r,"removeEventListener",function(i){return function(a,c,u){try{const f=c.__sentry_wrapped__;f&&i.call(this,a,f,u)}catch{}return i.call(this,a,c,u)}}))}function Ts(e){return typeof e.handleEvent=="function"}function ks(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const Ds=()=>({name:"BrowserSession",setupOnce(){if(typeof _.document>"u"){te&&m.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}qe({ignoreDuration:!0}),ze(),Vt(({from:e,to:t})=>{e!==void 0&&e!==t&&(qe({ignoreDuration:!0}),ze())})}}),xs="GlobalHandlers",Ns=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:xs,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(Ms(n),_t("onerror")),t.onunhandledrejection&&(Cs(n),_t("onunhandledrejection"))}}},Os=Ns;function Ms(e){qn(t=>{const{stackParser:n,attachStacktrace:r}=Qt();if(w()!==e||Jt())return;const{msg:o,url:s,line:i,column:a,error:c}=t,u=Ps(Me(n,c||o,void 0,r,!1),s,i,a);u.level="error",Ot(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function Cs(e){Gn(t=>{const{stackParser:n,attachStacktrace:r}=Qt();if(w()!==e||Jt())return;const o=Ls(t),s=Q(o)?Fs(o):Me(n,o,void 0,r,!0);s.level="error",Ot(s,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function Ls(e){if(Q(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function Fs(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Ps(e,t,n,r){const o=e.exception=e.exception||{},s=o.values=o.values||[],i=s[0]=s[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=r,f=n,d=$s(t)??Te();
14return c.length===0&&c.push({colno:u,filename:d,function:C,in_app:!0,lineno:f}),e}function _t(e){te&&m.log(`Global Handler attached: ${e}`)}function Qt(){const e=w();return(e==null?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function $s(e){if(!(!A(e)||e.length===0)){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/),n=t?t[1]:"text/javascript",r=e.includes("base64,");return`<data:${n}${r?",base64":""}>`}return e}}const As=()=>({name:"HttpContext",preprocessEvent(e){var r;if(!_.navigator&&!_.location&&!_.document)return;const t=Eo(),n={...t.headers,...(r=e.request)==null?void 0:r.headers};e.request={...t,...e.request,headers:n}}}),Bs="cause",Hs=5,Us="LinkedErrors",js=(e={})=>{const t=e.limit||Hs,n=e.key||Bs;return{name:Us,preprocessEvent(r,o,s){const i=s.getOptions();Qr(Ne,i.stackParser,n,t,r,o)}}},Ws=js;function qs(){return zs()?(te&&Re(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function zs(){var s;if(typeof _.window>"u")return!1;const e=_;if(e.nw)return!1;const t=e.chrome||e.browser;if(!((s=t==null?void 0:t.runtime)!=null&&s.id))return!1;const n=Te(),r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(_===_.top&&r.some(i=>n.startsWith(`${i}://`)))}function Gs(e){return[zr(),Ur(),Ss(),fs(),Os(),Ws(),so(),As(),Ds()]}function Ys(e={}){const t=!e.skipBrowserExtensionCheck&&qs();let n=e.defaultIntegrations==null?Gs():e.defaultIntegrations;const r={...e,enabled:t?!1:e.enabled,stackParser:Hn(e.stackParser||cs),integrations:dr({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Xo};return Fr(Oo,r)}function Xs(e){const t={...e};return zt(t,"react"),Un("react",{version:v.version}),Ys(t)}[...rn];new TextEncoder;(class extends y.Component{constructor(e){super(e),this.state={error:null,location:e.location}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:null,location:e.location}:{error:t.error,location:t.location}}render(){return this.state.error?y.createElement(Js,{error:this.state.error,renderAppShell:!0}):this.props.children}});function yt({renderAppShell:e,title:t,children:n}){return e?y.createElement("html",{lang:"en"},y.createElement("head",null,y.createElement("meta",{charSet:"utf-8"}),y.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),y.createElement("title",null,t)),y.createElement("body",null,y.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},n))):n}function Js({error:e,renderAppShell:t}){console.error(e);let n=y.createElement("script",{dangerouslySetInnerHTML:{__html:` 15 console.log( 16 "ð¿ Hey developer ð. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information." 17 ); 18 `}});if(on(e))return y.createElement(yt,{renderAppShell:t,title:"Unhandled Thrown Response!"},y.createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),n);let r;if(e instanceof Error)r=e;else{let o=e==null?"Unknown Error":typeof e=="object"&&"toString"in e?e.toString():JSON.stringify(e);r=new Error(o)}return y.createElement(yt,{renderAppShell:t,title:"Application Error!"},y.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),y.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),n)}function Ks(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new nn(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let s=window[o.__subType];if(typeof s=="function")try{let i=new s(o.message);i.stack=o.stack,n[r]=i}catch{}}if(n[r]==null){let s=new Error(o.message);s.stack=o.stack,n[r]=s}}else n[r]=o;return n}function Vs({state:e,routes:t,getRouteInfo:n,location:r,basename:o,isSpaMode:s}){let i={...e,loaderData:{...e.loaderData}},a=en(t,r,o);if(a)for(let c of a){let u=c.route.id,f=n(u);tn(u,f.clientLoader,f.hasLoader,s)&&(f.hasHydrateFallback||!f.hasLoader)?delete i.loaderData[u]:f.hasLoader||(i.loaderData[u]=null)}return i}function Zs(e){return v.createElement(un,{flushSync:bt.flushSync,...e})}var l=null,P=null;function Qs(){if(!l&&window.__reactRouterContext&&window.__reactRouterManifest&&window.__reactRouterRouteModules){if(window.__reactRouterManifest.sri===!0){const e=document.querySelector("script[rr-importmap]");if(e!=null&&e.textContent)try{window.__reactRouterManifest.sri=JSON.parse(e.textContent).integrity}catch(t){console.error("Failed to parse import map",t)}}l={context:window.__reactRouterContext,manifest:window.__reactRouterManifest,routeModules:window.__reactRouterRouteModules,stateDecodingPromise:void 0,router:void 0,routerInitialized:!1}}}function ei({getContext:e,unstable_instrumentations:t}){var i,a;if(Qs(),!l)throw new Error("You must be using the SSR features of React Router in order to skip passing a `router` prop to `<
18RouterProvider>`");let n=l;if(!l.stateDecodingPromise){let c=l.context.stream;vt(c,"No stream found for single fetch decoding"),l.context.stream=void 0,l.stateDecodingPromise=ln(c,window).then(u=>{l.context.state=u.value,n.stateDecodingPromise.value=!0}).catch(u=>{n.stateDecodingPromise.error=u})}if(l.stateDecodingPromise.error)throw l.stateDecodingPromise.error;if(!l.stateDecodingPromise.value)throw l.stateDecodingPromise;let r=fn(l.manifest.routes,l.routeModules,l.context.state,l.context.ssr,l.context.isSpaMode),o;if(l.context.isSpaMode){let{loaderData:c}=l.context.state;(i=l.manifest.routes.root)!=null&&i.hasLoader&&c&&"root"in c&&(o={loaderData:{root:c.root}})}else o=Vs({state:l.context.state,routes:r,getRouteInfo:c=>{var u,f,d;return{clientLoader:(u=l.routeModules[c])==null?void 0:u.clientLoader,hasLoader:((f=l.manifest.routes[c])==null?void 0:f.hasLoader)===!0,hasHydrateFallback:((d=l.routeModules[c])==null?void 0:d.HydrateFallback)!=null}},location:window.location,basename:(a=window.__reactRouterContext)==null?void 0:a.basename,isSpaMode:l.context.isSpaMode}),o&&o.errors&&(o.errors=Ks(o.errors));let s=dn({routes:r,history:hn(),basename:l.context.basename,getContext:e,hydrationData:o,hydrationRouteProperties:yn,unstable_instrumentations:t,mapRouteProperties:_n,future:{middleware:l.context.future.v8_middleware},dataStrategy:mn(()=>s,l.manifest,l.routeModules,l.context.ssr,l.context.basename,l.context.future.unstable_trailingSlashAwareDataRequests),patchRoutesOnNavigation:pn(l.manifest,l.routeModules,l.context.ssr,l.context.routeDiscovery,l.context.isSpaMode,l.context.basename)});return l.router=s,s.state.initialized&&(l.routerInitialized=!0,s.initialize()),s.createRoutesForHMR=gn,window.__reactRouterDataRouter=s,s}function ti(e){P||(P=ei({getContext:e.getContext,unstable_instrumentations:e.unstable_instrumentations}));let[t,n]=v.useState(void 0);v.useEffect(()=>{},[]),v.useEffect(()=>{},[t]);let[r,o]=v.useState(P.state.location);return v.useLayoutEffect(()=>{l&&l.router&&!l.routerInitialized&&(l.routerInitialized=!0,l.router.initialize())},[]),v.useLayoutEffect(()=>{if(l&&l.router)return l.router.subscribe(s=>{s.location!==r&&o(s.location)})},[r]),vt(l,"ssrInfo unavailable for HydratedRouter"),sn(P,l.manifest,l.routeModules,l.context.ssr,l.context.routeDiscovery,l.context.isSpaMode),v.createElement(v.Fragment,null,v.createElement(an.Provider,{value:{manifest:l.manifest,routeModules:l.routeModules,future:l.context.future,criticalCss:t,ssr:l.context.ssr,isSpaMode:l.context.isSpaMode,routeDiscovery:l.context.routeDiscovery}},v.createElement(cn,{location:r},v.createElement(Zs,{router:P,unstable_useTransitions:e.unstable_useTransitions,onError:e.onError}))),v.createElement(v.Fragment,null))}function ni(){if(typeof Node!="function"||!Node.prototype)return;const e=Node.prototype.removeChild;Node.prototype.removeChild=function(n){return n.parentNode!==this?(console.error("translateDomGuard: removeChild auf fremden Parent unterdrückt",n),n):e.call(this,n)};const t=Node.prototype.insertBefore;Node.prototype.insertBefore=function(n,r){return r&&r.parentNode!==this?(console.error("translateDomGuard: insertBefore vor fremdem Referenzknoten unterdrückt",r),n):t.call(this,n,r)}}ni();jn();Wn();const Et=()=>{if(typeof window>"u")return!1;const e=window.location.hostname;return e==="localhost"||e.endsWith(".lovable.app")};En.sentry&&O.sentry.dsn&&Xs({dsn:O.sentry.dsn,sendDefaultPii:!0,tracesSampleRate:0,environment:O.sentry.environment,initialScope:{tags:{vertical:O.slug,vertical_name:O.name,domain:O.appUrl.replace(/^https?:\/\//,"")}},beforeSend(e){return Et()?null:e},beforeSendTransaction(e){return Et()?null:e}});window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),window.deferredPrompt=e});const Z="chunk_reload_attempted";window.addEventListener("error",e=>{var n;((n=e.message)==null?void 0:n.includes("Failed to fetch dynamically imported module"))&&(sessionStorage.getItem(Z)||(sessionStorage.setItem(Z,"true"),window.location.reload()))});window.addEventListener("unhandledrejection",e=>{var n,r;((r=(n=e.reason)==null?void 0:n.message)==null?void 0:r.includes("Failed to fetch dynamically imported module"))&&(sessionStorage.getItem(Z)||(sessionStorage.setItem(Z,"true"),window.location.reload()))});const ri=Mt(document);ri.render(Fe.jsx(y.StrictMode,{children:Fe.jsx(ti,{})}));
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.