@expofp/floorplan 3.7.5 → 3.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-C2KZSXb2.js → Button-be7-qIF6.js} +8 -8
- package/dist/browser/{CookieConsent-Cq4qcueB.js → CookieConsent-B03ekG96.js} +7 -7
- package/dist/browser/{Debug-D1JNigN7.js → Debug-B1UNFScp.js} +7 -7
- package/dist/browser/{Demo-XVDEqvrA.js → Demo-CTtUvDQs.js} +15 -13
- package/dist/browser/{Free-C3wcDnvz.js → Free-BZd4QeSR.js} +15 -13
- package/dist/browser/{Gallery-CGxt4BEQ.js → Gallery-z592Fa7j.js} +2739 -2739
- package/dist/browser/{GpsLoader-BL9r9aBb.js → GpsLoader-DWmPBJyy.js} +61 -64
- package/dist/browser/{KioskStore-CEjAu1fS.js → KioskStore-BSqmbs3E.js} +7 -7
- package/dist/browser/{MaplibreAdapter-CFCATr0R.js → MaplibreAdapter-DIRCFD3I.js} +100 -100
- package/dist/browser/{Modal-DwvgaUJ4.js → Modal-Ud1JA7hD.js} +18 -18
- package/dist/browser/{PermissionNotice-Bfmg473m.js → PermissionNotice-BbZJ6-58.js} +11 -11
- package/dist/browser/{SetKioskMode-DgZnzdyw.js → SetKioskMode-34D-0WuZ.js} +15 -15
- package/dist/browser/ShowKiosk-BtV44Rii.js +27 -0
- package/dist/browser/{TouchHand-CW3feM7g.js → TouchHand-CNtsbSKe.js} +5 -7
- package/dist/browser/{ViewerMenuPanel-DTLGFJdO.js → ViewerMenuPanel-pOtBzzsw.js} +9 -11
- package/dist/browser/{add-debug-secret-listener-DLq_05Ya.js → add-debug-secret-listener-BGsmVhBN.js} +1 -1
- package/dist/browser/{boolean-editor-CPZmUe0k.js → boolean-editor-Cl6OlT2C.js} +9 -9
- package/dist/browser/{bootIntercom-OQUPpNv5.js → bootIntercom-uRX6nuBs.js} +2 -2
- package/dist/browser/{browser-CuHRVR45.js → browser-BHDrnFTi.js} +2 -2
- package/dist/browser/bundle.json +57 -57
- package/dist/browser/{classnames-Bua-vCkl.js → classnames-QBzO007b.js} +2 -2
- package/dist/browser/{client-BtBjpMA2.js → client-ygx4Nlgh.js} +4 -4
- package/dist/browser/{components-Bk-VYz6V.js → components-BnDl8_Vi.js} +2164 -2170
- package/dist/browser/{createWayfinding-BcyMyZfV.js → createWayfinding-Buli80Pv.js} +408 -408
- package/dist/browser/{debug-overlay-Bee-ID_e.js → debug-overlay-DYbF5EFf.js} +10 -10
- package/dist/browser/{debug-ui-C6Mu7jmE.js → debug-ui-v2AnaEsF.js} +6 -6
- package/dist/browser/{dist-Ypj0lz96.js → dist-64g9ko-T.js} +6 -6
- package/dist/browser/{dist-C3qJPKIL.js → dist-DtdB9fNn.js} +5 -5
- package/dist/browser/{dist-C6Bwrbur.js → dist-lpbRWIMA.js} +3 -3
- package/dist/browser/{efp-debug-init-BmXxwF3h.js → efp-debug-init-V-KZyjzu.js} +2 -2
- package/dist/browser/{enum-editor-BtytGwbn.js → enum-editor-BvuPhm1F.js} +11 -11
- package/dist/browser/{event-not-found-DtnrzyTS.js → event-not-found-B98QInDb.js} +1 -1
- package/dist/browser/{exports-DwNV9Fce.js → exports-DYQuAXct.js} +36 -36
- package/dist/browser/{favicon-Bg82OSpr.js → favicon-BfWHVf7B.js} +1 -1
- package/dist/browser/{fetch-retry.umd-C5JqTz5u.js → fetch-retry.umd-DRv91bwh.js} +2 -2
- package/dist/browser/{flex-BoTx9ho3.js → flex-x_PLPZk0.js} +5 -5
- package/dist/browser/{floorplan.loader-CJNw0Cge.js → floorplan.loader-OxPB-Vst.js} +856 -831
- package/dist/browser/{floorplan.ready-DOhcGKtR.js → floorplan.ready-CNMM3R0a.js} +374 -372
- package/dist/browser/{fuse-DJzKEeDA.js → fuse-B5q1zvj5.js} +2 -2
- package/dist/browser/{i18n-Cir_gINd.js → i18n-0QOfbI49.js} +664 -659
- package/dist/browser/index.js +11 -11
- package/dist/browser/{jsx-runtime-DCZPOiVu.js → jsx-runtime-DWNe7L8O.js} +2 -2
- package/dist/browser/{lib-DQt-k78K.js → lib-Ct9T4Ext.js} +4 -4
- package/dist/browser/{is-debug-0pBDODSU.js → loadImage-B1THebfH.js} +13 -16
- package/dist/browser/{main-CIgf7ksx.js → main-BpCLd01e.js} +1 -1
- package/dist/browser/{mobx-pMkzJ1bN.js → mobx-D6-09X_8.js} +4 -4
- package/dist/browser/{particles.min-Q2r1icQ9.js → particles.min-O_0S2sjU.js} +2 -2
- package/dist/browser/{prop-types-GavRCOPR.js → prop-types-C5Q7z09t.js} +2 -2
- package/dist/browser/{react-BlsmLtRd.js → react-CE6J-REN.js} +2 -2
- package/dist/browser/{react-dom-DgLQ5tL0.js → react-dom-Bz1SyK6u.js} +3 -3
- package/dist/browser/{reset-all-settings-CxUO3y2o.js → reset-all-settings-CxljY5vH.js} +7 -7
- package/dist/browser/{rolldown-runtime-C9CB_XOZ.js → rolldown-runtime-MSULzasX.js} +1 -1
- package/dist/browser/{settings-O5svYOVy.js → settings-LxDXcdq2.js} +2 -2
- package/dist/browser/{settings-item-354rDOkM.js → settings-item-BTHbu4gE.js} +6 -6
- package/dist/browser/{store-CVf_IY9i.js → store-FxMdLToE.js} +10175 -10152
- package/dist/browser/{string-editor-C1jvvzZY.js → string-editor-CLZ-xXO6.js} +7 -7
- package/dist/browser/{theme-BewQdo5w.js → theme-CKyrzkaN.js} +8 -8
- package/dist/browser/{ui-DeHsnIKK.js → ui-CaURu_-A.js} +8 -8
- package/dist/browser/{useRenderTarget-Cpug5PXZ.js → useRenderTarget-DlU37Ln7.js} +4 -4
- package/dist/esm/components/AlertContainer.d.ts +1 -1
- package/dist/esm/components/Autocomplete.d.ts +1 -1
- package/dist/esm/components/Autocomplete.js +1 -1
- package/dist/esm/components/BaseFilterModal.d.ts +1 -1
- package/dist/esm/components/Booth/Booth.d.ts +1 -1
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/Booth/BoothOnHold.js +1 -1
- package/dist/esm/components/Booth/BoothReserved.js +1 -1
- package/dist/esm/components/Booth/BoothSpecial.d.ts +2 -2
- package/dist/esm/components/Booth/BoothWithoutExhibitor.d.ts +1 -1
- package/dist/esm/components/Booth/BoothWithoutExhibitor.js +1 -1
- package/dist/esm/components/Category.d.ts +1 -1
- package/dist/esm/components/Category.js +1 -1
- package/dist/esm/components/CategoryFilterModal.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/Debug.d.ts +1 -1
- package/dist/esm/components/Debug.js +1 -1
- package/dist/esm/components/Demo.d.ts +1 -1
- package/dist/esm/components/Demo.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +1 -1
- package/dist/esm/components/EntityList.d.ts +1 -1
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EntityListRow.d.ts +2 -2
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/ErrorBoundary.js +1 -1
- package/dist/esm/components/Event.d.ts +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/EventBadge.d.ts +2 -2
- package/dist/esm/components/EventBadge.js +1 -1
- package/dist/esm/components/Exhibitor.d.ts +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Filter.js +1 -1
- package/dist/esm/components/Free.d.ts +1 -1
- package/dist/esm/components/Free.js +1 -1
- package/dist/esm/components/Gallery/Gallery.d.ts +1 -1
- package/dist/esm/components/Gallery/Gallery.js +1 -1
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.d.ts +1 -1
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.js +1 -1
- package/dist/esm/components/Gallery/TransformImg/TransformImg.d.ts +1 -1
- package/dist/esm/components/Gallery/TransformImg/TransformImg.js +1 -1
- package/dist/esm/components/GpsLoader.js +1 -1
- package/dist/esm/components/IntercomLauncher.d.ts +1 -1
- package/dist/esm/components/IntercomLauncher.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -3
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/Message/InfoMessage.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskStatusMessages.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKioskMode.js +1 -1
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/Kiosk/kioskApi.d.ts +1 -1
- package/dist/esm/components/Language.js +1 -1
- package/dist/esm/components/LanguageRow.d.ts +1 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/LargeMessage.d.ts +1 -1
- package/dist/esm/components/LargeMessage.js +1 -1
- package/dist/esm/components/Layout.d.ts +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LevelSelector.d.ts +1 -1
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/List.d.ts +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/LogoOverlay.d.ts +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/config-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +4 -4
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +3 -3
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +4 -4
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +3 -3
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/pointInConvexQuad.d.ts +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +2 -2
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/MapControls.d.ts +1 -1
- package/dist/esm/components/MapControls.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +1 -1
- package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +1 -2
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +3 -3
- package/dist/esm/components/Maplibre/useDimming.d.ts +4 -4
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +4 -4
- package/dist/esm/components/Maplibre/useRendererEvents.d.ts +2 -2
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.d.ts +2 -2
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +3 -3
- package/dist/esm/components/Maplibre/utils/layer-defs.d.ts +1 -1
- package/dist/esm/components/Maplibre/utils/map-helpers.d.ts +2 -2
- package/dist/esm/components/MarketMaterialList.d.ts +1 -1
- package/dist/esm/components/MarketMaterialList.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/MobileToggleButton.d.ts +1 -1
- package/dist/esm/components/MobileToggleButton.js +1 -1
- package/dist/esm/components/Modal.d.ts +1 -1
- package/dist/esm/components/Modal.js +1 -1
- package/dist/esm/components/MultiSelectGroups.d.ts +1 -1
- package/dist/esm/components/MultiSelectGroups.js +1 -1
- package/dist/esm/components/Overlay.d.ts +1 -1
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/OverlayGripContainer.js +1 -1
- package/dist/esm/components/OverlayParticles.d.ts +1 -1
- package/dist/esm/components/OverlayParticles.js +1 -1
- package/dist/esm/components/RebookingNotes.d.ts +1 -1
- package/dist/esm/components/RebookingNotes.js +1 -1
- package/dist/esm/components/RebookingRadioGroup.d.ts +1 -1
- package/dist/esm/components/RebookingRadioGroup.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlanner.d.ts +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.d.ts +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/RouteQR.d.ts +1 -1
- package/dist/esm/components/RouteQR.js +1 -1
- package/dist/esm/components/Schedule.d.ts +2 -2
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/ScrollableRowContainer.js +1 -1
- package/dist/esm/components/Search.d.ts +1 -1
- package/dist/esm/components/Search.js +1 -1
- package/dist/esm/components/SearchBox.d.ts +1 -1
- package/dist/esm/components/SearchBox.js +1 -1
- package/dist/esm/components/SearchButtons/SearchButton.d.ts +1 -1
- package/dist/esm/components/SearchButtons/SearchButton.js +1 -1
- package/dist/esm/components/SearchButtons/SearchButtons.d.ts +1 -1
- package/dist/esm/components/SearchButtons/SearchButtons.js +1 -1
- package/dist/esm/components/SearchButtons/SearchSubButton.d.ts +1 -1
- package/dist/esm/components/SearchButtons/SearchSubButton.js +1 -1
- package/dist/esm/components/SearchButtons/SearchSubButtons.d.ts +1 -1
- package/dist/esm/components/SearchButtons/SearchSubButtons.js +1 -1
- package/dist/esm/components/Sessions.d.ts +1 -1
- package/dist/esm/components/Sessions.js +1 -1
- package/dist/esm/components/SessionsFiltersModal.d.ts +1 -1
- package/dist/esm/components/SessionsFiltersModal.js +1 -1
- package/dist/esm/components/Share.d.ts +1 -1
- package/dist/esm/components/Share.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutButton.d.ts +2 -2
- package/dist/esm/components/Shortcuts/ShortcutButton.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.d.ts +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.d.ts +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.js +1 -1
- package/dist/esm/components/ShowMoreButton.d.ts +1 -1
- package/dist/esm/components/ShowMoreButton.js +1 -1
- package/dist/esm/components/SidebarActions.d.ts +1 -1
- package/dist/esm/components/SidebarActions.js +1 -1
- package/dist/esm/components/SimpleRow.d.ts +1 -1
- package/dist/esm/components/SimpleRow.js +1 -1
- package/dist/esm/components/Speaker.d.ts +1 -1
- package/dist/esm/components/Speaker.js +1 -1
- package/dist/esm/components/Speakers.d.ts +1 -1
- package/dist/esm/components/Speakers.js +1 -1
- package/dist/esm/components/SpeakersFiltersModal.d.ts +1 -1
- package/dist/esm/components/SpeakersFiltersModal.js +1 -1
- package/dist/esm/components/Toast/ToastContainer.d.ts +1 -1
- package/dist/esm/components/Toast/ToastContainer.js +1 -1
- package/dist/esm/components/Toast/ToastProvider.js +1 -1
- package/dist/esm/components/TourPoints.js +1 -1
- package/dist/esm/components/Tours.d.ts +1 -1
- package/dist/esm/components/Tours.js +1 -1
- package/dist/esm/components/ToursList.d.ts +2 -2
- package/dist/esm/components/ToursList.js +1 -1
- package/dist/esm/components/ViewerMenuPanel.d.ts +1 -1
- package/dist/esm/components/ViewerMenuPanel.js +1 -1
- package/dist/esm/components/WayInformation.d.ts +1 -1
- package/dist/esm/components/WayInformation.js +1 -1
- package/dist/esm/components/Wayfinding.d.ts +1 -1
- package/dist/esm/components/Wayfinding.js +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +1 -1
- package/dist/esm/components/WayfindingTemplate.d.ts +4 -4
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/Ws.d.ts +1 -1
- package/dist/esm/components/Ws.js +1 -1
- package/dist/esm/components/YahRow.d.ts +1 -1
- package/dist/esm/components/YahRow.js +1 -1
- package/dist/esm/components/gps/GpsManager.d.ts +1 -1
- package/dist/esm/components/gps/GpsManager.js +1 -1
- package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -1
- package/dist/esm/components/gps/utils.d.ts +1 -1
- package/dist/esm/data/fpGeo.d.ts +1 -1
- package/dist/esm/data/index.d.ts +1 -1
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/data/validate-data.d.ts +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +2 -2
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/hooks/useDragGesture.js +1 -1
- package/dist/esm/hooks/useURLFilters.d.ts +1 -1
- package/dist/esm/hooks/useURLFilters.js +1 -1
- package/dist/esm/hooks/useWindowSize.js +1 -1
- package/dist/esm/intercom/shouldLoad.d.ts +2 -2
- package/dist/esm/load.d.ts +3 -3
- package/dist/esm/services/URLFilterManager.d.ts +1 -1
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/BaseFilterStore.d.ts +1 -1
- package/dist/esm/store/BookmarksStore.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +2 -2
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/CategoryFilterStore.d.ts +2 -2
- package/dist/esm/store/CategoryFilterStore.js +1 -1
- package/dist/esm/store/CategoryStore.d.ts +1 -1
- package/dist/esm/store/ExhibitorStore.d.ts +1 -1
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/HeatmapStore.d.ts +3 -3
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +1 -1
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/RootStore.d.ts +15 -15
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.d.ts +2 -2
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/SessionsFilterStore.d.ts +2 -2
- package/dist/esm/store/ShortcutRegistry.d.ts +1 -1
- package/dist/esm/store/SpeakerStore.d.ts +1 -1
- package/dist/esm/store/SubButtonProvider.d.ts +1 -1
- package/dist/esm/store/SubButtonRegistry.d.ts +2 -2
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +6 -6
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/index.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-events.js +1 -1
- package/dist/esm/store/init/init-exhibitors.js +1 -1
- package/dist/esm/store/init/init-heatmap.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/store/providers/SearchShortcutProvider.d.ts +1 -2
- package/dist/esm/store/providers/SessionsShortcutProvider.d.ts +1 -1
- package/dist/esm/store/providers/SessionsSubButtonProvider.d.ts +2 -2
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
- package/dist/esm/store/providers/SpeakerShortcutProvider.d.ts +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +2 -2
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +3 -3
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFilters.d.ts +2 -2
- package/dist/esm/store/search-buttons/SearchButtonsState.d.ts +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsState.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/store/search-buttons/utils.d.ts +1 -1
- package/dist/esm/store/search-buttons/utils.js +1 -1
- package/dist/esm/store/types.d.ts +3 -3
- package/dist/esm/storybook/decorators/StoryWrapper.js +1 -1
- package/dist/esm/storybook/decorators/WithResize.js +1 -1
- package/dist/esm/tools/gtag.js +1 -1
- package/dist/esm/tools/loaders.js +1 -1
- package/dist/esm/tools/sentry.d.ts +2 -2
- package/dist/esm/tools/sentry.js +1 -1
- package/dist/esm/ui/Alert/Alert.d.ts +1 -2
- package/dist/esm/ui/Alert/Alert.js +1 -1
- package/dist/esm/ui/Badge/Badge.d.ts +1 -2
- package/dist/esm/ui/Badge/Badge.js +1 -1
- package/dist/esm/ui/Button/Button.d.ts +1 -2
- package/dist/esm/ui/Button/Button.js +1 -1
- package/dist/esm/ui/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/ui/Checkbox/Checkbox.js +1 -1
- package/dist/esm/ui/CheckboxButton/CheckboxButton.d.ts +1 -1
- package/dist/esm/ui/CheckboxButton/CheckboxButton.js +1 -1
- package/dist/esm/ui/Draggable/Draggable.js +1 -1
- package/dist/esm/ui/EntityItem/EntityItem.d.ts +1 -1
- package/dist/esm/ui/EntityItem/EntityItem.js +1 -1
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.d.ts +1 -1
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.js +1 -1
- package/dist/esm/ui/LevelBadge/LevelBadge.d.ts +1 -1
- package/dist/esm/ui/OverlayGrip/OverlayGrip.d.ts +1 -1
- package/dist/esm/ui/OverlayGrip/OverlayGrip.js +1 -1
- package/dist/esm/ui/PermissionNotice/PermissionNotice.d.ts +1 -1
- package/dist/esm/ui/PermissionNotice/PermissionNotice.js +1 -1
- package/dist/esm/ui/Radio/Radio.d.ts +1 -1
- package/dist/esm/ui/Radio/Radio.js +1 -1
- package/dist/esm/ui/ScrollableRow/ScrollableRow.d.ts +1 -1
- package/dist/esm/ui/ScrollableRow/ScrollableRow.js +1 -1
- package/dist/esm/ui/Spinner/Spinner.d.ts +1 -1
- package/dist/esm/ui/Spinner/Spinner.js +1 -1
- package/dist/esm/ui/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/esm/ui/ToggleButton/ToggleButton.js +1 -1
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -1
- package/dist/esm/ui/TouchHand/TouchHand.d.ts +1 -1
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.d.ts +1 -1
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.js +1 -1
- package/dist/esm/utils/customCommands.js +1 -1
- package/dist/esm/utils/dimming.d.ts +1 -1
- package/dist/esm/utils/entity-storage.js +1 -1
- package/dist/esm/utils/eventFullBadge.d.ts +1 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/i18n.d.ts +1 -1
- package/dist/esm/utils/i18n.js +1 -1
- package/dist/esm/utils/imageloader.d.ts +3 -3
- package/dist/esm/utils/loadCustomCss.d.ts +1 -1
- package/dist/esm/utils/loadIcons.d.ts +1 -1
- package/dist/esm/utils/loadImagesInBatches.js +1 -1
- package/dist/esm/utils/mergeExhibitors.d.ts +1 -1
- package/dist/esm/utils/mobx.d.ts +1 -1
- package/dist/esm/utils/mobx.js +1 -1
- package/dist/esm/utils/preview-exhibitor.d.ts +1 -1
- package/dist/esm/utils/sanitizeText.d.ts +2 -2
- package/dist/esm/utils/sanitizeText.js +1 -1
- package/dist/esm/utils/trackingParams.d.ts +3 -0
- package/dist/esm/utils/trackingParams.js +1 -0
- package/dist/esm/utils/useHeatmapData.d.ts +3 -3
- package/dist/esm/utils/useHeatmapOverlay.d.ts +3 -3
- package/dist/esm/wayfinding/adapters/floorContext.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/kioskCanvas.js +1 -1
- package/dist/esm/wayfinding/adapters/positionInput.d.ts +2 -2
- package/dist/esm/wayfinding/core/__tests__/helpers.d.ts +1 -1
- package/dist/esm/wayfinding/core/geometry/pointInPolygon.d.ts +3 -3
- package/dist/esm/wayfinding/core/graph/buildNGraph.d.ts +4 -4
- package/dist/esm/wayfinding/core/graph/findShortestPath.d.ts +1 -1
- package/dist/esm/wayfinding/core/graph/findShortestPath.js +1 -1
- package/dist/esm/wayfinding/core/graph/graphCache.d.ts +1 -1
- package/dist/esm/wayfinding/core/graph/linkCost.d.ts +1 -1
- package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.d.ts +1 -1
- package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.js +1 -1
- package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/rerouteController.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/snapToRoute.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/splitRouteByPoint.d.ts +1 -1
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +1 -1
- package/dist/esm/wayfinding/core/rendering/computeTransitionPoints.d.ts +1 -1
- package/dist/esm/wayfinding/core/rendering/getVisibleRouteLines.d.ts +2 -2
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +1 -1
- package/dist/esm/wayfinding/core/routing/buildMultiPointRoute.d.ts +1 -1
- package/dist/esm/wayfinding/core/routing/buildRoute.d.ts +1 -1
- package/dist/esm/wayfinding/core/routing/graphPointResolvers.d.ts +2 -2
- package/dist/esm/wayfinding/core/routing/routeResult.d.ts +1 -1
- package/dist/esm/wayfinding/handlers/yahHandler.d.ts +3 -3
- package/dist/esm/wayfinding/runtime/endpointView.d.ts +5 -5
- package/dist/esm/wayfinding/runtime/getRouteLines.d.ts +2 -2
- package/dist/esm/wayfinding/runtime/positionView.d.ts +3 -3
- package/dist/esm/wayfinding/runtime/routeLinesView.d.ts +2 -2
- package/dist/esm/wayfinding/runtime/routeRenderData.d.ts +1 -1
- package/dist/esm/wayfinding/runtime/trailView.d.ts +4 -4
- package/package.json +13 -12
- package/dist/browser/ShowKiosk-Ddu65pot.js +0 -27
|
@@ -1,27 +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.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.7" };
|
|
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] = "55e6e5d4-a9dd-4a84-9d9b-3e195a12fc52", e._sentryDebugIdIdentifier = "sentry-dbid-55e6e5d4-a9dd-4a84-9d9b-3e195a12fc52");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { _ as n, c as r, g as i, n as a, r as o, t as s, y as c } from "./
|
|
12
|
-
import { D as l, E as u, O as d, T as ee, c as f, ct as p, i as te, j as m } from "./i18n-
|
|
13
|
-
import { $ as h, A as g, B as _, C as v, D as ne, E as re, F as y, G as b, H as x, I as S, J as ie, K as C, L as ae, M as oe, N as se, O as ce, P as w, Q as le, R as T, S as E, T as ue, U as de, V as fe, W as D, X as pe, Y as me, Z as he, _ as O, _t as ge, a as _e, at as k, b as ve, c as ye, ct as be, d as xe, dt as Se, et as Ce, f as we, ft as Te, g as Ee, gt as De, h as Oe, ht as ke, it as Ae, j as A, k as je, l as Me, lt as j, m as Ne, mt as Pe, n as Fe, nt as
|
|
9
|
+
import { r as e } from "./rolldown-runtime-MSULzasX.js";
|
|
10
|
+
import { t } from "./react-CE6J-REN.js";
|
|
11
|
+
import { _ as n, c as r, g as i, n as a, r as o, t as s, y as c } from "./loadImage-B1THebfH.js";
|
|
12
|
+
import { D as l, E as u, O as d, T as ee, c as f, ct as p, i as te, j as m } from "./i18n-0QOfbI49.js";
|
|
13
|
+
import { $ as h, A as g, B as _, C as v, D as ne, E as re, F as y, G as b, H as x, I as S, J as ie, K as C, L as ae, M as oe, N as se, O as ce, P as w, Q as le, R as T, S as E, T as ue, U as de, V as fe, W as D, X as pe, Y as me, Z as he, _ as O, _t as ge, a as _e, at as k, b as ve, c as ye, ct as be, d as xe, dt as Se, et as Ce, f as we, ft as Te, g as Ee, gt as De, h as Oe, ht as ke, it as Ae, j as A, k as je, l as Me, lt as j, m as Ne, mt as Pe, n as Fe, nt as Ie, o as Le, ot as Re, p as ze, pt as M, q as Be, r as Ve, rt as He, s as Ue, st as We, t as Ge, tt as Ke, u as qe, ut as Je, v as Ye, vt as N, w as Xe, x as Ze, y as Qe, yt as P, z as $e } from "./exports-DYQuAXct.js";
|
|
14
14
|
//#region src/tools/report-error.ts
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
|
|
15
|
+
var et;
|
|
16
|
+
function tt(e) {
|
|
17
|
+
et || e.filename.indexOf("expofp.com") === -1 || [
|
|
18
18
|
/loading chunk \d{1,2}\b/i,
|
|
19
19
|
/zaloJS/i,
|
|
20
20
|
/e.target.name/i,
|
|
21
21
|
/ResizeObserver loop/i,
|
|
22
22
|
/ChunkLoadError/i,
|
|
23
23
|
/FloorPlan not ready/i
|
|
24
|
-
].some((t) => t.test(e.message)) || (
|
|
24
|
+
].some((t) => t.test(e.message)) || (et = window.setTimeout(async function() {
|
|
25
25
|
var t;
|
|
26
26
|
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
27
27
|
host: document.location.host,
|
|
@@ -37,10 +37,10 @@ function $e(e) {
|
|
|
37
37
|
url: document.location,
|
|
38
38
|
subject: "FP JS error: " + document.location.host
|
|
39
39
|
};
|
|
40
|
-
p.info("Sending error report", r), await Promise.all([
|
|
40
|
+
p.info("Sending error report", r), await Promise.all([nt(r), rt(r)]);
|
|
41
41
|
}, 2e3));
|
|
42
42
|
}
|
|
43
|
-
async function
|
|
43
|
+
async function nt(e) {
|
|
44
44
|
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
45
45
|
method: "POST",
|
|
46
46
|
headers: { "Content-Type": "application/json" },
|
|
@@ -48,15 +48,15 @@ async function et(e) {
|
|
|
48
48
|
});
|
|
49
49
|
p.log("Reporter response: ", await t.text());
|
|
50
50
|
}
|
|
51
|
-
async function
|
|
52
|
-
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, {
|
|
53
53
|
method: "POST",
|
|
54
54
|
headers: { "Content-Type": "application/json" },
|
|
55
55
|
body: JSON.stringify(t)
|
|
56
56
|
});
|
|
57
57
|
p.log("Slack reporter response: ", await n.text());
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function it(e) {
|
|
60
60
|
let t = JSON.parse(JSON.stringify(e));
|
|
61
61
|
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
62
62
|
let n = [];
|
|
@@ -81,158 +81,122 @@ function nt(e) {
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
//#endregion
|
|
84
|
-
//#region
|
|
85
|
-
var
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
let n =
|
|
89
|
-
n.textContent = e.customCss, t.append(n), await u(e.customCss);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
//#endregion
|
|
93
|
-
//#region src/utils/loadIcons.ts
|
|
94
|
-
async function at(e) {
|
|
95
|
-
try {
|
|
96
|
-
(await Promise.allSettled(Object.entries({
|
|
97
|
-
departure: "icons/departure.svg",
|
|
98
|
-
departure_inactive: "icons/departure_inactive.svg",
|
|
99
|
-
destination: "icons/destination.svg",
|
|
100
|
-
direction: "icons/direction.svg",
|
|
101
|
-
transition: "icons/transition.svg",
|
|
102
|
-
transition_up: "icons/transition_up.svg",
|
|
103
|
-
transition_down: "icons/transition_down.svg",
|
|
104
|
-
kiosk: "icons/kiosk.svg",
|
|
105
|
-
yah: "icons/yah.svg"
|
|
106
|
-
}).map(([e, t]) => a(m + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
107
|
-
} catch (e) {
|
|
108
|
-
console.warn(e);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
//#endregion
|
|
112
|
-
//#region src/utils/mergeExhibitors.ts
|
|
113
|
-
function ot(e, t) {
|
|
114
|
-
t.exhibitors.forEach((t) => {
|
|
115
|
-
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
116
|
-
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
//#endregion
|
|
120
|
-
//#region src/utils/use-shadow.ts
|
|
121
|
-
var st, ct = typeof document < "u" && !!((st = document.body) != null && st.attachShadow) && f && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: L, protocol: lt } = window.location, ut = L === "localhost" || L === "127.0.0.1" || L === "::1" || L.startsWith("192.168.") || L.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(L) || L.endsWith(".local") || lt === "file:" || L === "", R = {}, dt = {};
|
|
122
|
-
function z(e, t) {
|
|
123
|
-
return R[e] = R[e] || [], R[e].push(t), () => {
|
|
124
|
-
let n = R[e];
|
|
84
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/handlers.js
|
|
85
|
+
var F = {}, at = {};
|
|
86
|
+
function I(e, t) {
|
|
87
|
+
return F[e] = F[e] || [], F[e].push(t), () => {
|
|
88
|
+
let n = F[e];
|
|
125
89
|
if (n) {
|
|
126
90
|
let e = n.indexOf(t);
|
|
127
91
|
e !== -1 && n.splice(e, 1);
|
|
128
92
|
}
|
|
129
93
|
};
|
|
130
94
|
}
|
|
131
|
-
function
|
|
132
|
-
if (!
|
|
133
|
-
|
|
95
|
+
function L(e, t) {
|
|
96
|
+
if (!at[e]) {
|
|
97
|
+
at[e] = !0;
|
|
134
98
|
try {
|
|
135
99
|
t();
|
|
136
100
|
} catch (t) {
|
|
137
|
-
|
|
101
|
+
P && M.error(`Error while instrumenting ${e}`, t);
|
|
138
102
|
}
|
|
139
103
|
}
|
|
140
104
|
}
|
|
141
|
-
function
|
|
142
|
-
let n = e &&
|
|
105
|
+
function R(e, t) {
|
|
106
|
+
let n = e && F[e];
|
|
143
107
|
if (n) for (let r of n) try {
|
|
144
108
|
r(t);
|
|
145
109
|
} catch (t) {
|
|
146
|
-
|
|
110
|
+
P && M.error(`Error while triggering instrumentation handler.
|
|
147
111
|
Type: ${e}
|
|
148
112
|
Name: ${j(r)}
|
|
149
113
|
Error:`, t);
|
|
150
114
|
}
|
|
151
115
|
}
|
|
152
116
|
//#endregion
|
|
153
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
154
|
-
var
|
|
155
|
-
function
|
|
117
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
118
|
+
var ot = null;
|
|
119
|
+
function st(e) {
|
|
156
120
|
let t = "error";
|
|
157
|
-
|
|
121
|
+
I(t, e), L(t, ct);
|
|
158
122
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
161
|
-
return
|
|
123
|
+
function ct() {
|
|
124
|
+
ot = N.onerror, N.onerror = function(e, t, n, r, i) {
|
|
125
|
+
return R("error", {
|
|
162
126
|
column: r,
|
|
163
127
|
error: i,
|
|
164
128
|
line: n,
|
|
165
129
|
msg: e,
|
|
166
130
|
url: t
|
|
167
|
-
}),
|
|
168
|
-
},
|
|
131
|
+
}), ot ? ot.apply(this, arguments) : !1;
|
|
132
|
+
}, N.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
169
133
|
}
|
|
170
134
|
//#endregion
|
|
171
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
172
|
-
var
|
|
173
|
-
function
|
|
135
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
136
|
+
var lt = null;
|
|
137
|
+
function ut(e) {
|
|
174
138
|
let t = "unhandledrejection";
|
|
175
|
-
|
|
139
|
+
I(t, e), L(t, dt);
|
|
176
140
|
}
|
|
177
|
-
function
|
|
178
|
-
|
|
179
|
-
return
|
|
180
|
-
},
|
|
141
|
+
function dt() {
|
|
142
|
+
lt = N.onunhandledrejection, N.onunhandledrejection = function(e) {
|
|
143
|
+
return R("unhandledrejection", e), lt ? lt.apply(this, arguments) : !0;
|
|
144
|
+
}, N.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
181
145
|
}
|
|
182
146
|
//#endregion
|
|
183
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
184
|
-
function
|
|
147
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
148
|
+
function ft(e) {
|
|
185
149
|
if (typeof e == "boolean") return Number(e);
|
|
186
150
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
187
151
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
188
152
|
}
|
|
189
153
|
//#endregion
|
|
190
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
191
|
-
function
|
|
192
|
-
|
|
154
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
155
|
+
function pt(e) {
|
|
156
|
+
M.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
193
157
|
}
|
|
194
|
-
function
|
|
158
|
+
function mt(e, t) {
|
|
195
159
|
if (!(t != null && t.length)) return !1;
|
|
196
160
|
for (let n of t) {
|
|
197
|
-
if (
|
|
198
|
-
if (e.description && S(e.description, n)) return
|
|
161
|
+
if (_t(n)) {
|
|
162
|
+
if (e.description && S(e.description, n)) return P && pt(e), !0;
|
|
199
163
|
continue;
|
|
200
164
|
}
|
|
201
165
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
202
166
|
if (!n.name && !n.op && !t) continue;
|
|
203
167
|
let r = n.name ? e.description && S(e.description, n.name) : !0, i = n.op ? e.op && S(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
204
168
|
var r;
|
|
205
|
-
return
|
|
169
|
+
return ht((r = e.attributes) == null ? void 0 : r[t], n);
|
|
206
170
|
}) : !0;
|
|
207
|
-
if (r && i && a) return
|
|
171
|
+
if (r && i && a) return P && pt(e), !0;
|
|
208
172
|
}
|
|
209
173
|
return !1;
|
|
210
174
|
}
|
|
211
|
-
function
|
|
175
|
+
function ht(e, t) {
|
|
212
176
|
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? S(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
213
177
|
}
|
|
214
|
-
function
|
|
178
|
+
function gt(e, t) {
|
|
215
179
|
let n = t.parent_span_id, r = t.span_id;
|
|
216
180
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
217
181
|
}
|
|
218
|
-
function
|
|
182
|
+
function _t(e) {
|
|
219
183
|
return typeof e == "string" || e instanceof RegExp;
|
|
220
184
|
}
|
|
221
185
|
//#endregion
|
|
222
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
223
|
-
function
|
|
186
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
187
|
+
function vt(e) {
|
|
224
188
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
225
189
|
}
|
|
226
190
|
//#endregion
|
|
227
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
228
|
-
function
|
|
191
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
192
|
+
function z(e, t = []) {
|
|
229
193
|
return [e, t];
|
|
230
194
|
}
|
|
231
|
-
function
|
|
195
|
+
function yt(e, t) {
|
|
232
196
|
let [n, r] = e;
|
|
233
197
|
return [n, [...r, t]];
|
|
234
198
|
}
|
|
235
|
-
function
|
|
199
|
+
function bt(e, t) {
|
|
236
200
|
let n = e[1];
|
|
237
201
|
for (let e of n) {
|
|
238
202
|
let n = e[0].type;
|
|
@@ -240,17 +204,17 @@ function Et(e, t) {
|
|
|
240
204
|
}
|
|
241
205
|
return !1;
|
|
242
206
|
}
|
|
243
|
-
function
|
|
244
|
-
return
|
|
207
|
+
function xt(e, t) {
|
|
208
|
+
return bt(e, (e, n) => t.includes(n));
|
|
245
209
|
}
|
|
246
|
-
function
|
|
247
|
-
let t = De(
|
|
210
|
+
function St(e) {
|
|
211
|
+
let t = De(N);
|
|
248
212
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
249
213
|
}
|
|
250
|
-
function
|
|
214
|
+
function Ct(e) {
|
|
251
215
|
let [t, n] = e, r = JSON.stringify(t);
|
|
252
216
|
function i(e) {
|
|
253
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
217
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [St(r), e] : r.push(typeof e == "string" ? St(e) : e);
|
|
254
218
|
}
|
|
255
219
|
for (let e of n) {
|
|
256
220
|
let [t, n] = e;
|
|
@@ -262,20 +226,20 @@ ${JSON.stringify(t)}
|
|
|
262
226
|
try {
|
|
263
227
|
e = JSON.stringify(n);
|
|
264
228
|
} catch {
|
|
265
|
-
e = JSON.stringify(
|
|
229
|
+
e = JSON.stringify($e(n));
|
|
266
230
|
}
|
|
267
231
|
i(e);
|
|
268
232
|
}
|
|
269
233
|
}
|
|
270
|
-
return typeof r == "string" ? r :
|
|
234
|
+
return typeof r == "string" ? r : wt(r);
|
|
271
235
|
}
|
|
272
|
-
function
|
|
236
|
+
function wt(e) {
|
|
273
237
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
274
238
|
for (let t of e) n.set(t, r), r += t.length;
|
|
275
239
|
return n;
|
|
276
240
|
}
|
|
277
|
-
function
|
|
278
|
-
let t = typeof e.data == "string" ?
|
|
241
|
+
function Tt(e) {
|
|
242
|
+
let t = typeof e.data == "string" ? St(e.data) : e.data;
|
|
279
243
|
return [{
|
|
280
244
|
type: "attachment",
|
|
281
245
|
length: t.length,
|
|
@@ -284,7 +248,7 @@ function jt(e) {
|
|
|
284
248
|
attachment_type: e.attachmentType
|
|
285
249
|
}, t];
|
|
286
250
|
}
|
|
287
|
-
var
|
|
251
|
+
var Et = {
|
|
288
252
|
sessions: "session",
|
|
289
253
|
event: "error",
|
|
290
254
|
client_report: "internal",
|
|
@@ -297,13 +261,13 @@ var Mt = {
|
|
|
297
261
|
log: "log_item",
|
|
298
262
|
trace_metric: "metric"
|
|
299
263
|
};
|
|
300
|
-
function
|
|
301
|
-
return e in
|
|
264
|
+
function Dt(e) {
|
|
265
|
+
return e in Et;
|
|
302
266
|
}
|
|
303
|
-
function
|
|
304
|
-
return
|
|
267
|
+
function Ot(e) {
|
|
268
|
+
return Dt(e) ? Et[e] : e;
|
|
305
269
|
}
|
|
306
|
-
function
|
|
270
|
+
function kt(e) {
|
|
307
271
|
if (!(e != null && e.sdk)) return;
|
|
308
272
|
let { name: t, version: n } = e.sdk;
|
|
309
273
|
return {
|
|
@@ -311,7 +275,7 @@ function Ft(e) {
|
|
|
311
275
|
version: n
|
|
312
276
|
};
|
|
313
277
|
}
|
|
314
|
-
function
|
|
278
|
+
function At(e, t, n, r) {
|
|
315
279
|
var i;
|
|
316
280
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
317
281
|
return {
|
|
@@ -323,8 +287,8 @@ function It(e, t, n, r) {
|
|
|
323
287
|
};
|
|
324
288
|
}
|
|
325
289
|
//#endregion
|
|
326
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
327
|
-
function
|
|
290
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
291
|
+
function jt(e, t) {
|
|
328
292
|
var n, r, i, a;
|
|
329
293
|
if (!t) return e;
|
|
330
294
|
let o = e.sdk || {};
|
|
@@ -340,28 +304,28 @@ function Lt(e, t) {
|
|
|
340
304
|
} : void 0
|
|
341
305
|
}, e;
|
|
342
306
|
}
|
|
343
|
-
function
|
|
344
|
-
let i =
|
|
345
|
-
return
|
|
307
|
+
function Mt(e, t, n, r) {
|
|
308
|
+
let i = kt(n);
|
|
309
|
+
return z({
|
|
346
310
|
sent_at: new Date(x()).toISOString(),
|
|
347
311
|
...i && { sdk: i },
|
|
348
312
|
...!!r && t && { dsn: O(t) }
|
|
349
313
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
350
314
|
}
|
|
351
|
-
function
|
|
352
|
-
let i =
|
|
353
|
-
|
|
354
|
-
let o =
|
|
355
|
-
return delete e.sdkProcessingMetadata,
|
|
315
|
+
function Nt(e, t, n, r) {
|
|
316
|
+
let i = kt(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
317
|
+
jt(e, n == null ? void 0 : n.sdk);
|
|
318
|
+
let o = At(e, i, r, t);
|
|
319
|
+
return delete e.sdkProcessingMetadata, z(o, [[{ type: a }, e]]);
|
|
356
320
|
}
|
|
357
321
|
//#endregion
|
|
358
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
359
|
-
function
|
|
322
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/hasSpanStreamingEnabled.js
|
|
323
|
+
function Pt(e) {
|
|
360
324
|
return e.getOptions().traceLifecycle === "stream";
|
|
361
325
|
}
|
|
362
326
|
//#endregion
|
|
363
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
364
|
-
function
|
|
327
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
328
|
+
function Ft(e) {
|
|
365
329
|
if (!e) return {};
|
|
366
330
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
367
331
|
if (!t) return {};
|
|
@@ -375,7 +339,7 @@ function Vt(e) {
|
|
|
375
339
|
relative: t[5] + n + r
|
|
376
340
|
};
|
|
377
341
|
}
|
|
378
|
-
function
|
|
342
|
+
function It(e, t = !0) {
|
|
379
343
|
if (e.startsWith("data:")) {
|
|
380
344
|
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
381
345
|
if (t && a !== -1) {
|
|
@@ -387,32 +351,32 @@ function Ht(e, t = !0) {
|
|
|
387
351
|
return e;
|
|
388
352
|
}
|
|
389
353
|
//#endregion
|
|
390
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
391
|
-
function
|
|
354
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
355
|
+
function Lt(e, t) {
|
|
392
356
|
var n;
|
|
393
357
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
394
358
|
Object.entries(t).forEach(([e, t]) => {
|
|
395
359
|
t != null && !(e in r) && (r[e] = t);
|
|
396
360
|
});
|
|
397
361
|
}
|
|
398
|
-
function
|
|
362
|
+
function Rt(e) {
|
|
399
363
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
400
364
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
401
365
|
}
|
|
402
|
-
function
|
|
403
|
-
return `${
|
|
366
|
+
function zt(e) {
|
|
367
|
+
return `${Rt(e)}${e.projectId}/envelope/`;
|
|
404
368
|
}
|
|
405
|
-
function
|
|
369
|
+
function Bt(e, t) {
|
|
406
370
|
let n = { sentry_version: "7" };
|
|
407
371
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
408
372
|
}
|
|
409
|
-
function
|
|
410
|
-
return t || `${
|
|
373
|
+
function Vt(e, t, n) {
|
|
374
|
+
return t || `${zt(e)}?${Bt(e, n)}`;
|
|
411
375
|
}
|
|
412
|
-
function
|
|
413
|
-
let n =
|
|
376
|
+
function Ht(e, t) {
|
|
377
|
+
let n = Ye(e);
|
|
414
378
|
if (!n) return "";
|
|
415
|
-
let r = `${
|
|
379
|
+
let r = `${Rt(n)}embed/error-page/`, i = `dsn=${O(n)}`;
|
|
416
380
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
417
381
|
let e = t.user;
|
|
418
382
|
if (!e) continue;
|
|
@@ -421,16 +385,16 @@ function Jt(e, t) {
|
|
|
421
385
|
return `${r}?${i}`;
|
|
422
386
|
}
|
|
423
387
|
//#endregion
|
|
424
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
425
|
-
var
|
|
426
|
-
function
|
|
388
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/integration.js
|
|
389
|
+
var Ut = [];
|
|
390
|
+
function Wt(e) {
|
|
427
391
|
let t = {};
|
|
428
392
|
return e.forEach((e) => {
|
|
429
393
|
let { name: n } = e, r = t[n];
|
|
430
394
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
431
395
|
}), Object.values(t);
|
|
432
396
|
}
|
|
433
|
-
function
|
|
397
|
+
function Gt(e) {
|
|
434
398
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
435
399
|
t.forEach((e) => {
|
|
436
400
|
e.isDefaultInstance = !0;
|
|
@@ -441,25 +405,25 @@ function Zt(e) {
|
|
|
441
405
|
let e = n(t);
|
|
442
406
|
r = Array.isArray(e) ? e : [e];
|
|
443
407
|
} else r = t;
|
|
444
|
-
return
|
|
408
|
+
return Wt(r);
|
|
445
409
|
}
|
|
446
|
-
function
|
|
410
|
+
function Kt(e, t) {
|
|
447
411
|
let n = {};
|
|
448
412
|
return t.forEach((t) => {
|
|
449
413
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
450
414
|
}), t.forEach((t) => {
|
|
451
|
-
t &&
|
|
415
|
+
t && Jt(e, t, n);
|
|
452
416
|
}), n;
|
|
453
417
|
}
|
|
454
|
-
function
|
|
418
|
+
function qt(e, t) {
|
|
455
419
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
456
420
|
}
|
|
457
|
-
function
|
|
421
|
+
function Jt(e, t, n) {
|
|
458
422
|
if (n[t.name]) {
|
|
459
|
-
|
|
423
|
+
P && M.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
460
424
|
return;
|
|
461
425
|
}
|
|
462
|
-
if (n[t.name] = t, !
|
|
426
|
+
if (n[t.name] = t, !Ut.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Ut.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
463
427
|
let n = t.preprocessEvent.bind(t);
|
|
464
428
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
465
429
|
}
|
|
@@ -470,36 +434,36 @@ function en(e, t, n) {
|
|
|
470
434
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
471
435
|
let r = t[n];
|
|
472
436
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
473
|
-
}),
|
|
437
|
+
}), P && M.log(`Integration installed: ${t.name}`);
|
|
474
438
|
}
|
|
475
|
-
function
|
|
439
|
+
function B(e) {
|
|
476
440
|
return e;
|
|
477
441
|
}
|
|
478
442
|
//#endregion
|
|
479
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
480
|
-
function
|
|
443
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
444
|
+
function Yt() {
|
|
481
445
|
return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
482
446
|
}
|
|
483
|
-
function
|
|
447
|
+
function Xt() {
|
|
484
448
|
return "npm";
|
|
485
449
|
}
|
|
486
450
|
//#endregion
|
|
487
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
488
|
-
function
|
|
489
|
-
return !
|
|
451
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/node.js
|
|
452
|
+
function Zt() {
|
|
453
|
+
return !Yt() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]";
|
|
490
454
|
}
|
|
491
455
|
//#endregion
|
|
492
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
493
|
-
function
|
|
494
|
-
return typeof window < "u" && (!
|
|
456
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/isBrowser.js
|
|
457
|
+
function Qt() {
|
|
458
|
+
return typeof window < "u" && (!Zt() || $t());
|
|
495
459
|
}
|
|
496
|
-
function
|
|
497
|
-
let e =
|
|
460
|
+
function $t() {
|
|
461
|
+
let e = N.process;
|
|
498
462
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
499
463
|
}
|
|
500
464
|
//#endregion
|
|
501
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
502
|
-
function
|
|
465
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
466
|
+
function en(e, t) {
|
|
503
467
|
let n = t ? "auto" : "never";
|
|
504
468
|
return [{
|
|
505
469
|
type: "log",
|
|
@@ -507,38 +471,38 @@ function sn(e, t) {
|
|
|
507
471
|
content_type: "application/vnd.sentry.items.log+json"
|
|
508
472
|
}, {
|
|
509
473
|
version: 2,
|
|
510
|
-
...
|
|
474
|
+
...Qt() && { ingest_settings: {
|
|
511
475
|
infer_ip: n,
|
|
512
476
|
infer_user_agent: n
|
|
513
477
|
} },
|
|
514
478
|
items: e
|
|
515
479
|
}];
|
|
516
480
|
}
|
|
517
|
-
function
|
|
481
|
+
function tn(e, t, n, r, i) {
|
|
518
482
|
let a = {};
|
|
519
483
|
return t != null && t.sdk && (a.sdk = {
|
|
520
484
|
name: t.sdk.name,
|
|
521
485
|
version: t.sdk.version
|
|
522
|
-
}), n && r && (a.dsn = O(r)),
|
|
486
|
+
}), n && r && (a.dsn = O(r)), z(a, [en(e, i)]);
|
|
523
487
|
}
|
|
524
488
|
//#endregion
|
|
525
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
526
|
-
function
|
|
489
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
490
|
+
function nn(e, t) {
|
|
527
491
|
var n;
|
|
528
|
-
let r = (n = t == null ?
|
|
492
|
+
let r = (n = t == null ? rn(e) : t) == null ? [] : n;
|
|
529
493
|
if (r.length === 0) return;
|
|
530
|
-
let i = e.getOptions(), a =
|
|
531
|
-
|
|
494
|
+
let i = e.getOptions(), a = tn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
495
|
+
an().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
532
496
|
}
|
|
533
|
-
function
|
|
534
|
-
return
|
|
497
|
+
function rn(e) {
|
|
498
|
+
return an().get(e);
|
|
535
499
|
}
|
|
536
|
-
function
|
|
500
|
+
function an() {
|
|
537
501
|
return ke("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
538
502
|
}
|
|
539
503
|
//#endregion
|
|
540
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
541
|
-
function
|
|
504
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
505
|
+
function on(e, t) {
|
|
542
506
|
let n = t ? "auto" : "never";
|
|
543
507
|
return [{
|
|
544
508
|
type: "trace_metric",
|
|
@@ -546,38 +510,38 @@ function fn(e, t) {
|
|
|
546
510
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
547
511
|
}, {
|
|
548
512
|
version: 2,
|
|
549
|
-
...
|
|
513
|
+
...Qt() && { ingest_settings: {
|
|
550
514
|
infer_ip: n,
|
|
551
515
|
infer_user_agent: n
|
|
552
516
|
} },
|
|
553
517
|
items: e
|
|
554
518
|
}];
|
|
555
519
|
}
|
|
556
|
-
function
|
|
520
|
+
function sn(e, t, n, r, i) {
|
|
557
521
|
let a = {};
|
|
558
522
|
return t != null && t.sdk && (a.sdk = {
|
|
559
523
|
name: t.sdk.name,
|
|
560
524
|
version: t.sdk.version
|
|
561
|
-
}), n && r && (a.dsn = O(r)),
|
|
525
|
+
}), n && r && (a.dsn = O(r)), z(a, [on(e, i)]);
|
|
562
526
|
}
|
|
563
527
|
//#endregion
|
|
564
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
565
|
-
function
|
|
528
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
529
|
+
function cn(e, t) {
|
|
566
530
|
var n;
|
|
567
|
-
let r = (n = t == null ?
|
|
531
|
+
let r = (n = t == null ? ln(e) : t) == null ? [] : n;
|
|
568
532
|
if (r.length === 0) return;
|
|
569
|
-
let i = e.getOptions(), a =
|
|
570
|
-
|
|
533
|
+
let i = e.getOptions(), a = sn(r, i._metadata, i.tunnel, e.getDsn(), e.getDataCollectionOptions().userInfo);
|
|
534
|
+
un().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
571
535
|
}
|
|
572
|
-
function
|
|
573
|
-
return
|
|
536
|
+
function ln(e) {
|
|
537
|
+
return un().get(e);
|
|
574
538
|
}
|
|
575
|
-
function
|
|
539
|
+
function un() {
|
|
576
540
|
return ke("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
577
541
|
}
|
|
578
542
|
//#endregion
|
|
579
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
580
|
-
function
|
|
543
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
544
|
+
function dn(e) {
|
|
581
545
|
return Ee({
|
|
582
546
|
trace_id: e.trace_id,
|
|
583
547
|
span_id: e.span_id,
|
|
@@ -592,14 +556,14 @@ function _n(e) {
|
|
|
592
556
|
});
|
|
593
557
|
}
|
|
594
558
|
//#endregion
|
|
595
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
596
|
-
function
|
|
559
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/tracing/spans/extractGenAiSpans.js
|
|
560
|
+
function fn(e, t) {
|
|
597
561
|
var n, r;
|
|
598
|
-
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || !t.getOptions().streamGenAiSpans ||
|
|
562
|
+
if (e.type !== "transaction" || !((n = e.spans) != null && n.length) || !((r = e.sdkProcessingMetadata) != null && r.hasGenAiSpans) || !t.getOptions().streamGenAiSpans || Pt(t)) return;
|
|
599
563
|
let i = [], a = [];
|
|
600
564
|
for (let t of e.spans) {
|
|
601
565
|
var o;
|
|
602
|
-
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(
|
|
566
|
+
(o = t.op) != null && o.startsWith("gen_ai.") ? i.push(dn(t)) : a.push(t);
|
|
603
567
|
}
|
|
604
568
|
if (i.length === 0) return;
|
|
605
569
|
e.spans = a;
|
|
@@ -610,7 +574,7 @@ function vn(e, t) {
|
|
|
610
574
|
content_type: "application/vnd.sentry.items.span.v2+json"
|
|
611
575
|
}, {
|
|
612
576
|
version: 2,
|
|
613
|
-
...
|
|
577
|
+
...Qt() && { ingest_settings: {
|
|
614
578
|
infer_ip: s,
|
|
615
579
|
infer_user_agent: s
|
|
616
580
|
} },
|
|
@@ -618,14 +582,14 @@ function vn(e, t) {
|
|
|
618
582
|
}];
|
|
619
583
|
}
|
|
620
584
|
//#endregion
|
|
621
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
622
|
-
function
|
|
585
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
586
|
+
function pn(e) {
|
|
623
587
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
624
588
|
}
|
|
625
589
|
//#endregion
|
|
626
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
627
|
-
var
|
|
628
|
-
function
|
|
590
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
591
|
+
var mn = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
592
|
+
function hn(e = 100) {
|
|
629
593
|
let t = /* @__PURE__ */ new Set();
|
|
630
594
|
function n() {
|
|
631
595
|
return t.size < e;
|
|
@@ -634,7 +598,7 @@ function xn(e = 100) {
|
|
|
634
598
|
t.delete(e);
|
|
635
599
|
}
|
|
636
600
|
function i(e) {
|
|
637
|
-
if (!n()) return
|
|
601
|
+
if (!n()) return qe(mn);
|
|
638
602
|
let i = e();
|
|
639
603
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
640
604
|
}
|
|
@@ -642,7 +606,7 @@ function xn(e = 100) {
|
|
|
642
606
|
if (!t.size) return xe(!0);
|
|
643
607
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
644
608
|
if (!e) return n;
|
|
645
|
-
let r = [n, new Promise((t) =>
|
|
609
|
+
let r = [n, new Promise((t) => pn(setTimeout(() => t(!1), e)))];
|
|
646
610
|
return Promise.race(r);
|
|
647
611
|
}
|
|
648
612
|
return {
|
|
@@ -654,51 +618,51 @@ function xn(e = 100) {
|
|
|
654
618
|
};
|
|
655
619
|
}
|
|
656
620
|
//#endregion
|
|
657
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
658
|
-
var
|
|
659
|
-
function
|
|
621
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
622
|
+
var gn = 60 * 1e3;
|
|
623
|
+
function _n(e, t = x()) {
|
|
660
624
|
let n = parseInt(`${e}`, 10);
|
|
661
625
|
if (!isNaN(n)) return n * 1e3;
|
|
662
626
|
let r = Date.parse(`${e}`);
|
|
663
|
-
return isNaN(r) ?
|
|
627
|
+
return isNaN(r) ? gn : r - t;
|
|
664
628
|
}
|
|
665
|
-
function
|
|
629
|
+
function vn(e, t) {
|
|
666
630
|
return e[t] || e.all || 0;
|
|
667
631
|
}
|
|
668
|
-
function
|
|
669
|
-
return
|
|
632
|
+
function yn(e, t, n = x()) {
|
|
633
|
+
return vn(e, t) > n;
|
|
670
634
|
}
|
|
671
|
-
function
|
|
635
|
+
function bn(e, { statusCode: t, headers: n }, r = x()) {
|
|
672
636
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
673
637
|
if (a) for (let e of a.trim().split(",")) {
|
|
674
638
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
675
639
|
if (!n) i.all = r + s;
|
|
676
640
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
677
641
|
}
|
|
678
|
-
else o ? i.all = r +
|
|
642
|
+
else o ? i.all = r + _n(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
679
643
|
return i;
|
|
680
644
|
}
|
|
681
|
-
function
|
|
645
|
+
function xn(e, t, n = hn(e.bufferSize || 64)) {
|
|
682
646
|
let r = {}, i = (e) => n.drain(e);
|
|
683
647
|
function a(i) {
|
|
684
648
|
let a = [];
|
|
685
|
-
if (
|
|
686
|
-
let i =
|
|
687
|
-
|
|
649
|
+
if (bt(i, (t, n) => {
|
|
650
|
+
let i = Ot(n);
|
|
651
|
+
yn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
688
652
|
}), a.length === 0) return Promise.resolve({});
|
|
689
|
-
let o =
|
|
690
|
-
if (
|
|
691
|
-
|
|
653
|
+
let o = z(i[0], a), s = (t) => {
|
|
654
|
+
if (xt(o, ["client_report"])) {
|
|
655
|
+
P && M.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
692
656
|
return;
|
|
693
657
|
}
|
|
694
|
-
|
|
695
|
-
e.recordDroppedEvent(t,
|
|
658
|
+
bt(o, (n, r) => {
|
|
659
|
+
e.recordDroppedEvent(t, Ot(r));
|
|
696
660
|
});
|
|
697
661
|
};
|
|
698
|
-
return n.add(() => t({ body:
|
|
699
|
-
throw s("network_error"),
|
|
662
|
+
return n.add(() => t({ body: Ct(o) }).then((e) => e.statusCode === 413 ? (P && M.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (P && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && M.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = bn(r, e), e), (e) => {
|
|
663
|
+
throw s("network_error"), P && M.error("Encountered error running transport request:", e), e;
|
|
700
664
|
})).then((e) => e, (e) => {
|
|
701
|
-
if (e ===
|
|
665
|
+
if (e === mn) return P && M.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
702
666
|
throw e;
|
|
703
667
|
});
|
|
704
668
|
}
|
|
@@ -708,17 +672,17 @@ function Dn(e, t, n = xn(e.bufferSize || 64)) {
|
|
|
708
672
|
};
|
|
709
673
|
}
|
|
710
674
|
//#endregion
|
|
711
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
712
|
-
function
|
|
675
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
676
|
+
function Sn(e, t, n) {
|
|
713
677
|
let r = [{ type: "client_report" }, {
|
|
714
678
|
timestamp: n || je(),
|
|
715
679
|
discarded_events: e
|
|
716
680
|
}];
|
|
717
|
-
return
|
|
681
|
+
return z(t ? { dsn: t } : {}, [r]);
|
|
718
682
|
}
|
|
719
683
|
//#endregion
|
|
720
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
721
|
-
function
|
|
684
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
685
|
+
function Cn(e) {
|
|
722
686
|
let t = [];
|
|
723
687
|
e.message && t.push(e.message);
|
|
724
688
|
try {
|
|
@@ -728,8 +692,8 @@ function kn(e) {
|
|
|
728
692
|
return t;
|
|
729
693
|
}
|
|
730
694
|
//#endregion
|
|
731
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
732
|
-
function
|
|
695
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
696
|
+
function wn(e) {
|
|
733
697
|
var t, n, r;
|
|
734
698
|
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;
|
|
735
699
|
return {
|
|
@@ -743,13 +707,13 @@ function An(e) {
|
|
|
743
707
|
timestamp: e.timestamp,
|
|
744
708
|
trace_id: i == null ? "" : i,
|
|
745
709
|
origin: c,
|
|
746
|
-
profile_id: l == null ? void 0 : l[
|
|
710
|
+
profile_id: l == null ? void 0 : l[Ze],
|
|
747
711
|
exclusive_time: l == null ? void 0 : l[ve],
|
|
748
712
|
measurements: e.measurements,
|
|
749
713
|
is_segment: !0
|
|
750
714
|
};
|
|
751
715
|
}
|
|
752
|
-
function
|
|
716
|
+
function Tn(e) {
|
|
753
717
|
return {
|
|
754
718
|
type: "transaction",
|
|
755
719
|
timestamp: e.timestamp,
|
|
@@ -772,8 +736,8 @@ function jn(e) {
|
|
|
772
736
|
};
|
|
773
737
|
}
|
|
774
738
|
//#endregion
|
|
775
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
776
|
-
var
|
|
739
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/data-collection/filtering-snippets.js
|
|
740
|
+
var En = [
|
|
777
741
|
"forwarded",
|
|
778
742
|
"-ip",
|
|
779
743
|
"remote-",
|
|
@@ -781,8 +745,8 @@ var W = [
|
|
|
781
745
|
"-user"
|
|
782
746
|
];
|
|
783
747
|
//#endregion
|
|
784
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
785
|
-
function
|
|
748
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/data-collection/defaultPiiToCollectionOptions.js
|
|
749
|
+
function Dn(e) {
|
|
786
750
|
return e === !0 ? {
|
|
787
751
|
userInfo: !0,
|
|
788
752
|
cookies: !0,
|
|
@@ -805,13 +769,13 @@ function Mn(e) {
|
|
|
805
769
|
frameContextLines: 7
|
|
806
770
|
} : {
|
|
807
771
|
userInfo: !1,
|
|
808
|
-
cookies: { deny:
|
|
772
|
+
cookies: { deny: En },
|
|
809
773
|
httpHeaders: {
|
|
810
|
-
request: { deny:
|
|
811
|
-
response: { deny:
|
|
774
|
+
request: { deny: En },
|
|
775
|
+
response: { deny: En }
|
|
812
776
|
},
|
|
813
777
|
httpBodies: [],
|
|
814
|
-
queryParams: { deny:
|
|
778
|
+
queryParams: { deny: En },
|
|
815
779
|
genAI: {
|
|
816
780
|
inputs: !1,
|
|
817
781
|
outputs: !1
|
|
@@ -821,8 +785,8 @@ function Mn(e) {
|
|
|
821
785
|
};
|
|
822
786
|
}
|
|
823
787
|
//#endregion
|
|
824
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
825
|
-
var
|
|
788
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/data-collection/resolveDataCollectionOptions.js
|
|
789
|
+
var On = {
|
|
826
790
|
userInfo: !0,
|
|
827
791
|
cookies: !0,
|
|
828
792
|
httpHeaders: {
|
|
@@ -843,9 +807,9 @@ var Nn = {
|
|
|
843
807
|
stackFrameVariables: !0,
|
|
844
808
|
frameContextLines: 5
|
|
845
809
|
};
|
|
846
|
-
function
|
|
810
|
+
function kn(e) {
|
|
847
811
|
var t, n, r, i, a, o, s, c, l, u, d, ee, f, p, te;
|
|
848
|
-
let m = e.dataCollection == null ?
|
|
812
|
+
let m = e.dataCollection == null ? Dn(e.sendDefaultPii) : On, h = (t = e.dataCollection) == null ? {} : t;
|
|
849
813
|
return {
|
|
850
814
|
userInfo: (n = h.userInfo) == null ? m.userInfo : n,
|
|
851
815
|
cookies: (r = h.cookies) == null ? m.cookies : r,
|
|
@@ -864,27 +828,27 @@ function Pn(e) {
|
|
|
864
828
|
};
|
|
865
829
|
}
|
|
866
830
|
//#endregion
|
|
867
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
868
|
-
var
|
|
869
|
-
function
|
|
831
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/client.js
|
|
832
|
+
var An = "Not capturing exception because it's already been captured.", jn = "Discarded session because of missing or non-string release", Mn = /* @__PURE__ */ Symbol.for("SentryInternalError"), Nn = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError"), Pn = 5e3;
|
|
833
|
+
function Fn(e) {
|
|
870
834
|
return {
|
|
871
835
|
message: e,
|
|
872
|
-
[
|
|
836
|
+
[Mn]: !0
|
|
873
837
|
};
|
|
874
838
|
}
|
|
875
|
-
function
|
|
839
|
+
function In(e) {
|
|
876
840
|
return {
|
|
877
841
|
message: e,
|
|
878
|
-
[
|
|
842
|
+
[Nn]: !0
|
|
879
843
|
};
|
|
880
844
|
}
|
|
881
|
-
function
|
|
882
|
-
return !!e && typeof e == "object" &&
|
|
845
|
+
function Ln(e) {
|
|
846
|
+
return !!e && typeof e == "object" && Mn in e;
|
|
883
847
|
}
|
|
884
|
-
function
|
|
885
|
-
return !!e && typeof e == "object" &&
|
|
848
|
+
function Rn(e) {
|
|
849
|
+
return !!e && typeof e == "object" && Nn in e;
|
|
886
850
|
}
|
|
887
|
-
function
|
|
851
|
+
function zn(e, t, n, r, i) {
|
|
888
852
|
let a = 0, o, s = !1;
|
|
889
853
|
e.on(n, () => {
|
|
890
854
|
a = 0, clearTimeout(o), s = !1;
|
|
@@ -892,8 +856,8 @@ function Un(e, t, n, r, i) {
|
|
|
892
856
|
if (a += r(t), a >= 8e5) i(e);
|
|
893
857
|
else if (!s) {
|
|
894
858
|
var n;
|
|
895
|
-
let t = (n = e.getOptions()._flushInterval) == null ?
|
|
896
|
-
t > 0 && (s = !0, o =
|
|
859
|
+
let t = (n = e.getOptions()._flushInterval) == null ? Pn : n;
|
|
860
|
+
t > 0 && (s = !0, o = pn(setTimeout(() => {
|
|
897
861
|
i(e);
|
|
898
862
|
}, t)));
|
|
899
863
|
}
|
|
@@ -901,11 +865,11 @@ function Un(e, t, n, r, i) {
|
|
|
901
865
|
i(e);
|
|
902
866
|
});
|
|
903
867
|
}
|
|
904
|
-
var
|
|
868
|
+
var Bn = class {
|
|
905
869
|
constructor(e) {
|
|
906
870
|
var t, n, r, i, a, o, s;
|
|
907
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
908
|
-
let t =
|
|
871
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = hn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = kn(e), e.dsn ? this._dsn = Ye(e.dsn) : P && M.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
872
|
+
let t = Vt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
909
873
|
this._transport = e.transport({
|
|
910
874
|
tunnel: this._options.tunnel,
|
|
911
875
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -913,11 +877,11 @@ var Wn = class {
|
|
|
913
877
|
url: t
|
|
914
878
|
});
|
|
915
879
|
}
|
|
916
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
880
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && zn(this, "afterCaptureLog", "flushLogs", qn, nn), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && zn(this, "afterCaptureMetric", "flushMetrics", Kn, cn);
|
|
917
881
|
}
|
|
918
882
|
captureException(e, t, n) {
|
|
919
883
|
let r = y();
|
|
920
|
-
if (se(e)) return
|
|
884
|
+
if (se(e)) return P && M.log(An), r;
|
|
921
885
|
let i = {
|
|
922
886
|
event_id: r,
|
|
923
887
|
...t
|
|
@@ -928,16 +892,16 @@ var Wn = class {
|
|
|
928
892
|
let i = {
|
|
929
893
|
event_id: y(),
|
|
930
894
|
...n
|
|
931
|
-
}, a =
|
|
895
|
+
}, a = Ke(e) ? e : String(e), o = He(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
932
896
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
933
897
|
}
|
|
934
898
|
captureEvent(e, t, n) {
|
|
935
899
|
let r = y();
|
|
936
|
-
if (t != null && t.originalException && se(t.originalException)) return
|
|
900
|
+
if (t != null && t.originalException && se(t.originalException)) return P && M.log(An), r;
|
|
937
901
|
let i = {
|
|
938
902
|
event_id: r,
|
|
939
903
|
...t
|
|
940
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
904
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Vn(e.type);
|
|
941
905
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
942
906
|
}
|
|
943
907
|
captureSession(e) {
|
|
@@ -965,7 +929,7 @@ var Wn = class {
|
|
|
965
929
|
return n && r;
|
|
966
930
|
}
|
|
967
931
|
async close(e) {
|
|
968
|
-
|
|
932
|
+
nn(this);
|
|
969
933
|
let t = await this.flush(e);
|
|
970
934
|
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
971
935
|
}
|
|
@@ -986,38 +950,38 @@ var Wn = class {
|
|
|
986
950
|
}
|
|
987
951
|
addIntegration(e) {
|
|
988
952
|
let t = this._integrations[e.name];
|
|
989
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
953
|
+
!t && e.beforeSetup && e.beforeSetup(this), Jt(this, e, this._integrations), t || qt(this, [e]);
|
|
990
954
|
}
|
|
991
955
|
sendEvent(e, t = {}) {
|
|
992
956
|
this.emit("beforeSendEvent", e, t);
|
|
993
|
-
let n =
|
|
994
|
-
for (let e of t.attachments || []) r =
|
|
995
|
-
n && (r =
|
|
957
|
+
let n = fn(e, this), r = Nt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
958
|
+
for (let e of t.attachments || []) r = yt(r, Tt(e));
|
|
959
|
+
n && (r = yt(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
996
960
|
}
|
|
997
961
|
sendSession(e) {
|
|
998
|
-
let { release: t, environment: n =
|
|
962
|
+
let { release: t, environment: n = ze } = this._options;
|
|
999
963
|
if ("aggregates" in e) {
|
|
1000
964
|
let r = e.attrs || {};
|
|
1001
965
|
if (!r.release && !t) {
|
|
1002
|
-
|
|
966
|
+
P && M.warn(jn);
|
|
1003
967
|
return;
|
|
1004
968
|
}
|
|
1005
969
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
1006
970
|
} else {
|
|
1007
971
|
if (!e.release && !t) {
|
|
1008
|
-
|
|
972
|
+
P && M.warn(jn);
|
|
1009
973
|
return;
|
|
1010
974
|
}
|
|
1011
975
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
1012
976
|
}
|
|
1013
977
|
this.emit("beforeSendSession", e);
|
|
1014
|
-
let r =
|
|
978
|
+
let r = Mt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
1015
979
|
this.sendEnvelope(r);
|
|
1016
980
|
}
|
|
1017
981
|
recordDroppedEvent(e, t, n = 1) {
|
|
1018
982
|
if (this._options.sendClientReports) {
|
|
1019
983
|
let r = `${e}:${t}`;
|
|
1020
|
-
|
|
984
|
+
P && M.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
1021
985
|
}
|
|
1022
986
|
}
|
|
1023
987
|
on(e, t) {
|
|
@@ -1034,15 +998,15 @@ var Wn = class {
|
|
|
1034
998
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
1035
999
|
return await this._transport.send(e);
|
|
1036
1000
|
} catch (e) {
|
|
1037
|
-
return
|
|
1001
|
+
return P && M.error("Error while sending envelope:", e), {};
|
|
1038
1002
|
}
|
|
1039
|
-
return
|
|
1003
|
+
return P && M.error("Transport disabled"), {};
|
|
1040
1004
|
}
|
|
1041
1005
|
registerCleanup(e) {}
|
|
1042
1006
|
dispose() {}
|
|
1043
1007
|
_setupIntegrations() {
|
|
1044
1008
|
let { integrations: e } = this._options;
|
|
1045
|
-
this._integrations =
|
|
1009
|
+
this._integrations = Kt(this, e), qt(this, e);
|
|
1046
1010
|
}
|
|
1047
1011
|
_updateSessionFromEvent(e, t) {
|
|
1048
1012
|
var n;
|
|
@@ -1090,26 +1054,26 @@ var Wn = class {
|
|
|
1090
1054
|
}, e);
|
|
1091
1055
|
});
|
|
1092
1056
|
}
|
|
1093
|
-
_captureEvent(e, t = {}, n = v(), r =
|
|
1094
|
-
return
|
|
1095
|
-
|
|
1057
|
+
_captureEvent(e, t = {}, n = v(), r = Xe()) {
|
|
1058
|
+
return P && Wn(e) && M.log(`Captured error event \`${Cn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1059
|
+
P && (Rn(e) ? M.log(e.message) : Ln(e) ? M.warn(e.message) : M.warn(e));
|
|
1096
1060
|
});
|
|
1097
1061
|
}
|
|
1098
1062
|
_processEvent(e, t, n, r) {
|
|
1099
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
1100
|
-
if (s && typeof l == "number" && de() > l) return this.recordDroppedEvent("sample_rate", "error"),
|
|
1101
|
-
let u =
|
|
1063
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Gn(e), s = Wn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : ft(a);
|
|
1064
|
+
if (s && typeof l == "number" && de() > l) return this.recordDroppedEvent("sample_rate", "error"), qe(In(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1065
|
+
let u = Vn(e.type);
|
|
1102
1066
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1103
1067
|
var n;
|
|
1104
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
1105
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e :
|
|
1068
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), In("An event processor returned `null`, will not send event.");
|
|
1069
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Hn(Un(this, i, e, t), c);
|
|
1106
1070
|
}).then((i) => {
|
|
1107
1071
|
if (i === null) {
|
|
1108
1072
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
1109
1073
|
let t = 1 + (e.spans || []).length;
|
|
1110
1074
|
this.recordDroppedEvent("before_send", "span", t);
|
|
1111
1075
|
}
|
|
1112
|
-
throw
|
|
1076
|
+
throw In(`${c} returned \`null\`, will not send event.`);
|
|
1113
1077
|
}
|
|
1114
1078
|
let a = n.getSession() || r.getSession();
|
|
1115
1079
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -1123,19 +1087,19 @@ var Wn = class {
|
|
|
1123
1087
|
source: "custom"
|
|
1124
1088
|
}), this.sendEvent(i, t), i;
|
|
1125
1089
|
}).then(null, (e) => {
|
|
1126
|
-
throw
|
|
1090
|
+
throw Rn(e) || Ln(e) ? e : (this.captureException(e, {
|
|
1127
1091
|
mechanism: {
|
|
1128
1092
|
handled: !1,
|
|
1129
1093
|
type: "internal"
|
|
1130
1094
|
},
|
|
1131
1095
|
data: { __sentry__: !0 },
|
|
1132
1096
|
originalException: e
|
|
1133
|
-
}),
|
|
1097
|
+
}), Fn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
1134
1098
|
Reason: ${e}`));
|
|
1135
1099
|
});
|
|
1136
1100
|
}
|
|
1137
1101
|
_process(e, t) {
|
|
1138
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
1102
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === mn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
1139
1103
|
}
|
|
1140
1104
|
_clearOutcomes() {
|
|
1141
1105
|
let e = this._outcomes;
|
|
@@ -1149,59 +1113,59 @@ Reason: ${e}`));
|
|
|
1149
1113
|
});
|
|
1150
1114
|
}
|
|
1151
1115
|
_flushOutcomes() {
|
|
1152
|
-
|
|
1116
|
+
P && M.log("Flushing outcomes...");
|
|
1153
1117
|
let e = this._clearOutcomes();
|
|
1154
1118
|
if (e.length === 0) {
|
|
1155
|
-
|
|
1119
|
+
P && M.log("No outcomes to send");
|
|
1156
1120
|
return;
|
|
1157
1121
|
}
|
|
1158
1122
|
if (!this._dsn) {
|
|
1159
|
-
|
|
1123
|
+
P && M.log("No dsn provided, will not send outcomes");
|
|
1160
1124
|
return;
|
|
1161
1125
|
}
|
|
1162
|
-
|
|
1163
|
-
let t =
|
|
1126
|
+
P && M.log("Sending outcomes:", e);
|
|
1127
|
+
let t = Sn(e, this._options.tunnel && O(this._dsn));
|
|
1164
1128
|
this.sendEnvelope(t);
|
|
1165
1129
|
}
|
|
1166
1130
|
};
|
|
1167
|
-
function
|
|
1131
|
+
function Vn(e) {
|
|
1168
1132
|
return e === "replay_event" ? "replay" : e || "error";
|
|
1169
1133
|
}
|
|
1170
|
-
function
|
|
1134
|
+
function Hn(e, t) {
|
|
1171
1135
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1172
|
-
if (
|
|
1173
|
-
if (!
|
|
1136
|
+
if (Re(e)) return e.then((e) => {
|
|
1137
|
+
if (!Ie(e) && e !== null) throw Fn(n);
|
|
1174
1138
|
return e;
|
|
1175
1139
|
}, (e) => {
|
|
1176
|
-
throw
|
|
1140
|
+
throw Fn(`${t} rejected with ${e}`);
|
|
1177
1141
|
});
|
|
1178
|
-
if (!
|
|
1142
|
+
if (!Ie(e) && e !== null) throw Fn(n);
|
|
1179
1143
|
return e;
|
|
1180
1144
|
}
|
|
1181
|
-
function
|
|
1182
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
1183
|
-
if (
|
|
1184
|
-
if (
|
|
1145
|
+
function Un(e, t, n, r) {
|
|
1146
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !vt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
1147
|
+
if (Wn(c) && i) return i(c, r);
|
|
1148
|
+
if (Gn(c)) {
|
|
1185
1149
|
if (s || o) {
|
|
1186
|
-
let t =
|
|
1187
|
-
if (o != null && o.length &&
|
|
1150
|
+
let t = wn(c);
|
|
1151
|
+
if (o != null && o.length && mt({
|
|
1188
1152
|
description: t.description,
|
|
1189
1153
|
op: t.op,
|
|
1190
1154
|
attributes: t.data
|
|
1191
1155
|
}, o)) return null;
|
|
1192
1156
|
if (s) {
|
|
1193
1157
|
let e = s(t);
|
|
1194
|
-
e ? c = ne(n,
|
|
1158
|
+
e ? c = ne(n, Tn(e)) : Ne();
|
|
1195
1159
|
}
|
|
1196
1160
|
if (c.spans) {
|
|
1197
1161
|
let t = [], n = c.spans;
|
|
1198
1162
|
for (let e of n) {
|
|
1199
|
-
if (o != null && o.length &&
|
|
1163
|
+
if (o != null && o.length && mt({
|
|
1200
1164
|
description: e.description,
|
|
1201
1165
|
op: e.op,
|
|
1202
1166
|
attributes: e.data
|
|
1203
1167
|
}, o)) {
|
|
1204
|
-
|
|
1168
|
+
gt(n, e);
|
|
1205
1169
|
continue;
|
|
1206
1170
|
}
|
|
1207
1171
|
if (s) {
|
|
@@ -1226,56 +1190,56 @@ function qn(e, t, n, r) {
|
|
|
1226
1190
|
}
|
|
1227
1191
|
return c;
|
|
1228
1192
|
}
|
|
1229
|
-
function
|
|
1193
|
+
function Wn(e) {
|
|
1230
1194
|
return e.type === void 0;
|
|
1231
1195
|
}
|
|
1232
|
-
function
|
|
1196
|
+
function Gn(e) {
|
|
1233
1197
|
return e.type === "transaction";
|
|
1234
1198
|
}
|
|
1235
|
-
function
|
|
1199
|
+
function Kn(e) {
|
|
1236
1200
|
let t = 0;
|
|
1237
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1201
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Jn(e.attributes);
|
|
1238
1202
|
}
|
|
1239
|
-
function
|
|
1203
|
+
function qn(e) {
|
|
1240
1204
|
let t = 0;
|
|
1241
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1205
|
+
return e.message && (t += e.message.length * 2), t + Jn(e.attributes);
|
|
1242
1206
|
}
|
|
1243
|
-
function
|
|
1207
|
+
function Jn(e) {
|
|
1244
1208
|
if (!e) return 0;
|
|
1245
1209
|
let t = 0;
|
|
1246
1210
|
return Object.values(e).forEach((e) => {
|
|
1247
|
-
Array.isArray(e) ? t += e.length *
|
|
1211
|
+
Array.isArray(e) ? t += e.length * Yn(e[0]) : He(e) ? t += Yn(e) : t += 100;
|
|
1248
1212
|
}), t;
|
|
1249
1213
|
}
|
|
1250
|
-
function
|
|
1214
|
+
function Yn(e) {
|
|
1251
1215
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1252
1216
|
}
|
|
1253
1217
|
//#endregion
|
|
1254
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1255
|
-
function
|
|
1256
|
-
t.debug === !0 && (
|
|
1218
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1219
|
+
function Xn(e, t) {
|
|
1220
|
+
t.debug === !0 && (P ? M.enable() : Te(() => {
|
|
1257
1221
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1258
1222
|
})), v().update(t.initialScope);
|
|
1259
1223
|
let n = new e(t);
|
|
1260
|
-
return
|
|
1224
|
+
return Zn(n), n.init(), n;
|
|
1261
1225
|
}
|
|
1262
|
-
function
|
|
1226
|
+
function Zn(e) {
|
|
1263
1227
|
v().setClient(e);
|
|
1264
1228
|
}
|
|
1265
|
-
var
|
|
1266
|
-
function
|
|
1229
|
+
var Qn = 5e3, $n = 36e5;
|
|
1230
|
+
function er(e) {
|
|
1267
1231
|
function t(...e) {
|
|
1268
|
-
|
|
1232
|
+
P && M.log("[Offline]:", ...e);
|
|
1269
1233
|
}
|
|
1270
1234
|
return (n) => {
|
|
1271
1235
|
let r = e(n);
|
|
1272
1236
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1273
|
-
let i = n.createStore(n), a =
|
|
1237
|
+
let i = n.createStore(n), a = Qn, o;
|
|
1274
1238
|
function s(e, t, r) {
|
|
1275
|
-
return
|
|
1239
|
+
return xt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1276
1240
|
}
|
|
1277
1241
|
function c(e) {
|
|
1278
|
-
o && clearTimeout(o), o =
|
|
1242
|
+
o && clearTimeout(o), o = pn(setTimeout(async () => {
|
|
1279
1243
|
o = void 0;
|
|
1280
1244
|
let e = await i.shift();
|
|
1281
1245
|
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(x()).toISOString(), u(e, !0).catch((e) => {
|
|
@@ -1284,20 +1248,20 @@ function ir(e) {
|
|
|
1284
1248
|
}, e));
|
|
1285
1249
|
}
|
|
1286
1250
|
function l() {
|
|
1287
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1251
|
+
o || (c(a), a = Math.min(a * 2, $n));
|
|
1288
1252
|
}
|
|
1289
1253
|
async function u(e, o = !1) {
|
|
1290
|
-
if (!o &&
|
|
1254
|
+
if (!o && xt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1291
1255
|
try {
|
|
1292
1256
|
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1293
1257
|
let t = await r.send(e), i = 100;
|
|
1294
1258
|
if (t) {
|
|
1295
1259
|
var u, d;
|
|
1296
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
1260
|
+
if ((u = t.headers) != null && u["retry-after"]) i = _n(t.headers["retry-after"]);
|
|
1297
1261
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1298
1262
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1299
1263
|
}
|
|
1300
|
-
return c(i), a =
|
|
1264
|
+
return c(i), a = Qn, t;
|
|
1301
1265
|
} catch (n) {
|
|
1302
1266
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1303
1267
|
throw n;
|
|
@@ -1305,13 +1269,13 @@ function ir(e) {
|
|
|
1305
1269
|
}
|
|
1306
1270
|
return n.flushAtStartup && l(), {
|
|
1307
1271
|
send: u,
|
|
1308
|
-
flush: (e) => (e === void 0 && (a =
|
|
1272
|
+
flush: (e) => (e === void 0 && (a = Qn, c(100)), r.flush(e))
|
|
1309
1273
|
};
|
|
1310
1274
|
};
|
|
1311
1275
|
}
|
|
1312
1276
|
//#endregion
|
|
1313
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1314
|
-
function
|
|
1277
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1278
|
+
function tr(e) {
|
|
1315
1279
|
if ("aggregates" in e) {
|
|
1316
1280
|
var t;
|
|
1317
1281
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1321,8 +1285,8 @@ function ar(e) {
|
|
|
1321
1285
|
} else e.ipAddress === void 0 && (e.ipAddress = "{{auto}}");
|
|
1322
1286
|
}
|
|
1323
1287
|
//#endregion
|
|
1324
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1325
|
-
function
|
|
1288
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1289
|
+
function nr(e, t, n = [t], r = "npm") {
|
|
1326
1290
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1327
1291
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1328
1292
|
name: `${r}:@sentry/${e}`,
|
|
@@ -1330,12 +1294,12 @@ function or(e, t, n = [t], r = "npm") {
|
|
|
1330
1294
|
})), i.version = ge);
|
|
1331
1295
|
}
|
|
1332
1296
|
//#endregion
|
|
1333
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1336
|
-
let n = E(), r =
|
|
1297
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1298
|
+
var rr = 100;
|
|
1299
|
+
function V(e, t) {
|
|
1300
|
+
let n = E(), r = Xe();
|
|
1337
1301
|
if (!n) return;
|
|
1338
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1302
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = rr } = n.getOptions();
|
|
1339
1303
|
if (a <= 0) return;
|
|
1340
1304
|
let o = {
|
|
1341
1305
|
timestamp: je(),
|
|
@@ -1344,22 +1308,22 @@ function K(e, t) {
|
|
|
1344
1308
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1345
1309
|
}
|
|
1346
1310
|
//#endregion
|
|
1347
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1348
|
-
var
|
|
1349
|
-
name:
|
|
1311
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1312
|
+
var ir, ar = "FunctionToString", or = /* @__PURE__ */ new WeakMap(), sr = B((() => ({
|
|
1313
|
+
name: ar,
|
|
1350
1314
|
setupOnce() {
|
|
1351
|
-
|
|
1315
|
+
ir = Function.prototype.toString;
|
|
1352
1316
|
try {
|
|
1353
1317
|
Function.prototype.toString = function(...e) {
|
|
1354
|
-
let t =
|
|
1355
|
-
return
|
|
1318
|
+
let t = Be(this), n = or.has(E()) && t !== void 0 ? t : this;
|
|
1319
|
+
return ir.apply(n, e);
|
|
1356
1320
|
};
|
|
1357
1321
|
} catch {}
|
|
1358
1322
|
},
|
|
1359
1323
|
setup(e) {
|
|
1360
|
-
|
|
1324
|
+
or.set(e, !0);
|
|
1361
1325
|
}
|
|
1362
|
-
}))),
|
|
1326
|
+
}))), cr = [
|
|
1363
1327
|
/^Script error\.?$/,
|
|
1364
1328
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1365
1329
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1371,127 +1335,127 @@ var cr, lr = "FunctionToString", ur = /* @__PURE__ */ new WeakMap(), dr = U((()
|
|
|
1371
1335
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1372
1336
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1373
1337
|
/^Java exception was raised during method invocation$/
|
|
1374
|
-
],
|
|
1338
|
+
], lr = "EventFilters", ur = B((e = {}) => {
|
|
1375
1339
|
let t;
|
|
1376
1340
|
return {
|
|
1377
|
-
name:
|
|
1341
|
+
name: lr,
|
|
1378
1342
|
setup(n) {
|
|
1379
|
-
t =
|
|
1343
|
+
t = fr(e, n.getOptions());
|
|
1380
1344
|
},
|
|
1381
1345
|
processEvent(n, r, i) {
|
|
1382
|
-
return t || (t =
|
|
1346
|
+
return t || (t = fr(e, i.getOptions())), pr(n, t) ? null : n;
|
|
1383
1347
|
}
|
|
1384
1348
|
};
|
|
1385
|
-
}),
|
|
1386
|
-
...
|
|
1349
|
+
}), dr = B(((e = {}) => ({
|
|
1350
|
+
...ur(e),
|
|
1387
1351
|
name: "InboundFilters"
|
|
1388
1352
|
})));
|
|
1389
|
-
function
|
|
1353
|
+
function fr(e = {}, t = {}) {
|
|
1390
1354
|
return {
|
|
1391
1355
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1392
1356
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1393
1357
|
ignoreErrors: [
|
|
1394
1358
|
...e.ignoreErrors || [],
|
|
1395
1359
|
...t.ignoreErrors || [],
|
|
1396
|
-
...e.disableErrorDefaults ? [] :
|
|
1360
|
+
...e.disableErrorDefaults ? [] : cr
|
|
1397
1361
|
],
|
|
1398
1362
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1399
1363
|
};
|
|
1400
1364
|
}
|
|
1401
|
-
function
|
|
1365
|
+
function pr(e, t) {
|
|
1402
1366
|
if (!e.type) {
|
|
1403
|
-
if (
|
|
1367
|
+
if (mr(e, t.ignoreErrors)) return P && M.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1404
1368
|
Event: ${w(e)}`), !0;
|
|
1405
|
-
if (
|
|
1369
|
+
if (br(e)) return P && M.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1406
1370
|
Event: ${w(e)}`), !0;
|
|
1407
|
-
if (
|
|
1371
|
+
if (gr(e, t.denyUrls)) return P && M.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1408
1372
|
Event: ${w(e)}.
|
|
1409
|
-
Url: ${
|
|
1410
|
-
if (!
|
|
1373
|
+
Url: ${yr(e)}`), !0;
|
|
1374
|
+
if (!_r(e, t.allowUrls)) return P && M.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1411
1375
|
Event: ${w(e)}.
|
|
1412
|
-
Url: ${
|
|
1413
|
-
} else if (e.type === "transaction" &&
|
|
1376
|
+
Url: ${yr(e)}`), !0;
|
|
1377
|
+
} else if (e.type === "transaction" && hr(e, t.ignoreTransactions)) return P && M.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1414
1378
|
Event: ${w(e)}`), !0;
|
|
1415
1379
|
return !1;
|
|
1416
1380
|
}
|
|
1417
|
-
function
|
|
1418
|
-
return t != null && t.length ?
|
|
1381
|
+
function mr(e, t) {
|
|
1382
|
+
return t != null && t.length ? Cn(e).some((e) => T(e, t)) : !1;
|
|
1419
1383
|
}
|
|
1420
|
-
function
|
|
1384
|
+
function hr(e, t) {
|
|
1421
1385
|
if (!(t != null && t.length)) return !1;
|
|
1422
1386
|
let n = e.transaction;
|
|
1423
1387
|
return n ? T(n, t) : !1;
|
|
1424
1388
|
}
|
|
1425
|
-
function
|
|
1389
|
+
function gr(e, t) {
|
|
1426
1390
|
if (!(t != null && t.length)) return !1;
|
|
1427
|
-
let n =
|
|
1391
|
+
let n = yr(e);
|
|
1428
1392
|
return n ? T(n, t) : !1;
|
|
1429
1393
|
}
|
|
1430
|
-
function
|
|
1394
|
+
function _r(e, t) {
|
|
1431
1395
|
if (!(t != null && t.length)) return !0;
|
|
1432
|
-
let n =
|
|
1396
|
+
let n = yr(e);
|
|
1433
1397
|
return n ? T(n, t) : !0;
|
|
1434
1398
|
}
|
|
1435
|
-
function
|
|
1399
|
+
function vr(e = []) {
|
|
1436
1400
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1437
1401
|
let n = e[t];
|
|
1438
1402
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1439
1403
|
}
|
|
1440
1404
|
return null;
|
|
1441
1405
|
}
|
|
1442
|
-
function
|
|
1406
|
+
function yr(e) {
|
|
1443
1407
|
try {
|
|
1444
1408
|
var t, n, r;
|
|
1445
1409
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1446
1410
|
var t, n;
|
|
1447
1411
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1448
1412
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1449
|
-
return a ?
|
|
1413
|
+
return a ? vr(a) : null;
|
|
1450
1414
|
} catch {
|
|
1451
|
-
return
|
|
1415
|
+
return P && M.error(`Cannot extract url for event ${w(e)}`), null;
|
|
1452
1416
|
}
|
|
1453
1417
|
}
|
|
1454
|
-
function
|
|
1418
|
+
function br(e) {
|
|
1455
1419
|
var t;
|
|
1456
1420
|
return !((t = e.exception) == null || (t = t.values) == null) && t.length ? !e.message && !e.exception.values.some((e) => e.stacktrace || e.type && e.type !== "Error" || e.value) : !1;
|
|
1457
1421
|
}
|
|
1458
1422
|
//#endregion
|
|
1459
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1460
|
-
function
|
|
1423
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1424
|
+
function xr(e, t, n, r, i, a) {
|
|
1461
1425
|
var o;
|
|
1462
1426
|
if (!((o = i.exception) != null && o.values) || !a || !Ce(a.originalException, Error)) return;
|
|
1463
1427
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1464
|
-
s && (i.exception.values =
|
|
1428
|
+
s && (i.exception.values = Sr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1465
1429
|
}
|
|
1466
|
-
function
|
|
1430
|
+
function Sr(e, t, n, r, i, a, o, s) {
|
|
1467
1431
|
if (a.length >= n + 1) return a;
|
|
1468
1432
|
let c = [...a];
|
|
1469
1433
|
if (Ce(r[i], Error)) {
|
|
1470
|
-
|
|
1434
|
+
wr(o, s, r);
|
|
1471
1435
|
let a = e(t, r[i]), l = c.length;
|
|
1472
|
-
|
|
1436
|
+
Tr(a, i, l, s), c = Sr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1473
1437
|
}
|
|
1474
|
-
return
|
|
1438
|
+
return Cr(r) && r.errors.forEach((a, l) => {
|
|
1475
1439
|
if (Ce(a, Error)) {
|
|
1476
|
-
|
|
1440
|
+
wr(o, s, r);
|
|
1477
1441
|
let u = e(t, a), d = c.length;
|
|
1478
|
-
|
|
1442
|
+
Tr(u, `errors[${l}]`, d, s), c = Sr(e, t, n, a, i, [u, ...c], u, d);
|
|
1479
1443
|
}
|
|
1480
1444
|
}), c;
|
|
1481
1445
|
}
|
|
1482
|
-
function
|
|
1446
|
+
function Cr(e) {
|
|
1483
1447
|
return Array.isArray(e.errors);
|
|
1484
1448
|
}
|
|
1485
|
-
function
|
|
1449
|
+
function wr(e, t, n) {
|
|
1486
1450
|
e.mechanism = {
|
|
1487
1451
|
handled: !0,
|
|
1488
1452
|
type: "auto.core.linked_errors",
|
|
1489
|
-
...
|
|
1453
|
+
...Cr(n) && { is_exception_group: !0 },
|
|
1490
1454
|
...e.mechanism,
|
|
1491
1455
|
exception_id: t
|
|
1492
1456
|
};
|
|
1493
1457
|
}
|
|
1494
|
-
function
|
|
1458
|
+
function Tr(e, t, n, r) {
|
|
1495
1459
|
e.mechanism = {
|
|
1496
1460
|
handled: !0,
|
|
1497
1461
|
...e.mechanism,
|
|
@@ -1502,36 +1466,36 @@ function kr(e, t, n, r) {
|
|
|
1502
1466
|
};
|
|
1503
1467
|
}
|
|
1504
1468
|
//#endregion
|
|
1505
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1506
|
-
function
|
|
1469
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1470
|
+
function Er(e) {
|
|
1507
1471
|
return he(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1508
1472
|
}
|
|
1509
|
-
function
|
|
1510
|
-
return
|
|
1473
|
+
function Dr(e) {
|
|
1474
|
+
return Er(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1511
1475
|
}
|
|
1512
1476
|
//#endregion
|
|
1513
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1514
|
-
var
|
|
1515
|
-
function
|
|
1516
|
-
let t = "console", n =
|
|
1517
|
-
return
|
|
1477
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1478
|
+
var Or = /* @__PURE__ */ new Set([]);
|
|
1479
|
+
function kr(e) {
|
|
1480
|
+
let t = "console", n = I(t, e);
|
|
1481
|
+
return L(t, Ar), n;
|
|
1518
1482
|
}
|
|
1519
|
-
function
|
|
1520
|
-
"console" in
|
|
1521
|
-
e in
|
|
1483
|
+
function Ar() {
|
|
1484
|
+
"console" in N && Se.forEach(function(e) {
|
|
1485
|
+
e in N.console && C(N.console, e, function(t) {
|
|
1522
1486
|
return Pe[e] = t, function(...t) {
|
|
1523
|
-
let n = t[0], r = Pe[e], i =
|
|
1524
|
-
i ||
|
|
1487
|
+
let n = t[0], r = Pe[e], i = Or.size && typeof n == "string" && T(n, Or);
|
|
1488
|
+
i || R("console", {
|
|
1525
1489
|
args: t,
|
|
1526
1490
|
level: e
|
|
1527
|
-
}), (!i ||
|
|
1491
|
+
}), (!i || P && M.isEnabled()) && (r == null || r.apply(N.console, t));
|
|
1528
1492
|
};
|
|
1529
1493
|
});
|
|
1530
1494
|
});
|
|
1531
1495
|
}
|
|
1532
1496
|
//#endregion
|
|
1533
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1534
|
-
function
|
|
1497
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1498
|
+
function jr(e) {
|
|
1535
1499
|
return e === "warn" ? "warning" : [
|
|
1536
1500
|
"fatal",
|
|
1537
1501
|
"error",
|
|
@@ -1542,32 +1506,32 @@ function Fr(e) {
|
|
|
1542
1506
|
].includes(e) ? e : "log";
|
|
1543
1507
|
}
|
|
1544
1508
|
//#endregion
|
|
1545
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1546
|
-
var
|
|
1509
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1510
|
+
var Mr = "Dedupe", Nr = B((() => {
|
|
1547
1511
|
let e;
|
|
1548
1512
|
return {
|
|
1549
|
-
name:
|
|
1513
|
+
name: Mr,
|
|
1550
1514
|
processEvent(t) {
|
|
1551
1515
|
if (t.type) return t;
|
|
1552
1516
|
try {
|
|
1553
|
-
if (
|
|
1517
|
+
if (Pr(t, e)) return P && M.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1554
1518
|
} catch {}
|
|
1555
1519
|
return e = t;
|
|
1556
1520
|
}
|
|
1557
1521
|
};
|
|
1558
1522
|
}));
|
|
1559
|
-
function
|
|
1560
|
-
return t ? !!(
|
|
1523
|
+
function Pr(e, t) {
|
|
1524
|
+
return t ? !!(Fr(e, t) || Ir(e, t)) : !1;
|
|
1561
1525
|
}
|
|
1562
|
-
function
|
|
1526
|
+
function Fr(e, t) {
|
|
1563
1527
|
let n = e.message, r = t.message;
|
|
1564
|
-
return !(!n && !r || n && !r || !n && r || n !== r || !
|
|
1528
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Rr(e, t) || !Lr(e, t));
|
|
1565
1529
|
}
|
|
1566
|
-
function
|
|
1567
|
-
let n =
|
|
1568
|
-
return !(!n || !r || n.type !== r.type || n.value !== r.value || !
|
|
1530
|
+
function Ir(e, t) {
|
|
1531
|
+
let n = zr(t), r = zr(e);
|
|
1532
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Rr(e, t) || !Lr(e, t));
|
|
1569
1533
|
}
|
|
1570
|
-
function
|
|
1534
|
+
function Lr(e, t) {
|
|
1571
1535
|
let n = be(e), r = be(t);
|
|
1572
1536
|
if (!n && !r) return !0;
|
|
1573
1537
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
@@ -1577,7 +1541,7 @@ function Vr(e, t) {
|
|
|
1577
1541
|
}
|
|
1578
1542
|
return !0;
|
|
1579
1543
|
}
|
|
1580
|
-
function
|
|
1544
|
+
function Rr(e, t) {
|
|
1581
1545
|
let n = e.fingerprint, r = t.fingerprint;
|
|
1582
1546
|
if (!n && !r) return !0;
|
|
1583
1547
|
if (n && !r || !n && r) return !1;
|
|
@@ -1588,74 +1552,74 @@ function Hr(e, t) {
|
|
|
1588
1552
|
return !1;
|
|
1589
1553
|
}
|
|
1590
1554
|
}
|
|
1591
|
-
function
|
|
1555
|
+
function zr(e) {
|
|
1592
1556
|
var t;
|
|
1593
1557
|
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1594
1558
|
}
|
|
1595
1559
|
//#endregion
|
|
1596
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1597
|
-
var
|
|
1598
|
-
name:
|
|
1560
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1561
|
+
var Br = "ConversationId", Vr = B((() => ({
|
|
1562
|
+
name: Br,
|
|
1599
1563
|
setup(e) {
|
|
1600
1564
|
e.on("spanStart", (e) => {
|
|
1601
|
-
let t = v().getScopeData(), n =
|
|
1565
|
+
let t = v().getScopeData(), n = Xe().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1602
1566
|
if (r) {
|
|
1603
1567
|
let { op: t, data: n, description: i } = Oe(e);
|
|
1604
1568
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1605
|
-
e.setAttribute(
|
|
1569
|
+
e.setAttribute(Qe, r);
|
|
1606
1570
|
}
|
|
1607
1571
|
});
|
|
1608
1572
|
}
|
|
1609
1573
|
})));
|
|
1610
1574
|
//#endregion
|
|
1611
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1612
|
-
function
|
|
1575
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1576
|
+
function Hr(e) {
|
|
1613
1577
|
if (e !== void 0) {
|
|
1614
1578
|
if (e >= 400 && e < 500) return "warning";
|
|
1615
1579
|
if (e >= 500) return "error";
|
|
1616
1580
|
}
|
|
1617
1581
|
}
|
|
1618
1582
|
//#endregion
|
|
1619
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1620
|
-
var
|
|
1621
|
-
function
|
|
1622
|
-
return "history" in
|
|
1583
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1584
|
+
var H = N;
|
|
1585
|
+
function Ur() {
|
|
1586
|
+
return "history" in H && !!H.history;
|
|
1623
1587
|
}
|
|
1624
|
-
function
|
|
1625
|
-
if (!("fetch" in
|
|
1588
|
+
function Wr() {
|
|
1589
|
+
if (!("fetch" in H)) return !1;
|
|
1626
1590
|
try {
|
|
1627
1591
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1628
1592
|
} catch {
|
|
1629
1593
|
return !1;
|
|
1630
1594
|
}
|
|
1631
1595
|
}
|
|
1632
|
-
function
|
|
1596
|
+
function Gr(e) {
|
|
1633
1597
|
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1634
1598
|
}
|
|
1635
|
-
function
|
|
1599
|
+
function Kr() {
|
|
1636
1600
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1637
|
-
if (!
|
|
1638
|
-
if (
|
|
1639
|
-
let e = !1, t =
|
|
1601
|
+
if (!Wr()) return !1;
|
|
1602
|
+
if (Gr(H.fetch)) return !0;
|
|
1603
|
+
let e = !1, t = H.document;
|
|
1640
1604
|
if (t && typeof t.createElement == "function") try {
|
|
1641
1605
|
var n;
|
|
1642
1606
|
let r = t.createElement("iframe");
|
|
1643
|
-
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e =
|
|
1607
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Gr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1644
1608
|
} catch (e) {
|
|
1645
|
-
|
|
1609
|
+
P && M.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1646
1610
|
}
|
|
1647
1611
|
return e;
|
|
1648
1612
|
}
|
|
1649
1613
|
//#endregion
|
|
1650
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1651
|
-
function
|
|
1652
|
-
let n = "fetch", r =
|
|
1653
|
-
return
|
|
1614
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1615
|
+
function qr(e, t) {
|
|
1616
|
+
let n = "fetch", r = I(n, e);
|
|
1617
|
+
return L(n, () => Jr(void 0, t)), r;
|
|
1654
1618
|
}
|
|
1655
|
-
function
|
|
1656
|
-
t && !
|
|
1619
|
+
function Jr(e, t = !1) {
|
|
1620
|
+
t && !Kr() || C(N, "fetch", function(t) {
|
|
1657
1621
|
return function(...n) {
|
|
1658
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1622
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Zr(n), o = {
|
|
1659
1623
|
args: n,
|
|
1660
1624
|
fetchData: {
|
|
1661
1625
|
method: i,
|
|
@@ -1663,15 +1627,15 @@ function Qr(e, t = !1) {
|
|
|
1663
1627
|
},
|
|
1664
1628
|
startTimestamp: g() * 1e3,
|
|
1665
1629
|
virtualError: r,
|
|
1666
|
-
headers:
|
|
1630
|
+
headers: Qr(n)
|
|
1667
1631
|
};
|
|
1668
|
-
return e ||
|
|
1632
|
+
return e || R("fetch", { ...o }), t.apply(N, n).then(async (t) => (e ? e(t) : R("fetch", {
|
|
1669
1633
|
...o,
|
|
1670
1634
|
endTimestamp: g() * 1e3,
|
|
1671
1635
|
response: t
|
|
1672
1636
|
}), t), (e) => {
|
|
1673
1637
|
var t;
|
|
1674
|
-
|
|
1638
|
+
R("fetch", {
|
|
1675
1639
|
...o,
|
|
1676
1640
|
endTimestamp: g() * 1e3,
|
|
1677
1641
|
error: e
|
|
@@ -1686,13 +1650,13 @@ function Qr(e, t = !1) {
|
|
|
1686
1650
|
};
|
|
1687
1651
|
});
|
|
1688
1652
|
}
|
|
1689
|
-
function
|
|
1653
|
+
function Yr(e, t) {
|
|
1690
1654
|
return !!e && typeof e == "object" && !!e[t];
|
|
1691
1655
|
}
|
|
1692
|
-
function
|
|
1693
|
-
return typeof e == "string" ? e : e ?
|
|
1656
|
+
function Xr(e) {
|
|
1657
|
+
return typeof e == "string" ? e : e ? Yr(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1694
1658
|
}
|
|
1695
|
-
function
|
|
1659
|
+
function Zr(e) {
|
|
1696
1660
|
if (e.length === 0) return {
|
|
1697
1661
|
method: "GET",
|
|
1698
1662
|
url: ""
|
|
@@ -1700,17 +1664,17 @@ function ti(e) {
|
|
|
1700
1664
|
if (e.length === 2) {
|
|
1701
1665
|
let [t, n] = e;
|
|
1702
1666
|
return {
|
|
1703
|
-
url:
|
|
1704
|
-
method:
|
|
1667
|
+
url: Xr(t),
|
|
1668
|
+
method: Yr(n, "method") ? String(n.method).toUpperCase() : Ae(t) && Yr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1705
1669
|
};
|
|
1706
1670
|
}
|
|
1707
1671
|
let t = e[0];
|
|
1708
1672
|
return {
|
|
1709
|
-
url:
|
|
1710
|
-
method:
|
|
1673
|
+
url: Xr(t),
|
|
1674
|
+
method: Yr(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1711
1675
|
};
|
|
1712
1676
|
}
|
|
1713
|
-
function
|
|
1677
|
+
function Qr(e) {
|
|
1714
1678
|
let [t, n] = e;
|
|
1715
1679
|
try {
|
|
1716
1680
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
@@ -1718,17 +1682,17 @@ function ni(e) {
|
|
|
1718
1682
|
} catch {}
|
|
1719
1683
|
}
|
|
1720
1684
|
//#endregion
|
|
1721
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1722
|
-
var
|
|
1723
|
-
function
|
|
1685
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.58.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1686
|
+
var $r = N;
|
|
1687
|
+
function ei() {
|
|
1724
1688
|
try {
|
|
1725
|
-
return
|
|
1689
|
+
return $r.document.location.href;
|
|
1726
1690
|
} catch {
|
|
1727
1691
|
return "";
|
|
1728
1692
|
}
|
|
1729
1693
|
}
|
|
1730
|
-
function
|
|
1731
|
-
if (
|
|
1694
|
+
function ti(e, t = 5) {
|
|
1695
|
+
if (!$r.HTMLElement) return null;
|
|
1732
1696
|
let n = e;
|
|
1733
1697
|
for (let e = 0; e < t; e++) {
|
|
1734
1698
|
if (!n) return null;
|
|
@@ -1741,42 +1705,44 @@ function ai(e, t = 5) {
|
|
|
1741
1705
|
return null;
|
|
1742
1706
|
}
|
|
1743
1707
|
//#endregion
|
|
1744
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1745
|
-
var
|
|
1746
|
-
function
|
|
1747
|
-
return
|
|
1708
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1709
|
+
var U = N, ni = 0;
|
|
1710
|
+
function ri() {
|
|
1711
|
+
return ni > 0;
|
|
1748
1712
|
}
|
|
1749
|
-
function
|
|
1750
|
-
|
|
1751
|
-
|
|
1713
|
+
function ii() {
|
|
1714
|
+
ni++, setTimeout(() => {
|
|
1715
|
+
ni--;
|
|
1752
1716
|
});
|
|
1753
1717
|
}
|
|
1754
|
-
function
|
|
1718
|
+
function W(e, t = {}) {
|
|
1755
1719
|
function n(e) {
|
|
1756
1720
|
return typeof e == "function";
|
|
1757
1721
|
}
|
|
1758
1722
|
if (!n(e)) return e;
|
|
1759
1723
|
try {
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1724
|
+
if (Object.prototype.hasOwnProperty.call(e, "__sentry_wrapped__")) {
|
|
1725
|
+
let t = e.__sentry_wrapped__;
|
|
1726
|
+
return typeof t == "function" ? t : e;
|
|
1727
|
+
}
|
|
1728
|
+
if (Be(e)) return e;
|
|
1763
1729
|
} catch {
|
|
1764
1730
|
return e;
|
|
1765
1731
|
}
|
|
1766
1732
|
let r = function(...n) {
|
|
1767
|
-
|
|
1733
|
+
N._sentryWrappedDepth = (N._sentryWrappedDepth || 0) + 1;
|
|
1768
1734
|
try {
|
|
1769
|
-
let r = n.map((e) =>
|
|
1735
|
+
let r = n.map((e) => W(e, t));
|
|
1770
1736
|
return e.apply(this, r);
|
|
1771
1737
|
} catch (e) {
|
|
1772
|
-
throw
|
|
1738
|
+
throw ii(), re((r) => {
|
|
1773
1739
|
r.addEventProcessor((e) => (t.mechanism && (oe(e, void 0, void 0), A(e, t.mechanism)), e.extra = {
|
|
1774
1740
|
...e.extra,
|
|
1775
1741
|
arguments: n
|
|
1776
1742
|
}, e)), Fe(e);
|
|
1777
1743
|
}), e;
|
|
1778
1744
|
} finally {
|
|
1779
|
-
|
|
1745
|
+
N._sentryWrappedDepth = (N._sentryWrappedDepth || 0) - 1;
|
|
1780
1746
|
}
|
|
1781
1747
|
};
|
|
1782
1748
|
try {
|
|
@@ -1790,8 +1756,8 @@ function Y(e, t = {}) {
|
|
|
1790
1756
|
} catch {}
|
|
1791
1757
|
return r;
|
|
1792
1758
|
}
|
|
1793
|
-
function
|
|
1794
|
-
let e =
|
|
1759
|
+
function ai() {
|
|
1760
|
+
let e = ei(), { referrer: t } = U.document || {}, { userAgent: n } = U.navigator || {};
|
|
1795
1761
|
return {
|
|
1796
1762
|
url: e,
|
|
1797
1763
|
headers: {
|
|
@@ -1801,103 +1767,103 @@ function li() {
|
|
|
1801
1767
|
};
|
|
1802
1768
|
}
|
|
1803
1769
|
//#endregion
|
|
1804
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1805
|
-
function
|
|
1806
|
-
let n =
|
|
1807
|
-
type:
|
|
1808
|
-
value:
|
|
1770
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1771
|
+
function oi(e, t) {
|
|
1772
|
+
let n = li(e, t), r = {
|
|
1773
|
+
type: mi(t),
|
|
1774
|
+
value: hi(t)
|
|
1809
1775
|
};
|
|
1810
1776
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1811
1777
|
}
|
|
1812
|
-
function
|
|
1813
|
-
let i = E(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o =
|
|
1778
|
+
function si(e, t, n, r) {
|
|
1779
|
+
let i = E(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Si(t), s = { __serialized__: _(t, a) };
|
|
1814
1780
|
if (o) return {
|
|
1815
|
-
exception: { values: [
|
|
1781
|
+
exception: { values: [oi(e, o)] },
|
|
1816
1782
|
extra: s
|
|
1817
1783
|
};
|
|
1818
1784
|
let c = {
|
|
1819
1785
|
exception: { values: [{
|
|
1820
1786
|
type: h(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1821
|
-
value:
|
|
1787
|
+
value: bi(t, { isUnhandledRejection: r })
|
|
1822
1788
|
}] },
|
|
1823
1789
|
extra: s
|
|
1824
1790
|
};
|
|
1825
1791
|
if (n) {
|
|
1826
|
-
let t =
|
|
1792
|
+
let t = li(e, n);
|
|
1827
1793
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1828
1794
|
}
|
|
1829
1795
|
return c;
|
|
1830
1796
|
}
|
|
1831
|
-
function
|
|
1832
|
-
return { exception: { values: [
|
|
1797
|
+
function ci(e, t) {
|
|
1798
|
+
return { exception: { values: [oi(e, t)] } };
|
|
1833
1799
|
}
|
|
1834
|
-
function
|
|
1835
|
-
let n = t.stacktrace || t.stack || "", r =
|
|
1800
|
+
function li(e, t) {
|
|
1801
|
+
let n = t.stacktrace || t.stack || "", r = di(t), i = fi(t);
|
|
1836
1802
|
try {
|
|
1837
1803
|
return e(n, r, i);
|
|
1838
1804
|
} catch {}
|
|
1839
1805
|
return [];
|
|
1840
1806
|
}
|
|
1841
|
-
var
|
|
1842
|
-
function
|
|
1843
|
-
return e &&
|
|
1807
|
+
var ui = /Minified React error #\d+;/i;
|
|
1808
|
+
function di(e) {
|
|
1809
|
+
return e && ui.test(e.message) ? 1 : 0;
|
|
1844
1810
|
}
|
|
1845
|
-
function
|
|
1811
|
+
function fi(e) {
|
|
1846
1812
|
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1847
1813
|
}
|
|
1848
|
-
function
|
|
1814
|
+
function pi(e) {
|
|
1849
1815
|
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1850
1816
|
}
|
|
1851
|
-
function
|
|
1817
|
+
function mi(e) {
|
|
1852
1818
|
let t = e == null ? void 0 : e.name;
|
|
1853
|
-
return !t &&
|
|
1819
|
+
return !t && pi(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1854
1820
|
}
|
|
1855
|
-
function
|
|
1821
|
+
function hi(e) {
|
|
1856
1822
|
let t = e == null ? void 0 : e.message;
|
|
1857
|
-
return
|
|
1823
|
+
return pi(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Dr(t.error) : Dr(e) : "No error message";
|
|
1858
1824
|
}
|
|
1859
|
-
function
|
|
1860
|
-
let i =
|
|
1825
|
+
function gi(e, t, n, r) {
|
|
1826
|
+
let i = vi(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1861
1827
|
return A(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), xe(i);
|
|
1862
1828
|
}
|
|
1863
|
-
function
|
|
1864
|
-
let a =
|
|
1829
|
+
function _i(e, t, n = "info", r, i) {
|
|
1830
|
+
let a = yi(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1865
1831
|
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), xe(a);
|
|
1866
1832
|
}
|
|
1867
|
-
function
|
|
1833
|
+
function vi(e, t, n, r, i) {
|
|
1868
1834
|
let a;
|
|
1869
|
-
if (le(t) && t.error) return
|
|
1835
|
+
if (le(t) && t.error) return ci(e, t.error);
|
|
1870
1836
|
if (me(t) || pe(t)) {
|
|
1871
1837
|
let i = t;
|
|
1872
1838
|
if ("stack" in t) {
|
|
1873
1839
|
var o;
|
|
1874
|
-
a =
|
|
1840
|
+
a = ci(e, t);
|
|
1875
1841
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1876
1842
|
if (r && n && i && !i.stacktrace) {
|
|
1877
|
-
let t =
|
|
1843
|
+
let t = li(e, n);
|
|
1878
1844
|
t.length && (i.stacktrace = { frames: t }, A(a, { synthetic: !0 }));
|
|
1879
1845
|
}
|
|
1880
1846
|
} else {
|
|
1881
1847
|
let t = i.name || (me(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1882
|
-
a =
|
|
1848
|
+
a = yi(e, o, n, r), oe(a, o);
|
|
1883
1849
|
}
|
|
1884
1850
|
return "code" in i && (a.tags = {
|
|
1885
1851
|
...a.tags,
|
|
1886
1852
|
"DOMException.code": `${i.code}`
|
|
1887
1853
|
}), a;
|
|
1888
1854
|
}
|
|
1889
|
-
return he(t) ?
|
|
1855
|
+
return he(t) ? ci(e, t) : Ie(t) || h(t) ? (a = si(e, t, n, i), A(a, { synthetic: !0 }), a) : (a = yi(e, t, n, r), oe(a, `${t}`, void 0), A(a, { synthetic: !0 }), a);
|
|
1890
1856
|
}
|
|
1891
|
-
function
|
|
1857
|
+
function yi(e, t, n, r) {
|
|
1892
1858
|
let i = {};
|
|
1893
1859
|
if (r && n) {
|
|
1894
|
-
let r =
|
|
1860
|
+
let r = li(e, n);
|
|
1895
1861
|
r.length && (i.exception = { values: [{
|
|
1896
1862
|
value: t,
|
|
1897
1863
|
stacktrace: { frames: r }
|
|
1898
1864
|
}] }), A(i, { synthetic: !0 });
|
|
1899
1865
|
}
|
|
1900
|
-
if (
|
|
1866
|
+
if (Ke(t)) {
|
|
1901
1867
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
1902
1868
|
return i.logentry = {
|
|
1903
1869
|
message: e,
|
|
@@ -1906,118 +1872,133 @@ function Ci(e, t, n, r) {
|
|
|
1906
1872
|
}
|
|
1907
1873
|
return i.message = t, i;
|
|
1908
1874
|
}
|
|
1909
|
-
function
|
|
1875
|
+
function bi(e, { isUnhandledRejection: t }) {
|
|
1910
1876
|
let n = b(e), r = t ? "promise rejection" : "exception";
|
|
1911
|
-
return le(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : h(e) ? `Event \`${
|
|
1877
|
+
return le(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : h(e) ? `Event \`${xi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1912
1878
|
}
|
|
1913
|
-
function
|
|
1879
|
+
function xi(e) {
|
|
1914
1880
|
try {
|
|
1915
1881
|
let t = Object.getPrototypeOf(e);
|
|
1916
1882
|
return t ? t.constructor.name : void 0;
|
|
1917
1883
|
} catch {}
|
|
1918
1884
|
}
|
|
1919
|
-
function
|
|
1885
|
+
function Si(e) {
|
|
1920
1886
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1921
1887
|
}
|
|
1922
1888
|
//#endregion
|
|
1923
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
1924
|
-
var
|
|
1889
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1890
|
+
var Ci = class extends Bn {
|
|
1925
1891
|
constructor(e) {
|
|
1926
1892
|
var t, n;
|
|
1927
|
-
let r =
|
|
1928
|
-
|
|
1893
|
+
let r = wi(e);
|
|
1894
|
+
nr(r, "browser", ["browser"], U.SENTRY_SDK_SOURCE || Xt()), super(r);
|
|
1929
1895
|
let { userInfo: i } = this.getDataCollectionOptions();
|
|
1930
1896
|
(t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1931
1897
|
infer_ip: i ? "auto" : "never",
|
|
1932
1898
|
...r._metadata.sdk.settings
|
|
1933
1899
|
});
|
|
1934
1900
|
let { sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
}), i && this.on("beforeSendSession",
|
|
1901
|
+
U.document && (a || o || l) && U.document.addEventListener("visibilitychange", () => {
|
|
1902
|
+
U.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && nn(this), l && cn(this));
|
|
1903
|
+
}), i && this.on("beforeSendSession", tr);
|
|
1938
1904
|
}
|
|
1939
1905
|
eventFromException(e, t) {
|
|
1940
|
-
return
|
|
1906
|
+
return gi(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1941
1907
|
}
|
|
1942
1908
|
eventFromMessage(e, t = "info", n) {
|
|
1943
|
-
return
|
|
1909
|
+
return _i(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1944
1910
|
}
|
|
1945
1911
|
_prepareEvent(e, t, n, r) {
|
|
1946
1912
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1947
1913
|
}
|
|
1948
1914
|
};
|
|
1949
|
-
function
|
|
1915
|
+
function wi(e) {
|
|
1950
1916
|
var t;
|
|
1951
1917
|
return {
|
|
1952
|
-
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t =
|
|
1918
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = U.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1953
1919
|
sendClientReports: !0,
|
|
1954
1920
|
parentSpanIsAlwaysRootSpan: !0,
|
|
1955
1921
|
...e
|
|
1956
1922
|
};
|
|
1957
1923
|
}
|
|
1958
1924
|
//#endregion
|
|
1959
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
1960
|
-
var
|
|
1961
|
-
|
|
1925
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
1926
|
+
var Ti = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, G = N, Ei = 80, K = {};
|
|
1927
|
+
try {
|
|
1928
|
+
typeof Node < "u" && (K.parentNode = Object.getOwnPropertyDescriptor(Node.prototype, "parentNode").get), typeof Element < "u" && (K.tagName = Object.getOwnPropertyDescriptor(Element.prototype, "tagName").get, K.id = Object.getOwnPropertyDescriptor(Element.prototype, "id").get, K.className = Object.getOwnPropertyDescriptor(Element.prototype, "className").get, K.getAttribute = Element.prototype.getAttribute), typeof HTMLElement < "u" && (K.dataset = Object.getOwnPropertyDescriptor(HTMLElement.prototype, "dataset").get);
|
|
1929
|
+
} catch {}
|
|
1930
|
+
function q(e, t, n) {
|
|
1931
|
+
let r = K[t];
|
|
1932
|
+
if (r) try {
|
|
1933
|
+
return r.call(e, n);
|
|
1934
|
+
} catch {}
|
|
1935
|
+
let i = e[t];
|
|
1936
|
+
return typeof i == "function" ? i.call(e, n) : i;
|
|
1937
|
+
}
|
|
1938
|
+
function Di(e, t = {}) {
|
|
1962
1939
|
if (!e) return "<unknown>";
|
|
1963
1940
|
try {
|
|
1964
|
-
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength ||
|
|
1965
|
-
for (; n && i++ < 5 && (o =
|
|
1941
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Ei;
|
|
1942
|
+
for (; n && i++ < 5 && (o = Oi(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = q(n, "parentNode");
|
|
1966
1943
|
return r.reverse().join(" > ");
|
|
1967
1944
|
} catch {
|
|
1968
1945
|
return "<unknown>";
|
|
1969
1946
|
}
|
|
1970
1947
|
}
|
|
1971
|
-
function
|
|
1972
|
-
let n =
|
|
1973
|
-
if (!
|
|
1974
|
-
if (typeof HTMLElement < "u" &&
|
|
1975
|
-
|
|
1976
|
-
if (
|
|
1948
|
+
function Oi(e, t) {
|
|
1949
|
+
let n = [], r = q(e, "tagName");
|
|
1950
|
+
if (!r) return "";
|
|
1951
|
+
if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
1952
|
+
let t = q(e, "dataset");
|
|
1953
|
+
if (t) {
|
|
1954
|
+
if (t.sentryComponent) return t.sentryComponent;
|
|
1955
|
+
if (t.sentryElement) return t.sentryElement;
|
|
1956
|
+
}
|
|
1977
1957
|
}
|
|
1978
|
-
|
|
1979
|
-
let i = t != null && t.length ? t.filter((
|
|
1958
|
+
n.push(r.toLowerCase());
|
|
1959
|
+
let i = t != null && t.length ? t.filter((t) => q(e, "getAttribute", t)).map((t) => [t, q(e, "getAttribute", t)]) : null;
|
|
1980
1960
|
if (i != null && i.length) i.forEach((e) => {
|
|
1981
|
-
|
|
1961
|
+
n.push(`[${e[0]}="${e[1]}"]`);
|
|
1982
1962
|
});
|
|
1983
1963
|
else {
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1964
|
+
let t = q(e, "id");
|
|
1965
|
+
t && n.push(`#${t}`);
|
|
1966
|
+
let r = q(e, "className");
|
|
1967
|
+
if (r && k(r)) {
|
|
1968
|
+
let e = r.split(/\s+/);
|
|
1969
|
+
for (let t of e) n.push(`.${t}`);
|
|
1989
1970
|
}
|
|
1990
1971
|
}
|
|
1991
|
-
for (let
|
|
1972
|
+
for (let t of [
|
|
1992
1973
|
"aria-label",
|
|
1993
1974
|
"type",
|
|
1994
1975
|
"name",
|
|
1995
1976
|
"title",
|
|
1996
1977
|
"alt"
|
|
1997
1978
|
]) {
|
|
1998
|
-
let
|
|
1999
|
-
|
|
1979
|
+
let r = q(e, "getAttribute", t);
|
|
1980
|
+
r && n.push(`[${t}="${r}"]`);
|
|
2000
1981
|
}
|
|
2001
|
-
return
|
|
1982
|
+
return n.join("");
|
|
2002
1983
|
}
|
|
2003
1984
|
//#endregion
|
|
2004
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2005
|
-
var
|
|
2006
|
-
function
|
|
2007
|
-
|
|
1985
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/instrument/dom.js
|
|
1986
|
+
var ki = 1e3, Ai, ji, Mi;
|
|
1987
|
+
function Ni(e) {
|
|
1988
|
+
I("dom", e), L("dom", Pi);
|
|
2008
1989
|
}
|
|
2009
|
-
function
|
|
2010
|
-
if (!
|
|
2011
|
-
let e =
|
|
2012
|
-
|
|
1990
|
+
function Pi() {
|
|
1991
|
+
if (!G.document) return;
|
|
1992
|
+
let e = R.bind(null, "dom"), t = Li(e, !0);
|
|
1993
|
+
G.document.addEventListener("click", t, !1), G.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2013
1994
|
var n, r;
|
|
2014
|
-
let i = (n =
|
|
1995
|
+
let i = (n = G[t]) == null ? void 0 : n.prototype;
|
|
2015
1996
|
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (C(i, "addEventListener", function(t) {
|
|
2016
1997
|
return function(n, r, i) {
|
|
2017
1998
|
if (n === "click" || n == "keypress") try {
|
|
2018
1999
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
2019
2000
|
if (!a.handler) {
|
|
2020
|
-
let r =
|
|
2001
|
+
let r = Li(e);
|
|
2021
2002
|
a.handler = r, t.call(this, n, r, i);
|
|
2022
2003
|
}
|
|
2023
2004
|
a.refCount++;
|
|
@@ -2035,33 +2016,33 @@ function Ri() {
|
|
|
2035
2016
|
}));
|
|
2036
2017
|
});
|
|
2037
2018
|
}
|
|
2038
|
-
function
|
|
2039
|
-
if (e.type !==
|
|
2019
|
+
function Fi(e) {
|
|
2020
|
+
if (e.type !== ji) return !1;
|
|
2040
2021
|
try {
|
|
2041
|
-
if (!e.target || e.target._sentryId !==
|
|
2022
|
+
if (!e.target || e.target._sentryId !== Mi) return !1;
|
|
2042
2023
|
} catch {}
|
|
2043
2024
|
return !0;
|
|
2044
2025
|
}
|
|
2045
|
-
function
|
|
2026
|
+
function Ii(e, t) {
|
|
2046
2027
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
2047
2028
|
}
|
|
2048
|
-
function
|
|
2029
|
+
function Li(e, t = !1) {
|
|
2049
2030
|
return (n) => {
|
|
2050
2031
|
if (!n || n._sentryCaptured) return;
|
|
2051
|
-
let r =
|
|
2052
|
-
if (
|
|
2032
|
+
let r = Ri(n);
|
|
2033
|
+
if (Ii(n.type, r)) return;
|
|
2053
2034
|
D(n, "_sentryCaptured", !0), r && !r._sentryId && D(r, "_sentryId", y());
|
|
2054
2035
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2055
|
-
|
|
2036
|
+
Fi(n) || (e({
|
|
2056
2037
|
event: n,
|
|
2057
2038
|
name: i,
|
|
2058
2039
|
global: t
|
|
2059
|
-
}),
|
|
2060
|
-
|
|
2061
|
-
},
|
|
2040
|
+
}), ji = n.type, Mi = r ? r._sentryId : void 0), clearTimeout(Ai), Ai = G.setTimeout(() => {
|
|
2041
|
+
Mi = void 0, ji = void 0;
|
|
2042
|
+
}, ki);
|
|
2062
2043
|
};
|
|
2063
2044
|
}
|
|
2064
|
-
function
|
|
2045
|
+
function Ri(e) {
|
|
2065
2046
|
try {
|
|
2066
2047
|
return e.target;
|
|
2067
2048
|
} catch {
|
|
@@ -2069,27 +2050,27 @@ function Hi(e) {
|
|
|
2069
2050
|
}
|
|
2070
2051
|
}
|
|
2071
2052
|
//#endregion
|
|
2072
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2073
|
-
var
|
|
2074
|
-
function
|
|
2053
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/instrument/history.js
|
|
2054
|
+
var zi;
|
|
2055
|
+
function Bi(e) {
|
|
2075
2056
|
let t = "history";
|
|
2076
|
-
|
|
2057
|
+
I(t, e), L(t, Vi);
|
|
2077
2058
|
}
|
|
2078
|
-
function
|
|
2079
|
-
if (
|
|
2080
|
-
let e =
|
|
2081
|
-
|
|
2059
|
+
function Vi() {
|
|
2060
|
+
if (G.addEventListener("popstate", () => {
|
|
2061
|
+
let e = G.location.href, t = zi;
|
|
2062
|
+
zi = e, t !== e && R("history", {
|
|
2082
2063
|
from: t,
|
|
2083
2064
|
to: e
|
|
2084
2065
|
});
|
|
2085
|
-
}), !
|
|
2066
|
+
}), !Ur()) return;
|
|
2086
2067
|
function e(e) {
|
|
2087
2068
|
return function(...t) {
|
|
2088
2069
|
let n = t.length > 2 ? t[2] : void 0;
|
|
2089
2070
|
if (n) {
|
|
2090
|
-
let r =
|
|
2091
|
-
if (
|
|
2092
|
-
|
|
2071
|
+
let r = zi, i = Hi(String(n));
|
|
2072
|
+
if (zi = i, r === i) return e.apply(this, t);
|
|
2073
|
+
R("history", {
|
|
2093
2074
|
from: r,
|
|
2094
2075
|
to: i
|
|
2095
2076
|
});
|
|
@@ -2097,61 +2078,61 @@ function Gi() {
|
|
|
2097
2078
|
return e.apply(this, t);
|
|
2098
2079
|
};
|
|
2099
2080
|
}
|
|
2100
|
-
C(
|
|
2081
|
+
C(G.history, "pushState", e), C(G.history, "replaceState", e);
|
|
2101
2082
|
}
|
|
2102
|
-
function
|
|
2083
|
+
function Hi(e) {
|
|
2103
2084
|
try {
|
|
2104
|
-
return new URL(e,
|
|
2085
|
+
return new URL(e, G.location.origin).toString();
|
|
2105
2086
|
} catch {
|
|
2106
2087
|
return e;
|
|
2107
2088
|
}
|
|
2108
2089
|
}
|
|
2109
2090
|
//#endregion
|
|
2110
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2111
|
-
var
|
|
2112
|
-
function
|
|
2113
|
-
let t =
|
|
2091
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/getNativeImplementation.js
|
|
2092
|
+
var J = {};
|
|
2093
|
+
function Ui(e) {
|
|
2094
|
+
let t = J[e];
|
|
2114
2095
|
if (t) return t;
|
|
2115
|
-
let n =
|
|
2116
|
-
if (
|
|
2117
|
-
let r =
|
|
2096
|
+
let n = G[e];
|
|
2097
|
+
if (Gr(n)) return J[e] = n.bind(G);
|
|
2098
|
+
let r = G.document;
|
|
2118
2099
|
if (r && typeof r.createElement == "function") try {
|
|
2119
2100
|
let t = r.createElement("iframe");
|
|
2120
2101
|
t.hidden = !0, r.head.appendChild(t);
|
|
2121
2102
|
let i = t.contentWindow;
|
|
2122
2103
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2123
2104
|
} catch (t) {
|
|
2124
|
-
|
|
2105
|
+
Ti && M.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2125
2106
|
}
|
|
2126
|
-
return n && (
|
|
2107
|
+
return n && (J[e] = n.bind(G));
|
|
2127
2108
|
}
|
|
2128
|
-
function
|
|
2129
|
-
|
|
2109
|
+
function Wi(e) {
|
|
2110
|
+
J[e] = void 0;
|
|
2130
2111
|
}
|
|
2131
2112
|
//#endregion
|
|
2132
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2133
|
-
var
|
|
2134
|
-
function
|
|
2135
|
-
|
|
2113
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/instrument/xhr.js
|
|
2114
|
+
var Y = "__sentry_xhr_v3__";
|
|
2115
|
+
function Gi(e) {
|
|
2116
|
+
I("xhr", e), L("xhr", Ki);
|
|
2136
2117
|
}
|
|
2137
|
-
function
|
|
2138
|
-
if (!
|
|
2118
|
+
function Ki() {
|
|
2119
|
+
if (!G.XMLHttpRequest) return;
|
|
2139
2120
|
let e = XMLHttpRequest.prototype;
|
|
2140
2121
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2141
|
-
let r = /* @__PURE__ */ Error(), i = g() * 1e3, a = k(n[0]) ? n[0].toUpperCase() : void 0, o =
|
|
2122
|
+
let r = /* @__PURE__ */ Error(), i = g() * 1e3, a = k(n[0]) ? n[0].toUpperCase() : void 0, o = qi(n[1]);
|
|
2142
2123
|
if (!a || !o) return e.apply(t, n);
|
|
2143
|
-
t[
|
|
2124
|
+
t[Y] = {
|
|
2144
2125
|
method: a,
|
|
2145
2126
|
url: o,
|
|
2146
2127
|
request_headers: {}
|
|
2147
2128
|
}, a === "POST" && o.match(/sentry_key/) && (t.__sentry_own_request__ = !0);
|
|
2148
2129
|
let s = () => {
|
|
2149
|
-
let e = t[
|
|
2130
|
+
let e = t[Y];
|
|
2150
2131
|
if (e && t.readyState === 4) {
|
|
2151
2132
|
try {
|
|
2152
2133
|
e.status_code = t.status;
|
|
2153
2134
|
} catch {}
|
|
2154
|
-
|
|
2135
|
+
R("xhr", {
|
|
2155
2136
|
endTimestamp: g() * 1e3,
|
|
2156
2137
|
startTimestamp: i,
|
|
2157
2138
|
xhr: t,
|
|
@@ -2162,26 +2143,26 @@ function Zi() {
|
|
|
2162
2143
|
return "onreadystatechange" in t && typeof t.onreadystatechange == "function" ? t.onreadystatechange = new Proxy(t.onreadystatechange, { apply(e, t, n) {
|
|
2163
2144
|
return s(), e.apply(t, n);
|
|
2164
2145
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
2165
|
-
let [r, i] = n, a = t[
|
|
2146
|
+
let [r, i] = n, a = t[Y];
|
|
2166
2147
|
return a && k(r) && k(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
2167
2148
|
} }), e.apply(t, n);
|
|
2168
2149
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
2169
|
-
let r = t[
|
|
2170
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
2150
|
+
let r = t[Y];
|
|
2151
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), R("xhr", {
|
|
2171
2152
|
startTimestamp: g() * 1e3,
|
|
2172
2153
|
xhr: t
|
|
2173
2154
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2174
2155
|
} });
|
|
2175
2156
|
}
|
|
2176
|
-
function
|
|
2157
|
+
function qi(e) {
|
|
2177
2158
|
if (k(e)) return e;
|
|
2178
2159
|
try {
|
|
2179
2160
|
return e.toString();
|
|
2180
2161
|
} catch {}
|
|
2181
2162
|
}
|
|
2182
2163
|
//#endregion
|
|
2183
|
-
//#region ../../node_modules/.pnpm/@sentry
|
|
2184
|
-
function
|
|
2164
|
+
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.58.0/node_modules/@sentry/browser-utils/build/esm/is.js
|
|
2165
|
+
function Ji(e) {
|
|
2185
2166
|
if (typeof Element > "u") return !1;
|
|
2186
2167
|
try {
|
|
2187
2168
|
return e instanceof Element;
|
|
@@ -2190,9 +2171,9 @@ function $i(e) {
|
|
|
2190
2171
|
}
|
|
2191
2172
|
}
|
|
2192
2173
|
//#endregion
|
|
2193
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2194
|
-
var
|
|
2195
|
-
function
|
|
2174
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
2175
|
+
var Yi = 40;
|
|
2176
|
+
function Xi(e, t = Ui("fetch")) {
|
|
2196
2177
|
let n = 0, r = 0;
|
|
2197
2178
|
async function i(i) {
|
|
2198
2179
|
let a = i.body.length;
|
|
@@ -2215,17 +2196,17 @@ function ta(e, t = Ji("fetch")) {
|
|
|
2215
2196
|
}
|
|
2216
2197
|
};
|
|
2217
2198
|
} catch (e) {
|
|
2218
|
-
throw
|
|
2199
|
+
throw Wi("fetch"), e;
|
|
2219
2200
|
} finally {
|
|
2220
2201
|
n -= a, r--;
|
|
2221
2202
|
}
|
|
2222
2203
|
}
|
|
2223
|
-
return
|
|
2204
|
+
return xn(e, i, hn(e.bufferSize || Yi));
|
|
2224
2205
|
}
|
|
2225
2206
|
//#endregion
|
|
2226
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2227
|
-
var
|
|
2228
|
-
function
|
|
2207
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
2208
|
+
var X = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Zi = 30, Qi = 50;
|
|
2209
|
+
function $i(e, t, n, r) {
|
|
2229
2210
|
let i = {
|
|
2230
2211
|
filename: e,
|
|
2231
2212
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -2233,41 +2214,41 @@ function ia(e, t, n, r) {
|
|
|
2233
2214
|
};
|
|
2234
2215
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
2235
2216
|
}
|
|
2236
|
-
var
|
|
2237
|
-
let t = e.match(
|
|
2217
|
+
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) => {
|
|
2218
|
+
let t = e.match(ra);
|
|
2238
2219
|
if (t) return {
|
|
2239
2220
|
filename: `<data:${t[2]}>`,
|
|
2240
2221
|
function: t[1]
|
|
2241
2222
|
};
|
|
2242
|
-
let n =
|
|
2223
|
+
let n = ea.exec(e);
|
|
2243
2224
|
if (n) {
|
|
2244
2225
|
let [, e, t, r] = n;
|
|
2245
|
-
return
|
|
2226
|
+
return $i(e, "?", +t, +r);
|
|
2246
2227
|
}
|
|
2247
|
-
let r =
|
|
2228
|
+
let r = ta.exec(e);
|
|
2248
2229
|
if (r) {
|
|
2249
2230
|
var i;
|
|
2250
2231
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
2251
|
-
let e =
|
|
2232
|
+
let e = na.exec(r[2]);
|
|
2252
2233
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
2253
2234
|
}
|
|
2254
|
-
let [e, t] =
|
|
2255
|
-
return
|
|
2235
|
+
let [e, t] = ca(r[1] || "?", r[2]);
|
|
2236
|
+
return $i(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2256
2237
|
}
|
|
2257
|
-
}],
|
|
2258
|
-
let t =
|
|
2238
|
+
}], aa = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, oa = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, sa = We(ia, [Qi, (e) => {
|
|
2239
|
+
let t = aa.exec(e);
|
|
2259
2240
|
if (t) {
|
|
2260
2241
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
2261
|
-
let e =
|
|
2242
|
+
let e = oa.exec(t[3]);
|
|
2262
2243
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
2263
2244
|
}
|
|
2264
2245
|
let e = t[3], n = t[1] || "?";
|
|
2265
|
-
return [n, e] =
|
|
2246
|
+
return [n, e] = ca(n, e), $i(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
2266
2247
|
}
|
|
2267
|
-
}]),
|
|
2248
|
+
}]), ca = (e, t) => {
|
|
2268
2249
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
2269
2250
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
2270
|
-
},
|
|
2251
|
+
}, Z = 1024, la = "Breadcrumbs", ua = B(((e = {}) => {
|
|
2271
2252
|
let t = {
|
|
2272
2253
|
console: !0,
|
|
2273
2254
|
dom: !0,
|
|
@@ -2278,15 +2259,15 @@ var aa = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, oa = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2278
2259
|
...e
|
|
2279
2260
|
};
|
|
2280
2261
|
return {
|
|
2281
|
-
name:
|
|
2262
|
+
name: la,
|
|
2282
2263
|
setup(e) {
|
|
2283
|
-
t.console &&
|
|
2264
|
+
t.console && kr(pa(e)), t.dom && Ni(fa(e, t.dom)), t.xhr && Gi(ma(e)), t.fetch && qr(ha(e)), t.history && Bi(ga(e)), t.sentry && e.on("beforeSendEvent", da(e));
|
|
2284
2265
|
}
|
|
2285
2266
|
};
|
|
2286
2267
|
}));
|
|
2287
|
-
function
|
|
2268
|
+
function da(e) {
|
|
2288
2269
|
return function(t) {
|
|
2289
|
-
E() === e &&
|
|
2270
|
+
E() === e && V({
|
|
2290
2271
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2291
2272
|
event_id: t.event_id,
|
|
2292
2273
|
level: t.level,
|
|
@@ -2294,17 +2275,17 @@ function _a(e) {
|
|
|
2294
2275
|
}, { event: t });
|
|
2295
2276
|
};
|
|
2296
2277
|
}
|
|
2297
|
-
function
|
|
2278
|
+
function fa(e, t) {
|
|
2298
2279
|
return function(n) {
|
|
2299
2280
|
if (E() !== e) return;
|
|
2300
2281
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2301
|
-
o && o >
|
|
2282
|
+
o && o > Z && (X && M.warn(`\`dom.maxStringLength\` cannot exceed ${Z}, but a value of ${o} was configured. Sentry will use ${Z} instead.`), o = Z), typeof a == "string" && (a = [a]);
|
|
2302
2283
|
try {
|
|
2303
|
-
let e = n.event, t =
|
|
2304
|
-
r =
|
|
2284
|
+
let e = n.event, t = _a(e) ? e.target : e;
|
|
2285
|
+
r = Di(t, {
|
|
2305
2286
|
keyAttrs: a,
|
|
2306
2287
|
maxStringLength: o
|
|
2307
|
-
}), i =
|
|
2288
|
+
}), i = ti(t);
|
|
2308
2289
|
} catch {
|
|
2309
2290
|
r = "<unknown>";
|
|
2310
2291
|
}
|
|
@@ -2313,14 +2294,14 @@ function va(e, t) {
|
|
|
2313
2294
|
category: `ui.${n.name}`,
|
|
2314
2295
|
message: r
|
|
2315
2296
|
};
|
|
2316
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2297
|
+
i && (s.data = { "ui.component_name": i }), V(s, {
|
|
2317
2298
|
event: n.event,
|
|
2318
2299
|
name: n.name,
|
|
2319
2300
|
global: n.global
|
|
2320
2301
|
});
|
|
2321
2302
|
};
|
|
2322
2303
|
}
|
|
2323
|
-
function
|
|
2304
|
+
function pa(e) {
|
|
2324
2305
|
return function(t) {
|
|
2325
2306
|
if (E() !== e) return;
|
|
2326
2307
|
let n = {
|
|
@@ -2329,21 +2310,21 @@ function ya(e) {
|
|
|
2329
2310
|
arguments: t.args,
|
|
2330
2311
|
logger: "console"
|
|
2331
2312
|
},
|
|
2332
|
-
level:
|
|
2313
|
+
level: jr(t.level),
|
|
2333
2314
|
message: ae(t.args, " ")
|
|
2334
2315
|
};
|
|
2335
2316
|
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ae(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2336
2317
|
else return;
|
|
2337
|
-
|
|
2318
|
+
V(n, {
|
|
2338
2319
|
input: t.args,
|
|
2339
2320
|
level: t.level
|
|
2340
2321
|
});
|
|
2341
2322
|
};
|
|
2342
2323
|
}
|
|
2343
|
-
function
|
|
2324
|
+
function ma(e) {
|
|
2344
2325
|
return function(t) {
|
|
2345
2326
|
if (E() !== e) return;
|
|
2346
|
-
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[
|
|
2327
|
+
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[Y];
|
|
2347
2328
|
if (!n || !r || !i) return;
|
|
2348
2329
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
2349
2330
|
method: a,
|
|
@@ -2358,12 +2339,12 @@ function ba(e) {
|
|
|
2358
2339
|
category: "xhr",
|
|
2359
2340
|
data: l,
|
|
2360
2341
|
type: "http",
|
|
2361
|
-
level:
|
|
2342
|
+
level: Hr(s)
|
|
2362
2343
|
};
|
|
2363
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2344
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), V(d, u);
|
|
2364
2345
|
};
|
|
2365
2346
|
}
|
|
2366
|
-
function
|
|
2347
|
+
function ha(e) {
|
|
2367
2348
|
return function(t) {
|
|
2368
2349
|
if (E() !== e) return;
|
|
2369
2350
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
@@ -2379,7 +2360,7 @@ function xa(e) {
|
|
|
2379
2360
|
level: "error",
|
|
2380
2361
|
type: "http"
|
|
2381
2362
|
};
|
|
2382
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2363
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), V(a, i);
|
|
2383
2364
|
} else {
|
|
2384
2365
|
let i = t.response, a = {
|
|
2385
2366
|
...t.fetchData,
|
|
@@ -2393,17 +2374,17 @@ function xa(e) {
|
|
|
2393
2374
|
category: "fetch",
|
|
2394
2375
|
data: a,
|
|
2395
2376
|
type: "http",
|
|
2396
|
-
level:
|
|
2377
|
+
level: Hr(a.status_code)
|
|
2397
2378
|
};
|
|
2398
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2379
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), V(s, o);
|
|
2399
2380
|
}
|
|
2400
2381
|
};
|
|
2401
2382
|
}
|
|
2402
|
-
function
|
|
2383
|
+
function ga(e) {
|
|
2403
2384
|
return function(t) {
|
|
2404
2385
|
if (E() !== e) return;
|
|
2405
|
-
let n = t.from, r = t.to, i =
|
|
2406
|
-
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative),
|
|
2386
|
+
let n = t.from, r = t.to, i = Ft(U.location.href), a = n ? Ft(n) : void 0, o = Ft(r);
|
|
2387
|
+
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), V({
|
|
2407
2388
|
category: "navigation",
|
|
2408
2389
|
data: {
|
|
2409
2390
|
from: n,
|
|
@@ -2412,12 +2393,12 @@ function Sa(e) {
|
|
|
2412
2393
|
});
|
|
2413
2394
|
};
|
|
2414
2395
|
}
|
|
2415
|
-
function
|
|
2396
|
+
function _a(e) {
|
|
2416
2397
|
return !!e && !!e.target;
|
|
2417
2398
|
}
|
|
2418
2399
|
//#endregion
|
|
2419
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2420
|
-
var
|
|
2400
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2401
|
+
var va = "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(","), ya = "BrowserApiErrors", ba = B(((e = {}) => {
|
|
2421
2402
|
let t = {
|
|
2422
2403
|
XMLHttpRequest: !0,
|
|
2423
2404
|
eventTarget: !0,
|
|
@@ -2428,33 +2409,33 @@ var wa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2428
2409
|
...e
|
|
2429
2410
|
};
|
|
2430
2411
|
return {
|
|
2431
|
-
name:
|
|
2412
|
+
name: ya,
|
|
2432
2413
|
setupOnce() {
|
|
2433
|
-
t.setTimeout && C(
|
|
2414
|
+
t.setTimeout && C(U, "setTimeout", xa), t.setInterval && C(U, "setInterval", xa), t.requestAnimationFrame && C(U, "requestAnimationFrame", Sa), t.XMLHttpRequest && "XMLHttpRequest" in U && C(XMLHttpRequest.prototype, "send", Ca);
|
|
2434
2415
|
let e = t.eventTarget;
|
|
2435
|
-
e && (Array.isArray(e) ? e :
|
|
2416
|
+
e && (Array.isArray(e) ? e : va).forEach((e) => wa(e, t));
|
|
2436
2417
|
}
|
|
2437
2418
|
};
|
|
2438
2419
|
}));
|
|
2439
|
-
function
|
|
2420
|
+
function xa(e) {
|
|
2440
2421
|
return function(...t) {
|
|
2441
2422
|
let n = t[0];
|
|
2442
|
-
return t[0] =
|
|
2423
|
+
return t[0] = W(n, { mechanism: {
|
|
2443
2424
|
handled: !1,
|
|
2444
2425
|
type: `auto.browser.browserapierrors.${j(e)}`
|
|
2445
2426
|
} }), e.apply(this, t);
|
|
2446
2427
|
};
|
|
2447
2428
|
}
|
|
2448
|
-
function
|
|
2429
|
+
function Sa(e) {
|
|
2449
2430
|
return function(t) {
|
|
2450
|
-
return e.apply(this, [
|
|
2431
|
+
return e.apply(this, [W(t, { mechanism: {
|
|
2451
2432
|
data: { handler: j(e) },
|
|
2452
2433
|
handled: !1,
|
|
2453
2434
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2454
2435
|
} })]);
|
|
2455
2436
|
};
|
|
2456
2437
|
}
|
|
2457
|
-
function
|
|
2438
|
+
function Ca(e) {
|
|
2458
2439
|
return function(...t) {
|
|
2459
2440
|
let n = this;
|
|
2460
2441
|
return [
|
|
@@ -2468,19 +2449,19 @@ function ka(e) {
|
|
|
2468
2449
|
data: { handler: j(t) },
|
|
2469
2450
|
handled: !1,
|
|
2470
2451
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2471
|
-
} }, r =
|
|
2472
|
-
return r && (n.mechanism.data.handler = j(r)),
|
|
2452
|
+
} }, r = Be(t);
|
|
2453
|
+
return r && (n.mechanism.data.handler = j(r)), W(t, n);
|
|
2473
2454
|
});
|
|
2474
2455
|
}), e.apply(this, t);
|
|
2475
2456
|
};
|
|
2476
2457
|
}
|
|
2477
|
-
function
|
|
2458
|
+
function wa(e, t) {
|
|
2478
2459
|
var n, r;
|
|
2479
|
-
let i = (n =
|
|
2460
|
+
let i = (n = U[e]) == null ? void 0 : n.prototype;
|
|
2480
2461
|
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (C(i, "addEventListener", function(n) {
|
|
2481
2462
|
return function(r, i, a) {
|
|
2482
2463
|
try {
|
|
2483
|
-
|
|
2464
|
+
Ta(i) && (i.handleEvent = W(i.handleEvent, { mechanism: {
|
|
2484
2465
|
data: {
|
|
2485
2466
|
handler: j(i),
|
|
2486
2467
|
target: e
|
|
@@ -2489,9 +2470,9 @@ function Aa(e, t) {
|
|
|
2489
2470
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2490
2471
|
} }));
|
|
2491
2472
|
} catch {}
|
|
2492
|
-
return t.unregisterOriginalCallbacks &&
|
|
2473
|
+
return t.unregisterOriginalCallbacks && Ea(this, r, i), n.apply(this, [
|
|
2493
2474
|
r,
|
|
2494
|
-
|
|
2475
|
+
W(i, { mechanism: {
|
|
2495
2476
|
data: {
|
|
2496
2477
|
handler: j(i),
|
|
2497
2478
|
target: e
|
|
@@ -2505,45 +2486,47 @@ function Aa(e, t) {
|
|
|
2505
2486
|
}), C(i, "removeEventListener", function(e) {
|
|
2506
2487
|
return function(t, n, r) {
|
|
2507
2488
|
try {
|
|
2508
|
-
|
|
2509
|
-
|
|
2489
|
+
if (Object.prototype.hasOwnProperty.call(n, "__sentry_wrapped__")) {
|
|
2490
|
+
let i = n.__sentry_wrapped__;
|
|
2491
|
+
i && e.call(this, t, i, r);
|
|
2492
|
+
}
|
|
2510
2493
|
} catch {}
|
|
2511
2494
|
return e.call(this, t, n, r);
|
|
2512
2495
|
};
|
|
2513
2496
|
}));
|
|
2514
2497
|
}
|
|
2515
|
-
function
|
|
2498
|
+
function Ta(e) {
|
|
2516
2499
|
return typeof e.handleEvent == "function";
|
|
2517
2500
|
}
|
|
2518
|
-
function
|
|
2501
|
+
function Ea(e, t, n) {
|
|
2519
2502
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2520
2503
|
}
|
|
2521
2504
|
//#endregion
|
|
2522
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2523
|
-
var
|
|
2505
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2506
|
+
var Da = B((e = {}) => {
|
|
2524
2507
|
var t;
|
|
2525
2508
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2526
2509
|
return {
|
|
2527
2510
|
name: "BrowserSession",
|
|
2528
2511
|
setupOnce() {
|
|
2529
|
-
if (
|
|
2530
|
-
|
|
2512
|
+
if (U.document === void 0) {
|
|
2513
|
+
X && M.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2531
2514
|
return;
|
|
2532
2515
|
}
|
|
2533
|
-
ye({ ignoreDuration: !0 }),
|
|
2534
|
-
let e =
|
|
2516
|
+
ye({ ignoreDuration: !0 }), Ve();
|
|
2517
|
+
let e = Xe(), t = e.getUser();
|
|
2535
2518
|
e.addScopeListener((e) => {
|
|
2536
2519
|
let n = e.getUser();
|
|
2537
|
-
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (
|
|
2538
|
-
}), n === "route" &&
|
|
2539
|
-
e !== t && (ye({ ignoreDuration: !0 }),
|
|
2520
|
+
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (Ve(), t = n);
|
|
2521
|
+
}), n === "route" && Bi(({ from: e, to: t }) => {
|
|
2522
|
+
e !== t && (ye({ ignoreDuration: !0 }), Ve());
|
|
2540
2523
|
});
|
|
2541
2524
|
}
|
|
2542
2525
|
};
|
|
2543
|
-
}),
|
|
2544
|
-
name:
|
|
2526
|
+
}), Oa = "CultureContext", ka = B((() => ({
|
|
2527
|
+
name: Oa,
|
|
2545
2528
|
preprocessEvent(e) {
|
|
2546
|
-
let t =
|
|
2529
|
+
let t = Aa();
|
|
2547
2530
|
if (t) {
|
|
2548
2531
|
var n;
|
|
2549
2532
|
e.contexts = {
|
|
@@ -2556,17 +2539,17 @@ var Na = U((e = {}) => {
|
|
|
2556
2539
|
}
|
|
2557
2540
|
},
|
|
2558
2541
|
processSegmentSpan(e) {
|
|
2559
|
-
let t =
|
|
2560
|
-
t &&
|
|
2542
|
+
let t = Aa();
|
|
2543
|
+
t && Lt(e, {
|
|
2561
2544
|
"culture.locale": t.locale,
|
|
2562
2545
|
"culture.timezone": t.timezone,
|
|
2563
2546
|
"culture.calendar": t.calendar
|
|
2564
2547
|
});
|
|
2565
2548
|
}
|
|
2566
2549
|
})));
|
|
2567
|
-
function
|
|
2550
|
+
function Aa() {
|
|
2568
2551
|
try {
|
|
2569
|
-
let e =
|
|
2552
|
+
let e = U.Intl;
|
|
2570
2553
|
if (!e) return;
|
|
2571
2554
|
let t = e.DateTimeFormat().resolvedOptions();
|
|
2572
2555
|
return {
|
|
@@ -2579,29 +2562,29 @@ function Ia() {
|
|
|
2579
2562
|
}
|
|
2580
2563
|
}
|
|
2581
2564
|
//#endregion
|
|
2582
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2583
|
-
var
|
|
2565
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2566
|
+
var ja = "GlobalHandlers", Ma = B(((e = {}) => {
|
|
2584
2567
|
let t = {
|
|
2585
2568
|
onerror: !0,
|
|
2586
2569
|
onunhandledrejection: !0,
|
|
2587
2570
|
...e
|
|
2588
2571
|
};
|
|
2589
2572
|
return {
|
|
2590
|
-
name:
|
|
2573
|
+
name: ja,
|
|
2591
2574
|
setupOnce() {
|
|
2592
2575
|
Error.stackTraceLimit = 50;
|
|
2593
2576
|
},
|
|
2594
2577
|
setup(e) {
|
|
2595
|
-
t.onerror && (
|
|
2578
|
+
t.onerror && (Na(e), Ra("onerror")), t.onunhandledrejection && (Pa(e), Ra("onunhandledrejection"));
|
|
2596
2579
|
}
|
|
2597
2580
|
};
|
|
2598
2581
|
}));
|
|
2599
|
-
function
|
|
2600
|
-
|
|
2601
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2602
|
-
if (E() !== e ||
|
|
2603
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2604
|
-
l.level = "error",
|
|
2582
|
+
function Na(e) {
|
|
2583
|
+
st((t) => {
|
|
2584
|
+
let { stackParser: n, attachStacktrace: r } = za();
|
|
2585
|
+
if (E() !== e || ri()) return;
|
|
2586
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = La(vi(n, c || i, void 0, r, !1), a, o, s);
|
|
2587
|
+
l.level = "error", Ge(l, {
|
|
2605
2588
|
originalException: c,
|
|
2606
2589
|
mechanism: {
|
|
2607
2590
|
handled: !1,
|
|
@@ -2610,12 +2593,12 @@ function za(e) {
|
|
|
2610
2593
|
});
|
|
2611
2594
|
});
|
|
2612
2595
|
}
|
|
2613
|
-
function
|
|
2614
|
-
|
|
2615
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2616
|
-
if (E() !== e ||
|
|
2617
|
-
let i =
|
|
2618
|
-
a.level = "error",
|
|
2596
|
+
function Pa(e) {
|
|
2597
|
+
ut((t) => {
|
|
2598
|
+
let { stackParser: n, attachStacktrace: r } = za();
|
|
2599
|
+
if (E() !== e || ri()) return;
|
|
2600
|
+
let i = Fa(t), a = He(i) ? Ia(i) : vi(n, i, void 0, r, !0);
|
|
2601
|
+
a.level = "error", Ge(a, {
|
|
2619
2602
|
originalException: i,
|
|
2620
2603
|
mechanism: {
|
|
2621
2604
|
handled: !1,
|
|
@@ -2624,55 +2607,55 @@ function Ba(e) {
|
|
|
2624
2607
|
});
|
|
2625
2608
|
});
|
|
2626
2609
|
}
|
|
2627
|
-
function
|
|
2628
|
-
if (
|
|
2610
|
+
function Fa(e) {
|
|
2611
|
+
if (He(e)) return e;
|
|
2629
2612
|
try {
|
|
2630
2613
|
if ("reason" in e) return e.reason;
|
|
2631
2614
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
2632
2615
|
} catch {}
|
|
2633
2616
|
return e;
|
|
2634
2617
|
}
|
|
2635
|
-
function
|
|
2618
|
+
function Ia(e) {
|
|
2636
2619
|
return { exception: { values: [{
|
|
2637
2620
|
type: "UnhandledRejection",
|
|
2638
2621
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2639
2622
|
}] } };
|
|
2640
2623
|
}
|
|
2641
|
-
function
|
|
2624
|
+
function La(e, t, n, r) {
|
|
2642
2625
|
let i = e.exception = e.exception || {}, a = i.values = i.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, c = s.frames = s.frames || [];
|
|
2643
2626
|
if (c.length === 0) {
|
|
2644
2627
|
var l;
|
|
2645
2628
|
c.push({
|
|
2646
2629
|
colno: r,
|
|
2647
2630
|
lineno: n,
|
|
2648
|
-
filename: (l =
|
|
2631
|
+
filename: (l = Ba(t)) == null ? ei() : l,
|
|
2649
2632
|
function: "?",
|
|
2650
2633
|
in_app: !0
|
|
2651
2634
|
});
|
|
2652
2635
|
}
|
|
2653
2636
|
return e;
|
|
2654
2637
|
}
|
|
2655
|
-
function
|
|
2656
|
-
|
|
2638
|
+
function Ra(e) {
|
|
2639
|
+
X && M.log(`Global Handler attached: ${e}`);
|
|
2657
2640
|
}
|
|
2658
|
-
function
|
|
2641
|
+
function za() {
|
|
2659
2642
|
let e = E();
|
|
2660
2643
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2661
2644
|
stackParser: () => [],
|
|
2662
2645
|
attachStacktrace: !1
|
|
2663
2646
|
};
|
|
2664
2647
|
}
|
|
2665
|
-
function
|
|
2666
|
-
if (!(!k(e) || e.length === 0)) return e.startsWith("data:") ? `<${
|
|
2648
|
+
function Ba(e) {
|
|
2649
|
+
if (!(!k(e) || e.length === 0)) return e.startsWith("data:") ? `<${It(e, !1)}>` : e;
|
|
2667
2650
|
}
|
|
2668
2651
|
//#endregion
|
|
2669
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2670
|
-
var
|
|
2652
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2653
|
+
var Va = B(() => ({
|
|
2671
2654
|
name: "HttpContext",
|
|
2672
2655
|
preprocessEvent(e) {
|
|
2673
2656
|
var t;
|
|
2674
|
-
if (!
|
|
2675
|
-
let n =
|
|
2657
|
+
if (!U.navigator && !U.location && !U.document) return;
|
|
2658
|
+
let n = ai(), r = {
|
|
2676
2659
|
...n.headers,
|
|
2677
2660
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2678
2661
|
};
|
|
@@ -2683,102 +2666,103 @@ var qa = U(() => ({
|
|
|
2683
2666
|
};
|
|
2684
2667
|
},
|
|
2685
2668
|
processSegmentSpan(e) {
|
|
2686
|
-
if (!
|
|
2687
|
-
let t =
|
|
2688
|
-
|
|
2669
|
+
if (!U.navigator && !U.location && !U.document) return;
|
|
2670
|
+
let t = ai();
|
|
2671
|
+
Lt(e, {
|
|
2689
2672
|
"url.full": t.url || void 0,
|
|
2690
2673
|
"http.request.header.user_agent": t.headers["User-Agent"],
|
|
2691
2674
|
"http.request.header.referer": t.headers.Referer
|
|
2692
2675
|
});
|
|
2693
2676
|
}
|
|
2694
|
-
})),
|
|
2695
|
-
let t = e.limit ||
|
|
2677
|
+
})), Ha = "cause", Ua = 5, Wa = "LinkedErrors", Ga = B(((e = {}) => {
|
|
2678
|
+
let t = e.limit || Ua, n = e.key || Ha;
|
|
2696
2679
|
return {
|
|
2697
|
-
name:
|
|
2680
|
+
name: Wa,
|
|
2698
2681
|
preprocessEvent(e, r, i) {
|
|
2699
|
-
|
|
2682
|
+
xr(oi, i.getOptions().stackParser, n, t, e, r);
|
|
2700
2683
|
}
|
|
2701
2684
|
};
|
|
2702
|
-
})),
|
|
2703
|
-
function
|
|
2685
|
+
})), Ka = /^HTML(\w*)Element$/;
|
|
2686
|
+
function qa(e) {
|
|
2704
2687
|
if (typeof window < "u" && e === window) return "[Window]";
|
|
2705
2688
|
if (typeof document < "u" && e === document) return "[Document]";
|
|
2706
|
-
if (
|
|
2707
|
-
let t =
|
|
2708
|
-
if (
|
|
2689
|
+
if (Ji(e)) {
|
|
2690
|
+
let t = Ja(e);
|
|
2691
|
+
if (Ka.test(t)) return `[HTMLElement: ${Di(e)}]`;
|
|
2709
2692
|
}
|
|
2710
2693
|
}
|
|
2711
|
-
function
|
|
2694
|
+
function Ja(e) {
|
|
2712
2695
|
let t = Object.getPrototypeOf(e);
|
|
2713
2696
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
2714
2697
|
}
|
|
2715
2698
|
//#endregion
|
|
2716
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2717
|
-
function
|
|
2718
|
-
return
|
|
2699
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2700
|
+
function Ya() {
|
|
2701
|
+
return Xa() ? (X && Te(() => {
|
|
2719
2702
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2720
2703
|
}), !0) : !1;
|
|
2721
2704
|
}
|
|
2722
|
-
function
|
|
2705
|
+
function Xa() {
|
|
2723
2706
|
var e;
|
|
2724
|
-
if (
|
|
2725
|
-
let t =
|
|
2707
|
+
if (U.window === void 0) return !1;
|
|
2708
|
+
let t = U;
|
|
2726
2709
|
if (t.nw) return !1;
|
|
2727
2710
|
let n = t.chrome || t.browser;
|
|
2728
2711
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2729
|
-
let r =
|
|
2730
|
-
return !(
|
|
2712
|
+
let r = ei();
|
|
2713
|
+
return !(U === U.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2731
2714
|
}
|
|
2732
2715
|
//#endregion
|
|
2733
|
-
//#region ../../node_modules/.pnpm/@sentry+browser@10.
|
|
2734
|
-
function
|
|
2716
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.58.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2717
|
+
function Za(e) {
|
|
2735
2718
|
return [
|
|
2736
|
-
hr(),
|
|
2737
2719
|
dr(),
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2720
|
+
sr(),
|
|
2721
|
+
Vr(),
|
|
2722
|
+
ba(),
|
|
2723
|
+
ua(),
|
|
2724
|
+
Ma(),
|
|
2725
|
+
Ga(),
|
|
2726
|
+
Nr(),
|
|
2727
|
+
Va(),
|
|
2728
|
+
ka(),
|
|
2729
|
+
Da()
|
|
2747
2730
|
];
|
|
2748
2731
|
}
|
|
2749
|
-
function
|
|
2750
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2732
|
+
function Qa(e = {}) {
|
|
2733
|
+
let t = !e.skipBrowserExtensionCheck && Ya(), n = e.defaultIntegrations == null ? Za() : e.defaultIntegrations, r = {
|
|
2751
2734
|
...e,
|
|
2752
2735
|
enabled: t ? !1 : e.enabled,
|
|
2753
|
-
stackParser:
|
|
2754
|
-
integrations:
|
|
2736
|
+
stackParser: Je(e.stackParser || sa),
|
|
2737
|
+
integrations: Gt({
|
|
2755
2738
|
integrations: e.integrations,
|
|
2756
2739
|
defaultIntegrations: n
|
|
2757
2740
|
}),
|
|
2758
|
-
transport: e.transport ||
|
|
2741
|
+
transport: e.transport || Xi
|
|
2759
2742
|
};
|
|
2760
|
-
return fe(
|
|
2743
|
+
return fe(qa), Xn(Ci, r);
|
|
2761
2744
|
}
|
|
2762
2745
|
//#endregion
|
|
2763
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2764
|
-
|
|
2765
|
-
|
|
2746
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.58.0_react@19.2.7/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2747
|
+
var $a = /* @__PURE__ */ e(t());
|
|
2748
|
+
function eo(e) {
|
|
2749
|
+
return Ie(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2766
2750
|
}
|
|
2767
2751
|
//#endregion
|
|
2768
|
-
//#region ../../node_modules/.pnpm/@sentry+react@10.
|
|
2769
|
-
function
|
|
2752
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.58.0_react@19.2.7/node_modules/@sentry/react/build/esm/sdk.js
|
|
2753
|
+
function to(e) {
|
|
2770
2754
|
let t = { ...e };
|
|
2771
|
-
|
|
2772
|
-
let n =
|
|
2773
|
-
return fe(
|
|
2755
|
+
nr(t, "react"), _e("react", { version: $a.version });
|
|
2756
|
+
let n = Qa(t);
|
|
2757
|
+
return fe(no), n;
|
|
2774
2758
|
}
|
|
2775
|
-
function
|
|
2776
|
-
return
|
|
2759
|
+
function no(e) {
|
|
2760
|
+
return eo(e) ? "[SyntheticEvent]" : qa(e);
|
|
2777
2761
|
}
|
|
2778
2762
|
//#endregion
|
|
2779
2763
|
//#region src/tools/sentry.ts
|
|
2780
|
-
var
|
|
2781
|
-
function
|
|
2764
|
+
var ro = "production", io = "3.7.7";
|
|
2765
|
+
function ao() {
|
|
2782
2766
|
let e = "sentry_offline_queue";
|
|
2783
2767
|
return {
|
|
2784
2768
|
async push(t) {
|
|
@@ -2825,16 +2809,16 @@ function uo() {
|
|
|
2825
2809
|
}
|
|
2826
2810
|
};
|
|
2827
2811
|
}
|
|
2828
|
-
function
|
|
2829
|
-
let t =
|
|
2830
|
-
|
|
2812
|
+
function oo(e) {
|
|
2813
|
+
let t = er(Xi);
|
|
2814
|
+
to({
|
|
2831
2815
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2832
|
-
release:
|
|
2833
|
-
environment:
|
|
2816
|
+
release: io,
|
|
2817
|
+
environment: ro,
|
|
2834
2818
|
sendDefaultPii: !0,
|
|
2835
2819
|
transport: (e) => t({
|
|
2836
2820
|
...e,
|
|
2837
|
-
createStore: () =>
|
|
2821
|
+
createStore: () => ao(),
|
|
2838
2822
|
flushAtStartup: !0,
|
|
2839
2823
|
shouldStore: async (e, t) => {
|
|
2840
2824
|
var n, r, i;
|
|
@@ -2858,9 +2842,9 @@ function fo(e) {
|
|
|
2858
2842
|
beforeSend(e) {
|
|
2859
2843
|
return e;
|
|
2860
2844
|
}
|
|
2861
|
-
}), e.eventId &&
|
|
2845
|
+
}), e.eventId && Le("eventId", e.eventId), Le("isWebview", e.isWebview), Le("source", "vite-main"), Ue({ ip_address: "{{auto}}" }), so();
|
|
2862
2846
|
}
|
|
2863
|
-
function
|
|
2847
|
+
function so() {
|
|
2864
2848
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2865
2849
|
Fe(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2866
2850
|
});
|
|
@@ -2877,11 +2861,52 @@ function po() {
|
|
|
2877
2861
|
});
|
|
2878
2862
|
}
|
|
2879
2863
|
//#endregion
|
|
2864
|
+
//#region src/utils/is-localhost.ts
|
|
2865
|
+
var { hostname: Q, protocol: co } = window.location, lo = Q === "localhost" || Q === "127.0.0.1" || Q === "::1" || Q.startsWith("192.168.") || Q.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(Q) || Q.endsWith(".local") || co === "file:" || Q === "";
|
|
2866
|
+
//#endregion
|
|
2867
|
+
//#region src/utils/loadCustomCss.ts
|
|
2868
|
+
async function uo(e, t) {
|
|
2869
|
+
if (e != null && e.customCss) {
|
|
2870
|
+
let n = document.createElement("style");
|
|
2871
|
+
n.textContent = e.customCss, t.append(n), await u(e.customCss);
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
//#endregion
|
|
2875
|
+
//#region src/utils/loadIcons.ts
|
|
2876
|
+
async function fo(e) {
|
|
2877
|
+
try {
|
|
2878
|
+
(await Promise.allSettled(Object.entries({
|
|
2879
|
+
departure: "icons/departure.svg",
|
|
2880
|
+
departure_inactive: "icons/departure_inactive.svg",
|
|
2881
|
+
destination: "icons/destination.svg",
|
|
2882
|
+
direction: "icons/direction.svg",
|
|
2883
|
+
transition: "icons/transition.svg",
|
|
2884
|
+
transition_up: "icons/transition_up.svg",
|
|
2885
|
+
transition_down: "icons/transition_down.svg",
|
|
2886
|
+
kiosk: "icons/kiosk.svg",
|
|
2887
|
+
yah: "icons/yah.svg"
|
|
2888
|
+
}).map(([e, t]) => s(m + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
2889
|
+
} catch (e) {
|
|
2890
|
+
console.warn(e);
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
//#endregion
|
|
2894
|
+
//#region src/utils/mergeExhibitors.ts
|
|
2895
|
+
function po(e, t) {
|
|
2896
|
+
t.exhibitors.forEach((t) => {
|
|
2897
|
+
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
2898
|
+
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
2899
|
+
});
|
|
2900
|
+
}
|
|
2901
|
+
//#endregion
|
|
2902
|
+
//#region src/utils/use-shadow.ts
|
|
2903
|
+
var mo, ho = typeof document < "u" && !!((mo = document.body) != null && mo.attachShadow) && f && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0;
|
|
2904
|
+
//#endregion
|
|
2880
2905
|
//#region src/floorplan.loader.ts
|
|
2881
2906
|
function $() {
|
|
2882
2907
|
throw Error("FloorPlan not ready");
|
|
2883
2908
|
}
|
|
2884
|
-
var
|
|
2909
|
+
var go = class {
|
|
2885
2910
|
get ready() {
|
|
2886
2911
|
return this._ready;
|
|
2887
2912
|
}
|
|
@@ -3031,32 +3056,32 @@ var mo = class {
|
|
|
3031
3056
|
}
|
|
3032
3057
|
constructor(e) {
|
|
3033
3058
|
var t;
|
|
3034
|
-
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent =
|
|
3059
|
+
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.maplibre = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = lo && !o ? !1 : e.allowConsent, this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!e.viewerMode, this.disableRuntimeAlerts = (t = e.disableRuntimeAlerts) == null ? !0 : t, this.maplibre = e.maplibre, window.__efpMaplibre = e.maplibre, this._ready = new Promise((e, t) => {
|
|
3035
3060
|
this.resolveReady = e;
|
|
3036
3061
|
});
|
|
3037
|
-
let
|
|
3038
|
-
if (this.element =
|
|
3039
|
-
if (
|
|
3062
|
+
let s = e.element;
|
|
3063
|
+
if (this.element = s, s.__expofp) throw Error("Element already in use");
|
|
3064
|
+
if (s.__expofp = this, s.getAttribute("data-event-id") || s.getAttribute("data-event")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3040
3065
|
let u = e.expo || e.event;
|
|
3041
3066
|
if (!u) throw Error("`expo` option is required");
|
|
3042
|
-
|
|
3067
|
+
oo({
|
|
3043
3068
|
eventId: u || "",
|
|
3044
|
-
isWebview:
|
|
3045
|
-
}), this.eventId = u, window.__efpEvent = u, window.__efpElement =
|
|
3069
|
+
isWebview: a
|
|
3070
|
+
}), this.eventId = u, window.__efpEvent = u, window.__efpElement = s;
|
|
3046
3071
|
let f = document.createElement("div");
|
|
3047
|
-
f.style.height = "100%", f.style.width = "100%",
|
|
3072
|
+
f.style.height = "100%", f.style.width = "100%", s.appendChild(f);
|
|
3048
3073
|
let h;
|
|
3049
|
-
if (
|
|
3074
|
+
if (a && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
3050
3075
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
3051
3076
|
e && (this.allowConsent = e === "true");
|
|
3052
3077
|
}
|
|
3053
|
-
if (
|
|
3078
|
+
if (ho) {
|
|
3054
3079
|
h = f.attachShadow({ mode: "open" });
|
|
3055
3080
|
let e = h, t = document;
|
|
3056
3081
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
3057
3082
|
} else h = f;
|
|
3058
3083
|
let g = document.createElement("div");
|
|
3059
|
-
if (g.style.height = "100%", g.style.width = "100%", h.appendChild(g),
|
|
3084
|
+
if (g.style.height = "100%", g.style.width = "100%", h.appendChild(g), ho && Object.defineProperty(g, "ownerDocument", { value: h }), window.__efpShadowDOMStyleParent = ho ? h : void 0, this.renderTarget = g, s.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
3060
3085
|
let _ = e.legacyDataUrlBase;
|
|
3061
3086
|
window.__dataUrlBase = _, this.dataUrl = _, p.log("Instantiating ExpoFP floorplan", e.element, u);
|
|
3062
3087
|
let v = _ + "data.js", ne = _ + "wf.data.js", re = _ + "fp.svg.js", y = [
|
|
@@ -3075,18 +3100,18 @@ var mo = class {
|
|
|
3075
3100
|
(async function() {
|
|
3076
3101
|
var e, t;
|
|
3077
3102
|
await Promise.all(y);
|
|
3078
|
-
let
|
|
3079
|
-
for (; window.__fpPending && !window.__fp;) await r(2e3), await d(re + `?v=${++
|
|
3080
|
-
let
|
|
3081
|
-
if (!
|
|
3082
|
-
let { showEventNotFound: e } = await import("./event-not-found-
|
|
3083
|
-
e(
|
|
3103
|
+
let a = 0;
|
|
3104
|
+
for (; window.__fpPending && !window.__fp;) await r(2e3), await d(re + `?v=${++a}`);
|
|
3105
|
+
let o = window.__data;
|
|
3106
|
+
if (!o) {
|
|
3107
|
+
let { showEventNotFound: e } = await import("./event-not-found-B98QInDb.js");
|
|
3108
|
+
e(s);
|
|
3084
3109
|
return;
|
|
3085
3110
|
}
|
|
3086
3111
|
await te();
|
|
3087
3112
|
let g = new URLSearchParams(window.location.search), _, v;
|
|
3088
|
-
if (
|
|
3089
|
-
_ = new URL(
|
|
3113
|
+
if (o != null && o.trackerUrl) try {
|
|
3114
|
+
_ = new URL(o.trackerUrl), v = _.searchParams.get("expoId");
|
|
3090
3115
|
} catch (e) {
|
|
3091
3116
|
console.error(e);
|
|
3092
3117
|
}
|
|
@@ -3139,8 +3164,8 @@ var mo = class {
|
|
|
3139
3164
|
rt: e,
|
|
3140
3165
|
expoKey: u
|
|
3141
3166
|
}), n = await fetch(t);
|
|
3142
|
-
n.ok &&
|
|
3143
|
-
} else
|
|
3167
|
+
n.ok && po(o, await n.json()), o.isRebooking = n.ok;
|
|
3168
|
+
} else o.isRebooking = !1;
|
|
3144
3169
|
} catch (e) {
|
|
3145
3170
|
console.error(e);
|
|
3146
3171
|
}
|
|
@@ -3153,18 +3178,18 @@ var mo = class {
|
|
|
3153
3178
|
l("Inter", m + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3154
3179
|
l("Inter", m + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3155
3180
|
l("efp-symbols", m + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3156
|
-
|
|
3157
|
-
|
|
3181
|
+
uo(o, h),
|
|
3182
|
+
fo(x.icons)
|
|
3158
3183
|
];
|
|
3159
|
-
await Promise.all(b), x.enableRotation = (e =
|
|
3184
|
+
await Promise.all(b), x.enableRotation = (e = o == null ? void 0 : o.enableRotation) == null ? !1 : e, x.alwaysShowSidebar = (t = o == null ? void 0 : o.alwaysShowSidebar) == null ? !1 : t, p.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3160
3185
|
let { default: S } = await import(
|
|
3161
3186
|
/* webpackChunkName: "floorplan" */
|
|
3162
|
-
"./floorplan.ready-
|
|
3187
|
+
"./floorplan.ready-CNMM3R0a.js"
|
|
3163
3188
|
);
|
|
3164
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove());
|
|
3189
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); s.firstChild && s.firstChild !== f;) s.removeChild(s.firstChild);
|
|
3165
3190
|
Object.setPrototypeOf(x, S.prototype).init();
|
|
3166
3191
|
})();
|
|
3167
3192
|
}
|
|
3168
3193
|
};
|
|
3169
3194
|
//#endregion
|
|
3170
|
-
export {
|
|
3195
|
+
export { tt as a, Ht as i, X as n, U as r, go as t };
|