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