@expofp/floorplan 3.1.2 → 3.1.4
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/{CookieConsent-YALfakcg.js → CookieConsent-A4g2GEnB.js} +1104 -1098
- package/dist/browser/{Debug-Dienfacq.js → Debug-okM_H6zB.js} +7 -7
- package/dist/browser/{Demo-BbY4PJhj.js → Demo-3Yx1xi6F.js} +11 -11
- package/dist/browser/{Free-BlfLzpZ4.js → Free-Iqh_45NP.js} +11 -11
- package/dist/browser/{Gallery-BJ8RKc0W.js → Gallery-CMu4jjUa.js} +16 -16
- package/dist/browser/{GpsLoader-C-qC7AlJ.js → GpsLoader-xmUlSf3T.js} +27 -27
- package/dist/browser/{KioskStore-umOa7R8-.js → KioskStore-DomUDeuw.js} +39 -39
- package/dist/browser/{Mapbox-BQKwe6gC.js → Mapbox-D3-e_F58.js} +14 -14
- package/dist/browser/SetKioskMode-BOvxWaGI.js +54 -0
- package/dist/browser/ShowKiosk-xp1WbCm-.js +26 -0
- package/dist/browser/{ThreeComponent-YJ6J3gEv.js → ThreeComponent-C7dPjvKl.js} +219 -219
- package/dist/browser/{TouchHand-DtBzj-Bj.js → TouchHand-QzRQPyEl.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-Cv7KW_rT.js → ViewerMenuPanel-lREjYMl2.js} +20 -20
- package/dist/browser/{add-debug-secret-listener-BRth-pLl.js → add-debug-secret-listener-s_Acfb_j.js} +1 -1
- package/dist/browser/{boolean-editor-D_18BAC7.js → boolean-editor-BN7VDvLb.js} +6 -6
- package/dist/browser/bootIntercom-BsKv9v5g.js +40 -0
- package/dist/browser/bundle.json +46 -43
- package/dist/browser/{chunk-BjP-W_8B.js → chunk-CilcQ-DK.js} +1 -1
- package/dist/browser/{classnames-nDCZdn8S.js → classnames-BG0vlDcj.js} +2 -2
- package/dist/browser/{client-CHtTpwEK.js → client-CfMi8siJ.js} +4 -4
- package/dist/browser/{data-DRzLxQO7.js → data-a-dtD_1P.js} +49 -49
- package/dist/browser/{debug-overlay-B8CWKuKY.js → debug-overlay-CoH7X4al.js} +8 -8
- package/dist/browser/{debug-ui-DUF5K4cu.js → debug-ui-DouD3wg5.js} +6 -6
- package/dist/browser/{dist-C0wOn0VY.js → dist-CzsjAsAg.js} +5 -5
- package/dist/browser/{exports-DJDFfUko.js → exports-BWEh5Wje.js} +1 -1
- package/dist/browser/{favicon-DtqguaGB.js → favicon-CmG6QFs2.js} +1 -1
- package/dist/browser/{fetch-retry.umd-B8F2bkss.js → fetch-retry.umd-B_g_JELw.js} +2 -2
- package/dist/browser/{flex-DCHbgjnw.js → flex-BQA_6ztI.js} +6 -6
- package/dist/browser/{floorplan.loader-CTycsBPj.js → floorplan.loader-CrKDeH3d.js} +656 -679
- package/dist/browser/{floorplan.ready-D8TO96JJ.js → floorplan.ready-xulLyTpM.js} +16 -15
- package/dist/browser/{fuse-BEUAG1Xp.js → fuse-Cxy73jl3.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-C1gwybh0.js → is-debug-BMJczZcU.js} +2 -2
- package/dist/browser/{jsx-runtime-CGa6rouk.js → jsx-runtime-DDrJF8xL.js} +2 -2
- package/dist/browser/{lib-B-kSneKQ.js → lib-B1mH8TSv.js} +4 -4
- package/dist/browser/locales/ar.json +56 -16
- package/dist/browser/locales/de.json +56 -16
- package/dist/browser/locales/es.json +56 -16
- package/dist/browser/locales/fr.json +56 -16
- package/dist/browser/locales/he.json +56 -16
- package/dist/browser/locales/it.json +56 -16
- package/dist/browser/locales/kk.json +56 -16
- package/dist/browser/locales/ko.json +56 -16
- package/dist/browser/locales/mn.json +56 -16
- package/dist/browser/locales/nl.json +56 -16
- package/dist/browser/locales/pl.json +56 -16
- package/dist/browser/locales/pt.json +56 -16
- package/dist/browser/locales/ru.json +60 -20
- package/dist/browser/locales/sv.json +56 -16
- package/dist/browser/locales/th.json +56 -16
- package/dist/browser/locales/tr.json +56 -16
- package/dist/browser/locales/uk.json +56 -16
- package/dist/browser/locales/vi.json +56 -16
- package/dist/browser/locales/zh.json +56 -16
- package/dist/browser/{main-DscTVUQ0.js → main-CTfIntH-.js} +1 -1
- package/dist/browser/{mobx-DfjpWyaW.js → mobx-CNTM25Oc.js} +4 -4
- package/dist/browser/{particles.min-Biy-VbhD.js → particles.min-DHOz1yro.js} +2 -2
- package/dist/browser/{prop-types-BKhIyeNo.js → prop-types-B-y83www.js} +2 -2
- package/dist/browser/{react-19U-5m1O.js → react-VoeHpohi.js} +2 -2
- package/dist/browser/{react-dom-BeWJor3U.js → react-dom-CN7XBo22.js} +3 -3
- package/dist/browser/{reset-all-settings-DbzRwd74.js → reset-all-settings-x3j4rKGC.js} +1 -1
- package/dist/browser/{settings-CH8qvuVX.js → settings-DYv1eHiY.js} +6 -6
- package/dist/browser/{src-_zgzV95f.js → src-CdV1RTUv.js} +4 -4
- package/dist/browser/{store-CwvDErjP.js → store-BkBqfYWF.js} +3803 -3345
- package/dist/browser/{ui-I67QXE1I.js → ui-DqL_r_LU.js} +6 -6
- package/dist/esm/components/Alert.js +1 -1
- package/dist/esm/components/Autocomplete.js +1 -1
- package/dist/esm/components/BaseFilterModal.js +1 -1
- package/dist/esm/components/EntityItem.js +1 -1
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EventBadge.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/HeatmapLegend.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -2
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKioskMode.js +1 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/LevelBadge.js +1 -1
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/canvases.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +4 -4
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Map/visibleArea.d.ts +3 -3
- package/dist/esm/components/Map/visibleArea.js +1 -1
- package/dist/esm/components/MarketMaterialList.js +1 -1
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayGrip.d.ts +0 -1
- package/dist/esm/components/OverlayGrip.js +1 -1
- package/dist/esm/components/Share.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutButton.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +1 -1
- package/dist/esm/components/ViewerMenuPanel.js +1 -1
- package/dist/esm/components/WayInformation.js +1 -1
- package/dist/esm/components/WayfindingFloorSelector.js +1 -1
- package/dist/esm/components/YahRow.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/intercom/bootIntercom.d.ts +3 -0
- package/dist/esm/intercom/bootIntercom.js +19 -0
- package/dist/esm/intercom/index.d.ts +3 -0
- package/dist/esm/intercom/index.js +1 -0
- package/dist/esm/intercom/shouldLoad.d.ts +4 -0
- package/dist/esm/intercom/shouldLoad.js +1 -0
- package/dist/esm/intercom/types.d.ts +6 -0
- package/dist/esm/intercom/types.js +1 -0
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +7 -1
- package/dist/esm/renderer/engine-core/defs.js +3 -3
- package/dist/esm/store/SearchButtonsStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-heatmap.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/package.json +4 -4
- package/dist/browser/SetKioskMode-B4WkaonJ.js +0 -49
- package/dist/browser/ShowKiosk-CwQsYu6G.js +0 -26
- package/dist/esm/tools/intercom.d.ts +0 -12
- package/dist/esm/tools/intercom.js +0 -19
|
@@ -1,26 +1,26 @@
|
|
|
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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.4" };
|
|
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] = "80c9a707-13a9-470f-b9d9-058068b00b8d", e._sentryDebugIdIdentifier = "sentry-dbid-80c9a707-13a9-470f-b9d9-058068b00b8d");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { A as t, B as n, G as r, H as i, J as a, K as o, Tt as s, V as c, Y as l, d as u, n as d, r as ee, s as te, t as f, z as ne } from "./is-debug-
|
|
11
|
-
import { $ as p, A as m, B as h, C as g, D as _, E as v, F as y, G as b, H as x, I as S, J as
|
|
12
|
-
import { t as
|
|
9
|
+
import { r as e } from "./chunk-CilcQ-DK.js";
|
|
10
|
+
import { A as t, B as n, G as r, H as i, J as a, K as o, Tt as s, V as c, Y as l, d as u, n as d, r as ee, s as te, t as f, z as ne } from "./is-debug-BMJczZcU.js";
|
|
11
|
+
import { $ as p, A as m, B as h, C as g, D as _, E as v, F as y, G as b, H as x, I as S, J as re, K as C, L as w, M as T, N as ie, O as ae, P as oe, Q as se, R as ce, S as le, T as ue, U as de, V as fe, W as E, X as pe, Y as me, Z as he, _ as ge, _t as _e, a as ve, at as ye, b as be, bt as D, c as xe, ct as Se, d as Ce, dt as we, et as Te, f as Ee, ft as De, g as Oe, gt as ke, h as Ae, ht as je, it as O, j as k, k as Me, l as Ne, lt as Pe, m as Fe, mt as A, n as Ie, nt as Le, o as Re, ot as j, p as ze, pt as Be, q as Ve, r as He, rt as Ue, s as We, st as Ge, t as Ke, tt as qe, u as Je, ut as M, v as N, vt as Ye, w as Xe, x as Ze, y as Qe, yt as P, z as $e } from "./exports-BWEh5Wje.js";
|
|
12
|
+
import { t as et } from "./react-VoeHpohi.js";
|
|
13
13
|
//#region src/tools/report-error.ts
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
|
|
14
|
+
var tt;
|
|
15
|
+
function nt(e) {
|
|
16
|
+
tt || e.filename.indexOf("expofp.com") === -1 || [
|
|
17
17
|
/loading chunk \d{1,2}\b/i,
|
|
18
18
|
/zaloJS/i,
|
|
19
19
|
/e.target.name/i,
|
|
20
20
|
/ResizeObserver loop/i,
|
|
21
21
|
/ChunkLoadError/i,
|
|
22
22
|
/FloorPlan not ready/i
|
|
23
|
-
].some((t) => t.test(e.message)) || (
|
|
23
|
+
].some((t) => t.test(e.message)) || (tt = window.setTimeout(async function() {
|
|
24
24
|
var t;
|
|
25
25
|
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
26
26
|
host: document.location.host,
|
|
@@ -36,10 +36,10 @@ function et(e) {
|
|
|
36
36
|
url: document.location,
|
|
37
37
|
subject: "FP JS error: " + document.location.host
|
|
38
38
|
};
|
|
39
|
-
s.info("Sending error report", r), await Promise.all([
|
|
39
|
+
s.info("Sending error report", r), await Promise.all([rt(r), it(r)]);
|
|
40
40
|
}, 2e3));
|
|
41
41
|
}
|
|
42
|
-
async function
|
|
42
|
+
async function rt(e) {
|
|
43
43
|
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
44
44
|
method: "POST",
|
|
45
45
|
headers: { "Content-Type": "application/json" },
|
|
@@ -47,15 +47,15 @@ async function tt(e) {
|
|
|
47
47
|
});
|
|
48
48
|
s.log("Reporter response: ", await t.text());
|
|
49
49
|
}
|
|
50
|
-
async function
|
|
51
|
-
let t =
|
|
50
|
+
async function it(e) {
|
|
51
|
+
let t = at(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
52
52
|
method: "POST",
|
|
53
53
|
headers: { "Content-Type": "application/json" },
|
|
54
54
|
body: JSON.stringify(t)
|
|
55
55
|
});
|
|
56
56
|
s.log("Slack reporter response: ", await n.text());
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function at(e) {
|
|
59
59
|
let t = JSON.parse(JSON.stringify(e));
|
|
60
60
|
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
61
61
|
let n = [];
|
|
@@ -81,7 +81,7 @@ function rt(e) {
|
|
|
81
81
|
}
|
|
82
82
|
//#endregion
|
|
83
83
|
//#region src/utils/loadCustomCss.ts
|
|
84
|
-
async function
|
|
84
|
+
async function ot(e, t) {
|
|
85
85
|
if (e != null && e.customCss) {
|
|
86
86
|
let r = document.createElement("style");
|
|
87
87
|
r.textContent = e.customCss, t.append(r), await n(e.customCss);
|
|
@@ -89,7 +89,7 @@ async function it(e, t) {
|
|
|
89
89
|
}
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/utils/loadIcons.ts
|
|
92
|
-
async function
|
|
92
|
+
async function st(e) {
|
|
93
93
|
try {
|
|
94
94
|
(await Promise.allSettled(Object.entries({
|
|
95
95
|
departure: "icons/departure.svg",
|
|
@@ -107,7 +107,7 @@ async function at(e) {
|
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/utils/mergeExhibitors.ts
|
|
110
|
-
function
|
|
110
|
+
function ct(e, t) {
|
|
111
111
|
t.exhibitors.forEach((t) => {
|
|
112
112
|
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
113
113
|
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
@@ -115,118 +115,118 @@ function ot(e, t) {
|
|
|
115
115
|
}
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region src/utils/use-shadow.ts
|
|
118
|
-
var
|
|
119
|
-
function
|
|
120
|
-
return
|
|
121
|
-
let n =
|
|
118
|
+
var lt, ut = typeof document < "u" && !!((lt = document.body) != null && lt.attachShadow) && u && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: F, protocol: dt } = window.location, ft = F === "localhost" || F === "127.0.0.1" || F === "::1" || F.startsWith("192.168.") || F.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(F) || F.endsWith(".local") || dt === "file:" || F === "", I = {}, pt = {};
|
|
119
|
+
function L(e, t) {
|
|
120
|
+
return I[e] = I[e] || [], I[e].push(t), () => {
|
|
121
|
+
let n = I[e];
|
|
122
122
|
if (n) {
|
|
123
123
|
let e = n.indexOf(t);
|
|
124
124
|
e !== -1 && n.splice(e, 1);
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
if (!
|
|
130
|
-
|
|
128
|
+
function R(e, t) {
|
|
129
|
+
if (!pt[e]) {
|
|
130
|
+
pt[e] = !0;
|
|
131
131
|
try {
|
|
132
132
|
t();
|
|
133
133
|
} catch (t) {
|
|
134
|
-
|
|
134
|
+
D && A.error(`Error while instrumenting ${e}`, t);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
let n = e &&
|
|
138
|
+
function z(e, t) {
|
|
139
|
+
let n = e && I[e];
|
|
140
140
|
if (n) for (let r of n) try {
|
|
141
141
|
r(t);
|
|
142
142
|
} catch (t) {
|
|
143
|
-
|
|
143
|
+
D && A.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${M(r)}\nError:`, t);
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
//#endregion
|
|
147
147
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
148
|
-
var
|
|
149
|
-
function
|
|
148
|
+
var mt = null;
|
|
149
|
+
function ht(e) {
|
|
150
150
|
let t = "error";
|
|
151
|
-
|
|
151
|
+
L(t, e), R(t, gt);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
155
|
-
return
|
|
153
|
+
function gt() {
|
|
154
|
+
mt = P.onerror, P.onerror = function(e, t, n, r, i) {
|
|
155
|
+
return z("error", {
|
|
156
156
|
column: r,
|
|
157
157
|
error: i,
|
|
158
158
|
line: n,
|
|
159
159
|
msg: e,
|
|
160
160
|
url: t
|
|
161
|
-
}),
|
|
162
|
-
},
|
|
161
|
+
}), mt ? mt.apply(this, arguments) : !1;
|
|
162
|
+
}, P.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
163
163
|
}
|
|
164
164
|
//#endregion
|
|
165
165
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
166
|
-
var
|
|
167
|
-
function
|
|
166
|
+
var _t = null;
|
|
167
|
+
function vt(e) {
|
|
168
168
|
let t = "unhandledrejection";
|
|
169
|
-
|
|
169
|
+
L(t, e), R(t, yt);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
172
|
-
|
|
173
|
-
return
|
|
174
|
-
},
|
|
171
|
+
function yt() {
|
|
172
|
+
_t = P.onunhandledrejection, P.onunhandledrejection = function(e) {
|
|
173
|
+
return z("unhandledrejection", e), _t ? _t.apply(this, arguments) : !0;
|
|
174
|
+
}, P.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
175
175
|
}
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
178
|
-
function
|
|
178
|
+
function bt(e) {
|
|
179
179
|
if (typeof e == "boolean") return Number(e);
|
|
180
180
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
181
181
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
182
182
|
}
|
|
183
183
|
//#endregion
|
|
184
184
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
185
|
-
function
|
|
186
|
-
|
|
185
|
+
function xt(e) {
|
|
186
|
+
A.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function St(e, t) {
|
|
189
189
|
if (!(t != null && t.length)) return !1;
|
|
190
190
|
for (let n of t) {
|
|
191
|
-
if (
|
|
192
|
-
if (e.description &&
|
|
191
|
+
if (Tt(n)) {
|
|
192
|
+
if (e.description && w(e.description, n)) return D && xt(e), !0;
|
|
193
193
|
continue;
|
|
194
194
|
}
|
|
195
195
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
196
196
|
if (!n.name && !n.op && !t) continue;
|
|
197
|
-
let r = n.name ? e.description &&
|
|
197
|
+
let r = n.name ? e.description && w(e.description, n.name) : !0, i = n.op ? e.op && w(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
198
198
|
var r;
|
|
199
|
-
return
|
|
199
|
+
return Ct((r = e.attributes) == null ? void 0 : r[t], n);
|
|
200
200
|
}) : !0;
|
|
201
|
-
if (r && i && a) return
|
|
201
|
+
if (r && i && a) return D && xt(e), !0;
|
|
202
202
|
}
|
|
203
203
|
return !1;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
205
|
+
function Ct(e, t) {
|
|
206
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? w(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function wt(e, t) {
|
|
209
209
|
let n = t.parent_span_id, r = t.span_id;
|
|
210
210
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Tt(e) {
|
|
213
213
|
return typeof e == "string" || e instanceof RegExp;
|
|
214
214
|
}
|
|
215
215
|
//#endregion
|
|
216
216
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
217
|
-
function
|
|
217
|
+
function Et(e) {
|
|
218
218
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
219
219
|
}
|
|
220
220
|
//#endregion
|
|
221
221
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
222
|
-
function
|
|
222
|
+
function B(e, t = []) {
|
|
223
223
|
return [e, t];
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Dt(e, t) {
|
|
226
226
|
let [n, r] = e;
|
|
227
227
|
return [n, [...r, t]];
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Ot(e, t) {
|
|
230
230
|
let n = e[1];
|
|
231
231
|
for (let e of n) {
|
|
232
232
|
let n = e[0].type;
|
|
@@ -234,17 +234,17 @@ function Et(e, t) {
|
|
|
234
234
|
}
|
|
235
235
|
return !1;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
return
|
|
237
|
+
function kt(e, t) {
|
|
238
|
+
return Ot(e, (e, n) => t.includes(n));
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
let t =
|
|
240
|
+
function At(e) {
|
|
241
|
+
let t = _e(P);
|
|
242
242
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function jt(e) {
|
|
245
245
|
let [t, n] = e, r = JSON.stringify(t);
|
|
246
246
|
function i(e) {
|
|
247
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
247
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [At(r), e] : r.push(typeof e == "string" ? At(e) : e);
|
|
248
248
|
}
|
|
249
249
|
for (let e of n) {
|
|
250
250
|
let [t, n] = e;
|
|
@@ -254,20 +254,20 @@ function kt(e) {
|
|
|
254
254
|
try {
|
|
255
255
|
e = JSON.stringify(n);
|
|
256
256
|
} catch {
|
|
257
|
-
e = JSON.stringify(
|
|
257
|
+
e = JSON.stringify(Ee(n));
|
|
258
258
|
}
|
|
259
259
|
i(e);
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
|
-
return typeof r == "string" ? r :
|
|
262
|
+
return typeof r == "string" ? r : Mt(r);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function Mt(e) {
|
|
265
265
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
266
266
|
for (let t of e) n.set(t, r), r += t.length;
|
|
267
267
|
return n;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
let t = typeof e.data == "string" ?
|
|
269
|
+
function Nt(e) {
|
|
270
|
+
let t = typeof e.data == "string" ? At(e.data) : e.data;
|
|
271
271
|
return [{
|
|
272
272
|
type: "attachment",
|
|
273
273
|
length: t.length,
|
|
@@ -276,7 +276,7 @@ function jt(e) {
|
|
|
276
276
|
attachment_type: e.attachmentType
|
|
277
277
|
}, t];
|
|
278
278
|
}
|
|
279
|
-
var
|
|
279
|
+
var Pt = {
|
|
280
280
|
sessions: "session",
|
|
281
281
|
event: "error",
|
|
282
282
|
client_report: "internal",
|
|
@@ -289,13 +289,13 @@ var Mt = {
|
|
|
289
289
|
log: "log_item",
|
|
290
290
|
trace_metric: "metric"
|
|
291
291
|
};
|
|
292
|
-
function
|
|
293
|
-
return e in
|
|
292
|
+
function Ft(e) {
|
|
293
|
+
return e in Pt;
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
return
|
|
295
|
+
function It(e) {
|
|
296
|
+
return Ft(e) ? Pt[e] : e;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Lt(e) {
|
|
299
299
|
if (!(e != null && e.sdk)) return;
|
|
300
300
|
let { name: t, version: n } = e.sdk;
|
|
301
301
|
return {
|
|
@@ -303,20 +303,20 @@ function Ft(e) {
|
|
|
303
303
|
version: n
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function Rt(e, t, n, r) {
|
|
307
307
|
var i;
|
|
308
308
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
309
309
|
return {
|
|
310
310
|
event_id: e.event_id,
|
|
311
311
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
312
312
|
...t && { sdk: t },
|
|
313
|
-
...!!n && r && { dsn:
|
|
313
|
+
...!!n && r && { dsn: N(r) },
|
|
314
314
|
...a && { trace: a }
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
317
|
//#endregion
|
|
318
318
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
319
|
-
function
|
|
319
|
+
function zt(e, t) {
|
|
320
320
|
var n, r, i, a;
|
|
321
321
|
if (!t) return e;
|
|
322
322
|
let o = e.sdk || {};
|
|
@@ -332,47 +332,47 @@ function Lt(e, t) {
|
|
|
332
332
|
} : void 0
|
|
333
333
|
}, e;
|
|
334
334
|
}
|
|
335
|
-
function
|
|
336
|
-
let i =
|
|
337
|
-
return
|
|
335
|
+
function Bt(e, t, n, r) {
|
|
336
|
+
let i = Lt(n);
|
|
337
|
+
return B({
|
|
338
338
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
339
339
|
...i && { sdk: i },
|
|
340
|
-
...!!r && t && { dsn:
|
|
340
|
+
...!!r && t && { dsn: N(t) }
|
|
341
341
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
let i =
|
|
345
|
-
|
|
346
|
-
let o =
|
|
347
|
-
return delete e.sdkProcessingMetadata,
|
|
343
|
+
function Vt(e, t, n, r) {
|
|
344
|
+
let i = Lt(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
345
|
+
zt(e, n == null ? void 0 : n.sdk);
|
|
346
|
+
let o = Rt(e, i, r, t);
|
|
347
|
+
return delete e.sdkProcessingMetadata, B(o, [[{ type: a }, e]]);
|
|
348
348
|
}
|
|
349
349
|
//#endregion
|
|
350
350
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
351
|
-
function
|
|
351
|
+
function Ht(e, t) {
|
|
352
352
|
var n;
|
|
353
353
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
354
354
|
Object.entries(t).forEach(([e, t]) => {
|
|
355
355
|
t != null && !(e in r) && (r[e] = t);
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function Ut(e) {
|
|
359
359
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
360
360
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
361
361
|
}
|
|
362
|
-
function
|
|
363
|
-
return `${
|
|
362
|
+
function Wt(e) {
|
|
363
|
+
return `${Ut(e)}${e.projectId}/envelope/`;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Gt(e, t) {
|
|
366
366
|
let n = { sentry_version: "7" };
|
|
367
367
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
return t || `${
|
|
369
|
+
function Kt(e, t, n) {
|
|
370
|
+
return t || `${Wt(e)}?${Gt(e, n)}`;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
let n =
|
|
372
|
+
function qt(e, t) {
|
|
373
|
+
let n = Qe(e);
|
|
374
374
|
if (!n) return "";
|
|
375
|
-
let r = `${
|
|
375
|
+
let r = `${Ut(n)}embed/error-page/`, i = `dsn=${N(n)}`;
|
|
376
376
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
377
377
|
let e = t.user;
|
|
378
378
|
if (!e) continue;
|
|
@@ -382,15 +382,15 @@ function Gt(e, t) {
|
|
|
382
382
|
}
|
|
383
383
|
//#endregion
|
|
384
384
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/integration.js
|
|
385
|
-
var
|
|
386
|
-
function
|
|
385
|
+
var Jt = [];
|
|
386
|
+
function Yt(e) {
|
|
387
387
|
let t = {};
|
|
388
388
|
return e.forEach((e) => {
|
|
389
389
|
let { name: n } = e, r = t[n];
|
|
390
390
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
391
391
|
}), Object.values(t);
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Xt(e) {
|
|
394
394
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
395
395
|
t.forEach((e) => {
|
|
396
396
|
e.isDefaultInstance = !0;
|
|
@@ -401,25 +401,25 @@ function Jt(e) {
|
|
|
401
401
|
let e = n(t);
|
|
402
402
|
r = Array.isArray(e) ? e : [e];
|
|
403
403
|
} else r = t;
|
|
404
|
-
return
|
|
404
|
+
return Yt(r);
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function Zt(e, t) {
|
|
407
407
|
let n = {};
|
|
408
408
|
return t.forEach((t) => {
|
|
409
409
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
410
410
|
}), t.forEach((t) => {
|
|
411
|
-
t &&
|
|
411
|
+
t && $t(e, t, n);
|
|
412
412
|
}), n;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function Qt(e, t) {
|
|
415
415
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function $t(e, t, n) {
|
|
418
418
|
if (n[t.name]) {
|
|
419
|
-
|
|
419
|
+
D && A.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
420
420
|
return;
|
|
421
421
|
}
|
|
422
|
-
if (n[t.name] = t, !
|
|
422
|
+
if (n[t.name] = t, !Jt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Jt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
423
423
|
let n = t.preprocessEvent.bind(t);
|
|
424
424
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
425
425
|
}
|
|
@@ -430,82 +430,82 @@ function Zt(e, t, n) {
|
|
|
430
430
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
431
431
|
let r = t[n];
|
|
432
432
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
433
|
-
}),
|
|
433
|
+
}), D && A.log(`Integration installed: ${t.name}`);
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function V(e) {
|
|
436
436
|
return e;
|
|
437
437
|
}
|
|
438
438
|
//#endregion
|
|
439
439
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
440
|
-
function
|
|
440
|
+
function en(e) {
|
|
441
441
|
return [{
|
|
442
442
|
type: "log",
|
|
443
443
|
item_count: e.length,
|
|
444
444
|
content_type: "application/vnd.sentry.items.log+json"
|
|
445
445
|
}, { items: e }];
|
|
446
446
|
}
|
|
447
|
-
function
|
|
447
|
+
function tn(e, t, n, r) {
|
|
448
448
|
let i = {};
|
|
449
449
|
return t != null && t.sdk && (i.sdk = {
|
|
450
450
|
name: t.sdk.name,
|
|
451
451
|
version: t.sdk.version
|
|
452
|
-
}), n && r && (i.dsn =
|
|
452
|
+
}), n && r && (i.dsn = N(r)), B(i, [en(e)]);
|
|
453
453
|
}
|
|
454
454
|
//#endregion
|
|
455
455
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
456
|
-
function
|
|
456
|
+
function nn(e, t) {
|
|
457
457
|
var n;
|
|
458
|
-
let r = (n = t == null ?
|
|
458
|
+
let r = (n = t == null ? rn(e) : t) == null ? [] : n;
|
|
459
459
|
if (r.length === 0) return;
|
|
460
|
-
let i = e.getOptions(), a =
|
|
461
|
-
|
|
460
|
+
let i = e.getOptions(), a = tn(r, i._metadata, i.tunnel, e.getDsn());
|
|
461
|
+
an().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
462
462
|
}
|
|
463
|
-
function
|
|
464
|
-
return
|
|
463
|
+
function rn(e) {
|
|
464
|
+
return an().get(e);
|
|
465
465
|
}
|
|
466
|
-
function
|
|
467
|
-
return
|
|
466
|
+
function an() {
|
|
467
|
+
return ke("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
468
468
|
}
|
|
469
469
|
//#endregion
|
|
470
470
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
471
|
-
function
|
|
471
|
+
function on(e) {
|
|
472
472
|
return [{
|
|
473
473
|
type: "trace_metric",
|
|
474
474
|
item_count: e.length,
|
|
475
475
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
476
476
|
}, { items: e }];
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function sn(e, t, n, r) {
|
|
479
479
|
let i = {};
|
|
480
480
|
return t != null && t.sdk && (i.sdk = {
|
|
481
481
|
name: t.sdk.name,
|
|
482
482
|
version: t.sdk.version
|
|
483
|
-
}), n && r && (i.dsn =
|
|
483
|
+
}), n && r && (i.dsn = N(r)), B(i, [on(e)]);
|
|
484
484
|
}
|
|
485
485
|
//#endregion
|
|
486
486
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
487
|
-
function
|
|
487
|
+
function cn(e, t) {
|
|
488
488
|
var n;
|
|
489
|
-
let r = (n = t == null ?
|
|
489
|
+
let r = (n = t == null ? ln(e) : t) == null ? [] : n;
|
|
490
490
|
if (r.length === 0) return;
|
|
491
|
-
let i = e.getOptions(), a =
|
|
492
|
-
|
|
491
|
+
let i = e.getOptions(), a = sn(r, i._metadata, i.tunnel, e.getDsn());
|
|
492
|
+
un().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
return
|
|
494
|
+
function ln(e) {
|
|
495
|
+
return un().get(e);
|
|
496
496
|
}
|
|
497
|
-
function
|
|
498
|
-
return
|
|
497
|
+
function un() {
|
|
498
|
+
return ke("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
499
499
|
}
|
|
500
500
|
//#endregion
|
|
501
501
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
502
|
-
function
|
|
502
|
+
function dn(e) {
|
|
503
503
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
504
504
|
}
|
|
505
505
|
//#endregion
|
|
506
506
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
507
|
-
var
|
|
508
|
-
function
|
|
507
|
+
var fn = Symbol.for("SentryBufferFullError");
|
|
508
|
+
function pn(e = 100) {
|
|
509
509
|
let t = /* @__PURE__ */ new Set();
|
|
510
510
|
function n() {
|
|
511
511
|
return t.size < e;
|
|
@@ -514,15 +514,15 @@ function dn(e = 100) {
|
|
|
514
514
|
t.delete(e);
|
|
515
515
|
}
|
|
516
516
|
function i(e) {
|
|
517
|
-
if (!n()) return
|
|
517
|
+
if (!n()) return Je(fn);
|
|
518
518
|
let i = e();
|
|
519
519
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
520
520
|
}
|
|
521
521
|
function a(e) {
|
|
522
|
-
if (!t.size) return
|
|
522
|
+
if (!t.size) return Ce(!0);
|
|
523
523
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
524
524
|
if (!e) return n;
|
|
525
|
-
let r = [n, new Promise((t) =>
|
|
525
|
+
let r = [n, new Promise((t) => dn(setTimeout(() => t(!1), e)))];
|
|
526
526
|
return Promise.race(r);
|
|
527
527
|
}
|
|
528
528
|
return {
|
|
@@ -535,50 +535,50 @@ function dn(e = 100) {
|
|
|
535
535
|
}
|
|
536
536
|
//#endregion
|
|
537
537
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
538
|
-
var
|
|
539
|
-
function
|
|
538
|
+
var mn = 60 * 1e3;
|
|
539
|
+
function hn(e, t = h()) {
|
|
540
540
|
let n = parseInt(`${e}`, 10);
|
|
541
541
|
if (!isNaN(n)) return n * 1e3;
|
|
542
542
|
let r = Date.parse(`${e}`);
|
|
543
|
-
return isNaN(r) ?
|
|
543
|
+
return isNaN(r) ? mn : r - t;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function gn(e, t) {
|
|
546
546
|
return e[t] || e.all || 0;
|
|
547
547
|
}
|
|
548
|
-
function
|
|
549
|
-
return
|
|
548
|
+
function _n(e, t, n = h()) {
|
|
549
|
+
return gn(e, t) > n;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function vn(e, { statusCode: t, headers: n }, r = h()) {
|
|
552
552
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
553
553
|
if (a) for (let e of a.trim().split(",")) {
|
|
554
554
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
555
555
|
if (!n) i.all = r + s;
|
|
556
556
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
557
557
|
}
|
|
558
|
-
else o ? i.all = r +
|
|
558
|
+
else o ? i.all = r + hn(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
559
559
|
return i;
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function yn(e, t, n = pn(e.bufferSize || 64)) {
|
|
562
562
|
let r = {}, i = (e) => n.drain(e);
|
|
563
563
|
function a(i) {
|
|
564
564
|
let a = [];
|
|
565
|
-
if (
|
|
566
|
-
let i =
|
|
567
|
-
|
|
565
|
+
if (Ot(i, (t, n) => {
|
|
566
|
+
let i = It(n);
|
|
567
|
+
_n(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
568
568
|
}), a.length === 0) return Promise.resolve({});
|
|
569
|
-
let o =
|
|
570
|
-
if (
|
|
571
|
-
|
|
569
|
+
let o = B(i[0], a), s = (t) => {
|
|
570
|
+
if (kt(o, ["client_report"])) {
|
|
571
|
+
D && A.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
572
572
|
return;
|
|
573
573
|
}
|
|
574
|
-
|
|
575
|
-
e.recordDroppedEvent(t,
|
|
574
|
+
Ot(o, (n, r) => {
|
|
575
|
+
e.recordDroppedEvent(t, It(r));
|
|
576
576
|
});
|
|
577
577
|
};
|
|
578
|
-
return n.add(() => t({ body:
|
|
579
|
-
throw s("network_error"),
|
|
578
|
+
return n.add(() => t({ body: jt(o) }).then((e) => e.statusCode === 413 ? (D && A.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (D && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && A.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = vn(r, e), e), (e) => {
|
|
579
|
+
throw s("network_error"), D && A.error("Encountered error running transport request:", e), e;
|
|
580
580
|
})).then((e) => e, (e) => {
|
|
581
|
-
if (e ===
|
|
581
|
+
if (e === fn) return D && A.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
582
582
|
throw e;
|
|
583
583
|
});
|
|
584
584
|
}
|
|
@@ -589,16 +589,16 @@ function _n(e, t, n = dn(e.bufferSize || 64)) {
|
|
|
589
589
|
}
|
|
590
590
|
//#endregion
|
|
591
591
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
592
|
-
function
|
|
592
|
+
function bn(e, t, n) {
|
|
593
593
|
let r = [{ type: "client_report" }, {
|
|
594
594
|
timestamp: n || m(),
|
|
595
595
|
discarded_events: e
|
|
596
596
|
}];
|
|
597
|
-
return
|
|
597
|
+
return B(t ? { dsn: t } : {}, [r]);
|
|
598
598
|
}
|
|
599
599
|
//#endregion
|
|
600
600
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
601
|
-
function
|
|
601
|
+
function xn(e) {
|
|
602
602
|
let t = [];
|
|
603
603
|
e.message && t.push(e.message);
|
|
604
604
|
try {
|
|
@@ -609,7 +609,7 @@ function yn(e) {
|
|
|
609
609
|
}
|
|
610
610
|
//#endregion
|
|
611
611
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
612
|
-
function
|
|
612
|
+
function Sn(e) {
|
|
613
613
|
var t, n, r;
|
|
614
614
|
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;
|
|
615
615
|
return {
|
|
@@ -623,13 +623,13 @@ function bn(e) {
|
|
|
623
623
|
timestamp: e.timestamp,
|
|
624
624
|
trace_id: i == null ? "" : i,
|
|
625
625
|
origin: c,
|
|
626
|
-
profile_id: l == null ? void 0 : l[
|
|
627
|
-
exclusive_time: l == null ? void 0 : l[
|
|
626
|
+
profile_id: l == null ? void 0 : l[le],
|
|
627
|
+
exclusive_time: l == null ? void 0 : l[Ze],
|
|
628
628
|
measurements: e.measurements,
|
|
629
629
|
is_segment: !0
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function Cn(e) {
|
|
633
633
|
return {
|
|
634
634
|
type: "transaction",
|
|
635
635
|
timestamp: e.timestamp,
|
|
@@ -653,42 +653,42 @@ function xn(e) {
|
|
|
653
653
|
}
|
|
654
654
|
//#endregion
|
|
655
655
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/client.js
|
|
656
|
-
var
|
|
657
|
-
function
|
|
656
|
+
var wn = "Not capturing exception because it's already been captured.", Tn = "Discarded session because of missing or non-string release", En = Symbol.for("SentryInternalError"), Dn = Symbol.for("SentryDoNotSendEventError"), On = 5e3;
|
|
657
|
+
function H(e) {
|
|
658
658
|
return {
|
|
659
659
|
message: e,
|
|
660
|
-
[
|
|
660
|
+
[En]: !0
|
|
661
661
|
};
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function kn(e) {
|
|
664
664
|
return {
|
|
665
665
|
message: e,
|
|
666
|
-
[
|
|
666
|
+
[Dn]: !0
|
|
667
667
|
};
|
|
668
668
|
}
|
|
669
|
-
function
|
|
670
|
-
return !!e && typeof e == "object" &&
|
|
669
|
+
function An(e) {
|
|
670
|
+
return !!e && typeof e == "object" && En in e;
|
|
671
671
|
}
|
|
672
|
-
function
|
|
673
|
-
return !!e && typeof e == "object" &&
|
|
672
|
+
function jn(e) {
|
|
673
|
+
return !!e && typeof e == "object" && Dn in e;
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function Mn(e, t, n, r, i) {
|
|
676
676
|
let a = 0, o, s = !1;
|
|
677
677
|
e.on(n, () => {
|
|
678
678
|
a = 0, clearTimeout(o), s = !1;
|
|
679
679
|
}), e.on(t, (t) => {
|
|
680
|
-
a += r(t), a >= 8e5 ? i(e) : s || (s = !0, o =
|
|
680
|
+
a += r(t), a >= 8e5 ? i(e) : s || (s = !0, o = dn(setTimeout(() => {
|
|
681
681
|
i(e);
|
|
682
|
-
},
|
|
682
|
+
}, On)));
|
|
683
683
|
}), e.on("flush", () => {
|
|
684
684
|
i(e);
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var Nn = class {
|
|
688
688
|
constructor(e) {
|
|
689
689
|
var t, n, r, i, a, o, s;
|
|
690
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
691
|
-
let t =
|
|
690
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = pn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), e.dsn ? this._dsn = Qe(e.dsn) : D && A.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
691
|
+
let t = Kt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
692
692
|
this._transport = e.transport({
|
|
693
693
|
tunnel: this._options.tunnel,
|
|
694
694
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -696,11 +696,11 @@ var jn = class {
|
|
|
696
696
|
url: t
|
|
697
697
|
});
|
|
698
698
|
}
|
|
699
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
699
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Mn(this, "afterCaptureLog", "flushLogs", Bn, nn), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Mn(this, "afterCaptureMetric", "flushMetrics", zn, cn);
|
|
700
700
|
}
|
|
701
701
|
captureException(e, t, n) {
|
|
702
702
|
let r = S();
|
|
703
|
-
if (
|
|
703
|
+
if (oe(e)) return D && A.log(wn), r;
|
|
704
704
|
let i = {
|
|
705
705
|
event_id: r,
|
|
706
706
|
...t
|
|
@@ -711,20 +711,20 @@ var jn = class {
|
|
|
711
711
|
let i = {
|
|
712
712
|
event_id: S(),
|
|
713
713
|
...n
|
|
714
|
-
}, a =
|
|
714
|
+
}, a = Le(e) ? e : String(e), o = O(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
715
715
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
716
716
|
}
|
|
717
717
|
captureEvent(e, t, n) {
|
|
718
718
|
let r = S();
|
|
719
|
-
if (t != null && t.originalException &&
|
|
719
|
+
if (t != null && t.originalException && oe(t.originalException)) return D && A.log(wn), r;
|
|
720
720
|
let i = {
|
|
721
721
|
event_id: r,
|
|
722
722
|
...t
|
|
723
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
723
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Pn(e.type);
|
|
724
724
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
725
725
|
}
|
|
726
726
|
captureSession(e) {
|
|
727
|
-
this.sendSession(e),
|
|
727
|
+
this.sendSession(e), Me(e, { init: !1 });
|
|
728
728
|
}
|
|
729
729
|
getDsn() {
|
|
730
730
|
return this._dsn;
|
|
@@ -746,7 +746,7 @@ var jn = class {
|
|
|
746
746
|
return n && r;
|
|
747
747
|
}
|
|
748
748
|
async close(e) {
|
|
749
|
-
|
|
749
|
+
nn(this);
|
|
750
750
|
let t = await this.flush(e);
|
|
751
751
|
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
752
752
|
}
|
|
@@ -764,38 +764,38 @@ var jn = class {
|
|
|
764
764
|
}
|
|
765
765
|
addIntegration(e) {
|
|
766
766
|
let t = this._integrations[e.name];
|
|
767
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
767
|
+
!t && e.beforeSetup && e.beforeSetup(this), $t(this, e, this._integrations), t || Qt(this, [e]);
|
|
768
768
|
}
|
|
769
769
|
sendEvent(e, t = {}) {
|
|
770
770
|
this.emit("beforeSendEvent", e, t);
|
|
771
|
-
let n =
|
|
772
|
-
for (let e of t.attachments || []) n =
|
|
771
|
+
let n = Vt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
772
|
+
for (let e of t.attachments || []) n = Dt(n, Nt(e));
|
|
773
773
|
this.sendEnvelope(n).then((t) => this.emit("afterSendEvent", e, t));
|
|
774
774
|
}
|
|
775
775
|
sendSession(e) {
|
|
776
|
-
let { release: t, environment: n =
|
|
776
|
+
let { release: t, environment: n = Ae } = this._options;
|
|
777
777
|
if ("aggregates" in e) {
|
|
778
778
|
let r = e.attrs || {};
|
|
779
779
|
if (!r.release && !t) {
|
|
780
|
-
|
|
780
|
+
D && A.warn(Tn);
|
|
781
781
|
return;
|
|
782
782
|
}
|
|
783
783
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
784
784
|
} else {
|
|
785
785
|
if (!e.release && !t) {
|
|
786
|
-
|
|
786
|
+
D && A.warn(Tn);
|
|
787
787
|
return;
|
|
788
788
|
}
|
|
789
789
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
790
790
|
}
|
|
791
791
|
this.emit("beforeSendSession", e);
|
|
792
|
-
let r =
|
|
792
|
+
let r = Bt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
793
793
|
this.sendEnvelope(r);
|
|
794
794
|
}
|
|
795
795
|
recordDroppedEvent(e, t, n = 1) {
|
|
796
796
|
if (this._options.sendClientReports) {
|
|
797
797
|
let r = `${e}:${t}`;
|
|
798
|
-
|
|
798
|
+
D && A.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
799
799
|
}
|
|
800
800
|
}
|
|
801
801
|
on(e, t) {
|
|
@@ -812,15 +812,15 @@ var jn = class {
|
|
|
812
812
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
813
813
|
return await this._transport.send(e);
|
|
814
814
|
} catch (e) {
|
|
815
|
-
return
|
|
815
|
+
return D && A.error("Error while sending envelope:", e), {};
|
|
816
816
|
}
|
|
817
|
-
return
|
|
817
|
+
return D && A.error("Transport disabled"), {};
|
|
818
818
|
}
|
|
819
819
|
registerCleanup(e) {}
|
|
820
820
|
dispose() {}
|
|
821
821
|
_setupIntegrations() {
|
|
822
822
|
let { integrations: e } = this._options;
|
|
823
|
-
this._integrations =
|
|
823
|
+
this._integrations = Zt(this, e), Qt(this, e);
|
|
824
824
|
}
|
|
825
825
|
_updateSessionFromEvent(e, t) {
|
|
826
826
|
var n;
|
|
@@ -836,7 +836,7 @@ var jn = class {
|
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
838
|
let s = e.status === "ok";
|
|
839
|
-
(s && e.errors === 0 || s && r) && (
|
|
839
|
+
(s && e.errors === 0 || s && r) && (Me(e, {
|
|
840
840
|
...r && { status: "crashed" },
|
|
841
841
|
errors: e.errors || Number(i || r)
|
|
842
842
|
}), this.captureSession(e));
|
|
@@ -854,7 +854,7 @@ var jn = class {
|
|
|
854
854
|
}
|
|
855
855
|
_prepareEvent(e, t, n, r) {
|
|
856
856
|
let i = this.getOptions(), a = Object.keys(this._integrations);
|
|
857
|
-
return !t.integrations && a != null && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
857
|
+
return !t.integrations && a != null && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), Ne(i, e, t, n, this, r).then((e) => {
|
|
858
858
|
var r;
|
|
859
859
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
860
860
|
trace: {
|
|
@@ -863,31 +863,31 @@ var jn = class {
|
|
|
863
863
|
},
|
|
864
864
|
...e.contexts
|
|
865
865
|
}, e.sdkProcessingMetadata = {
|
|
866
|
-
dynamicSamplingContext:
|
|
866
|
+
dynamicSamplingContext: Fe(this, n),
|
|
867
867
|
...e.sdkProcessingMetadata
|
|
868
868
|
}, e);
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
|
-
_captureEvent(e, t = {}, n =
|
|
872
|
-
return
|
|
873
|
-
|
|
871
|
+
_captureEvent(e, t = {}, n = Xe(), r = ue()) {
|
|
872
|
+
return D && Ln(e) && A.log(`Captured error event \`${xn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
873
|
+
D && (jn(e) ? A.log(e.message) : An(e) ? A.warn(e.message) : A.warn(e));
|
|
874
874
|
});
|
|
875
875
|
}
|
|
876
876
|
_processEvent(e, t, n, r) {
|
|
877
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
878
|
-
if (s && typeof l == "number" &&
|
|
879
|
-
let u =
|
|
877
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Rn(e), s = Ln(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : bt(a);
|
|
878
|
+
if (s && typeof l == "number" && fe() > l) return this.recordDroppedEvent("sample_rate", "error"), Je(kn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
879
|
+
let u = Pn(e.type);
|
|
880
880
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
881
881
|
var n;
|
|
882
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
883
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
882
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), kn("An event processor returned `null`, will not send event.");
|
|
883
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Fn(In(this, i, e, t), c);
|
|
884
884
|
}).then((i) => {
|
|
885
885
|
if (i === null) {
|
|
886
886
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
887
887
|
let t = 1 + (e.spans || []).length;
|
|
888
888
|
this.recordDroppedEvent("before_send", "span", t);
|
|
889
889
|
}
|
|
890
|
-
throw
|
|
890
|
+
throw kn(`${c} returned \`null\`, will not send event.`);
|
|
891
891
|
}
|
|
892
892
|
let a = n.getSession() || r.getSession();
|
|
893
893
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -901,18 +901,18 @@ var jn = class {
|
|
|
901
901
|
source: "custom"
|
|
902
902
|
}), this.sendEvent(i, t), i;
|
|
903
903
|
}).then(null, (e) => {
|
|
904
|
-
throw
|
|
904
|
+
throw jn(e) || An(e) ? e : (this.captureException(e, {
|
|
905
905
|
mechanism: {
|
|
906
906
|
handled: !1,
|
|
907
907
|
type: "internal"
|
|
908
908
|
},
|
|
909
909
|
data: { __sentry__: !0 },
|
|
910
910
|
originalException: e
|
|
911
|
-
}),
|
|
911
|
+
}), H(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`));
|
|
912
912
|
});
|
|
913
913
|
}
|
|
914
914
|
_process(e, t) {
|
|
915
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
915
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === fn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
916
916
|
}
|
|
917
917
|
_clearOutcomes() {
|
|
918
918
|
let e = this._outcomes;
|
|
@@ -926,64 +926,64 @@ var jn = class {
|
|
|
926
926
|
});
|
|
927
927
|
}
|
|
928
928
|
_flushOutcomes() {
|
|
929
|
-
|
|
929
|
+
D && A.log("Flushing outcomes...");
|
|
930
930
|
let e = this._clearOutcomes();
|
|
931
931
|
if (e.length === 0) {
|
|
932
|
-
|
|
932
|
+
D && A.log("No outcomes to send");
|
|
933
933
|
return;
|
|
934
934
|
}
|
|
935
935
|
if (!this._dsn) {
|
|
936
|
-
|
|
936
|
+
D && A.log("No dsn provided, will not send outcomes");
|
|
937
937
|
return;
|
|
938
938
|
}
|
|
939
|
-
|
|
940
|
-
let t =
|
|
939
|
+
D && A.log("Sending outcomes:", e);
|
|
940
|
+
let t = bn(e, this._options.tunnel && N(this._dsn));
|
|
941
941
|
this.sendEnvelope(t);
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
|
-
function
|
|
944
|
+
function Pn(e) {
|
|
945
945
|
return e === "replay_event" ? "replay" : e || "error";
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function Fn(e, t) {
|
|
948
948
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
949
|
-
if (
|
|
950
|
-
if (!
|
|
949
|
+
if (Ge(e)) return e.then((e) => {
|
|
950
|
+
if (!Ue(e) && e !== null) throw H(n);
|
|
951
951
|
return e;
|
|
952
952
|
}, (e) => {
|
|
953
|
-
throw
|
|
953
|
+
throw H(`${t} rejected with ${e}`);
|
|
954
954
|
});
|
|
955
|
-
if (!
|
|
955
|
+
if (!Ue(e) && e !== null) throw H(n);
|
|
956
956
|
return e;
|
|
957
957
|
}
|
|
958
|
-
function
|
|
959
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
960
|
-
if (
|
|
961
|
-
if (
|
|
958
|
+
function In(e, t, n, r) {
|
|
959
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !Et(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
960
|
+
if (Ln(c) && i) return i(c, r);
|
|
961
|
+
if (Rn(c)) {
|
|
962
962
|
if (s || o) {
|
|
963
|
-
let t =
|
|
964
|
-
if (o != null && o.length &&
|
|
963
|
+
let t = Sn(c);
|
|
964
|
+
if (o != null && o.length && St({
|
|
965
965
|
description: t.description,
|
|
966
966
|
op: t.op,
|
|
967
967
|
attributes: t.data
|
|
968
968
|
}, o)) return null;
|
|
969
969
|
if (s) {
|
|
970
970
|
let e = s(t);
|
|
971
|
-
e ? c =
|
|
971
|
+
e ? c = ae(n, Cn(e)) : Oe();
|
|
972
972
|
}
|
|
973
973
|
if (c.spans) {
|
|
974
974
|
let t = [], n = c.spans;
|
|
975
975
|
for (let e of n) {
|
|
976
|
-
if (o != null && o.length &&
|
|
976
|
+
if (o != null && o.length && St({
|
|
977
977
|
description: e.description,
|
|
978
978
|
op: e.op,
|
|
979
979
|
attributes: e.data
|
|
980
980
|
}, o)) {
|
|
981
|
-
|
|
981
|
+
wt(n, e);
|
|
982
982
|
continue;
|
|
983
983
|
}
|
|
984
984
|
if (s) {
|
|
985
985
|
let n = s(e);
|
|
986
|
-
n ? t.push(n) : (
|
|
986
|
+
n ? t.push(n) : (Oe(), t.push(e));
|
|
987
987
|
} else t.push(e);
|
|
988
988
|
}
|
|
989
989
|
let r = c.spans.length - t.length;
|
|
@@ -1003,64 +1003,64 @@ function Pn(e, t, n, r) {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
return c;
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1006
|
+
function Ln(e) {
|
|
1007
1007
|
return e.type === void 0;
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function Rn(e) {
|
|
1010
1010
|
return e.type === "transaction";
|
|
1011
1011
|
}
|
|
1012
|
-
function
|
|
1012
|
+
function zn(e) {
|
|
1013
1013
|
let t = 0;
|
|
1014
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1014
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Vn(e.attributes);
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function Bn(e) {
|
|
1017
1017
|
let t = 0;
|
|
1018
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1018
|
+
return e.message && (t += e.message.length * 2), t + Vn(e.attributes);
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1020
|
+
function Vn(e) {
|
|
1021
1021
|
if (!e) return 0;
|
|
1022
1022
|
let t = 0;
|
|
1023
1023
|
return Object.values(e).forEach((e) => {
|
|
1024
|
-
Array.isArray(e) ? t += e.length *
|
|
1024
|
+
Array.isArray(e) ? t += e.length * Hn(e[0]) : O(e) ? t += Hn(e) : t += 100;
|
|
1025
1025
|
}), t;
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function Hn(e) {
|
|
1028
1028
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1029
1029
|
}
|
|
1030
1030
|
//#endregion
|
|
1031
1031
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1032
|
-
function
|
|
1033
|
-
return
|
|
1032
|
+
function Un(e) {
|
|
1033
|
+
return se(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1036
|
-
return
|
|
1035
|
+
function Wn(e) {
|
|
1036
|
+
return Un(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1037
1037
|
}
|
|
1038
1038
|
//#endregion
|
|
1039
1039
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1040
|
-
function
|
|
1041
|
-
t.debug === !0 && (
|
|
1040
|
+
function Gn(e, t) {
|
|
1041
|
+
t.debug === !0 && (D ? A.enable() : Be(() => {
|
|
1042
1042
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1043
|
-
})),
|
|
1043
|
+
})), Xe().update(t.initialScope);
|
|
1044
1044
|
let n = new e(t);
|
|
1045
|
-
return
|
|
1045
|
+
return Kn(n), n.init(), n;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1048
|
-
|
|
1047
|
+
function Kn(e) {
|
|
1048
|
+
Xe().setClient(e);
|
|
1049
1049
|
}
|
|
1050
|
-
var
|
|
1051
|
-
function
|
|
1050
|
+
var qn = 5e3, Jn = 36e5;
|
|
1051
|
+
function Yn(e) {
|
|
1052
1052
|
function t(...e) {
|
|
1053
|
-
|
|
1053
|
+
D && A.log("[Offline]:", ...e);
|
|
1054
1054
|
}
|
|
1055
1055
|
return (n) => {
|
|
1056
1056
|
let r = e(n);
|
|
1057
1057
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1058
|
-
let i = n.createStore(n), a =
|
|
1058
|
+
let i = n.createStore(n), a = qn, o;
|
|
1059
1059
|
function s(e, t, r) {
|
|
1060
|
-
return
|
|
1060
|
+
return kt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1061
1061
|
}
|
|
1062
1062
|
function c(e) {
|
|
1063
|
-
o && clearTimeout(o), o =
|
|
1063
|
+
o && clearTimeout(o), o = dn(setTimeout(async () => {
|
|
1064
1064
|
o = void 0;
|
|
1065
1065
|
let e = await i.shift();
|
|
1066
1066
|
e && (t("Attempting to send previously queued event"), e[0].sent_at = (/* @__PURE__ */ new Date()).toISOString(), u(e, !0).catch((e) => {
|
|
@@ -1069,20 +1069,20 @@ function qn(e) {
|
|
|
1069
1069
|
}, e));
|
|
1070
1070
|
}
|
|
1071
1071
|
function l() {
|
|
1072
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1072
|
+
o || (c(a), a = Math.min(a * 2, Jn));
|
|
1073
1073
|
}
|
|
1074
1074
|
async function u(e, o = !1) {
|
|
1075
|
-
if (!o &&
|
|
1075
|
+
if (!o && kt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1076
1076
|
try {
|
|
1077
1077
|
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1078
1078
|
let t = await r.send(e), i = 100;
|
|
1079
1079
|
if (t) {
|
|
1080
1080
|
var u, d;
|
|
1081
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
1081
|
+
if ((u = t.headers) != null && u["retry-after"]) i = hn(t.headers["retry-after"]);
|
|
1082
1082
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1083
1083
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1084
1084
|
}
|
|
1085
|
-
return c(i), a =
|
|
1085
|
+
return c(i), a = qn, t;
|
|
1086
1086
|
} catch (n) {
|
|
1087
1087
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1088
1088
|
throw n;
|
|
@@ -1090,13 +1090,13 @@ function qn(e) {
|
|
|
1090
1090
|
}
|
|
1091
1091
|
return n.flushAtStartup && l(), {
|
|
1092
1092
|
send: u,
|
|
1093
|
-
flush: (e) => (e === void 0 && (a =
|
|
1093
|
+
flush: (e) => (e === void 0 && (a = qn, c(100)), r.flush(e))
|
|
1094
1094
|
};
|
|
1095
1095
|
};
|
|
1096
1096
|
}
|
|
1097
1097
|
//#endregion
|
|
1098
1098
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1099
|
-
function
|
|
1099
|
+
function Xn(e) {
|
|
1100
1100
|
if (!e) return {};
|
|
1101
1101
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1102
1102
|
if (!t) return {};
|
|
@@ -1110,7 +1110,7 @@ function Jn(e) {
|
|
|
1110
1110
|
relative: t[5] + n + r
|
|
1111
1111
|
};
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function Zn(e, t = !0) {
|
|
1114
1114
|
if (e.startsWith("data:")) {
|
|
1115
1115
|
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1116
1116
|
if (t && a !== -1) {
|
|
@@ -1123,7 +1123,7 @@ function Yn(e, t = !0) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
//#endregion
|
|
1125
1125
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1126
|
-
function
|
|
1126
|
+
function Qn(e) {
|
|
1127
1127
|
if ("aggregates" in e) {
|
|
1128
1128
|
var t;
|
|
1129
1129
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1134,44 +1134,44 @@ function Xn(e) {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
//#endregion
|
|
1136
1136
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1137
|
-
function
|
|
1137
|
+
function $n(e, t, n = [t], r = "npm") {
|
|
1138
1138
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1139
1139
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1140
1140
|
name: `${r}:@sentry/${e}`,
|
|
1141
|
-
version:
|
|
1142
|
-
})), i.version =
|
|
1141
|
+
version: Ye
|
|
1142
|
+
})), i.version = Ye);
|
|
1143
1143
|
}
|
|
1144
1144
|
//#endregion
|
|
1145
1145
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1146
|
-
var
|
|
1147
|
-
function
|
|
1148
|
-
let n = g(), r =
|
|
1146
|
+
var er = 100;
|
|
1147
|
+
function U(e, t) {
|
|
1148
|
+
let n = g(), r = ue();
|
|
1149
1149
|
if (!n) return;
|
|
1150
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1150
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = er } = n.getOptions();
|
|
1151
1151
|
if (a <= 0) return;
|
|
1152
1152
|
let o = {
|
|
1153
1153
|
timestamp: m(),
|
|
1154
1154
|
...e
|
|
1155
|
-
}, s = i ?
|
|
1155
|
+
}, s = i ? Be(() => i(o, t)) : o;
|
|
1156
1156
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1157
1157
|
}
|
|
1158
1158
|
//#endregion
|
|
1159
1159
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1160
|
-
var
|
|
1161
|
-
name:
|
|
1160
|
+
var tr, nr = "FunctionToString", rr = /* @__PURE__ */ new WeakMap(), ir = V((() => ({
|
|
1161
|
+
name: nr,
|
|
1162
1162
|
setupOnce() {
|
|
1163
|
-
|
|
1163
|
+
tr = Function.prototype.toString;
|
|
1164
1164
|
try {
|
|
1165
1165
|
Function.prototype.toString = function(...e) {
|
|
1166
|
-
let t = b(this), n =
|
|
1167
|
-
return
|
|
1166
|
+
let t = b(this), n = rr.has(g()) && t !== void 0 ? t : this;
|
|
1167
|
+
return tr.apply(n, e);
|
|
1168
1168
|
};
|
|
1169
1169
|
} catch {}
|
|
1170
1170
|
},
|
|
1171
1171
|
setup(e) {
|
|
1172
|
-
|
|
1172
|
+
rr.set(e, !0);
|
|
1173
1173
|
}
|
|
1174
|
-
}))),
|
|
1174
|
+
}))), ar = [
|
|
1175
1175
|
/^Script error\.?$/,
|
|
1176
1176
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1177
1177
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1183,120 +1183,120 @@ var $n, er = "FunctionToString", tr = /* @__PURE__ */ new WeakMap(), nr = U((()
|
|
|
1183
1183
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1184
1184
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1185
1185
|
/^Java exception was raised during method invocation$/
|
|
1186
|
-
],
|
|
1186
|
+
], or = "EventFilters", sr = V((e = {}) => {
|
|
1187
1187
|
let t;
|
|
1188
1188
|
return {
|
|
1189
|
-
name:
|
|
1189
|
+
name: or,
|
|
1190
1190
|
setup(n) {
|
|
1191
|
-
t =
|
|
1191
|
+
t = lr(e, n.getOptions());
|
|
1192
1192
|
},
|
|
1193
1193
|
processEvent(n, r, i) {
|
|
1194
|
-
return t || (t =
|
|
1194
|
+
return t || (t = lr(e, i.getOptions())), ur(n, t) ? null : n;
|
|
1195
1195
|
}
|
|
1196
1196
|
};
|
|
1197
|
-
}),
|
|
1198
|
-
...
|
|
1197
|
+
}), cr = V(((e = {}) => ({
|
|
1198
|
+
...sr(e),
|
|
1199
1199
|
name: "InboundFilters"
|
|
1200
1200
|
})));
|
|
1201
|
-
function
|
|
1201
|
+
function lr(e = {}, t = {}) {
|
|
1202
1202
|
return {
|
|
1203
1203
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1204
1204
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1205
1205
|
ignoreErrors: [
|
|
1206
1206
|
...e.ignoreErrors || [],
|
|
1207
1207
|
...t.ignoreErrors || [],
|
|
1208
|
-
...e.disableErrorDefaults ? [] :
|
|
1208
|
+
...e.disableErrorDefaults ? [] : ar
|
|
1209
1209
|
],
|
|
1210
1210
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function ur(e, t) {
|
|
1214
1214
|
if (!e.type) {
|
|
1215
|
-
if (
|
|
1216
|
-
if (
|
|
1217
|
-
if (
|
|
1218
|
-
if (!
|
|
1219
|
-
} else if (e.type === "transaction" &&
|
|
1215
|
+
if (dr(e, t.ignoreErrors)) return D && A.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${y(e)}`), !0;
|
|
1216
|
+
if (gr(e)) return D && A.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${y(e)}`), !0;
|
|
1217
|
+
if (pr(e, t.denyUrls)) return D && A.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${y(e)}.\nUrl: ${W(e)}`), !0;
|
|
1218
|
+
if (!mr(e, t.allowUrls)) return D && A.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${y(e)}.\nUrl: ${W(e)}`), !0;
|
|
1219
|
+
} else if (e.type === "transaction" && fr(e, t.ignoreTransactions)) return D && A.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${y(e)}`), !0;
|
|
1220
1220
|
return !1;
|
|
1221
1221
|
}
|
|
1222
|
-
function
|
|
1223
|
-
return t != null && t.length ?
|
|
1222
|
+
function dr(e, t) {
|
|
1223
|
+
return t != null && t.length ? xn(e).some((e) => $e(e, t)) : !1;
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function fr(e, t) {
|
|
1226
1226
|
if (!(t != null && t.length)) return !1;
|
|
1227
1227
|
let n = e.transaction;
|
|
1228
|
-
return n ?
|
|
1228
|
+
return n ? $e(n, t) : !1;
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function pr(e, t) {
|
|
1231
1231
|
if (!(t != null && t.length)) return !1;
|
|
1232
|
-
let n =
|
|
1233
|
-
return n ?
|
|
1232
|
+
let n = W(e);
|
|
1233
|
+
return n ? $e(n, t) : !1;
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function mr(e, t) {
|
|
1236
1236
|
if (!(t != null && t.length)) return !0;
|
|
1237
|
-
let n =
|
|
1238
|
-
return n ?
|
|
1237
|
+
let n = W(e);
|
|
1238
|
+
return n ? $e(n, t) : !0;
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function hr(e = []) {
|
|
1241
1241
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1242
1242
|
let n = e[t];
|
|
1243
1243
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1244
1244
|
}
|
|
1245
1245
|
return null;
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function W(e) {
|
|
1248
1248
|
try {
|
|
1249
1249
|
var t, n, r;
|
|
1250
1250
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1251
1251
|
var t, n;
|
|
1252
1252
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1253
1253
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1254
|
-
return a ?
|
|
1254
|
+
return a ? hr(a) : null;
|
|
1255
1255
|
} catch {
|
|
1256
|
-
return
|
|
1256
|
+
return D && A.error(`Cannot extract url for event ${y(e)}`), null;
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function gr(e) {
|
|
1260
1260
|
var t;
|
|
1261
1261
|
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;
|
|
1262
1262
|
}
|
|
1263
1263
|
//#endregion
|
|
1264
1264
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1265
|
-
function
|
|
1265
|
+
function _r(e, t, n, r, i, a) {
|
|
1266
1266
|
var o;
|
|
1267
|
-
if (!((o = i.exception) != null && o.values) || !a || !
|
|
1267
|
+
if (!((o = i.exception) != null && o.values) || !a || !qe(a.originalException, Error)) return;
|
|
1268
1268
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1269
|
-
s && (i.exception.values =
|
|
1269
|
+
s && (i.exception.values = vr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1271
|
+
function vr(e, t, n, r, i, a, o, s) {
|
|
1272
1272
|
if (a.length >= n + 1) return a;
|
|
1273
1273
|
let c = [...a];
|
|
1274
|
-
if (
|
|
1275
|
-
|
|
1274
|
+
if (qe(r[i], Error)) {
|
|
1275
|
+
br(o, s, r);
|
|
1276
1276
|
let a = e(t, r[i]), l = c.length;
|
|
1277
|
-
|
|
1277
|
+
xr(a, i, l, s), c = vr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1278
1278
|
}
|
|
1279
|
-
return
|
|
1280
|
-
if (
|
|
1281
|
-
|
|
1279
|
+
return yr(r) && r.errors.forEach((a, l) => {
|
|
1280
|
+
if (qe(a, Error)) {
|
|
1281
|
+
br(o, s, r);
|
|
1282
1282
|
let u = e(t, a), d = c.length;
|
|
1283
|
-
|
|
1283
|
+
xr(u, `errors[${l}]`, d, s), c = vr(e, t, n, a, i, [u, ...c], u, d);
|
|
1284
1284
|
}
|
|
1285
1285
|
}), c;
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1287
|
+
function yr(e) {
|
|
1288
1288
|
return Array.isArray(e.errors);
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function br(e, t, n) {
|
|
1291
1291
|
e.mechanism = {
|
|
1292
1292
|
handled: !0,
|
|
1293
1293
|
type: "auto.core.linked_errors",
|
|
1294
|
-
...
|
|
1294
|
+
...yr(n) && { is_exception_group: !0 },
|
|
1295
1295
|
...e.mechanism,
|
|
1296
1296
|
exception_id: t
|
|
1297
1297
|
};
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function xr(e, t, n, r) {
|
|
1300
1300
|
e.mechanism = {
|
|
1301
1301
|
handled: !0,
|
|
1302
1302
|
...e.mechanism,
|
|
@@ -1308,27 +1308,27 @@ function yr(e, t, n, r) {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
//#endregion
|
|
1310
1310
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1311
|
-
function
|
|
1312
|
-
let t = "console", n =
|
|
1313
|
-
return
|
|
1314
|
-
}
|
|
1315
|
-
function
|
|
1316
|
-
"console" in
|
|
1317
|
-
e in
|
|
1318
|
-
return
|
|
1319
|
-
|
|
1311
|
+
function Sr(e) {
|
|
1312
|
+
let t = "console", n = L(t, e);
|
|
1313
|
+
return R(t, Cr), n;
|
|
1314
|
+
}
|
|
1315
|
+
function Cr() {
|
|
1316
|
+
"console" in P && De.forEach(function(e) {
|
|
1317
|
+
e in P.console && E(P.console, e, function(t) {
|
|
1318
|
+
return je[e] = t, function(...t) {
|
|
1319
|
+
z("console", {
|
|
1320
1320
|
args: t,
|
|
1321
1321
|
level: e
|
|
1322
1322
|
});
|
|
1323
|
-
let n =
|
|
1324
|
-
n == null || n.apply(
|
|
1323
|
+
let n = je[e];
|
|
1324
|
+
n == null || n.apply(P.console, t);
|
|
1325
1325
|
};
|
|
1326
1326
|
});
|
|
1327
1327
|
});
|
|
1328
1328
|
}
|
|
1329
1329
|
//#endregion
|
|
1330
1330
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1331
|
-
function
|
|
1331
|
+
function wr(e) {
|
|
1332
1332
|
return e === "warn" ? "warning" : [
|
|
1333
1333
|
"fatal",
|
|
1334
1334
|
"error",
|
|
@@ -1340,32 +1340,32 @@ function Sr(e) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
//#endregion
|
|
1342
1342
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1343
|
-
var
|
|
1343
|
+
var Tr = "Dedupe", Er = V((() => {
|
|
1344
1344
|
let e;
|
|
1345
1345
|
return {
|
|
1346
|
-
name:
|
|
1346
|
+
name: Tr,
|
|
1347
1347
|
processEvent(t) {
|
|
1348
1348
|
if (t.type) return t;
|
|
1349
1349
|
try {
|
|
1350
|
-
if (
|
|
1350
|
+
if (Dr(t, e)) return D && A.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1351
1351
|
} catch {}
|
|
1352
1352
|
return e = t;
|
|
1353
1353
|
}
|
|
1354
1354
|
};
|
|
1355
1355
|
}));
|
|
1356
|
-
function
|
|
1357
|
-
return t ? !!(
|
|
1356
|
+
function Dr(e, t) {
|
|
1357
|
+
return t ? !!(Or(e, t) || kr(e, t)) : !1;
|
|
1358
1358
|
}
|
|
1359
|
-
function
|
|
1359
|
+
function Or(e, t) {
|
|
1360
1360
|
let n = e.message, r = t.message;
|
|
1361
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1361
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !jr(e, t) || !Ar(e, t));
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1364
|
-
let n =
|
|
1365
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1363
|
+
function kr(e, t) {
|
|
1364
|
+
let n = Mr(t), r = Mr(e);
|
|
1365
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !jr(e, t) || !Ar(e, t));
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1368
|
-
let n =
|
|
1367
|
+
function Ar(e, t) {
|
|
1368
|
+
let n = Pe(e), r = Pe(t);
|
|
1369
1369
|
if (!n && !r) return !0;
|
|
1370
1370
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1371
1371
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1374,7 +1374,7 @@ function Or(e, t) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
return !0;
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function jr(e, t) {
|
|
1378
1378
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1379
1379
|
if (!n && !r) return !0;
|
|
1380
1380
|
if (n && !r || !n && r) return !1;
|
|
@@ -1385,33 +1385,33 @@ function kr(e, t) {
|
|
|
1385
1385
|
return !1;
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
|
-
function
|
|
1388
|
+
function Mr(e) {
|
|
1389
1389
|
var t;
|
|
1390
1390
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1391
1391
|
}
|
|
1392
1392
|
//#endregion
|
|
1393
1393
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1394
|
-
var
|
|
1395
|
-
name:
|
|
1394
|
+
var Nr = "ConversationId", Pr = V((() => ({
|
|
1395
|
+
name: Nr,
|
|
1396
1396
|
setup(e) {
|
|
1397
1397
|
e.on("spanStart", (e) => {
|
|
1398
|
-
let t =
|
|
1398
|
+
let t = Xe().getScopeData(), n = ue().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1399
1399
|
if (r) {
|
|
1400
|
-
let { op: t, data: n, description: i } =
|
|
1400
|
+
let { op: t, data: n, description: i } = ge(e);
|
|
1401
1401
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1402
|
-
e.setAttribute(
|
|
1402
|
+
e.setAttribute(be, r);
|
|
1403
1403
|
}
|
|
1404
1404
|
});
|
|
1405
1405
|
}
|
|
1406
1406
|
})));
|
|
1407
1407
|
//#endregion
|
|
1408
1408
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
1409
|
-
function
|
|
1409
|
+
function Fr() {
|
|
1410
1410
|
return "npm";
|
|
1411
1411
|
}
|
|
1412
1412
|
//#endregion
|
|
1413
1413
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1414
|
-
function
|
|
1414
|
+
function Ir(e) {
|
|
1415
1415
|
if (e !== void 0) {
|
|
1416
1416
|
if (e >= 400 && e < 500) return "warning";
|
|
1417
1417
|
if (e >= 500) return "error";
|
|
@@ -1419,65 +1419,65 @@ function Pr(e) {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
//#endregion
|
|
1421
1421
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1422
|
-
var
|
|
1423
|
-
function
|
|
1424
|
-
return "history" in
|
|
1422
|
+
var G = P;
|
|
1423
|
+
function Lr() {
|
|
1424
|
+
return "history" in G && !!G.history;
|
|
1425
1425
|
}
|
|
1426
|
-
function
|
|
1427
|
-
if (!("fetch" in
|
|
1426
|
+
function Rr() {
|
|
1427
|
+
if (!("fetch" in G)) return !1;
|
|
1428
1428
|
try {
|
|
1429
1429
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1430
1430
|
} catch {
|
|
1431
1431
|
return !1;
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
1434
|
-
function
|
|
1434
|
+
function zr(e) {
|
|
1435
1435
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function Br() {
|
|
1438
1438
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1439
|
-
if (!
|
|
1440
|
-
if (
|
|
1441
|
-
let e = !1, t =
|
|
1439
|
+
if (!Rr()) return !1;
|
|
1440
|
+
if (zr(G.fetch)) return !0;
|
|
1441
|
+
let e = !1, t = G.document;
|
|
1442
1442
|
if (t && typeof t.createElement == "function") try {
|
|
1443
1443
|
var n;
|
|
1444
1444
|
let r = t.createElement("iframe");
|
|
1445
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1445
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = zr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1446
1446
|
} catch (e) {
|
|
1447
|
-
|
|
1447
|
+
D && A.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1448
1448
|
}
|
|
1449
1449
|
return e;
|
|
1450
1450
|
}
|
|
1451
1451
|
//#endregion
|
|
1452
1452
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1453
|
-
function
|
|
1454
|
-
let n = "fetch", r =
|
|
1455
|
-
return
|
|
1453
|
+
function Vr(e, t) {
|
|
1454
|
+
let n = "fetch", r = L(n, e);
|
|
1455
|
+
return R(n, () => Hr(void 0, t)), r;
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1458
|
-
t && !
|
|
1457
|
+
function Hr(e, t = !1) {
|
|
1458
|
+
t && !Br() || E(P, "fetch", function(t) {
|
|
1459
1459
|
return function(...n) {
|
|
1460
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1460
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Wr(n), o = {
|
|
1461
1461
|
args: n,
|
|
1462
1462
|
fetchData: {
|
|
1463
1463
|
method: i,
|
|
1464
1464
|
url: a
|
|
1465
1465
|
},
|
|
1466
|
-
startTimestamp:
|
|
1466
|
+
startTimestamp: k() * 1e3,
|
|
1467
1467
|
virtualError: r,
|
|
1468
|
-
headers:
|
|
1468
|
+
headers: Gr(n)
|
|
1469
1469
|
};
|
|
1470
|
-
return e ||
|
|
1470
|
+
return e || z("fetch", { ...o }), t.apply(P, n).then(async (t) => (e ? e(t) : z("fetch", {
|
|
1471
1471
|
...o,
|
|
1472
|
-
endTimestamp:
|
|
1472
|
+
endTimestamp: k() * 1e3,
|
|
1473
1473
|
response: t
|
|
1474
1474
|
}), t), (e) => {
|
|
1475
1475
|
var t;
|
|
1476
|
-
|
|
1476
|
+
z("fetch", {
|
|
1477
1477
|
...o,
|
|
1478
|
-
endTimestamp:
|
|
1478
|
+
endTimestamp: k() * 1e3,
|
|
1479
1479
|
error: e
|
|
1480
|
-
}),
|
|
1480
|
+
}), se(e) && e.stack === void 0 && (e.stack = r.stack, x(e, "framesToPop", 1));
|
|
1481
1481
|
let n = g(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1482
1482
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1483
1483
|
let t = new URL(o.fetchData.url).host;
|
|
@@ -1488,13 +1488,13 @@ function Br(e, t = !1) {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
});
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1491
|
+
function K(e, t) {
|
|
1492
1492
|
return !!e && typeof e == "object" && !!e[t];
|
|
1493
1493
|
}
|
|
1494
|
-
function Hr(e) {
|
|
1495
|
-
return typeof e == "string" ? e : e ? Vr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1496
|
-
}
|
|
1497
1494
|
function Ur(e) {
|
|
1495
|
+
return typeof e == "string" ? e : e ? K(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1496
|
+
}
|
|
1497
|
+
function Wr(e) {
|
|
1498
1498
|
if (e.length === 0) return {
|
|
1499
1499
|
method: "GET",
|
|
1500
1500
|
url: ""
|
|
@@ -1502,35 +1502,35 @@ function Ur(e) {
|
|
|
1502
1502
|
if (e.length === 2) {
|
|
1503
1503
|
let [t, n] = e;
|
|
1504
1504
|
return {
|
|
1505
|
-
url:
|
|
1506
|
-
method:
|
|
1505
|
+
url: Ur(t),
|
|
1506
|
+
method: K(n, "method") ? String(n.method).toUpperCase() : ye(t) && K(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1507
1507
|
};
|
|
1508
1508
|
}
|
|
1509
1509
|
let t = e[0];
|
|
1510
1510
|
return {
|
|
1511
|
-
url:
|
|
1512
|
-
method:
|
|
1511
|
+
url: Ur(t),
|
|
1512
|
+
method: K(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1513
1513
|
};
|
|
1514
1514
|
}
|
|
1515
|
-
function
|
|
1515
|
+
function Gr(e) {
|
|
1516
1516
|
let [t, n] = e;
|
|
1517
1517
|
try {
|
|
1518
1518
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1519
|
-
if (
|
|
1519
|
+
if (ye(t)) return new Headers(t.headers);
|
|
1520
1520
|
} catch {}
|
|
1521
1521
|
}
|
|
1522
1522
|
//#endregion
|
|
1523
1523
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1524
|
-
var
|
|
1525
|
-
function Kr() {
|
|
1526
|
-
return Gr > 0;
|
|
1527
|
-
}
|
|
1524
|
+
var q = P, Kr = 0;
|
|
1528
1525
|
function qr() {
|
|
1529
|
-
|
|
1530
|
-
|
|
1526
|
+
return Kr > 0;
|
|
1527
|
+
}
|
|
1528
|
+
function Jr() {
|
|
1529
|
+
Kr++, setTimeout(() => {
|
|
1530
|
+
Kr--;
|
|
1531
1531
|
});
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1533
|
+
function J(e, t = {}) {
|
|
1534
1534
|
function n(e) {
|
|
1535
1535
|
return typeof e == "function";
|
|
1536
1536
|
}
|
|
@@ -1544,21 +1544,21 @@ function Y(e, t = {}) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
let r = function(...n) {
|
|
1546
1546
|
try {
|
|
1547
|
-
let r = n.map((e) =>
|
|
1547
|
+
let r = n.map((e) => J(e, t));
|
|
1548
1548
|
return e.apply(this, r);
|
|
1549
1549
|
} catch (e) {
|
|
1550
|
-
throw
|
|
1551
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1550
|
+
throw Jr(), _((r) => {
|
|
1551
|
+
r.addEventProcessor((e) => (t.mechanism && (ie(e, void 0, void 0), T(e, t.mechanism)), e.extra = {
|
|
1552
1552
|
...e.extra,
|
|
1553
1553
|
arguments: n
|
|
1554
|
-
}, e)),
|
|
1554
|
+
}, e)), Ie(e);
|
|
1555
1555
|
}), e;
|
|
1556
1556
|
}
|
|
1557
1557
|
};
|
|
1558
1558
|
try {
|
|
1559
1559
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1560
1560
|
} catch {}
|
|
1561
|
-
|
|
1561
|
+
C(r, e), x(e, "__sentry_wrapped__", r);
|
|
1562
1562
|
try {
|
|
1563
1563
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1564
1564
|
return e.name;
|
|
@@ -1566,8 +1566,8 @@ function Y(e, t = {}) {
|
|
|
1566
1566
|
} catch {}
|
|
1567
1567
|
return r;
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1570
|
-
let e =
|
|
1569
|
+
function Yr() {
|
|
1570
|
+
let e = re(), { referrer: t } = q.document || {}, { userAgent: n } = q.navigator || {};
|
|
1571
1571
|
return {
|
|
1572
1572
|
url: e,
|
|
1573
1573
|
headers: {
|
|
@@ -1578,95 +1578,95 @@ function Jr() {
|
|
|
1578
1578
|
}
|
|
1579
1579
|
//#endregion
|
|
1580
1580
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1581
|
-
function
|
|
1582
|
-
let n =
|
|
1583
|
-
type:
|
|
1584
|
-
value:
|
|
1581
|
+
function Xr(e, t) {
|
|
1582
|
+
let n = $r(e, t), r = {
|
|
1583
|
+
type: ii(t),
|
|
1584
|
+
value: ai(t)
|
|
1585
1585
|
};
|
|
1586
1586
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1589
|
-
let i = g(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o =
|
|
1588
|
+
function Zr(e, t, n, r) {
|
|
1589
|
+
let i = g(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = fi(t), s = { __serialized__: ze(t, a) };
|
|
1590
1590
|
if (o) return {
|
|
1591
|
-
exception: { values: [
|
|
1591
|
+
exception: { values: [Xr(e, o)] },
|
|
1592
1592
|
extra: s
|
|
1593
1593
|
};
|
|
1594
1594
|
let c = {
|
|
1595
1595
|
exception: { values: [{
|
|
1596
|
-
type:
|
|
1597
|
-
value:
|
|
1596
|
+
type: Te(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1597
|
+
value: ui(t, { isUnhandledRejection: r })
|
|
1598
1598
|
}] },
|
|
1599
1599
|
extra: s
|
|
1600
1600
|
};
|
|
1601
1601
|
if (n) {
|
|
1602
|
-
let t =
|
|
1602
|
+
let t = $r(e, n);
|
|
1603
1603
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1604
1604
|
}
|
|
1605
1605
|
return c;
|
|
1606
1606
|
}
|
|
1607
|
-
function Zr(e, t) {
|
|
1608
|
-
return { exception: { values: [Yr(e, t)] } };
|
|
1609
|
-
}
|
|
1610
1607
|
function Qr(e, t) {
|
|
1611
|
-
|
|
1608
|
+
return { exception: { values: [Xr(e, t)] } };
|
|
1609
|
+
}
|
|
1610
|
+
function $r(e, t) {
|
|
1611
|
+
let n = t.stacktrace || t.stack || "", r = ti(t), i = ni(t);
|
|
1612
1612
|
try {
|
|
1613
1613
|
return e(n, r, i);
|
|
1614
1614
|
} catch {}
|
|
1615
1615
|
return [];
|
|
1616
1616
|
}
|
|
1617
|
-
var
|
|
1618
|
-
function ei(e) {
|
|
1619
|
-
return e && $r.test(e.message) ? 1 : 0;
|
|
1620
|
-
}
|
|
1617
|
+
var ei = /Minified React error #\d+;/i;
|
|
1621
1618
|
function ti(e) {
|
|
1622
|
-
return
|
|
1619
|
+
return e && ei.test(e.message) ? 1 : 0;
|
|
1623
1620
|
}
|
|
1624
1621
|
function ni(e) {
|
|
1625
|
-
return typeof
|
|
1622
|
+
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1626
1623
|
}
|
|
1627
1624
|
function ri(e) {
|
|
1628
|
-
|
|
1629
|
-
return !t && ni(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1625
|
+
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1630
1626
|
}
|
|
1631
1627
|
function ii(e) {
|
|
1628
|
+
let t = e == null ? void 0 : e.name;
|
|
1629
|
+
return !t && ri(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1630
|
+
}
|
|
1631
|
+
function ai(e) {
|
|
1632
1632
|
let t = e == null ? void 0 : e.message;
|
|
1633
|
-
return
|
|
1633
|
+
return ri(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Wn(t.error) : Wn(e) : "No error message";
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1636
|
-
let i =
|
|
1637
|
-
return
|
|
1635
|
+
function oi(e, t, n, r) {
|
|
1636
|
+
let i = ci(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1637
|
+
return T(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), Ce(i);
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1640
|
-
let a =
|
|
1641
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
1639
|
+
function si(e, t, n = "info", r, i) {
|
|
1640
|
+
let a = li(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1641
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), Ce(a);
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function ci(e, t, n, r, i) {
|
|
1644
1644
|
let a;
|
|
1645
|
-
if (p(t) && t.error) return
|
|
1646
|
-
if (
|
|
1645
|
+
if (p(t) && t.error) return Qr(e, t.error);
|
|
1646
|
+
if (pe(t) || he(t)) {
|
|
1647
1647
|
let i = t;
|
|
1648
|
-
if ("stack" in t) a =
|
|
1648
|
+
if ("stack" in t) a = Qr(e, t);
|
|
1649
1649
|
else {
|
|
1650
|
-
let t = i.name || (
|
|
1651
|
-
a =
|
|
1650
|
+
let t = i.name || (pe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1651
|
+
a = li(e, o, n, r), ie(a, o);
|
|
1652
1652
|
}
|
|
1653
1653
|
return "code" in i && (a.tags = {
|
|
1654
1654
|
...a.tags,
|
|
1655
1655
|
"DOMException.code": `${i.code}`
|
|
1656
1656
|
}), a;
|
|
1657
1657
|
}
|
|
1658
|
-
return
|
|
1658
|
+
return se(t) ? Qr(e, t) : Ue(t) || Te(t) ? (a = Zr(e, t, n, i), T(a, { synthetic: !0 }), a) : (a = li(e, t, n, r), ie(a, `${t}`, void 0), T(a, { synthetic: !0 }), a);
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function li(e, t, n, r) {
|
|
1661
1661
|
let i = {};
|
|
1662
1662
|
if (r && n) {
|
|
1663
|
-
let r =
|
|
1663
|
+
let r = $r(e, n);
|
|
1664
1664
|
r.length && (i.exception = { values: [{
|
|
1665
1665
|
value: t,
|
|
1666
1666
|
stacktrace: { frames: r }
|
|
1667
|
-
}] }),
|
|
1667
|
+
}] }), T(i, { synthetic: !0 });
|
|
1668
1668
|
}
|
|
1669
|
-
if (
|
|
1669
|
+
if (Le(t)) {
|
|
1670
1670
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
1671
1671
|
return i.logentry = {
|
|
1672
1672
|
message: e,
|
|
@@ -1675,48 +1675,48 @@ function ci(e, t, n, r) {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
return i.message = t, i;
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1679
|
-
let n =
|
|
1680
|
-
return p(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` :
|
|
1678
|
+
function ui(e, { isUnhandledRejection: t }) {
|
|
1679
|
+
let n = de(e), r = t ? "promise rejection" : "exception";
|
|
1680
|
+
return p(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : Te(e) ? `Event \`${di(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function di(e) {
|
|
1683
1683
|
try {
|
|
1684
1684
|
let t = Object.getPrototypeOf(e);
|
|
1685
1685
|
return t ? t.constructor.name : void 0;
|
|
1686
1686
|
} catch {}
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function fi(e) {
|
|
1689
1689
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1690
1690
|
}
|
|
1691
1691
|
//#endregion
|
|
1692
1692
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1693
|
-
var
|
|
1693
|
+
var pi = class extends Nn {
|
|
1694
1694
|
constructor(e) {
|
|
1695
1695
|
var t, n;
|
|
1696
|
-
let r =
|
|
1697
|
-
|
|
1696
|
+
let r = mi(e);
|
|
1697
|
+
$n(r, "browser", ["browser"], q.SENTRY_SDK_SOURCE || Fr()), (t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1698
1698
|
infer_ip: r.sendDefaultPii ? "auto" : "never",
|
|
1699
1699
|
...r._metadata.sdk.settings
|
|
1700
1700
|
}), super(r);
|
|
1701
1701
|
let { sendDefaultPii: i, sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
}), i && this.on("beforeSendSession",
|
|
1702
|
+
q.document && (a || o || l) && q.document.addEventListener("visibilitychange", () => {
|
|
1703
|
+
q.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && nn(this), l && cn(this));
|
|
1704
|
+
}), i && this.on("beforeSendSession", Qn);
|
|
1705
1705
|
}
|
|
1706
1706
|
eventFromException(e, t) {
|
|
1707
|
-
return
|
|
1707
|
+
return oi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1708
1708
|
}
|
|
1709
1709
|
eventFromMessage(e, t = "info", n) {
|
|
1710
|
-
return
|
|
1710
|
+
return si(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1711
1711
|
}
|
|
1712
1712
|
_prepareEvent(e, t, n, r) {
|
|
1713
1713
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1714
1714
|
}
|
|
1715
1715
|
};
|
|
1716
|
-
function
|
|
1716
|
+
function mi(e) {
|
|
1717
1717
|
var t;
|
|
1718
1718
|
return {
|
|
1719
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t =
|
|
1719
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = q.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1720
1720
|
sendClientReports: !0,
|
|
1721
1721
|
parentSpanIsAlwaysRootSpan: !0,
|
|
1722
1722
|
...e
|
|
@@ -1724,29 +1724,29 @@ function pi(e) {
|
|
|
1724
1724
|
}
|
|
1725
1725
|
//#endregion
|
|
1726
1726
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.51.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1727
|
-
var
|
|
1728
|
-
function
|
|
1729
|
-
|
|
1730
|
-
}
|
|
1731
|
-
function
|
|
1732
|
-
if (!
|
|
1733
|
-
let e =
|
|
1734
|
-
|
|
1727
|
+
var hi = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Y = P, gi = 1e3, _i, vi, yi;
|
|
1728
|
+
function bi(e) {
|
|
1729
|
+
L("dom", e), R("dom", xi);
|
|
1730
|
+
}
|
|
1731
|
+
function xi() {
|
|
1732
|
+
if (!Y.document) return;
|
|
1733
|
+
let e = z.bind(null, "dom"), t = wi(e, !0);
|
|
1734
|
+
Y.document.addEventListener("click", t, !1), Y.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1735
1735
|
var n, r;
|
|
1736
|
-
let i = (n =
|
|
1737
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
1736
|
+
let i = (n = Y[t]) == null ? void 0 : n.prototype;
|
|
1737
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (E(i, "addEventListener", function(t) {
|
|
1738
1738
|
return function(n, r, i) {
|
|
1739
1739
|
if (n === "click" || n == "keypress") try {
|
|
1740
1740
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
1741
1741
|
if (!a.handler) {
|
|
1742
|
-
let r =
|
|
1742
|
+
let r = wi(e);
|
|
1743
1743
|
a.handler = r, t.call(this, n, r, i);
|
|
1744
1744
|
}
|
|
1745
1745
|
a.refCount++;
|
|
1746
1746
|
} catch {}
|
|
1747
1747
|
return t.call(this, n, r, i);
|
|
1748
1748
|
};
|
|
1749
|
-
}),
|
|
1749
|
+
}), E(i, "removeEventListener", function(e) {
|
|
1750
1750
|
return function(t, n, r) {
|
|
1751
1751
|
if (t === "click" || t == "keypress") try {
|
|
1752
1752
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -1757,33 +1757,33 @@ function bi() {
|
|
|
1757
1757
|
}));
|
|
1758
1758
|
});
|
|
1759
1759
|
}
|
|
1760
|
-
function
|
|
1761
|
-
if (e.type !==
|
|
1760
|
+
function Si(e) {
|
|
1761
|
+
if (e.type !== vi) return !1;
|
|
1762
1762
|
try {
|
|
1763
|
-
if (!e.target || e.target._sentryId !==
|
|
1763
|
+
if (!e.target || e.target._sentryId !== yi) return !1;
|
|
1764
1764
|
} catch {}
|
|
1765
1765
|
return !0;
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function Ci(e, t) {
|
|
1768
1768
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function wi(e, t = !1) {
|
|
1771
1771
|
return (n) => {
|
|
1772
1772
|
if (!n || n._sentryCaptured) return;
|
|
1773
|
-
let r =
|
|
1774
|
-
if (
|
|
1773
|
+
let r = Ti(n);
|
|
1774
|
+
if (Ci(n.type, r)) return;
|
|
1775
1775
|
x(n, "_sentryCaptured", !0), r && !r._sentryId && x(r, "_sentryId", S());
|
|
1776
1776
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
1777
|
-
|
|
1777
|
+
Si(n) || (e({
|
|
1778
1778
|
event: n,
|
|
1779
1779
|
name: i,
|
|
1780
1780
|
global: t
|
|
1781
|
-
}),
|
|
1782
|
-
|
|
1783
|
-
},
|
|
1781
|
+
}), vi = n.type, yi = r ? r._sentryId : void 0), clearTimeout(_i), _i = Y.setTimeout(() => {
|
|
1782
|
+
yi = void 0, vi = void 0;
|
|
1783
|
+
}, gi);
|
|
1784
1784
|
};
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function Ti(e) {
|
|
1787
1787
|
try {
|
|
1788
1788
|
return e.target;
|
|
1789
1789
|
} catch {
|
|
@@ -1792,26 +1792,26 @@ function wi(e) {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
//#endregion
|
|
1794
1794
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.51.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
|
|
1795
|
-
var
|
|
1795
|
+
var X;
|
|
1796
1796
|
function Ei(e) {
|
|
1797
1797
|
let t = "history";
|
|
1798
|
-
|
|
1798
|
+
L(t, e), R(t, Di);
|
|
1799
1799
|
}
|
|
1800
1800
|
function Di() {
|
|
1801
|
-
if (
|
|
1802
|
-
let e =
|
|
1803
|
-
|
|
1801
|
+
if (Y.addEventListener("popstate", () => {
|
|
1802
|
+
let e = Y.location.href, t = X;
|
|
1803
|
+
X = e, t !== e && z("history", {
|
|
1804
1804
|
from: t,
|
|
1805
1805
|
to: e
|
|
1806
1806
|
});
|
|
1807
|
-
}), !
|
|
1807
|
+
}), !Lr()) return;
|
|
1808
1808
|
function e(e) {
|
|
1809
1809
|
return function(...t) {
|
|
1810
1810
|
let n = t.length > 2 ? t[2] : void 0;
|
|
1811
1811
|
if (n) {
|
|
1812
|
-
let r =
|
|
1813
|
-
if (
|
|
1814
|
-
|
|
1812
|
+
let r = X, i = Oi(String(n));
|
|
1813
|
+
if (X = i, r === i) return e.apply(this, t);
|
|
1814
|
+
z("history", {
|
|
1815
1815
|
from: r,
|
|
1816
1816
|
to: i
|
|
1817
1817
|
});
|
|
@@ -1819,11 +1819,11 @@ function Di() {
|
|
|
1819
1819
|
return e.apply(this, t);
|
|
1820
1820
|
};
|
|
1821
1821
|
}
|
|
1822
|
-
|
|
1822
|
+
E(Y.history, "pushState", e), E(Y.history, "replaceState", e);
|
|
1823
1823
|
}
|
|
1824
1824
|
function Oi(e) {
|
|
1825
1825
|
try {
|
|
1826
|
-
return new URL(e,
|
|
1826
|
+
return new URL(e, Y.location.origin).toString();
|
|
1827
1827
|
} catch {
|
|
1828
1828
|
return e;
|
|
1829
1829
|
}
|
|
@@ -1834,18 +1834,18 @@ var ki = {};
|
|
|
1834
1834
|
function Ai(e) {
|
|
1835
1835
|
let t = ki[e];
|
|
1836
1836
|
if (t) return t;
|
|
1837
|
-
let n =
|
|
1838
|
-
if (
|
|
1839
|
-
let r =
|
|
1837
|
+
let n = Y[e];
|
|
1838
|
+
if (zr(n)) return ki[e] = n.bind(Y);
|
|
1839
|
+
let r = Y.document;
|
|
1840
1840
|
if (r && typeof r.createElement == "function") try {
|
|
1841
1841
|
let t = r.createElement("iframe");
|
|
1842
1842
|
t.hidden = !0, r.head.appendChild(t);
|
|
1843
1843
|
let i = t.contentWindow;
|
|
1844
1844
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
1845
1845
|
} catch (t) {
|
|
1846
|
-
|
|
1846
|
+
hi && A.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
1847
1847
|
}
|
|
1848
|
-
return n && (ki[e] = n.bind(
|
|
1848
|
+
return n && (ki[e] = n.bind(Y));
|
|
1849
1849
|
}
|
|
1850
1850
|
function ji(e) {
|
|
1851
1851
|
ki[e] = void 0;
|
|
@@ -1854,13 +1854,13 @@ function ji(e) {
|
|
|
1854
1854
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.51.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js
|
|
1855
1855
|
var Z = "__sentry_xhr_v3__";
|
|
1856
1856
|
function Mi(e) {
|
|
1857
|
-
|
|
1857
|
+
L("xhr", e), R("xhr", Ni);
|
|
1858
1858
|
}
|
|
1859
1859
|
function Ni() {
|
|
1860
|
-
if (!
|
|
1860
|
+
if (!Y.XMLHttpRequest) return;
|
|
1861
1861
|
let e = XMLHttpRequest.prototype;
|
|
1862
1862
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
1863
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
1863
|
+
let r = /* @__PURE__ */ Error(), i = k() * 1e3, a = j(n[0]) ? n[0].toUpperCase() : void 0, o = Pi(n[1]);
|
|
1864
1864
|
if (!a || !o) return e.apply(t, n);
|
|
1865
1865
|
t[Z] = {
|
|
1866
1866
|
method: a,
|
|
@@ -1873,8 +1873,8 @@ function Ni() {
|
|
|
1873
1873
|
try {
|
|
1874
1874
|
e.status_code = t.status;
|
|
1875
1875
|
} catch {}
|
|
1876
|
-
|
|
1877
|
-
endTimestamp:
|
|
1876
|
+
z("xhr", {
|
|
1877
|
+
endTimestamp: k() * 1e3,
|
|
1878
1878
|
startTimestamp: i,
|
|
1879
1879
|
xhr: t,
|
|
1880
1880
|
virtualError: r
|
|
@@ -1885,18 +1885,18 @@ function Ni() {
|
|
|
1885
1885
|
return s(), e.apply(t, n);
|
|
1886
1886
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
1887
1887
|
let [r, i] = n, a = t[Z];
|
|
1888
|
-
return a &&
|
|
1888
|
+
return a && j(r) && j(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
1889
1889
|
} }), e.apply(t, n);
|
|
1890
1890
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
1891
1891
|
let r = t[Z];
|
|
1892
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
1893
|
-
startTimestamp:
|
|
1892
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), z("xhr", {
|
|
1893
|
+
startTimestamp: k() * 1e3,
|
|
1894
1894
|
xhr: t
|
|
1895
1895
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
1896
1896
|
} });
|
|
1897
1897
|
}
|
|
1898
1898
|
function Pi(e) {
|
|
1899
|
-
if (
|
|
1899
|
+
if (j(e)) return e;
|
|
1900
1900
|
try {
|
|
1901
1901
|
return e.toString();
|
|
1902
1902
|
} catch {}
|
|
@@ -1932,7 +1932,7 @@ function Ii(e, t = Ai("fetch")) {
|
|
|
1932
1932
|
n -= a, r--;
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
1935
|
-
return
|
|
1935
|
+
return yn(e, i, pn(e.bufferSize || Fi));
|
|
1936
1936
|
}
|
|
1937
1937
|
//#endregion
|
|
1938
1938
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
@@ -1966,7 +1966,7 @@ var Bi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Vi = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1966
1966
|
let [e, t] = Ji(r[1] || "?", r[2]);
|
|
1967
1967
|
return zi(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
1968
1968
|
}
|
|
1969
|
-
}], Gi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Ki = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, qi =
|
|
1969
|
+
}], Gi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Ki = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, qi = Se(Wi, [Ri, (e) => {
|
|
1970
1970
|
let t = Gi.exec(e);
|
|
1971
1971
|
if (t) {
|
|
1972
1972
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
@@ -1979,7 +1979,7 @@ var Bi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Vi = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1979
1979
|
}]), Ji = (e, t) => {
|
|
1980
1980
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
1981
1981
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
1982
|
-
}, Yi = 1024, Xi = "Breadcrumbs", Zi =
|
|
1982
|
+
}, Yi = 1024, Xi = "Breadcrumbs", Zi = V(((e = {}) => {
|
|
1983
1983
|
let t = {
|
|
1984
1984
|
console: !0,
|
|
1985
1985
|
dom: !0,
|
|
@@ -1992,13 +1992,13 @@ var Bi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Vi = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1992
1992
|
return {
|
|
1993
1993
|
name: Xi,
|
|
1994
1994
|
setup(e) {
|
|
1995
|
-
t.console &&
|
|
1995
|
+
t.console && Sr(ea(e)), t.dom && bi($i(e, t.dom)), t.xhr && Mi(ta(e)), t.fetch && Vr(na(e)), t.history && Ei(ra(e)), t.sentry && e.on("beforeSendEvent", Qi(e));
|
|
1996
1996
|
}
|
|
1997
1997
|
};
|
|
1998
1998
|
}));
|
|
1999
1999
|
function Qi(e) {
|
|
2000
2000
|
return function(t) {
|
|
2001
|
-
g() === e &&
|
|
2001
|
+
g() === e && U({
|
|
2002
2002
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2003
2003
|
event_id: t.event_id,
|
|
2004
2004
|
level: t.level,
|
|
@@ -2010,13 +2010,13 @@ function $i(e, t) {
|
|
|
2010
2010
|
return function(n) {
|
|
2011
2011
|
if (g() !== e) return;
|
|
2012
2012
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2013
|
-
o && o > Yi && (Q &&
|
|
2013
|
+
o && o > Yi && (Q && A.warn(`\`dom.maxStringLength\` cannot exceed ${Yi}, but a value of ${o} was configured. Sentry will use ${Yi} instead.`), o = Yi), typeof a == "string" && (a = [a]);
|
|
2014
2014
|
try {
|
|
2015
2015
|
let e = n.event, t = ia(e) ? e.target : e;
|
|
2016
|
-
r =
|
|
2016
|
+
r = me(t, {
|
|
2017
2017
|
keyAttrs: a,
|
|
2018
2018
|
maxStringLength: o
|
|
2019
|
-
}), i =
|
|
2019
|
+
}), i = Ve(t);
|
|
2020
2020
|
} catch {
|
|
2021
2021
|
r = "<unknown>";
|
|
2022
2022
|
}
|
|
@@ -2025,7 +2025,7 @@ function $i(e, t) {
|
|
|
2025
2025
|
category: `ui.${n.name}`,
|
|
2026
2026
|
message: r
|
|
2027
2027
|
};
|
|
2028
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2028
|
+
i && (s.data = { "ui.component_name": i }), U(s, {
|
|
2029
2029
|
event: n.event,
|
|
2030
2030
|
name: n.name,
|
|
2031
2031
|
global: n.global
|
|
@@ -2041,12 +2041,12 @@ function ea(e) {
|
|
|
2041
2041
|
arguments: t.args,
|
|
2042
2042
|
logger: "console"
|
|
2043
2043
|
},
|
|
2044
|
-
level:
|
|
2045
|
-
message:
|
|
2044
|
+
level: wr(t.level),
|
|
2045
|
+
message: ce(t.args, " ")
|
|
2046
2046
|
};
|
|
2047
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2047
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ce(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2048
2048
|
else return;
|
|
2049
|
-
|
|
2049
|
+
U(n, {
|
|
2050
2050
|
input: t.args,
|
|
2051
2051
|
level: t.level
|
|
2052
2052
|
});
|
|
@@ -2070,9 +2070,9 @@ function ta(e) {
|
|
|
2070
2070
|
category: "xhr",
|
|
2071
2071
|
data: l,
|
|
2072
2072
|
type: "http",
|
|
2073
|
-
level:
|
|
2073
|
+
level: Ir(s)
|
|
2074
2074
|
};
|
|
2075
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2075
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), U(d, u);
|
|
2076
2076
|
};
|
|
2077
2077
|
}
|
|
2078
2078
|
function na(e) {
|
|
@@ -2091,7 +2091,7 @@ function na(e) {
|
|
|
2091
2091
|
level: "error",
|
|
2092
2092
|
type: "http"
|
|
2093
2093
|
};
|
|
2094
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2094
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), U(a, i);
|
|
2095
2095
|
} else {
|
|
2096
2096
|
let i = t.response, a = {
|
|
2097
2097
|
...t.fetchData,
|
|
@@ -2105,17 +2105,17 @@ function na(e) {
|
|
|
2105
2105
|
category: "fetch",
|
|
2106
2106
|
data: a,
|
|
2107
2107
|
type: "http",
|
|
2108
|
-
level:
|
|
2108
|
+
level: Ir(a.status_code)
|
|
2109
2109
|
};
|
|
2110
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2110
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), U(s, o);
|
|
2111
2111
|
}
|
|
2112
2112
|
};
|
|
2113
2113
|
}
|
|
2114
2114
|
function ra(e) {
|
|
2115
2115
|
return function(t) {
|
|
2116
2116
|
if (g() !== e) return;
|
|
2117
|
-
let n = t.from, r = t.to, i =
|
|
2118
|
-
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),
|
|
2117
|
+
let n = t.from, r = t.to, i = Xn(q.location.href), a = n ? Xn(n) : void 0, o = Xn(r);
|
|
2118
|
+
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), U({
|
|
2119
2119
|
category: "navigation",
|
|
2120
2120
|
data: {
|
|
2121
2121
|
from: n,
|
|
@@ -2129,7 +2129,7 @@ function ia(e) {
|
|
|
2129
2129
|
}
|
|
2130
2130
|
//#endregion
|
|
2131
2131
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2132
|
-
var aa = "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(","), oa = "BrowserApiErrors", sa =
|
|
2132
|
+
var aa = "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(","), oa = "BrowserApiErrors", sa = V(((e = {}) => {
|
|
2133
2133
|
let t = {
|
|
2134
2134
|
XMLHttpRequest: !0,
|
|
2135
2135
|
eventTarget: !0,
|
|
@@ -2142,7 +2142,7 @@ var aa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2142
2142
|
return {
|
|
2143
2143
|
name: oa,
|
|
2144
2144
|
setupOnce() {
|
|
2145
|
-
t.setTimeout &&
|
|
2145
|
+
t.setTimeout && E(q, "setTimeout", ca), t.setInterval && E(q, "setInterval", ca), t.requestAnimationFrame && E(q, "requestAnimationFrame", la), t.XMLHttpRequest && "XMLHttpRequest" in q && E(XMLHttpRequest.prototype, "send", ua);
|
|
2146
2146
|
let e = t.eventTarget;
|
|
2147
2147
|
e && (Array.isArray(e) ? e : aa).forEach((e) => da(e, t));
|
|
2148
2148
|
}
|
|
@@ -2151,16 +2151,16 @@ var aa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2151
2151
|
function ca(e) {
|
|
2152
2152
|
return function(...t) {
|
|
2153
2153
|
let n = t[0];
|
|
2154
|
-
return t[0] =
|
|
2154
|
+
return t[0] = J(n, { mechanism: {
|
|
2155
2155
|
handled: !1,
|
|
2156
|
-
type: `auto.browser.browserapierrors.${
|
|
2156
|
+
type: `auto.browser.browserapierrors.${M(e)}`
|
|
2157
2157
|
} }), e.apply(this, t);
|
|
2158
2158
|
};
|
|
2159
2159
|
}
|
|
2160
2160
|
function la(e) {
|
|
2161
2161
|
return function(t) {
|
|
2162
|
-
return e.apply(this, [
|
|
2163
|
-
data: { handler:
|
|
2162
|
+
return e.apply(this, [J(t, { mechanism: {
|
|
2163
|
+
data: { handler: M(e) },
|
|
2164
2164
|
handled: !1,
|
|
2165
2165
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2166
2166
|
} })]);
|
|
@@ -2175,26 +2175,26 @@ function ua(e) {
|
|
|
2175
2175
|
"onprogress",
|
|
2176
2176
|
"onreadystatechange"
|
|
2177
2177
|
].forEach((e) => {
|
|
2178
|
-
e in n && typeof n[e] == "function" &&
|
|
2178
|
+
e in n && typeof n[e] == "function" && E(n, e, function(t) {
|
|
2179
2179
|
let n = { mechanism: {
|
|
2180
|
-
data: { handler:
|
|
2180
|
+
data: { handler: M(t) },
|
|
2181
2181
|
handled: !1,
|
|
2182
2182
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2183
2183
|
} }, r = b(t);
|
|
2184
|
-
return r && (n.mechanism.data.handler =
|
|
2184
|
+
return r && (n.mechanism.data.handler = M(r)), J(t, n);
|
|
2185
2185
|
});
|
|
2186
2186
|
}), e.apply(this, t);
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
2189
2189
|
function da(e, t) {
|
|
2190
2190
|
var n, r;
|
|
2191
|
-
let i = (n =
|
|
2192
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2191
|
+
let i = (n = q[e]) == null ? void 0 : n.prototype;
|
|
2192
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (E(i, "addEventListener", function(n) {
|
|
2193
2193
|
return function(r, i, a) {
|
|
2194
2194
|
try {
|
|
2195
|
-
fa(i) && (i.handleEvent =
|
|
2195
|
+
fa(i) && (i.handleEvent = J(i.handleEvent, { mechanism: {
|
|
2196
2196
|
data: {
|
|
2197
|
-
handler:
|
|
2197
|
+
handler: M(i),
|
|
2198
2198
|
target: e
|
|
2199
2199
|
},
|
|
2200
2200
|
handled: !1,
|
|
@@ -2203,9 +2203,9 @@ function da(e, t) {
|
|
|
2203
2203
|
} catch {}
|
|
2204
2204
|
return t.unregisterOriginalCallbacks && pa(this, r, i), n.apply(this, [
|
|
2205
2205
|
r,
|
|
2206
|
-
|
|
2206
|
+
J(i, { mechanism: {
|
|
2207
2207
|
data: {
|
|
2208
|
-
handler:
|
|
2208
|
+
handler: M(i),
|
|
2209
2209
|
target: e
|
|
2210
2210
|
},
|
|
2211
2211
|
handled: !1,
|
|
@@ -2214,7 +2214,7 @@ function da(e, t) {
|
|
|
2214
2214
|
a
|
|
2215
2215
|
]);
|
|
2216
2216
|
};
|
|
2217
|
-
}),
|
|
2217
|
+
}), E(i, "removeEventListener", function(e) {
|
|
2218
2218
|
return function(t, n, r) {
|
|
2219
2219
|
try {
|
|
2220
2220
|
let i = n.__sentry_wrapped__;
|
|
@@ -2232,27 +2232,27 @@ function pa(e, t, n) {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
//#endregion
|
|
2234
2234
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2235
|
-
var ma =
|
|
2235
|
+
var ma = V((e = {}) => {
|
|
2236
2236
|
var t;
|
|
2237
2237
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2238
2238
|
return {
|
|
2239
2239
|
name: "BrowserSession",
|
|
2240
2240
|
setupOnce() {
|
|
2241
|
-
if (
|
|
2242
|
-
Q &&
|
|
2241
|
+
if (q.document === void 0) {
|
|
2242
|
+
Q && A.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2243
2243
|
return;
|
|
2244
2244
|
}
|
|
2245
|
-
|
|
2246
|
-
let e =
|
|
2245
|
+
xe({ ignoreDuration: !0 }), He();
|
|
2246
|
+
let e = ue(), t = e.getUser();
|
|
2247
2247
|
e.addScopeListener((e) => {
|
|
2248
2248
|
let n = e.getUser();
|
|
2249
|
-
((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)) && (
|
|
2249
|
+
((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)) && (He(), t = n);
|
|
2250
2250
|
}), n === "route" && Ei(({ from: e, to: t }) => {
|
|
2251
|
-
e !== t && (
|
|
2251
|
+
e !== t && (xe({ ignoreDuration: !0 }), He());
|
|
2252
2252
|
});
|
|
2253
2253
|
}
|
|
2254
2254
|
};
|
|
2255
|
-
}), ha = "CultureContext", ga =
|
|
2255
|
+
}), ha = "CultureContext", ga = V((() => ({
|
|
2256
2256
|
name: ha,
|
|
2257
2257
|
preprocessEvent(e) {
|
|
2258
2258
|
let t = _a();
|
|
@@ -2269,7 +2269,7 @@ var ma = U((e = {}) => {
|
|
|
2269
2269
|
},
|
|
2270
2270
|
processSegmentSpan(e) {
|
|
2271
2271
|
let t = _a();
|
|
2272
|
-
t &&
|
|
2272
|
+
t && Ht(e, {
|
|
2273
2273
|
"culture.locale": t.locale,
|
|
2274
2274
|
"culture.timezone": t.timezone,
|
|
2275
2275
|
"culture.calendar": t.calendar
|
|
@@ -2278,7 +2278,7 @@ var ma = U((e = {}) => {
|
|
|
2278
2278
|
})));
|
|
2279
2279
|
function _a() {
|
|
2280
2280
|
try {
|
|
2281
|
-
let e =
|
|
2281
|
+
let e = q.Intl;
|
|
2282
2282
|
if (!e) return;
|
|
2283
2283
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2284
2284
|
return {
|
|
@@ -2292,7 +2292,7 @@ function _a() {
|
|
|
2292
2292
|
}
|
|
2293
2293
|
//#endregion
|
|
2294
2294
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2295
|
-
var va = "GlobalHandlers", ya =
|
|
2295
|
+
var va = "GlobalHandlers", ya = V(((e = {}) => {
|
|
2296
2296
|
let t = {
|
|
2297
2297
|
onerror: !0,
|
|
2298
2298
|
onunhandledrejection: !0,
|
|
@@ -2309,11 +2309,11 @@ var va = "GlobalHandlers", ya = U(((e = {}) => {
|
|
|
2309
2309
|
};
|
|
2310
2310
|
}));
|
|
2311
2311
|
function ba(e) {
|
|
2312
|
-
|
|
2312
|
+
ht((t) => {
|
|
2313
2313
|
let { stackParser: n, attachStacktrace: r } = Ea();
|
|
2314
|
-
if (g() !== e ||
|
|
2315
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l = wa(
|
|
2316
|
-
l.level = "error",
|
|
2314
|
+
if (g() !== e || qr()) return;
|
|
2315
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = wa(ci(n, c || i, void 0, r, !1), a, o, s);
|
|
2316
|
+
l.level = "error", Ke(l, {
|
|
2317
2317
|
originalException: c,
|
|
2318
2318
|
mechanism: {
|
|
2319
2319
|
handled: !1,
|
|
@@ -2323,11 +2323,11 @@ function ba(e) {
|
|
|
2323
2323
|
});
|
|
2324
2324
|
}
|
|
2325
2325
|
function xa(e) {
|
|
2326
|
-
|
|
2326
|
+
vt((t) => {
|
|
2327
2327
|
let { stackParser: n, attachStacktrace: r } = Ea();
|
|
2328
|
-
if (g() !== e ||
|
|
2329
|
-
let i = Sa(t), a =
|
|
2330
|
-
a.level = "error",
|
|
2328
|
+
if (g() !== e || qr()) return;
|
|
2329
|
+
let i = Sa(t), a = O(i) ? Ca(i) : ci(n, i, void 0, r, !0);
|
|
2330
|
+
a.level = "error", Ke(a, {
|
|
2331
2331
|
originalException: i,
|
|
2332
2332
|
mechanism: {
|
|
2333
2333
|
handled: !1,
|
|
@@ -2337,7 +2337,7 @@ function xa(e) {
|
|
|
2337
2337
|
});
|
|
2338
2338
|
}
|
|
2339
2339
|
function Sa(e) {
|
|
2340
|
-
if (
|
|
2340
|
+
if (O(e)) return e;
|
|
2341
2341
|
try {
|
|
2342
2342
|
if ("reason" in e) return e.reason;
|
|
2343
2343
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
@@ -2357,7 +2357,7 @@ function wa(e, t, n, r) {
|
|
|
2357
2357
|
c.push({
|
|
2358
2358
|
colno: r,
|
|
2359
2359
|
lineno: n,
|
|
2360
|
-
filename: (l = Da(t)) == null ?
|
|
2360
|
+
filename: (l = Da(t)) == null ? re() : l,
|
|
2361
2361
|
function: "?",
|
|
2362
2362
|
in_app: !0
|
|
2363
2363
|
});
|
|
@@ -2365,7 +2365,7 @@ function wa(e, t, n, r) {
|
|
|
2365
2365
|
return e;
|
|
2366
2366
|
}
|
|
2367
2367
|
function Ta(e) {
|
|
2368
|
-
Q &&
|
|
2368
|
+
Q && A.log(`Global Handler attached: ${e}`);
|
|
2369
2369
|
}
|
|
2370
2370
|
function Ea() {
|
|
2371
2371
|
let e = g();
|
|
@@ -2375,16 +2375,16 @@ function Ea() {
|
|
|
2375
2375
|
};
|
|
2376
2376
|
}
|
|
2377
2377
|
function Da(e) {
|
|
2378
|
-
if (!(!
|
|
2378
|
+
if (!(!j(e) || e.length === 0)) return e.startsWith("data:") ? `<${Zn(e, !1)}>` : e;
|
|
2379
2379
|
}
|
|
2380
2380
|
//#endregion
|
|
2381
2381
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2382
|
-
var Oa =
|
|
2382
|
+
var Oa = V(() => ({
|
|
2383
2383
|
name: "HttpContext",
|
|
2384
2384
|
preprocessEvent(e) {
|
|
2385
2385
|
var t;
|
|
2386
|
-
if (!
|
|
2387
|
-
let n =
|
|
2386
|
+
if (!q.navigator && !q.location && !q.document) return;
|
|
2387
|
+
let n = Yr(), r = {
|
|
2388
2388
|
...n.headers,
|
|
2389
2389
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2390
2390
|
};
|
|
@@ -2395,52 +2395,52 @@ var Oa = U(() => ({
|
|
|
2395
2395
|
};
|
|
2396
2396
|
},
|
|
2397
2397
|
processSegmentSpan(e) {
|
|
2398
|
-
if (!
|
|
2399
|
-
let t =
|
|
2400
|
-
|
|
2398
|
+
if (!q.navigator && !q.location && !q.document) return;
|
|
2399
|
+
let t = Yr();
|
|
2400
|
+
Ht(e, {
|
|
2401
2401
|
"url.full": t.url || void 0,
|
|
2402
2402
|
"http.request.header.user_agent": t.headers["User-Agent"],
|
|
2403
2403
|
"http.request.header.referer": t.headers.Referer
|
|
2404
2404
|
});
|
|
2405
2405
|
}
|
|
2406
|
-
})), ka = "cause", Aa = 5, ja = "LinkedErrors", Ma =
|
|
2406
|
+
})), ka = "cause", Aa = 5, ja = "LinkedErrors", Ma = V(((e = {}) => {
|
|
2407
2407
|
let t = e.limit || Aa, n = e.key || ka;
|
|
2408
2408
|
return {
|
|
2409
2409
|
name: ja,
|
|
2410
2410
|
preprocessEvent(e, r, i) {
|
|
2411
|
-
|
|
2411
|
+
_r(Xr, i.getOptions().stackParser, n, t, e, r);
|
|
2412
2412
|
}
|
|
2413
2413
|
};
|
|
2414
2414
|
}));
|
|
2415
2415
|
//#endregion
|
|
2416
2416
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2417
2417
|
function Na() {
|
|
2418
|
-
return Pa() ? (Q &&
|
|
2418
|
+
return Pa() ? (Q && Be(() => {
|
|
2419
2419
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2420
2420
|
}), !0) : !1;
|
|
2421
2421
|
}
|
|
2422
2422
|
function Pa() {
|
|
2423
2423
|
var e;
|
|
2424
|
-
if (
|
|
2425
|
-
let t =
|
|
2424
|
+
if (q.window === void 0) return !1;
|
|
2425
|
+
let t = q;
|
|
2426
2426
|
if (t.nw) return !1;
|
|
2427
2427
|
let n = t.chrome || t.browser;
|
|
2428
2428
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2429
|
-
let r =
|
|
2430
|
-
return !(
|
|
2429
|
+
let r = re();
|
|
2430
|
+
return !(q === q.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2431
2431
|
}
|
|
2432
2432
|
//#endregion
|
|
2433
2433
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2434
2434
|
function Fa(e) {
|
|
2435
2435
|
return [
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2436
|
+
cr(),
|
|
2437
|
+
ir(),
|
|
2438
|
+
Pr(),
|
|
2439
2439
|
sa(),
|
|
2440
2440
|
Zi(),
|
|
2441
2441
|
ya(),
|
|
2442
2442
|
Ma(),
|
|
2443
|
-
|
|
2443
|
+
Er(),
|
|
2444
2444
|
Oa(),
|
|
2445
2445
|
ga(),
|
|
2446
2446
|
ma()
|
|
@@ -2448,11 +2448,11 @@ function Fa(e) {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
function Ia(e = {}) {
|
|
2450
2450
|
let t = !e.skipBrowserExtensionCheck && Na(), n = e.defaultIntegrations == null ? Fa() : e.defaultIntegrations;
|
|
2451
|
-
return
|
|
2451
|
+
return Gn(pi, {
|
|
2452
2452
|
...e,
|
|
2453
2453
|
enabled: t ? !1 : e.enabled,
|
|
2454
|
-
stackParser:
|
|
2455
|
-
integrations:
|
|
2454
|
+
stackParser: we(e.stackParser || qi),
|
|
2455
|
+
integrations: Xt({
|
|
2456
2456
|
integrations: e.integrations,
|
|
2457
2457
|
defaultIntegrations: n
|
|
2458
2458
|
}),
|
|
@@ -2461,14 +2461,14 @@ function Ia(e = {}) {
|
|
|
2461
2461
|
}
|
|
2462
2462
|
//#endregion
|
|
2463
2463
|
//#region ../../node_modules/.pnpm/@sentry+react@10.51.0_react@19.2.5/node_modules/@sentry/react/build/esm/sdk.js
|
|
2464
|
-
var La = /* @__PURE__ */ e(
|
|
2464
|
+
var La = /* @__PURE__ */ e(et());
|
|
2465
2465
|
function Ra(e) {
|
|
2466
2466
|
let t = { ...e };
|
|
2467
|
-
return
|
|
2467
|
+
return $n(t, "react"), ve("react", { version: La.version }), Ia(t);
|
|
2468
2468
|
}
|
|
2469
2469
|
//#endregion
|
|
2470
2470
|
//#region src/tools/sentry.ts
|
|
2471
|
-
var za = "production", Ba = "3.1.
|
|
2471
|
+
var za = "production", Ba = "3.1.4";
|
|
2472
2472
|
function Va() {
|
|
2473
2473
|
let e = "sentry_offline_queue";
|
|
2474
2474
|
return {
|
|
@@ -2517,7 +2517,7 @@ function Va() {
|
|
|
2517
2517
|
};
|
|
2518
2518
|
}
|
|
2519
2519
|
function Ha(e) {
|
|
2520
|
-
let t =
|
|
2520
|
+
let t = Yn(Ii);
|
|
2521
2521
|
Ra({
|
|
2522
2522
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2523
2523
|
release: Ba,
|
|
@@ -2549,14 +2549,14 @@ function Ha(e) {
|
|
|
2549
2549
|
beforeSend(e) {
|
|
2550
2550
|
return za === "production" ? e : null;
|
|
2551
2551
|
}
|
|
2552
|
-
}), e.eventId &&
|
|
2552
|
+
}), e.eventId && Re("eventId", e.eventId), Re("isWebview", e.isWebview), Re("source", "vite-main"), We({ ip_address: "{{auto}}" }), Ua();
|
|
2553
2553
|
}
|
|
2554
2554
|
function Ua() {
|
|
2555
2555
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2556
|
-
|
|
2556
|
+
Ie(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2557
2557
|
});
|
|
2558
2558
|
let e = window.onerror;
|
|
2559
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2559
|
+
window.onerror = (t, n, r, i, a) => (a && Ie(a, { contexts: { windowError: {
|
|
2560
2560
|
message: t,
|
|
2561
2561
|
source: n,
|
|
2562
2562
|
lineno: r,
|
|
@@ -2568,22 +2568,15 @@ function Ua() {
|
|
|
2568
2568
|
});
|
|
2569
2569
|
}
|
|
2570
2570
|
//#endregion
|
|
2571
|
-
//#region src/
|
|
2572
|
-
|
|
2573
|
-
function Ka(e) {
|
|
2574
|
-
return {
|
|
2575
|
-
subDomain: Ja(),
|
|
2576
|
-
subscriptionStatus: Ya(e)
|
|
2577
|
-
};
|
|
2578
|
-
}
|
|
2579
|
-
function qa() {
|
|
2580
|
-
return !1;
|
|
2581
|
-
}
|
|
2582
|
-
function Ja() {
|
|
2571
|
+
//#region src/intercom/shouldLoad.ts
|
|
2572
|
+
function Wa() {
|
|
2583
2573
|
let e = window.location.hostname.split(".");
|
|
2584
|
-
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com"
|
|
2574
|
+
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
2585
2575
|
}
|
|
2586
|
-
function
|
|
2576
|
+
function Ga() {
|
|
2577
|
+
return Wa() ? window.location.hostname.split(".")[0] : "main";
|
|
2578
|
+
}
|
|
2579
|
+
function Ka(e) {
|
|
2587
2580
|
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
2588
2581
|
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
2589
2582
|
if (t) {
|
|
@@ -2592,42 +2585,26 @@ function Ya(e) {
|
|
|
2592
2585
|
}
|
|
2593
2586
|
return "Active";
|
|
2594
2587
|
}
|
|
2595
|
-
function
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
app_id: Wa,
|
|
2609
|
-
alignment: "right",
|
|
2610
|
-
expofp_subdomain: t,
|
|
2611
|
-
expofp_subscription_status: n
|
|
2612
|
-
}, Xa();
|
|
2613
|
-
let i = function() {
|
|
2614
|
-
i.c(arguments);
|
|
2615
|
-
};
|
|
2616
|
-
i.q = [], i.c = function(e) {
|
|
2617
|
-
i.q.push(e);
|
|
2618
|
-
}, r.Intercom = i;
|
|
2619
|
-
let a = () => {
|
|
2620
|
-
let e = document.createElement("script");
|
|
2621
|
-
e.type = "text/javascript", e.async = !0, e.src = `https://widget.intercom.io/widget/${Wa}`, document.head.appendChild(e);
|
|
2622
|
-
};
|
|
2623
|
-
document.readyState === "complete" ? a() : window.addEventListener("load", a, !1);
|
|
2588
|
+
function qa() {
|
|
2589
|
+
return !1;
|
|
2590
|
+
}
|
|
2591
|
+
function Ja(e) {
|
|
2592
|
+
return e;
|
|
2593
|
+
}
|
|
2594
|
+
function Ya(e) {
|
|
2595
|
+
if (qa() || !Wa() || !window.navigator.onLine) return null;
|
|
2596
|
+
let t = Ja({
|
|
2597
|
+
subDomain: Ga(),
|
|
2598
|
+
subscriptionStatus: Ka(e)
|
|
2599
|
+
});
|
|
2600
|
+
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
2624
2601
|
}
|
|
2625
2602
|
//#endregion
|
|
2626
2603
|
//#region src/floorplan.loader.ts
|
|
2627
2604
|
function $() {
|
|
2628
2605
|
throw Error("FloorPlan not ready");
|
|
2629
2606
|
}
|
|
2630
|
-
var
|
|
2607
|
+
var Xa = class {
|
|
2631
2608
|
get ready() {
|
|
2632
2609
|
return this._ready;
|
|
2633
2610
|
}
|
|
@@ -2771,7 +2748,7 @@ var Qa = class {
|
|
|
2771
2748
|
}
|
|
2772
2749
|
constructor(e) {
|
|
2773
2750
|
var n;
|
|
2774
|
-
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent =
|
|
2751
|
+
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = ft && !f ? !1 : e.allowConsent, this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!e.viewerMode, this.disableRuntimeAlerts = (n = e.disableRuntimeAlerts) == null ? !0 : n, this._ready = new Promise((e, t) => {
|
|
2775
2752
|
this.resolveReady = e;
|
|
2776
2753
|
});
|
|
2777
2754
|
let u = e.element;
|
|
@@ -2794,62 +2771,62 @@ var Qa = class {
|
|
|
2794
2771
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
2795
2772
|
e && (this.allowConsent = e === "true");
|
|
2796
2773
|
}
|
|
2797
|
-
if (
|
|
2774
|
+
if (ut) {
|
|
2798
2775
|
_ = g.attachShadow({ mode: "open" });
|
|
2799
2776
|
let e = _, t = document;
|
|
2800
2777
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
2801
2778
|
} else _ = g;
|
|
2802
2779
|
let v = document.createElement("div");
|
|
2803
|
-
if (v.style.height = "100%", v.style.width = "100%", _.appendChild(v),
|
|
2780
|
+
if (v.style.height = "100%", v.style.width = "100%", _.appendChild(v), ut && Object.defineProperty(v, "ownerDocument", { value: _ }), window.__efpShadowDOMStyleParent = ut ? _ : void 0, this.renderTarget = v, u.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2804
2781
|
let y = e.legacyDataUrlBase;
|
|
2805
2782
|
window.__dataUrlBase = y, this.dataUrl = y, s.log("Instantiating ExpoFP floorplan", e.element, d);
|
|
2806
|
-
let b = y + "data.js", x = y + "wf.data.js", S = y + "fp.svg.js",
|
|
2783
|
+
let b = y + "data.js", x = y + "wf.data.js", S = y + "fp.svg.js", re = [
|
|
2807
2784
|
i(x),
|
|
2808
2785
|
i(b),
|
|
2809
2786
|
i(S)
|
|
2810
|
-
],
|
|
2787
|
+
], C = 0;
|
|
2811
2788
|
this.efpStyleLoadHandler = function(e) {
|
|
2812
2789
|
let t = window.__efpStyleElements;
|
|
2813
|
-
for (;
|
|
2814
|
-
let e = t[
|
|
2815
|
-
_.appendChild(e),
|
|
2790
|
+
for (; C < t.length;) {
|
|
2791
|
+
let e = t[C];
|
|
2792
|
+
_.appendChild(e), C++;
|
|
2816
2793
|
}
|
|
2817
2794
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
2818
|
-
let
|
|
2795
|
+
let w = this;
|
|
2819
2796
|
(async function() {
|
|
2820
2797
|
var e, n;
|
|
2821
|
-
await Promise.all(
|
|
2798
|
+
await Promise.all(re);
|
|
2822
2799
|
let ee = 0;
|
|
2823
2800
|
for (; window.__fpPending && !window.__fp;) await t(2e3), await i(S + `?v=${++ee}`);
|
|
2824
|
-
let f = window.__data;
|
|
2825
|
-
|
|
2826
|
-
let
|
|
2801
|
+
let f = window.__data, p = Ya(f);
|
|
2802
|
+
p && import("./bootIntercom-BsKv9v5g.js").then(({ bootIntercom: e }) => e(p)).catch(() => {}), await te();
|
|
2803
|
+
let m = new URLSearchParams(window.location.search), h, v;
|
|
2827
2804
|
if (f != null && f.trackerUrl) try {
|
|
2828
|
-
|
|
2805
|
+
h = new URL(f.trackerUrl), v = h.searchParams.get("expoId");
|
|
2829
2806
|
} catch (e) {
|
|
2830
2807
|
console.error(e);
|
|
2831
2808
|
}
|
|
2832
|
-
let
|
|
2833
|
-
if (!
|
|
2834
|
-
let t = new URL(e.dataUrl,
|
|
2809
|
+
let y = async (e) => {
|
|
2810
|
+
if (!h || !v) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
2811
|
+
let t = new URL(e.dataUrl, h.origin), n = await fetch(t.toString(), {
|
|
2835
2812
|
method: "POST",
|
|
2836
2813
|
headers: { "Content-Type": "application/json" },
|
|
2837
2814
|
body: JSON.stringify({
|
|
2838
|
-
expoId:
|
|
2839
|
-
token: decodeURIComponent(
|
|
2815
|
+
expoId: v,
|
|
2816
|
+
token: decodeURIComponent(m.get("t"))
|
|
2840
2817
|
})
|
|
2841
2818
|
}), r = [];
|
|
2842
2819
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
2843
2820
|
};
|
|
2844
|
-
if (
|
|
2845
|
-
if (
|
|
2821
|
+
if (m.get("heatmap") === "true") try {
|
|
2822
|
+
if (m.get("type") === "yah") m.get("subtype") === "kiosk" ? await y({
|
|
2846
2823
|
dataUrl: "/api/kiosks/list/viewer",
|
|
2847
2824
|
dataMapper: (e) => ({
|
|
2848
2825
|
...e,
|
|
2849
2826
|
id: e.key,
|
|
2850
2827
|
name: `Kiosk ${e.key}`
|
|
2851
2828
|
})
|
|
2852
|
-
}) : await
|
|
2829
|
+
}) : await y({
|
|
2853
2830
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
2854
2831
|
dataMapper: (e, t) => ({
|
|
2855
2832
|
...e,
|
|
@@ -2857,10 +2834,10 @@ var Qa = class {
|
|
|
2857
2834
|
})
|
|
2858
2835
|
});
|
|
2859
2836
|
else {
|
|
2860
|
-
let e = new URL("/api/fp-stats/get",
|
|
2861
|
-
e.searchParams.set("expoId",
|
|
2862
|
-
let t = new URL("api/fp-stats/get",
|
|
2863
|
-
t.searchParams.set("expoId",
|
|
2837
|
+
let e = new URL("/api/fp-stats/get", h.origin);
|
|
2838
|
+
e.searchParams.set("expoId", v), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(m.get("t")));
|
|
2839
|
+
let t = new URL("api/fp-stats/get", h.origin);
|
|
2840
|
+
t.searchParams.set("expoId", v), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(m.get("t")));
|
|
2864
2841
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
2865
2842
|
window.__heatmapData = {
|
|
2866
2843
|
booths: i,
|
|
@@ -2878,12 +2855,12 @@ var Qa = class {
|
|
|
2878
2855
|
rt: e,
|
|
2879
2856
|
expoKey: d
|
|
2880
2857
|
}), n = await fetch(t);
|
|
2881
|
-
n.ok &&
|
|
2858
|
+
n.ok && ct(f, await n.json()), f.isRebooking = n.ok;
|
|
2882
2859
|
} else f.isRebooking = !1;
|
|
2883
2860
|
} catch (e) {
|
|
2884
2861
|
console.error(e);
|
|
2885
2862
|
}
|
|
2886
|
-
let
|
|
2863
|
+
let b = [
|
|
2887
2864
|
ne(l + "vendor/sanitize-css/sanitize.css", _),
|
|
2888
2865
|
ne(l + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", _),
|
|
2889
2866
|
ne(l + "vendor/mapbox/mapbox-gl.css", _),
|
|
@@ -2893,18 +2870,18 @@ var Qa = class {
|
|
|
2893
2870
|
c("Inter", l + "fonts/inter-500.woff2", { weight: 500 }),
|
|
2894
2871
|
c("Inter", l + "fonts/inter-600.woff2", { weight: 600 }),
|
|
2895
2872
|
c("efp-symbols", l + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
2896
|
-
|
|
2897
|
-
|
|
2873
|
+
ot(f, _),
|
|
2874
|
+
st(w.icons)
|
|
2898
2875
|
];
|
|
2899
|
-
await Promise.all(
|
|
2900
|
-
let { default:
|
|
2876
|
+
await Promise.all(b), w.enableRotation = (e = f == null ? void 0 : f.enableRotation) == null ? !1 : e, w.alwaysShowSidebar = (n = f == null ? void 0 : f.alwaysShowSidebar) == null ? !1 : n, s.log("Data loaded");
|
|
2877
|
+
let { default: x } = await import(
|
|
2901
2878
|
/* webpackChunkName: "floorplan" */
|
|
2902
|
-
"./floorplan.ready-
|
|
2879
|
+
"./floorplan.ready-xulLyTpM.js"
|
|
2903
2880
|
);
|
|
2904
2881
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); u.firstChild && u.firstChild !== g;) u.removeChild(u.firstChild);
|
|
2905
|
-
Object.setPrototypeOf(
|
|
2882
|
+
Object.setPrototypeOf(w, x.prototype).init();
|
|
2906
2883
|
})();
|
|
2907
2884
|
}
|
|
2908
2885
|
};
|
|
2909
2886
|
//#endregion
|
|
2910
|
-
export {
|
|
2887
|
+
export { nt as a, qt as i, Q as n, q as r, Xa as t };
|