@expofp/floorplan 3.21.0 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-6NDEmaym.js → Button-PkkC8fYi.js} +5 -5
- package/dist/browser/{CookieConsent-DIZ56yeV.js → CookieConsent-COPAytjc.js} +7 -7
- package/dist/browser/{Debug-DPDEKp16.js → Debug-CWVwWCU0.js} +7 -7
- package/dist/browser/{Demo-LooT3NTt.js → Demo-yP6tHJE2.js} +9 -9
- package/dist/browser/{Free-DWuhem3B.js → Free-rILAyXya.js} +9 -9
- package/dist/browser/{Gallery-H_Ao8Wob.js → Gallery-DbQ6bxpv.js} +9 -9
- package/dist/browser/{GpsLoader-CnA48SiM.js → GpsLoader-U0qUOF4J.js} +10 -10
- package/dist/browser/{KioskStore-feFdhC63.js → KioskStore-D25GX7Yv.js} +4 -4
- package/dist/browser/{MaplibreAdapter-QpAzWiao.js → MaplibreAdapter-CMX6Q9zs.js} +9 -9
- package/dist/browser/{ModalContainer-CKQYNqfY.js → ModalContainer-TVi_WpAy.js} +10 -10
- package/dist/browser/{PermissionNotice-Dwcqgz1-.js → PermissionNotice-SMHSj2qI.js} +6 -6
- package/dist/browser/{SetKioskMode-Go9lcZM6.js → SetKioskMode-BwSFzzos.js} +8 -8
- package/dist/browser/{ShowKiosk-ox9OyQzR.js → ShowKiosk-D0lj2wzz.js} +10 -10
- package/dist/browser/{ViewerMenuPanel-x0B9qlCR.js → ViewerMenuPanel-9A84e6XT.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-C3oywqMt.js → add-debug-secret-listener-CyjybhbR.js} +1 -1
- package/dist/browser/{adopt-global-settings-rBIySdjE.js → adopt-global-settings-BhJX0B0D.js} +9 -9
- package/dist/browser/{boolean-editor-CHDhmmAh.js → boolean-editor-3IdccOj-.js} +9 -9
- package/dist/browser/{bootIntercom-CHkp1kJz.js → bootIntercom-CkHVzOj8.js} +2 -2
- package/dist/browser/{booth-by-xy-BX7Xr5bg.js → booth-by-xy-CQvcHK_A.js} +6 -6
- package/dist/browser/bundle.json +65 -65
- package/dist/browser/{classnames-DpUTJvsT.js → classnames-6bU7zOpA.js} +2 -2
- package/dist/browser/{client-DFFvY3xt.js → client-BkHWS5lm.js} +4 -4
- package/dist/browser/{components-Cmaub3sK.js → components-Btgwx55F.js} +36 -36
- package/dist/browser/{debug-overlay-CzlPAkPo.js → debug-overlay-D9Gq5tnJ.js} +10 -10
- package/dist/browser/{debug-ui-Cr58EN5x.js → debug-ui-CclRARRM.js} +6 -6
- package/dist/browser/{dist-Dh1cJcrT.js → dist-D4vUke_M.js} +3 -3
- package/dist/browser/{dist-mEXd3j5f.js → dist-YXQi1KHp.js} +6 -6
- package/dist/browser/{dist-CfkjLgkM.js → dist-nmYmVc14.js} +5 -5
- package/dist/browser/{efp-debug-init-DzLpDq44.js → efp-debug-init-BNS4_yDX.js} +3 -3
- package/dist/browser/{enum-editor-toeawMIK.js → enum-editor-YeDXZjkr.js} +4 -4
- package/dist/browser/{es5-1fqaLdsA.js → es5-CNjSlyOY.js} +2 -2
- package/dist/browser/{event-not-found-CysGEIJS.js → event-not-found-BQMzvSOp.js} +1 -1
- package/dist/browser/{exports--D12hPpe.js → exports-BPkLTIY6.js} +1 -1
- package/dist/browser/{favicon-DyvjFdoC.js → favicon-D09E0ggy.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Ca0V09jn.js → fetch-retry.umd-CyeSNjOO.js} +2 -2
- package/dist/browser/{flex-Dhkzu4-Z.js → flex-DFe-lnRY.js} +5 -5
- package/dist/browser/{floorplan.loader-BXp1Y-JP.js → floorplan.loader-CtqFPg5v.js} +646 -631
- package/dist/browser/{floorplan.ready-BOHYcGG4.js → floorplan.ready-mvJLjOT8.js} +14 -14
- package/dist/browser/{fuse-C8Q4nysC.js → fuse-CH8SDiG4.js} +2 -2
- package/dist/browser/{i18n-CcadkCad.js → i18n-pREdf4o-.js} +8 -6
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-B5ngAAzL.js → index.module-4MYJQyVQ.js} +4 -4
- package/dist/browser/{integrateKiosk-Bsbc1NXX.js → integrateKiosk-BuctRtHM.js} +4 -4
- package/dist/browser/{is-webview-DCWpW822.js → is-webview-Dk7i6iyE.js} +1 -1
- package/dist/browser/{jsx-runtime-BK-OYhxI.js → jsx-runtime-BXQ7PX-y.js} +2 -2
- package/dist/browser/{kiosk-record-Q5k5SaUf.js → kiosk-record-Dz3E7PjP.js} +1 -1
- package/dist/browser/{lib-DUB7Py1K.js → lib-BfXVjQQV.js} +3 -3
- package/dist/browser/{loadImage-D6gpGZjW.js → loadImage-CUg38cMx.js} +4 -4
- package/dist/browser/{logDeviceInfo-oYeZYnAS.js → logDeviceInfo-CgIqRuAY.js} +9 -9
- package/dist/browser/{main-Q6lVLCwH.js → main-BzXd5H0A.js} +1 -1
- package/dist/browser/{mobx-D4oBGwya.js → mobx-BEFSh5R7.js} +4 -4
- package/dist/browser/{optional-boolean-editor-DJuOKx2A.js → optional-boolean-editor-DH0Yj5mx.js} +3 -3
- package/dist/browser/{optional-enum-editor-Ciot7KUO.js → optional-enum-editor-DdsG6-RD.js} +4 -4
- package/dist/browser/{optional-string-editor-Dcn_VMN8.js → optional-string-editor-DdFnggla.js} +4 -4
- package/dist/browser/{particles.min-DoLYvbiH.js → particles.min-C6YCIw7u.js} +2 -2
- package/dist/browser/{react-2I6YbUQc.js → react-Cq6vsgZS.js} +2 -2
- package/dist/browser/{react-dom-DBXQzRXE.js → react-dom-CioKdINL.js} +3 -3
- package/dist/browser/{rolldown-runtime-ZrmhLWDv.js → rolldown-runtime-CEmdmqfC.js} +1 -1
- package/dist/browser/{select-C4vkn88L.js → select-BREAzzuP.js} +10 -10
- package/dist/browser/{settings-tphC2cOa.js → settings-C17jPyNg.js} +2 -2
- package/dist/browser/{settings-item-CJHraM42.js → settings-item-BYt2Yu8n.js} +6 -6
- package/dist/browser/{store-B4grQLaW.js → store-BzaR1IVp.js} +11 -11
- package/dist/browser/{string-editor-DKOuPyeS.js → string-editor-XaVb33Ez.js} +4 -4
- package/dist/browser/{text-field-DmPCv8tr.js → text-field-D70wZ5kg.js} +5 -5
- package/dist/browser/{theme-C7pLumQ_.js → theme-BLZVltm4.js} +8 -8
- package/dist/browser/{ui-DoFhKteH.js → ui-DyGGq9Ts.js} +8 -8
- package/dist/browser/{useRenderTarget-lRmLi-oU.js → useRenderTarget-CMhjhwNe.js} +4 -4
- package/dist/esm/floorplan.loader.d.ts +6 -5
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/internal-settings.d.ts +13 -0
- package/dist/esm/internal-settings.js +1 -0
- package/dist/esm/store/UIState.d.ts +5 -5
- package/package.json +10 -10
|
@@ -1,17 +1,17 @@
|
|
|
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.22.0" };
|
|
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] = "0cc8b14a-f4ad-4d01-9109-36c5c3f1ec93", e._sentryDebugIdIdentifier = "sentry-dbid-0cc8b14a-f4ad-4d01-9109-36c5c3f1ec93");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { A as t, D as n, E as r, O as i, Rt as a, i as o, l as s } from "./i18n-
|
|
11
|
-
import { t as c } from "./react-
|
|
12
|
-
import { n as l, r as u, t as d } from "./loadImage-
|
|
13
|
-
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, J as S, K as C, L as
|
|
14
|
-
import { t as Xe } from "./is-webview-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CEmdmqfC.js";
|
|
10
|
+
import { A as t, D as n, E as r, O as i, Rt as a, i as o, l as s } from "./i18n-pREdf4o-.js";
|
|
11
|
+
import { t as c } from "./react-Cq6vsgZS.js";
|
|
12
|
+
import { n as l, r as u, t as d } from "./loadImage-CUg38cMx.js";
|
|
13
|
+
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, J as S, K as C, L as w, M as T, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as E, V as se, W as ce, X as le, Y as ue, Z as de, _ as D, _t as fe, a as pe, at as me, b as he, bt as O, c as ge, ct as _e, d as ve, dt as k, et as ye, f as be, ft as xe, g as Se, gt as Ce, h as we, ht as A, it as Te, j, k as Ee, l as De, lt as Oe, m as ke, mt as Ae, n as je, nt as Me, o as Ne, ot as Pe, p as Fe, pt as Ie, q as M, r as Le, rt as Re, s as ze, st as N, t as Be, tt as Ve, u as He, ut as Ue, v as We, vt as Ge, w as Ke, x as qe, xt as P, y as Je, yt as Ye, z as F } from "./exports-BPkLTIY6.js";
|
|
14
|
+
import { t as Xe } from "./is-webview-Dk7i6iyE.js";
|
|
15
15
|
//#region ../config/src/lib/apply-intents.ts
|
|
16
16
|
function Ze(e, t) {
|
|
17
17
|
let n = JSON.parse(JSON.stringify(t.args));
|
|
@@ -95,8 +95,16 @@ function rt(e) {
|
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
//#endregion
|
|
98
|
+
//#region src/internal-settings.ts
|
|
99
|
+
var it = /* @__PURE__ */ e(c());
|
|
100
|
+
function at(e) {
|
|
101
|
+
var t;
|
|
102
|
+
let n = (t = e.mobileLocationProvider) == null ? void 0 : t.trim();
|
|
103
|
+
return Object.freeze({ mobileLocationProvider: n || null });
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
98
106
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
99
|
-
var I = {},
|
|
107
|
+
var I = {}, ot = {};
|
|
100
108
|
function L(e, t) {
|
|
101
109
|
return I[e] = I[e] || [], I[e].push(t), () => {
|
|
102
110
|
let n = I[e];
|
|
@@ -107,8 +115,8 @@ function L(e, t) {
|
|
|
107
115
|
};
|
|
108
116
|
}
|
|
109
117
|
function R(e, t) {
|
|
110
|
-
if (!
|
|
111
|
-
|
|
118
|
+
if (!ot[e]) {
|
|
119
|
+
ot[e] = !0;
|
|
112
120
|
try {
|
|
113
121
|
t();
|
|
114
122
|
} catch (t) {
|
|
@@ -129,76 +137,76 @@ Error:`, t);
|
|
|
129
137
|
}
|
|
130
138
|
//#endregion
|
|
131
139
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
132
|
-
var
|
|
133
|
-
function
|
|
140
|
+
var st = null;
|
|
141
|
+
function ct(e) {
|
|
134
142
|
let t = "error";
|
|
135
|
-
L(t, e), R(t,
|
|
143
|
+
L(t, e), R(t, lt);
|
|
136
144
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
145
|
+
function lt() {
|
|
146
|
+
st = O.onerror, O.onerror = function(e, t, n, r, i) {
|
|
139
147
|
return z("error", {
|
|
140
148
|
column: r,
|
|
141
149
|
error: i,
|
|
142
150
|
line: n,
|
|
143
151
|
msg: e,
|
|
144
152
|
url: t
|
|
145
|
-
}),
|
|
153
|
+
}), st ? st.apply(this, arguments) : !1;
|
|
146
154
|
}, O.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
147
155
|
}
|
|
148
156
|
//#endregion
|
|
149
157
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
150
|
-
var
|
|
151
|
-
function
|
|
158
|
+
var ut = null;
|
|
159
|
+
function dt(e) {
|
|
152
160
|
let t = "unhandledrejection";
|
|
153
|
-
L(t, e), R(t,
|
|
161
|
+
L(t, e), R(t, ft);
|
|
154
162
|
}
|
|
155
|
-
function
|
|
156
|
-
|
|
157
|
-
return z("unhandledrejection", e), !
|
|
163
|
+
function ft() {
|
|
164
|
+
ut = O.onunhandledrejection, O.onunhandledrejection = function(e) {
|
|
165
|
+
return z("unhandledrejection", e), !ut || ut.apply(this, arguments);
|
|
158
166
|
}, O.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
159
167
|
}
|
|
160
168
|
//#endregion
|
|
161
169
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
162
|
-
function
|
|
170
|
+
function pt(e) {
|
|
163
171
|
if (typeof e == "boolean") return Number(e);
|
|
164
172
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
165
173
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
166
174
|
}
|
|
167
175
|
//#endregion
|
|
168
176
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
169
|
-
function
|
|
177
|
+
function mt(e) {
|
|
170
178
|
A.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
171
179
|
}
|
|
172
|
-
function
|
|
180
|
+
function ht(e, t) {
|
|
173
181
|
if (!(t != null && t.length)) return !1;
|
|
174
182
|
for (let n of t) {
|
|
175
|
-
if (
|
|
176
|
-
if (e.description &&
|
|
183
|
+
if (vt(n)) {
|
|
184
|
+
if (e.description && w(e.description, n)) return P && mt(e), !0;
|
|
177
185
|
continue;
|
|
178
186
|
}
|
|
179
187
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
180
188
|
if (!n.name && !n.op && !t) continue;
|
|
181
|
-
let r = !n.name || e.description &&
|
|
189
|
+
let r = !n.name || e.description && w(e.description, n.name), i = !n.op || e.op && w(e.op, n.op), a = !n.attributes || Object.entries(n.attributes).every(([t, n]) => {
|
|
182
190
|
var r;
|
|
183
|
-
return
|
|
191
|
+
return gt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
184
192
|
});
|
|
185
|
-
if (r && i && a) return P &&
|
|
193
|
+
if (r && i && a) return P && mt(e), !0;
|
|
186
194
|
}
|
|
187
195
|
return !1;
|
|
188
196
|
}
|
|
189
|
-
function
|
|
190
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
197
|
+
function gt(e, t) {
|
|
198
|
+
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;
|
|
191
199
|
}
|
|
192
|
-
function
|
|
200
|
+
function _t(e, t) {
|
|
193
201
|
let n = t.parent_span_id, r = t.span_id;
|
|
194
202
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
195
203
|
}
|
|
196
|
-
function
|
|
204
|
+
function vt(e) {
|
|
197
205
|
return typeof e == "string" || e instanceof RegExp;
|
|
198
206
|
}
|
|
199
207
|
//#endregion
|
|
200
208
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
201
|
-
function
|
|
209
|
+
function yt(e) {
|
|
202
210
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
203
211
|
}
|
|
204
212
|
//#endregion
|
|
@@ -206,11 +214,11 @@ function _t(e) {
|
|
|
206
214
|
function B(e, t = []) {
|
|
207
215
|
return [e, t];
|
|
208
216
|
}
|
|
209
|
-
function
|
|
217
|
+
function bt(e, t) {
|
|
210
218
|
let [n, r] = e;
|
|
211
219
|
return [n, [...r, t]];
|
|
212
220
|
}
|
|
213
|
-
function
|
|
221
|
+
function xt(e, t) {
|
|
214
222
|
let n = e[1];
|
|
215
223
|
for (let e of n) {
|
|
216
224
|
let n = e[0].type;
|
|
@@ -218,17 +226,17 @@ function yt(e, t) {
|
|
|
218
226
|
}
|
|
219
227
|
return !1;
|
|
220
228
|
}
|
|
221
|
-
function
|
|
222
|
-
return
|
|
229
|
+
function St(e, t) {
|
|
230
|
+
return xt(e, (e, n) => t.includes(n));
|
|
223
231
|
}
|
|
224
|
-
function
|
|
232
|
+
function Ct(e) {
|
|
225
233
|
let t = Ge(O);
|
|
226
234
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
227
235
|
}
|
|
228
|
-
function
|
|
236
|
+
function wt(e) {
|
|
229
237
|
let [t, n] = e, r = JSON.stringify(t);
|
|
230
238
|
function i(e) {
|
|
231
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
239
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [Ct(r), e] : r.push(typeof e == "string" ? Ct(e) : e);
|
|
232
240
|
}
|
|
233
241
|
for (let e of n) {
|
|
234
242
|
let [t, n] = e;
|
|
@@ -245,15 +253,15 @@ ${JSON.stringify(t)}
|
|
|
245
253
|
i(e);
|
|
246
254
|
}
|
|
247
255
|
}
|
|
248
|
-
return typeof r == "string" ? r :
|
|
256
|
+
return typeof r == "string" ? r : Tt(r);
|
|
249
257
|
}
|
|
250
|
-
function
|
|
258
|
+
function Tt(e) {
|
|
251
259
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
252
260
|
for (let t of e) n.set(t, r), r += t.length;
|
|
253
261
|
return n;
|
|
254
262
|
}
|
|
255
|
-
function
|
|
256
|
-
let t = typeof e.data == "string" ?
|
|
263
|
+
function Et(e) {
|
|
264
|
+
let t = typeof e.data == "string" ? Ct(e.data) : e.data;
|
|
257
265
|
return [{
|
|
258
266
|
type: "attachment",
|
|
259
267
|
length: t.length,
|
|
@@ -262,7 +270,7 @@ function wt(e) {
|
|
|
262
270
|
attachment_type: e.attachmentType
|
|
263
271
|
}, t];
|
|
264
272
|
}
|
|
265
|
-
var
|
|
273
|
+
var Dt = {
|
|
266
274
|
sessions: "session",
|
|
267
275
|
event: "error",
|
|
268
276
|
client_report: "internal",
|
|
@@ -275,13 +283,13 @@ var Tt = {
|
|
|
275
283
|
log: "log_item",
|
|
276
284
|
trace_metric: "metric"
|
|
277
285
|
};
|
|
278
|
-
function
|
|
279
|
-
return e in
|
|
286
|
+
function Ot(e) {
|
|
287
|
+
return e in Dt;
|
|
280
288
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
289
|
+
function kt(e) {
|
|
290
|
+
return Ot(e) ? Dt[e] : e;
|
|
283
291
|
}
|
|
284
|
-
function
|
|
292
|
+
function At(e) {
|
|
285
293
|
if (!(e != null && e.sdk)) return;
|
|
286
294
|
let { name: t, version: n } = e.sdk;
|
|
287
295
|
return {
|
|
@@ -289,7 +297,7 @@ function Ot(e) {
|
|
|
289
297
|
version: n
|
|
290
298
|
};
|
|
291
299
|
}
|
|
292
|
-
function
|
|
300
|
+
function jt(e, t, n, r) {
|
|
293
301
|
var i;
|
|
294
302
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
295
303
|
return {
|
|
@@ -302,7 +310,7 @@ function kt(e, t, n, r) {
|
|
|
302
310
|
}
|
|
303
311
|
//#endregion
|
|
304
312
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
305
|
-
function
|
|
313
|
+
function Mt(e, t) {
|
|
306
314
|
var n, r, i, a;
|
|
307
315
|
if (!t) return e;
|
|
308
316
|
let o = e.sdk || {};
|
|
@@ -318,31 +326,31 @@ function At(e, t) {
|
|
|
318
326
|
} : void 0
|
|
319
327
|
}, e;
|
|
320
328
|
}
|
|
321
|
-
function
|
|
322
|
-
let i =
|
|
329
|
+
function Nt(e, t, n, r) {
|
|
330
|
+
let i = At(n);
|
|
323
331
|
return B({
|
|
324
332
|
sent_at: new Date(E()).toISOString(),
|
|
325
333
|
...i && { sdk: i },
|
|
326
334
|
...!!r && t && { dsn: D(t) }
|
|
327
335
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
328
336
|
}
|
|
329
|
-
function
|
|
330
|
-
let i =
|
|
331
|
-
|
|
332
|
-
let o =
|
|
337
|
+
function Pt(e, t, n, r) {
|
|
338
|
+
let i = At(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
339
|
+
Mt(e, n == null ? void 0 : n.sdk);
|
|
340
|
+
let o = jt(e, i, r, t);
|
|
333
341
|
return delete e.sdkProcessingMetadata, B(o, [[{ type: a }, e]]);
|
|
334
342
|
}
|
|
335
343
|
//#endregion
|
|
336
344
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
337
|
-
function
|
|
345
|
+
function Ft(e) {
|
|
338
346
|
return e.getOptions().traceLifecycle === "stream";
|
|
339
347
|
}
|
|
340
348
|
//#endregion
|
|
341
349
|
//#region ../../node_modules/.pnpm/@sentry+conventions@0.16.0/node_modules/@sentry/conventions/dist/attributes.mjs
|
|
342
|
-
var
|
|
350
|
+
var It = "url.full";
|
|
343
351
|
//#endregion
|
|
344
352
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
345
|
-
function
|
|
353
|
+
function Lt(e, t) {
|
|
346
354
|
var n;
|
|
347
355
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
348
356
|
Object.entries(t).forEach(([e, t]) => {
|
|
@@ -351,27 +359,27 @@ function Ft(e, t) {
|
|
|
351
359
|
}
|
|
352
360
|
//#endregion
|
|
353
361
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
354
|
-
function
|
|
362
|
+
function Rt(e) {
|
|
355
363
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
356
364
|
}
|
|
357
|
-
function
|
|
365
|
+
function zt(e) {
|
|
358
366
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
359
367
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
360
368
|
}
|
|
361
|
-
function
|
|
362
|
-
return `${
|
|
369
|
+
function Bt(e) {
|
|
370
|
+
return `${zt(e)}${e.projectId}/envelope/`;
|
|
363
371
|
}
|
|
364
|
-
function
|
|
372
|
+
function Vt(e, t) {
|
|
365
373
|
let n = { sentry_version: "7" };
|
|
366
374
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
367
375
|
}
|
|
368
|
-
function
|
|
369
|
-
return t || `${
|
|
376
|
+
function Ht(e, t, n) {
|
|
377
|
+
return t || `${Bt(e)}?${Vt(e, n)}`;
|
|
370
378
|
}
|
|
371
|
-
function
|
|
379
|
+
function Ut(e, t) {
|
|
372
380
|
let n = We(e);
|
|
373
381
|
if (!n) return "";
|
|
374
|
-
let r = `${
|
|
382
|
+
let r = `${zt(n)}embed/error-page/`, i = `dsn=${D(n)}`;
|
|
375
383
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
376
384
|
let e = t.user;
|
|
377
385
|
if (!e) continue;
|
|
@@ -381,15 +389,15 @@ function Vt(e, t) {
|
|
|
381
389
|
}
|
|
382
390
|
//#endregion
|
|
383
391
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integration.js
|
|
384
|
-
var
|
|
385
|
-
function
|
|
392
|
+
var Wt = [];
|
|
393
|
+
function Gt(e) {
|
|
386
394
|
let t = {};
|
|
387
395
|
return e.forEach((e) => {
|
|
388
396
|
let { name: n } = e, r = t[n];
|
|
389
397
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
390
398
|
}), Object.values(t);
|
|
391
399
|
}
|
|
392
|
-
function
|
|
400
|
+
function Kt(e) {
|
|
393
401
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
394
402
|
t.forEach((e) => {
|
|
395
403
|
e.isDefaultInstance = !0;
|
|
@@ -400,25 +408,25 @@ function Wt(e) {
|
|
|
400
408
|
let e = n(t);
|
|
401
409
|
r = Array.isArray(e) ? e : [e];
|
|
402
410
|
} else r = t;
|
|
403
|
-
return
|
|
411
|
+
return Gt(r);
|
|
404
412
|
}
|
|
405
|
-
function
|
|
413
|
+
function qt(e, t) {
|
|
406
414
|
let n = {};
|
|
407
415
|
return t.forEach((t) => {
|
|
408
416
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
409
417
|
}), t.forEach((t) => {
|
|
410
|
-
t &&
|
|
418
|
+
t && Yt(e, t, n);
|
|
411
419
|
}), n;
|
|
412
420
|
}
|
|
413
|
-
function
|
|
421
|
+
function Jt(e, t) {
|
|
414
422
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
415
423
|
}
|
|
416
|
-
function
|
|
424
|
+
function Yt(e, t, n) {
|
|
417
425
|
if (n[t.name]) {
|
|
418
426
|
P && A.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
419
427
|
return;
|
|
420
428
|
}
|
|
421
|
-
if (n[t.name] = t, !
|
|
429
|
+
if (n[t.name] = t, !Wt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Wt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
422
430
|
let n = t.preprocessEvent.bind(t);
|
|
423
431
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
424
432
|
}
|
|
@@ -436,29 +444,29 @@ function V(e) {
|
|
|
436
444
|
}
|
|
437
445
|
//#endregion
|
|
438
446
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
439
|
-
function
|
|
447
|
+
function Xt() {
|
|
440
448
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
441
449
|
}
|
|
442
|
-
function
|
|
450
|
+
function Zt() {
|
|
443
451
|
return "npm";
|
|
444
452
|
}
|
|
445
453
|
//#endregion
|
|
446
454
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
447
|
-
function
|
|
448
|
-
return !
|
|
455
|
+
function Qt() {
|
|
456
|
+
return !Xt() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
449
457
|
}
|
|
450
458
|
//#endregion
|
|
451
459
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
452
|
-
function
|
|
453
|
-
return typeof window < "u" && (!
|
|
460
|
+
function $t() {
|
|
461
|
+
return typeof window < "u" && (!Qt() || en());
|
|
454
462
|
}
|
|
455
|
-
function
|
|
463
|
+
function en() {
|
|
456
464
|
let e = O.process;
|
|
457
465
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
458
466
|
}
|
|
459
467
|
//#endregion
|
|
460
468
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
461
|
-
function
|
|
469
|
+
function tn(e, t) {
|
|
462
470
|
let n = t ? "auto" : "never";
|
|
463
471
|
return [{
|
|
464
472
|
type: "log",
|
|
@@ -466,38 +474,38 @@ function $t(e, t) {
|
|
|
466
474
|
content_type: "application/vnd.sentry.items.log+json"
|
|
467
475
|
}, {
|
|
468
476
|
version: 2,
|
|
469
|
-
|
|
477
|
+
...$t() && { ingest_settings: {
|
|
470
478
|
infer_ip: n,
|
|
471
479
|
infer_user_agent: n
|
|
472
480
|
} },
|
|
473
481
|
items: e
|
|
474
482
|
}];
|
|
475
483
|
}
|
|
476
|
-
function
|
|
484
|
+
function nn(e, t, n, r, i) {
|
|
477
485
|
let a = {};
|
|
478
486
|
return t != null && t.sdk && (a.sdk = {
|
|
479
487
|
name: t.sdk.name,
|
|
480
488
|
version: t.sdk.version
|
|
481
|
-
}), n && r && (a.dsn = D(r)), B(a, [
|
|
489
|
+
}), n && r && (a.dsn = D(r)), B(a, [tn(e, i)]);
|
|
482
490
|
}
|
|
483
491
|
//#endregion
|
|
484
492
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
485
|
-
function
|
|
493
|
+
function rn(e, t) {
|
|
486
494
|
var n;
|
|
487
|
-
let r = (n = t == null ?
|
|
495
|
+
let r = (n = t == null ? an(e) : t) == null ? [] : n;
|
|
488
496
|
if (r.length === 0) return;
|
|
489
|
-
let i = e.getOptions(), a =
|
|
490
|
-
|
|
497
|
+
let i = e.getOptions(), a = nn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
498
|
+
on().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
491
499
|
}
|
|
492
|
-
function
|
|
493
|
-
return
|
|
500
|
+
function an(e) {
|
|
501
|
+
return on().get(e);
|
|
494
502
|
}
|
|
495
|
-
function
|
|
503
|
+
function on() {
|
|
496
504
|
return fe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
497
505
|
}
|
|
498
506
|
//#endregion
|
|
499
507
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
500
|
-
function
|
|
508
|
+
function sn(e, t) {
|
|
501
509
|
let n = t ? "auto" : "never";
|
|
502
510
|
return [{
|
|
503
511
|
type: "trace_metric",
|
|
@@ -505,38 +513,38 @@ function an(e, t) {
|
|
|
505
513
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
506
514
|
}, {
|
|
507
515
|
version: 2,
|
|
508
|
-
|
|
516
|
+
...$t() && { ingest_settings: {
|
|
509
517
|
infer_ip: n,
|
|
510
518
|
infer_user_agent: n
|
|
511
519
|
} },
|
|
512
520
|
items: e
|
|
513
521
|
}];
|
|
514
522
|
}
|
|
515
|
-
function
|
|
523
|
+
function cn(e, t, n, r, i) {
|
|
516
524
|
let a = {};
|
|
517
525
|
return t != null && t.sdk && (a.sdk = {
|
|
518
526
|
name: t.sdk.name,
|
|
519
527
|
version: t.sdk.version
|
|
520
|
-
}), n && r && (a.dsn = D(r)), B(a, [
|
|
528
|
+
}), n && r && (a.dsn = D(r)), B(a, [sn(e, i)]);
|
|
521
529
|
}
|
|
522
530
|
//#endregion
|
|
523
531
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
524
|
-
function
|
|
532
|
+
function ln(e, t) {
|
|
525
533
|
var n;
|
|
526
|
-
let r = (n = t == null ?
|
|
534
|
+
let r = (n = t == null ? un(e) : t) == null ? [] : n;
|
|
527
535
|
if (r.length === 0) return;
|
|
528
|
-
let i = e.getOptions(), a =
|
|
529
|
-
|
|
536
|
+
let i = e.getOptions(), a = cn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
537
|
+
dn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
530
538
|
}
|
|
531
|
-
function
|
|
532
|
-
return
|
|
539
|
+
function un(e) {
|
|
540
|
+
return dn().get(e);
|
|
533
541
|
}
|
|
534
|
-
function
|
|
542
|
+
function dn() {
|
|
535
543
|
return fe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
536
544
|
}
|
|
537
545
|
//#endregion
|
|
538
546
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
539
|
-
function
|
|
547
|
+
function fn(e) {
|
|
540
548
|
return Se({
|
|
541
549
|
trace_id: e.trace_id,
|
|
542
550
|
span_id: e.span_id,
|
|
@@ -552,13 +560,13 @@ function un(e) {
|
|
|
552
560
|
}
|
|
553
561
|
//#endregion
|
|
554
562
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
555
|
-
function
|
|
563
|
+
function pn(e, t) {
|
|
556
564
|
var n, r;
|
|
557
|
-
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 ||
|
|
565
|
+
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 || Ft(t)) return;
|
|
558
566
|
let i = [], a = [];
|
|
559
567
|
for (let t of e.spans) {
|
|
560
568
|
var o;
|
|
561
|
-
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(
|
|
569
|
+
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(fn(t)) : a.push(t);
|
|
562
570
|
}
|
|
563
571
|
if (i.length === 0) return;
|
|
564
572
|
e.spans = a;
|
|
@@ -569,7 +577,7 @@ function dn(e, t) {
|
|
|
569
577
|
content_type: "application/vnd.sentry.items.span.v2+json"
|
|
570
578
|
}, {
|
|
571
579
|
version: 2,
|
|
572
|
-
|
|
580
|
+
...$t() && { ingest_settings: {
|
|
573
581
|
infer_ip: s,
|
|
574
582
|
infer_user_agent: s
|
|
575
583
|
} },
|
|
@@ -578,8 +586,8 @@ function dn(e, t) {
|
|
|
578
586
|
}
|
|
579
587
|
//#endregion
|
|
580
588
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
581
|
-
var
|
|
582
|
-
function
|
|
589
|
+
var mn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
590
|
+
function hn(e = 100) {
|
|
583
591
|
let t = /* @__PURE__ */ new Set();
|
|
584
592
|
function n() {
|
|
585
593
|
return t.size < e;
|
|
@@ -588,7 +596,7 @@ function pn(e = 100) {
|
|
|
588
596
|
t.delete(e);
|
|
589
597
|
}
|
|
590
598
|
function i(e) {
|
|
591
|
-
if (!n()) return He(
|
|
599
|
+
if (!n()) return He(mn);
|
|
592
600
|
let i = e();
|
|
593
601
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
594
602
|
}
|
|
@@ -596,7 +604,7 @@ function pn(e = 100) {
|
|
|
596
604
|
if (!t.size) return ve(!0);
|
|
597
605
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
598
606
|
if (!e) return n;
|
|
599
|
-
let r = [n, new Promise((t) =>
|
|
607
|
+
let r = [n, new Promise((t) => Rt(setTimeout(() => t(!1), e)))];
|
|
600
608
|
return Promise.race(r);
|
|
601
609
|
}
|
|
602
610
|
return {
|
|
@@ -609,50 +617,50 @@ function pn(e = 100) {
|
|
|
609
617
|
}
|
|
610
618
|
//#endregion
|
|
611
619
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
612
|
-
var
|
|
613
|
-
function
|
|
620
|
+
var gn = 60 * 1e3;
|
|
621
|
+
function _n(e, t = E()) {
|
|
614
622
|
let n = parseInt(`${e}`, 10);
|
|
615
623
|
if (!isNaN(n)) return n * 1e3;
|
|
616
624
|
let r = Date.parse(`${e}`);
|
|
617
|
-
return isNaN(r) ?
|
|
625
|
+
return isNaN(r) ? gn : r - t;
|
|
618
626
|
}
|
|
619
|
-
function
|
|
627
|
+
function vn(e, t) {
|
|
620
628
|
return e[t] || e.all || 0;
|
|
621
629
|
}
|
|
622
|
-
function
|
|
623
|
-
return
|
|
630
|
+
function yn(e, t, n = E()) {
|
|
631
|
+
return vn(e, t) > n;
|
|
624
632
|
}
|
|
625
|
-
function
|
|
633
|
+
function bn(e, { statusCode: t, headers: n }, r = E()) {
|
|
626
634
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
627
635
|
if (a) for (let e of a.trim().split(",")) {
|
|
628
636
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
629
637
|
if (!n) i.all = r + s;
|
|
630
638
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
631
639
|
}
|
|
632
|
-
else o ? i.all = r +
|
|
640
|
+
else o ? i.all = r + _n(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
633
641
|
return i;
|
|
634
642
|
}
|
|
635
|
-
function
|
|
643
|
+
function xn(e, t, n = hn(e.bufferSize || 64)) {
|
|
636
644
|
let r = {}, i = (e) => n.drain(e);
|
|
637
645
|
function a(i) {
|
|
638
646
|
let a = [];
|
|
639
|
-
if (
|
|
640
|
-
let i =
|
|
641
|
-
|
|
647
|
+
if (xt(i, (t, n) => {
|
|
648
|
+
let i = kt(n);
|
|
649
|
+
yn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
642
650
|
}), a.length === 0) return Promise.resolve({});
|
|
643
651
|
let o = B(i[0], a), s = (t) => {
|
|
644
|
-
if (
|
|
652
|
+
if (St(o, ["client_report"])) {
|
|
645
653
|
P && A.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
646
654
|
return;
|
|
647
655
|
}
|
|
648
|
-
|
|
649
|
-
e.recordDroppedEvent(t,
|
|
656
|
+
xt(o, (n, r) => {
|
|
657
|
+
e.recordDroppedEvent(t, kt(r));
|
|
650
658
|
});
|
|
651
659
|
};
|
|
652
|
-
return n.add(() => t({ body:
|
|
660
|
+
return n.add(() => t({ body: wt(o) }).then((e) => e.statusCode === 413 ? (P && A.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (P && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && A.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = bn(r, e), e), (e) => {
|
|
653
661
|
throw s("network_error"), P && A.error("Encountered error running transport request:", e), e;
|
|
654
662
|
})).then((e) => e, (e) => {
|
|
655
|
-
if (e ===
|
|
663
|
+
if (e === mn) return P && A.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
656
664
|
throw e;
|
|
657
665
|
});
|
|
658
666
|
}
|
|
@@ -663,7 +671,7 @@ function yn(e, t, n = pn(e.bufferSize || 64)) {
|
|
|
663
671
|
}
|
|
664
672
|
//#endregion
|
|
665
673
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
666
|
-
function
|
|
674
|
+
function Sn(e, t, n) {
|
|
667
675
|
let r = [{ type: "client_report" }, {
|
|
668
676
|
timestamp: n || p(),
|
|
669
677
|
discarded_events: e
|
|
@@ -672,7 +680,7 @@ function bn(e, t, n) {
|
|
|
672
680
|
}
|
|
673
681
|
//#endregion
|
|
674
682
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
675
|
-
function
|
|
683
|
+
function Cn(e) {
|
|
676
684
|
let t = [];
|
|
677
685
|
e.message && t.push(e.message);
|
|
678
686
|
try {
|
|
@@ -683,7 +691,7 @@ function xn(e) {
|
|
|
683
691
|
}
|
|
684
692
|
//#endregion
|
|
685
693
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
686
|
-
function
|
|
694
|
+
function wn(e) {
|
|
687
695
|
var t, n, r;
|
|
688
696
|
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;
|
|
689
697
|
return {
|
|
@@ -703,7 +711,7 @@ function Sn(e) {
|
|
|
703
711
|
is_segment: !0
|
|
704
712
|
};
|
|
705
713
|
}
|
|
706
|
-
function
|
|
714
|
+
function Tn(e) {
|
|
707
715
|
return {
|
|
708
716
|
type: "transaction",
|
|
709
717
|
timestamp: e.timestamp,
|
|
@@ -727,7 +735,7 @@ function Cn(e) {
|
|
|
727
735
|
}
|
|
728
736
|
//#endregion
|
|
729
737
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
730
|
-
var
|
|
738
|
+
var En = [
|
|
731
739
|
"forwarded",
|
|
732
740
|
"-ip",
|
|
733
741
|
"remote-",
|
|
@@ -736,7 +744,7 @@ var wn = [
|
|
|
736
744
|
];
|
|
737
745
|
//#endregion
|
|
738
746
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
739
|
-
function
|
|
747
|
+
function Dn(e) {
|
|
740
748
|
return e === !0 ? {
|
|
741
749
|
userInfo: !0,
|
|
742
750
|
cookies: !0,
|
|
@@ -764,13 +772,13 @@ function Tn(e) {
|
|
|
764
772
|
frameContextLines: 7
|
|
765
773
|
} : {
|
|
766
774
|
userInfo: !1,
|
|
767
|
-
cookies: { deny:
|
|
775
|
+
cookies: { deny: En },
|
|
768
776
|
httpHeaders: {
|
|
769
|
-
request: { deny:
|
|
770
|
-
response: { deny:
|
|
777
|
+
request: { deny: En },
|
|
778
|
+
response: { deny: En }
|
|
771
779
|
},
|
|
772
780
|
httpBodies: [],
|
|
773
|
-
urlQueryParams: { deny:
|
|
781
|
+
urlQueryParams: { deny: En },
|
|
774
782
|
graphQL: {
|
|
775
783
|
document: !0,
|
|
776
784
|
variables: !0
|
|
@@ -786,7 +794,7 @@ function Tn(e) {
|
|
|
786
794
|
}
|
|
787
795
|
//#endregion
|
|
788
796
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
789
|
-
var
|
|
797
|
+
var On = {
|
|
790
798
|
userInfo: !0,
|
|
791
799
|
cookies: !0,
|
|
792
800
|
httpHeaders: {
|
|
@@ -812,9 +820,9 @@ var En = {
|
|
|
812
820
|
stackFrameVariables: !0,
|
|
813
821
|
frameContextLines: 5
|
|
814
822
|
};
|
|
815
|
-
function
|
|
823
|
+
function kn(e) {
|
|
816
824
|
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x;
|
|
817
|
-
let S = e.dataCollection == null ?
|
|
825
|
+
let S = e.dataCollection == null ? Dn(e.sendDefaultPii) : On, C = (t = e.dataCollection) == null ? {} : t;
|
|
818
826
|
return {
|
|
819
827
|
userInfo: (n = C.userInfo) == null ? S.userInfo : n,
|
|
820
828
|
cookies: (r = C.cookies) == null ? S.cookies : r,
|
|
@@ -839,26 +847,26 @@ function Dn(e) {
|
|
|
839
847
|
}
|
|
840
848
|
//#endregion
|
|
841
849
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/client.js
|
|
842
|
-
var
|
|
843
|
-
function
|
|
850
|
+
var An = "Not capturing exception because it's already been captured.", jn = "Discarded session because of missing or non-string release", Mn = /* @__PURE__ */ Symbol.for("SentryInternalError"), Nn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), Pn = 5e3;
|
|
851
|
+
function Fn(e) {
|
|
844
852
|
return {
|
|
845
853
|
message: e,
|
|
846
|
-
[
|
|
854
|
+
[Mn]: !0
|
|
847
855
|
};
|
|
848
856
|
}
|
|
849
|
-
function
|
|
857
|
+
function In(e) {
|
|
850
858
|
return {
|
|
851
859
|
message: e,
|
|
852
|
-
[
|
|
860
|
+
[Nn]: !0
|
|
853
861
|
};
|
|
854
862
|
}
|
|
855
|
-
function
|
|
856
|
-
return Me(e) &&
|
|
863
|
+
function Ln(e) {
|
|
864
|
+
return Me(e) && Mn in e;
|
|
857
865
|
}
|
|
858
|
-
function
|
|
859
|
-
return Me(e) &&
|
|
866
|
+
function Rn(e) {
|
|
867
|
+
return Me(e) && Nn in e;
|
|
860
868
|
}
|
|
861
|
-
function
|
|
869
|
+
function zn(e, t, n, r, i) {
|
|
862
870
|
let a = 0, o, s = !1;
|
|
863
871
|
e.on(n, () => {
|
|
864
872
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -866,8 +874,8 @@ function Ln(e, t, n, r, i) {
|
|
|
866
874
|
if (a += r(t), a >= 8e5) i(e);
|
|
867
875
|
else if (!s) {
|
|
868
876
|
var n;
|
|
869
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
870
|
-
t > 0 && (s = !0, o =
|
|
877
|
+
let t = (n = e.getOptions()._flushInterval) == null ? Pn : n;
|
|
878
|
+
t > 0 && (s = !0, o = Rt(setTimeout(() => {
|
|
871
879
|
i(e);
|
|
872
880
|
}, t)));
|
|
873
881
|
}
|
|
@@ -875,11 +883,11 @@ function Ln(e, t, n, r, i) {
|
|
|
875
883
|
i(e);
|
|
876
884
|
});
|
|
877
885
|
}
|
|
878
|
-
var
|
|
886
|
+
var Bn = class {
|
|
879
887
|
constructor(e) {
|
|
880
888
|
var t, n, r, i, a, o, s;
|
|
881
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
882
|
-
let t =
|
|
889
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = hn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = kn(e), e.dsn ? this._dsn = We(e.dsn) : P && A.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
890
|
+
let t = Ht(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
883
891
|
this._transport = e.transport({
|
|
884
892
|
tunnel: this._options.tunnel,
|
|
885
893
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -887,11 +895,11 @@ var Rn = class {
|
|
|
887
895
|
url: t
|
|
888
896
|
});
|
|
889
897
|
}
|
|
890
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
898
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && zn(this, "afterCaptureLog", "flushLogs", qn, rn), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && zn(this, "afterCaptureMetric", "flushMetrics", Kn, ln);
|
|
891
899
|
}
|
|
892
900
|
captureException(e, t, n) {
|
|
893
901
|
let r = x();
|
|
894
|
-
if (
|
|
902
|
+
if (ne(e)) return P && A.log(An), r;
|
|
895
903
|
let i = {
|
|
896
904
|
event_id: r,
|
|
897
905
|
...t
|
|
@@ -907,11 +915,11 @@ var Rn = class {
|
|
|
907
915
|
}
|
|
908
916
|
captureEvent(e, t, n) {
|
|
909
917
|
let r = x();
|
|
910
|
-
if (t != null && t.originalException &&
|
|
918
|
+
if (t != null && t.originalException && ne(t.originalException)) return P && A.log(An), r;
|
|
911
919
|
let i = {
|
|
912
920
|
event_id: r,
|
|
913
921
|
...t
|
|
914
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
922
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Vn(e.type);
|
|
915
923
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
916
924
|
}
|
|
917
925
|
captureSession(e) {
|
|
@@ -959,32 +967,32 @@ var Rn = class {
|
|
|
959
967
|
}
|
|
960
968
|
addIntegration(e) {
|
|
961
969
|
let t = this._integrations[e.name];
|
|
962
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
970
|
+
!t && e.beforeSetup && e.beforeSetup(this), Yt(this, e, this._integrations), t || Jt(this, [e]);
|
|
963
971
|
}
|
|
964
972
|
sendEvent(e, t = {}) {
|
|
965
973
|
this.emit("beforeSendEvent", e, t);
|
|
966
|
-
let n =
|
|
967
|
-
for (let e of t.attachments || []) r =
|
|
968
|
-
n && (r =
|
|
974
|
+
let n = pn(e, this), r = Pt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
975
|
+
for (let e of t.attachments || []) r = bt(r, Et(e));
|
|
976
|
+
n && (r = bt(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
969
977
|
}
|
|
970
978
|
sendSession(e) {
|
|
971
979
|
let { release: t, environment: n = Fe } = this._options;
|
|
972
980
|
if ("aggregates" in e) {
|
|
973
981
|
let r = e.attrs || {};
|
|
974
982
|
if (!r.release && !t) {
|
|
975
|
-
P && A.warn(
|
|
983
|
+
P && A.warn(jn);
|
|
976
984
|
return;
|
|
977
985
|
}
|
|
978
986
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
979
987
|
} else {
|
|
980
988
|
if (!e.release && !t) {
|
|
981
|
-
P && A.warn(
|
|
989
|
+
P && A.warn(jn);
|
|
982
990
|
return;
|
|
983
991
|
}
|
|
984
992
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
985
993
|
}
|
|
986
994
|
this.emit("beforeSendSession", e);
|
|
987
|
-
let r =
|
|
995
|
+
let r = Nt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
988
996
|
this.sendEnvelope(r);
|
|
989
997
|
}
|
|
990
998
|
recordDroppedEvent(e, t, n = 1) {
|
|
@@ -1015,7 +1023,7 @@ var Rn = class {
|
|
|
1015
1023
|
dispose() {}
|
|
1016
1024
|
_setupIntegrations() {
|
|
1017
1025
|
let { integrations: e } = this._options;
|
|
1018
|
-
this._integrations =
|
|
1026
|
+
this._integrations = qt(this, e), Jt(this, e);
|
|
1019
1027
|
}
|
|
1020
1028
|
_updateSessionFromEvent(e, t) {
|
|
1021
1029
|
var n;
|
|
@@ -1063,26 +1071,26 @@ var Rn = class {
|
|
|
1063
1071
|
}, e);
|
|
1064
1072
|
});
|
|
1065
1073
|
}
|
|
1066
|
-
_captureEvent(e, t = {}, n = Ke(), r =
|
|
1067
|
-
return P &&
|
|
1068
|
-
P && (
|
|
1074
|
+
_captureEvent(e, t = {}, n = Ke(), r = oe()) {
|
|
1075
|
+
return P && Wn(e) && A.log(`Captured error event \`${Cn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1076
|
+
P && (Rn(e) ? A.log(e.message) : Ln(e) ? A.warn(e.message) : A.warn(e));
|
|
1069
1077
|
});
|
|
1070
1078
|
}
|
|
1071
1079
|
_processEvent(e, t, n, r) {
|
|
1072
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1073
|
-
if (s && typeof l == "number" && ce() > l) return this.recordDroppedEvent("sample_rate", "error"), He(
|
|
1074
|
-
let u =
|
|
1080
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Gn(e), s = Wn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : pt(a);
|
|
1081
|
+
if (s && typeof l == "number" && ce() > l) return this.recordDroppedEvent("sample_rate", "error"), He(In(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1082
|
+
let u = Vn(e.type);
|
|
1075
1083
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1076
1084
|
var n;
|
|
1077
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1078
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1085
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), In("An event processor returned `null`, will not send event.");
|
|
1086
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Hn(Un(this, i, e, t), c);
|
|
1079
1087
|
}).then((i) => {
|
|
1080
1088
|
if (i === null) {
|
|
1081
1089
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1082
1090
|
let t = 1 + (e.spans || []).length;
|
|
1083
1091
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1084
1092
|
}
|
|
1085
|
-
throw
|
|
1093
|
+
throw In(`${c} returned \`null\`, will not send event.`);
|
|
1086
1094
|
}
|
|
1087
1095
|
let a = n.getSession() || r.getSession();
|
|
1088
1096
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1096,19 +1104,19 @@ var Rn = class {
|
|
|
1096
1104
|
source: "custom"
|
|
1097
1105
|
}), this.sendEvent(i, t), i;
|
|
1098
1106
|
}).then(null, (e) => {
|
|
1099
|
-
throw
|
|
1107
|
+
throw Rn(e) || Ln(e) ? e : (this.captureException(e, {
|
|
1100
1108
|
mechanism: {
|
|
1101
1109
|
handled: !1,
|
|
1102
1110
|
type: "internal"
|
|
1103
1111
|
},
|
|
1104
1112
|
data: { __sentry__: !0 },
|
|
1105
1113
|
originalException: e
|
|
1106
|
-
}),
|
|
1114
|
+
}), Fn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1107
1115
|
Reason: ${e}`));
|
|
1108
1116
|
});
|
|
1109
1117
|
}
|
|
1110
1118
|
_process(e, t) {
|
|
1111
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
1119
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === mn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
1112
1120
|
}
|
|
1113
1121
|
_clearOutcomes() {
|
|
1114
1122
|
let e = this._outcomes;
|
|
@@ -1133,48 +1141,48 @@ Reason: ${e}`));
|
|
|
1133
1141
|
return;
|
|
1134
1142
|
}
|
|
1135
1143
|
P && A.log("Sending outcomes:", e);
|
|
1136
|
-
let t =
|
|
1144
|
+
let t = Sn(e, this._options.tunnel && D(this._dsn));
|
|
1137
1145
|
this.sendEnvelope(t);
|
|
1138
1146
|
}
|
|
1139
1147
|
};
|
|
1140
|
-
function
|
|
1148
|
+
function Vn(e) {
|
|
1141
1149
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1142
1150
|
}
|
|
1143
|
-
function
|
|
1151
|
+
function Hn(e, t) {
|
|
1144
1152
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1145
1153
|
if (_e(e)) return e.then((e) => {
|
|
1146
|
-
if (!Te(e) && e !== null) throw
|
|
1154
|
+
if (!Te(e) && e !== null) throw Fn(n);
|
|
1147
1155
|
return e;
|
|
1148
1156
|
}, (e) => {
|
|
1149
|
-
throw
|
|
1157
|
+
throw Fn(`${t} rejected with ${e}`);
|
|
1150
1158
|
});
|
|
1151
|
-
if (!Te(e) && e !== null) throw
|
|
1159
|
+
if (!Te(e) && e !== null) throw Fn(n);
|
|
1152
1160
|
return e;
|
|
1153
1161
|
}
|
|
1154
|
-
function
|
|
1155
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
1156
|
-
if (
|
|
1157
|
-
if (
|
|
1162
|
+
function Un(e, t, n, r) {
|
|
1163
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !yt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1164
|
+
if (Wn(c) && i) return i(c, r);
|
|
1165
|
+
if (Gn(c)) {
|
|
1158
1166
|
if (s || o) {
|
|
1159
|
-
let t =
|
|
1160
|
-
if (o != null && o.length &&
|
|
1167
|
+
let t = wn(c);
|
|
1168
|
+
if (o != null && o.length && ht({
|
|
1161
1169
|
description: t.description,
|
|
1162
1170
|
op: t.op,
|
|
1163
1171
|
attributes: t.data
|
|
1164
1172
|
}, o)) return null;
|
|
1165
1173
|
if (s) {
|
|
1166
1174
|
let e = s(t);
|
|
1167
|
-
e ? c =
|
|
1175
|
+
e ? c = te(n, Tn(e)) : ke();
|
|
1168
1176
|
}
|
|
1169
1177
|
if (c.spans) {
|
|
1170
1178
|
let t = [], n = c.spans;
|
|
1171
1179
|
for (let e of n) {
|
|
1172
|
-
if (o != null && o.length &&
|
|
1180
|
+
if (o != null && o.length && ht({
|
|
1173
1181
|
description: e.description,
|
|
1174
1182
|
op: e.op,
|
|
1175
1183
|
attributes: e.data
|
|
1176
1184
|
}, o)) {
|
|
1177
|
-
|
|
1185
|
+
_t(n, e);
|
|
1178
1186
|
continue;
|
|
1179
1187
|
}
|
|
1180
1188
|
if (s) {
|
|
@@ -1199,56 +1207,56 @@ function Vn(e, t, n, r) {
|
|
|
1199
1207
|
}
|
|
1200
1208
|
return c;
|
|
1201
1209
|
}
|
|
1202
|
-
function
|
|
1210
|
+
function Wn(e) {
|
|
1203
1211
|
return e.type === void 0;
|
|
1204
1212
|
}
|
|
1205
|
-
function
|
|
1213
|
+
function Gn(e) {
|
|
1206
1214
|
return e.type === "transaction";
|
|
1207
1215
|
}
|
|
1208
|
-
function
|
|
1216
|
+
function Kn(e) {
|
|
1209
1217
|
let t = 0;
|
|
1210
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1218
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Jn(e.attributes);
|
|
1211
1219
|
}
|
|
1212
|
-
function
|
|
1220
|
+
function qn(e) {
|
|
1213
1221
|
let t = 0;
|
|
1214
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1222
|
+
return e.message && (t += e.message.length * 2), t + Jn(e.attributes);
|
|
1215
1223
|
}
|
|
1216
|
-
function
|
|
1224
|
+
function Jn(e) {
|
|
1217
1225
|
if (!e) return 0;
|
|
1218
1226
|
let t = 0;
|
|
1219
1227
|
return Object.values(e).forEach((e) => {
|
|
1220
|
-
Array.isArray(e) ? t += e.length *
|
|
1228
|
+
Array.isArray(e) ? t += e.length * Yn(e[0]) : me(e) ? t += Yn(e) : t += 100;
|
|
1221
1229
|
}), t;
|
|
1222
1230
|
}
|
|
1223
|
-
function
|
|
1231
|
+
function Yn(e) {
|
|
1224
1232
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1225
1233
|
}
|
|
1226
1234
|
//#endregion
|
|
1227
1235
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1228
|
-
function
|
|
1236
|
+
function Xn(e, t) {
|
|
1229
1237
|
t.debug === !0 && (P ? A.enable() : Ae(() => {
|
|
1230
1238
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1231
1239
|
})), Ke().update(t.initialScope);
|
|
1232
1240
|
let n = new e(t);
|
|
1233
|
-
return
|
|
1241
|
+
return Zn(n), n.init(), n;
|
|
1234
1242
|
}
|
|
1235
|
-
function
|
|
1243
|
+
function Zn(e) {
|
|
1236
1244
|
Ke().setClient(e);
|
|
1237
1245
|
}
|
|
1238
|
-
var
|
|
1239
|
-
function
|
|
1246
|
+
var Qn = 5e3, $n = 36e5;
|
|
1247
|
+
function er(e) {
|
|
1240
1248
|
function t(...e) {
|
|
1241
1249
|
P && A.log("[Offline]:", ...e);
|
|
1242
1250
|
}
|
|
1243
1251
|
return (n) => {
|
|
1244
1252
|
let r = e(n);
|
|
1245
1253
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1246
|
-
let i = n.createStore(n), a =
|
|
1254
|
+
let i = n.createStore(n), a = Qn, o;
|
|
1247
1255
|
function s(e, t, r) {
|
|
1248
|
-
return
|
|
1256
|
+
return St(e, ["client_report"]) ? !1 : !n.shouldStore || n.shouldStore(e, t, r);
|
|
1249
1257
|
}
|
|
1250
1258
|
function c(e) {
|
|
1251
|
-
o && clearTimeout(o), o =
|
|
1259
|
+
o && clearTimeout(o), o = Rt(setTimeout(async () => {
|
|
1252
1260
|
o = void 0;
|
|
1253
1261
|
let e = await i.shift();
|
|
1254
1262
|
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(E()).toISOString(), u(e, !0).catch((e) => {
|
|
@@ -1257,20 +1265,20 @@ function Qn(e) {
|
|
|
1257
1265
|
}, e));
|
|
1258
1266
|
}
|
|
1259
1267
|
function l() {
|
|
1260
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1268
|
+
o || (c(a), a = Math.min(a * 2, $n));
|
|
1261
1269
|
}
|
|
1262
1270
|
async function u(e, o = !1) {
|
|
1263
|
-
if (!o &&
|
|
1271
|
+
if (!o && St(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1264
1272
|
try {
|
|
1265
1273
|
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1266
1274
|
let t = await r.send(e), i = 100;
|
|
1267
1275
|
if (t) {
|
|
1268
1276
|
var u, d;
|
|
1269
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
1277
|
+
if ((u = t.headers) != null && u["retry-after"]) i = _n(t.headers["retry-after"]);
|
|
1270
1278
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1271
1279
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1272
1280
|
}
|
|
1273
|
-
return c(i), a =
|
|
1281
|
+
return c(i), a = Qn, t;
|
|
1274
1282
|
} catch (n) {
|
|
1275
1283
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1276
1284
|
throw n;
|
|
@@ -1278,13 +1286,13 @@ function Qn(e) {
|
|
|
1278
1286
|
}
|
|
1279
1287
|
return n.flushAtStartup && l(), {
|
|
1280
1288
|
send: u,
|
|
1281
|
-
flush: (e) => (e === void 0 && (a =
|
|
1289
|
+
flush: (e) => (e === void 0 && (a = Qn, c(100)), r.flush(e))
|
|
1282
1290
|
};
|
|
1283
1291
|
};
|
|
1284
1292
|
}
|
|
1285
1293
|
//#endregion
|
|
1286
1294
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1287
|
-
function
|
|
1295
|
+
function tr(e) {
|
|
1288
1296
|
if (!e) return {};
|
|
1289
1297
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1290
1298
|
if (!t) return {};
|
|
@@ -1298,7 +1306,7 @@ function $n(e) {
|
|
|
1298
1306
|
relative: t[5] + n + r
|
|
1299
1307
|
};
|
|
1300
1308
|
}
|
|
1301
|
-
function
|
|
1309
|
+
function nr(e, t = !0) {
|
|
1302
1310
|
if (e.startsWith("data:")) {
|
|
1303
1311
|
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1304
1312
|
if (t && a !== -1) {
|
|
@@ -1311,7 +1319,7 @@ function er(e, t = !0) {
|
|
|
1311
1319
|
}
|
|
1312
1320
|
//#endregion
|
|
1313
1321
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1314
|
-
function
|
|
1322
|
+
function rr(e) {
|
|
1315
1323
|
if ("aggregates" in e) {
|
|
1316
1324
|
var t;
|
|
1317
1325
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1322,7 +1330,7 @@ function tr(e) {
|
|
|
1322
1330
|
}
|
|
1323
1331
|
//#endregion
|
|
1324
1332
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1325
|
-
function
|
|
1333
|
+
function ir(e, t, n = [t], r = "npm") {
|
|
1326
1334
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1327
1335
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1328
1336
|
name: `${r}:@sentry/${e}`,
|
|
@@ -1331,11 +1339,11 @@ function nr(e, t, n = [t], r = "npm") {
|
|
|
1331
1339
|
}
|
|
1332
1340
|
//#endregion
|
|
1333
1341
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1334
|
-
var
|
|
1342
|
+
var ar = 100;
|
|
1335
1343
|
function H(e, t) {
|
|
1336
|
-
let n = h(), r =
|
|
1344
|
+
let n = h(), r = oe();
|
|
1337
1345
|
if (!n) return;
|
|
1338
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1346
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = ar } = n.getOptions();
|
|
1339
1347
|
if (a <= 0) return;
|
|
1340
1348
|
let o = {
|
|
1341
1349
|
timestamp: p(),
|
|
@@ -1345,8 +1353,8 @@ function H(e, t) {
|
|
|
1345
1353
|
}
|
|
1346
1354
|
//#endregion
|
|
1347
1355
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1348
|
-
var
|
|
1349
|
-
name:
|
|
1356
|
+
var or = "FunctionToString", sr = /* @__PURE__ */ new WeakMap(), cr = V((() => ({
|
|
1357
|
+
name: or,
|
|
1350
1358
|
setupOnce() {
|
|
1351
1359
|
let e = Function.prototype.toString;
|
|
1352
1360
|
try {
|
|
@@ -1354,16 +1362,16 @@ var ir = "FunctionToString", ar = /* @__PURE__ */ new WeakMap(), or = V((() => (
|
|
|
1354
1362
|
var n;
|
|
1355
1363
|
let r = S(this), i;
|
|
1356
1364
|
try {
|
|
1357
|
-
|
|
1365
|
+
sr.has(h()) && r !== void 0 && (i = r);
|
|
1358
1366
|
} catch {}
|
|
1359
1367
|
return e.apply((n = i) == null ? this : n, t);
|
|
1360
1368
|
};
|
|
1361
1369
|
} catch {}
|
|
1362
1370
|
},
|
|
1363
1371
|
setup(e) {
|
|
1364
|
-
|
|
1372
|
+
sr.set(e, !0);
|
|
1365
1373
|
}
|
|
1366
|
-
}))),
|
|
1374
|
+
}))), lr = [
|
|
1367
1375
|
/^Script error\.?$/,
|
|
1368
1376
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1369
1377
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1375,127 +1383,127 @@ var ir = "FunctionToString", ar = /* @__PURE__ */ new WeakMap(), or = V((() => (
|
|
|
1375
1383
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1376
1384
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1377
1385
|
/^Java exception was raised during method invocation$/
|
|
1378
|
-
],
|
|
1386
|
+
], ur = "EventFilters", dr = V((e = {}) => {
|
|
1379
1387
|
let t;
|
|
1380
1388
|
return {
|
|
1381
|
-
name:
|
|
1389
|
+
name: ur,
|
|
1382
1390
|
setup(n) {
|
|
1383
|
-
t =
|
|
1391
|
+
t = pr(e, n.getOptions());
|
|
1384
1392
|
},
|
|
1385
1393
|
processEvent(n, r, i) {
|
|
1386
|
-
return t || (t =
|
|
1394
|
+
return t || (t = pr(e, i.getOptions())), mr(n, t) ? null : n;
|
|
1387
1395
|
}
|
|
1388
1396
|
};
|
|
1389
|
-
}),
|
|
1390
|
-
...
|
|
1397
|
+
}), fr = V(((e = {}) => ({
|
|
1398
|
+
...dr(e),
|
|
1391
1399
|
name: "InboundFilters"
|
|
1392
1400
|
})));
|
|
1393
|
-
function
|
|
1401
|
+
function pr(e = {}, t = {}) {
|
|
1394
1402
|
return {
|
|
1395
1403
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1396
1404
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1397
1405
|
ignoreErrors: [
|
|
1398
1406
|
...e.ignoreErrors || [],
|
|
1399
1407
|
...t.ignoreErrors || [],
|
|
1400
|
-
...e.disableErrorDefaults ? [] :
|
|
1408
|
+
...e.disableErrorDefaults ? [] : lr
|
|
1401
1409
|
],
|
|
1402
1410
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1403
1411
|
};
|
|
1404
1412
|
}
|
|
1405
|
-
function
|
|
1413
|
+
function mr(e, t) {
|
|
1406
1414
|
if (!e.type) {
|
|
1407
|
-
if (
|
|
1415
|
+
if (hr(e, t.ignoreErrors)) return P && A.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1408
1416
|
Event: ${v(e)}`), !0;
|
|
1409
|
-
if (
|
|
1417
|
+
if (xr(e)) return P && A.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1410
1418
|
Event: ${v(e)}`), !0;
|
|
1411
|
-
if (
|
|
1419
|
+
if (_r(e, t.denyUrls)) return P && A.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1412
1420
|
Event: ${v(e)}.
|
|
1413
|
-
Url: ${
|
|
1414
|
-
if (!
|
|
1421
|
+
Url: ${br(e)}`), !0;
|
|
1422
|
+
if (!vr(e, t.allowUrls)) return P && A.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1415
1423
|
Event: ${v(e)}.
|
|
1416
|
-
Url: ${
|
|
1417
|
-
} else if (e.type === "transaction" &&
|
|
1424
|
+
Url: ${br(e)}`), !0;
|
|
1425
|
+
} else if (e.type === "transaction" && gr(e, t.ignoreTransactions)) return P && A.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1418
1426
|
Event: ${v(e)}`), !0;
|
|
1419
1427
|
return !1;
|
|
1420
1428
|
}
|
|
1421
|
-
function
|
|
1422
|
-
return t != null && t.length ?
|
|
1429
|
+
function hr(e, t) {
|
|
1430
|
+
return t != null && t.length ? Cn(e).some((e) => F(e, t)) : !1;
|
|
1423
1431
|
}
|
|
1424
|
-
function
|
|
1432
|
+
function gr(e, t) {
|
|
1425
1433
|
if (!(t != null && t.length)) return !1;
|
|
1426
1434
|
let n = e.transaction;
|
|
1427
1435
|
return n ? F(n, t) : !1;
|
|
1428
1436
|
}
|
|
1429
|
-
function
|
|
1437
|
+
function _r(e, t) {
|
|
1430
1438
|
if (!(t != null && t.length)) return !1;
|
|
1431
|
-
let n =
|
|
1439
|
+
let n = br(e);
|
|
1432
1440
|
return n ? F(n, t) : !1;
|
|
1433
1441
|
}
|
|
1434
|
-
function
|
|
1442
|
+
function vr(e, t) {
|
|
1435
1443
|
if (!(t != null && t.length)) return !0;
|
|
1436
|
-
let n =
|
|
1444
|
+
let n = br(e);
|
|
1437
1445
|
return !n || F(n, t);
|
|
1438
1446
|
}
|
|
1439
|
-
function
|
|
1447
|
+
function yr(e = []) {
|
|
1440
1448
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1441
1449
|
let n = e[t];
|
|
1442
1450
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1443
1451
|
}
|
|
1444
1452
|
return null;
|
|
1445
1453
|
}
|
|
1446
|
-
function
|
|
1454
|
+
function br(e) {
|
|
1447
1455
|
try {
|
|
1448
1456
|
var t, n, r;
|
|
1449
1457
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1450
1458
|
var t, n;
|
|
1451
1459
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1452
1460
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1453
|
-
return a ?
|
|
1461
|
+
return a ? yr(a) : null;
|
|
1454
1462
|
} catch {
|
|
1455
1463
|
return P && A.error(`Cannot extract url for event ${v(e)}`), null;
|
|
1456
1464
|
}
|
|
1457
1465
|
}
|
|
1458
|
-
function
|
|
1466
|
+
function xr(e) {
|
|
1459
1467
|
var t;
|
|
1460
1468
|
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;
|
|
1461
1469
|
}
|
|
1462
1470
|
//#endregion
|
|
1463
1471
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1464
|
-
function
|
|
1472
|
+
function Sr(e, t, n, r, i, a) {
|
|
1465
1473
|
var o;
|
|
1466
1474
|
if (!((o = i.exception) != null && o.values) || !a || !Ve(a.originalException, Error)) return;
|
|
1467
1475
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1468
|
-
s && (i.exception.values =
|
|
1476
|
+
s && (i.exception.values = Cr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1469
1477
|
}
|
|
1470
|
-
function
|
|
1478
|
+
function Cr(e, t, n, r, i, a, o, s) {
|
|
1471
1479
|
if (a.length >= n + 1) return a;
|
|
1472
1480
|
let c = [...a];
|
|
1473
1481
|
if (Ve(r[i], Error)) {
|
|
1474
|
-
|
|
1482
|
+
Tr(o, s, r);
|
|
1475
1483
|
let a = e(t, r[i]), l = c.length;
|
|
1476
|
-
|
|
1484
|
+
Er(a, i, l, s), c = Cr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1477
1485
|
}
|
|
1478
|
-
return
|
|
1486
|
+
return wr(r) && r.errors.forEach((a, l) => {
|
|
1479
1487
|
if (Ve(a, Error)) {
|
|
1480
|
-
|
|
1488
|
+
Tr(o, s, r);
|
|
1481
1489
|
let u = e(t, a), d = c.length;
|
|
1482
|
-
|
|
1490
|
+
Er(u, `errors[${l}]`, d, s), c = Cr(e, t, n, a, i, [u, ...c], u, d);
|
|
1483
1491
|
}
|
|
1484
1492
|
}), c;
|
|
1485
1493
|
}
|
|
1486
|
-
function
|
|
1494
|
+
function wr(e) {
|
|
1487
1495
|
return Array.isArray(e.errors);
|
|
1488
1496
|
}
|
|
1489
|
-
function
|
|
1497
|
+
function Tr(e, t, n) {
|
|
1490
1498
|
e.mechanism = {
|
|
1491
1499
|
handled: !0,
|
|
1492
1500
|
type: "auto.core.linked_errors",
|
|
1493
|
-
...
|
|
1501
|
+
...wr(n) && { is_exception_group: !0 },
|
|
1494
1502
|
...e.mechanism,
|
|
1495
1503
|
exception_id: t
|
|
1496
1504
|
};
|
|
1497
1505
|
}
|
|
1498
|
-
function
|
|
1506
|
+
function Er(e, t, n, r) {
|
|
1499
1507
|
e.mechanism = {
|
|
1500
1508
|
handled: !0,
|
|
1501
1509
|
...e.mechanism,
|
|
@@ -1507,25 +1515,25 @@ function wr(e, t, n, r) {
|
|
|
1507
1515
|
}
|
|
1508
1516
|
//#endregion
|
|
1509
1517
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1510
|
-
function
|
|
1511
|
-
return
|
|
1518
|
+
function Dr(e) {
|
|
1519
|
+
return re(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1512
1520
|
}
|
|
1513
|
-
function
|
|
1514
|
-
return
|
|
1521
|
+
function Or(e) {
|
|
1522
|
+
return Dr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1515
1523
|
}
|
|
1516
1524
|
//#endregion
|
|
1517
1525
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1518
|
-
var
|
|
1519
|
-
function
|
|
1526
|
+
var kr = /* @__PURE__ */ new Set([]);
|
|
1527
|
+
function Ar(e) {
|
|
1520
1528
|
let t = "console", n = L(t, e);
|
|
1521
|
-
return R(t,
|
|
1529
|
+
return R(t, Mr), n;
|
|
1522
1530
|
}
|
|
1523
|
-
var
|
|
1524
|
-
function
|
|
1531
|
+
var jr = /* @__PURE__ */ new Set();
|
|
1532
|
+
function Mr() {
|
|
1525
1533
|
"console" in O && Ie.forEach(function(e) {
|
|
1526
|
-
|
|
1534
|
+
jr.has(e) || !(e in O.console) || (jr.add(e), M(O.console, e, function(t) {
|
|
1527
1535
|
return Ce[e] = t, function(...t) {
|
|
1528
|
-
let n = t[0], r = Ce[e], i =
|
|
1536
|
+
let n = t[0], r = Ce[e], i = kr.size && typeof n == "string" && F(n, kr);
|
|
1529
1537
|
i || z("console", {
|
|
1530
1538
|
args: t,
|
|
1531
1539
|
level: e
|
|
@@ -1536,7 +1544,7 @@ function Ar() {
|
|
|
1536
1544
|
}
|
|
1537
1545
|
//#endregion
|
|
1538
1546
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1539
|
-
function
|
|
1547
|
+
function Nr(e) {
|
|
1540
1548
|
return e === "warn" ? "warning" : [
|
|
1541
1549
|
"fatal",
|
|
1542
1550
|
"error",
|
|
@@ -1548,31 +1556,31 @@ function jr(e) {
|
|
|
1548
1556
|
}
|
|
1549
1557
|
//#endregion
|
|
1550
1558
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1551
|
-
var
|
|
1559
|
+
var Pr = "Dedupe", Fr = V((() => {
|
|
1552
1560
|
let e;
|
|
1553
1561
|
return {
|
|
1554
|
-
name:
|
|
1562
|
+
name: Pr,
|
|
1555
1563
|
processEvent(t) {
|
|
1556
1564
|
if (t.type) return t;
|
|
1557
1565
|
try {
|
|
1558
|
-
if (
|
|
1566
|
+
if (Ir(t, e)) return P && A.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1559
1567
|
} catch {}
|
|
1560
1568
|
return e = t;
|
|
1561
1569
|
}
|
|
1562
1570
|
};
|
|
1563
1571
|
}));
|
|
1564
|
-
function
|
|
1565
|
-
return t ? !!(
|
|
1572
|
+
function Ir(e, t) {
|
|
1573
|
+
return t ? !!(Lr(e, t) || Rr(e, t)) : !1;
|
|
1566
1574
|
}
|
|
1567
|
-
function
|
|
1575
|
+
function Lr(e, t) {
|
|
1568
1576
|
let n = e.message, r = t.message;
|
|
1569
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1577
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Br(e, t) || !zr(e, t));
|
|
1570
1578
|
}
|
|
1571
|
-
function
|
|
1572
|
-
let n =
|
|
1573
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1579
|
+
function Rr(e, t) {
|
|
1580
|
+
let n = Vr(t), r = Vr(e);
|
|
1581
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Br(e, t) || !zr(e, t));
|
|
1574
1582
|
}
|
|
1575
|
-
function
|
|
1583
|
+
function zr(e, t) {
|
|
1576
1584
|
let n = Ue(e), r = Ue(t);
|
|
1577
1585
|
if (!n && !r) return !0;
|
|
1578
1586
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
@@ -1582,7 +1590,7 @@ function Lr(e, t) {
|
|
|
1582
1590
|
}
|
|
1583
1591
|
return !0;
|
|
1584
1592
|
}
|
|
1585
|
-
function
|
|
1593
|
+
function Br(e, t) {
|
|
1586
1594
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1587
1595
|
if (!n && !r) return !0;
|
|
1588
1596
|
if (n && !r || !n && r) return !1;
|
|
@@ -1593,17 +1601,17 @@ function Rr(e, t) {
|
|
|
1593
1601
|
return !1;
|
|
1594
1602
|
}
|
|
1595
1603
|
}
|
|
1596
|
-
function
|
|
1604
|
+
function Vr(e) {
|
|
1597
1605
|
var t;
|
|
1598
1606
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1599
1607
|
}
|
|
1600
1608
|
//#endregion
|
|
1601
1609
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1602
|
-
var
|
|
1603
|
-
name:
|
|
1610
|
+
var Hr = "ConversationId", Ur = V((() => ({
|
|
1611
|
+
name: Hr,
|
|
1604
1612
|
setup(e) {
|
|
1605
1613
|
e.on("spanStart", (e) => {
|
|
1606
|
-
let t = Ke().getScopeData(), n =
|
|
1614
|
+
let t = Ke().getScopeData(), n = oe().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1607
1615
|
if (r) {
|
|
1608
1616
|
let { op: t, data: n, description: i } = we(e);
|
|
1609
1617
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
@@ -1614,7 +1622,7 @@ var Br = "ConversationId", Vr = V((() => ({
|
|
|
1614
1622
|
})));
|
|
1615
1623
|
//#endregion
|
|
1616
1624
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1617
|
-
function
|
|
1625
|
+
function Wr(e) {
|
|
1618
1626
|
if (e !== void 0) {
|
|
1619
1627
|
if (e >= 400 && e < 500) return "warning";
|
|
1620
1628
|
if (e >= 500) return "error";
|
|
@@ -1623,10 +1631,10 @@ function Hr(e) {
|
|
|
1623
1631
|
//#endregion
|
|
1624
1632
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1625
1633
|
var U = O;
|
|
1626
|
-
function
|
|
1634
|
+
function Gr() {
|
|
1627
1635
|
return "history" in U && !!U.history;
|
|
1628
1636
|
}
|
|
1629
|
-
function
|
|
1637
|
+
function Kr() {
|
|
1630
1638
|
if (!("fetch" in U)) return !1;
|
|
1631
1639
|
try {
|
|
1632
1640
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
@@ -1634,18 +1642,18 @@ function Wr() {
|
|
|
1634
1642
|
return !1;
|
|
1635
1643
|
}
|
|
1636
1644
|
}
|
|
1637
|
-
function
|
|
1645
|
+
function qr(e) {
|
|
1638
1646
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1639
1647
|
}
|
|
1640
|
-
function
|
|
1648
|
+
function Jr() {
|
|
1641
1649
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1642
|
-
if (!
|
|
1643
|
-
if (
|
|
1650
|
+
if (!Kr()) return !1;
|
|
1651
|
+
if (qr(U.fetch)) return !0;
|
|
1644
1652
|
let e = !1, t = U.document;
|
|
1645
1653
|
if (t && typeof t.createElement == "function") try {
|
|
1646
1654
|
var n;
|
|
1647
1655
|
let r = t.createElement("iframe");
|
|
1648
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1656
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = qr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1649
1657
|
} catch (e) {
|
|
1650
1658
|
P && A.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1651
1659
|
}
|
|
@@ -1653,14 +1661,14 @@ function Kr() {
|
|
|
1653
1661
|
}
|
|
1654
1662
|
//#endregion
|
|
1655
1663
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1656
|
-
function
|
|
1664
|
+
function Yr(e, t) {
|
|
1657
1665
|
let n = "fetch", r = L(n, e);
|
|
1658
|
-
return R(n, () =>
|
|
1666
|
+
return R(n, () => Xr(void 0, t)), r;
|
|
1659
1667
|
}
|
|
1660
|
-
function
|
|
1661
|
-
t && !
|
|
1668
|
+
function Xr(e, t = !1) {
|
|
1669
|
+
t && !Jr() || M(O, "fetch", function(t) {
|
|
1662
1670
|
return function(...n) {
|
|
1663
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1671
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = $r(n), o = {
|
|
1664
1672
|
args: n,
|
|
1665
1673
|
fetchData: {
|
|
1666
1674
|
method: i,
|
|
@@ -1668,7 +1676,7 @@ function Jr(e, t = !1) {
|
|
|
1668
1676
|
},
|
|
1669
1677
|
startTimestamp: j() * 1e3,
|
|
1670
1678
|
virtualError: r,
|
|
1671
|
-
headers:
|
|
1679
|
+
headers: ei(n)
|
|
1672
1680
|
};
|
|
1673
1681
|
return e || z("fetch", { ...o }), t.apply(O, n).then(async (t) => (e ? e(t) : z("fetch", {
|
|
1674
1682
|
...o,
|
|
@@ -1680,7 +1688,7 @@ function Jr(e, t = !1) {
|
|
|
1680
1688
|
...o,
|
|
1681
1689
|
endTimestamp: j() * 1e3,
|
|
1682
1690
|
error: e
|
|
1683
|
-
}),
|
|
1691
|
+
}), re(e) && e.stack === void 0 && (e.stack = r.stack, y(e, "framesToPop", 1));
|
|
1684
1692
|
let n = h(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1685
1693
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1686
1694
|
let t = new URL(o.fetchData.url).host;
|
|
@@ -1691,13 +1699,13 @@ function Jr(e, t = !1) {
|
|
|
1691
1699
|
};
|
|
1692
1700
|
});
|
|
1693
1701
|
}
|
|
1694
|
-
function
|
|
1702
|
+
function Zr(e, t) {
|
|
1695
1703
|
return Me(e) && !!e[t];
|
|
1696
1704
|
}
|
|
1697
|
-
function
|
|
1698
|
-
return typeof e == "string" ? e : e ?
|
|
1705
|
+
function Qr(e) {
|
|
1706
|
+
return typeof e == "string" ? e : e ? Zr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1699
1707
|
}
|
|
1700
|
-
function
|
|
1708
|
+
function $r(e) {
|
|
1701
1709
|
if (e.length === 0) return {
|
|
1702
1710
|
method: "GET",
|
|
1703
1711
|
url: ""
|
|
@@ -1705,17 +1713,17 @@ function Zr(e) {
|
|
|
1705
1713
|
if (e.length === 2) {
|
|
1706
1714
|
let [t, n] = e;
|
|
1707
1715
|
return {
|
|
1708
|
-
url:
|
|
1709
|
-
method:
|
|
1716
|
+
url: Qr(t),
|
|
1717
|
+
method: Zr(n, "method") ? String(n.method).toUpperCase() : Pe(t) && Zr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1710
1718
|
};
|
|
1711
1719
|
}
|
|
1712
1720
|
let t = e[0];
|
|
1713
1721
|
return {
|
|
1714
|
-
url:
|
|
1715
|
-
method:
|
|
1722
|
+
url: Qr(t),
|
|
1723
|
+
method: Zr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1716
1724
|
};
|
|
1717
1725
|
}
|
|
1718
|
-
function
|
|
1726
|
+
function ei(e) {
|
|
1719
1727
|
let [t, n] = e;
|
|
1720
1728
|
try {
|
|
1721
1729
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
@@ -1724,16 +1732,16 @@ function Qr(e) {
|
|
|
1724
1732
|
}
|
|
1725
1733
|
//#endregion
|
|
1726
1734
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1727
|
-
var
|
|
1728
|
-
function
|
|
1735
|
+
var ti = O;
|
|
1736
|
+
function ni() {
|
|
1729
1737
|
try {
|
|
1730
|
-
return
|
|
1738
|
+
return ti.document.location.href;
|
|
1731
1739
|
} catch {
|
|
1732
1740
|
return "";
|
|
1733
1741
|
}
|
|
1734
1742
|
}
|
|
1735
|
-
function
|
|
1736
|
-
if (
|
|
1743
|
+
function ri(e, t = 5) {
|
|
1744
|
+
if (!ti.HTMLElement) return null;
|
|
1737
1745
|
let n = e;
|
|
1738
1746
|
for (let e = 0; e < t; e++) {
|
|
1739
1747
|
if (!n) return null;
|
|
@@ -1747,13 +1755,13 @@ function ti(e, t = 5) {
|
|
|
1747
1755
|
}
|
|
1748
1756
|
//#endregion
|
|
1749
1757
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1750
|
-
var W = O,
|
|
1751
|
-
function
|
|
1752
|
-
return
|
|
1758
|
+
var W = O, ii = 0;
|
|
1759
|
+
function ai() {
|
|
1760
|
+
return ii > 0;
|
|
1753
1761
|
}
|
|
1754
|
-
function
|
|
1755
|
-
|
|
1756
|
-
|
|
1762
|
+
function oi() {
|
|
1763
|
+
ii++, setTimeout(() => {
|
|
1764
|
+
ii--;
|
|
1757
1765
|
});
|
|
1758
1766
|
}
|
|
1759
1767
|
function G(e, t = {}) {
|
|
@@ -1776,8 +1784,8 @@ function G(e, t = {}) {
|
|
|
1776
1784
|
let r = n.map((e) => G(e, t));
|
|
1777
1785
|
return e.apply(this, r);
|
|
1778
1786
|
} catch (e) {
|
|
1779
|
-
throw
|
|
1780
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1787
|
+
throw oi(), g((r) => {
|
|
1788
|
+
r.addEventProcessor((e) => (t.mechanism && (ee(e, void 0, void 0), T(e, t.mechanism)), e.extra = {
|
|
1781
1789
|
...e.extra,
|
|
1782
1790
|
arguments: n
|
|
1783
1791
|
}, e)), je(e);
|
|
@@ -1797,8 +1805,8 @@ function G(e, t = {}) {
|
|
|
1797
1805
|
} catch {}
|
|
1798
1806
|
return r;
|
|
1799
1807
|
}
|
|
1800
|
-
function
|
|
1801
|
-
let e =
|
|
1808
|
+
function si() {
|
|
1809
|
+
let e = ni(), { referrer: t } = W.document || {}, { userAgent: n } = W.navigator || {};
|
|
1802
1810
|
return {
|
|
1803
1811
|
url: e,
|
|
1804
1812
|
headers: {
|
|
@@ -1809,100 +1817,100 @@ function ai() {
|
|
|
1809
1817
|
}
|
|
1810
1818
|
//#endregion
|
|
1811
1819
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1812
|
-
function
|
|
1813
|
-
let n =
|
|
1814
|
-
type:
|
|
1815
|
-
value:
|
|
1820
|
+
function ci(e, t) {
|
|
1821
|
+
let n = di(e, t), r = {
|
|
1822
|
+
type: gi(t),
|
|
1823
|
+
value: _i(t)
|
|
1816
1824
|
};
|
|
1817
1825
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1818
1826
|
}
|
|
1819
|
-
function
|
|
1820
|
-
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o =
|
|
1827
|
+
function li(e, t, n, r) {
|
|
1828
|
+
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = wi(t), s = { __serialized__: se(t, a) };
|
|
1821
1829
|
if (o) return {
|
|
1822
|
-
exception: { values: [
|
|
1830
|
+
exception: { values: [ci(e, o)] },
|
|
1823
1831
|
extra: s
|
|
1824
1832
|
};
|
|
1825
1833
|
let c = {
|
|
1826
1834
|
exception: { values: [{
|
|
1827
1835
|
type: ye(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1828
|
-
value:
|
|
1836
|
+
value: Si(t, { isUnhandledRejection: r })
|
|
1829
1837
|
}] },
|
|
1830
1838
|
extra: s
|
|
1831
1839
|
};
|
|
1832
1840
|
if (n) {
|
|
1833
|
-
let t =
|
|
1841
|
+
let t = di(e, n);
|
|
1834
1842
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1835
1843
|
}
|
|
1836
1844
|
return c;
|
|
1837
1845
|
}
|
|
1838
|
-
function
|
|
1839
|
-
return { exception: { values: [
|
|
1846
|
+
function ui(e, t) {
|
|
1847
|
+
return { exception: { values: [ci(e, t)] } };
|
|
1840
1848
|
}
|
|
1841
|
-
function
|
|
1842
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1849
|
+
function di(e, t) {
|
|
1850
|
+
let n = t.stacktrace || t.stack || "", r = pi(t), i = mi(t);
|
|
1843
1851
|
try {
|
|
1844
1852
|
return e(n, r, i);
|
|
1845
1853
|
} catch {}
|
|
1846
1854
|
return [];
|
|
1847
1855
|
}
|
|
1848
|
-
var
|
|
1849
|
-
function
|
|
1850
|
-
return e &&
|
|
1856
|
+
var fi = /Minified React error #\d+;/i;
|
|
1857
|
+
function pi(e) {
|
|
1858
|
+
return e && fi.test(e.message) ? 1 : 0;
|
|
1851
1859
|
}
|
|
1852
|
-
function
|
|
1860
|
+
function mi(e) {
|
|
1853
1861
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1854
1862
|
}
|
|
1855
|
-
function
|
|
1863
|
+
function hi(e) {
|
|
1856
1864
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 && e instanceof WebAssembly.Exception;
|
|
1857
1865
|
}
|
|
1858
|
-
function
|
|
1866
|
+
function gi(e) {
|
|
1859
1867
|
let t = e == null ? void 0 : e.name;
|
|
1860
|
-
return !t &&
|
|
1868
|
+
return !t && hi(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1861
1869
|
}
|
|
1862
|
-
function
|
|
1870
|
+
function _i(e) {
|
|
1863
1871
|
let t = e == null ? void 0 : e.message;
|
|
1864
|
-
return
|
|
1872
|
+
return hi(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Or(t.error) : Or(e) : "No error message";
|
|
1865
1873
|
}
|
|
1866
|
-
function
|
|
1867
|
-
let i =
|
|
1868
|
-
return
|
|
1874
|
+
function vi(e, t, n, r) {
|
|
1875
|
+
let i = bi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1876
|
+
return T(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), ve(i);
|
|
1869
1877
|
}
|
|
1870
|
-
function
|
|
1871
|
-
let a =
|
|
1878
|
+
function yi(e, t, n = "info", r, i) {
|
|
1879
|
+
let a = xi(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1872
1880
|
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), ve(a);
|
|
1873
1881
|
}
|
|
1874
|
-
function
|
|
1882
|
+
function bi(e, t, n, r, i) {
|
|
1875
1883
|
let a;
|
|
1876
|
-
if (f(t) && t.error) return
|
|
1884
|
+
if (f(t) && t.error) return ui(e, t.error);
|
|
1877
1885
|
if (le(t) || de(t)) {
|
|
1878
1886
|
let i = t;
|
|
1879
1887
|
if ("stack" in t) {
|
|
1880
1888
|
var o;
|
|
1881
|
-
a =
|
|
1889
|
+
a = ui(e, t);
|
|
1882
1890
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1883
1891
|
if (r && n && i && !i.stacktrace) {
|
|
1884
|
-
let t =
|
|
1885
|
-
t.length && (i.stacktrace = { frames: t },
|
|
1892
|
+
let t = di(e, n);
|
|
1893
|
+
t.length && (i.stacktrace = { frames: t }, T(a, { synthetic: !0 }));
|
|
1886
1894
|
}
|
|
1887
1895
|
} else {
|
|
1888
1896
|
let t = i.name || (le(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1889
|
-
a =
|
|
1897
|
+
a = xi(e, o, n, r), ee(a, o);
|
|
1890
1898
|
}
|
|
1891
1899
|
return "code" in i && (a.tags = {
|
|
1892
1900
|
...a.tags,
|
|
1893
1901
|
"DOMException.code": `${i.code}`
|
|
1894
1902
|
}), a;
|
|
1895
1903
|
}
|
|
1896
|
-
return
|
|
1904
|
+
return re(t) ? ui(e, t) : Te(t) || ye(t) ? (a = li(e, t, n, i), T(a, { synthetic: !0 }), a) : (a = xi(e, t, n, r), ee(a, `${t}`, void 0), T(a, { synthetic: !0 }), a);
|
|
1897
1905
|
}
|
|
1898
|
-
function
|
|
1906
|
+
function xi(e, t, n, r) {
|
|
1899
1907
|
let i = {};
|
|
1900
1908
|
if (r && n) {
|
|
1901
|
-
let r =
|
|
1909
|
+
let r = di(e, n);
|
|
1902
1910
|
r.length && (i.exception = { values: [{
|
|
1903
1911
|
value: t,
|
|
1904
1912
|
stacktrace: { frames: r }
|
|
1905
|
-
}] }),
|
|
1913
|
+
}] }), T(i, { synthetic: !0 });
|
|
1906
1914
|
}
|
|
1907
1915
|
if (Re(t)) {
|
|
1908
1916
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
@@ -1913,26 +1921,26 @@ function yi(e, t, n, r) {
|
|
|
1913
1921
|
}
|
|
1914
1922
|
return i.message = t, i;
|
|
1915
1923
|
}
|
|
1916
|
-
function
|
|
1924
|
+
function Si(e, { isUnhandledRejection: t }) {
|
|
1917
1925
|
let n = C(e), r = t ? "promise rejection" : "exception";
|
|
1918
|
-
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : ye(e) ? `Event \`${
|
|
1926
|
+
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : ye(e) ? `Event \`${Ci(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1919
1927
|
}
|
|
1920
|
-
function
|
|
1928
|
+
function Ci(e) {
|
|
1921
1929
|
try {
|
|
1922
1930
|
let t = Object.getPrototypeOf(e);
|
|
1923
1931
|
return t ? t.constructor.name : void 0;
|
|
1924
1932
|
} catch {}
|
|
1925
1933
|
}
|
|
1926
|
-
function
|
|
1934
|
+
function wi(e) {
|
|
1927
1935
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1928
1936
|
}
|
|
1929
1937
|
//#endregion
|
|
1930
1938
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1931
|
-
var
|
|
1939
|
+
var Ti = class extends Bn {
|
|
1932
1940
|
constructor(e) {
|
|
1933
1941
|
var t;
|
|
1934
|
-
let n =
|
|
1935
|
-
|
|
1942
|
+
let n = Ei(e);
|
|
1943
|
+
ir(n, "browser", ["browser"], W.SENTRY_SDK_SOURCE || Zt()), super(n);
|
|
1936
1944
|
let { userInfo: r } = this.getDataCollectionOptions();
|
|
1937
1945
|
(t = n._metadata) != null && t.sdk && (n._metadata.sdk.settings = {
|
|
1938
1946
|
infer_ip: r ? "auto" : "never",
|
|
@@ -1943,19 +1951,19 @@ var Ci = class extends Rn {
|
|
|
1943
1951
|
W.document.visibilityState === "hidden" && (i && this._flushOutcomes(), queueMicrotask(() => {
|
|
1944
1952
|
this.flush();
|
|
1945
1953
|
}));
|
|
1946
|
-
}), r && this.on("beforeSendSession",
|
|
1954
|
+
}), r && this.on("beforeSendSession", rr);
|
|
1947
1955
|
}
|
|
1948
1956
|
eventFromException(e, t) {
|
|
1949
|
-
return
|
|
1957
|
+
return vi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1950
1958
|
}
|
|
1951
1959
|
eventFromMessage(e, t = "info", n) {
|
|
1952
|
-
return
|
|
1960
|
+
return yi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1953
1961
|
}
|
|
1954
1962
|
_prepareEvent(e, t, n, r) {
|
|
1955
1963
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1956
1964
|
}
|
|
1957
1965
|
};
|
|
1958
|
-
function
|
|
1966
|
+
function Ei(e) {
|
|
1959
1967
|
var t;
|
|
1960
1968
|
return {
|
|
1961
1969
|
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = W.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
@@ -1966,35 +1974,35 @@ function wi(e) {
|
|
|
1966
1974
|
}
|
|
1967
1975
|
//#endregion
|
|
1968
1976
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
1969
|
-
var
|
|
1977
|
+
var Di = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, K = O;
|
|
1970
1978
|
//#endregion
|
|
1971
1979
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/globalListeners.js
|
|
1972
|
-
function
|
|
1980
|
+
function Oi(e, t, n) {
|
|
1973
1981
|
K.document && K.addEventListener(e, t, n);
|
|
1974
1982
|
}
|
|
1975
|
-
function
|
|
1983
|
+
function ki(e, t, n) {
|
|
1976
1984
|
K.document && K.removeEventListener(e, t, n);
|
|
1977
1985
|
}
|
|
1978
1986
|
//#endregion
|
|
1979
1987
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/runOnce.js
|
|
1980
|
-
var
|
|
1988
|
+
var Ai = (e) => {
|
|
1981
1989
|
let t = !1;
|
|
1982
1990
|
return () => {
|
|
1983
1991
|
t || (e(), t = !0);
|
|
1984
1992
|
};
|
|
1985
|
-
},
|
|
1993
|
+
}, ji = (e) => {
|
|
1986
1994
|
var t;
|
|
1987
1995
|
let n = K.requestIdleCallback || K.setTimeout;
|
|
1988
|
-
((t = K.document) == null ? void 0 : t.visibilityState) === "hidden" ? e() : (e =
|
|
1996
|
+
((t = K.document) == null ? void 0 : t.visibilityState) === "hidden" ? e() : (e = Ai(e), Oi("visibilitychange", e, {
|
|
1989
1997
|
once: !0,
|
|
1990
1998
|
capture: !0
|
|
1991
|
-
}),
|
|
1999
|
+
}), Oi("pagehide", e, {
|
|
1992
2000
|
once: !0,
|
|
1993
2001
|
capture: !0
|
|
1994
2002
|
}), n(() => {
|
|
1995
|
-
e(),
|
|
2003
|
+
e(), ki("visibilitychange", e, { capture: !0 }), ki("pagehide", e, { capture: !0 });
|
|
1996
2004
|
}));
|
|
1997
|
-
},
|
|
2005
|
+
}, Mi = 80, q = {};
|
|
1998
2006
|
try {
|
|
1999
2007
|
typeof Node < "u" && (q.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (q.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, q.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, q.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, q.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (q.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
2000
2008
|
} catch {}
|
|
@@ -2006,17 +2014,17 @@ function J(e, t, n) {
|
|
|
2006
2014
|
let i = e[t];
|
|
2007
2015
|
return typeof i == "function" ? i.call(e, n) : i;
|
|
2008
2016
|
}
|
|
2009
|
-
function
|
|
2017
|
+
function Ni(e, t = {}) {
|
|
2010
2018
|
if (!e) return "<unknown>";
|
|
2011
2019
|
try {
|
|
2012
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength ||
|
|
2013
|
-
for (; n && i++ < 5 && (o =
|
|
2020
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Mi;
|
|
2021
|
+
for (; n && i++ < 5 && (o = Pi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = J(n, "parentNode");
|
|
2014
2022
|
return r.reverse().join(" > ");
|
|
2015
2023
|
} catch {
|
|
2016
2024
|
return "<unknown>";
|
|
2017
2025
|
}
|
|
2018
2026
|
}
|
|
2019
|
-
function
|
|
2027
|
+
function Pi(e, t) {
|
|
2020
2028
|
let n = [], r = J(e, "tagName");
|
|
2021
2029
|
if (!r) return "";
|
|
2022
2030
|
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
@@ -2054,13 +2062,13 @@ function Mi(e, t) {
|
|
|
2054
2062
|
}
|
|
2055
2063
|
//#endregion
|
|
2056
2064
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/dom.js
|
|
2057
|
-
var
|
|
2058
|
-
function
|
|
2059
|
-
L("dom", e), R("dom",
|
|
2065
|
+
var Fi = 1e3, Ii, Li, Ri;
|
|
2066
|
+
function zi(e) {
|
|
2067
|
+
L("dom", e), R("dom", Bi);
|
|
2060
2068
|
}
|
|
2061
|
-
function
|
|
2069
|
+
function Bi() {
|
|
2062
2070
|
if (!K.document) return;
|
|
2063
|
-
let e = z.bind(null, "dom"), t =
|
|
2071
|
+
let e = z.bind(null, "dom"), t = Ui(e, !0);
|
|
2064
2072
|
K.document.addEventListener("click", t, !1), K.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2065
2073
|
var n, r;
|
|
2066
2074
|
let i = (n = K[t]) == null ? void 0 : n.prototype;
|
|
@@ -2069,7 +2077,7 @@ function Ri() {
|
|
|
2069
2077
|
if (n === "click" || n == "keypress") try {
|
|
2070
2078
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
2071
2079
|
if (!a.handler) {
|
|
2072
|
-
let r =
|
|
2080
|
+
let r = Ui(e);
|
|
2073
2081
|
a.handler = r, t.call(this, n, r, i);
|
|
2074
2082
|
}
|
|
2075
2083
|
a.refCount++;
|
|
@@ -2087,33 +2095,33 @@ function Ri() {
|
|
|
2087
2095
|
}));
|
|
2088
2096
|
});
|
|
2089
2097
|
}
|
|
2090
|
-
function
|
|
2091
|
-
if (e.type !==
|
|
2098
|
+
function Vi(e) {
|
|
2099
|
+
if (e.type !== Li) return !1;
|
|
2092
2100
|
try {
|
|
2093
|
-
if (!e.target || e.target._sentryId !==
|
|
2101
|
+
if (!e.target || e.target._sentryId !== Ri) return !1;
|
|
2094
2102
|
} catch {}
|
|
2095
2103
|
return !0;
|
|
2096
2104
|
}
|
|
2097
|
-
function
|
|
2105
|
+
function Hi(e, t) {
|
|
2098
2106
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
2099
2107
|
}
|
|
2100
|
-
function
|
|
2108
|
+
function Ui(e, t = !1) {
|
|
2101
2109
|
return (n) => {
|
|
2102
2110
|
if (!n || n._sentryCaptured) return;
|
|
2103
|
-
let r =
|
|
2104
|
-
if (
|
|
2111
|
+
let r = Wi(n);
|
|
2112
|
+
if (Hi(n.type, r)) return;
|
|
2105
2113
|
y(n, "_sentryCaptured", !0), r && !r._sentryId && y(r, "_sentryId", x());
|
|
2106
2114
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2107
|
-
|
|
2115
|
+
Vi(n) || (e({
|
|
2108
2116
|
event: n,
|
|
2109
2117
|
name: i,
|
|
2110
2118
|
global: t
|
|
2111
|
-
}),
|
|
2112
|
-
|
|
2113
|
-
},
|
|
2119
|
+
}), Li = n.type, Ri = r ? r._sentryId : void 0), clearTimeout(Ii), Ii = K.setTimeout(() => {
|
|
2120
|
+
Ri = void 0, Li = void 0;
|
|
2121
|
+
}, Fi);
|
|
2114
2122
|
};
|
|
2115
2123
|
}
|
|
2116
|
-
function
|
|
2124
|
+
function Wi(e) {
|
|
2117
2125
|
try {
|
|
2118
2126
|
return e.target;
|
|
2119
2127
|
} catch {
|
|
@@ -2123,23 +2131,23 @@ function Hi(e) {
|
|
|
2123
2131
|
//#endregion
|
|
2124
2132
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/history.js
|
|
2125
2133
|
var Y;
|
|
2126
|
-
function
|
|
2134
|
+
function Gi(e) {
|
|
2127
2135
|
let t = "history";
|
|
2128
|
-
L(t, e), R(t,
|
|
2136
|
+
L(t, e), R(t, Ki);
|
|
2129
2137
|
}
|
|
2130
|
-
function
|
|
2138
|
+
function Ki() {
|
|
2131
2139
|
if (K.addEventListener("popstate", () => {
|
|
2132
2140
|
let e = K.location.href, t = Y;
|
|
2133
2141
|
Y = e, t !== e && z("history", {
|
|
2134
2142
|
from: t,
|
|
2135
2143
|
to: e
|
|
2136
2144
|
});
|
|
2137
|
-
}), !
|
|
2145
|
+
}), !Gr()) return;
|
|
2138
2146
|
function e(e) {
|
|
2139
2147
|
return function(...t) {
|
|
2140
2148
|
let n = t.length > 2 ? t[2] : void 0;
|
|
2141
2149
|
if (n) {
|
|
2142
|
-
let r = Y, i =
|
|
2150
|
+
let r = Y, i = qi(String(n));
|
|
2143
2151
|
if (Y = i, r === i) return e.apply(this, t);
|
|
2144
2152
|
z("history", {
|
|
2145
2153
|
from: r,
|
|
@@ -2151,7 +2159,7 @@ function Wi() {
|
|
|
2151
2159
|
}
|
|
2152
2160
|
M(K.history, "pushState", e), M(K.history, "replaceState", e);
|
|
2153
2161
|
}
|
|
2154
|
-
function
|
|
2162
|
+
function qi(e) {
|
|
2155
2163
|
try {
|
|
2156
2164
|
return new URL(e, K.location.origin).toString();
|
|
2157
2165
|
} catch {
|
|
@@ -2160,12 +2168,12 @@ function Gi(e) {
|
|
|
2160
2168
|
}
|
|
2161
2169
|
//#endregion
|
|
2162
2170
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/getNativeImplementation.js
|
|
2163
|
-
var
|
|
2164
|
-
function
|
|
2165
|
-
let t =
|
|
2171
|
+
var Ji = {};
|
|
2172
|
+
function Yi(e) {
|
|
2173
|
+
let t = Ji[e];
|
|
2166
2174
|
if (t) return t;
|
|
2167
2175
|
let n = K[e];
|
|
2168
|
-
if (
|
|
2176
|
+
if (qr(n)) return Ji[e] = n.bind(K);
|
|
2169
2177
|
let r = K.document;
|
|
2170
2178
|
if (r && typeof r.createElement == "function") try {
|
|
2171
2179
|
let t = r.createElement("iframe");
|
|
@@ -2173,24 +2181,24 @@ function qi(e) {
|
|
|
2173
2181
|
let i = t.contentWindow;
|
|
2174
2182
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2175
2183
|
} catch (t) {
|
|
2176
|
-
|
|
2184
|
+
Di && A.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2177
2185
|
}
|
|
2178
|
-
return n && (
|
|
2186
|
+
return n && (Ji[e] = n.bind(K));
|
|
2179
2187
|
}
|
|
2180
|
-
function
|
|
2181
|
-
|
|
2188
|
+
function Xi(e) {
|
|
2189
|
+
Ji[e] = void 0;
|
|
2182
2190
|
}
|
|
2183
2191
|
//#endregion
|
|
2184
2192
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/xhr.js
|
|
2185
2193
|
var X = "__sentry_xhr_v3__";
|
|
2186
|
-
function
|
|
2187
|
-
L("xhr", e), R("xhr",
|
|
2194
|
+
function Zi(e) {
|
|
2195
|
+
L("xhr", e), R("xhr", Qi);
|
|
2188
2196
|
}
|
|
2189
|
-
function
|
|
2197
|
+
function Qi() {
|
|
2190
2198
|
if (!K.XMLHttpRequest) return;
|
|
2191
2199
|
let e = XMLHttpRequest.prototype;
|
|
2192
2200
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2193
|
-
let r = /* @__PURE__ */ Error(), i = j() * 1e3, a = N(n[0]) ? n[0].toUpperCase() : void 0, o =
|
|
2201
|
+
let r = /* @__PURE__ */ Error(), i = j() * 1e3, a = N(n[0]) ? n[0].toUpperCase() : void 0, o = $i(n[1]);
|
|
2194
2202
|
if (!a || !o) return e.apply(t, n);
|
|
2195
2203
|
t[X] = {
|
|
2196
2204
|
method: a,
|
|
@@ -2225,7 +2233,7 @@ function Xi() {
|
|
|
2225
2233
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2226
2234
|
} });
|
|
2227
2235
|
}
|
|
2228
|
-
function
|
|
2236
|
+
function $i(e) {
|
|
2229
2237
|
if (N(e)) return e;
|
|
2230
2238
|
try {
|
|
2231
2239
|
return e.toString();
|
|
@@ -2233,7 +2241,7 @@ function Zi(e) {
|
|
|
2233
2241
|
}
|
|
2234
2242
|
//#endregion
|
|
2235
2243
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
2236
|
-
function
|
|
2244
|
+
function ea(e) {
|
|
2237
2245
|
if (typeof Element > "u") return !1;
|
|
2238
2246
|
try {
|
|
2239
2247
|
return e instanceof Element;
|
|
@@ -2243,8 +2251,8 @@ function Qi(e) {
|
|
|
2243
2251
|
}
|
|
2244
2252
|
//#endregion
|
|
2245
2253
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
2246
|
-
var
|
|
2247
|
-
function
|
|
2254
|
+
var ta = 40;
|
|
2255
|
+
function na(e, t = Yi("fetch")) {
|
|
2248
2256
|
let n = 0, r = 0;
|
|
2249
2257
|
async function i(i) {
|
|
2250
2258
|
let a = i.body.length;
|
|
@@ -2267,17 +2275,17 @@ function ea(e, t = qi("fetch")) {
|
|
|
2267
2275
|
}
|
|
2268
2276
|
};
|
|
2269
2277
|
} catch (e) {
|
|
2270
|
-
throw
|
|
2278
|
+
throw Xi("fetch"), e;
|
|
2271
2279
|
} finally {
|
|
2272
2280
|
n -= a, r--;
|
|
2273
2281
|
}
|
|
2274
2282
|
}
|
|
2275
|
-
return
|
|
2283
|
+
return xn(e, i, hn(e.bufferSize || ta));
|
|
2276
2284
|
}
|
|
2277
2285
|
//#endregion
|
|
2278
2286
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2279
|
-
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__,
|
|
2280
|
-
function
|
|
2287
|
+
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ra = 30, ia = 50;
|
|
2288
|
+
function aa(e, t, n, r) {
|
|
2281
2289
|
let i = {
|
|
2282
2290
|
filename: e,
|
|
2283
2291
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -2285,41 +2293,41 @@ function ra(e, t, n, r) {
|
|
|
2285
2293
|
};
|
|
2286
2294
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2287
2295
|
}
|
|
2288
|
-
var
|
|
2289
|
-
let t = e.match(
|
|
2296
|
+
var oa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, sa = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, ca = /\((\S*)(?::(\d+))(?::(\d+))\)/, la = /at (.+?) ?\(data:(.+?),/, ua = [ra, (e) => {
|
|
2297
|
+
let t = e.match(la);
|
|
2290
2298
|
if (t) return {
|
|
2291
2299
|
filename: `<data:${t[2]}>`,
|
|
2292
2300
|
function: t[1]
|
|
2293
2301
|
};
|
|
2294
|
-
let n =
|
|
2302
|
+
let n = oa.exec(e);
|
|
2295
2303
|
if (n) {
|
|
2296
2304
|
let [, e, t, r] = n;
|
|
2297
|
-
return
|
|
2305
|
+
return aa(e, "?", +t, +r);
|
|
2298
2306
|
}
|
|
2299
|
-
let r =
|
|
2307
|
+
let r = sa.exec(e);
|
|
2300
2308
|
if (r) {
|
|
2301
2309
|
var i;
|
|
2302
2310
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2303
|
-
let e =
|
|
2311
|
+
let e = ca.exec(r[2]);
|
|
2304
2312
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2305
2313
|
}
|
|
2306
|
-
let [e, t] =
|
|
2307
|
-
return
|
|
2314
|
+
let [e, t] = ma(r[1] || "?", r[2]);
|
|
2315
|
+
return aa(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2308
2316
|
}
|
|
2309
|
-
}],
|
|
2310
|
-
let t =
|
|
2317
|
+
}], da = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, fa = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, pa = Oe(ua, [ia, (e) => {
|
|
2318
|
+
let t = da.exec(e);
|
|
2311
2319
|
if (t) {
|
|
2312
2320
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2313
|
-
let e =
|
|
2321
|
+
let e = fa.exec(t[3]);
|
|
2314
2322
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2315
2323
|
}
|
|
2316
2324
|
let e = t[3], n = t[1] || "?";
|
|
2317
|
-
return [n, e] =
|
|
2325
|
+
return [n, e] = ma(n, e), aa(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2318
2326
|
}
|
|
2319
|
-
}]),
|
|
2327
|
+
}]), ma = (e, t) => {
|
|
2320
2328
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2321
2329
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2322
|
-
},
|
|
2330
|
+
}, ha = 1024, ga = "Breadcrumbs", _a = V(((e = {}) => {
|
|
2323
2331
|
let t = {
|
|
2324
2332
|
console: !0,
|
|
2325
2333
|
dom: !0,
|
|
@@ -2330,13 +2338,13 @@ var ia = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, aa = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2330
2338
|
...e
|
|
2331
2339
|
};
|
|
2332
2340
|
return {
|
|
2333
|
-
name:
|
|
2341
|
+
name: ga,
|
|
2334
2342
|
setup(e) {
|
|
2335
|
-
t.console &&
|
|
2343
|
+
t.console && Ar(ba(e)), t.dom && zi(ya(e, t.dom)), t.xhr && Zi(xa(e)), t.fetch && Yr(Sa(e)), t.history && Gi(Ca(e)), t.sentry && e.on("beforeSendEvent", va(e));
|
|
2336
2344
|
}
|
|
2337
2345
|
};
|
|
2338
2346
|
}));
|
|
2339
|
-
function
|
|
2347
|
+
function va(e) {
|
|
2340
2348
|
return function(t) {
|
|
2341
2349
|
h() === e && H({
|
|
2342
2350
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
@@ -2346,17 +2354,17 @@ function ga(e) {
|
|
|
2346
2354
|
}, { event: t });
|
|
2347
2355
|
};
|
|
2348
2356
|
}
|
|
2349
|
-
function
|
|
2357
|
+
function ya(e, t) {
|
|
2350
2358
|
return function(n) {
|
|
2351
2359
|
if (h() !== e) return;
|
|
2352
2360
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2353
|
-
o && o >
|
|
2361
|
+
o && o > ha && (Z && A.warn(`\`dom.maxStringLength\` cannot exceed ${ha}, but a value of ${o} was configured. Sentry will use ${ha} instead.`), o = ha), typeof a == "string" && (a = [a]);
|
|
2354
2362
|
try {
|
|
2355
|
-
let e = n.event, t =
|
|
2356
|
-
r =
|
|
2363
|
+
let e = n.event, t = wa(e) ? e.target : e;
|
|
2364
|
+
r = Ni(t, {
|
|
2357
2365
|
keyAttrs: a,
|
|
2358
2366
|
maxStringLength: o
|
|
2359
|
-
}), i =
|
|
2367
|
+
}), i = ri(t);
|
|
2360
2368
|
} catch {
|
|
2361
2369
|
r = "<unknown>";
|
|
2362
2370
|
}
|
|
@@ -2372,7 +2380,7 @@ function _a(e, t) {
|
|
|
2372
2380
|
});
|
|
2373
2381
|
};
|
|
2374
2382
|
}
|
|
2375
|
-
function
|
|
2383
|
+
function ba(e) {
|
|
2376
2384
|
return function(t) {
|
|
2377
2385
|
if (h() !== e) return;
|
|
2378
2386
|
let n = {
|
|
@@ -2381,10 +2389,10 @@ function va(e) {
|
|
|
2381
2389
|
arguments: t.args,
|
|
2382
2390
|
logger: "console"
|
|
2383
2391
|
},
|
|
2384
|
-
level:
|
|
2385
|
-
message:
|
|
2392
|
+
level: Nr(t.level),
|
|
2393
|
+
message: ie(t.args, " ")
|
|
2386
2394
|
};
|
|
2387
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2395
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ie(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2388
2396
|
else return;
|
|
2389
2397
|
H(n, {
|
|
2390
2398
|
input: t.args,
|
|
@@ -2392,7 +2400,7 @@ function va(e) {
|
|
|
2392
2400
|
});
|
|
2393
2401
|
};
|
|
2394
2402
|
}
|
|
2395
|
-
function
|
|
2403
|
+
function xa(e) {
|
|
2396
2404
|
return function(t) {
|
|
2397
2405
|
if (h() !== e) return;
|
|
2398
2406
|
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[X];
|
|
@@ -2410,12 +2418,12 @@ function ya(e) {
|
|
|
2410
2418
|
category: "xhr",
|
|
2411
2419
|
data: l,
|
|
2412
2420
|
type: "http",
|
|
2413
|
-
level:
|
|
2421
|
+
level: Wr(s)
|
|
2414
2422
|
};
|
|
2415
2423
|
e.emit("beforeOutgoingRequestBreadcrumb", d, u), H(d, u);
|
|
2416
2424
|
};
|
|
2417
2425
|
}
|
|
2418
|
-
function
|
|
2426
|
+
function Sa(e) {
|
|
2419
2427
|
return function(t) {
|
|
2420
2428
|
if (h() !== e) return;
|
|
2421
2429
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
@@ -2445,16 +2453,16 @@ function ba(e) {
|
|
|
2445
2453
|
category: "fetch",
|
|
2446
2454
|
data: a,
|
|
2447
2455
|
type: "http",
|
|
2448
|
-
level:
|
|
2456
|
+
level: Wr(a.status_code)
|
|
2449
2457
|
};
|
|
2450
2458
|
e.emit("beforeOutgoingRequestBreadcrumb", s, o), H(s, o);
|
|
2451
2459
|
}
|
|
2452
2460
|
};
|
|
2453
2461
|
}
|
|
2454
|
-
function
|
|
2462
|
+
function Ca(e) {
|
|
2455
2463
|
return function(t) {
|
|
2456
2464
|
if (h() !== e) return;
|
|
2457
|
-
let n = t.from, r = t.to, i =
|
|
2465
|
+
let n = t.from, r = t.to, i = tr(W.location.href), a = n ? tr(n) : void 0, o = tr(r);
|
|
2458
2466
|
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative), H({
|
|
2459
2467
|
category: "navigation",
|
|
2460
2468
|
data: {
|
|
@@ -2464,12 +2472,12 @@ function xa(e) {
|
|
|
2464
2472
|
});
|
|
2465
2473
|
};
|
|
2466
2474
|
}
|
|
2467
|
-
function
|
|
2475
|
+
function wa(e) {
|
|
2468
2476
|
return !!e && !!e.target;
|
|
2469
2477
|
}
|
|
2470
2478
|
//#endregion
|
|
2471
2479
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2472
|
-
var
|
|
2480
|
+
var Ta = "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(","), Ea = "BrowserApiErrors", Da = V(((e = {}) => {
|
|
2473
2481
|
let t = {
|
|
2474
2482
|
XMLHttpRequest: !0,
|
|
2475
2483
|
eventTarget: !0,
|
|
@@ -2480,15 +2488,15 @@ var Ca = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2480
2488
|
...e
|
|
2481
2489
|
};
|
|
2482
2490
|
return {
|
|
2483
|
-
name:
|
|
2491
|
+
name: Ea,
|
|
2484
2492
|
setupOnce() {
|
|
2485
|
-
t.setTimeout && M(W, "setTimeout",
|
|
2493
|
+
t.setTimeout && M(W, "setTimeout", Oa), t.setInterval && M(W, "setInterval", Oa), t.requestAnimationFrame && M(W, "requestAnimationFrame", ka), t.XMLHttpRequest && "XMLHttpRequest" in W && M(XMLHttpRequest.prototype, "send", Aa);
|
|
2486
2494
|
let e = t.eventTarget;
|
|
2487
|
-
e && (Array.isArray(e) ? e :
|
|
2495
|
+
e && (Array.isArray(e) ? e : Ta).forEach((e) => ja(e, t));
|
|
2488
2496
|
}
|
|
2489
2497
|
};
|
|
2490
2498
|
}));
|
|
2491
|
-
function
|
|
2499
|
+
function Oa(e) {
|
|
2492
2500
|
return function(...t) {
|
|
2493
2501
|
let n = t[0];
|
|
2494
2502
|
return t[0] = G(n, { mechanism: {
|
|
@@ -2497,7 +2505,7 @@ function Ea(e) {
|
|
|
2497
2505
|
} }), e.apply(this, t);
|
|
2498
2506
|
};
|
|
2499
2507
|
}
|
|
2500
|
-
function
|
|
2508
|
+
function ka(e) {
|
|
2501
2509
|
return function(t) {
|
|
2502
2510
|
return e.apply(this, [G(t, { mechanism: {
|
|
2503
2511
|
data: { handler: k(e) },
|
|
@@ -2506,7 +2514,7 @@ function Da(e) {
|
|
|
2506
2514
|
} })]);
|
|
2507
2515
|
};
|
|
2508
2516
|
}
|
|
2509
|
-
function
|
|
2517
|
+
function Aa(e) {
|
|
2510
2518
|
return function(...t) {
|
|
2511
2519
|
let n = this;
|
|
2512
2520
|
return [
|
|
@@ -2526,13 +2534,13 @@ function Oa(e) {
|
|
|
2526
2534
|
}), e.apply(this, t);
|
|
2527
2535
|
};
|
|
2528
2536
|
}
|
|
2529
|
-
function
|
|
2537
|
+
function ja(e, t) {
|
|
2530
2538
|
var n, r;
|
|
2531
2539
|
let i = (n = W[e]) == null ? void 0 : n.prototype;
|
|
2532
2540
|
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (M(i, "addEventListener", function(n) {
|
|
2533
2541
|
return function(r, i, a) {
|
|
2534
2542
|
try {
|
|
2535
|
-
|
|
2543
|
+
Ma(i) && (i.handleEvent = G(i.handleEvent, { mechanism: {
|
|
2536
2544
|
data: {
|
|
2537
2545
|
handler: k(i),
|
|
2538
2546
|
target: e
|
|
@@ -2541,7 +2549,7 @@ function ka(e, t) {
|
|
|
2541
2549
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2542
2550
|
} }));
|
|
2543
2551
|
} catch {}
|
|
2544
|
-
return t.unregisterOriginalCallbacks &&
|
|
2552
|
+
return t.unregisterOriginalCallbacks && Na(this, r, i), n.apply(this, [
|
|
2545
2553
|
r,
|
|
2546
2554
|
G(i, { mechanism: {
|
|
2547
2555
|
data: {
|
|
@@ -2566,15 +2574,15 @@ function ka(e, t) {
|
|
|
2566
2574
|
};
|
|
2567
2575
|
}));
|
|
2568
2576
|
}
|
|
2569
|
-
function
|
|
2577
|
+
function Ma(e) {
|
|
2570
2578
|
return typeof e.handleEvent == "function";
|
|
2571
2579
|
}
|
|
2572
|
-
function
|
|
2580
|
+
function Na(e, t, n) {
|
|
2573
2581
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2574
2582
|
}
|
|
2575
2583
|
//#endregion
|
|
2576
2584
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2577
|
-
var
|
|
2585
|
+
var Pa = V((e = {}) => {
|
|
2578
2586
|
var t;
|
|
2579
2587
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2580
2588
|
return {
|
|
@@ -2586,22 +2594,22 @@ var Ma = V((e = {}) => {
|
|
|
2586
2594
|
}
|
|
2587
2595
|
ge({ ignoreDuration: !0 });
|
|
2588
2596
|
let e = !1;
|
|
2589
|
-
|
|
2597
|
+
ji(() => {
|
|
2590
2598
|
e || (Le(), e = !0);
|
|
2591
2599
|
});
|
|
2592
|
-
let t =
|
|
2600
|
+
let t = oe(), r = t.getUser();
|
|
2593
2601
|
t.addScopeListener((t) => {
|
|
2594
2602
|
let n = t.getUser();
|
|
2595
2603
|
((r == null ? void 0 : r.id) !== (n == null ? void 0 : n.id) || (r == null ? void 0 : r.ip_address) !== (n == null ? void 0 : n.ip_address)) && (r = n, e && Le());
|
|
2596
|
-
}), n === "route" &&
|
|
2604
|
+
}), n === "route" && Gi(({ from: t, to: n }) => {
|
|
2597
2605
|
t !== n && (ge({ ignoreDuration: !0 }), Le(), e = !0);
|
|
2598
2606
|
});
|
|
2599
2607
|
}
|
|
2600
2608
|
};
|
|
2601
|
-
}),
|
|
2602
|
-
name:
|
|
2609
|
+
}), Fa = "CultureContext", Ia = V((() => ({
|
|
2610
|
+
name: Fa,
|
|
2603
2611
|
preprocessEvent(e) {
|
|
2604
|
-
let t =
|
|
2612
|
+
let t = La();
|
|
2605
2613
|
if (t) {
|
|
2606
2614
|
var n;
|
|
2607
2615
|
e.contexts = {
|
|
@@ -2614,15 +2622,15 @@ var Ma = V((e = {}) => {
|
|
|
2614
2622
|
}
|
|
2615
2623
|
},
|
|
2616
2624
|
processSegmentSpan(e) {
|
|
2617
|
-
let t =
|
|
2618
|
-
t &&
|
|
2625
|
+
let t = La();
|
|
2626
|
+
t && Lt(e, {
|
|
2619
2627
|
"culture.locale": t.locale,
|
|
2620
2628
|
"culture.timezone": t.timezone,
|
|
2621
2629
|
"culture.calendar": t.calendar
|
|
2622
2630
|
});
|
|
2623
2631
|
}
|
|
2624
2632
|
})));
|
|
2625
|
-
function
|
|
2633
|
+
function La() {
|
|
2626
2634
|
try {
|
|
2627
2635
|
let e = W.Intl;
|
|
2628
2636
|
if (!e) return;
|
|
@@ -2638,27 +2646,27 @@ function Fa() {
|
|
|
2638
2646
|
}
|
|
2639
2647
|
//#endregion
|
|
2640
2648
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2641
|
-
var
|
|
2649
|
+
var Ra = "GlobalHandlers", za = V(((e = {}) => {
|
|
2642
2650
|
let t = {
|
|
2643
2651
|
onerror: !0,
|
|
2644
2652
|
onunhandledrejection: !0,
|
|
2645
2653
|
...e
|
|
2646
2654
|
};
|
|
2647
2655
|
return {
|
|
2648
|
-
name:
|
|
2656
|
+
name: Ra,
|
|
2649
2657
|
setupOnce() {
|
|
2650
2658
|
Error.stackTraceLimit = 50;
|
|
2651
2659
|
},
|
|
2652
2660
|
setup(e) {
|
|
2653
|
-
t.onerror && (
|
|
2661
|
+
t.onerror && (Ba(e), Ga("onerror")), t.onunhandledrejection && (Va(e), Ga("onunhandledrejection"));
|
|
2654
2662
|
}
|
|
2655
2663
|
};
|
|
2656
2664
|
}));
|
|
2657
|
-
function
|
|
2658
|
-
|
|
2659
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2660
|
-
if (h() !== e ||
|
|
2661
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2665
|
+
function Ba(e) {
|
|
2666
|
+
ct((t) => {
|
|
2667
|
+
let { stackParser: n, attachStacktrace: r } = Ka();
|
|
2668
|
+
if (h() !== e || ai()) return;
|
|
2669
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Wa(bi(n, c || i, void 0, r, !1), a, o, s);
|
|
2662
2670
|
l.level = "error", Be(l, {
|
|
2663
2671
|
originalException: c,
|
|
2664
2672
|
mechanism: {
|
|
@@ -2668,11 +2676,11 @@ function Ra(e) {
|
|
|
2668
2676
|
});
|
|
2669
2677
|
});
|
|
2670
2678
|
}
|
|
2671
|
-
function
|
|
2672
|
-
|
|
2673
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2674
|
-
if (h() !== e ||
|
|
2675
|
-
let i =
|
|
2679
|
+
function Va(e) {
|
|
2680
|
+
dt((t) => {
|
|
2681
|
+
let { stackParser: n, attachStacktrace: r } = Ka();
|
|
2682
|
+
if (h() !== e || ai()) return;
|
|
2683
|
+
let i = Ha(t), a = me(i) ? Ua(i) : bi(n, i, void 0, r, !0);
|
|
2676
2684
|
a.level = "error", Be(a, {
|
|
2677
2685
|
originalException: i,
|
|
2678
2686
|
mechanism: {
|
|
@@ -2682,7 +2690,7 @@ function za(e) {
|
|
|
2682
2690
|
});
|
|
2683
2691
|
});
|
|
2684
2692
|
}
|
|
2685
|
-
function
|
|
2693
|
+
function Ha(e) {
|
|
2686
2694
|
if (me(e)) return e;
|
|
2687
2695
|
try {
|
|
2688
2696
|
if ("reason" in e) return e.reason;
|
|
@@ -2690,47 +2698,47 @@ function Ba(e) {
|
|
|
2690
2698
|
} catch {}
|
|
2691
2699
|
return e;
|
|
2692
2700
|
}
|
|
2693
|
-
function
|
|
2701
|
+
function Ua(e) {
|
|
2694
2702
|
return { exception: { values: [{
|
|
2695
2703
|
type: "UnhandledRejection",
|
|
2696
2704
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2697
2705
|
}] } };
|
|
2698
2706
|
}
|
|
2699
|
-
function
|
|
2707
|
+
function Wa(e, t, n, r) {
|
|
2700
2708
|
let i = e.exception = e.exception || {}, a = i.values = i.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, c = s.frames = s.frames || [];
|
|
2701
2709
|
if (c.length === 0) {
|
|
2702
2710
|
var l;
|
|
2703
2711
|
c.push({
|
|
2704
2712
|
colno: r,
|
|
2705
2713
|
lineno: n,
|
|
2706
|
-
filename: (l =
|
|
2714
|
+
filename: (l = qa(t)) == null ? ni() : l,
|
|
2707
2715
|
function: "?",
|
|
2708
2716
|
in_app: !0
|
|
2709
2717
|
});
|
|
2710
2718
|
}
|
|
2711
2719
|
return e;
|
|
2712
2720
|
}
|
|
2713
|
-
function
|
|
2721
|
+
function Ga(e) {
|
|
2714
2722
|
Z && A.log(`Global Handler attached: ${e}`);
|
|
2715
2723
|
}
|
|
2716
|
-
function
|
|
2724
|
+
function Ka() {
|
|
2717
2725
|
let e = h();
|
|
2718
2726
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2719
2727
|
stackParser: () => [],
|
|
2720
2728
|
attachStacktrace: !1
|
|
2721
2729
|
};
|
|
2722
2730
|
}
|
|
2723
|
-
function
|
|
2724
|
-
if (!(!N(e) || e.length === 0)) return e.startsWith("data:") ? `<${
|
|
2731
|
+
function qa(e) {
|
|
2732
|
+
if (!(!N(e) || e.length === 0)) return e.startsWith("data:") ? `<${nr(e, !1)}>` : e;
|
|
2725
2733
|
}
|
|
2726
2734
|
//#endregion
|
|
2727
2735
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2728
|
-
var
|
|
2736
|
+
var Ja = V(() => ({
|
|
2729
2737
|
name: "HttpContext",
|
|
2730
2738
|
preprocessEvent(e) {
|
|
2731
2739
|
var t;
|
|
2732
2740
|
if (!W.navigator && !W.location && !W.document) return;
|
|
2733
|
-
let n =
|
|
2741
|
+
let n = si(), r = {
|
|
2734
2742
|
...n.headers,
|
|
2735
2743
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2736
2744
|
};
|
|
@@ -2742,104 +2750,103 @@ var Ka = V(() => ({
|
|
|
2742
2750
|
},
|
|
2743
2751
|
processSegmentSpan(e) {
|
|
2744
2752
|
var t;
|
|
2745
|
-
let n = (t = e.attributes) == null ? void 0 : t[
|
|
2753
|
+
let n = (t = e.attributes) == null ? void 0 : t[ae];
|
|
2746
2754
|
if (!W.navigator && !W.location && !W.document) return;
|
|
2747
|
-
let r =
|
|
2748
|
-
|
|
2749
|
-
[
|
|
2755
|
+
let r = si();
|
|
2756
|
+
Lt(e, {
|
|
2757
|
+
[It]: n === "http.client" ? void 0 : r.url,
|
|
2750
2758
|
"http.request.header.user_agent": r.headers["User-Agent"],
|
|
2751
2759
|
"http.request.header.referer": r.headers.Referer
|
|
2752
2760
|
});
|
|
2753
2761
|
}
|
|
2754
|
-
})),
|
|
2755
|
-
let t = e.limit ||
|
|
2762
|
+
})), Ya = "cause", Xa = 5, Za = "LinkedErrors", Qa = V(((e = {}) => {
|
|
2763
|
+
let t = e.limit || Xa, n = e.key || Ya;
|
|
2756
2764
|
return {
|
|
2757
|
-
name:
|
|
2765
|
+
name: Za,
|
|
2758
2766
|
preprocessEvent(e, r, i) {
|
|
2759
|
-
|
|
2767
|
+
Sr(ci, i.getOptions().stackParser, n, t, e, r);
|
|
2760
2768
|
}
|
|
2761
2769
|
};
|
|
2762
|
-
})),
|
|
2763
|
-
function
|
|
2770
|
+
})), $a = /^HTML(\w*)Element$/;
|
|
2771
|
+
function eo(e) {
|
|
2764
2772
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2765
2773
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2766
|
-
if (
|
|
2767
|
-
let t =
|
|
2768
|
-
if (
|
|
2774
|
+
if (ea(e)) {
|
|
2775
|
+
let t = to(e);
|
|
2776
|
+
if ($a.test(t)) return `[HTMLElement: ${Ni(e)}]`;
|
|
2769
2777
|
}
|
|
2770
2778
|
}
|
|
2771
|
-
function
|
|
2779
|
+
function to(e) {
|
|
2772
2780
|
let t = Object.getPrototypeOf(e);
|
|
2773
2781
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2774
2782
|
}
|
|
2775
2783
|
//#endregion
|
|
2776
2784
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2777
|
-
function
|
|
2778
|
-
return
|
|
2785
|
+
function no() {
|
|
2786
|
+
return ro() ? (Z && Ae(() => {
|
|
2779
2787
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2780
2788
|
}), !0) : !1;
|
|
2781
2789
|
}
|
|
2782
|
-
function
|
|
2790
|
+
function ro() {
|
|
2783
2791
|
var e;
|
|
2784
2792
|
if (W.window === void 0) return !1;
|
|
2785
2793
|
let t = W;
|
|
2786
2794
|
if (t.nw) return !1;
|
|
2787
2795
|
let n = t.chrome || t.browser;
|
|
2788
2796
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2789
|
-
let r =
|
|
2797
|
+
let r = ni();
|
|
2790
2798
|
return !(W === W.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2791
2799
|
}
|
|
2792
2800
|
//#endregion
|
|
2793
2801
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2794
|
-
function
|
|
2802
|
+
function io(e) {
|
|
2795
2803
|
return [
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2804
|
+
fr(),
|
|
2805
|
+
cr(),
|
|
2806
|
+
Ur(),
|
|
2807
|
+
Da(),
|
|
2808
|
+
_a(),
|
|
2809
|
+
za(),
|
|
2810
|
+
Qa(),
|
|
2811
|
+
Fr(),
|
|
2812
|
+
Ja(),
|
|
2813
|
+
Ia(),
|
|
2814
|
+
Pa()
|
|
2807
2815
|
];
|
|
2808
2816
|
}
|
|
2809
|
-
function
|
|
2810
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2817
|
+
function ao(e = {}) {
|
|
2818
|
+
let t = !e.skipBrowserExtensionCheck && no(), n = e.defaultIntegrations == null ? io() : e.defaultIntegrations, r = {
|
|
2811
2819
|
...e,
|
|
2812
2820
|
enabled: !t && e.enabled,
|
|
2813
|
-
stackParser: xe(e.stackParser ||
|
|
2814
|
-
integrations:
|
|
2821
|
+
stackParser: xe(e.stackParser || pa),
|
|
2822
|
+
integrations: Kt({
|
|
2815
2823
|
integrations: e.integrations,
|
|
2816
2824
|
defaultIntegrations: n
|
|
2817
2825
|
}),
|
|
2818
|
-
transport: e.transport ||
|
|
2826
|
+
transport: e.transport || na
|
|
2819
2827
|
};
|
|
2820
|
-
return b(
|
|
2828
|
+
return b(eo), Xn(Ti, r);
|
|
2821
2829
|
}
|
|
2822
2830
|
//#endregion
|
|
2823
2831
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2824
|
-
|
|
2825
|
-
function ao(e) {
|
|
2832
|
+
function oo(e) {
|
|
2826
2833
|
return Te(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2827
2834
|
}
|
|
2828
2835
|
//#endregion
|
|
2829
2836
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/sdk.js
|
|
2830
|
-
function
|
|
2837
|
+
function so(e) {
|
|
2831
2838
|
let t = { ...e };
|
|
2832
|
-
|
|
2833
|
-
let n =
|
|
2834
|
-
return b(
|
|
2839
|
+
ir(t, "react"), pe("react", { version: it.version });
|
|
2840
|
+
let n = ao(t);
|
|
2841
|
+
return b(co), n;
|
|
2835
2842
|
}
|
|
2836
|
-
function
|
|
2837
|
-
return
|
|
2843
|
+
function co(e) {
|
|
2844
|
+
return oo(e) ? "[SyntheticEvent]" : eo(e);
|
|
2838
2845
|
}
|
|
2839
2846
|
//#endregion
|
|
2840
2847
|
//#region src/tools/sentry.ts
|
|
2841
|
-
var
|
|
2842
|
-
function
|
|
2848
|
+
var lo = "production", uo = "3.22.0";
|
|
2849
|
+
function fo() {
|
|
2843
2850
|
let e = "sentry_offline_queue";
|
|
2844
2851
|
return {
|
|
2845
2852
|
async push(t) {
|
|
@@ -2886,16 +2893,16 @@ function uo() {
|
|
|
2886
2893
|
}
|
|
2887
2894
|
};
|
|
2888
2895
|
}
|
|
2889
|
-
function
|
|
2890
|
-
let t =
|
|
2891
|
-
|
|
2896
|
+
function po(e) {
|
|
2897
|
+
let t = er(na);
|
|
2898
|
+
so({
|
|
2892
2899
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2893
|
-
release:
|
|
2894
|
-
environment:
|
|
2900
|
+
release: uo,
|
|
2901
|
+
environment: lo,
|
|
2895
2902
|
sendDefaultPii: !0,
|
|
2896
2903
|
transport: (e) => t({
|
|
2897
2904
|
...e,
|
|
2898
|
-
createStore: () =>
|
|
2905
|
+
createStore: () => fo(),
|
|
2899
2906
|
flushAtStartup: !0,
|
|
2900
2907
|
shouldStore: async (e, t) => {
|
|
2901
2908
|
var n, r, i;
|
|
@@ -2919,9 +2926,9 @@ function fo(e) {
|
|
|
2919
2926
|
beforeSend(e) {
|
|
2920
2927
|
return e;
|
|
2921
2928
|
}
|
|
2922
|
-
}), e.eventId && Ne("eventId", e.eventId), Ne("isWebview", e.isWebview), Ne("source", "main"), ze({ ip_address: "{{auto}}" }),
|
|
2929
|
+
}), e.eventId && Ne("eventId", e.eventId), Ne("isWebview", e.isWebview), Ne("source", "main"), ze({ ip_address: "{{auto}}" }), mo();
|
|
2923
2930
|
}
|
|
2924
|
-
function
|
|
2931
|
+
function mo() {
|
|
2925
2932
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2926
2933
|
je(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2927
2934
|
});
|
|
@@ -2939,15 +2946,15 @@ function po() {
|
|
|
2939
2946
|
}
|
|
2940
2947
|
//#endregion
|
|
2941
2948
|
//#region src/utils/heatmap-enabled.ts
|
|
2942
|
-
function
|
|
2949
|
+
function ho(e) {
|
|
2943
2950
|
return Object.keys(e).length > 0 && e.enabled !== !1;
|
|
2944
2951
|
}
|
|
2945
2952
|
//#endregion
|
|
2946
2953
|
//#region src/utils/is-localhost.ts
|
|
2947
|
-
var { hostname: Q, protocol:
|
|
2954
|
+
var { hostname: Q, protocol: go } = window.location, _o = Q === "localhost" || Q === "127.0.0.1" || Q === "::1" || Q.startsWith("192.168.") || Q.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(Q) || Q.endsWith(".local") || go === "file:" || Q === "";
|
|
2948
2955
|
//#endregion
|
|
2949
2956
|
//#region src/utils/loadCustomCss.ts
|
|
2950
|
-
async function
|
|
2957
|
+
async function vo(e, t) {
|
|
2951
2958
|
if (e != null && e.customCss) {
|
|
2952
2959
|
let r = document.createElement("style");
|
|
2953
2960
|
if (r.textContent = e.customCss, document.head.append(r), typeof ShadowRoot < "u" && t instanceof ShadowRoot) {
|
|
@@ -2959,7 +2966,7 @@ async function _o(e, t) {
|
|
|
2959
2966
|
}
|
|
2960
2967
|
//#endregion
|
|
2961
2968
|
//#region src/utils/loadIcons.ts
|
|
2962
|
-
async function
|
|
2969
|
+
async function yo(e) {
|
|
2963
2970
|
try {
|
|
2964
2971
|
(await Promise.allSettled(Object.entries({
|
|
2965
2972
|
departure: "icons/departure.svg",
|
|
@@ -2978,13 +2985,13 @@ async function vo(e) {
|
|
|
2978
2985
|
}
|
|
2979
2986
|
//#endregion
|
|
2980
2987
|
//#region src/utils/use-shadow.ts
|
|
2981
|
-
var
|
|
2988
|
+
var bo, xo = typeof document < "u" && !!((bo = document.body) != null && bo.attachShadow) && s && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0;
|
|
2982
2989
|
//#endregion
|
|
2983
2990
|
//#region src/floorplan.loader.ts
|
|
2984
2991
|
function $() {
|
|
2985
2992
|
throw Error("FloorPlan not ready");
|
|
2986
2993
|
}
|
|
2987
|
-
var
|
|
2994
|
+
var So = class {
|
|
2988
2995
|
get ready() {
|
|
2989
2996
|
return this._ready;
|
|
2990
2997
|
}
|
|
@@ -2994,6 +3001,9 @@ var xo = class {
|
|
|
2994
3001
|
get allowConsent() {
|
|
2995
3002
|
return this.consent === "ask" ? void 0 : this.consent === "granted";
|
|
2996
3003
|
}
|
|
3004
|
+
getInternalSettings() {
|
|
3005
|
+
return at(a());
|
|
3006
|
+
}
|
|
2997
3007
|
selectBooth(e) {
|
|
2998
3008
|
$();
|
|
2999
3009
|
}
|
|
@@ -3157,58 +3167,61 @@ var xo = class {
|
|
|
3157
3167
|
$();
|
|
3158
3168
|
}
|
|
3159
3169
|
constructor(e, n) {
|
|
3160
|
-
this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.consent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0;
|
|
3170
|
+
this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.consent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = () => void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0;
|
|
3161
3171
|
let s = a();
|
|
3162
|
-
|
|
3172
|
+
this.noOverlay = !!s.noOverlay, this.offHistory = !!s.offHistory, this.ignoreQuery = s.ignoreQuery, this.consent = s.consent, this.consent === "ask" && (Xe ? this.consent = "granted" : _o && !l && (this.consent = "denied")), 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 = !!s.viewerMode, this.disableRuntimeAlerts = s.disableRuntimeAlerts, this.maplibre = s.maplibre, window.__efpMaplibre = s.maplibre, this._ready = new Promise((e, t) => {
|
|
3163
3173
|
this.resolveReady = e;
|
|
3164
|
-
}), this.element = n
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3174
|
+
}), this.element = n;
|
|
3175
|
+
let c = n;
|
|
3176
|
+
if (c.__expofp) throw Error("Element already in use");
|
|
3177
|
+
c.__expofp = this;
|
|
3178
|
+
let d = s.expo;
|
|
3179
|
+
po({
|
|
3180
|
+
eventId: d || "",
|
|
3169
3181
|
isWebview: Xe
|
|
3170
|
-
}), this.eventId =
|
|
3171
|
-
let
|
|
3172
|
-
|
|
3173
|
-
let
|
|
3174
|
-
if (
|
|
3175
|
-
|
|
3176
|
-
let e =
|
|
3182
|
+
}), this.eventId = d, window.__efpEvent = d, window.__efpElement = n;
|
|
3183
|
+
let f = document.createElement("div");
|
|
3184
|
+
f.style.height = "100%", f.style.width = "100%", n.appendChild(f);
|
|
3185
|
+
let p;
|
|
3186
|
+
if (xo) {
|
|
3187
|
+
p = f.attachShadow({ mode: "open" });
|
|
3188
|
+
let e = p, t = document;
|
|
3177
3189
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3178
|
-
} else
|
|
3179
|
-
let
|
|
3180
|
-
|
|
3181
|
-
let
|
|
3190
|
+
} else p = f;
|
|
3191
|
+
let m = document.createElement("div");
|
|
3192
|
+
m.style.height = "100%", m.style.width = "100%", p.appendChild(m), xo && Object.defineProperty(m, "ownerDocument", { value: p }), window.__efpShadowDOMStyleParent = xo ? p : void 0, this.renderTarget = m, u.log("Instantiating ExpoFP floorplan", n, d);
|
|
3193
|
+
let h = 0;
|
|
3182
3194
|
this.efpStyleLoadHandler = function(e) {
|
|
3183
3195
|
let t = window.__efpStyleElements;
|
|
3184
|
-
for (;
|
|
3185
|
-
let e = t[
|
|
3186
|
-
|
|
3196
|
+
for (; h < t.length;) {
|
|
3197
|
+
let e = t[h];
|
|
3198
|
+
p.appendChild(e), h++;
|
|
3187
3199
|
}
|
|
3188
3200
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
3189
|
-
let
|
|
3201
|
+
let g = this;
|
|
3190
3202
|
(async function() {
|
|
3191
3203
|
var e, s, c;
|
|
3192
3204
|
let l = a();
|
|
3193
3205
|
await o();
|
|
3194
|
-
let
|
|
3206
|
+
let d = new URLSearchParams(window.location.search), m, h;
|
|
3195
3207
|
if (l != null && l.trackerUrl) try {
|
|
3196
|
-
m = new URL(l.trackerUrl),
|
|
3208
|
+
m = new URL(l.trackerUrl), h = m.searchParams.get("expoId");
|
|
3197
3209
|
} catch (e) {
|
|
3198
3210
|
console.error(e);
|
|
3199
3211
|
}
|
|
3200
3212
|
let _ = async (e) => {
|
|
3201
|
-
|
|
3202
|
-
|
|
3213
|
+
var t;
|
|
3214
|
+
if (!m || !h) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
3215
|
+
let n = new URL(e.dataUrl, m.origin), r = await fetch(n.toString(), {
|
|
3203
3216
|
method: "POST",
|
|
3204
3217
|
headers: { "Content-Type": "application/json" },
|
|
3205
3218
|
body: JSON.stringify({
|
|
3206
|
-
expoId:
|
|
3207
|
-
token: decodeURIComponent(
|
|
3219
|
+
expoId: h,
|
|
3220
|
+
token: decodeURIComponent((t = d.get("t")) == null ? "" : t)
|
|
3208
3221
|
})
|
|
3209
|
-
}),
|
|
3210
|
-
|
|
3211
|
-
}, v = (e = l == null ? void 0 : l.heatmap) == null ? {} : e, y =
|
|
3222
|
+
}), i = [];
|
|
3223
|
+
r.ok && (i = (await r.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: i };
|
|
3224
|
+
}, v = (e = l == null ? void 0 : l.heatmap) == null ? {} : e, y = ho(v) || d.get("heatmap") === "true", b = v.variant === "yah" || d.get("type") === "yah", x = v.kiosk === !0 || d.get("subtype") === "kiosk";
|
|
3212
3225
|
if (y) try {
|
|
3213
3226
|
if (b) x ? await _({
|
|
3214
3227
|
dataUrl: "/api/kiosks/list/viewer",
|
|
@@ -3225,10 +3238,12 @@ var xo = class {
|
|
|
3225
3238
|
})
|
|
3226
3239
|
});
|
|
3227
3240
|
else {
|
|
3241
|
+
var S, C;
|
|
3242
|
+
if (!m || !h) throw Error("trackerUrl or expoId is missing");
|
|
3228
3243
|
let e = new URL("/api/fp-stats/get", m.origin);
|
|
3229
|
-
e.searchParams.set("expoId",
|
|
3244
|
+
e.searchParams.set("expoId", h), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent((S = d.get("t")) == null ? "" : S));
|
|
3230
3245
|
let t = new URL("api/fp-stats/get", m.origin);
|
|
3231
|
-
t.searchParams.set("expoId",
|
|
3246
|
+
t.searchParams.set("expoId", h), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent((C = d.get("t")) == null ? "" : C));
|
|
3232
3247
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
3233
3248
|
window.__heatmapData = {
|
|
3234
3249
|
booths: i,
|
|
@@ -3238,27 +3253,27 @@ var xo = class {
|
|
|
3238
3253
|
} catch (e) {
|
|
3239
3254
|
console.error("Heatmap: Initialization error", e);
|
|
3240
3255
|
}
|
|
3241
|
-
let
|
|
3242
|
-
r(t + "vendor/sanitize-css/sanitize.css",
|
|
3243
|
-
r(t + "vendor/perfect-scrollbar/css/perfect-scrollbar.css",
|
|
3256
|
+
let w = [
|
|
3257
|
+
r(t + "vendor/sanitize-css/sanitize.css", p),
|
|
3258
|
+
r(t + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", p),
|
|
3244
3259
|
i("Oswald", t + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
3245
3260
|
i("Oswald", t + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
3246
3261
|
i("Inter", t + "fonts/inter-400.woff2", { weight: 400 }),
|
|
3247
3262
|
i("Inter", t + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3248
3263
|
i("Inter", t + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3249
3264
|
i("efp-symbols", t + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3250
|
-
|
|
3251
|
-
|
|
3265
|
+
vo(l, p),
|
|
3266
|
+
yo(g.icons)
|
|
3252
3267
|
];
|
|
3253
|
-
await Promise.all(
|
|
3254
|
-
let { default:
|
|
3268
|
+
await Promise.all(w), g.enableRotation = (s = l == null ? void 0 : l.enableRotation) != null && s, g.alwaysShowSidebar = (c = l == null ? void 0 : l.alwaysShowSidebar) != null && c, u.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3269
|
+
let { default: T } = await import(
|
|
3255
3270
|
/* webpackChunkName: "floorplan" */
|
|
3256
|
-
"./floorplan.ready-
|
|
3271
|
+
"./floorplan.ready-mvJLjOT8.js"
|
|
3257
3272
|
);
|
|
3258
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); n.firstChild && n.firstChild !==
|
|
3259
|
-
Object.setPrototypeOf(
|
|
3273
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); n.firstChild && n.firstChild !== f;) n.removeChild(n.firstChild);
|
|
3274
|
+
Object.setPrototypeOf(g, T.prototype).init();
|
|
3260
3275
|
})();
|
|
3261
3276
|
}
|
|
3262
3277
|
};
|
|
3263
3278
|
//#endregion
|
|
3264
|
-
export {
|
|
3279
|
+
export { Ut as a, W as i, ho as n, et as o, Z as r, Qe as s, So as t };
|