@expofp/floorplan 3.7.3 → 3.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/Button-C2KZSXb2.js +204 -0
- package/dist/browser/{CookieConsent-B9r34uCC.js → CookieConsent-Cq4qcueB.js} +8 -8
- package/dist/browser/{Debug-DunksSNj.js → Debug-D1JNigN7.js} +10 -9
- package/dist/browser/{Demo-891f5t9l.js → Demo-XVDEqvrA.js} +12 -11
- package/dist/browser/{Free-DVER8MHL.js → Free-C3wcDnvz.js} +13 -12
- package/dist/browser/{Gallery-CyRq9QY2.js → Gallery-CGxt4BEQ.js} +10 -10
- package/dist/browser/{GpsLoader-9_3XrM1S.js → GpsLoader-BL9r9aBb.js} +27 -26
- package/dist/browser/{KioskStore-BOSyfMyO.js → KioskStore-CEjAu1fS.js} +71 -72
- package/dist/browser/{MaplibreAdapter-C9a80Y5u.js → MaplibreAdapter-CFCATr0R.js} +312 -311
- package/dist/browser/{Modal-DcLxiT8t.js → Modal-DwvgaUJ4.js} +10 -10
- package/dist/browser/{PermissionNotice-DWddxvUt.js → PermissionNotice-Bfmg473m.js} +7 -7
- package/dist/browser/{SetKioskMode-CgzKiK3y.js → SetKioskMode-DgZnzdyw.js} +18 -17
- package/dist/browser/ShowKiosk-Ddu65pot.js +27 -0
- package/dist/browser/{TouchHand-B6PlZY3K.js → TouchHand-CW3feM7g.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-B46Uw94g.js → ViewerMenuPanel-DTLGFJdO.js} +18 -17
- package/dist/browser/{add-debug-secret-listener-DprGe6C-.js → add-debug-secret-listener-DLq_05Ya.js} +1 -1
- package/dist/browser/{boolean-editor-CdhFegqG.js → boolean-editor-CPZmUe0k.js} +9 -9
- package/dist/browser/{bootIntercom-C2w8EmqK.js → bootIntercom-OQUPpNv5.js} +3 -3
- package/dist/browser/{browser-D4L-gjqm.js → browser-CuHRVR45.js} +2 -2
- package/dist/browser/bundle.json +61 -58
- package/dist/browser/{classnames-CDxP0X2-.js → classnames-Bua-vCkl.js} +2 -2
- package/dist/browser/{client-BUGY3NJ-.js → client-BtBjpMA2.js} +4 -4
- package/dist/browser/{components-C9eYt8L8.js → components-Bk-VYz6V.js} +1585 -1584
- package/dist/browser/{createWayfinding-B9PG8HXm.js → createWayfinding-BcyMyZfV.js} +323 -323
- package/dist/browser/{debug-overlay-DHL2Ipq8.js → debug-overlay-Bee-ID_e.js} +10 -10
- package/dist/browser/{debug-ui-BE-7wgWb.js → debug-ui-C6Mu7jmE.js} +6 -6
- package/dist/browser/{dist-BY2VkOah.js → dist-C3qJPKIL.js} +5 -5
- package/dist/browser/{dist-DPH_nXx1.js → dist-C6Bwrbur.js} +3 -3
- package/dist/browser/{dist-C6qlzHIi.js → dist-Ypj0lz96.js} +6 -6
- package/dist/browser/{efp-debug-init-YS7dfyN-.js → efp-debug-init-BmXxwF3h.js} +2 -2
- package/dist/browser/{enum-editor-D_zEjkiJ.js → enum-editor-BtytGwbn.js} +11 -11
- package/dist/browser/{event-not-found-FYtE_1nu.js → event-not-found-DtnrzyTS.js} +1 -1
- package/dist/browser/{exports-Cjz1yZKk.js → exports-DwNV9Fce.js} +1 -1
- package/dist/browser/{favicon-DrjHpzP4.js → favicon-Bg82OSpr.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Cid9TH8f.js → fetch-retry.umd-C5JqTz5u.js} +2 -2
- package/dist/browser/{flex-DeqbUH21.js → flex-BoTx9ho3.js} +5 -5
- package/dist/browser/{floorplan.loader-Bj-l8uDr.js → floorplan.loader-CJNw0Cge.js} +670 -707
- package/dist/browser/{floorplan.ready-ISdK-pOq.js → floorplan.ready-DOhcGKtR.js} +283 -244
- package/dist/browser/{fuse-DuhtQS_C.js → fuse-DJzKEeDA.js} +2 -2
- package/dist/browser/{i18n-topUIylF.js → i18n-Cir_gINd.js} +3 -3
- package/dist/browser/index.js +11 -11
- package/dist/browser/{storage-DQBS2cde.js → is-debug-0pBDODSU.js} +7 -24
- package/dist/browser/{jsx-runtime-BqvudT0U.js → jsx-runtime-DCZPOiVu.js} +2 -2
- package/dist/browser/{lib-Cs6Jo7Wv.js → lib-DQt-k78K.js} +4 -4
- package/dist/browser/{main-BEqsYQfj.js → main-CIgf7ksx.js} +1 -1
- package/dist/browser/{mobx-C5AHTMbx.js → mobx-pMkzJ1bN.js} +4 -4
- package/dist/browser/{particles.min-COvnIi42.js → particles.min-Q2r1icQ9.js} +2 -2
- package/dist/browser/{prop-types-H1ekLSgm.js → prop-types-GavRCOPR.js} +2 -2
- package/dist/browser/{react-CDj0nSIt.js → react-BlsmLtRd.js} +2 -2
- package/dist/browser/{react-dom-F1fx5UfT.js → react-dom-DgLQ5tL0.js} +3 -3
- package/dist/browser/{reset-all-settings-Dj1Hc9SL.js → reset-all-settings-CxUO3y2o.js} +7 -7
- package/dist/browser/{rolldown-runtime-CJ4NSGHF.js → rolldown-runtime-C9CB_XOZ.js} +1 -1
- package/dist/browser/{settings-bv5D0Jdx.js → settings-O5svYOVy.js} +2 -2
- package/dist/browser/{settings-item-BBkCXqTe.js → settings-item-354rDOkM.js} +6 -6
- package/dist/browser/{store-CG3Lvb_Y.js → store-CVf_IY9i.js} +6166 -6328
- package/dist/browser/{string-editor-DWJwFIbn.js → string-editor-C1jvvzZY.js} +7 -7
- package/dist/browser/{theme-Bn3nZG-N.js → theme-BewQdo5w.js} +8 -8
- package/dist/browser/{ui-B_JKKY6c.js → ui-DeHsnIKK.js} +8 -8
- package/dist/browser/{useRenderTarget-cPhKH67H.js → useRenderTarget-Cpug5PXZ.js} +5 -5
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/store/index.js +1 -1
- package/package.json +4 -4
- package/dist/browser/ShowKiosk-DRR5jjXM.js +0 -26
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.5" };
|
|
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] = "b8d043bc-d40b-47cd-956d-c8bebd0a5a4a", e._sentryDebugIdIdentifier = "sentry-dbid-b8d043bc-d40b-47cd-956d-c8bebd0a5a4a");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import {
|
|
12
|
-
import { D as
|
|
13
|
-
import { $ as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-C9CB_XOZ.js";
|
|
10
|
+
import { t } from "./react-BlsmLtRd.js";
|
|
11
|
+
import { _ as n, c as r, g as i, n as a, r as o, t as s, y as c } from "./is-debug-0pBDODSU.js";
|
|
12
|
+
import { D as l, E as u, O as d, T as ee, c as f, ct as p, i as te, j as m } from "./i18n-Cir_gINd.js";
|
|
13
|
+
import { $ as h, A as g, B as _, C as v, D as ne, E as re, F as y, G as b, H as x, I as S, J as ie, K as C, L as ae, M as oe, N as se, O as ce, P as w, Q as le, R as T, S as E, T as ue, U as de, V as fe, W as D, X as pe, Y as me, Z as he, _ as O, _t as ge, a as _e, at as k, b as ve, c as ye, ct as be, d as xe, dt as Se, et as Ce, f as we, ft as Te, g as Ee, gt as De, h as Oe, ht as ke, it as Ae, j as A, k as je, l as Me, lt as j, m as Ne, mt as Pe, n as Fe, nt as M, o as Ie, ot as Le, p as Re, pt as N, q as ze, r as Be, rt as P, s as Ve, st as He, t as Ue, tt as We, u as Ge, ut as Ke, v as qe, vt as F, w as Je, x as Ye, y as Xe, yt as I, z as Ze } from "./exports-DwNV9Fce.js";
|
|
14
14
|
//#region src/tools/report-error.ts
|
|
15
15
|
var Qe;
|
|
16
16
|
function $e(e) {
|
|
@@ -30,14 +30,14 @@ function $e(e) {
|
|
|
30
30
|
lineno: e.lineno,
|
|
31
31
|
colno: e.colno,
|
|
32
32
|
stack: (t = e.error) == null ? void 0 : t.stack,
|
|
33
|
-
log:
|
|
33
|
+
log: p.messages.join("\n"),
|
|
34
34
|
userAgent: navigator.userAgent,
|
|
35
35
|
language: n,
|
|
36
36
|
group: "FP",
|
|
37
37
|
url: document.location,
|
|
38
38
|
subject: "FP JS error: " + document.location.host
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
p.info("Sending error report", r), await Promise.all([et(r), tt(r)]);
|
|
41
41
|
}, 2e3));
|
|
42
42
|
}
|
|
43
43
|
async function et(e) {
|
|
@@ -46,7 +46,7 @@ async function et(e) {
|
|
|
46
46
|
headers: { "Content-Type": "application/json" },
|
|
47
47
|
body: JSON.stringify(e)
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
p.log("Reporter response: ", await t.text());
|
|
50
50
|
}
|
|
51
51
|
async function tt(e) {
|
|
52
52
|
let t = nt(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
@@ -54,7 +54,7 @@ async function tt(e) {
|
|
|
54
54
|
headers: { "Content-Type": "application/json" },
|
|
55
55
|
body: JSON.stringify(t)
|
|
56
56
|
});
|
|
57
|
-
|
|
57
|
+
p.log("Slack reporter response: ", await n.text());
|
|
58
58
|
}
|
|
59
59
|
function nt(e) {
|
|
60
60
|
let t = JSON.parse(JSON.stringify(e));
|
|
@@ -86,7 +86,7 @@ var rt = /* @__PURE__ */ e(t());
|
|
|
86
86
|
async function it(e, t) {
|
|
87
87
|
if (e != null && e.customCss) {
|
|
88
88
|
let n = document.createElement("style");
|
|
89
|
-
n.textContent = e.customCss, t.append(n), await
|
|
89
|
+
n.textContent = e.customCss, t.append(n), await u(e.customCss);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
@@ -103,7 +103,7 @@ async function at(e) {
|
|
|
103
103
|
transition_down: "icons/transition_down.svg",
|
|
104
104
|
kiosk: "icons/kiosk.svg",
|
|
105
105
|
yah: "icons/yah.svg"
|
|
106
|
-
}).map(([e, t]) =>
|
|
106
|
+
}).map(([e, t]) => a(m + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
107
107
|
} catch (e) {
|
|
108
108
|
console.warn(e);
|
|
109
109
|
}
|
|
@@ -118,34 +118,34 @@ function ot(e, t) {
|
|
|
118
118
|
}
|
|
119
119
|
//#endregion
|
|
120
120
|
//#region src/utils/use-shadow.ts
|
|
121
|
-
var st, ct = typeof document < "u" && !!((st = document.body) != null && st.attachShadow) &&
|
|
122
|
-
function
|
|
123
|
-
return
|
|
124
|
-
let n =
|
|
121
|
+
var st, ct = typeof document < "u" && !!((st = document.body) != null && st.attachShadow) && f && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: L, protocol: lt } = window.location, ut = L === "localhost" || L === "127.0.0.1" || L === "::1" || L.startsWith("192.168.") || L.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(L) || L.endsWith(".local") || lt === "file:" || L === "", R = {}, dt = {};
|
|
122
|
+
function z(e, t) {
|
|
123
|
+
return R[e] = R[e] || [], R[e].push(t), () => {
|
|
124
|
+
let n = R[e];
|
|
125
125
|
if (n) {
|
|
126
126
|
let e = n.indexOf(t);
|
|
127
127
|
e !== -1 && n.splice(e, 1);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function B(e, t) {
|
|
132
132
|
if (!dt[e]) {
|
|
133
133
|
dt[e] = !0;
|
|
134
134
|
try {
|
|
135
135
|
t();
|
|
136
136
|
} catch (t) {
|
|
137
|
-
|
|
137
|
+
I && N.error(`Error while instrumenting ${e}`, t);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
let n = e &&
|
|
141
|
+
function V(e, t) {
|
|
142
|
+
let n = e && R[e];
|
|
143
143
|
if (n) for (let r of n) try {
|
|
144
144
|
r(t);
|
|
145
145
|
} catch (t) {
|
|
146
|
-
|
|
146
|
+
I && N.error(`Error while triggering instrumentation handler.
|
|
147
147
|
Type: ${e}
|
|
148
|
-
Name: ${
|
|
148
|
+
Name: ${j(r)}
|
|
149
149
|
Error:`, t);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
@@ -154,30 +154,30 @@ Error:`, t);
|
|
|
154
154
|
var ft = null;
|
|
155
155
|
function pt(e) {
|
|
156
156
|
let t = "error";
|
|
157
|
-
|
|
157
|
+
z(t, e), B(t, mt);
|
|
158
158
|
}
|
|
159
159
|
function mt() {
|
|
160
|
-
ft =
|
|
161
|
-
return
|
|
160
|
+
ft = F.onerror, F.onerror = function(e, t, n, r, i) {
|
|
161
|
+
return V("error", {
|
|
162
162
|
column: r,
|
|
163
163
|
error: i,
|
|
164
164
|
line: n,
|
|
165
165
|
msg: e,
|
|
166
166
|
url: t
|
|
167
167
|
}), ft ? ft.apply(this, arguments) : !1;
|
|
168
|
-
},
|
|
168
|
+
}, F.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
169
169
|
}
|
|
170
170
|
//#endregion
|
|
171
171
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
172
172
|
var ht = null;
|
|
173
173
|
function gt(e) {
|
|
174
174
|
let t = "unhandledrejection";
|
|
175
|
-
|
|
175
|
+
z(t, e), B(t, _t);
|
|
176
176
|
}
|
|
177
177
|
function _t() {
|
|
178
|
-
ht =
|
|
179
|
-
return
|
|
180
|
-
},
|
|
178
|
+
ht = F.onunhandledrejection, F.onunhandledrejection = function(e) {
|
|
179
|
+
return V("unhandledrejection", e), ht ? ht.apply(this, arguments) : !0;
|
|
180
|
+
}, F.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
@@ -189,27 +189,27 @@ function vt(e) {
|
|
|
189
189
|
//#endregion
|
|
190
190
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
191
191
|
function yt(e) {
|
|
192
|
-
|
|
192
|
+
N.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
193
193
|
}
|
|
194
194
|
function bt(e, t) {
|
|
195
195
|
if (!(t != null && t.length)) return !1;
|
|
196
196
|
for (let n of t) {
|
|
197
197
|
if (Ct(n)) {
|
|
198
|
-
if (e.description &&
|
|
198
|
+
if (e.description && S(e.description, n)) return I && yt(e), !0;
|
|
199
199
|
continue;
|
|
200
200
|
}
|
|
201
201
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
202
202
|
if (!n.name && !n.op && !t) continue;
|
|
203
|
-
let r = n.name ? e.description &&
|
|
203
|
+
let r = n.name ? e.description && S(e.description, n.name) : !0, i = n.op ? e.op && S(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
204
204
|
var r;
|
|
205
205
|
return xt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
206
206
|
}) : !0;
|
|
207
|
-
if (r && i && a) return
|
|
207
|
+
if (r && i && a) return I && yt(e), !0;
|
|
208
208
|
}
|
|
209
209
|
return !1;
|
|
210
210
|
}
|
|
211
211
|
function xt(e, t) {
|
|
212
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
212
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? S(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
213
213
|
}
|
|
214
214
|
function St(e, t) {
|
|
215
215
|
let n = t.parent_span_id, r = t.span_id;
|
|
@@ -225,7 +225,7 @@ function wt(e) {
|
|
|
225
225
|
}
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
228
|
-
function
|
|
228
|
+
function H(e, t = []) {
|
|
229
229
|
return [e, t];
|
|
230
230
|
}
|
|
231
231
|
function Tt(e, t) {
|
|
@@ -244,7 +244,7 @@ function Dt(e, t) {
|
|
|
244
244
|
return Et(e, (e, n) => t.includes(n));
|
|
245
245
|
}
|
|
246
246
|
function Ot(e) {
|
|
247
|
-
let t =
|
|
247
|
+
let t = De(F);
|
|
248
248
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
249
249
|
}
|
|
250
250
|
function kt(e) {
|
|
@@ -316,9 +316,9 @@ function It(e, t, n, r) {
|
|
|
316
316
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
317
317
|
return {
|
|
318
318
|
event_id: e.event_id,
|
|
319
|
-
sent_at: new Date(
|
|
319
|
+
sent_at: new Date(x()).toISOString(),
|
|
320
320
|
...t && { sdk: t },
|
|
321
|
-
...!!n && r && { dsn:
|
|
321
|
+
...!!n && r && { dsn: O(r) },
|
|
322
322
|
...a && { trace: a }
|
|
323
323
|
};
|
|
324
324
|
}
|
|
@@ -342,17 +342,17 @@ function Lt(e, t) {
|
|
|
342
342
|
}
|
|
343
343
|
function Rt(e, t, n, r) {
|
|
344
344
|
let i = Ft(n);
|
|
345
|
-
return
|
|
346
|
-
sent_at: new Date(
|
|
345
|
+
return H({
|
|
346
|
+
sent_at: new Date(x()).toISOString(),
|
|
347
347
|
...i && { sdk: i },
|
|
348
|
-
...!!r && t && { dsn:
|
|
348
|
+
...!!r && t && { dsn: O(t) }
|
|
349
349
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
350
350
|
}
|
|
351
351
|
function zt(e, t, n, r) {
|
|
352
352
|
let i = Ft(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
353
353
|
Lt(e, n == null ? void 0 : n.sdk);
|
|
354
354
|
let o = It(e, i, r, t);
|
|
355
|
-
return delete e.sdkProcessingMetadata,
|
|
355
|
+
return delete e.sdkProcessingMetadata, H(o, [[{ type: a }, e]]);
|
|
356
356
|
}
|
|
357
357
|
//#endregion
|
|
358
358
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
@@ -410,9 +410,9 @@ function qt(e, t, n) {
|
|
|
410
410
|
return t || `${Gt(e)}?${Kt(e, n)}`;
|
|
411
411
|
}
|
|
412
412
|
function Jt(e, t) {
|
|
413
|
-
let n =
|
|
413
|
+
let n = qe(e);
|
|
414
414
|
if (!n) return "";
|
|
415
|
-
let r = `${Wt(n)}embed/error-page/`, i = `dsn=${
|
|
415
|
+
let r = `${Wt(n)}embed/error-page/`, i = `dsn=${O(n)}`;
|
|
416
416
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
417
417
|
let e = t.user;
|
|
418
418
|
if (!e) continue;
|
|
@@ -456,7 +456,7 @@ function $t(e, t) {
|
|
|
456
456
|
}
|
|
457
457
|
function en(e, t, n) {
|
|
458
458
|
if (n[t.name]) {
|
|
459
|
-
|
|
459
|
+
I && N.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
460
460
|
return;
|
|
461
461
|
}
|
|
462
462
|
if (n[t.name] = t, !Yt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Yt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
@@ -470,9 +470,9 @@ function en(e, t, n) {
|
|
|
470
470
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
471
471
|
let r = t[n];
|
|
472
472
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
473
|
-
}),
|
|
473
|
+
}), I && N.log(`Integration installed: ${t.name}`);
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function U(e) {
|
|
476
476
|
return e;
|
|
477
477
|
}
|
|
478
478
|
//#endregion
|
|
@@ -494,7 +494,7 @@ function an() {
|
|
|
494
494
|
return typeof window < "u" && (!rn() || on());
|
|
495
495
|
}
|
|
496
496
|
function on() {
|
|
497
|
-
let e =
|
|
497
|
+
let e = F.process;
|
|
498
498
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
499
499
|
}
|
|
500
500
|
//#endregion
|
|
@@ -519,7 +519,7 @@ function cn(e, t, n, r, i) {
|
|
|
519
519
|
return t != null && t.sdk && (a.sdk = {
|
|
520
520
|
name: t.sdk.name,
|
|
521
521
|
version: t.sdk.version
|
|
522
|
-
}), n && r && (a.dsn =
|
|
522
|
+
}), n && r && (a.dsn = O(r)), H(a, [sn(e, i)]);
|
|
523
523
|
}
|
|
524
524
|
//#endregion
|
|
525
525
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
@@ -534,7 +534,7 @@ function un(e) {
|
|
|
534
534
|
return dn().get(e);
|
|
535
535
|
}
|
|
536
536
|
function dn() {
|
|
537
|
-
return
|
|
537
|
+
return ke("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
538
538
|
}
|
|
539
539
|
//#endregion
|
|
540
540
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
@@ -558,7 +558,7 @@ function pn(e, t, n, r, i) {
|
|
|
558
558
|
return t != null && t.sdk && (a.sdk = {
|
|
559
559
|
name: t.sdk.name,
|
|
560
560
|
version: t.sdk.version
|
|
561
|
-
}), n && r && (a.dsn =
|
|
561
|
+
}), n && r && (a.dsn = O(r)), H(a, [fn(e, i)]);
|
|
562
562
|
}
|
|
563
563
|
//#endregion
|
|
564
564
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
@@ -573,12 +573,12 @@ function hn(e) {
|
|
|
573
573
|
return gn().get(e);
|
|
574
574
|
}
|
|
575
575
|
function gn() {
|
|
576
|
-
return
|
|
576
|
+
return ke("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
577
577
|
}
|
|
578
578
|
//#endregion
|
|
579
579
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
580
580
|
function _n(e) {
|
|
581
|
-
return
|
|
581
|
+
return Ee({
|
|
582
582
|
trace_id: e.trace_id,
|
|
583
583
|
span_id: e.span_id,
|
|
584
584
|
parent_span_id: e.parent_span_id,
|
|
@@ -634,12 +634,12 @@ function xn(e = 100) {
|
|
|
634
634
|
t.delete(e);
|
|
635
635
|
}
|
|
636
636
|
function i(e) {
|
|
637
|
-
if (!n()) return
|
|
637
|
+
if (!n()) return Ge(bn);
|
|
638
638
|
let i = e();
|
|
639
639
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
640
640
|
}
|
|
641
641
|
function a(e) {
|
|
642
|
-
if (!t.size) return
|
|
642
|
+
if (!t.size) return xe(!0);
|
|
643
643
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
644
644
|
if (!e) return n;
|
|
645
645
|
let r = [n, new Promise((t) => yn(setTimeout(() => t(!1), e)))];
|
|
@@ -656,7 +656,7 @@ function xn(e = 100) {
|
|
|
656
656
|
//#endregion
|
|
657
657
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
658
658
|
var Sn = 60 * 1e3;
|
|
659
|
-
function Cn(e, t =
|
|
659
|
+
function Cn(e, t = x()) {
|
|
660
660
|
let n = parseInt(`${e}`, 10);
|
|
661
661
|
if (!isNaN(n)) return n * 1e3;
|
|
662
662
|
let r = Date.parse(`${e}`);
|
|
@@ -665,10 +665,10 @@ function Cn(e, t = w()) {
|
|
|
665
665
|
function wn(e, t) {
|
|
666
666
|
return e[t] || e.all || 0;
|
|
667
667
|
}
|
|
668
|
-
function Tn(e, t, n =
|
|
668
|
+
function Tn(e, t, n = x()) {
|
|
669
669
|
return wn(e, t) > n;
|
|
670
670
|
}
|
|
671
|
-
function En(e, { statusCode: t, headers: n }, r =
|
|
671
|
+
function En(e, { statusCode: t, headers: n }, r = x()) {
|
|
672
672
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
673
673
|
if (a) for (let e of a.trim().split(",")) {
|
|
674
674
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
@@ -686,19 +686,19 @@ function Dn(e, t, n = xn(e.bufferSize || 64)) {
|
|
|
686
686
|
let i = Pt(n);
|
|
687
687
|
Tn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
688
688
|
}), a.length === 0) return Promise.resolve({});
|
|
689
|
-
let o =
|
|
689
|
+
let o = H(i[0], a), s = (t) => {
|
|
690
690
|
if (Dt(o, ["client_report"])) {
|
|
691
|
-
|
|
691
|
+
I && N.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
Et(o, (n, r) => {
|
|
695
695
|
e.recordDroppedEvent(t, Pt(r));
|
|
696
696
|
});
|
|
697
697
|
};
|
|
698
|
-
return n.add(() => t({ body: kt(o) }).then((e) => e.statusCode === 413 ? (
|
|
699
|
-
throw s("network_error"),
|
|
698
|
+
return n.add(() => t({ body: kt(o) }).then((e) => e.statusCode === 413 ? (I && N.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (I && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && N.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = En(r, e), e), (e) => {
|
|
699
|
+
throw s("network_error"), I && N.error("Encountered error running transport request:", e), e;
|
|
700
700
|
})).then((e) => e, (e) => {
|
|
701
|
-
if (e === bn) return
|
|
701
|
+
if (e === bn) return I && N.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
702
702
|
throw e;
|
|
703
703
|
});
|
|
704
704
|
}
|
|
@@ -711,10 +711,10 @@ function Dn(e, t, n = xn(e.bufferSize || 64)) {
|
|
|
711
711
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
712
712
|
function On(e, t, n) {
|
|
713
713
|
let r = [{ type: "client_report" }, {
|
|
714
|
-
timestamp: n ||
|
|
714
|
+
timestamp: n || je(),
|
|
715
715
|
discarded_events: e
|
|
716
716
|
}];
|
|
717
|
-
return
|
|
717
|
+
return H(t ? { dsn: t } : {}, [r]);
|
|
718
718
|
}
|
|
719
719
|
//#endregion
|
|
720
720
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
@@ -744,7 +744,7 @@ function An(e) {
|
|
|
744
744
|
trace_id: i == null ? "" : i,
|
|
745
745
|
origin: c,
|
|
746
746
|
profile_id: l == null ? void 0 : l[Ye],
|
|
747
|
-
exclusive_time: l == null ? void 0 : l[
|
|
747
|
+
exclusive_time: l == null ? void 0 : l[ve],
|
|
748
748
|
measurements: e.measurements,
|
|
749
749
|
is_segment: !0
|
|
750
750
|
};
|
|
@@ -773,7 +773,7 @@ function jn(e) {
|
|
|
773
773
|
}
|
|
774
774
|
//#endregion
|
|
775
775
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
776
|
-
var
|
|
776
|
+
var W = [
|
|
777
777
|
"forwarded",
|
|
778
778
|
"-ip",
|
|
779
779
|
"remote-",
|
|
@@ -782,7 +782,7 @@ var Mn = [
|
|
|
782
782
|
];
|
|
783
783
|
//#endregion
|
|
784
784
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
785
|
-
function
|
|
785
|
+
function Mn(e) {
|
|
786
786
|
return e === !0 ? {
|
|
787
787
|
userInfo: !0,
|
|
788
788
|
cookies: !0,
|
|
@@ -805,13 +805,13 @@ function Nn(e) {
|
|
|
805
805
|
frameContextLines: 7
|
|
806
806
|
} : {
|
|
807
807
|
userInfo: !1,
|
|
808
|
-
cookies: { deny:
|
|
808
|
+
cookies: { deny: W },
|
|
809
809
|
httpHeaders: {
|
|
810
|
-
request: { deny:
|
|
811
|
-
response: { deny:
|
|
810
|
+
request: { deny: W },
|
|
811
|
+
response: { deny: W }
|
|
812
812
|
},
|
|
813
813
|
httpBodies: [],
|
|
814
|
-
queryParams: { deny:
|
|
814
|
+
queryParams: { deny: W },
|
|
815
815
|
genAI: {
|
|
816
816
|
inputs: !1,
|
|
817
817
|
outputs: !1
|
|
@@ -822,7 +822,7 @@ function Nn(e) {
|
|
|
822
822
|
}
|
|
823
823
|
//#endregion
|
|
824
824
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
825
|
-
var
|
|
825
|
+
var Nn = {
|
|
826
826
|
userInfo: !0,
|
|
827
827
|
cookies: !0,
|
|
828
828
|
httpHeaders: {
|
|
@@ -843,48 +843,48 @@ var Pn = {
|
|
|
843
843
|
stackFrameVariables: !0,
|
|
844
844
|
frameContextLines: 5
|
|
845
845
|
};
|
|
846
|
-
function
|
|
847
|
-
var t, n, r, i, a, o, s, c, l, u, d,
|
|
848
|
-
let
|
|
846
|
+
function Pn(e) {
|
|
847
|
+
var t, n, r, i, a, o, s, c, l, u, d, ee, f, p, te;
|
|
848
|
+
let m = e.dataCollection == null ? Mn(e.sendDefaultPii) : Nn, h = (t = e.dataCollection) == null ? {} : t;
|
|
849
849
|
return {
|
|
850
|
-
userInfo: (n =
|
|
851
|
-
cookies: (r =
|
|
850
|
+
userInfo: (n = h.userInfo) == null ? m.userInfo : n,
|
|
851
|
+
cookies: (r = h.cookies) == null ? m.cookies : r,
|
|
852
852
|
httpHeaders: {
|
|
853
|
-
request: (i = (a =
|
|
854
|
-
response: (o = (s =
|
|
853
|
+
request: (i = (a = h.httpHeaders) == null ? void 0 : a.request) == null ? m.httpHeaders.request : i,
|
|
854
|
+
response: (o = (s = h.httpHeaders) == null ? void 0 : s.response) == null ? m.httpHeaders.response : o
|
|
855
855
|
},
|
|
856
|
-
httpBodies: (c =
|
|
857
|
-
queryParams: (l =
|
|
856
|
+
httpBodies: (c = h.httpBodies) == null ? m.httpBodies : c,
|
|
857
|
+
queryParams: (l = h.queryParams) == null ? m.queryParams : l,
|
|
858
858
|
genAI: {
|
|
859
|
-
inputs: (u = (d =
|
|
860
|
-
outputs: (
|
|
859
|
+
inputs: (u = (d = h.genAI) == null ? void 0 : d.inputs) == null ? m.genAI.inputs : u,
|
|
860
|
+
outputs: (ee = (f = h.genAI) == null ? void 0 : f.outputs) == null ? m.genAI.outputs : ee
|
|
861
861
|
},
|
|
862
|
-
stackFrameVariables: (p =
|
|
863
|
-
frameContextLines: (
|
|
862
|
+
stackFrameVariables: (p = h.stackFrameVariables) == null ? m.stackFrameVariables : p,
|
|
863
|
+
frameContextLines: (te = h.frameContextLines) == null ? m.frameContextLines : te
|
|
864
864
|
};
|
|
865
865
|
}
|
|
866
866
|
//#endregion
|
|
867
867
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/client.js
|
|
868
|
-
var
|
|
869
|
-
function
|
|
868
|
+
var Fn = "Not capturing exception because it's already been captured.", In = "Discarded session because of missing or non-string release", Ln = /* @__PURE__ */ Symbol.for("SentryInternalError"), Rn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), zn = 5e3;
|
|
869
|
+
function G(e) {
|
|
870
870
|
return {
|
|
871
871
|
message: e,
|
|
872
|
-
[
|
|
872
|
+
[Ln]: !0
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function Bn(e) {
|
|
876
876
|
return {
|
|
877
877
|
message: e,
|
|
878
|
-
[
|
|
878
|
+
[Rn]: !0
|
|
879
879
|
};
|
|
880
880
|
}
|
|
881
|
-
function
|
|
882
|
-
return !!e && typeof e == "object" &&
|
|
881
|
+
function Vn(e) {
|
|
882
|
+
return !!e && typeof e == "object" && Ln in e;
|
|
883
883
|
}
|
|
884
|
-
function
|
|
885
|
-
return !!e && typeof e == "object" &&
|
|
884
|
+
function Hn(e) {
|
|
885
|
+
return !!e && typeof e == "object" && Rn in e;
|
|
886
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function Un(e, t, n, r, i) {
|
|
888
888
|
let a = 0, o, s = !1;
|
|
889
889
|
e.on(n, () => {
|
|
890
890
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -892,7 +892,7 @@ function Gn(e, t, n, r, i) {
|
|
|
892
892
|
if (a += r(t), a >= 8e5) i(e);
|
|
893
893
|
else if (!s) {
|
|
894
894
|
var n;
|
|
895
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
895
|
+
let t = (n = e.getOptions()._flushInterval) == null ? zn : n;
|
|
896
896
|
t > 0 && (s = !0, o = yn(setTimeout(() => {
|
|
897
897
|
i(e);
|
|
898
898
|
}, t)));
|
|
@@ -901,10 +901,10 @@ function Gn(e, t, n, r, i) {
|
|
|
901
901
|
i(e);
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
|
-
var
|
|
904
|
+
var Wn = class {
|
|
905
905
|
constructor(e) {
|
|
906
906
|
var t, n, r, i, a, o, s;
|
|
907
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = xn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection =
|
|
907
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = xn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = Pn(e), e.dsn ? this._dsn = qe(e.dsn) : I && N.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
908
908
|
let t = qt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
909
909
|
this._transport = e.transport({
|
|
910
910
|
tunnel: this._options.tunnel,
|
|
@@ -913,11 +913,11 @@ var Kn = class {
|
|
|
913
913
|
url: t
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
916
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Un(this, "afterCaptureLog", "flushLogs", Zn, ln), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Un(this, "afterCaptureMetric", "flushMetrics", Xn, mn);
|
|
917
917
|
}
|
|
918
918
|
captureException(e, t, n) {
|
|
919
|
-
let r =
|
|
920
|
-
if (
|
|
919
|
+
let r = y();
|
|
920
|
+
if (se(e)) return I && N.log(Fn), r;
|
|
921
921
|
let i = {
|
|
922
922
|
event_id: r,
|
|
923
923
|
...t
|
|
@@ -926,22 +926,22 @@ var Kn = class {
|
|
|
926
926
|
}
|
|
927
927
|
captureMessage(e, t, n, r) {
|
|
928
928
|
let i = {
|
|
929
|
-
event_id:
|
|
929
|
+
event_id: y(),
|
|
930
930
|
...n
|
|
931
|
-
}, a =
|
|
931
|
+
}, a = We(e) ? e : String(e), o = P(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
932
932
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
933
933
|
}
|
|
934
934
|
captureEvent(e, t, n) {
|
|
935
|
-
let r =
|
|
936
|
-
if (t != null && t.originalException &&
|
|
935
|
+
let r = y();
|
|
936
|
+
if (t != null && t.originalException && se(t.originalException)) return I && N.log(Fn), r;
|
|
937
937
|
let i = {
|
|
938
938
|
event_id: r,
|
|
939
939
|
...t
|
|
940
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
940
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Gn(e.type);
|
|
941
941
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
942
942
|
}
|
|
943
943
|
captureSession(e) {
|
|
944
|
-
this.sendSession(e),
|
|
944
|
+
this.sendSession(e), ce(e, { init: !1 });
|
|
945
945
|
}
|
|
946
946
|
getDsn() {
|
|
947
947
|
return this._dsn;
|
|
@@ -999,13 +999,13 @@ var Kn = class {
|
|
|
999
999
|
if ("aggregates" in e) {
|
|
1000
1000
|
let r = e.attrs || {};
|
|
1001
1001
|
if (!r.release && !t) {
|
|
1002
|
-
|
|
1002
|
+
I && N.warn(In);
|
|
1003
1003
|
return;
|
|
1004
1004
|
}
|
|
1005
1005
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
1006
1006
|
} else {
|
|
1007
1007
|
if (!e.release && !t) {
|
|
1008
|
-
|
|
1008
|
+
I && N.warn(In);
|
|
1009
1009
|
return;
|
|
1010
1010
|
}
|
|
1011
1011
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
@@ -1017,7 +1017,7 @@ var Kn = class {
|
|
|
1017
1017
|
recordDroppedEvent(e, t, n = 1) {
|
|
1018
1018
|
if (this._options.sendClientReports) {
|
|
1019
1019
|
let r = `${e}:${t}`;
|
|
1020
|
-
|
|
1020
|
+
I && N.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
on(e, t) {
|
|
@@ -1034,9 +1034,9 @@ var Kn = class {
|
|
|
1034
1034
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
1035
1035
|
return await this._transport.send(e);
|
|
1036
1036
|
} catch (e) {
|
|
1037
|
-
return
|
|
1037
|
+
return I && N.error("Error while sending envelope:", e), {};
|
|
1038
1038
|
}
|
|
1039
|
-
return
|
|
1039
|
+
return I && N.error("Transport disabled"), {};
|
|
1040
1040
|
}
|
|
1041
1041
|
registerCleanup(e) {}
|
|
1042
1042
|
dispose() {}
|
|
@@ -1058,7 +1058,7 @@ var Kn = class {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
let s = e.status === "ok";
|
|
1061
|
-
(s && e.errors === 0 || s && r) && (
|
|
1061
|
+
(s && e.errors === 0 || s && r) && (ce(e, {
|
|
1062
1062
|
...r && { status: "crashed" },
|
|
1063
1063
|
errors: e.errors || Number(i || r)
|
|
1064
1064
|
}), this.captureSession(e));
|
|
@@ -1076,40 +1076,40 @@ var Kn = class {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
_prepareEvent(e, t, n, r) {
|
|
1078
1078
|
let i = this.getOptions(), a = this.getIntegrationNames();
|
|
1079
|
-
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
1079
|
+
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), Me(i, e, t, n, this, r).then((e) => {
|
|
1080
1080
|
var r;
|
|
1081
1081
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
1082
1082
|
trace: {
|
|
1083
1083
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
1084
|
-
...
|
|
1084
|
+
...ue(n)
|
|
1085
1085
|
},
|
|
1086
1086
|
...e.contexts
|
|
1087
1087
|
}, e.sdkProcessingMetadata = {
|
|
1088
|
-
dynamicSamplingContext:
|
|
1088
|
+
dynamicSamplingContext: we(this, n),
|
|
1089
1089
|
...e.sdkProcessingMetadata
|
|
1090
1090
|
}, e);
|
|
1091
1091
|
});
|
|
1092
1092
|
}
|
|
1093
|
-
_captureEvent(e, t = {}, n =
|
|
1094
|
-
return
|
|
1095
|
-
|
|
1093
|
+
_captureEvent(e, t = {}, n = v(), r = Je()) {
|
|
1094
|
+
return I && Jn(e) && N.log(`Captured error event \`${kn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1095
|
+
I && (Hn(e) ? N.log(e.message) : Vn(e) ? N.warn(e.message) : N.warn(e));
|
|
1096
1096
|
});
|
|
1097
1097
|
}
|
|
1098
1098
|
_processEvent(e, t, n, r) {
|
|
1099
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1100
|
-
if (s && typeof l == "number" &&
|
|
1101
|
-
let u =
|
|
1099
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Yn(e), s = Jn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : vt(a);
|
|
1100
|
+
if (s && typeof l == "number" && de() > l) return this.recordDroppedEvent("sample_rate", "error"), Ge(Bn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1101
|
+
let u = Gn(e.type);
|
|
1102
1102
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1103
1103
|
var n;
|
|
1104
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1105
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1104
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), Bn("An event processor returned `null`, will not send event.");
|
|
1105
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Kn(qn(this, i, e, t), c);
|
|
1106
1106
|
}).then((i) => {
|
|
1107
1107
|
if (i === null) {
|
|
1108
1108
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1109
1109
|
let t = 1 + (e.spans || []).length;
|
|
1110
1110
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1111
1111
|
}
|
|
1112
|
-
throw
|
|
1112
|
+
throw Bn(`${c} returned \`null\`, will not send event.`);
|
|
1113
1113
|
}
|
|
1114
1114
|
let a = n.getSession() || r.getSession();
|
|
1115
1115
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1123,14 +1123,14 @@ var Kn = class {
|
|
|
1123
1123
|
source: "custom"
|
|
1124
1124
|
}), this.sendEvent(i, t), i;
|
|
1125
1125
|
}).then(null, (e) => {
|
|
1126
|
-
throw
|
|
1126
|
+
throw Hn(e) || Vn(e) ? e : (this.captureException(e, {
|
|
1127
1127
|
mechanism: {
|
|
1128
1128
|
handled: !1,
|
|
1129
1129
|
type: "internal"
|
|
1130
1130
|
},
|
|
1131
1131
|
data: { __sentry__: !0 },
|
|
1132
1132
|
originalException: e
|
|
1133
|
-
}),
|
|
1133
|
+
}), G(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1134
1134
|
Reason: ${e}`));
|
|
1135
1135
|
});
|
|
1136
1136
|
}
|
|
@@ -1149,39 +1149,39 @@ Reason: ${e}`));
|
|
|
1149
1149
|
});
|
|
1150
1150
|
}
|
|
1151
1151
|
_flushOutcomes() {
|
|
1152
|
-
|
|
1152
|
+
I && N.log("Flushing outcomes...");
|
|
1153
1153
|
let e = this._clearOutcomes();
|
|
1154
1154
|
if (e.length === 0) {
|
|
1155
|
-
|
|
1155
|
+
I && N.log("No outcomes to send");
|
|
1156
1156
|
return;
|
|
1157
1157
|
}
|
|
1158
1158
|
if (!this._dsn) {
|
|
1159
|
-
|
|
1159
|
+
I && N.log("No dsn provided, will not send outcomes");
|
|
1160
1160
|
return;
|
|
1161
1161
|
}
|
|
1162
|
-
|
|
1163
|
-
let t = On(e, this._options.tunnel &&
|
|
1162
|
+
I && N.log("Sending outcomes:", e);
|
|
1163
|
+
let t = On(e, this._options.tunnel && O(this._dsn));
|
|
1164
1164
|
this.sendEnvelope(t);
|
|
1165
1165
|
}
|
|
1166
1166
|
};
|
|
1167
|
-
function
|
|
1167
|
+
function Gn(e) {
|
|
1168
1168
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function Kn(e, t) {
|
|
1171
1171
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1172
1172
|
if (Le(e)) return e.then((e) => {
|
|
1173
|
-
if (!
|
|
1173
|
+
if (!M(e) && e !== null) throw G(n);
|
|
1174
1174
|
return e;
|
|
1175
1175
|
}, (e) => {
|
|
1176
|
-
throw
|
|
1176
|
+
throw G(`${t} rejected with ${e}`);
|
|
1177
1177
|
});
|
|
1178
|
-
if (!
|
|
1178
|
+
if (!M(e) && e !== null) throw G(n);
|
|
1179
1179
|
return e;
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function qn(e, t, n, r) {
|
|
1182
1182
|
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !wt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1183
|
-
if (
|
|
1184
|
-
if (
|
|
1183
|
+
if (Jn(c) && i) return i(c, r);
|
|
1184
|
+
if (Yn(c)) {
|
|
1185
1185
|
if (s || o) {
|
|
1186
1186
|
let t = An(c);
|
|
1187
1187
|
if (o != null && o.length && bt({
|
|
@@ -1191,7 +1191,7 @@ function Yn(e, t, n, r) {
|
|
|
1191
1191
|
}, o)) return null;
|
|
1192
1192
|
if (s) {
|
|
1193
1193
|
let e = s(t);
|
|
1194
|
-
e ? c =
|
|
1194
|
+
e ? c = ne(n, jn(e)) : Ne();
|
|
1195
1195
|
}
|
|
1196
1196
|
if (c.spans) {
|
|
1197
1197
|
let t = [], n = c.spans;
|
|
@@ -1206,7 +1206,7 @@ function Yn(e, t, n, r) {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
if (s) {
|
|
1208
1208
|
let n = s(e);
|
|
1209
|
-
n ? t.push(n) : (
|
|
1209
|
+
n ? t.push(n) : (Ne(), t.push(e));
|
|
1210
1210
|
} else t.push(e);
|
|
1211
1211
|
}
|
|
1212
1212
|
let r = c.spans.length - t.length;
|
|
@@ -1226,51 +1226,51 @@ function Yn(e, t, n, r) {
|
|
|
1226
1226
|
}
|
|
1227
1227
|
return c;
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function Jn(e) {
|
|
1230
1230
|
return e.type === void 0;
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function Yn(e) {
|
|
1233
1233
|
return e.type === "transaction";
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1235
|
+
function Xn(e) {
|
|
1236
1236
|
let t = 0;
|
|
1237
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1237
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Qn(e.attributes);
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function Zn(e) {
|
|
1240
1240
|
let t = 0;
|
|
1241
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1241
|
+
return e.message && (t += e.message.length * 2), t + Qn(e.attributes);
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function Qn(e) {
|
|
1244
1244
|
if (!e) return 0;
|
|
1245
1245
|
let t = 0;
|
|
1246
1246
|
return Object.values(e).forEach((e) => {
|
|
1247
|
-
Array.isArray(e) ? t += e.length *
|
|
1247
|
+
Array.isArray(e) ? t += e.length * $n(e[0]) : P(e) ? t += $n(e) : t += 100;
|
|
1248
1248
|
}), t;
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function $n(e) {
|
|
1251
1251
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1252
1252
|
}
|
|
1253
1253
|
//#endregion
|
|
1254
1254
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1255
|
-
function
|
|
1256
|
-
t.debug === !0 && (
|
|
1255
|
+
function er(e, t) {
|
|
1256
|
+
t.debug === !0 && (I ? N.enable() : Te(() => {
|
|
1257
1257
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1258
|
-
})),
|
|
1258
|
+
})), v().update(t.initialScope);
|
|
1259
1259
|
let n = new e(t);
|
|
1260
|
-
return
|
|
1260
|
+
return tr(n), n.init(), n;
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1263
|
-
|
|
1262
|
+
function tr(e) {
|
|
1263
|
+
v().setClient(e);
|
|
1264
1264
|
}
|
|
1265
|
-
var
|
|
1266
|
-
function
|
|
1265
|
+
var nr = 5e3, rr = 36e5;
|
|
1266
|
+
function ir(e) {
|
|
1267
1267
|
function t(...e) {
|
|
1268
|
-
|
|
1268
|
+
I && N.log("[Offline]:", ...e);
|
|
1269
1269
|
}
|
|
1270
1270
|
return (n) => {
|
|
1271
1271
|
let r = e(n);
|
|
1272
1272
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1273
|
-
let i = n.createStore(n), a =
|
|
1273
|
+
let i = n.createStore(n), a = nr, o;
|
|
1274
1274
|
function s(e, t, r) {
|
|
1275
1275
|
return Dt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1276
1276
|
}
|
|
@@ -1278,13 +1278,13 @@ function or(e) {
|
|
|
1278
1278
|
o && clearTimeout(o), o = yn(setTimeout(async () => {
|
|
1279
1279
|
o = void 0;
|
|
1280
1280
|
let e = await i.shift();
|
|
1281
|
-
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(
|
|
1281
|
+
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(x()).toISOString(), u(e, !0).catch((e) => {
|
|
1282
1282
|
t("Failed to retry sending", e);
|
|
1283
1283
|
}));
|
|
1284
1284
|
}, e));
|
|
1285
1285
|
}
|
|
1286
1286
|
function l() {
|
|
1287
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1287
|
+
o || (c(a), a = Math.min(a * 2, rr));
|
|
1288
1288
|
}
|
|
1289
1289
|
async function u(e, o = !1) {
|
|
1290
1290
|
if (!o && Dt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
@@ -1297,7 +1297,7 @@ function or(e) {
|
|
|
1297
1297
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1298
1298
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1299
1299
|
}
|
|
1300
|
-
return c(i), a =
|
|
1300
|
+
return c(i), a = nr, t;
|
|
1301
1301
|
} catch (n) {
|
|
1302
1302
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1303
1303
|
throw n;
|
|
@@ -1305,13 +1305,13 @@ function or(e) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
return n.flushAtStartup && l(), {
|
|
1307
1307
|
send: u,
|
|
1308
|
-
flush: (e) => (e === void 0 && (a =
|
|
1308
|
+
flush: (e) => (e === void 0 && (a = nr, c(100)), r.flush(e))
|
|
1309
1309
|
};
|
|
1310
1310
|
};
|
|
1311
1311
|
}
|
|
1312
1312
|
//#endregion
|
|
1313
1313
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1314
|
-
function
|
|
1314
|
+
function ar(e) {
|
|
1315
1315
|
if ("aggregates" in e) {
|
|
1316
1316
|
var t;
|
|
1317
1317
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1322,44 +1322,44 @@ function sr(e) {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
//#endregion
|
|
1324
1324
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1325
|
-
function
|
|
1325
|
+
function or(e, t, n = [t], r = "npm") {
|
|
1326
1326
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1327
1327
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1328
1328
|
name: `${r}:@sentry/${e}`,
|
|
1329
|
-
version:
|
|
1330
|
-
})), i.version =
|
|
1329
|
+
version: ge
|
|
1330
|
+
})), i.version = ge);
|
|
1331
1331
|
}
|
|
1332
1332
|
//#endregion
|
|
1333
1333
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1334
|
-
var
|
|
1334
|
+
var sr = 100;
|
|
1335
1335
|
function K(e, t) {
|
|
1336
|
-
let n =
|
|
1336
|
+
let n = E(), r = Je();
|
|
1337
1337
|
if (!n) return;
|
|
1338
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1338
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = sr } = n.getOptions();
|
|
1339
1339
|
if (a <= 0) return;
|
|
1340
1340
|
let o = {
|
|
1341
|
-
timestamp:
|
|
1341
|
+
timestamp: je(),
|
|
1342
1342
|
...e
|
|
1343
|
-
}, s = i ?
|
|
1343
|
+
}, s = i ? Te(() => i(o, t)) : o;
|
|
1344
1344
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1345
1345
|
}
|
|
1346
1346
|
//#endregion
|
|
1347
1347
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1348
|
-
var
|
|
1349
|
-
name:
|
|
1348
|
+
var cr, lr = "FunctionToString", ur = /* @__PURE__ */ new WeakMap(), dr = U((() => ({
|
|
1349
|
+
name: lr,
|
|
1350
1350
|
setupOnce() {
|
|
1351
|
-
|
|
1351
|
+
cr = Function.prototype.toString;
|
|
1352
1352
|
try {
|
|
1353
1353
|
Function.prototype.toString = function(...e) {
|
|
1354
|
-
let t = ze(this), n =
|
|
1355
|
-
return
|
|
1354
|
+
let t = ze(this), n = ur.has(E()) && t !== void 0 ? t : this;
|
|
1355
|
+
return cr.apply(n, e);
|
|
1356
1356
|
};
|
|
1357
1357
|
} catch {}
|
|
1358
1358
|
},
|
|
1359
1359
|
setup(e) {
|
|
1360
|
-
|
|
1360
|
+
ur.set(e, !0);
|
|
1361
1361
|
}
|
|
1362
|
-
}))),
|
|
1362
|
+
}))), fr = [
|
|
1363
1363
|
/^Script error\.?$/,
|
|
1364
1364
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1365
1365
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1371,127 +1371,127 @@ var ur, dr = "FunctionToString", fr = /* @__PURE__ */ new WeakMap(), pr = G((()
|
|
|
1371
1371
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1372
1372
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1373
1373
|
/^Java exception was raised during method invocation$/
|
|
1374
|
-
],
|
|
1374
|
+
], pr = "EventFilters", mr = U((e = {}) => {
|
|
1375
1375
|
let t;
|
|
1376
1376
|
return {
|
|
1377
|
-
name:
|
|
1377
|
+
name: pr,
|
|
1378
1378
|
setup(n) {
|
|
1379
|
-
t =
|
|
1379
|
+
t = gr(e, n.getOptions());
|
|
1380
1380
|
},
|
|
1381
1381
|
processEvent(n, r, i) {
|
|
1382
|
-
return t || (t =
|
|
1382
|
+
return t || (t = gr(e, i.getOptions())), _r(n, t) ? null : n;
|
|
1383
1383
|
}
|
|
1384
1384
|
};
|
|
1385
|
-
}),
|
|
1386
|
-
...
|
|
1385
|
+
}), hr = U(((e = {}) => ({
|
|
1386
|
+
...mr(e),
|
|
1387
1387
|
name: "InboundFilters"
|
|
1388
1388
|
})));
|
|
1389
|
-
function
|
|
1389
|
+
function gr(e = {}, t = {}) {
|
|
1390
1390
|
return {
|
|
1391
1391
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1392
1392
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1393
1393
|
ignoreErrors: [
|
|
1394
1394
|
...e.ignoreErrors || [],
|
|
1395
1395
|
...t.ignoreErrors || [],
|
|
1396
|
-
...e.disableErrorDefaults ? [] :
|
|
1396
|
+
...e.disableErrorDefaults ? [] : fr
|
|
1397
1397
|
],
|
|
1398
1398
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1399
1399
|
};
|
|
1400
1400
|
}
|
|
1401
|
-
function
|
|
1401
|
+
function _r(e, t) {
|
|
1402
1402
|
if (!e.type) {
|
|
1403
|
-
if (
|
|
1404
|
-
Event: ${
|
|
1405
|
-
if (
|
|
1406
|
-
Event: ${
|
|
1407
|
-
if (
|
|
1408
|
-
Event: ${
|
|
1409
|
-
Url: ${
|
|
1410
|
-
if (!
|
|
1411
|
-
Event: ${
|
|
1412
|
-
Url: ${
|
|
1413
|
-
} else if (e.type === "transaction" &&
|
|
1414
|
-
Event: ${
|
|
1403
|
+
if (vr(e, t.ignoreErrors)) return I && N.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1404
|
+
Event: ${w(e)}`), !0;
|
|
1405
|
+
if (wr(e)) return I && N.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1406
|
+
Event: ${w(e)}`), !0;
|
|
1407
|
+
if (br(e, t.denyUrls)) return I && N.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1408
|
+
Event: ${w(e)}.
|
|
1409
|
+
Url: ${Cr(e)}`), !0;
|
|
1410
|
+
if (!xr(e, t.allowUrls)) return I && N.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1411
|
+
Event: ${w(e)}.
|
|
1412
|
+
Url: ${Cr(e)}`), !0;
|
|
1413
|
+
} else if (e.type === "transaction" && yr(e, t.ignoreTransactions)) return I && N.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1414
|
+
Event: ${w(e)}`), !0;
|
|
1415
1415
|
return !1;
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1418
|
-
return t != null && t.length ? kn(e).some((e) =>
|
|
1417
|
+
function vr(e, t) {
|
|
1418
|
+
return t != null && t.length ? kn(e).some((e) => T(e, t)) : !1;
|
|
1419
1419
|
}
|
|
1420
|
-
function
|
|
1420
|
+
function yr(e, t) {
|
|
1421
1421
|
if (!(t != null && t.length)) return !1;
|
|
1422
1422
|
let n = e.transaction;
|
|
1423
|
-
return n ?
|
|
1423
|
+
return n ? T(n, t) : !1;
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function br(e, t) {
|
|
1426
1426
|
if (!(t != null && t.length)) return !1;
|
|
1427
|
-
let n =
|
|
1428
|
-
return n ?
|
|
1427
|
+
let n = Cr(e);
|
|
1428
|
+
return n ? T(n, t) : !1;
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function xr(e, t) {
|
|
1431
1431
|
if (!(t != null && t.length)) return !0;
|
|
1432
|
-
let n =
|
|
1433
|
-
return n ?
|
|
1432
|
+
let n = Cr(e);
|
|
1433
|
+
return n ? T(n, t) : !0;
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function Sr(e = []) {
|
|
1436
1436
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1437
1437
|
let n = e[t];
|
|
1438
1438
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1439
1439
|
}
|
|
1440
1440
|
return null;
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function Cr(e) {
|
|
1443
1443
|
try {
|
|
1444
1444
|
var t, n, r;
|
|
1445
1445
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1446
1446
|
var t, n;
|
|
1447
1447
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1448
1448
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1449
|
-
return a ?
|
|
1449
|
+
return a ? Sr(a) : null;
|
|
1450
1450
|
} catch {
|
|
1451
|
-
return
|
|
1451
|
+
return I && N.error(`Cannot extract url for event ${w(e)}`), null;
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function wr(e) {
|
|
1455
1455
|
var t;
|
|
1456
1456
|
return !((t = e.exception) == null || (t = t.values) == null) && t.length ? !e.message && !e.exception.values.some((e) => e.stacktrace || e.type && e.type !== "Error" || e.value) : !1;
|
|
1457
1457
|
}
|
|
1458
1458
|
//#endregion
|
|
1459
1459
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1460
|
-
function
|
|
1460
|
+
function Tr(e, t, n, r, i, a) {
|
|
1461
1461
|
var o;
|
|
1462
|
-
if (!((o = i.exception) != null && o.values) || !a || !
|
|
1462
|
+
if (!((o = i.exception) != null && o.values) || !a || !Ce(a.originalException, Error)) return;
|
|
1463
1463
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1464
|
-
s && (i.exception.values =
|
|
1464
|
+
s && (i.exception.values = Er(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1465
1465
|
}
|
|
1466
|
-
function
|
|
1466
|
+
function Er(e, t, n, r, i, a, o, s) {
|
|
1467
1467
|
if (a.length >= n + 1) return a;
|
|
1468
1468
|
let c = [...a];
|
|
1469
|
-
if (
|
|
1470
|
-
|
|
1469
|
+
if (Ce(r[i], Error)) {
|
|
1470
|
+
Or(o, s, r);
|
|
1471
1471
|
let a = e(t, r[i]), l = c.length;
|
|
1472
|
-
|
|
1472
|
+
kr(a, i, l, s), c = Er(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1473
1473
|
}
|
|
1474
|
-
return
|
|
1475
|
-
if (
|
|
1476
|
-
|
|
1474
|
+
return Dr(r) && r.errors.forEach((a, l) => {
|
|
1475
|
+
if (Ce(a, Error)) {
|
|
1476
|
+
Or(o, s, r);
|
|
1477
1477
|
let u = e(t, a), d = c.length;
|
|
1478
|
-
|
|
1478
|
+
kr(u, `errors[${l}]`, d, s), c = Er(e, t, n, a, i, [u, ...c], u, d);
|
|
1479
1479
|
}
|
|
1480
1480
|
}), c;
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1482
|
+
function Dr(e) {
|
|
1483
1483
|
return Array.isArray(e.errors);
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1485
|
+
function Or(e, t, n) {
|
|
1486
1486
|
e.mechanism = {
|
|
1487
1487
|
handled: !0,
|
|
1488
1488
|
type: "auto.core.linked_errors",
|
|
1489
|
-
...
|
|
1489
|
+
...Dr(n) && { is_exception_group: !0 },
|
|
1490
1490
|
...e.mechanism,
|
|
1491
1491
|
exception_id: t
|
|
1492
1492
|
};
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function kr(e, t, n, r) {
|
|
1495
1495
|
e.mechanism = {
|
|
1496
1496
|
handled: !0,
|
|
1497
1497
|
...e.mechanism,
|
|
@@ -1503,35 +1503,35 @@ function jr(e, t, n, r) {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
//#endregion
|
|
1505
1505
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1506
|
-
function
|
|
1507
|
-
return
|
|
1506
|
+
function Ar(e) {
|
|
1507
|
+
return he(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1510
|
-
return
|
|
1509
|
+
function jr(e) {
|
|
1510
|
+
return Ar(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1511
1511
|
}
|
|
1512
1512
|
//#endregion
|
|
1513
1513
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1514
|
-
var
|
|
1515
|
-
function
|
|
1516
|
-
let t = "console", n =
|
|
1517
|
-
return
|
|
1518
|
-
}
|
|
1519
|
-
function
|
|
1520
|
-
"console" in
|
|
1521
|
-
e in
|
|
1522
|
-
return
|
|
1523
|
-
let n = t[0], r =
|
|
1524
|
-
i ||
|
|
1514
|
+
var Mr = /* @__PURE__ */ new Set([]);
|
|
1515
|
+
function Nr(e) {
|
|
1516
|
+
let t = "console", n = z(t, e);
|
|
1517
|
+
return B(t, Pr), n;
|
|
1518
|
+
}
|
|
1519
|
+
function Pr() {
|
|
1520
|
+
"console" in F && Se.forEach(function(e) {
|
|
1521
|
+
e in F.console && C(F.console, e, function(t) {
|
|
1522
|
+
return Pe[e] = t, function(...t) {
|
|
1523
|
+
let n = t[0], r = Pe[e], i = Mr.size && typeof n == "string" && T(n, Mr);
|
|
1524
|
+
i || V("console", {
|
|
1525
1525
|
args: t,
|
|
1526
1526
|
level: e
|
|
1527
|
-
}), (!i ||
|
|
1527
|
+
}), (!i || I && N.isEnabled()) && (r == null || r.apply(F.console, t));
|
|
1528
1528
|
};
|
|
1529
1529
|
});
|
|
1530
1530
|
});
|
|
1531
1531
|
}
|
|
1532
1532
|
//#endregion
|
|
1533
1533
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1534
|
-
function
|
|
1534
|
+
function Fr(e) {
|
|
1535
1535
|
return e === "warn" ? "warning" : [
|
|
1536
1536
|
"fatal",
|
|
1537
1537
|
"error",
|
|
@@ -1543,32 +1543,32 @@ function Lr(e) {
|
|
|
1543
1543
|
}
|
|
1544
1544
|
//#endregion
|
|
1545
1545
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1546
|
-
var
|
|
1546
|
+
var Ir = "Dedupe", Lr = U((() => {
|
|
1547
1547
|
let e;
|
|
1548
1548
|
return {
|
|
1549
|
-
name:
|
|
1549
|
+
name: Ir,
|
|
1550
1550
|
processEvent(t) {
|
|
1551
1551
|
if (t.type) return t;
|
|
1552
1552
|
try {
|
|
1553
|
-
if (
|
|
1553
|
+
if (Rr(t, e)) return I && N.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1554
1554
|
} catch {}
|
|
1555
1555
|
return e = t;
|
|
1556
1556
|
}
|
|
1557
1557
|
};
|
|
1558
1558
|
}));
|
|
1559
|
-
function
|
|
1560
|
-
return t ? !!(
|
|
1559
|
+
function Rr(e, t) {
|
|
1560
|
+
return t ? !!(zr(e, t) || Br(e, t)) : !1;
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function zr(e, t) {
|
|
1563
1563
|
let n = e.message, r = t.message;
|
|
1564
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1564
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Hr(e, t) || !Vr(e, t));
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1567
|
-
let n =
|
|
1568
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1566
|
+
function Br(e, t) {
|
|
1567
|
+
let n = Ur(t), r = Ur(e);
|
|
1568
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Hr(e, t) || !Vr(e, t));
|
|
1569
1569
|
}
|
|
1570
|
-
function
|
|
1571
|
-
let n =
|
|
1570
|
+
function Vr(e, t) {
|
|
1571
|
+
let n = be(e), r = be(t);
|
|
1572
1572
|
if (!n && !r) return !0;
|
|
1573
1573
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1574
1574
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1577,7 +1577,7 @@ function Ur(e, t) {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
return !0;
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1580
|
+
function Hr(e, t) {
|
|
1581
1581
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1582
1582
|
if (!n && !r) return !0;
|
|
1583
1583
|
if (n && !r || !n && r) return !1;
|
|
@@ -1588,19 +1588,19 @@ function Wr(e, t) {
|
|
|
1588
1588
|
return !1;
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
1591
|
-
function
|
|
1591
|
+
function Ur(e) {
|
|
1592
1592
|
var t;
|
|
1593
1593
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1594
1594
|
}
|
|
1595
1595
|
//#endregion
|
|
1596
1596
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1597
|
-
var
|
|
1598
|
-
name:
|
|
1597
|
+
var Wr = "ConversationId", Gr = U((() => ({
|
|
1598
|
+
name: Wr,
|
|
1599
1599
|
setup(e) {
|
|
1600
1600
|
e.on("spanStart", (e) => {
|
|
1601
|
-
let t =
|
|
1601
|
+
let t = v().getScopeData(), n = Je().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1602
1602
|
if (r) {
|
|
1603
|
-
let { op: t, data: n, description: i } =
|
|
1603
|
+
let { op: t, data: n, description: i } = Oe(e);
|
|
1604
1604
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1605
1605
|
e.setAttribute(Xe, r);
|
|
1606
1606
|
}
|
|
@@ -1609,7 +1609,7 @@ var Kr = "ConversationId", qr = G((() => ({
|
|
|
1609
1609
|
})));
|
|
1610
1610
|
//#endregion
|
|
1611
1611
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1612
|
-
function
|
|
1612
|
+
function Kr(e) {
|
|
1613
1613
|
if (e !== void 0) {
|
|
1614
1614
|
if (e >= 400 && e < 500) return "warning";
|
|
1615
1615
|
if (e >= 500) return "error";
|
|
@@ -1617,11 +1617,11 @@ function Jr(e) {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
//#endregion
|
|
1619
1619
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1620
|
-
var q =
|
|
1621
|
-
function
|
|
1620
|
+
var q = F;
|
|
1621
|
+
function qr() {
|
|
1622
1622
|
return "history" in q && !!q.history;
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function Jr() {
|
|
1625
1625
|
if (!("fetch" in q)) return !1;
|
|
1626
1626
|
try {
|
|
1627
1627
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
@@ -1629,70 +1629,70 @@ function Xr() {
|
|
|
1629
1629
|
return !1;
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1632
|
+
function Yr(e) {
|
|
1633
1633
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1635
|
+
function Xr() {
|
|
1636
1636
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1637
|
-
if (!
|
|
1638
|
-
if (
|
|
1637
|
+
if (!Jr()) return !1;
|
|
1638
|
+
if (Yr(q.fetch)) return !0;
|
|
1639
1639
|
let e = !1, t = q.document;
|
|
1640
1640
|
if (t && typeof t.createElement == "function") try {
|
|
1641
1641
|
var n;
|
|
1642
1642
|
let r = t.createElement("iframe");
|
|
1643
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1643
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Yr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1644
1644
|
} catch (e) {
|
|
1645
|
-
|
|
1645
|
+
I && N.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1646
1646
|
}
|
|
1647
1647
|
return e;
|
|
1648
1648
|
}
|
|
1649
1649
|
//#endregion
|
|
1650
1650
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1651
|
-
function
|
|
1652
|
-
let n = "fetch", r =
|
|
1653
|
-
return
|
|
1651
|
+
function Zr(e, t) {
|
|
1652
|
+
let n = "fetch", r = z(n, e);
|
|
1653
|
+
return B(n, () => Qr(void 0, t)), r;
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1656
|
-
t && !
|
|
1655
|
+
function Qr(e, t = !1) {
|
|
1656
|
+
t && !Xr() || C(F, "fetch", function(t) {
|
|
1657
1657
|
return function(...n) {
|
|
1658
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1658
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = ti(n), o = {
|
|
1659
1659
|
args: n,
|
|
1660
1660
|
fetchData: {
|
|
1661
1661
|
method: i,
|
|
1662
1662
|
url: a
|
|
1663
1663
|
},
|
|
1664
|
-
startTimestamp:
|
|
1664
|
+
startTimestamp: g() * 1e3,
|
|
1665
1665
|
virtualError: r,
|
|
1666
|
-
headers:
|
|
1666
|
+
headers: ni(n)
|
|
1667
1667
|
};
|
|
1668
|
-
return e ||
|
|
1668
|
+
return e || V("fetch", { ...o }), t.apply(F, n).then(async (t) => (e ? e(t) : V("fetch", {
|
|
1669
1669
|
...o,
|
|
1670
|
-
endTimestamp:
|
|
1670
|
+
endTimestamp: g() * 1e3,
|
|
1671
1671
|
response: t
|
|
1672
1672
|
}), t), (e) => {
|
|
1673
1673
|
var t;
|
|
1674
|
-
|
|
1674
|
+
V("fetch", {
|
|
1675
1675
|
...o,
|
|
1676
|
-
endTimestamp:
|
|
1676
|
+
endTimestamp: g() * 1e3,
|
|
1677
1677
|
error: e
|
|
1678
|
-
}),
|
|
1679
|
-
let n =
|
|
1678
|
+
}), he(e) && e.stack === void 0 && (e.stack = r.stack, D(e, "framesToPop", 1));
|
|
1679
|
+
let n = E(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1680
1680
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1681
1681
|
let t = new URL(o.fetchData.url).host;
|
|
1682
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1682
|
+
i === "always" ? e.message = `${e.message} (${t})` : D(e, "__sentry_fetch_url_host__", t);
|
|
1683
1683
|
} catch {}
|
|
1684
1684
|
throw e;
|
|
1685
1685
|
});
|
|
1686
1686
|
};
|
|
1687
1687
|
});
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1689
|
+
function $r(e, t) {
|
|
1690
1690
|
return !!e && typeof e == "object" && !!e[t];
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1693
|
-
return typeof e == "string" ? e : e ?
|
|
1692
|
+
function ei(e) {
|
|
1693
|
+
return typeof e == "string" ? e : e ? $r(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function ti(e) {
|
|
1696
1696
|
if (e.length === 0) return {
|
|
1697
1697
|
method: "GET",
|
|
1698
1698
|
url: ""
|
|
@@ -1700,35 +1700,35 @@ function ri(e) {
|
|
|
1700
1700
|
if (e.length === 2) {
|
|
1701
1701
|
let [t, n] = e;
|
|
1702
1702
|
return {
|
|
1703
|
-
url:
|
|
1704
|
-
method:
|
|
1703
|
+
url: ei(t),
|
|
1704
|
+
method: $r(n, "method") ? String(n.method).toUpperCase() : Ae(t) && $r(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1705
1705
|
};
|
|
1706
1706
|
}
|
|
1707
1707
|
let t = e[0];
|
|
1708
1708
|
return {
|
|
1709
|
-
url:
|
|
1710
|
-
method:
|
|
1709
|
+
url: ei(t),
|
|
1710
|
+
method: $r(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1711
1711
|
};
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function ni(e) {
|
|
1714
1714
|
let [t, n] = e;
|
|
1715
1715
|
try {
|
|
1716
1716
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1717
|
-
if (
|
|
1717
|
+
if (Ae(t)) return new Headers(t.headers);
|
|
1718
1718
|
} catch {}
|
|
1719
1719
|
}
|
|
1720
1720
|
//#endregion
|
|
1721
1721
|
//#region ../../node_modules/.pnpm/@sentry+core@10.57.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1722
|
-
var
|
|
1723
|
-
function
|
|
1722
|
+
var ri = F;
|
|
1723
|
+
function ii() {
|
|
1724
1724
|
try {
|
|
1725
|
-
return
|
|
1725
|
+
return ri.document.location.href;
|
|
1726
1726
|
} catch {
|
|
1727
1727
|
return "";
|
|
1728
1728
|
}
|
|
1729
1729
|
}
|
|
1730
|
-
function
|
|
1731
|
-
if (!
|
|
1730
|
+
function ai(e, t = 5) {
|
|
1731
|
+
if (!ri.HTMLElement) return null;
|
|
1732
1732
|
let n = e;
|
|
1733
1733
|
for (let e = 0; e < t; e++) {
|
|
1734
1734
|
if (!n) return null;
|
|
@@ -1742,13 +1742,13 @@ function si(e, t = 5) {
|
|
|
1742
1742
|
}
|
|
1743
1743
|
//#endregion
|
|
1744
1744
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1745
|
-
var J =
|
|
1746
|
-
function
|
|
1747
|
-
return
|
|
1745
|
+
var J = F, oi = 0;
|
|
1746
|
+
function si() {
|
|
1747
|
+
return oi > 0;
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1750
|
-
|
|
1751
|
-
|
|
1749
|
+
function ci() {
|
|
1750
|
+
oi++, setTimeout(() => {
|
|
1751
|
+
oi--;
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
1754
|
function Y(e, t = {}) {
|
|
@@ -1764,25 +1764,25 @@ function Y(e, t = {}) {
|
|
|
1764
1764
|
return e;
|
|
1765
1765
|
}
|
|
1766
1766
|
let r = function(...n) {
|
|
1767
|
-
|
|
1767
|
+
F._sentryWrappedDepth = (F._sentryWrappedDepth || 0) + 1;
|
|
1768
1768
|
try {
|
|
1769
1769
|
let r = n.map((e) => Y(e, t));
|
|
1770
1770
|
return e.apply(this, r);
|
|
1771
1771
|
} catch (e) {
|
|
1772
|
-
throw
|
|
1773
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1772
|
+
throw ci(), re((r) => {
|
|
1773
|
+
r.addEventProcessor((e) => (t.mechanism && (oe(e, void 0, void 0), A(e, t.mechanism)), e.extra = {
|
|
1774
1774
|
...e.extra,
|
|
1775
1775
|
arguments: n
|
|
1776
|
-
}, e)),
|
|
1776
|
+
}, e)), Fe(e);
|
|
1777
1777
|
}), e;
|
|
1778
1778
|
} finally {
|
|
1779
|
-
|
|
1779
|
+
F._sentryWrappedDepth = (F._sentryWrappedDepth || 0) - 1;
|
|
1780
1780
|
}
|
|
1781
1781
|
};
|
|
1782
1782
|
try {
|
|
1783
1783
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1784
1784
|
} catch {}
|
|
1785
|
-
|
|
1785
|
+
ie(r, e), D(e, "__sentry_wrapped__", r);
|
|
1786
1786
|
try {
|
|
1787
1787
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1788
1788
|
return e.name;
|
|
@@ -1790,8 +1790,8 @@ function Y(e, t = {}) {
|
|
|
1790
1790
|
} catch {}
|
|
1791
1791
|
return r;
|
|
1792
1792
|
}
|
|
1793
|
-
function
|
|
1794
|
-
let e =
|
|
1793
|
+
function li() {
|
|
1794
|
+
let e = ii(), { referrer: t } = J.document || {}, { userAgent: n } = J.navigator || {};
|
|
1795
1795
|
return {
|
|
1796
1796
|
url: e,
|
|
1797
1797
|
headers: {
|
|
@@ -1802,102 +1802,102 @@ function di() {
|
|
|
1802
1802
|
}
|
|
1803
1803
|
//#endregion
|
|
1804
1804
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1805
|
-
function
|
|
1806
|
-
let n =
|
|
1807
|
-
type:
|
|
1808
|
-
value:
|
|
1805
|
+
function ui(e, t) {
|
|
1806
|
+
let n = pi(e, t), r = {
|
|
1807
|
+
type: vi(t),
|
|
1808
|
+
value: yi(t)
|
|
1809
1809
|
};
|
|
1810
1810
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1811
1811
|
}
|
|
1812
|
-
function
|
|
1813
|
-
let i =
|
|
1812
|
+
function di(e, t, n, r) {
|
|
1813
|
+
let i = E(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Ei(t), s = { __serialized__: _(t, a) };
|
|
1814
1814
|
if (o) return {
|
|
1815
|
-
exception: { values: [
|
|
1815
|
+
exception: { values: [ui(e, o)] },
|
|
1816
1816
|
extra: s
|
|
1817
1817
|
};
|
|
1818
1818
|
let c = {
|
|
1819
1819
|
exception: { values: [{
|
|
1820
|
-
type:
|
|
1821
|
-
value:
|
|
1820
|
+
type: h(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1821
|
+
value: wi(t, { isUnhandledRejection: r })
|
|
1822
1822
|
}] },
|
|
1823
1823
|
extra: s
|
|
1824
1824
|
};
|
|
1825
1825
|
if (n) {
|
|
1826
|
-
let t =
|
|
1826
|
+
let t = pi(e, n);
|
|
1827
1827
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1828
1828
|
}
|
|
1829
1829
|
return c;
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1832
|
-
return { exception: { values: [
|
|
1831
|
+
function fi(e, t) {
|
|
1832
|
+
return { exception: { values: [ui(e, t)] } };
|
|
1833
1833
|
}
|
|
1834
|
-
function
|
|
1835
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1834
|
+
function pi(e, t) {
|
|
1835
|
+
let n = t.stacktrace || t.stack || "", r = hi(t), i = gi(t);
|
|
1836
1836
|
try {
|
|
1837
1837
|
return e(n, r, i);
|
|
1838
1838
|
} catch {}
|
|
1839
1839
|
return [];
|
|
1840
1840
|
}
|
|
1841
|
-
var
|
|
1842
|
-
function
|
|
1843
|
-
return e &&
|
|
1841
|
+
var mi = /Minified React error #\d+;/i;
|
|
1842
|
+
function hi(e) {
|
|
1843
|
+
return e && mi.test(e.message) ? 1 : 0;
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1845
|
+
function gi(e) {
|
|
1846
1846
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1848
|
+
function _i(e) {
|
|
1849
1849
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1850
1850
|
}
|
|
1851
|
-
function
|
|
1851
|
+
function vi(e) {
|
|
1852
1852
|
let t = e == null ? void 0 : e.name;
|
|
1853
|
-
return !t &&
|
|
1853
|
+
return !t && _i(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function yi(e) {
|
|
1856
1856
|
let t = e == null ? void 0 : e.message;
|
|
1857
|
-
return
|
|
1857
|
+
return _i(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? jr(t.error) : jr(e) : "No error message";
|
|
1858
1858
|
}
|
|
1859
|
-
function
|
|
1860
|
-
let i =
|
|
1861
|
-
return
|
|
1859
|
+
function bi(e, t, n, r) {
|
|
1860
|
+
let i = Si(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1861
|
+
return A(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), xe(i);
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1864
|
-
let a =
|
|
1865
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
1863
|
+
function xi(e, t, n = "info", r, i) {
|
|
1864
|
+
let a = Ci(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1865
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), xe(a);
|
|
1866
1866
|
}
|
|
1867
|
-
function
|
|
1867
|
+
function Si(e, t, n, r, i) {
|
|
1868
1868
|
let a;
|
|
1869
|
-
if (
|
|
1870
|
-
if (
|
|
1869
|
+
if (le(t) && t.error) return fi(e, t.error);
|
|
1870
|
+
if (me(t) || pe(t)) {
|
|
1871
1871
|
let i = t;
|
|
1872
1872
|
if ("stack" in t) {
|
|
1873
1873
|
var o;
|
|
1874
|
-
a =
|
|
1874
|
+
a = fi(e, t);
|
|
1875
1875
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1876
1876
|
if (r && n && i && !i.stacktrace) {
|
|
1877
|
-
let t =
|
|
1878
|
-
t.length && (i.stacktrace = { frames: t },
|
|
1877
|
+
let t = pi(e, n);
|
|
1878
|
+
t.length && (i.stacktrace = { frames: t }, A(a, { synthetic: !0 }));
|
|
1879
1879
|
}
|
|
1880
1880
|
} else {
|
|
1881
|
-
let t = i.name || (
|
|
1882
|
-
a =
|
|
1881
|
+
let t = i.name || (me(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1882
|
+
a = Ci(e, o, n, r), oe(a, o);
|
|
1883
1883
|
}
|
|
1884
1884
|
return "code" in i && (a.tags = {
|
|
1885
1885
|
...a.tags,
|
|
1886
1886
|
"DOMException.code": `${i.code}`
|
|
1887
1887
|
}), a;
|
|
1888
1888
|
}
|
|
1889
|
-
return
|
|
1889
|
+
return he(t) ? fi(e, t) : M(t) || h(t) ? (a = di(e, t, n, i), A(a, { synthetic: !0 }), a) : (a = Ci(e, t, n, r), oe(a, `${t}`, void 0), A(a, { synthetic: !0 }), a);
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1891
|
+
function Ci(e, t, n, r) {
|
|
1892
1892
|
let i = {};
|
|
1893
1893
|
if (r && n) {
|
|
1894
|
-
let r =
|
|
1894
|
+
let r = pi(e, n);
|
|
1895
1895
|
r.length && (i.exception = { values: [{
|
|
1896
1896
|
value: t,
|
|
1897
1897
|
stacktrace: { frames: r }
|
|
1898
|
-
}] }),
|
|
1898
|
+
}] }), A(i, { synthetic: !0 });
|
|
1899
1899
|
}
|
|
1900
|
-
if (
|
|
1900
|
+
if (We(t)) {
|
|
1901
1901
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
1902
1902
|
return i.logentry = {
|
|
1903
1903
|
message: e,
|
|
@@ -1906,26 +1906,26 @@ function Ti(e, t, n, r) {
|
|
|
1906
1906
|
}
|
|
1907
1907
|
return i.message = t, i;
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1910
|
-
let n =
|
|
1911
|
-
return
|
|
1909
|
+
function wi(e, { isUnhandledRejection: t }) {
|
|
1910
|
+
let n = b(e), r = t ? "promise rejection" : "exception";
|
|
1911
|
+
return le(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : h(e) ? `Event \`${Ti(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1912
1912
|
}
|
|
1913
|
-
function
|
|
1913
|
+
function Ti(e) {
|
|
1914
1914
|
try {
|
|
1915
1915
|
let t = Object.getPrototypeOf(e);
|
|
1916
1916
|
return t ? t.constructor.name : void 0;
|
|
1917
1917
|
} catch {}
|
|
1918
1918
|
}
|
|
1919
|
-
function
|
|
1919
|
+
function Ei(e) {
|
|
1920
1920
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1921
1921
|
}
|
|
1922
1922
|
//#endregion
|
|
1923
1923
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1924
|
-
var
|
|
1924
|
+
var Di = class extends Wn {
|
|
1925
1925
|
constructor(e) {
|
|
1926
1926
|
var t, n;
|
|
1927
|
-
let r =
|
|
1928
|
-
|
|
1927
|
+
let r = Oi(e);
|
|
1928
|
+
or(r, "browser", ["browser"], J.SENTRY_SDK_SOURCE || nn()), super(r);
|
|
1929
1929
|
let { userInfo: i } = this.getDataCollectionOptions();
|
|
1930
1930
|
(t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1931
1931
|
infer_ip: i ? "auto" : "never",
|
|
@@ -1934,19 +1934,19 @@ var ki = class extends Kn {
|
|
|
1934
1934
|
let { sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
1935
1935
|
J.document && (a || o || l) && J.document.addEventListener("visibilitychange", () => {
|
|
1936
1936
|
J.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && ln(this), l && mn(this));
|
|
1937
|
-
}), i && this.on("beforeSendSession",
|
|
1937
|
+
}), i && this.on("beforeSendSession", ar);
|
|
1938
1938
|
}
|
|
1939
1939
|
eventFromException(e, t) {
|
|
1940
|
-
return
|
|
1940
|
+
return bi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1941
1941
|
}
|
|
1942
1942
|
eventFromMessage(e, t = "info", n) {
|
|
1943
|
-
return
|
|
1943
|
+
return xi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1944
1944
|
}
|
|
1945
1945
|
_prepareEvent(e, t, n, r) {
|
|
1946
1946
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1947
1947
|
}
|
|
1948
1948
|
};
|
|
1949
|
-
function
|
|
1949
|
+
function Oi(e) {
|
|
1950
1950
|
var t;
|
|
1951
1951
|
return {
|
|
1952
1952
|
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = J.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
@@ -1957,18 +1957,18 @@ function Ai(e) {
|
|
|
1957
1957
|
}
|
|
1958
1958
|
//#endregion
|
|
1959
1959
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1960
|
-
var
|
|
1961
|
-
function
|
|
1960
|
+
var ki = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, X = F, Ai = 80;
|
|
1961
|
+
function ji(e, t = {}) {
|
|
1962
1962
|
if (!e) return "<unknown>";
|
|
1963
1963
|
try {
|
|
1964
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength ||
|
|
1965
|
-
for (; n && i++ < 5 && (o =
|
|
1964
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Ai;
|
|
1965
|
+
for (; n && i++ < 5 && (o = Mi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = n.parentNode;
|
|
1966
1966
|
return r.reverse().join(" > ");
|
|
1967
1967
|
} catch {
|
|
1968
1968
|
return "<unknown>";
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
|
-
function
|
|
1971
|
+
function Mi(e, t) {
|
|
1972
1972
|
let n = e, r = [];
|
|
1973
1973
|
if (!(n != null && n.tagName)) return "";
|
|
1974
1974
|
if (typeof HTMLElement < "u" && n instanceof HTMLElement && n.dataset) {
|
|
@@ -1983,7 +1983,7 @@ function Pi(e, t) {
|
|
|
1983
1983
|
else {
|
|
1984
1984
|
n.id && r.push(`#${n.id}`);
|
|
1985
1985
|
let e = n.className;
|
|
1986
|
-
if (e &&
|
|
1986
|
+
if (e && k(e)) {
|
|
1987
1987
|
let t = e.split(/\s+/);
|
|
1988
1988
|
for (let e of t) r.push(`.${e}`);
|
|
1989
1989
|
}
|
|
@@ -2002,29 +2002,29 @@ function Pi(e, t) {
|
|
|
2002
2002
|
}
|
|
2003
2003
|
//#endregion
|
|
2004
2004
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/dom.js
|
|
2005
|
-
var
|
|
2006
|
-
function
|
|
2007
|
-
|
|
2005
|
+
var Ni = 1e3, Pi, Fi, Ii;
|
|
2006
|
+
function Li(e) {
|
|
2007
|
+
z("dom", e), B("dom", Ri);
|
|
2008
2008
|
}
|
|
2009
|
-
function
|
|
2009
|
+
function Ri() {
|
|
2010
2010
|
if (!X.document) return;
|
|
2011
|
-
let e =
|
|
2011
|
+
let e = V.bind(null, "dom"), t = Vi(e, !0);
|
|
2012
2012
|
X.document.addEventListener("click", t, !1), X.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2013
2013
|
var n, r;
|
|
2014
2014
|
let i = (n = X[t]) == null ? void 0 : n.prototype;
|
|
2015
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2015
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (C(i, "addEventListener", function(t) {
|
|
2016
2016
|
return function(n, r, i) {
|
|
2017
2017
|
if (n === "click" || n == "keypress") try {
|
|
2018
2018
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
2019
2019
|
if (!a.handler) {
|
|
2020
|
-
let r =
|
|
2020
|
+
let r = Vi(e);
|
|
2021
2021
|
a.handler = r, t.call(this, n, r, i);
|
|
2022
2022
|
}
|
|
2023
2023
|
a.refCount++;
|
|
2024
2024
|
} catch {}
|
|
2025
2025
|
return t.call(this, n, r, i);
|
|
2026
2026
|
};
|
|
2027
|
-
}),
|
|
2027
|
+
}), C(i, "removeEventListener", function(e) {
|
|
2028
2028
|
return function(t, n, r) {
|
|
2029
2029
|
if (t === "click" || t == "keypress") try {
|
|
2030
2030
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -2035,33 +2035,33 @@ function Bi() {
|
|
|
2035
2035
|
}));
|
|
2036
2036
|
});
|
|
2037
2037
|
}
|
|
2038
|
-
function
|
|
2039
|
-
if (e.type !==
|
|
2038
|
+
function zi(e) {
|
|
2039
|
+
if (e.type !== Fi) return !1;
|
|
2040
2040
|
try {
|
|
2041
|
-
if (!e.target || e.target._sentryId !==
|
|
2041
|
+
if (!e.target || e.target._sentryId !== Ii) return !1;
|
|
2042
2042
|
} catch {}
|
|
2043
2043
|
return !0;
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2045
|
+
function Bi(e, t) {
|
|
2046
2046
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
2047
2047
|
}
|
|
2048
|
-
function
|
|
2048
|
+
function Vi(e, t = !1) {
|
|
2049
2049
|
return (n) => {
|
|
2050
2050
|
if (!n || n._sentryCaptured) return;
|
|
2051
|
-
let r =
|
|
2052
|
-
if (
|
|
2053
|
-
|
|
2051
|
+
let r = Hi(n);
|
|
2052
|
+
if (Bi(n.type, r)) return;
|
|
2053
|
+
D(n, "_sentryCaptured", !0), r && !r._sentryId && D(r, "_sentryId", y());
|
|
2054
2054
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2055
|
-
|
|
2055
|
+
zi(n) || (e({
|
|
2056
2056
|
event: n,
|
|
2057
2057
|
name: i,
|
|
2058
2058
|
global: t
|
|
2059
|
-
}),
|
|
2060
|
-
|
|
2061
|
-
},
|
|
2059
|
+
}), Fi = n.type, Ii = r ? r._sentryId : void 0), clearTimeout(Pi), Pi = X.setTimeout(() => {
|
|
2060
|
+
Ii = void 0, Fi = void 0;
|
|
2061
|
+
}, Ni);
|
|
2062
2062
|
};
|
|
2063
2063
|
}
|
|
2064
|
-
function
|
|
2064
|
+
function Hi(e) {
|
|
2065
2065
|
try {
|
|
2066
2066
|
return e.target;
|
|
2067
2067
|
} catch {
|
|
@@ -2070,26 +2070,26 @@ function Wi(e) {
|
|
|
2070
2070
|
}
|
|
2071
2071
|
//#endregion
|
|
2072
2072
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
|
|
2073
|
-
var
|
|
2074
|
-
function
|
|
2073
|
+
var Ui;
|
|
2074
|
+
function Wi(e) {
|
|
2075
2075
|
let t = "history";
|
|
2076
|
-
|
|
2076
|
+
z(t, e), B(t, Gi);
|
|
2077
2077
|
}
|
|
2078
|
-
function
|
|
2078
|
+
function Gi() {
|
|
2079
2079
|
if (X.addEventListener("popstate", () => {
|
|
2080
|
-
let e = X.location.href, t =
|
|
2081
|
-
|
|
2080
|
+
let e = X.location.href, t = Ui;
|
|
2081
|
+
Ui = e, t !== e && V("history", {
|
|
2082
2082
|
from: t,
|
|
2083
2083
|
to: e
|
|
2084
2084
|
});
|
|
2085
|
-
}), !
|
|
2085
|
+
}), !qr()) return;
|
|
2086
2086
|
function e(e) {
|
|
2087
2087
|
return function(...t) {
|
|
2088
2088
|
let n = t.length > 2 ? t[2] : void 0;
|
|
2089
2089
|
if (n) {
|
|
2090
|
-
let r =
|
|
2091
|
-
if (
|
|
2092
|
-
|
|
2090
|
+
let r = Ui, i = Ki(String(n));
|
|
2091
|
+
if (Ui = i, r === i) return e.apply(this, t);
|
|
2092
|
+
V("history", {
|
|
2093
2093
|
from: r,
|
|
2094
2094
|
to: i
|
|
2095
2095
|
});
|
|
@@ -2097,9 +2097,9 @@ function qi() {
|
|
|
2097
2097
|
return e.apply(this, t);
|
|
2098
2098
|
};
|
|
2099
2099
|
}
|
|
2100
|
-
|
|
2100
|
+
C(X.history, "pushState", e), C(X.history, "replaceState", e);
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2102
|
+
function Ki(e) {
|
|
2103
2103
|
try {
|
|
2104
2104
|
return new URL(e, X.location.origin).toString();
|
|
2105
2105
|
} catch {
|
|
@@ -2108,12 +2108,12 @@ function Ji(e) {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
//#endregion
|
|
2110
2110
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js
|
|
2111
|
-
var
|
|
2112
|
-
function
|
|
2113
|
-
let t =
|
|
2111
|
+
var qi = {};
|
|
2112
|
+
function Ji(e) {
|
|
2113
|
+
let t = qi[e];
|
|
2114
2114
|
if (t) return t;
|
|
2115
2115
|
let n = X[e];
|
|
2116
|
-
if (
|
|
2116
|
+
if (Yr(n)) return qi[e] = n.bind(X);
|
|
2117
2117
|
let r = X.document;
|
|
2118
2118
|
if (r && typeof r.createElement == "function") try {
|
|
2119
2119
|
let t = r.createElement("iframe");
|
|
@@ -2121,24 +2121,24 @@ function Xi(e) {
|
|
|
2121
2121
|
let i = t.contentWindow;
|
|
2122
2122
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2123
2123
|
} catch (t) {
|
|
2124
|
-
|
|
2124
|
+
ki && N.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2125
2125
|
}
|
|
2126
|
-
return n && (
|
|
2126
|
+
return n && (qi[e] = n.bind(X));
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2129
|
-
|
|
2128
|
+
function Yi(e) {
|
|
2129
|
+
qi[e] = void 0;
|
|
2130
2130
|
}
|
|
2131
2131
|
//#endregion
|
|
2132
2132
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js
|
|
2133
2133
|
var Z = "__sentry_xhr_v3__";
|
|
2134
|
-
function
|
|
2135
|
-
|
|
2134
|
+
function Xi(e) {
|
|
2135
|
+
z("xhr", e), B("xhr", Zi);
|
|
2136
2136
|
}
|
|
2137
|
-
function
|
|
2137
|
+
function Zi() {
|
|
2138
2138
|
if (!X.XMLHttpRequest) return;
|
|
2139
2139
|
let e = XMLHttpRequest.prototype;
|
|
2140
2140
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2141
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
2141
|
+
let r = /* @__PURE__ */ Error(), i = g() * 1e3, a = k(n[0]) ? n[0].toUpperCase() : void 0, o = Qi(n[1]);
|
|
2142
2142
|
if (!a || !o) return e.apply(t, n);
|
|
2143
2143
|
t[Z] = {
|
|
2144
2144
|
method: a,
|
|
@@ -2151,8 +2151,8 @@ function $i() {
|
|
|
2151
2151
|
try {
|
|
2152
2152
|
e.status_code = t.status;
|
|
2153
2153
|
} catch {}
|
|
2154
|
-
|
|
2155
|
-
endTimestamp:
|
|
2154
|
+
V("xhr", {
|
|
2155
|
+
endTimestamp: g() * 1e3,
|
|
2156
2156
|
startTimestamp: i,
|
|
2157
2157
|
xhr: t,
|
|
2158
2158
|
virtualError: r
|
|
@@ -2163,25 +2163,25 @@ function $i() {
|
|
|
2163
2163
|
return s(), e.apply(t, n);
|
|
2164
2164
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
2165
2165
|
let [r, i] = n, a = t[Z];
|
|
2166
|
-
return a &&
|
|
2166
|
+
return a && k(r) && k(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
2167
2167
|
} }), e.apply(t, n);
|
|
2168
2168
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
2169
2169
|
let r = t[Z];
|
|
2170
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
2171
|
-
startTimestamp:
|
|
2170
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), V("xhr", {
|
|
2171
|
+
startTimestamp: g() * 1e3,
|
|
2172
2172
|
xhr: t
|
|
2173
2173
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2174
2174
|
} });
|
|
2175
2175
|
}
|
|
2176
|
-
function
|
|
2177
|
-
if (
|
|
2176
|
+
function Qi(e) {
|
|
2177
|
+
if (k(e)) return e;
|
|
2178
2178
|
try {
|
|
2179
2179
|
return e.toString();
|
|
2180
2180
|
} catch {}
|
|
2181
2181
|
}
|
|
2182
2182
|
//#endregion
|
|
2183
2183
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.57.0/node_modules/@sentry-internal/browser-utils/build/esm/is.js
|
|
2184
|
-
function
|
|
2184
|
+
function $i(e) {
|
|
2185
2185
|
if (typeof Element > "u") return !1;
|
|
2186
2186
|
try {
|
|
2187
2187
|
return e instanceof Element;
|
|
@@ -2191,8 +2191,8 @@ function ta(e) {
|
|
|
2191
2191
|
}
|
|
2192
2192
|
//#endregion
|
|
2193
2193
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
2194
|
-
var
|
|
2195
|
-
function
|
|
2194
|
+
var ea = 40;
|
|
2195
|
+
function ta(e, t = Ji("fetch")) {
|
|
2196
2196
|
let n = 0, r = 0;
|
|
2197
2197
|
async function i(i) {
|
|
2198
2198
|
let a = i.body.length;
|
|
@@ -2215,17 +2215,17 @@ function ra(e, t = Xi("fetch")) {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
};
|
|
2217
2217
|
} catch (e) {
|
|
2218
|
-
throw
|
|
2218
|
+
throw Yi("fetch"), e;
|
|
2219
2219
|
} finally {
|
|
2220
2220
|
n -= a, r--;
|
|
2221
2221
|
}
|
|
2222
2222
|
}
|
|
2223
|
-
return Dn(e, i, xn(e.bufferSize ||
|
|
2223
|
+
return Dn(e, i, xn(e.bufferSize || ea));
|
|
2224
2224
|
}
|
|
2225
2225
|
//#endregion
|
|
2226
2226
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2227
|
-
var Q = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__,
|
|
2228
|
-
function
|
|
2227
|
+
var Q = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, na = 30, ra = 50;
|
|
2228
|
+
function ia(e, t, n, r) {
|
|
2229
2229
|
let i = {
|
|
2230
2230
|
filename: e,
|
|
2231
2231
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -2233,41 +2233,41 @@ function oa(e, t, n, r) {
|
|
|
2233
2233
|
};
|
|
2234
2234
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2235
2235
|
}
|
|
2236
|
-
var
|
|
2237
|
-
let t = e.match(
|
|
2236
|
+
var aa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, oa = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, sa = /\((\S*)(?::(\d+))(?::(\d+))\)/, ca = /at (.+?) ?\(data:(.+?),/, la = [na, (e) => {
|
|
2237
|
+
let t = e.match(ca);
|
|
2238
2238
|
if (t) return {
|
|
2239
2239
|
filename: `<data:${t[2]}>`,
|
|
2240
2240
|
function: t[1]
|
|
2241
2241
|
};
|
|
2242
|
-
let n =
|
|
2242
|
+
let n = aa.exec(e);
|
|
2243
2243
|
if (n) {
|
|
2244
2244
|
let [, e, t, r] = n;
|
|
2245
|
-
return
|
|
2245
|
+
return ia(e, "?", +t, +r);
|
|
2246
2246
|
}
|
|
2247
|
-
let r =
|
|
2247
|
+
let r = oa.exec(e);
|
|
2248
2248
|
if (r) {
|
|
2249
2249
|
var i;
|
|
2250
2250
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2251
|
-
let e =
|
|
2251
|
+
let e = sa.exec(r[2]);
|
|
2252
2252
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2253
2253
|
}
|
|
2254
|
-
let [e, t] =
|
|
2255
|
-
return
|
|
2254
|
+
let [e, t] = pa(r[1] || "?", r[2]);
|
|
2255
|
+
return ia(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2256
2256
|
}
|
|
2257
|
-
}],
|
|
2258
|
-
let t =
|
|
2257
|
+
}], ua = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, da = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, fa = He(la, [ra, (e) => {
|
|
2258
|
+
let t = ua.exec(e);
|
|
2259
2259
|
if (t) {
|
|
2260
2260
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2261
|
-
let e =
|
|
2261
|
+
let e = da.exec(t[3]);
|
|
2262
2262
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2263
2263
|
}
|
|
2264
2264
|
let e = t[3], n = t[1] || "?";
|
|
2265
|
-
return [n, e] =
|
|
2265
|
+
return [n, e] = pa(n, e), ia(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2266
2266
|
}
|
|
2267
|
-
}]),
|
|
2267
|
+
}]), pa = (e, t) => {
|
|
2268
2268
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2269
2269
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2270
|
-
},
|
|
2270
|
+
}, ma = 1024, ha = "Breadcrumbs", ga = U(((e = {}) => {
|
|
2271
2271
|
let t = {
|
|
2272
2272
|
console: !0,
|
|
2273
2273
|
dom: !0,
|
|
@@ -2278,33 +2278,33 @@ var sa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, ca = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2278
2278
|
...e
|
|
2279
2279
|
};
|
|
2280
2280
|
return {
|
|
2281
|
-
name:
|
|
2281
|
+
name: ha,
|
|
2282
2282
|
setup(e) {
|
|
2283
|
-
t.console &&
|
|
2283
|
+
t.console && Nr(ya(e)), t.dom && Li(va(e, t.dom)), t.xhr && Xi(ba(e)), t.fetch && Zr(xa(e)), t.history && Wi(Sa(e)), t.sentry && e.on("beforeSendEvent", _a(e));
|
|
2284
2284
|
}
|
|
2285
2285
|
};
|
|
2286
2286
|
}));
|
|
2287
|
-
function
|
|
2287
|
+
function _a(e) {
|
|
2288
2288
|
return function(t) {
|
|
2289
|
-
|
|
2289
|
+
E() === e && K({
|
|
2290
2290
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2291
2291
|
event_id: t.event_id,
|
|
2292
2292
|
level: t.level,
|
|
2293
|
-
message:
|
|
2293
|
+
message: w(t)
|
|
2294
2294
|
}, { event: t });
|
|
2295
2295
|
};
|
|
2296
2296
|
}
|
|
2297
|
-
function
|
|
2297
|
+
function va(e, t) {
|
|
2298
2298
|
return function(n) {
|
|
2299
|
-
if (
|
|
2299
|
+
if (E() !== e) return;
|
|
2300
2300
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2301
|
-
o && o >
|
|
2301
|
+
o && o > ma && (Q && N.warn(`\`dom.maxStringLength\` cannot exceed ${ma}, but a value of ${o} was configured. Sentry will use ${ma} instead.`), o = ma), typeof a == "string" && (a = [a]);
|
|
2302
2302
|
try {
|
|
2303
|
-
let e = n.event, t =
|
|
2304
|
-
r =
|
|
2303
|
+
let e = n.event, t = Ca(e) ? e.target : e;
|
|
2304
|
+
r = ji(t, {
|
|
2305
2305
|
keyAttrs: a,
|
|
2306
2306
|
maxStringLength: o
|
|
2307
|
-
}), i =
|
|
2307
|
+
}), i = ai(t);
|
|
2308
2308
|
} catch {
|
|
2309
2309
|
r = "<unknown>";
|
|
2310
2310
|
}
|
|
@@ -2320,19 +2320,19 @@ function ba(e, t) {
|
|
|
2320
2320
|
});
|
|
2321
2321
|
};
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function ya(e) {
|
|
2324
2324
|
return function(t) {
|
|
2325
|
-
if (
|
|
2325
|
+
if (E() !== e) return;
|
|
2326
2326
|
let n = {
|
|
2327
2327
|
category: "console",
|
|
2328
2328
|
data: {
|
|
2329
2329
|
arguments: t.args,
|
|
2330
2330
|
logger: "console"
|
|
2331
2331
|
},
|
|
2332
|
-
level:
|
|
2333
|
-
message:
|
|
2332
|
+
level: Fr(t.level),
|
|
2333
|
+
message: ae(t.args, " ")
|
|
2334
2334
|
};
|
|
2335
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2335
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ae(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2336
2336
|
else return;
|
|
2337
2337
|
K(n, {
|
|
2338
2338
|
input: t.args,
|
|
@@ -2340,9 +2340,9 @@ function xa(e) {
|
|
|
2340
2340
|
});
|
|
2341
2341
|
};
|
|
2342
2342
|
}
|
|
2343
|
-
function
|
|
2343
|
+
function ba(e) {
|
|
2344
2344
|
return function(t) {
|
|
2345
|
-
if (
|
|
2345
|
+
if (E() !== e) return;
|
|
2346
2346
|
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[Z];
|
|
2347
2347
|
if (!n || !r || !i) return;
|
|
2348
2348
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
@@ -2358,14 +2358,14 @@ function Sa(e) {
|
|
|
2358
2358
|
category: "xhr",
|
|
2359
2359
|
data: l,
|
|
2360
2360
|
type: "http",
|
|
2361
|
-
level:
|
|
2361
|
+
level: Kr(s)
|
|
2362
2362
|
};
|
|
2363
2363
|
e.emit("beforeOutgoingRequestBreadcrumb", d, u), K(d, u);
|
|
2364
2364
|
};
|
|
2365
2365
|
}
|
|
2366
|
-
function
|
|
2366
|
+
function xa(e) {
|
|
2367
2367
|
return function(t) {
|
|
2368
|
-
if (
|
|
2368
|
+
if (E() !== e) return;
|
|
2369
2369
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
2370
2370
|
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.error) {
|
|
2371
2371
|
let i = {
|
|
@@ -2393,15 +2393,15 @@ function Ca(e) {
|
|
|
2393
2393
|
category: "fetch",
|
|
2394
2394
|
data: a,
|
|
2395
2395
|
type: "http",
|
|
2396
|
-
level:
|
|
2396
|
+
level: Kr(a.status_code)
|
|
2397
2397
|
};
|
|
2398
2398
|
e.emit("beforeOutgoingRequestBreadcrumb", s, o), K(s, o);
|
|
2399
2399
|
}
|
|
2400
2400
|
};
|
|
2401
2401
|
}
|
|
2402
|
-
function
|
|
2402
|
+
function Sa(e) {
|
|
2403
2403
|
return function(t) {
|
|
2404
|
-
if (
|
|
2404
|
+
if (E() !== e) return;
|
|
2405
2405
|
let n = t.from, r = t.to, i = Vt(J.location.href), a = n ? Vt(n) : void 0, o = Vt(r);
|
|
2406
2406
|
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative), K({
|
|
2407
2407
|
category: "navigation",
|
|
@@ -2412,12 +2412,12 @@ function wa(e) {
|
|
|
2412
2412
|
});
|
|
2413
2413
|
};
|
|
2414
2414
|
}
|
|
2415
|
-
function
|
|
2415
|
+
function Ca(e) {
|
|
2416
2416
|
return !!e && !!e.target;
|
|
2417
2417
|
}
|
|
2418
2418
|
//#endregion
|
|
2419
2419
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2420
|
-
var
|
|
2420
|
+
var wa = "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(","), Ta = "BrowserApiErrors", Ea = U(((e = {}) => {
|
|
2421
2421
|
let t = {
|
|
2422
2422
|
XMLHttpRequest: !0,
|
|
2423
2423
|
eventTarget: !0,
|
|
@@ -2428,33 +2428,33 @@ var Ea = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2428
2428
|
...e
|
|
2429
2429
|
};
|
|
2430
2430
|
return {
|
|
2431
|
-
name:
|
|
2431
|
+
name: Ta,
|
|
2432
2432
|
setupOnce() {
|
|
2433
|
-
t.setTimeout &&
|
|
2433
|
+
t.setTimeout && C(J, "setTimeout", Da), t.setInterval && C(J, "setInterval", Da), t.requestAnimationFrame && C(J, "requestAnimationFrame", Oa), t.XMLHttpRequest && "XMLHttpRequest" in J && C(XMLHttpRequest.prototype, "send", ka);
|
|
2434
2434
|
let e = t.eventTarget;
|
|
2435
|
-
e && (Array.isArray(e) ? e :
|
|
2435
|
+
e && (Array.isArray(e) ? e : wa).forEach((e) => Aa(e, t));
|
|
2436
2436
|
}
|
|
2437
2437
|
};
|
|
2438
2438
|
}));
|
|
2439
|
-
function
|
|
2439
|
+
function Da(e) {
|
|
2440
2440
|
return function(...t) {
|
|
2441
2441
|
let n = t[0];
|
|
2442
2442
|
return t[0] = Y(n, { mechanism: {
|
|
2443
2443
|
handled: !1,
|
|
2444
|
-
type: `auto.browser.browserapierrors.${
|
|
2444
|
+
type: `auto.browser.browserapierrors.${j(e)}`
|
|
2445
2445
|
} }), e.apply(this, t);
|
|
2446
2446
|
};
|
|
2447
2447
|
}
|
|
2448
|
-
function
|
|
2448
|
+
function Oa(e) {
|
|
2449
2449
|
return function(t) {
|
|
2450
2450
|
return e.apply(this, [Y(t, { mechanism: {
|
|
2451
|
-
data: { handler:
|
|
2451
|
+
data: { handler: j(e) },
|
|
2452
2452
|
handled: !1,
|
|
2453
2453
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2454
2454
|
} })]);
|
|
2455
2455
|
};
|
|
2456
2456
|
}
|
|
2457
|
-
function
|
|
2457
|
+
function ka(e) {
|
|
2458
2458
|
return function(...t) {
|
|
2459
2459
|
let n = this;
|
|
2460
2460
|
return [
|
|
@@ -2463,37 +2463,37 @@ function ja(e) {
|
|
|
2463
2463
|
"onprogress",
|
|
2464
2464
|
"onreadystatechange"
|
|
2465
2465
|
].forEach((e) => {
|
|
2466
|
-
e in n && typeof n[e] == "function" &&
|
|
2466
|
+
e in n && typeof n[e] == "function" && C(n, e, function(t) {
|
|
2467
2467
|
let n = { mechanism: {
|
|
2468
|
-
data: { handler:
|
|
2468
|
+
data: { handler: j(t) },
|
|
2469
2469
|
handled: !1,
|
|
2470
2470
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2471
2471
|
} }, r = ze(t);
|
|
2472
|
-
return r && (n.mechanism.data.handler =
|
|
2472
|
+
return r && (n.mechanism.data.handler = j(r)), Y(t, n);
|
|
2473
2473
|
});
|
|
2474
2474
|
}), e.apply(this, t);
|
|
2475
2475
|
};
|
|
2476
2476
|
}
|
|
2477
|
-
function
|
|
2477
|
+
function Aa(e, t) {
|
|
2478
2478
|
var n, r;
|
|
2479
2479
|
let i = (n = J[e]) == null ? void 0 : n.prototype;
|
|
2480
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2480
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (C(i, "addEventListener", function(n) {
|
|
2481
2481
|
return function(r, i, a) {
|
|
2482
2482
|
try {
|
|
2483
|
-
|
|
2483
|
+
ja(i) && (i.handleEvent = Y(i.handleEvent, { mechanism: {
|
|
2484
2484
|
data: {
|
|
2485
|
-
handler:
|
|
2485
|
+
handler: j(i),
|
|
2486
2486
|
target: e
|
|
2487
2487
|
},
|
|
2488
2488
|
handled: !1,
|
|
2489
2489
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2490
2490
|
} }));
|
|
2491
2491
|
} catch {}
|
|
2492
|
-
return t.unregisterOriginalCallbacks &&
|
|
2492
|
+
return t.unregisterOriginalCallbacks && Ma(this, r, i), n.apply(this, [
|
|
2493
2493
|
r,
|
|
2494
2494
|
Y(i, { mechanism: {
|
|
2495
2495
|
data: {
|
|
2496
|
-
handler:
|
|
2496
|
+
handler: j(i),
|
|
2497
2497
|
target: e
|
|
2498
2498
|
},
|
|
2499
2499
|
handled: !1,
|
|
@@ -2502,7 +2502,7 @@ function Ma(e, t) {
|
|
|
2502
2502
|
a
|
|
2503
2503
|
]);
|
|
2504
2504
|
};
|
|
2505
|
-
}),
|
|
2505
|
+
}), C(i, "removeEventListener", function(e) {
|
|
2506
2506
|
return function(t, n, r) {
|
|
2507
2507
|
try {
|
|
2508
2508
|
let i = n.__sentry_wrapped__;
|
|
@@ -2512,38 +2512,38 @@ function Ma(e, t) {
|
|
|
2512
2512
|
};
|
|
2513
2513
|
}));
|
|
2514
2514
|
}
|
|
2515
|
-
function
|
|
2515
|
+
function ja(e) {
|
|
2516
2516
|
return typeof e.handleEvent == "function";
|
|
2517
2517
|
}
|
|
2518
|
-
function
|
|
2518
|
+
function Ma(e, t, n) {
|
|
2519
2519
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2520
2520
|
}
|
|
2521
2521
|
//#endregion
|
|
2522
2522
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2523
|
-
var
|
|
2523
|
+
var Na = U((e = {}) => {
|
|
2524
2524
|
var t;
|
|
2525
2525
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2526
2526
|
return {
|
|
2527
2527
|
name: "BrowserSession",
|
|
2528
2528
|
setupOnce() {
|
|
2529
2529
|
if (J.document === void 0) {
|
|
2530
|
-
Q &&
|
|
2530
|
+
Q && N.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2531
2531
|
return;
|
|
2532
2532
|
}
|
|
2533
|
-
|
|
2534
|
-
let e =
|
|
2533
|
+
ye({ ignoreDuration: !0 }), Be();
|
|
2534
|
+
let e = Je(), t = e.getUser();
|
|
2535
2535
|
e.addScopeListener((e) => {
|
|
2536
2536
|
let n = e.getUser();
|
|
2537
2537
|
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (Be(), t = n);
|
|
2538
|
-
}), n === "route" &&
|
|
2539
|
-
e !== t && (
|
|
2538
|
+
}), n === "route" && Wi(({ from: e, to: t }) => {
|
|
2539
|
+
e !== t && (ye({ ignoreDuration: !0 }), Be());
|
|
2540
2540
|
});
|
|
2541
2541
|
}
|
|
2542
2542
|
};
|
|
2543
|
-
}),
|
|
2544
|
-
name:
|
|
2543
|
+
}), Pa = "CultureContext", Fa = U((() => ({
|
|
2544
|
+
name: Pa,
|
|
2545
2545
|
preprocessEvent(e) {
|
|
2546
|
-
let t =
|
|
2546
|
+
let t = Ia();
|
|
2547
2547
|
if (t) {
|
|
2548
2548
|
var n;
|
|
2549
2549
|
e.contexts = {
|
|
@@ -2556,7 +2556,7 @@ var Fa = G((e = {}) => {
|
|
|
2556
2556
|
}
|
|
2557
2557
|
},
|
|
2558
2558
|
processSegmentSpan(e) {
|
|
2559
|
-
let t =
|
|
2559
|
+
let t = Ia();
|
|
2560
2560
|
t && Ut(e, {
|
|
2561
2561
|
"culture.locale": t.locale,
|
|
2562
2562
|
"culture.timezone": t.timezone,
|
|
@@ -2564,7 +2564,7 @@ var Fa = G((e = {}) => {
|
|
|
2564
2564
|
});
|
|
2565
2565
|
}
|
|
2566
2566
|
})));
|
|
2567
|
-
function
|
|
2567
|
+
function Ia() {
|
|
2568
2568
|
try {
|
|
2569
2569
|
let e = J.Intl;
|
|
2570
2570
|
if (!e) return;
|
|
@@ -2580,28 +2580,28 @@ function Ra() {
|
|
|
2580
2580
|
}
|
|
2581
2581
|
//#endregion
|
|
2582
2582
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2583
|
-
var
|
|
2583
|
+
var La = "GlobalHandlers", Ra = U(((e = {}) => {
|
|
2584
2584
|
let t = {
|
|
2585
2585
|
onerror: !0,
|
|
2586
2586
|
onunhandledrejection: !0,
|
|
2587
2587
|
...e
|
|
2588
2588
|
};
|
|
2589
2589
|
return {
|
|
2590
|
-
name:
|
|
2590
|
+
name: La,
|
|
2591
2591
|
setupOnce() {
|
|
2592
2592
|
Error.stackTraceLimit = 50;
|
|
2593
2593
|
},
|
|
2594
2594
|
setup(e) {
|
|
2595
|
-
t.onerror && (
|
|
2595
|
+
t.onerror && (za(e), Wa("onerror")), t.onunhandledrejection && (Ba(e), Wa("onunhandledrejection"));
|
|
2596
2596
|
}
|
|
2597
2597
|
};
|
|
2598
2598
|
}));
|
|
2599
|
-
function
|
|
2599
|
+
function za(e) {
|
|
2600
2600
|
pt((t) => {
|
|
2601
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2602
|
-
if (
|
|
2603
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2604
|
-
l.level = "error",
|
|
2601
|
+
let { stackParser: n, attachStacktrace: r } = Ga();
|
|
2602
|
+
if (E() !== e || si()) return;
|
|
2603
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ua(Si(n, c || i, void 0, r, !1), a, o, s);
|
|
2604
|
+
l.level = "error", Ue(l, {
|
|
2605
2605
|
originalException: c,
|
|
2606
2606
|
mechanism: {
|
|
2607
2607
|
handled: !1,
|
|
@@ -2610,12 +2610,12 @@ function Va(e) {
|
|
|
2610
2610
|
});
|
|
2611
2611
|
});
|
|
2612
2612
|
}
|
|
2613
|
-
function
|
|
2613
|
+
function Ba(e) {
|
|
2614
2614
|
gt((t) => {
|
|
2615
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2616
|
-
if (
|
|
2617
|
-
let i =
|
|
2618
|
-
a.level = "error",
|
|
2615
|
+
let { stackParser: n, attachStacktrace: r } = Ga();
|
|
2616
|
+
if (E() !== e || si()) return;
|
|
2617
|
+
let i = Va(t), a = P(i) ? Ha(i) : Si(n, i, void 0, r, !0);
|
|
2618
|
+
a.level = "error", Ue(a, {
|
|
2619
2619
|
originalException: i,
|
|
2620
2620
|
mechanism: {
|
|
2621
2621
|
handled: !1,
|
|
@@ -2624,55 +2624,55 @@ function Ha(e) {
|
|
|
2624
2624
|
});
|
|
2625
2625
|
});
|
|
2626
2626
|
}
|
|
2627
|
-
function
|
|
2628
|
-
if (
|
|
2627
|
+
function Va(e) {
|
|
2628
|
+
if (P(e)) return e;
|
|
2629
2629
|
try {
|
|
2630
2630
|
if ("reason" in e) return e.reason;
|
|
2631
2631
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
2632
2632
|
} catch {}
|
|
2633
2633
|
return e;
|
|
2634
2634
|
}
|
|
2635
|
-
function
|
|
2635
|
+
function Ha(e) {
|
|
2636
2636
|
return { exception: { values: [{
|
|
2637
2637
|
type: "UnhandledRejection",
|
|
2638
2638
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2639
2639
|
}] } };
|
|
2640
2640
|
}
|
|
2641
|
-
function
|
|
2641
|
+
function Ua(e, t, n, r) {
|
|
2642
2642
|
let i = e.exception = e.exception || {}, a = i.values = i.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, c = s.frames = s.frames || [];
|
|
2643
2643
|
if (c.length === 0) {
|
|
2644
2644
|
var l;
|
|
2645
2645
|
c.push({
|
|
2646
2646
|
colno: r,
|
|
2647
2647
|
lineno: n,
|
|
2648
|
-
filename: (l =
|
|
2648
|
+
filename: (l = Ka(t)) == null ? ii() : l,
|
|
2649
2649
|
function: "?",
|
|
2650
2650
|
in_app: !0
|
|
2651
2651
|
});
|
|
2652
2652
|
}
|
|
2653
2653
|
return e;
|
|
2654
2654
|
}
|
|
2655
|
-
function
|
|
2656
|
-
Q &&
|
|
2655
|
+
function Wa(e) {
|
|
2656
|
+
Q && N.log(`Global Handler attached: ${e}`);
|
|
2657
2657
|
}
|
|
2658
|
-
function
|
|
2659
|
-
let e =
|
|
2658
|
+
function Ga() {
|
|
2659
|
+
let e = E();
|
|
2660
2660
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2661
2661
|
stackParser: () => [],
|
|
2662
2662
|
attachStacktrace: !1
|
|
2663
2663
|
};
|
|
2664
2664
|
}
|
|
2665
|
-
function
|
|
2666
|
-
if (!(!
|
|
2665
|
+
function Ka(e) {
|
|
2666
|
+
if (!(!k(e) || e.length === 0)) return e.startsWith("data:") ? `<${Ht(e, !1)}>` : e;
|
|
2667
2667
|
}
|
|
2668
2668
|
//#endregion
|
|
2669
2669
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2670
|
-
var
|
|
2670
|
+
var qa = U(() => ({
|
|
2671
2671
|
name: "HttpContext",
|
|
2672
2672
|
preprocessEvent(e) {
|
|
2673
2673
|
var t;
|
|
2674
2674
|
if (!J.navigator && !J.location && !J.document) return;
|
|
2675
|
-
let n =
|
|
2675
|
+
let n = li(), r = {
|
|
2676
2676
|
...n.headers,
|
|
2677
2677
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2678
2678
|
};
|
|
@@ -2684,101 +2684,101 @@ var Ya = G(() => ({
|
|
|
2684
2684
|
},
|
|
2685
2685
|
processSegmentSpan(e) {
|
|
2686
2686
|
if (!J.navigator && !J.location && !J.document) return;
|
|
2687
|
-
let t =
|
|
2687
|
+
let t = li();
|
|
2688
2688
|
Ut(e, {
|
|
2689
2689
|
"url.full": t.url || void 0,
|
|
2690
2690
|
"http.request.header.user_agent": t.headers["User-Agent"],
|
|
2691
2691
|
"http.request.header.referer": t.headers.Referer
|
|
2692
2692
|
});
|
|
2693
2693
|
}
|
|
2694
|
-
})),
|
|
2695
|
-
let t = e.limit ||
|
|
2694
|
+
})), Ja = "cause", Ya = 5, Xa = "LinkedErrors", Za = U(((e = {}) => {
|
|
2695
|
+
let t = e.limit || Ya, n = e.key || Ja;
|
|
2696
2696
|
return {
|
|
2697
|
-
name:
|
|
2697
|
+
name: Xa,
|
|
2698
2698
|
preprocessEvent(e, r, i) {
|
|
2699
|
-
|
|
2699
|
+
Tr(ui, i.getOptions().stackParser, n, t, e, r);
|
|
2700
2700
|
}
|
|
2701
2701
|
};
|
|
2702
|
-
})),
|
|
2703
|
-
function
|
|
2702
|
+
})), Qa = /^HTML(\w*)Element$/;
|
|
2703
|
+
function $a(e) {
|
|
2704
2704
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2705
2705
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2706
|
-
if (
|
|
2707
|
-
let t =
|
|
2708
|
-
if (
|
|
2706
|
+
if ($i(e)) {
|
|
2707
|
+
let t = eo(e);
|
|
2708
|
+
if (Qa.test(t)) return `[HTMLElement: ${ji(e)}]`;
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
|
-
function
|
|
2711
|
+
function eo(e) {
|
|
2712
2712
|
let t = Object.getPrototypeOf(e);
|
|
2713
2713
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2714
2714
|
}
|
|
2715
2715
|
//#endregion
|
|
2716
2716
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2717
|
-
function
|
|
2718
|
-
return
|
|
2717
|
+
function to() {
|
|
2718
|
+
return no() ? (Q && Te(() => {
|
|
2719
2719
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2720
2720
|
}), !0) : !1;
|
|
2721
2721
|
}
|
|
2722
|
-
function
|
|
2722
|
+
function no() {
|
|
2723
2723
|
var e;
|
|
2724
2724
|
if (J.window === void 0) return !1;
|
|
2725
2725
|
let t = J;
|
|
2726
2726
|
if (t.nw) return !1;
|
|
2727
2727
|
let n = t.chrome || t.browser;
|
|
2728
2728
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2729
|
-
let r =
|
|
2729
|
+
let r = ii();
|
|
2730
2730
|
return !(J === J.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2731
2731
|
}
|
|
2732
2732
|
//#endregion
|
|
2733
2733
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.57.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2734
|
-
function
|
|
2734
|
+
function ro(e) {
|
|
2735
2735
|
return [
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2736
|
+
hr(),
|
|
2737
|
+
dr(),
|
|
2738
|
+
Gr(),
|
|
2739
|
+
Ea(),
|
|
2740
|
+
ga(),
|
|
2741
|
+
Ra(),
|
|
2742
|
+
Za(),
|
|
2743
|
+
Lr(),
|
|
2744
|
+
qa(),
|
|
2745
|
+
Fa(),
|
|
2746
|
+
Na()
|
|
2747
2747
|
];
|
|
2748
2748
|
}
|
|
2749
|
-
function
|
|
2750
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2749
|
+
function io(e = {}) {
|
|
2750
|
+
let t = !e.skipBrowserExtensionCheck && to(), n = e.defaultIntegrations == null ? ro() : e.defaultIntegrations, r = {
|
|
2751
2751
|
...e,
|
|
2752
2752
|
enabled: t ? !1 : e.enabled,
|
|
2753
|
-
stackParser:
|
|
2753
|
+
stackParser: Ke(e.stackParser || fa),
|
|
2754
2754
|
integrations: Zt({
|
|
2755
2755
|
integrations: e.integrations,
|
|
2756
2756
|
defaultIntegrations: n
|
|
2757
2757
|
}),
|
|
2758
|
-
transport: e.transport ||
|
|
2758
|
+
transport: e.transport || ta
|
|
2759
2759
|
};
|
|
2760
|
-
return
|
|
2760
|
+
return fe($a), er(Di, r);
|
|
2761
2761
|
}
|
|
2762
2762
|
//#endregion
|
|
2763
2763
|
//#region ../../node_modules/.pnpm/@sentry+react@10.57.0_react@19.2.7/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2764
|
-
function
|
|
2765
|
-
return
|
|
2764
|
+
function ao(e) {
|
|
2765
|
+
return M(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2766
2766
|
}
|
|
2767
2767
|
//#endregion
|
|
2768
2768
|
//#region ../../node_modules/.pnpm/@sentry+react@10.57.0_react@19.2.7/node_modules/@sentry/react/build/esm/sdk.js
|
|
2769
|
-
function
|
|
2769
|
+
function oo(e) {
|
|
2770
2770
|
let t = { ...e };
|
|
2771
|
-
|
|
2772
|
-
let n =
|
|
2773
|
-
return
|
|
2771
|
+
or(t, "react"), _e("react", { version: rt.version });
|
|
2772
|
+
let n = io(t);
|
|
2773
|
+
return fe(so), n;
|
|
2774
2774
|
}
|
|
2775
|
-
function
|
|
2776
|
-
return
|
|
2775
|
+
function so(e) {
|
|
2776
|
+
return ao(e) ? "[SyntheticEvent]" : $a(e);
|
|
2777
2777
|
}
|
|
2778
2778
|
//#endregion
|
|
2779
2779
|
//#region src/tools/sentry.ts
|
|
2780
|
-
var
|
|
2781
|
-
function
|
|
2780
|
+
var co = "production", lo = "3.7.5";
|
|
2781
|
+
function uo() {
|
|
2782
2782
|
let e = "sentry_offline_queue";
|
|
2783
2783
|
return {
|
|
2784
2784
|
async push(t) {
|
|
@@ -2825,16 +2825,16 @@ function po() {
|
|
|
2825
2825
|
}
|
|
2826
2826
|
};
|
|
2827
2827
|
}
|
|
2828
|
-
function
|
|
2829
|
-
let t =
|
|
2830
|
-
|
|
2828
|
+
function fo(e) {
|
|
2829
|
+
let t = ir(ta);
|
|
2830
|
+
oo({
|
|
2831
2831
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2832
|
-
release:
|
|
2833
|
-
environment:
|
|
2832
|
+
release: lo,
|
|
2833
|
+
environment: co,
|
|
2834
2834
|
sendDefaultPii: !0,
|
|
2835
2835
|
transport: (e) => t({
|
|
2836
2836
|
...e,
|
|
2837
|
-
createStore: () =>
|
|
2837
|
+
createStore: () => uo(),
|
|
2838
2838
|
flushAtStartup: !0,
|
|
2839
2839
|
shouldStore: async (e, t) => {
|
|
2840
2840
|
var n, r, i;
|
|
@@ -2858,14 +2858,14 @@ function mo(e) {
|
|
|
2858
2858
|
beforeSend(e) {
|
|
2859
2859
|
return e;
|
|
2860
2860
|
}
|
|
2861
|
-
}), e.eventId && Ie("eventId", e.eventId), Ie("isWebview", e.isWebview), Ie("source", "vite-main"),
|
|
2861
|
+
}), e.eventId && Ie("eventId", e.eventId), Ie("isWebview", e.isWebview), Ie("source", "vite-main"), Ve({ ip_address: "{{auto}}" }), po();
|
|
2862
2862
|
}
|
|
2863
|
-
function
|
|
2863
|
+
function po() {
|
|
2864
2864
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2865
|
-
|
|
2865
|
+
Fe(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2866
2866
|
});
|
|
2867
2867
|
let e = window.onerror;
|
|
2868
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2868
|
+
window.onerror = (t, n, r, i, a) => (a && Fe(a, { contexts: { windowError: {
|
|
2869
2869
|
message: t,
|
|
2870
2870
|
source: n,
|
|
2871
2871
|
lineno: r,
|
|
@@ -2877,47 +2877,11 @@ function ho() {
|
|
|
2877
2877
|
});
|
|
2878
2878
|
}
|
|
2879
2879
|
//#endregion
|
|
2880
|
-
//#region src/intercom/shouldLoad.ts
|
|
2881
|
-
function go() {
|
|
2882
|
-
let e = new URLSearchParams(window.location.search).get(p), t = m ? window.localStorage.getItem(p) : null, n = e == null ? t : e;
|
|
2883
|
-
return n == null ? m && s() != null : n === "1";
|
|
2884
|
-
}
|
|
2885
|
-
function _o() {
|
|
2886
|
-
let e = window.location.hostname.split(".");
|
|
2887
|
-
return e.length >= 3 && e[e.length - 2] === "expofp" && e[e.length - 1] === "com";
|
|
2888
|
-
}
|
|
2889
|
-
function vo() {
|
|
2890
|
-
return _o() ? window.location.hostname.split(".")[0] : "main";
|
|
2891
|
-
}
|
|
2892
|
-
function yo(e) {
|
|
2893
|
-
if ((e == null ? void 0 : e.free) === !0) return "Free";
|
|
2894
|
-
let t = e == null ? void 0 : e.trialExpiresAt;
|
|
2895
|
-
if (t) {
|
|
2896
|
-
let e = new Date(t).getTime();
|
|
2897
|
-
if (!Number.isNaN(e)) return Date.now() < e ? "Trial Active" : "Trial Expired";
|
|
2898
|
-
}
|
|
2899
|
-
return "Active";
|
|
2900
|
-
}
|
|
2901
|
-
function bo() {
|
|
2902
|
-
return !1;
|
|
2903
|
-
}
|
|
2904
|
-
function xo(e) {
|
|
2905
|
-
return e;
|
|
2906
|
-
}
|
|
2907
|
-
function So(e) {
|
|
2908
|
-
if (bo() || !_o() || go() || !window.navigator.onLine) return null;
|
|
2909
|
-
let t = xo({
|
|
2910
|
-
subDomain: vo(),
|
|
2911
|
-
subscriptionStatus: yo(e)
|
|
2912
|
-
});
|
|
2913
|
-
return t.subDomain !== "demo" && t.subscriptionStatus !== "Free" && t.subscriptionStatus !== "Trial Expired" ? null : t;
|
|
2914
|
-
}
|
|
2915
|
-
//#endregion
|
|
2916
2880
|
//#region src/floorplan.loader.ts
|
|
2917
2881
|
function $() {
|
|
2918
2882
|
throw Error("FloorPlan not ready");
|
|
2919
2883
|
}
|
|
2920
|
-
var
|
|
2884
|
+
var mo = class {
|
|
2921
2885
|
get ready() {
|
|
2922
2886
|
return this._ready;
|
|
2923
2887
|
}
|
|
@@ -3067,87 +3031,86 @@ var Co = class {
|
|
|
3067
3031
|
}
|
|
3068
3032
|
constructor(e) {
|
|
3069
3033
|
var t;
|
|
3070
|
-
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.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = ut && !
|
|
3034
|
+
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.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = ut && !s ? !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.maplibre = e.maplibre, window.__efpMaplibre = e.maplibre, this._ready = new Promise((e, t) => {
|
|
3071
3035
|
this.resolveReady = e;
|
|
3072
3036
|
});
|
|
3073
|
-
let
|
|
3074
|
-
if (this.element =
|
|
3075
|
-
if (
|
|
3076
|
-
let
|
|
3077
|
-
if (!
|
|
3078
|
-
|
|
3079
|
-
eventId:
|
|
3080
|
-
isWebview:
|
|
3081
|
-
}), this.eventId =
|
|
3082
|
-
let
|
|
3083
|
-
|
|
3084
|
-
let
|
|
3085
|
-
if (
|
|
3037
|
+
let a = e.element;
|
|
3038
|
+
if (this.element = a, a.__expofp) throw Error("Element already in use");
|
|
3039
|
+
if (a.__expofp = this, a.getAttribute("data-event-id") || a.getAttribute("data-event")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3040
|
+
let u = e.expo || e.event;
|
|
3041
|
+
if (!u) throw Error("`expo` option is required");
|
|
3042
|
+
fo({
|
|
3043
|
+
eventId: u || "",
|
|
3044
|
+
isWebview: o
|
|
3045
|
+
}), this.eventId = u, window.__efpEvent = u, window.__efpElement = a;
|
|
3046
|
+
let f = document.createElement("div");
|
|
3047
|
+
f.style.height = "100%", f.style.width = "100%", a.appendChild(f);
|
|
3048
|
+
let h;
|
|
3049
|
+
if (o && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
3086
3050
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
3087
3051
|
e && (this.allowConsent = e === "true");
|
|
3088
3052
|
}
|
|
3089
3053
|
if (ct) {
|
|
3090
|
-
|
|
3091
|
-
let e =
|
|
3054
|
+
h = f.attachShadow({ mode: "open" });
|
|
3055
|
+
let e = h, t = document;
|
|
3092
3056
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3093
|
-
} else
|
|
3094
|
-
let
|
|
3095
|
-
if (
|
|
3096
|
-
let
|
|
3097
|
-
window.__dataUrlBase =
|
|
3098
|
-
let
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
],
|
|
3057
|
+
} else h = f;
|
|
3058
|
+
let g = document.createElement("div");
|
|
3059
|
+
if (g.style.height = "100%", g.style.width = "100%", h.appendChild(g), ct && Object.defineProperty(g, "ownerDocument", { value: h }), window.__efpShadowDOMStyleParent = ct ? h : void 0, this.renderTarget = g, a.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3060
|
+
let _ = e.legacyDataUrlBase;
|
|
3061
|
+
window.__dataUrlBase = _, this.dataUrl = _, p.log("Instantiating ExpoFP floorplan", e.element, u);
|
|
3062
|
+
let v = _ + "data.js", ne = _ + "wf.data.js", re = _ + "fp.svg.js", y = [
|
|
3063
|
+
d(ne),
|
|
3064
|
+
d(v),
|
|
3065
|
+
d(re)
|
|
3066
|
+
], b = 0;
|
|
3103
3067
|
this.efpStyleLoadHandler = function(e) {
|
|
3104
3068
|
let t = window.__efpStyleElements;
|
|
3105
|
-
for (;
|
|
3106
|
-
let e = t[
|
|
3107
|
-
|
|
3069
|
+
for (; b < t.length;) {
|
|
3070
|
+
let e = t[b];
|
|
3071
|
+
h.appendChild(e), b++;
|
|
3108
3072
|
}
|
|
3109
3073
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
3110
|
-
let
|
|
3074
|
+
let x = this;
|
|
3111
3075
|
(async function() {
|
|
3112
3076
|
var e, t;
|
|
3113
|
-
await Promise.all(
|
|
3114
|
-
let
|
|
3115
|
-
for (; window.__fpPending && !window.__fp;) await
|
|
3116
|
-
let
|
|
3117
|
-
if (!
|
|
3118
|
-
let { showEventNotFound: e } = await import("./event-not-found-
|
|
3119
|
-
e(
|
|
3077
|
+
await Promise.all(y);
|
|
3078
|
+
let o = 0;
|
|
3079
|
+
for (; window.__fpPending && !window.__fp;) await r(2e3), await d(re + `?v=${++o}`);
|
|
3080
|
+
let s = window.__data;
|
|
3081
|
+
if (!s) {
|
|
3082
|
+
let { showEventNotFound: e } = await import("./event-not-found-DtnrzyTS.js");
|
|
3083
|
+
e(a);
|
|
3120
3084
|
return;
|
|
3121
3085
|
}
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
y = new URL(c.trackerUrl), b = y.searchParams.get("expoId");
|
|
3086
|
+
await te();
|
|
3087
|
+
let g = new URLSearchParams(window.location.search), _, v;
|
|
3088
|
+
if (s != null && s.trackerUrl) try {
|
|
3089
|
+
_ = new URL(s.trackerUrl), v = _.searchParams.get("expoId");
|
|
3127
3090
|
} catch (e) {
|
|
3128
3091
|
console.error(e);
|
|
3129
3092
|
}
|
|
3130
|
-
let
|
|
3131
|
-
if (!
|
|
3132
|
-
let t = new URL(e.dataUrl,
|
|
3093
|
+
let ne = async (e) => {
|
|
3094
|
+
if (!_ || !v) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
3095
|
+
let t = new URL(e.dataUrl, _.origin), n = await fetch(t.toString(), {
|
|
3133
3096
|
method: "POST",
|
|
3134
3097
|
headers: { "Content-Type": "application/json" },
|
|
3135
3098
|
body: JSON.stringify({
|
|
3136
|
-
expoId:
|
|
3137
|
-
token: decodeURIComponent(
|
|
3099
|
+
expoId: v,
|
|
3100
|
+
token: decodeURIComponent(g.get("t"))
|
|
3138
3101
|
})
|
|
3139
3102
|
}), r = [];
|
|
3140
3103
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
3141
3104
|
};
|
|
3142
|
-
if (
|
|
3143
|
-
if (
|
|
3105
|
+
if (g.get("heatmap") === "true") try {
|
|
3106
|
+
if (g.get("type") === "yah") g.get("subtype") === "kiosk" ? await ne({
|
|
3144
3107
|
dataUrl: "/api/kiosks/list/viewer",
|
|
3145
3108
|
dataMapper: (e) => ({
|
|
3146
3109
|
...e,
|
|
3147
3110
|
id: e.key,
|
|
3148
3111
|
name: `Kiosk ${e.key}`
|
|
3149
3112
|
})
|
|
3150
|
-
}) : await
|
|
3113
|
+
}) : await ne({
|
|
3151
3114
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
3152
3115
|
dataMapper: (e, t) => ({
|
|
3153
3116
|
...e,
|
|
@@ -3155,10 +3118,10 @@ var Co = class {
|
|
|
3155
3118
|
})
|
|
3156
3119
|
});
|
|
3157
3120
|
else {
|
|
3158
|
-
let e = new URL("/api/fp-stats/get",
|
|
3159
|
-
e.searchParams.set("expoId",
|
|
3160
|
-
let t = new URL("api/fp-stats/get",
|
|
3161
|
-
t.searchParams.set("expoId",
|
|
3121
|
+
let e = new URL("/api/fp-stats/get", _.origin);
|
|
3122
|
+
e.searchParams.set("expoId", v), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(g.get("t")));
|
|
3123
|
+
let t = new URL("api/fp-stats/get", _.origin);
|
|
3124
|
+
t.searchParams.set("expoId", v), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(g.get("t")));
|
|
3162
3125
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
3163
3126
|
window.__heatmapData = {
|
|
3164
3127
|
booths: i,
|
|
@@ -3169,39 +3132,39 @@ var Co = class {
|
|
|
3169
3132
|
console.error("Heatmap: Initialization error", e);
|
|
3170
3133
|
}
|
|
3171
3134
|
try {
|
|
3172
|
-
let e =
|
|
3135
|
+
let e = n();
|
|
3173
3136
|
if (e) {
|
|
3174
|
-
|
|
3175
|
-
let t =
|
|
3137
|
+
c(e);
|
|
3138
|
+
let t = i("api/rebooking-data", {
|
|
3176
3139
|
rt: e,
|
|
3177
|
-
expoKey:
|
|
3178
|
-
}),
|
|
3179
|
-
|
|
3180
|
-
} else
|
|
3140
|
+
expoKey: u
|
|
3141
|
+
}), n = await fetch(t);
|
|
3142
|
+
n.ok && ot(s, await n.json()), s.isRebooking = n.ok;
|
|
3143
|
+
} else s.isRebooking = !1;
|
|
3181
3144
|
} catch (e) {
|
|
3182
3145
|
console.error(e);
|
|
3183
3146
|
}
|
|
3184
|
-
let
|
|
3185
|
-
ee(
|
|
3186
|
-
ee(
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
it(
|
|
3194
|
-
at(
|
|
3147
|
+
let b = [
|
|
3148
|
+
ee(m + "vendor/sanitize-css/sanitize.css", h),
|
|
3149
|
+
ee(m + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", h),
|
|
3150
|
+
l("Oswald", m + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
3151
|
+
l("Oswald", m + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
3152
|
+
l("Inter", m + "fonts/inter-400.woff2", { weight: 400 }),
|
|
3153
|
+
l("Inter", m + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3154
|
+
l("Inter", m + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3155
|
+
l("efp-symbols", m + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3156
|
+
it(s, h),
|
|
3157
|
+
at(x.icons)
|
|
3195
3158
|
];
|
|
3196
|
-
await Promise.all(
|
|
3197
|
-
let { default:
|
|
3159
|
+
await Promise.all(b), x.enableRotation = (e = s == null ? void 0 : s.enableRotation) == null ? !1 : e, x.alwaysShowSidebar = (t = s == null ? void 0 : s.alwaysShowSidebar) == null ? !1 : t, p.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3160
|
+
let { default: S } = await import(
|
|
3198
3161
|
/* webpackChunkName: "floorplan" */
|
|
3199
|
-
"./floorplan.ready-
|
|
3162
|
+
"./floorplan.ready-DOhcGKtR.js"
|
|
3200
3163
|
);
|
|
3201
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove());
|
|
3202
|
-
Object.setPrototypeOf(
|
|
3164
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); a.firstChild && a.firstChild !== f;) a.removeChild(a.firstChild);
|
|
3165
|
+
Object.setPrototypeOf(x, S.prototype).init();
|
|
3203
3166
|
})();
|
|
3204
3167
|
}
|
|
3205
3168
|
};
|
|
3206
3169
|
//#endregion
|
|
3207
|
-
export { $e as a, Jt as i, Q as n, J as r,
|
|
3170
|
+
export { $e as a, Jt as i, Q as n, J as r, mo as t };
|