@expofp/floorplan 3.4.0 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{CookieConsent-BgzFI0o5.js → CookieConsent-DEAbvKlG.js} +8 -8
- package/dist/browser/{Debug-DwwZ0jVT.js → Debug-CpJwwOld.js} +9 -9
- package/dist/browser/{Demo-Bhv7muKd.js → Demo-oTUiW13k.js} +11 -11
- package/dist/browser/{Free-EaDzP7U5.js → Free-oWrO--p3.js} +12 -12
- package/dist/browser/{Gallery-BFio06PY.js → Gallery-VIYxnMXI.js} +10 -10
- package/dist/browser/{GpsLoader-BhYirpWa.js → GpsLoader-L3iMhaLD.js} +36 -36
- package/dist/browser/{KioskStore-DiTPaFb2.js → KioskStore-DlE-IugZ.js} +31 -31
- package/dist/browser/{MaplibreAdapter-BKj3sK8A.js → MaplibreAdapter-Da1dmw4h.js} +77 -77
- package/dist/browser/{Modal-DVY124d5.js → Modal-BekqxJUr.js} +10 -10
- package/dist/browser/{PermissionNotice-CrAxf_da.js → PermissionNotice-Dgg5x1Kp.js} +7 -7
- package/dist/browser/{SetKioskMode-Cj1IbMbn.js → SetKioskMode-omOc4kgW.js} +20 -20
- package/dist/browser/ShowKiosk-CDyZUm69.js +26 -0
- package/dist/browser/{TouchHand-BdZWU_I1.js → TouchHand-DEQtI3xd.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DbVIwrJO.js → ViewerMenuPanel-D5s1dRXA.js} +15 -15
- package/dist/browser/add-debug-secret-listener-Bk8S6QBl.js +45 -0
- package/dist/browser/{boolean-editor-CIT7g6C5.js → boolean-editor-Z_evwO3E.js} +10 -10
- package/dist/browser/{bootIntercom-CcgHFRAw.js → bootIntercom-D0UY8C6w.js} +2 -2
- package/dist/browser/{box-CydZk4HJ.js → box-BbcogcxD.js} +5 -5
- package/dist/browser/{browser-DlMYMMvJ.js → browser-CgI3xpVN.js} +2 -2
- package/dist/browser/bundle.json +58 -58
- package/dist/browser/{classnames-DmdaKMoa.js → classnames-BsOtQA2L.js} +2 -2
- package/dist/browser/{client-8ygU_jvu.js → client-CMaieNrx.js} +4 -4
- package/dist/browser/{components-BgwIl1Lu.js → components-CTJJKcqy.js} +856 -845
- package/dist/browser/{createWayfinding-D9tuHHx5.js → createWayfinding-BH2LavNR.js} +322 -322
- package/dist/browser/{debug-overlay-Dos3Ate2.js → debug-overlay-DOUebLzr.js} +15 -16
- package/dist/browser/{debug-ui-BjmKfkgV.js → debug-ui-B0L5AFjM.js} +18 -14
- package/dist/browser/{dist-_wJOZ0rm.js → dist-B1bbjHPL.js} +5 -5
- package/dist/browser/{dist-B3Y58WKJ.js → dist-C_JK_XSE.js} +6 -6
- package/dist/browser/{dist-Bm6VKnC2.js → dist-DePRATz7.js} +3 -3
- package/dist/browser/{efp-debug-init-yyCWZRTx.js → efp-debug-init-B0xcudHJ.js} +2 -2
- package/dist/browser/{enum-editor-D8X_uabc.js → enum-editor-BLV_rmjb.js} +11 -11
- package/dist/browser/{event-not-found-Bm_W5xxA.js → event-not-found-BCiSedlf.js} +1 -1
- package/dist/browser/{exports-DnHrfjiU.js → exports-EzILHm5l.js} +1 -1
- package/dist/browser/{favicon-Bnz633J6.js → favicon-BrZccURf.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BunUcQza.js → fetch-retry.umd-ic7jvaXd.js} +2 -2
- package/dist/browser/{flex-DwDJlblp.js → flex-CpUGKJTz.js} +6 -6
- package/dist/browser/{flex.props-BAGkFvkN.js → flex.props-BbX_RHJM.js} +2 -2
- package/dist/browser/{floorplan.loader-B3PUqtqn.js → floorplan.loader-DIZ5epU0.js} +298 -298
- package/dist/browser/{floorplan.ready-BAnq_GdS.js → floorplan.ready-Dvfe9ooo.js} +299 -299
- package/dist/browser/{fuse-Bhsd7fBU.js → fuse-C3nkWq9h.js} +2 -2
- package/dist/browser/{i18n-C5BBGKZk.js → i18n-BvWWeYY6.js} +4 -4
- package/dist/browser/index.js +11 -12
- package/dist/browser/{jsx-runtime-Dk2--jeN.js → jsx-runtime-CpnJUEa4.js} +2 -2
- package/dist/browser/{lib-Brd2BCh_.js → lib-BPxBfHX7.js} +4 -4
- package/dist/browser/{main-pIcuVUIg.js → main-CYnVh6l8.js} +1 -1
- package/dist/browser/{mobx-BfCD0EQ-.js → mobx-BZgEwWpG.js} +5 -5
- package/dist/browser/{particles.min-ChGMv-bm.js → particles.min-AD83LfLz.js} +2 -2
- package/dist/browser/{prop-types-xdXFFTmm.js → prop-types-hzaOy_nc.js} +2 -2
- package/dist/browser/{react-BbZc5Oeq.js → react-5WQEZ4DW.js} +2 -2
- package/dist/browser/{react-dom-BBDOhlbP.js → react-dom-XYvR43j3.js} +3 -3
- package/dist/browser/{reset-all-settings-BQC7zljW.js → reset-all-settings-Dwf-vd5-.js} +13 -10
- package/dist/browser/{rolldown-runtime-DS4W77DU.js → rolldown-runtime-CMoq10W0.js} +1 -1
- package/dist/browser/{settings-CK-qRFM8.js → settings-Dm_PVdCk.js} +2 -2
- package/dist/browser/{settings-item-CUnGC7xO.js → settings-item-CwmE_qfm.js} +6 -6
- package/dist/browser/{storage-0QGL3b8S.js → storage-HvHclW-G.js} +5 -3
- package/dist/browser/{store-Bm4aFC2V.js → store-DytJUKc_.js} +1710 -1699
- package/dist/browser/{string-editor-BNry84Oh.js → string-editor-CKMg83Qb.js} +8 -8
- package/dist/browser/{theme-BIXywNMw.js → theme-DLcXAsUw.js} +8 -8
- package/dist/browser/{ui-AzubEvGd.js → ui-BabbLNs2.js} +9 -9
- package/dist/browser/{useRenderTarget-Bf7cQRFi.js → useRenderTarget-BRwTJ5Il.js} +4 -4
- package/dist/esm/components/AlertContainer.d.ts +3 -1
- package/dist/esm/components/AlertContainer.js +1 -1
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +25 -2
- package/dist/esm/components/EntityItemContainer.js +1 -1
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EntityListRow.d.ts +3 -2
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +1 -1
- package/dist/esm/components/Speakers.js +1 -1
- package/dist/esm/components/index.d.ts +2 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/ui/Alert/Alert.d.ts +1 -1
- package/dist/esm/ui/Alert/Alert.js +1 -1
- package/dist/esm/ui/EntityItem/EntityItem.d.ts +46 -0
- package/dist/esm/ui/EntityItem/EntityItem.js +1 -0
- package/dist/esm/ui/EntityItem/index.d.ts +3 -0
- package/dist/esm/ui/EntityItem/index.js +1 -0
- package/dist/esm/utils/isNumericLevel.d.ts +2 -0
- package/dist/esm/utils/isNumericLevel.js +1 -0
- package/package.json +4 -3
- package/dist/browser/ShowKiosk-CqmJT8yJ.js +0 -26
- package/dist/browser/add-debug-secret-listener-B8gxDWmn.js +0 -26
- package/dist/esm/components/EntityItem.d.ts +0 -44
- package/dist/esm/components/EntityItem.js +0 -1
|
@@ -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.4.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.4.2" };
|
|
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] = "c96ff1fc-1b6e-4a86-a085-56d01664b3f7", e._sentryDebugIdIdentifier = "sentry-dbid-c96ff1fc-1b6e-4a86-a085-56d01664b3f7");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { C as n,
|
|
12
|
-
import { C as
|
|
13
|
-
import { $ as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CMoq10W0.js";
|
|
10
|
+
import { t } from "./react-5WQEZ4DW.js";
|
|
11
|
+
import { C as n, S as r, T as i, c as a, l as o, m as s, s as c, t as l } from "./storage-HvHclW-G.js";
|
|
12
|
+
import { C as u, E as d, T as f, V as p, c as m, i as ee, k as h, ot as g, w as _ } from "./i18n-BvWWeYY6.js";
|
|
13
|
+
import { $ as v, A as y, B as b, C as x, D as te, E as S, F as C, G as ne, H as w, I as re, J as ie, K as T, L as ae, M as oe, N as se, O as ce, P as E, Q as le, R as D, S as O, T as ue, U as de, V as fe, W as k, X as pe, Y as me, Z as he, _ as A, _t as ge, a as _e, at as j, 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 M, k as je, l as Me, lt as N, m as Ne, mt as Pe, n as Fe, nt as Ie, o as Le, ot as Re, p as ze, pt as P, q as Be, r as Ve, rt as F, s as He, st as Ue, t as We, tt as Ge, u as Ke, ut as qe, v as Je, vt as I, w as Ye, x as Xe, y as Ze, yt as L, z as Qe } from "./exports-EzILHm5l.js";
|
|
14
14
|
//#region src/tools/report-error.ts
|
|
15
15
|
var $e;
|
|
16
16
|
function et(e) {
|
|
@@ -30,14 +30,14 @@ function et(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: g.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
|
+
g.info("Sending error report", r), await Promise.all([tt(r), nt(r)]);
|
|
41
41
|
}, 2e3));
|
|
42
42
|
}
|
|
43
43
|
async function tt(e) {
|
|
@@ -46,7 +46,7 @@ async function tt(e) {
|
|
|
46
46
|
headers: { "Content-Type": "application/json" },
|
|
47
47
|
body: JSON.stringify(e)
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
g.log("Reporter response: ", await t.text());
|
|
50
50
|
}
|
|
51
51
|
async function nt(e) {
|
|
52
52
|
let t = rt(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
@@ -54,7 +54,7 @@ async function nt(e) {
|
|
|
54
54
|
headers: { "Content-Type": "application/json" },
|
|
55
55
|
body: JSON.stringify(t)
|
|
56
56
|
});
|
|
57
|
-
|
|
57
|
+
g.log("Slack reporter response: ", await n.text());
|
|
58
58
|
}
|
|
59
59
|
function rt(e) {
|
|
60
60
|
let t = JSON.parse(JSON.stringify(e));
|
|
@@ -86,7 +86,7 @@ var it = /* @__PURE__ */ e(t());
|
|
|
86
86
|
async function at(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 _(e.customCss);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
@@ -102,7 +102,7 @@ async function ot(e) {
|
|
|
102
102
|
transition_down: "icons/transition_down.svg",
|
|
103
103
|
kiosk: "icons/kiosk.svg",
|
|
104
104
|
yah: "icons/yah.svg"
|
|
105
|
-
}).map(([e, t]) =>
|
|
105
|
+
}).map(([e, t]) => a(h + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
106
106
|
} catch (e) {
|
|
107
107
|
console.warn(e);
|
|
108
108
|
}
|
|
@@ -117,7 +117,7 @@ function st(e, t) {
|
|
|
117
117
|
}
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/utils/use-shadow.ts
|
|
120
|
-
var ct, lt = typeof document < "u" && !!((ct = document.body) != null && ct.attachShadow) &&
|
|
120
|
+
var ct, lt = typeof document < "u" && !!((ct = document.body) != null && ct.attachShadow) && m && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: R, protocol: ut } = window.location, dt = R === "localhost" || R === "127.0.0.1" || R === "::1" || R.startsWith("192.168.") || R.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(R) || R.endsWith(".local") || ut === "file:" || R === "", z = {}, ft = {};
|
|
121
121
|
function B(e, t) {
|
|
122
122
|
return z[e] = z[e] || [], z[e].push(t), () => {
|
|
123
123
|
let n = z[e];
|
|
@@ -133,7 +133,7 @@ function V(e, t) {
|
|
|
133
133
|
try {
|
|
134
134
|
t();
|
|
135
135
|
} catch (t) {
|
|
136
|
-
L &&
|
|
136
|
+
L && P.error(`Error while instrumenting ${e}`, t);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -142,9 +142,9 @@ function H(e, t) {
|
|
|
142
142
|
if (n) for (let r of n) try {
|
|
143
143
|
r(t);
|
|
144
144
|
} catch (t) {
|
|
145
|
-
L &&
|
|
145
|
+
L && P.error(`Error while triggering instrumentation handler.
|
|
146
146
|
Type: ${e}
|
|
147
|
-
Name: ${
|
|
147
|
+
Name: ${N(r)}
|
|
148
148
|
Error:`, t);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -156,7 +156,7 @@ function mt(e) {
|
|
|
156
156
|
B(t, e), V(t, ht);
|
|
157
157
|
}
|
|
158
158
|
function ht() {
|
|
159
|
-
pt =
|
|
159
|
+
pt = I.onerror, I.onerror = function(e, t, n, r, i) {
|
|
160
160
|
return H("error", {
|
|
161
161
|
column: r,
|
|
162
162
|
error: i,
|
|
@@ -164,7 +164,7 @@ function ht() {
|
|
|
164
164
|
msg: e,
|
|
165
165
|
url: t
|
|
166
166
|
}), pt ? pt.apply(this, arguments) : !1;
|
|
167
|
-
},
|
|
167
|
+
}, I.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
168
168
|
}
|
|
169
169
|
//#endregion
|
|
170
170
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
@@ -174,9 +174,9 @@ function _t(e) {
|
|
|
174
174
|
B(t, e), V(t, vt);
|
|
175
175
|
}
|
|
176
176
|
function vt() {
|
|
177
|
-
gt =
|
|
177
|
+
gt = I.onunhandledrejection, I.onunhandledrejection = function(e) {
|
|
178
178
|
return H("unhandledrejection", e), gt ? gt.apply(this, arguments) : !0;
|
|
179
|
-
},
|
|
179
|
+
}, I.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
180
180
|
}
|
|
181
181
|
//#endregion
|
|
182
182
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
@@ -188,18 +188,18 @@ function yt(e) {
|
|
|
188
188
|
//#endregion
|
|
189
189
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
190
190
|
function bt(e) {
|
|
191
|
-
|
|
191
|
+
P.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
192
192
|
}
|
|
193
193
|
function xt(e, t) {
|
|
194
194
|
if (!(t != null && t.length)) return !1;
|
|
195
195
|
for (let n of t) {
|
|
196
196
|
if (wt(n)) {
|
|
197
|
-
if (e.description &&
|
|
197
|
+
if (e.description && re(e.description, n)) return L && bt(e), !0;
|
|
198
198
|
continue;
|
|
199
199
|
}
|
|
200
200
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
201
201
|
if (!n.name && !n.op && !t) continue;
|
|
202
|
-
let r = n.name ? e.description &&
|
|
202
|
+
let r = n.name ? e.description && re(e.description, n.name) : !0, i = n.op ? e.op && re(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
203
203
|
var r;
|
|
204
204
|
return St((r = e.attributes) == null ? void 0 : r[t], n);
|
|
205
205
|
}) : !0;
|
|
@@ -208,7 +208,7 @@ function xt(e, t) {
|
|
|
208
208
|
return !1;
|
|
209
209
|
}
|
|
210
210
|
function St(e, t) {
|
|
211
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
211
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? re(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
212
212
|
}
|
|
213
213
|
function Ct(e, t) {
|
|
214
214
|
let n = t.parent_span_id, r = t.span_id;
|
|
@@ -243,7 +243,7 @@ function Ot(e, t) {
|
|
|
243
243
|
return Dt(e, (e, n) => t.includes(n));
|
|
244
244
|
}
|
|
245
245
|
function kt(e) {
|
|
246
|
-
let t =
|
|
246
|
+
let t = De(I);
|
|
247
247
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
248
248
|
}
|
|
249
249
|
function At(e) {
|
|
@@ -317,7 +317,7 @@ function Lt(e, t, n, r) {
|
|
|
317
317
|
event_id: e.event_id,
|
|
318
318
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
319
319
|
...t && { sdk: t },
|
|
320
|
-
...!!n && r && { dsn:
|
|
320
|
+
...!!n && r && { dsn: A(r) },
|
|
321
321
|
...a && { trace: a }
|
|
322
322
|
};
|
|
323
323
|
}
|
|
@@ -344,7 +344,7 @@ function zt(e, t, n, r) {
|
|
|
344
344
|
return U({
|
|
345
345
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
346
346
|
...i && { sdk: i },
|
|
347
|
-
...!!r && t && { dsn:
|
|
347
|
+
...!!r && t && { dsn: A(t) }
|
|
348
348
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
349
349
|
}
|
|
350
350
|
function Bt(e, t, n, r) {
|
|
@@ -409,9 +409,9 @@ function Jt(e, t, n) {
|
|
|
409
409
|
return t || `${Kt(e)}?${qt(e, n)}`;
|
|
410
410
|
}
|
|
411
411
|
function Yt(e, t) {
|
|
412
|
-
let n =
|
|
412
|
+
let n = Je(e);
|
|
413
413
|
if (!n) return "";
|
|
414
|
-
let r = `${Gt(n)}embed/error-page/`, i = `dsn=${
|
|
414
|
+
let r = `${Gt(n)}embed/error-page/`, i = `dsn=${A(n)}`;
|
|
415
415
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
416
416
|
let e = t.user;
|
|
417
417
|
if (!e) continue;
|
|
@@ -455,7 +455,7 @@ function en(e, t) {
|
|
|
455
455
|
}
|
|
456
456
|
function tn(e, t, n) {
|
|
457
457
|
if (n[t.name]) {
|
|
458
|
-
L &&
|
|
458
|
+
L && P.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
459
459
|
return;
|
|
460
460
|
}
|
|
461
461
|
if (n[t.name] = t, !Xt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Xt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
@@ -469,7 +469,7 @@ function tn(e, t, n) {
|
|
|
469
469
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
470
470
|
let r = t[n];
|
|
471
471
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
472
|
-
}), L &&
|
|
472
|
+
}), L && P.log(`Integration installed: ${t.name}`);
|
|
473
473
|
}
|
|
474
474
|
function W(e) {
|
|
475
475
|
return e;
|
|
@@ -493,7 +493,7 @@ function on() {
|
|
|
493
493
|
return typeof window < "u" && (!an() || sn());
|
|
494
494
|
}
|
|
495
495
|
function sn() {
|
|
496
|
-
let e =
|
|
496
|
+
let e = I.process;
|
|
497
497
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
498
498
|
}
|
|
499
499
|
//#endregion
|
|
@@ -518,7 +518,7 @@ function ln(e, t, n, r, i) {
|
|
|
518
518
|
return t != null && t.sdk && (a.sdk = {
|
|
519
519
|
name: t.sdk.name,
|
|
520
520
|
version: t.sdk.version
|
|
521
|
-
}), n && r && (a.dsn =
|
|
521
|
+
}), n && r && (a.dsn = A(r)), U(a, [cn(e, i)]);
|
|
522
522
|
}
|
|
523
523
|
//#endregion
|
|
524
524
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
@@ -533,7 +533,7 @@ function dn(e) {
|
|
|
533
533
|
return fn().get(e);
|
|
534
534
|
}
|
|
535
535
|
function fn() {
|
|
536
|
-
return
|
|
536
|
+
return ke("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
537
537
|
}
|
|
538
538
|
//#endregion
|
|
539
539
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
@@ -557,7 +557,7 @@ function mn(e, t, n, r, i) {
|
|
|
557
557
|
return t != null && t.sdk && (a.sdk = {
|
|
558
558
|
name: t.sdk.name,
|
|
559
559
|
version: t.sdk.version
|
|
560
|
-
}), n && r && (a.dsn =
|
|
560
|
+
}), n && r && (a.dsn = A(r)), U(a, [pn(e, i)]);
|
|
561
561
|
}
|
|
562
562
|
//#endregion
|
|
563
563
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
@@ -572,12 +572,12 @@ function gn(e) {
|
|
|
572
572
|
return _n().get(e);
|
|
573
573
|
}
|
|
574
574
|
function _n() {
|
|
575
|
-
return
|
|
575
|
+
return ke("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
576
576
|
}
|
|
577
577
|
//#endregion
|
|
578
578
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
579
579
|
function vn(e) {
|
|
580
|
-
return
|
|
580
|
+
return Ee({
|
|
581
581
|
trace_id: e.trace_id,
|
|
582
582
|
span_id: e.span_id,
|
|
583
583
|
parent_span_id: e.parent_span_id,
|
|
@@ -633,12 +633,12 @@ function Sn(e = 100) {
|
|
|
633
633
|
t.delete(e);
|
|
634
634
|
}
|
|
635
635
|
function i(e) {
|
|
636
|
-
if (!n()) return
|
|
636
|
+
if (!n()) return Ke(xn);
|
|
637
637
|
let i = e();
|
|
638
638
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
639
639
|
}
|
|
640
640
|
function a(e) {
|
|
641
|
-
if (!t.size) return
|
|
641
|
+
if (!t.size) return xe(!0);
|
|
642
642
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
643
643
|
if (!e) return n;
|
|
644
644
|
let r = [n, new Promise((t) => bn(setTimeout(() => t(!1), e)))];
|
|
@@ -655,7 +655,7 @@ function Sn(e = 100) {
|
|
|
655
655
|
//#endregion
|
|
656
656
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
657
657
|
var Cn = 60 * 1e3;
|
|
658
|
-
function wn(e, t =
|
|
658
|
+
function wn(e, t = w()) {
|
|
659
659
|
let n = parseInt(`${e}`, 10);
|
|
660
660
|
if (!isNaN(n)) return n * 1e3;
|
|
661
661
|
let r = Date.parse(`${e}`);
|
|
@@ -664,10 +664,10 @@ function wn(e, t = C()) {
|
|
|
664
664
|
function Tn(e, t) {
|
|
665
665
|
return e[t] || e.all || 0;
|
|
666
666
|
}
|
|
667
|
-
function En(e, t, n =
|
|
667
|
+
function En(e, t, n = w()) {
|
|
668
668
|
return Tn(e, t) > n;
|
|
669
669
|
}
|
|
670
|
-
function Dn(e, { statusCode: t, headers: n }, r =
|
|
670
|
+
function Dn(e, { statusCode: t, headers: n }, r = w()) {
|
|
671
671
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
672
672
|
if (a) for (let e of a.trim().split(",")) {
|
|
673
673
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
@@ -687,17 +687,17 @@ function On(e, t, n = Sn(e.bufferSize || 64)) {
|
|
|
687
687
|
}), a.length === 0) return Promise.resolve({});
|
|
688
688
|
let o = U(i[0], a), s = (t) => {
|
|
689
689
|
if (Ot(o, ["client_report"])) {
|
|
690
|
-
L &&
|
|
690
|
+
L && P.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
693
|
Dt(o, (n, r) => {
|
|
694
694
|
e.recordDroppedEvent(t, Ft(r));
|
|
695
695
|
});
|
|
696
696
|
};
|
|
697
|
-
return n.add(() => t({ body: At(o) }).then((e) => e.statusCode === 413 ? (L &&
|
|
698
|
-
throw s("network_error"), L &&
|
|
697
|
+
return n.add(() => t({ body: At(o) }).then((e) => e.statusCode === 413 ? (L && P.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (L && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && P.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = Dn(r, e), e), (e) => {
|
|
698
|
+
throw s("network_error"), L && P.error("Encountered error running transport request:", e), e;
|
|
699
699
|
})).then((e) => e, (e) => {
|
|
700
|
-
if (e === xn) return L &&
|
|
700
|
+
if (e === xn) return L && P.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
701
701
|
throw e;
|
|
702
702
|
});
|
|
703
703
|
}
|
|
@@ -710,7 +710,7 @@ function On(e, t, n = Sn(e.bufferSize || 64)) {
|
|
|
710
710
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
711
711
|
function kn(e, t, n) {
|
|
712
712
|
let r = [{ type: "client_report" }, {
|
|
713
|
-
timestamp: n ||
|
|
713
|
+
timestamp: n || je(),
|
|
714
714
|
discarded_events: e
|
|
715
715
|
}];
|
|
716
716
|
return U(t ? { dsn: t } : {}, [r]);
|
|
@@ -743,7 +743,7 @@ function jn(e) {
|
|
|
743
743
|
trace_id: i == null ? "" : i,
|
|
744
744
|
origin: c,
|
|
745
745
|
profile_id: l == null ? void 0 : l[Xe],
|
|
746
|
-
exclusive_time: l == null ? void 0 : l[
|
|
746
|
+
exclusive_time: l == null ? void 0 : l[ve],
|
|
747
747
|
measurements: e.measurements,
|
|
748
748
|
is_segment: !0
|
|
749
749
|
};
|
|
@@ -838,23 +838,23 @@ var Fn = {
|
|
|
838
838
|
frameContextLines: 5
|
|
839
839
|
};
|
|
840
840
|
function In(e) {
|
|
841
|
-
var t, n, r, i, a, o, s, c, l, u, d,
|
|
842
|
-
let
|
|
841
|
+
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, ee;
|
|
842
|
+
let h = e.dataCollection == null ? Pn(e.sendDefaultPii) : Fn, g = (t = e.dataCollection) == null ? {} : t;
|
|
843
843
|
return {
|
|
844
|
-
userInfo: (n =
|
|
845
|
-
cookies: (r =
|
|
844
|
+
userInfo: (n = g.userInfo) == null ? h.userInfo : n,
|
|
845
|
+
cookies: (r = g.cookies) == null ? h.cookies : r,
|
|
846
846
|
httpHeaders: {
|
|
847
|
-
request: (i = (a =
|
|
848
|
-
response: (o = (s =
|
|
847
|
+
request: (i = (a = g.httpHeaders) == null ? void 0 : a.request) == null ? h.httpHeaders.request : i,
|
|
848
|
+
response: (o = (s = g.httpHeaders) == null ? void 0 : s.response) == null ? h.httpHeaders.response : o
|
|
849
849
|
},
|
|
850
|
-
httpBodies: (c =
|
|
851
|
-
queryParams: (l =
|
|
850
|
+
httpBodies: (c = g.httpBodies) == null ? h.httpBodies : c,
|
|
851
|
+
queryParams: (l = g.queryParams) == null ? h.queryParams : l,
|
|
852
852
|
genAI: {
|
|
853
|
-
inputs: (u = (d =
|
|
854
|
-
outputs: (
|
|
853
|
+
inputs: (u = (d = g.genAI) == null ? void 0 : d.inputs) == null ? h.genAI.inputs : u,
|
|
854
|
+
outputs: (f = (p = g.genAI) == null ? void 0 : p.outputs) == null ? h.genAI.outputs : f
|
|
855
855
|
},
|
|
856
|
-
stackFrameVariables: (
|
|
857
|
-
frameContextLines: (
|
|
856
|
+
stackFrameVariables: (m = g.stackFrameVariables) == null ? h.stackFrameVariables : m,
|
|
857
|
+
frameContextLines: (ee = g.frameContextLines) == null ? h.frameContextLines : ee
|
|
858
858
|
};
|
|
859
859
|
}
|
|
860
860
|
//#endregion
|
|
@@ -898,7 +898,7 @@ function Kn(e, t, n, r, i) {
|
|
|
898
898
|
var qn = class {
|
|
899
899
|
constructor(e) {
|
|
900
900
|
var t, n, r, i, a, o, s;
|
|
901
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = Sn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = In(e), e.dsn ? this._dsn =
|
|
901
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = Sn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = In(e), e.dsn ? this._dsn = Je(e.dsn) : L && P.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
902
902
|
let t = Jt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
903
903
|
this._transport = e.transport({
|
|
904
904
|
tunnel: this._options.tunnel,
|
|
@@ -910,8 +910,8 @@ var qn = class {
|
|
|
910
910
|
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Kn(this, "afterCaptureLog", "flushLogs", er, un), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Kn(this, "afterCaptureMetric", "flushMetrics", $n, hn);
|
|
911
911
|
}
|
|
912
912
|
captureException(e, t, n) {
|
|
913
|
-
let r =
|
|
914
|
-
if (
|
|
913
|
+
let r = C();
|
|
914
|
+
if (se(e)) return L && P.log(Ln), r;
|
|
915
915
|
let i = {
|
|
916
916
|
event_id: r,
|
|
917
917
|
...t
|
|
@@ -920,14 +920,14 @@ var qn = class {
|
|
|
920
920
|
}
|
|
921
921
|
captureMessage(e, t, n, r) {
|
|
922
922
|
let i = {
|
|
923
|
-
event_id:
|
|
923
|
+
event_id: C(),
|
|
924
924
|
...n
|
|
925
|
-
}, a =
|
|
925
|
+
}, a = Ge(e) ? e : String(e), o = F(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
926
926
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
927
927
|
}
|
|
928
928
|
captureEvent(e, t, n) {
|
|
929
|
-
let r =
|
|
930
|
-
if (t != null && t.originalException &&
|
|
929
|
+
let r = C();
|
|
930
|
+
if (t != null && t.originalException && se(t.originalException)) return L && P.log(Ln), r;
|
|
931
931
|
let i = {
|
|
932
932
|
event_id: r,
|
|
933
933
|
...t
|
|
@@ -935,7 +935,7 @@ var qn = class {
|
|
|
935
935
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
936
936
|
}
|
|
937
937
|
captureSession(e) {
|
|
938
|
-
this.sendSession(e),
|
|
938
|
+
this.sendSession(e), ce(e, { init: !1 });
|
|
939
939
|
}
|
|
940
940
|
getDsn() {
|
|
941
941
|
return this._dsn;
|
|
@@ -989,17 +989,17 @@ var qn = class {
|
|
|
989
989
|
n && (r = Et(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
990
990
|
}
|
|
991
991
|
sendSession(e) {
|
|
992
|
-
let { release: t, environment: n =
|
|
992
|
+
let { release: t, environment: n = ze } = this._options;
|
|
993
993
|
if ("aggregates" in e) {
|
|
994
994
|
let r = e.attrs || {};
|
|
995
995
|
if (!r.release && !t) {
|
|
996
|
-
L &&
|
|
996
|
+
L && P.warn(Rn);
|
|
997
997
|
return;
|
|
998
998
|
}
|
|
999
999
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
1000
1000
|
} else {
|
|
1001
1001
|
if (!e.release && !t) {
|
|
1002
|
-
L &&
|
|
1002
|
+
L && P.warn(Rn);
|
|
1003
1003
|
return;
|
|
1004
1004
|
}
|
|
1005
1005
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
@@ -1011,7 +1011,7 @@ var qn = class {
|
|
|
1011
1011
|
recordDroppedEvent(e, t, n = 1) {
|
|
1012
1012
|
if (this._options.sendClientReports) {
|
|
1013
1013
|
let r = `${e}:${t}`;
|
|
1014
|
-
L &&
|
|
1014
|
+
L && P.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
1017
|
on(e, t) {
|
|
@@ -1028,9 +1028,9 @@ var qn = class {
|
|
|
1028
1028
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
1029
1029
|
return await this._transport.send(e);
|
|
1030
1030
|
} catch (e) {
|
|
1031
|
-
return L &&
|
|
1031
|
+
return L && P.error("Error while sending envelope:", e), {};
|
|
1032
1032
|
}
|
|
1033
|
-
return L &&
|
|
1033
|
+
return L && P.error("Transport disabled"), {};
|
|
1034
1034
|
}
|
|
1035
1035
|
registerCleanup(e) {}
|
|
1036
1036
|
dispose() {}
|
|
@@ -1052,7 +1052,7 @@ var qn = class {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
1054
|
let s = e.status === "ok";
|
|
1055
|
-
(s && e.errors === 0 || s && r) && (
|
|
1055
|
+
(s && e.errors === 0 || s && r) && (ce(e, {
|
|
1056
1056
|
...r && { status: "crashed" },
|
|
1057
1057
|
errors: e.errors || Number(i || r)
|
|
1058
1058
|
}), this.captureSession(e));
|
|
@@ -1070,28 +1070,28 @@ var qn = class {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
_prepareEvent(e, t, n, r) {
|
|
1072
1072
|
let i = this.getOptions(), a = this.getIntegrationNames();
|
|
1073
|
-
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
1073
|
+
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) => {
|
|
1074
1074
|
var r;
|
|
1075
1075
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
1076
1076
|
trace: {
|
|
1077
1077
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
1078
|
-
...
|
|
1078
|
+
...ue(n)
|
|
1079
1079
|
},
|
|
1080
1080
|
...e.contexts
|
|
1081
1081
|
}, e.sdkProcessingMetadata = {
|
|
1082
|
-
dynamicSamplingContext:
|
|
1082
|
+
dynamicSamplingContext: we(this, n),
|
|
1083
1083
|
...e.sdkProcessingMetadata
|
|
1084
1084
|
}, e);
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
1087
|
-
_captureEvent(e, t = {}, n =
|
|
1088
|
-
return L && Zn(e) &&
|
|
1089
|
-
L && (Gn(e) ?
|
|
1087
|
+
_captureEvent(e, t = {}, n = x(), r = Ye()) {
|
|
1088
|
+
return L && Zn(e) && P.log(`Captured error event \`${An(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1089
|
+
L && (Gn(e) ? P.log(e.message) : Wn(e) ? P.warn(e.message) : P.warn(e));
|
|
1090
1090
|
});
|
|
1091
1091
|
}
|
|
1092
1092
|
_processEvent(e, t, n, r) {
|
|
1093
1093
|
let i = this.getOptions(), { sampleRate: a } = i, o = Qn(e), s = Zn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : yt(a);
|
|
1094
|
-
if (s && typeof l == "number" &&
|
|
1094
|
+
if (s && typeof l == "number" && de() > l) return this.recordDroppedEvent("sample_rate", "error"), Ke(Un(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1095
1095
|
let u = Jn(e.type);
|
|
1096
1096
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1097
1097
|
var n;
|
|
@@ -1143,18 +1143,18 @@ Reason: ${e}`));
|
|
|
1143
1143
|
});
|
|
1144
1144
|
}
|
|
1145
1145
|
_flushOutcomes() {
|
|
1146
|
-
L &&
|
|
1146
|
+
L && P.log("Flushing outcomes...");
|
|
1147
1147
|
let e = this._clearOutcomes();
|
|
1148
1148
|
if (e.length === 0) {
|
|
1149
|
-
L &&
|
|
1149
|
+
L && P.log("No outcomes to send");
|
|
1150
1150
|
return;
|
|
1151
1151
|
}
|
|
1152
1152
|
if (!this._dsn) {
|
|
1153
|
-
L &&
|
|
1153
|
+
L && P.log("No dsn provided, will not send outcomes");
|
|
1154
1154
|
return;
|
|
1155
1155
|
}
|
|
1156
|
-
L &&
|
|
1157
|
-
let t = kn(e, this._options.tunnel &&
|
|
1156
|
+
L && P.log("Sending outcomes:", e);
|
|
1157
|
+
let t = kn(e, this._options.tunnel && A(this._dsn));
|
|
1158
1158
|
this.sendEnvelope(t);
|
|
1159
1159
|
}
|
|
1160
1160
|
};
|
|
@@ -1163,13 +1163,13 @@ function Jn(e) {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
function Yn(e, t) {
|
|
1165
1165
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1166
|
-
if (
|
|
1167
|
-
if (!
|
|
1166
|
+
if (Re(e)) return e.then((e) => {
|
|
1167
|
+
if (!Ie(e) && e !== null) throw Hn(n);
|
|
1168
1168
|
return e;
|
|
1169
1169
|
}, (e) => {
|
|
1170
1170
|
throw Hn(`${t} rejected with ${e}`);
|
|
1171
1171
|
});
|
|
1172
|
-
if (!
|
|
1172
|
+
if (!Ie(e) && e !== null) throw Hn(n);
|
|
1173
1173
|
return e;
|
|
1174
1174
|
}
|
|
1175
1175
|
function Xn(e, t, n, r) {
|
|
@@ -1185,7 +1185,7 @@ function Xn(e, t, n, r) {
|
|
|
1185
1185
|
}, o)) return null;
|
|
1186
1186
|
if (s) {
|
|
1187
1187
|
let e = s(t);
|
|
1188
|
-
e ? c =
|
|
1188
|
+
e ? c = te(n, Mn(e)) : Ne();
|
|
1189
1189
|
}
|
|
1190
1190
|
if (c.spans) {
|
|
1191
1191
|
let t = [], n = c.spans;
|
|
@@ -1200,7 +1200,7 @@ function Xn(e, t, n, r) {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
if (s) {
|
|
1202
1202
|
let n = s(e);
|
|
1203
|
-
n ? t.push(n) : (
|
|
1203
|
+
n ? t.push(n) : (Ne(), t.push(e));
|
|
1204
1204
|
} else t.push(e);
|
|
1205
1205
|
}
|
|
1206
1206
|
let r = c.spans.length - t.length;
|
|
@@ -1238,7 +1238,7 @@ function tr(e) {
|
|
|
1238
1238
|
if (!e) return 0;
|
|
1239
1239
|
let t = 0;
|
|
1240
1240
|
return Object.values(e).forEach((e) => {
|
|
1241
|
-
Array.isArray(e) ? t += e.length * nr(e[0]) :
|
|
1241
|
+
Array.isArray(e) ? t += e.length * nr(e[0]) : F(e) ? t += nr(e) : t += 100;
|
|
1242
1242
|
}), t;
|
|
1243
1243
|
}
|
|
1244
1244
|
function nr(e) {
|
|
@@ -1247,19 +1247,19 @@ function nr(e) {
|
|
|
1247
1247
|
//#endregion
|
|
1248
1248
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1249
1249
|
function rr(e, t) {
|
|
1250
|
-
t.debug === !0 && (L ?
|
|
1250
|
+
t.debug === !0 && (L ? P.enable() : Te(() => {
|
|
1251
1251
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1252
|
-
})),
|
|
1252
|
+
})), x().update(t.initialScope);
|
|
1253
1253
|
let n = new e(t);
|
|
1254
1254
|
return ir(n), n.init(), n;
|
|
1255
1255
|
}
|
|
1256
1256
|
function ir(e) {
|
|
1257
|
-
|
|
1257
|
+
x().setClient(e);
|
|
1258
1258
|
}
|
|
1259
1259
|
var ar = 5e3, or = 36e5;
|
|
1260
1260
|
function sr(e) {
|
|
1261
1261
|
function t(...e) {
|
|
1262
|
-
L &&
|
|
1262
|
+
L && P.log("[Offline]:", ...e);
|
|
1263
1263
|
}
|
|
1264
1264
|
return (n) => {
|
|
1265
1265
|
let r = e(n);
|
|
@@ -1320,21 +1320,21 @@ function lr(e, t, n = [t], r = "npm") {
|
|
|
1320
1320
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1321
1321
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1322
1322
|
name: `${r}:@sentry/${e}`,
|
|
1323
|
-
version:
|
|
1324
|
-
})), i.version =
|
|
1323
|
+
version: ge
|
|
1324
|
+
})), i.version = ge);
|
|
1325
1325
|
}
|
|
1326
1326
|
//#endregion
|
|
1327
1327
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1328
1328
|
var ur = 100;
|
|
1329
1329
|
function G(e, t) {
|
|
1330
|
-
let n =
|
|
1330
|
+
let n = O(), r = Ye();
|
|
1331
1331
|
if (!n) return;
|
|
1332
1332
|
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = ur } = n.getOptions();
|
|
1333
1333
|
if (a <= 0) return;
|
|
1334
1334
|
let o = {
|
|
1335
|
-
timestamp:
|
|
1335
|
+
timestamp: je(),
|
|
1336
1336
|
...e
|
|
1337
|
-
}, s = i ?
|
|
1337
|
+
}, s = i ? Te(() => i(o, t)) : o;
|
|
1338
1338
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1339
1339
|
}
|
|
1340
1340
|
//#endregion
|
|
@@ -1345,7 +1345,7 @@ var dr, fr = "FunctionToString", pr = /* @__PURE__ */ new WeakMap(), mr = W((()
|
|
|
1345
1345
|
dr = Function.prototype.toString;
|
|
1346
1346
|
try {
|
|
1347
1347
|
Function.prototype.toString = function(...e) {
|
|
1348
|
-
let t =
|
|
1348
|
+
let t = Be(this), n = pr.has(O()) && t !== void 0 ? t : this;
|
|
1349
1349
|
return dr.apply(n, e);
|
|
1350
1350
|
};
|
|
1351
1351
|
} catch {}
|
|
@@ -1394,37 +1394,37 @@ function yr(e = {}, t = {}) {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
function br(e, t) {
|
|
1396
1396
|
if (!e.type) {
|
|
1397
|
-
if (xr(e, t.ignoreErrors)) return L &&
|
|
1398
|
-
Event: ${
|
|
1399
|
-
if (Dr(e)) return L &&
|
|
1400
|
-
Event: ${
|
|
1401
|
-
if (Cr(e, t.denyUrls)) return L &&
|
|
1402
|
-
Event: ${
|
|
1397
|
+
if (xr(e, t.ignoreErrors)) return L && P.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1398
|
+
Event: ${E(e)}`), !0;
|
|
1399
|
+
if (Dr(e)) return L && P.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1400
|
+
Event: ${E(e)}`), !0;
|
|
1401
|
+
if (Cr(e, t.denyUrls)) return L && P.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1402
|
+
Event: ${E(e)}.
|
|
1403
1403
|
Url: ${Er(e)}`), !0;
|
|
1404
|
-
if (!wr(e, t.allowUrls)) return L &&
|
|
1405
|
-
Event: ${
|
|
1404
|
+
if (!wr(e, t.allowUrls)) return L && P.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1405
|
+
Event: ${E(e)}.
|
|
1406
1406
|
Url: ${Er(e)}`), !0;
|
|
1407
|
-
} else if (e.type === "transaction" && Sr(e, t.ignoreTransactions)) return L &&
|
|
1408
|
-
Event: ${
|
|
1407
|
+
} else if (e.type === "transaction" && Sr(e, t.ignoreTransactions)) return L && P.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1408
|
+
Event: ${E(e)}`), !0;
|
|
1409
1409
|
return !1;
|
|
1410
1410
|
}
|
|
1411
1411
|
function xr(e, t) {
|
|
1412
|
-
return t != null && t.length ? An(e).some((e) =>
|
|
1412
|
+
return t != null && t.length ? An(e).some((e) => D(e, t)) : !1;
|
|
1413
1413
|
}
|
|
1414
1414
|
function Sr(e, t) {
|
|
1415
1415
|
if (!(t != null && t.length)) return !1;
|
|
1416
1416
|
let n = e.transaction;
|
|
1417
|
-
return n ?
|
|
1417
|
+
return n ? D(n, t) : !1;
|
|
1418
1418
|
}
|
|
1419
1419
|
function Cr(e, t) {
|
|
1420
1420
|
if (!(t != null && t.length)) return !1;
|
|
1421
1421
|
let n = Er(e);
|
|
1422
|
-
return n ?
|
|
1422
|
+
return n ? D(n, t) : !1;
|
|
1423
1423
|
}
|
|
1424
1424
|
function wr(e, t) {
|
|
1425
1425
|
if (!(t != null && t.length)) return !0;
|
|
1426
1426
|
let n = Er(e);
|
|
1427
|
-
return n ?
|
|
1427
|
+
return n ? D(n, t) : !0;
|
|
1428
1428
|
}
|
|
1429
1429
|
function Tr(e = []) {
|
|
1430
1430
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
@@ -1442,7 +1442,7 @@ function Er(e) {
|
|
|
1442
1442
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1443
1443
|
return a ? Tr(a) : null;
|
|
1444
1444
|
} catch {
|
|
1445
|
-
return L &&
|
|
1445
|
+
return L && P.error(`Cannot extract url for event ${E(e)}`), null;
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
1448
|
function Dr(e) {
|
|
@@ -1453,20 +1453,20 @@ function Dr(e) {
|
|
|
1453
1453
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1454
1454
|
function Or(e, t, n, r, i, a) {
|
|
1455
1455
|
var o;
|
|
1456
|
-
if (!((o = i.exception) != null && o.values) || !a || !
|
|
1456
|
+
if (!((o = i.exception) != null && o.values) || !a || !Ce(a.originalException, Error)) return;
|
|
1457
1457
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1458
1458
|
s && (i.exception.values = kr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1459
1459
|
}
|
|
1460
1460
|
function kr(e, t, n, r, i, a, o, s) {
|
|
1461
1461
|
if (a.length >= n + 1) return a;
|
|
1462
1462
|
let c = [...a];
|
|
1463
|
-
if (
|
|
1463
|
+
if (Ce(r[i], Error)) {
|
|
1464
1464
|
jr(o, s, r);
|
|
1465
1465
|
let a = e(t, r[i]), l = c.length;
|
|
1466
1466
|
Mr(a, i, l, s), c = kr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1467
1467
|
}
|
|
1468
1468
|
return Ar(r) && r.errors.forEach((a, l) => {
|
|
1469
|
-
if (
|
|
1469
|
+
if (Ce(a, Error)) {
|
|
1470
1470
|
jr(o, s, r);
|
|
1471
1471
|
let u = e(t, a), d = c.length;
|
|
1472
1472
|
Mr(u, `errors[${l}]`, d, s), c = kr(e, t, n, a, i, [u, ...c], u, d);
|
|
@@ -1498,7 +1498,7 @@ function Mr(e, t, n, r) {
|
|
|
1498
1498
|
//#endregion
|
|
1499
1499
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1500
1500
|
function Nr(e) {
|
|
1501
|
-
return
|
|
1501
|
+
return he(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1502
1502
|
}
|
|
1503
1503
|
function Pr(e) {
|
|
1504
1504
|
return Nr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
@@ -1511,14 +1511,14 @@ function Ir(e) {
|
|
|
1511
1511
|
return V(t, Lr), n;
|
|
1512
1512
|
}
|
|
1513
1513
|
function Lr() {
|
|
1514
|
-
"console" in
|
|
1515
|
-
e in
|
|
1516
|
-
return
|
|
1517
|
-
let n = t[0], r =
|
|
1514
|
+
"console" in I && Se.forEach(function(e) {
|
|
1515
|
+
e in I.console && T(I.console, e, function(t) {
|
|
1516
|
+
return Pe[e] = t, function(...t) {
|
|
1517
|
+
let n = t[0], r = Pe[e], i = Fr.size && typeof n == "string" && D(n, Fr);
|
|
1518
1518
|
i || H("console", {
|
|
1519
1519
|
args: t,
|
|
1520
1520
|
level: e
|
|
1521
|
-
}), (!i || L &&
|
|
1521
|
+
}), (!i || L && P.isEnabled()) && (r == null || r.apply(I.console, t));
|
|
1522
1522
|
};
|
|
1523
1523
|
});
|
|
1524
1524
|
});
|
|
@@ -1544,7 +1544,7 @@ var zr = "Dedupe", Br = W((() => {
|
|
|
1544
1544
|
processEvent(t) {
|
|
1545
1545
|
if (t.type) return t;
|
|
1546
1546
|
try {
|
|
1547
|
-
if (Vr(t, e)) return L &&
|
|
1547
|
+
if (Vr(t, e)) return L && P.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1548
1548
|
} catch {}
|
|
1549
1549
|
return e = t;
|
|
1550
1550
|
}
|
|
@@ -1562,7 +1562,7 @@ function Ur(e, t) {
|
|
|
1562
1562
|
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Gr(e, t) || !Wr(e, t));
|
|
1563
1563
|
}
|
|
1564
1564
|
function Wr(e, t) {
|
|
1565
|
-
let n =
|
|
1565
|
+
let n = be(e), r = be(t);
|
|
1566
1566
|
if (!n && !r) return !0;
|
|
1567
1567
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1568
1568
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1592,9 +1592,9 @@ var qr = "ConversationId", Jr = W((() => ({
|
|
|
1592
1592
|
name: qr,
|
|
1593
1593
|
setup(e) {
|
|
1594
1594
|
e.on("spanStart", (e) => {
|
|
1595
|
-
let t =
|
|
1595
|
+
let t = x().getScopeData(), n = Ye().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1596
1596
|
if (r) {
|
|
1597
|
-
let { op: t, data: n, description: i } =
|
|
1597
|
+
let { op: t, data: n, description: i } = Oe(e);
|
|
1598
1598
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1599
1599
|
e.setAttribute(Ze, r);
|
|
1600
1600
|
}
|
|
@@ -1611,7 +1611,7 @@ function Yr(e) {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
//#endregion
|
|
1613
1613
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1614
|
-
var K =
|
|
1614
|
+
var K = I;
|
|
1615
1615
|
function Xr() {
|
|
1616
1616
|
return "history" in K && !!K.history;
|
|
1617
1617
|
}
|
|
@@ -1636,7 +1636,7 @@ function $r() {
|
|
|
1636
1636
|
let r = t.createElement("iframe");
|
|
1637
1637
|
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Qr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1638
1638
|
} catch (e) {
|
|
1639
|
-
L &&
|
|
1639
|
+
L && P.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1640
1640
|
}
|
|
1641
1641
|
return e;
|
|
1642
1642
|
}
|
|
@@ -1647,7 +1647,7 @@ function ei(e, t) {
|
|
|
1647
1647
|
return V(n, () => ti(void 0, t)), r;
|
|
1648
1648
|
}
|
|
1649
1649
|
function ti(e, t = !1) {
|
|
1650
|
-
t && !$r() ||
|
|
1650
|
+
t && !$r() || T(I, "fetch", function(t) {
|
|
1651
1651
|
return function(...n) {
|
|
1652
1652
|
let r = /* @__PURE__ */ Error(), { method: i, url: a } = ii(n), o = {
|
|
1653
1653
|
args: n,
|
|
@@ -1655,25 +1655,25 @@ function ti(e, t = !1) {
|
|
|
1655
1655
|
method: i,
|
|
1656
1656
|
url: a
|
|
1657
1657
|
},
|
|
1658
|
-
startTimestamp:
|
|
1658
|
+
startTimestamp: y() * 1e3,
|
|
1659
1659
|
virtualError: r,
|
|
1660
1660
|
headers: ai(n)
|
|
1661
1661
|
};
|
|
1662
|
-
return e || H("fetch", { ...o }), t.apply(
|
|
1662
|
+
return e || H("fetch", { ...o }), t.apply(I, n).then(async (t) => (e ? e(t) : H("fetch", {
|
|
1663
1663
|
...o,
|
|
1664
|
-
endTimestamp:
|
|
1664
|
+
endTimestamp: y() * 1e3,
|
|
1665
1665
|
response: t
|
|
1666
1666
|
}), t), (e) => {
|
|
1667
1667
|
var t;
|
|
1668
1668
|
H("fetch", {
|
|
1669
1669
|
...o,
|
|
1670
|
-
endTimestamp:
|
|
1670
|
+
endTimestamp: y() * 1e3,
|
|
1671
1671
|
error: e
|
|
1672
|
-
}),
|
|
1673
|
-
let n =
|
|
1672
|
+
}), he(e) && e.stack === void 0 && (e.stack = r.stack, k(e, "framesToPop", 1));
|
|
1673
|
+
let n = O(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1674
1674
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1675
1675
|
let t = new URL(o.fetchData.url).host;
|
|
1676
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1676
|
+
i === "always" ? e.message = `${e.message} (${t})` : k(e, "__sentry_fetch_url_host__", t);
|
|
1677
1677
|
} catch {}
|
|
1678
1678
|
throw e;
|
|
1679
1679
|
});
|
|
@@ -1695,7 +1695,7 @@ function ii(e) {
|
|
|
1695
1695
|
let [t, n] = e;
|
|
1696
1696
|
return {
|
|
1697
1697
|
url: ri(t),
|
|
1698
|
-
method: ni(n, "method") ? String(n.method).toUpperCase() :
|
|
1698
|
+
method: ni(n, "method") ? String(n.method).toUpperCase() : Ae(t) && ni(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1699
1699
|
};
|
|
1700
1700
|
}
|
|
1701
1701
|
let t = e[0];
|
|
@@ -1708,12 +1708,12 @@ function ai(e) {
|
|
|
1708
1708
|
let [t, n] = e;
|
|
1709
1709
|
try {
|
|
1710
1710
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1711
|
-
if (
|
|
1711
|
+
if (Ae(t)) return new Headers(t.headers);
|
|
1712
1712
|
} catch {}
|
|
1713
1713
|
}
|
|
1714
1714
|
//#endregion
|
|
1715
1715
|
//#region ../../node_modules/.pnpm/@sentry+core@10.56.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1716
|
-
var oi =
|
|
1716
|
+
var oi = I;
|
|
1717
1717
|
function si() {
|
|
1718
1718
|
try {
|
|
1719
1719
|
return oi.document.location.href;
|
|
@@ -1736,7 +1736,7 @@ function ci(e, t = 5) {
|
|
|
1736
1736
|
}
|
|
1737
1737
|
//#endregion
|
|
1738
1738
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.56.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1739
|
-
var q =
|
|
1739
|
+
var q = I, li = 0;
|
|
1740
1740
|
function ui() {
|
|
1741
1741
|
return li > 0;
|
|
1742
1742
|
}
|
|
@@ -1753,30 +1753,30 @@ function J(e, t = {}) {
|
|
|
1753
1753
|
try {
|
|
1754
1754
|
let t = e.__sentry_wrapped__;
|
|
1755
1755
|
if (t) return typeof t == "function" ? t : e;
|
|
1756
|
-
if (
|
|
1756
|
+
if (Be(e)) return e;
|
|
1757
1757
|
} catch {
|
|
1758
1758
|
return e;
|
|
1759
1759
|
}
|
|
1760
1760
|
let r = function(...n) {
|
|
1761
|
-
|
|
1761
|
+
I._sentryWrappedDepth = (I._sentryWrappedDepth || 0) + 1;
|
|
1762
1762
|
try {
|
|
1763
1763
|
let r = n.map((e) => J(e, t));
|
|
1764
1764
|
return e.apply(this, r);
|
|
1765
1765
|
} catch (e) {
|
|
1766
|
-
throw di(),
|
|
1767
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1766
|
+
throw di(), S((r) => {
|
|
1767
|
+
r.addEventProcessor((e) => (t.mechanism && (oe(e, void 0, void 0), M(e, t.mechanism)), e.extra = {
|
|
1768
1768
|
...e.extra,
|
|
1769
1769
|
arguments: n
|
|
1770
|
-
}, e)),
|
|
1770
|
+
}, e)), Fe(e);
|
|
1771
1771
|
}), e;
|
|
1772
1772
|
} finally {
|
|
1773
|
-
|
|
1773
|
+
I._sentryWrappedDepth = (I._sentryWrappedDepth || 0) - 1;
|
|
1774
1774
|
}
|
|
1775
1775
|
};
|
|
1776
1776
|
try {
|
|
1777
1777
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1778
1778
|
} catch {}
|
|
1779
|
-
|
|
1779
|
+
ie(r, e), k(e, "__sentry_wrapped__", r);
|
|
1780
1780
|
try {
|
|
1781
1781
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1782
1782
|
return e.name;
|
|
@@ -1804,14 +1804,14 @@ function pi(e, t) {
|
|
|
1804
1804
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1805
1805
|
}
|
|
1806
1806
|
function mi(e, t, n, r) {
|
|
1807
|
-
let i =
|
|
1807
|
+
let i = O(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = ki(t), s = { __serialized__: b(t, a) };
|
|
1808
1808
|
if (o) return {
|
|
1809
1809
|
exception: { values: [pi(e, o)] },
|
|
1810
1810
|
extra: s
|
|
1811
1811
|
};
|
|
1812
1812
|
let c = {
|
|
1813
1813
|
exception: { values: [{
|
|
1814
|
-
type:
|
|
1814
|
+
type: v(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1815
1815
|
value: Di(t, { isUnhandledRejection: r })
|
|
1816
1816
|
}] },
|
|
1817
1817
|
extra: s
|
|
@@ -1852,16 +1852,16 @@ function Si(e) {
|
|
|
1852
1852
|
}
|
|
1853
1853
|
function Ci(e, t, n, r) {
|
|
1854
1854
|
let i = Ti(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1855
|
-
return
|
|
1855
|
+
return M(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), xe(i);
|
|
1856
1856
|
}
|
|
1857
1857
|
function wi(e, t, n = "info", r, i) {
|
|
1858
1858
|
let a = Ei(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1859
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
1859
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), xe(a);
|
|
1860
1860
|
}
|
|
1861
1861
|
function Ti(e, t, n, r, i) {
|
|
1862
1862
|
let a;
|
|
1863
|
-
if (
|
|
1864
|
-
if (
|
|
1863
|
+
if (le(t) && t.error) return hi(e, t.error);
|
|
1864
|
+
if (me(t) || pe(t)) {
|
|
1865
1865
|
let i = t;
|
|
1866
1866
|
if ("stack" in t) {
|
|
1867
1867
|
var o;
|
|
@@ -1869,18 +1869,18 @@ function Ti(e, t, n, r, i) {
|
|
|
1869
1869
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1870
1870
|
if (r && n && i && !i.stacktrace) {
|
|
1871
1871
|
let t = gi(e, n);
|
|
1872
|
-
t.length && (i.stacktrace = { frames: t },
|
|
1872
|
+
t.length && (i.stacktrace = { frames: t }, M(a, { synthetic: !0 }));
|
|
1873
1873
|
}
|
|
1874
1874
|
} else {
|
|
1875
|
-
let t = i.name || (
|
|
1876
|
-
a = Ei(e, o, n, r),
|
|
1875
|
+
let t = i.name || (me(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1876
|
+
a = Ei(e, o, n, r), oe(a, o);
|
|
1877
1877
|
}
|
|
1878
1878
|
return "code" in i && (a.tags = {
|
|
1879
1879
|
...a.tags,
|
|
1880
1880
|
"DOMException.code": `${i.code}`
|
|
1881
1881
|
}), a;
|
|
1882
1882
|
}
|
|
1883
|
-
return
|
|
1883
|
+
return he(t) ? hi(e, t) : Ie(t) || v(t) ? (a = mi(e, t, n, i), M(a, { synthetic: !0 }), a) : (a = Ei(e, t, n, r), oe(a, `${t}`, void 0), M(a, { synthetic: !0 }), a);
|
|
1884
1884
|
}
|
|
1885
1885
|
function Ei(e, t, n, r) {
|
|
1886
1886
|
let i = {};
|
|
@@ -1889,9 +1889,9 @@ function Ei(e, t, n, r) {
|
|
|
1889
1889
|
r.length && (i.exception = { values: [{
|
|
1890
1890
|
value: t,
|
|
1891
1891
|
stacktrace: { frames: r }
|
|
1892
|
-
}] }),
|
|
1892
|
+
}] }), M(i, { synthetic: !0 });
|
|
1893
1893
|
}
|
|
1894
|
-
if (
|
|
1894
|
+
if (Ge(t)) {
|
|
1895
1895
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
1896
1896
|
return i.logentry = {
|
|
1897
1897
|
message: e,
|
|
@@ -1901,8 +1901,8 @@ function Ei(e, t, n, r) {
|
|
|
1901
1901
|
return i.message = t, i;
|
|
1902
1902
|
}
|
|
1903
1903
|
function Di(e, { isUnhandledRejection: t }) {
|
|
1904
|
-
let n =
|
|
1905
|
-
return
|
|
1904
|
+
let n = ne(e), r = t ? "promise rejection" : "exception";
|
|
1905
|
+
return le(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : v(e) ? `Event \`${Oi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1906
1906
|
}
|
|
1907
1907
|
function Oi(e) {
|
|
1908
1908
|
try {
|
|
@@ -1951,7 +1951,7 @@ function ji(e) {
|
|
|
1951
1951
|
}
|
|
1952
1952
|
//#endregion
|
|
1953
1953
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.56.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1954
|
-
var Mi = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Y =
|
|
1954
|
+
var Mi = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Y = I, Ni = 80;
|
|
1955
1955
|
function Pi(e, t = {}) {
|
|
1956
1956
|
if (!e) return "<unknown>";
|
|
1957
1957
|
try {
|
|
@@ -1977,7 +1977,7 @@ function Fi(e, t) {
|
|
|
1977
1977
|
else {
|
|
1978
1978
|
n.id && r.push(`#${n.id}`);
|
|
1979
1979
|
let e = n.className;
|
|
1980
|
-
if (e &&
|
|
1980
|
+
if (e && j(e)) {
|
|
1981
1981
|
let t = e.split(/\s+/);
|
|
1982
1982
|
for (let e of t) r.push(`.${e}`);
|
|
1983
1983
|
}
|
|
@@ -2006,7 +2006,7 @@ function Vi() {
|
|
|
2006
2006
|
Y.document.addEventListener("click", t, !1), Y.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2007
2007
|
var n, r;
|
|
2008
2008
|
let i = (n = Y[t]) == null ? void 0 : n.prototype;
|
|
2009
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2009
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (T(i, "addEventListener", function(t) {
|
|
2010
2010
|
return function(n, r, i) {
|
|
2011
2011
|
if (n === "click" || n == "keypress") try {
|
|
2012
2012
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
@@ -2018,7 +2018,7 @@ function Vi() {
|
|
|
2018
2018
|
} catch {}
|
|
2019
2019
|
return t.call(this, n, r, i);
|
|
2020
2020
|
};
|
|
2021
|
-
}),
|
|
2021
|
+
}), T(i, "removeEventListener", function(e) {
|
|
2022
2022
|
return function(t, n, r) {
|
|
2023
2023
|
if (t === "click" || t == "keypress") try {
|
|
2024
2024
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -2044,7 +2044,7 @@ function Wi(e, t = !1) {
|
|
|
2044
2044
|
if (!n || n._sentryCaptured) return;
|
|
2045
2045
|
let r = Gi(n);
|
|
2046
2046
|
if (Ui(n.type, r)) return;
|
|
2047
|
-
|
|
2047
|
+
k(n, "_sentryCaptured", !0), r && !r._sentryId && k(r, "_sentryId", C());
|
|
2048
2048
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2049
2049
|
Hi(n) || (e({
|
|
2050
2050
|
event: n,
|
|
@@ -2091,7 +2091,7 @@ function Ji() {
|
|
|
2091
2091
|
return e.apply(this, t);
|
|
2092
2092
|
};
|
|
2093
2093
|
}
|
|
2094
|
-
|
|
2094
|
+
T(Y.history, "pushState", e), T(Y.history, "replaceState", e);
|
|
2095
2095
|
}
|
|
2096
2096
|
function Yi(e) {
|
|
2097
2097
|
try {
|
|
@@ -2115,7 +2115,7 @@ function Zi(e) {
|
|
|
2115
2115
|
let i = t.contentWindow;
|
|
2116
2116
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2117
2117
|
} catch (t) {
|
|
2118
|
-
Mi &&
|
|
2118
|
+
Mi && P.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2119
2119
|
}
|
|
2120
2120
|
return n && (Xi[e] = n.bind(Y));
|
|
2121
2121
|
}
|
|
@@ -2132,7 +2132,7 @@ function ea() {
|
|
|
2132
2132
|
if (!Y.XMLHttpRequest) return;
|
|
2133
2133
|
let e = XMLHttpRequest.prototype;
|
|
2134
2134
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2135
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
2135
|
+
let r = /* @__PURE__ */ Error(), i = y() * 1e3, a = j(n[0]) ? n[0].toUpperCase() : void 0, o = ta(n[1]);
|
|
2136
2136
|
if (!a || !o) return e.apply(t, n);
|
|
2137
2137
|
t[X] = {
|
|
2138
2138
|
method: a,
|
|
@@ -2146,7 +2146,7 @@ function ea() {
|
|
|
2146
2146
|
e.status_code = t.status;
|
|
2147
2147
|
} catch {}
|
|
2148
2148
|
H("xhr", {
|
|
2149
|
-
endTimestamp:
|
|
2149
|
+
endTimestamp: y() * 1e3,
|
|
2150
2150
|
startTimestamp: i,
|
|
2151
2151
|
xhr: t,
|
|
2152
2152
|
virtualError: r
|
|
@@ -2157,18 +2157,18 @@ function ea() {
|
|
|
2157
2157
|
return s(), e.apply(t, n);
|
|
2158
2158
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
2159
2159
|
let [r, i] = n, a = t[X];
|
|
2160
|
-
return a &&
|
|
2160
|
+
return a && j(r) && j(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
2161
2161
|
} }), e.apply(t, n);
|
|
2162
2162
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
2163
2163
|
let r = t[X];
|
|
2164
2164
|
return r ? (n[0] !== void 0 && (r.body = n[0]), H("xhr", {
|
|
2165
|
-
startTimestamp:
|
|
2165
|
+
startTimestamp: y() * 1e3,
|
|
2166
2166
|
xhr: t
|
|
2167
2167
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2168
2168
|
} });
|
|
2169
2169
|
}
|
|
2170
2170
|
function ta(e) {
|
|
2171
|
-
if (
|
|
2171
|
+
if (j(e)) return e;
|
|
2172
2172
|
try {
|
|
2173
2173
|
return e.toString();
|
|
2174
2174
|
} catch {}
|
|
@@ -2248,7 +2248,7 @@ var ca = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, la = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2248
2248
|
let [e, t] = ga(r[1] || "?", r[2]);
|
|
2249
2249
|
return sa(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2250
2250
|
}
|
|
2251
|
-
}], pa = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, ma = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, ha =
|
|
2251
|
+
}], pa = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, ma = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, ha = Ue(fa, [oa, (e) => {
|
|
2252
2252
|
let t = pa.exec(e);
|
|
2253
2253
|
if (t) {
|
|
2254
2254
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
@@ -2280,19 +2280,19 @@ var ca = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, la = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2280
2280
|
}));
|
|
2281
2281
|
function ya(e) {
|
|
2282
2282
|
return function(t) {
|
|
2283
|
-
|
|
2283
|
+
O() === e && G({
|
|
2284
2284
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2285
2285
|
event_id: t.event_id,
|
|
2286
2286
|
level: t.level,
|
|
2287
|
-
message:
|
|
2287
|
+
message: E(t)
|
|
2288
2288
|
}, { event: t });
|
|
2289
2289
|
};
|
|
2290
2290
|
}
|
|
2291
2291
|
function ba(e, t) {
|
|
2292
2292
|
return function(n) {
|
|
2293
|
-
if (
|
|
2293
|
+
if (O() !== e) return;
|
|
2294
2294
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2295
|
-
o && o > Q && (Z &&
|
|
2295
|
+
o && o > Q && (Z && P.warn(`\`dom.maxStringLength\` cannot exceed ${Q}, but a value of ${o} was configured. Sentry will use ${Q} instead.`), o = Q), typeof a == "string" && (a = [a]);
|
|
2296
2296
|
try {
|
|
2297
2297
|
let e = n.event, t = Ta(e) ? e.target : e;
|
|
2298
2298
|
r = Pi(t, {
|
|
@@ -2316,7 +2316,7 @@ function ba(e, t) {
|
|
|
2316
2316
|
}
|
|
2317
2317
|
function xa(e) {
|
|
2318
2318
|
return function(t) {
|
|
2319
|
-
if (
|
|
2319
|
+
if (O() !== e) return;
|
|
2320
2320
|
let n = {
|
|
2321
2321
|
category: "console",
|
|
2322
2322
|
data: {
|
|
@@ -2324,9 +2324,9 @@ function xa(e) {
|
|
|
2324
2324
|
logger: "console"
|
|
2325
2325
|
},
|
|
2326
2326
|
level: Rr(t.level),
|
|
2327
|
-
message:
|
|
2327
|
+
message: ae(t.args, " ")
|
|
2328
2328
|
};
|
|
2329
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2329
|
+
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);
|
|
2330
2330
|
else return;
|
|
2331
2331
|
G(n, {
|
|
2332
2332
|
input: t.args,
|
|
@@ -2336,7 +2336,7 @@ function xa(e) {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
function Sa(e) {
|
|
2338
2338
|
return function(t) {
|
|
2339
|
-
if (
|
|
2339
|
+
if (O() !== e) return;
|
|
2340
2340
|
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[X];
|
|
2341
2341
|
if (!n || !r || !i) return;
|
|
2342
2342
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
@@ -2359,7 +2359,7 @@ function Sa(e) {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
function Ca(e) {
|
|
2361
2361
|
return function(t) {
|
|
2362
|
-
if (
|
|
2362
|
+
if (O() !== e) return;
|
|
2363
2363
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
2364
2364
|
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.error) {
|
|
2365
2365
|
let i = {
|
|
@@ -2395,7 +2395,7 @@ function Ca(e) {
|
|
|
2395
2395
|
}
|
|
2396
2396
|
function wa(e) {
|
|
2397
2397
|
return function(t) {
|
|
2398
|
-
if (
|
|
2398
|
+
if (O() !== e) return;
|
|
2399
2399
|
let n = t.from, r = t.to, i = Ht(q.location.href), a = n ? Ht(n) : void 0, o = Ht(r);
|
|
2400
2400
|
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), G({
|
|
2401
2401
|
category: "navigation",
|
|
@@ -2424,7 +2424,7 @@ var Ea = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2424
2424
|
return {
|
|
2425
2425
|
name: Da,
|
|
2426
2426
|
setupOnce() {
|
|
2427
|
-
t.setTimeout &&
|
|
2427
|
+
t.setTimeout && T(q, "setTimeout", ka), t.setInterval && T(q, "setInterval", ka), t.requestAnimationFrame && T(q, "requestAnimationFrame", Aa), t.XMLHttpRequest && "XMLHttpRequest" in q && T(XMLHttpRequest.prototype, "send", ja);
|
|
2428
2428
|
let e = t.eventTarget;
|
|
2429
2429
|
e && (Array.isArray(e) ? e : Ea).forEach((e) => Ma(e, t));
|
|
2430
2430
|
}
|
|
@@ -2435,14 +2435,14 @@ function ka(e) {
|
|
|
2435
2435
|
let n = t[0];
|
|
2436
2436
|
return t[0] = J(n, { mechanism: {
|
|
2437
2437
|
handled: !1,
|
|
2438
|
-
type: `auto.browser.browserapierrors.${
|
|
2438
|
+
type: `auto.browser.browserapierrors.${N(e)}`
|
|
2439
2439
|
} }), e.apply(this, t);
|
|
2440
2440
|
};
|
|
2441
2441
|
}
|
|
2442
2442
|
function Aa(e) {
|
|
2443
2443
|
return function(t) {
|
|
2444
2444
|
return e.apply(this, [J(t, { mechanism: {
|
|
2445
|
-
data: { handler:
|
|
2445
|
+
data: { handler: N(e) },
|
|
2446
2446
|
handled: !1,
|
|
2447
2447
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2448
2448
|
} })]);
|
|
@@ -2457,13 +2457,13 @@ function ja(e) {
|
|
|
2457
2457
|
"onprogress",
|
|
2458
2458
|
"onreadystatechange"
|
|
2459
2459
|
].forEach((e) => {
|
|
2460
|
-
e in n && typeof n[e] == "function" &&
|
|
2460
|
+
e in n && typeof n[e] == "function" && T(n, e, function(t) {
|
|
2461
2461
|
let n = { mechanism: {
|
|
2462
|
-
data: { handler:
|
|
2462
|
+
data: { handler: N(t) },
|
|
2463
2463
|
handled: !1,
|
|
2464
2464
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2465
|
-
} }, r =
|
|
2466
|
-
return r && (n.mechanism.data.handler =
|
|
2465
|
+
} }, r = Be(t);
|
|
2466
|
+
return r && (n.mechanism.data.handler = N(r)), J(t, n);
|
|
2467
2467
|
});
|
|
2468
2468
|
}), e.apply(this, t);
|
|
2469
2469
|
};
|
|
@@ -2471,12 +2471,12 @@ function ja(e) {
|
|
|
2471
2471
|
function Ma(e, t) {
|
|
2472
2472
|
var n, r;
|
|
2473
2473
|
let i = (n = q[e]) == null ? void 0 : n.prototype;
|
|
2474
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2474
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (T(i, "addEventListener", function(n) {
|
|
2475
2475
|
return function(r, i, a) {
|
|
2476
2476
|
try {
|
|
2477
2477
|
Na(i) && (i.handleEvent = J(i.handleEvent, { mechanism: {
|
|
2478
2478
|
data: {
|
|
2479
|
-
handler:
|
|
2479
|
+
handler: N(i),
|
|
2480
2480
|
target: e
|
|
2481
2481
|
},
|
|
2482
2482
|
handled: !1,
|
|
@@ -2487,7 +2487,7 @@ function Ma(e, t) {
|
|
|
2487
2487
|
r,
|
|
2488
2488
|
J(i, { mechanism: {
|
|
2489
2489
|
data: {
|
|
2490
|
-
handler:
|
|
2490
|
+
handler: N(i),
|
|
2491
2491
|
target: e
|
|
2492
2492
|
},
|
|
2493
2493
|
handled: !1,
|
|
@@ -2496,7 +2496,7 @@ function Ma(e, t) {
|
|
|
2496
2496
|
a
|
|
2497
2497
|
]);
|
|
2498
2498
|
};
|
|
2499
|
-
}),
|
|
2499
|
+
}), T(i, "removeEventListener", function(e) {
|
|
2500
2500
|
return function(t, n, r) {
|
|
2501
2501
|
try {
|
|
2502
2502
|
let i = n.__sentry_wrapped__;
|
|
@@ -2521,16 +2521,16 @@ var Fa = W((e = {}) => {
|
|
|
2521
2521
|
name: "BrowserSession",
|
|
2522
2522
|
setupOnce() {
|
|
2523
2523
|
if (q.document === void 0) {
|
|
2524
|
-
Z &&
|
|
2524
|
+
Z && P.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2525
2525
|
return;
|
|
2526
2526
|
}
|
|
2527
|
-
|
|
2528
|
-
let e =
|
|
2527
|
+
ye({ ignoreDuration: !0 }), Ve();
|
|
2528
|
+
let e = Ye(), t = e.getUser();
|
|
2529
2529
|
e.addScopeListener((e) => {
|
|
2530
2530
|
let n = e.getUser();
|
|
2531
|
-
((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)) && (
|
|
2531
|
+
((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)) && (Ve(), t = n);
|
|
2532
2532
|
}), n === "route" && qi(({ from: e, to: t }) => {
|
|
2533
|
-
e !== t && (
|
|
2533
|
+
e !== t && (ye({ ignoreDuration: !0 }), Ve());
|
|
2534
2534
|
});
|
|
2535
2535
|
}
|
|
2536
2536
|
};
|
|
@@ -2593,9 +2593,9 @@ var za = "GlobalHandlers", Ba = W(((e = {}) => {
|
|
|
2593
2593
|
function Va(e) {
|
|
2594
2594
|
mt((t) => {
|
|
2595
2595
|
let { stackParser: n, attachStacktrace: r } = qa();
|
|
2596
|
-
if (
|
|
2596
|
+
if (O() !== e || ui()) return;
|
|
2597
2597
|
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ga(Ti(n, c || i, void 0, r, !1), a, o, s);
|
|
2598
|
-
l.level = "error",
|
|
2598
|
+
l.level = "error", We(l, {
|
|
2599
2599
|
originalException: c,
|
|
2600
2600
|
mechanism: {
|
|
2601
2601
|
handled: !1,
|
|
@@ -2607,9 +2607,9 @@ function Va(e) {
|
|
|
2607
2607
|
function Ha(e) {
|
|
2608
2608
|
_t((t) => {
|
|
2609
2609
|
let { stackParser: n, attachStacktrace: r } = qa();
|
|
2610
|
-
if (
|
|
2611
|
-
let i = Ua(t), a =
|
|
2612
|
-
a.level = "error",
|
|
2610
|
+
if (O() !== e || ui()) return;
|
|
2611
|
+
let i = Ua(t), a = F(i) ? Wa(i) : Ti(n, i, void 0, r, !0);
|
|
2612
|
+
a.level = "error", We(a, {
|
|
2613
2613
|
originalException: i,
|
|
2614
2614
|
mechanism: {
|
|
2615
2615
|
handled: !1,
|
|
@@ -2619,7 +2619,7 @@ function Ha(e) {
|
|
|
2619
2619
|
});
|
|
2620
2620
|
}
|
|
2621
2621
|
function Ua(e) {
|
|
2622
|
-
if (
|
|
2622
|
+
if (F(e)) return e;
|
|
2623
2623
|
try {
|
|
2624
2624
|
if ("reason" in e) return e.reason;
|
|
2625
2625
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
@@ -2647,17 +2647,17 @@ function Ga(e, t, n, r) {
|
|
|
2647
2647
|
return e;
|
|
2648
2648
|
}
|
|
2649
2649
|
function Ka(e) {
|
|
2650
|
-
Z &&
|
|
2650
|
+
Z && P.log(`Global Handler attached: ${e}`);
|
|
2651
2651
|
}
|
|
2652
2652
|
function qa() {
|
|
2653
|
-
let e =
|
|
2653
|
+
let e = O();
|
|
2654
2654
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2655
2655
|
stackParser: () => [],
|
|
2656
2656
|
attachStacktrace: !1
|
|
2657
2657
|
};
|
|
2658
2658
|
}
|
|
2659
2659
|
function Ja(e) {
|
|
2660
|
-
if (!(!
|
|
2660
|
+
if (!(!j(e) || e.length === 0)) return e.startsWith("data:") ? `<${Ut(e, !1)}>` : e;
|
|
2661
2661
|
}
|
|
2662
2662
|
//#endregion
|
|
2663
2663
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.56.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
@@ -2709,7 +2709,7 @@ function no(e) {
|
|
|
2709
2709
|
//#endregion
|
|
2710
2710
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.56.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2711
2711
|
function ro() {
|
|
2712
|
-
return io() ? (Z &&
|
|
2712
|
+
return io() ? (Z && Te(() => {
|
|
2713
2713
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2714
2714
|
}), !0) : !1;
|
|
2715
2715
|
}
|
|
@@ -2744,34 +2744,34 @@ function oo(e = {}) {
|
|
|
2744
2744
|
let t = !e.skipBrowserExtensionCheck && ro(), n = e.defaultIntegrations == null ? ao() : e.defaultIntegrations, r = {
|
|
2745
2745
|
...e,
|
|
2746
2746
|
enabled: t ? !1 : e.enabled,
|
|
2747
|
-
stackParser:
|
|
2747
|
+
stackParser: qe(e.stackParser || ha),
|
|
2748
2748
|
integrations: Qt({
|
|
2749
2749
|
integrations: e.integrations,
|
|
2750
2750
|
defaultIntegrations: n
|
|
2751
2751
|
}),
|
|
2752
2752
|
transport: e.transport || ia
|
|
2753
2753
|
};
|
|
2754
|
-
return
|
|
2754
|
+
return fe(to), rr(Ai, r);
|
|
2755
2755
|
}
|
|
2756
2756
|
//#endregion
|
|
2757
2757
|
//#region ../../node_modules/.pnpm/@sentry+react@10.56.0_react@19.2.7/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2758
2758
|
function so(e) {
|
|
2759
|
-
return
|
|
2759
|
+
return Ie(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2760
2760
|
}
|
|
2761
2761
|
//#endregion
|
|
2762
2762
|
//#region ../../node_modules/.pnpm/@sentry+react@10.56.0_react@19.2.7/node_modules/@sentry/react/build/esm/sdk.js
|
|
2763
2763
|
function co(e) {
|
|
2764
2764
|
let t = { ...e };
|
|
2765
|
-
lr(t, "react"),
|
|
2765
|
+
lr(t, "react"), _e("react", { version: it.version });
|
|
2766
2766
|
let n = oo(t);
|
|
2767
|
-
return
|
|
2767
|
+
return fe(lo), n;
|
|
2768
2768
|
}
|
|
2769
2769
|
function lo(e) {
|
|
2770
2770
|
return so(e) ? "[SyntheticEvent]" : to(e);
|
|
2771
2771
|
}
|
|
2772
2772
|
//#endregion
|
|
2773
2773
|
//#region src/tools/sentry.ts
|
|
2774
|
-
var uo = "production", fo = "3.4.
|
|
2774
|
+
var uo = "production", fo = "3.4.2";
|
|
2775
2775
|
function po() {
|
|
2776
2776
|
let e = "sentry_offline_queue";
|
|
2777
2777
|
return {
|
|
@@ -2852,14 +2852,14 @@ function mo(e) {
|
|
|
2852
2852
|
beforeSend(e) {
|
|
2853
2853
|
return e;
|
|
2854
2854
|
}
|
|
2855
|
-
}), e.eventId &&
|
|
2855
|
+
}), e.eventId && Le("eventId", e.eventId), Le("isWebview", e.isWebview), Le("source", "vite-main"), He({ ip_address: "{{auto}}" }), ho();
|
|
2856
2856
|
}
|
|
2857
2857
|
function ho() {
|
|
2858
2858
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2859
|
-
|
|
2859
|
+
Fe(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2860
2860
|
});
|
|
2861
2861
|
let e = window.onerror;
|
|
2862
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2862
|
+
window.onerror = (t, n, r, i, a) => (a && Fe(a, { contexts: { windowError: {
|
|
2863
2863
|
message: t,
|
|
2864
2864
|
source: n,
|
|
2865
2865
|
lineno: r,
|
|
@@ -2873,8 +2873,8 @@ function ho() {
|
|
|
2873
2873
|
//#endregion
|
|
2874
2874
|
//#region src/intercom/shouldLoad.ts
|
|
2875
2875
|
function go() {
|
|
2876
|
-
let e = new URLSearchParams(window.location.search).get(
|
|
2877
|
-
return n == null ?
|
|
2876
|
+
let e = new URLSearchParams(window.location.search).get(p), t = m ? window.localStorage.getItem(p) : null, n = e == null ? t : e;
|
|
2877
|
+
return n == null ? m && l() != null : n === "1";
|
|
2878
2878
|
}
|
|
2879
2879
|
function _o() {
|
|
2880
2880
|
let e = window.location.hostname.split(".");
|
|
@@ -3058,87 +3058,87 @@ var Co = class {
|
|
|
3058
3058
|
}
|
|
3059
3059
|
constructor(e) {
|
|
3060
3060
|
var t;
|
|
3061
|
-
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 = dt && !
|
|
3061
|
+
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 = dt && !c ? !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) => {
|
|
3062
3062
|
this.resolveReady = e;
|
|
3063
3063
|
});
|
|
3064
3064
|
let a = e.element;
|
|
3065
3065
|
if (this.element = a, a.__expofp) throw Error("Element already in use");
|
|
3066
3066
|
if (a.__expofp = this, a.getAttribute("data-event-id") || a.getAttribute("data-event")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3067
|
-
let
|
|
3068
|
-
if (!
|
|
3067
|
+
let l = e.expo || e.event;
|
|
3068
|
+
if (!l) throw Error("`expo` option is required");
|
|
3069
3069
|
mo({
|
|
3070
|
-
eventId:
|
|
3071
|
-
isWebview:
|
|
3072
|
-
}), this.eventId =
|
|
3073
|
-
let
|
|
3074
|
-
|
|
3075
|
-
let
|
|
3076
|
-
if (
|
|
3070
|
+
eventId: l || "",
|
|
3071
|
+
isWebview: o
|
|
3072
|
+
}), this.eventId = l, window.__efpEvent = l, window.__efpElement = a;
|
|
3073
|
+
let p = document.createElement("div");
|
|
3074
|
+
p.style.height = "100%", p.style.width = "100%", a.appendChild(p);
|
|
3075
|
+
let m;
|
|
3076
|
+
if (o && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
3077
3077
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
3078
3078
|
e && (this.allowConsent = e === "true");
|
|
3079
3079
|
}
|
|
3080
3080
|
if (lt) {
|
|
3081
|
-
|
|
3082
|
-
let e =
|
|
3081
|
+
m = p.attachShadow({ mode: "open" });
|
|
3082
|
+
let e = m, t = document;
|
|
3083
3083
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3084
|
-
} else
|
|
3085
|
-
let
|
|
3086
|
-
if (
|
|
3087
|
-
let
|
|
3088
|
-
window.__dataUrlBase =
|
|
3089
|
-
let
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
],
|
|
3084
|
+
} else m = p;
|
|
3085
|
+
let _ = document.createElement("div");
|
|
3086
|
+
if (_.style.height = "100%", _.style.width = "100%", m.appendChild(_), lt && Object.defineProperty(_, "ownerDocument", { value: m }), window.__efpShadowDOMStyleParent = lt ? m : void 0, this.renderTarget = _, a.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3087
|
+
let v = e.legacyDataUrlBase;
|
|
3088
|
+
window.__dataUrlBase = v, this.dataUrl = v, g.log("Instantiating ExpoFP floorplan", e.element, l);
|
|
3089
|
+
let y = v + "data.js", b = v + "wf.data.js", x = v + "fp.svg.js", te = [
|
|
3090
|
+
d(b),
|
|
3091
|
+
d(y),
|
|
3092
|
+
d(x)
|
|
3093
|
+
], S = 0;
|
|
3094
3094
|
this.efpStyleLoadHandler = function(e) {
|
|
3095
3095
|
let t = window.__efpStyleElements;
|
|
3096
|
-
for (;
|
|
3097
|
-
let e = t[
|
|
3098
|
-
|
|
3096
|
+
for (; S < t.length;) {
|
|
3097
|
+
let e = t[S];
|
|
3098
|
+
m.appendChild(e), S++;
|
|
3099
3099
|
}
|
|
3100
3100
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
3101
|
-
let
|
|
3101
|
+
let C = this;
|
|
3102
3102
|
(async function() {
|
|
3103
3103
|
var e, t;
|
|
3104
|
-
await Promise.all(
|
|
3105
|
-
let
|
|
3106
|
-
for (; window.__fpPending && !window.__fp;) await
|
|
3107
|
-
let
|
|
3108
|
-
if (!
|
|
3109
|
-
let { showEventNotFound: e } = await import("./event-not-found-
|
|
3104
|
+
await Promise.all(te);
|
|
3105
|
+
let o = 0;
|
|
3106
|
+
for (; window.__fpPending && !window.__fp;) await s(2e3), await d(x + `?v=${++o}`);
|
|
3107
|
+
let c = window.__data;
|
|
3108
|
+
if (!c) {
|
|
3109
|
+
let { showEventNotFound: e } = await import("./event-not-found-BCiSedlf.js");
|
|
3110
3110
|
e(a);
|
|
3111
3111
|
return;
|
|
3112
3112
|
}
|
|
3113
|
-
let
|
|
3114
|
-
|
|
3115
|
-
let
|
|
3116
|
-
if (
|
|
3117
|
-
|
|
3113
|
+
let _ = So(c);
|
|
3114
|
+
_ && import("./bootIntercom-D0UY8C6w.js").then(({ bootIntercom: e }) => e(_)).catch(() => {}), await ee();
|
|
3115
|
+
let v = new URLSearchParams(window.location.search), y, b;
|
|
3116
|
+
if (c != null && c.trackerUrl) try {
|
|
3117
|
+
y = new URL(c.trackerUrl), b = y.searchParams.get("expoId");
|
|
3118
3118
|
} catch (e) {
|
|
3119
3119
|
console.error(e);
|
|
3120
3120
|
}
|
|
3121
|
-
let
|
|
3122
|
-
if (!
|
|
3123
|
-
let t = new URL(e.dataUrl,
|
|
3121
|
+
let S = async (e) => {
|
|
3122
|
+
if (!y || !b) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
3123
|
+
let t = new URL(e.dataUrl, y.origin), n = await fetch(t.toString(), {
|
|
3124
3124
|
method: "POST",
|
|
3125
3125
|
headers: { "Content-Type": "application/json" },
|
|
3126
3126
|
body: JSON.stringify({
|
|
3127
|
-
expoId:
|
|
3128
|
-
token: decodeURIComponent(
|
|
3127
|
+
expoId: b,
|
|
3128
|
+
token: decodeURIComponent(v.get("t"))
|
|
3129
3129
|
})
|
|
3130
3130
|
}), r = [];
|
|
3131
3131
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
3132
3132
|
};
|
|
3133
|
-
if (
|
|
3134
|
-
if (
|
|
3133
|
+
if (v.get("heatmap") === "true") try {
|
|
3134
|
+
if (v.get("type") === "yah") v.get("subtype") === "kiosk" ? await S({
|
|
3135
3135
|
dataUrl: "/api/kiosks/list/viewer",
|
|
3136
3136
|
dataMapper: (e) => ({
|
|
3137
3137
|
...e,
|
|
3138
3138
|
id: e.key,
|
|
3139
3139
|
name: `Kiosk ${e.key}`
|
|
3140
3140
|
})
|
|
3141
|
-
}) : await
|
|
3141
|
+
}) : await S({
|
|
3142
3142
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
3143
3143
|
dataMapper: (e, t) => ({
|
|
3144
3144
|
...e,
|
|
@@ -3146,10 +3146,10 @@ var Co = class {
|
|
|
3146
3146
|
})
|
|
3147
3147
|
});
|
|
3148
3148
|
else {
|
|
3149
|
-
let e = new URL("/api/fp-stats/get",
|
|
3150
|
-
e.searchParams.set("expoId",
|
|
3151
|
-
let t = new URL("api/fp-stats/get",
|
|
3152
|
-
t.searchParams.set("expoId",
|
|
3149
|
+
let e = new URL("/api/fp-stats/get", y.origin);
|
|
3150
|
+
e.searchParams.set("expoId", b), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(v.get("t")));
|
|
3151
|
+
let t = new URL("api/fp-stats/get", y.origin);
|
|
3152
|
+
t.searchParams.set("expoId", b), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(v.get("t")));
|
|
3153
3153
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
3154
3154
|
window.__heatmapData = {
|
|
3155
3155
|
booths: i,
|
|
@@ -3160,37 +3160,37 @@ var Co = class {
|
|
|
3160
3160
|
console.error("Heatmap: Initialization error", e);
|
|
3161
3161
|
}
|
|
3162
3162
|
try {
|
|
3163
|
-
let e =
|
|
3163
|
+
let e = n();
|
|
3164
3164
|
if (e) {
|
|
3165
|
-
|
|
3166
|
-
let t =
|
|
3165
|
+
i(e);
|
|
3166
|
+
let t = r("api/rebooking-data", {
|
|
3167
3167
|
rt: e,
|
|
3168
|
-
expoKey:
|
|
3168
|
+
expoKey: l
|
|
3169
3169
|
}), n = await fetch(t);
|
|
3170
|
-
n.ok && st(
|
|
3171
|
-
} else
|
|
3170
|
+
n.ok && st(c, await n.json()), c.isRebooking = n.ok;
|
|
3171
|
+
} else c.isRebooking = !1;
|
|
3172
3172
|
} catch (e) {
|
|
3173
3173
|
console.error(e);
|
|
3174
3174
|
}
|
|
3175
|
-
let
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
at(
|
|
3185
|
-
ot(
|
|
3175
|
+
let ne = [
|
|
3176
|
+
u(h + "vendor/sanitize-css/sanitize.css", m),
|
|
3177
|
+
u(h + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", m),
|
|
3178
|
+
f("Oswald", h + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
3179
|
+
f("Oswald", h + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
3180
|
+
f("Inter", h + "fonts/inter-400.woff2", { weight: 400 }),
|
|
3181
|
+
f("Inter", h + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3182
|
+
f("Inter", h + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3183
|
+
f("efp-symbols", h + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3184
|
+
at(c, m),
|
|
3185
|
+
ot(C.icons)
|
|
3186
3186
|
];
|
|
3187
|
-
await Promise.all(
|
|
3188
|
-
let { default:
|
|
3187
|
+
await Promise.all(ne), C.enableRotation = (e = c == null ? void 0 : c.enableRotation) == null ? !1 : e, C.alwaysShowSidebar = (t = c == null ? void 0 : c.alwaysShowSidebar) == null ? !1 : t, g.log("Data loaded");
|
|
3188
|
+
let { default: w } = await import(
|
|
3189
3189
|
/* webpackChunkName: "floorplan" */
|
|
3190
|
-
"./floorplan.ready-
|
|
3190
|
+
"./floorplan.ready-Dvfe9ooo.js"
|
|
3191
3191
|
);
|
|
3192
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); a.firstChild && a.firstChild !==
|
|
3193
|
-
Object.setPrototypeOf(
|
|
3192
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); a.firstChild && a.firstChild !== p;) a.removeChild(a.firstChild);
|
|
3193
|
+
Object.setPrototypeOf(C, w.prototype).init();
|
|
3194
3194
|
})();
|
|
3195
3195
|
}
|
|
3196
3196
|
};
|