@expofp/floorplan 3.11.12 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-CdChKHNd.js → Button-C5CmZ0so.js} +6 -6
- package/dist/browser/CookieConsent-kl_B6sH5.js +38 -0
- package/dist/browser/{Debug-BQJRkSVw.js → Debug-DymHiO2Z.js} +14 -14
- package/dist/browser/{Demo-Dh5hQ00u.js → Demo-5tRIgVJF.js} +14 -14
- package/dist/browser/{Free-Be0wdt8h.js → Free-hYQaAEbK.js} +16 -16
- package/dist/browser/{Gallery-DsC-3InH.js → Gallery-D10tiZuW.js} +24 -24
- package/dist/browser/{GpsLoader-l-DhiN5_.js → GpsLoader-CNkUVJdS.js} +51 -50
- package/dist/browser/{KioskStore-hBGigttj.js → KioskStore-2WAOxGM0.js} +31 -31
- package/dist/browser/{MaplibreAdapter-B2PgQxAb.js → MaplibreAdapter-B_tNIXx4.js} +2360 -2331
- package/dist/browser/{ModalContainer-DngQzOVE.js → ModalContainer-CckyeoUG.js} +13 -13
- package/dist/browser/{PermissionNotice-Bstp1Ig2.js → PermissionNotice-qetBrmIY.js} +7 -7
- package/dist/browser/{SetKioskMode-BXTIENxU.js → SetKioskMode-BOjaqczc.js} +9 -9
- package/dist/browser/ShowKiosk-CcQHeM8K.js +33 -0
- package/dist/browser/{TouchHand-CZ4-CE4e.js → TouchHand-DKpxmOwz.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-Dc7XYnXW.js → ViewerMenuPanel-HULfvF54.js} +25 -25
- package/dist/browser/{add-debug-secret-listener-DOVFjqJo.js → add-debug-secret-listener-BTGIVZFY.js} +1 -1
- package/dist/browser/{boolean-editor-B-S4WhPP.js → boolean-editor-oT7I3D0U.js} +10 -10
- package/dist/browser/{bootIntercom-D41iCVYM.js → bootIntercom-YnsJPGCs.js} +3 -3
- package/dist/browser/{booth-by-xy-S_lLb4ur.js → booth-by-xy-DTknn14w.js} +292 -295
- package/dist/browser/bundle.json +78 -63
- package/dist/browser/{classnames-BeH2kA4o.js → classnames-VfuHc9uB.js} +2 -2
- package/dist/browser/{client-Be_UxAZT.js → client-Bevofhdz.js} +5 -5
- package/dist/browser/{components-RZNETvKi.js → components-COUCtdev.js} +1369 -1316
- package/dist/browser/{debug-overlay-DjwfpG69.js → debug-overlay-BLN24Eyb.js} +415 -415
- package/dist/browser/{debug-ui-D_afzMrh.js → debug-ui-BT7Ddvoj.js} +7 -7
- package/dist/browser/{dist-CZz9piI4.js → dist-CWBtHMZR.js} +6 -6
- package/dist/browser/{dist-B-m8ZFBo.js → dist-CtKSG8GG.js} +4 -4
- package/dist/browser/{dist-DKu24Nie.js → dist-saTnlhyc.js} +7 -7
- package/dist/browser/{browser-pQxW93uF.js → efp-debug-init-CYoM0s-a.js} +61 -14
- package/dist/browser/enum-editor-vF4eKelT.js +34 -0
- package/dist/browser/{es5-DPnfG3EX.js → es5-COzmRHZr.js} +2 -2
- package/dist/browser/{event-not-found-CE2zhFPJ.js → event-not-found-BZkFh-P9.js} +1 -1
- package/dist/browser/{exports-BtXbxSeU.js → exports-BsqJX0o4.js} +1 -1
- package/dist/browser/{favicon-B7xwIKyS.js → favicon-BBgsGFil.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BiAebF_i.js → fetch-retry.umd-BFTNSvNa.js} +2 -2
- package/dist/browser/{flex-DGirEfRz.js → flex-DnOM12q-.js} +6 -6
- package/dist/browser/{floorplan.loader-DSx2rwZS.js → floorplan.loader-DuVsbJsr.js} +890 -902
- package/dist/browser/floorplan.ready-B2SvQNh9.js +1326 -0
- package/dist/browser/{fuse-BuZwVNBr.js → fuse-Ddn6vCOL.js} +2 -2
- package/dist/browser/i18n-D9dsV3GV.js +8659 -0
- package/dist/browser/index.js +49 -117
- package/dist/browser/{index.module-BktNOlw2.js → index.module-CFTe1PiT.js} +23 -23
- package/dist/browser/integrateKiosk-vlZ9-8EP.js +28 -0
- package/dist/browser/{is-webview-DxtfBbGj.js → is-webview-SfodrdWn.js} +1 -1
- package/dist/browser/{jsx-runtime-DftMjMlZ.js → jsx-runtime-DEIf9CUU.js} +2 -2
- package/dist/browser/{lib-_QD5dt19.js → lib-CCkkeprZ.js} +5 -5
- package/dist/browser/loadImage-C356B0zk.js +58 -0
- package/dist/browser/{logDeviceInfo-CiCKGxKy.js → logDeviceInfo-UnfHYhqR.js} +9 -9
- package/dist/browser/{main-C6h73Uc5.js → main-JnTe8DvY.js} +1 -1
- package/dist/browser/mobx-DPek3UBx.js +24 -0
- package/dist/browser/optional-boolean-editor-HEZXOpAy.js +20 -0
- package/dist/browser/optional-enum-editor-DpN8qtqv.js +34 -0
- package/dist/browser/optional-string-editor-iR5VHFAR.js +30 -0
- package/dist/browser/{particles.min-CiLQfUCo.js → particles.min-BWlVGdrr.js} +2 -2
- package/dist/browser/{prop-types-8E5fCOgQ.js → prop-types-DA-Iew4C.js} +2 -2
- package/dist/browser/{react-B9lmaQYI.js → react-C02q0n7M.js} +2 -2
- package/dist/browser/{react-dom-CPWfZdj5.js → react-dom-BV1hX9nO.js} +4 -4
- package/dist/browser/reset-all-settings-BQgeIRam.js +190 -0
- package/dist/browser/{rolldown-runtime-CJax_ib9.js → rolldown-runtime-DYSU24gn.js} +1 -1
- package/dist/browser/{enum-editor-BtYkUhft.js → select-D0S5iMvJ.js} +261 -283
- package/dist/browser/{settings-BufKqYwI.js → settings-Dw78gtQ_.js} +3 -3
- package/dist/browser/{settings-item-D3AzjjoO.js → settings-item-BSR8Iz1R.js} +7 -7
- package/dist/browser/{store-DGdGzsa_.js → store-DxRBdgZM.js} +7325 -7643
- package/dist/browser/string-editor-BwtRnquZ.js +30 -0
- package/dist/browser/text-field-D5x33kIn.js +88 -0
- package/dist/browser/{theme-DvIMSzdB.js → theme-uaffdJE1.js} +9 -9
- package/dist/browser/ui-jO3fquPn.js +43 -0
- package/dist/browser/{useRenderTarget-hqd7cVeW.js → useRenderTarget-NdsPPF5u.js} +5 -5
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/LanguageRowContainer.d.ts +1 -0
- package/dist/esm/components/Layout.d.ts +2 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
- package/dist/esm/components/Maplibre/utils/resolve-map-style.d.ts +15 -0
- package/dist/esm/components/Maplibre/utils/resolve-map-style.js +1 -0
- package/dist/esm/components/Menu.d.ts +3 -2
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/OverlayContainer.d.ts +2 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/Ws.js +1 -1
- package/dist/esm/constants.d.ts +7 -13
- package/dist/esm/constants.js +1 -1
- package/dist/esm/data/fp-payloads.d.ts +27 -0
- package/dist/esm/data/fp-payloads.js +1 -0
- package/dist/esm/data/fpGeo.js +1 -1
- package/dist/esm/data/index.d.ts +8 -2
- package/dist/esm/data/index.js +1 -1
- package/dist/esm/data/svg.d.ts +4 -1
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/floorplan.loader.d.ts +13 -4
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +8 -0
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/intercom/shouldLoad.d.ts +2 -2
- package/dist/esm/intercom/shouldLoad.js +1 -1
- package/dist/esm/load-dev.d.ts +44 -0
- package/dist/esm/load-dev.js +1 -0
- package/dist/esm/load.d.ts +3 -3
- package/dist/esm/load.js +3 -3
- package/dist/esm/renderer/engine-core/fonts.js +1 -1
- package/dist/esm/services/URLFilterManager.d.ts +15 -0
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/services/multi-slug.d.ts +20 -0
- package/dist/esm/services/multi-slug.js +1 -0
- package/dist/esm/services/url-dispatch.d.ts +24 -0
- package/dist/esm/services/url-dispatch.js +1 -0
- package/dist/esm/services/url-sync.d.ts +36 -0
- package/dist/esm/services/url-sync.js +1 -0
- package/dist/esm/store/BoothStore.d.ts +2 -1
- package/dist/esm/store/ExhibitorStore.d.ts +3 -2
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/PoiTypeStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -5
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-bookmarks.d.ts +2 -0
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-categories.js +1 -1
- package/dist/esm/store/init/init-events.js +1 -1
- package/dist/esm/store/init/init-exhibitors.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/types.d.ts +2 -1
- package/dist/esm/tools/event-not-found.d.ts +4 -3
- package/dist/esm/tools/gtag.d.ts +3 -2
- package/dist/esm/tools/gtag.js +1 -1
- package/dist/esm/tools/handleDebugMode.d.ts +17 -0
- package/dist/esm/tools/handleDebugMode.js +1 -1
- package/dist/esm/tools/loaders.d.ts +0 -2
- package/dist/esm/tools/loaders.js +1 -1
- package/dist/esm/tools/rebookingUrl.js +1 -1
- package/dist/esm/tools/reset.js +1 -1
- package/dist/esm/tools/settings.js +1 -1
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/types/drawing.types.d.ts +18 -0
- package/dist/esm/types.d.ts +52 -38
- package/dist/esm/utils/areLayersEnabled.js +1 -1
- package/dist/esm/utils/camera-map-settings.d.ts +20 -0
- package/dist/esm/utils/camera-map-settings.js +1 -0
- package/dist/esm/utils/customCommands.js +1 -1
- package/dist/esm/utils/getLogoUrl.d.ts +8 -1
- package/dist/esm/utils/getLogoUrl.js +1 -1
- package/dist/esm/utils/heatmap-enabled.d.ts +13 -0
- package/dist/esm/utils/heatmap-enabled.js +1 -0
- package/dist/esm/utils/i18n.js +1 -1
- package/dist/esm/utils/imageloader.js +1 -1
- package/dist/esm/utils/is-debug.d.ts +0 -8
- package/dist/esm/utils/is-debug.js +1 -1
- package/dist/esm/utils/legacy-storage-keys.d.ts +16 -0
- package/dist/esm/utils/legacy-storage-keys.js +1 -0
- package/dist/esm/utils/loadCustomCss.d.ts +2 -2
- package/dist/esm/utils/mapEntity.d.ts +1 -0
- package/dist/esm/utils/preview-exhibitor.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/graphDataSource.js +1 -1
- package/package.json +8 -5
- package/dist/browser/CookieConsent-DmWcbyRQ.js +0 -38
- package/dist/browser/ShowKiosk-CpIQKRDF.js +0 -28
- package/dist/browser/efp-debug-init-B-EZE_S2.js +0 -42
- package/dist/browser/floorplan.ready-CX4L0Qyc.js +0 -1406
- package/dist/browser/i18n-BqlnpLSm.js +0 -3942
- package/dist/browser/loadImage-CvnSDOL0.js +0 -121
- package/dist/browser/mobx-71cpvuRe.js +0 -24
- package/dist/browser/reset-all-settings-CAVnp-HU.js +0 -141
- package/dist/browser/string-editor-BEBEF1X7.js +0 -108
- package/dist/browser/ui-DIQ3vheI.js +0 -43
- package/dist/esm/_NEW_types.d.ts +0 -6
- package/dist/esm/_NEW_types.js +0 -1
- package/dist/esm/_misc_to_move/manifest.d.ts +0 -14
- package/dist/esm/_misc_to_move/ref.d.ts +0 -6
- package/dist/esm/_misc_to_move/ref.js +0 -1
- package/dist/esm/data/Flags.d.ts +0 -23
- package/dist/esm/data/Flags.js +0 -1
- package/dist/esm/data/validate-data.d.ts +0 -3
- package/dist/esm/data/validate-data.js +0 -1
- package/dist/esm/services/routing.d.ts +0 -7
- package/dist/esm/services/routing.js +0 -1
- package/dist/esm/utils/mergeExhibitors.d.ts +0 -3
- package/dist/esm/utils/mergeExhibitors.js +0 -1
- /package/dist/esm/{_misc_to_move/manifest.js → types/drawing.types.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f30ad030-d7da-447c-865c-a5e91c7561f0", e._sentryDebugIdIdentifier = "sentry-dbid-f30ad030-d7da-447c-865c-a5e91c7561f0");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { $ as
|
|
14
|
-
import { t as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DYSU24gn.js";
|
|
10
|
+
import { A as t, D as n, E as r, O as i, Pt as a, i as o, l as s } from "./i18n-D9dsV3GV.js";
|
|
11
|
+
import { t as c } from "./react-C02q0n7M.js";
|
|
12
|
+
import { n as l, r as u, t as d } from "./loadImage-C356B0zk.js";
|
|
13
|
+
import { $ as f, A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as ee, I as te, J as ne, K as re, L as b, M as ie, N as x, O as ae, P as S, Q as oe, R as C, S as se, T as ce, U as le, V as ue, W as de, X as fe, Y as w, Z as pe, _ as T, _t as me, a as he, at as ge, b as _e, bt as E, c as ve, ct as D, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, gt as Te, h as Ee, ht as De, it as Oe, j as ke, k as O, l as Ae, lt as je, m as Me, mt as k, n as Ne, nt as Pe, o as Fe, ot as A, p as Ie, pt as Le, q as j, r as Re, rt as ze, s as Be, st as Ve, t as He, tt as Ue, u as We, ut as M, v as N, vt as P, w as Ge, x as Ke, y as F, yt as qe, z as Je } from "./exports-BsqJX0o4.js";
|
|
14
|
+
import { t as Ye } from "./is-webview-SfodrdWn.js";
|
|
15
15
|
//#region src/tools/report-error.ts
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
|
|
16
|
+
var Xe;
|
|
17
|
+
function Ze(e) {
|
|
18
|
+
Xe || e.filename.indexOf("expofp.com") === -1 || [
|
|
19
19
|
/loading chunk \d{1,2}\b/i,
|
|
20
20
|
/zaloJS/i,
|
|
21
21
|
/e.target.name/i,
|
|
22
22
|
/ResizeObserver loop/i,
|
|
23
23
|
/ChunkLoadError/i,
|
|
24
24
|
/FloorPlan not ready/i
|
|
25
|
-
].some((t) => t.test(e.message)) || (
|
|
25
|
+
].some((t) => t.test(e.message)) || (Xe = window.setTimeout(async function() {
|
|
26
26
|
var t;
|
|
27
27
|
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
28
28
|
host: document.location.host,
|
|
@@ -31,33 +31,33 @@ function nt(e) {
|
|
|
31
31
|
lineno: e.lineno,
|
|
32
32
|
colno: e.colno,
|
|
33
33
|
stack: (t = e.error) == null ? void 0 : t.stack,
|
|
34
|
-
log:
|
|
34
|
+
log: u.messages.join("\n"),
|
|
35
35
|
userAgent: navigator.userAgent,
|
|
36
36
|
language: n,
|
|
37
37
|
group: "FP",
|
|
38
38
|
url: document.location,
|
|
39
39
|
subject: "FP JS error: " + document.location.host
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
u.info("Sending error report", r), await Promise.all([Qe(r), $e(r)]);
|
|
42
42
|
}, 2e3));
|
|
43
43
|
}
|
|
44
|
-
async function
|
|
44
|
+
async function Qe(e) {
|
|
45
45
|
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
46
46
|
method: "POST",
|
|
47
47
|
headers: { "Content-Type": "application/json" },
|
|
48
48
|
body: JSON.stringify(e)
|
|
49
49
|
});
|
|
50
|
-
|
|
50
|
+
u.log("Reporter response: ", await t.text());
|
|
51
51
|
}
|
|
52
|
-
async function
|
|
53
|
-
let t =
|
|
52
|
+
async function $e(e) {
|
|
53
|
+
let t = et(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
54
54
|
method: "POST",
|
|
55
55
|
headers: { "Content-Type": "application/json" },
|
|
56
56
|
body: JSON.stringify(t)
|
|
57
57
|
});
|
|
58
|
-
|
|
58
|
+
u.log("Slack reporter response: ", await n.text());
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function et(e) {
|
|
61
61
|
let t = JSON.parse(JSON.stringify(e));
|
|
62
62
|
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
63
63
|
let n = [];
|
|
@@ -83,14 +83,14 @@ function at(e) {
|
|
|
83
83
|
}
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
86
|
-
function
|
|
86
|
+
function I(e, t = []) {
|
|
87
87
|
return [e, t];
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function tt(e, t) {
|
|
90
90
|
let [n, r] = e;
|
|
91
91
|
return [n, [...r, t]];
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function nt(e, t) {
|
|
94
94
|
let n = e[1];
|
|
95
95
|
for (let e of n) {
|
|
96
96
|
let n = e[0].type;
|
|
@@ -98,17 +98,17 @@ function st(e, t) {
|
|
|
98
98
|
}
|
|
99
99
|
return !1;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function rt(e, t) {
|
|
102
|
+
return nt(e, (e, n) => t.includes(n));
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
let t =
|
|
104
|
+
function it(e) {
|
|
105
|
+
let t = me(P);
|
|
106
106
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function at(e) {
|
|
109
109
|
let [t, n] = e, r = JSON.stringify(t);
|
|
110
110
|
function i(e) {
|
|
111
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
111
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [it(r), e] : r.push(typeof e == "string" ? it(e) : e);
|
|
112
112
|
}
|
|
113
113
|
for (let e of n) {
|
|
114
114
|
let [t, n] = e;
|
|
@@ -120,20 +120,20 @@ ${JSON.stringify(t)}
|
|
|
120
120
|
try {
|
|
121
121
|
e = JSON.stringify(n);
|
|
122
122
|
} catch {
|
|
123
|
-
e = JSON.stringify(
|
|
123
|
+
e = JSON.stringify(m(n));
|
|
124
124
|
}
|
|
125
125
|
i(e);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
return typeof r == "string" ? r :
|
|
128
|
+
return typeof r == "string" ? r : ot(r);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function ot(e) {
|
|
131
131
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
132
132
|
for (let t of e) n.set(t, r), r += t.length;
|
|
133
133
|
return n;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
let t = typeof e.data == "string" ?
|
|
135
|
+
function st(e) {
|
|
136
|
+
let t = typeof e.data == "string" ? it(e.data) : e.data;
|
|
137
137
|
return [{
|
|
138
138
|
type: "attachment",
|
|
139
139
|
length: t.length,
|
|
@@ -142,7 +142,7 @@ function ft(e) {
|
|
|
142
142
|
attachment_type: e.attachmentType
|
|
143
143
|
}, t];
|
|
144
144
|
}
|
|
145
|
-
var
|
|
145
|
+
var ct = {
|
|
146
146
|
sessions: "session",
|
|
147
147
|
event: "error",
|
|
148
148
|
client_report: "internal",
|
|
@@ -155,13 +155,13 @@ var pt = {
|
|
|
155
155
|
log: "log_item",
|
|
156
156
|
trace_metric: "metric"
|
|
157
157
|
};
|
|
158
|
-
function
|
|
159
|
-
return e in
|
|
158
|
+
function lt(e) {
|
|
159
|
+
return e in ct;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
return
|
|
161
|
+
function ut(e) {
|
|
162
|
+
return lt(e) ? ct[e] : e;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function dt(e) {
|
|
165
165
|
if (!(e != null && e.sdk)) return;
|
|
166
166
|
let { name: t, version: n } = e.sdk;
|
|
167
167
|
return {
|
|
@@ -169,83 +169,83 @@ function gt(e) {
|
|
|
169
169
|
version: n
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function ft(e, t, n, r) {
|
|
173
173
|
var i;
|
|
174
174
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
175
175
|
return {
|
|
176
176
|
event_id: e.event_id,
|
|
177
|
-
sent_at: new Date(
|
|
177
|
+
sent_at: new Date(C()).toISOString(),
|
|
178
178
|
...t && { sdk: t },
|
|
179
|
-
...!!n && r && { dsn:
|
|
179
|
+
...!!n && r && { dsn: M(r) },
|
|
180
180
|
...a && { trace: a }
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
//#endregion
|
|
184
184
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
185
|
-
var
|
|
186
|
-
function
|
|
185
|
+
var pt = 60 * 1e3;
|
|
186
|
+
function mt(e, t = C()) {
|
|
187
187
|
let n = parseInt(`${e}`, 10);
|
|
188
188
|
if (!isNaN(n)) return n * 1e3;
|
|
189
189
|
let r = Date.parse(`${e}`);
|
|
190
|
-
return isNaN(r) ?
|
|
190
|
+
return isNaN(r) ? pt : r - t;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function ht(e, t) {
|
|
193
193
|
return e[t] || e.all || 0;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
return
|
|
195
|
+
function gt(e, t, n = C()) {
|
|
196
|
+
return ht(e, t) > n;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function _t(e, { statusCode: t, headers: n }, r = C()) {
|
|
199
199
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
200
200
|
if (a) for (let e of a.trim().split(",")) {
|
|
201
201
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
202
202
|
if (!n) i.all = r + s;
|
|
203
203
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
204
204
|
}
|
|
205
|
-
else o ? i.all = r +
|
|
205
|
+
else o ? i.all = r + mt(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
206
206
|
return i;
|
|
207
207
|
}
|
|
208
208
|
//#endregion
|
|
209
209
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
210
|
-
function
|
|
210
|
+
function vt(e) {
|
|
211
211
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
212
212
|
}
|
|
213
|
-
var
|
|
214
|
-
function
|
|
213
|
+
var yt = 5e3, bt = 36e5;
|
|
214
|
+
function xt(e) {
|
|
215
215
|
function t(...e) {
|
|
216
|
-
|
|
216
|
+
E && k.log("[Offline]:", ...e);
|
|
217
217
|
}
|
|
218
218
|
return (n) => {
|
|
219
219
|
let r = e(n);
|
|
220
220
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
221
|
-
let i = n.createStore(n), a =
|
|
221
|
+
let i = n.createStore(n), a = yt, o;
|
|
222
222
|
function s(e, t, r) {
|
|
223
|
-
return
|
|
223
|
+
return rt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
224
224
|
}
|
|
225
225
|
function c(e) {
|
|
226
|
-
o && clearTimeout(o), o =
|
|
226
|
+
o && clearTimeout(o), o = vt(setTimeout(async () => {
|
|
227
227
|
o = void 0;
|
|
228
228
|
let e = await i.shift();
|
|
229
|
-
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(
|
|
229
|
+
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(C()).toISOString(), u(e, !0).catch((e) => {
|
|
230
230
|
t("Failed to retry sending", e);
|
|
231
231
|
}));
|
|
232
232
|
}, e));
|
|
233
233
|
}
|
|
234
234
|
function l() {
|
|
235
|
-
o || (c(a), a = Math.min(a * 2,
|
|
235
|
+
o || (c(a), a = Math.min(a * 2, bt));
|
|
236
236
|
}
|
|
237
237
|
async function u(e, o = !1) {
|
|
238
|
-
if (!o &&
|
|
238
|
+
if (!o && rt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
239
239
|
try {
|
|
240
240
|
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
241
241
|
let t = await r.send(e), i = 100;
|
|
242
242
|
if (t) {
|
|
243
243
|
var u, d;
|
|
244
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
244
|
+
if ((u = t.headers) != null && u["retry-after"]) i = mt(t.headers["retry-after"]);
|
|
245
245
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
246
246
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
247
247
|
}
|
|
248
|
-
return c(i), a =
|
|
248
|
+
return c(i), a = yt, t;
|
|
249
249
|
} catch (n) {
|
|
250
250
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
251
251
|
throw n;
|
|
@@ -253,89 +253,89 @@ function Et(e) {
|
|
|
253
253
|
}
|
|
254
254
|
return n.flushAtStartup && l(), {
|
|
255
255
|
send: u,
|
|
256
|
-
flush: (e) => (e === void 0 && (a =
|
|
256
|
+
flush: (e) => (e === void 0 && (a = yt, c(100)), r.flush(e))
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
262
|
-
var
|
|
263
|
-
function
|
|
264
|
-
return
|
|
265
|
-
let n =
|
|
262
|
+
var L = {}, St = {};
|
|
263
|
+
function R(e, t) {
|
|
264
|
+
return L[e] = L[e] || [], L[e].push(t), () => {
|
|
265
|
+
let n = L[e];
|
|
266
266
|
if (n) {
|
|
267
267
|
let e = n.indexOf(t);
|
|
268
268
|
e !== -1 && n.splice(e, 1);
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
if (!
|
|
274
|
-
|
|
272
|
+
function z(e, t) {
|
|
273
|
+
if (!St[e]) {
|
|
274
|
+
St[e] = !0;
|
|
275
275
|
try {
|
|
276
276
|
t();
|
|
277
277
|
} catch (t) {
|
|
278
|
-
|
|
278
|
+
E && k.error(`Error while instrumenting ${e}`, t);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
let n = e &&
|
|
282
|
+
function B(e, t) {
|
|
283
|
+
let n = e && L[e];
|
|
284
284
|
if (n) for (let r of n) try {
|
|
285
285
|
r(t);
|
|
286
286
|
} catch (t) {
|
|
287
|
-
|
|
287
|
+
E && k.error(`Error while triggering instrumentation handler.
|
|
288
288
|
Type: ${e}
|
|
289
|
-
Name: ${
|
|
289
|
+
Name: ${y(r)}
|
|
290
290
|
Error:`, t);
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
//#endregion
|
|
294
294
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
295
|
-
var
|
|
296
|
-
function
|
|
297
|
-
return "history" in
|
|
295
|
+
var V = P;
|
|
296
|
+
function Ct() {
|
|
297
|
+
return "history" in V && !!V.history;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
if (!("fetch" in
|
|
299
|
+
function wt() {
|
|
300
|
+
if (!("fetch" in V)) return !1;
|
|
301
301
|
try {
|
|
302
302
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
303
303
|
} catch {
|
|
304
304
|
return !1;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Tt(e) {
|
|
308
308
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function Et() {
|
|
311
311
|
if (typeof EdgeRuntime == "string") return !0;
|
|
312
|
-
if (!
|
|
313
|
-
if (
|
|
314
|
-
let e = !1, t =
|
|
312
|
+
if (!wt()) return !1;
|
|
313
|
+
if (Tt(V.fetch)) return !0;
|
|
314
|
+
let e = !1, t = V.document;
|
|
315
315
|
if (t && typeof t.createElement == "function") try {
|
|
316
316
|
var n;
|
|
317
317
|
let r = t.createElement("iframe");
|
|
318
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
318
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Tt(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
319
319
|
} catch (e) {
|
|
320
|
-
|
|
320
|
+
E && k.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
321
321
|
}
|
|
322
322
|
return e;
|
|
323
323
|
}
|
|
324
324
|
//#endregion
|
|
325
325
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
326
|
-
function
|
|
326
|
+
function Dt(e) {
|
|
327
327
|
if (typeof e == "boolean") return Number(e);
|
|
328
328
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
329
329
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
330
330
|
}
|
|
331
331
|
//#endregion
|
|
332
332
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
333
|
-
function
|
|
333
|
+
function Ot(e) {
|
|
334
334
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
335
335
|
}
|
|
336
336
|
//#endregion
|
|
337
337
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
338
|
-
function
|
|
338
|
+
function kt(e, t) {
|
|
339
339
|
var n;
|
|
340
340
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
341
341
|
Object.entries(t).forEach(([e, t]) => {
|
|
@@ -344,44 +344,44 @@ function Pt(e, t) {
|
|
|
344
344
|
}
|
|
345
345
|
//#endregion
|
|
346
346
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
347
|
-
function
|
|
348
|
-
|
|
347
|
+
function At(e) {
|
|
348
|
+
k.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function jt(e, t) {
|
|
351
351
|
if (!(t != null && t.length)) return !1;
|
|
352
352
|
for (let n of t) {
|
|
353
|
-
if (
|
|
354
|
-
if (e.description &&
|
|
353
|
+
if (Pt(n)) {
|
|
354
|
+
if (e.description && v(e.description, n)) return E && At(e), !0;
|
|
355
355
|
continue;
|
|
356
356
|
}
|
|
357
357
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
358
358
|
if (!n.name && !n.op && !t) continue;
|
|
359
|
-
let r = n.name ? e.description &&
|
|
359
|
+
let r = n.name ? e.description && v(e.description, n.name) : !0, i = n.op ? e.op && v(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
360
360
|
var r;
|
|
361
|
-
return
|
|
361
|
+
return Mt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
362
362
|
}) : !0;
|
|
363
|
-
if (r && i && a) return
|
|
363
|
+
if (r && i && a) return E && At(e), !0;
|
|
364
364
|
}
|
|
365
365
|
return !1;
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
367
|
+
function Mt(e, t) {
|
|
368
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? v(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function Nt(e, t) {
|
|
371
371
|
let n = t.parent_span_id, r = t.span_id;
|
|
372
372
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function Pt(e) {
|
|
375
375
|
return typeof e == "string" || e instanceof RegExp;
|
|
376
376
|
}
|
|
377
377
|
//#endregion
|
|
378
378
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
379
|
-
function
|
|
379
|
+
function Ft(e) {
|
|
380
380
|
return e.getOptions().traceLifecycle === "stream";
|
|
381
381
|
}
|
|
382
382
|
//#endregion
|
|
383
383
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
384
|
-
function
|
|
384
|
+
function It(e, t) {
|
|
385
385
|
var n, r, i, a;
|
|
386
386
|
if (!t) return e;
|
|
387
387
|
let o = e.sdk || {};
|
|
@@ -397,38 +397,38 @@ function Vt(e, t) {
|
|
|
397
397
|
} : void 0
|
|
398
398
|
}, e;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
let i =
|
|
402
|
-
return
|
|
403
|
-
sent_at: new Date(
|
|
400
|
+
function Lt(e, t, n, r) {
|
|
401
|
+
let i = dt(n);
|
|
402
|
+
return I({
|
|
403
|
+
sent_at: new Date(C()).toISOString(),
|
|
404
404
|
...i && { sdk: i },
|
|
405
|
-
...!!r && t && { dsn:
|
|
405
|
+
...!!r && t && { dsn: M(t) }
|
|
406
406
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
407
407
|
}
|
|
408
|
-
function
|
|
409
|
-
let i =
|
|
410
|
-
|
|
411
|
-
let o =
|
|
412
|
-
return delete e.sdkProcessingMetadata,
|
|
408
|
+
function Rt(e, t, n, r) {
|
|
409
|
+
let i = dt(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
410
|
+
It(e, n == null ? void 0 : n.sdk);
|
|
411
|
+
let o = ft(e, i, r, t);
|
|
412
|
+
return delete e.sdkProcessingMetadata, I(o, [[{ type: a }, e]]);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function zt(e) {
|
|
415
415
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
416
416
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
return `${
|
|
418
|
+
function Bt(e) {
|
|
419
|
+
return `${zt(e)}${e.projectId}/envelope/`;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Vt(e, t) {
|
|
422
422
|
let n = { sentry_version: "7" };
|
|
423
423
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
return t || `${
|
|
425
|
+
function Ht(e, t, n) {
|
|
426
|
+
return t || `${Bt(e)}?${Vt(e, n)}`;
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
let n =
|
|
428
|
+
function Ut(e, t) {
|
|
429
|
+
let n = be(e);
|
|
430
430
|
if (!n) return "";
|
|
431
|
-
let r = `${
|
|
431
|
+
let r = `${zt(n)}embed/error-page/`, i = `dsn=${M(n)}`;
|
|
432
432
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
433
433
|
let e = t.user;
|
|
434
434
|
if (!e) continue;
|
|
@@ -438,15 +438,15 @@ function Jt(e, t) {
|
|
|
438
438
|
}
|
|
439
439
|
//#endregion
|
|
440
440
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/integration.js
|
|
441
|
-
var
|
|
442
|
-
function
|
|
441
|
+
var Wt = [];
|
|
442
|
+
function Gt(e) {
|
|
443
443
|
let t = {};
|
|
444
444
|
return e.forEach((e) => {
|
|
445
445
|
let { name: n } = e, r = t[n];
|
|
446
446
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
447
447
|
}), Object.values(t);
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function Kt(e) {
|
|
450
450
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
451
451
|
t.forEach((e) => {
|
|
452
452
|
e.isDefaultInstance = !0;
|
|
@@ -457,25 +457,25 @@ function Zt(e) {
|
|
|
457
457
|
let e = n(t);
|
|
458
458
|
r = Array.isArray(e) ? e : [e];
|
|
459
459
|
} else r = t;
|
|
460
|
-
return
|
|
460
|
+
return Gt(r);
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function qt(e, t) {
|
|
463
463
|
let n = {};
|
|
464
464
|
return t.forEach((t) => {
|
|
465
465
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
466
466
|
}), t.forEach((t) => {
|
|
467
|
-
t &&
|
|
467
|
+
t && Yt(e, t, n);
|
|
468
468
|
}), n;
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Jt(e, t) {
|
|
471
471
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function Yt(e, t, n) {
|
|
474
474
|
if (n[t.name]) {
|
|
475
|
-
|
|
475
|
+
E && k.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
476
476
|
return;
|
|
477
477
|
}
|
|
478
|
-
if (n[t.name] = t, !
|
|
478
|
+
if (n[t.name] = t, !Wt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Wt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
479
479
|
let n = t.preprocessEvent.bind(t);
|
|
480
480
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
481
481
|
}
|
|
@@ -486,36 +486,36 @@ function en(e, t, n) {
|
|
|
486
486
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
487
487
|
let r = t[n];
|
|
488
488
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
489
|
-
}),
|
|
489
|
+
}), E && k.log(`Integration installed: ${t.name}`);
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function H(e) {
|
|
492
492
|
return e;
|
|
493
493
|
}
|
|
494
494
|
//#endregion
|
|
495
495
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
496
|
-
function
|
|
496
|
+
function Xt() {
|
|
497
497
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function Zt() {
|
|
500
500
|
return "npm";
|
|
501
501
|
}
|
|
502
502
|
//#endregion
|
|
503
503
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
504
|
-
function
|
|
505
|
-
return !
|
|
504
|
+
function Qt() {
|
|
505
|
+
return !Xt() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
506
506
|
}
|
|
507
507
|
//#endregion
|
|
508
508
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
509
|
-
function
|
|
510
|
-
return typeof window < "u" && (!
|
|
509
|
+
function $t() {
|
|
510
|
+
return typeof window < "u" && (!Qt() || en());
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function en() {
|
|
513
513
|
let e = P.process;
|
|
514
514
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
515
515
|
}
|
|
516
516
|
//#endregion
|
|
517
517
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
518
|
-
function
|
|
518
|
+
function tn(e, t) {
|
|
519
519
|
let n = t ? "auto" : "never";
|
|
520
520
|
return [{
|
|
521
521
|
type: "log",
|
|
@@ -523,38 +523,38 @@ function sn(e, t) {
|
|
|
523
523
|
content_type: "application/vnd.sentry.items.log+json"
|
|
524
524
|
}, {
|
|
525
525
|
version: 2,
|
|
526
|
-
|
|
526
|
+
...$t() && { ingest_settings: {
|
|
527
527
|
infer_ip: n,
|
|
528
528
|
infer_user_agent: n
|
|
529
529
|
} },
|
|
530
530
|
items: e
|
|
531
531
|
}];
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function nn(e, t, n, r, i) {
|
|
534
534
|
let a = {};
|
|
535
535
|
return t != null && t.sdk && (a.sdk = {
|
|
536
536
|
name: t.sdk.name,
|
|
537
537
|
version: t.sdk.version
|
|
538
|
-
}), n && r && (a.dsn =
|
|
538
|
+
}), n && r && (a.dsn = M(r)), I(a, [tn(e, i)]);
|
|
539
539
|
}
|
|
540
540
|
//#endregion
|
|
541
541
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
542
|
-
function
|
|
542
|
+
function rn(e, t) {
|
|
543
543
|
var n;
|
|
544
|
-
let r = (n = t == null ?
|
|
544
|
+
let r = (n = t == null ? an(e) : t) == null ? [] : n;
|
|
545
545
|
if (r.length === 0) return;
|
|
546
|
-
let i = e.getOptions(), a =
|
|
547
|
-
|
|
546
|
+
let i = e.getOptions(), a = nn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
547
|
+
on().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
548
548
|
}
|
|
549
|
-
function
|
|
550
|
-
return
|
|
549
|
+
function an(e) {
|
|
550
|
+
return on().get(e);
|
|
551
551
|
}
|
|
552
|
-
function
|
|
553
|
-
return
|
|
552
|
+
function on() {
|
|
553
|
+
return Te("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
554
554
|
}
|
|
555
555
|
//#endregion
|
|
556
556
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
557
|
-
function
|
|
557
|
+
function sn(e, t) {
|
|
558
558
|
let n = t ? "auto" : "never";
|
|
559
559
|
return [{
|
|
560
560
|
type: "trace_metric",
|
|
@@ -562,39 +562,39 @@ function fn(e, t) {
|
|
|
562
562
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
563
563
|
}, {
|
|
564
564
|
version: 2,
|
|
565
|
-
|
|
565
|
+
...$t() && { ingest_settings: {
|
|
566
566
|
infer_ip: n,
|
|
567
567
|
infer_user_agent: n
|
|
568
568
|
} },
|
|
569
569
|
items: e
|
|
570
570
|
}];
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function cn(e, t, n, r, i) {
|
|
573
573
|
let a = {};
|
|
574
574
|
return t != null && t.sdk && (a.sdk = {
|
|
575
575
|
name: t.sdk.name,
|
|
576
576
|
version: t.sdk.version
|
|
577
|
-
}), n && r && (a.dsn =
|
|
577
|
+
}), n && r && (a.dsn = M(r)), I(a, [sn(e, i)]);
|
|
578
578
|
}
|
|
579
579
|
//#endregion
|
|
580
580
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
581
|
-
function
|
|
581
|
+
function ln(e, t) {
|
|
582
582
|
var n;
|
|
583
|
-
let r = (n = t == null ?
|
|
583
|
+
let r = (n = t == null ? un(e) : t) == null ? [] : n;
|
|
584
584
|
if (r.length === 0) return;
|
|
585
|
-
let i = e.getOptions(), a =
|
|
586
|
-
|
|
585
|
+
let i = e.getOptions(), a = cn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
586
|
+
dn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
587
587
|
}
|
|
588
|
-
function
|
|
589
|
-
return
|
|
588
|
+
function un(e) {
|
|
589
|
+
return dn().get(e);
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
return
|
|
591
|
+
function dn() {
|
|
592
|
+
return Te("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
593
593
|
}
|
|
594
594
|
//#endregion
|
|
595
595
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
596
|
-
function
|
|
597
|
-
return
|
|
596
|
+
function fn(e) {
|
|
597
|
+
return Ee({
|
|
598
598
|
trace_id: e.trace_id,
|
|
599
599
|
span_id: e.span_id,
|
|
600
600
|
parent_span_id: e.parent_span_id,
|
|
@@ -609,13 +609,13 @@ function _n(e) {
|
|
|
609
609
|
}
|
|
610
610
|
//#endregion
|
|
611
611
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
612
|
-
function
|
|
612
|
+
function pn(e, t) {
|
|
613
613
|
var n, r;
|
|
614
|
-
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 ||
|
|
614
|
+
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 || Ft(t)) return;
|
|
615
615
|
let i = [], a = [];
|
|
616
616
|
for (let t of e.spans) {
|
|
617
617
|
var o;
|
|
618
|
-
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(
|
|
618
|
+
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(fn(t)) : a.push(t);
|
|
619
619
|
}
|
|
620
620
|
if (i.length === 0) return;
|
|
621
621
|
e.spans = a;
|
|
@@ -626,7 +626,7 @@ function vn(e, t) {
|
|
|
626
626
|
content_type: "application/vnd.sentry.items.span.v2+json"
|
|
627
627
|
}, {
|
|
628
628
|
version: 2,
|
|
629
|
-
|
|
629
|
+
...$t() && { ingest_settings: {
|
|
630
630
|
infer_ip: s,
|
|
631
631
|
infer_user_agent: s
|
|
632
632
|
} },
|
|
@@ -635,8 +635,8 @@ function vn(e, t) {
|
|
|
635
635
|
}
|
|
636
636
|
//#endregion
|
|
637
637
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
638
|
-
var
|
|
639
|
-
function
|
|
638
|
+
var mn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
639
|
+
function hn(e = 100) {
|
|
640
640
|
let t = /* @__PURE__ */ new Set();
|
|
641
641
|
function n() {
|
|
642
642
|
return t.size < e;
|
|
@@ -645,15 +645,15 @@ function bn(e = 100) {
|
|
|
645
645
|
t.delete(e);
|
|
646
646
|
}
|
|
647
647
|
function i(e) {
|
|
648
|
-
if (!n()) return
|
|
648
|
+
if (!n()) return We(mn);
|
|
649
649
|
let i = e();
|
|
650
650
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
651
651
|
}
|
|
652
652
|
function a(e) {
|
|
653
|
-
if (!t.size) return
|
|
653
|
+
if (!t.size) return ye(!0);
|
|
654
654
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
655
655
|
if (!e) return n;
|
|
656
|
-
let r = [n, new Promise((t) =>
|
|
656
|
+
let r = [n, new Promise((t) => vt(setTimeout(() => t(!1), e)))];
|
|
657
657
|
return Promise.race(r);
|
|
658
658
|
}
|
|
659
659
|
return {
|
|
@@ -664,27 +664,27 @@ function bn(e = 100) {
|
|
|
664
664
|
drain: a
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function gn(e, t, n = hn(e.bufferSize || 64)) {
|
|
668
668
|
let r = {}, i = (e) => n.drain(e);
|
|
669
669
|
function a(i) {
|
|
670
670
|
let a = [];
|
|
671
|
-
if (
|
|
672
|
-
let i =
|
|
673
|
-
|
|
671
|
+
if (nt(i, (t, n) => {
|
|
672
|
+
let i = ut(n);
|
|
673
|
+
gt(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
674
674
|
}), a.length === 0) return Promise.resolve({});
|
|
675
|
-
let o =
|
|
676
|
-
if (
|
|
677
|
-
|
|
675
|
+
let o = I(i[0], a), s = (t) => {
|
|
676
|
+
if (rt(o, ["client_report"])) {
|
|
677
|
+
E && k.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
678
678
|
return;
|
|
679
679
|
}
|
|
680
|
-
|
|
681
|
-
e.recordDroppedEvent(t,
|
|
680
|
+
nt(o, (n, r) => {
|
|
681
|
+
e.recordDroppedEvent(t, ut(r));
|
|
682
682
|
});
|
|
683
683
|
};
|
|
684
|
-
return n.add(() => t({ body:
|
|
685
|
-
throw s("network_error"),
|
|
684
|
+
return n.add(() => t({ body: at(o) }).then((e) => e.statusCode === 413 ? (E && k.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (E && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && k.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = _t(r, e), e), (e) => {
|
|
685
|
+
throw s("network_error"), E && k.error("Encountered error running transport request:", e), e;
|
|
686
686
|
})).then((e) => e, (e) => {
|
|
687
|
-
if (e ===
|
|
687
|
+
if (e === mn) return E && k.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
688
688
|
throw e;
|
|
689
689
|
});
|
|
690
690
|
}
|
|
@@ -695,16 +695,16 @@ function xn(e, t, n = bn(e.bufferSize || 64)) {
|
|
|
695
695
|
}
|
|
696
696
|
//#endregion
|
|
697
697
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
698
|
-
function
|
|
698
|
+
function _n(e, t, n) {
|
|
699
699
|
let r = [{ type: "client_report" }, {
|
|
700
|
-
timestamp: n ||
|
|
700
|
+
timestamp: n || ae(),
|
|
701
701
|
discarded_events: e
|
|
702
702
|
}];
|
|
703
|
-
return
|
|
703
|
+
return I(t ? { dsn: t } : {}, [r]);
|
|
704
704
|
}
|
|
705
705
|
//#endregion
|
|
706
706
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
707
|
-
function
|
|
707
|
+
function vn(e) {
|
|
708
708
|
let t = [];
|
|
709
709
|
e.message && t.push(e.message);
|
|
710
710
|
try {
|
|
@@ -715,7 +715,7 @@ function Cn(e) {
|
|
|
715
715
|
}
|
|
716
716
|
//#endregion
|
|
717
717
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
718
|
-
function
|
|
718
|
+
function yn(e) {
|
|
719
719
|
var t, n, r;
|
|
720
720
|
let { trace_id: i, parent_span_id: a, span_id: o, status: s, origin: c, data: l, op: u } = (t = (n = e.contexts) == null ? void 0 : n.trace) == null ? {} : t;
|
|
721
721
|
return {
|
|
@@ -729,13 +729,13 @@ function wn(e) {
|
|
|
729
729
|
timestamp: e.timestamp,
|
|
730
730
|
trace_id: i == null ? "" : i,
|
|
731
731
|
origin: c,
|
|
732
|
-
profile_id: l == null ? void 0 : l[
|
|
733
|
-
exclusive_time: l == null ? void 0 : l[
|
|
732
|
+
profile_id: l == null ? void 0 : l[_],
|
|
733
|
+
exclusive_time: l == null ? void 0 : l[ce],
|
|
734
734
|
measurements: e.measurements,
|
|
735
735
|
is_segment: !0
|
|
736
736
|
};
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function bn(e) {
|
|
739
739
|
return {
|
|
740
740
|
type: "transaction",
|
|
741
741
|
timestamp: e.timestamp,
|
|
@@ -759,7 +759,7 @@ function Tn(e) {
|
|
|
759
759
|
}
|
|
760
760
|
//#endregion
|
|
761
761
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
762
|
-
var
|
|
762
|
+
var U = [
|
|
763
763
|
"forwarded",
|
|
764
764
|
"-ip",
|
|
765
765
|
"remote-",
|
|
@@ -768,7 +768,7 @@ var En = [
|
|
|
768
768
|
];
|
|
769
769
|
//#endregion
|
|
770
770
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
771
|
-
function
|
|
771
|
+
function xn(e) {
|
|
772
772
|
return e === !0 ? {
|
|
773
773
|
userInfo: !0,
|
|
774
774
|
cookies: !0,
|
|
@@ -791,13 +791,13 @@ function Dn(e) {
|
|
|
791
791
|
frameContextLines: 7
|
|
792
792
|
} : {
|
|
793
793
|
userInfo: !1,
|
|
794
|
-
cookies: { deny:
|
|
794
|
+
cookies: { deny: U },
|
|
795
795
|
httpHeaders: {
|
|
796
|
-
request: { deny:
|
|
797
|
-
response: { deny:
|
|
796
|
+
request: { deny: U },
|
|
797
|
+
response: { deny: U }
|
|
798
798
|
},
|
|
799
799
|
httpBodies: [],
|
|
800
|
-
queryParams: { deny:
|
|
800
|
+
queryParams: { deny: U },
|
|
801
801
|
genAI: {
|
|
802
802
|
inputs: !1,
|
|
803
803
|
outputs: !1
|
|
@@ -808,7 +808,7 @@ function Dn(e) {
|
|
|
808
808
|
}
|
|
809
809
|
//#endregion
|
|
810
810
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
811
|
-
var
|
|
811
|
+
var Sn = {
|
|
812
812
|
userInfo: !0,
|
|
813
813
|
cookies: !0,
|
|
814
814
|
httpHeaders: {
|
|
@@ -829,48 +829,48 @@ var On = {
|
|
|
829
829
|
stackFrameVariables: !0,
|
|
830
830
|
frameContextLines: 5
|
|
831
831
|
};
|
|
832
|
-
function
|
|
833
|
-
var t, n, r, i, a, o, s, c, l, u, d,
|
|
834
|
-
let
|
|
832
|
+
function Cn(e) {
|
|
833
|
+
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h;
|
|
834
|
+
let g = e.dataCollection == null ? xn(e.sendDefaultPii) : Sn, _ = (t = e.dataCollection) == null ? {} : t;
|
|
835
835
|
return {
|
|
836
|
-
userInfo: (n =
|
|
837
|
-
cookies: (r =
|
|
836
|
+
userInfo: (n = _.userInfo) == null ? g.userInfo : n,
|
|
837
|
+
cookies: (r = _.cookies) == null ? g.cookies : r,
|
|
838
838
|
httpHeaders: {
|
|
839
|
-
request: (i = (a =
|
|
840
|
-
response: (o = (s =
|
|
839
|
+
request: (i = (a = _.httpHeaders) == null ? void 0 : a.request) == null ? g.httpHeaders.request : i,
|
|
840
|
+
response: (o = (s = _.httpHeaders) == null ? void 0 : s.response) == null ? g.httpHeaders.response : o
|
|
841
841
|
},
|
|
842
|
-
httpBodies: (c =
|
|
843
|
-
queryParams: (l =
|
|
842
|
+
httpBodies: (c = _.httpBodies) == null ? g.httpBodies : c,
|
|
843
|
+
queryParams: (l = _.queryParams) == null ? g.queryParams : l,
|
|
844
844
|
genAI: {
|
|
845
|
-
inputs: (u = (d =
|
|
846
|
-
outputs: (
|
|
845
|
+
inputs: (u = (d = _.genAI) == null ? void 0 : d.inputs) == null ? g.genAI.inputs : u,
|
|
846
|
+
outputs: (f = (p = _.genAI) == null ? void 0 : p.outputs) == null ? g.genAI.outputs : f
|
|
847
847
|
},
|
|
848
|
-
stackFrameVariables: (
|
|
849
|
-
frameContextLines: (
|
|
848
|
+
stackFrameVariables: (m = _.stackFrameVariables) == null ? g.stackFrameVariables : m,
|
|
849
|
+
frameContextLines: (h = _.frameContextLines) == null ? g.frameContextLines : h
|
|
850
850
|
};
|
|
851
851
|
}
|
|
852
852
|
//#endregion
|
|
853
853
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/client.js
|
|
854
|
-
var
|
|
855
|
-
function
|
|
854
|
+
var wn = "Not capturing exception because it's already been captured.", Tn = "Discarded session because of missing or non-string release", En = /* @__PURE__ */ Symbol.for("SentryInternalError"), Dn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), On = 5e3;
|
|
855
|
+
function kn(e) {
|
|
856
856
|
return {
|
|
857
857
|
message: e,
|
|
858
|
-
[
|
|
858
|
+
[En]: !0
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function An(e) {
|
|
862
862
|
return {
|
|
863
863
|
message: e,
|
|
864
|
-
[
|
|
864
|
+
[Dn]: !0
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
|
-
function
|
|
868
|
-
return !!e && typeof e == "object" &&
|
|
867
|
+
function jn(e) {
|
|
868
|
+
return !!e && typeof e == "object" && En in e;
|
|
869
869
|
}
|
|
870
|
-
function
|
|
871
|
-
return !!e && typeof e == "object" &&
|
|
870
|
+
function Mn(e) {
|
|
871
|
+
return !!e && typeof e == "object" && Dn in e;
|
|
872
872
|
}
|
|
873
|
-
function
|
|
873
|
+
function Nn(e, t, n, r, i) {
|
|
874
874
|
let a = 0, o, s = !1;
|
|
875
875
|
e.on(n, () => {
|
|
876
876
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -878,8 +878,8 @@ function zn(e, t, n, r, i) {
|
|
|
878
878
|
if (a += r(t), a >= 8e5) i(e);
|
|
879
879
|
else if (!s) {
|
|
880
880
|
var n;
|
|
881
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
882
|
-
t > 0 && (s = !0, o =
|
|
881
|
+
let t = (n = e.getOptions()._flushInterval) == null ? On : n;
|
|
882
|
+
t > 0 && (s = !0, o = vt(setTimeout(() => {
|
|
883
883
|
i(e);
|
|
884
884
|
}, t)));
|
|
885
885
|
}
|
|
@@ -887,11 +887,11 @@ function zn(e, t, n, r, i) {
|
|
|
887
887
|
i(e);
|
|
888
888
|
});
|
|
889
889
|
}
|
|
890
|
-
var
|
|
890
|
+
var Pn = class {
|
|
891
891
|
constructor(e) {
|
|
892
892
|
var t, n, r, i, a, o, s;
|
|
893
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
894
|
-
let t =
|
|
893
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = hn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = Cn(e), e.dsn ? this._dsn = be(e.dsn) : E && k.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
894
|
+
let t = Ht(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
895
895
|
this._transport = e.transport({
|
|
896
896
|
tunnel: this._options.tunnel,
|
|
897
897
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -899,11 +899,11 @@ var Bn = class {
|
|
|
899
899
|
url: t
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
902
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Nn(this, "afterCaptureLog", "flushLogs", Vn, rn), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Nn(this, "afterCaptureMetric", "flushMetrics", Bn, ln);
|
|
903
903
|
}
|
|
904
904
|
captureException(e, t, n) {
|
|
905
|
-
let r =
|
|
906
|
-
if (
|
|
905
|
+
let r = S();
|
|
906
|
+
if (ie(e)) return E && k.log(wn), r;
|
|
907
907
|
let i = {
|
|
908
908
|
event_id: r,
|
|
909
909
|
...t
|
|
@@ -912,22 +912,22 @@ var Bn = class {
|
|
|
912
912
|
}
|
|
913
913
|
captureMessage(e, t, n, r) {
|
|
914
914
|
let i = {
|
|
915
|
-
event_id:
|
|
915
|
+
event_id: S(),
|
|
916
916
|
...n
|
|
917
|
-
}, a =
|
|
917
|
+
}, a = Oe(e) ? e : String(e), o = A(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
918
918
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
919
919
|
}
|
|
920
920
|
captureEvent(e, t, n) {
|
|
921
|
-
let r =
|
|
922
|
-
if (t != null && t.originalException &&
|
|
921
|
+
let r = S();
|
|
922
|
+
if (t != null && t.originalException && ie(t.originalException)) return E && k.log(wn), r;
|
|
923
923
|
let i = {
|
|
924
924
|
event_id: r,
|
|
925
925
|
...t
|
|
926
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
926
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Fn(e.type);
|
|
927
927
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
928
928
|
}
|
|
929
929
|
captureSession(e) {
|
|
930
|
-
this.sendSession(e),
|
|
930
|
+
this.sendSession(e), h(e, { init: !1 });
|
|
931
931
|
}
|
|
932
932
|
getDsn() {
|
|
933
933
|
return this._dsn;
|
|
@@ -951,7 +951,7 @@ var Bn = class {
|
|
|
951
951
|
return n && r;
|
|
952
952
|
}
|
|
953
953
|
async close(e) {
|
|
954
|
-
|
|
954
|
+
rn(this);
|
|
955
955
|
let t = await this.flush(e);
|
|
956
956
|
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
957
957
|
}
|
|
@@ -972,38 +972,38 @@ var Bn = class {
|
|
|
972
972
|
}
|
|
973
973
|
addIntegration(e) {
|
|
974
974
|
let t = this._integrations[e.name];
|
|
975
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
975
|
+
!t && e.beforeSetup && e.beforeSetup(this), Yt(this, e, this._integrations), t || Jt(this, [e]);
|
|
976
976
|
}
|
|
977
977
|
sendEvent(e, t = {}) {
|
|
978
978
|
this.emit("beforeSendEvent", e, t);
|
|
979
|
-
let n =
|
|
980
|
-
for (let e of t.attachments || []) r =
|
|
981
|
-
n && (r =
|
|
979
|
+
let n = pn(e, this), r = Rt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
980
|
+
for (let e of t.attachments || []) r = tt(r, st(e));
|
|
981
|
+
n && (r = tt(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
982
982
|
}
|
|
983
983
|
sendSession(e) {
|
|
984
|
-
let { release: t, environment: n =
|
|
984
|
+
let { release: t, environment: n = we } = this._options;
|
|
985
985
|
if ("aggregates" in e) {
|
|
986
986
|
let r = e.attrs || {};
|
|
987
987
|
if (!r.release && !t) {
|
|
988
|
-
|
|
988
|
+
E && k.warn(Tn);
|
|
989
989
|
return;
|
|
990
990
|
}
|
|
991
991
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
992
992
|
} else {
|
|
993
993
|
if (!e.release && !t) {
|
|
994
|
-
|
|
994
|
+
E && k.warn(Tn);
|
|
995
995
|
return;
|
|
996
996
|
}
|
|
997
997
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
998
998
|
}
|
|
999
999
|
this.emit("beforeSendSession", e);
|
|
1000
|
-
let r =
|
|
1000
|
+
let r = Lt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
1001
1001
|
this.sendEnvelope(r);
|
|
1002
1002
|
}
|
|
1003
1003
|
recordDroppedEvent(e, t, n = 1) {
|
|
1004
1004
|
if (this._options.sendClientReports) {
|
|
1005
1005
|
let r = `${e}:${t}`;
|
|
1006
|
-
|
|
1006
|
+
E && k.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
1009
|
on(e, t) {
|
|
@@ -1020,15 +1020,15 @@ var Bn = class {
|
|
|
1020
1020
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
1021
1021
|
return await this._transport.send(e);
|
|
1022
1022
|
} catch (e) {
|
|
1023
|
-
return
|
|
1023
|
+
return E && k.error("Error while sending envelope:", e), {};
|
|
1024
1024
|
}
|
|
1025
|
-
return
|
|
1025
|
+
return E && k.error("Transport disabled"), {};
|
|
1026
1026
|
}
|
|
1027
1027
|
registerCleanup(e) {}
|
|
1028
1028
|
dispose() {}
|
|
1029
1029
|
_setupIntegrations() {
|
|
1030
1030
|
let { integrations: e } = this._options;
|
|
1031
|
-
this._integrations =
|
|
1031
|
+
this._integrations = qt(this, e), Jt(this, e);
|
|
1032
1032
|
}
|
|
1033
1033
|
_updateSessionFromEvent(e, t) {
|
|
1034
1034
|
var n;
|
|
@@ -1044,7 +1044,7 @@ var Bn = class {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
1046
|
let s = e.status === "ok";
|
|
1047
|
-
(s && e.errors === 0 || s && r) && (
|
|
1047
|
+
(s && e.errors === 0 || s && r) && (h(e, {
|
|
1048
1048
|
...r && { status: "crashed" },
|
|
1049
1049
|
errors: e.errors || Number(i || r)
|
|
1050
1050
|
}), this.captureSession(e));
|
|
@@ -1062,40 +1062,40 @@ var Bn = class {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
_prepareEvent(e, t, n, r) {
|
|
1064
1064
|
let i = this.getOptions(), a = this.getIntegrationNames();
|
|
1065
|
-
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
1065
|
+
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), Ae(i, e, t, n, this, r).then((e) => {
|
|
1066
1066
|
var r;
|
|
1067
1067
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
1068
1068
|
trace: {
|
|
1069
1069
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
1070
|
-
...
|
|
1070
|
+
..._e(n)
|
|
1071
1071
|
},
|
|
1072
1072
|
...e.contexts
|
|
1073
1073
|
}, e.sdkProcessingMetadata = {
|
|
1074
|
-
dynamicSamplingContext:
|
|
1074
|
+
dynamicSamplingContext: Se(this, n),
|
|
1075
1075
|
...e.sdkProcessingMetadata
|
|
1076
1076
|
}, e);
|
|
1077
1077
|
});
|
|
1078
1078
|
}
|
|
1079
|
-
_captureEvent(e, t = {}, n =
|
|
1080
|
-
return
|
|
1081
|
-
|
|
1079
|
+
_captureEvent(e, t = {}, n = N(), r = F()) {
|
|
1080
|
+
return E && Rn(e) && k.log(`Captured error event \`${vn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1081
|
+
E && (Mn(e) ? k.log(e.message) : jn(e) ? k.warn(e.message) : k.warn(e));
|
|
1082
1082
|
});
|
|
1083
1083
|
}
|
|
1084
1084
|
_processEvent(e, t, n, r) {
|
|
1085
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1086
|
-
if (s && typeof l == "number" &&
|
|
1087
|
-
let u =
|
|
1085
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = zn(e), s = Rn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : Dt(a);
|
|
1086
|
+
if (s && typeof l == "number" && Je() > l) return this.recordDroppedEvent("sample_rate", "error"), We(An(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1087
|
+
let u = Fn(e.type);
|
|
1088
1088
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1089
1089
|
var n;
|
|
1090
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1091
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1090
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), An("An event processor returned `null`, will not send event.");
|
|
1091
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : In(Ln(this, i, e, t), c);
|
|
1092
1092
|
}).then((i) => {
|
|
1093
1093
|
if (i === null) {
|
|
1094
1094
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1095
1095
|
let t = 1 + (e.spans || []).length;
|
|
1096
1096
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1097
1097
|
}
|
|
1098
|
-
throw
|
|
1098
|
+
throw An(`${c} returned \`null\`, will not send event.`);
|
|
1099
1099
|
}
|
|
1100
1100
|
let a = n.getSession() || r.getSession();
|
|
1101
1101
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1109,19 +1109,19 @@ var Bn = class {
|
|
|
1109
1109
|
source: "custom"
|
|
1110
1110
|
}), this.sendEvent(i, t), i;
|
|
1111
1111
|
}).then(null, (e) => {
|
|
1112
|
-
throw
|
|
1112
|
+
throw Mn(e) || jn(e) ? e : (this.captureException(e, {
|
|
1113
1113
|
mechanism: {
|
|
1114
1114
|
handled: !1,
|
|
1115
1115
|
type: "internal"
|
|
1116
1116
|
},
|
|
1117
1117
|
data: { __sentry__: !0 },
|
|
1118
1118
|
originalException: e
|
|
1119
|
-
}),
|
|
1119
|
+
}), kn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1120
1120
|
Reason: ${e}`));
|
|
1121
1121
|
});
|
|
1122
1122
|
}
|
|
1123
1123
|
_process(e, t) {
|
|
1124
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
1124
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === mn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
1125
1125
|
}
|
|
1126
1126
|
_clearOutcomes() {
|
|
1127
1127
|
let e = this._outcomes;
|
|
@@ -1135,64 +1135,64 @@ Reason: ${e}`));
|
|
|
1135
1135
|
});
|
|
1136
1136
|
}
|
|
1137
1137
|
_flushOutcomes() {
|
|
1138
|
-
|
|
1138
|
+
E && k.log("Flushing outcomes...");
|
|
1139
1139
|
let e = this._clearOutcomes();
|
|
1140
1140
|
if (e.length === 0) {
|
|
1141
|
-
|
|
1141
|
+
E && k.log("No outcomes to send");
|
|
1142
1142
|
return;
|
|
1143
1143
|
}
|
|
1144
1144
|
if (!this._dsn) {
|
|
1145
|
-
|
|
1145
|
+
E && k.log("No dsn provided, will not send outcomes");
|
|
1146
1146
|
return;
|
|
1147
1147
|
}
|
|
1148
|
-
|
|
1149
|
-
let t =
|
|
1148
|
+
E && k.log("Sending outcomes:", e);
|
|
1149
|
+
let t = _n(e, this._options.tunnel && M(this._dsn));
|
|
1150
1150
|
this.sendEnvelope(t);
|
|
1151
1151
|
}
|
|
1152
1152
|
};
|
|
1153
|
-
function
|
|
1153
|
+
function Fn(e) {
|
|
1154
1154
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1156
|
+
function In(e, t) {
|
|
1157
1157
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1158
|
-
if (
|
|
1159
|
-
if (!
|
|
1158
|
+
if (je(e)) return e.then((e) => {
|
|
1159
|
+
if (!ge(e) && e !== null) throw kn(n);
|
|
1160
1160
|
return e;
|
|
1161
1161
|
}, (e) => {
|
|
1162
|
-
throw
|
|
1162
|
+
throw kn(`${t} rejected with ${e}`);
|
|
1163
1163
|
});
|
|
1164
|
-
if (!
|
|
1164
|
+
if (!ge(e) && e !== null) throw kn(n);
|
|
1165
1165
|
return e;
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1168
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
1169
|
-
if (
|
|
1170
|
-
if (
|
|
1167
|
+
function Ln(e, t, n, r) {
|
|
1168
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !Ot(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1169
|
+
if (Rn(c) && i) return i(c, r);
|
|
1170
|
+
if (zn(c)) {
|
|
1171
1171
|
if (s || o) {
|
|
1172
|
-
let t =
|
|
1173
|
-
if (o != null && o.length &&
|
|
1172
|
+
let t = yn(c);
|
|
1173
|
+
if (o != null && o.length && jt({
|
|
1174
1174
|
description: t.description,
|
|
1175
1175
|
op: t.op,
|
|
1176
1176
|
attributes: t.data
|
|
1177
1177
|
}, o)) return null;
|
|
1178
1178
|
if (s) {
|
|
1179
1179
|
let e = s(t);
|
|
1180
|
-
e ? c =
|
|
1180
|
+
e ? c = se(n, bn(e)) : Ie();
|
|
1181
1181
|
}
|
|
1182
1182
|
if (c.spans) {
|
|
1183
1183
|
let t = [], n = c.spans;
|
|
1184
1184
|
for (let e of n) {
|
|
1185
|
-
if (o != null && o.length &&
|
|
1185
|
+
if (o != null && o.length && jt({
|
|
1186
1186
|
description: e.description,
|
|
1187
1187
|
op: e.op,
|
|
1188
1188
|
attributes: e.data
|
|
1189
1189
|
}, o)) {
|
|
1190
|
-
|
|
1190
|
+
Nt(n, e);
|
|
1191
1191
|
continue;
|
|
1192
1192
|
}
|
|
1193
1193
|
if (s) {
|
|
1194
1194
|
let n = s(e);
|
|
1195
|
-
n ? t.push(n) : (
|
|
1195
|
+
n ? t.push(n) : (Ie(), t.push(e));
|
|
1196
1196
|
} else t.push(e);
|
|
1197
1197
|
}
|
|
1198
1198
|
let r = c.spans.length - t.length;
|
|
@@ -1212,45 +1212,45 @@ function Un(e, t, n, r) {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
return c;
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1215
|
+
function Rn(e) {
|
|
1216
1216
|
return e.type === void 0;
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function zn(e) {
|
|
1219
1219
|
return e.type === "transaction";
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1221
|
+
function Bn(e) {
|
|
1222
1222
|
let t = 0;
|
|
1223
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1223
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Hn(e.attributes);
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function Vn(e) {
|
|
1226
1226
|
let t = 0;
|
|
1227
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1227
|
+
return e.message && (t += e.message.length * 2), t + Hn(e.attributes);
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function Hn(e) {
|
|
1230
1230
|
if (!e) return 0;
|
|
1231
1231
|
let t = 0;
|
|
1232
1232
|
return Object.values(e).forEach((e) => {
|
|
1233
|
-
Array.isArray(e) ? t += e.length *
|
|
1233
|
+
Array.isArray(e) ? t += e.length * Un(e[0]) : A(e) ? t += Un(e) : t += 100;
|
|
1234
1234
|
}), t;
|
|
1235
1235
|
}
|
|
1236
|
-
function
|
|
1236
|
+
function Un(e) {
|
|
1237
1237
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1238
1238
|
}
|
|
1239
1239
|
//#endregion
|
|
1240
1240
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1241
|
-
function
|
|
1242
|
-
t.debug === !0 && (
|
|
1241
|
+
function Wn(e, t) {
|
|
1242
|
+
t.debug === !0 && (E ? k.enable() : Le(() => {
|
|
1243
1243
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1244
|
-
})),
|
|
1244
|
+
})), N().update(t.initialScope);
|
|
1245
1245
|
let n = new e(t);
|
|
1246
|
-
return
|
|
1246
|
+
return Gn(n), n.init(), n;
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1249
|
-
|
|
1248
|
+
function Gn(e) {
|
|
1249
|
+
N().setClient(e);
|
|
1250
1250
|
}
|
|
1251
1251
|
//#endregion
|
|
1252
1252
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1253
|
-
function
|
|
1253
|
+
function Kn(e) {
|
|
1254
1254
|
if ("aggregates" in e) {
|
|
1255
1255
|
var t;
|
|
1256
1256
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1261,44 +1261,44 @@ function Qn(e) {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
//#endregion
|
|
1263
1263
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1264
|
-
function
|
|
1264
|
+
function qn(e, t, n = [t], r = "npm") {
|
|
1265
1265
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1266
1266
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1267
1267
|
name: `${r}:@sentry/${e}`,
|
|
1268
|
-
version:
|
|
1269
|
-
})), i.version =
|
|
1268
|
+
version: qe
|
|
1269
|
+
})), i.version = qe);
|
|
1270
1270
|
}
|
|
1271
1271
|
//#endregion
|
|
1272
1272
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1273
|
-
var
|
|
1274
|
-
function
|
|
1275
|
-
let n =
|
|
1273
|
+
var Jn = 100;
|
|
1274
|
+
function W(e, t) {
|
|
1275
|
+
let n = T(), r = F();
|
|
1276
1276
|
if (!n) return;
|
|
1277
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1277
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = Jn } = n.getOptions();
|
|
1278
1278
|
if (a <= 0) return;
|
|
1279
1279
|
let o = {
|
|
1280
|
-
timestamp:
|
|
1280
|
+
timestamp: ae(),
|
|
1281
1281
|
...e
|
|
1282
|
-
}, s = i ?
|
|
1282
|
+
}, s = i ? Le(() => i(o, t)) : o;
|
|
1283
1283
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1284
1284
|
}
|
|
1285
1285
|
//#endregion
|
|
1286
1286
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1287
|
-
var
|
|
1288
|
-
name:
|
|
1287
|
+
var Yn, Xn = "FunctionToString", Zn = /* @__PURE__ */ new WeakMap(), Qn = H((() => ({
|
|
1288
|
+
name: Xn,
|
|
1289
1289
|
setupOnce() {
|
|
1290
|
-
|
|
1290
|
+
Yn = Function.prototype.toString;
|
|
1291
1291
|
try {
|
|
1292
1292
|
Function.prototype.toString = function(...e) {
|
|
1293
|
-
let t =
|
|
1294
|
-
return
|
|
1293
|
+
let t = fe(this), n = Zn.has(T()) && t !== void 0 ? t : this;
|
|
1294
|
+
return Yn.apply(n, e);
|
|
1295
1295
|
};
|
|
1296
1296
|
} catch {}
|
|
1297
1297
|
},
|
|
1298
1298
|
setup(e) {
|
|
1299
|
-
|
|
1299
|
+
Zn.set(e, !0);
|
|
1300
1300
|
}
|
|
1301
|
-
}))),
|
|
1301
|
+
}))), $n = [
|
|
1302
1302
|
/^Script error\.?$/,
|
|
1303
1303
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1304
1304
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1310,118 +1310,118 @@ var tr, nr = "FunctionToString", rr = /* @__PURE__ */ new WeakMap(), ir = V((()
|
|
|
1310
1310
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1311
1311
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1312
1312
|
/^Java exception was raised during method invocation$/
|
|
1313
|
-
],
|
|
1313
|
+
], er = "EventFilters", tr = H((e = {}) => {
|
|
1314
1314
|
let t;
|
|
1315
1315
|
return {
|
|
1316
|
-
name:
|
|
1316
|
+
name: er,
|
|
1317
1317
|
setup(n) {
|
|
1318
|
-
t =
|
|
1318
|
+
t = rr(e, n.getOptions());
|
|
1319
1319
|
},
|
|
1320
1320
|
processEvent(n, r, i) {
|
|
1321
|
-
return t || (t =
|
|
1321
|
+
return t || (t = rr(e, i.getOptions())), ir(n, t) ? null : n;
|
|
1322
1322
|
}
|
|
1323
1323
|
};
|
|
1324
|
-
}),
|
|
1325
|
-
...
|
|
1324
|
+
}), nr = H(((e = {}) => ({
|
|
1325
|
+
...tr(e),
|
|
1326
1326
|
name: "InboundFilters"
|
|
1327
1327
|
})));
|
|
1328
|
-
function
|
|
1328
|
+
function rr(e = {}, t = {}) {
|
|
1329
1329
|
return {
|
|
1330
1330
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1331
1331
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1332
1332
|
ignoreErrors: [
|
|
1333
1333
|
...e.ignoreErrors || [],
|
|
1334
1334
|
...t.ignoreErrors || [],
|
|
1335
|
-
...e.disableErrorDefaults ? [] :
|
|
1335
|
+
...e.disableErrorDefaults ? [] : $n
|
|
1336
1336
|
],
|
|
1337
1337
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1338
1338
|
};
|
|
1339
1339
|
}
|
|
1340
|
-
function
|
|
1340
|
+
function ir(e, t) {
|
|
1341
1341
|
if (!e.type) {
|
|
1342
|
-
if (
|
|
1343
|
-
Event: ${
|
|
1344
|
-
if (
|
|
1345
|
-
Event: ${
|
|
1346
|
-
if (
|
|
1347
|
-
Event: ${
|
|
1348
|
-
Url: ${
|
|
1349
|
-
if (!
|
|
1350
|
-
Event: ${
|
|
1351
|
-
Url: ${
|
|
1352
|
-
} else if (e.type === "transaction" &&
|
|
1353
|
-
Event: ${
|
|
1342
|
+
if (ar(e, t.ignoreErrors)) return E && k.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1343
|
+
Event: ${x(e)}`), !0;
|
|
1344
|
+
if (dr(e)) return E && k.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1345
|
+
Event: ${x(e)}`), !0;
|
|
1346
|
+
if (sr(e, t.denyUrls)) return E && k.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1347
|
+
Event: ${x(e)}.
|
|
1348
|
+
Url: ${ur(e)}`), !0;
|
|
1349
|
+
if (!cr(e, t.allowUrls)) return E && k.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1350
|
+
Event: ${x(e)}.
|
|
1351
|
+
Url: ${ur(e)}`), !0;
|
|
1352
|
+
} else if (e.type === "transaction" && or(e, t.ignoreTransactions)) return E && k.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1353
|
+
Event: ${x(e)}`), !0;
|
|
1354
1354
|
return !1;
|
|
1355
1355
|
}
|
|
1356
|
-
function
|
|
1357
|
-
return t != null && t.length ?
|
|
1356
|
+
function ar(e, t) {
|
|
1357
|
+
return t != null && t.length ? vn(e).some((e) => b(e, t)) : !1;
|
|
1358
1358
|
}
|
|
1359
|
-
function
|
|
1359
|
+
function or(e, t) {
|
|
1360
1360
|
if (!(t != null && t.length)) return !1;
|
|
1361
1361
|
let n = e.transaction;
|
|
1362
|
-
return n ?
|
|
1362
|
+
return n ? b(n, t) : !1;
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1364
|
+
function sr(e, t) {
|
|
1365
1365
|
if (!(t != null && t.length)) return !1;
|
|
1366
|
-
let n =
|
|
1367
|
-
return n ?
|
|
1366
|
+
let n = ur(e);
|
|
1367
|
+
return n ? b(n, t) : !1;
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function cr(e, t) {
|
|
1370
1370
|
if (!(t != null && t.length)) return !0;
|
|
1371
|
-
let n =
|
|
1372
|
-
return n ?
|
|
1371
|
+
let n = ur(e);
|
|
1372
|
+
return n ? b(n, t) : !0;
|
|
1373
1373
|
}
|
|
1374
|
-
function
|
|
1374
|
+
function lr(e = []) {
|
|
1375
1375
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1376
1376
|
let n = e[t];
|
|
1377
1377
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1378
1378
|
}
|
|
1379
1379
|
return null;
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1381
|
+
function ur(e) {
|
|
1382
1382
|
try {
|
|
1383
1383
|
var t, n, r;
|
|
1384
1384
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1385
1385
|
var t, n;
|
|
1386
1386
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1387
1387
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1388
|
-
return a ?
|
|
1388
|
+
return a ? lr(a) : null;
|
|
1389
1389
|
} catch {
|
|
1390
|
-
return
|
|
1390
|
+
return E && k.error(`Cannot extract url for event ${x(e)}`), null;
|
|
1391
1391
|
}
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1393
|
+
function dr(e) {
|
|
1394
1394
|
var t;
|
|
1395
1395
|
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;
|
|
1396
1396
|
}
|
|
1397
1397
|
//#endregion
|
|
1398
1398
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1399
|
-
var
|
|
1399
|
+
var fr = "Dedupe", pr = H((() => {
|
|
1400
1400
|
let e;
|
|
1401
1401
|
return {
|
|
1402
|
-
name:
|
|
1402
|
+
name: fr,
|
|
1403
1403
|
processEvent(t) {
|
|
1404
1404
|
if (t.type) return t;
|
|
1405
1405
|
try {
|
|
1406
|
-
if (
|
|
1406
|
+
if (mr(t, e)) return E && k.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1407
1407
|
} catch {}
|
|
1408
1408
|
return e = t;
|
|
1409
1409
|
}
|
|
1410
1410
|
};
|
|
1411
1411
|
}));
|
|
1412
|
-
function
|
|
1413
|
-
return t ? !!(
|
|
1412
|
+
function mr(e, t) {
|
|
1413
|
+
return t ? !!(hr(e, t) || gr(e, t)) : !1;
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1415
|
+
function hr(e, t) {
|
|
1416
1416
|
let n = e.message, r = t.message;
|
|
1417
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1417
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !vr(e, t) || !_r(e, t));
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1420
|
-
let n =
|
|
1421
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1419
|
+
function gr(e, t) {
|
|
1420
|
+
let n = yr(t), r = yr(e);
|
|
1421
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !vr(e, t) || !_r(e, t));
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1424
|
-
let n =
|
|
1423
|
+
function _r(e, t) {
|
|
1424
|
+
let n = de(e), r = de(t);
|
|
1425
1425
|
if (!n && !r) return !0;
|
|
1426
1426
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1427
1427
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1430,7 +1430,7 @@ function Sr(e, t) {
|
|
|
1430
1430
|
}
|
|
1431
1431
|
return !0;
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function vr(e, t) {
|
|
1434
1434
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1435
1435
|
if (!n && !r) return !0;
|
|
1436
1436
|
if (n && !r || !n && r) return !1;
|
|
@@ -1441,62 +1441,62 @@ function Cr(e, t) {
|
|
|
1441
1441
|
return !1;
|
|
1442
1442
|
}
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function yr(e) {
|
|
1445
1445
|
var t;
|
|
1446
1446
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1447
1447
|
}
|
|
1448
1448
|
//#endregion
|
|
1449
1449
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1450
|
-
var
|
|
1451
|
-
name:
|
|
1450
|
+
var br = "ConversationId", xr = H((() => ({
|
|
1451
|
+
name: br,
|
|
1452
1452
|
setup(e) {
|
|
1453
1453
|
e.on("spanStart", (e) => {
|
|
1454
|
-
let t =
|
|
1454
|
+
let t = N().getScopeData(), n = F().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1455
1455
|
if (r) {
|
|
1456
|
-
let { op: t, data: n, description: i } =
|
|
1456
|
+
let { op: t, data: n, description: i } = Me(e);
|
|
1457
1457
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1458
|
-
e.setAttribute(
|
|
1458
|
+
e.setAttribute(Ge, r);
|
|
1459
1459
|
}
|
|
1460
1460
|
});
|
|
1461
1461
|
}
|
|
1462
1462
|
})));
|
|
1463
1463
|
//#endregion
|
|
1464
1464
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1465
|
-
function
|
|
1465
|
+
function Sr(e, t, n, r, i, a) {
|
|
1466
1466
|
var o;
|
|
1467
|
-
if (!((o = i.exception) != null && o.values) || !a || !
|
|
1467
|
+
if (!((o = i.exception) != null && o.values) || !a || !ze(a.originalException, Error)) return;
|
|
1468
1468
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1469
|
-
s && (i.exception.values =
|
|
1469
|
+
s && (i.exception.values = Cr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function Cr(e, t, n, r, i, a, o, s) {
|
|
1472
1472
|
if (a.length >= n + 1) return a;
|
|
1473
1473
|
let c = [...a];
|
|
1474
|
-
if (
|
|
1475
|
-
|
|
1474
|
+
if (ze(r[i], Error)) {
|
|
1475
|
+
Tr(o, s, r);
|
|
1476
1476
|
let a = e(t, r[i]), l = c.length;
|
|
1477
|
-
|
|
1477
|
+
Er(a, i, l, s), c = Cr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1478
1478
|
}
|
|
1479
|
-
return
|
|
1480
|
-
if (
|
|
1481
|
-
|
|
1479
|
+
return wr(r) && r.errors.forEach((a, l) => {
|
|
1480
|
+
if (ze(a, Error)) {
|
|
1481
|
+
Tr(o, s, r);
|
|
1482
1482
|
let u = e(t, a), d = c.length;
|
|
1483
|
-
|
|
1483
|
+
Er(u, `errors[${l}]`, d, s), c = Cr(e, t, n, a, i, [u, ...c], u, d);
|
|
1484
1484
|
}
|
|
1485
1485
|
}), c;
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function wr(e) {
|
|
1488
1488
|
return Array.isArray(e.errors);
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function Tr(e, t, n) {
|
|
1491
1491
|
e.mechanism = {
|
|
1492
1492
|
handled: !0,
|
|
1493
1493
|
type: "auto.core.linked_errors",
|
|
1494
|
-
...
|
|
1494
|
+
...wr(n) && { is_exception_group: !0 },
|
|
1495
1495
|
...e.mechanism,
|
|
1496
1496
|
exception_id: t
|
|
1497
1497
|
};
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function Er(e, t, n, r) {
|
|
1500
1500
|
e.mechanism = {
|
|
1501
1501
|
handled: !0,
|
|
1502
1502
|
...e.mechanism,
|
|
@@ -1508,7 +1508,7 @@ function jr(e, t, n, r) {
|
|
|
1508
1508
|
}
|
|
1509
1509
|
//#endregion
|
|
1510
1510
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1511
|
-
function
|
|
1511
|
+
function Dr(e) {
|
|
1512
1512
|
if (e !== void 0) {
|
|
1513
1513
|
if (e >= 400 && e < 500) return "warning";
|
|
1514
1514
|
if (e >= 500) return "error";
|
|
@@ -1516,71 +1516,71 @@ function Mr(e) {
|
|
|
1516
1516
|
}
|
|
1517
1517
|
//#endregion
|
|
1518
1518
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1519
|
-
var
|
|
1520
|
-
function
|
|
1521
|
-
let t = "console", n =
|
|
1522
|
-
return
|
|
1523
|
-
}
|
|
1524
|
-
function
|
|
1525
|
-
"console" in P &&
|
|
1526
|
-
e in P.console &&
|
|
1527
|
-
return
|
|
1528
|
-
let n = t[0], r =
|
|
1529
|
-
i ||
|
|
1519
|
+
var Or = /* @__PURE__ */ new Set([]);
|
|
1520
|
+
function kr(e) {
|
|
1521
|
+
let t = "console", n = R(t, e);
|
|
1522
|
+
return z(t, Ar), n;
|
|
1523
|
+
}
|
|
1524
|
+
function Ar() {
|
|
1525
|
+
"console" in P && Ce.forEach(function(e) {
|
|
1526
|
+
e in P.console && w(P.console, e, function(t) {
|
|
1527
|
+
return De[e] = t, function(...t) {
|
|
1528
|
+
let n = t[0], r = De[e], i = Or.size && typeof n == "string" && b(n, Or);
|
|
1529
|
+
i || B("console", {
|
|
1530
1530
|
args: t,
|
|
1531
1531
|
level: e
|
|
1532
|
-
}), (!i ||
|
|
1532
|
+
}), (!i || E && k.isEnabled()) && (r == null || r.apply(P.console, t));
|
|
1533
1533
|
};
|
|
1534
1534
|
});
|
|
1535
1535
|
});
|
|
1536
1536
|
}
|
|
1537
1537
|
//#endregion
|
|
1538
1538
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1539
|
-
function
|
|
1540
|
-
let n = "fetch", r =
|
|
1541
|
-
return
|
|
1539
|
+
function jr(e, t) {
|
|
1540
|
+
let n = "fetch", r = R(n, e);
|
|
1541
|
+
return z(n, () => Mr(void 0, t)), r;
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1544
|
-
t && !
|
|
1543
|
+
function Mr(e, t = !1) {
|
|
1544
|
+
t && !Et() || w(P, "fetch", function(t) {
|
|
1545
1545
|
return function(...n) {
|
|
1546
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1546
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Fr(n), o = {
|
|
1547
1547
|
args: n,
|
|
1548
1548
|
fetchData: {
|
|
1549
1549
|
method: i,
|
|
1550
1550
|
url: a
|
|
1551
1551
|
},
|
|
1552
|
-
startTimestamp:
|
|
1552
|
+
startTimestamp: O() * 1e3,
|
|
1553
1553
|
virtualError: r,
|
|
1554
|
-
headers:
|
|
1554
|
+
headers: Ir(n)
|
|
1555
1555
|
};
|
|
1556
|
-
return e ||
|
|
1556
|
+
return e || B("fetch", { ...o }), t.apply(P, n).then(async (t) => (e ? e(t) : B("fetch", {
|
|
1557
1557
|
...o,
|
|
1558
|
-
endTimestamp:
|
|
1558
|
+
endTimestamp: O() * 1e3,
|
|
1559
1559
|
response: t
|
|
1560
1560
|
}), t), (e) => {
|
|
1561
1561
|
var t;
|
|
1562
|
-
|
|
1562
|
+
B("fetch", {
|
|
1563
1563
|
...o,
|
|
1564
|
-
endTimestamp:
|
|
1564
|
+
endTimestamp: O() * 1e3,
|
|
1565
1565
|
error: e
|
|
1566
|
-
}),
|
|
1567
|
-
let n =
|
|
1566
|
+
}), xe(e) && e.stack === void 0 && (e.stack = r.stack, j(e, "framesToPop", 1));
|
|
1567
|
+
let n = T(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1568
1568
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1569
1569
|
let t = new URL(o.fetchData.url).host;
|
|
1570
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1570
|
+
i === "always" ? e.message = `${e.message} (${t})` : j(e, "__sentry_fetch_url_host__", t);
|
|
1571
1571
|
} catch {}
|
|
1572
1572
|
throw e;
|
|
1573
1573
|
});
|
|
1574
1574
|
};
|
|
1575
1575
|
});
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1577
|
+
function Nr(e, t) {
|
|
1578
1578
|
return !!e && typeof e == "object" && !!e[t];
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1581
|
-
return typeof e == "string" ? e : e ?
|
|
1580
|
+
function Pr(e) {
|
|
1581
|
+
return typeof e == "string" ? e : e ? Nr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function Fr(e) {
|
|
1584
1584
|
if (e.length === 0) return {
|
|
1585
1585
|
method: "GET",
|
|
1586
1586
|
url: ""
|
|
@@ -1588,56 +1588,56 @@ function Br(e) {
|
|
|
1588
1588
|
if (e.length === 2) {
|
|
1589
1589
|
let [t, n] = e;
|
|
1590
1590
|
return {
|
|
1591
|
-
url:
|
|
1592
|
-
method:
|
|
1591
|
+
url: Pr(t),
|
|
1592
|
+
method: Nr(n, "method") ? String(n.method).toUpperCase() : Ve(t) && Nr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1593
1593
|
};
|
|
1594
1594
|
}
|
|
1595
1595
|
let t = e[0];
|
|
1596
1596
|
return {
|
|
1597
|
-
url:
|
|
1598
|
-
method:
|
|
1597
|
+
url: Pr(t),
|
|
1598
|
+
method: Nr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1599
1599
|
};
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function Ir(e) {
|
|
1602
1602
|
let [t, n] = e;
|
|
1603
1603
|
try {
|
|
1604
1604
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1605
|
-
if (
|
|
1605
|
+
if (Ve(t)) return new Headers(t.headers);
|
|
1606
1606
|
} catch {}
|
|
1607
1607
|
}
|
|
1608
1608
|
//#endregion
|
|
1609
1609
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
1610
|
-
var
|
|
1611
|
-
function
|
|
1610
|
+
var Lr = null;
|
|
1611
|
+
function Rr(e) {
|
|
1612
1612
|
let t = "error";
|
|
1613
|
-
|
|
1613
|
+
R(t, e), z(t, zr);
|
|
1614
1614
|
}
|
|
1615
|
-
function
|
|
1616
|
-
|
|
1617
|
-
return
|
|
1615
|
+
function zr() {
|
|
1616
|
+
Lr = P.onerror, P.onerror = function(e, t, n, r, i) {
|
|
1617
|
+
return B("error", {
|
|
1618
1618
|
column: r,
|
|
1619
1619
|
error: i,
|
|
1620
1620
|
line: n,
|
|
1621
1621
|
msg: e,
|
|
1622
1622
|
url: t
|
|
1623
|
-
}),
|
|
1623
|
+
}), Lr ? Lr.apply(this, arguments) : !1;
|
|
1624
1624
|
}, P.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
1625
1625
|
}
|
|
1626
1626
|
//#endregion
|
|
1627
1627
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
1628
|
-
var
|
|
1629
|
-
function
|
|
1628
|
+
var Br = null;
|
|
1629
|
+
function Vr(e) {
|
|
1630
1630
|
let t = "unhandledrejection";
|
|
1631
|
-
|
|
1631
|
+
R(t, e), z(t, Hr);
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1634
|
-
|
|
1635
|
-
return
|
|
1633
|
+
function Hr() {
|
|
1634
|
+
Br = P.onunhandledrejection, P.onunhandledrejection = function(e) {
|
|
1635
|
+
return B("unhandledrejection", e), Br ? Br.apply(this, arguments) : !0;
|
|
1636
1636
|
}, P.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
1637
1637
|
}
|
|
1638
1638
|
//#endregion
|
|
1639
1639
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1640
|
-
function
|
|
1640
|
+
function Ur(e) {
|
|
1641
1641
|
return e === "warn" ? "warning" : [
|
|
1642
1642
|
"fatal",
|
|
1643
1643
|
"error",
|
|
@@ -1649,7 +1649,7 @@ function Jr(e) {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
//#endregion
|
|
1651
1651
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1652
|
-
function
|
|
1652
|
+
function Wr(e) {
|
|
1653
1653
|
if (!e) return {};
|
|
1654
1654
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1655
1655
|
if (!t) return {};
|
|
@@ -1663,7 +1663,7 @@ function Yr(e) {
|
|
|
1663
1663
|
relative: t[5] + n + r
|
|
1664
1664
|
};
|
|
1665
1665
|
}
|
|
1666
|
-
function
|
|
1666
|
+
function Gr(e, t = !0) {
|
|
1667
1667
|
if (e.startsWith("data:")) {
|
|
1668
1668
|
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1669
1669
|
if (t && a !== -1) {
|
|
@@ -1676,24 +1676,24 @@ function Xr(e, t = !0) {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
//#endregion
|
|
1678
1678
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1679
|
-
function
|
|
1680
|
-
return
|
|
1679
|
+
function Kr(e) {
|
|
1680
|
+
return xe(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1683
|
-
return
|
|
1682
|
+
function qr(e) {
|
|
1683
|
+
return Kr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1684
1684
|
}
|
|
1685
1685
|
//#endregion
|
|
1686
1686
|
//#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1687
|
-
var
|
|
1688
|
-
function
|
|
1687
|
+
var Jr = P;
|
|
1688
|
+
function Yr() {
|
|
1689
1689
|
try {
|
|
1690
|
-
return
|
|
1690
|
+
return Jr.document.location.href;
|
|
1691
1691
|
} catch {
|
|
1692
1692
|
return "";
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1696
|
-
if (
|
|
1695
|
+
function Xr(e, t = 5) {
|
|
1696
|
+
if (!Jr.HTMLElement) return null;
|
|
1697
1697
|
let n = e;
|
|
1698
1698
|
for (let e = 0; e < t; e++) {
|
|
1699
1699
|
if (!n) return null;
|
|
@@ -1707,29 +1707,29 @@ function ti(e, t = 5) {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
//#endregion
|
|
1709
1709
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.62.0/node_modules/@sentry/browser-utils/build/esm/types.js
|
|
1710
|
-
var
|
|
1711
|
-
function
|
|
1712
|
-
|
|
1713
|
-
}
|
|
1714
|
-
function
|
|
1715
|
-
if (!
|
|
1716
|
-
let e =
|
|
1717
|
-
|
|
1710
|
+
var G = P, Zr = 1e3, Qr, $r, ei;
|
|
1711
|
+
function ti(e) {
|
|
1712
|
+
R("dom", e), z("dom", ni);
|
|
1713
|
+
}
|
|
1714
|
+
function ni() {
|
|
1715
|
+
if (!G.document) return;
|
|
1716
|
+
let e = B.bind(null, "dom"), t = ai(e, !0);
|
|
1717
|
+
G.document.addEventListener("click", t, !1), G.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1718
1718
|
var n, r;
|
|
1719
|
-
let i = (n =
|
|
1720
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
1719
|
+
let i = (n = G[t]) == null ? void 0 : n.prototype;
|
|
1720
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (w(i, "addEventListener", function(t) {
|
|
1721
1721
|
return function(n, r, i) {
|
|
1722
1722
|
if (n === "click" || n == "keypress") try {
|
|
1723
1723
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
1724
1724
|
if (!a.handler) {
|
|
1725
|
-
let r =
|
|
1725
|
+
let r = ai(e);
|
|
1726
1726
|
a.handler = r, t.call(this, n, r, i);
|
|
1727
1727
|
}
|
|
1728
1728
|
a.refCount++;
|
|
1729
1729
|
} catch {}
|
|
1730
1730
|
return t.call(this, n, r, i);
|
|
1731
1731
|
};
|
|
1732
|
-
}),
|
|
1732
|
+
}), w(i, "removeEventListener", function(e) {
|
|
1733
1733
|
return function(t, n, r) {
|
|
1734
1734
|
if (t === "click" || t == "keypress") try {
|
|
1735
1735
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -1740,33 +1740,33 @@ function si() {
|
|
|
1740
1740
|
}));
|
|
1741
1741
|
});
|
|
1742
1742
|
}
|
|
1743
|
-
function
|
|
1744
|
-
if (e.type !==
|
|
1743
|
+
function ri(e) {
|
|
1744
|
+
if (e.type !== $r) return !1;
|
|
1745
1745
|
try {
|
|
1746
|
-
if (!e.target || e.target._sentryId !==
|
|
1746
|
+
if (!e.target || e.target._sentryId !== ei) return !1;
|
|
1747
1747
|
} catch {}
|
|
1748
1748
|
return !0;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1750
|
+
function ii(e, t) {
|
|
1751
1751
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
1752
1752
|
}
|
|
1753
|
-
function
|
|
1753
|
+
function ai(e, t = !1) {
|
|
1754
1754
|
return (n) => {
|
|
1755
1755
|
if (!n || n._sentryCaptured) return;
|
|
1756
|
-
let r =
|
|
1757
|
-
if (
|
|
1758
|
-
|
|
1756
|
+
let r = oi(n);
|
|
1757
|
+
if (ii(n.type, r)) return;
|
|
1758
|
+
j(n, "_sentryCaptured", !0), r && !r._sentryId && j(r, "_sentryId", S());
|
|
1759
1759
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
1760
|
-
|
|
1760
|
+
ri(n) || (e({
|
|
1761
1761
|
event: n,
|
|
1762
1762
|
name: i,
|
|
1763
1763
|
global: t
|
|
1764
|
-
}),
|
|
1765
|
-
|
|
1766
|
-
},
|
|
1764
|
+
}), $r = n.type, ei = r ? r._sentryId : void 0), clearTimeout(Qr), Qr = G.setTimeout(() => {
|
|
1765
|
+
ei = void 0, $r = void 0;
|
|
1766
|
+
}, Zr);
|
|
1767
1767
|
};
|
|
1768
1768
|
}
|
|
1769
|
-
function
|
|
1769
|
+
function oi(e) {
|
|
1770
1770
|
try {
|
|
1771
1771
|
return e.target;
|
|
1772
1772
|
} catch {
|
|
@@ -1775,26 +1775,26 @@ function di(e) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
//#endregion
|
|
1777
1777
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.62.0/node_modules/@sentry/browser-utils/build/esm/instrument/history.js
|
|
1778
|
-
var
|
|
1779
|
-
function
|
|
1778
|
+
var si;
|
|
1779
|
+
function ci(e) {
|
|
1780
1780
|
let t = "history";
|
|
1781
|
-
|
|
1781
|
+
R(t, e), z(t, li);
|
|
1782
1782
|
}
|
|
1783
|
-
function
|
|
1784
|
-
if (
|
|
1785
|
-
let e =
|
|
1786
|
-
|
|
1783
|
+
function li() {
|
|
1784
|
+
if (G.addEventListener("popstate", () => {
|
|
1785
|
+
let e = G.location.href, t = si;
|
|
1786
|
+
si = e, t !== e && B("history", {
|
|
1787
1787
|
from: t,
|
|
1788
1788
|
to: e
|
|
1789
1789
|
});
|
|
1790
|
-
}), !
|
|
1790
|
+
}), !Ct()) return;
|
|
1791
1791
|
function e(e) {
|
|
1792
1792
|
return function(...t) {
|
|
1793
1793
|
let n = t.length > 2 ? t[2] : void 0;
|
|
1794
1794
|
if (n) {
|
|
1795
|
-
let r =
|
|
1796
|
-
if (
|
|
1797
|
-
|
|
1795
|
+
let r = si, i = ui(String(n));
|
|
1796
|
+
if (si = i, r === i) return e.apply(this, t);
|
|
1797
|
+
B("history", {
|
|
1798
1798
|
from: r,
|
|
1799
1799
|
to: i
|
|
1800
1800
|
});
|
|
@@ -1802,62 +1802,62 @@ function mi() {
|
|
|
1802
1802
|
return e.apply(this, t);
|
|
1803
1803
|
};
|
|
1804
1804
|
}
|
|
1805
|
-
|
|
1805
|
+
w(G.history, "pushState", e), w(G.history, "replaceState", e);
|
|
1806
1806
|
}
|
|
1807
|
-
function
|
|
1807
|
+
function ui(e) {
|
|
1808
1808
|
try {
|
|
1809
|
-
return new URL(e,
|
|
1809
|
+
return new URL(e, G.location.origin).toString();
|
|
1810
1810
|
} catch {
|
|
1811
1811
|
return e;
|
|
1812
1812
|
}
|
|
1813
1813
|
}
|
|
1814
1814
|
//#endregion
|
|
1815
1815
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.62.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
1816
|
-
var
|
|
1817
|
-
function
|
|
1818
|
-
let t =
|
|
1816
|
+
var di = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, fi = {};
|
|
1817
|
+
function pi(e) {
|
|
1818
|
+
let t = fi[e];
|
|
1819
1819
|
if (t) return t;
|
|
1820
|
-
let n =
|
|
1821
|
-
if (
|
|
1822
|
-
let r =
|
|
1820
|
+
let n = G[e];
|
|
1821
|
+
if (Tt(n)) return fi[e] = n.bind(G);
|
|
1822
|
+
let r = G.document;
|
|
1823
1823
|
if (r && typeof r.createElement == "function") try {
|
|
1824
1824
|
let t = r.createElement("iframe");
|
|
1825
1825
|
t.hidden = !0, r.head.appendChild(t);
|
|
1826
1826
|
let i = t.contentWindow;
|
|
1827
1827
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
1828
1828
|
} catch (t) {
|
|
1829
|
-
|
|
1829
|
+
di && k.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
1830
1830
|
}
|
|
1831
|
-
return n && (
|
|
1831
|
+
return n && (fi[e] = n.bind(G));
|
|
1832
1832
|
}
|
|
1833
|
-
function
|
|
1834
|
-
|
|
1833
|
+
function mi(e) {
|
|
1834
|
+
fi[e] = void 0;
|
|
1835
1835
|
}
|
|
1836
1836
|
//#endregion
|
|
1837
1837
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.62.0/node_modules/@sentry/browser-utils/build/esm/instrument/xhr.js
|
|
1838
|
-
var
|
|
1839
|
-
function
|
|
1840
|
-
|
|
1838
|
+
var K = "__sentry_xhr_v3__";
|
|
1839
|
+
function hi(e) {
|
|
1840
|
+
R("xhr", e), z("xhr", gi);
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1843
|
-
if (!
|
|
1842
|
+
function gi() {
|
|
1843
|
+
if (!G.XMLHttpRequest) return;
|
|
1844
1844
|
let e = XMLHttpRequest.prototype;
|
|
1845
1845
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
1846
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
1846
|
+
let r = /* @__PURE__ */ Error(), i = O() * 1e3, a = D(n[0]) ? n[0].toUpperCase() : void 0, o = _i(n[1]);
|
|
1847
1847
|
if (!a || !o) return e.apply(t, n);
|
|
1848
|
-
t[
|
|
1848
|
+
t[K] = {
|
|
1849
1849
|
method: a,
|
|
1850
1850
|
url: o,
|
|
1851
1851
|
request_headers: {}
|
|
1852
1852
|
}, a === "POST" && o.match(/sentry_key/) && (t.__sentry_own_request__ = !0);
|
|
1853
1853
|
let s = () => {
|
|
1854
|
-
let e = t[
|
|
1854
|
+
let e = t[K];
|
|
1855
1855
|
if (e && t.readyState === 4) {
|
|
1856
1856
|
try {
|
|
1857
1857
|
e.status_code = t.status;
|
|
1858
1858
|
} catch {}
|
|
1859
|
-
|
|
1860
|
-
endTimestamp:
|
|
1859
|
+
B("xhr", {
|
|
1860
|
+
endTimestamp: O() * 1e3,
|
|
1861
1861
|
startTimestamp: i,
|
|
1862
1862
|
xhr: t,
|
|
1863
1863
|
virtualError: r
|
|
@@ -1867,67 +1867,67 @@ function xi() {
|
|
|
1867
1867
|
return "onreadystatechange" in t && typeof t.onreadystatechange == "function" ? t.onreadystatechange = new Proxy(t.onreadystatechange, { apply(e, t, n) {
|
|
1868
1868
|
return s(), e.apply(t, n);
|
|
1869
1869
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
1870
|
-
let [r, i] = n, a = t[
|
|
1871
|
-
return a &&
|
|
1870
|
+
let [r, i] = n, a = t[K];
|
|
1871
|
+
return a && D(r) && D(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
1872
1872
|
} }), e.apply(t, n);
|
|
1873
1873
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
1874
|
-
let r = t[
|
|
1875
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
1876
|
-
startTimestamp:
|
|
1874
|
+
let r = t[K];
|
|
1875
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), B("xhr", {
|
|
1876
|
+
startTimestamp: O() * 1e3,
|
|
1877
1877
|
xhr: t
|
|
1878
1878
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
1879
1879
|
} });
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1882
|
-
if (
|
|
1881
|
+
function _i(e) {
|
|
1882
|
+
if (D(e)) return e;
|
|
1883
1883
|
try {
|
|
1884
1884
|
return e.toString();
|
|
1885
1885
|
} catch {}
|
|
1886
1886
|
}
|
|
1887
1887
|
//#endregion
|
|
1888
1888
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.62.0/node_modules/@sentry/browser-utils/build/esm/htmlTreeAsString.js
|
|
1889
|
-
var
|
|
1889
|
+
var vi = 80, q = {};
|
|
1890
1890
|
try {
|
|
1891
|
-
typeof Node < "u" && (
|
|
1891
|
+
typeof Node < "u" && (q.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (q.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, q.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, q.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, q.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (q.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
1892
1892
|
} catch {}
|
|
1893
|
-
function
|
|
1894
|
-
let r =
|
|
1893
|
+
function J(e, t, n) {
|
|
1894
|
+
let r = q[t];
|
|
1895
1895
|
if (r) try {
|
|
1896
1896
|
return r.call(e, n);
|
|
1897
1897
|
} catch {}
|
|
1898
1898
|
let i = e[t];
|
|
1899
1899
|
return typeof i == "function" ? i.call(e, n) : i;
|
|
1900
1900
|
}
|
|
1901
|
-
function
|
|
1901
|
+
function yi(e, t = {}) {
|
|
1902
1902
|
if (!e) return "<unknown>";
|
|
1903
1903
|
try {
|
|
1904
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength ||
|
|
1905
|
-
for (; n && i++ < 5 && (o =
|
|
1904
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || vi;
|
|
1905
|
+
for (; n && i++ < 5 && (o = bi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = J(n, "parentNode");
|
|
1906
1906
|
return r.reverse().join(" > ");
|
|
1907
1907
|
} catch {
|
|
1908
1908
|
return "<unknown>";
|
|
1909
1909
|
}
|
|
1910
1910
|
}
|
|
1911
|
-
function
|
|
1912
|
-
let n = [], r =
|
|
1911
|
+
function bi(e, t) {
|
|
1912
|
+
let n = [], r = J(e, "tagName");
|
|
1913
1913
|
if (!r) return "";
|
|
1914
1914
|
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
1915
|
-
let t =
|
|
1915
|
+
let t = J(e, "dataset");
|
|
1916
1916
|
if (t) {
|
|
1917
1917
|
if (t.sentryComponent) return t.sentryComponent;
|
|
1918
1918
|
if (t.sentryElement) return t.sentryElement;
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
n.push(r.toLowerCase());
|
|
1922
|
-
let i = t != null && t.length ? t.filter((t) =>
|
|
1922
|
+
let i = t != null && t.length ? t.filter((t) => J(e, "getAttribute", t)).map((t) => [t, J(e, "getAttribute", t)]) : null;
|
|
1923
1923
|
if (i != null && i.length) i.forEach((e) => {
|
|
1924
1924
|
n.push(`[${e[0]}="${e[1]}"]`);
|
|
1925
1925
|
});
|
|
1926
1926
|
else {
|
|
1927
|
-
let t =
|
|
1927
|
+
let t = J(e, "id");
|
|
1928
1928
|
t && n.push(`#${t}`);
|
|
1929
|
-
let r =
|
|
1930
|
-
if (r &&
|
|
1929
|
+
let r = J(e, "className");
|
|
1930
|
+
if (r && D(r)) {
|
|
1931
1931
|
let e = r.split(/\s+/);
|
|
1932
1932
|
for (let t of e) n.push(`.${t}`);
|
|
1933
1933
|
}
|
|
@@ -1939,14 +1939,14 @@ function Ti(e, t) {
|
|
|
1939
1939
|
"title",
|
|
1940
1940
|
"alt"
|
|
1941
1941
|
]) {
|
|
1942
|
-
let r =
|
|
1942
|
+
let r = J(e, "getAttribute", t);
|
|
1943
1943
|
r && n.push(`[${t}="${r}"]`);
|
|
1944
1944
|
}
|
|
1945
1945
|
return n.join("");
|
|
1946
1946
|
}
|
|
1947
1947
|
//#endregion
|
|
1948
1948
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.62.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
1949
|
-
function
|
|
1949
|
+
function xi(e) {
|
|
1950
1950
|
if (typeof Element > "u") return !1;
|
|
1951
1951
|
try {
|
|
1952
1952
|
return e instanceof Element;
|
|
@@ -1956,8 +1956,8 @@ function Ei(e) {
|
|
|
1956
1956
|
}
|
|
1957
1957
|
//#endregion
|
|
1958
1958
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
1959
|
-
var
|
|
1960
|
-
function
|
|
1959
|
+
var Si = 40;
|
|
1960
|
+
function Ci(e, t = pi("fetch")) {
|
|
1961
1961
|
let n = 0, r = 0;
|
|
1962
1962
|
async function i(i) {
|
|
1963
1963
|
let a = i.body.length;
|
|
@@ -1980,111 +1980,111 @@ function Oi(e, t = vi("fetch")) {
|
|
|
1980
1980
|
}
|
|
1981
1981
|
};
|
|
1982
1982
|
} catch (e) {
|
|
1983
|
-
throw
|
|
1983
|
+
throw mi("fetch"), e;
|
|
1984
1984
|
} finally {
|
|
1985
1985
|
n -= a, r--;
|
|
1986
1986
|
}
|
|
1987
1987
|
}
|
|
1988
|
-
return
|
|
1988
|
+
return gn(e, i, hn(e.bufferSize || Si));
|
|
1989
1989
|
}
|
|
1990
1990
|
//#endregion
|
|
1991
1991
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1992
|
-
function
|
|
1993
|
-
let n =
|
|
1994
|
-
type:
|
|
1995
|
-
value:
|
|
1992
|
+
function wi(e, t) {
|
|
1993
|
+
let n = Di(e, t), r = {
|
|
1994
|
+
type: Mi(t),
|
|
1995
|
+
value: Ni(t)
|
|
1996
1996
|
};
|
|
1997
1997
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1998
1998
|
}
|
|
1999
|
-
function
|
|
2000
|
-
let i =
|
|
1999
|
+
function Ti(e, t, n, r) {
|
|
2000
|
+
let i = T(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Bi(t), s = { __serialized__: ue(t, a) };
|
|
2001
2001
|
if (o) return {
|
|
2002
|
-
exception: { values: [
|
|
2002
|
+
exception: { values: [wi(e, o)] },
|
|
2003
2003
|
extra: s
|
|
2004
2004
|
};
|
|
2005
2005
|
let c = {
|
|
2006
2006
|
exception: { values: [{
|
|
2007
|
-
type:
|
|
2008
|
-
value:
|
|
2007
|
+
type: Pe(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
2008
|
+
value: Ri(t, { isUnhandledRejection: r })
|
|
2009
2009
|
}] },
|
|
2010
2010
|
extra: s
|
|
2011
2011
|
};
|
|
2012
2012
|
if (n) {
|
|
2013
|
-
let t =
|
|
2013
|
+
let t = Di(e, n);
|
|
2014
2014
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
2015
2015
|
}
|
|
2016
2016
|
return c;
|
|
2017
2017
|
}
|
|
2018
|
-
function
|
|
2019
|
-
return { exception: { values: [
|
|
2018
|
+
function Ei(e, t) {
|
|
2019
|
+
return { exception: { values: [wi(e, t)] } };
|
|
2020
2020
|
}
|
|
2021
|
-
function
|
|
2022
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
2021
|
+
function Di(e, t) {
|
|
2022
|
+
let n = t.stacktrace || t.stack || "", r = ki(t), i = Ai(t);
|
|
2023
2023
|
try {
|
|
2024
2024
|
return e(n, r, i);
|
|
2025
2025
|
} catch {}
|
|
2026
2026
|
return [];
|
|
2027
2027
|
}
|
|
2028
|
-
var
|
|
2029
|
-
function
|
|
2030
|
-
return e &&
|
|
2028
|
+
var Oi = /Minified React error #\d+;/i;
|
|
2029
|
+
function ki(e) {
|
|
2030
|
+
return e && Oi.test(e.message) ? 1 : 0;
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2032
|
+
function Ai(e) {
|
|
2033
2033
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2035
|
+
function ji(e) {
|
|
2036
2036
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
2037
2037
|
}
|
|
2038
|
-
function
|
|
2038
|
+
function Mi(e) {
|
|
2039
2039
|
let t = e == null ? void 0 : e.name;
|
|
2040
|
-
return !t &&
|
|
2040
|
+
return !t && ji(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
2041
2041
|
}
|
|
2042
|
-
function
|
|
2042
|
+
function Ni(e) {
|
|
2043
2043
|
let t = e == null ? void 0 : e.message;
|
|
2044
|
-
return
|
|
2044
|
+
return ji(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? qr(t.error) : qr(e) : "No error message";
|
|
2045
2045
|
}
|
|
2046
|
-
function
|
|
2047
|
-
let i =
|
|
2048
|
-
return
|
|
2046
|
+
function Pi(e, t, n, r) {
|
|
2047
|
+
let i = Ii(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
2048
|
+
return p(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), ye(i);
|
|
2049
2049
|
}
|
|
2050
|
-
function
|
|
2051
|
-
let a =
|
|
2052
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
2050
|
+
function Fi(e, t, n = "info", r, i) {
|
|
2051
|
+
let a = Li(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
2052
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), ye(a);
|
|
2053
2053
|
}
|
|
2054
|
-
function
|
|
2054
|
+
function Ii(e, t, n, r, i) {
|
|
2055
2055
|
let a;
|
|
2056
|
-
if (
|
|
2057
|
-
if (
|
|
2056
|
+
if (Ue(t) && t.error) return Ei(e, t.error);
|
|
2057
|
+
if (oe(t) || f(t)) {
|
|
2058
2058
|
let i = t;
|
|
2059
2059
|
if ("stack" in t) {
|
|
2060
2060
|
var o;
|
|
2061
|
-
a =
|
|
2061
|
+
a = Ei(e, t);
|
|
2062
2062
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
2063
2063
|
if (r && n && i && !i.stacktrace) {
|
|
2064
|
-
let t =
|
|
2065
|
-
t.length && (i.stacktrace = { frames: t },
|
|
2064
|
+
let t = Di(e, n);
|
|
2065
|
+
t.length && (i.stacktrace = { frames: t }, p(a, { synthetic: !0 }));
|
|
2066
2066
|
}
|
|
2067
2067
|
} else {
|
|
2068
|
-
let t = i.name || (
|
|
2069
|
-
a =
|
|
2068
|
+
let t = i.name || (oe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
2069
|
+
a = Li(e, o, n, r), ke(a, o);
|
|
2070
2070
|
}
|
|
2071
2071
|
return "code" in i && (a.tags = {
|
|
2072
2072
|
...a.tags,
|
|
2073
2073
|
"DOMException.code": `${i.code}`
|
|
2074
2074
|
}), a;
|
|
2075
2075
|
}
|
|
2076
|
-
return
|
|
2076
|
+
return xe(t) ? Ei(e, t) : ge(t) || Pe(t) ? (a = Ti(e, t, n, i), p(a, { synthetic: !0 }), a) : (a = Li(e, t, n, r), ke(a, `${t}`, void 0), p(a, { synthetic: !0 }), a);
|
|
2077
2077
|
}
|
|
2078
|
-
function
|
|
2078
|
+
function Li(e, t, n, r) {
|
|
2079
2079
|
let i = {};
|
|
2080
2080
|
if (r && n) {
|
|
2081
|
-
let r =
|
|
2081
|
+
let r = Di(e, n);
|
|
2082
2082
|
r.length && (i.exception = { values: [{
|
|
2083
2083
|
value: t,
|
|
2084
2084
|
stacktrace: { frames: r }
|
|
2085
|
-
}] }),
|
|
2085
|
+
}] }), p(i, { synthetic: !0 });
|
|
2086
2086
|
}
|
|
2087
|
-
if (
|
|
2087
|
+
if (Oe(t)) {
|
|
2088
2088
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
2089
2089
|
return i.logentry = {
|
|
2090
2090
|
message: e,
|
|
@@ -2093,31 +2093,31 @@ function Hi(e, t, n, r) {
|
|
|
2093
2093
|
}
|
|
2094
2094
|
return i.message = t, i;
|
|
2095
2095
|
}
|
|
2096
|
-
function
|
|
2097
|
-
let n =
|
|
2098
|
-
return
|
|
2096
|
+
function Ri(e, { isUnhandledRejection: t }) {
|
|
2097
|
+
let n = ne(e), r = t ? "promise rejection" : "exception";
|
|
2098
|
+
return Ue(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : Pe(e) ? `Event \`${zi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
2099
2099
|
}
|
|
2100
|
-
function
|
|
2100
|
+
function zi(e) {
|
|
2101
2101
|
try {
|
|
2102
2102
|
let t = Object.getPrototypeOf(e);
|
|
2103
2103
|
return t ? t.constructor.name : void 0;
|
|
2104
2104
|
} catch {}
|
|
2105
2105
|
}
|
|
2106
|
-
function
|
|
2106
|
+
function Bi(e) {
|
|
2107
2107
|
return Object.values(e).find((e) => e instanceof Error);
|
|
2108
2108
|
}
|
|
2109
2109
|
//#endregion
|
|
2110
2110
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
2111
|
-
var
|
|
2112
|
-
function
|
|
2113
|
-
return
|
|
2111
|
+
var Y = P, Vi = 0;
|
|
2112
|
+
function Hi() {
|
|
2113
|
+
return Vi > 0;
|
|
2114
2114
|
}
|
|
2115
|
-
function
|
|
2116
|
-
|
|
2117
|
-
|
|
2115
|
+
function Ui() {
|
|
2116
|
+
Vi++, setTimeout(() => {
|
|
2117
|
+
Vi--;
|
|
2118
2118
|
});
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2120
|
+
function X(e, t = {}) {
|
|
2121
2121
|
function n(e) {
|
|
2122
2122
|
return typeof e == "function";
|
|
2123
2123
|
}
|
|
@@ -2127,21 +2127,21 @@ function Y(e, t = {}) {
|
|
|
2127
2127
|
let t = e.__sentry_wrapped__;
|
|
2128
2128
|
return typeof t == "function" ? t : e;
|
|
2129
2129
|
}
|
|
2130
|
-
if (
|
|
2130
|
+
if (fe(e)) return e;
|
|
2131
2131
|
} catch {
|
|
2132
2132
|
return e;
|
|
2133
2133
|
}
|
|
2134
2134
|
let r = function(...n) {
|
|
2135
2135
|
P._sentryWrappedDepth = (P._sentryWrappedDepth || 0) + 1;
|
|
2136
2136
|
try {
|
|
2137
|
-
let r = n.map((e) =>
|
|
2137
|
+
let r = n.map((e) => X(e, t));
|
|
2138
2138
|
return e.apply(this, r);
|
|
2139
2139
|
} catch (e) {
|
|
2140
|
-
throw
|
|
2141
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
2140
|
+
throw Ui(), Ke((r) => {
|
|
2141
|
+
r.addEventProcessor((e) => (t.mechanism && (ke(e, void 0, void 0), p(e, t.mechanism)), e.extra = {
|
|
2142
2142
|
...e.extra,
|
|
2143
2143
|
arguments: n
|
|
2144
|
-
}, e)),
|
|
2144
|
+
}, e)), Ne(e);
|
|
2145
2145
|
}), e;
|
|
2146
2146
|
} finally {
|
|
2147
2147
|
P._sentryWrappedDepth = (P._sentryWrappedDepth || 0) - 1;
|
|
@@ -2150,7 +2150,7 @@ function Y(e, t = {}) {
|
|
|
2150
2150
|
try {
|
|
2151
2151
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
2152
2152
|
} catch {}
|
|
2153
|
-
|
|
2153
|
+
pe(r, e), j(e, "__sentry_wrapped__", r);
|
|
2154
2154
|
try {
|
|
2155
2155
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
2156
2156
|
return e.name;
|
|
@@ -2158,8 +2158,8 @@ function Y(e, t = {}) {
|
|
|
2158
2158
|
} catch {}
|
|
2159
2159
|
return r;
|
|
2160
2160
|
}
|
|
2161
|
-
function
|
|
2162
|
-
let e =
|
|
2161
|
+
function Wi() {
|
|
2162
|
+
let e = Yr(), { referrer: t } = Y.document || {}, { userAgent: n } = Y.navigator || {};
|
|
2163
2163
|
return {
|
|
2164
2164
|
url: e,
|
|
2165
2165
|
headers: {
|
|
@@ -2170,35 +2170,35 @@ function Yi() {
|
|
|
2170
2170
|
}
|
|
2171
2171
|
//#endregion
|
|
2172
2172
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
2173
|
-
var
|
|
2173
|
+
var Gi = class extends Pn {
|
|
2174
2174
|
constructor(e) {
|
|
2175
2175
|
var t, n;
|
|
2176
|
-
let r =
|
|
2177
|
-
|
|
2176
|
+
let r = Ki(e);
|
|
2177
|
+
qn(r, "browser", ["browser"], Y.SENTRY_SDK_SOURCE || Zt()), super(r);
|
|
2178
2178
|
let { userInfo: i } = this.getDataCollectionOptions();
|
|
2179
2179
|
(t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
2180
2180
|
infer_ip: i ? "auto" : "never",
|
|
2181
2181
|
...r._metadata.sdk.settings
|
|
2182
2182
|
});
|
|
2183
2183
|
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;
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
}), i && this.on("beforeSendSession",
|
|
2184
|
+
Y.document && (a || o || l) && Y.document.addEventListener("visibilitychange", () => {
|
|
2185
|
+
Y.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && rn(this), l && ln(this));
|
|
2186
|
+
}), i && this.on("beforeSendSession", Kn);
|
|
2187
2187
|
}
|
|
2188
2188
|
eventFromException(e, t) {
|
|
2189
|
-
return
|
|
2189
|
+
return Pi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
2190
2190
|
}
|
|
2191
2191
|
eventFromMessage(e, t = "info", n) {
|
|
2192
|
-
return
|
|
2192
|
+
return Fi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
2193
2193
|
}
|
|
2194
2194
|
_prepareEvent(e, t, n, r) {
|
|
2195
2195
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
2196
2196
|
}
|
|
2197
2197
|
};
|
|
2198
|
-
function
|
|
2198
|
+
function Ki(e) {
|
|
2199
2199
|
var t;
|
|
2200
2200
|
return {
|
|
2201
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t =
|
|
2201
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = Y.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
2202
2202
|
sendClientReports: !0,
|
|
2203
2203
|
parentSpanIsAlwaysRootSpan: !0,
|
|
2204
2204
|
...e
|
|
@@ -2206,7 +2206,7 @@ function Zi(e) {
|
|
|
2206
2206
|
}
|
|
2207
2207
|
//#endregion
|
|
2208
2208
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2209
|
-
var
|
|
2209
|
+
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, qi = 1024, Ji = "Breadcrumbs", Yi = H(((e = {}) => {
|
|
2210
2210
|
let t = {
|
|
2211
2211
|
console: !0,
|
|
2212
2212
|
dom: !0,
|
|
@@ -2217,33 +2217,33 @@ var X = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Z = 1024, Qi = "Bread
|
|
|
2217
2217
|
...e
|
|
2218
2218
|
};
|
|
2219
2219
|
return {
|
|
2220
|
-
name:
|
|
2220
|
+
name: Ji,
|
|
2221
2221
|
setup(e) {
|
|
2222
|
-
t.console &&
|
|
2222
|
+
t.console && kr(Qi(e)), t.dom && ti(Zi(e, t.dom)), t.xhr && hi($i(e)), t.fetch && jr(ea(e)), t.history && ci(ta(e)), t.sentry && e.on("beforeSendEvent", Xi(e));
|
|
2223
2223
|
}
|
|
2224
2224
|
};
|
|
2225
2225
|
}));
|
|
2226
|
-
function
|
|
2226
|
+
function Xi(e) {
|
|
2227
2227
|
return function(t) {
|
|
2228
|
-
|
|
2228
|
+
T() === e && W({
|
|
2229
2229
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2230
2230
|
event_id: t.event_id,
|
|
2231
2231
|
level: t.level,
|
|
2232
|
-
message:
|
|
2232
|
+
message: x(t)
|
|
2233
2233
|
}, { event: t });
|
|
2234
2234
|
};
|
|
2235
2235
|
}
|
|
2236
|
-
function
|
|
2236
|
+
function Zi(e, t) {
|
|
2237
2237
|
return function(n) {
|
|
2238
|
-
if (
|
|
2238
|
+
if (T() !== e) return;
|
|
2239
2239
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2240
|
-
o && o >
|
|
2240
|
+
o && o > qi && (Z && k.warn(`\`dom.maxStringLength\` cannot exceed ${qi}, but a value of ${o} was configured. Sentry will use ${qi} instead.`), o = qi), typeof a == "string" && (a = [a]);
|
|
2241
2241
|
try {
|
|
2242
|
-
let e = n.event, t =
|
|
2243
|
-
r =
|
|
2242
|
+
let e = n.event, t = na(e) ? e.target : e;
|
|
2243
|
+
r = yi(t, {
|
|
2244
2244
|
keyAttrs: a,
|
|
2245
2245
|
maxStringLength: o
|
|
2246
|
-
}), i =
|
|
2246
|
+
}), i = Xr(t);
|
|
2247
2247
|
} catch {
|
|
2248
2248
|
r = "<unknown>";
|
|
2249
2249
|
}
|
|
@@ -2252,37 +2252,37 @@ function ta(e, t) {
|
|
|
2252
2252
|
category: `ui.${n.name}`,
|
|
2253
2253
|
message: r
|
|
2254
2254
|
};
|
|
2255
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2255
|
+
i && (s.data = { "ui.component_name": i }), W(s, {
|
|
2256
2256
|
event: n.event,
|
|
2257
2257
|
name: n.name,
|
|
2258
2258
|
global: n.global
|
|
2259
2259
|
});
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
2262
|
-
function
|
|
2262
|
+
function Qi(e) {
|
|
2263
2263
|
return function(t) {
|
|
2264
|
-
if (
|
|
2264
|
+
if (T() !== e) return;
|
|
2265
2265
|
let n = {
|
|
2266
2266
|
category: "console",
|
|
2267
2267
|
data: {
|
|
2268
2268
|
arguments: t.args,
|
|
2269
2269
|
logger: "console"
|
|
2270
2270
|
},
|
|
2271
|
-
level:
|
|
2272
|
-
message:
|
|
2271
|
+
level: Ur(t.level),
|
|
2272
|
+
message: te(t.args, " ")
|
|
2273
2273
|
};
|
|
2274
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2274
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${te(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2275
2275
|
else return;
|
|
2276
|
-
|
|
2276
|
+
W(n, {
|
|
2277
2277
|
input: t.args,
|
|
2278
2278
|
level: t.level
|
|
2279
2279
|
});
|
|
2280
2280
|
};
|
|
2281
2281
|
}
|
|
2282
|
-
function
|
|
2282
|
+
function $i(e) {
|
|
2283
2283
|
return function(t) {
|
|
2284
|
-
if (
|
|
2285
|
-
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[
|
|
2284
|
+
if (T() !== e) return;
|
|
2285
|
+
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[K];
|
|
2286
2286
|
if (!n || !r || !i) return;
|
|
2287
2287
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
2288
2288
|
method: a,
|
|
@@ -2297,14 +2297,14 @@ function ra(e) {
|
|
|
2297
2297
|
category: "xhr",
|
|
2298
2298
|
data: l,
|
|
2299
2299
|
type: "http",
|
|
2300
|
-
level:
|
|
2300
|
+
level: Dr(s)
|
|
2301
2301
|
};
|
|
2302
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2302
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), W(d, u);
|
|
2303
2303
|
};
|
|
2304
2304
|
}
|
|
2305
|
-
function
|
|
2305
|
+
function ea(e) {
|
|
2306
2306
|
return function(t) {
|
|
2307
|
-
if (
|
|
2307
|
+
if (T() !== e) return;
|
|
2308
2308
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
2309
2309
|
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.error) {
|
|
2310
2310
|
let i = {
|
|
@@ -2318,7 +2318,7 @@ function ia(e) {
|
|
|
2318
2318
|
level: "error",
|
|
2319
2319
|
type: "http"
|
|
2320
2320
|
};
|
|
2321
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2321
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), W(a, i);
|
|
2322
2322
|
} else {
|
|
2323
2323
|
let i = t.response, a = {
|
|
2324
2324
|
...t.fetchData,
|
|
@@ -2332,17 +2332,17 @@ function ia(e) {
|
|
|
2332
2332
|
category: "fetch",
|
|
2333
2333
|
data: a,
|
|
2334
2334
|
type: "http",
|
|
2335
|
-
level:
|
|
2335
|
+
level: Dr(a.status_code)
|
|
2336
2336
|
};
|
|
2337
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2337
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), W(s, o);
|
|
2338
2338
|
}
|
|
2339
2339
|
};
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2341
|
+
function ta(e) {
|
|
2342
2342
|
return function(t) {
|
|
2343
|
-
if (
|
|
2344
|
-
let n = t.from, r = t.to, i =
|
|
2345
|
-
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),
|
|
2343
|
+
if (T() !== e) return;
|
|
2344
|
+
let n = t.from, r = t.to, i = Wr(Y.location.href), a = n ? Wr(n) : void 0, o = Wr(r);
|
|
2345
|
+
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), W({
|
|
2346
2346
|
category: "navigation",
|
|
2347
2347
|
data: {
|
|
2348
2348
|
from: n,
|
|
@@ -2351,12 +2351,12 @@ function aa(e) {
|
|
|
2351
2351
|
});
|
|
2352
2352
|
};
|
|
2353
2353
|
}
|
|
2354
|
-
function
|
|
2354
|
+
function na(e) {
|
|
2355
2355
|
return !!e && !!e.target;
|
|
2356
2356
|
}
|
|
2357
2357
|
//#endregion
|
|
2358
2358
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2359
|
-
var
|
|
2359
|
+
var ra = "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(","), ia = "BrowserApiErrors", aa = H(((e = {}) => {
|
|
2360
2360
|
let t = {
|
|
2361
2361
|
XMLHttpRequest: !0,
|
|
2362
2362
|
eventTarget: !0,
|
|
@@ -2367,33 +2367,33 @@ var sa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2367
2367
|
...e
|
|
2368
2368
|
};
|
|
2369
2369
|
return {
|
|
2370
|
-
name:
|
|
2370
|
+
name: ia,
|
|
2371
2371
|
setupOnce() {
|
|
2372
|
-
t.setTimeout &&
|
|
2372
|
+
t.setTimeout && w(Y, "setTimeout", oa), t.setInterval && w(Y, "setInterval", oa), t.requestAnimationFrame && w(Y, "requestAnimationFrame", sa), t.XMLHttpRequest && "XMLHttpRequest" in Y && w(XMLHttpRequest.prototype, "send", ca);
|
|
2373
2373
|
let e = t.eventTarget;
|
|
2374
|
-
e && (Array.isArray(e) ? e :
|
|
2374
|
+
e && (Array.isArray(e) ? e : ra).forEach((e) => la(e, t));
|
|
2375
2375
|
}
|
|
2376
2376
|
};
|
|
2377
2377
|
}));
|
|
2378
|
-
function
|
|
2378
|
+
function oa(e) {
|
|
2379
2379
|
return function(...t) {
|
|
2380
2380
|
let n = t[0];
|
|
2381
|
-
return t[0] =
|
|
2381
|
+
return t[0] = X(n, { mechanism: {
|
|
2382
2382
|
handled: !1,
|
|
2383
|
-
type: `auto.browser.browserapierrors.${
|
|
2383
|
+
type: `auto.browser.browserapierrors.${y(e)}`
|
|
2384
2384
|
} }), e.apply(this, t);
|
|
2385
2385
|
};
|
|
2386
2386
|
}
|
|
2387
|
-
function
|
|
2387
|
+
function sa(e) {
|
|
2388
2388
|
return function(t) {
|
|
2389
|
-
return e.apply(this, [
|
|
2390
|
-
data: { handler:
|
|
2389
|
+
return e.apply(this, [X(t, { mechanism: {
|
|
2390
|
+
data: { handler: y(e) },
|
|
2391
2391
|
handled: !1,
|
|
2392
2392
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2393
2393
|
} })]);
|
|
2394
2394
|
};
|
|
2395
2395
|
}
|
|
2396
|
-
function
|
|
2396
|
+
function ca(e) {
|
|
2397
2397
|
return function(...t) {
|
|
2398
2398
|
let n = this;
|
|
2399
2399
|
return [
|
|
@@ -2402,37 +2402,37 @@ function fa(e) {
|
|
|
2402
2402
|
"onprogress",
|
|
2403
2403
|
"onreadystatechange"
|
|
2404
2404
|
].forEach((e) => {
|
|
2405
|
-
e in n && typeof n[e] == "function" &&
|
|
2405
|
+
e in n && typeof n[e] == "function" && w(n, e, function(t) {
|
|
2406
2406
|
let n = { mechanism: {
|
|
2407
|
-
data: { handler:
|
|
2407
|
+
data: { handler: y(t) },
|
|
2408
2408
|
handled: !1,
|
|
2409
2409
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2410
|
-
} }, r =
|
|
2411
|
-
return r && (n.mechanism.data.handler =
|
|
2410
|
+
} }, r = fe(t);
|
|
2411
|
+
return r && (n.mechanism.data.handler = y(r)), X(t, n);
|
|
2412
2412
|
});
|
|
2413
2413
|
}), e.apply(this, t);
|
|
2414
2414
|
};
|
|
2415
2415
|
}
|
|
2416
|
-
function
|
|
2416
|
+
function la(e, t) {
|
|
2417
2417
|
var n, r;
|
|
2418
|
-
let i = (n =
|
|
2419
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2418
|
+
let i = (n = Y[e]) == null ? void 0 : n.prototype;
|
|
2419
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (w(i, "addEventListener", function(n) {
|
|
2420
2420
|
return function(r, i, a) {
|
|
2421
2421
|
try {
|
|
2422
|
-
|
|
2422
|
+
ua(i) && (i.handleEvent = X(i.handleEvent, { mechanism: {
|
|
2423
2423
|
data: {
|
|
2424
|
-
handler:
|
|
2424
|
+
handler: y(i),
|
|
2425
2425
|
target: e
|
|
2426
2426
|
},
|
|
2427
2427
|
handled: !1,
|
|
2428
2428
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2429
2429
|
} }));
|
|
2430
2430
|
} catch {}
|
|
2431
|
-
return t.unregisterOriginalCallbacks &&
|
|
2431
|
+
return t.unregisterOriginalCallbacks && da(this, r, i), n.apply(this, [
|
|
2432
2432
|
r,
|
|
2433
|
-
|
|
2433
|
+
X(i, { mechanism: {
|
|
2434
2434
|
data: {
|
|
2435
|
-
handler:
|
|
2435
|
+
handler: y(i),
|
|
2436
2436
|
target: e
|
|
2437
2437
|
},
|
|
2438
2438
|
handled: !1,
|
|
@@ -2441,7 +2441,7 @@ function pa(e, t) {
|
|
|
2441
2441
|
a
|
|
2442
2442
|
]);
|
|
2443
2443
|
};
|
|
2444
|
-
}),
|
|
2444
|
+
}), w(i, "removeEventListener", function(e) {
|
|
2445
2445
|
return function(t, n, r) {
|
|
2446
2446
|
try {
|
|
2447
2447
|
if (Object.prototype.hasOwnProperty.call(n, "__sentry_wrapped__")) {
|
|
@@ -2453,38 +2453,38 @@ function pa(e, t) {
|
|
|
2453
2453
|
};
|
|
2454
2454
|
}));
|
|
2455
2455
|
}
|
|
2456
|
-
function
|
|
2456
|
+
function ua(e) {
|
|
2457
2457
|
return typeof e.handleEvent == "function";
|
|
2458
2458
|
}
|
|
2459
|
-
function
|
|
2459
|
+
function da(e, t, n) {
|
|
2460
2460
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2461
2461
|
}
|
|
2462
2462
|
//#endregion
|
|
2463
2463
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2464
|
-
var
|
|
2464
|
+
var fa = H((e = {}) => {
|
|
2465
2465
|
var t;
|
|
2466
2466
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2467
2467
|
return {
|
|
2468
2468
|
name: "BrowserSession",
|
|
2469
2469
|
setupOnce() {
|
|
2470
|
-
if (
|
|
2471
|
-
|
|
2470
|
+
if (Y.document === void 0) {
|
|
2471
|
+
Z && k.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2472
2472
|
return;
|
|
2473
2473
|
}
|
|
2474
|
-
|
|
2475
|
-
let e =
|
|
2474
|
+
ve({ ignoreDuration: !0 }), Re();
|
|
2475
|
+
let e = F(), t = e.getUser();
|
|
2476
2476
|
e.addScopeListener((e) => {
|
|
2477
2477
|
let n = e.getUser();
|
|
2478
|
-
((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)) && (
|
|
2479
|
-
}), n === "route" &&
|
|
2480
|
-
e !== t && (
|
|
2478
|
+
((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)) && (Re(), t = n);
|
|
2479
|
+
}), n === "route" && ci(({ from: e, to: t }) => {
|
|
2480
|
+
e !== t && (ve({ ignoreDuration: !0 }), Re());
|
|
2481
2481
|
});
|
|
2482
2482
|
}
|
|
2483
2483
|
};
|
|
2484
|
-
}),
|
|
2485
|
-
name:
|
|
2484
|
+
}), pa = "CultureContext", ma = H((() => ({
|
|
2485
|
+
name: pa,
|
|
2486
2486
|
preprocessEvent(e) {
|
|
2487
|
-
let t =
|
|
2487
|
+
let t = ha();
|
|
2488
2488
|
if (t) {
|
|
2489
2489
|
var n;
|
|
2490
2490
|
e.contexts = {
|
|
@@ -2497,17 +2497,17 @@ var ga = V((e = {}) => {
|
|
|
2497
2497
|
}
|
|
2498
2498
|
},
|
|
2499
2499
|
processSegmentSpan(e) {
|
|
2500
|
-
let t =
|
|
2501
|
-
t &&
|
|
2500
|
+
let t = ha();
|
|
2501
|
+
t && kt(e, {
|
|
2502
2502
|
"culture.locale": t.locale,
|
|
2503
2503
|
"culture.timezone": t.timezone,
|
|
2504
2504
|
"culture.calendar": t.calendar
|
|
2505
2505
|
});
|
|
2506
2506
|
}
|
|
2507
2507
|
})));
|
|
2508
|
-
function
|
|
2508
|
+
function ha() {
|
|
2509
2509
|
try {
|
|
2510
|
-
let e =
|
|
2510
|
+
let e = Y.Intl;
|
|
2511
2511
|
if (!e) return;
|
|
2512
2512
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2513
2513
|
return {
|
|
@@ -2521,28 +2521,28 @@ function ya() {
|
|
|
2521
2521
|
}
|
|
2522
2522
|
//#endregion
|
|
2523
2523
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2524
|
-
var
|
|
2524
|
+
var ga = "GlobalHandlers", _a = H(((e = {}) => {
|
|
2525
2525
|
let t = {
|
|
2526
2526
|
onerror: !0,
|
|
2527
2527
|
onunhandledrejection: !0,
|
|
2528
2528
|
...e
|
|
2529
2529
|
};
|
|
2530
2530
|
return {
|
|
2531
|
-
name:
|
|
2531
|
+
name: ga,
|
|
2532
2532
|
setupOnce() {
|
|
2533
2533
|
Error.stackTraceLimit = 50;
|
|
2534
2534
|
},
|
|
2535
2535
|
setup(e) {
|
|
2536
|
-
t.onerror && (
|
|
2536
|
+
t.onerror && (va(e), Ca("onerror")), t.onunhandledrejection && (ya(e), Ca("onunhandledrejection"));
|
|
2537
2537
|
}
|
|
2538
2538
|
};
|
|
2539
2539
|
}));
|
|
2540
|
-
function
|
|
2541
|
-
|
|
2542
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2543
|
-
if (
|
|
2544
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2545
|
-
l.level = "error",
|
|
2540
|
+
function va(e) {
|
|
2541
|
+
Rr((t) => {
|
|
2542
|
+
let { stackParser: n, attachStacktrace: r } = wa();
|
|
2543
|
+
if (T() !== e || Hi()) return;
|
|
2544
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Sa(Ii(n, c || i, void 0, r, !1), a, o, s);
|
|
2545
|
+
l.level = "error", He(l, {
|
|
2546
2546
|
originalException: c,
|
|
2547
2547
|
mechanism: {
|
|
2548
2548
|
handled: !1,
|
|
@@ -2551,12 +2551,12 @@ function Sa(e) {
|
|
|
2551
2551
|
});
|
|
2552
2552
|
});
|
|
2553
2553
|
}
|
|
2554
|
-
function
|
|
2555
|
-
|
|
2556
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2557
|
-
if (
|
|
2558
|
-
let i =
|
|
2559
|
-
a.level = "error",
|
|
2554
|
+
function ya(e) {
|
|
2555
|
+
Vr((t) => {
|
|
2556
|
+
let { stackParser: n, attachStacktrace: r } = wa();
|
|
2557
|
+
if (T() !== e || Hi()) return;
|
|
2558
|
+
let i = ba(t), a = A(i) ? xa(i) : Ii(n, i, void 0, r, !0);
|
|
2559
|
+
a.level = "error", He(a, {
|
|
2560
2560
|
originalException: i,
|
|
2561
2561
|
mechanism: {
|
|
2562
2562
|
handled: !1,
|
|
@@ -2565,55 +2565,55 @@ function Ca(e) {
|
|
|
2565
2565
|
});
|
|
2566
2566
|
});
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2569
|
-
if (
|
|
2568
|
+
function ba(e) {
|
|
2569
|
+
if (A(e)) return e;
|
|
2570
2570
|
try {
|
|
2571
2571
|
if ("reason" in e) return e.reason;
|
|
2572
2572
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
2573
2573
|
} catch {}
|
|
2574
2574
|
return e;
|
|
2575
2575
|
}
|
|
2576
|
-
function
|
|
2576
|
+
function xa(e) {
|
|
2577
2577
|
return { exception: { values: [{
|
|
2578
2578
|
type: "UnhandledRejection",
|
|
2579
2579
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2580
2580
|
}] } };
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function Sa(e, t, n, r) {
|
|
2583
2583
|
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 || [];
|
|
2584
2584
|
if (c.length === 0) {
|
|
2585
2585
|
var l;
|
|
2586
2586
|
c.push({
|
|
2587
2587
|
colno: r,
|
|
2588
2588
|
lineno: n,
|
|
2589
|
-
filename: (l =
|
|
2589
|
+
filename: (l = Ta(t)) == null ? Yr() : l,
|
|
2590
2590
|
function: "?",
|
|
2591
2591
|
in_app: !0
|
|
2592
2592
|
});
|
|
2593
2593
|
}
|
|
2594
2594
|
return e;
|
|
2595
2595
|
}
|
|
2596
|
-
function
|
|
2597
|
-
|
|
2596
|
+
function Ca(e) {
|
|
2597
|
+
Z && k.log(`Global Handler attached: ${e}`);
|
|
2598
2598
|
}
|
|
2599
|
-
function
|
|
2600
|
-
let e =
|
|
2599
|
+
function wa() {
|
|
2600
|
+
let e = T();
|
|
2601
2601
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2602
2602
|
stackParser: () => [],
|
|
2603
2603
|
attachStacktrace: !1
|
|
2604
2604
|
};
|
|
2605
2605
|
}
|
|
2606
|
-
function
|
|
2607
|
-
if (!(!
|
|
2606
|
+
function Ta(e) {
|
|
2607
|
+
if (!(!D(e) || e.length === 0)) return e.startsWith("data:") ? `<${Gr(e, !1)}>` : e;
|
|
2608
2608
|
}
|
|
2609
2609
|
//#endregion
|
|
2610
2610
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2611
|
-
var
|
|
2611
|
+
var Ea = H(() => ({
|
|
2612
2612
|
name: "HttpContext",
|
|
2613
2613
|
preprocessEvent(e) {
|
|
2614
2614
|
var t;
|
|
2615
|
-
if (!
|
|
2616
|
-
let n =
|
|
2615
|
+
if (!Y.navigator && !Y.location && !Y.document) return;
|
|
2616
|
+
let n = Wi(), r = {
|
|
2617
2617
|
...n.headers,
|
|
2618
2618
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2619
2619
|
};
|
|
@@ -2625,25 +2625,25 @@ var Aa = V(() => ({
|
|
|
2625
2625
|
},
|
|
2626
2626
|
processSegmentSpan(e) {
|
|
2627
2627
|
var t;
|
|
2628
|
-
let n = (t = e.attributes) == null ? void 0 : t[
|
|
2629
|
-
if (!
|
|
2630
|
-
let r =
|
|
2631
|
-
|
|
2628
|
+
let n = (t = e.attributes) == null ? void 0 : t[g];
|
|
2629
|
+
if (!Y.navigator && !Y.location && !Y.document) return;
|
|
2630
|
+
let r = Wi();
|
|
2631
|
+
kt(e, {
|
|
2632
2632
|
"url.full": n === "http.client" ? void 0 : r.url,
|
|
2633
2633
|
"http.request.header.user_agent": r.headers["User-Agent"],
|
|
2634
2634
|
"http.request.header.referer": r.headers.Referer
|
|
2635
2635
|
});
|
|
2636
2636
|
}
|
|
2637
|
-
})),
|
|
2638
|
-
let t = e.limit ||
|
|
2637
|
+
})), Da = "cause", Oa = 5, ka = "LinkedErrors", Aa = H(((e = {}) => {
|
|
2638
|
+
let t = e.limit || Oa, n = e.key || Da;
|
|
2639
2639
|
return {
|
|
2640
|
-
name:
|
|
2640
|
+
name: ka,
|
|
2641
2641
|
preprocessEvent(e, r, i) {
|
|
2642
|
-
|
|
2642
|
+
Sr(wi, i.getOptions().stackParser, n, t, e, r);
|
|
2643
2643
|
}
|
|
2644
2644
|
};
|
|
2645
|
-
})),
|
|
2646
|
-
function
|
|
2645
|
+
})), ja = 30, Ma = 50;
|
|
2646
|
+
function Na(e, t, n, r) {
|
|
2647
2647
|
let i = {
|
|
2648
2648
|
filename: e,
|
|
2649
2649
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -2651,121 +2651,121 @@ function La(e, t, n, r) {
|
|
|
2651
2651
|
};
|
|
2652
2652
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2653
2653
|
}
|
|
2654
|
-
var
|
|
2655
|
-
let t = e.match(
|
|
2654
|
+
var Pa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Fa = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, Ia = /\((\S*)(?::(\d+))(?::(\d+))\)/, La = /at (.+?) ?\(data:(.+?),/, Ra = [ja, (e) => {
|
|
2655
|
+
let t = e.match(La);
|
|
2656
2656
|
if (t) return {
|
|
2657
2657
|
filename: `<data:${t[2]}>`,
|
|
2658
2658
|
function: t[1]
|
|
2659
2659
|
};
|
|
2660
|
-
let n =
|
|
2660
|
+
let n = Pa.exec(e);
|
|
2661
2661
|
if (n) {
|
|
2662
2662
|
let [, e, t, r] = n;
|
|
2663
|
-
return
|
|
2663
|
+
return Na(e, "?", +t, +r);
|
|
2664
2664
|
}
|
|
2665
|
-
let r =
|
|
2665
|
+
let r = Fa.exec(e);
|
|
2666
2666
|
if (r) {
|
|
2667
2667
|
var i;
|
|
2668
2668
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2669
|
-
let e =
|
|
2669
|
+
let e = Ia.exec(r[2]);
|
|
2670
2670
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2671
2671
|
}
|
|
2672
|
-
let [e, t] =
|
|
2673
|
-
return
|
|
2672
|
+
let [e, t] = Ha(r[1] || "?", r[2]);
|
|
2673
|
+
return Na(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2674
2674
|
}
|
|
2675
|
-
}],
|
|
2676
|
-
let t =
|
|
2675
|
+
}], za = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Ba = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Va = le(Ra, [Ma, (e) => {
|
|
2676
|
+
let t = za.exec(e);
|
|
2677
2677
|
if (t) {
|
|
2678
2678
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2679
|
-
let e =
|
|
2679
|
+
let e = Ba.exec(t[3]);
|
|
2680
2680
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2681
2681
|
}
|
|
2682
2682
|
let e = t[3], n = t[1] || "?";
|
|
2683
|
-
return [n, e] =
|
|
2683
|
+
return [n, e] = Ha(n, e), Na(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2684
2684
|
}
|
|
2685
|
-
}]),
|
|
2685
|
+
}]), Ha = (e, t) => {
|
|
2686
2686
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2687
2687
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2688
|
-
},
|
|
2689
|
-
function
|
|
2688
|
+
}, Ua = /^HTML(\w*)Element$/;
|
|
2689
|
+
function Wa(e) {
|
|
2690
2690
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2691
2691
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2692
|
-
if (
|
|
2693
|
-
let t =
|
|
2694
|
-
if (
|
|
2692
|
+
if (xi(e)) {
|
|
2693
|
+
let t = Ga(e);
|
|
2694
|
+
if (Ua.test(t)) return `[HTMLElement: ${yi(e)}]`;
|
|
2695
2695
|
}
|
|
2696
2696
|
}
|
|
2697
|
-
function
|
|
2697
|
+
function Ga(e) {
|
|
2698
2698
|
let t = Object.getPrototypeOf(e);
|
|
2699
2699
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2700
2700
|
}
|
|
2701
2701
|
//#endregion
|
|
2702
2702
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2703
|
-
function
|
|
2704
|
-
return
|
|
2703
|
+
function Ka() {
|
|
2704
|
+
return qa() ? (Z && Le(() => {
|
|
2705
2705
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2706
2706
|
}), !0) : !1;
|
|
2707
2707
|
}
|
|
2708
|
-
function
|
|
2708
|
+
function qa() {
|
|
2709
2709
|
var e;
|
|
2710
|
-
if (
|
|
2711
|
-
let t =
|
|
2710
|
+
if (Y.window === void 0) return !1;
|
|
2711
|
+
let t = Y;
|
|
2712
2712
|
if (t.nw) return !1;
|
|
2713
2713
|
let n = t.chrome || t.browser;
|
|
2714
2714
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2715
|
-
let r =
|
|
2716
|
-
return !(
|
|
2715
|
+
let r = Yr();
|
|
2716
|
+
return !(Y === Y.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2717
2717
|
}
|
|
2718
2718
|
//#endregion
|
|
2719
2719
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.62.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2720
|
-
function
|
|
2720
|
+
function Ja(e) {
|
|
2721
2721
|
return [
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
Pa(),
|
|
2729
|
-
vr(),
|
|
2722
|
+
nr(),
|
|
2723
|
+
Qn(),
|
|
2724
|
+
xr(),
|
|
2725
|
+
aa(),
|
|
2726
|
+
Yi(),
|
|
2727
|
+
_a(),
|
|
2730
2728
|
Aa(),
|
|
2731
|
-
|
|
2732
|
-
|
|
2729
|
+
pr(),
|
|
2730
|
+
Ea(),
|
|
2731
|
+
ma(),
|
|
2732
|
+
fa()
|
|
2733
2733
|
];
|
|
2734
2734
|
}
|
|
2735
|
-
function
|
|
2736
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2735
|
+
function Ya(e = {}) {
|
|
2736
|
+
let t = !e.skipBrowserExtensionCheck && Ka(), n = e.defaultIntegrations == null ? Ja() : e.defaultIntegrations, r = {
|
|
2737
2737
|
...e,
|
|
2738
2738
|
enabled: t ? !1 : e.enabled,
|
|
2739
|
-
stackParser:
|
|
2740
|
-
integrations:
|
|
2739
|
+
stackParser: re(e.stackParser || Va),
|
|
2740
|
+
integrations: Kt({
|
|
2741
2741
|
integrations: e.integrations,
|
|
2742
2742
|
defaultIntegrations: n
|
|
2743
2743
|
}),
|
|
2744
|
-
transport: e.transport ||
|
|
2744
|
+
transport: e.transport || Ci
|
|
2745
2745
|
};
|
|
2746
|
-
return
|
|
2746
|
+
return ee(Wa), Wn(Gi, r);
|
|
2747
2747
|
}
|
|
2748
2748
|
//#endregion
|
|
2749
2749
|
//#region ../../node_modules/.pnpm/@sentry+react@10.62.0_react@19.2.7/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2750
|
-
var
|
|
2751
|
-
function
|
|
2752
|
-
return
|
|
2750
|
+
var Xa = /* @__PURE__ */ e(c());
|
|
2751
|
+
function Za(e) {
|
|
2752
|
+
return ge(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2753
2753
|
}
|
|
2754
2754
|
//#endregion
|
|
2755
2755
|
//#region ../../node_modules/.pnpm/@sentry+react@10.62.0_react@19.2.7/node_modules/@sentry/react/build/esm/sdk.js
|
|
2756
|
-
function
|
|
2756
|
+
function Qa(e) {
|
|
2757
2757
|
let t = { ...e };
|
|
2758
|
-
|
|
2759
|
-
let n =
|
|
2760
|
-
return
|
|
2758
|
+
qn(t, "react"), he("react", { version: Xa.version });
|
|
2759
|
+
let n = Ya(t);
|
|
2760
|
+
return ee($a), n;
|
|
2761
2761
|
}
|
|
2762
|
-
function
|
|
2763
|
-
return
|
|
2762
|
+
function $a(e) {
|
|
2763
|
+
return Za(e) ? "[SyntheticEvent]" : Wa(e);
|
|
2764
2764
|
}
|
|
2765
2765
|
//#endregion
|
|
2766
2766
|
//#region src/tools/sentry.ts
|
|
2767
|
-
var
|
|
2768
|
-
function
|
|
2767
|
+
var eo = "production", to = "3.12.0";
|
|
2768
|
+
function no() {
|
|
2769
2769
|
let e = "sentry_offline_queue";
|
|
2770
2770
|
return {
|
|
2771
2771
|
async push(t) {
|
|
@@ -2812,16 +2812,16 @@ function oo() {
|
|
|
2812
2812
|
}
|
|
2813
2813
|
};
|
|
2814
2814
|
}
|
|
2815
|
-
function
|
|
2816
|
-
let t =
|
|
2817
|
-
|
|
2815
|
+
function ro(e) {
|
|
2816
|
+
let t = xt(Ci);
|
|
2817
|
+
Qa({
|
|
2818
2818
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2819
|
-
release:
|
|
2820
|
-
environment:
|
|
2819
|
+
release: to,
|
|
2820
|
+
environment: eo,
|
|
2821
2821
|
sendDefaultPii: !0,
|
|
2822
2822
|
transport: (e) => t({
|
|
2823
2823
|
...e,
|
|
2824
|
-
createStore: () =>
|
|
2824
|
+
createStore: () => no(),
|
|
2825
2825
|
flushAtStartup: !0,
|
|
2826
2826
|
shouldStore: async (e, t) => {
|
|
2827
2827
|
var n, r, i;
|
|
@@ -2845,14 +2845,14 @@ function so(e) {
|
|
|
2845
2845
|
beforeSend(e) {
|
|
2846
2846
|
return e;
|
|
2847
2847
|
}
|
|
2848
|
-
}), e.eventId &&
|
|
2848
|
+
}), e.eventId && Fe("eventId", e.eventId), Fe("isWebview", e.isWebview), Fe("source", "vite-main"), Be({ ip_address: "{{auto}}" }), io();
|
|
2849
2849
|
}
|
|
2850
|
-
function
|
|
2850
|
+
function io() {
|
|
2851
2851
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2852
|
-
|
|
2852
|
+
Ne(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2853
2853
|
});
|
|
2854
2854
|
let e = window.onerror;
|
|
2855
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2855
|
+
window.onerror = (t, n, r, i, a) => (a && Ne(a, { contexts: { windowError: {
|
|
2856
2856
|
message: t,
|
|
2857
2857
|
source: n,
|
|
2858
2858
|
lineno: r,
|
|
@@ -2864,23 +2864,28 @@ function co() {
|
|
|
2864
2864
|
});
|
|
2865
2865
|
}
|
|
2866
2866
|
//#endregion
|
|
2867
|
+
//#region src/utils/heatmap-enabled.ts
|
|
2868
|
+
function ao(e) {
|
|
2869
|
+
return Object.keys(e).length > 0 && e.enabled !== !1;
|
|
2870
|
+
}
|
|
2871
|
+
//#endregion
|
|
2867
2872
|
//#region src/utils/is-localhost.ts
|
|
2868
|
-
var { hostname: Q, protocol:
|
|
2873
|
+
var { hostname: Q, protocol: oo } = window.location, so = Q === "localhost" || Q === "127.0.0.1" || Q === "::1" || Q.startsWith("192.168.") || Q.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(Q) || Q.endsWith(".local") || oo === "file:" || Q === "";
|
|
2869
2874
|
//#endregion
|
|
2870
2875
|
//#region src/utils/loadCustomCss.ts
|
|
2871
|
-
async function
|
|
2876
|
+
async function co(e, t) {
|
|
2872
2877
|
if (e != null && e.customCss) {
|
|
2873
|
-
let
|
|
2874
|
-
if (
|
|
2878
|
+
let r = document.createElement("style");
|
|
2879
|
+
if (r.textContent = e.customCss, document.head.append(r), typeof ShadowRoot < "u" && t instanceof ShadowRoot) {
|
|
2875
2880
|
let n = document.createElement("style");
|
|
2876
2881
|
n.textContent = e.customCss, t.append(n);
|
|
2877
2882
|
}
|
|
2878
|
-
await
|
|
2883
|
+
await n(e.customCss);
|
|
2879
2884
|
}
|
|
2880
2885
|
}
|
|
2881
2886
|
//#endregion
|
|
2882
2887
|
//#region src/utils/loadIcons.ts
|
|
2883
|
-
async function
|
|
2888
|
+
async function lo(e) {
|
|
2884
2889
|
try {
|
|
2885
2890
|
(await Promise.allSettled(Object.entries({
|
|
2886
2891
|
departure: "icons/departure.svg",
|
|
@@ -2892,33 +2897,28 @@ async function po(e) {
|
|
|
2892
2897
|
transition_down: "icons/transition_down.svg",
|
|
2893
2898
|
kiosk: "icons/kiosk.svg",
|
|
2894
2899
|
yah: "icons/yah.svg"
|
|
2895
|
-
}).map(([e,
|
|
2900
|
+
}).map(([e, n]) => d(t + n).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
2896
2901
|
} catch (e) {
|
|
2897
2902
|
console.warn(e);
|
|
2898
2903
|
}
|
|
2899
2904
|
}
|
|
2900
2905
|
//#endregion
|
|
2901
|
-
//#region src/utils/mergeExhibitors.ts
|
|
2902
|
-
function mo(e, t) {
|
|
2903
|
-
t.exhibitors.forEach((t) => {
|
|
2904
|
-
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
2905
|
-
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
2906
|
-
});
|
|
2907
|
-
}
|
|
2908
|
-
//#endregion
|
|
2909
2906
|
//#region src/utils/use-shadow.ts
|
|
2910
|
-
var
|
|
2907
|
+
var uo, fo = typeof document < "u" && !!((uo = document.body) != null && uo.attachShadow) && s && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0;
|
|
2911
2908
|
//#endregion
|
|
2912
2909
|
//#region src/floorplan.loader.ts
|
|
2913
2910
|
function $() {
|
|
2914
2911
|
throw Error("FloorPlan not ready");
|
|
2915
2912
|
}
|
|
2916
|
-
var
|
|
2913
|
+
var po = class {
|
|
2917
2914
|
get ready() {
|
|
2918
2915
|
return this._ready;
|
|
2919
2916
|
}
|
|
2920
2917
|
get previewMode() {
|
|
2921
|
-
return
|
|
2918
|
+
return a().previewMode || this.element.hasAttribute("data-preview-mode");
|
|
2919
|
+
}
|
|
2920
|
+
get allowConsent() {
|
|
2921
|
+
return this.consent === "ask" ? void 0 : this.consent === "granted";
|
|
2922
2922
|
}
|
|
2923
2923
|
selectBooth(e) {
|
|
2924
2924
|
$();
|
|
@@ -2968,6 +2968,21 @@ var _o = class {
|
|
|
2968
2968
|
selectCategory(e) {
|
|
2969
2969
|
$();
|
|
2970
2970
|
}
|
|
2971
|
+
select(e) {
|
|
2972
|
+
$();
|
|
2973
|
+
}
|
|
2974
|
+
showList(e) {
|
|
2975
|
+
$();
|
|
2976
|
+
}
|
|
2977
|
+
selectTour(e) {
|
|
2978
|
+
$();
|
|
2979
|
+
}
|
|
2980
|
+
openPlanner(e) {
|
|
2981
|
+
$();
|
|
2982
|
+
}
|
|
2983
|
+
startBuildRoute() {
|
|
2984
|
+
$();
|
|
2985
|
+
}
|
|
2971
2986
|
getVisibility() {
|
|
2972
2987
|
$();
|
|
2973
2988
|
}
|
|
@@ -2989,6 +3004,12 @@ var _o = class {
|
|
|
2989
3004
|
switchView() {
|
|
2990
3005
|
$();
|
|
2991
3006
|
}
|
|
3007
|
+
setCamera(e) {
|
|
3008
|
+
$();
|
|
3009
|
+
}
|
|
3010
|
+
getCamera() {
|
|
3011
|
+
$();
|
|
3012
|
+
}
|
|
2992
3013
|
fitBounds() {
|
|
2993
3014
|
$();
|
|
2994
3015
|
}
|
|
@@ -3061,88 +3082,68 @@ var _o = class {
|
|
|
3061
3082
|
selectAccessibleRoute(e) {
|
|
3062
3083
|
$();
|
|
3063
3084
|
}
|
|
3064
|
-
constructor(e) {
|
|
3065
|
-
|
|
3066
|
-
|
|
3085
|
+
constructor(e, n) {
|
|
3086
|
+
this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.consent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0;
|
|
3087
|
+
let s = a();
|
|
3088
|
+
if (this.noOverlay = !!s.noOverlay, this.offHistory = !!s.offHistory, this.ignoreQuery = s.ignoreQuery, this.consent = s.consent, this.consent === "ask" && (Ye ? this.consent = "granted" : so && !l && (this.consent = "denied")), this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!s.viewerMode, this.disableRuntimeAlerts = s.disableRuntimeAlerts, this.maplibre = s.maplibre, window.__efpMaplibre = s.maplibre, this._ready = new Promise((e, t) => {
|
|
3067
3089
|
this.resolveReady = e;
|
|
3068
|
-
});
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
let c = e.expo || e.event;
|
|
3073
|
-
if (!c) throw Error("`expo` option is required");
|
|
3074
|
-
so({
|
|
3090
|
+
}), this.element = n, n.__expofp) throw Error("Element already in use");
|
|
3091
|
+
n.__expofp = this;
|
|
3092
|
+
let c = s.expo;
|
|
3093
|
+
ro({
|
|
3075
3094
|
eventId: c || "",
|
|
3076
|
-
isWebview:
|
|
3077
|
-
}), this.eventId = c, window.__efpEvent = c, window.__efpElement =
|
|
3078
|
-
let
|
|
3079
|
-
|
|
3080
|
-
let
|
|
3081
|
-
if (
|
|
3082
|
-
|
|
3083
|
-
e
|
|
3084
|
-
}
|
|
3085
|
-
if (go) {
|
|
3086
|
-
h = p.attachShadow({ mode: "open" });
|
|
3087
|
-
let e = h, t = document;
|
|
3095
|
+
isWebview: Ye
|
|
3096
|
+
}), this.eventId = c, window.__efpEvent = c, window.__efpElement = n;
|
|
3097
|
+
let d = document.createElement("div");
|
|
3098
|
+
d.style.height = "100%", d.style.width = "100%", n.appendChild(d);
|
|
3099
|
+
let f;
|
|
3100
|
+
if (fo) {
|
|
3101
|
+
f = d.attachShadow({ mode: "open" });
|
|
3102
|
+
let e = f, t = document;
|
|
3088
3103
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3089
|
-
} else
|
|
3090
|
-
let
|
|
3091
|
-
|
|
3092
|
-
let
|
|
3093
|
-
window.__dataUrlBase = _, this.dataUrl = _, m.log("Instantiating ExpoFP floorplan", e.element, c);
|
|
3094
|
-
let v = _ + "data.js", y = _ + "wf.data.js", te = _ + "fp.svg.js", b = [
|
|
3095
|
-
f(y),
|
|
3096
|
-
f(v),
|
|
3097
|
-
f(te)
|
|
3098
|
-
], x = 0;
|
|
3104
|
+
} else f = d;
|
|
3105
|
+
let p = document.createElement("div");
|
|
3106
|
+
p.style.height = "100%", p.style.width = "100%", f.appendChild(p), fo && Object.defineProperty(p, "ownerDocument", { value: f }), window.__efpShadowDOMStyleParent = fo ? f : void 0, this.renderTarget = p, u.log("Instantiating ExpoFP floorplan", n, c);
|
|
3107
|
+
let m = 0;
|
|
3099
3108
|
this.efpStyleLoadHandler = function(e) {
|
|
3100
3109
|
let t = window.__efpStyleElements;
|
|
3101
|
-
for (;
|
|
3102
|
-
let e = t[
|
|
3103
|
-
|
|
3110
|
+
for (; m < t.length;) {
|
|
3111
|
+
let e = t[m];
|
|
3112
|
+
f.appendChild(e), m++;
|
|
3104
3113
|
}
|
|
3105
3114
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
3106
|
-
let
|
|
3115
|
+
let h = this;
|
|
3107
3116
|
(async function() {
|
|
3108
|
-
var e,
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
let { showEventNotFound: e } = await import("./event-not-found-CE2zhFPJ.js");
|
|
3115
|
-
e(o);
|
|
3116
|
-
return;
|
|
3117
|
-
}
|
|
3118
|
-
await ee();
|
|
3119
|
-
let _ = new URLSearchParams(window.location.search), v, y;
|
|
3120
|
-
if (g != null && g.trackerUrl) try {
|
|
3121
|
-
v = new URL(g.trackerUrl), y = v.searchParams.get("expoId");
|
|
3117
|
+
var e, s, c;
|
|
3118
|
+
let l = a();
|
|
3119
|
+
await o();
|
|
3120
|
+
let p = new URLSearchParams(window.location.search), m, g;
|
|
3121
|
+
if (l != null && l.trackerUrl) try {
|
|
3122
|
+
m = new URL(l.trackerUrl), g = m.searchParams.get("expoId");
|
|
3122
3123
|
} catch (e) {
|
|
3123
3124
|
console.error(e);
|
|
3124
3125
|
}
|
|
3125
|
-
let
|
|
3126
|
-
if (!
|
|
3127
|
-
let t = new URL(e.dataUrl,
|
|
3126
|
+
let _ = async (e) => {
|
|
3127
|
+
if (!m || !g) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
3128
|
+
let t = new URL(e.dataUrl, m.origin), n = await fetch(t.toString(), {
|
|
3128
3129
|
method: "POST",
|
|
3129
3130
|
headers: { "Content-Type": "application/json" },
|
|
3130
3131
|
body: JSON.stringify({
|
|
3131
|
-
expoId:
|
|
3132
|
-
token: decodeURIComponent(
|
|
3132
|
+
expoId: g,
|
|
3133
|
+
token: decodeURIComponent(p.get("t"))
|
|
3133
3134
|
})
|
|
3134
3135
|
}), r = [];
|
|
3135
3136
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
3136
|
-
};
|
|
3137
|
-
if (
|
|
3138
|
-
if (
|
|
3137
|
+
}, v = (e = l == null ? void 0 : l.heatmap) == null ? {} : e, y = ao(v) || p.get("heatmap") === "true", ee = v.variant === "yah" || p.get("type") === "yah", te = v.kiosk === !0 || p.get("subtype") === "kiosk";
|
|
3138
|
+
if (y) try {
|
|
3139
|
+
if (ee) te ? await _({
|
|
3139
3140
|
dataUrl: "/api/kiosks/list/viewer",
|
|
3140
3141
|
dataMapper: (e) => ({
|
|
3141
3142
|
...e,
|
|
3142
3143
|
id: e.key,
|
|
3143
3144
|
name: `Kiosk ${e.key}`
|
|
3144
3145
|
})
|
|
3145
|
-
}) : await
|
|
3146
|
+
}) : await _({
|
|
3146
3147
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
3147
3148
|
dataMapper: (e, t) => ({
|
|
3148
3149
|
...e,
|
|
@@ -3150,10 +3151,10 @@ var _o = class {
|
|
|
3150
3151
|
})
|
|
3151
3152
|
});
|
|
3152
3153
|
else {
|
|
3153
|
-
let e = new URL("/api/fp-stats/get",
|
|
3154
|
-
e.searchParams.set("expoId",
|
|
3155
|
-
let t = new URL("api/fp-stats/get",
|
|
3156
|
-
t.searchParams.set("expoId",
|
|
3154
|
+
let e = new URL("/api/fp-stats/get", m.origin);
|
|
3155
|
+
e.searchParams.set("expoId", g), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(p.get("t")));
|
|
3156
|
+
let t = new URL("api/fp-stats/get", m.origin);
|
|
3157
|
+
t.searchParams.set("expoId", g), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(p.get("t")));
|
|
3157
3158
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
3158
3159
|
window.__heatmapData = {
|
|
3159
3160
|
booths: i,
|
|
@@ -3163,40 +3164,27 @@ var _o = class {
|
|
|
3163
3164
|
} catch (e) {
|
|
3164
3165
|
console.error("Heatmap: Initialization error", e);
|
|
3165
3166
|
}
|
|
3166
|
-
try {
|
|
3167
|
-
let e = n();
|
|
3168
|
-
if (e) {
|
|
3169
|
-
s(e);
|
|
3170
|
-
let t = r("api/rebooking-data", {
|
|
3171
|
-
rt: e,
|
|
3172
|
-
expoKey: c
|
|
3173
|
-
}), n = await fetch(t);
|
|
3174
|
-
n.ok && mo(g, await n.json()), g.isRebooking = n.ok;
|
|
3175
|
-
} else g.isRebooking = !1;
|
|
3176
|
-
} catch (e) {
|
|
3177
|
-
console.error(e);
|
|
3178
|
-
}
|
|
3179
3167
|
let ne = [
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3168
|
+
r(t + "vendor/sanitize-css/sanitize.css", f),
|
|
3169
|
+
r(t + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", f),
|
|
3170
|
+
i("Oswald", t + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
3171
|
+
i("Oswald", t + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
3172
|
+
i("Inter", t + "fonts/inter-400.woff2", { weight: 400 }),
|
|
3173
|
+
i("Inter", t + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3174
|
+
i("Inter", t + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3175
|
+
i("efp-symbols", t + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3176
|
+
co(l, f),
|
|
3177
|
+
lo(h.icons)
|
|
3190
3178
|
];
|
|
3191
|
-
await Promise.all(ne),
|
|
3179
|
+
await Promise.all(ne), h.enableRotation = (s = l == null ? void 0 : l.enableRotation) == null ? !1 : s, h.alwaysShowSidebar = (c = l == null ? void 0 : l.alwaysShowSidebar) == null ? !1 : c, u.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3192
3180
|
let { default: re } = await import(
|
|
3193
3181
|
/* webpackChunkName: "floorplan" */
|
|
3194
|
-
"./floorplan.ready-
|
|
3182
|
+
"./floorplan.ready-B2SvQNh9.js"
|
|
3195
3183
|
);
|
|
3196
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove());
|
|
3197
|
-
Object.setPrototypeOf(
|
|
3184
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); n.firstChild && n.firstChild !== d;) n.removeChild(n.firstChild);
|
|
3185
|
+
Object.setPrototypeOf(h, re.prototype).init();
|
|
3198
3186
|
})();
|
|
3199
3187
|
}
|
|
3200
3188
|
};
|
|
3201
3189
|
//#endregion
|
|
3202
|
-
export {
|
|
3190
|
+
export { Ut as a, Y as i, ao as n, Ze as o, Z as r, po as t };
|