@expofp/floorplan 3.10.1 → 3.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-DdPvRBTh.js → Button-Bj5GinNb.js} +6 -6
- package/dist/browser/{CookieConsent-C39dYjaQ.js → CookieConsent-vekYv-WL.js} +7 -7
- package/dist/browser/{Debug-B5r6LCAX.js → Debug-B8Z6UAk7.js} +7 -7
- package/dist/browser/{Demo-Dbrjn3oi.js → Demo-DxKBQPXs.js} +10 -10
- package/dist/browser/{Free-DUcGDkLZ.js → Free-xJ581Tn5.js} +10 -10
- package/dist/browser/{Gallery-CvO5_8hs.js → Gallery-BCLvsYMq.js} +10 -10
- package/dist/browser/{GpsLoader-Cybs-6Z0.js → GpsLoader-D8b4YGWa.js} +19 -19
- package/dist/browser/{KioskStore-Df_lwtgJ.js → KioskStore-iac7BFkc.js} +30 -30
- package/dist/browser/{MaplibreAdapter-BgOzaHlx.js → MaplibreAdapter-hBzzKWxy.js} +749 -614
- package/dist/browser/{ModalContainer-DXVCm1fb.js → ModalContainer-CNFkEgVO.js} +11 -11
- package/dist/browser/{PermissionNotice-B0OJFFky.js → PermissionNotice-BjNUzq-I.js} +7 -7
- package/dist/browser/{SetKioskMode-BdOX40be.js → SetKioskMode-rZPgTzX2.js} +11 -11
- package/dist/browser/ShowKiosk-C0-HDdLS.js +28 -0
- package/dist/browser/{TouchHand-RDWCILm_.js → TouchHand-BpAIvJuD.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BlCzm_mm.js → ViewerMenuPanel-B8HWceZY.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-lYBneebf.js → add-debug-secret-listener-DrG0zrQz.js} +1 -1
- package/dist/browser/{boolean-editor-C_bdHxC2.js → boolean-editor-CksHtQqy.js} +45 -45
- package/dist/browser/{bootIntercom-Bf4CaruD.js → bootIntercom-DIY2vGKD.js} +2 -2
- package/dist/browser/{booth-by-xy-WnHwiopn.js → booth-by-xy-CB4TcAKe.js} +276 -276
- package/dist/browser/{browser-BGtGwkTn.js → browser-BJI7T84p.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-DRy7JPyJ.js → classnames-DY5QZHM2.js} +2 -2
- package/dist/browser/{client-BE52OM0U.js → client-BKj8O-3N.js} +10 -10
- package/dist/browser/{components-BfKSs6sY.js → components-C9T4gWSC.js} +1675 -1675
- package/dist/browser/{debug-overlay-mKmIzOYk.js → debug-overlay-oxl07sGQ.js} +355 -355
- package/dist/browser/{debug-ui-DLxMK2XU.js → debug-ui-vcgITEra.js} +6 -6
- package/dist/browser/{dist-DSRSA5oz.js → dist-B6a_6LWa.js} +64 -63
- package/dist/browser/{dist-QsCYWHCu.js → dist-BD71uIJa.js} +5 -5
- package/dist/browser/{dist-eojWwYB5.js → dist-DQ-MzacE.js} +3 -3
- package/dist/browser/{efp-debug-init-C5HgsgC2.js → efp-debug-init-DeppnUIb.js} +2 -2
- package/dist/browser/{enum-editor-BqpFqXiM.js → enum-editor-CeBF-egH.js} +478 -478
- package/dist/browser/{es5-7bslpbjj.js → es5-DyEOE9h8.js} +2 -2
- package/dist/browser/{event-not-found-Bc1SpnKw.js → event-not-found--rNrnsfb.js} +1 -1
- package/dist/browser/{exports-CYJRF2aW.js → exports-CQRMT27z.js} +449 -443
- package/dist/browser/{favicon-CRiidRYo.js → favicon-Y_DfJIgc.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Btwt1fg_.js → fetch-retry.umd-mDEk7YNi.js} +2 -2
- package/dist/browser/{flex-ITkzmA3C.js → flex-gMXInosq.js} +7 -7
- package/dist/browser/{floorplan.loader-DJVlfwah.js → floorplan.loader-CKHHfoqW.js} +1284 -1282
- package/dist/browser/{floorplan.ready-7KwBZy9I.js → floorplan.ready-Dk5rTB4-.js} +282 -282
- package/dist/browser/{fuse-CcYz7YAl.js → fuse-C0XgkQam.js} +4 -4
- package/dist/browser/{i18n-CeVxHTr1.js → i18n-DDp2WKLS.js} +19 -20
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-CV2WVv52.js → index.module-DJ1o-lSs.js} +4 -4
- package/dist/browser/{is-webview-BOqof5Uq.js → is-webview-DSeLj16c.js} +1 -1
- package/dist/browser/{jsx-runtime-BiSrB4Oo.js → jsx-runtime-4SB5tKoZ.js} +2 -2
- package/dist/browser/{lib-Dg9vXDVM.js → lib-CNsibyKE.js} +4 -4
- package/dist/browser/{loadImage-VYhbBgH6.js → loadImage-m5qxmKm8.js} +4 -4
- package/dist/browser/{logDeviceInfo-B8Mi-9H5.js → logDeviceInfo-DJbQFFfl.js} +9 -9
- package/dist/browser/{main-D6ItQIYj.js → main-Ci70zd7U.js} +1 -1
- package/dist/browser/{mobx-Deoo_wpx.js → mobx-85FEI3nE.js} +4 -4
- package/dist/browser/{particles.min-BNwqgit-.js → particles.min-Cjclve40.js} +2 -2
- package/dist/browser/{prop-types-CuEYshV7.js → prop-types-O5uO9swn.js} +2 -2
- package/dist/browser/{react-BMPhuMz9.js → react-938H1sny.js} +2 -2
- package/dist/browser/{react-dom-DSdkXj0b.js → react-dom-BB5-5CwA.js} +3 -3
- package/dist/browser/{reset-all-settings-C2yTiJ1V.js → reset-all-settings-C3UGYA7h.js} +7 -7
- package/dist/browser/{rolldown-runtime-I1EwXf_t.js → rolldown-runtime-D_bOcK0P.js} +1 -1
- package/dist/browser/{settings-Dr8bs0FB.js → settings-CuvIoKLw.js} +2 -2
- package/dist/browser/{settings-item-DjfyQTQB.js → settings-item-jhTAtSrk.js} +15 -15
- package/dist/browser/{store-CVdrQCza.js → store-g-LcmXc-.js} +5123 -5042
- package/dist/browser/{string-editor-3sN4j-ci.js → string-editor-CjVQpF6U.js} +22 -22
- package/dist/browser/{theme-BSTLt6eV.js → theme-DxKuEQUA.js} +927 -930
- package/dist/browser/{ui-CiFfwrN8.js → ui-BMAImlSF.js} +8 -8
- package/dist/browser/{useRenderTarget-DF7LdnYr.js → useRenderTarget-DL0u3FKy.js} +4 -4
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
- package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.d.ts +3 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.js +16 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets.d.ts +3 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets.js +16 -0
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +4 -3
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +5 -8
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
- package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -1
- package/dist/esm/components/Maplibre/utils/solver.d.ts +6 -7
- package/dist/esm/components/Maplibre/utils/solver.js +1 -1
- package/dist/esm/data/svg.d.ts +2 -1
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/renderer/RendererService.d.ts +2 -1
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +1 -0
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/planBearing.d.ts +14 -0
- package/dist/esm/utils/planBearing.js +1 -0
- package/dist/esm/utils/scene-bounds.d.ts +57 -0
- package/dist/esm/utils/scene-bounds.js +1 -0
- package/package.json +8 -8
- package/dist/browser/ShowKiosk-cvnSTpd2.js +0 -28
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.10.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.10.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e694e431-24d6-40e4-9348-86afbdd96d78", e._sentryDebugIdIdentifier = "sentry-dbid-e694e431-24d6-40e4-9348-86afbdd96d78");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { g as n, h as r, n as i, s as a, t as o, v as s } from "./loadImage-
|
|
12
|
-
import { D as c, E as l, M as u, O as d, i as ee, k as f, l as p, lt as m } from "./i18n-
|
|
13
|
-
import { $ as h, A as g, B as _, C as v, D as y, E as te, F as b, G as x, H as S, I as
|
|
14
|
-
import { t as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D_bOcK0P.js";
|
|
10
|
+
import { t } from "./react-938H1sny.js";
|
|
11
|
+
import { g as n, h as r, n as i, s as a, t as o, v as s } from "./loadImage-m5qxmKm8.js";
|
|
12
|
+
import { D as c, E as l, M as u, O as d, i as ee, k as f, l as p, lt as m } from "./i18n-DDp2WKLS.js";
|
|
13
|
+
import { $ as h, A as g, B as _, C as v, D as y, E as te, F as b, G as x, H as S, I as ne, J as re, K as ie, L as C, M as ae, N as w, O as oe, P as se, Q as ce, R as T, S as le, T as ue, U as de, V as fe, W as pe, X as me, Y as E, Z as he, _ as D, _t as ge, a as _e, at as ve, b as ye, bt as O, c as be, ct as k, d as xe, dt as Se, et as Ce, f as we, ft as Te, g as Ee, gt as De, h as Oe, ht as ke, it as Ae, j as je, k as A, l as Me, lt as Ne, m as Pe, mt as j, n as Fe, nt as Ie, o as Le, ot as Re, p as ze, pt as Be, q as M, r as Ve, rt as He, s as Ue, st as We, t as Ge, tt as Ke, u as qe, ut as N, v as Je, vt as P, w as Ye, x as Xe, y as Ze, yt as Qe, z as $e } from "./exports-CQRMT27z.js";
|
|
14
|
+
import { t as et } from "./is-webview-DSeLj16c.js";
|
|
15
15
|
//#region src/tools/report-error.ts
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
|
|
16
|
+
var tt;
|
|
17
|
+
function nt(e) {
|
|
18
|
+
tt || e.filename.indexOf("expofp.com") === -1 || [
|
|
19
19
|
/loading chunk \d{1,2}\b/i,
|
|
20
20
|
/zaloJS/i,
|
|
21
21
|
/e.target.name/i,
|
|
22
22
|
/ResizeObserver loop/i,
|
|
23
23
|
/ChunkLoadError/i,
|
|
24
24
|
/FloorPlan not ready/i
|
|
25
|
-
].some((t) => t.test(e.message)) || (
|
|
25
|
+
].some((t) => t.test(e.message)) || (tt = window.setTimeout(async function() {
|
|
26
26
|
var t;
|
|
27
27
|
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
28
28
|
host: document.location.host,
|
|
@@ -38,10 +38,10 @@ function et(e) {
|
|
|
38
38
|
url: document.location,
|
|
39
39
|
subject: "FP JS error: " + document.location.host
|
|
40
40
|
};
|
|
41
|
-
m.info("Sending error report", r), await Promise.all([
|
|
41
|
+
m.info("Sending error report", r), await Promise.all([rt(r), it(r)]);
|
|
42
42
|
}, 2e3));
|
|
43
43
|
}
|
|
44
|
-
async function
|
|
44
|
+
async function rt(e) {
|
|
45
45
|
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
46
46
|
method: "POST",
|
|
47
47
|
headers: { "Content-Type": "application/json" },
|
|
@@ -49,15 +49,15 @@ async function tt(e) {
|
|
|
49
49
|
});
|
|
50
50
|
m.log("Reporter response: ", await t.text());
|
|
51
51
|
}
|
|
52
|
-
async function
|
|
53
|
-
let t =
|
|
52
|
+
async function it(e) {
|
|
53
|
+
let t = at(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
54
54
|
method: "POST",
|
|
55
55
|
headers: { "Content-Type": "application/json" },
|
|
56
56
|
body: JSON.stringify(t)
|
|
57
57
|
});
|
|
58
58
|
m.log("Slack reporter response: ", await n.text());
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function at(e) {
|
|
61
61
|
let t = JSON.parse(JSON.stringify(e));
|
|
62
62
|
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
63
63
|
let n = [];
|
|
@@ -82,122 +82,15 @@ function rt(e) {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
//#endregion
|
|
85
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
86
|
-
|
|
87
|
-
function L(e, t) {
|
|
88
|
-
return I[e] = I[e] || [], I[e].push(t), () => {
|
|
89
|
-
let n = I[e];
|
|
90
|
-
if (n) {
|
|
91
|
-
let e = n.indexOf(t);
|
|
92
|
-
e !== -1 && n.splice(e, 1);
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
function R(e, t) {
|
|
97
|
-
if (!it[e]) {
|
|
98
|
-
it[e] = !0;
|
|
99
|
-
try {
|
|
100
|
-
t();
|
|
101
|
-
} catch (t) {
|
|
102
|
-
F && N.error(`Error while instrumenting ${e}`, t);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
function z(e, t) {
|
|
107
|
-
let n = e && I[e];
|
|
108
|
-
if (n) for (let r of n) try {
|
|
109
|
-
r(t);
|
|
110
|
-
} catch (t) {
|
|
111
|
-
F && N.error(`Error while triggering instrumentation handler.
|
|
112
|
-
Type: ${e}
|
|
113
|
-
Name: ${M(r)}
|
|
114
|
-
Error:`, t);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
//#endregion
|
|
118
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
119
|
-
var at = null;
|
|
120
|
-
function ot(e) {
|
|
121
|
-
let t = "error";
|
|
122
|
-
L(t, e), R(t, st);
|
|
123
|
-
}
|
|
124
|
-
function st() {
|
|
125
|
-
at = P.onerror, P.onerror = function(e, t, n, r, i) {
|
|
126
|
-
return z("error", {
|
|
127
|
-
column: r,
|
|
128
|
-
error: i,
|
|
129
|
-
line: n,
|
|
130
|
-
msg: e,
|
|
131
|
-
url: t
|
|
132
|
-
}), at ? at.apply(this, arguments) : !1;
|
|
133
|
-
}, P.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
134
|
-
}
|
|
135
|
-
//#endregion
|
|
136
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
137
|
-
var ct = null;
|
|
138
|
-
function lt(e) {
|
|
139
|
-
let t = "unhandledrejection";
|
|
140
|
-
L(t, e), R(t, ut);
|
|
141
|
-
}
|
|
142
|
-
function ut() {
|
|
143
|
-
ct = P.onunhandledrejection, P.onunhandledrejection = function(e) {
|
|
144
|
-
return z("unhandledrejection", e), ct ? ct.apply(this, arguments) : !0;
|
|
145
|
-
}, P.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
146
|
-
}
|
|
147
|
-
//#endregion
|
|
148
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
149
|
-
function dt(e) {
|
|
150
|
-
if (typeof e == "boolean") return Number(e);
|
|
151
|
-
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
152
|
-
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
153
|
-
}
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
156
|
-
function ft(e) {
|
|
157
|
-
N.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
158
|
-
}
|
|
159
|
-
function pt(e, t) {
|
|
160
|
-
if (!(t != null && t.length)) return !1;
|
|
161
|
-
for (let n of t) {
|
|
162
|
-
if (gt(n)) {
|
|
163
|
-
if (e.description && C(e.description, n)) return F && ft(e), !0;
|
|
164
|
-
continue;
|
|
165
|
-
}
|
|
166
|
-
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
167
|
-
if (!n.name && !n.op && !t) continue;
|
|
168
|
-
let r = n.name ? e.description && C(e.description, n.name) : !0, i = n.op ? e.op && C(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
169
|
-
var r;
|
|
170
|
-
return mt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
171
|
-
}) : !0;
|
|
172
|
-
if (r && i && a) return F && ft(e), !0;
|
|
173
|
-
}
|
|
174
|
-
return !1;
|
|
175
|
-
}
|
|
176
|
-
function mt(e, t) {
|
|
177
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? C(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
178
|
-
}
|
|
179
|
-
function ht(e, t) {
|
|
180
|
-
let n = t.parent_span_id, r = t.span_id;
|
|
181
|
-
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
182
|
-
}
|
|
183
|
-
function gt(e) {
|
|
184
|
-
return typeof e == "string" || e instanceof RegExp;
|
|
185
|
-
}
|
|
186
|
-
//#endregion
|
|
187
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
188
|
-
function _t(e) {
|
|
189
|
-
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
190
|
-
}
|
|
191
|
-
//#endregion
|
|
192
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
193
|
-
function B(e, t = []) {
|
|
85
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
86
|
+
function F(e, t = []) {
|
|
194
87
|
return [e, t];
|
|
195
88
|
}
|
|
196
|
-
function
|
|
89
|
+
function ot(e, t) {
|
|
197
90
|
let [n, r] = e;
|
|
198
91
|
return [n, [...r, t]];
|
|
199
92
|
}
|
|
200
|
-
function
|
|
93
|
+
function st(e, t) {
|
|
201
94
|
let n = e[1];
|
|
202
95
|
for (let e of n) {
|
|
203
96
|
let n = e[0].type;
|
|
@@ -205,17 +98,17 @@ function yt(e, t) {
|
|
|
205
98
|
}
|
|
206
99
|
return !1;
|
|
207
100
|
}
|
|
208
|
-
function
|
|
209
|
-
return
|
|
101
|
+
function ct(e, t) {
|
|
102
|
+
return st(e, (e, n) => t.includes(n));
|
|
210
103
|
}
|
|
211
|
-
function
|
|
212
|
-
let t =
|
|
104
|
+
function lt(e) {
|
|
105
|
+
let t = ge(P);
|
|
213
106
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
214
107
|
}
|
|
215
|
-
function
|
|
108
|
+
function ut(e) {
|
|
216
109
|
let [t, n] = e, r = JSON.stringify(t);
|
|
217
110
|
function i(e) {
|
|
218
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
111
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [lt(r), e] : r.push(typeof e == "string" ? lt(e) : e);
|
|
219
112
|
}
|
|
220
113
|
for (let e of n) {
|
|
221
114
|
let [t, n] = e;
|
|
@@ -227,20 +120,20 @@ ${JSON.stringify(t)}
|
|
|
227
120
|
try {
|
|
228
121
|
e = JSON.stringify(n);
|
|
229
122
|
} catch {
|
|
230
|
-
e = JSON.stringify(
|
|
123
|
+
e = JSON.stringify(_(n));
|
|
231
124
|
}
|
|
232
125
|
i(e);
|
|
233
126
|
}
|
|
234
127
|
}
|
|
235
|
-
return typeof r == "string" ? r :
|
|
128
|
+
return typeof r == "string" ? r : dt(r);
|
|
236
129
|
}
|
|
237
|
-
function
|
|
130
|
+
function dt(e) {
|
|
238
131
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
239
132
|
for (let t of e) n.set(t, r), r += t.length;
|
|
240
133
|
return n;
|
|
241
134
|
}
|
|
242
|
-
function
|
|
243
|
-
let t = typeof e.data == "string" ?
|
|
135
|
+
function ft(e) {
|
|
136
|
+
let t = typeof e.data == "string" ? lt(e.data) : e.data;
|
|
244
137
|
return [{
|
|
245
138
|
type: "attachment",
|
|
246
139
|
length: t.length,
|
|
@@ -249,7 +142,7 @@ function wt(e) {
|
|
|
249
142
|
attachment_type: e.attachmentType
|
|
250
143
|
}, t];
|
|
251
144
|
}
|
|
252
|
-
var
|
|
145
|
+
var pt = {
|
|
253
146
|
sessions: "session",
|
|
254
147
|
event: "error",
|
|
255
148
|
client_report: "internal",
|
|
@@ -262,13 +155,13 @@ var Tt = {
|
|
|
262
155
|
log: "log_item",
|
|
263
156
|
trace_metric: "metric"
|
|
264
157
|
};
|
|
265
|
-
function
|
|
266
|
-
return e in
|
|
158
|
+
function mt(e) {
|
|
159
|
+
return e in pt;
|
|
267
160
|
}
|
|
268
|
-
function
|
|
269
|
-
return
|
|
161
|
+
function ht(e) {
|
|
162
|
+
return mt(e) ? pt[e] : e;
|
|
270
163
|
}
|
|
271
|
-
function
|
|
164
|
+
function gt(e) {
|
|
272
165
|
if (!(e != null && e.sdk)) return;
|
|
273
166
|
let { name: t, version: n } = e.sdk;
|
|
274
167
|
return {
|
|
@@ -276,155 +169,313 @@ function Ot(e) {
|
|
|
276
169
|
version: n
|
|
277
170
|
};
|
|
278
171
|
}
|
|
279
|
-
function
|
|
172
|
+
function _t(e, t, n, r) {
|
|
280
173
|
var i;
|
|
281
174
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
282
175
|
return {
|
|
283
176
|
event_id: e.event_id,
|
|
284
|
-
sent_at: new Date(
|
|
177
|
+
sent_at: new Date(T()).toISOString(),
|
|
285
178
|
...t && { sdk: t },
|
|
286
|
-
...!!n && r && { dsn:
|
|
179
|
+
...!!n && r && { dsn: N(r) },
|
|
287
180
|
...a && { trace: a }
|
|
288
181
|
};
|
|
289
182
|
}
|
|
290
183
|
//#endregion
|
|
291
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
name: o.name || t.name,
|
|
299
|
-
version: o.version || t.version,
|
|
300
|
-
integrations: [...((n = e.sdk) == null ? void 0 : n.integrations) || [], ...t.integrations || []],
|
|
301
|
-
packages: [...((r = e.sdk) == null ? void 0 : r.packages) || [], ...t.packages || []],
|
|
302
|
-
settings: (i = e.sdk) != null && i.settings || t.settings ? {
|
|
303
|
-
...(a = e.sdk) == null ? void 0 : a.settings,
|
|
304
|
-
...t.settings
|
|
305
|
-
} : void 0
|
|
306
|
-
}, e;
|
|
184
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
185
|
+
var vt = 60 * 1e3;
|
|
186
|
+
function yt(e, t = T()) {
|
|
187
|
+
let n = parseInt(`${e}`, 10);
|
|
188
|
+
if (!isNaN(n)) return n * 1e3;
|
|
189
|
+
let r = Date.parse(`${e}`);
|
|
190
|
+
return isNaN(r) ? vt : r - t;
|
|
307
191
|
}
|
|
308
|
-
function
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
...!!r && t && { dsn: k(t) }
|
|
314
|
-
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
192
|
+
function bt(e, t) {
|
|
193
|
+
return e[t] || e.all || 0;
|
|
194
|
+
}
|
|
195
|
+
function xt(e, t, n = T()) {
|
|
196
|
+
return bt(e, t) > n;
|
|
315
197
|
}
|
|
316
|
-
function
|
|
317
|
-
let i =
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
198
|
+
function St(e, { statusCode: t, headers: n }, r = T()) {
|
|
199
|
+
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
200
|
+
if (a) for (let e of a.trim().split(",")) {
|
|
201
|
+
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
202
|
+
if (!n) i.all = r + s;
|
|
203
|
+
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
204
|
+
}
|
|
205
|
+
else o ? i.all = r + yt(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
206
|
+
return i;
|
|
321
207
|
}
|
|
322
208
|
//#endregion
|
|
323
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
324
|
-
function
|
|
325
|
-
return e.
|
|
209
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
210
|
+
function Ct(e) {
|
|
211
|
+
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
212
|
+
}
|
|
213
|
+
var wt = 5e3, Tt = 36e5;
|
|
214
|
+
function Et(e) {
|
|
215
|
+
function t(...e) {
|
|
216
|
+
O && j.log("[Offline]:", ...e);
|
|
217
|
+
}
|
|
218
|
+
return (n) => {
|
|
219
|
+
let r = e(n);
|
|
220
|
+
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
221
|
+
let i = n.createStore(n), a = wt, o;
|
|
222
|
+
function s(e, t, r) {
|
|
223
|
+
return ct(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
224
|
+
}
|
|
225
|
+
function c(e) {
|
|
226
|
+
o && clearTimeout(o), o = Ct(setTimeout(async () => {
|
|
227
|
+
o = void 0;
|
|
228
|
+
let e = await i.shift();
|
|
229
|
+
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(T()).toISOString(), u(e, !0).catch((e) => {
|
|
230
|
+
t("Failed to retry sending", e);
|
|
231
|
+
}));
|
|
232
|
+
}, e));
|
|
233
|
+
}
|
|
234
|
+
function l() {
|
|
235
|
+
o || (c(a), a = Math.min(a * 2, Tt));
|
|
236
|
+
}
|
|
237
|
+
async function u(e, o = !1) {
|
|
238
|
+
if (!o && ct(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
239
|
+
try {
|
|
240
|
+
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
241
|
+
let t = await r.send(e), i = 100;
|
|
242
|
+
if (t) {
|
|
243
|
+
var u, d;
|
|
244
|
+
if ((u = t.headers) != null && u["retry-after"]) i = yt(t.headers["retry-after"]);
|
|
245
|
+
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
246
|
+
else if ((t.statusCode || 0) >= 400) return t;
|
|
247
|
+
}
|
|
248
|
+
return c(i), a = wt, t;
|
|
249
|
+
} catch (n) {
|
|
250
|
+
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
251
|
+
throw n;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
return n.flushAtStartup && l(), {
|
|
255
|
+
send: u,
|
|
256
|
+
flush: (e) => (e === void 0 && (a = wt, c(100)), r.flush(e))
|
|
257
|
+
};
|
|
258
|
+
};
|
|
326
259
|
}
|
|
327
260
|
//#endregion
|
|
328
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
protocol: t[2],
|
|
338
|
-
search: n,
|
|
339
|
-
hash: r,
|
|
340
|
-
relative: t[5] + n + r
|
|
261
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
262
|
+
var I = {}, Dt = {};
|
|
263
|
+
function L(e, t) {
|
|
264
|
+
return I[e] = I[e] || [], I[e].push(t), () => {
|
|
265
|
+
let n = I[e];
|
|
266
|
+
if (n) {
|
|
267
|
+
let e = n.indexOf(t);
|
|
268
|
+
e !== -1 && n.splice(e, 1);
|
|
269
|
+
}
|
|
341
270
|
};
|
|
342
271
|
}
|
|
343
|
-
function
|
|
344
|
-
if (e
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
272
|
+
function R(e, t) {
|
|
273
|
+
if (!Dt[e]) {
|
|
274
|
+
Dt[e] = !0;
|
|
275
|
+
try {
|
|
276
|
+
t();
|
|
277
|
+
} catch (t) {
|
|
278
|
+
O && j.error(`Error while instrumenting ${e}`, t);
|
|
349
279
|
}
|
|
350
|
-
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
function z(e, t) {
|
|
283
|
+
let n = e && I[e];
|
|
284
|
+
if (n) for (let r of n) try {
|
|
285
|
+
r(t);
|
|
286
|
+
} catch (t) {
|
|
287
|
+
O && j.error(`Error while triggering instrumentation handler.
|
|
288
|
+
Type: ${e}
|
|
289
|
+
Name: ${x(r)}
|
|
290
|
+
Error:`, t);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
//#endregion
|
|
294
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
295
|
+
var B = P;
|
|
296
|
+
function Ot() {
|
|
297
|
+
return "history" in B && !!B.history;
|
|
298
|
+
}
|
|
299
|
+
function kt() {
|
|
300
|
+
if (!("fetch" in B)) return !1;
|
|
301
|
+
try {
|
|
302
|
+
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
303
|
+
} catch {
|
|
304
|
+
return !1;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
function At(e) {
|
|
308
|
+
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
309
|
+
}
|
|
310
|
+
function jt() {
|
|
311
|
+
if (typeof EdgeRuntime == "string") return !0;
|
|
312
|
+
if (!kt()) return !1;
|
|
313
|
+
if (At(B.fetch)) return !0;
|
|
314
|
+
let e = !1, t = B.document;
|
|
315
|
+
if (t && typeof t.createElement == "function") try {
|
|
316
|
+
var n;
|
|
317
|
+
let r = t.createElement("iframe");
|
|
318
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = At(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
319
|
+
} catch (e) {
|
|
320
|
+
O && j.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
351
321
|
}
|
|
352
322
|
return e;
|
|
353
323
|
}
|
|
354
324
|
//#endregion
|
|
355
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
356
|
-
function
|
|
325
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
326
|
+
function Mt(e) {
|
|
327
|
+
if (typeof e == "boolean") return Number(e);
|
|
328
|
+
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
329
|
+
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
330
|
+
}
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
333
|
+
function Nt(e) {
|
|
334
|
+
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
335
|
+
}
|
|
336
|
+
//#endregion
|
|
337
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
338
|
+
function Pt(e, t) {
|
|
357
339
|
var n;
|
|
358
340
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
359
341
|
Object.entries(t).forEach(([e, t]) => {
|
|
360
342
|
t != null && !(e in r) && (r[e] = t);
|
|
361
343
|
});
|
|
362
344
|
}
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
345
|
+
//#endregion
|
|
346
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
347
|
+
function Ft(e) {
|
|
348
|
+
j.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
366
349
|
}
|
|
367
|
-
function
|
|
368
|
-
|
|
350
|
+
function It(e, t) {
|
|
351
|
+
if (!(t != null && t.length)) return !1;
|
|
352
|
+
for (let n of t) {
|
|
353
|
+
if (zt(n)) {
|
|
354
|
+
if (e.description && b(e.description, n)) return O && Ft(e), !0;
|
|
355
|
+
continue;
|
|
356
|
+
}
|
|
357
|
+
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
358
|
+
if (!n.name && !n.op && !t) continue;
|
|
359
|
+
let r = n.name ? e.description && b(e.description, n.name) : !0, i = n.op ? e.op && b(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
360
|
+
var r;
|
|
361
|
+
return Lt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
362
|
+
}) : !0;
|
|
363
|
+
if (r && i && a) return O && Ft(e), !0;
|
|
364
|
+
}
|
|
365
|
+
return !1;
|
|
369
366
|
}
|
|
370
|
-
function
|
|
371
|
-
|
|
372
|
-
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
367
|
+
function Lt(e, t) {
|
|
368
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? b(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
373
369
|
}
|
|
374
|
-
function
|
|
375
|
-
|
|
370
|
+
function Rt(e, t) {
|
|
371
|
+
let n = t.parent_span_id, r = t.span_id;
|
|
372
|
+
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
376
373
|
}
|
|
377
|
-
function
|
|
378
|
-
|
|
379
|
-
if (!n) return "";
|
|
380
|
-
let r = `${Lt(n)}embed/error-page/`, i = `dsn=${k(n)}`;
|
|
381
|
-
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
382
|
-
let e = t.user;
|
|
383
|
-
if (!e) continue;
|
|
384
|
-
e.name && (i += `&name=${encodeURIComponent(e.name)}`), e.email && (i += `&email=${encodeURIComponent(e.email)}`);
|
|
385
|
-
} else i += `&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;
|
|
386
|
-
return `${r}?${i}`;
|
|
374
|
+
function zt(e) {
|
|
375
|
+
return typeof e == "string" || e instanceof RegExp;
|
|
387
376
|
}
|
|
388
377
|
//#endregion
|
|
389
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
let t = {};
|
|
393
|
-
return e.forEach((e) => {
|
|
394
|
-
let { name: n } = e, r = t[n];
|
|
395
|
-
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
396
|
-
}), Object.values(t);
|
|
378
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
379
|
+
function Bt(e) {
|
|
380
|
+
return e.getOptions().traceLifecycle === "stream";
|
|
397
381
|
}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
let
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
382
|
+
//#endregion
|
|
383
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
384
|
+
function Vt(e, t) {
|
|
385
|
+
var n, r, i, a;
|
|
386
|
+
if (!t) return e;
|
|
387
|
+
let o = e.sdk || {};
|
|
388
|
+
return e.sdk = {
|
|
389
|
+
...o,
|
|
390
|
+
name: o.name || t.name,
|
|
391
|
+
version: o.version || t.version,
|
|
392
|
+
integrations: [...((n = e.sdk) == null ? void 0 : n.integrations) || [], ...t.integrations || []],
|
|
393
|
+
packages: [...((r = e.sdk) == null ? void 0 : r.packages) || [], ...t.packages || []],
|
|
394
|
+
settings: (i = e.sdk) != null && i.settings || t.settings ? {
|
|
395
|
+
...(a = e.sdk) == null ? void 0 : a.settings,
|
|
396
|
+
...t.settings
|
|
397
|
+
} : void 0
|
|
398
|
+
}, e;
|
|
399
|
+
}
|
|
400
|
+
function Ht(e, t, n, r) {
|
|
401
|
+
let i = gt(n);
|
|
402
|
+
return F({
|
|
403
|
+
sent_at: new Date(T()).toISOString(),
|
|
404
|
+
...i && { sdk: i },
|
|
405
|
+
...!!r && t && { dsn: N(t) }
|
|
406
|
+
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
407
|
+
}
|
|
408
|
+
function Ut(e, t, n, r) {
|
|
409
|
+
let i = gt(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
410
|
+
Vt(e, n == null ? void 0 : n.sdk);
|
|
411
|
+
let o = _t(e, i, r, t);
|
|
412
|
+
return delete e.sdkProcessingMetadata, F(o, [[{ type: a }, e]]);
|
|
413
|
+
}
|
|
414
|
+
function Wt(e) {
|
|
415
|
+
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
416
|
+
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
417
|
+
}
|
|
418
|
+
function Gt(e) {
|
|
419
|
+
return `${Wt(e)}${e.projectId}/envelope/`;
|
|
420
|
+
}
|
|
421
|
+
function Kt(e, t) {
|
|
422
|
+
let n = { sentry_version: "7" };
|
|
423
|
+
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
424
|
+
}
|
|
425
|
+
function qt(e, t, n) {
|
|
426
|
+
return t || `${Gt(e)}?${Kt(e, n)}`;
|
|
427
|
+
}
|
|
428
|
+
function Jt(e, t) {
|
|
429
|
+
let n = Se(e);
|
|
430
|
+
if (!n) return "";
|
|
431
|
+
let r = `${Wt(n)}embed/error-page/`, i = `dsn=${N(n)}`;
|
|
432
|
+
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
433
|
+
let e = t.user;
|
|
434
|
+
if (!e) continue;
|
|
435
|
+
e.name && (i += `&name=${encodeURIComponent(e.name)}`), e.email && (i += `&email=${encodeURIComponent(e.email)}`);
|
|
436
|
+
} else i += `&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;
|
|
437
|
+
return `${r}?${i}`;
|
|
438
|
+
}
|
|
439
|
+
//#endregion
|
|
440
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/integration.js
|
|
441
|
+
var Yt = [];
|
|
442
|
+
function Xt(e) {
|
|
443
|
+
let t = {};
|
|
444
|
+
return e.forEach((e) => {
|
|
445
|
+
let { name: n } = e, r = t[n];
|
|
446
|
+
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
447
|
+
}), Object.values(t);
|
|
448
|
+
}
|
|
449
|
+
function Zt(e) {
|
|
450
|
+
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
451
|
+
t.forEach((e) => {
|
|
452
|
+
e.isDefaultInstance = !0;
|
|
453
|
+
});
|
|
454
|
+
let r;
|
|
455
|
+
if (Array.isArray(n)) r = [...t, ...n];
|
|
456
|
+
else if (typeof n == "function") {
|
|
457
|
+
let e = n(t);
|
|
458
|
+
r = Array.isArray(e) ? e : [e];
|
|
408
459
|
} else r = t;
|
|
409
|
-
return
|
|
460
|
+
return Xt(r);
|
|
410
461
|
}
|
|
411
|
-
function
|
|
462
|
+
function Qt(e, t) {
|
|
412
463
|
let n = {};
|
|
413
464
|
return t.forEach((t) => {
|
|
414
465
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
415
466
|
}), t.forEach((t) => {
|
|
416
|
-
t &&
|
|
467
|
+
t && en(e, t, n);
|
|
417
468
|
}), n;
|
|
418
469
|
}
|
|
419
|
-
function
|
|
470
|
+
function $t(e, t) {
|
|
420
471
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
421
472
|
}
|
|
422
|
-
function
|
|
473
|
+
function en(e, t, n) {
|
|
423
474
|
if (n[t.name]) {
|
|
424
|
-
|
|
475
|
+
O && j.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
425
476
|
return;
|
|
426
477
|
}
|
|
427
|
-
if (n[t.name] = t, !
|
|
478
|
+
if (n[t.name] = t, !Yt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Yt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
428
479
|
let n = t.preprocessEvent.bind(t);
|
|
429
480
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
430
481
|
}
|
|
@@ -435,36 +486,36 @@ function qt(e, t, n) {
|
|
|
435
486
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
436
487
|
let r = t[n];
|
|
437
488
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
438
|
-
}),
|
|
489
|
+
}), O && j.log(`Integration installed: ${t.name}`);
|
|
439
490
|
}
|
|
440
491
|
function V(e) {
|
|
441
492
|
return e;
|
|
442
493
|
}
|
|
443
494
|
//#endregion
|
|
444
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
445
|
-
function
|
|
495
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
496
|
+
function tn() {
|
|
446
497
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
447
498
|
}
|
|
448
|
-
function
|
|
499
|
+
function nn() {
|
|
449
500
|
return "npm";
|
|
450
501
|
}
|
|
451
502
|
//#endregion
|
|
452
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
453
|
-
function
|
|
454
|
-
return !
|
|
503
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
504
|
+
function rn() {
|
|
505
|
+
return !tn() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
455
506
|
}
|
|
456
507
|
//#endregion
|
|
457
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
458
|
-
function
|
|
459
|
-
return typeof window < "u" && (!
|
|
508
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
509
|
+
function an() {
|
|
510
|
+
return typeof window < "u" && (!rn() || on());
|
|
460
511
|
}
|
|
461
|
-
function
|
|
512
|
+
function on() {
|
|
462
513
|
let e = P.process;
|
|
463
514
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
464
515
|
}
|
|
465
516
|
//#endregion
|
|
466
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
467
|
-
function
|
|
517
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
518
|
+
function sn(e, t) {
|
|
468
519
|
let n = t ? "auto" : "never";
|
|
469
520
|
return [{
|
|
470
521
|
type: "log",
|
|
@@ -472,38 +523,38 @@ function $t(e, t) {
|
|
|
472
523
|
content_type: "application/vnd.sentry.items.log+json"
|
|
473
524
|
}, {
|
|
474
525
|
version: 2,
|
|
475
|
-
...
|
|
526
|
+
...an() && { ingest_settings: {
|
|
476
527
|
infer_ip: n,
|
|
477
528
|
infer_user_agent: n
|
|
478
529
|
} },
|
|
479
530
|
items: e
|
|
480
531
|
}];
|
|
481
532
|
}
|
|
482
|
-
function
|
|
533
|
+
function cn(e, t, n, r, i) {
|
|
483
534
|
let a = {};
|
|
484
535
|
return t != null && t.sdk && (a.sdk = {
|
|
485
536
|
name: t.sdk.name,
|
|
486
537
|
version: t.sdk.version
|
|
487
|
-
}), n && r && (a.dsn =
|
|
538
|
+
}), n && r && (a.dsn = N(r)), F(a, [sn(e, i)]);
|
|
488
539
|
}
|
|
489
540
|
//#endregion
|
|
490
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
491
|
-
function
|
|
541
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
542
|
+
function ln(e, t) {
|
|
492
543
|
var n;
|
|
493
|
-
let r = (n = t == null ?
|
|
544
|
+
let r = (n = t == null ? un(e) : t) == null ? [] : n;
|
|
494
545
|
if (r.length === 0) return;
|
|
495
|
-
let i = e.getOptions(), a =
|
|
496
|
-
|
|
546
|
+
let i = e.getOptions(), a = cn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
547
|
+
dn().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
497
548
|
}
|
|
498
|
-
function
|
|
499
|
-
return
|
|
549
|
+
function un(e) {
|
|
550
|
+
return dn().get(e);
|
|
500
551
|
}
|
|
501
|
-
function
|
|
552
|
+
function dn() {
|
|
502
553
|
return De("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
503
554
|
}
|
|
504
555
|
//#endregion
|
|
505
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
506
|
-
function
|
|
556
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
557
|
+
function fn(e, t) {
|
|
507
558
|
let n = t ? "auto" : "never";
|
|
508
559
|
return [{
|
|
509
560
|
type: "trace_metric",
|
|
@@ -511,39 +562,39 @@ function an(e, t) {
|
|
|
511
562
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
512
563
|
}, {
|
|
513
564
|
version: 2,
|
|
514
|
-
...
|
|
565
|
+
...an() && { ingest_settings: {
|
|
515
566
|
infer_ip: n,
|
|
516
567
|
infer_user_agent: n
|
|
517
568
|
} },
|
|
518
569
|
items: e
|
|
519
570
|
}];
|
|
520
571
|
}
|
|
521
|
-
function
|
|
572
|
+
function pn(e, t, n, r, i) {
|
|
522
573
|
let a = {};
|
|
523
574
|
return t != null && t.sdk && (a.sdk = {
|
|
524
575
|
name: t.sdk.name,
|
|
525
576
|
version: t.sdk.version
|
|
526
|
-
}), n && r && (a.dsn =
|
|
577
|
+
}), n && r && (a.dsn = N(r)), F(a, [fn(e, i)]);
|
|
527
578
|
}
|
|
528
579
|
//#endregion
|
|
529
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
530
|
-
function
|
|
580
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
581
|
+
function mn(e, t) {
|
|
531
582
|
var n;
|
|
532
|
-
let r = (n = t == null ?
|
|
583
|
+
let r = (n = t == null ? hn(e) : t) == null ? [] : n;
|
|
533
584
|
if (r.length === 0) return;
|
|
534
|
-
let i = e.getOptions(), a =
|
|
535
|
-
|
|
585
|
+
let i = e.getOptions(), a = pn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
586
|
+
gn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
536
587
|
}
|
|
537
|
-
function
|
|
538
|
-
return
|
|
588
|
+
function hn(e) {
|
|
589
|
+
return gn().get(e);
|
|
539
590
|
}
|
|
540
|
-
function
|
|
591
|
+
function gn() {
|
|
541
592
|
return De("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
542
593
|
}
|
|
543
594
|
//#endregion
|
|
544
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
545
|
-
function
|
|
546
|
-
return
|
|
595
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
596
|
+
function _n(e) {
|
|
597
|
+
return Oe({
|
|
547
598
|
trace_id: e.trace_id,
|
|
548
599
|
span_id: e.span_id,
|
|
549
600
|
parent_span_id: e.parent_span_id,
|
|
@@ -557,14 +608,14 @@ function un(e) {
|
|
|
557
608
|
});
|
|
558
609
|
}
|
|
559
610
|
//#endregion
|
|
560
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
561
|
-
function
|
|
611
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
612
|
+
function vn(e, t) {
|
|
562
613
|
var n, r;
|
|
563
|
-
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || !t.getOptions().streamGenAiSpans ||
|
|
614
|
+
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || !t.getOptions().streamGenAiSpans || Bt(t)) return;
|
|
564
615
|
let i = [], a = [];
|
|
565
616
|
for (let t of e.spans) {
|
|
566
617
|
var o;
|
|
567
|
-
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(
|
|
618
|
+
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(_n(t)) : a.push(t);
|
|
568
619
|
}
|
|
569
620
|
if (i.length === 0) return;
|
|
570
621
|
e.spans = a;
|
|
@@ -575,7 +626,7 @@ function dn(e, t) {
|
|
|
575
626
|
content_type: "application/vnd.sentry.items.span.v2+json"
|
|
576
627
|
}, {
|
|
577
628
|
version: 2,
|
|
578
|
-
...
|
|
629
|
+
...an() && { ingest_settings: {
|
|
579
630
|
infer_ip: s,
|
|
580
631
|
infer_user_agent: s
|
|
581
632
|
} },
|
|
@@ -583,14 +634,9 @@ function dn(e, t) {
|
|
|
583
634
|
}];
|
|
584
635
|
}
|
|
585
636
|
//#endregion
|
|
586
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
}
|
|
590
|
-
//#endregion
|
|
591
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
592
|
-
var pn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
593
|
-
function mn(e = 100) {
|
|
637
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
638
|
+
var yn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
639
|
+
function bn(e = 100) {
|
|
594
640
|
let t = /* @__PURE__ */ new Set();
|
|
595
641
|
function n() {
|
|
596
642
|
return t.size < e;
|
|
@@ -599,15 +645,15 @@ function mn(e = 100) {
|
|
|
599
645
|
t.delete(e);
|
|
600
646
|
}
|
|
601
647
|
function i(e) {
|
|
602
|
-
if (!n()) return
|
|
648
|
+
if (!n()) return qe(yn);
|
|
603
649
|
let i = e();
|
|
604
650
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
605
651
|
}
|
|
606
652
|
function a(e) {
|
|
607
|
-
if (!t.size) return
|
|
653
|
+
if (!t.size) return xe(!0);
|
|
608
654
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
609
655
|
if (!e) return n;
|
|
610
|
-
let r = [n, new Promise((t) =>
|
|
656
|
+
let r = [n, new Promise((t) => Ct(setTimeout(() => t(!1), e)))];
|
|
611
657
|
return Promise.race(r);
|
|
612
658
|
}
|
|
613
659
|
return {
|
|
@@ -618,52 +664,27 @@ function mn(e = 100) {
|
|
|
618
664
|
drain: a
|
|
619
665
|
};
|
|
620
666
|
}
|
|
621
|
-
|
|
622
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
623
|
-
var hn = 60 * 1e3;
|
|
624
|
-
function gn(e, t = S()) {
|
|
625
|
-
let n = parseInt(`${e}`, 10);
|
|
626
|
-
if (!isNaN(n)) return n * 1e3;
|
|
627
|
-
let r = Date.parse(`${e}`);
|
|
628
|
-
return isNaN(r) ? hn : r - t;
|
|
629
|
-
}
|
|
630
|
-
function _n(e, t) {
|
|
631
|
-
return e[t] || e.all || 0;
|
|
632
|
-
}
|
|
633
|
-
function vn(e, t, n = S()) {
|
|
634
|
-
return _n(e, t) > n;
|
|
635
|
-
}
|
|
636
|
-
function yn(e, { statusCode: t, headers: n }, r = S()) {
|
|
637
|
-
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
638
|
-
if (a) for (let e of a.trim().split(",")) {
|
|
639
|
-
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
640
|
-
if (!n) i.all = r + s;
|
|
641
|
-
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
642
|
-
}
|
|
643
|
-
else o ? i.all = r + gn(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
644
|
-
return i;
|
|
645
|
-
}
|
|
646
|
-
function bn(e, t, n = mn(e.bufferSize || 64)) {
|
|
667
|
+
function xn(e, t, n = bn(e.bufferSize || 64)) {
|
|
647
668
|
let r = {}, i = (e) => n.drain(e);
|
|
648
669
|
function a(i) {
|
|
649
670
|
let a = [];
|
|
650
|
-
if (
|
|
651
|
-
let i =
|
|
652
|
-
|
|
671
|
+
if (st(i, (t, n) => {
|
|
672
|
+
let i = ht(n);
|
|
673
|
+
xt(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
653
674
|
}), a.length === 0) return Promise.resolve({});
|
|
654
|
-
let o =
|
|
655
|
-
if (
|
|
656
|
-
|
|
675
|
+
let o = F(i[0], a), s = (t) => {
|
|
676
|
+
if (ct(o, ["client_report"])) {
|
|
677
|
+
O && j.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
657
678
|
return;
|
|
658
679
|
}
|
|
659
|
-
|
|
660
|
-
e.recordDroppedEvent(t,
|
|
680
|
+
st(o, (n, r) => {
|
|
681
|
+
e.recordDroppedEvent(t, ht(r));
|
|
661
682
|
});
|
|
662
683
|
};
|
|
663
|
-
return n.add(() => t({ body:
|
|
664
|
-
throw s("network_error"),
|
|
684
|
+
return n.add(() => t({ body: ut(o) }).then((e) => e.statusCode === 413 ? (O && j.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (O && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && j.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = St(r, e), e), (e) => {
|
|
685
|
+
throw s("network_error"), O && j.error("Encountered error running transport request:", e), e;
|
|
665
686
|
})).then((e) => e, (e) => {
|
|
666
|
-
if (e ===
|
|
687
|
+
if (e === yn) return O && j.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
667
688
|
throw e;
|
|
668
689
|
});
|
|
669
690
|
}
|
|
@@ -673,17 +694,17 @@ function bn(e, t, n = mn(e.bufferSize || 64)) {
|
|
|
673
694
|
};
|
|
674
695
|
}
|
|
675
696
|
//#endregion
|
|
676
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
677
|
-
function
|
|
697
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
698
|
+
function Sn(e, t, n) {
|
|
678
699
|
let r = [{ type: "client_report" }, {
|
|
679
|
-
timestamp: n ||
|
|
700
|
+
timestamp: n || oe(),
|
|
680
701
|
discarded_events: e
|
|
681
702
|
}];
|
|
682
|
-
return
|
|
703
|
+
return F(t ? { dsn: t } : {}, [r]);
|
|
683
704
|
}
|
|
684
705
|
//#endregion
|
|
685
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
686
|
-
function
|
|
706
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
707
|
+
function Cn(e) {
|
|
687
708
|
let t = [];
|
|
688
709
|
e.message && t.push(e.message);
|
|
689
710
|
try {
|
|
@@ -693,8 +714,8 @@ function Sn(e) {
|
|
|
693
714
|
return t;
|
|
694
715
|
}
|
|
695
716
|
//#endregion
|
|
696
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
697
|
-
function
|
|
717
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
718
|
+
function wn(e) {
|
|
698
719
|
var t, n, r;
|
|
699
720
|
let { trace_id: i, parent_span_id: a, span_id: o, status: s, origin: c, data: l, op: u } = (t = (n = e.contexts) == null ? void 0 : n.trace) == null ? {} : t;
|
|
700
721
|
return {
|
|
@@ -708,13 +729,13 @@ function Cn(e) {
|
|
|
708
729
|
timestamp: e.timestamp,
|
|
709
730
|
trace_id: i == null ? "" : i,
|
|
710
731
|
origin: c,
|
|
711
|
-
profile_id: l == null ? void 0 : l[
|
|
712
|
-
exclusive_time: l == null ? void 0 : l[
|
|
732
|
+
profile_id: l == null ? void 0 : l[te],
|
|
733
|
+
exclusive_time: l == null ? void 0 : l[ue],
|
|
713
734
|
measurements: e.measurements,
|
|
714
735
|
is_segment: !0
|
|
715
736
|
};
|
|
716
737
|
}
|
|
717
|
-
function
|
|
738
|
+
function Tn(e) {
|
|
718
739
|
return {
|
|
719
740
|
type: "transaction",
|
|
720
741
|
timestamp: e.timestamp,
|
|
@@ -737,8 +758,8 @@ function wn(e) {
|
|
|
737
758
|
};
|
|
738
759
|
}
|
|
739
760
|
//#endregion
|
|
740
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
741
|
-
var
|
|
761
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
762
|
+
var En = [
|
|
742
763
|
"forwarded",
|
|
743
764
|
"-ip",
|
|
744
765
|
"remote-",
|
|
@@ -746,8 +767,8 @@ var Tn = [
|
|
|
746
767
|
"-user"
|
|
747
768
|
];
|
|
748
769
|
//#endregion
|
|
749
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
750
|
-
function
|
|
770
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
771
|
+
function Dn(e) {
|
|
751
772
|
return e === !0 ? {
|
|
752
773
|
userInfo: !0,
|
|
753
774
|
cookies: !0,
|
|
@@ -770,13 +791,13 @@ function En(e) {
|
|
|
770
791
|
frameContextLines: 7
|
|
771
792
|
} : {
|
|
772
793
|
userInfo: !1,
|
|
773
|
-
cookies: { deny:
|
|
794
|
+
cookies: { deny: En },
|
|
774
795
|
httpHeaders: {
|
|
775
|
-
request: { deny:
|
|
776
|
-
response: { deny:
|
|
796
|
+
request: { deny: En },
|
|
797
|
+
response: { deny: En }
|
|
777
798
|
},
|
|
778
799
|
httpBodies: [],
|
|
779
|
-
queryParams: { deny:
|
|
800
|
+
queryParams: { deny: En },
|
|
780
801
|
genAI: {
|
|
781
802
|
inputs: !1,
|
|
782
803
|
outputs: !1
|
|
@@ -786,8 +807,8 @@ function En(e) {
|
|
|
786
807
|
};
|
|
787
808
|
}
|
|
788
809
|
//#endregion
|
|
789
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
790
|
-
var
|
|
810
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
811
|
+
var On = {
|
|
791
812
|
userInfo: !0,
|
|
792
813
|
cookies: !0,
|
|
793
814
|
httpHeaders: {
|
|
@@ -808,9 +829,9 @@ var Dn = {
|
|
|
808
829
|
stackFrameVariables: !0,
|
|
809
830
|
frameContextLines: 5
|
|
810
831
|
};
|
|
811
|
-
function
|
|
832
|
+
function kn(e) {
|
|
812
833
|
var t, n, r, i, a, o, s, c, l, u, d, ee, f, p, m;
|
|
813
|
-
let h = e.dataCollection == null ?
|
|
834
|
+
let h = e.dataCollection == null ? Dn(e.sendDefaultPii) : On, g = (t = e.dataCollection) == null ? {} : t;
|
|
814
835
|
return {
|
|
815
836
|
userInfo: (n = g.userInfo) == null ? h.userInfo : n,
|
|
816
837
|
cookies: (r = g.cookies) == null ? h.cookies : r,
|
|
@@ -829,14 +850,8 @@ function On(e) {
|
|
|
829
850
|
};
|
|
830
851
|
}
|
|
831
852
|
//#endregion
|
|
832
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
833
|
-
var
|
|
834
|
-
function Pn(e) {
|
|
835
|
-
return {
|
|
836
|
-
message: e,
|
|
837
|
-
[jn]: !0
|
|
838
|
-
};
|
|
839
|
-
}
|
|
853
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/client.js
|
|
854
|
+
var An = "Not capturing exception because it's already been captured.", jn = "Discarded session because of missing or non-string release", Mn = /* @__PURE__ */ Symbol.for("SentryInternalError"), Nn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), Pn = 5e3;
|
|
840
855
|
function Fn(e) {
|
|
841
856
|
return {
|
|
842
857
|
message: e,
|
|
@@ -844,12 +859,18 @@ function Fn(e) {
|
|
|
844
859
|
};
|
|
845
860
|
}
|
|
846
861
|
function In(e) {
|
|
847
|
-
return
|
|
862
|
+
return {
|
|
863
|
+
message: e,
|
|
864
|
+
[Nn]: !0
|
|
865
|
+
};
|
|
848
866
|
}
|
|
849
867
|
function Ln(e) {
|
|
850
868
|
return !!e && typeof e == "object" && Mn in e;
|
|
851
869
|
}
|
|
852
|
-
function Rn(e
|
|
870
|
+
function Rn(e) {
|
|
871
|
+
return !!e && typeof e == "object" && Nn in e;
|
|
872
|
+
}
|
|
873
|
+
function zn(e, t, n, r, i) {
|
|
853
874
|
let a = 0, o, s = !1;
|
|
854
875
|
e.on(n, () => {
|
|
855
876
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -857,8 +878,8 @@ function Rn(e, t, n, r, i) {
|
|
|
857
878
|
if (a += r(t), a >= 8e5) i(e);
|
|
858
879
|
else if (!s) {
|
|
859
880
|
var n;
|
|
860
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
861
|
-
t > 0 && (s = !0, o =
|
|
881
|
+
let t = (n = e.getOptions()._flushInterval) == null ? Pn : n;
|
|
882
|
+
t > 0 && (s = !0, o = Ct(setTimeout(() => {
|
|
862
883
|
i(e);
|
|
863
884
|
}, t)));
|
|
864
885
|
}
|
|
@@ -866,11 +887,11 @@ function Rn(e, t, n, r, i) {
|
|
|
866
887
|
i(e);
|
|
867
888
|
});
|
|
868
889
|
}
|
|
869
|
-
var
|
|
890
|
+
var Bn = class {
|
|
870
891
|
constructor(e) {
|
|
871
892
|
var t, n, r, i, a, o, s;
|
|
872
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
873
|
-
let t =
|
|
893
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = bn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = kn(e), e.dsn ? this._dsn = Se(e.dsn) : O && j.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
894
|
+
let t = qt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
874
895
|
this._transport = e.transport({
|
|
875
896
|
tunnel: this._options.tunnel,
|
|
876
897
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -878,11 +899,11 @@ var zn = class {
|
|
|
878
899
|
url: t
|
|
879
900
|
});
|
|
880
901
|
}
|
|
881
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
902
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && zn(this, "afterCaptureLog", "flushLogs", qn, ln), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && zn(this, "afterCaptureMetric", "flushMetrics", Kn, mn);
|
|
882
903
|
}
|
|
883
904
|
captureException(e, t, n) {
|
|
884
|
-
let r =
|
|
885
|
-
if (ae(e)) return
|
|
905
|
+
let r = se();
|
|
906
|
+
if (ae(e)) return O && j.log(An), r;
|
|
886
907
|
let i = {
|
|
887
908
|
event_id: r,
|
|
888
909
|
...t
|
|
@@ -891,22 +912,22 @@ var zn = class {
|
|
|
891
912
|
}
|
|
892
913
|
captureMessage(e, t, n, r) {
|
|
893
914
|
let i = {
|
|
894
|
-
event_id:
|
|
915
|
+
event_id: se(),
|
|
895
916
|
...n
|
|
896
|
-
}, a =
|
|
917
|
+
}, a = Ae(e) ? e : String(e), o = Re(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
897
918
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
898
919
|
}
|
|
899
920
|
captureEvent(e, t, n) {
|
|
900
|
-
let r =
|
|
901
|
-
if (t != null && t.originalException && ae(t.originalException)) return
|
|
921
|
+
let r = se();
|
|
922
|
+
if (t != null && t.originalException && ae(t.originalException)) return O && j.log(An), r;
|
|
902
923
|
let i = {
|
|
903
924
|
event_id: r,
|
|
904
925
|
...t
|
|
905
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
926
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Vn(e.type);
|
|
906
927
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
907
928
|
}
|
|
908
929
|
captureSession(e) {
|
|
909
|
-
this.sendSession(e),
|
|
930
|
+
this.sendSession(e), v(e, { init: !1 });
|
|
910
931
|
}
|
|
911
932
|
getDsn() {
|
|
912
933
|
return this._dsn;
|
|
@@ -930,7 +951,7 @@ var zn = class {
|
|
|
930
951
|
return n && r;
|
|
931
952
|
}
|
|
932
953
|
async close(e) {
|
|
933
|
-
|
|
954
|
+
ln(this);
|
|
934
955
|
let t = await this.flush(e);
|
|
935
956
|
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
936
957
|
}
|
|
@@ -951,38 +972,38 @@ var zn = class {
|
|
|
951
972
|
}
|
|
952
973
|
addIntegration(e) {
|
|
953
974
|
let t = this._integrations[e.name];
|
|
954
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
975
|
+
!t && e.beforeSetup && e.beforeSetup(this), en(this, e, this._integrations), t || $t(this, [e]);
|
|
955
976
|
}
|
|
956
977
|
sendEvent(e, t = {}) {
|
|
957
978
|
this.emit("beforeSendEvent", e, t);
|
|
958
|
-
let n =
|
|
959
|
-
for (let e of t.attachments || []) r =
|
|
960
|
-
n && (r =
|
|
979
|
+
let n = vn(e, this), r = Ut(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
980
|
+
for (let e of t.attachments || []) r = ot(r, ft(e));
|
|
981
|
+
n && (r = ot(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
961
982
|
}
|
|
962
983
|
sendSession(e) {
|
|
963
|
-
let { release: t, environment: n =
|
|
984
|
+
let { release: t, environment: n = Ee } = this._options;
|
|
964
985
|
if ("aggregates" in e) {
|
|
965
986
|
let r = e.attrs || {};
|
|
966
987
|
if (!r.release && !t) {
|
|
967
|
-
|
|
988
|
+
O && j.warn(jn);
|
|
968
989
|
return;
|
|
969
990
|
}
|
|
970
991
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
971
992
|
} else {
|
|
972
993
|
if (!e.release && !t) {
|
|
973
|
-
|
|
994
|
+
O && j.warn(jn);
|
|
974
995
|
return;
|
|
975
996
|
}
|
|
976
997
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
977
998
|
}
|
|
978
999
|
this.emit("beforeSendSession", e);
|
|
979
|
-
let r =
|
|
1000
|
+
let r = Ht(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
980
1001
|
this.sendEnvelope(r);
|
|
981
1002
|
}
|
|
982
1003
|
recordDroppedEvent(e, t, n = 1) {
|
|
983
1004
|
if (this._options.sendClientReports) {
|
|
984
1005
|
let r = `${e}:${t}`;
|
|
985
|
-
|
|
1006
|
+
O && j.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
986
1007
|
}
|
|
987
1008
|
}
|
|
988
1009
|
on(e, t) {
|
|
@@ -999,15 +1020,15 @@ var zn = class {
|
|
|
999
1020
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
1000
1021
|
return await this._transport.send(e);
|
|
1001
1022
|
} catch (e) {
|
|
1002
|
-
return
|
|
1023
|
+
return O && j.error("Error while sending envelope:", e), {};
|
|
1003
1024
|
}
|
|
1004
|
-
return
|
|
1025
|
+
return O && j.error("Transport disabled"), {};
|
|
1005
1026
|
}
|
|
1006
1027
|
registerCleanup(e) {}
|
|
1007
1028
|
dispose() {}
|
|
1008
1029
|
_setupIntegrations() {
|
|
1009
1030
|
let { integrations: e } = this._options;
|
|
1010
|
-
this._integrations =
|
|
1031
|
+
this._integrations = Qt(this, e), $t(this, e);
|
|
1011
1032
|
}
|
|
1012
1033
|
_updateSessionFromEvent(e, t) {
|
|
1013
1034
|
var n;
|
|
@@ -1023,7 +1044,7 @@ var zn = class {
|
|
|
1023
1044
|
}
|
|
1024
1045
|
}
|
|
1025
1046
|
let s = e.status === "ok";
|
|
1026
|
-
(s && e.errors === 0 || s && r) && (
|
|
1047
|
+
(s && e.errors === 0 || s && r) && (v(e, {
|
|
1027
1048
|
...r && { status: "crashed" },
|
|
1028
1049
|
errors: e.errors || Number(i || r)
|
|
1029
1050
|
}), this.captureSession(e));
|
|
@@ -1041,40 +1062,40 @@ var zn = class {
|
|
|
1041
1062
|
}
|
|
1042
1063
|
_prepareEvent(e, t, n, r) {
|
|
1043
1064
|
let i = this.getOptions(), a = this.getIntegrationNames();
|
|
1044
|
-
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
1065
|
+
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), Me(i, e, t, n, this, r).then((e) => {
|
|
1045
1066
|
var r;
|
|
1046
1067
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
1047
1068
|
trace: {
|
|
1048
1069
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
1049
|
-
...
|
|
1070
|
+
...ye(n)
|
|
1050
1071
|
},
|
|
1051
1072
|
...e.contexts
|
|
1052
1073
|
}, e.sdkProcessingMetadata = {
|
|
1053
|
-
dynamicSamplingContext:
|
|
1074
|
+
dynamicSamplingContext: we(this, n),
|
|
1054
1075
|
...e.sdkProcessingMetadata
|
|
1055
1076
|
}, e);
|
|
1056
1077
|
});
|
|
1057
1078
|
}
|
|
1058
|
-
_captureEvent(e, t = {}, n =
|
|
1059
|
-
return
|
|
1060
|
-
|
|
1079
|
+
_captureEvent(e, t = {}, n = Je(), r = Ze()) {
|
|
1080
|
+
return O && Wn(e) && j.log(`Captured error event \`${Cn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1081
|
+
O && (Rn(e) ? j.log(e.message) : Ln(e) ? j.warn(e.message) : j.warn(e));
|
|
1061
1082
|
});
|
|
1062
1083
|
}
|
|
1063
1084
|
_processEvent(e, t, n, r) {
|
|
1064
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1065
|
-
if (s && typeof l == "number" &&
|
|
1066
|
-
let u =
|
|
1085
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Gn(e), s = Wn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : Mt(a);
|
|
1086
|
+
if (s && typeof l == "number" && $e() > l) return this.recordDroppedEvent("sample_rate", "error"), qe(In(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1087
|
+
let u = Vn(e.type);
|
|
1067
1088
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1068
1089
|
var n;
|
|
1069
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1070
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1090
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), In("An event processor returned `null`, will not send event.");
|
|
1091
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Hn(Un(this, i, e, t), c);
|
|
1071
1092
|
}).then((i) => {
|
|
1072
1093
|
if (i === null) {
|
|
1073
1094
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1074
1095
|
let t = 1 + (e.spans || []).length;
|
|
1075
1096
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1076
1097
|
}
|
|
1077
|
-
throw
|
|
1098
|
+
throw In(`${c} returned \`null\`, will not send event.`);
|
|
1078
1099
|
}
|
|
1079
1100
|
let a = n.getSession() || r.getSession();
|
|
1080
1101
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1088,19 +1109,19 @@ var zn = class {
|
|
|
1088
1109
|
source: "custom"
|
|
1089
1110
|
}), this.sendEvent(i, t), i;
|
|
1090
1111
|
}).then(null, (e) => {
|
|
1091
|
-
throw
|
|
1112
|
+
throw Rn(e) || Ln(e) ? e : (this.captureException(e, {
|
|
1092
1113
|
mechanism: {
|
|
1093
1114
|
handled: !1,
|
|
1094
1115
|
type: "internal"
|
|
1095
1116
|
},
|
|
1096
1117
|
data: { __sentry__: !0 },
|
|
1097
1118
|
originalException: e
|
|
1098
|
-
}),
|
|
1119
|
+
}), Fn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1099
1120
|
Reason: ${e}`));
|
|
1100
1121
|
});
|
|
1101
1122
|
}
|
|
1102
1123
|
_process(e, t) {
|
|
1103
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
1124
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === yn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
1104
1125
|
}
|
|
1105
1126
|
_clearOutcomes() {
|
|
1106
1127
|
let e = this._outcomes;
|
|
@@ -1114,64 +1135,64 @@ Reason: ${e}`));
|
|
|
1114
1135
|
});
|
|
1115
1136
|
}
|
|
1116
1137
|
_flushOutcomes() {
|
|
1117
|
-
|
|
1138
|
+
O && j.log("Flushing outcomes...");
|
|
1118
1139
|
let e = this._clearOutcomes();
|
|
1119
1140
|
if (e.length === 0) {
|
|
1120
|
-
|
|
1141
|
+
O && j.log("No outcomes to send");
|
|
1121
1142
|
return;
|
|
1122
1143
|
}
|
|
1123
1144
|
if (!this._dsn) {
|
|
1124
|
-
|
|
1145
|
+
O && j.log("No dsn provided, will not send outcomes");
|
|
1125
1146
|
return;
|
|
1126
1147
|
}
|
|
1127
|
-
|
|
1128
|
-
let t =
|
|
1148
|
+
O && j.log("Sending outcomes:", e);
|
|
1149
|
+
let t = Sn(e, this._options.tunnel && N(this._dsn));
|
|
1129
1150
|
this.sendEnvelope(t);
|
|
1130
1151
|
}
|
|
1131
1152
|
};
|
|
1132
|
-
function
|
|
1153
|
+
function Vn(e) {
|
|
1133
1154
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1134
1155
|
}
|
|
1135
|
-
function
|
|
1156
|
+
function Hn(e, t) {
|
|
1136
1157
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1137
|
-
if (
|
|
1138
|
-
if (!
|
|
1158
|
+
if (Ne(e)) return e.then((e) => {
|
|
1159
|
+
if (!ve(e) && e !== null) throw Fn(n);
|
|
1139
1160
|
return e;
|
|
1140
1161
|
}, (e) => {
|
|
1141
|
-
throw
|
|
1162
|
+
throw Fn(`${t} rejected with ${e}`);
|
|
1142
1163
|
});
|
|
1143
|
-
if (!
|
|
1164
|
+
if (!ve(e) && e !== null) throw Fn(n);
|
|
1144
1165
|
return e;
|
|
1145
1166
|
}
|
|
1146
|
-
function
|
|
1147
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
1148
|
-
if (
|
|
1149
|
-
if (
|
|
1167
|
+
function Un(e, t, n, r) {
|
|
1168
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !Nt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1169
|
+
if (Wn(c) && i) return i(c, r);
|
|
1170
|
+
if (Gn(c)) {
|
|
1150
1171
|
if (s || o) {
|
|
1151
|
-
let t =
|
|
1152
|
-
if (o != null && o.length &&
|
|
1172
|
+
let t = wn(c);
|
|
1173
|
+
if (o != null && o.length && It({
|
|
1153
1174
|
description: t.description,
|
|
1154
1175
|
op: t.op,
|
|
1155
1176
|
attributes: t.data
|
|
1156
1177
|
}, o)) return null;
|
|
1157
1178
|
if (s) {
|
|
1158
1179
|
let e = s(t);
|
|
1159
|
-
e ? c =
|
|
1180
|
+
e ? c = le(n, Tn(e)) : ze();
|
|
1160
1181
|
}
|
|
1161
1182
|
if (c.spans) {
|
|
1162
1183
|
let t = [], n = c.spans;
|
|
1163
1184
|
for (let e of n) {
|
|
1164
|
-
if (o != null && o.length &&
|
|
1185
|
+
if (o != null && o.length && It({
|
|
1165
1186
|
description: e.description,
|
|
1166
1187
|
op: e.op,
|
|
1167
1188
|
attributes: e.data
|
|
1168
1189
|
}, o)) {
|
|
1169
|
-
|
|
1190
|
+
Rt(n, e);
|
|
1170
1191
|
continue;
|
|
1171
1192
|
}
|
|
1172
1193
|
if (s) {
|
|
1173
1194
|
let n = s(e);
|
|
1174
|
-
n ? t.push(n) : (
|
|
1195
|
+
n ? t.push(n) : (ze(), t.push(e));
|
|
1175
1196
|
} else t.push(e);
|
|
1176
1197
|
}
|
|
1177
1198
|
let r = c.spans.length - t.length;
|
|
@@ -1191,92 +1212,45 @@ function Hn(e, t, n, r) {
|
|
|
1191
1212
|
}
|
|
1192
1213
|
return c;
|
|
1193
1214
|
}
|
|
1194
|
-
function Un(e) {
|
|
1195
|
-
return e.type === void 0;
|
|
1196
|
-
}
|
|
1197
1215
|
function Wn(e) {
|
|
1198
|
-
return e.type ===
|
|
1216
|
+
return e.type === void 0;
|
|
1199
1217
|
}
|
|
1200
1218
|
function Gn(e) {
|
|
1201
|
-
|
|
1202
|
-
return e.name && (t += e.name.length * 2), t += 8, t + qn(e.attributes);
|
|
1219
|
+
return e.type === "transaction";
|
|
1203
1220
|
}
|
|
1204
1221
|
function Kn(e) {
|
|
1205
1222
|
let t = 0;
|
|
1206
|
-
return e.
|
|
1223
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Jn(e.attributes);
|
|
1207
1224
|
}
|
|
1208
1225
|
function qn(e) {
|
|
1226
|
+
let t = 0;
|
|
1227
|
+
return e.message && (t += e.message.length * 2), t + Jn(e.attributes);
|
|
1228
|
+
}
|
|
1229
|
+
function Jn(e) {
|
|
1209
1230
|
if (!e) return 0;
|
|
1210
1231
|
let t = 0;
|
|
1211
1232
|
return Object.values(e).forEach((e) => {
|
|
1212
|
-
Array.isArray(e) ? t += e.length *
|
|
1233
|
+
Array.isArray(e) ? t += e.length * Yn(e[0]) : Re(e) ? t += Yn(e) : t += 100;
|
|
1213
1234
|
}), t;
|
|
1214
1235
|
}
|
|
1215
|
-
function
|
|
1236
|
+
function Yn(e) {
|
|
1216
1237
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1217
1238
|
}
|
|
1218
1239
|
//#endregion
|
|
1219
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1220
|
-
function
|
|
1221
|
-
t.debug === !0 && (
|
|
1240
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1241
|
+
function Xn(e, t) {
|
|
1242
|
+
t.debug === !0 && (O ? j.enable() : Be(() => {
|
|
1222
1243
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1223
|
-
})),
|
|
1244
|
+
})), Je().update(t.initialScope);
|
|
1224
1245
|
let n = new e(t);
|
|
1225
|
-
return
|
|
1246
|
+
return Zn(n), n.init(), n;
|
|
1226
1247
|
}
|
|
1227
|
-
function
|
|
1228
|
-
|
|
1229
|
-
}
|
|
1230
|
-
var Zn = 5e3, Qn = 36e5;
|
|
1231
|
-
function $n(e) {
|
|
1232
|
-
function t(...e) {
|
|
1233
|
-
F && N.log("[Offline]:", ...e);
|
|
1234
|
-
}
|
|
1235
|
-
return (n) => {
|
|
1236
|
-
let r = e(n);
|
|
1237
|
-
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1238
|
-
let i = n.createStore(n), a = Zn, o;
|
|
1239
|
-
function s(e, t, r) {
|
|
1240
|
-
return bt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1241
|
-
}
|
|
1242
|
-
function c(e) {
|
|
1243
|
-
o && clearTimeout(o), o = fn(setTimeout(async () => {
|
|
1244
|
-
o = void 0;
|
|
1245
|
-
let e = await i.shift();
|
|
1246
|
-
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(S()).toISOString(), u(e, !0).catch((e) => {
|
|
1247
|
-
t("Failed to retry sending", e);
|
|
1248
|
-
}));
|
|
1249
|
-
}, e));
|
|
1250
|
-
}
|
|
1251
|
-
function l() {
|
|
1252
|
-
o || (c(a), a = Math.min(a * 2, Qn));
|
|
1253
|
-
}
|
|
1254
|
-
async function u(e, o = !1) {
|
|
1255
|
-
if (!o && bt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1256
|
-
try {
|
|
1257
|
-
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1258
|
-
let t = await r.send(e), i = 100;
|
|
1259
|
-
if (t) {
|
|
1260
|
-
var u, d;
|
|
1261
|
-
if ((u = t.headers) != null && u["retry-after"]) i = gn(t.headers["retry-after"]);
|
|
1262
|
-
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1263
|
-
else if ((t.statusCode || 0) >= 400) return t;
|
|
1264
|
-
}
|
|
1265
|
-
return c(i), a = Zn, t;
|
|
1266
|
-
} catch (n) {
|
|
1267
|
-
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1268
|
-
throw n;
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
return n.flushAtStartup && l(), {
|
|
1272
|
-
send: u,
|
|
1273
|
-
flush: (e) => (e === void 0 && (a = Zn, c(100)), r.flush(e))
|
|
1274
|
-
};
|
|
1275
|
-
};
|
|
1248
|
+
function Zn(e) {
|
|
1249
|
+
Je().setClient(e);
|
|
1276
1250
|
}
|
|
1277
1251
|
//#endregion
|
|
1278
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1279
|
-
function
|
|
1252
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1253
|
+
function Qn(e) {
|
|
1280
1254
|
if ("aggregates" in e) {
|
|
1281
1255
|
var t;
|
|
1282
1256
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1286,45 +1260,45 @@ function er(e) {
|
|
|
1286
1260
|
} else e.ipAddress === void 0 && (e.ipAddress = "{{auto}}");
|
|
1287
1261
|
}
|
|
1288
1262
|
//#endregion
|
|
1289
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1290
|
-
function
|
|
1263
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1264
|
+
function $n(e, t, n = [t], r = "npm") {
|
|
1291
1265
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1292
1266
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1293
1267
|
name: `${r}:@sentry/${e}`,
|
|
1294
|
-
version:
|
|
1295
|
-
})), i.version =
|
|
1268
|
+
version: Qe
|
|
1269
|
+
})), i.version = Qe);
|
|
1296
1270
|
}
|
|
1297
1271
|
//#endregion
|
|
1298
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1299
|
-
var
|
|
1272
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1273
|
+
var er = 100;
|
|
1300
1274
|
function H(e, t) {
|
|
1301
|
-
let n = D(), r =
|
|
1275
|
+
let n = D(), r = Ze();
|
|
1302
1276
|
if (!n) return;
|
|
1303
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1277
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = er } = n.getOptions();
|
|
1304
1278
|
if (a <= 0) return;
|
|
1305
1279
|
let o = {
|
|
1306
|
-
timestamp:
|
|
1280
|
+
timestamp: oe(),
|
|
1307
1281
|
...e
|
|
1308
|
-
}, s = i ?
|
|
1282
|
+
}, s = i ? Be(() => i(o, t)) : o;
|
|
1309
1283
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1310
1284
|
}
|
|
1311
1285
|
//#endregion
|
|
1312
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1313
|
-
var
|
|
1314
|
-
name:
|
|
1286
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1287
|
+
var tr, nr = "FunctionToString", rr = /* @__PURE__ */ new WeakMap(), ir = V((() => ({
|
|
1288
|
+
name: nr,
|
|
1315
1289
|
setupOnce() {
|
|
1316
|
-
|
|
1290
|
+
tr = Function.prototype.toString;
|
|
1317
1291
|
try {
|
|
1318
1292
|
Function.prototype.toString = function(...e) {
|
|
1319
|
-
let t =
|
|
1320
|
-
return
|
|
1293
|
+
let t = me(this), n = rr.has(D()) && t !== void 0 ? t : this;
|
|
1294
|
+
return tr.apply(n, e);
|
|
1321
1295
|
};
|
|
1322
1296
|
} catch {}
|
|
1323
1297
|
},
|
|
1324
1298
|
setup(e) {
|
|
1325
|
-
|
|
1299
|
+
rr.set(e, !0);
|
|
1326
1300
|
}
|
|
1327
|
-
}))),
|
|
1301
|
+
}))), ar = [
|
|
1328
1302
|
/^Script error\.?$/,
|
|
1329
1303
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1330
1304
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1336,204 +1310,118 @@ var rr, ir = "FunctionToString", ar = /* @__PURE__ */ new WeakMap(), or = V((()
|
|
|
1336
1310
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1337
1311
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1338
1312
|
/^Java exception was raised during method invocation$/
|
|
1339
|
-
],
|
|
1313
|
+
], or = "EventFilters", sr = V((e = {}) => {
|
|
1340
1314
|
let t;
|
|
1341
1315
|
return {
|
|
1342
|
-
name:
|
|
1316
|
+
name: or,
|
|
1343
1317
|
setup(n) {
|
|
1344
|
-
t =
|
|
1318
|
+
t = lr(e, n.getOptions());
|
|
1345
1319
|
},
|
|
1346
1320
|
processEvent(n, r, i) {
|
|
1347
|
-
return t || (t =
|
|
1321
|
+
return t || (t = lr(e, i.getOptions())), ur(n, t) ? null : n;
|
|
1348
1322
|
}
|
|
1349
1323
|
};
|
|
1350
|
-
}),
|
|
1351
|
-
...
|
|
1324
|
+
}), cr = V(((e = {}) => ({
|
|
1325
|
+
...sr(e),
|
|
1352
1326
|
name: "InboundFilters"
|
|
1353
1327
|
})));
|
|
1354
|
-
function
|
|
1328
|
+
function lr(e = {}, t = {}) {
|
|
1355
1329
|
return {
|
|
1356
1330
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1357
1331
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1358
1332
|
ignoreErrors: [
|
|
1359
1333
|
...e.ignoreErrors || [],
|
|
1360
1334
|
...t.ignoreErrors || [],
|
|
1361
|
-
...e.disableErrorDefaults ? [] :
|
|
1335
|
+
...e.disableErrorDefaults ? [] : ar
|
|
1362
1336
|
],
|
|
1363
1337
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1364
1338
|
};
|
|
1365
1339
|
}
|
|
1366
|
-
function
|
|
1340
|
+
function ur(e, t) {
|
|
1367
1341
|
if (!e.type) {
|
|
1368
|
-
if (
|
|
1369
|
-
Event: ${
|
|
1370
|
-
if (
|
|
1371
|
-
Event: ${
|
|
1372
|
-
if (
|
|
1373
|
-
Event: ${
|
|
1374
|
-
Url: ${
|
|
1375
|
-
if (!
|
|
1376
|
-
Event: ${
|
|
1377
|
-
Url: ${
|
|
1378
|
-
} else if (e.type === "transaction" &&
|
|
1379
|
-
Event: ${
|
|
1342
|
+
if (dr(e, t.ignoreErrors)) return O && j.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1343
|
+
Event: ${w(e)}`), !0;
|
|
1344
|
+
if (gr(e)) return O && j.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1345
|
+
Event: ${w(e)}`), !0;
|
|
1346
|
+
if (pr(e, t.denyUrls)) return O && j.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1347
|
+
Event: ${w(e)}.
|
|
1348
|
+
Url: ${U(e)}`), !0;
|
|
1349
|
+
if (!mr(e, t.allowUrls)) return O && j.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1350
|
+
Event: ${w(e)}.
|
|
1351
|
+
Url: ${U(e)}`), !0;
|
|
1352
|
+
} else if (e.type === "transaction" && fr(e, t.ignoreTransactions)) return O && j.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1353
|
+
Event: ${w(e)}`), !0;
|
|
1380
1354
|
return !1;
|
|
1381
1355
|
}
|
|
1382
|
-
function
|
|
1383
|
-
return t != null && t.length ?
|
|
1356
|
+
function dr(e, t) {
|
|
1357
|
+
return t != null && t.length ? Cn(e).some((e) => C(e, t)) : !1;
|
|
1384
1358
|
}
|
|
1385
|
-
function
|
|
1359
|
+
function fr(e, t) {
|
|
1386
1360
|
if (!(t != null && t.length)) return !1;
|
|
1387
1361
|
let n = e.transaction;
|
|
1388
|
-
return n ?
|
|
1362
|
+
return n ? C(n, t) : !1;
|
|
1389
1363
|
}
|
|
1390
|
-
function
|
|
1364
|
+
function pr(e, t) {
|
|
1391
1365
|
if (!(t != null && t.length)) return !1;
|
|
1392
|
-
let n =
|
|
1393
|
-
return n ?
|
|
1366
|
+
let n = U(e);
|
|
1367
|
+
return n ? C(n, t) : !1;
|
|
1394
1368
|
}
|
|
1395
|
-
function
|
|
1369
|
+
function mr(e, t) {
|
|
1396
1370
|
if (!(t != null && t.length)) return !0;
|
|
1397
|
-
let n =
|
|
1398
|
-
return n ?
|
|
1371
|
+
let n = U(e);
|
|
1372
|
+
return n ? C(n, t) : !0;
|
|
1399
1373
|
}
|
|
1400
|
-
function
|
|
1374
|
+
function hr(e = []) {
|
|
1401
1375
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1402
1376
|
let n = e[t];
|
|
1403
1377
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1404
1378
|
}
|
|
1405
1379
|
return null;
|
|
1406
1380
|
}
|
|
1407
|
-
function
|
|
1381
|
+
function U(e) {
|
|
1408
1382
|
try {
|
|
1409
1383
|
var t, n, r;
|
|
1410
1384
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1411
1385
|
var t, n;
|
|
1412
1386
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1413
1387
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1414
|
-
return a ?
|
|
1388
|
+
return a ? hr(a) : null;
|
|
1415
1389
|
} catch {
|
|
1416
|
-
return
|
|
1390
|
+
return O && j.error(`Cannot extract url for event ${w(e)}`), null;
|
|
1417
1391
|
}
|
|
1418
1392
|
}
|
|
1419
|
-
function
|
|
1393
|
+
function gr(e) {
|
|
1420
1394
|
var t;
|
|
1421
1395
|
return !((t = e.exception) == null || (t = t.values) == null) && t.length ? !e.message && !e.exception.values.some((e) => e.stacktrace || e.type && e.type !== "Error" || e.value) : !1;
|
|
1422
1396
|
}
|
|
1423
1397
|
//#endregion
|
|
1424
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1425
|
-
|
|
1426
|
-
var o;
|
|
1427
|
-
if (!((o = i.exception) != null && o.values) || !a || !xe(a.originalException, Error)) return;
|
|
1428
|
-
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1429
|
-
s && (i.exception.values = xr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1430
|
-
}
|
|
1431
|
-
function xr(e, t, n, r, i, a, o, s) {
|
|
1432
|
-
if (a.length >= n + 1) return a;
|
|
1433
|
-
let c = [...a];
|
|
1434
|
-
if (xe(r[i], Error)) {
|
|
1435
|
-
Cr(o, s, r);
|
|
1436
|
-
let a = e(t, r[i]), l = c.length;
|
|
1437
|
-
wr(a, i, l, s), c = xr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1438
|
-
}
|
|
1439
|
-
return Sr(r) && r.errors.forEach((a, l) => {
|
|
1440
|
-
if (xe(a, Error)) {
|
|
1441
|
-
Cr(o, s, r);
|
|
1442
|
-
let u = e(t, a), d = c.length;
|
|
1443
|
-
wr(u, `errors[${l}]`, d, s), c = xr(e, t, n, a, i, [u, ...c], u, d);
|
|
1444
|
-
}
|
|
1445
|
-
}), c;
|
|
1446
|
-
}
|
|
1447
|
-
function Sr(e) {
|
|
1448
|
-
return Array.isArray(e.errors);
|
|
1449
|
-
}
|
|
1450
|
-
function Cr(e, t, n) {
|
|
1451
|
-
e.mechanism = {
|
|
1452
|
-
handled: !0,
|
|
1453
|
-
type: "auto.core.linked_errors",
|
|
1454
|
-
...Sr(n) && { is_exception_group: !0 },
|
|
1455
|
-
...e.mechanism,
|
|
1456
|
-
exception_id: t
|
|
1457
|
-
};
|
|
1458
|
-
}
|
|
1459
|
-
function wr(e, t, n, r) {
|
|
1460
|
-
e.mechanism = {
|
|
1461
|
-
handled: !0,
|
|
1462
|
-
...e.mechanism,
|
|
1463
|
-
type: "chained",
|
|
1464
|
-
source: t,
|
|
1465
|
-
exception_id: n,
|
|
1466
|
-
parent_id: r
|
|
1467
|
-
};
|
|
1468
|
-
}
|
|
1469
|
-
//#endregion
|
|
1470
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1471
|
-
function Tr(e) {
|
|
1472
|
-
return pe(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1473
|
-
}
|
|
1474
|
-
function Er(e) {
|
|
1475
|
-
return Tr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1476
|
-
}
|
|
1477
|
-
//#endregion
|
|
1478
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1479
|
-
var Dr = /* @__PURE__ */ new Set([]);
|
|
1480
|
-
function Or(e) {
|
|
1481
|
-
let t = "console", n = L(t, e);
|
|
1482
|
-
return R(t, kr), n;
|
|
1483
|
-
}
|
|
1484
|
-
function kr() {
|
|
1485
|
-
"console" in P && be.forEach(function(e) {
|
|
1486
|
-
e in P.console && w(P.console, e, function(t) {
|
|
1487
|
-
return Me[e] = t, function(...t) {
|
|
1488
|
-
let n = t[0], r = Me[e], i = Dr.size && typeof n == "string" && E(n, Dr);
|
|
1489
|
-
i || z("console", {
|
|
1490
|
-
args: t,
|
|
1491
|
-
level: e
|
|
1492
|
-
}), (!i || F && N.isEnabled()) && (r == null || r.apply(P.console, t));
|
|
1493
|
-
};
|
|
1494
|
-
});
|
|
1495
|
-
});
|
|
1496
|
-
}
|
|
1497
|
-
//#endregion
|
|
1498
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1499
|
-
function Ar(e) {
|
|
1500
|
-
return e === "warn" ? "warning" : [
|
|
1501
|
-
"fatal",
|
|
1502
|
-
"error",
|
|
1503
|
-
"warning",
|
|
1504
|
-
"log",
|
|
1505
|
-
"info",
|
|
1506
|
-
"debug"
|
|
1507
|
-
].includes(e) ? e : "log";
|
|
1508
|
-
}
|
|
1509
|
-
//#endregion
|
|
1510
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.59.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1511
|
-
var jr = "Dedupe", Mr = V((() => {
|
|
1398
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1399
|
+
var _r = "Dedupe", vr = V((() => {
|
|
1512
1400
|
let e;
|
|
1513
1401
|
return {
|
|
1514
|
-
name:
|
|
1402
|
+
name: _r,
|
|
1515
1403
|
processEvent(t) {
|
|
1516
1404
|
if (t.type) return t;
|
|
1517
1405
|
try {
|
|
1518
|
-
if (
|
|
1406
|
+
if (yr(t, e)) return O && j.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1519
1407
|
} catch {}
|
|
1520
1408
|
return e = t;
|
|
1521
1409
|
}
|
|
1522
1410
|
};
|
|
1523
1411
|
}));
|
|
1524
|
-
function
|
|
1525
|
-
return t ? !!(
|
|
1412
|
+
function yr(e, t) {
|
|
1413
|
+
return t ? !!(br(e, t) || xr(e, t)) : !1;
|
|
1526
1414
|
}
|
|
1527
|
-
function
|
|
1415
|
+
function br(e, t) {
|
|
1528
1416
|
let n = e.message, r = t.message;
|
|
1529
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1417
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Cr(e, t) || !Sr(e, t));
|
|
1530
1418
|
}
|
|
1531
|
-
function
|
|
1532
|
-
let n =
|
|
1533
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1419
|
+
function xr(e, t) {
|
|
1420
|
+
let n = wr(t), r = wr(e);
|
|
1421
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Cr(e, t) || !Sr(e, t));
|
|
1534
1422
|
}
|
|
1535
|
-
function
|
|
1536
|
-
let n =
|
|
1423
|
+
function Sr(e, t) {
|
|
1424
|
+
let n = pe(e), r = pe(t);
|
|
1537
1425
|
if (!n && !r) return !0;
|
|
1538
1426
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1539
1427
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1542,7 +1430,7 @@ function Ir(e, t) {
|
|
|
1542
1430
|
}
|
|
1543
1431
|
return !0;
|
|
1544
1432
|
}
|
|
1545
|
-
function
|
|
1433
|
+
function Cr(e, t) {
|
|
1546
1434
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1547
1435
|
if (!n && !r) return !0;
|
|
1548
1436
|
if (n && !r || !n && r) return !1;
|
|
@@ -1553,111 +1441,146 @@ function Lr(e, t) {
|
|
|
1553
1441
|
return !1;
|
|
1554
1442
|
}
|
|
1555
1443
|
}
|
|
1556
|
-
function
|
|
1444
|
+
function wr(e) {
|
|
1557
1445
|
var t;
|
|
1558
1446
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1559
1447
|
}
|
|
1560
1448
|
//#endregion
|
|
1561
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1562
|
-
var
|
|
1563
|
-
name:
|
|
1449
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1450
|
+
var Tr = "ConversationId", Er = V((() => ({
|
|
1451
|
+
name: Tr,
|
|
1564
1452
|
setup(e) {
|
|
1565
1453
|
e.on("spanStart", (e) => {
|
|
1566
|
-
let t =
|
|
1454
|
+
let t = Je().getScopeData(), n = Ze().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1567
1455
|
if (r) {
|
|
1568
|
-
let { op: t, data: n, description: i } =
|
|
1456
|
+
let { op: t, data: n, description: i } = Pe(e);
|
|
1569
1457
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1570
|
-
e.setAttribute(
|
|
1458
|
+
e.setAttribute(Ye, r);
|
|
1571
1459
|
}
|
|
1572
1460
|
});
|
|
1573
1461
|
}
|
|
1574
1462
|
})));
|
|
1575
1463
|
//#endregion
|
|
1576
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1577
|
-
function
|
|
1464
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1465
|
+
function Dr(e, t, n, r, i, a) {
|
|
1466
|
+
var o;
|
|
1467
|
+
if (!((o = i.exception) != null && o.values) || !a || !He(a.originalException, Error)) return;
|
|
1468
|
+
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1469
|
+
s && (i.exception.values = Or(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1470
|
+
}
|
|
1471
|
+
function Or(e, t, n, r, i, a, o, s) {
|
|
1472
|
+
if (a.length >= n + 1) return a;
|
|
1473
|
+
let c = [...a];
|
|
1474
|
+
if (He(r[i], Error)) {
|
|
1475
|
+
Ar(o, s, r);
|
|
1476
|
+
let a = e(t, r[i]), l = c.length;
|
|
1477
|
+
jr(a, i, l, s), c = Or(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1478
|
+
}
|
|
1479
|
+
return kr(r) && r.errors.forEach((a, l) => {
|
|
1480
|
+
if (He(a, Error)) {
|
|
1481
|
+
Ar(o, s, r);
|
|
1482
|
+
let u = e(t, a), d = c.length;
|
|
1483
|
+
jr(u, `errors[${l}]`, d, s), c = Or(e, t, n, a, i, [u, ...c], u, d);
|
|
1484
|
+
}
|
|
1485
|
+
}), c;
|
|
1486
|
+
}
|
|
1487
|
+
function kr(e) {
|
|
1488
|
+
return Array.isArray(e.errors);
|
|
1489
|
+
}
|
|
1490
|
+
function Ar(e, t, n) {
|
|
1491
|
+
e.mechanism = {
|
|
1492
|
+
handled: !0,
|
|
1493
|
+
type: "auto.core.linked_errors",
|
|
1494
|
+
...kr(n) && { is_exception_group: !0 },
|
|
1495
|
+
...e.mechanism,
|
|
1496
|
+
exception_id: t
|
|
1497
|
+
};
|
|
1498
|
+
}
|
|
1499
|
+
function jr(e, t, n, r) {
|
|
1500
|
+
e.mechanism = {
|
|
1501
|
+
handled: !0,
|
|
1502
|
+
...e.mechanism,
|
|
1503
|
+
type: "chained",
|
|
1504
|
+
source: t,
|
|
1505
|
+
exception_id: n,
|
|
1506
|
+
parent_id: r
|
|
1507
|
+
};
|
|
1508
|
+
}
|
|
1509
|
+
//#endregion
|
|
1510
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1511
|
+
function Mr(e) {
|
|
1578
1512
|
if (e !== void 0) {
|
|
1579
1513
|
if (e >= 400 && e < 500) return "warning";
|
|
1580
1514
|
if (e >= 500) return "error";
|
|
1581
1515
|
}
|
|
1582
1516
|
}
|
|
1583
1517
|
//#endregion
|
|
1584
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1585
|
-
var
|
|
1586
|
-
function
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
function Ur() {
|
|
1590
|
-
if (!("fetch" in U)) return !1;
|
|
1591
|
-
try {
|
|
1592
|
-
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1593
|
-
} catch {
|
|
1594
|
-
return !1;
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
function Wr(e) {
|
|
1598
|
-
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1518
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1519
|
+
var Nr = /* @__PURE__ */ new Set([]);
|
|
1520
|
+
function Pr(e) {
|
|
1521
|
+
let t = "console", n = L(t, e);
|
|
1522
|
+
return R(t, Fr), n;
|
|
1599
1523
|
}
|
|
1600
|
-
function
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
}
|
|
1612
|
-
return e;
|
|
1524
|
+
function Fr() {
|
|
1525
|
+
"console" in P && Te.forEach(function(e) {
|
|
1526
|
+
e in P.console && E(P.console, e, function(t) {
|
|
1527
|
+
return ke[e] = t, function(...t) {
|
|
1528
|
+
let n = t[0], r = ke[e], i = Nr.size && typeof n == "string" && C(n, Nr);
|
|
1529
|
+
i || z("console", {
|
|
1530
|
+
args: t,
|
|
1531
|
+
level: e
|
|
1532
|
+
}), (!i || O && j.isEnabled()) && (r == null || r.apply(P.console, t));
|
|
1533
|
+
};
|
|
1534
|
+
});
|
|
1535
|
+
});
|
|
1613
1536
|
}
|
|
1614
1537
|
//#endregion
|
|
1615
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1616
|
-
function
|
|
1538
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1539
|
+
function Ir(e, t) {
|
|
1617
1540
|
let n = "fetch", r = L(n, e);
|
|
1618
|
-
return R(n, () =>
|
|
1541
|
+
return R(n, () => Lr(void 0, t)), r;
|
|
1619
1542
|
}
|
|
1620
|
-
function
|
|
1621
|
-
t && !
|
|
1543
|
+
function Lr(e, t = !1) {
|
|
1544
|
+
t && !jt() || E(P, "fetch", function(t) {
|
|
1622
1545
|
return function(...n) {
|
|
1623
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1546
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Br(n), o = {
|
|
1624
1547
|
args: n,
|
|
1625
1548
|
fetchData: {
|
|
1626
1549
|
method: i,
|
|
1627
1550
|
url: a
|
|
1628
1551
|
},
|
|
1629
|
-
startTimestamp:
|
|
1552
|
+
startTimestamp: A() * 1e3,
|
|
1630
1553
|
virtualError: r,
|
|
1631
|
-
headers:
|
|
1554
|
+
headers: Vr(n)
|
|
1632
1555
|
};
|
|
1633
1556
|
return e || z("fetch", { ...o }), t.apply(P, n).then(async (t) => (e ? e(t) : z("fetch", {
|
|
1634
1557
|
...o,
|
|
1635
|
-
endTimestamp:
|
|
1558
|
+
endTimestamp: A() * 1e3,
|
|
1636
1559
|
response: t
|
|
1637
1560
|
}), t), (e) => {
|
|
1638
1561
|
var t;
|
|
1639
1562
|
z("fetch", {
|
|
1640
1563
|
...o,
|
|
1641
|
-
endTimestamp:
|
|
1564
|
+
endTimestamp: A() * 1e3,
|
|
1642
1565
|
error: e
|
|
1643
|
-
}),
|
|
1566
|
+
}), Ce(e) && e.stack === void 0 && (e.stack = r.stack, M(e, "framesToPop", 1));
|
|
1644
1567
|
let n = D(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1645
1568
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1646
1569
|
let t = new URL(o.fetchData.url).host;
|
|
1647
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1570
|
+
i === "always" ? e.message = `${e.message} (${t})` : M(e, "__sentry_fetch_url_host__", t);
|
|
1648
1571
|
} catch {}
|
|
1649
1572
|
throw e;
|
|
1650
1573
|
});
|
|
1651
1574
|
};
|
|
1652
1575
|
});
|
|
1653
1576
|
}
|
|
1654
|
-
function
|
|
1577
|
+
function Rr(e, t) {
|
|
1655
1578
|
return !!e && typeof e == "object" && !!e[t];
|
|
1656
1579
|
}
|
|
1657
|
-
function
|
|
1658
|
-
return typeof e == "string" ? e : e ?
|
|
1580
|
+
function zr(e) {
|
|
1581
|
+
return typeof e == "string" ? e : e ? Rr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1659
1582
|
}
|
|
1660
|
-
function
|
|
1583
|
+
function Br(e) {
|
|
1661
1584
|
if (e.length === 0) return {
|
|
1662
1585
|
method: "GET",
|
|
1663
1586
|
url: ""
|
|
@@ -1665,348 +1588,148 @@ function Yr(e) {
|
|
|
1665
1588
|
if (e.length === 2) {
|
|
1666
1589
|
let [t, n] = e;
|
|
1667
1590
|
return {
|
|
1668
|
-
url:
|
|
1669
|
-
method:
|
|
1591
|
+
url: zr(t),
|
|
1592
|
+
method: Rr(n, "method") ? String(n.method).toUpperCase() : We(t) && Rr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1670
1593
|
};
|
|
1671
1594
|
}
|
|
1672
1595
|
let t = e[0];
|
|
1673
1596
|
return {
|
|
1674
|
-
url:
|
|
1675
|
-
method:
|
|
1597
|
+
url: zr(t),
|
|
1598
|
+
method: Rr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1676
1599
|
};
|
|
1677
1600
|
}
|
|
1678
|
-
function
|
|
1601
|
+
function Vr(e) {
|
|
1679
1602
|
let [t, n] = e;
|
|
1680
1603
|
try {
|
|
1681
1604
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1682
|
-
if (
|
|
1605
|
+
if (We(t)) return new Headers(t.headers);
|
|
1683
1606
|
} catch {}
|
|
1684
1607
|
}
|
|
1685
1608
|
//#endregion
|
|
1686
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1687
|
-
var
|
|
1688
|
-
function
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
} catch {
|
|
1692
|
-
return "";
|
|
1693
|
-
}
|
|
1609
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
1610
|
+
var Hr = null;
|
|
1611
|
+
function Ur(e) {
|
|
1612
|
+
let t = "error";
|
|
1613
|
+
L(t, e), R(t, Wr);
|
|
1694
1614
|
}
|
|
1695
|
-
function
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
}
|
|
1706
|
-
return null;
|
|
1615
|
+
function Wr() {
|
|
1616
|
+
Hr = P.onerror, P.onerror = function(e, t, n, r, i) {
|
|
1617
|
+
return z("error", {
|
|
1618
|
+
column: r,
|
|
1619
|
+
error: i,
|
|
1620
|
+
line: n,
|
|
1621
|
+
msg: e,
|
|
1622
|
+
url: t
|
|
1623
|
+
}), Hr ? Hr.apply(this, arguments) : !1;
|
|
1624
|
+
}, P.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
1707
1625
|
}
|
|
1708
1626
|
//#endregion
|
|
1709
|
-
//#region ../../node_modules/.pnpm/@sentry+
|
|
1710
|
-
var
|
|
1711
|
-
function
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
function ni() {
|
|
1715
|
-
ei++, setTimeout(() => {
|
|
1716
|
-
ei--;
|
|
1717
|
-
});
|
|
1718
|
-
}
|
|
1719
|
-
function K(e, t = {}) {
|
|
1720
|
-
function n(e) {
|
|
1721
|
-
return typeof e == "function";
|
|
1722
|
-
}
|
|
1723
|
-
if (!n(e)) return e;
|
|
1724
|
-
try {
|
|
1725
|
-
if (Object.prototype.hasOwnProperty.call(e, "__sentry_wrapped__")) {
|
|
1726
|
-
let t = e.__sentry_wrapped__;
|
|
1727
|
-
return typeof t == "function" ? t : e;
|
|
1728
|
-
}
|
|
1729
|
-
if (Re(e)) return e;
|
|
1730
|
-
} catch {
|
|
1731
|
-
return e;
|
|
1732
|
-
}
|
|
1733
|
-
let r = function(...n) {
|
|
1734
|
-
P._sentryWrappedDepth = (P._sentryWrappedDepth || 0) + 1;
|
|
1735
|
-
try {
|
|
1736
|
-
let r = n.map((e) => K(e, t));
|
|
1737
|
-
return e.apply(this, r);
|
|
1738
|
-
} catch (e) {
|
|
1739
|
-
throw ni(), te((r) => {
|
|
1740
|
-
r.addEventProcessor((e) => (t.mechanism && (ie(e, void 0, void 0), j(e, t.mechanism)), e.extra = {
|
|
1741
|
-
...e.extra,
|
|
1742
|
-
arguments: n
|
|
1743
|
-
}, e)), Ne(e);
|
|
1744
|
-
}), e;
|
|
1745
|
-
} finally {
|
|
1746
|
-
P._sentryWrappedDepth = (P._sentryWrappedDepth || 0) - 1;
|
|
1747
|
-
}
|
|
1748
|
-
};
|
|
1749
|
-
try {
|
|
1750
|
-
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1751
|
-
} catch {}
|
|
1752
|
-
ne(r, e), O(e, "__sentry_wrapped__", r);
|
|
1753
|
-
try {
|
|
1754
|
-
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1755
|
-
return e.name;
|
|
1756
|
-
} });
|
|
1757
|
-
} catch {}
|
|
1758
|
-
return r;
|
|
1627
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
1628
|
+
var Gr = null;
|
|
1629
|
+
function Kr(e) {
|
|
1630
|
+
let t = "unhandledrejection";
|
|
1631
|
+
L(t, e), R(t, qr);
|
|
1759
1632
|
}
|
|
1760
|
-
function
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
headers: {
|
|
1765
|
-
...t && { Referer: t },
|
|
1766
|
-
...n && { "User-Agent": n }
|
|
1767
|
-
}
|
|
1768
|
-
};
|
|
1633
|
+
function qr() {
|
|
1634
|
+
Gr = P.onunhandledrejection, P.onunhandledrejection = function(e) {
|
|
1635
|
+
return z("unhandledrejection", e), Gr ? Gr.apply(this, arguments) : !0;
|
|
1636
|
+
}, P.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
1769
1637
|
}
|
|
1770
1638
|
//#endregion
|
|
1771
|
-
//#region ../../node_modules/.pnpm/@sentry+
|
|
1772
|
-
function
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1639
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1640
|
+
function Jr(e) {
|
|
1641
|
+
return e === "warn" ? "warning" : [
|
|
1642
|
+
"fatal",
|
|
1643
|
+
"error",
|
|
1644
|
+
"warning",
|
|
1645
|
+
"log",
|
|
1646
|
+
"info",
|
|
1647
|
+
"debug"
|
|
1648
|
+
].includes(e) ? e : "log";
|
|
1778
1649
|
}
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
};
|
|
1785
|
-
let
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1650
|
+
//#endregion
|
|
1651
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1652
|
+
function Yr(e) {
|
|
1653
|
+
if (!e) return {};
|
|
1654
|
+
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1655
|
+
if (!t) return {};
|
|
1656
|
+
let n = t[6] || "", r = t[8] || "";
|
|
1657
|
+
return {
|
|
1658
|
+
host: t[4],
|
|
1659
|
+
path: t[5],
|
|
1660
|
+
protocol: t[2],
|
|
1661
|
+
search: n,
|
|
1662
|
+
hash: r,
|
|
1663
|
+
relative: t[5] + n + r
|
|
1791
1664
|
};
|
|
1792
|
-
if (n) {
|
|
1793
|
-
let t = si(e, n);
|
|
1794
|
-
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1795
|
-
}
|
|
1796
|
-
return c;
|
|
1797
|
-
}
|
|
1798
|
-
function oi(e, t) {
|
|
1799
|
-
return { exception: { values: [ii(e, t)] } };
|
|
1800
|
-
}
|
|
1801
|
-
function si(e, t) {
|
|
1802
|
-
let n = t.stacktrace || t.stack || "", r = li(t), i = ui(t);
|
|
1803
|
-
try {
|
|
1804
|
-
return e(n, r, i);
|
|
1805
|
-
} catch {}
|
|
1806
|
-
return [];
|
|
1807
|
-
}
|
|
1808
|
-
var ci = /Minified React error #\d+;/i;
|
|
1809
|
-
function li(e) {
|
|
1810
|
-
return e && ci.test(e.message) ? 1 : 0;
|
|
1811
|
-
}
|
|
1812
|
-
function ui(e) {
|
|
1813
|
-
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1814
1665
|
}
|
|
1815
|
-
function
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
}
|
|
1822
|
-
function pi(e) {
|
|
1823
|
-
let t = e == null ? void 0 : e.message;
|
|
1824
|
-
return di(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Er(t.error) : Er(e) : "No error message";
|
|
1825
|
-
}
|
|
1826
|
-
function mi(e, t, n, r) {
|
|
1827
|
-
let i = gi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1828
|
-
return j(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), ye(i);
|
|
1829
|
-
}
|
|
1830
|
-
function hi(e, t, n = "info", r, i) {
|
|
1831
|
-
let a = _i(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1832
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), ye(a);
|
|
1833
|
-
}
|
|
1834
|
-
function gi(e, t, n, r, i) {
|
|
1835
|
-
let a;
|
|
1836
|
-
if (se(t) && t.error) return oi(e, t.error);
|
|
1837
|
-
if (fe(t) || de(t)) {
|
|
1838
|
-
let i = t;
|
|
1839
|
-
if ("stack" in t) {
|
|
1840
|
-
var o;
|
|
1841
|
-
a = oi(e, t);
|
|
1842
|
-
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1843
|
-
if (r && n && i && !i.stacktrace) {
|
|
1844
|
-
let t = si(e, n);
|
|
1845
|
-
t.length && (i.stacktrace = { frames: t }, j(a, { synthetic: !0 }));
|
|
1846
|
-
}
|
|
1847
|
-
} else {
|
|
1848
|
-
let t = i.name || (fe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1849
|
-
a = _i(e, o, n, r), ie(a, o);
|
|
1666
|
+
function Xr(e, t = !0) {
|
|
1667
|
+
if (e.startsWith("data:")) {
|
|
1668
|
+
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1669
|
+
if (t && a !== -1) {
|
|
1670
|
+
let t = e.slice(a + 1);
|
|
1671
|
+
o = t.length > 10 ? `${t.slice(0, 10)}... [truncated]` : t;
|
|
1850
1672
|
}
|
|
1851
|
-
return "
|
|
1852
|
-
...a.tags,
|
|
1853
|
-
"DOMException.code": `${i.code}`
|
|
1854
|
-
}), a;
|
|
1855
|
-
}
|
|
1856
|
-
return pe(t) ? oi(e, t) : Pe(t) || h(t) ? (a = ai(e, t, n, i), j(a, { synthetic: !0 }), a) : (a = _i(e, t, n, r), ie(a, `${t}`, void 0), j(a, { synthetic: !0 }), a);
|
|
1857
|
-
}
|
|
1858
|
-
function _i(e, t, n, r) {
|
|
1859
|
-
let i = {};
|
|
1860
|
-
if (r && n) {
|
|
1861
|
-
let r = si(e, n);
|
|
1862
|
-
r.length && (i.exception = { values: [{
|
|
1863
|
-
value: t,
|
|
1864
|
-
stacktrace: { frames: r }
|
|
1865
|
-
}] }), j(i, { synthetic: !0 });
|
|
1866
|
-
}
|
|
1867
|
-
if (We(t)) {
|
|
1868
|
-
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
1869
|
-
return i.logentry = {
|
|
1870
|
-
message: e,
|
|
1871
|
-
params: n
|
|
1872
|
-
}, i;
|
|
1673
|
+
return `data:${r}${i ? ",base64" : ""}${o ? `,${o}` : ""}`;
|
|
1873
1674
|
}
|
|
1874
|
-
return
|
|
1875
|
-
}
|
|
1876
|
-
function vi(e, { isUnhandledRejection: t }) {
|
|
1877
|
-
let n = x(e), r = t ? "promise rejection" : "exception";
|
|
1878
|
-
return se(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : h(e) ? `Event \`${yi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1879
|
-
}
|
|
1880
|
-
function yi(e) {
|
|
1881
|
-
try {
|
|
1882
|
-
let t = Object.getPrototypeOf(e);
|
|
1883
|
-
return t ? t.constructor.name : void 0;
|
|
1884
|
-
} catch {}
|
|
1885
|
-
}
|
|
1886
|
-
function bi(e) {
|
|
1887
|
-
return Object.values(e).find((e) => e instanceof Error);
|
|
1675
|
+
return e;
|
|
1888
1676
|
}
|
|
1889
1677
|
//#endregion
|
|
1890
|
-
//#region ../../node_modules/.pnpm/@sentry+
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
var t, n;
|
|
1894
|
-
let r = Si(e);
|
|
1895
|
-
tr(r, "browser", ["browser"], G.SENTRY_SDK_SOURCE || Yt()), super(r);
|
|
1896
|
-
let { userInfo: i } = this.getDataCollectionOptions();
|
|
1897
|
-
(t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1898
|
-
infer_ip: i ? "auto" : "never",
|
|
1899
|
-
...r._metadata.sdk.settings
|
|
1900
|
-
});
|
|
1901
|
-
let { sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
1902
|
-
G.document && (a || o || l) && G.document.addEventListener("visibilitychange", () => {
|
|
1903
|
-
G.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && tn(this), l && sn(this));
|
|
1904
|
-
}), i && this.on("beforeSendSession", er);
|
|
1905
|
-
}
|
|
1906
|
-
eventFromException(e, t) {
|
|
1907
|
-
return mi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1908
|
-
}
|
|
1909
|
-
eventFromMessage(e, t = "info", n) {
|
|
1910
|
-
return hi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1911
|
-
}
|
|
1912
|
-
_prepareEvent(e, t, n, r) {
|
|
1913
|
-
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1914
|
-
}
|
|
1915
|
-
};
|
|
1916
|
-
function Si(e) {
|
|
1917
|
-
var t;
|
|
1918
|
-
return {
|
|
1919
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = G.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1920
|
-
sendClientReports: !0,
|
|
1921
|
-
parentSpanIsAlwaysRootSpan: !0,
|
|
1922
|
-
...e
|
|
1923
|
-
};
|
|
1678
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1679
|
+
function Zr(e) {
|
|
1680
|
+
return Ce(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1924
1681
|
}
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
var Ci = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, q = P, wi = 80, J = {};
|
|
1928
|
-
try {
|
|
1929
|
-
typeof Node < "u" && (J.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (J.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, J.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, J.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, J.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (J.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
1930
|
-
} catch {}
|
|
1931
|
-
function Y(e, t, n) {
|
|
1932
|
-
let r = J[t];
|
|
1933
|
-
if (r) try {
|
|
1934
|
-
return r.call(e, n);
|
|
1935
|
-
} catch {}
|
|
1936
|
-
let i = e[t];
|
|
1937
|
-
return typeof i == "function" ? i.call(e, n) : i;
|
|
1682
|
+
function Qr(e) {
|
|
1683
|
+
return Zr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1938
1684
|
}
|
|
1939
|
-
|
|
1940
|
-
|
|
1685
|
+
//#endregion
|
|
1686
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.60.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1687
|
+
var $r = P;
|
|
1688
|
+
function ei() {
|
|
1941
1689
|
try {
|
|
1942
|
-
|
|
1943
|
-
for (; n && i++ < 5 && (o = Ei(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = Y(n, "parentNode");
|
|
1944
|
-
return r.reverse().join(" > ");
|
|
1690
|
+
return $r.document.location.href;
|
|
1945
1691
|
} catch {
|
|
1946
|
-
return "
|
|
1692
|
+
return "";
|
|
1947
1693
|
}
|
|
1948
1694
|
}
|
|
1949
|
-
function
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
if (
|
|
1955
|
-
if (
|
|
1956
|
-
if (
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
n.push(r.toLowerCase());
|
|
1960
|
-
let i = t != null && t.length ? t.filter((t) => Y(e, "getAttribute", t)).map((t) => [t, Y(e, "getAttribute", t)]) : null;
|
|
1961
|
-
if (i != null && i.length) i.forEach((e) => {
|
|
1962
|
-
n.push(`[${e[0]}="${e[1]}"]`);
|
|
1963
|
-
});
|
|
1964
|
-
else {
|
|
1965
|
-
let t = Y(e, "id");
|
|
1966
|
-
t && n.push(`#${t}`);
|
|
1967
|
-
let r = Y(e, "className");
|
|
1968
|
-
if (r && A(r)) {
|
|
1969
|
-
let e = r.split(/\s+/);
|
|
1970
|
-
for (let t of e) n.push(`.${t}`);
|
|
1695
|
+
function ti(e, t = 5) {
|
|
1696
|
+
if (!$r.HTMLElement) return null;
|
|
1697
|
+
let n = e;
|
|
1698
|
+
for (let e = 0; e < t; e++) {
|
|
1699
|
+
if (!n) return null;
|
|
1700
|
+
if (n instanceof HTMLElement) {
|
|
1701
|
+
if (n.dataset.sentryComponent) return n.dataset.sentryComponent;
|
|
1702
|
+
if (n.dataset.sentryElement) return n.dataset.sentryElement;
|
|
1971
1703
|
}
|
|
1704
|
+
n = n.parentNode;
|
|
1972
1705
|
}
|
|
1973
|
-
|
|
1974
|
-
"aria-label",
|
|
1975
|
-
"type",
|
|
1976
|
-
"name",
|
|
1977
|
-
"title",
|
|
1978
|
-
"alt"
|
|
1979
|
-
]) {
|
|
1980
|
-
let r = Y(e, "getAttribute", t);
|
|
1981
|
-
r && n.push(`[${t}="${r}"]`);
|
|
1982
|
-
}
|
|
1983
|
-
return n.join("");
|
|
1706
|
+
return null;
|
|
1984
1707
|
}
|
|
1985
1708
|
//#endregion
|
|
1986
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
1987
|
-
var
|
|
1988
|
-
function
|
|
1989
|
-
L("dom", e), R("dom",
|
|
1709
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.60.0/node_modules/@sentry/browser-utils/build/esm/types.js
|
|
1710
|
+
var W = P, ni = 1e3, ri, ii, ai;
|
|
1711
|
+
function oi(e) {
|
|
1712
|
+
L("dom", e), R("dom", si);
|
|
1990
1713
|
}
|
|
1991
|
-
function
|
|
1992
|
-
if (!
|
|
1993
|
-
let e = z.bind(null, "dom"), t =
|
|
1994
|
-
|
|
1714
|
+
function si() {
|
|
1715
|
+
if (!W.document) return;
|
|
1716
|
+
let e = z.bind(null, "dom"), t = ui(e, !0);
|
|
1717
|
+
W.document.addEventListener("click", t, !1), W.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1995
1718
|
var n, r;
|
|
1996
|
-
let i = (n =
|
|
1997
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
1719
|
+
let i = (n = W[t]) == null ? void 0 : n.prototype;
|
|
1720
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (E(i, "addEventListener", function(t) {
|
|
1998
1721
|
return function(n, r, i) {
|
|
1999
1722
|
if (n === "click" || n == "keypress") try {
|
|
2000
1723
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
2001
1724
|
if (!a.handler) {
|
|
2002
|
-
let r =
|
|
1725
|
+
let r = ui(e);
|
|
2003
1726
|
a.handler = r, t.call(this, n, r, i);
|
|
2004
1727
|
}
|
|
2005
1728
|
a.refCount++;
|
|
2006
1729
|
} catch {}
|
|
2007
1730
|
return t.call(this, n, r, i);
|
|
2008
1731
|
};
|
|
2009
|
-
}),
|
|
1732
|
+
}), E(i, "removeEventListener", function(e) {
|
|
2010
1733
|
return function(t, n, r) {
|
|
2011
1734
|
if (t === "click" || t == "keypress") try {
|
|
2012
1735
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -2017,33 +1740,33 @@ function Mi() {
|
|
|
2017
1740
|
}));
|
|
2018
1741
|
});
|
|
2019
1742
|
}
|
|
2020
|
-
function
|
|
2021
|
-
if (e.type !==
|
|
1743
|
+
function ci(e) {
|
|
1744
|
+
if (e.type !== ii) return !1;
|
|
2022
1745
|
try {
|
|
2023
|
-
if (!e.target || e.target._sentryId !==
|
|
1746
|
+
if (!e.target || e.target._sentryId !== ai) return !1;
|
|
2024
1747
|
} catch {}
|
|
2025
1748
|
return !0;
|
|
2026
1749
|
}
|
|
2027
|
-
function
|
|
1750
|
+
function li(e, t) {
|
|
2028
1751
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
2029
1752
|
}
|
|
2030
|
-
function
|
|
1753
|
+
function ui(e, t = !1) {
|
|
2031
1754
|
return (n) => {
|
|
2032
1755
|
if (!n || n._sentryCaptured) return;
|
|
2033
|
-
let r =
|
|
2034
|
-
if (
|
|
2035
|
-
|
|
1756
|
+
let r = di(n);
|
|
1757
|
+
if (li(n.type, r)) return;
|
|
1758
|
+
M(n, "_sentryCaptured", !0), r && !r._sentryId && M(r, "_sentryId", se());
|
|
2036
1759
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2037
|
-
|
|
1760
|
+
ci(n) || (e({
|
|
2038
1761
|
event: n,
|
|
2039
1762
|
name: i,
|
|
2040
1763
|
global: t
|
|
2041
|
-
}),
|
|
2042
|
-
|
|
2043
|
-
},
|
|
1764
|
+
}), ii = n.type, ai = r ? r._sentryId : void 0), clearTimeout(ri), ri = W.setTimeout(() => {
|
|
1765
|
+
ai = void 0, ii = void 0;
|
|
1766
|
+
}, ni);
|
|
2044
1767
|
};
|
|
2045
1768
|
}
|
|
2046
|
-
function
|
|
1769
|
+
function di(e) {
|
|
2047
1770
|
try {
|
|
2048
1771
|
return e.target;
|
|
2049
1772
|
} catch {
|
|
@@ -2051,26 +1774,26 @@ function Ii(e) {
|
|
|
2051
1774
|
}
|
|
2052
1775
|
}
|
|
2053
1776
|
//#endregion
|
|
2054
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
2055
|
-
var
|
|
2056
|
-
function
|
|
1777
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.60.0/node_modules/@sentry/browser-utils/build/esm/instrument/history.js
|
|
1778
|
+
var fi;
|
|
1779
|
+
function pi(e) {
|
|
2057
1780
|
let t = "history";
|
|
2058
|
-
L(t, e), R(t,
|
|
1781
|
+
L(t, e), R(t, mi);
|
|
2059
1782
|
}
|
|
2060
|
-
function
|
|
2061
|
-
if (
|
|
2062
|
-
let e =
|
|
2063
|
-
|
|
1783
|
+
function mi() {
|
|
1784
|
+
if (W.addEventListener("popstate", () => {
|
|
1785
|
+
let e = W.location.href, t = fi;
|
|
1786
|
+
fi = e, t !== e && z("history", {
|
|
2064
1787
|
from: t,
|
|
2065
1788
|
to: e
|
|
2066
1789
|
});
|
|
2067
|
-
}), !
|
|
1790
|
+
}), !Ot()) return;
|
|
2068
1791
|
function e(e) {
|
|
2069
1792
|
return function(...t) {
|
|
2070
1793
|
let n = t.length > 2 ? t[2] : void 0;
|
|
2071
1794
|
if (n) {
|
|
2072
|
-
let r =
|
|
2073
|
-
if (
|
|
1795
|
+
let r = fi, i = hi(String(n));
|
|
1796
|
+
if (fi = i, r === i) return e.apply(this, t);
|
|
2074
1797
|
z("history", {
|
|
2075
1798
|
from: r,
|
|
2076
1799
|
to: i
|
|
@@ -2079,62 +1802,62 @@ function zi() {
|
|
|
2079
1802
|
return e.apply(this, t);
|
|
2080
1803
|
};
|
|
2081
1804
|
}
|
|
2082
|
-
|
|
1805
|
+
E(W.history, "pushState", e), E(W.history, "replaceState", e);
|
|
2083
1806
|
}
|
|
2084
|
-
function
|
|
1807
|
+
function hi(e) {
|
|
2085
1808
|
try {
|
|
2086
|
-
return new URL(e,
|
|
1809
|
+
return new URL(e, W.location.origin).toString();
|
|
2087
1810
|
} catch {
|
|
2088
1811
|
return e;
|
|
2089
1812
|
}
|
|
2090
1813
|
}
|
|
2091
1814
|
//#endregion
|
|
2092
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
2093
|
-
var
|
|
2094
|
-
function
|
|
2095
|
-
let t =
|
|
1815
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.60.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
1816
|
+
var gi = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, _i = {};
|
|
1817
|
+
function vi(e) {
|
|
1818
|
+
let t = _i[e];
|
|
2096
1819
|
if (t) return t;
|
|
2097
|
-
let n =
|
|
2098
|
-
if (
|
|
2099
|
-
let r =
|
|
1820
|
+
let n = W[e];
|
|
1821
|
+
if (At(n)) return _i[e] = n.bind(W);
|
|
1822
|
+
let r = W.document;
|
|
2100
1823
|
if (r && typeof r.createElement == "function") try {
|
|
2101
1824
|
let t = r.createElement("iframe");
|
|
2102
1825
|
t.hidden = !0, r.head.appendChild(t);
|
|
2103
1826
|
let i = t.contentWindow;
|
|
2104
1827
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2105
1828
|
} catch (t) {
|
|
2106
|
-
|
|
1829
|
+
gi && j.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2107
1830
|
}
|
|
2108
|
-
return n && (
|
|
1831
|
+
return n && (_i[e] = n.bind(W));
|
|
2109
1832
|
}
|
|
2110
|
-
function
|
|
2111
|
-
|
|
1833
|
+
function yi(e) {
|
|
1834
|
+
_i[e] = void 0;
|
|
2112
1835
|
}
|
|
2113
1836
|
//#endregion
|
|
2114
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
2115
|
-
var
|
|
2116
|
-
function
|
|
2117
|
-
L("xhr", e), R("xhr",
|
|
1837
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.60.0/node_modules/@sentry/browser-utils/build/esm/instrument/xhr.js
|
|
1838
|
+
var G = "__sentry_xhr_v3__";
|
|
1839
|
+
function bi(e) {
|
|
1840
|
+
L("xhr", e), R("xhr", xi);
|
|
2118
1841
|
}
|
|
2119
|
-
function
|
|
2120
|
-
if (!
|
|
1842
|
+
function xi() {
|
|
1843
|
+
if (!W.XMLHttpRequest) return;
|
|
2121
1844
|
let e = XMLHttpRequest.prototype;
|
|
2122
1845
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2123
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
1846
|
+
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = k(n[0]) ? n[0].toUpperCase() : void 0, o = Si(n[1]);
|
|
2124
1847
|
if (!a || !o) return e.apply(t, n);
|
|
2125
|
-
t[
|
|
1848
|
+
t[G] = {
|
|
2126
1849
|
method: a,
|
|
2127
1850
|
url: o,
|
|
2128
1851
|
request_headers: {}
|
|
2129
1852
|
}, a === "POST" && o.match(/sentry_key/) && (t.__sentry_own_request__ = !0);
|
|
2130
1853
|
let s = () => {
|
|
2131
|
-
let e = t[
|
|
1854
|
+
let e = t[G];
|
|
2132
1855
|
if (e && t.readyState === 4) {
|
|
2133
1856
|
try {
|
|
2134
1857
|
e.status_code = t.status;
|
|
2135
1858
|
} catch {}
|
|
2136
1859
|
z("xhr", {
|
|
2137
|
-
endTimestamp:
|
|
1860
|
+
endTimestamp: A() * 1e3,
|
|
2138
1861
|
startTimestamp: i,
|
|
2139
1862
|
xhr: t,
|
|
2140
1863
|
virtualError: r
|
|
@@ -2144,26 +1867,86 @@ function Gi() {
|
|
|
2144
1867
|
return "onreadystatechange" in t && typeof t.onreadystatechange == "function" ? t.onreadystatechange = new Proxy(t.onreadystatechange, { apply(e, t, n) {
|
|
2145
1868
|
return s(), e.apply(t, n);
|
|
2146
1869
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
2147
|
-
let [r, i] = n, a = t[
|
|
2148
|
-
return a &&
|
|
1870
|
+
let [r, i] = n, a = t[G];
|
|
1871
|
+
return a && k(r) && k(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
2149
1872
|
} }), e.apply(t, n);
|
|
2150
1873
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
2151
|
-
let r = t[
|
|
1874
|
+
let r = t[G];
|
|
2152
1875
|
return r ? (n[0] !== void 0 && (r.body = n[0]), z("xhr", {
|
|
2153
|
-
startTimestamp:
|
|
1876
|
+
startTimestamp: A() * 1e3,
|
|
2154
1877
|
xhr: t
|
|
2155
1878
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2156
1879
|
} });
|
|
2157
1880
|
}
|
|
2158
|
-
function
|
|
2159
|
-
if (
|
|
1881
|
+
function Si(e) {
|
|
1882
|
+
if (k(e)) return e;
|
|
2160
1883
|
try {
|
|
2161
1884
|
return e.toString();
|
|
2162
1885
|
} catch {}
|
|
2163
1886
|
}
|
|
2164
1887
|
//#endregion
|
|
2165
|
-
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.
|
|
2166
|
-
|
|
1888
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.60.0/node_modules/@sentry/browser-utils/build/esm/htmlTreeAsString.js
|
|
1889
|
+
var Ci = 80, K = {};
|
|
1890
|
+
try {
|
|
1891
|
+
typeof Node < "u" && (K.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (K.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, K.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, K.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, K.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (K.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
1892
|
+
} catch {}
|
|
1893
|
+
function q(e, t, n) {
|
|
1894
|
+
let r = K[t];
|
|
1895
|
+
if (r) try {
|
|
1896
|
+
return r.call(e, n);
|
|
1897
|
+
} catch {}
|
|
1898
|
+
let i = e[t];
|
|
1899
|
+
return typeof i == "function" ? i.call(e, n) : i;
|
|
1900
|
+
}
|
|
1901
|
+
function wi(e, t = {}) {
|
|
1902
|
+
if (!e) return "<unknown>";
|
|
1903
|
+
try {
|
|
1904
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Ci;
|
|
1905
|
+
for (; n && i++ < 5 && (o = Ti(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = q(n, "parentNode");
|
|
1906
|
+
return r.reverse().join(" > ");
|
|
1907
|
+
} catch {
|
|
1908
|
+
return "<unknown>";
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
function Ti(e, t) {
|
|
1912
|
+
let n = [], r = q(e, "tagName");
|
|
1913
|
+
if (!r) return "";
|
|
1914
|
+
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
1915
|
+
let t = q(e, "dataset");
|
|
1916
|
+
if (t) {
|
|
1917
|
+
if (t.sentryComponent) return t.sentryComponent;
|
|
1918
|
+
if (t.sentryElement) return t.sentryElement;
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
n.push(r.toLowerCase());
|
|
1922
|
+
let i = t != null && t.length ? t.filter((t) => q(e, "getAttribute", t)).map((t) => [t, q(e, "getAttribute", t)]) : null;
|
|
1923
|
+
if (i != null && i.length) i.forEach((e) => {
|
|
1924
|
+
n.push(`[${e[0]}="${e[1]}"]`);
|
|
1925
|
+
});
|
|
1926
|
+
else {
|
|
1927
|
+
let t = q(e, "id");
|
|
1928
|
+
t && n.push(`#${t}`);
|
|
1929
|
+
let r = q(e, "className");
|
|
1930
|
+
if (r && k(r)) {
|
|
1931
|
+
let e = r.split(/\s+/);
|
|
1932
|
+
for (let t of e) n.push(`.${t}`);
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
for (let t of [
|
|
1936
|
+
"aria-label",
|
|
1937
|
+
"type",
|
|
1938
|
+
"name",
|
|
1939
|
+
"title",
|
|
1940
|
+
"alt"
|
|
1941
|
+
]) {
|
|
1942
|
+
let r = q(e, "getAttribute", t);
|
|
1943
|
+
r && n.push(`[${t}="${r}"]`);
|
|
1944
|
+
}
|
|
1945
|
+
return n.join("");
|
|
1946
|
+
}
|
|
1947
|
+
//#endregion
|
|
1948
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.60.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
1949
|
+
function Ei(e) {
|
|
2167
1950
|
if (typeof Element > "u") return !1;
|
|
2168
1951
|
try {
|
|
2169
1952
|
return e instanceof Element;
|
|
@@ -2172,9 +1955,9 @@ function qi(e) {
|
|
|
2172
1955
|
}
|
|
2173
1956
|
}
|
|
2174
1957
|
//#endregion
|
|
2175
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2176
|
-
var
|
|
2177
|
-
function
|
|
1958
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
1959
|
+
var Di = 40;
|
|
1960
|
+
function Oi(e, t = vi("fetch")) {
|
|
2178
1961
|
let n = 0, r = 0;
|
|
2179
1962
|
async function i(i) {
|
|
2180
1963
|
let a = i.body.length;
|
|
@@ -2197,59 +1980,233 @@ function Yi(e, t = Hi("fetch")) {
|
|
|
2197
1980
|
}
|
|
2198
1981
|
};
|
|
2199
1982
|
} catch (e) {
|
|
2200
|
-
throw
|
|
1983
|
+
throw yi("fetch"), e;
|
|
2201
1984
|
} finally {
|
|
2202
1985
|
n -= a, r--;
|
|
2203
1986
|
}
|
|
2204
1987
|
}
|
|
2205
|
-
return
|
|
1988
|
+
return xn(e, i, bn(e.bufferSize || Di));
|
|
2206
1989
|
}
|
|
2207
1990
|
//#endregion
|
|
2208
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
function: t === "<anonymous>" ? "?" : t,
|
|
2214
|
-
in_app: !0
|
|
1991
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1992
|
+
function ki(e, t) {
|
|
1993
|
+
let n = Mi(e, t), r = {
|
|
1994
|
+
type: Li(t),
|
|
1995
|
+
value: Ri(t)
|
|
2215
1996
|
};
|
|
2216
|
-
return n
|
|
1997
|
+
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
2217
1998
|
}
|
|
2218
|
-
|
|
2219
|
-
let
|
|
2220
|
-
if (
|
|
2221
|
-
|
|
2222
|
-
|
|
1999
|
+
function Ai(e, t, n, r) {
|
|
2000
|
+
let i = D(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Gi(t), s = { __serialized__: fe(t, a) };
|
|
2001
|
+
if (o) return {
|
|
2002
|
+
exception: { values: [ki(e, o)] },
|
|
2003
|
+
extra: s
|
|
2004
|
+
};
|
|
2005
|
+
let c = {
|
|
2006
|
+
exception: { values: [{
|
|
2007
|
+
type: Ie(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
2008
|
+
value: Ui(t, { isUnhandledRejection: r })
|
|
2009
|
+
}] },
|
|
2010
|
+
extra: s
|
|
2223
2011
|
};
|
|
2224
|
-
let n = $i.exec(e);
|
|
2225
2012
|
if (n) {
|
|
2226
|
-
let
|
|
2227
|
-
|
|
2013
|
+
let t = Mi(e, n);
|
|
2014
|
+
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
2228
2015
|
}
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2016
|
+
return c;
|
|
2017
|
+
}
|
|
2018
|
+
function ji(e, t) {
|
|
2019
|
+
return { exception: { values: [ki(e, t)] } };
|
|
2020
|
+
}
|
|
2021
|
+
function Mi(e, t) {
|
|
2022
|
+
let n = t.stacktrace || t.stack || "", r = Pi(t), i = Fi(t);
|
|
2023
|
+
try {
|
|
2024
|
+
return e(n, r, i);
|
|
2025
|
+
} catch {}
|
|
2026
|
+
return [];
|
|
2027
|
+
}
|
|
2028
|
+
var Ni = /Minified React error #\d+;/i;
|
|
2029
|
+
function Pi(e) {
|
|
2030
|
+
return e && Ni.test(e.message) ? 1 : 0;
|
|
2031
|
+
}
|
|
2032
|
+
function Fi(e) {
|
|
2033
|
+
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
2034
|
+
}
|
|
2035
|
+
function Ii(e) {
|
|
2036
|
+
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
2037
|
+
}
|
|
2038
|
+
function Li(e) {
|
|
2039
|
+
let t = e == null ? void 0 : e.name;
|
|
2040
|
+
return !t && Ii(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
2041
|
+
}
|
|
2042
|
+
function Ri(e) {
|
|
2043
|
+
let t = e == null ? void 0 : e.message;
|
|
2044
|
+
return Ii(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Qr(t.error) : Qr(e) : "No error message";
|
|
2045
|
+
}
|
|
2046
|
+
function zi(e, t, n, r) {
|
|
2047
|
+
let i = Vi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
2048
|
+
return g(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), xe(i);
|
|
2049
|
+
}
|
|
2050
|
+
function Bi(e, t, n = "info", r, i) {
|
|
2051
|
+
let a = Hi(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
2052
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), xe(a);
|
|
2053
|
+
}
|
|
2054
|
+
function Vi(e, t, n, r, i) {
|
|
2055
|
+
let a;
|
|
2056
|
+
if (Ke(t) && t.error) return ji(e, t.error);
|
|
2057
|
+
if (ce(t) || h(t)) {
|
|
2058
|
+
let i = t;
|
|
2059
|
+
if ("stack" in t) {
|
|
2060
|
+
var o;
|
|
2061
|
+
a = ji(e, t);
|
|
2062
|
+
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
2063
|
+
if (r && n && i && !i.stacktrace) {
|
|
2064
|
+
let t = Mi(e, n);
|
|
2065
|
+
t.length && (i.stacktrace = { frames: t }, g(a, { synthetic: !0 }));
|
|
2066
|
+
}
|
|
2067
|
+
} else {
|
|
2068
|
+
let t = i.name || (ce(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
2069
|
+
a = Hi(e, o, n, r), je(a, o);
|
|
2235
2070
|
}
|
|
2236
|
-
|
|
2237
|
-
|
|
2071
|
+
return "code" in i && (a.tags = {
|
|
2072
|
+
...a.tags,
|
|
2073
|
+
"DOMException.code": `${i.code}`
|
|
2074
|
+
}), a;
|
|
2238
2075
|
}
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2076
|
+
return Ce(t) ? ji(e, t) : ve(t) || Ie(t) ? (a = Ai(e, t, n, i), g(a, { synthetic: !0 }), a) : (a = Hi(e, t, n, r), je(a, `${t}`, void 0), g(a, { synthetic: !0 }), a);
|
|
2077
|
+
}
|
|
2078
|
+
function Hi(e, t, n, r) {
|
|
2079
|
+
let i = {};
|
|
2080
|
+
if (r && n) {
|
|
2081
|
+
let r = Mi(e, n);
|
|
2082
|
+
r.length && (i.exception = { values: [{
|
|
2083
|
+
value: t,
|
|
2084
|
+
stacktrace: { frames: r }
|
|
2085
|
+
}] }), g(i, { synthetic: !0 });
|
|
2086
|
+
}
|
|
2087
|
+
if (Ae(t)) {
|
|
2088
|
+
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
2089
|
+
return i.logentry = {
|
|
2090
|
+
message: e,
|
|
2091
|
+
params: n
|
|
2092
|
+
}, i;
|
|
2093
|
+
}
|
|
2094
|
+
return i.message = t, i;
|
|
2095
|
+
}
|
|
2096
|
+
function Ui(e, { isUnhandledRejection: t }) {
|
|
2097
|
+
let n = re(e), r = t ? "promise rejection" : "exception";
|
|
2098
|
+
return Ke(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : Ie(e) ? `Event \`${Wi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
2099
|
+
}
|
|
2100
|
+
function Wi(e) {
|
|
2101
|
+
try {
|
|
2102
|
+
let t = Object.getPrototypeOf(e);
|
|
2103
|
+
return t ? t.constructor.name : void 0;
|
|
2104
|
+
} catch {}
|
|
2105
|
+
}
|
|
2106
|
+
function Gi(e) {
|
|
2107
|
+
return Object.values(e).find((e) => e instanceof Error);
|
|
2108
|
+
}
|
|
2109
|
+
//#endregion
|
|
2110
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
2111
|
+
var J = P, Ki = 0;
|
|
2112
|
+
function qi() {
|
|
2113
|
+
return Ki > 0;
|
|
2114
|
+
}
|
|
2115
|
+
function Ji() {
|
|
2116
|
+
Ki++, setTimeout(() => {
|
|
2117
|
+
Ki--;
|
|
2118
|
+
});
|
|
2119
|
+
}
|
|
2120
|
+
function Y(e, t = {}) {
|
|
2121
|
+
function n(e) {
|
|
2122
|
+
return typeof e == "function";
|
|
2123
|
+
}
|
|
2124
|
+
if (!n(e)) return e;
|
|
2125
|
+
try {
|
|
2126
|
+
if (Object.prototype.hasOwnProperty.call(e, "__sentry_wrapped__")) {
|
|
2127
|
+
let t = e.__sentry_wrapped__;
|
|
2128
|
+
return typeof t == "function" ? t : e;
|
|
2245
2129
|
}
|
|
2246
|
-
|
|
2247
|
-
|
|
2130
|
+
if (me(e)) return e;
|
|
2131
|
+
} catch {
|
|
2132
|
+
return e;
|
|
2248
2133
|
}
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2134
|
+
let r = function(...n) {
|
|
2135
|
+
P._sentryWrappedDepth = (P._sentryWrappedDepth || 0) + 1;
|
|
2136
|
+
try {
|
|
2137
|
+
let r = n.map((e) => Y(e, t));
|
|
2138
|
+
return e.apply(this, r);
|
|
2139
|
+
} catch (e) {
|
|
2140
|
+
throw Ji(), Xe((r) => {
|
|
2141
|
+
r.addEventProcessor((e) => (t.mechanism && (je(e, void 0, void 0), g(e, t.mechanism)), e.extra = {
|
|
2142
|
+
...e.extra,
|
|
2143
|
+
arguments: n
|
|
2144
|
+
}, e)), Fe(e);
|
|
2145
|
+
}), e;
|
|
2146
|
+
} finally {
|
|
2147
|
+
P._sentryWrappedDepth = (P._sentryWrappedDepth || 0) - 1;
|
|
2148
|
+
}
|
|
2149
|
+
};
|
|
2150
|
+
try {
|
|
2151
|
+
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
2152
|
+
} catch {}
|
|
2153
|
+
he(r, e), M(e, "__sentry_wrapped__", r);
|
|
2154
|
+
try {
|
|
2155
|
+
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
2156
|
+
return e.name;
|
|
2157
|
+
} });
|
|
2158
|
+
} catch {}
|
|
2159
|
+
return r;
|
|
2160
|
+
}
|
|
2161
|
+
function Yi() {
|
|
2162
|
+
let e = ei(), { referrer: t } = J.document || {}, { userAgent: n } = J.navigator || {};
|
|
2163
|
+
return {
|
|
2164
|
+
url: e,
|
|
2165
|
+
headers: {
|
|
2166
|
+
...t && { Referer: t },
|
|
2167
|
+
...n && { "User-Agent": n }
|
|
2168
|
+
}
|
|
2169
|
+
};
|
|
2170
|
+
}
|
|
2171
|
+
//#endregion
|
|
2172
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
2173
|
+
var Xi = class extends Bn {
|
|
2174
|
+
constructor(e) {
|
|
2175
|
+
var t, n;
|
|
2176
|
+
let r = Zi(e);
|
|
2177
|
+
$n(r, "browser", ["browser"], J.SENTRY_SDK_SOURCE || nn()), super(r);
|
|
2178
|
+
let { userInfo: i } = this.getDataCollectionOptions();
|
|
2179
|
+
(t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
2180
|
+
infer_ip: i ? "auto" : "never",
|
|
2181
|
+
...r._metadata.sdk.settings
|
|
2182
|
+
});
|
|
2183
|
+
let { sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
2184
|
+
J.document && (a || o || l) && J.document.addEventListener("visibilitychange", () => {
|
|
2185
|
+
J.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && ln(this), l && mn(this));
|
|
2186
|
+
}), i && this.on("beforeSendSession", Qn);
|
|
2187
|
+
}
|
|
2188
|
+
eventFromException(e, t) {
|
|
2189
|
+
return zi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
2190
|
+
}
|
|
2191
|
+
eventFromMessage(e, t = "info", n) {
|
|
2192
|
+
return Bi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
2193
|
+
}
|
|
2194
|
+
_prepareEvent(e, t, n, r) {
|
|
2195
|
+
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
2196
|
+
}
|
|
2197
|
+
};
|
|
2198
|
+
function Zi(e) {
|
|
2199
|
+
var t;
|
|
2200
|
+
return {
|
|
2201
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = J.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
2202
|
+
sendClientReports: !0,
|
|
2203
|
+
parentSpanIsAlwaysRootSpan: !0,
|
|
2204
|
+
...e
|
|
2205
|
+
};
|
|
2206
|
+
}
|
|
2207
|
+
//#endregion
|
|
2208
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2209
|
+
var X = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Z = 1024, Qi = "Breadcrumbs", $i = V(((e = {}) => {
|
|
2253
2210
|
let t = {
|
|
2254
2211
|
console: !0,
|
|
2255
2212
|
dom: !0,
|
|
@@ -2260,33 +2217,33 @@ var $i = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, ea = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2260
2217
|
...e
|
|
2261
2218
|
};
|
|
2262
2219
|
return {
|
|
2263
|
-
name:
|
|
2220
|
+
name: Qi,
|
|
2264
2221
|
setup(e) {
|
|
2265
|
-
t.console &&
|
|
2222
|
+
t.console && Pr(na(e)), t.dom && oi(ta(e, t.dom)), t.xhr && bi(ra(e)), t.fetch && Ir(ia(e)), t.history && pi(aa(e)), t.sentry && e.on("beforeSendEvent", ea(e));
|
|
2266
2223
|
}
|
|
2267
2224
|
};
|
|
2268
2225
|
}));
|
|
2269
|
-
function
|
|
2226
|
+
function ea(e) {
|
|
2270
2227
|
return function(t) {
|
|
2271
2228
|
D() === e && H({
|
|
2272
2229
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2273
2230
|
event_id: t.event_id,
|
|
2274
2231
|
level: t.level,
|
|
2275
|
-
message:
|
|
2232
|
+
message: w(t)
|
|
2276
2233
|
}, { event: t });
|
|
2277
2234
|
};
|
|
2278
2235
|
}
|
|
2279
|
-
function
|
|
2236
|
+
function ta(e, t) {
|
|
2280
2237
|
return function(n) {
|
|
2281
2238
|
if (D() !== e) return;
|
|
2282
2239
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2283
|
-
o && o >
|
|
2240
|
+
o && o > Z && (X && j.warn(`\`dom.maxStringLength\` cannot exceed ${Z}, but a value of ${o} was configured. Sentry will use ${Z} instead.`), o = Z), typeof a == "string" && (a = [a]);
|
|
2284
2241
|
try {
|
|
2285
|
-
let e = n.event, t =
|
|
2286
|
-
r =
|
|
2242
|
+
let e = n.event, t = oa(e) ? e.target : e;
|
|
2243
|
+
r = wi(t, {
|
|
2287
2244
|
keyAttrs: a,
|
|
2288
2245
|
maxStringLength: o
|
|
2289
|
-
}), i =
|
|
2246
|
+
}), i = ti(t);
|
|
2290
2247
|
} catch {
|
|
2291
2248
|
r = "<unknown>";
|
|
2292
2249
|
}
|
|
@@ -2302,7 +2259,7 @@ function fa(e, t) {
|
|
|
2302
2259
|
});
|
|
2303
2260
|
};
|
|
2304
2261
|
}
|
|
2305
|
-
function
|
|
2262
|
+
function na(e) {
|
|
2306
2263
|
return function(t) {
|
|
2307
2264
|
if (D() !== e) return;
|
|
2308
2265
|
let n = {
|
|
@@ -2311,10 +2268,10 @@ function pa(e) {
|
|
|
2311
2268
|
arguments: t.args,
|
|
2312
2269
|
logger: "console"
|
|
2313
2270
|
},
|
|
2314
|
-
level:
|
|
2315
|
-
message:
|
|
2271
|
+
level: Jr(t.level),
|
|
2272
|
+
message: ne(t.args, " ")
|
|
2316
2273
|
};
|
|
2317
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2274
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ne(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2318
2275
|
else return;
|
|
2319
2276
|
H(n, {
|
|
2320
2277
|
input: t.args,
|
|
@@ -2322,10 +2279,10 @@ function pa(e) {
|
|
|
2322
2279
|
});
|
|
2323
2280
|
};
|
|
2324
2281
|
}
|
|
2325
|
-
function
|
|
2282
|
+
function ra(e) {
|
|
2326
2283
|
return function(t) {
|
|
2327
2284
|
if (D() !== e) return;
|
|
2328
|
-
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[
|
|
2285
|
+
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[G];
|
|
2329
2286
|
if (!n || !r || !i) return;
|
|
2330
2287
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
2331
2288
|
method: a,
|
|
@@ -2340,12 +2297,12 @@ function ma(e) {
|
|
|
2340
2297
|
category: "xhr",
|
|
2341
2298
|
data: l,
|
|
2342
2299
|
type: "http",
|
|
2343
|
-
level:
|
|
2300
|
+
level: Mr(s)
|
|
2344
2301
|
};
|
|
2345
2302
|
e.emit("beforeOutgoingRequestBreadcrumb", d, u), H(d, u);
|
|
2346
2303
|
};
|
|
2347
2304
|
}
|
|
2348
|
-
function
|
|
2305
|
+
function ia(e) {
|
|
2349
2306
|
return function(t) {
|
|
2350
2307
|
if (D() !== e) return;
|
|
2351
2308
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
@@ -2375,16 +2332,16 @@ function ha(e) {
|
|
|
2375
2332
|
category: "fetch",
|
|
2376
2333
|
data: a,
|
|
2377
2334
|
type: "http",
|
|
2378
|
-
level:
|
|
2335
|
+
level: Mr(a.status_code)
|
|
2379
2336
|
};
|
|
2380
2337
|
e.emit("beforeOutgoingRequestBreadcrumb", s, o), H(s, o);
|
|
2381
2338
|
}
|
|
2382
2339
|
};
|
|
2383
2340
|
}
|
|
2384
|
-
function
|
|
2341
|
+
function aa(e) {
|
|
2385
2342
|
return function(t) {
|
|
2386
2343
|
if (D() !== e) return;
|
|
2387
|
-
let n = t.from, r = t.to, i =
|
|
2344
|
+
let n = t.from, r = t.to, i = Yr(J.location.href), a = n ? Yr(n) : void 0, o = Yr(r);
|
|
2388
2345
|
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative), H({
|
|
2389
2346
|
category: "navigation",
|
|
2390
2347
|
data: {
|
|
@@ -2394,12 +2351,12 @@ function ga(e) {
|
|
|
2394
2351
|
});
|
|
2395
2352
|
};
|
|
2396
2353
|
}
|
|
2397
|
-
function
|
|
2354
|
+
function oa(e) {
|
|
2398
2355
|
return !!e && !!e.target;
|
|
2399
2356
|
}
|
|
2400
2357
|
//#endregion
|
|
2401
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2402
|
-
var
|
|
2358
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2359
|
+
var sa = "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".split(","), ca = "BrowserApiErrors", la = V(((e = {}) => {
|
|
2403
2360
|
let t = {
|
|
2404
2361
|
XMLHttpRequest: !0,
|
|
2405
2362
|
eventTarget: !0,
|
|
@@ -2410,33 +2367,33 @@ var va = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2410
2367
|
...e
|
|
2411
2368
|
};
|
|
2412
2369
|
return {
|
|
2413
|
-
name:
|
|
2370
|
+
name: ca,
|
|
2414
2371
|
setupOnce() {
|
|
2415
|
-
t.setTimeout &&
|
|
2372
|
+
t.setTimeout && E(J, "setTimeout", ua), t.setInterval && E(J, "setInterval", ua), t.requestAnimationFrame && E(J, "requestAnimationFrame", da), t.XMLHttpRequest && "XMLHttpRequest" in J && E(XMLHttpRequest.prototype, "send", fa);
|
|
2416
2373
|
let e = t.eventTarget;
|
|
2417
|
-
e && (Array.isArray(e) ? e :
|
|
2374
|
+
e && (Array.isArray(e) ? e : sa).forEach((e) => pa(e, t));
|
|
2418
2375
|
}
|
|
2419
2376
|
};
|
|
2420
2377
|
}));
|
|
2421
|
-
function
|
|
2378
|
+
function ua(e) {
|
|
2422
2379
|
return function(...t) {
|
|
2423
2380
|
let n = t[0];
|
|
2424
|
-
return t[0] =
|
|
2381
|
+
return t[0] = Y(n, { mechanism: {
|
|
2425
2382
|
handled: !1,
|
|
2426
|
-
type: `auto.browser.browserapierrors.${
|
|
2383
|
+
type: `auto.browser.browserapierrors.${x(e)}`
|
|
2427
2384
|
} }), e.apply(this, t);
|
|
2428
2385
|
};
|
|
2429
2386
|
}
|
|
2430
|
-
function
|
|
2387
|
+
function da(e) {
|
|
2431
2388
|
return function(t) {
|
|
2432
|
-
return e.apply(this, [
|
|
2433
|
-
data: { handler:
|
|
2389
|
+
return e.apply(this, [Y(t, { mechanism: {
|
|
2390
|
+
data: { handler: x(e) },
|
|
2434
2391
|
handled: !1,
|
|
2435
2392
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2436
2393
|
} })]);
|
|
2437
2394
|
};
|
|
2438
2395
|
}
|
|
2439
|
-
function
|
|
2396
|
+
function fa(e) {
|
|
2440
2397
|
return function(...t) {
|
|
2441
2398
|
let n = this;
|
|
2442
2399
|
return [
|
|
@@ -2445,37 +2402,37 @@ function Ca(e) {
|
|
|
2445
2402
|
"onprogress",
|
|
2446
2403
|
"onreadystatechange"
|
|
2447
2404
|
].forEach((e) => {
|
|
2448
|
-
e in n && typeof n[e] == "function" &&
|
|
2405
|
+
e in n && typeof n[e] == "function" && E(n, e, function(t) {
|
|
2449
2406
|
let n = { mechanism: {
|
|
2450
|
-
data: { handler:
|
|
2407
|
+
data: { handler: x(t) },
|
|
2451
2408
|
handled: !1,
|
|
2452
2409
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2453
|
-
} }, r =
|
|
2454
|
-
return r && (n.mechanism.data.handler =
|
|
2410
|
+
} }, r = me(t);
|
|
2411
|
+
return r && (n.mechanism.data.handler = x(r)), Y(t, n);
|
|
2455
2412
|
});
|
|
2456
2413
|
}), e.apply(this, t);
|
|
2457
2414
|
};
|
|
2458
2415
|
}
|
|
2459
|
-
function
|
|
2416
|
+
function pa(e, t) {
|
|
2460
2417
|
var n, r;
|
|
2461
|
-
let i = (n =
|
|
2462
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2418
|
+
let i = (n = J[e]) == null ? void 0 : n.prototype;
|
|
2419
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (E(i, "addEventListener", function(n) {
|
|
2463
2420
|
return function(r, i, a) {
|
|
2464
2421
|
try {
|
|
2465
|
-
|
|
2422
|
+
ma(i) && (i.handleEvent = Y(i.handleEvent, { mechanism: {
|
|
2466
2423
|
data: {
|
|
2467
|
-
handler:
|
|
2424
|
+
handler: x(i),
|
|
2468
2425
|
target: e
|
|
2469
2426
|
},
|
|
2470
2427
|
handled: !1,
|
|
2471
2428
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2472
2429
|
} }));
|
|
2473
2430
|
} catch {}
|
|
2474
|
-
return t.unregisterOriginalCallbacks &&
|
|
2431
|
+
return t.unregisterOriginalCallbacks && ha(this, r, i), n.apply(this, [
|
|
2475
2432
|
r,
|
|
2476
|
-
|
|
2433
|
+
Y(i, { mechanism: {
|
|
2477
2434
|
data: {
|
|
2478
|
-
handler:
|
|
2435
|
+
handler: x(i),
|
|
2479
2436
|
target: e
|
|
2480
2437
|
},
|
|
2481
2438
|
handled: !1,
|
|
@@ -2484,7 +2441,7 @@ function wa(e, t) {
|
|
|
2484
2441
|
a
|
|
2485
2442
|
]);
|
|
2486
2443
|
};
|
|
2487
|
-
}),
|
|
2444
|
+
}), E(i, "removeEventListener", function(e) {
|
|
2488
2445
|
return function(t, n, r) {
|
|
2489
2446
|
try {
|
|
2490
2447
|
if (Object.prototype.hasOwnProperty.call(n, "__sentry_wrapped__")) {
|
|
@@ -2496,38 +2453,38 @@ function wa(e, t) {
|
|
|
2496
2453
|
};
|
|
2497
2454
|
}));
|
|
2498
2455
|
}
|
|
2499
|
-
function
|
|
2456
|
+
function ma(e) {
|
|
2500
2457
|
return typeof e.handleEvent == "function";
|
|
2501
2458
|
}
|
|
2502
|
-
function
|
|
2459
|
+
function ha(e, t, n) {
|
|
2503
2460
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2504
2461
|
}
|
|
2505
2462
|
//#endregion
|
|
2506
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2507
|
-
var
|
|
2463
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2464
|
+
var ga = V((e = {}) => {
|
|
2508
2465
|
var t;
|
|
2509
2466
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2510
2467
|
return {
|
|
2511
2468
|
name: "BrowserSession",
|
|
2512
2469
|
setupOnce() {
|
|
2513
|
-
if (
|
|
2514
|
-
|
|
2470
|
+
if (J.document === void 0) {
|
|
2471
|
+
X && j.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2515
2472
|
return;
|
|
2516
2473
|
}
|
|
2517
|
-
|
|
2518
|
-
let e =
|
|
2474
|
+
be({ ignoreDuration: !0 }), Ve();
|
|
2475
|
+
let e = Ze(), t = e.getUser();
|
|
2519
2476
|
e.addScopeListener((e) => {
|
|
2520
2477
|
let n = e.getUser();
|
|
2521
|
-
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (
|
|
2522
|
-
}), n === "route" &&
|
|
2523
|
-
e !== t && (
|
|
2478
|
+
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (Ve(), t = n);
|
|
2479
|
+
}), n === "route" && pi(({ from: e, to: t }) => {
|
|
2480
|
+
e !== t && (be({ ignoreDuration: !0 }), Ve());
|
|
2524
2481
|
});
|
|
2525
2482
|
}
|
|
2526
2483
|
};
|
|
2527
|
-
}),
|
|
2528
|
-
name:
|
|
2484
|
+
}), _a = "CultureContext", va = V((() => ({
|
|
2485
|
+
name: _a,
|
|
2529
2486
|
preprocessEvent(e) {
|
|
2530
|
-
let t =
|
|
2487
|
+
let t = ya();
|
|
2531
2488
|
if (t) {
|
|
2532
2489
|
var n;
|
|
2533
2490
|
e.contexts = {
|
|
@@ -2540,17 +2497,17 @@ var Da = V((e = {}) => {
|
|
|
2540
2497
|
}
|
|
2541
2498
|
},
|
|
2542
2499
|
processSegmentSpan(e) {
|
|
2543
|
-
let t =
|
|
2544
|
-
t &&
|
|
2500
|
+
let t = ya();
|
|
2501
|
+
t && Pt(e, {
|
|
2545
2502
|
"culture.locale": t.locale,
|
|
2546
2503
|
"culture.timezone": t.timezone,
|
|
2547
2504
|
"culture.calendar": t.calendar
|
|
2548
2505
|
});
|
|
2549
2506
|
}
|
|
2550
2507
|
})));
|
|
2551
|
-
function
|
|
2508
|
+
function ya() {
|
|
2552
2509
|
try {
|
|
2553
|
-
let e =
|
|
2510
|
+
let e = J.Intl;
|
|
2554
2511
|
if (!e) return;
|
|
2555
2512
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2556
2513
|
return {
|
|
@@ -2563,29 +2520,29 @@ function Aa() {
|
|
|
2563
2520
|
}
|
|
2564
2521
|
}
|
|
2565
2522
|
//#endregion
|
|
2566
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2567
|
-
var
|
|
2523
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2524
|
+
var ba = "GlobalHandlers", xa = V(((e = {}) => {
|
|
2568
2525
|
let t = {
|
|
2569
2526
|
onerror: !0,
|
|
2570
2527
|
onunhandledrejection: !0,
|
|
2571
2528
|
...e
|
|
2572
2529
|
};
|
|
2573
2530
|
return {
|
|
2574
|
-
name:
|
|
2531
|
+
name: ba,
|
|
2575
2532
|
setupOnce() {
|
|
2576
2533
|
Error.stackTraceLimit = 50;
|
|
2577
2534
|
},
|
|
2578
2535
|
setup(e) {
|
|
2579
|
-
t.onerror && (
|
|
2536
|
+
t.onerror && (Sa(e), Da("onerror")), t.onunhandledrejection && (Ca(e), Da("onunhandledrejection"));
|
|
2580
2537
|
}
|
|
2581
2538
|
};
|
|
2582
2539
|
}));
|
|
2583
|
-
function
|
|
2584
|
-
|
|
2585
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2586
|
-
if (D() !== e ||
|
|
2587
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2588
|
-
l.level = "error",
|
|
2540
|
+
function Sa(e) {
|
|
2541
|
+
Ur((t) => {
|
|
2542
|
+
let { stackParser: n, attachStacktrace: r } = Oa();
|
|
2543
|
+
if (D() !== e || qi()) return;
|
|
2544
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ea(Vi(n, c || i, void 0, r, !1), a, o, s);
|
|
2545
|
+
l.level = "error", Ge(l, {
|
|
2589
2546
|
originalException: c,
|
|
2590
2547
|
mechanism: {
|
|
2591
2548
|
handled: !1,
|
|
@@ -2594,12 +2551,12 @@ function Na(e) {
|
|
|
2594
2551
|
});
|
|
2595
2552
|
});
|
|
2596
2553
|
}
|
|
2597
|
-
function
|
|
2598
|
-
|
|
2599
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2600
|
-
if (D() !== e ||
|
|
2601
|
-
let i =
|
|
2602
|
-
a.level = "error",
|
|
2554
|
+
function Ca(e) {
|
|
2555
|
+
Kr((t) => {
|
|
2556
|
+
let { stackParser: n, attachStacktrace: r } = Oa();
|
|
2557
|
+
if (D() !== e || qi()) return;
|
|
2558
|
+
let i = wa(t), a = Re(i) ? Ta(i) : Vi(n, i, void 0, r, !0);
|
|
2559
|
+
a.level = "error", Ge(a, {
|
|
2603
2560
|
originalException: i,
|
|
2604
2561
|
mechanism: {
|
|
2605
2562
|
handled: !1,
|
|
@@ -2608,55 +2565,55 @@ function Pa(e) {
|
|
|
2608
2565
|
});
|
|
2609
2566
|
});
|
|
2610
2567
|
}
|
|
2611
|
-
function
|
|
2612
|
-
if (
|
|
2568
|
+
function wa(e) {
|
|
2569
|
+
if (Re(e)) return e;
|
|
2613
2570
|
try {
|
|
2614
2571
|
if ("reason" in e) return e.reason;
|
|
2615
2572
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
2616
2573
|
} catch {}
|
|
2617
2574
|
return e;
|
|
2618
2575
|
}
|
|
2619
|
-
function
|
|
2576
|
+
function Ta(e) {
|
|
2620
2577
|
return { exception: { values: [{
|
|
2621
2578
|
type: "UnhandledRejection",
|
|
2622
2579
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2623
2580
|
}] } };
|
|
2624
2581
|
}
|
|
2625
|
-
function
|
|
2582
|
+
function Ea(e, t, n, r) {
|
|
2626
2583
|
let i = e.exception = e.exception || {}, a = i.values = i.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, c = s.frames = s.frames || [];
|
|
2627
2584
|
if (c.length === 0) {
|
|
2628
2585
|
var l;
|
|
2629
2586
|
c.push({
|
|
2630
2587
|
colno: r,
|
|
2631
2588
|
lineno: n,
|
|
2632
|
-
filename: (l =
|
|
2589
|
+
filename: (l = ka(t)) == null ? ei() : l,
|
|
2633
2590
|
function: "?",
|
|
2634
2591
|
in_app: !0
|
|
2635
2592
|
});
|
|
2636
2593
|
}
|
|
2637
2594
|
return e;
|
|
2638
2595
|
}
|
|
2639
|
-
function
|
|
2640
|
-
|
|
2596
|
+
function Da(e) {
|
|
2597
|
+
X && j.log(`Global Handler attached: ${e}`);
|
|
2641
2598
|
}
|
|
2642
|
-
function
|
|
2599
|
+
function Oa() {
|
|
2643
2600
|
let e = D();
|
|
2644
2601
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2645
2602
|
stackParser: () => [],
|
|
2646
2603
|
attachStacktrace: !1
|
|
2647
2604
|
};
|
|
2648
2605
|
}
|
|
2649
|
-
function
|
|
2650
|
-
if (!(!
|
|
2606
|
+
function ka(e) {
|
|
2607
|
+
if (!(!k(e) || e.length === 0)) return e.startsWith("data:") ? `<${Xr(e, !1)}>` : e;
|
|
2651
2608
|
}
|
|
2652
2609
|
//#endregion
|
|
2653
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2654
|
-
var
|
|
2610
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2611
|
+
var Aa = V(() => ({
|
|
2655
2612
|
name: "HttpContext",
|
|
2656
2613
|
preprocessEvent(e) {
|
|
2657
2614
|
var t;
|
|
2658
|
-
if (!
|
|
2659
|
-
let n =
|
|
2615
|
+
if (!J.navigator && !J.location && !J.document) return;
|
|
2616
|
+
let n = Yi(), r = {
|
|
2660
2617
|
...n.headers,
|
|
2661
2618
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2662
2619
|
};
|
|
@@ -2667,103 +2624,148 @@ var Va = V(() => ({
|
|
|
2667
2624
|
};
|
|
2668
2625
|
},
|
|
2669
2626
|
processSegmentSpan(e) {
|
|
2670
|
-
|
|
2671
|
-
let t =
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
"http.
|
|
2627
|
+
var t;
|
|
2628
|
+
let n = (t = e.attributes) == null ? void 0 : t[y];
|
|
2629
|
+
if (!J.navigator && !J.location && !J.document) return;
|
|
2630
|
+
let r = Yi();
|
|
2631
|
+
Pt(e, {
|
|
2632
|
+
"url.full": n === "http.client" ? void 0 : r.url,
|
|
2633
|
+
"http.request.header.user_agent": r.headers["User-Agent"],
|
|
2634
|
+
"http.request.header.referer": r.headers.Referer
|
|
2676
2635
|
});
|
|
2677
2636
|
}
|
|
2678
|
-
})),
|
|
2679
|
-
let t = e.limit ||
|
|
2637
|
+
})), ja = "cause", Ma = 5, Na = "LinkedErrors", Pa = V(((e = {}) => {
|
|
2638
|
+
let t = e.limit || Ma, n = e.key || ja;
|
|
2680
2639
|
return {
|
|
2681
|
-
name:
|
|
2640
|
+
name: Na,
|
|
2682
2641
|
preprocessEvent(e, r, i) {
|
|
2683
|
-
|
|
2642
|
+
Dr(ki, i.getOptions().stackParser, n, t, e, r);
|
|
2684
2643
|
}
|
|
2685
2644
|
};
|
|
2686
|
-
})),
|
|
2687
|
-
function
|
|
2645
|
+
})), Fa = 30, Ia = 50;
|
|
2646
|
+
function La(e, t, n, r) {
|
|
2647
|
+
let i = {
|
|
2648
|
+
filename: e,
|
|
2649
|
+
function: t === "<anonymous>" ? "?" : t,
|
|
2650
|
+
in_app: !0
|
|
2651
|
+
};
|
|
2652
|
+
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2653
|
+
}
|
|
2654
|
+
var Ra = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, za = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, Ba = /\((\S*)(?::(\d+))(?::(\d+))\)/, Va = /at (.+?) ?\(data:(.+?),/, Ha = [Fa, (e) => {
|
|
2655
|
+
let t = e.match(Va);
|
|
2656
|
+
if (t) return {
|
|
2657
|
+
filename: `<data:${t[2]}>`,
|
|
2658
|
+
function: t[1]
|
|
2659
|
+
};
|
|
2660
|
+
let n = Ra.exec(e);
|
|
2661
|
+
if (n) {
|
|
2662
|
+
let [, e, t, r] = n;
|
|
2663
|
+
return La(e, "?", +t, +r);
|
|
2664
|
+
}
|
|
2665
|
+
let r = za.exec(e);
|
|
2666
|
+
if (r) {
|
|
2667
|
+
var i;
|
|
2668
|
+
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2669
|
+
let e = Ba.exec(r[2]);
|
|
2670
|
+
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2671
|
+
}
|
|
2672
|
+
let [e, t] = Ka(r[1] || "?", r[2]);
|
|
2673
|
+
return La(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2674
|
+
}
|
|
2675
|
+
}], Ua = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Wa = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Ga = de(Ha, [Ia, (e) => {
|
|
2676
|
+
let t = Ua.exec(e);
|
|
2677
|
+
if (t) {
|
|
2678
|
+
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2679
|
+
let e = Wa.exec(t[3]);
|
|
2680
|
+
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2681
|
+
}
|
|
2682
|
+
let e = t[3], n = t[1] || "?";
|
|
2683
|
+
return [n, e] = Ka(n, e), La(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2684
|
+
}
|
|
2685
|
+
}]), Ka = (e, t) => {
|
|
2686
|
+
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2687
|
+
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2688
|
+
}, qa = /^HTML(\w*)Element$/;
|
|
2689
|
+
function Ja(e) {
|
|
2688
2690
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2689
2691
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2690
|
-
if (
|
|
2691
|
-
let t =
|
|
2692
|
-
if (
|
|
2692
|
+
if (Ei(e)) {
|
|
2693
|
+
let t = Ya(e);
|
|
2694
|
+
if (qa.test(t)) return `[HTMLElement: ${wi(e)}]`;
|
|
2693
2695
|
}
|
|
2694
2696
|
}
|
|
2695
|
-
function
|
|
2697
|
+
function Ya(e) {
|
|
2696
2698
|
let t = Object.getPrototypeOf(e);
|
|
2697
2699
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2698
2700
|
}
|
|
2699
2701
|
//#endregion
|
|
2700
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2701
|
-
function
|
|
2702
|
-
return
|
|
2702
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2703
|
+
function Xa() {
|
|
2704
|
+
return Za() ? (X && Be(() => {
|
|
2703
2705
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2704
2706
|
}), !0) : !1;
|
|
2705
2707
|
}
|
|
2706
|
-
function
|
|
2708
|
+
function Za() {
|
|
2707
2709
|
var e;
|
|
2708
|
-
if (
|
|
2709
|
-
let t =
|
|
2710
|
+
if (J.window === void 0) return !1;
|
|
2711
|
+
let t = J;
|
|
2710
2712
|
if (t.nw) return !1;
|
|
2711
2713
|
let n = t.chrome || t.browser;
|
|
2712
2714
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2713
|
-
let r =
|
|
2714
|
-
return !(
|
|
2715
|
+
let r = ei();
|
|
2716
|
+
return !(J === J.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2715
2717
|
}
|
|
2716
2718
|
//#endregion
|
|
2717
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2718
|
-
function
|
|
2719
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.60.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2720
|
+
function Qa(e) {
|
|
2719
2721
|
return [
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2722
|
+
cr(),
|
|
2723
|
+
ir(),
|
|
2724
|
+
Er(),
|
|
2725
|
+
la(),
|
|
2726
|
+
$i(),
|
|
2727
|
+
xa(),
|
|
2728
|
+
Pa(),
|
|
2729
|
+
vr(),
|
|
2730
|
+
Aa(),
|
|
2731
|
+
va(),
|
|
2732
|
+
ga()
|
|
2731
2733
|
];
|
|
2732
2734
|
}
|
|
2733
|
-
function
|
|
2734
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2735
|
+
function $a(e = {}) {
|
|
2736
|
+
let t = !e.skipBrowserExtensionCheck && Xa(), n = e.defaultIntegrations == null ? Qa() : e.defaultIntegrations, r = {
|
|
2735
2737
|
...e,
|
|
2736
2738
|
enabled: t ? !1 : e.enabled,
|
|
2737
|
-
stackParser:
|
|
2738
|
-
integrations:
|
|
2739
|
+
stackParser: ie(e.stackParser || Ga),
|
|
2740
|
+
integrations: Zt({
|
|
2739
2741
|
integrations: e.integrations,
|
|
2740
2742
|
defaultIntegrations: n
|
|
2741
2743
|
}),
|
|
2742
|
-
transport: e.transport ||
|
|
2744
|
+
transport: e.transport || Oi
|
|
2743
2745
|
};
|
|
2744
|
-
return
|
|
2746
|
+
return S(Ja), Xn(Xi, r);
|
|
2745
2747
|
}
|
|
2746
2748
|
//#endregion
|
|
2747
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2748
|
-
var
|
|
2749
|
-
function
|
|
2750
|
-
return
|
|
2749
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.60.0_react@19.2.7/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2750
|
+
var eo = /* @__PURE__ */ e(t());
|
|
2751
|
+
function to(e) {
|
|
2752
|
+
return ve(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2751
2753
|
}
|
|
2752
2754
|
//#endregion
|
|
2753
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2754
|
-
function
|
|
2755
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.60.0_react@19.2.7/node_modules/@sentry/react/build/esm/sdk.js
|
|
2756
|
+
function no(e) {
|
|
2755
2757
|
let t = { ...e };
|
|
2756
|
-
|
|
2757
|
-
let n =
|
|
2758
|
-
return
|
|
2758
|
+
$n(t, "react"), _e("react", { version: eo.version });
|
|
2759
|
+
let n = $a(t);
|
|
2760
|
+
return S(ro), n;
|
|
2759
2761
|
}
|
|
2760
|
-
function
|
|
2761
|
-
return
|
|
2762
|
+
function ro(e) {
|
|
2763
|
+
return to(e) ? "[SyntheticEvent]" : Ja(e);
|
|
2762
2764
|
}
|
|
2763
2765
|
//#endregion
|
|
2764
2766
|
//#region src/tools/sentry.ts
|
|
2765
|
-
var
|
|
2766
|
-
function
|
|
2767
|
+
var io = "production", ao = "3.10.2";
|
|
2768
|
+
function oo() {
|
|
2767
2769
|
let e = "sentry_offline_queue";
|
|
2768
2770
|
return {
|
|
2769
2771
|
async push(t) {
|
|
@@ -2810,16 +2812,16 @@ function ao() {
|
|
|
2810
2812
|
}
|
|
2811
2813
|
};
|
|
2812
2814
|
}
|
|
2813
|
-
function
|
|
2814
|
-
let t =
|
|
2815
|
-
|
|
2815
|
+
function so(e) {
|
|
2816
|
+
let t = Et(Oi);
|
|
2817
|
+
no({
|
|
2816
2818
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2817
|
-
release:
|
|
2818
|
-
environment:
|
|
2819
|
+
release: ao,
|
|
2820
|
+
environment: io,
|
|
2819
2821
|
sendDefaultPii: !0,
|
|
2820
2822
|
transport: (e) => t({
|
|
2821
2823
|
...e,
|
|
2822
|
-
createStore: () =>
|
|
2824
|
+
createStore: () => oo(),
|
|
2823
2825
|
flushAtStartup: !0,
|
|
2824
2826
|
shouldStore: async (e, t) => {
|
|
2825
2827
|
var n, r, i;
|
|
@@ -2843,14 +2845,14 @@ function oo(e) {
|
|
|
2843
2845
|
beforeSend(e) {
|
|
2844
2846
|
return e;
|
|
2845
2847
|
}
|
|
2846
|
-
}), e.eventId &&
|
|
2848
|
+
}), e.eventId && Le("eventId", e.eventId), Le("isWebview", e.isWebview), Le("source", "vite-main"), Ue({ ip_address: "{{auto}}" }), co();
|
|
2847
2849
|
}
|
|
2848
|
-
function
|
|
2850
|
+
function co() {
|
|
2849
2851
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2850
|
-
|
|
2852
|
+
Fe(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2851
2853
|
});
|
|
2852
2854
|
let e = window.onerror;
|
|
2853
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2855
|
+
window.onerror = (t, n, r, i, a) => (a && Fe(a, { contexts: { windowError: {
|
|
2854
2856
|
message: t,
|
|
2855
2857
|
source: n,
|
|
2856
2858
|
lineno: r,
|
|
@@ -2863,10 +2865,10 @@ function so() {
|
|
|
2863
2865
|
}
|
|
2864
2866
|
//#endregion
|
|
2865
2867
|
//#region src/utils/is-localhost.ts
|
|
2866
|
-
var { hostname: Q, protocol:
|
|
2868
|
+
var { hostname: Q, protocol: lo } = window.location, uo = Q === "localhost" || Q === "127.0.0.1" || Q === "::1" || Q.startsWith("192.168.") || Q.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(Q) || Q.endsWith(".local") || lo === "file:" || Q === "";
|
|
2867
2869
|
//#endregion
|
|
2868
2870
|
//#region src/utils/loadCustomCss.ts
|
|
2869
|
-
async function
|
|
2871
|
+
async function fo(e, t) {
|
|
2870
2872
|
if (e != null && e.customCss) {
|
|
2871
2873
|
let n = document.createElement("style");
|
|
2872
2874
|
n.textContent = e.customCss, t.append(n), await c(e.customCss);
|
|
@@ -2874,7 +2876,7 @@ async function uo(e, t) {
|
|
|
2874
2876
|
}
|
|
2875
2877
|
//#endregion
|
|
2876
2878
|
//#region src/utils/loadIcons.ts
|
|
2877
|
-
async function
|
|
2879
|
+
async function po(e) {
|
|
2878
2880
|
try {
|
|
2879
2881
|
(await Promise.allSettled(Object.entries({
|
|
2880
2882
|
departure: "icons/departure.svg",
|
|
@@ -2893,7 +2895,7 @@ async function fo(e) {
|
|
|
2893
2895
|
}
|
|
2894
2896
|
//#endregion
|
|
2895
2897
|
//#region src/utils/mergeExhibitors.ts
|
|
2896
|
-
function
|
|
2898
|
+
function mo(e, t) {
|
|
2897
2899
|
t.exhibitors.forEach((t) => {
|
|
2898
2900
|
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
2899
2901
|
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
@@ -2901,13 +2903,13 @@ function po(e, t) {
|
|
|
2901
2903
|
}
|
|
2902
2904
|
//#endregion
|
|
2903
2905
|
//#region src/utils/use-shadow.ts
|
|
2904
|
-
var
|
|
2906
|
+
var ho, go = typeof document < "u" && !!((ho = document.body) != null && ho.attachShadow) && p && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0;
|
|
2905
2907
|
//#endregion
|
|
2906
2908
|
//#region src/floorplan.loader.ts
|
|
2907
2909
|
function $() {
|
|
2908
2910
|
throw Error("FloorPlan not ready");
|
|
2909
2911
|
}
|
|
2910
|
-
var
|
|
2912
|
+
var _o = class {
|
|
2911
2913
|
get ready() {
|
|
2912
2914
|
return this._ready;
|
|
2913
2915
|
}
|
|
@@ -3057,7 +3059,7 @@ var go = class {
|
|
|
3057
3059
|
}
|
|
3058
3060
|
constructor(e) {
|
|
3059
3061
|
var t;
|
|
3060
|
-
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent =
|
|
3062
|
+
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = uo && !i ? !1 : e.allowConsent, this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!e.viewerMode, this.disableRuntimeAlerts = (t = e.disableRuntimeAlerts) == null ? !0 : t, this.maplibre = e.maplibre, window.__efpMaplibre = e.maplibre, this._ready = new Promise((e, t) => {
|
|
3061
3063
|
this.resolveReady = e;
|
|
3062
3064
|
});
|
|
3063
3065
|
let o = e.element;
|
|
@@ -3065,24 +3067,24 @@ var go = class {
|
|
|
3065
3067
|
if (o.__expofp = this, o.getAttribute("data-event-id") || o.getAttribute("data-event")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3066
3068
|
let c = e.expo || e.event;
|
|
3067
3069
|
if (!c) throw Error("`expo` option is required");
|
|
3068
|
-
|
|
3070
|
+
so({
|
|
3069
3071
|
eventId: c || "",
|
|
3070
|
-
isWebview:
|
|
3072
|
+
isWebview: et
|
|
3071
3073
|
}), this.eventId = c, window.__efpEvent = c, window.__efpElement = o;
|
|
3072
3074
|
let p = document.createElement("div");
|
|
3073
3075
|
p.style.height = "100%", p.style.width = "100%", o.appendChild(p);
|
|
3074
3076
|
let h;
|
|
3075
|
-
if (
|
|
3077
|
+
if (et && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
3076
3078
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
3077
3079
|
e && (this.allowConsent = e === "true");
|
|
3078
3080
|
}
|
|
3079
|
-
if (
|
|
3081
|
+
if (go) {
|
|
3080
3082
|
h = p.attachShadow({ mode: "open" });
|
|
3081
3083
|
let e = h, t = document;
|
|
3082
3084
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3083
3085
|
} else h = p;
|
|
3084
3086
|
let g = document.createElement("div");
|
|
3085
|
-
if (g.style.height = "100%", g.style.width = "100%", h.appendChild(g),
|
|
3087
|
+
if (g.style.height = "100%", g.style.width = "100%", h.appendChild(g), go && Object.defineProperty(g, "ownerDocument", { value: h }), window.__efpShadowDOMStyleParent = go ? h : void 0, this.renderTarget = g, o.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3086
3088
|
let _ = e.legacyDataUrlBase;
|
|
3087
3089
|
window.__dataUrlBase = _, this.dataUrl = _, m.log("Instantiating ExpoFP floorplan", e.element, c);
|
|
3088
3090
|
let v = _ + "data.js", y = _ + "wf.data.js", te = _ + "fp.svg.js", b = [
|
|
@@ -3105,7 +3107,7 @@ var go = class {
|
|
|
3105
3107
|
for (; window.__fpPending && !window.__fp;) await a(2e3), await f(te + `?v=${++i}`);
|
|
3106
3108
|
let g = window.__data;
|
|
3107
3109
|
if (!g) {
|
|
3108
|
-
let { showEventNotFound: e } = await import("./event-not-found
|
|
3110
|
+
let { showEventNotFound: e } = await import("./event-not-found--rNrnsfb.js");
|
|
3109
3111
|
e(o);
|
|
3110
3112
|
return;
|
|
3111
3113
|
}
|
|
@@ -3165,12 +3167,12 @@ var go = class {
|
|
|
3165
3167
|
rt: e,
|
|
3166
3168
|
expoKey: c
|
|
3167
3169
|
}), n = await fetch(t);
|
|
3168
|
-
n.ok &&
|
|
3170
|
+
n.ok && mo(g, await n.json()), g.isRebooking = n.ok;
|
|
3169
3171
|
} else g.isRebooking = !1;
|
|
3170
3172
|
} catch (e) {
|
|
3171
3173
|
console.error(e);
|
|
3172
3174
|
}
|
|
3173
|
-
let
|
|
3175
|
+
let ne = [
|
|
3174
3176
|
l(u + "vendor/sanitize-css/sanitize.css", h),
|
|
3175
3177
|
l(u + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", h),
|
|
3176
3178
|
d("Oswald", u + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
@@ -3179,18 +3181,18 @@ var go = class {
|
|
|
3179
3181
|
d("Inter", u + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3180
3182
|
d("Inter", u + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3181
3183
|
d("efp-symbols", u + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
+
fo(g, h),
|
|
3185
|
+
po(S.icons)
|
|
3184
3186
|
];
|
|
3185
|
-
await Promise.all(
|
|
3186
|
-
let { default:
|
|
3187
|
+
await Promise.all(ne), S.enableRotation = (e = g == null ? void 0 : g.enableRotation) == null ? !1 : e, S.alwaysShowSidebar = (t = g == null ? void 0 : g.alwaysShowSidebar) == null ? !1 : t, m.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3188
|
+
let { default: re } = await import(
|
|
3187
3189
|
/* webpackChunkName: "floorplan" */
|
|
3188
|
-
"./floorplan.ready-
|
|
3190
|
+
"./floorplan.ready-Dk5rTB4-.js"
|
|
3189
3191
|
);
|
|
3190
3192
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); o.firstChild && o.firstChild !== p;) o.removeChild(o.firstChild);
|
|
3191
|
-
Object.setPrototypeOf(S,
|
|
3193
|
+
Object.setPrototypeOf(S, re.prototype).init();
|
|
3192
3194
|
})();
|
|
3193
3195
|
}
|
|
3194
3196
|
};
|
|
3195
3197
|
//#endregion
|
|
3196
|
-
export {
|
|
3198
|
+
export { nt as a, Jt as i, X as n, J as r, _o as t };
|