@expofp/floorplan 3.42.1 → 3.43.1
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-CFOilpWS.js → Button-ChvBlyDe.js} +6 -6
- package/dist/browser/{CookieConsent-7xtFQUAC.js → CookieConsent-B79szHaS.js} +8 -8
- package/dist/browser/{Debug-Ccq8j5HJ.js → Debug-BmtrxpLX.js} +10 -10
- package/dist/browser/{DebugTools-dIItZaUb.js → DebugTools-D4NbQEtd.js} +7 -7
- package/dist/browser/{Demo-waaMiBvy.js → Demo-C1jGPlTZ.js} +13 -13
- package/dist/browser/{Free-DdCaOZ8Q.js → Free-CrPKA8NB.js} +16 -15
- package/dist/browser/{GalleryContainer-DlucEORI.js → GalleryContainer-Byk_AjCO.js} +470 -469
- package/dist/browser/{GpsLoader-cqPoX_Zr.js → GpsLoader-xcrMJQ3k.js} +40 -37
- package/dist/browser/{KioskStore-BJwAcVii.js → KioskStore-CCqEIeOE.js} +52 -48
- package/dist/browser/{store-DKVnQzpY.js → LayerStore-CfhO9JTt.js} +21374 -31265
- package/dist/browser/{MaplibreAdapter-BZD4cOe-.js → MaplibreAdapter-BkdCl4p0.js} +290 -285
- package/dist/browser/{ModalContainer-BSvSFPr9.js → ModalContainer-CdqhG7DC.js} +11 -11
- package/dist/browser/{PermissionNotice-DXt-j2f7.js → PermissionNotice-271evNUE.js} +7 -7
- package/dist/browser/RouteStore-DYDocOLg.js +1203 -0
- package/dist/browser/SetKioskMode-DWceqgEp.js +50 -0
- package/dist/browser/{ShowKiosk-BhS74u62.js → ShowKiosk-D5DyThTi.js} +18 -17
- package/dist/browser/UIState-Saj7Kjjr.js +2026 -0
- package/dist/browser/{ViewerMenuPanel-BYTeVxTR.js → ViewerMenuPanel--NAIzyGt.js} +25 -24
- package/dist/browser/{add-debug-secret-listener-B3Oo6_V2.js → add-debug-secret-listener-BqwoAVWZ.js} +1 -1
- package/dist/browser/{adopt-global-settings-Yr-a_0F-.js → adopt-global-settings-DvAJraFg.js} +10 -10
- package/dist/browser/{boolean-editor-BA7H18pG.js → boolean-editor-Co1Ily6N.js} +10 -10
- package/dist/browser/{bootIntercom-BEZV9AQ2.js → bootIntercom-BxKpklX4.js} +3 -3
- package/dist/browser/bundle.json +110 -71
- package/dist/browser/{camera-events-CJhSKz2q.js → camera-events-BnYGheBl.js} +1 -1
- package/dist/browser/{classnames-D4c_D7C1.js → classnames-NaSmbmqt.js} +2 -2
- package/dist/browser/{client-DGjMk9A1.js → client-CvZjZ5MY.js} +6 -6
- package/dist/browser/{components-MaSv6j2M.js → components-BC_4Rrtm.js} +1491 -1457
- package/dist/browser/create-live-plan-DdDxRVpo.js +3650 -0
- package/dist/browser/{debug-context-C2PWyEVT.js → debug-context-rb_t7BzM.js} +6 -6
- package/dist/browser/{debug-overlay-BXHh1LRW.js → debug-overlay-DX9d63U6.js} +11 -11
- package/dist/browser/{debug-ui-CO-3GLEU.js → debug-ui-1zRSn-Pt.js} +7 -7
- package/dist/browser/{dimming-kPNlXUew.js → dimming-D9erakE3.js} +277 -270
- package/dist/browser/{dist-DEm0E-fN.js → dist-BupLuz7e.js} +6 -6
- package/dist/browser/{dist-3gOjtf_f.js → dist-Dy3X0upa.js} +3 -3
- package/dist/browser/{dist-B3PLpTVy.js → dist-Dy4ATR13.js} +7 -7
- package/dist/browser/{efp-debug-init-DkOOpU1g.js → efp-debug-init-DTmBNC1u.js} +4 -4
- package/dist/browser/{enum-editor-DPAX_cAI.js → enum-editor-DS9Mi20y.js} +5 -5
- package/dist/browser/{es5-CpN6LQeU.js → es5-TGy8TG8S.js} +2 -2
- package/dist/browser/{event-head-oYEDbvk3.js → event-head-ccloCQPA.js} +1 -1
- package/dist/browser/{event-not-found-C7GLCJX7.js → event-not-found-B4UzwYx9.js} +4 -4
- package/dist/browser/event-scoped-cache-Bo8Pi1bU.js +22 -0
- package/dist/browser/{exports-3uPTDFG9.js → exports-DkrDN44T.js} +1 -1
- package/dist/browser/{favicon-CQpg641Z.js → favicon-BO6r3JQD.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Chmlkexp.js → fetch-retry.umd-CBKWHeDp.js} +2 -2
- package/dist/browser/{flex--99NWgQk.js → flex-DK-UWQj-.js} +6 -6
- package/dist/browser/{floorplan.loader-Ci226yql.js → floorplan.loader-C3iy3aV0.js} +658 -707
- package/dist/browser/{floorplan.ready-y0hYLknK.js → floorplan.ready-Dfo1nWhu.js} +373 -359
- package/dist/browser/freeBanner-C7xKlqKw.js +31 -0
- package/dist/browser/{fuse-BuFi3LTO.js → fuse-BQcpTy7r.js} +2 -2
- package/dist/browser/{i18n-BAQekIFF.js → i18n-D6Lq_Buf.js} +1821 -3872
- package/dist/browser/index.js +131 -47
- package/dist/browser/{index.module-CXN9GK4C.js → index.module-BSoufRTU.js} +17 -17
- package/dist/browser/init-ui-1FfbXJGw.js +286 -0
- package/dist/browser/integrateKiosk-D9Q6DLBE.js +35 -0
- package/dist/browser/{loadImage-xbueiJmr.js → is-debug-COmQqgiL.js} +30 -14
- package/dist/browser/{is-own-domain-DPJZoBiw.js → is-own-domain-DJo0J_LD.js} +1 -1
- package/dist/browser/{is-webview-Bs8mxX94.js → is-webview-BBchBwKM.js} +1 -1
- package/dist/browser/{jsx-runtime-BXbSNrYY.js → jsx-runtime-DL-d6MrM.js} +2 -2
- package/dist/browser/kiosk-mode-_np8_B-l.js +33 -0
- package/dist/browser/{kiosk-record-CaWjqNGY.js → kiosk-record-BmaguqBS.js} +1 -1
- package/dist/browser/kioskApi-C07lc5Lj.js +440 -0
- package/dist/browser/{lib-jJ4yMeEA.js → lib-DrLsicOU.js} +3 -3
- package/dist/browser/loadImage-gvajvqmr.js +17 -0
- package/dist/browser/{logDeviceInfo-DSmmt_FU.js → logDeviceInfo-Dp6nkPPj.js} +9 -9
- package/dist/browser/{mobx-BQA2EJH7.js → mobx-Dfa_Tj0c.js} +11 -11
- package/dist/browser/mobx.module-ionKiiCb.js +2064 -0
- package/dist/browser/{optional-boolean-editor-Y_exy4JL.js → optional-boolean-editor-IDS6OcC1.js} +4 -4
- package/dist/browser/{optional-enum-editor-CKfj0OB9.js → optional-enum-editor-CmHeQhFh.js} +5 -5
- package/dist/browser/{optional-string-editor-DeavwcWv.js → optional-string-editor-5lm4OVVA.js} +5 -5
- package/dist/browser/{particles.min-BJkirBpN.js → particles.min-Djywwk9n.js} +2 -2
- package/dist/browser/{react-CV1gH7Zp.js → react-DATIS1Wg.js} +2 -2
- package/dist/browser/{react-dom-BEwgcqEB.js → react-dom-CZoP3ON8.js} +3 -3
- package/dist/browser/{rolldown-runtime-BiAnyumg.js → rolldown-runtime-C54u_qRI.js} +1 -1
- package/dist/browser/scene-CR4jNFce.js +108 -0
- package/dist/browser/{scheduler-CcNpP8xn.js → scheduler-B2SwSUg3.js} +2 -2
- package/dist/browser/{select-B13QBWfy.js → select-BXuAa5Mm.js} +11 -11
- package/dist/browser/{settings-DJUw3GyU.js → settings-DWSfrYuK.js} +2 -2
- package/dist/browser/{settings-item-VzMuDMX6.js → settings-item-Bg1kzAE-.js} +7 -7
- package/dist/browser/store-DKFByqxw.js +58 -0
- package/dist/browser/{string-editor-B6mio7nq.js → string-editor-CHJTsfW0.js} +5 -5
- package/dist/browser/{text-field-7dZmg829.js → text-field-Daedvncr.js} +6 -6
- package/dist/browser/{theme-BotlxmwW.js → theme-hSwmbdBg.js} +9 -9
- package/dist/browser/{ui-Dn5rbA7O.js → ui-BIFt_vYU.js} +9 -9
- package/dist/browser/{useRenderTarget-Rz0x5k4l.js → useRenderTarget-Cf0eV2dg.js} +5 -5
- package/dist/browser/{viewport-DOIlU3cR.js → viewport-Dvo8x5tc.js} +4 -3
- package/dist/browser/wayfinding-UIwKgl3o.js +2322 -0
- package/dist/esm/components/GalleryContainer.js +1 -1
- package/dist/esm/components/Kiosk/integrateKiosk.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/MapCamera.js +1 -1
- package/dist/esm/components/Map/booth-by-xy.d.ts +8 -10
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothShape.d.ts +0 -1
- package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/layer-images.d.ts +7 -2
- package/dist/esm/components/Map/drawing/config/layer-images.js +1 -1
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
- package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/data/fpGeo.d.ts +6 -1
- package/dist/esm/data/fpGeo.js +1 -1
- package/dist/esm/data/index.d.ts +9 -4
- package/dist/esm/data/index.js +1 -1
- package/dist/esm/data/svg.d.ts +15 -13
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/floorplan.loader.d.ts +6 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +8 -2
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/load.js +11 -11
- package/dist/esm/plan-lifecycle.d.ts +65 -0
- package/dist/esm/plan-lifecycle.js +1 -0
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/services/url-dispatch.js +1 -1
- package/dist/esm/services/url-sync.d.ts +5 -1
- package/dist/esm/services/url-sync.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/OverlayStore.d.ts +15 -2
- package/dist/esm/store/OverlayStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/create-live-plan.d.ts +13 -0
- package/dist/esm/store/create-live-plan.js +1 -0
- package/dist/esm/store/index.d.ts +2 -13
- package/dist/esm/store/index.js +1 -1
- package/dist/esm/store/init/init-booths.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/init/init-speakers.js +1 -1
- package/dist/esm/store/init/init-ui.d.ts +4 -6
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/store/live-store.d.ts +19 -0
- package/dist/esm/store/live-store.js +1 -0
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/tools/event-scoped-cache.d.ts +13 -0
- package/dist/esm/tools/event-scoped-cache.js +1 -0
- package/dist/esm/tools/gtag.d.ts +15 -1
- package/dist/esm/tools/gtag.js +1 -1
- package/dist/esm/tools/reset.js +1 -1
- package/dist/esm/tools/settings.d.ts +7 -2
- package/dist/esm/tools/settings.js +1 -1
- package/dist/esm/tools/slug.js +1 -1
- package/dist/esm/tools/style-registry.d.ts +28 -0
- package/dist/esm/tools/style-registry.js +1 -0
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/types.d.ts +7 -1
- package/dist/esm/utils/entity-storage.js +1 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/plan-reactions.d.ts +20 -0
- package/dist/esm/utils/plan-reactions.js +1 -0
- package/dist/esm/utils/preview-exhibitor.d.ts +9 -2
- package/dist/esm/utils/preview-exhibitor.js +1 -1
- package/dist/esm/utils/swappable-proxy.d.ts +28 -0
- package/dist/esm/utils/swappable-proxy.js +1 -0
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/package.json +32 -10
- package/dist/browser/SetKioskMode-CCZNdKum.js +0 -48
- package/dist/browser/integrateKiosk-DjIKsfAy.js +0 -34
|
@@ -1,133 +1,64 @@
|
|
|
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.43.1" };
|
|
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] = "6cf41711-b2d3-44bc-99e3-acc95df38e51", e._sentryDebugIdIdentifier = "sentry-dbid-6cf41711-b2d3-44bc-99e3-acc95df38e51");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import {
|
|
11
|
-
import { t as c } from "./react-
|
|
12
|
-
import {
|
|
13
|
-
import { $ as f, A as p, B as m, C as h, D as g, E as ee, F as _, G as v, H as y, I as b, J as x, K as S, L as
|
|
14
|
-
import { t as Xe } from "./is-webview-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-C54u_qRI.js";
|
|
10
|
+
import { Tt as t, f as n, g as r, i, l as a, m as o, p as s } from "./i18n-D6Lq_Buf.js";
|
|
11
|
+
import { t as c } from "./react-DATIS1Wg.js";
|
|
12
|
+
import { o as l, r as u, t as d } from "./is-debug-COmQqgiL.js";
|
|
13
|
+
import { $ as f, A as p, B as m, C as h, D as g, E as ee, F as _, G as v, H as y, I as b, J as x, K as S, L as C, M as w, N as te, O as ne, P as re, Q as ie, R as ae, S as oe, T as se, U as T, V as ce, W as le, X as ue, Y as de, Z as fe, _ as E, _t as pe, a as me, at as he, b as ge, bt as D, c as _e, ct as ve, d as ye, dt as O, et as be, f as xe, ft as Se, g as Ce, gt as we, h as Te, ht as k, it as Ee, j as A, k as De, l as Oe, lt as ke, m as Ae, mt as je, n as Me, nt as Ne, o as Pe, ot as Fe, p as Ie, pt as Le, q as j, r as Re, rt as ze, s as Be, st as M, t as Ve, tt as He, u as Ue, ut as We, v as Ge, vt as Ke, w as N, x as qe, xt as P, y as Je, yt as Ye, z as F } from "./exports-DkrDN44T.js";
|
|
14
|
+
import { t as Xe } from "./is-webview-BBchBwKM.js";
|
|
15
|
+
import { t as Ze } from "./loadImage-gvajvqmr.js";
|
|
15
16
|
//#region ../config/src/lib/apply-intents.ts
|
|
16
|
-
function
|
|
17
|
+
function Qe(e, t) {
|
|
17
18
|
let n = JSON.parse(JSON.stringify(t.args));
|
|
18
19
|
e[t.name](...n);
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function $e(e, t) {
|
|
21
22
|
for (let n of t) try {
|
|
22
|
-
|
|
23
|
+
Qe(e, n);
|
|
23
24
|
} catch (e) {
|
|
24
25
|
console.error(`Intent ${n.name} failed:`, e);
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
//#endregion
|
|
28
|
-
//#region src/tools/report-error.ts
|
|
29
|
-
var $e;
|
|
30
|
-
function et(e) {
|
|
31
|
-
$e || e.filename.indexOf("expofp.com") === -1 || [
|
|
32
|
-
/loading chunk \d{1,2}\b/i,
|
|
33
|
-
/zaloJS/i,
|
|
34
|
-
/e.target.name/i,
|
|
35
|
-
/ResizeObserver loop/i,
|
|
36
|
-
/ChunkLoadError/i,
|
|
37
|
-
/FloorPlan not ready/i
|
|
38
|
-
].some((t) => t.test(e.message)) || ($e = window.setTimeout(async function() {
|
|
39
|
-
var t;
|
|
40
|
-
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
41
|
-
host: document.location.host,
|
|
42
|
-
message: e.message,
|
|
43
|
-
filename: e.filename,
|
|
44
|
-
lineno: e.lineno,
|
|
45
|
-
colno: e.colno,
|
|
46
|
-
stack: (t = e.error) == null ? void 0 : t.stack,
|
|
47
|
-
log: u.messages.join("\n"),
|
|
48
|
-
userAgent: navigator.userAgent,
|
|
49
|
-
language: n,
|
|
50
|
-
group: "FP",
|
|
51
|
-
url: document.location,
|
|
52
|
-
subject: "FP JS error: " + document.location.host
|
|
53
|
-
};
|
|
54
|
-
u.info("Sending error report", r), await Promise.all([tt(r), nt(r)]);
|
|
55
|
-
}, 2e3));
|
|
56
|
-
}
|
|
57
|
-
async function tt(e) {
|
|
58
|
-
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
59
|
-
method: "POST",
|
|
60
|
-
headers: { "Content-Type": "application/json" },
|
|
61
|
-
body: JSON.stringify(e)
|
|
62
|
-
});
|
|
63
|
-
u.log("Reporter response: ", await t.text());
|
|
64
|
-
}
|
|
65
|
-
async function nt(e) {
|
|
66
|
-
let t = rt(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
67
|
-
method: "POST",
|
|
68
|
-
headers: { "Content-Type": "application/json" },
|
|
69
|
-
body: JSON.stringify(t)
|
|
70
|
-
});
|
|
71
|
-
u.log("Slack reporter response: ", await n.text());
|
|
72
|
-
}
|
|
73
|
-
function rt(e) {
|
|
74
|
-
let t = JSON.parse(JSON.stringify(e));
|
|
75
|
-
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
76
|
-
let n = [];
|
|
77
|
-
return n.push({
|
|
78
|
-
type: "section",
|
|
79
|
-
text: {
|
|
80
|
-
type: "mrkdwn",
|
|
81
|
-
text: `:warning:* ${e.subject}*`
|
|
82
|
-
}
|
|
83
|
-
}), n.push({
|
|
84
|
-
type: "section",
|
|
85
|
-
text: {
|
|
86
|
-
type: "plain_text",
|
|
87
|
-
text: e.message + " → " + (e.stack || "").split("\n")[0]
|
|
88
|
-
}
|
|
89
|
-
}), {
|
|
90
|
-
channel: "#fp-errors",
|
|
91
|
-
username: "error-reporter-bot",
|
|
92
|
-
type: "mrkdwn",
|
|
93
|
-
text: e.subject,
|
|
94
|
-
blocks: n
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
//#endregion
|
|
98
29
|
//#region src/utils/event-title.ts
|
|
99
|
-
function
|
|
30
|
+
function et(e, t) {
|
|
100
31
|
let n = [e.title, e.subtitle].filter(Boolean);
|
|
101
32
|
if (n.length) return [...n, `Expo Floor Plan by ${t}`].join(" – ");
|
|
102
33
|
}
|
|
103
|
-
function
|
|
34
|
+
function tt(e, t) {
|
|
104
35
|
let [n] = e.split(".");
|
|
105
36
|
return `${n || e} – Expo Floor Plan by ${t}`;
|
|
106
37
|
}
|
|
107
38
|
//#endregion
|
|
108
39
|
//#region src/internal-settings.ts
|
|
109
|
-
var
|
|
110
|
-
function
|
|
40
|
+
var nt = /* @__PURE__ */ e(c());
|
|
41
|
+
function rt(e) {
|
|
111
42
|
var t;
|
|
112
43
|
let n = (t = e.mobileLocationProvider) == null ? void 0 : t.trim();
|
|
113
44
|
return Object.freeze({ mobileLocationProvider: n || null });
|
|
114
45
|
}
|
|
115
46
|
//#endregion
|
|
116
47
|
//#region src/tools/reset.ts
|
|
117
|
-
function
|
|
118
|
-
I("floorplan"), I("__searchi"), I("__mobxGlobals"), I("__store"), I("__mobxInstanceCount");
|
|
48
|
+
function it() {
|
|
49
|
+
I("floorplan"), I("__searchi"), I("__mobxGlobals"), I("__store"), I("__mobxInstanceCount"), I("__resett"), I("__expofpReady");
|
|
119
50
|
for (let e in window) e !== "__efpStyleElements" && (e.includes("__fp") || e.includes("__efp")) && I(e);
|
|
120
51
|
}
|
|
121
52
|
function I(e) {
|
|
122
|
-
|
|
53
|
+
at(e) ? delete window[e] : window[e] = void 0;
|
|
123
54
|
}
|
|
124
|
-
function
|
|
55
|
+
function at(e) {
|
|
125
56
|
let t = Object.getOwnPropertyDescriptor(window, e);
|
|
126
57
|
return t && t.configurable;
|
|
127
58
|
}
|
|
128
59
|
//#endregion
|
|
129
60
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
130
|
-
var L = {},
|
|
61
|
+
var L = {}, ot = {};
|
|
131
62
|
function R(e, t) {
|
|
132
63
|
return L[e] = L[e] || [], L[e].push(t), () => {
|
|
133
64
|
let n = L[e];
|
|
@@ -138,8 +69,8 @@ function R(e, t) {
|
|
|
138
69
|
};
|
|
139
70
|
}
|
|
140
71
|
function z(e, t) {
|
|
141
|
-
if (!
|
|
142
|
-
|
|
72
|
+
if (!ot[e]) {
|
|
73
|
+
ot[e] = !0;
|
|
143
74
|
try {
|
|
144
75
|
t();
|
|
145
76
|
} catch (t) {
|
|
@@ -160,76 +91,76 @@ Error:`, t);
|
|
|
160
91
|
}
|
|
161
92
|
//#endregion
|
|
162
93
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
163
|
-
var
|
|
164
|
-
function
|
|
94
|
+
var st = null;
|
|
95
|
+
function ct(e) {
|
|
165
96
|
let t = "error";
|
|
166
|
-
R(t, e), z(t,
|
|
97
|
+
R(t, e), z(t, lt);
|
|
167
98
|
}
|
|
168
|
-
function
|
|
169
|
-
|
|
99
|
+
function lt() {
|
|
100
|
+
st = D.onerror, D.onerror = function(e, t, n, r, i) {
|
|
170
101
|
return B("error", {
|
|
171
102
|
column: r,
|
|
172
103
|
error: i,
|
|
173
104
|
line: n,
|
|
174
105
|
msg: e,
|
|
175
106
|
url: t
|
|
176
|
-
}),
|
|
107
|
+
}), st ? st.apply(this, arguments) : !1;
|
|
177
108
|
}, D.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
178
109
|
}
|
|
179
110
|
//#endregion
|
|
180
111
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
181
|
-
var
|
|
182
|
-
function
|
|
112
|
+
var ut = null;
|
|
113
|
+
function dt(e) {
|
|
183
114
|
let t = "unhandledrejection";
|
|
184
|
-
R(t, e), z(t,
|
|
115
|
+
R(t, e), z(t, ft);
|
|
185
116
|
}
|
|
186
|
-
function
|
|
187
|
-
|
|
188
|
-
return B("unhandledrejection", e), !
|
|
117
|
+
function ft() {
|
|
118
|
+
ut = D.onunhandledrejection, D.onunhandledrejection = function(e) {
|
|
119
|
+
return B("unhandledrejection", e), !ut || ut.apply(this, arguments);
|
|
189
120
|
}, D.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
190
121
|
}
|
|
191
122
|
//#endregion
|
|
192
123
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
193
|
-
function
|
|
124
|
+
function pt(e) {
|
|
194
125
|
if (typeof e == "boolean") return Number(e);
|
|
195
126
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
196
127
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
197
128
|
}
|
|
198
129
|
//#endregion
|
|
199
130
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
200
|
-
function
|
|
131
|
+
function mt(e) {
|
|
201
132
|
k.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
202
133
|
}
|
|
203
|
-
function
|
|
134
|
+
function ht(e, t) {
|
|
204
135
|
if (!(t != null && t.length)) return !1;
|
|
205
136
|
for (let n of t) {
|
|
206
|
-
if (
|
|
207
|
-
if (e.description &&
|
|
137
|
+
if (vt(n)) {
|
|
138
|
+
if (e.description && C(e.description, n)) return P && mt(e), !0;
|
|
208
139
|
continue;
|
|
209
140
|
}
|
|
210
141
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
211
142
|
if (!n.name && !n.op && !t) continue;
|
|
212
|
-
let r = !n.name || e.description &&
|
|
143
|
+
let r = !n.name || e.description && C(e.description, n.name), i = !n.op || e.op && C(e.op, n.op), a = !n.attributes || Object.entries(n.attributes).every(([t, n]) => {
|
|
213
144
|
var r;
|
|
214
|
-
return
|
|
145
|
+
return gt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
215
146
|
});
|
|
216
|
-
if (r && i && a) return P &&
|
|
147
|
+
if (r && i && a) return P && mt(e), !0;
|
|
217
148
|
}
|
|
218
149
|
return !1;
|
|
219
150
|
}
|
|
220
|
-
function
|
|
221
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
151
|
+
function gt(e, t) {
|
|
152
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? C(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
222
153
|
}
|
|
223
|
-
function
|
|
154
|
+
function _t(e, t) {
|
|
224
155
|
let n = t.parent_span_id, r = t.span_id;
|
|
225
156
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
226
157
|
}
|
|
227
|
-
function
|
|
158
|
+
function vt(e) {
|
|
228
159
|
return typeof e == "string" || e instanceof RegExp;
|
|
229
160
|
}
|
|
230
161
|
//#endregion
|
|
231
162
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
232
|
-
function
|
|
163
|
+
function yt(e) {
|
|
233
164
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
234
165
|
}
|
|
235
166
|
//#endregion
|
|
@@ -237,11 +168,11 @@ function Ct(e) {
|
|
|
237
168
|
function V(e, t = []) {
|
|
238
169
|
return [e, t];
|
|
239
170
|
}
|
|
240
|
-
function
|
|
171
|
+
function bt(e, t) {
|
|
241
172
|
let [n, r] = e;
|
|
242
173
|
return [n, [...r, t]];
|
|
243
174
|
}
|
|
244
|
-
function
|
|
175
|
+
function xt(e, t) {
|
|
245
176
|
let n = e[1];
|
|
246
177
|
for (let e of n) {
|
|
247
178
|
let n = e[0].type;
|
|
@@ -249,17 +180,17 @@ function Tt(e, t) {
|
|
|
249
180
|
}
|
|
250
181
|
return !1;
|
|
251
182
|
}
|
|
252
|
-
function
|
|
253
|
-
return
|
|
183
|
+
function St(e, t) {
|
|
184
|
+
return xt(e, (e, n) => t.includes(n));
|
|
254
185
|
}
|
|
255
|
-
function
|
|
186
|
+
function Ct(e) {
|
|
256
187
|
let t = Ke(D);
|
|
257
188
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
258
189
|
}
|
|
259
|
-
function
|
|
190
|
+
function wt(e) {
|
|
260
191
|
let [t, n] = e, r = JSON.stringify(t);
|
|
261
192
|
function i(e) {
|
|
262
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
193
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [Ct(r), e] : r.push(typeof e == "string" ? Ct(e) : e);
|
|
263
194
|
}
|
|
264
195
|
for (let e of n) {
|
|
265
196
|
let [t, n] = e;
|
|
@@ -276,15 +207,15 @@ ${JSON.stringify(t)}
|
|
|
276
207
|
i(e);
|
|
277
208
|
}
|
|
278
209
|
}
|
|
279
|
-
return typeof r == "string" ? r :
|
|
210
|
+
return typeof r == "string" ? r : Tt(r);
|
|
280
211
|
}
|
|
281
|
-
function
|
|
212
|
+
function Tt(e) {
|
|
282
213
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
283
214
|
for (let t of e) n.set(t, r), r += t.length;
|
|
284
215
|
return n;
|
|
285
216
|
}
|
|
286
|
-
function
|
|
287
|
-
let t = typeof e.data == "string" ?
|
|
217
|
+
function Et(e) {
|
|
218
|
+
let t = typeof e.data == "string" ? Ct(e.data) : e.data;
|
|
288
219
|
return [{
|
|
289
220
|
type: "attachment",
|
|
290
221
|
length: t.length,
|
|
@@ -293,7 +224,7 @@ function At(e) {
|
|
|
293
224
|
attachment_type: e.attachmentType
|
|
294
225
|
}, t];
|
|
295
226
|
}
|
|
296
|
-
var
|
|
227
|
+
var Dt = {
|
|
297
228
|
sessions: "session",
|
|
298
229
|
event: "error",
|
|
299
230
|
client_report: "internal",
|
|
@@ -306,13 +237,13 @@ var jt = {
|
|
|
306
237
|
log: "log_item",
|
|
307
238
|
trace_metric: "metric"
|
|
308
239
|
};
|
|
309
|
-
function
|
|
310
|
-
return e in
|
|
240
|
+
function Ot(e) {
|
|
241
|
+
return e in Dt;
|
|
311
242
|
}
|
|
312
|
-
function
|
|
313
|
-
return
|
|
243
|
+
function kt(e) {
|
|
244
|
+
return Ot(e) ? Dt[e] : e;
|
|
314
245
|
}
|
|
315
|
-
function
|
|
246
|
+
function At(e) {
|
|
316
247
|
if (!(e != null && e.sdk)) return;
|
|
317
248
|
let { name: t, version: n } = e.sdk;
|
|
318
249
|
return {
|
|
@@ -320,7 +251,7 @@ function Pt(e) {
|
|
|
320
251
|
version: n
|
|
321
252
|
};
|
|
322
253
|
}
|
|
323
|
-
function
|
|
254
|
+
function jt(e, t, n, r) {
|
|
324
255
|
var i;
|
|
325
256
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
326
257
|
return {
|
|
@@ -333,7 +264,7 @@ function Ft(e, t, n, r) {
|
|
|
333
264
|
}
|
|
334
265
|
//#endregion
|
|
335
266
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
336
|
-
function
|
|
267
|
+
function Mt(e, t) {
|
|
337
268
|
var n, r, i, a;
|
|
338
269
|
if (!t) return e;
|
|
339
270
|
let o = e.sdk || {};
|
|
@@ -349,31 +280,31 @@ function It(e, t) {
|
|
|
349
280
|
} : void 0
|
|
350
281
|
}, e;
|
|
351
282
|
}
|
|
352
|
-
function
|
|
353
|
-
let i =
|
|
283
|
+
function Nt(e, t, n, r) {
|
|
284
|
+
let i = At(n);
|
|
354
285
|
return V({
|
|
355
286
|
sent_at: new Date(T()).toISOString(),
|
|
356
287
|
...i && { sdk: i },
|
|
357
288
|
...!!r && t && { dsn: E(t) }
|
|
358
289
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
359
290
|
}
|
|
360
|
-
function
|
|
361
|
-
let i =
|
|
362
|
-
|
|
363
|
-
let o =
|
|
291
|
+
function Pt(e, t, n, r) {
|
|
292
|
+
let i = At(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
293
|
+
Mt(e, n == null ? void 0 : n.sdk);
|
|
294
|
+
let o = jt(e, i, r, t);
|
|
364
295
|
return delete e.sdkProcessingMetadata, V(o, [[{ type: a }, e]]);
|
|
365
296
|
}
|
|
366
297
|
//#endregion
|
|
367
298
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
368
|
-
function
|
|
299
|
+
function Ft(e) {
|
|
369
300
|
return e.getOptions().traceLifecycle === "stream";
|
|
370
301
|
}
|
|
371
302
|
//#endregion
|
|
372
303
|
//#region ../../node_modules/.pnpm/@sentry+conventions@0.16.0/node_modules/@sentry/conventions/dist/attributes.mjs
|
|
373
|
-
var
|
|
304
|
+
var It = "url.full";
|
|
374
305
|
//#endregion
|
|
375
306
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
376
|
-
function
|
|
307
|
+
function Lt(e, t) {
|
|
377
308
|
var n;
|
|
378
309
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
379
310
|
Object.entries(t).forEach(([e, t]) => {
|
|
@@ -382,27 +313,27 @@ function Vt(e, t) {
|
|
|
382
313
|
}
|
|
383
314
|
//#endregion
|
|
384
315
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
385
|
-
function
|
|
316
|
+
function Rt(e) {
|
|
386
317
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
387
318
|
}
|
|
388
|
-
function
|
|
319
|
+
function zt(e) {
|
|
389
320
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
390
321
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
391
322
|
}
|
|
392
|
-
function
|
|
393
|
-
return `${
|
|
323
|
+
function Bt(e) {
|
|
324
|
+
return `${zt(e)}${e.projectId}/envelope/`;
|
|
394
325
|
}
|
|
395
|
-
function
|
|
326
|
+
function Vt(e, t) {
|
|
396
327
|
let n = { sentry_version: "7" };
|
|
397
328
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
398
329
|
}
|
|
399
|
-
function
|
|
400
|
-
return t || `${
|
|
330
|
+
function Ht(e, t, n) {
|
|
331
|
+
return t || `${Bt(e)}?${Vt(e, n)}`;
|
|
401
332
|
}
|
|
402
|
-
function
|
|
333
|
+
function Ut(e, t) {
|
|
403
334
|
let n = Ge(e);
|
|
404
335
|
if (!n) return "";
|
|
405
|
-
let r = `${
|
|
336
|
+
let r = `${zt(n)}embed/error-page/`, i = `dsn=${E(n)}`;
|
|
406
337
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
407
338
|
let e = t.user;
|
|
408
339
|
if (!e) continue;
|
|
@@ -412,15 +343,15 @@ function qt(e, t) {
|
|
|
412
343
|
}
|
|
413
344
|
//#endregion
|
|
414
345
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integration.js
|
|
415
|
-
var
|
|
416
|
-
function
|
|
346
|
+
var Wt = [];
|
|
347
|
+
function Gt(e) {
|
|
417
348
|
let t = {};
|
|
418
349
|
return e.forEach((e) => {
|
|
419
350
|
let { name: n } = e, r = t[n];
|
|
420
351
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
421
352
|
}), Object.values(t);
|
|
422
353
|
}
|
|
423
|
-
function
|
|
354
|
+
function Kt(e) {
|
|
424
355
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
425
356
|
t.forEach((e) => {
|
|
426
357
|
e.isDefaultInstance = !0;
|
|
@@ -431,25 +362,25 @@ function Xt(e) {
|
|
|
431
362
|
let e = n(t);
|
|
432
363
|
r = Array.isArray(e) ? e : [e];
|
|
433
364
|
} else r = t;
|
|
434
|
-
return
|
|
365
|
+
return Gt(r);
|
|
435
366
|
}
|
|
436
|
-
function
|
|
367
|
+
function qt(e, t) {
|
|
437
368
|
let n = {};
|
|
438
369
|
return t.forEach((t) => {
|
|
439
370
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
440
371
|
}), t.forEach((t) => {
|
|
441
|
-
t &&
|
|
372
|
+
t && Yt(e, t, n);
|
|
442
373
|
}), n;
|
|
443
374
|
}
|
|
444
|
-
function
|
|
375
|
+
function Jt(e, t) {
|
|
445
376
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
446
377
|
}
|
|
447
|
-
function
|
|
378
|
+
function Yt(e, t, n) {
|
|
448
379
|
if (n[t.name]) {
|
|
449
380
|
P && k.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
450
381
|
return;
|
|
451
382
|
}
|
|
452
|
-
if (n[t.name] = t, !
|
|
383
|
+
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") {
|
|
453
384
|
let n = t.preprocessEvent.bind(t);
|
|
454
385
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
455
386
|
}
|
|
@@ -467,29 +398,29 @@ function H(e) {
|
|
|
467
398
|
}
|
|
468
399
|
//#endregion
|
|
469
400
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
470
|
-
function
|
|
401
|
+
function Xt() {
|
|
471
402
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
472
403
|
}
|
|
473
|
-
function
|
|
404
|
+
function Zt() {
|
|
474
405
|
return "npm";
|
|
475
406
|
}
|
|
476
407
|
//#endregion
|
|
477
408
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
478
|
-
function
|
|
479
|
-
return !
|
|
409
|
+
function Qt() {
|
|
410
|
+
return !Xt() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
480
411
|
}
|
|
481
412
|
//#endregion
|
|
482
413
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
483
|
-
function
|
|
484
|
-
return typeof window < "u" && (!
|
|
414
|
+
function $t() {
|
|
415
|
+
return typeof window < "u" && (!Qt() || en());
|
|
485
416
|
}
|
|
486
|
-
function
|
|
417
|
+
function en() {
|
|
487
418
|
let e = D.process;
|
|
488
419
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
489
420
|
}
|
|
490
421
|
//#endregion
|
|
491
422
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
492
|
-
function
|
|
423
|
+
function tn(e, t) {
|
|
493
424
|
let n = t ? "auto" : "never";
|
|
494
425
|
return [{
|
|
495
426
|
type: "log",
|
|
@@ -497,38 +428,38 @@ function on(e, t) {
|
|
|
497
428
|
content_type: "application/vnd.sentry.items.log+json"
|
|
498
429
|
}, {
|
|
499
430
|
version: 2,
|
|
500
|
-
|
|
431
|
+
...$t() && { ingest_settings: {
|
|
501
432
|
infer_ip: n,
|
|
502
433
|
infer_user_agent: n
|
|
503
434
|
} },
|
|
504
435
|
items: e
|
|
505
436
|
}];
|
|
506
437
|
}
|
|
507
|
-
function
|
|
438
|
+
function nn(e, t, n, r, i) {
|
|
508
439
|
let a = {};
|
|
509
440
|
return t != null && t.sdk && (a.sdk = {
|
|
510
441
|
name: t.sdk.name,
|
|
511
442
|
version: t.sdk.version
|
|
512
|
-
}), n && r && (a.dsn = E(r)), V(a, [
|
|
443
|
+
}), n && r && (a.dsn = E(r)), V(a, [tn(e, i)]);
|
|
513
444
|
}
|
|
514
445
|
//#endregion
|
|
515
446
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
516
|
-
function
|
|
447
|
+
function rn(e, t) {
|
|
517
448
|
var n;
|
|
518
|
-
let r = (n = t == null ?
|
|
449
|
+
let r = (n = t == null ? an(e) : t) == null ? [] : n;
|
|
519
450
|
if (r.length === 0) return;
|
|
520
|
-
let i = e.getOptions(), a =
|
|
521
|
-
|
|
451
|
+
let i = e.getOptions(), a = nn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
452
|
+
on().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
522
453
|
}
|
|
523
|
-
function
|
|
524
|
-
return
|
|
454
|
+
function an(e) {
|
|
455
|
+
return on().get(e);
|
|
525
456
|
}
|
|
526
|
-
function
|
|
457
|
+
function on() {
|
|
527
458
|
return pe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
528
459
|
}
|
|
529
460
|
//#endregion
|
|
530
461
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
531
|
-
function
|
|
462
|
+
function sn(e, t) {
|
|
532
463
|
let n = t ? "auto" : "never";
|
|
533
464
|
return [{
|
|
534
465
|
type: "trace_metric",
|
|
@@ -536,38 +467,38 @@ function dn(e, t) {
|
|
|
536
467
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
537
468
|
}, {
|
|
538
469
|
version: 2,
|
|
539
|
-
|
|
470
|
+
...$t() && { ingest_settings: {
|
|
540
471
|
infer_ip: n,
|
|
541
472
|
infer_user_agent: n
|
|
542
473
|
} },
|
|
543
474
|
items: e
|
|
544
475
|
}];
|
|
545
476
|
}
|
|
546
|
-
function
|
|
477
|
+
function cn(e, t, n, r, i) {
|
|
547
478
|
let a = {};
|
|
548
479
|
return t != null && t.sdk && (a.sdk = {
|
|
549
480
|
name: t.sdk.name,
|
|
550
481
|
version: t.sdk.version
|
|
551
|
-
}), n && r && (a.dsn = E(r)), V(a, [
|
|
482
|
+
}), n && r && (a.dsn = E(r)), V(a, [sn(e, i)]);
|
|
552
483
|
}
|
|
553
484
|
//#endregion
|
|
554
485
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
555
|
-
function
|
|
486
|
+
function ln(e, t) {
|
|
556
487
|
var n;
|
|
557
|
-
let r = (n = t == null ?
|
|
488
|
+
let r = (n = t == null ? un(e) : t) == null ? [] : n;
|
|
558
489
|
if (r.length === 0) return;
|
|
559
|
-
let i = e.getOptions(), a =
|
|
560
|
-
|
|
490
|
+
let i = e.getOptions(), a = cn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
491
|
+
dn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
561
492
|
}
|
|
562
|
-
function
|
|
563
|
-
return
|
|
493
|
+
function un(e) {
|
|
494
|
+
return dn().get(e);
|
|
564
495
|
}
|
|
565
|
-
function
|
|
496
|
+
function dn() {
|
|
566
497
|
return pe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
567
498
|
}
|
|
568
499
|
//#endregion
|
|
569
500
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
570
|
-
function
|
|
501
|
+
function fn(e) {
|
|
571
502
|
return Ce({
|
|
572
503
|
trace_id: e.trace_id,
|
|
573
504
|
span_id: e.span_id,
|
|
@@ -583,13 +514,13 @@ function gn(e) {
|
|
|
583
514
|
}
|
|
584
515
|
//#endregion
|
|
585
516
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
586
|
-
function
|
|
517
|
+
function pn(e, t) {
|
|
587
518
|
var n, r;
|
|
588
|
-
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 ||
|
|
519
|
+
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || t.getOptions().streamGenAiSpans === !1 || Ft(t)) return;
|
|
589
520
|
let i = [], a = [];
|
|
590
521
|
for (let t of e.spans) {
|
|
591
522
|
var o;
|
|
592
|
-
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(
|
|
523
|
+
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(fn(t)) : a.push(t);
|
|
593
524
|
}
|
|
594
525
|
if (i.length === 0) return;
|
|
595
526
|
e.spans = a;
|
|
@@ -600,7 +531,7 @@ function _n(e, t) {
|
|
|
600
531
|
content_type: "application/vnd.sentry.items.span.v2+json"
|
|
601
532
|
}, {
|
|
602
533
|
version: 2,
|
|
603
|
-
|
|
534
|
+
...$t() && { ingest_settings: {
|
|
604
535
|
infer_ip: s,
|
|
605
536
|
infer_user_agent: s
|
|
606
537
|
} },
|
|
@@ -609,8 +540,8 @@ function _n(e, t) {
|
|
|
609
540
|
}
|
|
610
541
|
//#endregion
|
|
611
542
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
612
|
-
var
|
|
613
|
-
function
|
|
543
|
+
var mn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
544
|
+
function hn(e = 100) {
|
|
614
545
|
let t = /* @__PURE__ */ new Set();
|
|
615
546
|
function n() {
|
|
616
547
|
return t.size < e;
|
|
@@ -619,7 +550,7 @@ function yn(e = 100) {
|
|
|
619
550
|
t.delete(e);
|
|
620
551
|
}
|
|
621
552
|
function i(e) {
|
|
622
|
-
if (!n()) return Ue(
|
|
553
|
+
if (!n()) return Ue(mn);
|
|
623
554
|
let i = e();
|
|
624
555
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
625
556
|
}
|
|
@@ -627,7 +558,7 @@ function yn(e = 100) {
|
|
|
627
558
|
if (!t.size) return ye(!0);
|
|
628
559
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
629
560
|
if (!e) return n;
|
|
630
|
-
let r = [n, new Promise((t) =>
|
|
561
|
+
let r = [n, new Promise((t) => Rt(setTimeout(() => t(!1), e)))];
|
|
631
562
|
return Promise.race(r);
|
|
632
563
|
}
|
|
633
564
|
return {
|
|
@@ -640,50 +571,50 @@ function yn(e = 100) {
|
|
|
640
571
|
}
|
|
641
572
|
//#endregion
|
|
642
573
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
643
|
-
var
|
|
644
|
-
function
|
|
574
|
+
var gn = 60 * 1e3;
|
|
575
|
+
function _n(e, t = T()) {
|
|
645
576
|
let n = parseInt(`${e}`, 10);
|
|
646
577
|
if (!isNaN(n)) return n * 1e3;
|
|
647
578
|
let r = Date.parse(`${e}`);
|
|
648
|
-
return isNaN(r) ?
|
|
579
|
+
return isNaN(r) ? gn : r - t;
|
|
649
580
|
}
|
|
650
|
-
function
|
|
581
|
+
function vn(e, t) {
|
|
651
582
|
return e[t] || e.all || 0;
|
|
652
583
|
}
|
|
653
|
-
function
|
|
654
|
-
return
|
|
584
|
+
function yn(e, t, n = T()) {
|
|
585
|
+
return vn(e, t) > n;
|
|
655
586
|
}
|
|
656
|
-
function
|
|
587
|
+
function bn(e, { statusCode: t, headers: n }, r = T()) {
|
|
657
588
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
658
589
|
if (a) for (let e of a.trim().split(",")) {
|
|
659
590
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
660
591
|
if (!n) i.all = r + s;
|
|
661
592
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
662
593
|
}
|
|
663
|
-
else o ? i.all = r +
|
|
594
|
+
else o ? i.all = r + _n(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
664
595
|
return i;
|
|
665
596
|
}
|
|
666
|
-
function
|
|
597
|
+
function xn(e, t, n = hn(e.bufferSize || 64)) {
|
|
667
598
|
let r = {}, i = (e) => n.drain(e);
|
|
668
599
|
function a(i) {
|
|
669
600
|
let a = [];
|
|
670
|
-
if (
|
|
671
|
-
let i =
|
|
672
|
-
|
|
601
|
+
if (xt(i, (t, n) => {
|
|
602
|
+
let i = kt(n);
|
|
603
|
+
yn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
673
604
|
}), a.length === 0) return Promise.resolve({});
|
|
674
605
|
let o = V(i[0], a), s = (t) => {
|
|
675
|
-
if (
|
|
606
|
+
if (St(o, ["client_report"])) {
|
|
676
607
|
P && k.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
677
608
|
return;
|
|
678
609
|
}
|
|
679
|
-
|
|
680
|
-
e.recordDroppedEvent(t,
|
|
610
|
+
xt(o, (n, r) => {
|
|
611
|
+
e.recordDroppedEvent(t, kt(r));
|
|
681
612
|
});
|
|
682
613
|
};
|
|
683
|
-
return n.add(() => t({ body:
|
|
614
|
+
return n.add(() => t({ body: wt(o) }).then((e) => e.statusCode === 413 ? (P && k.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (P && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && k.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = bn(r, e), e), (e) => {
|
|
684
615
|
throw s("network_error"), P && k.error("Encountered error running transport request:", e), e;
|
|
685
616
|
})).then((e) => e, (e) => {
|
|
686
|
-
if (e ===
|
|
617
|
+
if (e === mn) return P && k.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
687
618
|
throw e;
|
|
688
619
|
});
|
|
689
620
|
}
|
|
@@ -694,7 +625,7 @@ function Tn(e, t, n = yn(e.bufferSize || 64)) {
|
|
|
694
625
|
}
|
|
695
626
|
//#endregion
|
|
696
627
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
697
|
-
function
|
|
628
|
+
function Sn(e, t, n) {
|
|
698
629
|
let r = [{ type: "client_report" }, {
|
|
699
630
|
timestamp: n || p(),
|
|
700
631
|
discarded_events: e
|
|
@@ -703,7 +634,7 @@ function En(e, t, n) {
|
|
|
703
634
|
}
|
|
704
635
|
//#endregion
|
|
705
636
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
706
|
-
function
|
|
637
|
+
function Cn(e) {
|
|
707
638
|
let t = [];
|
|
708
639
|
e.message && t.push(e.message);
|
|
709
640
|
try {
|
|
@@ -714,7 +645,7 @@ function Dn(e) {
|
|
|
714
645
|
}
|
|
715
646
|
//#endregion
|
|
716
647
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
717
|
-
function
|
|
648
|
+
function wn(e) {
|
|
718
649
|
var t, n, r;
|
|
719
650
|
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;
|
|
720
651
|
return {
|
|
@@ -734,7 +665,7 @@ function On(e) {
|
|
|
734
665
|
is_segment: !0
|
|
735
666
|
};
|
|
736
667
|
}
|
|
737
|
-
function
|
|
668
|
+
function Tn(e) {
|
|
738
669
|
return {
|
|
739
670
|
type: "transaction",
|
|
740
671
|
timestamp: e.timestamp,
|
|
@@ -758,7 +689,7 @@ function kn(e) {
|
|
|
758
689
|
}
|
|
759
690
|
//#endregion
|
|
760
691
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
761
|
-
var
|
|
692
|
+
var En = [
|
|
762
693
|
"forwarded",
|
|
763
694
|
"-ip",
|
|
764
695
|
"remote-",
|
|
@@ -767,7 +698,7 @@ var An = [
|
|
|
767
698
|
];
|
|
768
699
|
//#endregion
|
|
769
700
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
770
|
-
function
|
|
701
|
+
function Dn(e) {
|
|
771
702
|
return e === !0 ? {
|
|
772
703
|
userInfo: !0,
|
|
773
704
|
cookies: !0,
|
|
@@ -795,13 +726,13 @@ function jn(e) {
|
|
|
795
726
|
frameContextLines: 7
|
|
796
727
|
} : {
|
|
797
728
|
userInfo: !1,
|
|
798
|
-
cookies: { deny:
|
|
729
|
+
cookies: { deny: En },
|
|
799
730
|
httpHeaders: {
|
|
800
|
-
request: { deny:
|
|
801
|
-
response: { deny:
|
|
731
|
+
request: { deny: En },
|
|
732
|
+
response: { deny: En }
|
|
802
733
|
},
|
|
803
734
|
httpBodies: [],
|
|
804
|
-
urlQueryParams: { deny:
|
|
735
|
+
urlQueryParams: { deny: En },
|
|
805
736
|
graphQL: {
|
|
806
737
|
document: !0,
|
|
807
738
|
variables: !0
|
|
@@ -817,7 +748,7 @@ function jn(e) {
|
|
|
817
748
|
}
|
|
818
749
|
//#endregion
|
|
819
750
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
820
|
-
var
|
|
751
|
+
var On = {
|
|
821
752
|
userInfo: !0,
|
|
822
753
|
cookies: !0,
|
|
823
754
|
httpHeaders: {
|
|
@@ -843,9 +774,9 @@ var Mn = {
|
|
|
843
774
|
stackFrameVariables: !0,
|
|
844
775
|
frameContextLines: 5
|
|
845
776
|
};
|
|
846
|
-
function
|
|
777
|
+
function kn(e) {
|
|
847
778
|
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, ee, _, v, y, b;
|
|
848
|
-
let x = e.dataCollection == null ?
|
|
779
|
+
let x = e.dataCollection == null ? Dn(e.sendDefaultPii) : On, S = (t = e.dataCollection) == null ? {} : t;
|
|
849
780
|
return {
|
|
850
781
|
userInfo: (n = S.userInfo) == null ? x.userInfo : n,
|
|
851
782
|
cookies: (r = S.cookies) == null ? x.cookies : r,
|
|
@@ -870,26 +801,26 @@ function Nn(e) {
|
|
|
870
801
|
}
|
|
871
802
|
//#endregion
|
|
872
803
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/client.js
|
|
873
|
-
var
|
|
874
|
-
function
|
|
804
|
+
var An = "Not capturing exception because it's already been captured.", jn = "Discarded session because of missing or non-string release", Mn = /* @__PURE__ */ Symbol.for("SentryInternalError"), Nn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), Pn = 5e3;
|
|
805
|
+
function Fn(e) {
|
|
875
806
|
return {
|
|
876
807
|
message: e,
|
|
877
|
-
[
|
|
808
|
+
[Mn]: !0
|
|
878
809
|
};
|
|
879
810
|
}
|
|
880
|
-
function
|
|
811
|
+
function In(e) {
|
|
881
812
|
return {
|
|
882
813
|
message: e,
|
|
883
|
-
[
|
|
814
|
+
[Nn]: !0
|
|
884
815
|
};
|
|
885
816
|
}
|
|
886
|
-
function
|
|
887
|
-
return Ne(e) &&
|
|
817
|
+
function Ln(e) {
|
|
818
|
+
return Ne(e) && Mn in e;
|
|
888
819
|
}
|
|
889
|
-
function
|
|
890
|
-
return Ne(e) &&
|
|
820
|
+
function Rn(e) {
|
|
821
|
+
return Ne(e) && Nn in e;
|
|
891
822
|
}
|
|
892
|
-
function
|
|
823
|
+
function zn(e, t, n, r, i) {
|
|
893
824
|
let a = 0, o, s = !1;
|
|
894
825
|
e.on(n, () => {
|
|
895
826
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -897,8 +828,8 @@ function Un(e, t, n, r, i) {
|
|
|
897
828
|
if (a += r(t), a >= 8e5) i(e);
|
|
898
829
|
else if (!s) {
|
|
899
830
|
var n;
|
|
900
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
901
|
-
t > 0 && (s = !0, o =
|
|
831
|
+
let t = (n = e.getOptions()._flushInterval) == null ? Pn : n;
|
|
832
|
+
t > 0 && (s = !0, o = Rt(setTimeout(() => {
|
|
902
833
|
i(e);
|
|
903
834
|
}, t)));
|
|
904
835
|
}
|
|
@@ -906,11 +837,11 @@ function Un(e, t, n, r, i) {
|
|
|
906
837
|
i(e);
|
|
907
838
|
});
|
|
908
839
|
}
|
|
909
|
-
var
|
|
840
|
+
var Bn = class {
|
|
910
841
|
constructor(e) {
|
|
911
842
|
var t, n, r, i, a, o, s;
|
|
912
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
913
|
-
let t =
|
|
843
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = hn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = kn(e), e.dsn ? this._dsn = Ge(e.dsn) : P && k.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
844
|
+
let t = Ht(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
914
845
|
this._transport = e.transport({
|
|
915
846
|
tunnel: this._options.tunnel,
|
|
916
847
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -918,11 +849,11 @@ var Wn = class {
|
|
|
918
849
|
url: t
|
|
919
850
|
});
|
|
920
851
|
}
|
|
921
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
852
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && zn(this, "afterCaptureLog", "flushLogs", qn, rn), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && zn(this, "afterCaptureMetric", "flushMetrics", Kn, ln);
|
|
922
853
|
}
|
|
923
854
|
captureException(e, t, n) {
|
|
924
855
|
let r = b();
|
|
925
|
-
if (
|
|
856
|
+
if (re(e)) return P && k.log(An), r;
|
|
926
857
|
let i = {
|
|
927
858
|
event_id: r,
|
|
928
859
|
...t
|
|
@@ -938,11 +869,11 @@ var Wn = class {
|
|
|
938
869
|
}
|
|
939
870
|
captureEvent(e, t, n) {
|
|
940
871
|
let r = b();
|
|
941
|
-
if (t != null && t.originalException &&
|
|
872
|
+
if (t != null && t.originalException && re(t.originalException)) return P && k.log(An), r;
|
|
942
873
|
let i = {
|
|
943
874
|
event_id: r,
|
|
944
875
|
...t
|
|
945
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
876
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Vn(e.type);
|
|
946
877
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
947
878
|
}
|
|
948
879
|
captureSession(e) {
|
|
@@ -990,32 +921,32 @@ var Wn = class {
|
|
|
990
921
|
}
|
|
991
922
|
addIntegration(e) {
|
|
992
923
|
let t = this._integrations[e.name];
|
|
993
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
924
|
+
!t && e.beforeSetup && e.beforeSetup(this), Yt(this, e, this._integrations), t || Jt(this, [e]);
|
|
994
925
|
}
|
|
995
926
|
sendEvent(e, t = {}) {
|
|
996
927
|
this.emit("beforeSendEvent", e, t);
|
|
997
|
-
let n =
|
|
998
|
-
for (let e of t.attachments || []) r =
|
|
999
|
-
n && (r =
|
|
928
|
+
let n = pn(e, this), r = Pt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
929
|
+
for (let e of t.attachments || []) r = bt(r, Et(e));
|
|
930
|
+
n && (r = bt(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
1000
931
|
}
|
|
1001
932
|
sendSession(e) {
|
|
1002
933
|
let { release: t, environment: n = Ie } = this._options;
|
|
1003
934
|
if ("aggregates" in e) {
|
|
1004
935
|
let r = e.attrs || {};
|
|
1005
936
|
if (!r.release && !t) {
|
|
1006
|
-
P && k.warn(
|
|
937
|
+
P && k.warn(jn);
|
|
1007
938
|
return;
|
|
1008
939
|
}
|
|
1009
940
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
1010
941
|
} else {
|
|
1011
942
|
if (!e.release && !t) {
|
|
1012
|
-
P && k.warn(
|
|
943
|
+
P && k.warn(jn);
|
|
1013
944
|
return;
|
|
1014
945
|
}
|
|
1015
946
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
1016
947
|
}
|
|
1017
948
|
this.emit("beforeSendSession", e);
|
|
1018
|
-
let r =
|
|
949
|
+
let r = Nt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
1019
950
|
this.sendEnvelope(r);
|
|
1020
951
|
}
|
|
1021
952
|
recordDroppedEvent(e, t, n = 1) {
|
|
@@ -1046,7 +977,7 @@ var Wn = class {
|
|
|
1046
977
|
dispose() {}
|
|
1047
978
|
_setupIntegrations() {
|
|
1048
979
|
let { integrations: e } = this._options;
|
|
1049
|
-
this._integrations =
|
|
980
|
+
this._integrations = qt(this, e), Jt(this, e);
|
|
1050
981
|
}
|
|
1051
982
|
_updateSessionFromEvent(e, t) {
|
|
1052
983
|
var n;
|
|
@@ -1094,26 +1025,26 @@ var Wn = class {
|
|
|
1094
1025
|
}, e);
|
|
1095
1026
|
});
|
|
1096
1027
|
}
|
|
1097
|
-
_captureEvent(e, t = {}, n = N(), r =
|
|
1098
|
-
return P &&
|
|
1099
|
-
P && (
|
|
1028
|
+
_captureEvent(e, t = {}, n = N(), r = se()) {
|
|
1029
|
+
return P && Wn(e) && k.log(`Captured error event \`${Cn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1030
|
+
P && (Rn(e) ? k.log(e.message) : Ln(e) ? k.warn(e.message) : k.warn(e));
|
|
1100
1031
|
});
|
|
1101
1032
|
}
|
|
1102
1033
|
_processEvent(e, t, n, r) {
|
|
1103
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1104
|
-
if (s && typeof l == "number" && le() > l) return this.recordDroppedEvent("sample_rate", "error"), Ue(
|
|
1105
|
-
let u =
|
|
1034
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Gn(e), s = Wn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : pt(a);
|
|
1035
|
+
if (s && typeof l == "number" && le() > l) return this.recordDroppedEvent("sample_rate", "error"), Ue(In(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1036
|
+
let u = Vn(e.type);
|
|
1106
1037
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1107
1038
|
var n;
|
|
1108
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1109
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1039
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), In("An event processor returned `null`, will not send event.");
|
|
1040
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Hn(Un(this, i, e, t), c);
|
|
1110
1041
|
}).then((i) => {
|
|
1111
1042
|
if (i === null) {
|
|
1112
1043
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1113
1044
|
let t = 1 + (e.spans || []).length;
|
|
1114
1045
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1115
1046
|
}
|
|
1116
|
-
throw
|
|
1047
|
+
throw In(`${c} returned \`null\`, will not send event.`);
|
|
1117
1048
|
}
|
|
1118
1049
|
let a = n.getSession() || r.getSession();
|
|
1119
1050
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1127,19 +1058,19 @@ var Wn = class {
|
|
|
1127
1058
|
source: "custom"
|
|
1128
1059
|
}), this.sendEvent(i, t), i;
|
|
1129
1060
|
}).then(null, (e) => {
|
|
1130
|
-
throw
|
|
1061
|
+
throw Rn(e) || Ln(e) ? e : (this.captureException(e, {
|
|
1131
1062
|
mechanism: {
|
|
1132
1063
|
handled: !1,
|
|
1133
1064
|
type: "internal"
|
|
1134
1065
|
},
|
|
1135
1066
|
data: { __sentry__: !0 },
|
|
1136
1067
|
originalException: e
|
|
1137
|
-
}),
|
|
1068
|
+
}), Fn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1138
1069
|
Reason: ${e}`));
|
|
1139
1070
|
});
|
|
1140
1071
|
}
|
|
1141
1072
|
_process(e, t) {
|
|
1142
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
1073
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === mn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
1143
1074
|
}
|
|
1144
1075
|
_clearOutcomes() {
|
|
1145
1076
|
let e = this._outcomes;
|
|
@@ -1164,48 +1095,48 @@ Reason: ${e}`));
|
|
|
1164
1095
|
return;
|
|
1165
1096
|
}
|
|
1166
1097
|
P && k.log("Sending outcomes:", e);
|
|
1167
|
-
let t =
|
|
1098
|
+
let t = Sn(e, this._options.tunnel && E(this._dsn));
|
|
1168
1099
|
this.sendEnvelope(t);
|
|
1169
1100
|
}
|
|
1170
1101
|
};
|
|
1171
|
-
function
|
|
1102
|
+
function Vn(e) {
|
|
1172
1103
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1173
1104
|
}
|
|
1174
|
-
function
|
|
1105
|
+
function Hn(e, t) {
|
|
1175
1106
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1176
1107
|
if (ve(e)) return e.then((e) => {
|
|
1177
|
-
if (!Ee(e) && e !== null) throw
|
|
1108
|
+
if (!Ee(e) && e !== null) throw Fn(n);
|
|
1178
1109
|
return e;
|
|
1179
1110
|
}, (e) => {
|
|
1180
|
-
throw
|
|
1111
|
+
throw Fn(`${t} rejected with ${e}`);
|
|
1181
1112
|
});
|
|
1182
|
-
if (!Ee(e) && e !== null) throw
|
|
1113
|
+
if (!Ee(e) && e !== null) throw Fn(n);
|
|
1183
1114
|
return e;
|
|
1184
1115
|
}
|
|
1185
|
-
function
|
|
1186
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
1187
|
-
if (
|
|
1188
|
-
if (
|
|
1116
|
+
function Un(e, t, n, r) {
|
|
1117
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !yt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1118
|
+
if (Wn(c) && i) return i(c, r);
|
|
1119
|
+
if (Gn(c)) {
|
|
1189
1120
|
if (s || o) {
|
|
1190
|
-
let t =
|
|
1191
|
-
if (o != null && o.length &&
|
|
1121
|
+
let t = wn(c);
|
|
1122
|
+
if (o != null && o.length && ht({
|
|
1192
1123
|
description: t.description,
|
|
1193
1124
|
op: t.op,
|
|
1194
1125
|
attributes: t.data
|
|
1195
1126
|
}, o)) return null;
|
|
1196
1127
|
if (s) {
|
|
1197
1128
|
let e = s(t);
|
|
1198
|
-
e ? c =
|
|
1129
|
+
e ? c = ne(n, Tn(e)) : Ae();
|
|
1199
1130
|
}
|
|
1200
1131
|
if (c.spans) {
|
|
1201
1132
|
let t = [], n = c.spans;
|
|
1202
1133
|
for (let e of n) {
|
|
1203
|
-
if (o != null && o.length &&
|
|
1134
|
+
if (o != null && o.length && ht({
|
|
1204
1135
|
description: e.description,
|
|
1205
1136
|
op: e.op,
|
|
1206
1137
|
attributes: e.data
|
|
1207
1138
|
}, o)) {
|
|
1208
|
-
|
|
1139
|
+
_t(n, e);
|
|
1209
1140
|
continue;
|
|
1210
1141
|
}
|
|
1211
1142
|
if (s) {
|
|
@@ -1230,56 +1161,56 @@ function qn(e, t, n, r) {
|
|
|
1230
1161
|
}
|
|
1231
1162
|
return c;
|
|
1232
1163
|
}
|
|
1233
|
-
function
|
|
1164
|
+
function Wn(e) {
|
|
1234
1165
|
return e.type === void 0;
|
|
1235
1166
|
}
|
|
1236
|
-
function
|
|
1167
|
+
function Gn(e) {
|
|
1237
1168
|
return e.type === "transaction";
|
|
1238
1169
|
}
|
|
1239
|
-
function
|
|
1170
|
+
function Kn(e) {
|
|
1240
1171
|
let t = 0;
|
|
1241
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1172
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Jn(e.attributes);
|
|
1242
1173
|
}
|
|
1243
|
-
function
|
|
1174
|
+
function qn(e) {
|
|
1244
1175
|
let t = 0;
|
|
1245
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1176
|
+
return e.message && (t += e.message.length * 2), t + Jn(e.attributes);
|
|
1246
1177
|
}
|
|
1247
|
-
function
|
|
1178
|
+
function Jn(e) {
|
|
1248
1179
|
if (!e) return 0;
|
|
1249
1180
|
let t = 0;
|
|
1250
1181
|
return Object.values(e).forEach((e) => {
|
|
1251
|
-
Array.isArray(e) ? t += e.length *
|
|
1182
|
+
Array.isArray(e) ? t += e.length * Yn(e[0]) : he(e) ? t += Yn(e) : t += 100;
|
|
1252
1183
|
}), t;
|
|
1253
1184
|
}
|
|
1254
|
-
function
|
|
1185
|
+
function Yn(e) {
|
|
1255
1186
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1256
1187
|
}
|
|
1257
1188
|
//#endregion
|
|
1258
1189
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1259
|
-
function
|
|
1190
|
+
function Xn(e, t) {
|
|
1260
1191
|
t.debug === !0 && (P ? k.enable() : je(() => {
|
|
1261
1192
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1262
1193
|
})), N().update(t.initialScope);
|
|
1263
1194
|
let n = new e(t);
|
|
1264
|
-
return
|
|
1195
|
+
return Zn(n), n.init(), n;
|
|
1265
1196
|
}
|
|
1266
|
-
function
|
|
1197
|
+
function Zn(e) {
|
|
1267
1198
|
N().setClient(e);
|
|
1268
1199
|
}
|
|
1269
|
-
var
|
|
1270
|
-
function
|
|
1200
|
+
var Qn = 5e3, $n = 36e5;
|
|
1201
|
+
function er(e) {
|
|
1271
1202
|
function t(...e) {
|
|
1272
1203
|
P && k.log("[Offline]:", ...e);
|
|
1273
1204
|
}
|
|
1274
1205
|
return (n) => {
|
|
1275
1206
|
let r = e(n);
|
|
1276
1207
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1277
|
-
let i = n.createStore(n), a =
|
|
1208
|
+
let i = n.createStore(n), a = Qn, o;
|
|
1278
1209
|
function s(e, t, r) {
|
|
1279
|
-
return
|
|
1210
|
+
return St(e, ["client_report"]) ? !1 : !n.shouldStore || n.shouldStore(e, t, r);
|
|
1280
1211
|
}
|
|
1281
1212
|
function c(e) {
|
|
1282
|
-
o && clearTimeout(o), o =
|
|
1213
|
+
o && clearTimeout(o), o = Rt(setTimeout(async () => {
|
|
1283
1214
|
o = void 0;
|
|
1284
1215
|
let e = await i.shift();
|
|
1285
1216
|
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(T()).toISOString(), u(e, !0).catch((e) => {
|
|
@@ -1288,20 +1219,20 @@ function ir(e) {
|
|
|
1288
1219
|
}, e));
|
|
1289
1220
|
}
|
|
1290
1221
|
function l() {
|
|
1291
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1222
|
+
o || (c(a), a = Math.min(a * 2, $n));
|
|
1292
1223
|
}
|
|
1293
1224
|
async function u(e, o = !1) {
|
|
1294
|
-
if (!o &&
|
|
1225
|
+
if (!o && St(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1295
1226
|
try {
|
|
1296
1227
|
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1297
1228
|
let t = await r.send(e), i = 100;
|
|
1298
1229
|
if (t) {
|
|
1299
1230
|
var u, d;
|
|
1300
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
1231
|
+
if ((u = t.headers) != null && u["retry-after"]) i = _n(t.headers["retry-after"]);
|
|
1301
1232
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1302
1233
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1303
1234
|
}
|
|
1304
|
-
return c(i), a =
|
|
1235
|
+
return c(i), a = Qn, t;
|
|
1305
1236
|
} catch (n) {
|
|
1306
1237
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1307
1238
|
throw n;
|
|
@@ -1309,13 +1240,13 @@ function ir(e) {
|
|
|
1309
1240
|
}
|
|
1310
1241
|
return n.flushAtStartup && l(), {
|
|
1311
1242
|
send: u,
|
|
1312
|
-
flush: (e) => (e === void 0 && (a =
|
|
1243
|
+
flush: (e) => (e === void 0 && (a = Qn, c(100)), r.flush(e))
|
|
1313
1244
|
};
|
|
1314
1245
|
};
|
|
1315
1246
|
}
|
|
1316
1247
|
//#endregion
|
|
1317
1248
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1318
|
-
function
|
|
1249
|
+
function tr(e) {
|
|
1319
1250
|
if (!e) return {};
|
|
1320
1251
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1321
1252
|
if (!t) return {};
|
|
@@ -1329,7 +1260,7 @@ function ar(e) {
|
|
|
1329
1260
|
relative: t[5] + n + r
|
|
1330
1261
|
};
|
|
1331
1262
|
}
|
|
1332
|
-
function
|
|
1263
|
+
function nr(e, t = !0) {
|
|
1333
1264
|
if (e.startsWith("data:")) {
|
|
1334
1265
|
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1335
1266
|
if (t && a !== -1) {
|
|
@@ -1342,7 +1273,7 @@ function or(e, t = !0) {
|
|
|
1342
1273
|
}
|
|
1343
1274
|
//#endregion
|
|
1344
1275
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1345
|
-
function
|
|
1276
|
+
function rr(e) {
|
|
1346
1277
|
if ("aggregates" in e) {
|
|
1347
1278
|
var t;
|
|
1348
1279
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1353,7 +1284,7 @@ function sr(e) {
|
|
|
1353
1284
|
}
|
|
1354
1285
|
//#endregion
|
|
1355
1286
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1356
|
-
function
|
|
1287
|
+
function ir(e, t, n = [t], r = "npm") {
|
|
1357
1288
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1358
1289
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1359
1290
|
name: `${r}:@sentry/${e}`,
|
|
@@ -1362,11 +1293,11 @@ function cr(e, t, n = [t], r = "npm") {
|
|
|
1362
1293
|
}
|
|
1363
1294
|
//#endregion
|
|
1364
1295
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1365
|
-
var
|
|
1296
|
+
var ar = 100;
|
|
1366
1297
|
function U(e, t) {
|
|
1367
|
-
let n = h(), r =
|
|
1298
|
+
let n = h(), r = se();
|
|
1368
1299
|
if (!n) return;
|
|
1369
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1300
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = ar } = n.getOptions();
|
|
1370
1301
|
if (a <= 0) return;
|
|
1371
1302
|
let o = {
|
|
1372
1303
|
timestamp: p(),
|
|
@@ -1376,8 +1307,8 @@ function U(e, t) {
|
|
|
1376
1307
|
}
|
|
1377
1308
|
//#endregion
|
|
1378
1309
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1379
|
-
var
|
|
1380
|
-
name:
|
|
1310
|
+
var or = "FunctionToString", sr = /* @__PURE__ */ new WeakMap(), cr = H((() => ({
|
|
1311
|
+
name: or,
|
|
1381
1312
|
setupOnce() {
|
|
1382
1313
|
let e = Function.prototype.toString;
|
|
1383
1314
|
try {
|
|
@@ -1385,16 +1316,16 @@ var ur = "FunctionToString", dr = /* @__PURE__ */ new WeakMap(), fr = H((() => (
|
|
|
1385
1316
|
var n;
|
|
1386
1317
|
let r = x(this), i;
|
|
1387
1318
|
try {
|
|
1388
|
-
|
|
1319
|
+
sr.has(h()) && r !== void 0 && (i = r);
|
|
1389
1320
|
} catch {}
|
|
1390
1321
|
return e.apply((n = i) == null ? this : n, t);
|
|
1391
1322
|
};
|
|
1392
1323
|
} catch {}
|
|
1393
1324
|
},
|
|
1394
1325
|
setup(e) {
|
|
1395
|
-
|
|
1326
|
+
sr.set(e, !0);
|
|
1396
1327
|
}
|
|
1397
|
-
}))),
|
|
1328
|
+
}))), lr = [
|
|
1398
1329
|
/^Script error\.?$/,
|
|
1399
1330
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1400
1331
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1406,127 +1337,127 @@ var ur = "FunctionToString", dr = /* @__PURE__ */ new WeakMap(), fr = H((() => (
|
|
|
1406
1337
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1407
1338
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1408
1339
|
/^Java exception was raised during method invocation$/
|
|
1409
|
-
],
|
|
1340
|
+
], ur = "EventFilters", dr = H((e = {}) => {
|
|
1410
1341
|
let t;
|
|
1411
1342
|
return {
|
|
1412
|
-
name:
|
|
1343
|
+
name: ur,
|
|
1413
1344
|
setup(n) {
|
|
1414
|
-
t =
|
|
1345
|
+
t = pr(e, n.getOptions());
|
|
1415
1346
|
},
|
|
1416
1347
|
processEvent(n, r, i) {
|
|
1417
|
-
return t || (t =
|
|
1348
|
+
return t || (t = pr(e, i.getOptions())), mr(n, t) ? null : n;
|
|
1418
1349
|
}
|
|
1419
1350
|
};
|
|
1420
|
-
}),
|
|
1421
|
-
...
|
|
1351
|
+
}), fr = H(((e = {}) => ({
|
|
1352
|
+
...dr(e),
|
|
1422
1353
|
name: "InboundFilters"
|
|
1423
1354
|
})));
|
|
1424
|
-
function
|
|
1355
|
+
function pr(e = {}, t = {}) {
|
|
1425
1356
|
return {
|
|
1426
1357
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1427
1358
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1428
1359
|
ignoreErrors: [
|
|
1429
1360
|
...e.ignoreErrors || [],
|
|
1430
1361
|
...t.ignoreErrors || [],
|
|
1431
|
-
...e.disableErrorDefaults ? [] :
|
|
1362
|
+
...e.disableErrorDefaults ? [] : lr
|
|
1432
1363
|
],
|
|
1433
1364
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1434
1365
|
};
|
|
1435
1366
|
}
|
|
1436
|
-
function
|
|
1367
|
+
function mr(e, t) {
|
|
1437
1368
|
if (!e.type) {
|
|
1438
|
-
if (
|
|
1369
|
+
if (hr(e, t.ignoreErrors)) return P && k.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1439
1370
|
Event: ${_(e)}`), !0;
|
|
1440
|
-
if (
|
|
1371
|
+
if (xr(e)) return P && k.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1441
1372
|
Event: ${_(e)}`), !0;
|
|
1442
|
-
if (
|
|
1373
|
+
if (_r(e, t.denyUrls)) return P && k.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1443
1374
|
Event: ${_(e)}.
|
|
1444
|
-
Url: ${
|
|
1445
|
-
if (!
|
|
1375
|
+
Url: ${br(e)}`), !0;
|
|
1376
|
+
if (!vr(e, t.allowUrls)) return P && k.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1446
1377
|
Event: ${_(e)}.
|
|
1447
|
-
Url: ${
|
|
1448
|
-
} else if (e.type === "transaction" &&
|
|
1378
|
+
Url: ${br(e)}`), !0;
|
|
1379
|
+
} else if (e.type === "transaction" && gr(e, t.ignoreTransactions)) return P && k.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1449
1380
|
Event: ${_(e)}`), !0;
|
|
1450
1381
|
return !1;
|
|
1451
1382
|
}
|
|
1452
|
-
function
|
|
1453
|
-
return t != null && t.length ?
|
|
1383
|
+
function hr(e, t) {
|
|
1384
|
+
return t != null && t.length ? Cn(e).some((e) => F(e, t)) : !1;
|
|
1454
1385
|
}
|
|
1455
|
-
function
|
|
1386
|
+
function gr(e, t) {
|
|
1456
1387
|
if (!(t != null && t.length)) return !1;
|
|
1457
1388
|
let n = e.transaction;
|
|
1458
1389
|
return n ? F(n, t) : !1;
|
|
1459
1390
|
}
|
|
1460
|
-
function
|
|
1391
|
+
function _r(e, t) {
|
|
1461
1392
|
if (!(t != null && t.length)) return !1;
|
|
1462
|
-
let n =
|
|
1393
|
+
let n = br(e);
|
|
1463
1394
|
return n ? F(n, t) : !1;
|
|
1464
1395
|
}
|
|
1465
|
-
function
|
|
1396
|
+
function vr(e, t) {
|
|
1466
1397
|
if (!(t != null && t.length)) return !0;
|
|
1467
|
-
let n =
|
|
1398
|
+
let n = br(e);
|
|
1468
1399
|
return !n || F(n, t);
|
|
1469
1400
|
}
|
|
1470
|
-
function
|
|
1401
|
+
function yr(e = []) {
|
|
1471
1402
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1472
1403
|
let n = e[t];
|
|
1473
1404
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1474
1405
|
}
|
|
1475
1406
|
return null;
|
|
1476
1407
|
}
|
|
1477
|
-
function
|
|
1408
|
+
function br(e) {
|
|
1478
1409
|
try {
|
|
1479
1410
|
var t, n, r;
|
|
1480
1411
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1481
1412
|
var t, n;
|
|
1482
1413
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1483
1414
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1484
|
-
return a ?
|
|
1415
|
+
return a ? yr(a) : null;
|
|
1485
1416
|
} catch {
|
|
1486
1417
|
return P && k.error(`Cannot extract url for event ${_(e)}`), null;
|
|
1487
1418
|
}
|
|
1488
1419
|
}
|
|
1489
|
-
function
|
|
1420
|
+
function xr(e) {
|
|
1490
1421
|
var t;
|
|
1491
1422
|
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;
|
|
1492
1423
|
}
|
|
1493
1424
|
//#endregion
|
|
1494
1425
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1495
|
-
function
|
|
1426
|
+
function Sr(e, t, n, r, i, a) {
|
|
1496
1427
|
var o;
|
|
1497
1428
|
if (!((o = i.exception) != null && o.values) || !a || !He(a.originalException, Error)) return;
|
|
1498
1429
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1499
|
-
s && (i.exception.values =
|
|
1430
|
+
s && (i.exception.values = Cr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1500
1431
|
}
|
|
1501
|
-
function
|
|
1432
|
+
function Cr(e, t, n, r, i, a, o, s) {
|
|
1502
1433
|
if (a.length >= n + 1) return a;
|
|
1503
1434
|
let c = [...a];
|
|
1504
1435
|
if (He(r[i], Error)) {
|
|
1505
|
-
|
|
1436
|
+
Tr(o, s, r);
|
|
1506
1437
|
let a = e(t, r[i]), l = c.length;
|
|
1507
|
-
|
|
1438
|
+
Er(a, i, l, s), c = Cr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1508
1439
|
}
|
|
1509
|
-
return
|
|
1440
|
+
return wr(r) && r.errors.forEach((a, l) => {
|
|
1510
1441
|
if (He(a, Error)) {
|
|
1511
|
-
|
|
1442
|
+
Tr(o, s, r);
|
|
1512
1443
|
let u = e(t, a), d = c.length;
|
|
1513
|
-
|
|
1444
|
+
Er(u, `errors[${l}]`, d, s), c = Cr(e, t, n, a, i, [u, ...c], u, d);
|
|
1514
1445
|
}
|
|
1515
1446
|
}), c;
|
|
1516
1447
|
}
|
|
1517
|
-
function
|
|
1448
|
+
function wr(e) {
|
|
1518
1449
|
return Array.isArray(e.errors);
|
|
1519
1450
|
}
|
|
1520
|
-
function
|
|
1451
|
+
function Tr(e, t, n) {
|
|
1521
1452
|
e.mechanism = {
|
|
1522
1453
|
handled: !0,
|
|
1523
1454
|
type: "auto.core.linked_errors",
|
|
1524
|
-
...
|
|
1455
|
+
...wr(n) && { is_exception_group: !0 },
|
|
1525
1456
|
...e.mechanism,
|
|
1526
1457
|
exception_id: t
|
|
1527
1458
|
};
|
|
1528
1459
|
}
|
|
1529
|
-
function
|
|
1460
|
+
function Er(e, t, n, r) {
|
|
1530
1461
|
e.mechanism = {
|
|
1531
1462
|
handled: !0,
|
|
1532
1463
|
...e.mechanism,
|
|
@@ -1538,25 +1469,25 @@ function Ar(e, t, n, r) {
|
|
|
1538
1469
|
}
|
|
1539
1470
|
//#endregion
|
|
1540
1471
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1541
|
-
function
|
|
1542
|
-
return
|
|
1472
|
+
function Dr(e) {
|
|
1473
|
+
return ie(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1543
1474
|
}
|
|
1544
|
-
function
|
|
1545
|
-
return
|
|
1475
|
+
function Or(e) {
|
|
1476
|
+
return Dr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1546
1477
|
}
|
|
1547
1478
|
//#endregion
|
|
1548
1479
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1549
|
-
var
|
|
1550
|
-
function
|
|
1480
|
+
var kr = /* @__PURE__ */ new Set([]);
|
|
1481
|
+
function Ar(e) {
|
|
1551
1482
|
let t = "console", n = R(t, e);
|
|
1552
|
-
return z(t,
|
|
1483
|
+
return z(t, Mr), n;
|
|
1553
1484
|
}
|
|
1554
|
-
var
|
|
1555
|
-
function
|
|
1485
|
+
var jr = /* @__PURE__ */ new Set();
|
|
1486
|
+
function Mr() {
|
|
1556
1487
|
"console" in D && Le.forEach(function(e) {
|
|
1557
|
-
|
|
1488
|
+
jr.has(e) || !(e in D.console) || (jr.add(e), j(D.console, e, function(t) {
|
|
1558
1489
|
return we[e] = t, function(...t) {
|
|
1559
|
-
let n = t[0], r = we[e], i =
|
|
1490
|
+
let n = t[0], r = we[e], i = kr.size && typeof n == "string" && F(n, kr);
|
|
1560
1491
|
i || B("console", {
|
|
1561
1492
|
args: t,
|
|
1562
1493
|
level: e
|
|
@@ -1567,7 +1498,7 @@ function Ir() {
|
|
|
1567
1498
|
}
|
|
1568
1499
|
//#endregion
|
|
1569
1500
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1570
|
-
function
|
|
1501
|
+
function Nr(e) {
|
|
1571
1502
|
return e === "warn" ? "warning" : [
|
|
1572
1503
|
"fatal",
|
|
1573
1504
|
"error",
|
|
@@ -1579,31 +1510,31 @@ function Lr(e) {
|
|
|
1579
1510
|
}
|
|
1580
1511
|
//#endregion
|
|
1581
1512
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1582
|
-
var
|
|
1513
|
+
var Pr = "Dedupe", Fr = H((() => {
|
|
1583
1514
|
let e;
|
|
1584
1515
|
return {
|
|
1585
|
-
name:
|
|
1516
|
+
name: Pr,
|
|
1586
1517
|
processEvent(t) {
|
|
1587
1518
|
if (t.type) return t;
|
|
1588
1519
|
try {
|
|
1589
|
-
if (
|
|
1520
|
+
if (Ir(t, e)) return P && k.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1590
1521
|
} catch {}
|
|
1591
1522
|
return e = t;
|
|
1592
1523
|
}
|
|
1593
1524
|
};
|
|
1594
1525
|
}));
|
|
1595
|
-
function
|
|
1596
|
-
return t ? !!(
|
|
1526
|
+
function Ir(e, t) {
|
|
1527
|
+
return t ? !!(Lr(e, t) || Rr(e, t)) : !1;
|
|
1597
1528
|
}
|
|
1598
|
-
function
|
|
1529
|
+
function Lr(e, t) {
|
|
1599
1530
|
let n = e.message, r = t.message;
|
|
1600
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1531
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Br(e, t) || !zr(e, t));
|
|
1601
1532
|
}
|
|
1602
|
-
function
|
|
1603
|
-
let n =
|
|
1604
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1533
|
+
function Rr(e, t) {
|
|
1534
|
+
let n = Vr(t), r = Vr(e);
|
|
1535
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Br(e, t) || !zr(e, t));
|
|
1605
1536
|
}
|
|
1606
|
-
function
|
|
1537
|
+
function zr(e, t) {
|
|
1607
1538
|
let n = We(e), r = We(t);
|
|
1608
1539
|
if (!n && !r) return !0;
|
|
1609
1540
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
@@ -1613,7 +1544,7 @@ function Ur(e, t) {
|
|
|
1613
1544
|
}
|
|
1614
1545
|
return !0;
|
|
1615
1546
|
}
|
|
1616
|
-
function
|
|
1547
|
+
function Br(e, t) {
|
|
1617
1548
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1618
1549
|
if (!n && !r) return !0;
|
|
1619
1550
|
if (n && !r || !n && r) return !1;
|
|
@@ -1624,17 +1555,17 @@ function Wr(e, t) {
|
|
|
1624
1555
|
return !1;
|
|
1625
1556
|
}
|
|
1626
1557
|
}
|
|
1627
|
-
function
|
|
1558
|
+
function Vr(e) {
|
|
1628
1559
|
var t;
|
|
1629
1560
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1630
1561
|
}
|
|
1631
1562
|
//#endregion
|
|
1632
1563
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1633
|
-
var
|
|
1634
|
-
name:
|
|
1564
|
+
var Hr = "ConversationId", Ur = H((() => ({
|
|
1565
|
+
name: Hr,
|
|
1635
1566
|
setup(e) {
|
|
1636
1567
|
e.on("spanStart", (e) => {
|
|
1637
|
-
let t = N().getScopeData(), n =
|
|
1568
|
+
let t = N().getScopeData(), n = se().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1638
1569
|
if (r) {
|
|
1639
1570
|
let { op: t, data: n, description: i } = Te(e);
|
|
1640
1571
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
@@ -1645,7 +1576,7 @@ var Kr = "ConversationId", qr = H((() => ({
|
|
|
1645
1576
|
})));
|
|
1646
1577
|
//#endregion
|
|
1647
1578
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1648
|
-
function
|
|
1579
|
+
function Wr(e) {
|
|
1649
1580
|
if (e !== void 0) {
|
|
1650
1581
|
if (e >= 400 && e < 500) return "warning";
|
|
1651
1582
|
if (e >= 500) return "error";
|
|
@@ -1654,10 +1585,10 @@ function Jr(e) {
|
|
|
1654
1585
|
//#endregion
|
|
1655
1586
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1656
1587
|
var W = D;
|
|
1657
|
-
function
|
|
1588
|
+
function Gr() {
|
|
1658
1589
|
return "history" in W && !!W.history;
|
|
1659
1590
|
}
|
|
1660
|
-
function
|
|
1591
|
+
function Kr() {
|
|
1661
1592
|
if (!("fetch" in W)) return !1;
|
|
1662
1593
|
try {
|
|
1663
1594
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
@@ -1665,18 +1596,18 @@ function Xr() {
|
|
|
1665
1596
|
return !1;
|
|
1666
1597
|
}
|
|
1667
1598
|
}
|
|
1668
|
-
function
|
|
1599
|
+
function qr(e) {
|
|
1669
1600
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1670
1601
|
}
|
|
1671
|
-
function
|
|
1602
|
+
function Jr() {
|
|
1672
1603
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1673
|
-
if (!
|
|
1674
|
-
if (
|
|
1604
|
+
if (!Kr()) return !1;
|
|
1605
|
+
if (qr(W.fetch)) return !0;
|
|
1675
1606
|
let e = !1, t = W.document;
|
|
1676
1607
|
if (t && typeof t.createElement == "function") try {
|
|
1677
1608
|
var n;
|
|
1678
1609
|
let r = t.createElement("iframe");
|
|
1679
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1610
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = qr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1680
1611
|
} catch (e) {
|
|
1681
1612
|
P && k.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1682
1613
|
}
|
|
@@ -1684,14 +1615,14 @@ function Qr() {
|
|
|
1684
1615
|
}
|
|
1685
1616
|
//#endregion
|
|
1686
1617
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1687
|
-
function
|
|
1618
|
+
function Yr(e, t) {
|
|
1688
1619
|
let n = "fetch", r = R(n, e);
|
|
1689
|
-
return z(n, () =>
|
|
1620
|
+
return z(n, () => Xr(void 0, t)), r;
|
|
1690
1621
|
}
|
|
1691
|
-
function
|
|
1692
|
-
t && !
|
|
1622
|
+
function Xr(e, t = !1) {
|
|
1623
|
+
t && !Jr() || j(D, "fetch", function(t) {
|
|
1693
1624
|
return function(...n) {
|
|
1694
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1625
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = $r(n), o = {
|
|
1695
1626
|
args: n,
|
|
1696
1627
|
fetchData: {
|
|
1697
1628
|
method: i,
|
|
@@ -1699,7 +1630,7 @@ function ei(e, t = !1) {
|
|
|
1699
1630
|
},
|
|
1700
1631
|
startTimestamp: A() * 1e3,
|
|
1701
1632
|
virtualError: r,
|
|
1702
|
-
headers:
|
|
1633
|
+
headers: ei(n)
|
|
1703
1634
|
};
|
|
1704
1635
|
return e || B("fetch", { ...o }), t.apply(D, n).then(async (t) => (e ? e(t) : B("fetch", {
|
|
1705
1636
|
...o,
|
|
@@ -1711,7 +1642,7 @@ function ei(e, t = !1) {
|
|
|
1711
1642
|
...o,
|
|
1712
1643
|
endTimestamp: A() * 1e3,
|
|
1713
1644
|
error: e
|
|
1714
|
-
}),
|
|
1645
|
+
}), ie(e) && e.stack === void 0 && (e.stack = r.stack, v(e, "framesToPop", 1));
|
|
1715
1646
|
let n = h(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1716
1647
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1717
1648
|
let t = new URL(o.fetchData.url).host;
|
|
@@ -1722,13 +1653,13 @@ function ei(e, t = !1) {
|
|
|
1722
1653
|
};
|
|
1723
1654
|
});
|
|
1724
1655
|
}
|
|
1725
|
-
function
|
|
1656
|
+
function Zr(e, t) {
|
|
1726
1657
|
return Ne(e) && !!e[t];
|
|
1727
1658
|
}
|
|
1728
|
-
function
|
|
1729
|
-
return typeof e == "string" ? e : e ?
|
|
1659
|
+
function Qr(e) {
|
|
1660
|
+
return typeof e == "string" ? e : e ? Zr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1730
1661
|
}
|
|
1731
|
-
function
|
|
1662
|
+
function $r(e) {
|
|
1732
1663
|
if (e.length === 0) return {
|
|
1733
1664
|
method: "GET",
|
|
1734
1665
|
url: ""
|
|
@@ -1736,17 +1667,17 @@ function ri(e) {
|
|
|
1736
1667
|
if (e.length === 2) {
|
|
1737
1668
|
let [t, n] = e;
|
|
1738
1669
|
return {
|
|
1739
|
-
url:
|
|
1740
|
-
method:
|
|
1670
|
+
url: Qr(t),
|
|
1671
|
+
method: Zr(n, "method") ? String(n.method).toUpperCase() : Fe(t) && Zr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1741
1672
|
};
|
|
1742
1673
|
}
|
|
1743
1674
|
let t = e[0];
|
|
1744
1675
|
return {
|
|
1745
|
-
url:
|
|
1746
|
-
method:
|
|
1676
|
+
url: Qr(t),
|
|
1677
|
+
method: Zr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1747
1678
|
};
|
|
1748
1679
|
}
|
|
1749
|
-
function
|
|
1680
|
+
function ei(e) {
|
|
1750
1681
|
let [t, n] = e;
|
|
1751
1682
|
try {
|
|
1752
1683
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
@@ -1755,16 +1686,16 @@ function ii(e) {
|
|
|
1755
1686
|
}
|
|
1756
1687
|
//#endregion
|
|
1757
1688
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1758
|
-
var
|
|
1759
|
-
function
|
|
1689
|
+
var ti = D;
|
|
1690
|
+
function ni() {
|
|
1760
1691
|
try {
|
|
1761
|
-
return
|
|
1692
|
+
return ti.document.location.href;
|
|
1762
1693
|
} catch {
|
|
1763
1694
|
return "";
|
|
1764
1695
|
}
|
|
1765
1696
|
}
|
|
1766
|
-
function
|
|
1767
|
-
if (!
|
|
1697
|
+
function ri(e, t = 5) {
|
|
1698
|
+
if (!ti.HTMLElement) return null;
|
|
1768
1699
|
let n = e;
|
|
1769
1700
|
for (let e = 0; e < t; e++) {
|
|
1770
1701
|
if (!n) return null;
|
|
@@ -1778,13 +1709,13 @@ function si(e, t = 5) {
|
|
|
1778
1709
|
}
|
|
1779
1710
|
//#endregion
|
|
1780
1711
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1781
|
-
var G = D,
|
|
1782
|
-
function
|
|
1783
|
-
return
|
|
1712
|
+
var G = D, ii = 0;
|
|
1713
|
+
function ai() {
|
|
1714
|
+
return ii > 0;
|
|
1784
1715
|
}
|
|
1785
|
-
function
|
|
1786
|
-
|
|
1787
|
-
|
|
1716
|
+
function oi() {
|
|
1717
|
+
ii++, setTimeout(() => {
|
|
1718
|
+
ii--;
|
|
1788
1719
|
});
|
|
1789
1720
|
}
|
|
1790
1721
|
function K(e, t = {}) {
|
|
@@ -1807,8 +1738,8 @@ function K(e, t = {}) {
|
|
|
1807
1738
|
let r = n.map((e) => K(e, t));
|
|
1808
1739
|
return e.apply(this, r);
|
|
1809
1740
|
} catch (e) {
|
|
1810
|
-
throw
|
|
1811
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1741
|
+
throw oi(), g((r) => {
|
|
1742
|
+
r.addEventProcessor((e) => (t.mechanism && (te(e, void 0, void 0), w(e, t.mechanism)), e.extra = {
|
|
1812
1743
|
...e.extra,
|
|
1813
1744
|
arguments: n
|
|
1814
1745
|
}, e)), Me(e);
|
|
@@ -1828,8 +1759,8 @@ function K(e, t = {}) {
|
|
|
1828
1759
|
} catch {}
|
|
1829
1760
|
return r;
|
|
1830
1761
|
}
|
|
1831
|
-
function
|
|
1832
|
-
let e =
|
|
1762
|
+
function si() {
|
|
1763
|
+
let e = ni(), { referrer: t } = G.document || {}, { userAgent: n } = G.navigator || {};
|
|
1833
1764
|
return {
|
|
1834
1765
|
url: e,
|
|
1835
1766
|
headers: {
|
|
@@ -1840,100 +1771,100 @@ function di() {
|
|
|
1840
1771
|
}
|
|
1841
1772
|
//#endregion
|
|
1842
1773
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1843
|
-
function
|
|
1844
|
-
let n =
|
|
1845
|
-
type:
|
|
1846
|
-
value:
|
|
1774
|
+
function ci(e, t) {
|
|
1775
|
+
let n = di(e, t), r = {
|
|
1776
|
+
type: gi(t),
|
|
1777
|
+
value: _i(t)
|
|
1847
1778
|
};
|
|
1848
1779
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1849
1780
|
}
|
|
1850
|
-
function
|
|
1851
|
-
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o =
|
|
1781
|
+
function li(e, t, n, r) {
|
|
1782
|
+
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = wi(t), s = { __serialized__: ce(t, a) };
|
|
1852
1783
|
if (o) return {
|
|
1853
|
-
exception: { values: [
|
|
1784
|
+
exception: { values: [ci(e, o)] },
|
|
1854
1785
|
extra: s
|
|
1855
1786
|
};
|
|
1856
1787
|
let c = {
|
|
1857
1788
|
exception: { values: [{
|
|
1858
1789
|
type: be(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1859
|
-
value:
|
|
1790
|
+
value: Si(t, { isUnhandledRejection: r })
|
|
1860
1791
|
}] },
|
|
1861
1792
|
extra: s
|
|
1862
1793
|
};
|
|
1863
1794
|
if (n) {
|
|
1864
|
-
let t =
|
|
1795
|
+
let t = di(e, n);
|
|
1865
1796
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1866
1797
|
}
|
|
1867
1798
|
return c;
|
|
1868
1799
|
}
|
|
1869
|
-
function
|
|
1870
|
-
return { exception: { values: [
|
|
1800
|
+
function ui(e, t) {
|
|
1801
|
+
return { exception: { values: [ci(e, t)] } };
|
|
1871
1802
|
}
|
|
1872
|
-
function
|
|
1873
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1803
|
+
function di(e, t) {
|
|
1804
|
+
let n = t.stacktrace || t.stack || "", r = pi(t), i = mi(t);
|
|
1874
1805
|
try {
|
|
1875
1806
|
return e(n, r, i);
|
|
1876
1807
|
} catch {}
|
|
1877
1808
|
return [];
|
|
1878
1809
|
}
|
|
1879
|
-
var
|
|
1880
|
-
function
|
|
1881
|
-
return e &&
|
|
1810
|
+
var fi = /Minified React error #\d+;/i;
|
|
1811
|
+
function pi(e) {
|
|
1812
|
+
return e && fi.test(e.message) ? 1 : 0;
|
|
1882
1813
|
}
|
|
1883
|
-
function
|
|
1814
|
+
function mi(e) {
|
|
1884
1815
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1885
1816
|
}
|
|
1886
|
-
function
|
|
1817
|
+
function hi(e) {
|
|
1887
1818
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 && e instanceof WebAssembly.Exception;
|
|
1888
1819
|
}
|
|
1889
|
-
function
|
|
1820
|
+
function gi(e) {
|
|
1890
1821
|
let t = e == null ? void 0 : e.name;
|
|
1891
|
-
return !t &&
|
|
1822
|
+
return !t && hi(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1892
1823
|
}
|
|
1893
|
-
function
|
|
1824
|
+
function _i(e) {
|
|
1894
1825
|
let t = e == null ? void 0 : e.message;
|
|
1895
|
-
return
|
|
1826
|
+
return hi(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Or(t.error) : Or(e) : "No error message";
|
|
1896
1827
|
}
|
|
1897
|
-
function
|
|
1898
|
-
let i =
|
|
1899
|
-
return
|
|
1828
|
+
function vi(e, t, n, r) {
|
|
1829
|
+
let i = bi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1830
|
+
return w(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), ye(i);
|
|
1900
1831
|
}
|
|
1901
|
-
function
|
|
1902
|
-
let a =
|
|
1832
|
+
function yi(e, t, n = "info", r, i) {
|
|
1833
|
+
let a = xi(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1903
1834
|
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), ye(a);
|
|
1904
1835
|
}
|
|
1905
|
-
function
|
|
1836
|
+
function bi(e, t, n, r, i) {
|
|
1906
1837
|
let a;
|
|
1907
|
-
if (f(t) && t.error) return
|
|
1838
|
+
if (f(t) && t.error) return ui(e, t.error);
|
|
1908
1839
|
if (ue(t) || fe(t)) {
|
|
1909
1840
|
let i = t;
|
|
1910
1841
|
if ("stack" in t) {
|
|
1911
1842
|
var o;
|
|
1912
|
-
a =
|
|
1843
|
+
a = ui(e, t);
|
|
1913
1844
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1914
1845
|
if (r && n && i && !i.stacktrace) {
|
|
1915
|
-
let t =
|
|
1916
|
-
t.length && (i.stacktrace = { frames: t },
|
|
1846
|
+
let t = di(e, n);
|
|
1847
|
+
t.length && (i.stacktrace = { frames: t }, w(a, { synthetic: !0 }));
|
|
1917
1848
|
}
|
|
1918
1849
|
} else {
|
|
1919
1850
|
let t = i.name || (ue(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1920
|
-
a =
|
|
1851
|
+
a = xi(e, o, n, r), te(a, o);
|
|
1921
1852
|
}
|
|
1922
1853
|
return "code" in i && (a.tags = {
|
|
1923
1854
|
...a.tags,
|
|
1924
1855
|
"DOMException.code": `${i.code}`
|
|
1925
1856
|
}), a;
|
|
1926
1857
|
}
|
|
1927
|
-
return
|
|
1858
|
+
return ie(t) ? ui(e, t) : Ee(t) || be(t) ? (a = li(e, t, n, i), w(a, { synthetic: !0 }), a) : (a = xi(e, t, n, r), te(a, `${t}`, void 0), w(a, { synthetic: !0 }), a);
|
|
1928
1859
|
}
|
|
1929
|
-
function
|
|
1860
|
+
function xi(e, t, n, r) {
|
|
1930
1861
|
let i = {};
|
|
1931
1862
|
if (r && n) {
|
|
1932
|
-
let r =
|
|
1863
|
+
let r = di(e, n);
|
|
1933
1864
|
r.length && (i.exception = { values: [{
|
|
1934
1865
|
value: t,
|
|
1935
1866
|
stacktrace: { frames: r }
|
|
1936
|
-
}] }),
|
|
1867
|
+
}] }), w(i, { synthetic: !0 });
|
|
1937
1868
|
}
|
|
1938
1869
|
if (ze(t)) {
|
|
1939
1870
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
@@ -1944,26 +1875,26 @@ function Ti(e, t, n, r) {
|
|
|
1944
1875
|
}
|
|
1945
1876
|
return i.message = t, i;
|
|
1946
1877
|
}
|
|
1947
|
-
function
|
|
1878
|
+
function Si(e, { isUnhandledRejection: t }) {
|
|
1948
1879
|
let n = S(e), r = t ? "promise rejection" : "exception";
|
|
1949
|
-
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : be(e) ? `Event \`${
|
|
1880
|
+
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : be(e) ? `Event \`${Ci(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1950
1881
|
}
|
|
1951
|
-
function
|
|
1882
|
+
function Ci(e) {
|
|
1952
1883
|
try {
|
|
1953
1884
|
let t = Object.getPrototypeOf(e);
|
|
1954
1885
|
return t ? t.constructor.name : void 0;
|
|
1955
1886
|
} catch {}
|
|
1956
1887
|
}
|
|
1957
|
-
function
|
|
1888
|
+
function wi(e) {
|
|
1958
1889
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1959
1890
|
}
|
|
1960
1891
|
//#endregion
|
|
1961
1892
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1962
|
-
var
|
|
1893
|
+
var Ti = class extends Bn {
|
|
1963
1894
|
constructor(e) {
|
|
1964
1895
|
var t;
|
|
1965
|
-
let n =
|
|
1966
|
-
|
|
1896
|
+
let n = Ei(e);
|
|
1897
|
+
ir(n, "browser", ["browser"], G.SENTRY_SDK_SOURCE || Zt()), super(n);
|
|
1967
1898
|
let { userInfo: r } = this.getDataCollectionOptions();
|
|
1968
1899
|
(t = n._metadata) != null && t.sdk && (n._metadata.sdk.settings = {
|
|
1969
1900
|
infer_ip: r ? "auto" : "never",
|
|
@@ -1974,19 +1905,19 @@ var ki = class extends Wn {
|
|
|
1974
1905
|
G.document.visibilityState === "hidden" && (i && this._flushOutcomes(), queueMicrotask(() => {
|
|
1975
1906
|
this.flush();
|
|
1976
1907
|
}));
|
|
1977
|
-
}), r && this.on("beforeSendSession",
|
|
1908
|
+
}), r && this.on("beforeSendSession", rr);
|
|
1978
1909
|
}
|
|
1979
1910
|
eventFromException(e, t) {
|
|
1980
|
-
return
|
|
1911
|
+
return vi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1981
1912
|
}
|
|
1982
1913
|
eventFromMessage(e, t = "info", n) {
|
|
1983
|
-
return
|
|
1914
|
+
return yi(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1984
1915
|
}
|
|
1985
1916
|
_prepareEvent(e, t, n, r) {
|
|
1986
1917
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1987
1918
|
}
|
|
1988
1919
|
};
|
|
1989
|
-
function
|
|
1920
|
+
function Ei(e) {
|
|
1990
1921
|
var t;
|
|
1991
1922
|
return {
|
|
1992
1923
|
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = G.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
@@ -1997,35 +1928,35 @@ function Ai(e) {
|
|
|
1997
1928
|
}
|
|
1998
1929
|
//#endregion
|
|
1999
1930
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
2000
|
-
var
|
|
1931
|
+
var Di = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, q = D;
|
|
2001
1932
|
//#endregion
|
|
2002
1933
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/globalListeners.js
|
|
2003
|
-
function
|
|
1934
|
+
function Oi(e, t, n) {
|
|
2004
1935
|
q.document && q.addEventListener(e, t, n);
|
|
2005
1936
|
}
|
|
2006
|
-
function
|
|
1937
|
+
function ki(e, t, n) {
|
|
2007
1938
|
q.document && q.removeEventListener(e, t, n);
|
|
2008
1939
|
}
|
|
2009
1940
|
//#endregion
|
|
2010
1941
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/runOnce.js
|
|
2011
|
-
var
|
|
1942
|
+
var Ai = (e) => {
|
|
2012
1943
|
let t = !1;
|
|
2013
1944
|
return () => {
|
|
2014
1945
|
t || (e(), t = !0);
|
|
2015
1946
|
};
|
|
2016
|
-
},
|
|
1947
|
+
}, ji = (e) => {
|
|
2017
1948
|
var t;
|
|
2018
1949
|
let n = q.requestIdleCallback || q.setTimeout;
|
|
2019
|
-
((t = q.document) == null ? void 0 : t.visibilityState) === "hidden" ? e() : (e =
|
|
1950
|
+
((t = q.document) == null ? void 0 : t.visibilityState) === "hidden" ? e() : (e = Ai(e), Oi("visibilitychange", e, {
|
|
2020
1951
|
once: !0,
|
|
2021
1952
|
capture: !0
|
|
2022
|
-
}),
|
|
1953
|
+
}), Oi("pagehide", e, {
|
|
2023
1954
|
once: !0,
|
|
2024
1955
|
capture: !0
|
|
2025
1956
|
}), n(() => {
|
|
2026
|
-
e(),
|
|
1957
|
+
e(), ki("visibilitychange", e, { capture: !0 }), ki("pagehide", e, { capture: !0 });
|
|
2027
1958
|
}));
|
|
2028
|
-
},
|
|
1959
|
+
}, Mi = 80, J = {};
|
|
2029
1960
|
try {
|
|
2030
1961
|
typeof Node < "u" && (J.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (J.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, J.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, J.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, J.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (J.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
2031
1962
|
} catch {}
|
|
@@ -2037,17 +1968,17 @@ function Y(e, t, n) {
|
|
|
2037
1968
|
let i = e[t];
|
|
2038
1969
|
return typeof i == "function" ? i.call(e, n) : i;
|
|
2039
1970
|
}
|
|
2040
|
-
function
|
|
1971
|
+
function Ni(e, t = {}) {
|
|
2041
1972
|
if (!e) return "<unknown>";
|
|
2042
1973
|
try {
|
|
2043
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength ||
|
|
2044
|
-
for (; n && i++ < 5 && (o =
|
|
1974
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Mi;
|
|
1975
|
+
for (; n && i++ < 5 && (o = Pi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = Y(n, "parentNode");
|
|
2045
1976
|
return r.reverse().join(" > ");
|
|
2046
1977
|
} catch {
|
|
2047
1978
|
return "<unknown>";
|
|
2048
1979
|
}
|
|
2049
1980
|
}
|
|
2050
|
-
function
|
|
1981
|
+
function Pi(e, t) {
|
|
2051
1982
|
let n = [], r = Y(e, "tagName");
|
|
2052
1983
|
if (!r) return "";
|
|
2053
1984
|
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
@@ -2085,13 +2016,13 @@ function Ri(e, t) {
|
|
|
2085
2016
|
}
|
|
2086
2017
|
//#endregion
|
|
2087
2018
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/dom.js
|
|
2088
|
-
var
|
|
2089
|
-
function
|
|
2090
|
-
R("dom", e), z("dom",
|
|
2019
|
+
var Fi = 1e3, Ii, Li, Ri;
|
|
2020
|
+
function zi(e) {
|
|
2021
|
+
R("dom", e), z("dom", Bi);
|
|
2091
2022
|
}
|
|
2092
|
-
function
|
|
2023
|
+
function Bi() {
|
|
2093
2024
|
if (!q.document) return;
|
|
2094
|
-
let e = B.bind(null, "dom"), t =
|
|
2025
|
+
let e = B.bind(null, "dom"), t = Ui(e, !0);
|
|
2095
2026
|
q.document.addEventListener("click", t, !1), q.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2096
2027
|
var n, r;
|
|
2097
2028
|
let i = (n = q[t]) == null ? void 0 : n.prototype;
|
|
@@ -2100,7 +2031,7 @@ function Wi() {
|
|
|
2100
2031
|
if (n === "click" || n == "keypress") try {
|
|
2101
2032
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
2102
2033
|
if (!a.handler) {
|
|
2103
|
-
let r =
|
|
2034
|
+
let r = Ui(e);
|
|
2104
2035
|
a.handler = r, t.call(this, n, r, i);
|
|
2105
2036
|
}
|
|
2106
2037
|
a.refCount++;
|
|
@@ -2118,33 +2049,33 @@ function Wi() {
|
|
|
2118
2049
|
}));
|
|
2119
2050
|
});
|
|
2120
2051
|
}
|
|
2121
|
-
function
|
|
2122
|
-
if (e.type !==
|
|
2052
|
+
function Vi(e) {
|
|
2053
|
+
if (e.type !== Li) return !1;
|
|
2123
2054
|
try {
|
|
2124
|
-
if (!e.target || e.target._sentryId !==
|
|
2055
|
+
if (!e.target || e.target._sentryId !== Ri) return !1;
|
|
2125
2056
|
} catch {}
|
|
2126
2057
|
return !0;
|
|
2127
2058
|
}
|
|
2128
|
-
function
|
|
2059
|
+
function Hi(e, t) {
|
|
2129
2060
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
2130
2061
|
}
|
|
2131
|
-
function
|
|
2062
|
+
function Ui(e, t = !1) {
|
|
2132
2063
|
return (n) => {
|
|
2133
2064
|
if (!n || n._sentryCaptured) return;
|
|
2134
|
-
let r =
|
|
2135
|
-
if (
|
|
2065
|
+
let r = Wi(n);
|
|
2066
|
+
if (Hi(n.type, r)) return;
|
|
2136
2067
|
v(n, "_sentryCaptured", !0), r && !r._sentryId && v(r, "_sentryId", b());
|
|
2137
2068
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2138
|
-
|
|
2069
|
+
Vi(n) || (e({
|
|
2139
2070
|
event: n,
|
|
2140
2071
|
name: i,
|
|
2141
2072
|
global: t
|
|
2142
|
-
}),
|
|
2143
|
-
|
|
2144
|
-
},
|
|
2073
|
+
}), Li = n.type, Ri = r ? r._sentryId : void 0), clearTimeout(Ii), Ii = q.setTimeout(() => {
|
|
2074
|
+
Ri = void 0, Li = void 0;
|
|
2075
|
+
}, Fi);
|
|
2145
2076
|
};
|
|
2146
2077
|
}
|
|
2147
|
-
function
|
|
2078
|
+
function Wi(e) {
|
|
2148
2079
|
try {
|
|
2149
2080
|
return e.target;
|
|
2150
2081
|
} catch {
|
|
@@ -2153,25 +2084,25 @@ function Ji(e) {
|
|
|
2153
2084
|
}
|
|
2154
2085
|
//#endregion
|
|
2155
2086
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/history.js
|
|
2156
|
-
var
|
|
2157
|
-
function
|
|
2087
|
+
var Gi;
|
|
2088
|
+
function Ki(e) {
|
|
2158
2089
|
let t = "history";
|
|
2159
|
-
R(t, e), z(t,
|
|
2090
|
+
R(t, e), z(t, qi);
|
|
2160
2091
|
}
|
|
2161
|
-
function
|
|
2092
|
+
function qi() {
|
|
2162
2093
|
if (q.addEventListener("popstate", () => {
|
|
2163
|
-
let e = q.location.href, t =
|
|
2164
|
-
|
|
2094
|
+
let e = q.location.href, t = Gi;
|
|
2095
|
+
Gi = e, t !== e && B("history", {
|
|
2165
2096
|
from: t,
|
|
2166
2097
|
to: e
|
|
2167
2098
|
});
|
|
2168
|
-
}), !
|
|
2099
|
+
}), !Gr()) return;
|
|
2169
2100
|
function e(e) {
|
|
2170
2101
|
return function(...t) {
|
|
2171
2102
|
let n = t.length > 2 ? t[2] : void 0;
|
|
2172
2103
|
if (n) {
|
|
2173
|
-
let r =
|
|
2174
|
-
if (
|
|
2104
|
+
let r = Gi, i = Ji(String(n));
|
|
2105
|
+
if (Gi = i, r === i) return e.apply(this, t);
|
|
2175
2106
|
B("history", {
|
|
2176
2107
|
from: r,
|
|
2177
2108
|
to: i
|
|
@@ -2182,7 +2113,7 @@ function Zi() {
|
|
|
2182
2113
|
}
|
|
2183
2114
|
j(q.history, "pushState", e), j(q.history, "replaceState", e);
|
|
2184
2115
|
}
|
|
2185
|
-
function
|
|
2116
|
+
function Ji(e) {
|
|
2186
2117
|
try {
|
|
2187
2118
|
return new URL(e, q.location.origin).toString();
|
|
2188
2119
|
} catch {
|
|
@@ -2191,12 +2122,12 @@ function Qi(e) {
|
|
|
2191
2122
|
}
|
|
2192
2123
|
//#endregion
|
|
2193
2124
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/getNativeImplementation.js
|
|
2194
|
-
var
|
|
2195
|
-
function
|
|
2196
|
-
let t =
|
|
2125
|
+
var Yi = {};
|
|
2126
|
+
function Xi(e) {
|
|
2127
|
+
let t = Yi[e];
|
|
2197
2128
|
if (t) return t;
|
|
2198
2129
|
let n = q[e];
|
|
2199
|
-
if (
|
|
2130
|
+
if (qr(n)) return Yi[e] = n.bind(q);
|
|
2200
2131
|
let r = q.document;
|
|
2201
2132
|
if (r && typeof r.createElement == "function") try {
|
|
2202
2133
|
let t = r.createElement("iframe");
|
|
@@ -2204,24 +2135,24 @@ function ea(e) {
|
|
|
2204
2135
|
let i = t.contentWindow;
|
|
2205
2136
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2206
2137
|
} catch (t) {
|
|
2207
|
-
|
|
2138
|
+
Di && k.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2208
2139
|
}
|
|
2209
|
-
return n && (
|
|
2140
|
+
return n && (Yi[e] = n.bind(q));
|
|
2210
2141
|
}
|
|
2211
|
-
function
|
|
2212
|
-
|
|
2142
|
+
function Zi(e) {
|
|
2143
|
+
Yi[e] = void 0;
|
|
2213
2144
|
}
|
|
2214
2145
|
//#endregion
|
|
2215
2146
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/instrument/xhr.js
|
|
2216
2147
|
var X = "__sentry_xhr_v3__";
|
|
2217
|
-
function
|
|
2218
|
-
R("xhr", e), z("xhr",
|
|
2148
|
+
function Qi(e) {
|
|
2149
|
+
R("xhr", e), z("xhr", $i);
|
|
2219
2150
|
}
|
|
2220
|
-
function
|
|
2151
|
+
function $i() {
|
|
2221
2152
|
if (!q.XMLHttpRequest) return;
|
|
2222
2153
|
let e = XMLHttpRequest.prototype;
|
|
2223
2154
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2224
|
-
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = M(n[0]) ? n[0].toUpperCase() : void 0, o =
|
|
2155
|
+
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = M(n[0]) ? n[0].toUpperCase() : void 0, o = ea(n[1]);
|
|
2225
2156
|
if (!a || !o) return e.apply(t, n);
|
|
2226
2157
|
t[X] = {
|
|
2227
2158
|
method: a,
|
|
@@ -2256,7 +2187,7 @@ function ra() {
|
|
|
2256
2187
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2257
2188
|
} });
|
|
2258
2189
|
}
|
|
2259
|
-
function
|
|
2190
|
+
function ea(e) {
|
|
2260
2191
|
if (M(e)) return e;
|
|
2261
2192
|
try {
|
|
2262
2193
|
return e.toString();
|
|
@@ -2264,7 +2195,7 @@ function ia(e) {
|
|
|
2264
2195
|
}
|
|
2265
2196
|
//#endregion
|
|
2266
2197
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
2267
|
-
function
|
|
2198
|
+
function ta(e) {
|
|
2268
2199
|
if (typeof Element > "u") return !1;
|
|
2269
2200
|
try {
|
|
2270
2201
|
return e instanceof Element;
|
|
@@ -2274,8 +2205,8 @@ function aa(e) {
|
|
|
2274
2205
|
}
|
|
2275
2206
|
//#endregion
|
|
2276
2207
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
2277
|
-
var
|
|
2278
|
-
function
|
|
2208
|
+
var na = 40;
|
|
2209
|
+
function ra(e, t = Xi("fetch")) {
|
|
2279
2210
|
let n = 0, r = 0;
|
|
2280
2211
|
async function i(i) {
|
|
2281
2212
|
let a = i.body.length;
|
|
@@ -2298,17 +2229,17 @@ function sa(e, t = ea("fetch")) {
|
|
|
2298
2229
|
}
|
|
2299
2230
|
};
|
|
2300
2231
|
} catch (e) {
|
|
2301
|
-
throw
|
|
2232
|
+
throw Zi("fetch"), e;
|
|
2302
2233
|
} finally {
|
|
2303
2234
|
n -= a, r--;
|
|
2304
2235
|
}
|
|
2305
2236
|
}
|
|
2306
|
-
return
|
|
2237
|
+
return xn(e, i, hn(e.bufferSize || na));
|
|
2307
2238
|
}
|
|
2308
2239
|
//#endregion
|
|
2309
2240
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2310
|
-
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__,
|
|
2311
|
-
function
|
|
2241
|
+
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ia = 30, aa = 50;
|
|
2242
|
+
function oa(e, t, n, r) {
|
|
2312
2243
|
let i = {
|
|
2313
2244
|
filename: e,
|
|
2314
2245
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -2316,41 +2247,41 @@ function ua(e, t, n, r) {
|
|
|
2316
2247
|
};
|
|
2317
2248
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2318
2249
|
}
|
|
2319
|
-
var
|
|
2320
|
-
let t = e.match(
|
|
2250
|
+
var sa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, ca = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, la = /\((\S*)(?::(\d+))(?::(\d+))\)/, ua = /at (.+?) ?\(data:(.+?),/, da = [ia, (e) => {
|
|
2251
|
+
let t = e.match(ua);
|
|
2321
2252
|
if (t) return {
|
|
2322
2253
|
filename: `<data:${t[2]}>`,
|
|
2323
2254
|
function: t[1]
|
|
2324
2255
|
};
|
|
2325
|
-
let n =
|
|
2256
|
+
let n = sa.exec(e);
|
|
2326
2257
|
if (n) {
|
|
2327
2258
|
let [, e, t, r] = n;
|
|
2328
|
-
return
|
|
2259
|
+
return oa(e, "?", +t, +r);
|
|
2329
2260
|
}
|
|
2330
|
-
let r =
|
|
2261
|
+
let r = ca.exec(e);
|
|
2331
2262
|
if (r) {
|
|
2332
2263
|
var i;
|
|
2333
2264
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2334
|
-
let e =
|
|
2265
|
+
let e = la.exec(r[2]);
|
|
2335
2266
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2336
2267
|
}
|
|
2337
|
-
let [e, t] =
|
|
2338
|
-
return
|
|
2268
|
+
let [e, t] = ha(r[1] || "?", r[2]);
|
|
2269
|
+
return oa(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2339
2270
|
}
|
|
2340
|
-
}],
|
|
2341
|
-
let t =
|
|
2271
|
+
}], fa = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, pa = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, ma = ke(da, [aa, (e) => {
|
|
2272
|
+
let t = fa.exec(e);
|
|
2342
2273
|
if (t) {
|
|
2343
2274
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2344
|
-
let e =
|
|
2275
|
+
let e = pa.exec(t[3]);
|
|
2345
2276
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2346
2277
|
}
|
|
2347
2278
|
let e = t[3], n = t[1] || "?";
|
|
2348
|
-
return [n, e] =
|
|
2279
|
+
return [n, e] = ha(n, e), oa(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2349
2280
|
}
|
|
2350
|
-
}]),
|
|
2281
|
+
}]), ha = (e, t) => {
|
|
2351
2282
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2352
2283
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2353
|
-
},
|
|
2284
|
+
}, ga = 1024, _a = "Breadcrumbs", va = H(((e = {}) => {
|
|
2354
2285
|
let t = {
|
|
2355
2286
|
console: !0,
|
|
2356
2287
|
dom: !0,
|
|
@@ -2361,13 +2292,13 @@ var da = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, fa = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2361
2292
|
...e
|
|
2362
2293
|
};
|
|
2363
2294
|
return {
|
|
2364
|
-
name:
|
|
2295
|
+
name: _a,
|
|
2365
2296
|
setup(e) {
|
|
2366
|
-
t.console &&
|
|
2297
|
+
t.console && Ar(xa(e)), t.dom && zi(ba(e, t.dom)), t.xhr && Qi(Sa(e)), t.fetch && Yr(Ca(e)), t.history && Ki(wa(e)), t.sentry && e.on("beforeSendEvent", ya(e));
|
|
2367
2298
|
}
|
|
2368
2299
|
};
|
|
2369
2300
|
}));
|
|
2370
|
-
function
|
|
2301
|
+
function ya(e) {
|
|
2371
2302
|
return function(t) {
|
|
2372
2303
|
h() === e && U({
|
|
2373
2304
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
@@ -2377,17 +2308,17 @@ function Ca(e) {
|
|
|
2377
2308
|
}, { event: t });
|
|
2378
2309
|
};
|
|
2379
2310
|
}
|
|
2380
|
-
function
|
|
2311
|
+
function ba(e, t) {
|
|
2381
2312
|
return function(n) {
|
|
2382
2313
|
if (h() !== e) return;
|
|
2383
2314
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2384
|
-
o && o >
|
|
2315
|
+
o && o > ga && (Z && k.warn(`\`dom.maxStringLength\` cannot exceed ${ga}, but a value of ${o} was configured. Sentry will use ${ga} instead.`), o = ga), typeof a == "string" && (a = [a]);
|
|
2385
2316
|
try {
|
|
2386
|
-
let e = n.event, t =
|
|
2387
|
-
r =
|
|
2317
|
+
let e = n.event, t = Ta(e) ? e.target : e;
|
|
2318
|
+
r = Ni(t, {
|
|
2388
2319
|
keyAttrs: a,
|
|
2389
2320
|
maxStringLength: o
|
|
2390
|
-
}), i =
|
|
2321
|
+
}), i = ri(t);
|
|
2391
2322
|
} catch {
|
|
2392
2323
|
r = "<unknown>";
|
|
2393
2324
|
}
|
|
@@ -2403,7 +2334,7 @@ function wa(e, t) {
|
|
|
2403
2334
|
});
|
|
2404
2335
|
};
|
|
2405
2336
|
}
|
|
2406
|
-
function
|
|
2337
|
+
function xa(e) {
|
|
2407
2338
|
return function(t) {
|
|
2408
2339
|
if (h() !== e) return;
|
|
2409
2340
|
let n = {
|
|
@@ -2412,10 +2343,10 @@ function Ta(e) {
|
|
|
2412
2343
|
arguments: t.args,
|
|
2413
2344
|
logger: "console"
|
|
2414
2345
|
},
|
|
2415
|
-
level:
|
|
2416
|
-
message:
|
|
2346
|
+
level: Nr(t.level),
|
|
2347
|
+
message: ae(t.args, " ")
|
|
2417
2348
|
};
|
|
2418
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2349
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ae(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2419
2350
|
else return;
|
|
2420
2351
|
U(n, {
|
|
2421
2352
|
input: t.args,
|
|
@@ -2423,7 +2354,7 @@ function Ta(e) {
|
|
|
2423
2354
|
});
|
|
2424
2355
|
};
|
|
2425
2356
|
}
|
|
2426
|
-
function
|
|
2357
|
+
function Sa(e) {
|
|
2427
2358
|
return function(t) {
|
|
2428
2359
|
if (h() !== e) return;
|
|
2429
2360
|
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[X];
|
|
@@ -2441,12 +2372,12 @@ function Ea(e) {
|
|
|
2441
2372
|
category: "xhr",
|
|
2442
2373
|
data: l,
|
|
2443
2374
|
type: "http",
|
|
2444
|
-
level:
|
|
2375
|
+
level: Wr(s)
|
|
2445
2376
|
};
|
|
2446
2377
|
e.emit("beforeOutgoingRequestBreadcrumb", d, u), U(d, u);
|
|
2447
2378
|
};
|
|
2448
2379
|
}
|
|
2449
|
-
function
|
|
2380
|
+
function Ca(e) {
|
|
2450
2381
|
return function(t) {
|
|
2451
2382
|
if (h() !== e) return;
|
|
2452
2383
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
@@ -2476,16 +2407,16 @@ function Da(e) {
|
|
|
2476
2407
|
category: "fetch",
|
|
2477
2408
|
data: a,
|
|
2478
2409
|
type: "http",
|
|
2479
|
-
level:
|
|
2410
|
+
level: Wr(a.status_code)
|
|
2480
2411
|
};
|
|
2481
2412
|
e.emit("beforeOutgoingRequestBreadcrumb", s, o), U(s, o);
|
|
2482
2413
|
}
|
|
2483
2414
|
};
|
|
2484
2415
|
}
|
|
2485
|
-
function
|
|
2416
|
+
function wa(e) {
|
|
2486
2417
|
return function(t) {
|
|
2487
2418
|
if (h() !== e) return;
|
|
2488
|
-
let n = t.from, r = t.to, i =
|
|
2419
|
+
let n = t.from, r = t.to, i = tr(G.location.href), a = n ? tr(n) : void 0, o = tr(r);
|
|
2489
2420
|
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), U({
|
|
2490
2421
|
category: "navigation",
|
|
2491
2422
|
data: {
|
|
@@ -2495,12 +2426,12 @@ function Oa(e) {
|
|
|
2495
2426
|
});
|
|
2496
2427
|
};
|
|
2497
2428
|
}
|
|
2498
|
-
function
|
|
2429
|
+
function Ta(e) {
|
|
2499
2430
|
return !!e && !!e.target;
|
|
2500
2431
|
}
|
|
2501
2432
|
//#endregion
|
|
2502
2433
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2503
|
-
var
|
|
2434
|
+
var Ea = "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(","), Da = "BrowserApiErrors", Oa = H(((e = {}) => {
|
|
2504
2435
|
let t = {
|
|
2505
2436
|
XMLHttpRequest: !0,
|
|
2506
2437
|
eventTarget: !0,
|
|
@@ -2511,15 +2442,15 @@ var Aa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2511
2442
|
...e
|
|
2512
2443
|
};
|
|
2513
2444
|
return {
|
|
2514
|
-
name:
|
|
2445
|
+
name: Da,
|
|
2515
2446
|
setupOnce() {
|
|
2516
|
-
t.setTimeout && j(G, "setTimeout",
|
|
2447
|
+
t.setTimeout && j(G, "setTimeout", ka), t.setInterval && j(G, "setInterval", ka), t.requestAnimationFrame && j(G, "requestAnimationFrame", Aa), t.XMLHttpRequest && "XMLHttpRequest" in G && j(XMLHttpRequest.prototype, "send", ja);
|
|
2517
2448
|
let e = t.eventTarget;
|
|
2518
|
-
e && (Array.isArray(e) ? e :
|
|
2449
|
+
e && (Array.isArray(e) ? e : Ea).forEach((e) => Ma(e, t));
|
|
2519
2450
|
}
|
|
2520
2451
|
};
|
|
2521
2452
|
}));
|
|
2522
|
-
function
|
|
2453
|
+
function ka(e) {
|
|
2523
2454
|
return function(...t) {
|
|
2524
2455
|
let n = t[0];
|
|
2525
2456
|
return t[0] = K(n, { mechanism: {
|
|
@@ -2528,7 +2459,7 @@ function Na(e) {
|
|
|
2528
2459
|
} }), e.apply(this, t);
|
|
2529
2460
|
};
|
|
2530
2461
|
}
|
|
2531
|
-
function
|
|
2462
|
+
function Aa(e) {
|
|
2532
2463
|
return function(t) {
|
|
2533
2464
|
return e.apply(this, [K(t, { mechanism: {
|
|
2534
2465
|
data: { handler: O(e) },
|
|
@@ -2537,7 +2468,7 @@ function Pa(e) {
|
|
|
2537
2468
|
} })]);
|
|
2538
2469
|
};
|
|
2539
2470
|
}
|
|
2540
|
-
function
|
|
2471
|
+
function ja(e) {
|
|
2541
2472
|
return function(...t) {
|
|
2542
2473
|
let n = this;
|
|
2543
2474
|
return [
|
|
@@ -2557,13 +2488,13 @@ function Fa(e) {
|
|
|
2557
2488
|
}), e.apply(this, t);
|
|
2558
2489
|
};
|
|
2559
2490
|
}
|
|
2560
|
-
function
|
|
2491
|
+
function Ma(e, t) {
|
|
2561
2492
|
var n, r;
|
|
2562
2493
|
let i = (n = G[e]) == null ? void 0 : n.prototype;
|
|
2563
2494
|
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (j(i, "addEventListener", function(n) {
|
|
2564
2495
|
return function(r, i, a) {
|
|
2565
2496
|
try {
|
|
2566
|
-
|
|
2497
|
+
Na(i) && (i.handleEvent = K(i.handleEvent, { mechanism: {
|
|
2567
2498
|
data: {
|
|
2568
2499
|
handler: O(i),
|
|
2569
2500
|
target: e
|
|
@@ -2572,7 +2503,7 @@ function Ia(e, t) {
|
|
|
2572
2503
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2573
2504
|
} }));
|
|
2574
2505
|
} catch {}
|
|
2575
|
-
return t.unregisterOriginalCallbacks &&
|
|
2506
|
+
return t.unregisterOriginalCallbacks && Pa(this, r, i), n.apply(this, [
|
|
2576
2507
|
r,
|
|
2577
2508
|
K(i, { mechanism: {
|
|
2578
2509
|
data: {
|
|
@@ -2597,15 +2528,15 @@ function Ia(e, t) {
|
|
|
2597
2528
|
};
|
|
2598
2529
|
}));
|
|
2599
2530
|
}
|
|
2600
|
-
function
|
|
2531
|
+
function Na(e) {
|
|
2601
2532
|
return typeof e.handleEvent == "function";
|
|
2602
2533
|
}
|
|
2603
|
-
function
|
|
2534
|
+
function Pa(e, t, n) {
|
|
2604
2535
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2605
2536
|
}
|
|
2606
2537
|
//#endregion
|
|
2607
2538
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2608
|
-
var
|
|
2539
|
+
var Fa = H((e = {}) => {
|
|
2609
2540
|
var t;
|
|
2610
2541
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2611
2542
|
return {
|
|
@@ -2617,22 +2548,22 @@ var za = H((e = {}) => {
|
|
|
2617
2548
|
}
|
|
2618
2549
|
_e({ ignoreDuration: !0 });
|
|
2619
2550
|
let e = !1;
|
|
2620
|
-
|
|
2551
|
+
ji(() => {
|
|
2621
2552
|
e || (Re(), e = !0);
|
|
2622
2553
|
});
|
|
2623
|
-
let t =
|
|
2554
|
+
let t = se(), r = t.getUser();
|
|
2624
2555
|
t.addScopeListener((t) => {
|
|
2625
2556
|
let n = t.getUser();
|
|
2626
2557
|
((r == null ? void 0 : r.id) !== (n == null ? void 0 : n.id) || (r == null ? void 0 : r.ip_address) !== (n == null ? void 0 : n.ip_address)) && (r = n, e && Re());
|
|
2627
|
-
}), n === "route" &&
|
|
2558
|
+
}), n === "route" && Ki(({ from: t, to: n }) => {
|
|
2628
2559
|
t !== n && (_e({ ignoreDuration: !0 }), Re(), e = !0);
|
|
2629
2560
|
});
|
|
2630
2561
|
}
|
|
2631
2562
|
};
|
|
2632
|
-
}),
|
|
2633
|
-
name:
|
|
2563
|
+
}), Ia = "CultureContext", La = H((() => ({
|
|
2564
|
+
name: Ia,
|
|
2634
2565
|
preprocessEvent(e) {
|
|
2635
|
-
let t =
|
|
2566
|
+
let t = Ra();
|
|
2636
2567
|
if (t) {
|
|
2637
2568
|
var n;
|
|
2638
2569
|
e.contexts = {
|
|
@@ -2645,15 +2576,15 @@ var za = H((e = {}) => {
|
|
|
2645
2576
|
}
|
|
2646
2577
|
},
|
|
2647
2578
|
processSegmentSpan(e) {
|
|
2648
|
-
let t =
|
|
2649
|
-
t &&
|
|
2579
|
+
let t = Ra();
|
|
2580
|
+
t && Lt(e, {
|
|
2650
2581
|
"culture.locale": t.locale,
|
|
2651
2582
|
"culture.timezone": t.timezone,
|
|
2652
2583
|
"culture.calendar": t.calendar
|
|
2653
2584
|
});
|
|
2654
2585
|
}
|
|
2655
2586
|
})));
|
|
2656
|
-
function
|
|
2587
|
+
function Ra() {
|
|
2657
2588
|
try {
|
|
2658
2589
|
let e = G.Intl;
|
|
2659
2590
|
if (!e) return;
|
|
@@ -2669,27 +2600,27 @@ function Ha() {
|
|
|
2669
2600
|
}
|
|
2670
2601
|
//#endregion
|
|
2671
2602
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2672
|
-
var
|
|
2603
|
+
var za = "GlobalHandlers", Ba = H(((e = {}) => {
|
|
2673
2604
|
let t = {
|
|
2674
2605
|
onerror: !0,
|
|
2675
2606
|
onunhandledrejection: !0,
|
|
2676
2607
|
...e
|
|
2677
2608
|
};
|
|
2678
2609
|
return {
|
|
2679
|
-
name:
|
|
2610
|
+
name: za,
|
|
2680
2611
|
setupOnce() {
|
|
2681
2612
|
Error.stackTraceLimit = 50;
|
|
2682
2613
|
},
|
|
2683
2614
|
setup(e) {
|
|
2684
|
-
t.onerror && (
|
|
2615
|
+
t.onerror && (Va(e), Ka("onerror")), t.onunhandledrejection && (Ha(e), Ka("onunhandledrejection"));
|
|
2685
2616
|
}
|
|
2686
2617
|
};
|
|
2687
2618
|
}));
|
|
2688
|
-
function
|
|
2689
|
-
|
|
2690
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2691
|
-
if (h() !== e ||
|
|
2692
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2619
|
+
function Va(e) {
|
|
2620
|
+
ct((t) => {
|
|
2621
|
+
let { stackParser: n, attachStacktrace: r } = qa();
|
|
2622
|
+
if (h() !== e || ai()) return;
|
|
2623
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ga(bi(n, c || i, void 0, r, !1), a, o, s);
|
|
2693
2624
|
l.level = "error", Ve(l, {
|
|
2694
2625
|
originalException: c,
|
|
2695
2626
|
mechanism: {
|
|
@@ -2699,11 +2630,11 @@ function Ga(e) {
|
|
|
2699
2630
|
});
|
|
2700
2631
|
});
|
|
2701
2632
|
}
|
|
2702
|
-
function
|
|
2703
|
-
|
|
2704
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2705
|
-
if (h() !== e ||
|
|
2706
|
-
let i =
|
|
2633
|
+
function Ha(e) {
|
|
2634
|
+
dt((t) => {
|
|
2635
|
+
let { stackParser: n, attachStacktrace: r } = qa();
|
|
2636
|
+
if (h() !== e || ai()) return;
|
|
2637
|
+
let i = Ua(t), a = he(i) ? Wa(i) : bi(n, i, void 0, r, !0);
|
|
2707
2638
|
a.level = "error", Ve(a, {
|
|
2708
2639
|
originalException: i,
|
|
2709
2640
|
mechanism: {
|
|
@@ -2713,7 +2644,7 @@ function Ka(e) {
|
|
|
2713
2644
|
});
|
|
2714
2645
|
});
|
|
2715
2646
|
}
|
|
2716
|
-
function
|
|
2647
|
+
function Ua(e) {
|
|
2717
2648
|
if (he(e)) return e;
|
|
2718
2649
|
try {
|
|
2719
2650
|
if ("reason" in e) return e.reason;
|
|
@@ -2721,47 +2652,47 @@ function qa(e) {
|
|
|
2721
2652
|
} catch {}
|
|
2722
2653
|
return e;
|
|
2723
2654
|
}
|
|
2724
|
-
function
|
|
2655
|
+
function Wa(e) {
|
|
2725
2656
|
return { exception: { values: [{
|
|
2726
2657
|
type: "UnhandledRejection",
|
|
2727
2658
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2728
2659
|
}] } };
|
|
2729
2660
|
}
|
|
2730
|
-
function
|
|
2661
|
+
function Ga(e, t, n, r) {
|
|
2731
2662
|
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 || [];
|
|
2732
2663
|
if (c.length === 0) {
|
|
2733
2664
|
var l;
|
|
2734
2665
|
c.push({
|
|
2735
2666
|
colno: r,
|
|
2736
2667
|
lineno: n,
|
|
2737
|
-
filename: (l =
|
|
2668
|
+
filename: (l = Ja(t)) == null ? ni() : l,
|
|
2738
2669
|
function: "?",
|
|
2739
2670
|
in_app: !0
|
|
2740
2671
|
});
|
|
2741
2672
|
}
|
|
2742
2673
|
return e;
|
|
2743
2674
|
}
|
|
2744
|
-
function
|
|
2675
|
+
function Ka(e) {
|
|
2745
2676
|
Z && k.log(`Global Handler attached: ${e}`);
|
|
2746
2677
|
}
|
|
2747
|
-
function
|
|
2678
|
+
function qa() {
|
|
2748
2679
|
let e = h();
|
|
2749
2680
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2750
2681
|
stackParser: () => [],
|
|
2751
2682
|
attachStacktrace: !1
|
|
2752
2683
|
};
|
|
2753
2684
|
}
|
|
2754
|
-
function
|
|
2755
|
-
if (!(!M(e) || e.length === 0)) return e.startsWith("data:") ? `<${
|
|
2685
|
+
function Ja(e) {
|
|
2686
|
+
if (!(!M(e) || e.length === 0)) return e.startsWith("data:") ? `<${nr(e, !1)}>` : e;
|
|
2756
2687
|
}
|
|
2757
2688
|
//#endregion
|
|
2758
2689
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2759
|
-
var
|
|
2690
|
+
var Ya = H(() => ({
|
|
2760
2691
|
name: "HttpContext",
|
|
2761
2692
|
preprocessEvent(e) {
|
|
2762
2693
|
var t;
|
|
2763
2694
|
if (!G.navigator && !G.location && !G.document) return;
|
|
2764
|
-
let n =
|
|
2695
|
+
let n = si(), r = {
|
|
2765
2696
|
...n.headers,
|
|
2766
2697
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2767
2698
|
};
|
|
@@ -2773,103 +2704,103 @@ var $a = H(() => ({
|
|
|
2773
2704
|
},
|
|
2774
2705
|
processSegmentSpan(e) {
|
|
2775
2706
|
var t;
|
|
2776
|
-
let n = (t = e.attributes) == null ? void 0 : t[
|
|
2707
|
+
let n = (t = e.attributes) == null ? void 0 : t[oe];
|
|
2777
2708
|
if (!G.navigator && !G.location && !G.document) return;
|
|
2778
|
-
let r =
|
|
2779
|
-
|
|
2780
|
-
[
|
|
2709
|
+
let r = si();
|
|
2710
|
+
Lt(e, {
|
|
2711
|
+
[It]: n === "http.client" ? void 0 : r.url,
|
|
2781
2712
|
"http.request.header.user_agent": r.headers["User-Agent"],
|
|
2782
2713
|
"http.request.header.referer": r.headers.Referer
|
|
2783
2714
|
});
|
|
2784
2715
|
}
|
|
2785
|
-
})),
|
|
2786
|
-
let t = e.limit ||
|
|
2716
|
+
})), Xa = "cause", Za = 5, Qa = "LinkedErrors", $a = H(((e = {}) => {
|
|
2717
|
+
let t = e.limit || Za, n = e.key || Xa;
|
|
2787
2718
|
return {
|
|
2788
|
-
name:
|
|
2719
|
+
name: Qa,
|
|
2789
2720
|
preprocessEvent(e, r, i) {
|
|
2790
|
-
|
|
2721
|
+
Sr(ci, i.getOptions().stackParser, n, t, e, r);
|
|
2791
2722
|
}
|
|
2792
2723
|
};
|
|
2793
|
-
})),
|
|
2794
|
-
function
|
|
2724
|
+
})), eo = /^HTML(\w*)Element$/;
|
|
2725
|
+
function to(e) {
|
|
2795
2726
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2796
2727
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2797
|
-
if (
|
|
2798
|
-
let t =
|
|
2799
|
-
if (
|
|
2728
|
+
if (ta(e)) {
|
|
2729
|
+
let t = no(e);
|
|
2730
|
+
if (eo.test(t)) return `[HTMLElement: ${Ni(e)}]`;
|
|
2800
2731
|
}
|
|
2801
2732
|
}
|
|
2802
|
-
function
|
|
2733
|
+
function no(e) {
|
|
2803
2734
|
let t = Object.getPrototypeOf(e);
|
|
2804
2735
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2805
2736
|
}
|
|
2806
2737
|
//#endregion
|
|
2807
2738
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2808
|
-
function
|
|
2809
|
-
return
|
|
2739
|
+
function ro() {
|
|
2740
|
+
return io() ? (Z && je(() => {
|
|
2810
2741
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2811
2742
|
}), !0) : !1;
|
|
2812
2743
|
}
|
|
2813
|
-
function
|
|
2744
|
+
function io() {
|
|
2814
2745
|
var e;
|
|
2815
2746
|
if (G.window === void 0) return !1;
|
|
2816
2747
|
let t = G;
|
|
2817
2748
|
if (t.nw) return !1;
|
|
2818
2749
|
let n = t.chrome || t.browser;
|
|
2819
2750
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2820
|
-
let r =
|
|
2751
|
+
let r = ni();
|
|
2821
2752
|
return !(G === G.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2822
2753
|
}
|
|
2823
2754
|
//#endregion
|
|
2824
2755
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2825
|
-
function
|
|
2756
|
+
function ao(e) {
|
|
2826
2757
|
return [
|
|
2827
|
-
gr(),
|
|
2828
2758
|
fr(),
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
zr(),
|
|
2759
|
+
cr(),
|
|
2760
|
+
Ur(),
|
|
2761
|
+
Oa(),
|
|
2762
|
+
va(),
|
|
2763
|
+
Ba(),
|
|
2835
2764
|
$a(),
|
|
2836
|
-
|
|
2837
|
-
|
|
2765
|
+
Fr(),
|
|
2766
|
+
Ya(),
|
|
2767
|
+
La(),
|
|
2768
|
+
Fa()
|
|
2838
2769
|
];
|
|
2839
2770
|
}
|
|
2840
|
-
function
|
|
2841
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2771
|
+
function oo(e = {}) {
|
|
2772
|
+
let t = !e.skipBrowserExtensionCheck && ro(), n = e.defaultIntegrations == null ? ao() : e.defaultIntegrations, r = {
|
|
2842
2773
|
...e,
|
|
2843
2774
|
enabled: !t && e.enabled,
|
|
2844
|
-
stackParser: Se(e.stackParser ||
|
|
2845
|
-
integrations:
|
|
2775
|
+
stackParser: Se(e.stackParser || ma),
|
|
2776
|
+
integrations: Kt({
|
|
2846
2777
|
integrations: e.integrations,
|
|
2847
2778
|
defaultIntegrations: n
|
|
2848
2779
|
}),
|
|
2849
|
-
transport: e.transport ||
|
|
2780
|
+
transport: e.transport || ra
|
|
2850
2781
|
};
|
|
2851
|
-
return y(
|
|
2782
|
+
return y(to), Xn(Ti, r);
|
|
2852
2783
|
}
|
|
2853
2784
|
//#endregion
|
|
2854
2785
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2855
|
-
function
|
|
2786
|
+
function so(e) {
|
|
2856
2787
|
return Ee(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2857
2788
|
}
|
|
2858
2789
|
//#endregion
|
|
2859
2790
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/sdk.js
|
|
2860
|
-
function
|
|
2791
|
+
function co(e) {
|
|
2861
2792
|
let t = { ...e };
|
|
2862
|
-
|
|
2863
|
-
let n =
|
|
2864
|
-
return y(
|
|
2793
|
+
ir(t, "react"), me("react", { version: nt.version });
|
|
2794
|
+
let n = oo(t);
|
|
2795
|
+
return y(lo), n;
|
|
2865
2796
|
}
|
|
2866
|
-
function
|
|
2867
|
-
return
|
|
2797
|
+
function lo(e) {
|
|
2798
|
+
return so(e) ? "[SyntheticEvent]" : to(e);
|
|
2868
2799
|
}
|
|
2869
2800
|
//#endregion
|
|
2870
2801
|
//#region src/tools/sentry.ts
|
|
2871
|
-
var
|
|
2872
|
-
function
|
|
2802
|
+
var uo = "production", fo = "3.43.1";
|
|
2803
|
+
function po() {
|
|
2873
2804
|
let e = "sentry_offline_queue";
|
|
2874
2805
|
return {
|
|
2875
2806
|
async push(t) {
|
|
@@ -2916,16 +2847,16 @@ function _o() {
|
|
|
2916
2847
|
}
|
|
2917
2848
|
};
|
|
2918
2849
|
}
|
|
2919
|
-
function
|
|
2920
|
-
let t =
|
|
2921
|
-
|
|
2850
|
+
function mo(e) {
|
|
2851
|
+
let t = er(ra);
|
|
2852
|
+
co({
|
|
2922
2853
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2923
|
-
release:
|
|
2924
|
-
environment:
|
|
2854
|
+
release: fo,
|
|
2855
|
+
environment: uo,
|
|
2925
2856
|
sendDefaultPii: !0,
|
|
2926
2857
|
transport: (e) => t({
|
|
2927
2858
|
...e,
|
|
2928
|
-
createStore: () =>
|
|
2859
|
+
createStore: () => po(),
|
|
2929
2860
|
flushAtStartup: !0,
|
|
2930
2861
|
shouldStore: async (e, t) => {
|
|
2931
2862
|
var n, r, i;
|
|
@@ -2949,9 +2880,9 @@ function vo(e) {
|
|
|
2949
2880
|
beforeSend(e) {
|
|
2950
2881
|
return e;
|
|
2951
2882
|
}
|
|
2952
|
-
}), e.eventId && Pe("eventId", e.eventId), Pe("isWebview", e.isWebview), Pe("source", "main"), Be({ ip_address: "{{auto}}" }),
|
|
2883
|
+
}), e.eventId && Pe("eventId", e.eventId), Pe("isWebview", e.isWebview), Pe("source", "main"), Be({ ip_address: "{{auto}}" }), ho();
|
|
2953
2884
|
}
|
|
2954
|
-
function
|
|
2885
|
+
function ho() {
|
|
2955
2886
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2956
2887
|
Me(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2957
2888
|
});
|
|
@@ -2968,28 +2899,38 @@ function yo() {
|
|
|
2968
2899
|
});
|
|
2969
2900
|
}
|
|
2970
2901
|
//#endregion
|
|
2902
|
+
//#region src/tools/style-registry.ts
|
|
2903
|
+
var go;
|
|
2904
|
+
function _o() {
|
|
2905
|
+
let e = window.__efpStyleElements;
|
|
2906
|
+
if (!(!e || e.length === 0)) {
|
|
2907
|
+
go || (go = document.createDocumentFragment());
|
|
2908
|
+
for (let t of e) go.appendChild(t);
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
//#endregion
|
|
2971
2912
|
//#region src/utils/heatmap-enabled.ts
|
|
2972
|
-
function
|
|
2913
|
+
function vo(e) {
|
|
2973
2914
|
return Object.keys(e).length > 0 && e.enabled !== !1;
|
|
2974
2915
|
}
|
|
2975
2916
|
//#endregion
|
|
2976
2917
|
//#region src/utils/is-localhost.ts
|
|
2977
|
-
var { hostname: Q, protocol:
|
|
2918
|
+
var { hostname: Q, protocol: yo } = window.location, bo = 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") || yo === "file:" || Q === "";
|
|
2978
2919
|
//#endregion
|
|
2979
2920
|
//#region src/utils/loadCustomCss.ts
|
|
2980
|
-
async function
|
|
2921
|
+
async function xo(e, t) {
|
|
2981
2922
|
if (e != null && e.customCss) {
|
|
2982
2923
|
let n = document.createElement("style");
|
|
2983
2924
|
if (n.textContent = e.customCss, document.head.append(n), typeof ShadowRoot < "u" && t instanceof ShadowRoot) {
|
|
2984
2925
|
let n = document.createElement("style");
|
|
2985
2926
|
n.textContent = e.customCss, t.append(n);
|
|
2986
2927
|
}
|
|
2987
|
-
await
|
|
2928
|
+
await s(e.customCss);
|
|
2988
2929
|
}
|
|
2989
2930
|
}
|
|
2990
2931
|
//#endregion
|
|
2991
2932
|
//#region src/utils/loadIcons.ts
|
|
2992
|
-
async function
|
|
2933
|
+
async function So(e) {
|
|
2993
2934
|
try {
|
|
2994
2935
|
(await Promise.allSettled(Object.entries({
|
|
2995
2936
|
departure: "icons/departure.svg",
|
|
@@ -3001,20 +2942,20 @@ async function wo(e) {
|
|
|
3001
2942
|
transition_down: "icons/transition_down.svg",
|
|
3002
2943
|
kiosk: "icons/kiosk.svg",
|
|
3003
2944
|
yah: "icons/yah.svg"
|
|
3004
|
-
}).map(([e, t]) =>
|
|
2945
|
+
}).map(([e, t]) => Ze(r + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
3005
2946
|
} catch (e) {
|
|
3006
2947
|
console.warn(e);
|
|
3007
2948
|
}
|
|
3008
2949
|
}
|
|
3009
2950
|
//#endregion
|
|
3010
2951
|
//#region src/utils/use-shadow.ts
|
|
3011
|
-
var
|
|
2952
|
+
var Co, wo = typeof document < "u" && !!((Co = document.body) != null && Co.attachShadow) && a && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0;
|
|
3012
2953
|
//#endregion
|
|
3013
2954
|
//#region src/floorplan.loader.ts
|
|
3014
2955
|
function $() {
|
|
3015
2956
|
throw Error("FloorPlan not ready");
|
|
3016
2957
|
}
|
|
3017
|
-
var
|
|
2958
|
+
var To = "FloorPlan destroyed before it finished loading", Eo = class {
|
|
3018
2959
|
get ready() {
|
|
3019
2960
|
return this._ready;
|
|
3020
2961
|
}
|
|
@@ -3025,7 +2966,7 @@ var Do = "FloorPlan destroyed before it finished loading", Oo = class {
|
|
|
3025
2966
|
return this.consent === "ask" ? void 0 : this.consent === "granted";
|
|
3026
2967
|
}
|
|
3027
2968
|
getInternalSettings() {
|
|
3028
|
-
return
|
|
2969
|
+
return rt(t());
|
|
3029
2970
|
}
|
|
3030
2971
|
selectBooth(e) {
|
|
3031
2972
|
$();
|
|
@@ -3133,14 +3074,21 @@ var Do = "FloorPlan destroyed before it finished loading", Oo = class {
|
|
|
3133
3074
|
$();
|
|
3134
3075
|
}
|
|
3135
3076
|
destroy() {
|
|
3136
|
-
|
|
3077
|
+
if (!this.destroyed) {
|
|
3078
|
+
this.destroyed = !0, this.rejectReady(/* @__PURE__ */ Error(To));
|
|
3079
|
+
try {
|
|
3080
|
+
this.releaseResources();
|
|
3081
|
+
} finally {
|
|
3082
|
+
u();
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3137
3085
|
}
|
|
3138
3086
|
unstable_destroy() {
|
|
3139
3087
|
this.destroy();
|
|
3140
3088
|
}
|
|
3141
3089
|
releaseResources() {
|
|
3142
|
-
for (window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler); this.element.firstChild;) this.element.removeChild(this.element.firstChild);
|
|
3143
|
-
delete this.element.__expofp,
|
|
3090
|
+
for (window.removeEventListener("__efpStyleLoad", this.efpStyleLoadHandler), _o(); this.element.firstChild;) this.element.removeChild(this.element.firstChild);
|
|
3091
|
+
delete this.element.__expofp, it();
|
|
3144
3092
|
}
|
|
3145
3093
|
highlightExhibitors(e) {
|
|
3146
3094
|
$();
|
|
@@ -3196,30 +3144,30 @@ var Do = "FloorPlan destroyed before it finished loading", Oo = class {
|
|
|
3196
3144
|
selectAccessibleRoute(e) {
|
|
3197
3145
|
$();
|
|
3198
3146
|
}
|
|
3199
|
-
constructor(e,
|
|
3147
|
+
constructor(e, a) {
|
|
3200
3148
|
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.rejectReady = () => void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.destroyed = !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;
|
|
3201
3149
|
let s = t();
|
|
3202
|
-
this.noOverlay = !!s.noOverlay, this.offHistory = !!s.offHistory, this.ignoreQuery = s.ignoreQuery, this.consent = s.consent, this.consent === "ask" && (Xe ? this.consent = "granted" :
|
|
3150
|
+
this.noOverlay = !!s.noOverlay, this.offHistory = !!s.offHistory, this.ignoreQuery = s.ignoreQuery, this.consent = s.consent, this.consent === "ask" && (Xe ? this.consent = "granted" : bo && !d && (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) => {
|
|
3203
3151
|
this.resolveReady = e, this.rejectReady = t;
|
|
3204
|
-
}), this._ready.catch(() => void 0), this.element =
|
|
3205
|
-
let c =
|
|
3152
|
+
}), this._ready.catch(() => void 0), this.element = a;
|
|
3153
|
+
let c = a;
|
|
3206
3154
|
if (c.__expofp) throw Error("Element already in use");
|
|
3207
3155
|
c.__expofp = this;
|
|
3208
|
-
let
|
|
3209
|
-
|
|
3210
|
-
eventId:
|
|
3156
|
+
let u = s.expo;
|
|
3157
|
+
mo({
|
|
3158
|
+
eventId: u || "",
|
|
3211
3159
|
isWebview: Xe
|
|
3212
|
-
}), this.eventId =
|
|
3160
|
+
}), this.eventId = u, window.__efpEvent = u, window.__efpElement = a;
|
|
3213
3161
|
let f = document.createElement("div");
|
|
3214
|
-
f.style.height = "100%", f.style.width = "100%",
|
|
3162
|
+
f.style.height = "100%", f.style.width = "100%", a.appendChild(f);
|
|
3215
3163
|
let p;
|
|
3216
|
-
if (
|
|
3164
|
+
if (wo) {
|
|
3217
3165
|
p = f.attachShadow({ mode: "open" });
|
|
3218
3166
|
let e = p, t = document;
|
|
3219
3167
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3220
3168
|
} else p = f;
|
|
3221
3169
|
let m = document.createElement("div");
|
|
3222
|
-
m.style.height = "100%", m.style.width = "100%", p.appendChild(m),
|
|
3170
|
+
m.style.height = "100%", m.style.width = "100%", p.appendChild(m), wo && Object.defineProperty(m, "ownerDocument", { value: p }), window.__efpShadowDOMStyleParent = wo ? p : void 0, this.renderTarget = m, l.log("Instantiating ExpoFP floorplan", a, u);
|
|
3223
3171
|
let h = 0;
|
|
3224
3172
|
this.efpStyleLoadHandler = function(e) {
|
|
3225
3173
|
var t;
|
|
@@ -3231,10 +3179,10 @@ var Do = "FloorPlan destroyed before it finished loading", Oo = class {
|
|
|
3231
3179
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler), this.efpStyleLoadHandler();
|
|
3232
3180
|
let g = this;
|
|
3233
3181
|
(async function() {
|
|
3234
|
-
var e,
|
|
3182
|
+
var e, a, s;
|
|
3235
3183
|
let c = t();
|
|
3236
3184
|
if (await i(), g.destroyed) return;
|
|
3237
|
-
let
|
|
3185
|
+
let u = new URLSearchParams(window.location.search), d, f;
|
|
3238
3186
|
if (c != null && c.trackerUrl) try {
|
|
3239
3187
|
d = new URL(c.trackerUrl), f = d.searchParams.get("expoId");
|
|
3240
3188
|
} catch (e) {
|
|
@@ -3248,11 +3196,11 @@ var Do = "FloorPlan destroyed before it finished loading", Oo = class {
|
|
|
3248
3196
|
headers: { "Content-Type": "application/json" },
|
|
3249
3197
|
body: JSON.stringify({
|
|
3250
3198
|
expoId: f,
|
|
3251
|
-
token: decodeURIComponent((t =
|
|
3199
|
+
token: decodeURIComponent((t = u.get("t")) == null ? "" : t)
|
|
3252
3200
|
})
|
|
3253
3201
|
}), i = [];
|
|
3254
3202
|
r.ok && (i = (await r.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: i };
|
|
3255
|
-
}, h = (e = c == null ? void 0 : c.heatmap) == null ? {} : e, ee =
|
|
3203
|
+
}, h = (e = c == null ? void 0 : c.heatmap) == null ? {} : e, ee = vo(h) || u.get("heatmap") === "true", _ = h.variant === "yah" || u.get("type") === "yah", v = h.kiosk === !0 || u.get("subtype") === "kiosk";
|
|
3256
3204
|
if (ee) try {
|
|
3257
3205
|
if (_) v ? await m({
|
|
3258
3206
|
dataUrl: "/api/kiosks/list/viewer",
|
|
@@ -3272,9 +3220,9 @@ var Do = "FloorPlan destroyed before it finished loading", Oo = class {
|
|
|
3272
3220
|
var y, b;
|
|
3273
3221
|
if (!d || !f) throw Error("trackerUrl or expoId is missing");
|
|
3274
3222
|
let e = new URL("/api/fp-stats/get", d.origin);
|
|
3275
|
-
e.searchParams.set("expoId", f), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent((y =
|
|
3223
|
+
e.searchParams.set("expoId", f), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent((y = u.get("t")) == null ? "" : y));
|
|
3276
3224
|
let t = new URL("api/fp-stats/get", d.origin);
|
|
3277
|
-
t.searchParams.set("expoId", f), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent((b =
|
|
3225
|
+
t.searchParams.set("expoId", f), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent((b = u.get("t")) == null ? "" : b));
|
|
3278
3226
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
3279
3227
|
window.__heatmapData = {
|
|
3280
3228
|
booths: i,
|
|
@@ -3285,26 +3233,29 @@ var Do = "FloorPlan destroyed before it finished loading", Oo = class {
|
|
|
3285
3233
|
console.error("Heatmap: Initialization error", e);
|
|
3286
3234
|
}
|
|
3287
3235
|
let x = [
|
|
3288
|
-
n(
|
|
3289
|
-
n(
|
|
3290
|
-
o("Oswald",
|
|
3291
|
-
o("Oswald",
|
|
3292
|
-
o("Inter",
|
|
3293
|
-
o("Inter",
|
|
3294
|
-
o("Inter",
|
|
3295
|
-
o("efp-symbols",
|
|
3296
|
-
|
|
3297
|
-
|
|
3236
|
+
n(r + "vendor/sanitize-css/sanitize.css", p),
|
|
3237
|
+
n(r + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", p),
|
|
3238
|
+
o("Oswald", r + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
3239
|
+
o("Oswald", r + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
3240
|
+
o("Inter", r + "fonts/inter-400.woff2", { weight: 400 }),
|
|
3241
|
+
o("Inter", r + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3242
|
+
o("Inter", r + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3243
|
+
o("efp-symbols", r + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3244
|
+
xo(c, p),
|
|
3245
|
+
So(g.icons)
|
|
3298
3246
|
];
|
|
3299
3247
|
if (await Promise.all(x), g.destroyed) return;
|
|
3300
|
-
g.enableRotation = (
|
|
3301
|
-
let {
|
|
3248
|
+
g.enableRotation = (a = c == null ? void 0 : c.enableRotation) != null && a, g.alwaysShowSidebar = (s = c == null ? void 0 : c.alwaysShowSidebar) != null && s, l.log("Data loaded");
|
|
3249
|
+
let { createLivePlan: S } = await import(
|
|
3250
|
+
/* webpackChunkName: "floorplan" */
|
|
3251
|
+
"./create-live-plan-DdDxRVpo.js"
|
|
3252
|
+
), { default: C } = await import(
|
|
3302
3253
|
/* webpackChunkName: "floorplan" */
|
|
3303
|
-
"./floorplan.ready-
|
|
3254
|
+
"./floorplan.ready-Dfo1nWhu.js"
|
|
3304
3255
|
);
|
|
3305
|
-
g.destroyed || Object.setPrototypeOf(g,
|
|
3256
|
+
g.destroyed || (S(), Object.setPrototypeOf(g, C.prototype).init());
|
|
3306
3257
|
})();
|
|
3307
3258
|
}
|
|
3308
3259
|
};
|
|
3309
3260
|
//#endregion
|
|
3310
|
-
export {
|
|
3261
|
+
export { Ut as a, $e as c, G as i, vo as n, et as o, Z as r, tt as s, Eo as t };
|