PageSourceSearch

https://notaup.pl/assets/vendor-sentry-browser-C1d1E0cH.js

js notaup.pl collected 2026-10-05 00:55:27 UTC 23,027 bytes, 6 lines download raw bytes

vendor: 13,792 bytes, lines 1-3
1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="48b9b544-25e0-57b6-be57-fa8e86df7510")}catch(e){}}();
3import{G as Se,g as be,m as Ge,a as Te,w as Xe,b as Y,c as L,d as Ye,r as ve,i as Ie,e as oe,f as ze,h as Ke,j as Ve,k as Q,l as Je,n as h,o as Qe,p as Ze,C as et,q as tt,s as nt,t as rt,u as at,v as st,x as ie,y as ot,U as k,z as P,A as it,B as Re,D as I,E as ct,F as S,H as ut,I as dt,J as ke,K as N,L as pt,M as ce,N as v,O,P as ue,Q as de,R as ft,S as Oe,T as lt,V as Ae,W as mt,X as C,Y as gt,Z as ht,_ as _t,$ as yt,a0 as Et,a1 as St,a2 as bt,a3 as Tt,a4 as vt,a5 as It,a6 as Rt,a7 as H,a8 as pe,a9 as kt,aa as Pe,ab as Ot,ac as z,ad as At,ae as Pt,af as xt,ag as Z,ah as D,ai as wt,aj as Nt,ak as Ft,al as Lt,am as fe,an as F,ao as Ht,ap as Ct,aq as w,ar as xe,as as qt,at as Mt,au as Bt}from"./vendor-sentry-core-ADDdjz9S.js";import{g as Ut,c as le,a as jt,b as we,d as ee,S as Ne,e as $t,f as Wt,s as Dt,h as Gt,i as Xt,j as Yt,k as zt,r as Kt,l as Vt}from"./vendor-sentry-internal-browser-utils-OVwYUY6C.js";const d=Se;let K=0;function Fe(){return K>0}function Jt(){K++,setTimeout(()=>{K--})}function A(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(be(e))return e}catch{return e}const r=function(...s){try{const a=s.map(o=>A(o,t));return e.apply(this,a)}catch(a){throw Jt(),Xe(o=>{o.addEventProcessor(i=>(t.mechanism&&(Y(i,void 0),L(i,t.mechanism)),i.extra={...i.extra,arguments:s},i)),Ye(a)}),a}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}Ge(r,e),Te(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function te(e,t){const n=ne(e,t),r={type:nn(t),value:rn(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function Qt(e,t,n,r){const a=h()?.getOptions().normalizeDepth,o=un(t),i={__serialized__:Qe(t,a)};if(o)return{exception:{values:[te(e,o)]},extra:i};const c={exception:{values:[{type:Q(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:on(t,{isUnhandledRejection:r})}]},extra:i};if(n){const p=ne(e,n);p.length&&(c.exception.values[0].stacktrace={frames:p})}return c}function G(e,t){return{exception:{values:[te(e,t)]}}}function ne(e,t){const n=t.stacktrace||t.stack||"",r=en(t),s=tn(t);try{return e(n,r,s)}catch{}return[]}const Zt=/Minified React error #\d+;/i;function en(e){return e&&Zt.test(e.message)?1:0}function tn(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function Le(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function nn(e){const t=e?.name;return!t&&Le(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function rn(e){const t=e?.message;return Le(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 an(e,t,n,r){const s=n?.syntheticException||void 0,a=re(e,t,s,r);return L(a),a.level="error",n?.event_id&&(a.event_id=n.event_id),ve(a)}function sn(e,t,n="info",r,s){const a=r?.syntheticException||void 0,o=V(e,t,a,s);return o.level=n,r?.event_id&&(o.event_id=r.event_id),ve(o)}function re(e,t,n,r,s){let a;if(Ie(t)&&t.error)return G(e,t.error);if(oe(t)||ze(t)){const o=t;if("stack"in t)a=G(e,t);else{const i=o.name||(oe(o)?"DOMError":"DOMException"),c=o.message?`${i}: ${o.message}`:i;a=V(e,c,n,r),Y(a,c)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":`${o.code}`}),a}return Ke(t)?G(e,t):Ve(t)||Q(t)?(a=Qt(e,t,n,s),L(a,{synthetic:!0}),a):(a=V(e,t,n,r),Y(a,`${t}`),L(a,{synthetic:!0}),a)}function V(e,t,n,r){const s={};if(r&&n){const a=ne(e,n);a.length&&(s.exception={values:[{value:t,stacktrace:{frames:a}}]}),L(s,{synthetic:!0})}if(Je(t)){const{__sentry_template_string__:a,__sentry_template_values__:o}=t;return s.logentry={message:a,params:o},s}return s.message=t,s}function on(e,{isUnhandledRejection:t}){const n=Ze(e),r=t?"promise rejection":"exception";return Ie(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Q(e)?`Event \`${cn(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function cn(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function un(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}class dn extends et{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=d.SENTRY_SDK_SOURCE||at();tt(n,"browser",["browser"],r),super(n),n.sendClientReports&&d.document&&d.document.addEventListener("visibilitychange",()=>{d.document.visibilityState==="hidden"&&this._flushOutcomes()}),this._options.sendDefaultPii&&(this.on("postprocessEvent",nt),this.on("beforeSendSession",rt))}eventFromException(t,n){return an(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return sn(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,s){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,s)}}function pn(e,t=Ut("fetch")){let n=0,r=0;function s(a){const o=a.body.length;n+=o,r++;const i={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return le("fetch"),ie("No fetch implementation available");try{return t(e.url,i).then(c=>(n-=o,r--,{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}))}catch(c){return le("fetch"),n-=o,r--,ie(c)}}return st(e,s)}const fn=30,ln=50;function J(e,t,n,r){const s={filename:e,function:t==="<anonymous>"?k:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const mn=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,gn=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,hn=/\((\S*)(?::(\d+))(?::(\d+))\)/,_n=e=>{const t=mn.exec(e);if(t){const[,r,s,a]=t;return J(r,k,+s,+a)}const n=gn.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const o=hn.exec(n[2]);o&&(n[2]=o[1],n[3]=o[2],n[4]=o[3])}const[s,a]=He(n[1]||k,n[2]);return J(a,s,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},yn=[fn,_n],En=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Sn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,bn=e=>{const t=En.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const a=Sn.exec(t[3]);a&&(t[1]=t[1]||"eval",t[3]=a[1],t[4]=a[2],t[5]="")}let r=t[3],s=t[1]||k;return[s,r]=He(s,r),J(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Tn=[ln,bn],vn=[yn,Tn],In=ot(...vn),He=(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]:k,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},y=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,B=1024,Rn="Breadcrumbs",kn=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Rn,setup(n){t.console&&it(xn(n)),t.dom&&jt(Pn(n,t.dom)),t.xhr&&we(wn(n)),t.fetch&&Re(Nn(n)),t.history&&ee(Fn(n)),t.sentry&&n.on("beforeSendEvent",An(n))}}},On=P(kn);function An(e){return function(n){h()===e&&I({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:ct(n)},{event:n})}}function Pn(e,t){return function(r){if(h()!==e)return;let s,a,o=typeof t=="object"?t.serializeAttribute:void 0,i=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;i&&i>B&&(y&&S.warn(`\`dom.maxStringLength\` cannot exceed ${B}, but a value of ${i} was configured. Sentry will use ${B} instead.`),i=B),typeof o=="string"&&(o=[o]);try{const p=r.event,m=Ln(p)?p.target:p;s=ut(m,{keyAttrs:o,maxStringLength:i}),a=dt(m)}catch{s="<unknown>"}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};a&&(c.data={"ui.component_name":a}),I(c,{event:r.event,name:r.name,global:r.global})}}function xn(e){return function(n){if(h()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:pt(n.level),message:ce(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${ce(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;I(r,{input:n.args,level:n.level})}}function wn(e){return function(n){if(h()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,a=n.xhr[Ne];if(!r||!s||!a)return;const{method:o,url:i,status_code:c,body:p}=a,m={method:o,url:i,status_code:c},u={xhr:n.xhr,input:p,startTimestamp:r,endTimestamp:s},f=ke(c);I({category:"xhr",data:m,type:"http",level:f},u)}}function Nn(e){return function(n){if(h()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(!s||n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST")return;const a={method:n.fetchData.method,url:n.fetchData.url};if(n.error){const o={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s};I({category:"fetch",data:a,level:"error",type:"http"},o)}else{const o=n.response;a.request_body_size=n.fetchData.request_body_size,a.response_body_size=n.fetchData.response_body_size,a.status_code=o?.status;const i={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c=ke(a.status_code);I({category:"fetch",data:a,type:"http",level:c},i)}}}function Fn(e){return function(n){if(h()!==e)return;let r=n.from,s=n.to;const a=N(d.location.href);let o=r?N(r):void 0;const i=N(s);o?.path||(o=a),a.protocol===i.protocol&&a.host===i.host&&(s=i.relative),a.protocol===o.protocol&&a.host===o.host&&(r=o.relative),I({category:"navigation",data:{from:r,to:s}})}}function Ln(e){return!!e&&!!e.target}const Hn=["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"],Cn="BrowserApiErrors",qn=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:Cn,setupOnce(){t.setTimeout&&v(d,"setTimeout",me),t.setInterval&&v(d,"setInterval",me),t.requestAnimationFrame&&v(d,"requestAnimationFrame",Bn),t.XMLHttpRequest&&"XMLHttpRequest"in d&&v(XMLHttpRequest.prototype,"send",Un);const n=t.eventTarget;n&&(Array.isArray(n)?n:Hn).forEach(jn)}}},Mn=P(qn);function me(e){return function(...t){const n=t[0];return t[0]=A(n,{mechanism:{data:{function:O(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Bn(e){return function(t){return e.apply(this,[A(t,{mechanism:{data:{function:"requestAnimationFrame",handler:O(e)},handled:!1,type:"instrument"}})])}}function Un(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&v(n,s,function(a){const o={mechanism:{data:{function:s,handler:O(a)},handled:!1,type:"instrument"}},i=be(a);return i&&(o.mechanism.data.handler=O(i)),A(a,o)})}),e.apply(this,t)}}function jn(e){const n=d[e]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(v(n,"addEventListener",function(r){return function(s,a,o){try{$n(a)&&(a.handleEvent=A(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:O(a),target:e},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[s,A(a,{mechanism:{data:{function:"addEventListener",handler:O(a),target:e},handled:!1,type:"instrument"}}),o])}}),v(n,"removeEventListener",function(r){return function(s,a,o){try{const i=a.__sentry_wrapped__;i&&r.call(this,s,i,o)}catch{}return r.call(this,s,a,o)}}))}function $n(e){return typeof e.handleEvent=="function"}const Wn=P(()=>({name:"BrowserSession",setupOnce(){if(typeof d.document>"u"){y&&S.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}ue({ignoreDuration:!0}),de(),ee(({from:e,to:t})=>{e!==void 0&&e!==t&&(ue({ignoreDuration:!0}),de())})}})),Dn="GlobalHandlers",Gn=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Dn,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(Yn(n),ge("onerror")),t.onunhandledrejection&&(zn(n),ge("onunhandledrejection"))}}},Xn=P(Gn);function Yn(e){ft(t=>{const{stackParser:n,attachStacktrace:r}=Ce();if(h()!==e||Fe())return;const{msg:s,url:a,line:o,column:i,error:c}=t,p=Jn(re(n,c||s,void 0,r,!1),a,o,i);p.level="error",Oe(p,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function zn(e){lt(t=>{const{stackParser:n,attachStacktrace:r}=Ce();if(h()!==e||Fe())return;const s=Kn(t),a=Ae(s)?Vn(s):re(n,s,void 0,r,!0);a.level="error",Oe(a,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function Kn(e){if(Ae(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 Vn(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Jn(e,t,n,r){const s=e.exception=e.exception||{},a=s.values=s.values||[],o=a[0]=a[0]||{},i=o.stacktrace=o.stacktrace||{},c=i.frames=i.frames||[],p=r,m=n,u=mt(t)&&t.length>0?t:C();
3return c.length===0&&c.push({colno:p,filename:u,function:k,in_app:!0,lineno:m}),e}function ge(e){y&&S.log(`Global Handler attached: ${e}`)}function Ce(){return h()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Qn=P(()=>({name:"HttpContext",preprocessEvent(e){if(!d.navigator&&!d.location&&!d.document)return;const t=e.request?.url||C(),{referrer:n}=d.document||{},{userAgent:r}=d.navigator||{},s={...e.request?.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},a={...e.request,...t&&{url:t},headers:s};e.request=a}})),Zn="cause",er=5,tr="LinkedErrors",nr=(e={})=>{const t=e.limit||er,n=e.key||Zn;return{name:tr,preprocessEvent(r,s,a){const o=a.getOptions();gt(te,o.stackParser,o.maxValueLength,n,t,r,s)}}},rr=P(nr);function ar(e){return[bt(),Tt(),Mn(),On(),Xn(),rr(),vt(),Qn(),Wn()]}function sr(e={}){return{...{defaultIntegrations:ar(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:d.SENTRY_RELEASE?.id,sendClientReports:!0},...or(e)}}function or(e){const t={};for(const n of Object.getOwnPropertyNames(e)){const r=n;e[r]!==void 0&&(t[r]=e[r])}return t}function ir(){const e=typeof d.window<"u"&&d;if(!e)return!1;const t=e.chrome?"chrome":"browser",r=e[t]?.runtime?.id,s=C()||"",a=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],o=!!r&&d===d.top&&a.some(c=>s.startsWith(`${c}//`)),i=typeof e.nw<"u";return!!r&&!o&&!i}function vr(e={}){const t=sr(e);if(!t.skipBrowserExtensionCheck&&ir()){y&&ht(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}y&&!_t()&&S.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");const n={...t,stackParser:yt(t.stackParser||In),integrations:Et(t),transport:t.transport||pn};return St(dn,n)}const he=new WeakMap,X=new Map,U={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function cr(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:a,enableHTTPTimings:o,tracePropagationTargets:i}={traceFetch:U.traceFetch,traceXHR:U.traceXHR,trackFetchStreamPerformance:U.trackFetchStreamPerformance,...t},c=typeof a=="function"?a:u=>!0,p=u=>pr(u,i),m={};n&&(e.addEventProcessor(u=>(u.type==="transaction"&&u.spans&&u.spans.forEach(f=>{if(f.op==="http.client"){const b=X.get(f.span_id);b&&(f.timestamp=b/1e3,X.delete(f.span_id))}}),u)),s&&It(u=>{if(u.response){const f=he.get(u.response);f&&u.endTimestamp&&X.set(f,u.endTimestamp)}}),Re(u=>{const f=Rt(u,c,p,m);if(u.response&&u.fetchData.__span&&he.set(u.response,u.fetchData.__span),f){const b=qe(u.fetchData.url),$=b?N(b).host:void 0;f.setAttributes({"http.url":b,"server.address":$})}o&&f&&_e(f)})),r&&we(u=>{const f=fr(u,c,p,m);o&&f&&_e(f)})}function ur(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function _e(e){const{url:t}=H(e).data;if(!t||typeof t!="string")return;const n=$t("resource",({entries:r})=>{r.forEach(s=>{ur(s)&&s.name.endsWith(t)&&(dr(s).forEach(o=>e.setAttribute(...o)),setTimeout(n))})})}function _(e=0){return((Z()||performance.timeOrigin)+e)/1e3}function dr(e){const{name:t,version:n}=Wt(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),Z()?[...r,["http.request.redirect_start",_(e.redirectStart)],["http.request.fetch_start",_(e.fetchStart)],["http.request.domain_lookup_start",_(e.domainLookupStart)],["http.request.domain_lookup_end",_(e.domainLookupEnd)],["http.request.connect_start",_(e.connectStart)],["http.request.secure_connection_start",_(e.secureConnectionStart)],["http.request.connection_end",_(e.connectEnd)],["http.request.request_start",_(e.requestStart)],["http.request.response_start",_(e.responseStart)],["http.request.response_end",_(e.responseEnd)]]:r}function pr(e,t){const n=C();if(n){let r,s;try{r=new URL(e,n),s=new URL(n).origin}catch{return!1}const a=r.origin===s;return t?D(r.toString(),t)||a&&D(r.pathname,t):a}else{const r=!!e.match(/^\/(?!\/)/);return t?D(e,t):r}}function fr(e,t,n,r){const s=e.xhr,a=s?.[Ne];if(!s||s.__sentry_own_request__||!a)return;const o=pe()&&t(a.url);if(e.endTimestamp&&o){const u=s.__sentry_xhr_span_id__;if(!u)return;const f=r[u];f&&a.status_code!==void 0&&(kt(f,a.status_code),f.end(),delete r[u]);return}const i=qe(a.url),c=i?N(i).host:void 0,p=!!Pe(),m=o&&p?Ot({name:`${a.method} ${a.url}`,attributes:{type:"xhr","http.method":a.method,"http.url":i,url:a.url,"server.address":c,[z]:"auto.http.browser",[At]:"http.client"}}):new Pt;return s.__sentry_xhr_span_id__=m.spanContext().spanId,r[s.__sentry_xhr_span_id__]=m,n(a.url)&&lr(s,pe()&&p?m:void 0),m}function lr(e,t){const{"sentry-trace":n,baggage:r}=xt({span:t});n&&mr(e,n,r)}function mr(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch{}}function qe(e){try{return new URL(e,d.location.origin).href}catch{return}}function gr(){d.document?d.document.addEventListener("visibilitychange",()=>{const e=Pe();if(!e)return;const t=wt(e);if(d.document.hidden&&t){const n="cancelled",{op:r,status:s}=H(t);y&&S.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:Nt,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):y&&S.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const hr="BrowserTracing",_r={...Ct,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
3dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...U},Ir=(e={})=>{const t=d.document;Ft();const{enableInp:n,enableLongTask:r,enableLongAnimationFrame:s,_experiments:{enableInteractions:a,enableStandaloneClsSpans:o},beforeStartSpan:i,idleTimeout:c,finalTimeout:p,childSpanTimeout:m,markBackgroundSpan:u,traceFetch:f,traceXHR:b,trackFetchStreamPerformance:$,shouldCreateSpanForRequest:Be,enableHTTPTimings:Ue,instrumentPageLoad:je,instrumentNavigation:$e}={..._r,...e},We=Dt({recordClsStandaloneSpans:o||!1});n&&Gt(),s&&Se.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?Xt():r&&Yt(),a&&zt();const W={name:void 0,source:void 0};function ae(g,T){const x=T.op==="pageload",l=i?i(T):T,E=l.attributes||{};T.name!==l.name&&(E[w]="custom",l.attributes=E),W.name=l.name,W.source=E[w];const R=xe(l,{idleTimeout:c,finalTimeout:p,childSpanTimeout:m,disableAutoFinish:x,beforeSpanEnd:M=>{We(),Vt(M,{recordClsOnPageloadSpan:!o}),Ee(g,void 0);const se=F(),De=se.getPropagationContext();se.setPropagationContext({...De,traceId:R.spanContext().traceId,sampled:qt(R),dsc:Mt(M)})}});Ee(g,R);function q(){t&&["interactive","complete"].includes(t.readyState)&&g.emit("idleSpanEnableAutoFinish",R)}x&&t&&(t.addEventListener("readystatechange",()=>{q()}),q())}return{name:hr,afterAllSetup(g){let T=C();function x(){const l=j(g);l&&!H(l).timestamp&&(y&&S.log(`[Tracing] Finishing current active span with op: ${H(l).op}`),l.end())}if(g.on("startNavigationSpan",l=>{h()===g&&(x(),Lt().setPropagationContext({traceId:fe(),sampleRand:Math.random()}),F().setPropagationContext({traceId:fe(),sampleRand:Math.random()}),ae(g,{op:"navigation",...l}))}),g.on("startPageLoadSpan",(l,E={})=>{if(h()!==g)return;x();const R=E.sentryTrace||ye("sentry-trace"),q=E.baggage||ye("baggage"),M=Ht(R,q);F().setPropagationContext(M),ae(g,{op:"pageload",...l})}),d.location){if(je){const l=Z();yr(g,{name:d.location.pathname,startTime:l?l/1e3:void 0,attributes:{[w]:"url",[z]:"auto.pageload.browser"}})}$e&&ee(({to:l,from:E})=>{if(E===void 0&&T?.indexOf(l)!==-1){T=void 0;return}E!==l&&(T=void 0,Er(g,{name:d.location.pathname,attributes:{[w]:"url",[z]:"auto.navigation.browser"}}))})}u&&gr(),a&&Sr(g,c,p,m,W),n&&Kt(),cr(g,{traceFetch:f,traceXHR:b,trackFetchStreamPerformance:$,tracePropagationTargets:g.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:Be,enableHTTPTimings:Ue})}}};function yr(e,t,n){return e.emit("startPageLoadSpan",t,n),F().setTransactionName(t.name),j(e)}function Er(e,t){return e.emit("startNavigationSpan",t),F().setTransactionName(t.name),j(e)}function ye(e){return d.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function Sr(e,t,n,r,s){const a=d.document;let o;const i=()=>{const c="ui.action.click",p=j(e);if(p){const m=H(p).op;if(["navigation","pageload"].includes(m)){y&&S.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(o&&(o.setAttribute(Bt,"interactionInterrupted"),o.end(),o=void 0),!s.name){y&&S.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}o=xe({name:s.name,op:c,attributes:{[w]:s.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};a&&addEventListener("click",i,{once:!1,capture:!0})}const Me="_sentry_idleSpan";function j(e){return e[Me]}function Ee(e,t){Te(e,Me,t)}export{Ir as b,vr as i};
4//# sourceMappingURL=vendor-sentry-browser-C1d1E0cH.js.map
5
6//# debugId=48b9b544-25e0-57b6-be57-fa8e86df7510

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.