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