@expofp/floorplan 3.7.4 → 3.7.6
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-aO_HokSj.js → Button-CskZ-1SQ.js} +6 -6
- package/dist/browser/{CookieConsent-BU0G4gg0.js → CookieConsent-CwdbXtRd.js} +7 -7
- package/dist/browser/{Debug-KQpdRJNF.js → Debug-HvNAI4I2.js} +7 -7
- package/dist/browser/{Demo-MgosITXW.js → Demo-BunvPdi4.js} +9 -9
- package/dist/browser/{Free-Cjw8czsd.js → Free-CU2ylG4D.js} +9 -9
- package/dist/browser/{Gallery-B44SQVmW.js → Gallery-Bk5ypZhw.js} +9 -9
- package/dist/browser/{GpsLoader-CsquDv0q.js → GpsLoader-CmI8V13E.js} +20 -20
- package/dist/browser/{KioskStore-CmfnbNW2.js → KioskStore-BHYMkA7U.js} +3 -3
- package/dist/browser/{MaplibreAdapter-D1SHFdBf.js → MaplibreAdapter-CqTZjy9x.js} +70 -70
- package/dist/browser/{Modal-ByxKticO.js → Modal-CiRNqtwq.js} +9 -9
- package/dist/browser/{PermissionNotice-uV0eU__u.js → PermissionNotice-COLVVpan.js} +6 -6
- package/dist/browser/{SetKioskMode-Bo-NIDqb.js → SetKioskMode-pMI6YZEC.js} +8 -8
- package/dist/browser/{ShowKiosk-YEhx2mBF.js → ShowKiosk-BpJjfmrQ.js} +11 -11
- package/dist/browser/{TouchHand-DP0lpX80.js → TouchHand-DI-Aj4wy.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-D7jBA4RW.js → ViewerMenuPanel-CKCSghSL.js} +8 -8
- package/dist/browser/{add-debug-secret-listener-BEnYBbzM.js → add-debug-secret-listener-2dlwQmt_.js} +1 -1
- package/dist/browser/{boolean-editor-DQhkQ0fL.js → boolean-editor-EQezUrv2.js} +9 -9
- package/dist/browser/{bootIntercom-CJo2kE-M.js → bootIntercom-BJhS53yv.js} +2 -2
- package/dist/browser/{browser-DYIvO46m.js → browser-HS8wyHXB.js} +2 -2
- package/dist/browser/bundle.json +57 -57
- package/dist/browser/{classnames-C5yzF4HX.js → classnames-C3l9dcGG.js} +2 -2
- package/dist/browser/{client-DfLygbSM.js → client-NCz188Ft.js} +4 -4
- package/dist/browser/{components-BIXJFvok.js → components-oKoVpjWk.js} +1658 -1658
- package/dist/browser/{createWayfinding-C_0oMFs1.js → createWayfinding-CeS9iM1W.js} +187 -187
- package/dist/browser/{debug-overlay-46IP0vsS.js → debug-overlay-Cqc3ctkW.js} +10 -10
- package/dist/browser/{debug-ui-feLw_onf.js → debug-ui-C4osX8i_.js} +6 -6
- package/dist/browser/{dist-BHUDHZP4.js → dist-8gIQXhyw.js} +3 -3
- package/dist/browser/{dist-ExsqDvEL.js → dist-DGSF5sPk.js} +5 -5
- package/dist/browser/{dist-im0AIvbY.js → dist-mbonvrAc.js} +6 -6
- package/dist/browser/{efp-debug-init-DGPhG_bU.js → efp-debug-init-DUWrYXNd.js} +2 -2
- package/dist/browser/{enum-editor-C4ySP3nc.js → enum-editor-CRSq9S7c.js} +11 -11
- package/dist/browser/{event-not-found-DG6AnCnV.js → event-not-found-BLRdJMTD.js} +1 -1
- package/dist/browser/{exports-DmpoD0fr.js → exports-COPK-0l9.js} +36 -36
- package/dist/browser/{favicon-Br5ml5iu.js → favicon-BQbHsxX-.js} +1 -1
- package/dist/browser/{fetch-retry.umd-bkAOBUt_.js → fetch-retry.umd-BLtDS0Sx.js} +2 -2
- package/dist/browser/{flex-Dwpw7MGM.js → flex-CXxIn81t.js} +5 -5
- package/dist/browser/{floorplan.loader-CPmefcXe.js → floorplan.loader-C-m4NheT.js} +723 -704
- package/dist/browser/{floorplan.ready-oUOSRm6R.js → floorplan.ready-Duc4SxLH.js} +34 -34
- package/dist/browser/{fuse-DP7UCs2S.js → fuse-4QTHS7Ur.js} +2 -2
- package/dist/browser/{i18n-Cj30oNjj.js → i18n-VVkod1aZ.js} +3 -3
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-B8x-fro_.js → is-debug-UXRw9lKQ.js} +4 -4
- package/dist/browser/{jsx-runtime-D7QyoJp1.js → jsx-runtime-BjSqokhG.js} +2 -2
- package/dist/browser/{lib-B8nz5HHo.js → lib-wtNuKXT7.js} +4 -4
- package/dist/browser/{main-BwVw9SUe.js → main-C-83kvrc.js} +1 -1
- package/dist/browser/{mobx-D8yc9fAI.js → mobx-D3CFlbtA.js} +4 -4
- package/dist/browser/{particles.min-CUAgfec9.js → particles.min-Bxln4d_5.js} +2 -2
- package/dist/browser/{prop-types-CvfWKQCy.js → prop-types-BBCNUtnm.js} +2 -2
- package/dist/browser/{react-C2tVGrqu.js → react-HA3DGvr6.js} +2 -2
- package/dist/browser/{react-dom-B_sXID-1.js → react-dom-BQ8F633x.js} +3 -3
- package/dist/browser/{reset-all-settings-Be_n1oxb.js → reset-all-settings-DoRgIwaj.js} +7 -7
- package/dist/browser/{rolldown-runtime-DVIs1q9q.js → rolldown-runtime-CH0sZcpN.js} +1 -1
- package/dist/browser/{settings-B8veQbld.js → settings-CXi58p62.js} +2 -2
- package/dist/browser/{settings-item-CdMRi2N0.js → settings-item-_4f-2Ez7.js} +6 -6
- package/dist/browser/{store-CtVf7eNc.js → store-BrAfYXrZ.js} +1848 -1828
- package/dist/browser/{string-editor-gjrsepUM.js → string-editor-B_WUMLTp.js} +7 -7
- package/dist/browser/{theme-B0UtMBz_.js → theme-CQRRknl6.js} +8 -8
- package/dist/browser/{ui-BBu8YAw8.js → ui-BEwxpZU9.js} +8 -8
- package/dist/browser/{useRenderTarget-CiijuasV.js → useRenderTarget-DT7C-pWd.js} +4 -4
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/utils/i18n.d.ts +1 -1
- package/dist/esm/utils/sanitizeText.d.ts +2 -2
- package/dist/esm/utils/sanitizeText.js +1 -1
- package/dist/esm/utils/trackingParams.d.ts +3 -0
- package/dist/esm/utils/trackingParams.js +1 -0
- package/package.json +14 -13
|
@@ -1,16 +1,16 @@
|
|
|
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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.6" };
|
|
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] = "feadc71d-c2e7-4d5f-b68c-76ae375c669e", e._sentryDebugIdIdentifier = "sentry-dbid-feadc71d-c2e7-4d5f-b68c-76ae375c669e");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { _ as n, c as r, g as i, n as a, r as o, t as s, y as c } from "./is-debug-
|
|
12
|
-
import { D as l, E as u, O as d, T as
|
|
13
|
-
import { $ as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CH0sZcpN.js";
|
|
10
|
+
import { t } from "./react-HA3DGvr6.js";
|
|
11
|
+
import { _ as n, c as r, g as i, n as a, r as o, t as s, y as c } from "./is-debug-UXRw9lKQ.js";
|
|
12
|
+
import { D as l, E as u, O as d, T as f, c as p, ct as m, i as ee, j as h } from "./i18n-VVkod1aZ.js";
|
|
13
|
+
import { $ as g, A as _, B as v, C as y, D as te, E as ne, F as b, G as x, H as S, I as C, J as re, K as w, L as ie, M as ae, N as oe, O as se, P as T, Q as ce, R as E, S as D, T as le, U as ue, V as de, W as O, X as fe, Y as pe, Z as me, _ as k, _t as he, a as ge, at as A, b as _e, c as ve, ct as ye, d as be, dt as xe, et as Se, f as Ce, ft as we, g as Te, gt as Ee, h as De, ht as Oe, it as ke, j, k as Ae, l as je, lt as M, m as Me, mt as Ne, n as Pe, nt as Fe, o as Ie, ot as Le, p as Re, pt as N, q as ze, r as Be, rt as P, s as Ve, st as He, t as Ue, tt as We, u as Ge, ut as Ke, v as qe, vt as F, w as Je, x as Ye, y as Xe, yt as I, z as Ze } from "./exports-COPK-0l9.js";
|
|
14
14
|
//#region src/tools/report-error.ts
|
|
15
15
|
var Qe;
|
|
16
16
|
function $e(e) {
|
|
@@ -30,14 +30,14 @@ function $e(e) {
|
|
|
30
30
|
lineno: e.lineno,
|
|
31
31
|
colno: e.colno,
|
|
32
32
|
stack: (t = e.error) == null ? void 0 : t.stack,
|
|
33
|
-
log:
|
|
33
|
+
log: m.messages.join("\n"),
|
|
34
34
|
userAgent: navigator.userAgent,
|
|
35
35
|
language: n,
|
|
36
36
|
group: "FP",
|
|
37
37
|
url: document.location,
|
|
38
38
|
subject: "FP JS error: " + document.location.host
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
m.info("Sending error report", r), await Promise.all([et(r), tt(r)]);
|
|
41
41
|
}, 2e3));
|
|
42
42
|
}
|
|
43
43
|
async function et(e) {
|
|
@@ -46,7 +46,7 @@ async function et(e) {
|
|
|
46
46
|
headers: { "Content-Type": "application/json" },
|
|
47
47
|
body: JSON.stringify(e)
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
m.log("Reporter response: ", await t.text());
|
|
50
50
|
}
|
|
51
51
|
async function tt(e) {
|
|
52
52
|
let t = nt(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
@@ -54,7 +54,7 @@ async function tt(e) {
|
|
|
54
54
|
headers: { "Content-Type": "application/json" },
|
|
55
55
|
body: JSON.stringify(t)
|
|
56
56
|
});
|
|
57
|
-
|
|
57
|
+
m.log("Slack reporter response: ", await n.text());
|
|
58
58
|
}
|
|
59
59
|
function nt(e) {
|
|
60
60
|
let t = JSON.parse(JSON.stringify(e));
|
|
@@ -103,7 +103,7 @@ async function at(e) {
|
|
|
103
103
|
transition_down: "icons/transition_down.svg",
|
|
104
104
|
kiosk: "icons/kiosk.svg",
|
|
105
105
|
yah: "icons/yah.svg"
|
|
106
|
-
}).map(([e, t]) => a(
|
|
106
|
+
}).map(([e, t]) => a(h + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
107
107
|
} catch (e) {
|
|
108
108
|
console.warn(e);
|
|
109
109
|
}
|
|
@@ -118,7 +118,7 @@ function ot(e, t) {
|
|
|
118
118
|
}
|
|
119
119
|
//#endregion
|
|
120
120
|
//#region src/utils/use-shadow.ts
|
|
121
|
-
var st, ct = typeof document < "u" && !!((st = document.body) != null && st.attachShadow) &&
|
|
121
|
+
var st, ct = typeof document < "u" && !!((st = document.body) != null && st.attachShadow) && p && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: L, protocol: lt } = window.location, ut = L === "localhost" || L === "127.0.0.1" || L === "::1" || L.startsWith("192.168.") || L.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(L) || L.endsWith(".local") || lt === "file:" || L === "", R = {}, dt = {};
|
|
122
122
|
function z(e, t) {
|
|
123
123
|
return R[e] = R[e] || [], R[e].push(t), () => {
|
|
124
124
|
let n = R[e];
|
|
@@ -145,12 +145,12 @@ function V(e, t) {
|
|
|
145
145
|
} catch (t) {
|
|
146
146
|
I && N.error(`Error while triggering instrumentation handler.
|
|
147
147
|
Type: ${e}
|
|
148
|
-
Name: ${
|
|
148
|
+
Name: ${M(r)}
|
|
149
149
|
Error:`, t);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
//#endregion
|
|
153
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
153
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
154
154
|
var ft = null;
|
|
155
155
|
function pt(e) {
|
|
156
156
|
let t = "error";
|
|
@@ -168,7 +168,7 @@ function mt() {
|
|
|
168
168
|
}, F.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
169
169
|
}
|
|
170
170
|
//#endregion
|
|
171
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
171
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
172
172
|
var ht = null;
|
|
173
173
|
function gt(e) {
|
|
174
174
|
let t = "unhandledrejection";
|
|
@@ -180,14 +180,14 @@ function _t() {
|
|
|
180
180
|
}, F.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
183
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
184
184
|
function vt(e) {
|
|
185
185
|
if (typeof e == "boolean") return Number(e);
|
|
186
186
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
187
187
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
188
188
|
}
|
|
189
189
|
//#endregion
|
|
190
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
190
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
191
191
|
function yt(e) {
|
|
192
192
|
N.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
193
193
|
}
|
|
@@ -195,12 +195,12 @@ function bt(e, t) {
|
|
|
195
195
|
if (!(t != null && t.length)) return !1;
|
|
196
196
|
for (let n of t) {
|
|
197
197
|
if (Ct(n)) {
|
|
198
|
-
if (e.description &&
|
|
198
|
+
if (e.description && C(e.description, n)) return I && yt(e), !0;
|
|
199
199
|
continue;
|
|
200
200
|
}
|
|
201
201
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
202
202
|
if (!n.name && !n.op && !t) continue;
|
|
203
|
-
let r = n.name ? e.description &&
|
|
203
|
+
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]) => {
|
|
204
204
|
var r;
|
|
205
205
|
return xt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
206
206
|
}) : !0;
|
|
@@ -209,7 +209,7 @@ function bt(e, t) {
|
|
|
209
209
|
return !1;
|
|
210
210
|
}
|
|
211
211
|
function xt(e, t) {
|
|
212
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
212
|
+
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;
|
|
213
213
|
}
|
|
214
214
|
function St(e, t) {
|
|
215
215
|
let n = t.parent_span_id, r = t.span_id;
|
|
@@ -219,12 +219,12 @@ function Ct(e) {
|
|
|
219
219
|
return typeof e == "string" || e instanceof RegExp;
|
|
220
220
|
}
|
|
221
221
|
//#endregion
|
|
222
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
222
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
223
223
|
function wt(e) {
|
|
224
224
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
225
225
|
}
|
|
226
226
|
//#endregion
|
|
227
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
227
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
228
228
|
function H(e, t = []) {
|
|
229
229
|
return [e, t];
|
|
230
230
|
}
|
|
@@ -244,7 +244,7 @@ function Dt(e, t) {
|
|
|
244
244
|
return Et(e, (e, n) => t.includes(n));
|
|
245
245
|
}
|
|
246
246
|
function Ot(e) {
|
|
247
|
-
let t =
|
|
247
|
+
let t = Ee(F);
|
|
248
248
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
249
249
|
}
|
|
250
250
|
function kt(e) {
|
|
@@ -316,14 +316,14 @@ function It(e, t, n, r) {
|
|
|
316
316
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
317
317
|
return {
|
|
318
318
|
event_id: e.event_id,
|
|
319
|
-
sent_at: new Date(
|
|
319
|
+
sent_at: new Date(S()).toISOString(),
|
|
320
320
|
...t && { sdk: t },
|
|
321
|
-
...!!n && r && { dsn:
|
|
321
|
+
...!!n && r && { dsn: k(r) },
|
|
322
322
|
...a && { trace: a }
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
325
|
//#endregion
|
|
326
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
326
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
327
327
|
function Lt(e, t) {
|
|
328
328
|
var n, r, i, a;
|
|
329
329
|
if (!t) return e;
|
|
@@ -343,9 +343,9 @@ function Lt(e, t) {
|
|
|
343
343
|
function Rt(e, t, n, r) {
|
|
344
344
|
let i = Ft(n);
|
|
345
345
|
return H({
|
|
346
|
-
sent_at: new Date(
|
|
346
|
+
sent_at: new Date(S()).toISOString(),
|
|
347
347
|
...i && { sdk: i },
|
|
348
|
-
...!!r && t && { dsn:
|
|
348
|
+
...!!r && t && { dsn: k(t) }
|
|
349
349
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
350
350
|
}
|
|
351
351
|
function zt(e, t, n, r) {
|
|
@@ -355,12 +355,12 @@ function zt(e, t, n, r) {
|
|
|
355
355
|
return delete e.sdkProcessingMetadata, H(o, [[{ type: a }, e]]);
|
|
356
356
|
}
|
|
357
357
|
//#endregion
|
|
358
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
358
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
359
359
|
function Bt(e) {
|
|
360
360
|
return e.getOptions().traceLifecycle === "stream";
|
|
361
361
|
}
|
|
362
362
|
//#endregion
|
|
363
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
363
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
364
364
|
function Vt(e) {
|
|
365
365
|
if (!e) return {};
|
|
366
366
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
@@ -387,7 +387,7 @@ function Ht(e, t = !0) {
|
|
|
387
387
|
return e;
|
|
388
388
|
}
|
|
389
389
|
//#endregion
|
|
390
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
390
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
391
391
|
function Ut(e, t) {
|
|
392
392
|
var n;
|
|
393
393
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
@@ -412,7 +412,7 @@ function qt(e, t, n) {
|
|
|
412
412
|
function Jt(e, t) {
|
|
413
413
|
let n = qe(e);
|
|
414
414
|
if (!n) return "";
|
|
415
|
-
let r = `${Wt(n)}embed/error-page/`, i = `dsn=${
|
|
415
|
+
let r = `${Wt(n)}embed/error-page/`, i = `dsn=${k(n)}`;
|
|
416
416
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
417
417
|
let e = t.user;
|
|
418
418
|
if (!e) continue;
|
|
@@ -421,7 +421,7 @@ function Jt(e, t) {
|
|
|
421
421
|
return `${r}?${i}`;
|
|
422
422
|
}
|
|
423
423
|
//#endregion
|
|
424
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
424
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/integration.js
|
|
425
425
|
var Yt = [];
|
|
426
426
|
function Xt(e) {
|
|
427
427
|
let t = {};
|
|
@@ -476,7 +476,7 @@ function U(e) {
|
|
|
476
476
|
return e;
|
|
477
477
|
}
|
|
478
478
|
//#endregion
|
|
479
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
479
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
480
480
|
function tn() {
|
|
481
481
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
482
482
|
}
|
|
@@ -484,12 +484,12 @@ function nn() {
|
|
|
484
484
|
return "npm";
|
|
485
485
|
}
|
|
486
486
|
//#endregion
|
|
487
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
487
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
488
488
|
function rn() {
|
|
489
489
|
return !tn() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
490
490
|
}
|
|
491
491
|
//#endregion
|
|
492
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
492
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
493
493
|
function an() {
|
|
494
494
|
return typeof window < "u" && (!rn() || on());
|
|
495
495
|
}
|
|
@@ -498,7 +498,7 @@ function on() {
|
|
|
498
498
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
499
499
|
}
|
|
500
500
|
//#endregion
|
|
501
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
501
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
502
502
|
function sn(e, t) {
|
|
503
503
|
let n = t ? "auto" : "never";
|
|
504
504
|
return [{
|
|
@@ -519,10 +519,10 @@ function cn(e, t, n, r, i) {
|
|
|
519
519
|
return t != null && t.sdk && (a.sdk = {
|
|
520
520
|
name: t.sdk.name,
|
|
521
521
|
version: t.sdk.version
|
|
522
|
-
}), n && r && (a.dsn =
|
|
522
|
+
}), n && r && (a.dsn = k(r)), H(a, [sn(e, i)]);
|
|
523
523
|
}
|
|
524
524
|
//#endregion
|
|
525
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
525
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
526
526
|
function ln(e, t) {
|
|
527
527
|
var n;
|
|
528
528
|
let r = (n = t == null ? un(e) : t) == null ? [] : n;
|
|
@@ -534,10 +534,10 @@ function un(e) {
|
|
|
534
534
|
return dn().get(e);
|
|
535
535
|
}
|
|
536
536
|
function dn() {
|
|
537
|
-
return
|
|
537
|
+
return Oe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
538
538
|
}
|
|
539
539
|
//#endregion
|
|
540
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
540
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
541
541
|
function fn(e, t) {
|
|
542
542
|
let n = t ? "auto" : "never";
|
|
543
543
|
return [{
|
|
@@ -558,10 +558,10 @@ function pn(e, t, n, r, i) {
|
|
|
558
558
|
return t != null && t.sdk && (a.sdk = {
|
|
559
559
|
name: t.sdk.name,
|
|
560
560
|
version: t.sdk.version
|
|
561
|
-
}), n && r && (a.dsn =
|
|
561
|
+
}), n && r && (a.dsn = k(r)), H(a, [fn(e, i)]);
|
|
562
562
|
}
|
|
563
563
|
//#endregion
|
|
564
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
564
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
565
565
|
function mn(e, t) {
|
|
566
566
|
var n;
|
|
567
567
|
let r = (n = t == null ? hn(e) : t) == null ? [] : n;
|
|
@@ -573,12 +573,12 @@ function hn(e) {
|
|
|
573
573
|
return gn().get(e);
|
|
574
574
|
}
|
|
575
575
|
function gn() {
|
|
576
|
-
return
|
|
576
|
+
return Oe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
577
577
|
}
|
|
578
578
|
//#endregion
|
|
579
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
579
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
580
580
|
function _n(e) {
|
|
581
|
-
return
|
|
581
|
+
return Te({
|
|
582
582
|
trace_id: e.trace_id,
|
|
583
583
|
span_id: e.span_id,
|
|
584
584
|
parent_span_id: e.parent_span_id,
|
|
@@ -592,7 +592,7 @@ function _n(e) {
|
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
594
|
//#endregion
|
|
595
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
595
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
596
596
|
function vn(e, t) {
|
|
597
597
|
var n, r;
|
|
598
598
|
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || !t.getOptions().streamGenAiSpans || Bt(t)) return;
|
|
@@ -618,12 +618,12 @@ function vn(e, t) {
|
|
|
618
618
|
}];
|
|
619
619
|
}
|
|
620
620
|
//#endregion
|
|
621
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
621
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
622
622
|
function yn(e) {
|
|
623
623
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
624
624
|
}
|
|
625
625
|
//#endregion
|
|
626
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
626
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
627
627
|
var bn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
628
628
|
function xn(e = 100) {
|
|
629
629
|
let t = /* @__PURE__ */ new Set();
|
|
@@ -639,7 +639,7 @@ function xn(e = 100) {
|
|
|
639
639
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
640
640
|
}
|
|
641
641
|
function a(e) {
|
|
642
|
-
if (!t.size) return
|
|
642
|
+
if (!t.size) return be(!0);
|
|
643
643
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
644
644
|
if (!e) return n;
|
|
645
645
|
let r = [n, new Promise((t) => yn(setTimeout(() => t(!1), e)))];
|
|
@@ -654,9 +654,9 @@ function xn(e = 100) {
|
|
|
654
654
|
};
|
|
655
655
|
}
|
|
656
656
|
//#endregion
|
|
657
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
657
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
658
658
|
var Sn = 60 * 1e3;
|
|
659
|
-
function Cn(e, t =
|
|
659
|
+
function Cn(e, t = S()) {
|
|
660
660
|
let n = parseInt(`${e}`, 10);
|
|
661
661
|
if (!isNaN(n)) return n * 1e3;
|
|
662
662
|
let r = Date.parse(`${e}`);
|
|
@@ -665,10 +665,10 @@ function Cn(e, t = x()) {
|
|
|
665
665
|
function wn(e, t) {
|
|
666
666
|
return e[t] || e.all || 0;
|
|
667
667
|
}
|
|
668
|
-
function Tn(e, t, n =
|
|
668
|
+
function Tn(e, t, n = S()) {
|
|
669
669
|
return wn(e, t) > n;
|
|
670
670
|
}
|
|
671
|
-
function En(e, { statusCode: t, headers: n }, r =
|
|
671
|
+
function En(e, { statusCode: t, headers: n }, r = S()) {
|
|
672
672
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
673
673
|
if (a) for (let e of a.trim().split(",")) {
|
|
674
674
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
@@ -708,16 +708,16 @@ function Dn(e, t, n = xn(e.bufferSize || 64)) {
|
|
|
708
708
|
};
|
|
709
709
|
}
|
|
710
710
|
//#endregion
|
|
711
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
711
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
712
712
|
function On(e, t, n) {
|
|
713
713
|
let r = [{ type: "client_report" }, {
|
|
714
|
-
timestamp: n ||
|
|
714
|
+
timestamp: n || Ae(),
|
|
715
715
|
discarded_events: e
|
|
716
716
|
}];
|
|
717
717
|
return H(t ? { dsn: t } : {}, [r]);
|
|
718
718
|
}
|
|
719
719
|
//#endregion
|
|
720
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
720
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
721
721
|
function kn(e) {
|
|
722
722
|
let t = [];
|
|
723
723
|
e.message && t.push(e.message);
|
|
@@ -728,7 +728,7 @@ function kn(e) {
|
|
|
728
728
|
return t;
|
|
729
729
|
}
|
|
730
730
|
//#endregion
|
|
731
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
731
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
732
732
|
function An(e) {
|
|
733
733
|
var t, n, r;
|
|
734
734
|
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;
|
|
@@ -744,7 +744,7 @@ function An(e) {
|
|
|
744
744
|
trace_id: i == null ? "" : i,
|
|
745
745
|
origin: c,
|
|
746
746
|
profile_id: l == null ? void 0 : l[Ye],
|
|
747
|
-
exclusive_time: l == null ? void 0 : l[
|
|
747
|
+
exclusive_time: l == null ? void 0 : l[_e],
|
|
748
748
|
measurements: e.measurements,
|
|
749
749
|
is_segment: !0
|
|
750
750
|
};
|
|
@@ -772,8 +772,8 @@ function jn(e) {
|
|
|
772
772
|
};
|
|
773
773
|
}
|
|
774
774
|
//#endregion
|
|
775
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
776
|
-
var
|
|
775
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
776
|
+
var Mn = [
|
|
777
777
|
"forwarded",
|
|
778
778
|
"-ip",
|
|
779
779
|
"remote-",
|
|
@@ -781,8 +781,8 @@ var W = [
|
|
|
781
781
|
"-user"
|
|
782
782
|
];
|
|
783
783
|
//#endregion
|
|
784
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
785
|
-
function
|
|
784
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
785
|
+
function Nn(e) {
|
|
786
786
|
return e === !0 ? {
|
|
787
787
|
userInfo: !0,
|
|
788
788
|
cookies: !0,
|
|
@@ -805,13 +805,13 @@ function Mn(e) {
|
|
|
805
805
|
frameContextLines: 7
|
|
806
806
|
} : {
|
|
807
807
|
userInfo: !1,
|
|
808
|
-
cookies: { deny:
|
|
808
|
+
cookies: { deny: Mn },
|
|
809
809
|
httpHeaders: {
|
|
810
|
-
request: { deny:
|
|
811
|
-
response: { deny:
|
|
810
|
+
request: { deny: Mn },
|
|
811
|
+
response: { deny: Mn }
|
|
812
812
|
},
|
|
813
813
|
httpBodies: [],
|
|
814
|
-
queryParams: { deny:
|
|
814
|
+
queryParams: { deny: Mn },
|
|
815
815
|
genAI: {
|
|
816
816
|
inputs: !1,
|
|
817
817
|
outputs: !1
|
|
@@ -821,8 +821,8 @@ function Mn(e) {
|
|
|
821
821
|
};
|
|
822
822
|
}
|
|
823
823
|
//#endregion
|
|
824
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
825
|
-
var
|
|
824
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
825
|
+
var Pn = {
|
|
826
826
|
userInfo: !0,
|
|
827
827
|
cookies: !0,
|
|
828
828
|
httpHeaders: {
|
|
@@ -843,48 +843,48 @@ var Nn = {
|
|
|
843
843
|
stackFrameVariables: !0,
|
|
844
844
|
frameContextLines: 5
|
|
845
845
|
};
|
|
846
|
-
function
|
|
847
|
-
var t, n, r, i, a, o, s, c, l, u, d,
|
|
848
|
-
let
|
|
846
|
+
function Fn(e) {
|
|
847
|
+
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, ee;
|
|
848
|
+
let h = e.dataCollection == null ? Nn(e.sendDefaultPii) : Pn, g = (t = e.dataCollection) == null ? {} : t;
|
|
849
849
|
return {
|
|
850
|
-
userInfo: (n =
|
|
851
|
-
cookies: (r =
|
|
850
|
+
userInfo: (n = g.userInfo) == null ? h.userInfo : n,
|
|
851
|
+
cookies: (r = g.cookies) == null ? h.cookies : r,
|
|
852
852
|
httpHeaders: {
|
|
853
|
-
request: (i = (a =
|
|
854
|
-
response: (o = (s =
|
|
853
|
+
request: (i = (a = g.httpHeaders) == null ? void 0 : a.request) == null ? h.httpHeaders.request : i,
|
|
854
|
+
response: (o = (s = g.httpHeaders) == null ? void 0 : s.response) == null ? h.httpHeaders.response : o
|
|
855
855
|
},
|
|
856
|
-
httpBodies: (c =
|
|
857
|
-
queryParams: (l =
|
|
856
|
+
httpBodies: (c = g.httpBodies) == null ? h.httpBodies : c,
|
|
857
|
+
queryParams: (l = g.queryParams) == null ? h.queryParams : l,
|
|
858
858
|
genAI: {
|
|
859
|
-
inputs: (u = (d =
|
|
860
|
-
outputs: (
|
|
859
|
+
inputs: (u = (d = g.genAI) == null ? void 0 : d.inputs) == null ? h.genAI.inputs : u,
|
|
860
|
+
outputs: (f = (p = g.genAI) == null ? void 0 : p.outputs) == null ? h.genAI.outputs : f
|
|
861
861
|
},
|
|
862
|
-
stackFrameVariables: (
|
|
863
|
-
frameContextLines: (
|
|
862
|
+
stackFrameVariables: (m = g.stackFrameVariables) == null ? h.stackFrameVariables : m,
|
|
863
|
+
frameContextLines: (ee = g.frameContextLines) == null ? h.frameContextLines : ee
|
|
864
864
|
};
|
|
865
865
|
}
|
|
866
866
|
//#endregion
|
|
867
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
868
|
-
var
|
|
869
|
-
function
|
|
867
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/client.js
|
|
868
|
+
var In = "Not capturing exception because it's already been captured.", Ln = "Discarded session because of missing or non-string release", Rn = /* @__PURE__ */ Symbol.for("SentryInternalError"), zn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), Bn = 5e3;
|
|
869
|
+
function Vn(e) {
|
|
870
870
|
return {
|
|
871
871
|
message: e,
|
|
872
|
-
[
|
|
872
|
+
[Rn]: !0
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function Hn(e) {
|
|
876
876
|
return {
|
|
877
877
|
message: e,
|
|
878
|
-
[
|
|
878
|
+
[zn]: !0
|
|
879
879
|
};
|
|
880
880
|
}
|
|
881
|
-
function
|
|
882
|
-
return !!e && typeof e == "object" && Ln in e;
|
|
883
|
-
}
|
|
884
|
-
function Hn(e) {
|
|
881
|
+
function Un(e) {
|
|
885
882
|
return !!e && typeof e == "object" && Rn in e;
|
|
886
883
|
}
|
|
887
|
-
function
|
|
884
|
+
function Wn(e) {
|
|
885
|
+
return !!e && typeof e == "object" && zn in e;
|
|
886
|
+
}
|
|
887
|
+
function Gn(e, t, n, r, i) {
|
|
888
888
|
let a = 0, o, s = !1;
|
|
889
889
|
e.on(n, () => {
|
|
890
890
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -892,7 +892,7 @@ function Un(e, t, n, r, i) {
|
|
|
892
892
|
if (a += r(t), a >= 8e5) i(e);
|
|
893
893
|
else if (!s) {
|
|
894
894
|
var n;
|
|
895
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
895
|
+
let t = (n = e.getOptions()._flushInterval) == null ? Bn : n;
|
|
896
896
|
t > 0 && (s = !0, o = yn(setTimeout(() => {
|
|
897
897
|
i(e);
|
|
898
898
|
}, t)));
|
|
@@ -901,10 +901,10 @@ function Un(e, t, n, r, i) {
|
|
|
901
901
|
i(e);
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
|
-
var
|
|
904
|
+
var Kn = class {
|
|
905
905
|
constructor(e) {
|
|
906
906
|
var t, n, r, i, a, o, s;
|
|
907
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = xn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection =
|
|
907
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = xn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = Fn(e), e.dsn ? this._dsn = qe(e.dsn) : I && N.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
908
908
|
let t = qt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
909
909
|
this._transport = e.transport({
|
|
910
910
|
tunnel: this._options.tunnel,
|
|
@@ -913,11 +913,11 @@ var Wn = class {
|
|
|
913
913
|
url: t
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
916
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Gn(this, "afterCaptureLog", "flushLogs", $n, ln), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Gn(this, "afterCaptureMetric", "flushMetrics", Qn, mn);
|
|
917
917
|
}
|
|
918
918
|
captureException(e, t, n) {
|
|
919
|
-
let r =
|
|
920
|
-
if (
|
|
919
|
+
let r = b();
|
|
920
|
+
if (oe(e)) return I && N.log(In), r;
|
|
921
921
|
let i = {
|
|
922
922
|
event_id: r,
|
|
923
923
|
...t
|
|
@@ -926,22 +926,22 @@ var Wn = class {
|
|
|
926
926
|
}
|
|
927
927
|
captureMessage(e, t, n, r) {
|
|
928
928
|
let i = {
|
|
929
|
-
event_id:
|
|
929
|
+
event_id: b(),
|
|
930
930
|
...n
|
|
931
931
|
}, a = We(e) ? e : String(e), o = P(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
932
932
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
933
933
|
}
|
|
934
934
|
captureEvent(e, t, n) {
|
|
935
|
-
let r =
|
|
936
|
-
if (t != null && t.originalException &&
|
|
935
|
+
let r = b();
|
|
936
|
+
if (t != null && t.originalException && oe(t.originalException)) return I && N.log(In), r;
|
|
937
937
|
let i = {
|
|
938
938
|
event_id: r,
|
|
939
939
|
...t
|
|
940
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
940
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = qn(e.type);
|
|
941
941
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
942
942
|
}
|
|
943
943
|
captureSession(e) {
|
|
944
|
-
this.sendSession(e),
|
|
944
|
+
this.sendSession(e), se(e, { init: !1 });
|
|
945
945
|
}
|
|
946
946
|
getDsn() {
|
|
947
947
|
return this._dsn;
|
|
@@ -999,13 +999,13 @@ var Wn = class {
|
|
|
999
999
|
if ("aggregates" in e) {
|
|
1000
1000
|
let r = e.attrs || {};
|
|
1001
1001
|
if (!r.release && !t) {
|
|
1002
|
-
I && N.warn(
|
|
1002
|
+
I && N.warn(Ln);
|
|
1003
1003
|
return;
|
|
1004
1004
|
}
|
|
1005
1005
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
1006
1006
|
} else {
|
|
1007
1007
|
if (!e.release && !t) {
|
|
1008
|
-
I && N.warn(
|
|
1008
|
+
I && N.warn(Ln);
|
|
1009
1009
|
return;
|
|
1010
1010
|
}
|
|
1011
1011
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
@@ -1058,7 +1058,7 @@ var Wn = class {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
let s = e.status === "ok";
|
|
1061
|
-
(s && e.errors === 0 || s && r) && (
|
|
1061
|
+
(s && e.errors === 0 || s && r) && (se(e, {
|
|
1062
1062
|
...r && { status: "crashed" },
|
|
1063
1063
|
errors: e.errors || Number(i || r)
|
|
1064
1064
|
}), this.captureSession(e));
|
|
@@ -1076,40 +1076,40 @@ var Wn = class {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
_prepareEvent(e, t, n, r) {
|
|
1078
1078
|
let i = this.getOptions(), a = this.getIntegrationNames();
|
|
1079
|
-
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
1079
|
+
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), je(i, e, t, n, this, r).then((e) => {
|
|
1080
1080
|
var r;
|
|
1081
1081
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
1082
1082
|
trace: {
|
|
1083
1083
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
1084
|
-
...
|
|
1084
|
+
...le(n)
|
|
1085
1085
|
},
|
|
1086
1086
|
...e.contexts
|
|
1087
1087
|
}, e.sdkProcessingMetadata = {
|
|
1088
|
-
dynamicSamplingContext:
|
|
1088
|
+
dynamicSamplingContext: Ce(this, n),
|
|
1089
1089
|
...e.sdkProcessingMetadata
|
|
1090
1090
|
}, e);
|
|
1091
1091
|
});
|
|
1092
1092
|
}
|
|
1093
|
-
_captureEvent(e, t = {}, n =
|
|
1094
|
-
return I &&
|
|
1095
|
-
I && (
|
|
1093
|
+
_captureEvent(e, t = {}, n = y(), r = Je()) {
|
|
1094
|
+
return I && Xn(e) && N.log(`Captured error event \`${kn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1095
|
+
I && (Wn(e) ? N.log(e.message) : Un(e) ? N.warn(e.message) : N.warn(e));
|
|
1096
1096
|
});
|
|
1097
1097
|
}
|
|
1098
1098
|
_processEvent(e, t, n, r) {
|
|
1099
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1100
|
-
if (s && typeof l == "number" &&
|
|
1101
|
-
let u =
|
|
1099
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Zn(e), s = Xn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : vt(a);
|
|
1100
|
+
if (s && typeof l == "number" && ue() > l) return this.recordDroppedEvent("sample_rate", "error"), Ge(Hn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1101
|
+
let u = qn(e.type);
|
|
1102
1102
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1103
1103
|
var n;
|
|
1104
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1105
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1104
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), Hn("An event processor returned `null`, will not send event.");
|
|
1105
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Jn(Yn(this, i, e, t), c);
|
|
1106
1106
|
}).then((i) => {
|
|
1107
1107
|
if (i === null) {
|
|
1108
1108
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1109
1109
|
let t = 1 + (e.spans || []).length;
|
|
1110
1110
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1111
1111
|
}
|
|
1112
|
-
throw
|
|
1112
|
+
throw Hn(`${c} returned \`null\`, will not send event.`);
|
|
1113
1113
|
}
|
|
1114
1114
|
let a = n.getSession() || r.getSession();
|
|
1115
1115
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1123,14 +1123,14 @@ var Wn = class {
|
|
|
1123
1123
|
source: "custom"
|
|
1124
1124
|
}), this.sendEvent(i, t), i;
|
|
1125
1125
|
}).then(null, (e) => {
|
|
1126
|
-
throw
|
|
1126
|
+
throw Wn(e) || Un(e) ? e : (this.captureException(e, {
|
|
1127
1127
|
mechanism: {
|
|
1128
1128
|
handled: !1,
|
|
1129
1129
|
type: "internal"
|
|
1130
1130
|
},
|
|
1131
1131
|
data: { __sentry__: !0 },
|
|
1132
1132
|
originalException: e
|
|
1133
|
-
}),
|
|
1133
|
+
}), Vn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1134
1134
|
Reason: ${e}`));
|
|
1135
1135
|
});
|
|
1136
1136
|
}
|
|
@@ -1160,28 +1160,28 @@ Reason: ${e}`));
|
|
|
1160
1160
|
return;
|
|
1161
1161
|
}
|
|
1162
1162
|
I && N.log("Sending outcomes:", e);
|
|
1163
|
-
let t = On(e, this._options.tunnel &&
|
|
1163
|
+
let t = On(e, this._options.tunnel && k(this._dsn));
|
|
1164
1164
|
this.sendEnvelope(t);
|
|
1165
1165
|
}
|
|
1166
1166
|
};
|
|
1167
|
-
function
|
|
1167
|
+
function qn(e) {
|
|
1168
1168
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function Jn(e, t) {
|
|
1171
1171
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1172
1172
|
if (Le(e)) return e.then((e) => {
|
|
1173
|
-
if (!
|
|
1173
|
+
if (!Fe(e) && e !== null) throw Vn(n);
|
|
1174
1174
|
return e;
|
|
1175
1175
|
}, (e) => {
|
|
1176
|
-
throw
|
|
1176
|
+
throw Vn(`${t} rejected with ${e}`);
|
|
1177
1177
|
});
|
|
1178
|
-
if (!
|
|
1178
|
+
if (!Fe(e) && e !== null) throw Vn(n);
|
|
1179
1179
|
return e;
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function Yn(e, t, n, r) {
|
|
1182
1182
|
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !wt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1183
|
-
if (
|
|
1184
|
-
if (
|
|
1183
|
+
if (Xn(c) && i) return i(c, r);
|
|
1184
|
+
if (Zn(c)) {
|
|
1185
1185
|
if (s || o) {
|
|
1186
1186
|
let t = An(c);
|
|
1187
1187
|
if (o != null && o.length && bt({
|
|
@@ -1191,7 +1191,7 @@ function qn(e, t, n, r) {
|
|
|
1191
1191
|
}, o)) return null;
|
|
1192
1192
|
if (s) {
|
|
1193
1193
|
let e = s(t);
|
|
1194
|
-
e ? c =
|
|
1194
|
+
e ? c = te(n, jn(e)) : Me();
|
|
1195
1195
|
}
|
|
1196
1196
|
if (c.spans) {
|
|
1197
1197
|
let t = [], n = c.spans;
|
|
@@ -1206,7 +1206,7 @@ function qn(e, t, n, r) {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
if (s) {
|
|
1208
1208
|
let n = s(e);
|
|
1209
|
-
n ? t.push(n) : (
|
|
1209
|
+
n ? t.push(n) : (Me(), t.push(e));
|
|
1210
1210
|
} else t.push(e);
|
|
1211
1211
|
}
|
|
1212
1212
|
let r = c.spans.length - t.length;
|
|
@@ -1226,51 +1226,51 @@ function qn(e, t, n, r) {
|
|
|
1226
1226
|
}
|
|
1227
1227
|
return c;
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function Xn(e) {
|
|
1230
1230
|
return e.type === void 0;
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function Zn(e) {
|
|
1233
1233
|
return e.type === "transaction";
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function Qn(e) {
|
|
1236
1236
|
let t = 0;
|
|
1237
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1237
|
+
return e.name && (t += e.name.length * 2), t += 8, t + er(e.attributes);
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function $n(e) {
|
|
1240
1240
|
let t = 0;
|
|
1241
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1241
|
+
return e.message && (t += e.message.length * 2), t + er(e.attributes);
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function er(e) {
|
|
1244
1244
|
if (!e) return 0;
|
|
1245
1245
|
let t = 0;
|
|
1246
1246
|
return Object.values(e).forEach((e) => {
|
|
1247
|
-
Array.isArray(e) ? t += e.length *
|
|
1247
|
+
Array.isArray(e) ? t += e.length * tr(e[0]) : P(e) ? t += tr(e) : t += 100;
|
|
1248
1248
|
}), t;
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function tr(e) {
|
|
1251
1251
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1252
1252
|
}
|
|
1253
1253
|
//#endregion
|
|
1254
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1255
|
-
function
|
|
1256
|
-
t.debug === !0 && (I ? N.enable() :
|
|
1254
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1255
|
+
function nr(e, t) {
|
|
1256
|
+
t.debug === !0 && (I ? N.enable() : we(() => {
|
|
1257
1257
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1258
|
-
})),
|
|
1258
|
+
})), y().update(t.initialScope);
|
|
1259
1259
|
let n = new e(t);
|
|
1260
|
-
return
|
|
1260
|
+
return rr(n), n.init(), n;
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1263
|
-
|
|
1262
|
+
function rr(e) {
|
|
1263
|
+
y().setClient(e);
|
|
1264
1264
|
}
|
|
1265
|
-
var
|
|
1266
|
-
function
|
|
1265
|
+
var ir = 5e3, ar = 36e5;
|
|
1266
|
+
function or(e) {
|
|
1267
1267
|
function t(...e) {
|
|
1268
1268
|
I && N.log("[Offline]:", ...e);
|
|
1269
1269
|
}
|
|
1270
1270
|
return (n) => {
|
|
1271
1271
|
let r = e(n);
|
|
1272
1272
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1273
|
-
let i = n.createStore(n), a =
|
|
1273
|
+
let i = n.createStore(n), a = ir, o;
|
|
1274
1274
|
function s(e, t, r) {
|
|
1275
1275
|
return Dt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1276
1276
|
}
|
|
@@ -1278,13 +1278,13 @@ function ir(e) {
|
|
|
1278
1278
|
o && clearTimeout(o), o = yn(setTimeout(async () => {
|
|
1279
1279
|
o = void 0;
|
|
1280
1280
|
let e = await i.shift();
|
|
1281
|
-
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(
|
|
1281
|
+
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(S()).toISOString(), u(e, !0).catch((e) => {
|
|
1282
1282
|
t("Failed to retry sending", e);
|
|
1283
1283
|
}));
|
|
1284
1284
|
}, e));
|
|
1285
1285
|
}
|
|
1286
1286
|
function l() {
|
|
1287
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1287
|
+
o || (c(a), a = Math.min(a * 2, ar));
|
|
1288
1288
|
}
|
|
1289
1289
|
async function u(e, o = !1) {
|
|
1290
1290
|
if (!o && Dt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
@@ -1297,7 +1297,7 @@ function ir(e) {
|
|
|
1297
1297
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1298
1298
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1299
1299
|
}
|
|
1300
|
-
return c(i), a =
|
|
1300
|
+
return c(i), a = ir, t;
|
|
1301
1301
|
} catch (n) {
|
|
1302
1302
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1303
1303
|
throw n;
|
|
@@ -1305,13 +1305,13 @@ function ir(e) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
return n.flushAtStartup && l(), {
|
|
1307
1307
|
send: u,
|
|
1308
|
-
flush: (e) => (e === void 0 && (a =
|
|
1308
|
+
flush: (e) => (e === void 0 && (a = ir, c(100)), r.flush(e))
|
|
1309
1309
|
};
|
|
1310
1310
|
};
|
|
1311
1311
|
}
|
|
1312
1312
|
//#endregion
|
|
1313
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1314
|
-
function
|
|
1313
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1314
|
+
function sr(e) {
|
|
1315
1315
|
if ("aggregates" in e) {
|
|
1316
1316
|
var t;
|
|
1317
1317
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1321,45 +1321,45 @@ function ar(e) {
|
|
|
1321
1321
|
} else e.ipAddress === void 0 && (e.ipAddress = "{{auto}}");
|
|
1322
1322
|
}
|
|
1323
1323
|
//#endregion
|
|
1324
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1325
|
-
function
|
|
1324
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1325
|
+
function cr(e, t, n = [t], r = "npm") {
|
|
1326
1326
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1327
1327
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1328
1328
|
name: `${r}:@sentry/${e}`,
|
|
1329
|
-
version:
|
|
1330
|
-
})), i.version =
|
|
1329
|
+
version: he
|
|
1330
|
+
})), i.version = he);
|
|
1331
1331
|
}
|
|
1332
1332
|
//#endregion
|
|
1333
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1336
|
-
let n =
|
|
1333
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1334
|
+
var lr = 100;
|
|
1335
|
+
function W(e, t) {
|
|
1336
|
+
let n = D(), r = Je();
|
|
1337
1337
|
if (!n) return;
|
|
1338
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1338
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = lr } = n.getOptions();
|
|
1339
1339
|
if (a <= 0) return;
|
|
1340
1340
|
let o = {
|
|
1341
|
-
timestamp:
|
|
1341
|
+
timestamp: Ae(),
|
|
1342
1342
|
...e
|
|
1343
|
-
}, s = i ?
|
|
1343
|
+
}, s = i ? we(() => i(o, t)) : o;
|
|
1344
1344
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1345
1345
|
}
|
|
1346
1346
|
//#endregion
|
|
1347
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1348
|
-
var
|
|
1349
|
-
name:
|
|
1347
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1348
|
+
var ur, dr = "FunctionToString", fr = /* @__PURE__ */ new WeakMap(), pr = U((() => ({
|
|
1349
|
+
name: dr,
|
|
1350
1350
|
setupOnce() {
|
|
1351
|
-
|
|
1351
|
+
ur = Function.prototype.toString;
|
|
1352
1352
|
try {
|
|
1353
1353
|
Function.prototype.toString = function(...e) {
|
|
1354
|
-
let t = ze(this), n =
|
|
1355
|
-
return
|
|
1354
|
+
let t = ze(this), n = fr.has(D()) && t !== void 0 ? t : this;
|
|
1355
|
+
return ur.apply(n, e);
|
|
1356
1356
|
};
|
|
1357
1357
|
} catch {}
|
|
1358
1358
|
},
|
|
1359
1359
|
setup(e) {
|
|
1360
|
-
|
|
1360
|
+
fr.set(e, !0);
|
|
1361
1361
|
}
|
|
1362
|
-
}))),
|
|
1362
|
+
}))), mr = [
|
|
1363
1363
|
/^Script error\.?$/,
|
|
1364
1364
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1365
1365
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1371,127 +1371,127 @@ var cr, lr = "FunctionToString", ur = /* @__PURE__ */ new WeakMap(), dr = U((()
|
|
|
1371
1371
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1372
1372
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1373
1373
|
/^Java exception was raised during method invocation$/
|
|
1374
|
-
],
|
|
1374
|
+
], hr = "EventFilters", gr = U((e = {}) => {
|
|
1375
1375
|
let t;
|
|
1376
1376
|
return {
|
|
1377
|
-
name:
|
|
1377
|
+
name: hr,
|
|
1378
1378
|
setup(n) {
|
|
1379
|
-
t =
|
|
1379
|
+
t = vr(e, n.getOptions());
|
|
1380
1380
|
},
|
|
1381
1381
|
processEvent(n, r, i) {
|
|
1382
|
-
return t || (t =
|
|
1382
|
+
return t || (t = vr(e, i.getOptions())), yr(n, t) ? null : n;
|
|
1383
1383
|
}
|
|
1384
1384
|
};
|
|
1385
|
-
}),
|
|
1386
|
-
...
|
|
1385
|
+
}), _r = U(((e = {}) => ({
|
|
1386
|
+
...gr(e),
|
|
1387
1387
|
name: "InboundFilters"
|
|
1388
1388
|
})));
|
|
1389
|
-
function
|
|
1389
|
+
function vr(e = {}, t = {}) {
|
|
1390
1390
|
return {
|
|
1391
1391
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1392
1392
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1393
1393
|
ignoreErrors: [
|
|
1394
1394
|
...e.ignoreErrors || [],
|
|
1395
1395
|
...t.ignoreErrors || [],
|
|
1396
|
-
...e.disableErrorDefaults ? [] :
|
|
1396
|
+
...e.disableErrorDefaults ? [] : mr
|
|
1397
1397
|
],
|
|
1398
1398
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1399
1399
|
};
|
|
1400
1400
|
}
|
|
1401
|
-
function
|
|
1401
|
+
function yr(e, t) {
|
|
1402
1402
|
if (!e.type) {
|
|
1403
|
-
if (
|
|
1404
|
-
Event: ${
|
|
1405
|
-
if (
|
|
1406
|
-
Event: ${
|
|
1407
|
-
if (
|
|
1408
|
-
Event: ${
|
|
1409
|
-
Url: ${
|
|
1410
|
-
if (!
|
|
1411
|
-
Event: ${
|
|
1412
|
-
Url: ${
|
|
1413
|
-
} else if (e.type === "transaction" &&
|
|
1414
|
-
Event: ${
|
|
1403
|
+
if (br(e, t.ignoreErrors)) return I && N.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1404
|
+
Event: ${T(e)}`), !0;
|
|
1405
|
+
if (Er(e)) return I && N.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1406
|
+
Event: ${T(e)}`), !0;
|
|
1407
|
+
if (Sr(e, t.denyUrls)) return I && N.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1408
|
+
Event: ${T(e)}.
|
|
1409
|
+
Url: ${Tr(e)}`), !0;
|
|
1410
|
+
if (!Cr(e, t.allowUrls)) return I && N.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1411
|
+
Event: ${T(e)}.
|
|
1412
|
+
Url: ${Tr(e)}`), !0;
|
|
1413
|
+
} else if (e.type === "transaction" && xr(e, t.ignoreTransactions)) return I && N.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1414
|
+
Event: ${T(e)}`), !0;
|
|
1415
1415
|
return !1;
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1418
|
-
return t != null && t.length ? kn(e).some((e) =>
|
|
1417
|
+
function br(e, t) {
|
|
1418
|
+
return t != null && t.length ? kn(e).some((e) => E(e, t)) : !1;
|
|
1419
1419
|
}
|
|
1420
|
-
function
|
|
1420
|
+
function xr(e, t) {
|
|
1421
1421
|
if (!(t != null && t.length)) return !1;
|
|
1422
1422
|
let n = e.transaction;
|
|
1423
|
-
return n ?
|
|
1423
|
+
return n ? E(n, t) : !1;
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function Sr(e, t) {
|
|
1426
1426
|
if (!(t != null && t.length)) return !1;
|
|
1427
|
-
let n =
|
|
1428
|
-
return n ?
|
|
1427
|
+
let n = Tr(e);
|
|
1428
|
+
return n ? E(n, t) : !1;
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function Cr(e, t) {
|
|
1431
1431
|
if (!(t != null && t.length)) return !0;
|
|
1432
|
-
let n =
|
|
1433
|
-
return n ?
|
|
1432
|
+
let n = Tr(e);
|
|
1433
|
+
return n ? E(n, t) : !0;
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function wr(e = []) {
|
|
1436
1436
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1437
1437
|
let n = e[t];
|
|
1438
1438
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1439
1439
|
}
|
|
1440
1440
|
return null;
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function Tr(e) {
|
|
1443
1443
|
try {
|
|
1444
1444
|
var t, n, r;
|
|
1445
1445
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1446
1446
|
var t, n;
|
|
1447
1447
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1448
1448
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1449
|
-
return a ?
|
|
1449
|
+
return a ? wr(a) : null;
|
|
1450
1450
|
} catch {
|
|
1451
|
-
return I && N.error(`Cannot extract url for event ${
|
|
1451
|
+
return I && N.error(`Cannot extract url for event ${T(e)}`), null;
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function Er(e) {
|
|
1455
1455
|
var t;
|
|
1456
1456
|
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;
|
|
1457
1457
|
}
|
|
1458
1458
|
//#endregion
|
|
1459
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1460
|
-
function
|
|
1459
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1460
|
+
function Dr(e, t, n, r, i, a) {
|
|
1461
1461
|
var o;
|
|
1462
|
-
if (!((o = i.exception) != null && o.values) || !a || !
|
|
1462
|
+
if (!((o = i.exception) != null && o.values) || !a || !Se(a.originalException, Error)) return;
|
|
1463
1463
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1464
|
-
s && (i.exception.values =
|
|
1464
|
+
s && (i.exception.values = Or(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1465
1465
|
}
|
|
1466
|
-
function
|
|
1466
|
+
function Or(e, t, n, r, i, a, o, s) {
|
|
1467
1467
|
if (a.length >= n + 1) return a;
|
|
1468
1468
|
let c = [...a];
|
|
1469
|
-
if (
|
|
1470
|
-
|
|
1469
|
+
if (Se(r[i], Error)) {
|
|
1470
|
+
Ar(o, s, r);
|
|
1471
1471
|
let a = e(t, r[i]), l = c.length;
|
|
1472
|
-
|
|
1472
|
+
jr(a, i, l, s), c = Or(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1473
1473
|
}
|
|
1474
|
-
return
|
|
1475
|
-
if (
|
|
1476
|
-
|
|
1474
|
+
return kr(r) && r.errors.forEach((a, l) => {
|
|
1475
|
+
if (Se(a, Error)) {
|
|
1476
|
+
Ar(o, s, r);
|
|
1477
1477
|
let u = e(t, a), d = c.length;
|
|
1478
|
-
|
|
1478
|
+
jr(u, `errors[${l}]`, d, s), c = Or(e, t, n, a, i, [u, ...c], u, d);
|
|
1479
1479
|
}
|
|
1480
1480
|
}), c;
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1482
|
+
function kr(e) {
|
|
1483
1483
|
return Array.isArray(e.errors);
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1485
|
+
function Ar(e, t, n) {
|
|
1486
1486
|
e.mechanism = {
|
|
1487
1487
|
handled: !0,
|
|
1488
1488
|
type: "auto.core.linked_errors",
|
|
1489
|
-
...
|
|
1489
|
+
...kr(n) && { is_exception_group: !0 },
|
|
1490
1490
|
...e.mechanism,
|
|
1491
1491
|
exception_id: t
|
|
1492
1492
|
};
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function jr(e, t, n, r) {
|
|
1495
1495
|
e.mechanism = {
|
|
1496
1496
|
handled: !0,
|
|
1497
1497
|
...e.mechanism,
|
|
@@ -1502,25 +1502,25 @@ function kr(e, t, n, r) {
|
|
|
1502
1502
|
};
|
|
1503
1503
|
}
|
|
1504
1504
|
//#endregion
|
|
1505
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1506
|
-
function
|
|
1507
|
-
return
|
|
1505
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1506
|
+
function Mr(e) {
|
|
1507
|
+
return me(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1510
|
-
return
|
|
1509
|
+
function Nr(e) {
|
|
1510
|
+
return Mr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1511
1511
|
}
|
|
1512
1512
|
//#endregion
|
|
1513
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1514
|
-
var
|
|
1515
|
-
function
|
|
1513
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1514
|
+
var Pr = /* @__PURE__ */ new Set([]);
|
|
1515
|
+
function Fr(e) {
|
|
1516
1516
|
let t = "console", n = z(t, e);
|
|
1517
|
-
return B(t,
|
|
1517
|
+
return B(t, Ir), n;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
"console" in F &&
|
|
1521
|
-
e in F.console &&
|
|
1522
|
-
return
|
|
1523
|
-
let n = t[0], r =
|
|
1519
|
+
function Ir() {
|
|
1520
|
+
"console" in F && xe.forEach(function(e) {
|
|
1521
|
+
e in F.console && w(F.console, e, function(t) {
|
|
1522
|
+
return Ne[e] = t, function(...t) {
|
|
1523
|
+
let n = t[0], r = Ne[e], i = Pr.size && typeof n == "string" && E(n, Pr);
|
|
1524
1524
|
i || V("console", {
|
|
1525
1525
|
args: t,
|
|
1526
1526
|
level: e
|
|
@@ -1530,8 +1530,8 @@ function Pr() {
|
|
|
1530
1530
|
});
|
|
1531
1531
|
}
|
|
1532
1532
|
//#endregion
|
|
1533
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1534
|
-
function
|
|
1533
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1534
|
+
function Lr(e) {
|
|
1535
1535
|
return e === "warn" ? "warning" : [
|
|
1536
1536
|
"fatal",
|
|
1537
1537
|
"error",
|
|
@@ -1542,33 +1542,33 @@ function Fr(e) {
|
|
|
1542
1542
|
].includes(e) ? e : "log";
|
|
1543
1543
|
}
|
|
1544
1544
|
//#endregion
|
|
1545
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1546
|
-
var
|
|
1545
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1546
|
+
var Rr = "Dedupe", zr = U((() => {
|
|
1547
1547
|
let e;
|
|
1548
1548
|
return {
|
|
1549
|
-
name:
|
|
1549
|
+
name: Rr,
|
|
1550
1550
|
processEvent(t) {
|
|
1551
1551
|
if (t.type) return t;
|
|
1552
1552
|
try {
|
|
1553
|
-
if (
|
|
1553
|
+
if (Br(t, e)) return I && N.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1554
1554
|
} catch {}
|
|
1555
1555
|
return e = t;
|
|
1556
1556
|
}
|
|
1557
1557
|
};
|
|
1558
1558
|
}));
|
|
1559
|
-
function
|
|
1560
|
-
return t ? !!(
|
|
1559
|
+
function Br(e, t) {
|
|
1560
|
+
return t ? !!(Vr(e, t) || Hr(e, t)) : !1;
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function Vr(e, t) {
|
|
1563
1563
|
let n = e.message, r = t.message;
|
|
1564
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1564
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Wr(e, t) || !Ur(e, t));
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1567
|
-
let n =
|
|
1568
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1566
|
+
function Hr(e, t) {
|
|
1567
|
+
let n = Gr(t), r = Gr(e);
|
|
1568
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Wr(e, t) || !Ur(e, t));
|
|
1569
1569
|
}
|
|
1570
|
-
function
|
|
1571
|
-
let n =
|
|
1570
|
+
function Ur(e, t) {
|
|
1571
|
+
let n = ye(e), r = ye(t);
|
|
1572
1572
|
if (!n && !r) return !0;
|
|
1573
1573
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1574
1574
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1577,7 +1577,7 @@ function Vr(e, t) {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
return !0;
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1580
|
+
function Wr(e, t) {
|
|
1581
1581
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1582
1582
|
if (!n && !r) return !0;
|
|
1583
1583
|
if (n && !r || !n && r) return !1;
|
|
@@ -1588,19 +1588,19 @@ function Hr(e, t) {
|
|
|
1588
1588
|
return !1;
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
1591
|
-
function
|
|
1591
|
+
function Gr(e) {
|
|
1592
1592
|
var t;
|
|
1593
1593
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1594
1594
|
}
|
|
1595
1595
|
//#endregion
|
|
1596
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1597
|
-
var
|
|
1598
|
-
name:
|
|
1596
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1597
|
+
var Kr = "ConversationId", qr = U((() => ({
|
|
1598
|
+
name: Kr,
|
|
1599
1599
|
setup(e) {
|
|
1600
1600
|
e.on("spanStart", (e) => {
|
|
1601
|
-
let t =
|
|
1601
|
+
let t = y().getScopeData(), n = Je().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1602
1602
|
if (r) {
|
|
1603
|
-
let { op: t, data: n, description: i } =
|
|
1603
|
+
let { op: t, data: n, description: i } = De(e);
|
|
1604
1604
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1605
1605
|
e.setAttribute(Xe, r);
|
|
1606
1606
|
}
|
|
@@ -1608,91 +1608,91 @@ var Wr = "ConversationId", Gr = U((() => ({
|
|
|
1608
1608
|
}
|
|
1609
1609
|
})));
|
|
1610
1610
|
//#endregion
|
|
1611
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1612
|
-
function
|
|
1611
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1612
|
+
function Jr(e) {
|
|
1613
1613
|
if (e !== void 0) {
|
|
1614
1614
|
if (e >= 400 && e < 500) return "warning";
|
|
1615
1615
|
if (e >= 500) return "error";
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
//#endregion
|
|
1619
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1620
|
-
var
|
|
1621
|
-
function
|
|
1622
|
-
return "history" in
|
|
1619
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1620
|
+
var G = F;
|
|
1621
|
+
function Yr() {
|
|
1622
|
+
return "history" in G && !!G.history;
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1625
|
-
if (!("fetch" in
|
|
1624
|
+
function Xr() {
|
|
1625
|
+
if (!("fetch" in G)) return !1;
|
|
1626
1626
|
try {
|
|
1627
1627
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1628
1628
|
} catch {
|
|
1629
1629
|
return !1;
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1632
|
+
function Zr(e) {
|
|
1633
1633
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1635
|
+
function Qr() {
|
|
1636
1636
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1637
|
-
if (!
|
|
1638
|
-
if (
|
|
1639
|
-
let e = !1, t =
|
|
1637
|
+
if (!Xr()) return !1;
|
|
1638
|
+
if (Zr(G.fetch)) return !0;
|
|
1639
|
+
let e = !1, t = G.document;
|
|
1640
1640
|
if (t && typeof t.createElement == "function") try {
|
|
1641
1641
|
var n;
|
|
1642
1642
|
let r = t.createElement("iframe");
|
|
1643
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1643
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Zr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1644
1644
|
} catch (e) {
|
|
1645
1645
|
I && N.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1646
1646
|
}
|
|
1647
1647
|
return e;
|
|
1648
1648
|
}
|
|
1649
1649
|
//#endregion
|
|
1650
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1651
|
-
function
|
|
1650
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1651
|
+
function $r(e, t) {
|
|
1652
1652
|
let n = "fetch", r = z(n, e);
|
|
1653
|
-
return B(n, () =>
|
|
1653
|
+
return B(n, () => ei(void 0, t)), r;
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1656
|
-
t && !
|
|
1655
|
+
function ei(e, t = !1) {
|
|
1656
|
+
t && !Qr() || w(F, "fetch", function(t) {
|
|
1657
1657
|
return function(...n) {
|
|
1658
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1658
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = ri(n), o = {
|
|
1659
1659
|
args: n,
|
|
1660
1660
|
fetchData: {
|
|
1661
1661
|
method: i,
|
|
1662
1662
|
url: a
|
|
1663
1663
|
},
|
|
1664
|
-
startTimestamp:
|
|
1664
|
+
startTimestamp: _() * 1e3,
|
|
1665
1665
|
virtualError: r,
|
|
1666
|
-
headers:
|
|
1666
|
+
headers: ii(n)
|
|
1667
1667
|
};
|
|
1668
1668
|
return e || V("fetch", { ...o }), t.apply(F, n).then(async (t) => (e ? e(t) : V("fetch", {
|
|
1669
1669
|
...o,
|
|
1670
|
-
endTimestamp:
|
|
1670
|
+
endTimestamp: _() * 1e3,
|
|
1671
1671
|
response: t
|
|
1672
1672
|
}), t), (e) => {
|
|
1673
1673
|
var t;
|
|
1674
1674
|
V("fetch", {
|
|
1675
1675
|
...o,
|
|
1676
|
-
endTimestamp:
|
|
1676
|
+
endTimestamp: _() * 1e3,
|
|
1677
1677
|
error: e
|
|
1678
|
-
}),
|
|
1679
|
-
let n =
|
|
1678
|
+
}), me(e) && e.stack === void 0 && (e.stack = r.stack, O(e, "framesToPop", 1));
|
|
1679
|
+
let n = D(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1680
1680
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1681
1681
|
let t = new URL(o.fetchData.url).host;
|
|
1682
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1682
|
+
i === "always" ? e.message = `${e.message} (${t})` : O(e, "__sentry_fetch_url_host__", t);
|
|
1683
1683
|
} catch {}
|
|
1684
1684
|
throw e;
|
|
1685
1685
|
});
|
|
1686
1686
|
};
|
|
1687
1687
|
});
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1689
|
+
function ti(e, t) {
|
|
1690
1690
|
return !!e && typeof e == "object" && !!e[t];
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1693
|
-
return typeof e == "string" ? e : e ?
|
|
1692
|
+
function ni(e) {
|
|
1693
|
+
return typeof e == "string" ? e : e ? ti(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function ri(e) {
|
|
1696
1696
|
if (e.length === 0) return {
|
|
1697
1697
|
method: "GET",
|
|
1698
1698
|
url: ""
|
|
@@ -1700,35 +1700,35 @@ function ti(e) {
|
|
|
1700
1700
|
if (e.length === 2) {
|
|
1701
1701
|
let [t, n] = e;
|
|
1702
1702
|
return {
|
|
1703
|
-
url:
|
|
1704
|
-
method:
|
|
1703
|
+
url: ni(t),
|
|
1704
|
+
method: ti(n, "method") ? String(n.method).toUpperCase() : ke(t) && ti(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1705
1705
|
};
|
|
1706
1706
|
}
|
|
1707
1707
|
let t = e[0];
|
|
1708
1708
|
return {
|
|
1709
|
-
url:
|
|
1710
|
-
method:
|
|
1709
|
+
url: ni(t),
|
|
1710
|
+
method: ti(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1711
1711
|
};
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function ii(e) {
|
|
1714
1714
|
let [t, n] = e;
|
|
1715
1715
|
try {
|
|
1716
1716
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1717
|
-
if (
|
|
1717
|
+
if (ke(t)) return new Headers(t.headers);
|
|
1718
1718
|
} catch {}
|
|
1719
1719
|
}
|
|
1720
1720
|
//#endregion
|
|
1721
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1722
|
-
var
|
|
1723
|
-
function
|
|
1721
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1722
|
+
var ai = F;
|
|
1723
|
+
function oi() {
|
|
1724
1724
|
try {
|
|
1725
|
-
return
|
|
1725
|
+
return ai.document.location.href;
|
|
1726
1726
|
} catch {
|
|
1727
1727
|
return "";
|
|
1728
1728
|
}
|
|
1729
1729
|
}
|
|
1730
|
-
function
|
|
1731
|
-
if (!
|
|
1730
|
+
function si(e, t = 5) {
|
|
1731
|
+
if (!ai.HTMLElement) return null;
|
|
1732
1732
|
let n = e;
|
|
1733
1733
|
for (let e = 0; e < t; e++) {
|
|
1734
1734
|
if (!n) return null;
|
|
@@ -1741,24 +1741,26 @@ function ai(e, t = 5) {
|
|
|
1741
1741
|
return null;
|
|
1742
1742
|
}
|
|
1743
1743
|
//#endregion
|
|
1744
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1745
|
-
var
|
|
1746
|
-
function
|
|
1747
|
-
return
|
|
1744
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1745
|
+
var K = F, ci = 0;
|
|
1746
|
+
function li() {
|
|
1747
|
+
return ci > 0;
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1750
|
-
|
|
1751
|
-
|
|
1749
|
+
function ui() {
|
|
1750
|
+
ci++, setTimeout(() => {
|
|
1751
|
+
ci--;
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1754
|
+
function q(e, t = {}) {
|
|
1755
1755
|
function n(e) {
|
|
1756
1756
|
return typeof e == "function";
|
|
1757
1757
|
}
|
|
1758
1758
|
if (!n(e)) return e;
|
|
1759
1759
|
try {
|
|
1760
|
-
|
|
1761
|
-
|
|
1760
|
+
if (Object.prototype.hasOwnProperty.call(e, "__sentry_wrapped__")) {
|
|
1761
|
+
let t = e.__sentry_wrapped__;
|
|
1762
|
+
return typeof t == "function" ? t : e;
|
|
1763
|
+
}
|
|
1762
1764
|
if (ze(e)) return e;
|
|
1763
1765
|
} catch {
|
|
1764
1766
|
return e;
|
|
@@ -1766,14 +1768,14 @@ function Y(e, t = {}) {
|
|
|
1766
1768
|
let r = function(...n) {
|
|
1767
1769
|
F._sentryWrappedDepth = (F._sentryWrappedDepth || 0) + 1;
|
|
1768
1770
|
try {
|
|
1769
|
-
let r = n.map((e) =>
|
|
1771
|
+
let r = n.map((e) => q(e, t));
|
|
1770
1772
|
return e.apply(this, r);
|
|
1771
1773
|
} catch (e) {
|
|
1772
|
-
throw
|
|
1773
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1774
|
+
throw ui(), ne((r) => {
|
|
1775
|
+
r.addEventProcessor((e) => (t.mechanism && (ae(e, void 0, void 0), j(e, t.mechanism)), e.extra = {
|
|
1774
1776
|
...e.extra,
|
|
1775
1777
|
arguments: n
|
|
1776
|
-
}, e)),
|
|
1778
|
+
}, e)), Pe(e);
|
|
1777
1779
|
}), e;
|
|
1778
1780
|
} finally {
|
|
1779
1781
|
F._sentryWrappedDepth = (F._sentryWrappedDepth || 0) - 1;
|
|
@@ -1782,7 +1784,7 @@ function Y(e, t = {}) {
|
|
|
1782
1784
|
try {
|
|
1783
1785
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1784
1786
|
} catch {}
|
|
1785
|
-
|
|
1787
|
+
re(r, e), O(e, "__sentry_wrapped__", r);
|
|
1786
1788
|
try {
|
|
1787
1789
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1788
1790
|
return e.name;
|
|
@@ -1790,8 +1792,8 @@ function Y(e, t = {}) {
|
|
|
1790
1792
|
} catch {}
|
|
1791
1793
|
return r;
|
|
1792
1794
|
}
|
|
1793
|
-
function
|
|
1794
|
-
let e =
|
|
1795
|
+
function di() {
|
|
1796
|
+
let e = oi(), { referrer: t } = K.document || {}, { userAgent: n } = K.navigator || {};
|
|
1795
1797
|
return {
|
|
1796
1798
|
url: e,
|
|
1797
1799
|
headers: {
|
|
@@ -1801,101 +1803,101 @@ function li() {
|
|
|
1801
1803
|
};
|
|
1802
1804
|
}
|
|
1803
1805
|
//#endregion
|
|
1804
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1805
|
-
function
|
|
1806
|
-
let n =
|
|
1807
|
-
type:
|
|
1808
|
-
value:
|
|
1806
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1807
|
+
function fi(e, t) {
|
|
1808
|
+
let n = hi(e, t), r = {
|
|
1809
|
+
type: bi(t),
|
|
1810
|
+
value: xi(t)
|
|
1809
1811
|
};
|
|
1810
1812
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1811
1813
|
}
|
|
1812
|
-
function
|
|
1813
|
-
let i =
|
|
1814
|
+
function pi(e, t, n, r) {
|
|
1815
|
+
let i = D(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Oi(t), s = { __serialized__: v(t, a) };
|
|
1814
1816
|
if (o) return {
|
|
1815
|
-
exception: { values: [
|
|
1817
|
+
exception: { values: [fi(e, o)] },
|
|
1816
1818
|
extra: s
|
|
1817
1819
|
};
|
|
1818
1820
|
let c = {
|
|
1819
1821
|
exception: { values: [{
|
|
1820
|
-
type:
|
|
1821
|
-
value:
|
|
1822
|
+
type: g(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1823
|
+
value: Ei(t, { isUnhandledRejection: r })
|
|
1822
1824
|
}] },
|
|
1823
1825
|
extra: s
|
|
1824
1826
|
};
|
|
1825
1827
|
if (n) {
|
|
1826
|
-
let t =
|
|
1828
|
+
let t = hi(e, n);
|
|
1827
1829
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1828
1830
|
}
|
|
1829
1831
|
return c;
|
|
1830
1832
|
}
|
|
1831
|
-
function
|
|
1832
|
-
return { exception: { values: [
|
|
1833
|
+
function mi(e, t) {
|
|
1834
|
+
return { exception: { values: [fi(e, t)] } };
|
|
1833
1835
|
}
|
|
1834
|
-
function
|
|
1835
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1836
|
+
function hi(e, t) {
|
|
1837
|
+
let n = t.stacktrace || t.stack || "", r = _i(t), i = vi(t);
|
|
1836
1838
|
try {
|
|
1837
1839
|
return e(n, r, i);
|
|
1838
1840
|
} catch {}
|
|
1839
1841
|
return [];
|
|
1840
1842
|
}
|
|
1841
|
-
var
|
|
1842
|
-
function
|
|
1843
|
-
return e &&
|
|
1843
|
+
var gi = /Minified React error #\d+;/i;
|
|
1844
|
+
function _i(e) {
|
|
1845
|
+
return e && gi.test(e.message) ? 1 : 0;
|
|
1844
1846
|
}
|
|
1845
|
-
function
|
|
1847
|
+
function vi(e) {
|
|
1846
1848
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1847
1849
|
}
|
|
1848
|
-
function
|
|
1850
|
+
function yi(e) {
|
|
1849
1851
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1850
1852
|
}
|
|
1851
|
-
function
|
|
1853
|
+
function bi(e) {
|
|
1852
1854
|
let t = e == null ? void 0 : e.name;
|
|
1853
|
-
return !t &&
|
|
1855
|
+
return !t && yi(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1854
1856
|
}
|
|
1855
|
-
function
|
|
1857
|
+
function xi(e) {
|
|
1856
1858
|
let t = e == null ? void 0 : e.message;
|
|
1857
|
-
return
|
|
1859
|
+
return yi(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Nr(t.error) : Nr(e) : "No error message";
|
|
1858
1860
|
}
|
|
1859
|
-
function
|
|
1860
|
-
let i =
|
|
1861
|
-
return
|
|
1861
|
+
function Si(e, t, n, r) {
|
|
1862
|
+
let i = wi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1863
|
+
return j(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), be(i);
|
|
1862
1864
|
}
|
|
1863
|
-
function
|
|
1864
|
-
let a =
|
|
1865
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
1865
|
+
function Ci(e, t, n = "info", r, i) {
|
|
1866
|
+
let a = Ti(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1867
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), be(a);
|
|
1866
1868
|
}
|
|
1867
|
-
function
|
|
1869
|
+
function wi(e, t, n, r, i) {
|
|
1868
1870
|
let a;
|
|
1869
|
-
if (
|
|
1870
|
-
if (
|
|
1871
|
+
if (ce(t) && t.error) return mi(e, t.error);
|
|
1872
|
+
if (pe(t) || fe(t)) {
|
|
1871
1873
|
let i = t;
|
|
1872
1874
|
if ("stack" in t) {
|
|
1873
1875
|
var o;
|
|
1874
|
-
a =
|
|
1876
|
+
a = mi(e, t);
|
|
1875
1877
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1876
1878
|
if (r && n && i && !i.stacktrace) {
|
|
1877
|
-
let t =
|
|
1878
|
-
t.length && (i.stacktrace = { frames: t },
|
|
1879
|
+
let t = hi(e, n);
|
|
1880
|
+
t.length && (i.stacktrace = { frames: t }, j(a, { synthetic: !0 }));
|
|
1879
1881
|
}
|
|
1880
1882
|
} else {
|
|
1881
|
-
let t = i.name || (
|
|
1882
|
-
a =
|
|
1883
|
+
let t = i.name || (pe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1884
|
+
a = Ti(e, o, n, r), ae(a, o);
|
|
1883
1885
|
}
|
|
1884
1886
|
return "code" in i && (a.tags = {
|
|
1885
1887
|
...a.tags,
|
|
1886
1888
|
"DOMException.code": `${i.code}`
|
|
1887
1889
|
}), a;
|
|
1888
1890
|
}
|
|
1889
|
-
return
|
|
1891
|
+
return me(t) ? mi(e, t) : Fe(t) || g(t) ? (a = pi(e, t, n, i), j(a, { synthetic: !0 }), a) : (a = Ti(e, t, n, r), ae(a, `${t}`, void 0), j(a, { synthetic: !0 }), a);
|
|
1890
1892
|
}
|
|
1891
|
-
function
|
|
1893
|
+
function Ti(e, t, n, r) {
|
|
1892
1894
|
let i = {};
|
|
1893
1895
|
if (r && n) {
|
|
1894
|
-
let r =
|
|
1896
|
+
let r = hi(e, n);
|
|
1895
1897
|
r.length && (i.exception = { values: [{
|
|
1896
1898
|
value: t,
|
|
1897
1899
|
stacktrace: { frames: r }
|
|
1898
|
-
}] }),
|
|
1900
|
+
}] }), j(i, { synthetic: !0 });
|
|
1899
1901
|
}
|
|
1900
1902
|
if (We(t)) {
|
|
1901
1903
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
@@ -1906,125 +1908,140 @@ function Ci(e, t, n, r) {
|
|
|
1906
1908
|
}
|
|
1907
1909
|
return i.message = t, i;
|
|
1908
1910
|
}
|
|
1909
|
-
function
|
|
1910
|
-
let n =
|
|
1911
|
-
return
|
|
1911
|
+
function Ei(e, { isUnhandledRejection: t }) {
|
|
1912
|
+
let n = x(e), r = t ? "promise rejection" : "exception";
|
|
1913
|
+
return ce(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : g(e) ? `Event \`${Di(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1912
1914
|
}
|
|
1913
|
-
function
|
|
1915
|
+
function Di(e) {
|
|
1914
1916
|
try {
|
|
1915
1917
|
let t = Object.getPrototypeOf(e);
|
|
1916
1918
|
return t ? t.constructor.name : void 0;
|
|
1917
1919
|
} catch {}
|
|
1918
1920
|
}
|
|
1919
|
-
function
|
|
1921
|
+
function Oi(e) {
|
|
1920
1922
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1921
1923
|
}
|
|
1922
1924
|
//#endregion
|
|
1923
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1924
|
-
var
|
|
1925
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1926
|
+
var ki = class extends Kn {
|
|
1925
1927
|
constructor(e) {
|
|
1926
1928
|
var t, n;
|
|
1927
|
-
let r =
|
|
1928
|
-
|
|
1929
|
+
let r = Ai(e);
|
|
1930
|
+
cr(r, "browser", ["browser"], K.SENTRY_SDK_SOURCE || nn()), super(r);
|
|
1929
1931
|
let { userInfo: i } = this.getDataCollectionOptions();
|
|
1930
1932
|
(t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1931
1933
|
infer_ip: i ? "auto" : "never",
|
|
1932
1934
|
...r._metadata.sdk.settings
|
|
1933
1935
|
});
|
|
1934
1936
|
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;
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
}), i && this.on("beforeSendSession",
|
|
1937
|
+
K.document && (a || o || l) && K.document.addEventListener("visibilitychange", () => {
|
|
1938
|
+
K.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && ln(this), l && mn(this));
|
|
1939
|
+
}), i && this.on("beforeSendSession", sr);
|
|
1938
1940
|
}
|
|
1939
1941
|
eventFromException(e, t) {
|
|
1940
|
-
return
|
|
1942
|
+
return Si(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1941
1943
|
}
|
|
1942
1944
|
eventFromMessage(e, t = "info", n) {
|
|
1943
|
-
return
|
|
1945
|
+
return Ci(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1944
1946
|
}
|
|
1945
1947
|
_prepareEvent(e, t, n, r) {
|
|
1946
1948
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1947
1949
|
}
|
|
1948
1950
|
};
|
|
1949
|
-
function
|
|
1951
|
+
function Ai(e) {
|
|
1950
1952
|
var t;
|
|
1951
1953
|
return {
|
|
1952
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t =
|
|
1954
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = K.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1953
1955
|
sendClientReports: !0,
|
|
1954
1956
|
parentSpanIsAlwaysRootSpan: !0,
|
|
1955
1957
|
...e
|
|
1956
1958
|
};
|
|
1957
1959
|
}
|
|
1958
1960
|
//#endregion
|
|
1959
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
1960
|
-
var
|
|
1961
|
-
|
|
1961
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
1962
|
+
var ji = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, J = F, Mi = 80, Y = {};
|
|
1963
|
+
try {
|
|
1964
|
+
typeof Node < "u" && (Y.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (Y.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, Y.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, Y.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, Y.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (Y.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
1965
|
+
} catch {}
|
|
1966
|
+
function X(e, t, n) {
|
|
1967
|
+
let r = Y[t];
|
|
1968
|
+
if (r) try {
|
|
1969
|
+
return r.call(e, n);
|
|
1970
|
+
} catch {}
|
|
1971
|
+
let i = e[t];
|
|
1972
|
+
return typeof i == "function" ? i.call(e, n) : i;
|
|
1973
|
+
}
|
|
1974
|
+
function Ni(e, t = {}) {
|
|
1962
1975
|
if (!e) return "<unknown>";
|
|
1963
1976
|
try {
|
|
1964
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength ||
|
|
1965
|
-
for (; n && i++ < 5 && (o =
|
|
1977
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Mi;
|
|
1978
|
+
for (; n && i++ < 5 && (o = Pi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = X(n, "parentNode");
|
|
1966
1979
|
return r.reverse().join(" > ");
|
|
1967
1980
|
} catch {
|
|
1968
1981
|
return "<unknown>";
|
|
1969
1982
|
}
|
|
1970
1983
|
}
|
|
1971
|
-
function
|
|
1972
|
-
let n =
|
|
1973
|
-
if (!
|
|
1974
|
-
if (typeof HTMLElement < "u" &&
|
|
1975
|
-
|
|
1976
|
-
if (
|
|
1984
|
+
function Pi(e, t) {
|
|
1985
|
+
let n = [], r = X(e, "tagName");
|
|
1986
|
+
if (!r) return "";
|
|
1987
|
+
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
1988
|
+
let t = X(e, "dataset");
|
|
1989
|
+
if (t) {
|
|
1990
|
+
if (t.sentryComponent) return t.sentryComponent;
|
|
1991
|
+
if (t.sentryElement) return t.sentryElement;
|
|
1992
|
+
}
|
|
1977
1993
|
}
|
|
1978
|
-
|
|
1979
|
-
let i = t != null && t.length ? t.filter((
|
|
1994
|
+
n.push(r.toLowerCase());
|
|
1995
|
+
let i = t != null && t.length ? t.filter((t) => X(e, "getAttribute", t)).map((t) => [t, X(e, "getAttribute", t)]) : null;
|
|
1980
1996
|
if (i != null && i.length) i.forEach((e) => {
|
|
1981
|
-
|
|
1997
|
+
n.push(`[${e[0]}="${e[1]}"]`);
|
|
1982
1998
|
});
|
|
1983
1999
|
else {
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
2000
|
+
let t = X(e, "id");
|
|
2001
|
+
t && n.push(`#${t}`);
|
|
2002
|
+
let r = X(e, "className");
|
|
2003
|
+
if (r && A(r)) {
|
|
2004
|
+
let e = r.split(/\s+/);
|
|
2005
|
+
for (let t of e) n.push(`.${t}`);
|
|
1989
2006
|
}
|
|
1990
2007
|
}
|
|
1991
|
-
for (let
|
|
2008
|
+
for (let t of [
|
|
1992
2009
|
"aria-label",
|
|
1993
2010
|
"type",
|
|
1994
2011
|
"name",
|
|
1995
2012
|
"title",
|
|
1996
2013
|
"alt"
|
|
1997
2014
|
]) {
|
|
1998
|
-
let
|
|
1999
|
-
|
|
2015
|
+
let r = X(e, "getAttribute", t);
|
|
2016
|
+
r && n.push(`[${t}="${r}"]`);
|
|
2000
2017
|
}
|
|
2001
|
-
return
|
|
2018
|
+
return n.join("");
|
|
2002
2019
|
}
|
|
2003
2020
|
//#endregion
|
|
2004
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2005
|
-
var
|
|
2006
|
-
function
|
|
2007
|
-
z("dom", e), B("dom",
|
|
2021
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/instrument/dom.js
|
|
2022
|
+
var Fi = 1e3, Ii, Li, Ri;
|
|
2023
|
+
function zi(e) {
|
|
2024
|
+
z("dom", e), B("dom", Bi);
|
|
2008
2025
|
}
|
|
2009
|
-
function
|
|
2010
|
-
if (!
|
|
2011
|
-
let e = V.bind(null, "dom"), t =
|
|
2012
|
-
|
|
2026
|
+
function Bi() {
|
|
2027
|
+
if (!J.document) return;
|
|
2028
|
+
let e = V.bind(null, "dom"), t = Ui(e, !0);
|
|
2029
|
+
J.document.addEventListener("click", t, !1), J.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2013
2030
|
var n, r;
|
|
2014
|
-
let i = (n =
|
|
2015
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2031
|
+
let i = (n = J[t]) == null ? void 0 : n.prototype;
|
|
2032
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (w(i, "addEventListener", function(t) {
|
|
2016
2033
|
return function(n, r, i) {
|
|
2017
2034
|
if (n === "click" || n == "keypress") try {
|
|
2018
2035
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
2019
2036
|
if (!a.handler) {
|
|
2020
|
-
let r =
|
|
2037
|
+
let r = Ui(e);
|
|
2021
2038
|
a.handler = r, t.call(this, n, r, i);
|
|
2022
2039
|
}
|
|
2023
2040
|
a.refCount++;
|
|
2024
2041
|
} catch {}
|
|
2025
2042
|
return t.call(this, n, r, i);
|
|
2026
2043
|
};
|
|
2027
|
-
}),
|
|
2044
|
+
}), w(i, "removeEventListener", function(e) {
|
|
2028
2045
|
return function(t, n, r) {
|
|
2029
2046
|
if (t === "click" || t == "keypress") try {
|
|
2030
2047
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -2035,33 +2052,33 @@ function Ri() {
|
|
|
2035
2052
|
}));
|
|
2036
2053
|
});
|
|
2037
2054
|
}
|
|
2038
|
-
function
|
|
2039
|
-
if (e.type !==
|
|
2055
|
+
function Vi(e) {
|
|
2056
|
+
if (e.type !== Li) return !1;
|
|
2040
2057
|
try {
|
|
2041
|
-
if (!e.target || e.target._sentryId !==
|
|
2058
|
+
if (!e.target || e.target._sentryId !== Ri) return !1;
|
|
2042
2059
|
} catch {}
|
|
2043
2060
|
return !0;
|
|
2044
2061
|
}
|
|
2045
|
-
function
|
|
2062
|
+
function Hi(e, t) {
|
|
2046
2063
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
2047
2064
|
}
|
|
2048
|
-
function
|
|
2065
|
+
function Ui(e, t = !1) {
|
|
2049
2066
|
return (n) => {
|
|
2050
2067
|
if (!n || n._sentryCaptured) return;
|
|
2051
|
-
let r =
|
|
2052
|
-
if (
|
|
2053
|
-
|
|
2068
|
+
let r = Wi(n);
|
|
2069
|
+
if (Hi(n.type, r)) return;
|
|
2070
|
+
O(n, "_sentryCaptured", !0), r && !r._sentryId && O(r, "_sentryId", b());
|
|
2054
2071
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2055
|
-
|
|
2072
|
+
Vi(n) || (e({
|
|
2056
2073
|
event: n,
|
|
2057
2074
|
name: i,
|
|
2058
2075
|
global: t
|
|
2059
|
-
}),
|
|
2060
|
-
|
|
2061
|
-
},
|
|
2076
|
+
}), Li = n.type, Ri = r ? r._sentryId : void 0), clearTimeout(Ii), Ii = J.setTimeout(() => {
|
|
2077
|
+
Ri = void 0, Li = void 0;
|
|
2078
|
+
}, Fi);
|
|
2062
2079
|
};
|
|
2063
2080
|
}
|
|
2064
|
-
function
|
|
2081
|
+
function Wi(e) {
|
|
2065
2082
|
try {
|
|
2066
2083
|
return e.target;
|
|
2067
2084
|
} catch {
|
|
@@ -2069,26 +2086,26 @@ function Hi(e) {
|
|
|
2069
2086
|
}
|
|
2070
2087
|
}
|
|
2071
2088
|
//#endregion
|
|
2072
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2073
|
-
var
|
|
2074
|
-
function
|
|
2089
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/instrument/history.js
|
|
2090
|
+
var Gi;
|
|
2091
|
+
function Ki(e) {
|
|
2075
2092
|
let t = "history";
|
|
2076
|
-
z(t, e), B(t,
|
|
2093
|
+
z(t, e), B(t, qi);
|
|
2077
2094
|
}
|
|
2078
|
-
function
|
|
2079
|
-
if (
|
|
2080
|
-
let e =
|
|
2081
|
-
|
|
2095
|
+
function qi() {
|
|
2096
|
+
if (J.addEventListener("popstate", () => {
|
|
2097
|
+
let e = J.location.href, t = Gi;
|
|
2098
|
+
Gi = e, t !== e && V("history", {
|
|
2082
2099
|
from: t,
|
|
2083
2100
|
to: e
|
|
2084
2101
|
});
|
|
2085
|
-
}), !
|
|
2102
|
+
}), !Yr()) return;
|
|
2086
2103
|
function e(e) {
|
|
2087
2104
|
return function(...t) {
|
|
2088
2105
|
let n = t.length > 2 ? t[2] : void 0;
|
|
2089
2106
|
if (n) {
|
|
2090
|
-
let r =
|
|
2091
|
-
if (
|
|
2107
|
+
let r = Gi, i = Ji(String(n));
|
|
2108
|
+
if (Gi = i, r === i) return e.apply(this, t);
|
|
2092
2109
|
V("history", {
|
|
2093
2110
|
from: r,
|
|
2094
2111
|
to: i
|
|
@@ -2097,48 +2114,48 @@ function Gi() {
|
|
|
2097
2114
|
return e.apply(this, t);
|
|
2098
2115
|
};
|
|
2099
2116
|
}
|
|
2100
|
-
|
|
2117
|
+
w(J.history, "pushState", e), w(J.history, "replaceState", e);
|
|
2101
2118
|
}
|
|
2102
|
-
function
|
|
2119
|
+
function Ji(e) {
|
|
2103
2120
|
try {
|
|
2104
|
-
return new URL(e,
|
|
2121
|
+
return new URL(e, J.location.origin).toString();
|
|
2105
2122
|
} catch {
|
|
2106
2123
|
return e;
|
|
2107
2124
|
}
|
|
2108
2125
|
}
|
|
2109
2126
|
//#endregion
|
|
2110
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2111
|
-
var
|
|
2112
|
-
function
|
|
2113
|
-
let t =
|
|
2127
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/getNativeImplementation.js
|
|
2128
|
+
var Yi = {};
|
|
2129
|
+
function Xi(e) {
|
|
2130
|
+
let t = Yi[e];
|
|
2114
2131
|
if (t) return t;
|
|
2115
|
-
let n =
|
|
2116
|
-
if (
|
|
2117
|
-
let r =
|
|
2132
|
+
let n = J[e];
|
|
2133
|
+
if (Zr(n)) return Yi[e] = n.bind(J);
|
|
2134
|
+
let r = J.document;
|
|
2118
2135
|
if (r && typeof r.createElement == "function") try {
|
|
2119
2136
|
let t = r.createElement("iframe");
|
|
2120
2137
|
t.hidden = !0, r.head.appendChild(t);
|
|
2121
2138
|
let i = t.contentWindow;
|
|
2122
2139
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2123
2140
|
} catch (t) {
|
|
2124
|
-
|
|
2141
|
+
ji && N.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2125
2142
|
}
|
|
2126
|
-
return n && (
|
|
2143
|
+
return n && (Yi[e] = n.bind(J));
|
|
2127
2144
|
}
|
|
2128
|
-
function
|
|
2129
|
-
|
|
2145
|
+
function Zi(e) {
|
|
2146
|
+
Yi[e] = void 0;
|
|
2130
2147
|
}
|
|
2131
2148
|
//#endregion
|
|
2132
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2149
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/instrument/xhr.js
|
|
2133
2150
|
var Z = "__sentry_xhr_v3__";
|
|
2134
|
-
function
|
|
2135
|
-
z("xhr", e), B("xhr",
|
|
2151
|
+
function Qi(e) {
|
|
2152
|
+
z("xhr", e), B("xhr", $i);
|
|
2136
2153
|
}
|
|
2137
|
-
function
|
|
2138
|
-
if (!
|
|
2154
|
+
function $i() {
|
|
2155
|
+
if (!J.XMLHttpRequest) return;
|
|
2139
2156
|
let e = XMLHttpRequest.prototype;
|
|
2140
2157
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2141
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
2158
|
+
let r = /* @__PURE__ */ Error(), i = _() * 1e3, a = A(n[0]) ? n[0].toUpperCase() : void 0, o = ea(n[1]);
|
|
2142
2159
|
if (!a || !o) return e.apply(t, n);
|
|
2143
2160
|
t[Z] = {
|
|
2144
2161
|
method: a,
|
|
@@ -2152,7 +2169,7 @@ function Zi() {
|
|
|
2152
2169
|
e.status_code = t.status;
|
|
2153
2170
|
} catch {}
|
|
2154
2171
|
V("xhr", {
|
|
2155
|
-
endTimestamp:
|
|
2172
|
+
endTimestamp: _() * 1e3,
|
|
2156
2173
|
startTimestamp: i,
|
|
2157
2174
|
xhr: t,
|
|
2158
2175
|
virtualError: r
|
|
@@ -2163,25 +2180,25 @@ function Zi() {
|
|
|
2163
2180
|
return s(), e.apply(t, n);
|
|
2164
2181
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
2165
2182
|
let [r, i] = n, a = t[Z];
|
|
2166
|
-
return a &&
|
|
2183
|
+
return a && A(r) && A(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
2167
2184
|
} }), e.apply(t, n);
|
|
2168
2185
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
2169
2186
|
let r = t[Z];
|
|
2170
2187
|
return r ? (n[0] !== void 0 && (r.body = n[0]), V("xhr", {
|
|
2171
|
-
startTimestamp:
|
|
2188
|
+
startTimestamp: _() * 1e3,
|
|
2172
2189
|
xhr: t
|
|
2173
2190
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2174
2191
|
} });
|
|
2175
2192
|
}
|
|
2176
|
-
function
|
|
2177
|
-
if (
|
|
2193
|
+
function ea(e) {
|
|
2194
|
+
if (A(e)) return e;
|
|
2178
2195
|
try {
|
|
2179
2196
|
return e.toString();
|
|
2180
2197
|
} catch {}
|
|
2181
2198
|
}
|
|
2182
2199
|
//#endregion
|
|
2183
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2184
|
-
function
|
|
2200
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
2201
|
+
function ta(e) {
|
|
2185
2202
|
if (typeof Element > "u") return !1;
|
|
2186
2203
|
try {
|
|
2187
2204
|
return e instanceof Element;
|
|
@@ -2190,9 +2207,9 @@ function $i(e) {
|
|
|
2190
2207
|
}
|
|
2191
2208
|
}
|
|
2192
2209
|
//#endregion
|
|
2193
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2194
|
-
var
|
|
2195
|
-
function
|
|
2210
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
2211
|
+
var na = 40;
|
|
2212
|
+
function ra(e, t = Xi("fetch")) {
|
|
2196
2213
|
let n = 0, r = 0;
|
|
2197
2214
|
async function i(i) {
|
|
2198
2215
|
let a = i.body.length;
|
|
@@ -2215,17 +2232,17 @@ function ta(e, t = Ji("fetch")) {
|
|
|
2215
2232
|
}
|
|
2216
2233
|
};
|
|
2217
2234
|
} catch (e) {
|
|
2218
|
-
throw
|
|
2235
|
+
throw Zi("fetch"), e;
|
|
2219
2236
|
} finally {
|
|
2220
2237
|
n -= a, r--;
|
|
2221
2238
|
}
|
|
2222
2239
|
}
|
|
2223
|
-
return Dn(e, i, xn(e.bufferSize ||
|
|
2240
|
+
return Dn(e, i, xn(e.bufferSize || na));
|
|
2224
2241
|
}
|
|
2225
2242
|
//#endregion
|
|
2226
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2227
|
-
var Q = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__,
|
|
2228
|
-
function
|
|
2243
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2244
|
+
var Q = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ia = 30, aa = 50;
|
|
2245
|
+
function oa(e, t, n, r) {
|
|
2229
2246
|
let i = {
|
|
2230
2247
|
filename: e,
|
|
2231
2248
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -2233,41 +2250,41 @@ function ia(e, t, n, r) {
|
|
|
2233
2250
|
};
|
|
2234
2251
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2235
2252
|
}
|
|
2236
|
-
var
|
|
2237
|
-
let t = e.match(
|
|
2253
|
+
var sa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, ca = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, la = /\((\S*)(?::(\d+))(?::(\d+))\)/, ua = /at (.+?) ?\(data:(.+?),/, da = [ia, (e) => {
|
|
2254
|
+
let t = e.match(ua);
|
|
2238
2255
|
if (t) return {
|
|
2239
2256
|
filename: `<data:${t[2]}>`,
|
|
2240
2257
|
function: t[1]
|
|
2241
2258
|
};
|
|
2242
|
-
let n =
|
|
2259
|
+
let n = sa.exec(e);
|
|
2243
2260
|
if (n) {
|
|
2244
2261
|
let [, e, t, r] = n;
|
|
2245
|
-
return
|
|
2262
|
+
return oa(e, "?", +t, +r);
|
|
2246
2263
|
}
|
|
2247
|
-
let r =
|
|
2264
|
+
let r = ca.exec(e);
|
|
2248
2265
|
if (r) {
|
|
2249
2266
|
var i;
|
|
2250
2267
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2251
|
-
let e =
|
|
2268
|
+
let e = la.exec(r[2]);
|
|
2252
2269
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2253
2270
|
}
|
|
2254
|
-
let [e, t] =
|
|
2255
|
-
return
|
|
2271
|
+
let [e, t] = ha(r[1] || "?", r[2]);
|
|
2272
|
+
return oa(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2256
2273
|
}
|
|
2257
|
-
}],
|
|
2258
|
-
let t =
|
|
2274
|
+
}], fa = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, pa = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, ma = He(da, [aa, (e) => {
|
|
2275
|
+
let t = fa.exec(e);
|
|
2259
2276
|
if (t) {
|
|
2260
2277
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2261
|
-
let e =
|
|
2278
|
+
let e = pa.exec(t[3]);
|
|
2262
2279
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2263
2280
|
}
|
|
2264
2281
|
let e = t[3], n = t[1] || "?";
|
|
2265
|
-
return [n, e] =
|
|
2282
|
+
return [n, e] = ha(n, e), oa(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2266
2283
|
}
|
|
2267
|
-
}]),
|
|
2284
|
+
}]), ha = (e, t) => {
|
|
2268
2285
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2269
2286
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2270
|
-
},
|
|
2287
|
+
}, ga = 1024, _a = "Breadcrumbs", va = U(((e = {}) => {
|
|
2271
2288
|
let t = {
|
|
2272
2289
|
console: !0,
|
|
2273
2290
|
dom: !0,
|
|
@@ -2278,33 +2295,33 @@ var aa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, oa = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2278
2295
|
...e
|
|
2279
2296
|
};
|
|
2280
2297
|
return {
|
|
2281
|
-
name:
|
|
2298
|
+
name: _a,
|
|
2282
2299
|
setup(e) {
|
|
2283
|
-
t.console &&
|
|
2300
|
+
t.console && Fr(xa(e)), t.dom && zi(ba(e, t.dom)), t.xhr && Qi(Sa(e)), t.fetch && $r(Ca(e)), t.history && Ki(wa(e)), t.sentry && e.on("beforeSendEvent", ya(e));
|
|
2284
2301
|
}
|
|
2285
2302
|
};
|
|
2286
2303
|
}));
|
|
2287
|
-
function
|
|
2304
|
+
function ya(e) {
|
|
2288
2305
|
return function(t) {
|
|
2289
|
-
|
|
2306
|
+
D() === e && W({
|
|
2290
2307
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2291
2308
|
event_id: t.event_id,
|
|
2292
2309
|
level: t.level,
|
|
2293
|
-
message:
|
|
2310
|
+
message: T(t)
|
|
2294
2311
|
}, { event: t });
|
|
2295
2312
|
};
|
|
2296
2313
|
}
|
|
2297
|
-
function
|
|
2314
|
+
function ba(e, t) {
|
|
2298
2315
|
return function(n) {
|
|
2299
|
-
if (
|
|
2316
|
+
if (D() !== e) return;
|
|
2300
2317
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2301
|
-
o && o >
|
|
2318
|
+
o && o > ga && (Q && N.warn(`\`dom.maxStringLength\` cannot exceed ${ga}, but a value of ${o} was configured. Sentry will use ${ga} instead.`), o = ga), typeof a == "string" && (a = [a]);
|
|
2302
2319
|
try {
|
|
2303
|
-
let e = n.event, t =
|
|
2304
|
-
r =
|
|
2320
|
+
let e = n.event, t = Ta(e) ? e.target : e;
|
|
2321
|
+
r = Ni(t, {
|
|
2305
2322
|
keyAttrs: a,
|
|
2306
2323
|
maxStringLength: o
|
|
2307
|
-
}), i =
|
|
2324
|
+
}), i = si(t);
|
|
2308
2325
|
} catch {
|
|
2309
2326
|
r = "<unknown>";
|
|
2310
2327
|
}
|
|
@@ -2313,36 +2330,36 @@ function va(e, t) {
|
|
|
2313
2330
|
category: `ui.${n.name}`,
|
|
2314
2331
|
message: r
|
|
2315
2332
|
};
|
|
2316
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2333
|
+
i && (s.data = { "ui.component_name": i }), W(s, {
|
|
2317
2334
|
event: n.event,
|
|
2318
2335
|
name: n.name,
|
|
2319
2336
|
global: n.global
|
|
2320
2337
|
});
|
|
2321
2338
|
};
|
|
2322
2339
|
}
|
|
2323
|
-
function
|
|
2340
|
+
function xa(e) {
|
|
2324
2341
|
return function(t) {
|
|
2325
|
-
if (
|
|
2342
|
+
if (D() !== e) return;
|
|
2326
2343
|
let n = {
|
|
2327
2344
|
category: "console",
|
|
2328
2345
|
data: {
|
|
2329
2346
|
arguments: t.args,
|
|
2330
2347
|
logger: "console"
|
|
2331
2348
|
},
|
|
2332
|
-
level:
|
|
2333
|
-
message:
|
|
2349
|
+
level: Lr(t.level),
|
|
2350
|
+
message: ie(t.args, " ")
|
|
2334
2351
|
};
|
|
2335
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2352
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ie(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2336
2353
|
else return;
|
|
2337
|
-
|
|
2354
|
+
W(n, {
|
|
2338
2355
|
input: t.args,
|
|
2339
2356
|
level: t.level
|
|
2340
2357
|
});
|
|
2341
2358
|
};
|
|
2342
2359
|
}
|
|
2343
|
-
function
|
|
2360
|
+
function Sa(e) {
|
|
2344
2361
|
return function(t) {
|
|
2345
|
-
if (
|
|
2362
|
+
if (D() !== e) return;
|
|
2346
2363
|
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[Z];
|
|
2347
2364
|
if (!n || !r || !i) return;
|
|
2348
2365
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
@@ -2358,14 +2375,14 @@ function ba(e) {
|
|
|
2358
2375
|
category: "xhr",
|
|
2359
2376
|
data: l,
|
|
2360
2377
|
type: "http",
|
|
2361
|
-
level:
|
|
2378
|
+
level: Jr(s)
|
|
2362
2379
|
};
|
|
2363
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2380
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), W(d, u);
|
|
2364
2381
|
};
|
|
2365
2382
|
}
|
|
2366
|
-
function
|
|
2383
|
+
function Ca(e) {
|
|
2367
2384
|
return function(t) {
|
|
2368
|
-
if (
|
|
2385
|
+
if (D() !== e) return;
|
|
2369
2386
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
2370
2387
|
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.error) {
|
|
2371
2388
|
let i = {
|
|
@@ -2379,7 +2396,7 @@ function xa(e) {
|
|
|
2379
2396
|
level: "error",
|
|
2380
2397
|
type: "http"
|
|
2381
2398
|
};
|
|
2382
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2399
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), W(a, i);
|
|
2383
2400
|
} else {
|
|
2384
2401
|
let i = t.response, a = {
|
|
2385
2402
|
...t.fetchData,
|
|
@@ -2393,17 +2410,17 @@ function xa(e) {
|
|
|
2393
2410
|
category: "fetch",
|
|
2394
2411
|
data: a,
|
|
2395
2412
|
type: "http",
|
|
2396
|
-
level:
|
|
2413
|
+
level: Jr(a.status_code)
|
|
2397
2414
|
};
|
|
2398
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2415
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), W(s, o);
|
|
2399
2416
|
}
|
|
2400
2417
|
};
|
|
2401
2418
|
}
|
|
2402
|
-
function
|
|
2419
|
+
function wa(e) {
|
|
2403
2420
|
return function(t) {
|
|
2404
|
-
if (
|
|
2405
|
-
let n = t.from, r = t.to, i = Vt(
|
|
2406
|
-
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),
|
|
2421
|
+
if (D() !== e) return;
|
|
2422
|
+
let n = t.from, r = t.to, i = Vt(K.location.href), a = n ? Vt(n) : void 0, o = Vt(r);
|
|
2423
|
+
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), W({
|
|
2407
2424
|
category: "navigation",
|
|
2408
2425
|
data: {
|
|
2409
2426
|
from: n,
|
|
@@ -2412,12 +2429,12 @@ function Sa(e) {
|
|
|
2412
2429
|
});
|
|
2413
2430
|
};
|
|
2414
2431
|
}
|
|
2415
|
-
function
|
|
2432
|
+
function Ta(e) {
|
|
2416
2433
|
return !!e && !!e.target;
|
|
2417
2434
|
}
|
|
2418
2435
|
//#endregion
|
|
2419
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2420
|
-
var
|
|
2436
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2437
|
+
var Ea = "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(","), Da = "BrowserApiErrors", Oa = U(((e = {}) => {
|
|
2421
2438
|
let t = {
|
|
2422
2439
|
XMLHttpRequest: !0,
|
|
2423
2440
|
eventTarget: !0,
|
|
@@ -2428,33 +2445,33 @@ var wa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2428
2445
|
...e
|
|
2429
2446
|
};
|
|
2430
2447
|
return {
|
|
2431
|
-
name:
|
|
2448
|
+
name: Da,
|
|
2432
2449
|
setupOnce() {
|
|
2433
|
-
t.setTimeout &&
|
|
2450
|
+
t.setTimeout && w(K, "setTimeout", ka), t.setInterval && w(K, "setInterval", ka), t.requestAnimationFrame && w(K, "requestAnimationFrame", Aa), t.XMLHttpRequest && "XMLHttpRequest" in K && w(XMLHttpRequest.prototype, "send", ja);
|
|
2434
2451
|
let e = t.eventTarget;
|
|
2435
|
-
e && (Array.isArray(e) ? e :
|
|
2452
|
+
e && (Array.isArray(e) ? e : Ea).forEach((e) => Ma(e, t));
|
|
2436
2453
|
}
|
|
2437
2454
|
};
|
|
2438
2455
|
}));
|
|
2439
|
-
function
|
|
2456
|
+
function ka(e) {
|
|
2440
2457
|
return function(...t) {
|
|
2441
2458
|
let n = t[0];
|
|
2442
|
-
return t[0] =
|
|
2459
|
+
return t[0] = q(n, { mechanism: {
|
|
2443
2460
|
handled: !1,
|
|
2444
|
-
type: `auto.browser.browserapierrors.${
|
|
2461
|
+
type: `auto.browser.browserapierrors.${M(e)}`
|
|
2445
2462
|
} }), e.apply(this, t);
|
|
2446
2463
|
};
|
|
2447
2464
|
}
|
|
2448
|
-
function
|
|
2465
|
+
function Aa(e) {
|
|
2449
2466
|
return function(t) {
|
|
2450
|
-
return e.apply(this, [
|
|
2451
|
-
data: { handler:
|
|
2467
|
+
return e.apply(this, [q(t, { mechanism: {
|
|
2468
|
+
data: { handler: M(e) },
|
|
2452
2469
|
handled: !1,
|
|
2453
2470
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2454
2471
|
} })]);
|
|
2455
2472
|
};
|
|
2456
2473
|
}
|
|
2457
|
-
function
|
|
2474
|
+
function ja(e) {
|
|
2458
2475
|
return function(...t) {
|
|
2459
2476
|
let n = this;
|
|
2460
2477
|
return [
|
|
@@ -2463,37 +2480,37 @@ function ka(e) {
|
|
|
2463
2480
|
"onprogress",
|
|
2464
2481
|
"onreadystatechange"
|
|
2465
2482
|
].forEach((e) => {
|
|
2466
|
-
e in n && typeof n[e] == "function" &&
|
|
2483
|
+
e in n && typeof n[e] == "function" && w(n, e, function(t) {
|
|
2467
2484
|
let n = { mechanism: {
|
|
2468
|
-
data: { handler:
|
|
2485
|
+
data: { handler: M(t) },
|
|
2469
2486
|
handled: !1,
|
|
2470
2487
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2471
2488
|
} }, r = ze(t);
|
|
2472
|
-
return r && (n.mechanism.data.handler =
|
|
2489
|
+
return r && (n.mechanism.data.handler = M(r)), q(t, n);
|
|
2473
2490
|
});
|
|
2474
2491
|
}), e.apply(this, t);
|
|
2475
2492
|
};
|
|
2476
2493
|
}
|
|
2477
|
-
function
|
|
2494
|
+
function Ma(e, t) {
|
|
2478
2495
|
var n, r;
|
|
2479
|
-
let i = (n =
|
|
2480
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2496
|
+
let i = (n = K[e]) == null ? void 0 : n.prototype;
|
|
2497
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (w(i, "addEventListener", function(n) {
|
|
2481
2498
|
return function(r, i, a) {
|
|
2482
2499
|
try {
|
|
2483
|
-
|
|
2500
|
+
Na(i) && (i.handleEvent = q(i.handleEvent, { mechanism: {
|
|
2484
2501
|
data: {
|
|
2485
|
-
handler:
|
|
2502
|
+
handler: M(i),
|
|
2486
2503
|
target: e
|
|
2487
2504
|
},
|
|
2488
2505
|
handled: !1,
|
|
2489
2506
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2490
2507
|
} }));
|
|
2491
2508
|
} catch {}
|
|
2492
|
-
return t.unregisterOriginalCallbacks &&
|
|
2509
|
+
return t.unregisterOriginalCallbacks && Pa(this, r, i), n.apply(this, [
|
|
2493
2510
|
r,
|
|
2494
|
-
|
|
2511
|
+
q(i, { mechanism: {
|
|
2495
2512
|
data: {
|
|
2496
|
-
handler:
|
|
2513
|
+
handler: M(i),
|
|
2497
2514
|
target: e
|
|
2498
2515
|
},
|
|
2499
2516
|
handled: !1,
|
|
@@ -2502,48 +2519,50 @@ function Aa(e, t) {
|
|
|
2502
2519
|
a
|
|
2503
2520
|
]);
|
|
2504
2521
|
};
|
|
2505
|
-
}),
|
|
2522
|
+
}), w(i, "removeEventListener", function(e) {
|
|
2506
2523
|
return function(t, n, r) {
|
|
2507
2524
|
try {
|
|
2508
|
-
|
|
2509
|
-
|
|
2525
|
+
if (Object.prototype.hasOwnProperty.call(n, "__sentry_wrapped__")) {
|
|
2526
|
+
let i = n.__sentry_wrapped__;
|
|
2527
|
+
i && e.call(this, t, i, r);
|
|
2528
|
+
}
|
|
2510
2529
|
} catch {}
|
|
2511
2530
|
return e.call(this, t, n, r);
|
|
2512
2531
|
};
|
|
2513
2532
|
}));
|
|
2514
2533
|
}
|
|
2515
|
-
function
|
|
2534
|
+
function Na(e) {
|
|
2516
2535
|
return typeof e.handleEvent == "function";
|
|
2517
2536
|
}
|
|
2518
|
-
function
|
|
2537
|
+
function Pa(e, t, n) {
|
|
2519
2538
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2520
2539
|
}
|
|
2521
2540
|
//#endregion
|
|
2522
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2523
|
-
var
|
|
2541
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2542
|
+
var Fa = U((e = {}) => {
|
|
2524
2543
|
var t;
|
|
2525
2544
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2526
2545
|
return {
|
|
2527
2546
|
name: "BrowserSession",
|
|
2528
2547
|
setupOnce() {
|
|
2529
|
-
if (
|
|
2548
|
+
if (K.document === void 0) {
|
|
2530
2549
|
Q && N.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2531
2550
|
return;
|
|
2532
2551
|
}
|
|
2533
|
-
|
|
2552
|
+
ve({ ignoreDuration: !0 }), Be();
|
|
2534
2553
|
let e = Je(), t = e.getUser();
|
|
2535
2554
|
e.addScopeListener((e) => {
|
|
2536
2555
|
let n = e.getUser();
|
|
2537
2556
|
((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)) && (Be(), t = n);
|
|
2538
|
-
}), n === "route" &&
|
|
2539
|
-
e !== t && (
|
|
2557
|
+
}), n === "route" && Ki(({ from: e, to: t }) => {
|
|
2558
|
+
e !== t && (ve({ ignoreDuration: !0 }), Be());
|
|
2540
2559
|
});
|
|
2541
2560
|
}
|
|
2542
2561
|
};
|
|
2543
|
-
}),
|
|
2544
|
-
name:
|
|
2562
|
+
}), Ia = "CultureContext", La = U((() => ({
|
|
2563
|
+
name: Ia,
|
|
2545
2564
|
preprocessEvent(e) {
|
|
2546
|
-
let t =
|
|
2565
|
+
let t = Ra();
|
|
2547
2566
|
if (t) {
|
|
2548
2567
|
var n;
|
|
2549
2568
|
e.contexts = {
|
|
@@ -2556,7 +2575,7 @@ var Na = U((e = {}) => {
|
|
|
2556
2575
|
}
|
|
2557
2576
|
},
|
|
2558
2577
|
processSegmentSpan(e) {
|
|
2559
|
-
let t =
|
|
2578
|
+
let t = Ra();
|
|
2560
2579
|
t && Ut(e, {
|
|
2561
2580
|
"culture.locale": t.locale,
|
|
2562
2581
|
"culture.timezone": t.timezone,
|
|
@@ -2564,9 +2583,9 @@ var Na = U((e = {}) => {
|
|
|
2564
2583
|
});
|
|
2565
2584
|
}
|
|
2566
2585
|
})));
|
|
2567
|
-
function
|
|
2586
|
+
function Ra() {
|
|
2568
2587
|
try {
|
|
2569
|
-
let e =
|
|
2588
|
+
let e = K.Intl;
|
|
2570
2589
|
if (!e) return;
|
|
2571
2590
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2572
2591
|
return {
|
|
@@ -2579,28 +2598,28 @@ function Ia() {
|
|
|
2579
2598
|
}
|
|
2580
2599
|
}
|
|
2581
2600
|
//#endregion
|
|
2582
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2583
|
-
var
|
|
2601
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2602
|
+
var za = "GlobalHandlers", Ba = U(((e = {}) => {
|
|
2584
2603
|
let t = {
|
|
2585
2604
|
onerror: !0,
|
|
2586
2605
|
onunhandledrejection: !0,
|
|
2587
2606
|
...e
|
|
2588
2607
|
};
|
|
2589
2608
|
return {
|
|
2590
|
-
name:
|
|
2609
|
+
name: za,
|
|
2591
2610
|
setupOnce() {
|
|
2592
2611
|
Error.stackTraceLimit = 50;
|
|
2593
2612
|
},
|
|
2594
2613
|
setup(e) {
|
|
2595
|
-
t.onerror && (
|
|
2614
|
+
t.onerror && (Va(e), Ka("onerror")), t.onunhandledrejection && (Ha(e), Ka("onunhandledrejection"));
|
|
2596
2615
|
}
|
|
2597
2616
|
};
|
|
2598
2617
|
}));
|
|
2599
|
-
function
|
|
2618
|
+
function Va(e) {
|
|
2600
2619
|
pt((t) => {
|
|
2601
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2602
|
-
if (
|
|
2603
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2620
|
+
let { stackParser: n, attachStacktrace: r } = qa();
|
|
2621
|
+
if (D() !== e || li()) return;
|
|
2622
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ga(wi(n, c || i, void 0, r, !1), a, o, s);
|
|
2604
2623
|
l.level = "error", Ue(l, {
|
|
2605
2624
|
originalException: c,
|
|
2606
2625
|
mechanism: {
|
|
@@ -2610,11 +2629,11 @@ function za(e) {
|
|
|
2610
2629
|
});
|
|
2611
2630
|
});
|
|
2612
2631
|
}
|
|
2613
|
-
function
|
|
2632
|
+
function Ha(e) {
|
|
2614
2633
|
gt((t) => {
|
|
2615
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2616
|
-
if (
|
|
2617
|
-
let i =
|
|
2634
|
+
let { stackParser: n, attachStacktrace: r } = qa();
|
|
2635
|
+
if (D() !== e || li()) return;
|
|
2636
|
+
let i = Ua(t), a = P(i) ? Wa(i) : wi(n, i, void 0, r, !0);
|
|
2618
2637
|
a.level = "error", Ue(a, {
|
|
2619
2638
|
originalException: i,
|
|
2620
2639
|
mechanism: {
|
|
@@ -2624,7 +2643,7 @@ function Ba(e) {
|
|
|
2624
2643
|
});
|
|
2625
2644
|
});
|
|
2626
2645
|
}
|
|
2627
|
-
function
|
|
2646
|
+
function Ua(e) {
|
|
2628
2647
|
if (P(e)) return e;
|
|
2629
2648
|
try {
|
|
2630
2649
|
if ("reason" in e) return e.reason;
|
|
@@ -2632,47 +2651,47 @@ function Va(e) {
|
|
|
2632
2651
|
} catch {}
|
|
2633
2652
|
return e;
|
|
2634
2653
|
}
|
|
2635
|
-
function
|
|
2654
|
+
function Wa(e) {
|
|
2636
2655
|
return { exception: { values: [{
|
|
2637
2656
|
type: "UnhandledRejection",
|
|
2638
2657
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2639
2658
|
}] } };
|
|
2640
2659
|
}
|
|
2641
|
-
function
|
|
2660
|
+
function Ga(e, t, n, r) {
|
|
2642
2661
|
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 || [];
|
|
2643
2662
|
if (c.length === 0) {
|
|
2644
2663
|
var l;
|
|
2645
2664
|
c.push({
|
|
2646
2665
|
colno: r,
|
|
2647
2666
|
lineno: n,
|
|
2648
|
-
filename: (l =
|
|
2667
|
+
filename: (l = Ja(t)) == null ? oi() : l,
|
|
2649
2668
|
function: "?",
|
|
2650
2669
|
in_app: !0
|
|
2651
2670
|
});
|
|
2652
2671
|
}
|
|
2653
2672
|
return e;
|
|
2654
2673
|
}
|
|
2655
|
-
function
|
|
2674
|
+
function Ka(e) {
|
|
2656
2675
|
Q && N.log(`Global Handler attached: ${e}`);
|
|
2657
2676
|
}
|
|
2658
|
-
function
|
|
2659
|
-
let e =
|
|
2677
|
+
function qa() {
|
|
2678
|
+
let e = D();
|
|
2660
2679
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2661
2680
|
stackParser: () => [],
|
|
2662
2681
|
attachStacktrace: !1
|
|
2663
2682
|
};
|
|
2664
2683
|
}
|
|
2665
|
-
function
|
|
2666
|
-
if (!(!
|
|
2684
|
+
function Ja(e) {
|
|
2685
|
+
if (!(!A(e) || e.length === 0)) return e.startsWith("data:") ? `<${Ht(e, !1)}>` : e;
|
|
2667
2686
|
}
|
|
2668
2687
|
//#endregion
|
|
2669
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2670
|
-
var
|
|
2688
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2689
|
+
var Ya = U(() => ({
|
|
2671
2690
|
name: "HttpContext",
|
|
2672
2691
|
preprocessEvent(e) {
|
|
2673
2692
|
var t;
|
|
2674
|
-
if (!
|
|
2675
|
-
let n =
|
|
2693
|
+
if (!K.navigator && !K.location && !K.document) return;
|
|
2694
|
+
let n = di(), r = {
|
|
2676
2695
|
...n.headers,
|
|
2677
2696
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2678
2697
|
};
|
|
@@ -2683,102 +2702,102 @@ var qa = U(() => ({
|
|
|
2683
2702
|
};
|
|
2684
2703
|
},
|
|
2685
2704
|
processSegmentSpan(e) {
|
|
2686
|
-
if (!
|
|
2687
|
-
let t =
|
|
2705
|
+
if (!K.navigator && !K.location && !K.document) return;
|
|
2706
|
+
let t = di();
|
|
2688
2707
|
Ut(e, {
|
|
2689
2708
|
"url.full": t.url || void 0,
|
|
2690
2709
|
"http.request.header.user_agent": t.headers["User-Agent"],
|
|
2691
2710
|
"http.request.header.referer": t.headers.Referer
|
|
2692
2711
|
});
|
|
2693
2712
|
}
|
|
2694
|
-
})),
|
|
2695
|
-
let t = e.limit ||
|
|
2713
|
+
})), Xa = "cause", Za = 5, Qa = "LinkedErrors", $a = U(((e = {}) => {
|
|
2714
|
+
let t = e.limit || Za, n = e.key || Xa;
|
|
2696
2715
|
return {
|
|
2697
|
-
name:
|
|
2716
|
+
name: Qa,
|
|
2698
2717
|
preprocessEvent(e, r, i) {
|
|
2699
|
-
|
|
2718
|
+
Dr(fi, i.getOptions().stackParser, n, t, e, r);
|
|
2700
2719
|
}
|
|
2701
2720
|
};
|
|
2702
|
-
})),
|
|
2703
|
-
function
|
|
2721
|
+
})), eo = /^HTML(\w*)Element$/;
|
|
2722
|
+
function to(e) {
|
|
2704
2723
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2705
2724
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2706
|
-
if (
|
|
2707
|
-
let t =
|
|
2708
|
-
if (
|
|
2725
|
+
if (ta(e)) {
|
|
2726
|
+
let t = no(e);
|
|
2727
|
+
if (eo.test(t)) return `[HTMLElement: ${Ni(e)}]`;
|
|
2709
2728
|
}
|
|
2710
2729
|
}
|
|
2711
|
-
function
|
|
2730
|
+
function no(e) {
|
|
2712
2731
|
let t = Object.getPrototypeOf(e);
|
|
2713
2732
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2714
2733
|
}
|
|
2715
2734
|
//#endregion
|
|
2716
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2717
|
-
function
|
|
2718
|
-
return
|
|
2735
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2736
|
+
function ro() {
|
|
2737
|
+
return io() ? (Q && we(() => {
|
|
2719
2738
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2720
2739
|
}), !0) : !1;
|
|
2721
2740
|
}
|
|
2722
|
-
function
|
|
2741
|
+
function io() {
|
|
2723
2742
|
var e;
|
|
2724
|
-
if (
|
|
2725
|
-
let t =
|
|
2743
|
+
if (K.window === void 0) return !1;
|
|
2744
|
+
let t = K;
|
|
2726
2745
|
if (t.nw) return !1;
|
|
2727
2746
|
let n = t.chrome || t.browser;
|
|
2728
2747
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2729
|
-
let r =
|
|
2730
|
-
return !(
|
|
2748
|
+
let r = oi();
|
|
2749
|
+
return !(K === K.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2731
2750
|
}
|
|
2732
2751
|
//#endregion
|
|
2733
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2734
|
-
function
|
|
2752
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2753
|
+
function ao(e) {
|
|
2735
2754
|
return [
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2755
|
+
_r(),
|
|
2756
|
+
pr(),
|
|
2757
|
+
qr(),
|
|
2758
|
+
Oa(),
|
|
2759
|
+
va(),
|
|
2760
|
+
Ba(),
|
|
2761
|
+
$a(),
|
|
2762
|
+
zr(),
|
|
2763
|
+
Ya(),
|
|
2764
|
+
La(),
|
|
2765
|
+
Fa()
|
|
2747
2766
|
];
|
|
2748
2767
|
}
|
|
2749
|
-
function
|
|
2750
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2768
|
+
function oo(e = {}) {
|
|
2769
|
+
let t = !e.skipBrowserExtensionCheck && ro(), n = e.defaultIntegrations == null ? ao() : e.defaultIntegrations, r = {
|
|
2751
2770
|
...e,
|
|
2752
2771
|
enabled: t ? !1 : e.enabled,
|
|
2753
|
-
stackParser: Ke(e.stackParser ||
|
|
2772
|
+
stackParser: Ke(e.stackParser || ma),
|
|
2754
2773
|
integrations: Zt({
|
|
2755
2774
|
integrations: e.integrations,
|
|
2756
2775
|
defaultIntegrations: n
|
|
2757
2776
|
}),
|
|
2758
|
-
transport: e.transport ||
|
|
2777
|
+
transport: e.transport || ra
|
|
2759
2778
|
};
|
|
2760
|
-
return
|
|
2779
|
+
return de(to), nr(ki, r);
|
|
2761
2780
|
}
|
|
2762
2781
|
//#endregion
|
|
2763
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2764
|
-
function
|
|
2765
|
-
return
|
|
2782
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.58.0_react@19.2.7/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2783
|
+
function so(e) {
|
|
2784
|
+
return Fe(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2766
2785
|
}
|
|
2767
2786
|
//#endregion
|
|
2768
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2769
|
-
function
|
|
2787
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.58.0_react@19.2.7/node_modules/@sentry/react/build/esm/sdk.js
|
|
2788
|
+
function co(e) {
|
|
2770
2789
|
let t = { ...e };
|
|
2771
|
-
|
|
2772
|
-
let n =
|
|
2773
|
-
return
|
|
2790
|
+
cr(t, "react"), ge("react", { version: rt.version });
|
|
2791
|
+
let n = oo(t);
|
|
2792
|
+
return de(lo), n;
|
|
2774
2793
|
}
|
|
2775
|
-
function
|
|
2776
|
-
return
|
|
2794
|
+
function lo(e) {
|
|
2795
|
+
return so(e) ? "[SyntheticEvent]" : to(e);
|
|
2777
2796
|
}
|
|
2778
2797
|
//#endregion
|
|
2779
2798
|
//#region src/tools/sentry.ts
|
|
2780
|
-
var
|
|
2781
|
-
function
|
|
2799
|
+
var uo = "production", fo = "3.7.6";
|
|
2800
|
+
function po() {
|
|
2782
2801
|
let e = "sentry_offline_queue";
|
|
2783
2802
|
return {
|
|
2784
2803
|
async push(t) {
|
|
@@ -2825,16 +2844,16 @@ function uo() {
|
|
|
2825
2844
|
}
|
|
2826
2845
|
};
|
|
2827
2846
|
}
|
|
2828
|
-
function
|
|
2829
|
-
let t =
|
|
2830
|
-
|
|
2847
|
+
function mo(e) {
|
|
2848
|
+
let t = or(ra);
|
|
2849
|
+
co({
|
|
2831
2850
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2832
|
-
release:
|
|
2833
|
-
environment:
|
|
2851
|
+
release: fo,
|
|
2852
|
+
environment: uo,
|
|
2834
2853
|
sendDefaultPii: !0,
|
|
2835
2854
|
transport: (e) => t({
|
|
2836
2855
|
...e,
|
|
2837
|
-
createStore: () =>
|
|
2856
|
+
createStore: () => po(),
|
|
2838
2857
|
flushAtStartup: !0,
|
|
2839
2858
|
shouldStore: async (e, t) => {
|
|
2840
2859
|
var n, r, i;
|
|
@@ -2858,14 +2877,14 @@ function fo(e) {
|
|
|
2858
2877
|
beforeSend(e) {
|
|
2859
2878
|
return e;
|
|
2860
2879
|
}
|
|
2861
|
-
}), e.eventId && Ie("eventId", e.eventId), Ie("isWebview", e.isWebview), Ie("source", "vite-main"), Ve({ ip_address: "{{auto}}" }),
|
|
2880
|
+
}), e.eventId && Ie("eventId", e.eventId), Ie("isWebview", e.isWebview), Ie("source", "vite-main"), Ve({ ip_address: "{{auto}}" }), ho();
|
|
2862
2881
|
}
|
|
2863
|
-
function
|
|
2882
|
+
function ho() {
|
|
2864
2883
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2865
|
-
|
|
2884
|
+
Pe(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2866
2885
|
});
|
|
2867
2886
|
let e = window.onerror;
|
|
2868
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2887
|
+
window.onerror = (t, n, r, i, a) => (a && Pe(a, { contexts: { windowError: {
|
|
2869
2888
|
message: t,
|
|
2870
2889
|
source: n,
|
|
2871
2890
|
lineno: r,
|
|
@@ -2881,7 +2900,7 @@ function po() {
|
|
|
2881
2900
|
function $() {
|
|
2882
2901
|
throw Error("FloorPlan not ready");
|
|
2883
2902
|
}
|
|
2884
|
-
var
|
|
2903
|
+
var go = class {
|
|
2885
2904
|
get ready() {
|
|
2886
2905
|
return this._ready;
|
|
2887
2906
|
}
|
|
@@ -3039,78 +3058,78 @@ var mo = class {
|
|
|
3039
3058
|
if (a.__expofp = this, a.getAttribute("data-event-id") || a.getAttribute("data-event")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3040
3059
|
let u = e.expo || e.event;
|
|
3041
3060
|
if (!u) throw Error("`expo` option is required");
|
|
3042
|
-
|
|
3061
|
+
mo({
|
|
3043
3062
|
eventId: u || "",
|
|
3044
3063
|
isWebview: o
|
|
3045
3064
|
}), this.eventId = u, window.__efpEvent = u, window.__efpElement = a;
|
|
3046
|
-
let
|
|
3047
|
-
|
|
3048
|
-
let
|
|
3065
|
+
let p = document.createElement("div");
|
|
3066
|
+
p.style.height = "100%", p.style.width = "100%", a.appendChild(p);
|
|
3067
|
+
let g;
|
|
3049
3068
|
if (o && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
3050
3069
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
3051
3070
|
e && (this.allowConsent = e === "true");
|
|
3052
3071
|
}
|
|
3053
3072
|
if (ct) {
|
|
3054
|
-
|
|
3055
|
-
let e =
|
|
3073
|
+
g = p.attachShadow({ mode: "open" });
|
|
3074
|
+
let e = g, t = document;
|
|
3056
3075
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3057
|
-
} else
|
|
3058
|
-
let
|
|
3059
|
-
if (
|
|
3060
|
-
let
|
|
3061
|
-
window.__dataUrlBase =
|
|
3062
|
-
let
|
|
3063
|
-
d(
|
|
3064
|
-
d(
|
|
3065
|
-
d(
|
|
3066
|
-
],
|
|
3076
|
+
} else g = p;
|
|
3077
|
+
let _ = document.createElement("div");
|
|
3078
|
+
if (_.style.height = "100%", _.style.width = "100%", g.appendChild(_), ct && Object.defineProperty(_, "ownerDocument", { value: g }), window.__efpShadowDOMStyleParent = ct ? g : void 0, this.renderTarget = _, a.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3079
|
+
let v = e.legacyDataUrlBase;
|
|
3080
|
+
window.__dataUrlBase = v, this.dataUrl = v, m.log("Instantiating ExpoFP floorplan", e.element, u);
|
|
3081
|
+
let y = v + "data.js", te = v + "wf.data.js", ne = v + "fp.svg.js", b = [
|
|
3082
|
+
d(te),
|
|
3083
|
+
d(y),
|
|
3084
|
+
d(ne)
|
|
3085
|
+
], x = 0;
|
|
3067
3086
|
this.efpStyleLoadHandler = function(e) {
|
|
3068
3087
|
let t = window.__efpStyleElements;
|
|
3069
|
-
for (;
|
|
3070
|
-
let e = t[
|
|
3071
|
-
|
|
3088
|
+
for (; x < t.length;) {
|
|
3089
|
+
let e = t[x];
|
|
3090
|
+
g.appendChild(e), x++;
|
|
3072
3091
|
}
|
|
3073
3092
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
3074
|
-
let
|
|
3093
|
+
let S = this;
|
|
3075
3094
|
(async function() {
|
|
3076
3095
|
var e, t;
|
|
3077
|
-
await Promise.all(
|
|
3096
|
+
await Promise.all(b);
|
|
3078
3097
|
let o = 0;
|
|
3079
|
-
for (; window.__fpPending && !window.__fp;) await r(2e3), await d(
|
|
3098
|
+
for (; window.__fpPending && !window.__fp;) await r(2e3), await d(ne + `?v=${++o}`);
|
|
3080
3099
|
let s = window.__data;
|
|
3081
3100
|
if (!s) {
|
|
3082
|
-
let { showEventNotFound: e } = await import("./event-not-found-
|
|
3101
|
+
let { showEventNotFound: e } = await import("./event-not-found-BLRdJMTD.js");
|
|
3083
3102
|
e(a);
|
|
3084
3103
|
return;
|
|
3085
3104
|
}
|
|
3086
|
-
await
|
|
3087
|
-
let
|
|
3105
|
+
await ee();
|
|
3106
|
+
let _ = new URLSearchParams(window.location.search), v, y;
|
|
3088
3107
|
if (s != null && s.trackerUrl) try {
|
|
3089
|
-
|
|
3108
|
+
v = new URL(s.trackerUrl), y = v.searchParams.get("expoId");
|
|
3090
3109
|
} catch (e) {
|
|
3091
3110
|
console.error(e);
|
|
3092
3111
|
}
|
|
3093
|
-
let
|
|
3094
|
-
if (!
|
|
3095
|
-
let t = new URL(e.dataUrl,
|
|
3112
|
+
let te = async (e) => {
|
|
3113
|
+
if (!v || !y) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
3114
|
+
let t = new URL(e.dataUrl, v.origin), n = await fetch(t.toString(), {
|
|
3096
3115
|
method: "POST",
|
|
3097
3116
|
headers: { "Content-Type": "application/json" },
|
|
3098
3117
|
body: JSON.stringify({
|
|
3099
|
-
expoId:
|
|
3100
|
-
token: decodeURIComponent(
|
|
3118
|
+
expoId: y,
|
|
3119
|
+
token: decodeURIComponent(_.get("t"))
|
|
3101
3120
|
})
|
|
3102
3121
|
}), r = [];
|
|
3103
3122
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
3104
3123
|
};
|
|
3105
|
-
if (
|
|
3106
|
-
if (
|
|
3124
|
+
if (_.get("heatmap") === "true") try {
|
|
3125
|
+
if (_.get("type") === "yah") _.get("subtype") === "kiosk" ? await te({
|
|
3107
3126
|
dataUrl: "/api/kiosks/list/viewer",
|
|
3108
3127
|
dataMapper: (e) => ({
|
|
3109
3128
|
...e,
|
|
3110
3129
|
id: e.key,
|
|
3111
3130
|
name: `Kiosk ${e.key}`
|
|
3112
3131
|
})
|
|
3113
|
-
}) : await
|
|
3132
|
+
}) : await te({
|
|
3114
3133
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
3115
3134
|
dataMapper: (e, t) => ({
|
|
3116
3135
|
...e,
|
|
@@ -3118,10 +3137,10 @@ var mo = class {
|
|
|
3118
3137
|
})
|
|
3119
3138
|
});
|
|
3120
3139
|
else {
|
|
3121
|
-
let e = new URL("/api/fp-stats/get",
|
|
3122
|
-
e.searchParams.set("expoId",
|
|
3123
|
-
let t = new URL("api/fp-stats/get",
|
|
3124
|
-
t.searchParams.set("expoId",
|
|
3140
|
+
let e = new URL("/api/fp-stats/get", v.origin);
|
|
3141
|
+
e.searchParams.set("expoId", y), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(_.get("t")));
|
|
3142
|
+
let t = new URL("api/fp-stats/get", v.origin);
|
|
3143
|
+
t.searchParams.set("expoId", y), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(_.get("t")));
|
|
3125
3144
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
3126
3145
|
window.__heatmapData = {
|
|
3127
3146
|
booths: i,
|
|
@@ -3144,27 +3163,27 @@ var mo = class {
|
|
|
3144
3163
|
} catch (e) {
|
|
3145
3164
|
console.error(e);
|
|
3146
3165
|
}
|
|
3147
|
-
let
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
l("Oswald",
|
|
3151
|
-
l("Oswald",
|
|
3152
|
-
l("Inter",
|
|
3153
|
-
l("Inter",
|
|
3154
|
-
l("Inter",
|
|
3155
|
-
l("efp-symbols",
|
|
3156
|
-
it(s,
|
|
3157
|
-
at(
|
|
3166
|
+
let x = [
|
|
3167
|
+
f(h + "vendor/sanitize-css/sanitize.css", g),
|
|
3168
|
+
f(h + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", g),
|
|
3169
|
+
l("Oswald", h + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
3170
|
+
l("Oswald", h + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
3171
|
+
l("Inter", h + "fonts/inter-400.woff2", { weight: 400 }),
|
|
3172
|
+
l("Inter", h + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3173
|
+
l("Inter", h + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3174
|
+
l("efp-symbols", h + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3175
|
+
it(s, g),
|
|
3176
|
+
at(S.icons)
|
|
3158
3177
|
];
|
|
3159
|
-
await Promise.all(
|
|
3160
|
-
let { default:
|
|
3178
|
+
await Promise.all(x), S.enableRotation = (e = s == null ? void 0 : s.enableRotation) == null ? !1 : e, S.alwaysShowSidebar = (t = s == null ? void 0 : s.alwaysShowSidebar) == null ? !1 : t, m.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3179
|
+
let { default: C } = await import(
|
|
3161
3180
|
/* webpackChunkName: "floorplan" */
|
|
3162
|
-
"./floorplan.ready-
|
|
3181
|
+
"./floorplan.ready-Duc4SxLH.js"
|
|
3163
3182
|
);
|
|
3164
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); a.firstChild && a.firstChild !==
|
|
3165
|
-
Object.setPrototypeOf(
|
|
3183
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); a.firstChild && a.firstChild !== p;) a.removeChild(a.firstChild);
|
|
3184
|
+
Object.setPrototypeOf(S, C.prototype).init();
|
|
3166
3185
|
})();
|
|
3167
3186
|
}
|
|
3168
3187
|
};
|
|
3169
3188
|
//#endregion
|
|
3170
|
-
export { $e as a, Jt as i, Q as n,
|
|
3189
|
+
export { $e as a, Jt as i, Q as n, K as r, go as t };
|