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