@expofp/floorplan 3.0.0-alpha.3
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/Debug-e8WG0DtG.js +31 -0
- package/dist/browser/Demo-boypMSbE.js +38 -0
- package/dist/browser/Free-CDDXe67y.js +42 -0
- package/dist/browser/Gallery-CzUOmw0W.js +279 -0
- package/dist/browser/GpsLoader-fuJmNb6R.js +131 -0
- package/dist/browser/KioskStore-BFmurkVL.js +216 -0
- package/dist/browser/Mapbox-C51a0xP2.js +109 -0
- package/dist/browser/SetKioskMode-COh431a3.js +240 -0
- package/dist/browser/ShowKiosk-K-z2FMYd.js +26 -0
- package/dist/browser/ThreeComponent-C8u-uHkz.js +1586 -0
- package/dist/browser/boolean-editor-0qC2CaXN.js +148 -0
- package/dist/browser/bundle.json +254 -0
- package/dist/browser/client-B3NWpX6M.js +10002 -0
- package/dist/browser/data-B9sYqJWP.js +22116 -0
- package/dist/browser/debug-overlay-w2mPZxWf.js +3666 -0
- package/dist/browser/debug-ui-BtilbmgE.js +58 -0
- package/dist/browser/expofp-overlay.png +0 -0
- package/dist/browser/favicon-DalyEhbd.js +4 -0
- package/dist/browser/fetch-retry.umd-BUYyExMA.js +114 -0
- package/dist/browser/flex-C0ADIXpK.js +391 -0
- package/dist/browser/floorplan.ready-DOAwMGub.js +59427 -0
- package/dist/browser/fonts/efp-symbols.woff +0 -0
- package/dist/browser/fonts/inter-400.woff2 +0 -0
- package/dist/browser/fonts/inter-500.woff2 +0 -0
- package/dist/browser/fonts/inter-600.woff2 +0 -0
- package/dist/browser/fonts/oswald-v17-cyrillic_latin-300.woff +0 -0
- package/dist/browser/fonts/oswald-v17-cyrillic_latin-500.woff +0 -0
- package/dist/browser/icons/accessible.svg +5 -0
- package/dist/browser/icons/arrow-down.svg +3 -0
- package/dist/browser/icons/bus-white.svg +3 -0
- package/dist/browser/icons/check.svg +3 -0
- package/dist/browser/icons/clear.svg +4 -0
- package/dist/browser/icons/departure.svg +5 -0
- package/dist/browser/icons/destination.svg +5 -0
- package/dist/browser/icons/direction.svg +54 -0
- package/dist/browser/icons/dots.svg +4 -0
- package/dist/browser/icons/dragdrop-solid.svg +11 -0
- package/dist/browser/icons/facebook.svg +4 -0
- package/dist/browser/icons/from.svg +4 -0
- package/dist/browser/icons/kiosk.svg +1 -0
- package/dist/browser/icons/linkedin.svg +3 -0
- package/dist/browser/icons/rotate.svg +5 -0
- package/dist/browser/icons/tap.svg +5 -0
- package/dist/browser/icons/to.svg +4 -0
- package/dist/browser/icons/transition.svg +7 -0
- package/dist/browser/icons/transition_down.svg +15 -0
- package/dist/browser/icons/transition_up.svg +15 -0
- package/dist/browser/icons/twitter.svg +3 -0
- package/dist/browser/icons/yah.svg +17 -0
- package/dist/browser/index-B2H3t32F.js +152 -0
- package/dist/browser/index-C6neMlVE.js +83 -0
- package/dist/browser/index-CKMnb1_8.js +48 -0
- package/dist/browser/index-CvCRaJEu.js +3235 -0
- package/dist/browser/index-cGFPJUkc.js +45 -0
- package/dist/browser/index-saYO21xq.js +12522 -0
- package/dist/browser/index.html +16 -0
- package/dist/browser/index.js +4 -0
- package/dist/browser/jsx-runtime-jIxVPx5o.js +31 -0
- package/dist/browser/locales/ar.json +121 -0
- package/dist/browser/locales/de.json +121 -0
- package/dist/browser/locales/es.json +121 -0
- package/dist/browser/locales/fr.json +121 -0
- package/dist/browser/locales/he.json +121 -0
- package/dist/browser/locales/it.json +121 -0
- package/dist/browser/locales/kk.json +121 -0
- package/dist/browser/locales/ko.json +121 -0
- package/dist/browser/locales/mn.json +121 -0
- package/dist/browser/locales/nl.json +121 -0
- package/dist/browser/locales/pl.json +121 -0
- package/dist/browser/locales/pt.json +121 -0
- package/dist/browser/locales/ru.json +121 -0
- package/dist/browser/locales/sv.json +121 -0
- package/dist/browser/locales/th.json +121 -0
- package/dist/browser/locales/tr.json +121 -0
- package/dist/browser/locales/uk.json +121 -0
- package/dist/browser/locales/vi.json +121 -0
- package/dist/browser/locales/zh.json +121 -0
- package/dist/browser/main-CD9JioNt.js +350 -0
- package/dist/browser/particles.min-qY9PxD2m.js +134 -0
- package/dist/browser/sw.js +2 -0
- package/dist/browser/template.html +113 -0
- package/dist/browser/vendor/mapbox/mapbox-gl.css +1 -0
- package/dist/browser/vendor/perfect-scrollbar/css/perfect-scrollbar.css +1 -0
- package/dist/browser/vendor/sanitize-css/sanitize.css +1 -0
- package/dist/browser/warning.png +0 -0
- package/dist/esm/RouteCutIn.d.ts +24 -0
- package/dist/esm/RouteCutIn.js +1 -0
- package/dist/esm/_NEW_types.d.ts +6 -0
- package/dist/esm/_NEW_types.js +1 -0
- package/dist/esm/_misc_to_move/initHtmlHead.d.ts +2 -0
- package/dist/esm/_misc_to_move/initHtmlHead.js +1 -0
- package/dist/esm/_misc_to_move/logBuildInfo.d.ts +2 -0
- package/dist/esm/_misc_to_move/logBuildInfo.js +1 -0
- package/dist/esm/_misc_to_move/logBuildInfoImpl.d.ts +2 -0
- package/dist/esm/_misc_to_move/logBuildInfoImpl.js +1 -0
- package/dist/esm/components/Alert.d.ts +18 -0
- package/dist/esm/components/Alert.js +1 -0
- package/dist/esm/components/Autocomplete.d.ts +16 -0
- package/dist/esm/components/Autocomplete.js +1 -0
- package/dist/esm/components/Badge.d.ts +14 -0
- package/dist/esm/components/Badge.js +1 -0
- package/dist/esm/components/BaseFilterModal.d.ts +11 -0
- package/dist/esm/components/BaseFilterModal.js +1 -0
- package/dist/esm/components/BookmarkSvg.d.ts +3 -0
- package/dist/esm/components/BookmarkSvg.js +1 -0
- package/dist/esm/components/Bookmarks.d.ts +3 -0
- package/dist/esm/components/Bookmarks.js +1 -0
- package/dist/esm/components/Booth/Booth.d.ts +5 -0
- package/dist/esm/components/Booth/Booth.js +1 -0
- package/dist/esm/components/Booth/BoothOnHold.d.ts +13 -0
- package/dist/esm/components/Booth/BoothOnHold.js +1 -0
- package/dist/esm/components/Booth/BoothReserved.d.ts +2 -0
- package/dist/esm/components/Booth/BoothReserved.js +1 -0
- package/dist/esm/components/Booth/BoothSpecial.d.ts +8 -0
- package/dist/esm/components/Booth/BoothSpecial.js +1 -0
- package/dist/esm/components/Booth/BoothWithoutExhibitor.d.ts +13 -0
- package/dist/esm/components/Booth/BoothWithoutExhibitor.js +1 -0
- package/dist/esm/components/BoothRow.d.ts +8 -0
- package/dist/esm/components/BoothRow.js +1 -0
- package/dist/esm/components/Button.d.ts +25 -0
- package/dist/esm/components/Button.js +1 -0
- package/dist/esm/components/Category.d.ts +4 -0
- package/dist/esm/components/Category.js +1 -0
- package/dist/esm/components/CategoryFilterModal.d.ts +3 -0
- package/dist/esm/components/CategoryFilterModal.js +1 -0
- package/dist/esm/components/Checkbox.d.ts +13 -0
- package/dist/esm/components/Checkbox.js +1 -0
- package/dist/esm/components/CheckboxButton.d.ts +11 -0
- package/dist/esm/components/CheckboxButton.js +1 -0
- package/dist/esm/components/Controls.d.ts +2 -0
- package/dist/esm/components/Controls.js +1 -0
- package/dist/esm/components/CookieConsent.d.ts +9 -0
- package/dist/esm/components/CookieConsent.js +1 -0
- package/dist/esm/components/Debug.d.ts +4 -0
- package/dist/esm/components/Debug.js +1 -0
- package/dist/esm/components/Demo.d.ts +3 -0
- package/dist/esm/components/Demo.js +1 -0
- package/dist/esm/components/Draggable.d.ts +10 -0
- package/dist/esm/components/Draggable.js +1 -0
- package/dist/esm/components/EntityItem.d.ts +43 -0
- package/dist/esm/components/EntityItem.js +1 -0
- package/dist/esm/components/EntityList.d.ts +9 -0
- package/dist/esm/components/EntityList.js +1 -0
- package/dist/esm/components/EntityListRow.d.ts +12 -0
- package/dist/esm/components/EntityListRow.js +1 -0
- package/dist/esm/components/ErrorBoundary.d.ts +15 -0
- package/dist/esm/components/ErrorBoundary.js +1 -0
- package/dist/esm/components/Event.d.ts +5 -0
- package/dist/esm/components/Event.js +1 -0
- package/dist/esm/components/EventBadge.d.ts +10 -0
- package/dist/esm/components/EventBadge.js +1 -0
- package/dist/esm/components/Exhibitor.d.ts +4 -0
- package/dist/esm/components/Exhibitor.js +1 -0
- package/dist/esm/components/ExhibitorRow.d.ts +9 -0
- package/dist/esm/components/ExhibitorRow.js +1 -0
- package/dist/esm/components/Filter.d.ts +3 -0
- package/dist/esm/components/Filter.js +1 -0
- package/dist/esm/components/Free.d.ts +3 -0
- package/dist/esm/components/Free.js +1 -0
- package/dist/esm/components/Gallery/Gallery.d.ts +13 -0
- package/dist/esm/components/Gallery/Gallery.js +1 -0
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.d.ts +8 -0
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.js +1 -0
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.d.ts +9 -0
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.js +1 -0
- package/dist/esm/components/Gallery/GalleryImg/GalleryImg.d.ts +14 -0
- package/dist/esm/components/Gallery/GalleryImg/GalleryImg.js +1 -0
- package/dist/esm/components/Gallery/GalleryItem/GalleryItem.d.ts +13 -0
- package/dist/esm/components/Gallery/GalleryItem/GalleryItem.js +1 -0
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.d.ts +12 -0
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.js +1 -0
- package/dist/esm/components/Gallery/GalleryPreLoader.d.ts +7 -0
- package/dist/esm/components/Gallery/GalleryPreLoader.js +1 -0
- package/dist/esm/components/Gallery/TransformImg/TransformImg.d.ts +10 -0
- package/dist/esm/components/Gallery/TransformImg/TransformImg.js +1 -0
- package/dist/esm/components/GlobalErrorMessage.d.ts +4 -0
- package/dist/esm/components/GlobalErrorMessage.js +1 -0
- package/dist/esm/components/GpsLoader.d.ts +4 -0
- package/dist/esm/components/GpsLoader.js +1 -0
- package/dist/esm/components/HeatmapLegend.d.ts +12 -0
- package/dist/esm/components/HeatmapLegend.js +1 -0
- package/dist/esm/components/HighlightText.d.ts +6 -0
- package/dist/esm/components/HighlightText.js +1 -0
- package/dist/esm/components/Kiosk/KioskStore.d.ts +32 -0
- package/dist/esm/components/Kiosk/KioskStore.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.d.ts +4 -0
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.d.ts +4 -0
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/Message/InfoMessage.d.ts +4 -0
- package/dist/esm/components/Kiosk/SetKiosk/Message/InfoMessage.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.d.ts +4 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.d.ts +4 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskStatusMessages.d.ts +4 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskStatusMessages.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/constants.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/constants.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/getKioskUrlParamKey.d.ts +2 -0
- package/dist/esm/components/Kiosk/SetKiosk/getKioskUrlParamKey.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/getName.d.ts +2 -0
- package/dist/esm/components/Kiosk/SetKiosk/getName.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/getSlug.d.ts +2 -0
- package/dist/esm/components/Kiosk/SetKiosk/getSlug.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/index.d.ts +7 -0
- package/dist/esm/components/Kiosk/SetKiosk/index.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/storage.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/storage.js +1 -0
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +106 -0
- package/dist/esm/components/Kiosk/SetKiosk/types.js +1 -0
- package/dist/esm/components/Kiosk/SetKioskMode.d.ts +4 -0
- package/dist/esm/components/Kiosk/SetKioskMode.js +1 -0
- package/dist/esm/components/Kiosk/ShowKiosk.d.ts +4 -0
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -0
- package/dist/esm/components/Kiosk/integrateKiosk.d.ts +4 -0
- package/dist/esm/components/Kiosk/integrateKiosk.js +1 -0
- package/dist/esm/components/Kiosk/kioskUrlParam.d.ts +4 -0
- package/dist/esm/components/Kiosk/kioskUrlParam.js +1 -0
- package/dist/esm/components/Kiosk/recoverKioskFromUrlPrams.d.ts +2 -0
- package/dist/esm/components/Kiosk/recoverKioskFromUrlPrams.js +1 -0
- package/dist/esm/components/Kiosk/requestKioskKey.d.ts +3 -0
- package/dist/esm/components/Kiosk/requestKioskKey.js +1 -0
- package/dist/esm/components/Language.d.ts +4 -0
- package/dist/esm/components/Language.js +1 -0
- package/dist/esm/components/LanguageRow.d.ts +8 -0
- package/dist/esm/components/LanguageRow.js +1 -0
- package/dist/esm/components/LargeMessage.d.ts +3 -0
- package/dist/esm/components/LargeMessage.js +1 -0
- package/dist/esm/components/LayersLoading.d.ts +9 -0
- package/dist/esm/components/LayersLoading.js +1 -0
- package/dist/esm/components/Layout.d.ts +10 -0
- package/dist/esm/components/Layout.js +1 -0
- package/dist/esm/components/LevelBadge.d.ts +8 -0
- package/dist/esm/components/LevelBadge.js +1 -0
- package/dist/esm/components/LevelSelector.d.ts +3 -0
- package/dist/esm/components/LevelSelector.js +1 -0
- package/dist/esm/components/List.d.ts +9 -0
- package/dist/esm/components/List.js +1 -0
- package/dist/esm/components/LogoOverlay.d.ts +4 -0
- package/dist/esm/components/LogoOverlay.js +1 -0
- package/dist/esm/components/Map/Map.d.ts +25 -0
- package/dist/esm/components/Map/Map.js +1 -0
- package/dist/esm/components/Map/_NEW_booth-by-xy.d.ts +11 -0
- package/dist/esm/components/Map/_NEW_booth-by-xy.js +1 -0
- package/dist/esm/components/Map/booth-by-xy.d.ts +3 -0
- package/dist/esm/components/Map/booth-by-xy.js +1 -0
- package/dist/esm/components/Map/drawing/Drawer1.d.ts +28 -0
- package/dist/esm/components/Map/drawing/Drawer1.js +1 -0
- package/dist/esm/components/Map/drawing/Matrix.d.ts +33 -0
- package/dist/esm/components/Map/drawing/Matrix.js +1 -0
- package/dist/esm/components/Map/drawing/config/BoothDrawerBase.d.ts +8 -0
- package/dist/esm/components/Map/drawing/config/BoothDrawerBase.js +1 -0
- package/dist/esm/components/Map/drawing/config/BoothShape.d.ts +8 -0
- package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -0
- package/dist/esm/components/Map/drawing/config/NumberObserver.d.ts +10 -0
- package/dist/esm/components/Map/drawing/config/NumberObserver.js +1 -0
- package/dist/esm/components/Map/drawing/config/Rect.d.ts +7 -0
- package/dist/esm/components/Map/drawing/config/Rect.js +1 -0
- package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +11 -0
- package/dist/esm/components/Map/drawing/config/TextFitter.js +1 -0
- package/dist/esm/components/Map/drawing/config/animate.d.ts +2 -0
- package/dist/esm/components/Map/drawing/config/animate.js +1 -0
- package/dist/esm/components/Map/drawing/config/canvases.d.ts +8 -0
- package/dist/esm/components/Map/drawing/config/canvases.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-all.d.ts +5 -0
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +9 -0
- package/dist/esm/components/Map/drawing/config/config-bg.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +20 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +20 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +12 -0
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +17 -0
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -0
- package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +42 -0
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-scaled.d.ts +14 -0
- package/dist/esm/components/Map/drawing/config/config-booth-scaled.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booths.d.ts +6 -0
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-canvas.d.ts +3 -0
- package/dist/esm/components/Map/drawing/config/config-canvas.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-debug-circles.d.ts +3 -0
- package/dist/esm/components/Map/drawing/config/config-debug-circles.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-dim.d.ts +3 -0
- package/dist/esm/components/Map/drawing/config/config-dim.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-gps.d.ts +2 -0
- package/dist/esm/components/Map/drawing/config/config-gps.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-img.d.ts +4 -0
- package/dist/esm/components/Map/drawing/config/config-img.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +5 -0
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-markers.d.ts +6 -0
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-matrix.d.ts +6 -0
- package/dist/esm/components/Map/drawing/config/config-matrix.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-sizes.d.ts +3 -0
- package/dist/esm/components/Map/drawing/config/config-sizes.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-wf.d.ts +11 -0
- package/dist/esm/components/Map/drawing/config/config-wf.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-yah.d.ts +2 -0
- package/dist/esm/components/Map/drawing/config/config-yah.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/animation.d.ts +3 -0
- package/dist/esm/components/Map/drawing/config/engine-core/animation.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/canvases.d.ts +5 -0
- package/dist/esm/components/Map/drawing/config/engine-core/canvases.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/defs.d.ts +15 -0
- package/dist/esm/components/Map/drawing/config/engine-core/defs.js +3 -0
- package/dist/esm/components/Map/drawing/config/engine-core/fonts.d.ts +9 -0
- package/dist/esm/components/Map/drawing/config/engine-core/fonts.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/index.d.ts +19 -0
- package/dist/esm/components/Map/drawing/config/engine-core/index.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/renderer.d.ts +4 -0
- package/dist/esm/components/Map/drawing/config/engine-core/renderer.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/settings.d.ts +4 -0
- package/dist/esm/components/Map/drawing/config/engine-core/settings.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/types.d.ts +39 -0
- package/dist/esm/components/Map/drawing/config/engine-core/types.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/update-def.d.ts +11 -0
- package/dist/esm/components/Map/drawing/config/engine-core/update-def.js +1 -0
- package/dist/esm/components/Map/drawing/config/engine-core/utils/rotation.d.ts +5 -0
- package/dist/esm/components/Map/drawing/config/engine-core/utils/rotation.js +1 -0
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +12 -0
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/index.d.ts +5 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/index.js +1 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.d.ts +21 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.js +1 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.d.ts +6 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.js +1 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/types.d.ts +18 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/types.js +1 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/utils.d.ts +29 -0
- package/dist/esm/components/Map/drawing/config/route-snapping/utils.js +1 -0
- package/dist/esm/components/Map/drawing/painters/BgPainter.d.ts +28 -0
- package/dist/esm/components/Map/drawing/painters/BgPainter.js +25 -0
- package/dist/esm/components/Map/drawing/painters/ImagePainter.d.ts +82 -0
- package/dist/esm/components/Map/drawing/painters/ImagePainter.js +74 -0
- package/dist/esm/components/Map/drawing/painters/Painter.d.ts +12 -0
- package/dist/esm/components/Map/drawing/painters/Painter.js +1 -0
- package/dist/esm/components/Map/drawing/painters/RectPainter.d.ts +123 -0
- package/dist/esm/components/Map/drawing/painters/RectPainter.js +86 -0
- package/dist/esm/components/Map/drawing/painters/Sprite.d.ts +14 -0
- package/dist/esm/components/Map/drawing/painters/Sprite.js +1 -0
- package/dist/esm/components/Map/drawing/painters/TrianglePainter.d.ts +53 -0
- package/dist/esm/components/Map/drawing/painters/TrianglePainter.js +29 -0
- package/dist/esm/components/Map/drawing/painters/common-glsl.d.ts +2 -0
- package/dist/esm/components/Map/drawing/painters/common-glsl.js +14 -0
- package/dist/esm/components/Map/marker-by-xy.d.ts +3 -0
- package/dist/esm/components/Map/marker-by-xy.js +1 -0
- package/dist/esm/components/Map/traffic/UpdateQueue.d.ts +13 -0
- package/dist/esm/components/Map/traffic/UpdateQueue.js +1 -0
- package/dist/esm/components/Map/traffic/trafficLayers.d.ts +17 -0
- package/dist/esm/components/Map/traffic/trafficLayers.js +1 -0
- package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +10 -0
- package/dist/esm/components/Map/traffic/useBuildRoute.js +7 -0
- package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +11 -0
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -0
- package/dist/esm/components/Map/utils.d.ts +3 -0
- package/dist/esm/components/Map/utils.js +1 -0
- package/dist/esm/components/Map/visibleArea.d.ts +15 -0
- package/dist/esm/components/Map/visibleArea.js +1 -0
- package/dist/esm/components/Map/zoom-bound.d.ts +6 -0
- package/dist/esm/components/Map/zoom-bound.js +1 -0
- package/dist/esm/components/Map/zoom-inertia.d.ts +3 -0
- package/dist/esm/components/Map/zoom-inertia.js +1 -0
- package/dist/esm/components/Map1/Map.d.ts +25 -0
- package/dist/esm/components/Map1/Map.js +1 -0
- package/dist/esm/components/Map1/booth-by-xy.d.ts +3 -0
- package/dist/esm/components/Map1/booth-by-xy.js +1 -0
- package/dist/esm/components/Map1/drawing/config/BoothDrawerBase.d.ts +8 -0
- package/dist/esm/components/Map1/drawing/config/BoothDrawerBase.js +1 -0
- package/dist/esm/components/Map1/drawing/config/BoothShape.d.ts +8 -0
- package/dist/esm/components/Map1/drawing/config/BoothShape.js +1 -0
- package/dist/esm/components/Map1/drawing/config/Rect.d.ts +7 -0
- package/dist/esm/components/Map1/drawing/config/Rect.js +1 -0
- package/dist/esm/components/Map1/drawing/config/TextFitter.d.ts +11 -0
- package/dist/esm/components/Map1/drawing/config/TextFitter.js +1 -0
- package/dist/esm/components/Map1/drawing/config/canvases.d.ts +8 -0
- package/dist/esm/components/Map1/drawing/config/canvases.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-all.d.ts +5 -0
- package/dist/esm/components/Map1/drawing/config/config-all.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-bg.d.ts +9 -0
- package/dist/esm/components/Map1/drawing/config/config-bg.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-bg.d.ts +20 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-bg.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-bookmark.d.ts +20 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-bookmark.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-border.d.ts +12 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-border.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-labels-special.d.ts +18 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-labels-special.js +2 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-labels.d.ts +43 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-labels.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-scaled.d.ts +14 -0
- package/dist/esm/components/Map1/drawing/config/config-booth-scaled.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-booths.d.ts +6 -0
- package/dist/esm/components/Map1/drawing/config/config-booths.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-load-layer.d.ts +5 -0
- package/dist/esm/components/Map1/drawing/config/config-load-layer.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-markers.d.ts +6 -0
- package/dist/esm/components/Map1/drawing/config/config-markers.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-wf.d.ts +11 -0
- package/dist/esm/components/Map1/drawing/config/config-wf.js +1 -0
- package/dist/esm/components/Map1/drawing/config/config-yah.d.ts +2 -0
- package/dist/esm/components/Map1/drawing/config/config-yah.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/animation.d.ts +3 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/animation.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/canvases.d.ts +5 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/canvases.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/defs.d.ts +16 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/defs.js +3 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/fonts.d.ts +9 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/fonts.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/index.d.ts +20 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/index.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/renderer.d.ts +5 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/renderer.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/settings.d.ts +4 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/settings.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/types.d.ts +39 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/types.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/update-def.d.ts +12 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/update-def.js +1 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/utils/rotation.d.ts +5 -0
- package/dist/esm/components/Map1/drawing/config/engine-core/utils/rotation.js +1 -0
- package/dist/esm/components/Map1/drawing/config/loadBoothsImages.d.ts +12 -0
- package/dist/esm/components/Map1/drawing/config/loadBoothsImages.js +1 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/index.d.ts +6 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/index.js +1 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/snapPositionToRoute.d.ts +20 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/snapPositionToRoute.js +1 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/snapThreshold.d.ts +23 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/snapThreshold.js +1 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/splitRouteByPoint.d.ts +6 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/splitRouteByPoint.js +1 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/types.d.ts +20 -0
- package/dist/esm/components/Map1/drawing/config/route-snapping/types.js +1 -0
- package/dist/esm/components/Map1/traffic/UpdateQueue.d.ts +13 -0
- package/dist/esm/components/Map1/traffic/UpdateQueue.js +1 -0
- package/dist/esm/components/Map1/traffic/trafficLayers.d.ts +17 -0
- package/dist/esm/components/Map1/traffic/trafficLayers.js +1 -0
- package/dist/esm/components/Map1/traffic/useBuildRoute.d.ts +10 -0
- package/dist/esm/components/Map1/traffic/useBuildRoute.js +7 -0
- package/dist/esm/components/Map1/traffic/useManageTraffic.d.ts +11 -0
- package/dist/esm/components/Map1/traffic/useManageTraffic.js +1 -0
- package/dist/esm/components/Map1/visibleArea.d.ts +15 -0
- package/dist/esm/components/Map1/visibleArea.js +1 -0
- package/dist/esm/components/MapControls.d.ts +28 -0
- package/dist/esm/components/MapControls.js +1 -0
- package/dist/esm/components/Mapbox/Button.d.ts +10 -0
- package/dist/esm/components/Mapbox/Button.js +1 -0
- package/dist/esm/components/Mapbox/Dot.d.ts +10 -0
- package/dist/esm/components/Mapbox/Dot.js +1 -0
- package/dist/esm/components/Mapbox/MapLoader.d.ts +3 -0
- package/dist/esm/components/Mapbox/MapLoader.js +1 -0
- package/dist/esm/components/Mapbox/Mapbox.d.ts +3 -0
- package/dist/esm/components/Mapbox/Mapbox.js +1 -0
- package/dist/esm/components/Mapbox/utils/data.d.ts +40 -0
- package/dist/esm/components/Mapbox/utils/data.js +1 -0
- package/dist/esm/components/Mapbox/utils/fpGeo.d.ts +13 -0
- package/dist/esm/components/Mapbox/utils/fpGeo.js +1 -0
- package/dist/esm/components/MarketMaterialList.d.ts +9 -0
- package/dist/esm/components/MarketMaterialList.js +1 -0
- package/dist/esm/components/Menu.d.ts +9 -0
- package/dist/esm/components/Menu.js +2 -0
- package/dist/esm/components/MobileToggleButton.d.ts +4 -0
- package/dist/esm/components/MobileToggleButton.js +1 -0
- package/dist/esm/components/Modal.d.ts +37 -0
- package/dist/esm/components/Modal.js +1 -0
- package/dist/esm/components/MultiSelectGroups.d.ts +33 -0
- package/dist/esm/components/MultiSelectGroups.js +1 -0
- package/dist/esm/components/Overlay.d.ts +21 -0
- package/dist/esm/components/Overlay.js +1 -0
- package/dist/esm/components/OverlayContainer.d.ts +8 -0
- package/dist/esm/components/OverlayContainer.js +1 -0
- package/dist/esm/components/OverlayGrip.d.ts +6 -0
- package/dist/esm/components/OverlayGrip.js +1 -0
- package/dist/esm/components/OverlayParticles.d.ts +5 -0
- package/dist/esm/components/OverlayParticles.js +1 -0
- package/dist/esm/components/PermissionNotice/PermissionNotice.d.ts +13 -0
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -0
- package/dist/esm/components/Radio.d.ts +12 -0
- package/dist/esm/components/Radio.js +1 -0
- package/dist/esm/components/RebookingNotes.d.ts +12 -0
- package/dist/esm/components/RebookingNotes.js +1 -0
- package/dist/esm/components/RebookingRadioGroup.d.ts +24 -0
- package/dist/esm/components/RebookingRadioGroup.js +1 -0
- package/dist/esm/components/RouteQR.d.ts +8 -0
- package/dist/esm/components/RouteQR.js +1 -0
- package/dist/esm/components/Schedule.d.ts +14 -0
- package/dist/esm/components/Schedule.js +1 -0
- package/dist/esm/components/ScheduleRow.d.ts +8 -0
- package/dist/esm/components/ScheduleRow.js +1 -0
- package/dist/esm/components/ScrollableRow.d.ts +21 -0
- package/dist/esm/components/ScrollableRow.js +1 -0
- package/dist/esm/components/Search.d.ts +4 -0
- package/dist/esm/components/Search.js +1 -0
- package/dist/esm/components/SearchBox.d.ts +7 -0
- package/dist/esm/components/SearchBox.js +1 -0
- package/dist/esm/components/SearchButtons/SearchButton.d.ts +20 -0
- package/dist/esm/components/SearchButtons/SearchButton.js +1 -0
- package/dist/esm/components/SearchButtons/SearchButtons.d.ts +5 -0
- package/dist/esm/components/SearchButtons/SearchButtons.js +1 -0
- package/dist/esm/components/SearchButtons/SearchSubButton.d.ts +14 -0
- package/dist/esm/components/SearchButtons/SearchSubButton.js +1 -0
- package/dist/esm/components/SearchButtons/SearchSubButtons.d.ts +5 -0
- package/dist/esm/components/SearchButtons/SearchSubButtons.js +1 -0
- package/dist/esm/components/SearchButtons/index.d.ts +7 -0
- package/dist/esm/components/SearchButtons/index.js +1 -0
- package/dist/esm/components/Sessions.d.ts +8 -0
- package/dist/esm/components/Sessions.js +1 -0
- package/dist/esm/components/SessionsFiltersModal.d.ts +11 -0
- package/dist/esm/components/SessionsFiltersModal.js +1 -0
- package/dist/esm/components/Share.d.ts +9 -0
- package/dist/esm/components/Share.js +1 -0
- package/dist/esm/components/Shortcuts/ShortcutButton.d.ts +9 -0
- package/dist/esm/components/Shortcuts/ShortcutButton.js +1 -0
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.d.ts +9 -0
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +1 -0
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.d.ts +10 -0
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.js +1 -0
- package/dist/esm/components/Shortcuts/index.d.ts +4 -0
- package/dist/esm/components/Shortcuts/index.js +1 -0
- package/dist/esm/components/SidebarActions.d.ts +17 -0
- package/dist/esm/components/SidebarActions.js +1 -0
- package/dist/esm/components/SimpleRow.d.ts +17 -0
- package/dist/esm/components/SimpleRow.js +1 -0
- package/dist/esm/components/Speaker.d.ts +5 -0
- package/dist/esm/components/Speaker.js +1 -0
- package/dist/esm/components/Speakers.d.ts +8 -0
- package/dist/esm/components/Speakers.js +1 -0
- package/dist/esm/components/SpeakersFiltersModal.d.ts +11 -0
- package/dist/esm/components/SpeakersFiltersModal.js +1 -0
- package/dist/esm/components/Threejs/ThreeComponent.d.ts +6 -0
- package/dist/esm/components/Threejs/ThreeComponent.js +1 -0
- package/dist/esm/components/Threejs/UIManager.d.ts +28 -0
- package/dist/esm/components/Threejs/UIManager.js +1 -0
- package/dist/esm/components/Threejs/common/BoothMesh.d.ts +20 -0
- package/dist/esm/components/Threejs/common/BoothMesh.js +1 -0
- package/dist/esm/components/Threejs/common/Scene.d.ts +13 -0
- package/dist/esm/components/Threejs/common/Scene.js +1 -0
- package/dist/esm/components/Threejs/common/SpriteMesh.d.ts +5 -0
- package/dist/esm/components/Threejs/common/SpriteMesh.js +1 -0
- package/dist/esm/components/Threejs/common/dataLoader.d.ts +31 -0
- package/dist/esm/components/Threejs/common/dataLoader.js +1 -0
- package/dist/esm/components/Threejs/common/modelLoader.d.ts +3 -0
- package/dist/esm/components/Threejs/common/modelLoader.js +1 -0
- package/dist/esm/components/Threejs/common/sceneLoader.d.ts +7 -0
- package/dist/esm/components/Threejs/common/sceneLoader.js +1 -0
- package/dist/esm/components/Threejs/index.d.ts +4 -0
- package/dist/esm/components/Threejs/index.js +1 -0
- package/dist/esm/components/Threejs/mapbox/configureWebGLForMapbox.d.ts +2 -0
- package/dist/esm/components/Threejs/mapbox/configureWebGLForMapbox.js +1 -0
- package/dist/esm/components/Threejs/mapbox/index_mapbox.d.ts +4 -0
- package/dist/esm/components/Threejs/mapbox/index_mapbox.js +1 -0
- package/dist/esm/components/Threejs/mapbox/init-mapbox.d.ts +3 -0
- package/dist/esm/components/Threejs/mapbox/init-mapbox.js +1 -0
- package/dist/esm/components/Threejs/utils/canvasFromText.d.ts +2 -0
- package/dist/esm/components/Threejs/utils/canvasFromText.js +1 -0
- package/dist/esm/components/Threejs/utils/textureMerger.d.ts +60 -0
- package/dist/esm/components/Threejs/utils/textureMerger.js +1 -0
- package/dist/esm/components/Toast/ToastContainer.d.ts +11 -0
- package/dist/esm/components/Toast/ToastContainer.js +1 -0
- package/dist/esm/components/Toast/ToastContext.d.ts +2 -0
- package/dist/esm/components/Toast/ToastContext.js +1 -0
- package/dist/esm/components/Toast/ToastProvider.d.ts +5 -0
- package/dist/esm/components/Toast/ToastProvider.js +1 -0
- package/dist/esm/components/Toast/index.d.ts +2 -0
- package/dist/esm/components/Toast/index.js +1 -0
- package/dist/esm/components/ToggleButton.d.ts +11 -0
- package/dist/esm/components/ToggleButton.js +1 -0
- package/dist/esm/components/ToggleSwitch.d.ts +12 -0
- package/dist/esm/components/ToggleSwitch.js +1 -0
- package/dist/esm/components/TouchHand.d.ts +4 -0
- package/dist/esm/components/TouchHand.js +1 -0
- package/dist/esm/components/TourPoints.d.ts +3 -0
- package/dist/esm/components/TourPoints.js +1 -0
- package/dist/esm/components/Tours.d.ts +9 -0
- package/dist/esm/components/Tours.js +1 -0
- package/dist/esm/components/ToursList.d.ts +10 -0
- package/dist/esm/components/ToursList.js +1 -0
- package/dist/esm/components/Visited.d.ts +3 -0
- package/dist/esm/components/Visited.js +1 -0
- package/dist/esm/components/WayInformation.d.ts +14 -0
- package/dist/esm/components/WayInformation.js +1 -0
- package/dist/esm/components/Wayfinding.d.ts +4 -0
- package/dist/esm/components/Wayfinding.js +1 -0
- package/dist/esm/components/WayfindingFloorSelector.d.ts +21 -0
- package/dist/esm/components/WayfindingFloorSelector.js +1 -0
- package/dist/esm/components/WayfindingTemplate.d.ts +40 -0
- package/dist/esm/components/WayfindingTemplate.js +1 -0
- package/dist/esm/components/Ws.d.ts +4 -0
- package/dist/esm/components/Ws.js +1 -0
- package/dist/esm/components/YahRow.d.ts +8 -0
- package/dist/esm/components/YahRow.js +1 -0
- package/dist/esm/components/gps/GpsManager.d.ts +12 -0
- package/dist/esm/components/gps/GpsManager.js +1 -0
- package/dist/esm/components/gps/GpsPermissionRequest.d.ts +6 -0
- package/dist/esm/components/gps/GpsPermissionRequest.js +1 -0
- package/dist/esm/components/gps/index.d.ts +5 -0
- package/dist/esm/components/gps/index.js +1 -0
- package/dist/esm/components/gps/types.d.ts +7 -0
- package/dist/esm/components/gps/types.js +1 -0
- package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +8 -0
- package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -0
- package/dist/esm/components/gps/utils.d.ts +5 -0
- package/dist/esm/components/gps/utils.js +1 -0
- package/dist/esm/components/index.d.ts +108 -0
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/stories/Alert.stories.d.ts +6 -0
- package/dist/esm/components/stories/Alert.stories.js +1 -0
- package/dist/esm/components/stories/Autocomplete.stories.d.ts +6 -0
- package/dist/esm/components/stories/Autocomplete.stories.js +1 -0
- package/dist/esm/components/stories/Badge.stories.d.ts +5 -0
- package/dist/esm/components/stories/Badge.stories.js +1 -0
- package/dist/esm/components/stories/Button.stories.d.ts +5 -0
- package/dist/esm/components/stories/Button.stories.js +1 -0
- package/dist/esm/components/stories/Checkbox.stories.d.ts +5 -0
- package/dist/esm/components/stories/Checkbox.stories.js +1 -0
- package/dist/esm/components/stories/CheckboxButton.stories.d.ts +5 -0
- package/dist/esm/components/stories/CheckboxButton.stories.js +1 -0
- package/dist/esm/components/stories/CookieConsent.stories.d.ts +5 -0
- package/dist/esm/components/stories/CookieConsent.stories.js +1 -0
- package/dist/esm/components/stories/EntityItem.stories.d.ts +8 -0
- package/dist/esm/components/stories/EntityItem.stories.js +1 -0
- package/dist/esm/components/stories/Gallery.stories.d.ts +5 -0
- package/dist/esm/components/stories/Gallery.stories.js +1 -0
- package/dist/esm/components/stories/Loading.stories.d.ts +5 -0
- package/dist/esm/components/stories/Loading.stories.js +1 -0
- package/dist/esm/components/stories/MapControls.stories.d.ts +5 -0
- package/dist/esm/components/stories/MapControls.stories.js +1 -0
- package/dist/esm/components/stories/MarketMaterialList.stories.d.ts +5 -0
- package/dist/esm/components/stories/MarketMaterialList.stories.js +1 -0
- package/dist/esm/components/stories/Modal.storiesss.d.ts +5 -0
- package/dist/esm/components/stories/Modal.storiesss.js +1 -0
- package/dist/esm/components/stories/Overlay.stories.d.ts +8 -0
- package/dist/esm/components/stories/Overlay.stories.js +1 -0
- package/dist/esm/components/stories/Radio.stories.d.ts +10 -0
- package/dist/esm/components/stories/Radio.stories.js +1 -0
- package/dist/esm/components/stories/RebookingNotes.stories.d.ts +5 -0
- package/dist/esm/components/stories/RebookingNotes.stories.js +1 -0
- package/dist/esm/components/stories/RebookingRadioGroup.stories.d.ts +5 -0
- package/dist/esm/components/stories/RebookingRadioGroup.stories.js +1 -0
- package/dist/esm/components/stories/RouteQR.stories.d.ts +7 -0
- package/dist/esm/components/stories/RouteQR.stories.js +1 -0
- package/dist/esm/components/stories/Share.storiesSS.d.ts +5 -0
- package/dist/esm/components/stories/Share.storiesSS.js +1 -0
- package/dist/esm/components/stories/SidebarActions.stories.d.ts +5 -0
- package/dist/esm/components/stories/SidebarActions.stories.js +1 -0
- package/dist/esm/components/stories/Toast.stories.d.ts +5 -0
- package/dist/esm/components/stories/Toast.stories.js +1 -0
- package/dist/esm/components/stories/ToggleButton.stories.d.ts +5 -0
- package/dist/esm/components/stories/ToggleButton.stories.js +1 -0
- package/dist/esm/components/stories/ToggleSwitch.stories.d.ts +5 -0
- package/dist/esm/components/stories/ToggleSwitch.stories.js +1 -0
- package/dist/esm/components/stories/TouchHand.stories.d.ts +5 -0
- package/dist/esm/components/stories/TouchHand.stories.js +1 -0
- package/dist/esm/components/stories/WayInformation.storiesss.d.ts +5 -0
- package/dist/esm/components/stories/WayInformation.storiesss.js +1 -0
- package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.d.ts +5 -0
- package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.js +1 -0
- package/dist/esm/components/stories/WayfindingTemplate.storiesss.d.ts +5 -0
- package/dist/esm/components/stories/WayfindingTemplate.storiesss.js +1 -0
- package/dist/esm/constants.d.ts +31 -0
- package/dist/esm/constants.js +1 -0
- package/dist/esm/core/Line.d.ts +12 -0
- package/dist/esm/core/Line.js +1 -0
- package/dist/esm/core/Polygon.d.ts +16 -0
- package/dist/esm/core/Polygon.js +1 -0
- package/dist/esm/core/Rect.d.ts +36 -0
- package/dist/esm/core/Rect.js +1 -0
- package/dist/esm/core/Size.d.ts +7 -0
- package/dist/esm/core/Size.js +1 -0
- package/dist/esm/data/index.d.ts +4 -0
- package/dist/esm/data/index.js +1 -0
- package/dist/esm/data/svg.d.ts +13 -0
- package/dist/esm/data/svg.js +1 -0
- package/dist/esm/data/tours.json +148 -0
- package/dist/esm/data/validate-data.d.ts +3 -0
- package/dist/esm/data/validate-data.js +1 -0
- package/dist/esm/expofp-debug.d.ts +5 -0
- package/dist/esm/expofp-debug.js +1 -0
- package/dist/esm/floorplan.loader.d.ts +102 -0
- package/dist/esm/floorplan.loader.js +1 -0
- package/dist/esm/floorplan.ready.d.ts +84 -0
- package/dist/esm/floorplan.ready.js +1 -0
- package/dist/esm/hooks/useDragGesture.d.ts +19 -0
- package/dist/esm/hooks/useDragGesture.js +1 -0
- package/dist/esm/hooks/useURLFilters.d.ts +15 -0
- package/dist/esm/hooks/useURLFilters.js +1 -0
- package/dist/esm/hooks/useWindowSize.d.ts +5 -0
- package/dist/esm/hooks/useWindowSize.js +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/lib/floorplan.d.ts +2 -0
- package/dist/esm/lib/floorplan.js +1 -0
- package/dist/esm/load.d.ts +10 -0
- package/dist/esm/load.js +56 -0
- package/dist/esm/locales.d.ts +24 -0
- package/dist/esm/locales.js +1 -0
- package/dist/esm/offline/constants.d.ts +5 -0
- package/dist/esm/offline/constants.js +1 -0
- package/dist/esm/offline/offlineManager.d.ts +2 -0
- package/dist/esm/offline/offlineManager.js +1 -0
- package/dist/esm/offline/sw.d.ts +2 -0
- package/dist/esm/offline/sw.js +1 -0
- package/dist/esm/schemas/sdk.schemas.d.ts +25 -0
- package/dist/esm/schemas/sdk.schemas.js +1 -0
- package/dist/esm/services/URLFilterManager.d.ts +24 -0
- package/dist/esm/services/URLFilterManager.js +1 -0
- package/dist/esm/services/routing.d.ts +7 -0
- package/dist/esm/services/routing.js +1 -0
- package/dist/esm/store/BaseFilterStore.d.ts +17 -0
- package/dist/esm/store/BaseFilterStore.js +1 -0
- package/dist/esm/store/BoothStore.d.ts +79 -0
- package/dist/esm/store/BoothStore.js +1 -0
- package/dist/esm/store/CategoryFilterStore.d.ts +13 -0
- package/dist/esm/store/CategoryFilterStore.js +1 -0
- package/dist/esm/store/CategoryStore.d.ts +21 -0
- package/dist/esm/store/CategoryStore.js +1 -0
- package/dist/esm/store/EventStore.d.ts +56 -0
- package/dist/esm/store/EventStore.js +1 -0
- package/dist/esm/store/ExhibitorStore.d.ts +77 -0
- package/dist/esm/store/ExhibitorStore.js +1 -0
- package/dist/esm/store/FuzzySearchEngineStore.d.ts +11 -0
- package/dist/esm/store/FuzzySearchEngineStore.js +1 -0
- package/dist/esm/store/HeatmapStore.d.ts +42 -0
- package/dist/esm/store/HeatmapStore.js +1 -0
- package/dist/esm/store/LanguageStore.d.ts +19 -0
- package/dist/esm/store/LanguageStore.js +1 -0
- package/dist/esm/store/LayerStore.d.ts +52 -0
- package/dist/esm/store/LayerStore.js +1 -0
- package/dist/esm/store/MapboxStore.d.ts +13 -0
- package/dist/esm/store/MapboxStore.js +1 -0
- package/dist/esm/store/PoiTypeStore.d.ts +8 -0
- package/dist/esm/store/PoiTypeStore.js +1 -0
- package/dist/esm/store/RootStore.d.ts +97 -0
- package/dist/esm/store/RootStore.js +1 -0
- package/dist/esm/store/RouteStore.d.ts +98 -0
- package/dist/esm/store/RouteStore.js +1 -0
- package/dist/esm/store/SearchButtonsStore.d.ts +2 -0
- package/dist/esm/store/SearchButtonsStore.js +1 -0
- package/dist/esm/store/SearchStore.d.ts +72 -0
- package/dist/esm/store/SearchStore.js +1 -0
- package/dist/esm/store/SessionsFilterStore.d.ts +50 -0
- package/dist/esm/store/SessionsFilterStore.js +1 -0
- package/dist/esm/store/ShortcutProvider.d.ts +26 -0
- package/dist/esm/store/ShortcutProvider.js +1 -0
- package/dist/esm/store/ShortcutRegistry.d.ts +19 -0
- package/dist/esm/store/ShortcutRegistry.js +1 -0
- package/dist/esm/store/SpeakerFilterStore.d.ts +39 -0
- package/dist/esm/store/SpeakerFilterStore.js +1 -0
- package/dist/esm/store/SpeakerStore.d.ts +45 -0
- package/dist/esm/store/SpeakerStore.js +1 -0
- package/dist/esm/store/SubButtonProvider.d.ts +16 -0
- package/dist/esm/store/SubButtonProvider.js +1 -0
- package/dist/esm/store/SubButtonRegistry.d.ts +16 -0
- package/dist/esm/store/SubButtonRegistry.js +1 -0
- package/dist/esm/store/ToursStore.d.ts +30 -0
- package/dist/esm/store/ToursStore.js +1 -0
- package/dist/esm/store/UIState.d.ts +252 -0
- package/dist/esm/store/UIState.js +1 -0
- package/dist/esm/store/index.d.ts +12 -0
- package/dist/esm/store/index.js +1 -0
- package/dist/esm/store/init/index.d.ts +3 -0
- package/dist/esm/store/init/index.js +1 -0
- package/dist/esm/store/init/init-booths.d.ts +6 -0
- package/dist/esm/store/init/init-booths.js +1 -0
- package/dist/esm/store/init/init-categories.d.ts +3 -0
- package/dist/esm/store/init/init-categories.js +1 -0
- package/dist/esm/store/init/init-events.d.ts +3 -0
- package/dist/esm/store/init/init-events.js +1 -0
- package/dist/esm/store/init/init-exhibitors.d.ts +3 -0
- package/dist/esm/store/init/init-exhibitors.js +1 -0
- package/dist/esm/store/init/init-heatmap.d.ts +3 -0
- package/dist/esm/store/init/init-heatmap.js +1 -0
- package/dist/esm/store/init/init-language.d.ts +3 -0
- package/dist/esm/store/init/init-language.js +1 -0
- package/dist/esm/store/init/init-layers.d.ts +8 -0
- package/dist/esm/store/init/init-layers.js +1 -0
- package/dist/esm/store/init/init-poiTypes.d.ts +3 -0
- package/dist/esm/store/init/init-poiTypes.js +1 -0
- package/dist/esm/store/init/init-speakers.d.ts +3 -0
- package/dist/esm/store/init/init-speakers.js +1 -0
- package/dist/esm/store/init/init-ui.d.ts +4 -0
- package/dist/esm/store/init/init-ui.js +5 -0
- package/dist/esm/store/providers/SearchShortcutProvider.d.ts +14 -0
- package/dist/esm/store/providers/SearchShortcutProvider.js +1 -0
- package/dist/esm/store/providers/SessionsShortcutProvider.d.ts +19 -0
- package/dist/esm/store/providers/SessionsShortcutProvider.js +1 -0
- package/dist/esm/store/providers/SessionsSubButtonProvider.d.ts +15 -0
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -0
- package/dist/esm/store/providers/SpeakerShortcutProvider.d.ts +13 -0
- package/dist/esm/store/providers/SpeakerShortcutProvider.js +1 -0
- package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +33 -0
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -0
- package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +36 -0
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -0
- package/dist/esm/store/search-buttons/SearchButtonsFilters.d.ts +20 -0
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -0
- package/dist/esm/store/search-buttons/SearchButtonsState.d.ts +24 -0
- package/dist/esm/store/search-buttons/SearchButtonsState.js +1 -0
- package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +58 -0
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -0
- package/dist/esm/store/search-buttons/constants.d.ts +24 -0
- package/dist/esm/store/search-buttons/constants.js +1 -0
- package/dist/esm/store/search-buttons/index.d.ts +8 -0
- package/dist/esm/store/search-buttons/index.js +1 -0
- package/dist/esm/store/search-buttons/utils.d.ts +6 -0
- package/dist/esm/store/search-buttons/utils.js +1 -0
- package/dist/esm/store/types.d.ts +177 -0
- package/dist/esm/store/types.js +1 -0
- package/dist/esm/storybook/contexts/ResponsiveClassContext.d.ts +3 -0
- package/dist/esm/storybook/contexts/ResponsiveClassContext.js +1 -0
- package/dist/esm/storybook/decorators/StoryWrapper.d.ts +5 -0
- package/dist/esm/storybook/decorators/StoryWrapper.js +1 -0
- package/dist/esm/storybook/decorators/WithResize.d.ts +3 -0
- package/dist/esm/storybook/decorators/WithResize.js +1 -0
- package/dist/esm/storybook/store/index.stub.d.ts +20 -0
- package/dist/esm/storybook/store/index.stub.js +1 -0
- package/dist/esm/tools/Color.d.ts +2 -0
- package/dist/esm/tools/Color.js +1 -0
- package/dist/esm/tools/base-runtime-url.d.ts +3 -0
- package/dist/esm/tools/base-runtime-url.js +1 -0
- package/dist/esm/tools/debounce.d.ts +2 -0
- package/dist/esm/tools/debounce.js +1 -0
- package/dist/esm/tools/debug.d.ts +5 -0
- package/dist/esm/tools/debug.js +1 -0
- package/dist/esm/tools/debugCanvases.d.ts +3 -0
- package/dist/esm/tools/debugCanvases.js +1 -0
- package/dist/esm/tools/gtag.d.ts +30 -0
- package/dist/esm/tools/gtag.js +1 -0
- package/dist/esm/tools/handleDebugMode.d.ts +2 -0
- package/dist/esm/tools/handleDebugMode.js +1 -0
- package/dist/esm/tools/id.d.ts +2 -0
- package/dist/esm/tools/id.js +1 -0
- package/dist/esm/tools/loaders.d.ts +7 -0
- package/dist/esm/tools/loaders.js +1 -0
- package/dist/esm/tools/logger.d.ts +38 -0
- package/dist/esm/tools/logger.js +1 -0
- package/dist/esm/tools/pdf.d.ts +2 -0
- package/dist/esm/tools/pdf.js +1 -0
- package/dist/esm/tools/rebookingUrl.d.ts +11 -0
- package/dist/esm/tools/rebookingUrl.js +1 -0
- package/dist/esm/tools/report-error.d.ts +2 -0
- package/dist/esm/tools/report-error.js +3 -0
- package/dist/esm/tools/reset.d.ts +2 -0
- package/dist/esm/tools/reset.js +1 -0
- package/dist/esm/tools/sentry.d.ts +7 -0
- package/dist/esm/tools/sentry.js +1 -0
- package/dist/esm/tools/settings.d.ts +31 -0
- package/dist/esm/tools/settings.js +1 -0
- package/dist/esm/tools/slug.d.ts +2 -0
- package/dist/esm/tools/slug.js +1 -0
- package/dist/esm/tools/track-event.d.ts +2 -0
- package/dist/esm/tools/track-event.js +1 -0
- package/dist/esm/tools/webgl-logger.d.ts +2 -0
- package/dist/esm/tools/webgl-logger.js +1 -0
- package/dist/esm/types/sdk.types.d.ts +49 -0
- package/dist/esm/types/sdk.types.js +1 -0
- package/dist/esm/types.d.ts +300 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/utils/_OLD_gpu-info.d.ts +6 -0
- package/dist/esm/utils/_OLD_gpu-info.js +1 -0
- package/dist/esm/utils/_OLD_should-use-backdrop.d.ts +3 -0
- package/dist/esm/utils/_OLD_should-use-backdrop.js +1 -0
- package/dist/esm/utils/areLayersEnabled.d.ts +2 -0
- package/dist/esm/utils/areLayersEnabled.js +1 -0
- package/dist/esm/utils/browser.d.ts +4 -0
- package/dist/esm/utils/browser.js +1 -0
- package/dist/esm/utils/calcSpeed.d.ts +2 -0
- package/dist/esm/utils/calcSpeed.js +1 -0
- package/dist/esm/utils/calcTravelTime.d.ts +2 -0
- package/dist/esm/utils/calcTravelTime.js +1 -0
- package/dist/esm/utils/customCommands.d.ts +2 -0
- package/dist/esm/utils/customCommands.js +1 -0
- package/dist/esm/utils/detectLimitedModeViaImage.d.ts +2 -0
- package/dist/esm/utils/detectLimitedModeViaImage.js +1 -0
- package/dist/esm/utils/entity-storage.d.ts +14 -0
- package/dist/esm/utils/entity-storage.js +1 -0
- package/dist/esm/utils/eventFullBadge.d.ts +3 -0
- package/dist/esm/utils/eventFullBadge.js +1 -0
- package/dist/esm/utils/eventTime.d.ts +14 -0
- package/dist/esm/utils/eventTime.js +1 -0
- package/dist/esm/utils/extractMetaFromString.d.ts +5 -0
- package/dist/esm/utils/extractMetaFromString.js +1 -0
- package/dist/esm/utils/getContrastTextColor.d.ts +2 -0
- package/dist/esm/utils/getContrastTextColor.js +1 -0
- package/dist/esm/utils/getLogoUrl.d.ts +2 -0
- package/dist/esm/utils/getLogoUrl.js +1 -0
- package/dist/esm/utils/getMostFrequent.d.ts +2 -0
- package/dist/esm/utils/getMostFrequent.js +1 -0
- package/dist/esm/utils/getRenderTargetFromRoot.d.ts +2 -0
- package/dist/esm/utils/getRenderTargetFromRoot.js +1 -0
- package/dist/esm/utils/gps.d.ts +33 -0
- package/dist/esm/utils/gps.js +1 -0
- package/dist/esm/utils/i18n.d.ts +7 -0
- package/dist/esm/utils/i18n.js +1 -0
- package/dist/esm/utils/imageloader.d.ts +17 -0
- package/dist/esm/utils/imageloader.js +1 -0
- package/dist/esm/utils/index.d.ts +10 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/is-debug.d.ts +3 -0
- package/dist/esm/utils/is-debug.js +1 -0
- package/dist/esm/utils/is-from-designer.d.ts +3 -0
- package/dist/esm/utils/is-from-designer.js +1 -0
- package/dist/esm/utils/is-iframe.d.ts +3 -0
- package/dist/esm/utils/is-iframe.js +1 -0
- package/dist/esm/utils/is-localhost.d.ts +3 -0
- package/dist/esm/utils/is-localhost.js +1 -0
- package/dist/esm/utils/is-mac.d.ts +3 -0
- package/dist/esm/utils/is-mac.js +1 -0
- package/dist/esm/utils/is-mobile.d.ts +3 -0
- package/dist/esm/utils/is-mobile.js +1 -0
- package/dist/esm/utils/is-scroll-ugly.d.ts +3 -0
- package/dist/esm/utils/is-scroll-ugly.js +3 -0
- package/dist/esm/utils/is-webview.d.ts +3 -0
- package/dist/esm/utils/is-webview.js +1 -0
- package/dist/esm/utils/loadCustomCss.d.ts +3 -0
- package/dist/esm/utils/loadCustomCss.js +1 -0
- package/dist/esm/utils/loadIcons.d.ts +3 -0
- package/dist/esm/utils/loadIcons.js +1 -0
- package/dist/esm/utils/loadImage.d.ts +2 -0
- package/dist/esm/utils/loadImage.js +1 -0
- package/dist/esm/utils/loadImagesInBatches.d.ts +7 -0
- package/dist/esm/utils/loadImagesInBatches.js +1 -0
- package/dist/esm/utils/localStorage.d.ts +2 -0
- package/dist/esm/utils/localStorage.js +1 -0
- package/dist/esm/utils/lz-utils.d.ts +8 -0
- package/dist/esm/utils/lz-utils.js +1 -0
- package/dist/esm/utils/mapEntity.d.ts +2 -0
- package/dist/esm/utils/mapEntity.js +1 -0
- package/dist/esm/utils/mergeExhibitors.d.ts +3 -0
- package/dist/esm/utils/mergeExhibitors.js +1 -0
- package/dist/esm/utils/mobx.d.ts +6 -0
- package/dist/esm/utils/mobx.js +1 -0
- package/dist/esm/utils/preview-exhibitor.d.ts +4 -0
- package/dist/esm/utils/preview-exhibitor.js +1 -0
- package/dist/esm/utils/responsiveClass.d.ts +2 -0
- package/dist/esm/utils/responsiveClass.js +1 -0
- package/dist/esm/utils/rtl.d.ts +2 -0
- package/dist/esm/utils/rtl.js +1 -0
- package/dist/esm/utils/sanitizeHtml.d.ts +3 -0
- package/dist/esm/utils/sanitizeHtml.js +1 -0
- package/dist/esm/utils/sanitizeText.d.ts +9 -0
- package/dist/esm/utils/sanitizeText.js +1 -0
- package/dist/esm/utils/shortenName.d.ts +2 -0
- package/dist/esm/utils/shortenName.js +1 -0
- package/dist/esm/utils/strEqual.d.ts +2 -0
- package/dist/esm/utils/strEqual.js +1 -0
- package/dist/esm/utils/toRadians.d.ts +3 -0
- package/dist/esm/utils/toRadians.js +1 -0
- package/dist/esm/utils/urlEncoding.d.ts +7 -0
- package/dist/esm/utils/urlEncoding.js +1 -0
- package/dist/esm/utils/use-shadow.d.ts +3 -0
- package/dist/esm/utils/use-shadow.js +1 -0
- package/dist/esm/utils/useHeatmapData.d.ts +10 -0
- package/dist/esm/utils/useHeatmapData.js +1 -0
- package/dist/esm/utils/useHeatmapOverlay.d.ts +8 -0
- package/dist/esm/utils/useHeatmapOverlay.js +1 -0
- package/dist/esm/utils/useOnClickOutside.d.ts +3 -0
- package/dist/esm/utils/useOnClickOutside.js +1 -0
- package/dist/esm/utils/useRenderTarget.d.ts +2 -0
- package/dist/esm/utils/useRenderTarget.js +1 -0
- package/dist/esm/utils/useTimeout.d.ts +2 -0
- package/dist/esm/utils/useTimeout.js +1 -0
- package/dist/esm/utils/wayfinding.d.ts +37 -0
- package/dist/esm/utils/wayfinding.js +1 -0
- package/dist/esm/utils/yah.d.ts +8 -0
- package/dist/esm/utils/yah.js +1 -0
- package/dist/esm/utils/yah_icon.d.ts +6 -0
- package/dist/esm/utils/yah_icon.js +1 -0
- package/dist/stats.html +4950 -0
- package/package.json +107 -0
|
@@ -0,0 +1,3235 @@
|
|
|
1
|
+
import { j as N } from "./jsx-runtime-jIxVPx5o.js";
|
|
2
|
+
import { o as B, r as ht } from "./index-saYO21xq.js";
|
|
3
|
+
import { R as en } from "./index-cGFPJUkc.js";
|
|
4
|
+
const vt = 0, Pe = 1, Xe = 2, Io = 4;
|
|
5
|
+
function Jt(e) {
|
|
6
|
+
return () => e;
|
|
7
|
+
}
|
|
8
|
+
function tn(e) {
|
|
9
|
+
e();
|
|
10
|
+
}
|
|
11
|
+
function To(e, t) {
|
|
12
|
+
return (o) => e(t(o));
|
|
13
|
+
}
|
|
14
|
+
function qt(e, t) {
|
|
15
|
+
return () => e(t);
|
|
16
|
+
}
|
|
17
|
+
function on(e, t) {
|
|
18
|
+
return (o) => e(t, o);
|
|
19
|
+
}
|
|
20
|
+
function Mt(e) {
|
|
21
|
+
return e !== void 0;
|
|
22
|
+
}
|
|
23
|
+
function nn(...e) {
|
|
24
|
+
return () => {
|
|
25
|
+
e.map(tn);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function Ye() {
|
|
29
|
+
}
|
|
30
|
+
function It(e, t) {
|
|
31
|
+
return t(e), e;
|
|
32
|
+
}
|
|
33
|
+
function rn(e, t) {
|
|
34
|
+
return t(e);
|
|
35
|
+
}
|
|
36
|
+
function ee(...e) {
|
|
37
|
+
return e;
|
|
38
|
+
}
|
|
39
|
+
function X(e, t) {
|
|
40
|
+
return e(Pe, t);
|
|
41
|
+
}
|
|
42
|
+
function D(e, t) {
|
|
43
|
+
e(vt, t);
|
|
44
|
+
}
|
|
45
|
+
function Wt(e) {
|
|
46
|
+
e(Xe);
|
|
47
|
+
}
|
|
48
|
+
function oe(e) {
|
|
49
|
+
return e(Io);
|
|
50
|
+
}
|
|
51
|
+
function k(e, t) {
|
|
52
|
+
return X(e, on(t, vt));
|
|
53
|
+
}
|
|
54
|
+
function ye(e, t) {
|
|
55
|
+
const o = e(Pe, (n) => {
|
|
56
|
+
o(), t(n);
|
|
57
|
+
});
|
|
58
|
+
return o;
|
|
59
|
+
}
|
|
60
|
+
function eo(e) {
|
|
61
|
+
let t, o;
|
|
62
|
+
return (n) => (r) => {
|
|
63
|
+
t = r, o && clearTimeout(o), o = setTimeout(() => {
|
|
64
|
+
n(t);
|
|
65
|
+
}, e);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function wo(e, t) {
|
|
69
|
+
return e === t;
|
|
70
|
+
}
|
|
71
|
+
function q(e = wo) {
|
|
72
|
+
let t;
|
|
73
|
+
return (o) => (n) => {
|
|
74
|
+
e(t, n) || (t = n, o(n));
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function P(e) {
|
|
78
|
+
return (t) => (o) => {
|
|
79
|
+
e(o) && t(o);
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function R(e) {
|
|
83
|
+
return (t) => To(t, e);
|
|
84
|
+
}
|
|
85
|
+
function Be(e) {
|
|
86
|
+
return (t) => () => {
|
|
87
|
+
t(e);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function p(e, ...t) {
|
|
91
|
+
const o = sn(...t);
|
|
92
|
+
return ((n, r) => {
|
|
93
|
+
switch (n) {
|
|
94
|
+
case Xe:
|
|
95
|
+
Wt(e);
|
|
96
|
+
return;
|
|
97
|
+
case Pe:
|
|
98
|
+
return X(e, o(r));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
function ke(e, t) {
|
|
103
|
+
return (o) => (n) => {
|
|
104
|
+
o(t = e(t, n));
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function Fe(e) {
|
|
108
|
+
return (t) => (o) => {
|
|
109
|
+
e > 0 ? e-- : t(o);
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function Le(e) {
|
|
113
|
+
let t = null, o;
|
|
114
|
+
return (n) => (r) => {
|
|
115
|
+
t = r, !o && (o = setTimeout(() => {
|
|
116
|
+
o = void 0, n(t);
|
|
117
|
+
}, e));
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function F(...e) {
|
|
121
|
+
const t = new Array(e.length);
|
|
122
|
+
let o = 0, n = null;
|
|
123
|
+
const r = 2 ** e.length - 1;
|
|
124
|
+
return e.forEach((i, s) => {
|
|
125
|
+
const l = 2 ** s;
|
|
126
|
+
X(i, (c) => {
|
|
127
|
+
const d = o;
|
|
128
|
+
o |= l, t[s] = c, d !== r && o === r && n && (n(), n = null);
|
|
129
|
+
});
|
|
130
|
+
}), (i) => (s) => {
|
|
131
|
+
const l = () => {
|
|
132
|
+
i([s].concat(t));
|
|
133
|
+
};
|
|
134
|
+
o === r ? l() : n = l;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function sn(...e) {
|
|
138
|
+
return (t) => e.reduceRight(rn, t);
|
|
139
|
+
}
|
|
140
|
+
function ln(e) {
|
|
141
|
+
let t, o;
|
|
142
|
+
const n = () => t == null ? void 0 : t();
|
|
143
|
+
return function(r, i) {
|
|
144
|
+
switch (r) {
|
|
145
|
+
case Pe:
|
|
146
|
+
return i ? o === i ? void 0 : (n(), o = i, t = X(e, i), t) : (n(), Ye);
|
|
147
|
+
case Xe:
|
|
148
|
+
n(), o = null;
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function T(e) {
|
|
154
|
+
let t = e;
|
|
155
|
+
const o = _();
|
|
156
|
+
return ((n, r) => {
|
|
157
|
+
switch (n) {
|
|
158
|
+
case vt:
|
|
159
|
+
t = r;
|
|
160
|
+
break;
|
|
161
|
+
case Pe: {
|
|
162
|
+
r(t);
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
case Io:
|
|
166
|
+
return t;
|
|
167
|
+
}
|
|
168
|
+
return o(n, r);
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
function pe(e, t) {
|
|
172
|
+
return It(T(t), (o) => k(e, o));
|
|
173
|
+
}
|
|
174
|
+
function _() {
|
|
175
|
+
const e = [];
|
|
176
|
+
return ((t, o) => {
|
|
177
|
+
switch (t) {
|
|
178
|
+
case vt:
|
|
179
|
+
e.slice().forEach((n) => {
|
|
180
|
+
n(o);
|
|
181
|
+
});
|
|
182
|
+
return;
|
|
183
|
+
case Xe:
|
|
184
|
+
e.splice(0, e.length);
|
|
185
|
+
return;
|
|
186
|
+
case Pe:
|
|
187
|
+
return e.push(o), () => {
|
|
188
|
+
const n = e.indexOf(o);
|
|
189
|
+
n > -1 && e.splice(n, 1);
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
function we(e) {
|
|
195
|
+
return It(_(), (t) => k(e, t));
|
|
196
|
+
}
|
|
197
|
+
function U(e, t = [], { singleton: o } = { singleton: !0 }) {
|
|
198
|
+
return {
|
|
199
|
+
constructor: e,
|
|
200
|
+
dependencies: t,
|
|
201
|
+
id: cn(),
|
|
202
|
+
singleton: o
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
const cn = () => /* @__PURE__ */ Symbol();
|
|
206
|
+
function an(e) {
|
|
207
|
+
const t = /* @__PURE__ */ new Map(), o = ({ constructor: n, dependencies: r, id: i, singleton: s }) => {
|
|
208
|
+
if (s && t.has(i))
|
|
209
|
+
return t.get(i);
|
|
210
|
+
const l = n(r.map((c) => o(c)));
|
|
211
|
+
return s && t.set(i, l), l;
|
|
212
|
+
};
|
|
213
|
+
return o(e);
|
|
214
|
+
}
|
|
215
|
+
function ie(...e) {
|
|
216
|
+
const t = _(), o = new Array(e.length);
|
|
217
|
+
let n = 0;
|
|
218
|
+
const r = 2 ** e.length - 1;
|
|
219
|
+
return e.forEach((i, s) => {
|
|
220
|
+
const l = 2 ** s;
|
|
221
|
+
X(i, (c) => {
|
|
222
|
+
o[s] = c, n |= l, n === r && D(t, o);
|
|
223
|
+
});
|
|
224
|
+
}), function(i, s) {
|
|
225
|
+
switch (i) {
|
|
226
|
+
case Xe: {
|
|
227
|
+
Wt(t);
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
case Pe:
|
|
231
|
+
return n === r && s(o), X(t, s);
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
function W(e, t = wo) {
|
|
236
|
+
return p(e, q(t));
|
|
237
|
+
}
|
|
238
|
+
function bt(...e) {
|
|
239
|
+
return function(t, o) {
|
|
240
|
+
switch (t) {
|
|
241
|
+
case Xe:
|
|
242
|
+
return;
|
|
243
|
+
case Pe:
|
|
244
|
+
return nn(...e.map((n) => X(n, o)));
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
const ue = {
|
|
249
|
+
/** Detailed debugging information including item measurements */
|
|
250
|
+
DEBUG: 0,
|
|
251
|
+
/** General informational messages */
|
|
252
|
+
INFO: 1,
|
|
253
|
+
/** Warning messages for potential issues */
|
|
254
|
+
WARN: 2,
|
|
255
|
+
/** Error messages for failures (default level) */
|
|
256
|
+
ERROR: 3
|
|
257
|
+
}, un = {
|
|
258
|
+
[ue.DEBUG]: "debug",
|
|
259
|
+
[ue.ERROR]: "error",
|
|
260
|
+
[ue.INFO]: "log",
|
|
261
|
+
[ue.WARN]: "warn"
|
|
262
|
+
}, dn = () => typeof globalThis > "u" ? window : globalThis, Ve = U(
|
|
263
|
+
() => {
|
|
264
|
+
const e = T(ue.ERROR);
|
|
265
|
+
return {
|
|
266
|
+
log: T((t, o, n = ue.INFO) => {
|
|
267
|
+
var i;
|
|
268
|
+
const r = (i = dn().VIRTUOSO_LOG_LEVEL) != null ? i : oe(e);
|
|
269
|
+
n >= r && console[un[n]](
|
|
270
|
+
"%creact-virtuoso: %c%s %o",
|
|
271
|
+
"color: #0253b3; font-weight: bold",
|
|
272
|
+
"color: initial",
|
|
273
|
+
t,
|
|
274
|
+
o
|
|
275
|
+
);
|
|
276
|
+
}),
|
|
277
|
+
logLevel: e
|
|
278
|
+
};
|
|
279
|
+
},
|
|
280
|
+
[],
|
|
281
|
+
{ singleton: !0 }
|
|
282
|
+
);
|
|
283
|
+
function Ge(e, t, o) {
|
|
284
|
+
return Pt(e, t, o).callbackRef;
|
|
285
|
+
}
|
|
286
|
+
function Pt(e, t, o) {
|
|
287
|
+
const n = B.useRef(null);
|
|
288
|
+
let r = (s) => {
|
|
289
|
+
};
|
|
290
|
+
const i = B.useMemo(() => typeof ResizeObserver < "u" ? new ResizeObserver((s) => {
|
|
291
|
+
const l = () => {
|
|
292
|
+
const c = s[0].target;
|
|
293
|
+
c.offsetParent !== null && e(c);
|
|
294
|
+
};
|
|
295
|
+
o ? l() : requestAnimationFrame(l);
|
|
296
|
+
}) : null, [e, o]);
|
|
297
|
+
return r = (s) => {
|
|
298
|
+
s && t ? (i == null || i.observe(s), n.current = s) : (n.current && (i == null || i.unobserve(n.current)), n.current = null);
|
|
299
|
+
}, { callbackRef: r, ref: n };
|
|
300
|
+
}
|
|
301
|
+
function fn(e, t, o, n, r, i, s, l, c) {
|
|
302
|
+
const d = B.useCallback(
|
|
303
|
+
(h) => {
|
|
304
|
+
const I = hn(h.children, t, l ? "offsetWidth" : "offsetHeight", r);
|
|
305
|
+
let m = h.parentElement;
|
|
306
|
+
for (; m.dataset.virtuosoScroller === void 0; )
|
|
307
|
+
m = m.parentElement;
|
|
308
|
+
const v = m.lastElementChild.dataset.viewportType === "window";
|
|
309
|
+
let C;
|
|
310
|
+
v && (C = m.ownerDocument.defaultView);
|
|
311
|
+
const y = s ? l ? s.scrollLeft : s.scrollTop : v ? l ? C.scrollX || C.document.documentElement.scrollLeft : C.scrollY || C.document.documentElement.scrollTop : l ? m.scrollLeft : m.scrollTop, x = s ? l ? s.scrollWidth : s.scrollHeight : v ? l ? C.document.documentElement.scrollWidth : C.document.documentElement.scrollHeight : l ? m.scrollWidth : m.scrollHeight, u = s ? l ? s.offsetWidth : s.offsetHeight : v ? l ? C.innerWidth : C.innerHeight : l ? m.offsetWidth : m.offsetHeight;
|
|
312
|
+
n({
|
|
313
|
+
scrollHeight: x,
|
|
314
|
+
scrollTop: Math.max(y, 0),
|
|
315
|
+
viewportHeight: u
|
|
316
|
+
}), i == null || i(
|
|
317
|
+
l ? to("column-gap", getComputedStyle(h).columnGap, r) : to("row-gap", getComputedStyle(h).rowGap, r)
|
|
318
|
+
), I !== null && e(I);
|
|
319
|
+
},
|
|
320
|
+
[e, t, r, i, s, n, l]
|
|
321
|
+
);
|
|
322
|
+
return Pt(d, o, c);
|
|
323
|
+
}
|
|
324
|
+
function hn(e, t, o, n) {
|
|
325
|
+
const r = e.length;
|
|
326
|
+
if (r === 0)
|
|
327
|
+
return null;
|
|
328
|
+
const i = [];
|
|
329
|
+
for (let s = 0; s < r; s++) {
|
|
330
|
+
const l = e.item(s);
|
|
331
|
+
if (l.dataset.index === void 0)
|
|
332
|
+
continue;
|
|
333
|
+
const c = parseInt(l.dataset.index), d = parseFloat(l.dataset.knownSize), h = t(l, o);
|
|
334
|
+
if (h === 0 && n("Zero-sized element, this should not happen", { child: l }, ue.ERROR), h === d)
|
|
335
|
+
continue;
|
|
336
|
+
const I = i[i.length - 1];
|
|
337
|
+
i.length === 0 || I.size !== h || I.endIndex !== c - 1 ? i.push({ endIndex: c, size: h, startIndex: c }) : i[i.length - 1].endIndex++;
|
|
338
|
+
}
|
|
339
|
+
return i;
|
|
340
|
+
}
|
|
341
|
+
function to(e, t, o) {
|
|
342
|
+
return t !== "normal" && (t == null ? void 0 : t.endsWith("px")) !== !0 && o(`${e} was not resolved to pixel value correctly`, t, ue.WARN), t === "normal" ? 0 : parseInt(t != null ? t : "0", 10);
|
|
343
|
+
}
|
|
344
|
+
function So(e, t, o) {
|
|
345
|
+
const n = B.useRef(null), r = B.useCallback(
|
|
346
|
+
(c) => {
|
|
347
|
+
if (!(c != null && c.offsetParent))
|
|
348
|
+
return;
|
|
349
|
+
const d = c.getBoundingClientRect(), h = d.width;
|
|
350
|
+
let I, m;
|
|
351
|
+
if (t) {
|
|
352
|
+
const v = t.getBoundingClientRect(), C = d.top - v.top;
|
|
353
|
+
m = v.height - Math.max(0, C), I = C + t.scrollTop;
|
|
354
|
+
} else {
|
|
355
|
+
const v = s.current.ownerDocument.defaultView;
|
|
356
|
+
m = v.innerHeight - Math.max(0, d.top), I = d.top + v.scrollY;
|
|
357
|
+
}
|
|
358
|
+
n.current = {
|
|
359
|
+
offsetTop: I,
|
|
360
|
+
visibleHeight: m,
|
|
361
|
+
visibleWidth: h
|
|
362
|
+
}, e(n.current);
|
|
363
|
+
},
|
|
364
|
+
// oxlint-disable-next-line exhaustive-deps
|
|
365
|
+
[e, t]
|
|
366
|
+
), { callbackRef: i, ref: s } = Pt(r, !0, o), l = B.useCallback(() => {
|
|
367
|
+
r(s.current);
|
|
368
|
+
}, [r, s]);
|
|
369
|
+
return B.useEffect(() => {
|
|
370
|
+
var d;
|
|
371
|
+
if (t) {
|
|
372
|
+
t.addEventListener("scroll", l);
|
|
373
|
+
const h = new ResizeObserver(() => {
|
|
374
|
+
requestAnimationFrame(l);
|
|
375
|
+
});
|
|
376
|
+
return h.observe(t), () => {
|
|
377
|
+
t.removeEventListener("scroll", l), h.unobserve(t);
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
const c = (d = s.current) == null ? void 0 : d.ownerDocument.defaultView;
|
|
381
|
+
return c == null || c.addEventListener("scroll", l), c == null || c.addEventListener("resize", l), () => {
|
|
382
|
+
c == null || c.removeEventListener("scroll", l), c == null || c.removeEventListener("resize", l);
|
|
383
|
+
};
|
|
384
|
+
}, [l, t, s]), i;
|
|
385
|
+
}
|
|
386
|
+
const ve = U(
|
|
387
|
+
() => {
|
|
388
|
+
const e = _(), t = _(), o = T(0), n = _(), r = T(0), i = _(), s = _(), l = T(0), c = T(0), d = T(0), h = T(0), I = _(), m = _(), v = T(!1), C = T(!1), y = T(!1);
|
|
389
|
+
return k(
|
|
390
|
+
p(
|
|
391
|
+
e,
|
|
392
|
+
R(({ scrollTop: x }) => x)
|
|
393
|
+
),
|
|
394
|
+
t
|
|
395
|
+
), k(
|
|
396
|
+
p(
|
|
397
|
+
e,
|
|
398
|
+
R(({ scrollHeight: x }) => x)
|
|
399
|
+
),
|
|
400
|
+
s
|
|
401
|
+
), k(t, r), {
|
|
402
|
+
deviation: o,
|
|
403
|
+
fixedFooterHeight: d,
|
|
404
|
+
fixedHeaderHeight: c,
|
|
405
|
+
footerHeight: h,
|
|
406
|
+
headerHeight: l,
|
|
407
|
+
horizontalDirection: C,
|
|
408
|
+
scrollBy: m,
|
|
409
|
+
// input
|
|
410
|
+
scrollContainerState: e,
|
|
411
|
+
scrollHeight: s,
|
|
412
|
+
scrollingInProgress: v,
|
|
413
|
+
// signals
|
|
414
|
+
scrollTo: I,
|
|
415
|
+
scrollTop: t,
|
|
416
|
+
skipAnimationFrameInResizeObserver: y,
|
|
417
|
+
smoothScrollTargetReached: n,
|
|
418
|
+
// state
|
|
419
|
+
statefulScrollTop: r,
|
|
420
|
+
viewportHeight: i
|
|
421
|
+
};
|
|
422
|
+
},
|
|
423
|
+
[],
|
|
424
|
+
{ singleton: !0 }
|
|
425
|
+
), et = { lvl: 0 };
|
|
426
|
+
function Co(e, t) {
|
|
427
|
+
const o = e.length;
|
|
428
|
+
if (o === 0)
|
|
429
|
+
return [];
|
|
430
|
+
let { index: n, value: r } = t(e[0]);
|
|
431
|
+
const i = [];
|
|
432
|
+
for (let s = 1; s < o; s++) {
|
|
433
|
+
const { index: l, value: c } = t(e[s]);
|
|
434
|
+
i.push({ end: l - 1, start: n, value: r }), n = l, r = c;
|
|
435
|
+
}
|
|
436
|
+
return i.push({ end: 1 / 0, start: n, value: r }), i;
|
|
437
|
+
}
|
|
438
|
+
function Q(e) {
|
|
439
|
+
return e === et;
|
|
440
|
+
}
|
|
441
|
+
function tt(e, t) {
|
|
442
|
+
if (!Q(e))
|
|
443
|
+
return t === e.k ? e.v : t < e.k ? tt(e.l, t) : tt(e.r, t);
|
|
444
|
+
}
|
|
445
|
+
function be(e, t, o = "k") {
|
|
446
|
+
if (Q(e))
|
|
447
|
+
return [-1 / 0, void 0];
|
|
448
|
+
if (Number(e[o]) === t)
|
|
449
|
+
return [e.k, e.v];
|
|
450
|
+
if (Number(e[o]) < t) {
|
|
451
|
+
const n = be(e.r, t, o);
|
|
452
|
+
return n[0] === -1 / 0 ? [e.k, e.v] : n;
|
|
453
|
+
}
|
|
454
|
+
return be(e.l, t, o);
|
|
455
|
+
}
|
|
456
|
+
function Te(e, t, o) {
|
|
457
|
+
return Q(e) ? Ro(t, o, 1) : t === e.k ? ae(e, { k: t, v: o }) : t < e.k ? oo(ae(e, { l: Te(e.l, t, o) })) : oo(ae(e, { r: Te(e.r, t, o) }));
|
|
458
|
+
}
|
|
459
|
+
function $e() {
|
|
460
|
+
return et;
|
|
461
|
+
}
|
|
462
|
+
function Ke(e, t, o) {
|
|
463
|
+
if (Q(e))
|
|
464
|
+
return [];
|
|
465
|
+
const n = be(e, t)[0];
|
|
466
|
+
return mn(Bt(e, n, o));
|
|
467
|
+
}
|
|
468
|
+
function Et(e, t) {
|
|
469
|
+
if (Q(e))
|
|
470
|
+
return et;
|
|
471
|
+
const { k: o, l: n, r } = e;
|
|
472
|
+
if (t === o) {
|
|
473
|
+
if (Q(n))
|
|
474
|
+
return r;
|
|
475
|
+
if (Q(r))
|
|
476
|
+
return n;
|
|
477
|
+
const [i, s] = Ho(n);
|
|
478
|
+
return mt(ae(e, { k: i, l: zo(n), v: s }));
|
|
479
|
+
}
|
|
480
|
+
return t < o ? mt(ae(e, { l: Et(n, t) })) : mt(ae(e, { r: Et(r, t) }));
|
|
481
|
+
}
|
|
482
|
+
function De(e) {
|
|
483
|
+
return Q(e) ? [] : [...De(e.l), { k: e.k, v: e.v }, ...De(e.r)];
|
|
484
|
+
}
|
|
485
|
+
function Bt(e, t, o) {
|
|
486
|
+
if (Q(e))
|
|
487
|
+
return [];
|
|
488
|
+
const { k: n, l: r, r: i, v: s } = e;
|
|
489
|
+
let l = [];
|
|
490
|
+
return n > t && (l = l.concat(Bt(r, t, o))), n >= t && n <= o && l.push({ k: n, v: s }), n <= o && (l = l.concat(Bt(i, t, o))), l;
|
|
491
|
+
}
|
|
492
|
+
function mt(e) {
|
|
493
|
+
const { l: t, lvl: o, r: n } = e;
|
|
494
|
+
if (n.lvl >= o - 1 && t.lvl >= o - 1)
|
|
495
|
+
return e;
|
|
496
|
+
if (o > n.lvl + 1) {
|
|
497
|
+
if (Ct(t))
|
|
498
|
+
return yo(ae(e, { lvl: o - 1 }));
|
|
499
|
+
if (!Q(t) && !Q(t.r))
|
|
500
|
+
return ae(t.r, {
|
|
501
|
+
l: ae(t, { r: t.r.l }),
|
|
502
|
+
lvl: o,
|
|
503
|
+
r: ae(e, {
|
|
504
|
+
l: t.r.r,
|
|
505
|
+
lvl: o - 1
|
|
506
|
+
})
|
|
507
|
+
});
|
|
508
|
+
throw new Error("Unexpected empty nodes");
|
|
509
|
+
}
|
|
510
|
+
if (Ct(e))
|
|
511
|
+
return kt(ae(e, { lvl: o - 1 }));
|
|
512
|
+
if (!Q(n) && !Q(n.l)) {
|
|
513
|
+
const r = n.l, i = Ct(r) ? n.lvl - 1 : n.lvl;
|
|
514
|
+
return ae(r, {
|
|
515
|
+
l: ae(e, {
|
|
516
|
+
lvl: o - 1,
|
|
517
|
+
r: r.l
|
|
518
|
+
}),
|
|
519
|
+
lvl: r.lvl + 1,
|
|
520
|
+
r: kt(ae(n, { l: r.r, lvl: i }))
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
throw new Error("Unexpected empty nodes");
|
|
524
|
+
}
|
|
525
|
+
function ae(e, t) {
|
|
526
|
+
return Ro(
|
|
527
|
+
t.k !== void 0 ? t.k : e.k,
|
|
528
|
+
t.v !== void 0 ? t.v : e.v,
|
|
529
|
+
t.lvl !== void 0 ? t.lvl : e.lvl,
|
|
530
|
+
t.l !== void 0 ? t.l : e.l,
|
|
531
|
+
t.r !== void 0 ? t.r : e.r
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
function zo(e) {
|
|
535
|
+
return Q(e.r) ? e.l : mt(ae(e, { r: zo(e.r) }));
|
|
536
|
+
}
|
|
537
|
+
function Ct(e) {
|
|
538
|
+
return Q(e) || e.lvl > e.r.lvl;
|
|
539
|
+
}
|
|
540
|
+
function Ho(e) {
|
|
541
|
+
return Q(e.r) ? [e.k, e.v] : Ho(e.r);
|
|
542
|
+
}
|
|
543
|
+
function Ro(e, t, o, n = et, r = et) {
|
|
544
|
+
return { k: e, l: n, lvl: o, r, v: t };
|
|
545
|
+
}
|
|
546
|
+
function oo(e) {
|
|
547
|
+
return kt(yo(e));
|
|
548
|
+
}
|
|
549
|
+
function yo(e) {
|
|
550
|
+
const { l: t } = e;
|
|
551
|
+
return !Q(t) && t.lvl === e.lvl ? ae(t, { r: ae(e, { l: t.r }) }) : e;
|
|
552
|
+
}
|
|
553
|
+
function kt(e) {
|
|
554
|
+
const { lvl: t, r: o } = e;
|
|
555
|
+
return !Q(o) && !Q(o.r) && o.lvl === t && o.r.lvl === t ? ae(o, { l: ae(e, { r: o.l }), lvl: t + 1 }) : e;
|
|
556
|
+
}
|
|
557
|
+
function mn(e) {
|
|
558
|
+
return Co(e, ({ k: t, v: o }) => ({ index: t, value: o }));
|
|
559
|
+
}
|
|
560
|
+
function bo(e, t) {
|
|
561
|
+
return !!(e && e.startIndex === t.startIndex && e.endIndex === t.endIndex);
|
|
562
|
+
}
|
|
563
|
+
function ot(e, t) {
|
|
564
|
+
return !!(e && e[0] === t[0] && e[1] === t[1]);
|
|
565
|
+
}
|
|
566
|
+
const Vt = U(
|
|
567
|
+
() => ({ recalcInProgress: T(!1) }),
|
|
568
|
+
[],
|
|
569
|
+
{ singleton: !0 }
|
|
570
|
+
);
|
|
571
|
+
function Eo(e, t, o) {
|
|
572
|
+
return e[pt(e, t, o)];
|
|
573
|
+
}
|
|
574
|
+
function pt(e, t, o, n = 0) {
|
|
575
|
+
let r = e.length - 1;
|
|
576
|
+
for (; n <= r; ) {
|
|
577
|
+
const i = Math.floor((n + r) / 2), s = e[i], l = o(s, t);
|
|
578
|
+
if (l === 0)
|
|
579
|
+
return i;
|
|
580
|
+
if (l === -1) {
|
|
581
|
+
if (r - n < 2)
|
|
582
|
+
return i - 1;
|
|
583
|
+
r = i - 1;
|
|
584
|
+
} else {
|
|
585
|
+
if (r === n)
|
|
586
|
+
return i;
|
|
587
|
+
n = i + 1;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
throw new Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${t}`);
|
|
591
|
+
}
|
|
592
|
+
function gn(e, t, o, n) {
|
|
593
|
+
const r = pt(e, t, n), i = pt(e, o, n, r);
|
|
594
|
+
return e.slice(r, i + 1);
|
|
595
|
+
}
|
|
596
|
+
function We(e, t) {
|
|
597
|
+
return Math.round(e.getBoundingClientRect()[t]);
|
|
598
|
+
}
|
|
599
|
+
function Tt(e) {
|
|
600
|
+
return !Q(e.groupOffsetTree);
|
|
601
|
+
}
|
|
602
|
+
function jt({ index: e }, t) {
|
|
603
|
+
return t === e ? 0 : t < e ? -1 : 1;
|
|
604
|
+
}
|
|
605
|
+
function pn() {
|
|
606
|
+
return {
|
|
607
|
+
groupIndices: [],
|
|
608
|
+
groupOffsetTree: $e(),
|
|
609
|
+
lastIndex: 0,
|
|
610
|
+
lastOffset: 0,
|
|
611
|
+
lastSize: 0,
|
|
612
|
+
offsetTree: [],
|
|
613
|
+
sizeTree: $e()
|
|
614
|
+
};
|
|
615
|
+
}
|
|
616
|
+
function xn(e, t) {
|
|
617
|
+
let o = Q(e) ? 0 : 1 / 0;
|
|
618
|
+
for (const n of t) {
|
|
619
|
+
const { endIndex: r, size: i, startIndex: s } = n;
|
|
620
|
+
if (o = Math.min(o, s), Q(e)) {
|
|
621
|
+
e = Te(e, 0, i);
|
|
622
|
+
continue;
|
|
623
|
+
}
|
|
624
|
+
const l = Ke(e, s - 1, r + 1);
|
|
625
|
+
if (l.some(zn(n)))
|
|
626
|
+
continue;
|
|
627
|
+
let c = !1, d = !1;
|
|
628
|
+
for (const { end: h, start: I, value: m } of l)
|
|
629
|
+
c ? (r >= I || i === m) && (e = Et(e, I)) : (d = m !== i, c = !0), h > r && r >= I && m !== i && (e = Te(e, r + 1, m));
|
|
630
|
+
d && (e = Te(e, s, i));
|
|
631
|
+
}
|
|
632
|
+
return [e, o];
|
|
633
|
+
}
|
|
634
|
+
function vn(e) {
|
|
635
|
+
return typeof e.groupIndex < "u";
|
|
636
|
+
}
|
|
637
|
+
function In({ offset: e }, t) {
|
|
638
|
+
return t === e ? 0 : t < e ? -1 : 1;
|
|
639
|
+
}
|
|
640
|
+
function nt(e, t, o) {
|
|
641
|
+
if (t.length === 0)
|
|
642
|
+
return 0;
|
|
643
|
+
const { index: n, offset: r, size: i } = Eo(t, e, jt), s = e - n, l = i * s + (s - 1) * o + r;
|
|
644
|
+
return l > 0 ? l + o : l;
|
|
645
|
+
}
|
|
646
|
+
function Bo(e, t) {
|
|
647
|
+
if (!Tt(t))
|
|
648
|
+
return e;
|
|
649
|
+
let o = 0;
|
|
650
|
+
for (; t.groupIndices[o] <= e + o; )
|
|
651
|
+
o++;
|
|
652
|
+
return e + o;
|
|
653
|
+
}
|
|
654
|
+
function ko(e, t, o) {
|
|
655
|
+
if (vn(e))
|
|
656
|
+
return t.groupIndices[e.groupIndex] + 1;
|
|
657
|
+
const n = e.index === "LAST" ? o : e.index;
|
|
658
|
+
let r = Bo(n, t);
|
|
659
|
+
return r = Math.max(0, r, Math.min(o, r)), r;
|
|
660
|
+
}
|
|
661
|
+
function Tn(e, t, o, n = 0) {
|
|
662
|
+
return n > 0 && (t = Math.max(t, Eo(e, n, jt).offset)), Co(gn(e, t, o, In), Cn);
|
|
663
|
+
}
|
|
664
|
+
function wn(e, [t, o, n, r]) {
|
|
665
|
+
t.length > 0 && n("received item sizes", t, ue.DEBUG);
|
|
666
|
+
const i = e.sizeTree;
|
|
667
|
+
let s = i, l = 0;
|
|
668
|
+
if (o.length > 0 && Q(i) && t.length === 2) {
|
|
669
|
+
const m = t[0].size, v = t[1].size;
|
|
670
|
+
s = o.reduce((C, y) => Te(Te(C, y, m), y + 1, v), s);
|
|
671
|
+
} else
|
|
672
|
+
[s, l] = xn(s, t);
|
|
673
|
+
if (s === i)
|
|
674
|
+
return e;
|
|
675
|
+
const { lastIndex: c, lastOffset: d, lastSize: h, offsetTree: I } = Ot(e.offsetTree, l, s, r);
|
|
676
|
+
return {
|
|
677
|
+
groupIndices: o,
|
|
678
|
+
groupOffsetTree: o.reduce((m, v) => Te(m, v, nt(v, I, r)), $e()),
|
|
679
|
+
lastIndex: c,
|
|
680
|
+
lastOffset: d,
|
|
681
|
+
lastSize: h,
|
|
682
|
+
offsetTree: I,
|
|
683
|
+
sizeTree: s
|
|
684
|
+
};
|
|
685
|
+
}
|
|
686
|
+
function Sn(e) {
|
|
687
|
+
return De(e).map(({ k: t, v: o }, n, r) => {
|
|
688
|
+
const i = r[n + 1];
|
|
689
|
+
return { endIndex: i !== void 0 ? i.k - 1 : 1 / 0, size: o, startIndex: t };
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
function no(e, t) {
|
|
693
|
+
let o = 0, n = 0;
|
|
694
|
+
for (; o < e; )
|
|
695
|
+
o += t[n + 1] - t[n] - 1, n++;
|
|
696
|
+
return n - (o === e ? 0 : 1);
|
|
697
|
+
}
|
|
698
|
+
function Ot(e, t, o, n) {
|
|
699
|
+
let r = e, i = 0, s = 0, l = 0, c = 0;
|
|
700
|
+
if (t !== 0) {
|
|
701
|
+
c = pt(r, t - 1, jt), l = r[c].offset;
|
|
702
|
+
const d = be(o, t - 1);
|
|
703
|
+
i = d[0], s = d[1], r.length && r[c].size === be(o, t)[1] && (c -= 1), r = r.slice(0, c + 1);
|
|
704
|
+
} else
|
|
705
|
+
r = [];
|
|
706
|
+
for (const { start: d, value: h } of Ke(o, t, 1 / 0)) {
|
|
707
|
+
const I = d - i, m = I * s + l + I * n;
|
|
708
|
+
r.push({
|
|
709
|
+
index: d,
|
|
710
|
+
offset: m,
|
|
711
|
+
size: h
|
|
712
|
+
}), i = d, l = m, s = h;
|
|
713
|
+
}
|
|
714
|
+
return {
|
|
715
|
+
lastIndex: i,
|
|
716
|
+
lastOffset: l,
|
|
717
|
+
lastSize: s,
|
|
718
|
+
offsetTree: r
|
|
719
|
+
};
|
|
720
|
+
}
|
|
721
|
+
function Cn(e) {
|
|
722
|
+
return { index: e.index, value: e };
|
|
723
|
+
}
|
|
724
|
+
function zn(e) {
|
|
725
|
+
const { endIndex: t, size: o, startIndex: n } = e;
|
|
726
|
+
return (r) => r.start === n && (r.end === t || r.end === 1 / 0) && r.value === o;
|
|
727
|
+
}
|
|
728
|
+
const Hn = {
|
|
729
|
+
offsetHeight: "height",
|
|
730
|
+
offsetWidth: "width"
|
|
731
|
+
}, Oe = U(
|
|
732
|
+
([{ log: e }, { recalcInProgress: t }]) => {
|
|
733
|
+
const o = _(), n = _(), r = pe(n, 0), i = _(), s = _(), l = T(0), c = T([]), d = T(void 0), h = T(void 0), I = T(void 0), m = T(void 0), v = T((a, g) => We(a, Hn[g])), C = T(void 0), y = T(0), x = pn(), u = pe(
|
|
734
|
+
p(o, F(c, e, y), ke(wn, x), q()),
|
|
735
|
+
x
|
|
736
|
+
), f = pe(
|
|
737
|
+
p(
|
|
738
|
+
c,
|
|
739
|
+
q(),
|
|
740
|
+
ke((a, g) => ({ current: g, prev: a.current }), {
|
|
741
|
+
current: [],
|
|
742
|
+
prev: []
|
|
743
|
+
}),
|
|
744
|
+
R(({ prev: a }) => a)
|
|
745
|
+
),
|
|
746
|
+
[]
|
|
747
|
+
);
|
|
748
|
+
k(
|
|
749
|
+
p(
|
|
750
|
+
c,
|
|
751
|
+
P((a) => a.length > 0),
|
|
752
|
+
F(u, y),
|
|
753
|
+
R(([a, g, S]) => {
|
|
754
|
+
const O = a.reduce((b, j, A) => Te(b, j, nt(j, g.offsetTree, S) || A), $e());
|
|
755
|
+
return {
|
|
756
|
+
...g,
|
|
757
|
+
groupIndices: a,
|
|
758
|
+
groupOffsetTree: O
|
|
759
|
+
};
|
|
760
|
+
})
|
|
761
|
+
),
|
|
762
|
+
u
|
|
763
|
+
), k(
|
|
764
|
+
p(
|
|
765
|
+
n,
|
|
766
|
+
F(u),
|
|
767
|
+
P(([a, { lastIndex: g }]) => a < g),
|
|
768
|
+
R(([a, { lastIndex: g, lastSize: S }]) => [
|
|
769
|
+
{
|
|
770
|
+
endIndex: g,
|
|
771
|
+
size: S,
|
|
772
|
+
startIndex: a
|
|
773
|
+
}
|
|
774
|
+
])
|
|
775
|
+
),
|
|
776
|
+
o
|
|
777
|
+
), k(d, h);
|
|
778
|
+
const w = pe(
|
|
779
|
+
p(
|
|
780
|
+
d,
|
|
781
|
+
R((a) => a === void 0)
|
|
782
|
+
),
|
|
783
|
+
!0
|
|
784
|
+
);
|
|
785
|
+
k(
|
|
786
|
+
p(
|
|
787
|
+
h,
|
|
788
|
+
P((a) => a !== void 0 && Q(oe(u).sizeTree)),
|
|
789
|
+
R((a) => {
|
|
790
|
+
const g = oe(I), S = oe(c).length > 0;
|
|
791
|
+
return g !== void 0 && g !== 0 ? S ? [
|
|
792
|
+
{ endIndex: 0, size: g, startIndex: 0 },
|
|
793
|
+
{ endIndex: 1, size: a, startIndex: 1 }
|
|
794
|
+
] : [] : [{ endIndex: 0, size: a, startIndex: 0 }];
|
|
795
|
+
})
|
|
796
|
+
),
|
|
797
|
+
o
|
|
798
|
+
), k(
|
|
799
|
+
p(
|
|
800
|
+
m,
|
|
801
|
+
P((a) => a !== void 0 && a.length > 0 && Q(oe(u).sizeTree)),
|
|
802
|
+
R((a) => {
|
|
803
|
+
const g = [];
|
|
804
|
+
let S = a[0], O = 0;
|
|
805
|
+
for (let b = 1; b < a.length; b++) {
|
|
806
|
+
const j = a[b];
|
|
807
|
+
j !== S && (g.push({
|
|
808
|
+
endIndex: b - 1,
|
|
809
|
+
size: S,
|
|
810
|
+
startIndex: O
|
|
811
|
+
}), S = j, O = b);
|
|
812
|
+
}
|
|
813
|
+
return g.push({
|
|
814
|
+
endIndex: a.length - 1,
|
|
815
|
+
size: S,
|
|
816
|
+
startIndex: O
|
|
817
|
+
}), g;
|
|
818
|
+
})
|
|
819
|
+
),
|
|
820
|
+
o
|
|
821
|
+
), k(
|
|
822
|
+
p(
|
|
823
|
+
c,
|
|
824
|
+
F(I, h),
|
|
825
|
+
P(([, a, g]) => a !== void 0 && g !== void 0),
|
|
826
|
+
R(([a, g, S]) => {
|
|
827
|
+
const O = [];
|
|
828
|
+
for (let b = 0; b < a.length; b++) {
|
|
829
|
+
const j = a[b], A = a[b + 1];
|
|
830
|
+
O.push({
|
|
831
|
+
startIndex: j,
|
|
832
|
+
endIndex: j,
|
|
833
|
+
size: g
|
|
834
|
+
}), A !== void 0 && O.push({
|
|
835
|
+
startIndex: j + 1,
|
|
836
|
+
endIndex: A - 1,
|
|
837
|
+
size: S
|
|
838
|
+
});
|
|
839
|
+
}
|
|
840
|
+
return O;
|
|
841
|
+
})
|
|
842
|
+
),
|
|
843
|
+
o
|
|
844
|
+
);
|
|
845
|
+
const E = we(
|
|
846
|
+
p(
|
|
847
|
+
o,
|
|
848
|
+
F(u),
|
|
849
|
+
ke(
|
|
850
|
+
({ sizes: a }, [g, S]) => ({
|
|
851
|
+
changed: S !== a,
|
|
852
|
+
sizes: S
|
|
853
|
+
}),
|
|
854
|
+
{ changed: !1, sizes: x }
|
|
855
|
+
),
|
|
856
|
+
R((a) => a.changed)
|
|
857
|
+
)
|
|
858
|
+
);
|
|
859
|
+
X(
|
|
860
|
+
p(
|
|
861
|
+
l,
|
|
862
|
+
ke(
|
|
863
|
+
(a, g) => ({ diff: a.prev - g, prev: g }),
|
|
864
|
+
{ diff: 0, prev: 0 }
|
|
865
|
+
),
|
|
866
|
+
R((a) => a.diff)
|
|
867
|
+
),
|
|
868
|
+
(a) => {
|
|
869
|
+
const { groupIndices: g } = oe(u);
|
|
870
|
+
if (a > 0)
|
|
871
|
+
D(t, !0), D(i, a + no(a, g));
|
|
872
|
+
else if (a < 0) {
|
|
873
|
+
const S = oe(f);
|
|
874
|
+
S.length > 0 && (a -= no(-a, S)), D(s, a);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
), X(p(l, F(e)), ([a, g]) => {
|
|
878
|
+
a < 0 && g(
|
|
879
|
+
"`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",
|
|
880
|
+
{ firstItemIndex: l },
|
|
881
|
+
ue.ERROR
|
|
882
|
+
);
|
|
883
|
+
});
|
|
884
|
+
const z = we(i);
|
|
885
|
+
k(
|
|
886
|
+
p(
|
|
887
|
+
i,
|
|
888
|
+
F(u),
|
|
889
|
+
R(([a, g]) => {
|
|
890
|
+
const S = g.groupIndices.length > 0, O = [], b = g.lastSize;
|
|
891
|
+
if (S) {
|
|
892
|
+
const j = tt(g.sizeTree, 0);
|
|
893
|
+
let A = 0, Z = 0;
|
|
894
|
+
for (; A < a; ) {
|
|
895
|
+
const $ = g.groupIndices[Z], G = g.groupIndices.length === Z + 1 ? 1 / 0 : g.groupIndices[Z + 1] - $ - 1;
|
|
896
|
+
O.push({
|
|
897
|
+
endIndex: $,
|
|
898
|
+
size: j,
|
|
899
|
+
startIndex: $
|
|
900
|
+
}), O.push({
|
|
901
|
+
endIndex: $ + 1 + G - 1,
|
|
902
|
+
size: b,
|
|
903
|
+
startIndex: $ + 1
|
|
904
|
+
}), Z++, A += G + 1;
|
|
905
|
+
}
|
|
906
|
+
const L = De(g.sizeTree);
|
|
907
|
+
return A !== a && L.shift(), L.reduce(
|
|
908
|
+
($, { k: G, v: se }) => {
|
|
909
|
+
let Se = $.ranges;
|
|
910
|
+
return $.prevSize !== 0 && (Se = [
|
|
911
|
+
...$.ranges,
|
|
912
|
+
{
|
|
913
|
+
endIndex: G + a - 1,
|
|
914
|
+
size: $.prevSize,
|
|
915
|
+
startIndex: $.prevIndex
|
|
916
|
+
}
|
|
917
|
+
]), {
|
|
918
|
+
prevIndex: G + a,
|
|
919
|
+
prevSize: se,
|
|
920
|
+
ranges: Se
|
|
921
|
+
};
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
prevIndex: a,
|
|
925
|
+
prevSize: 0,
|
|
926
|
+
ranges: O
|
|
927
|
+
}
|
|
928
|
+
).ranges;
|
|
929
|
+
}
|
|
930
|
+
return De(g.sizeTree).reduce(
|
|
931
|
+
(j, { k: A, v: Z }) => ({
|
|
932
|
+
prevIndex: A + a,
|
|
933
|
+
prevSize: Z,
|
|
934
|
+
ranges: [...j.ranges, { endIndex: A + a - 1, size: j.prevSize, startIndex: j.prevIndex }]
|
|
935
|
+
}),
|
|
936
|
+
{
|
|
937
|
+
prevIndex: 0,
|
|
938
|
+
prevSize: b,
|
|
939
|
+
ranges: []
|
|
940
|
+
}
|
|
941
|
+
).ranges;
|
|
942
|
+
})
|
|
943
|
+
),
|
|
944
|
+
o
|
|
945
|
+
);
|
|
946
|
+
const M = we(
|
|
947
|
+
p(
|
|
948
|
+
s,
|
|
949
|
+
F(u, y),
|
|
950
|
+
R(([a, { offsetTree: g }, S]) => {
|
|
951
|
+
const O = -a;
|
|
952
|
+
return nt(O, g, S);
|
|
953
|
+
})
|
|
954
|
+
)
|
|
955
|
+
);
|
|
956
|
+
return k(
|
|
957
|
+
p(
|
|
958
|
+
s,
|
|
959
|
+
F(u, y),
|
|
960
|
+
R(([a, g, S]) => {
|
|
961
|
+
if (g.groupIndices.length > 0) {
|
|
962
|
+
if (Q(g.sizeTree))
|
|
963
|
+
return g;
|
|
964
|
+
let b = $e();
|
|
965
|
+
const j = oe(f);
|
|
966
|
+
let A = 0, Z = 0, L = 0;
|
|
967
|
+
for (; A < -a; ) {
|
|
968
|
+
L = j[Z];
|
|
969
|
+
const $ = j[Z + 1] - L - 1;
|
|
970
|
+
Z++, A += $ + 1;
|
|
971
|
+
}
|
|
972
|
+
if (b = De(g.sizeTree).reduce(($, { k: G, v: se }) => Te($, Math.max(0, G + a), se), b), A !== -a) {
|
|
973
|
+
const $ = tt(g.sizeTree, L);
|
|
974
|
+
b = Te(b, 0, $);
|
|
975
|
+
const G = be(g.sizeTree, -a + 1)[1];
|
|
976
|
+
b = Te(b, 1, G);
|
|
977
|
+
}
|
|
978
|
+
return {
|
|
979
|
+
...g,
|
|
980
|
+
sizeTree: b,
|
|
981
|
+
...Ot(g.offsetTree, 0, b, S)
|
|
982
|
+
};
|
|
983
|
+
}
|
|
984
|
+
const O = De(g.sizeTree).reduce((b, { k: j, v: A }) => Te(b, Math.max(0, j + a), A), $e());
|
|
985
|
+
return {
|
|
986
|
+
...g,
|
|
987
|
+
sizeTree: O,
|
|
988
|
+
...Ot(g.offsetTree, 0, O, S)
|
|
989
|
+
};
|
|
990
|
+
})
|
|
991
|
+
),
|
|
992
|
+
u
|
|
993
|
+
), {
|
|
994
|
+
beforeUnshiftWith: z,
|
|
995
|
+
// input
|
|
996
|
+
data: C,
|
|
997
|
+
defaultItemSize: h,
|
|
998
|
+
firstItemIndex: l,
|
|
999
|
+
fixedItemSize: d,
|
|
1000
|
+
fixedGroupSize: I,
|
|
1001
|
+
gap: y,
|
|
1002
|
+
groupIndices: c,
|
|
1003
|
+
heightEstimates: m,
|
|
1004
|
+
itemSize: v,
|
|
1005
|
+
listRefresh: E,
|
|
1006
|
+
shiftWith: s,
|
|
1007
|
+
shiftWithOffset: M,
|
|
1008
|
+
sizeRanges: o,
|
|
1009
|
+
// output
|
|
1010
|
+
sizes: u,
|
|
1011
|
+
statefulTotalCount: r,
|
|
1012
|
+
totalCount: n,
|
|
1013
|
+
trackItemSizes: w,
|
|
1014
|
+
unshiftWith: i
|
|
1015
|
+
};
|
|
1016
|
+
},
|
|
1017
|
+
ee(Ve, Vt),
|
|
1018
|
+
{ singleton: !0 }
|
|
1019
|
+
);
|
|
1020
|
+
function Rn(e) {
|
|
1021
|
+
return e.reduce(
|
|
1022
|
+
(t, o) => (t.groupIndices.push(t.totalCount), t.totalCount += o + 1, t),
|
|
1023
|
+
{
|
|
1024
|
+
groupIndices: [],
|
|
1025
|
+
totalCount: 0
|
|
1026
|
+
}
|
|
1027
|
+
);
|
|
1028
|
+
}
|
|
1029
|
+
const Oo = U(
|
|
1030
|
+
([{ groupIndices: e, sizes: t, totalCount: o }, { headerHeight: n, scrollTop: r }]) => {
|
|
1031
|
+
const i = _(), s = _(), l = we(p(i, R(Rn)));
|
|
1032
|
+
return k(
|
|
1033
|
+
p(
|
|
1034
|
+
l,
|
|
1035
|
+
R((c) => c.totalCount)
|
|
1036
|
+
),
|
|
1037
|
+
o
|
|
1038
|
+
), k(
|
|
1039
|
+
p(
|
|
1040
|
+
l,
|
|
1041
|
+
R((c) => c.groupIndices)
|
|
1042
|
+
),
|
|
1043
|
+
e
|
|
1044
|
+
), k(
|
|
1045
|
+
p(
|
|
1046
|
+
ie(r, t, n),
|
|
1047
|
+
P(([c, d]) => Tt(d)),
|
|
1048
|
+
R(([c, d, h]) => be(d.groupOffsetTree, Math.max(c - h, 0), "v")[0]),
|
|
1049
|
+
q(),
|
|
1050
|
+
R((c) => [c])
|
|
1051
|
+
),
|
|
1052
|
+
s
|
|
1053
|
+
), { groupCounts: i, topItemsIndexes: s };
|
|
1054
|
+
},
|
|
1055
|
+
ee(Oe, ve)
|
|
1056
|
+
), je = U(
|
|
1057
|
+
([{ log: e }]) => {
|
|
1058
|
+
const t = T(!1), o = we(
|
|
1059
|
+
p(
|
|
1060
|
+
t,
|
|
1061
|
+
P((n) => n),
|
|
1062
|
+
q()
|
|
1063
|
+
)
|
|
1064
|
+
);
|
|
1065
|
+
return X(t, (n) => {
|
|
1066
|
+
n && oe(e)("props updated", {}, ue.DEBUG);
|
|
1067
|
+
}), { didMount: o, propsReady: t };
|
|
1068
|
+
},
|
|
1069
|
+
ee(Ve),
|
|
1070
|
+
{ singleton: !0 }
|
|
1071
|
+
), yn = typeof document < "u" && "scrollBehavior" in document.documentElement.style;
|
|
1072
|
+
function Lo(e) {
|
|
1073
|
+
const t = typeof e == "number" ? { index: e } : e;
|
|
1074
|
+
return t.align || (t.align = "start"), (!t.behavior || !yn) && (t.behavior = "auto"), t.offset === void 0 && (t.offset = 0), t;
|
|
1075
|
+
}
|
|
1076
|
+
const lt = U(
|
|
1077
|
+
([
|
|
1078
|
+
{ gap: e, listRefresh: t, sizes: o, totalCount: n },
|
|
1079
|
+
{
|
|
1080
|
+
fixedFooterHeight: r,
|
|
1081
|
+
fixedHeaderHeight: i,
|
|
1082
|
+
footerHeight: s,
|
|
1083
|
+
headerHeight: l,
|
|
1084
|
+
scrollingInProgress: c,
|
|
1085
|
+
scrollTo: d,
|
|
1086
|
+
smoothScrollTargetReached: h,
|
|
1087
|
+
viewportHeight: I
|
|
1088
|
+
},
|
|
1089
|
+
{ log: m }
|
|
1090
|
+
]) => {
|
|
1091
|
+
const v = _(), C = _(), y = T(0);
|
|
1092
|
+
let x = null, u = null, f = null;
|
|
1093
|
+
function w() {
|
|
1094
|
+
x !== null && (x(), x = null), f !== null && (f(), f = null), u && (clearTimeout(u), u = null), D(c, !1);
|
|
1095
|
+
}
|
|
1096
|
+
return k(
|
|
1097
|
+
p(
|
|
1098
|
+
v,
|
|
1099
|
+
F(o, I, n, y, l, s, m),
|
|
1100
|
+
F(e, i, r),
|
|
1101
|
+
R(
|
|
1102
|
+
([
|
|
1103
|
+
[E, z, M, a, g, S, O, b],
|
|
1104
|
+
j,
|
|
1105
|
+
A,
|
|
1106
|
+
Z
|
|
1107
|
+
]) => {
|
|
1108
|
+
const L = Lo(E), { align: $, behavior: G, offset: se } = L, Se = a - 1, xe = ko(L, z, Se);
|
|
1109
|
+
let Ie = nt(xe, z.offsetTree, j) + S;
|
|
1110
|
+
$ === "end" ? (Ie += A + be(z.sizeTree, xe)[1] - M + Z, xe === Se && (Ie += O)) : $ === "center" ? Ie += (A + be(z.sizeTree, xe)[1] - M + Z) / 2 : Ie -= g, se !== void 0 && se !== 0 && (Ie += se);
|
|
1111
|
+
const Me = (he) => {
|
|
1112
|
+
w(), he ? (b("retrying to scroll to", { location: E }, ue.DEBUG), D(v, E)) : (D(C, !0), b("list did not change, scroll successful", {}, ue.DEBUG));
|
|
1113
|
+
};
|
|
1114
|
+
if (w(), G === "smooth") {
|
|
1115
|
+
let he = !1;
|
|
1116
|
+
f = X(t, (_e) => {
|
|
1117
|
+
he = he || _e;
|
|
1118
|
+
}), x = ye(h, () => {
|
|
1119
|
+
Me(he);
|
|
1120
|
+
});
|
|
1121
|
+
} else
|
|
1122
|
+
x = ye(p(t, bn(150)), Me);
|
|
1123
|
+
return u = setTimeout(() => {
|
|
1124
|
+
w();
|
|
1125
|
+
}, 1200), D(c, !0), b("scrolling from index to", { behavior: G, index: xe, top: Ie }, ue.DEBUG), { behavior: G, top: Ie };
|
|
1126
|
+
}
|
|
1127
|
+
)
|
|
1128
|
+
),
|
|
1129
|
+
d
|
|
1130
|
+
), {
|
|
1131
|
+
scrollTargetReached: C,
|
|
1132
|
+
scrollToIndex: v,
|
|
1133
|
+
topListHeight: y
|
|
1134
|
+
};
|
|
1135
|
+
},
|
|
1136
|
+
ee(Oe, ve, Ve),
|
|
1137
|
+
{ singleton: !0 }
|
|
1138
|
+
);
|
|
1139
|
+
function bn(e) {
|
|
1140
|
+
return (t) => {
|
|
1141
|
+
const o = setTimeout(() => {
|
|
1142
|
+
t(!1);
|
|
1143
|
+
}, e);
|
|
1144
|
+
return (n) => {
|
|
1145
|
+
n && (t(!0), clearTimeout(o));
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
function At(e, t) {
|
|
1150
|
+
e === 0 ? t() : requestAnimationFrame(() => {
|
|
1151
|
+
At(e - 1, t);
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
function Dt(e, t) {
|
|
1155
|
+
const o = t - 1;
|
|
1156
|
+
return typeof e == "number" ? e : e.index === "LAST" ? o : e.index;
|
|
1157
|
+
}
|
|
1158
|
+
const ct = U(
|
|
1159
|
+
([{ defaultItemSize: e, listRefresh: t, sizes: o }, { scrollTop: n }, { scrollTargetReached: r, scrollToIndex: i }, { didMount: s }]) => {
|
|
1160
|
+
const l = T(!0), c = T(0), d = T(!0);
|
|
1161
|
+
return k(
|
|
1162
|
+
p(
|
|
1163
|
+
s,
|
|
1164
|
+
F(c),
|
|
1165
|
+
P(([h, I]) => I !== 0),
|
|
1166
|
+
Be(!1)
|
|
1167
|
+
),
|
|
1168
|
+
l
|
|
1169
|
+
), k(
|
|
1170
|
+
p(
|
|
1171
|
+
s,
|
|
1172
|
+
F(c),
|
|
1173
|
+
P(([h, I]) => I !== 0),
|
|
1174
|
+
Be(!1)
|
|
1175
|
+
),
|
|
1176
|
+
d
|
|
1177
|
+
), X(
|
|
1178
|
+
p(
|
|
1179
|
+
ie(t, s),
|
|
1180
|
+
F(l, o, e, d),
|
|
1181
|
+
P(([[, h], I, { sizeTree: m }, v, C]) => h && (!Q(m) || Mt(v)) && !I && !C),
|
|
1182
|
+
F(c)
|
|
1183
|
+
),
|
|
1184
|
+
([, h]) => {
|
|
1185
|
+
ye(r, () => {
|
|
1186
|
+
D(d, !0);
|
|
1187
|
+
}), At(4, () => {
|
|
1188
|
+
ye(n, () => {
|
|
1189
|
+
D(l, !0);
|
|
1190
|
+
}), D(i, h);
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
), {
|
|
1194
|
+
initialItemFinalLocationReached: d,
|
|
1195
|
+
initialTopMostItemIndex: c,
|
|
1196
|
+
scrolledToInitialItem: l
|
|
1197
|
+
};
|
|
1198
|
+
},
|
|
1199
|
+
ee(Oe, ve, lt, je),
|
|
1200
|
+
{ singleton: !0 }
|
|
1201
|
+
);
|
|
1202
|
+
function Mo(e, t) {
|
|
1203
|
+
return Math.abs(e - t) < 1.01;
|
|
1204
|
+
}
|
|
1205
|
+
const rt = "up", Je = "down", En = "none", Bn = {
|
|
1206
|
+
atBottom: !1,
|
|
1207
|
+
notAtBottomBecause: "NOT_SHOWING_LAST_ITEM",
|
|
1208
|
+
state: {
|
|
1209
|
+
offsetBottom: 0,
|
|
1210
|
+
scrollHeight: 0,
|
|
1211
|
+
scrollTop: 0,
|
|
1212
|
+
viewportHeight: 0
|
|
1213
|
+
}
|
|
1214
|
+
}, kn = 0, at = U(([{ footerHeight: e, headerHeight: t, scrollBy: o, scrollContainerState: n, scrollTop: r, viewportHeight: i }]) => {
|
|
1215
|
+
const s = T(!1), l = T(!0), c = _(), d = _(), h = T(4), I = T(kn), m = pe(
|
|
1216
|
+
p(
|
|
1217
|
+
bt(p(W(r), Fe(1), Be(!0)), p(W(r), Fe(1), Be(!1), eo(100))),
|
|
1218
|
+
q()
|
|
1219
|
+
),
|
|
1220
|
+
!1
|
|
1221
|
+
), v = pe(
|
|
1222
|
+
p(bt(p(o, Be(!0)), p(o, Be(!1), eo(200))), q()),
|
|
1223
|
+
!1
|
|
1224
|
+
);
|
|
1225
|
+
k(
|
|
1226
|
+
p(
|
|
1227
|
+
ie(W(r), W(I)),
|
|
1228
|
+
R(([f, w]) => f <= w),
|
|
1229
|
+
q()
|
|
1230
|
+
),
|
|
1231
|
+
l
|
|
1232
|
+
), k(p(l, Le(50)), d);
|
|
1233
|
+
const C = we(
|
|
1234
|
+
p(
|
|
1235
|
+
ie(n, W(i), W(t), W(e), W(h)),
|
|
1236
|
+
ke((f, [{ scrollHeight: w, scrollTop: E }, z, M, a, g]) => {
|
|
1237
|
+
const S = E + z - w > -g, O = {
|
|
1238
|
+
scrollHeight: w,
|
|
1239
|
+
scrollTop: E,
|
|
1240
|
+
viewportHeight: z
|
|
1241
|
+
};
|
|
1242
|
+
if (S) {
|
|
1243
|
+
let j, A;
|
|
1244
|
+
return E > f.state.scrollTop ? (j = "SCROLLED_DOWN", A = f.state.scrollTop - E) : (j = "SIZE_DECREASED", A = f.state.scrollTop - E || f.scrollTopDelta), {
|
|
1245
|
+
atBottom: !0,
|
|
1246
|
+
atBottomBecause: j,
|
|
1247
|
+
scrollTopDelta: A,
|
|
1248
|
+
state: O
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
let b;
|
|
1252
|
+
return O.scrollHeight > f.state.scrollHeight ? b = "SIZE_INCREASED" : z < f.state.viewportHeight ? b = "VIEWPORT_HEIGHT_DECREASING" : E < f.state.scrollTop ? b = "SCROLLING_UPWARDS" : b = "NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM", {
|
|
1253
|
+
atBottom: !1,
|
|
1254
|
+
notAtBottomBecause: b,
|
|
1255
|
+
state: O
|
|
1256
|
+
};
|
|
1257
|
+
}, Bn),
|
|
1258
|
+
q((f, w) => f !== void 0 && f.atBottom === w.atBottom)
|
|
1259
|
+
)
|
|
1260
|
+
), y = pe(
|
|
1261
|
+
p(
|
|
1262
|
+
n,
|
|
1263
|
+
ke(
|
|
1264
|
+
(f, { scrollHeight: w, scrollTop: E, viewportHeight: z }) => {
|
|
1265
|
+
if (!Mo(f.scrollHeight, w)) {
|
|
1266
|
+
const M = w - (E + z) < 1;
|
|
1267
|
+
return f.scrollTop !== E && M ? {
|
|
1268
|
+
changed: !0,
|
|
1269
|
+
jump: f.scrollTop - E,
|
|
1270
|
+
scrollHeight: w,
|
|
1271
|
+
scrollTop: E
|
|
1272
|
+
} : {
|
|
1273
|
+
changed: !0,
|
|
1274
|
+
jump: 0,
|
|
1275
|
+
scrollHeight: w,
|
|
1276
|
+
scrollTop: E
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
return {
|
|
1280
|
+
changed: !1,
|
|
1281
|
+
jump: 0,
|
|
1282
|
+
scrollHeight: w,
|
|
1283
|
+
scrollTop: E
|
|
1284
|
+
};
|
|
1285
|
+
},
|
|
1286
|
+
{ changed: !1, jump: 0, scrollHeight: 0, scrollTop: 0 }
|
|
1287
|
+
),
|
|
1288
|
+
P((f) => f.changed),
|
|
1289
|
+
R((f) => f.jump)
|
|
1290
|
+
),
|
|
1291
|
+
0
|
|
1292
|
+
);
|
|
1293
|
+
k(
|
|
1294
|
+
p(
|
|
1295
|
+
C,
|
|
1296
|
+
R((f) => f.atBottom)
|
|
1297
|
+
),
|
|
1298
|
+
s
|
|
1299
|
+
), k(p(s, Le(50)), c);
|
|
1300
|
+
const x = T(Je);
|
|
1301
|
+
k(
|
|
1302
|
+
p(
|
|
1303
|
+
n,
|
|
1304
|
+
R(({ scrollTop: f }) => f),
|
|
1305
|
+
q(),
|
|
1306
|
+
ke(
|
|
1307
|
+
(f, w) => oe(v) ? { direction: f.direction, prevScrollTop: w } : { direction: w < f.prevScrollTop ? rt : Je, prevScrollTop: w },
|
|
1308
|
+
{ direction: Je, prevScrollTop: 0 }
|
|
1309
|
+
),
|
|
1310
|
+
R((f) => f.direction)
|
|
1311
|
+
),
|
|
1312
|
+
x
|
|
1313
|
+
), k(p(n, Le(50), Be(En)), x);
|
|
1314
|
+
const u = T(0);
|
|
1315
|
+
return k(
|
|
1316
|
+
p(
|
|
1317
|
+
m,
|
|
1318
|
+
P((f) => !f),
|
|
1319
|
+
Be(0)
|
|
1320
|
+
),
|
|
1321
|
+
u
|
|
1322
|
+
), k(
|
|
1323
|
+
p(
|
|
1324
|
+
r,
|
|
1325
|
+
Le(100),
|
|
1326
|
+
F(m),
|
|
1327
|
+
P(([f, w]) => w),
|
|
1328
|
+
ke(([f, w], [E]) => [w, E], [0, 0]),
|
|
1329
|
+
R(([f, w]) => w - f)
|
|
1330
|
+
),
|
|
1331
|
+
u
|
|
1332
|
+
), {
|
|
1333
|
+
atBottomState: C,
|
|
1334
|
+
atBottomStateChange: c,
|
|
1335
|
+
atBottomThreshold: h,
|
|
1336
|
+
atTopStateChange: d,
|
|
1337
|
+
atTopThreshold: I,
|
|
1338
|
+
isAtBottom: s,
|
|
1339
|
+
isAtTop: l,
|
|
1340
|
+
isScrolling: m,
|
|
1341
|
+
lastJumpDueToItemResize: y,
|
|
1342
|
+
scrollDirection: x,
|
|
1343
|
+
scrollVelocity: u
|
|
1344
|
+
};
|
|
1345
|
+
}, ee(ve)), it = "top", st = "bottom", ro = "none";
|
|
1346
|
+
function io(e, t, o) {
|
|
1347
|
+
return typeof e == "number" ? o === rt && t === it || o === Je && t === st ? e : 0 : o === rt ? t === it ? e.main : e.reverse : t === st ? e.main : e.reverse;
|
|
1348
|
+
}
|
|
1349
|
+
function so(e, t) {
|
|
1350
|
+
var o;
|
|
1351
|
+
return typeof e == "number" ? e : (o = e[t]) != null ? o : 0;
|
|
1352
|
+
}
|
|
1353
|
+
const Ft = U(
|
|
1354
|
+
([{ deviation: e, fixedHeaderHeight: t, headerHeight: o, scrollTop: n, viewportHeight: r }]) => {
|
|
1355
|
+
const i = _(), s = T(0), l = T(0), c = T(0), d = pe(
|
|
1356
|
+
p(
|
|
1357
|
+
ie(
|
|
1358
|
+
W(n),
|
|
1359
|
+
W(r),
|
|
1360
|
+
W(o),
|
|
1361
|
+
W(i, ot),
|
|
1362
|
+
W(c),
|
|
1363
|
+
W(s),
|
|
1364
|
+
W(t),
|
|
1365
|
+
W(e),
|
|
1366
|
+
W(l)
|
|
1367
|
+
),
|
|
1368
|
+
R(
|
|
1369
|
+
([
|
|
1370
|
+
h,
|
|
1371
|
+
I,
|
|
1372
|
+
m,
|
|
1373
|
+
[v, C],
|
|
1374
|
+
y,
|
|
1375
|
+
x,
|
|
1376
|
+
u,
|
|
1377
|
+
f,
|
|
1378
|
+
w
|
|
1379
|
+
]) => {
|
|
1380
|
+
const E = h - f, z = x + u, M = Math.max(m - E, 0);
|
|
1381
|
+
let a = ro;
|
|
1382
|
+
const g = so(w, it), S = so(w, st);
|
|
1383
|
+
return v -= f, v += m + u, C += m + u, C -= f, v > h + z - g && (a = rt), C < h - M + I + S && (a = Je), a !== ro ? [
|
|
1384
|
+
Math.max(E - m - io(y, it, a) - g, 0),
|
|
1385
|
+
E - M - u + I + io(y, st, a) + S
|
|
1386
|
+
] : null;
|
|
1387
|
+
}
|
|
1388
|
+
),
|
|
1389
|
+
P((h) => h !== null),
|
|
1390
|
+
q(ot)
|
|
1391
|
+
),
|
|
1392
|
+
[0, 0]
|
|
1393
|
+
);
|
|
1394
|
+
return {
|
|
1395
|
+
increaseViewportBy: l,
|
|
1396
|
+
// input
|
|
1397
|
+
listBoundary: i,
|
|
1398
|
+
overscan: c,
|
|
1399
|
+
topListHeight: s,
|
|
1400
|
+
// output
|
|
1401
|
+
visibleRange: d
|
|
1402
|
+
};
|
|
1403
|
+
},
|
|
1404
|
+
ee(ve),
|
|
1405
|
+
{ singleton: !0 }
|
|
1406
|
+
);
|
|
1407
|
+
function On(e, t, o) {
|
|
1408
|
+
if (Tt(t)) {
|
|
1409
|
+
const n = Bo(e, t);
|
|
1410
|
+
return [
|
|
1411
|
+
{ index: be(t.groupOffsetTree, n)[0], offset: 0, size: 0 },
|
|
1412
|
+
{ data: o == null ? void 0 : o[0], index: n, offset: 0, size: 0 }
|
|
1413
|
+
];
|
|
1414
|
+
}
|
|
1415
|
+
return [{ data: o == null ? void 0 : o[0], index: e, offset: 0, size: 0 }];
|
|
1416
|
+
}
|
|
1417
|
+
const zt = {
|
|
1418
|
+
bottom: 0,
|
|
1419
|
+
firstItemIndex: 0,
|
|
1420
|
+
items: [],
|
|
1421
|
+
offsetBottom: 0,
|
|
1422
|
+
offsetTop: 0,
|
|
1423
|
+
top: 0,
|
|
1424
|
+
topItems: [],
|
|
1425
|
+
topListHeight: 0,
|
|
1426
|
+
totalCount: 0
|
|
1427
|
+
};
|
|
1428
|
+
function gt(e, t, o, n, r, i) {
|
|
1429
|
+
const { lastIndex: s, lastOffset: l, lastSize: c } = r;
|
|
1430
|
+
let d = 0, h = 0;
|
|
1431
|
+
if (e.length > 0) {
|
|
1432
|
+
d = e[0].offset;
|
|
1433
|
+
const y = e[e.length - 1];
|
|
1434
|
+
h = y.offset + y.size;
|
|
1435
|
+
}
|
|
1436
|
+
const I = o - s, m = l + I * c + (I - 1) * n, v = d, C = m - h;
|
|
1437
|
+
return {
|
|
1438
|
+
bottom: h,
|
|
1439
|
+
firstItemIndex: i,
|
|
1440
|
+
items: lo(e, r, i),
|
|
1441
|
+
offsetBottom: C,
|
|
1442
|
+
offsetTop: d,
|
|
1443
|
+
top: v,
|
|
1444
|
+
topItems: lo(t, r, i),
|
|
1445
|
+
topListHeight: t.reduce((y, x) => x.size + y, 0),
|
|
1446
|
+
totalCount: o
|
|
1447
|
+
};
|
|
1448
|
+
}
|
|
1449
|
+
function Wo(e, t, o, n, r, i) {
|
|
1450
|
+
let s = 0;
|
|
1451
|
+
if (o.groupIndices.length > 0)
|
|
1452
|
+
for (const h of o.groupIndices) {
|
|
1453
|
+
if (h - s >= e)
|
|
1454
|
+
break;
|
|
1455
|
+
s++;
|
|
1456
|
+
}
|
|
1457
|
+
const l = e + s, c = Dt(t, l), d = Array.from({ length: l }).map((h, I) => ({
|
|
1458
|
+
data: i[I + c],
|
|
1459
|
+
index: I + c,
|
|
1460
|
+
offset: 0,
|
|
1461
|
+
size: 0
|
|
1462
|
+
}));
|
|
1463
|
+
return gt(d, [], l, r, o, n);
|
|
1464
|
+
}
|
|
1465
|
+
function lo(e, t, o) {
|
|
1466
|
+
if (e.length === 0)
|
|
1467
|
+
return [];
|
|
1468
|
+
if (!Tt(t))
|
|
1469
|
+
return e.map((d) => ({ ...d, index: d.index + o, originalIndex: d.index }));
|
|
1470
|
+
const n = e[0].index, r = e[e.length - 1].index, i = [], s = Ke(t.groupOffsetTree, n, r);
|
|
1471
|
+
let l, c = 0;
|
|
1472
|
+
for (const d of e) {
|
|
1473
|
+
(!l || l.end < d.index) && (l = s.shift(), c = t.groupIndices.indexOf(l.start));
|
|
1474
|
+
let h;
|
|
1475
|
+
d.index === l.start ? h = {
|
|
1476
|
+
index: c,
|
|
1477
|
+
type: "group"
|
|
1478
|
+
} : h = {
|
|
1479
|
+
groupIndex: c,
|
|
1480
|
+
index: d.index - (c + 1) + o
|
|
1481
|
+
}, i.push({
|
|
1482
|
+
...h,
|
|
1483
|
+
data: d.data,
|
|
1484
|
+
offset: d.offset,
|
|
1485
|
+
originalIndex: d.index,
|
|
1486
|
+
size: d.size
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
return i;
|
|
1490
|
+
}
|
|
1491
|
+
function co(e, t) {
|
|
1492
|
+
var o;
|
|
1493
|
+
return e === void 0 ? 0 : typeof e == "number" ? e : (o = e[t]) != null ? o : 0;
|
|
1494
|
+
}
|
|
1495
|
+
const Ne = U(
|
|
1496
|
+
([
|
|
1497
|
+
{ data: e, firstItemIndex: t, gap: o, sizes: n, totalCount: r },
|
|
1498
|
+
i,
|
|
1499
|
+
{ listBoundary: s, topListHeight: l, visibleRange: c },
|
|
1500
|
+
{ initialTopMostItemIndex: d, scrolledToInitialItem: h },
|
|
1501
|
+
{ topListHeight: I },
|
|
1502
|
+
m,
|
|
1503
|
+
{ didMount: v },
|
|
1504
|
+
{ recalcInProgress: C }
|
|
1505
|
+
]) => {
|
|
1506
|
+
const y = T([]), x = T(0), u = _(), f = T(0);
|
|
1507
|
+
k(i.topItemsIndexes, y);
|
|
1508
|
+
const w = pe(
|
|
1509
|
+
p(
|
|
1510
|
+
ie(
|
|
1511
|
+
v,
|
|
1512
|
+
C,
|
|
1513
|
+
W(c, ot),
|
|
1514
|
+
W(r),
|
|
1515
|
+
W(n),
|
|
1516
|
+
W(d),
|
|
1517
|
+
h,
|
|
1518
|
+
W(y),
|
|
1519
|
+
W(t),
|
|
1520
|
+
W(o),
|
|
1521
|
+
W(f),
|
|
1522
|
+
e
|
|
1523
|
+
),
|
|
1524
|
+
P(([a, g, , S, , , , , , , , O]) => {
|
|
1525
|
+
const b = O !== void 0 && O.length !== S;
|
|
1526
|
+
return a && !g && !b;
|
|
1527
|
+
}),
|
|
1528
|
+
R(
|
|
1529
|
+
([
|
|
1530
|
+
,
|
|
1531
|
+
,
|
|
1532
|
+
[a, g],
|
|
1533
|
+
S,
|
|
1534
|
+
O,
|
|
1535
|
+
b,
|
|
1536
|
+
j,
|
|
1537
|
+
A,
|
|
1538
|
+
Z,
|
|
1539
|
+
L,
|
|
1540
|
+
$,
|
|
1541
|
+
G
|
|
1542
|
+
]) => {
|
|
1543
|
+
var K, le, me, Re;
|
|
1544
|
+
const se = O, { offsetTree: Se, sizeTree: xe } = se, Ie = oe(x);
|
|
1545
|
+
if (S === 0)
|
|
1546
|
+
return { ...zt, totalCount: S };
|
|
1547
|
+
if (a === 0 && g === 0)
|
|
1548
|
+
return Ie === 0 ? { ...zt, totalCount: S } : Wo(Ie, b, O, Z, L, G || []);
|
|
1549
|
+
if (Q(xe))
|
|
1550
|
+
return Ie > 0 ? null : gt(
|
|
1551
|
+
On(Dt(b, S), se, G),
|
|
1552
|
+
[],
|
|
1553
|
+
S,
|
|
1554
|
+
L,
|
|
1555
|
+
se,
|
|
1556
|
+
Z
|
|
1557
|
+
);
|
|
1558
|
+
const Me = [];
|
|
1559
|
+
if (A.length > 0) {
|
|
1560
|
+
const ce = A[0], ne = A[A.length - 1];
|
|
1561
|
+
let de = 0;
|
|
1562
|
+
for (const re of Ke(xe, ce, ne)) {
|
|
1563
|
+
const Y = re.value, J = Math.max(re.start, ce), Ce = Math.min(re.end, ne);
|
|
1564
|
+
for (let fe = J; fe <= Ce; fe++)
|
|
1565
|
+
Me.push({ data: G == null ? void 0 : G[fe], index: fe, offset: de, size: Y }), de += Y;
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
if (!j)
|
|
1569
|
+
return gt([], Me, S, L, se, Z);
|
|
1570
|
+
const he = A.length > 0 ? A[A.length - 1] + 1 : 0, _e = Tn(Se, a, g, he);
|
|
1571
|
+
if (_e.length === 0)
|
|
1572
|
+
return null;
|
|
1573
|
+
const Qe = S - 1, Ee = It([], (ce) => {
|
|
1574
|
+
for (const ne of _e) {
|
|
1575
|
+
const de = ne.value;
|
|
1576
|
+
let re = de.offset, Y = ne.start;
|
|
1577
|
+
const J = de.size;
|
|
1578
|
+
if (de.offset < a) {
|
|
1579
|
+
Y += Math.floor((a - de.offset + L) / (J + L));
|
|
1580
|
+
const fe = Y - ne.start;
|
|
1581
|
+
re += fe * J + fe * L;
|
|
1582
|
+
}
|
|
1583
|
+
Y < he && (re += (he - Y) * J, Y = he);
|
|
1584
|
+
const Ce = Math.min(ne.end, Qe);
|
|
1585
|
+
for (let fe = Y; fe <= Ce && !(re >= g); fe++)
|
|
1586
|
+
ce.push({ data: G == null ? void 0 : G[fe], index: fe, offset: re, size: J }), re += J + L;
|
|
1587
|
+
}
|
|
1588
|
+
}), Ze = co($, it), H = co($, st);
|
|
1589
|
+
if (Ee.length > 0 && (Ze > 0 || H > 0)) {
|
|
1590
|
+
const ce = Ee[0], ne = Ee[Ee.length - 1];
|
|
1591
|
+
if (Ze > 0 && ce.index > he) {
|
|
1592
|
+
const de = Math.min(Ze, ce.index - he), re = [];
|
|
1593
|
+
let Y = ce.offset;
|
|
1594
|
+
for (let J = ce.index - 1; J >= ce.index - de; J--) {
|
|
1595
|
+
const Ce = (le = (K = Ke(xe, J, J)[0]) == null ? void 0 : K.value) != null ? le : ce.size;
|
|
1596
|
+
Y -= Ce + L, re.unshift({ data: G == null ? void 0 : G[J], index: J, offset: Y, size: Ce });
|
|
1597
|
+
}
|
|
1598
|
+
Ee.unshift(...re);
|
|
1599
|
+
}
|
|
1600
|
+
if (H > 0 && ne.index < Qe) {
|
|
1601
|
+
const de = Math.min(H, Qe - ne.index);
|
|
1602
|
+
let re = ne.offset + ne.size + L;
|
|
1603
|
+
for (let Y = ne.index + 1; Y <= ne.index + de; Y++) {
|
|
1604
|
+
const J = (Re = (me = Ke(xe, Y, Y)[0]) == null ? void 0 : me.value) != null ? Re : ne.size;
|
|
1605
|
+
Ee.push({ data: G == null ? void 0 : G[Y], index: Y, offset: re, size: J }), re += J + L;
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
return gt(Ee, Me, S, L, se, Z);
|
|
1610
|
+
}
|
|
1611
|
+
),
|
|
1612
|
+
//@ts-expect-error filter needs to be fixed
|
|
1613
|
+
P((a) => a !== null),
|
|
1614
|
+
q()
|
|
1615
|
+
),
|
|
1616
|
+
zt
|
|
1617
|
+
);
|
|
1618
|
+
k(
|
|
1619
|
+
p(
|
|
1620
|
+
e,
|
|
1621
|
+
P(Mt),
|
|
1622
|
+
R((a) => a == null ? void 0 : a.length)
|
|
1623
|
+
),
|
|
1624
|
+
r
|
|
1625
|
+
), k(
|
|
1626
|
+
p(
|
|
1627
|
+
w,
|
|
1628
|
+
R((a) => a.topListHeight)
|
|
1629
|
+
),
|
|
1630
|
+
I
|
|
1631
|
+
), k(I, l), k(
|
|
1632
|
+
p(
|
|
1633
|
+
w,
|
|
1634
|
+
R((a) => [a.top, a.bottom])
|
|
1635
|
+
),
|
|
1636
|
+
s
|
|
1637
|
+
), k(
|
|
1638
|
+
p(
|
|
1639
|
+
w,
|
|
1640
|
+
R((a) => a.items)
|
|
1641
|
+
),
|
|
1642
|
+
u
|
|
1643
|
+
);
|
|
1644
|
+
const E = we(
|
|
1645
|
+
p(
|
|
1646
|
+
w,
|
|
1647
|
+
P(({ items: a }) => a.length > 0),
|
|
1648
|
+
F(r, e),
|
|
1649
|
+
P(([{ items: a }, g]) => a[a.length - 1].originalIndex === g - 1),
|
|
1650
|
+
R(([, a, g]) => [a - 1, g]),
|
|
1651
|
+
q(ot),
|
|
1652
|
+
R(([a]) => a)
|
|
1653
|
+
)
|
|
1654
|
+
), z = we(
|
|
1655
|
+
p(
|
|
1656
|
+
w,
|
|
1657
|
+
Le(200),
|
|
1658
|
+
P(({ items: a, topItems: g }) => a.length > 0 && a[0].originalIndex === g.length),
|
|
1659
|
+
R(({ items: a }) => a[0].index),
|
|
1660
|
+
q()
|
|
1661
|
+
)
|
|
1662
|
+
), M = we(
|
|
1663
|
+
p(
|
|
1664
|
+
w,
|
|
1665
|
+
P(({ items: a }) => a.length > 0),
|
|
1666
|
+
R(({ items: a }) => {
|
|
1667
|
+
let g = 0, S = a.length - 1;
|
|
1668
|
+
for (; a[g].type === "group" && g < S; )
|
|
1669
|
+
g++;
|
|
1670
|
+
for (; a[S].type === "group" && S > g; )
|
|
1671
|
+
S--;
|
|
1672
|
+
return {
|
|
1673
|
+
endIndex: a[S].index,
|
|
1674
|
+
startIndex: a[g].index
|
|
1675
|
+
};
|
|
1676
|
+
}),
|
|
1677
|
+
q(bo)
|
|
1678
|
+
)
|
|
1679
|
+
);
|
|
1680
|
+
return {
|
|
1681
|
+
endReached: E,
|
|
1682
|
+
initialItemCount: x,
|
|
1683
|
+
itemsRendered: u,
|
|
1684
|
+
listState: w,
|
|
1685
|
+
minOverscanItemCount: f,
|
|
1686
|
+
rangeChanged: M,
|
|
1687
|
+
startReached: z,
|
|
1688
|
+
topItemsIndexes: y,
|
|
1689
|
+
...m
|
|
1690
|
+
};
|
|
1691
|
+
},
|
|
1692
|
+
ee(
|
|
1693
|
+
Oe,
|
|
1694
|
+
Oo,
|
|
1695
|
+
Ft,
|
|
1696
|
+
ct,
|
|
1697
|
+
lt,
|
|
1698
|
+
at,
|
|
1699
|
+
je,
|
|
1700
|
+
Vt
|
|
1701
|
+
),
|
|
1702
|
+
{ singleton: !0 }
|
|
1703
|
+
), Po = U(
|
|
1704
|
+
([{ fixedFooterHeight: e, fixedHeaderHeight: t, footerHeight: o, headerHeight: n }, { listState: r }]) => {
|
|
1705
|
+
const i = _(), s = pe(
|
|
1706
|
+
p(
|
|
1707
|
+
ie(o, e, n, t, r),
|
|
1708
|
+
R(([l, c, d, h, I]) => l + c + d + h + I.offsetBottom + I.bottom)
|
|
1709
|
+
),
|
|
1710
|
+
0
|
|
1711
|
+
);
|
|
1712
|
+
return k(W(s), i), { totalListHeight: s, totalListHeightChanged: i };
|
|
1713
|
+
},
|
|
1714
|
+
ee(ve, Ne),
|
|
1715
|
+
{ singleton: !0 }
|
|
1716
|
+
), Ln = U(
|
|
1717
|
+
([{ viewportHeight: e }, { totalListHeight: t }]) => {
|
|
1718
|
+
const o = T(!1), n = pe(
|
|
1719
|
+
p(
|
|
1720
|
+
ie(o, e, t),
|
|
1721
|
+
P(([r]) => r),
|
|
1722
|
+
R(([, r, i]) => Math.max(0, r - i)),
|
|
1723
|
+
Le(0),
|
|
1724
|
+
q()
|
|
1725
|
+
),
|
|
1726
|
+
0
|
|
1727
|
+
);
|
|
1728
|
+
return { alignToBottom: o, paddingTopAddition: n };
|
|
1729
|
+
},
|
|
1730
|
+
ee(ve, Po),
|
|
1731
|
+
{ singleton: !0 }
|
|
1732
|
+
), Vo = U(() => ({
|
|
1733
|
+
context: T(null)
|
|
1734
|
+
})), Mn = ({
|
|
1735
|
+
itemBottom: e,
|
|
1736
|
+
itemTop: t,
|
|
1737
|
+
locationParams: { align: o, behavior: n, ...r },
|
|
1738
|
+
viewportBottom: i,
|
|
1739
|
+
viewportTop: s
|
|
1740
|
+
}) => t < s ? { ...r, align: o != null ? o : "start", ...n !== void 0 ? { behavior: n } : {} } : e > i ? { ...r, align: o != null ? o : "end", ...n !== void 0 ? { behavior: n } : {} } : null, jo = U(
|
|
1741
|
+
([
|
|
1742
|
+
{ gap: e, sizes: t, totalCount: o },
|
|
1743
|
+
{ fixedFooterHeight: n, fixedHeaderHeight: r, headerHeight: i, scrollingInProgress: s, scrollTop: l, viewportHeight: c },
|
|
1744
|
+
{ scrollToIndex: d }
|
|
1745
|
+
]) => {
|
|
1746
|
+
const h = _();
|
|
1747
|
+
return k(
|
|
1748
|
+
p(
|
|
1749
|
+
h,
|
|
1750
|
+
F(t, c, o, i, r, n, l),
|
|
1751
|
+
F(e),
|
|
1752
|
+
R(([[I, m, v, C, y, x, u, f], w]) => {
|
|
1753
|
+
const { calculateViewLocation: E = Mn, done: z, ...M } = I, a = ko(I, m, C - 1), g = nt(a, m.offsetTree, w) + y + x, S = g + be(m.sizeTree, a)[1], O = f + x, b = f + v - u, j = E({
|
|
1754
|
+
itemBottom: S,
|
|
1755
|
+
itemTop: g,
|
|
1756
|
+
locationParams: M,
|
|
1757
|
+
viewportBottom: b,
|
|
1758
|
+
viewportTop: O
|
|
1759
|
+
});
|
|
1760
|
+
return j !== null ? z && ye(
|
|
1761
|
+
p(
|
|
1762
|
+
s,
|
|
1763
|
+
P((A) => !A),
|
|
1764
|
+
// skips the initial publish of false, and the cleanup call.
|
|
1765
|
+
// but if scrollingInProgress is true, we skip the initial publish.
|
|
1766
|
+
Fe(oe(s) ? 1 : 2)
|
|
1767
|
+
),
|
|
1768
|
+
z
|
|
1769
|
+
) : z == null || z(), j;
|
|
1770
|
+
}),
|
|
1771
|
+
P((I) => I !== null)
|
|
1772
|
+
),
|
|
1773
|
+
d
|
|
1774
|
+
), {
|
|
1775
|
+
scrollIntoView: h
|
|
1776
|
+
};
|
|
1777
|
+
},
|
|
1778
|
+
ee(Oe, ve, lt, Ne, Ve),
|
|
1779
|
+
{ singleton: !0 }
|
|
1780
|
+
);
|
|
1781
|
+
function ao(e) {
|
|
1782
|
+
return e === !1 ? !1 : e === "smooth" ? "smooth" : "auto";
|
|
1783
|
+
}
|
|
1784
|
+
const Wn = (e, t) => typeof e == "function" ? ao(e(t)) : t && ao(e), Pn = U(
|
|
1785
|
+
([
|
|
1786
|
+
{ listRefresh: e, totalCount: t, fixedItemSize: o, data: n },
|
|
1787
|
+
{ atBottomState: r, isAtBottom: i },
|
|
1788
|
+
{ scrollToIndex: s },
|
|
1789
|
+
{ scrolledToInitialItem: l },
|
|
1790
|
+
{ didMount: c, propsReady: d },
|
|
1791
|
+
{ log: h },
|
|
1792
|
+
{ scrollingInProgress: I },
|
|
1793
|
+
{ context: m },
|
|
1794
|
+
{ scrollIntoView: v }
|
|
1795
|
+
]) => {
|
|
1796
|
+
const C = T(!1), y = _();
|
|
1797
|
+
let x = null;
|
|
1798
|
+
function u(z) {
|
|
1799
|
+
D(s, {
|
|
1800
|
+
align: "end",
|
|
1801
|
+
behavior: z,
|
|
1802
|
+
index: "LAST"
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
X(
|
|
1806
|
+
p(
|
|
1807
|
+
ie(p(W(t), Fe(1)), c),
|
|
1808
|
+
F(W(C), i, l, I),
|
|
1809
|
+
R(([[z, M], a, g, S, O]) => {
|
|
1810
|
+
let b = M && S, j = "auto";
|
|
1811
|
+
return b && (j = Wn(a, g || O), b = b && j !== !1), { followOutputBehavior: j, shouldFollow: b, totalCount: z };
|
|
1812
|
+
}),
|
|
1813
|
+
P(({ shouldFollow: z }) => z)
|
|
1814
|
+
),
|
|
1815
|
+
({ followOutputBehavior: z, totalCount: M }) => {
|
|
1816
|
+
x !== null && (x(), x = null), oe(o) !== void 0 ? requestAnimationFrame(() => {
|
|
1817
|
+
oe(h)("following output to ", { totalCount: M }, ue.DEBUG), u(z);
|
|
1818
|
+
}) : x = ye(e, () => {
|
|
1819
|
+
oe(h)("following output to ", { totalCount: M }, ue.DEBUG), u(z), x = null;
|
|
1820
|
+
});
|
|
1821
|
+
}
|
|
1822
|
+
);
|
|
1823
|
+
function f(z) {
|
|
1824
|
+
const M = ye(r, (a) => {
|
|
1825
|
+
z && !a.atBottom && a.notAtBottomBecause === "SIZE_INCREASED" && x === null && (oe(h)("scrolling to bottom due to increased size", {}, ue.DEBUG), u("auto"));
|
|
1826
|
+
});
|
|
1827
|
+
setTimeout(M, 100);
|
|
1828
|
+
}
|
|
1829
|
+
X(
|
|
1830
|
+
p(
|
|
1831
|
+
ie(W(C), t, d),
|
|
1832
|
+
P(([z, , M]) => z !== !1 && M),
|
|
1833
|
+
ke(
|
|
1834
|
+
({ value: z }, [, M]) => ({ refreshed: z === M, value: M }),
|
|
1835
|
+
{ refreshed: !1, value: 0 }
|
|
1836
|
+
),
|
|
1837
|
+
P(({ refreshed: z }) => z),
|
|
1838
|
+
F(C, t)
|
|
1839
|
+
),
|
|
1840
|
+
([, z]) => {
|
|
1841
|
+
oe(l) && f(z !== !1);
|
|
1842
|
+
}
|
|
1843
|
+
), X(y, () => {
|
|
1844
|
+
f(oe(C) !== !1);
|
|
1845
|
+
}), X(ie(W(C), r), ([z, M]) => {
|
|
1846
|
+
z !== !1 && !M.atBottom && M.notAtBottomBecause === "VIEWPORT_HEIGHT_DECREASING" && u("auto");
|
|
1847
|
+
});
|
|
1848
|
+
const w = T(null), E = _();
|
|
1849
|
+
return k(
|
|
1850
|
+
bt(
|
|
1851
|
+
p(
|
|
1852
|
+
W(n),
|
|
1853
|
+
R((z) => {
|
|
1854
|
+
var M;
|
|
1855
|
+
return (M = z == null ? void 0 : z.length) != null ? M : 0;
|
|
1856
|
+
})
|
|
1857
|
+
),
|
|
1858
|
+
p(W(t))
|
|
1859
|
+
),
|
|
1860
|
+
E
|
|
1861
|
+
), X(
|
|
1862
|
+
p(
|
|
1863
|
+
ie(p(E, Fe(1)), c),
|
|
1864
|
+
F(W(w), l, I, m),
|
|
1865
|
+
R(([[z, M], a, g, S, O]) => M && g && (a == null ? void 0 : a({ context: O, totalCount: z, scrollingInProgress: S }))),
|
|
1866
|
+
P((z) => !!z),
|
|
1867
|
+
Le(0)
|
|
1868
|
+
),
|
|
1869
|
+
(z) => {
|
|
1870
|
+
x !== null && (x(), x = null), oe(o) !== void 0 ? requestAnimationFrame(() => {
|
|
1871
|
+
oe(h)("scrolling into view", {}), D(v, z);
|
|
1872
|
+
}) : x = ye(e, () => {
|
|
1873
|
+
oe(h)("scrolling into view", {}), D(v, z), x = null;
|
|
1874
|
+
});
|
|
1875
|
+
}
|
|
1876
|
+
), { autoscrollToBottom: y, followOutput: C, scrollIntoViewOnChange: w };
|
|
1877
|
+
},
|
|
1878
|
+
ee(
|
|
1879
|
+
Oe,
|
|
1880
|
+
at,
|
|
1881
|
+
lt,
|
|
1882
|
+
ct,
|
|
1883
|
+
je,
|
|
1884
|
+
Ve,
|
|
1885
|
+
ve,
|
|
1886
|
+
Vo,
|
|
1887
|
+
jo
|
|
1888
|
+
)
|
|
1889
|
+
), Vn = U(
|
|
1890
|
+
([{ data: e, firstItemIndex: t, gap: o, sizes: n }, { initialTopMostItemIndex: r }, { initialItemCount: i, listState: s }, { didMount: l }]) => (k(
|
|
1891
|
+
p(
|
|
1892
|
+
l,
|
|
1893
|
+
F(i),
|
|
1894
|
+
P(([, c]) => c !== 0),
|
|
1895
|
+
F(r, n, t, o, e),
|
|
1896
|
+
R(([[, c], d, h, I, m, v = []]) => Wo(c, d, h, I, m, v))
|
|
1897
|
+
),
|
|
1898
|
+
s
|
|
1899
|
+
), {}),
|
|
1900
|
+
ee(Oe, ct, Ne, je),
|
|
1901
|
+
{ singleton: !0 }
|
|
1902
|
+
), jn = U(
|
|
1903
|
+
([{ didMount: e }, { scrollTo: t }, { listState: o }]) => {
|
|
1904
|
+
const n = T(0);
|
|
1905
|
+
return X(
|
|
1906
|
+
p(
|
|
1907
|
+
e,
|
|
1908
|
+
F(n),
|
|
1909
|
+
P(([, r]) => r !== 0),
|
|
1910
|
+
R(([, r]) => ({ top: r }))
|
|
1911
|
+
),
|
|
1912
|
+
(r) => {
|
|
1913
|
+
ye(
|
|
1914
|
+
p(
|
|
1915
|
+
o,
|
|
1916
|
+
Fe(1),
|
|
1917
|
+
P((i) => i.items.length > 1)
|
|
1918
|
+
),
|
|
1919
|
+
() => {
|
|
1920
|
+
requestAnimationFrame(() => {
|
|
1921
|
+
D(t, r);
|
|
1922
|
+
});
|
|
1923
|
+
}
|
|
1924
|
+
);
|
|
1925
|
+
}
|
|
1926
|
+
), {
|
|
1927
|
+
initialScrollTop: n
|
|
1928
|
+
};
|
|
1929
|
+
},
|
|
1930
|
+
ee(je, ve, Ne),
|
|
1931
|
+
{ singleton: !0 }
|
|
1932
|
+
), Ao = U(
|
|
1933
|
+
([{ scrollVelocity: e }]) => {
|
|
1934
|
+
const t = T(!1), o = _(), n = T(!1);
|
|
1935
|
+
return k(
|
|
1936
|
+
p(
|
|
1937
|
+
e,
|
|
1938
|
+
F(n, t, o),
|
|
1939
|
+
P(([r, i]) => i !== !1 && i !== void 0),
|
|
1940
|
+
R(([r, i, s, l]) => {
|
|
1941
|
+
const { enter: c, exit: d } = i;
|
|
1942
|
+
if (s) {
|
|
1943
|
+
if (d(r, l))
|
|
1944
|
+
return !1;
|
|
1945
|
+
} else if (c(r, l))
|
|
1946
|
+
return !0;
|
|
1947
|
+
return s;
|
|
1948
|
+
}),
|
|
1949
|
+
q()
|
|
1950
|
+
),
|
|
1951
|
+
t
|
|
1952
|
+
), X(
|
|
1953
|
+
p(ie(t, e, o), F(n)),
|
|
1954
|
+
([[r, i, s], l]) => {
|
|
1955
|
+
r && l !== !1 && l !== void 0 && l.change && l.change(i, s);
|
|
1956
|
+
}
|
|
1957
|
+
), { isSeeking: t, scrollSeekConfiguration: n, scrollSeekRangeChanged: o, scrollVelocity: e };
|
|
1958
|
+
},
|
|
1959
|
+
ee(at),
|
|
1960
|
+
{ singleton: !0 }
|
|
1961
|
+
), Gt = U(([{ scrollContainerState: e, scrollTo: t }]) => {
|
|
1962
|
+
const o = _(), n = _(), r = _(), i = T(!1), s = T(void 0);
|
|
1963
|
+
return k(
|
|
1964
|
+
p(
|
|
1965
|
+
ie(o, n),
|
|
1966
|
+
R(([{ scrollHeight: l, scrollTop: c, viewportHeight: d }, { offsetTop: h }]) => ({
|
|
1967
|
+
scrollHeight: l,
|
|
1968
|
+
scrollTop: Math.max(0, c - h),
|
|
1969
|
+
viewportHeight: d
|
|
1970
|
+
}))
|
|
1971
|
+
),
|
|
1972
|
+
e
|
|
1973
|
+
), k(
|
|
1974
|
+
p(
|
|
1975
|
+
t,
|
|
1976
|
+
F(n),
|
|
1977
|
+
R(([l, { offsetTop: c }]) => ({
|
|
1978
|
+
...l,
|
|
1979
|
+
top: l.top + c
|
|
1980
|
+
}))
|
|
1981
|
+
),
|
|
1982
|
+
r
|
|
1983
|
+
), {
|
|
1984
|
+
customScrollParent: s,
|
|
1985
|
+
// config
|
|
1986
|
+
useWindowScroll: i,
|
|
1987
|
+
// input
|
|
1988
|
+
windowScrollContainerState: o,
|
|
1989
|
+
// signals
|
|
1990
|
+
windowScrollTo: r,
|
|
1991
|
+
windowViewportRect: n
|
|
1992
|
+
};
|
|
1993
|
+
}, ee(ve)), An = U(
|
|
1994
|
+
([
|
|
1995
|
+
{ sizeRanges: e, sizes: t },
|
|
1996
|
+
{ headerHeight: o, scrollTop: n },
|
|
1997
|
+
{ initialTopMostItemIndex: r },
|
|
1998
|
+
{ didMount: i },
|
|
1999
|
+
{ useWindowScroll: s, windowScrollContainerState: l, windowViewportRect: c }
|
|
2000
|
+
]) => {
|
|
2001
|
+
const d = _(), h = T(void 0), I = T(null), m = T(null);
|
|
2002
|
+
return k(l, I), k(c, m), X(
|
|
2003
|
+
p(
|
|
2004
|
+
d,
|
|
2005
|
+
F(t, n, s, I, m, o)
|
|
2006
|
+
),
|
|
2007
|
+
([v, C, y, x, u, f, w]) => {
|
|
2008
|
+
const E = Sn(C.sizeTree);
|
|
2009
|
+
x && u !== null && f !== null && (y = u.scrollTop - f.offsetTop), y -= w, v({ ranges: E, scrollTop: y });
|
|
2010
|
+
}
|
|
2011
|
+
), k(p(h, P(Mt), R(Dn)), r), k(
|
|
2012
|
+
p(
|
|
2013
|
+
i,
|
|
2014
|
+
F(h),
|
|
2015
|
+
P(([, v]) => v !== void 0),
|
|
2016
|
+
q(),
|
|
2017
|
+
R(([, v]) => v.ranges)
|
|
2018
|
+
),
|
|
2019
|
+
e
|
|
2020
|
+
), {
|
|
2021
|
+
getState: d,
|
|
2022
|
+
restoreStateFrom: h
|
|
2023
|
+
};
|
|
2024
|
+
},
|
|
2025
|
+
ee(Oe, ve, ct, je, Gt)
|
|
2026
|
+
);
|
|
2027
|
+
function Dn(e) {
|
|
2028
|
+
return { align: "start", index: 0, offset: e.scrollTop };
|
|
2029
|
+
}
|
|
2030
|
+
const Fn = U(([{ topItemsIndexes: e }]) => {
|
|
2031
|
+
const t = T(0);
|
|
2032
|
+
return k(
|
|
2033
|
+
p(
|
|
2034
|
+
t,
|
|
2035
|
+
P((o) => o >= 0),
|
|
2036
|
+
R((o) => Array.from({ length: o }).map((n, r) => r))
|
|
2037
|
+
),
|
|
2038
|
+
e
|
|
2039
|
+
), { topItemCount: t };
|
|
2040
|
+
}, ee(Ne));
|
|
2041
|
+
function Do(e) {
|
|
2042
|
+
let t = !1, o;
|
|
2043
|
+
return (() => (t || (t = !0, o = e()), o));
|
|
2044
|
+
}
|
|
2045
|
+
const Gn = Do(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.test(navigator.userAgent)), Nn = U(
|
|
2046
|
+
([
|
|
2047
|
+
{ deviation: e, scrollBy: t, scrollingInProgress: o, scrollTop: n },
|
|
2048
|
+
{ isAtBottom: r, isScrolling: i, lastJumpDueToItemResize: s, scrollDirection: l },
|
|
2049
|
+
{ listState: c },
|
|
2050
|
+
{ beforeUnshiftWith: d, gap: h, shiftWithOffset: I, sizes: m },
|
|
2051
|
+
{ log: v },
|
|
2052
|
+
{ recalcInProgress: C }
|
|
2053
|
+
]) => {
|
|
2054
|
+
const y = we(
|
|
2055
|
+
p(
|
|
2056
|
+
c,
|
|
2057
|
+
F(s),
|
|
2058
|
+
ke(
|
|
2059
|
+
([, u, f, w], [{ bottom: E, items: z, offsetBottom: M, totalCount: a }, g]) => {
|
|
2060
|
+
const S = E + M;
|
|
2061
|
+
let O = 0;
|
|
2062
|
+
return f === a && u.length > 0 && z.length > 0 && (z[0].originalIndex === 0 && u[0].originalIndex === 0 || (O = S - w, O !== 0 && (O += g))), [O, z, a, S];
|
|
2063
|
+
},
|
|
2064
|
+
[0, [], 0, 0]
|
|
2065
|
+
),
|
|
2066
|
+
P(([u]) => u !== 0),
|
|
2067
|
+
F(n, l, o, r, v, C),
|
|
2068
|
+
P(([, u, f, w, , , E]) => !E && !w && u !== 0 && f === rt),
|
|
2069
|
+
R(([[u], , , , , f]) => (f("Upward scrolling compensation", { amount: u }, ue.DEBUG), u))
|
|
2070
|
+
)
|
|
2071
|
+
);
|
|
2072
|
+
function x(u) {
|
|
2073
|
+
u > 0 ? (D(t, { behavior: "auto", top: -u }), D(e, 0)) : (D(e, 0), D(t, { behavior: "auto", top: -u }));
|
|
2074
|
+
}
|
|
2075
|
+
return X(p(y, F(e, i)), ([u, f, w]) => {
|
|
2076
|
+
w && Gn() ? D(e, f - u) : x(-u);
|
|
2077
|
+
}), X(
|
|
2078
|
+
p(
|
|
2079
|
+
ie(pe(i, !1), e, C),
|
|
2080
|
+
P(([u, f, w]) => !u && !w && f !== 0),
|
|
2081
|
+
R(([u, f]) => f),
|
|
2082
|
+
Le(1)
|
|
2083
|
+
),
|
|
2084
|
+
x
|
|
2085
|
+
), k(
|
|
2086
|
+
p(
|
|
2087
|
+
I,
|
|
2088
|
+
R((u) => ({ top: -u }))
|
|
2089
|
+
),
|
|
2090
|
+
t
|
|
2091
|
+
), X(
|
|
2092
|
+
p(
|
|
2093
|
+
d,
|
|
2094
|
+
F(m, h),
|
|
2095
|
+
R(([u, { groupIndices: f, lastSize: w, sizeTree: E }, z]) => {
|
|
2096
|
+
function M(b) {
|
|
2097
|
+
return b * (w + z);
|
|
2098
|
+
}
|
|
2099
|
+
if (f.length === 0)
|
|
2100
|
+
return M(u);
|
|
2101
|
+
let a = 0;
|
|
2102
|
+
const g = tt(E, 0);
|
|
2103
|
+
let S = 0, O = 0;
|
|
2104
|
+
for (; S < u; ) {
|
|
2105
|
+
S++, a += g;
|
|
2106
|
+
let b = f.length === O + 1 ? 1 / 0 : f[O + 1] - f[O] - 1;
|
|
2107
|
+
S + b > u && (a -= g, b = u - S + 1), S += b, a += M(b), O++;
|
|
2108
|
+
}
|
|
2109
|
+
return a;
|
|
2110
|
+
})
|
|
2111
|
+
),
|
|
2112
|
+
(u) => {
|
|
2113
|
+
D(e, u), requestAnimationFrame(() => {
|
|
2114
|
+
D(t, { top: u }), requestAnimationFrame(() => {
|
|
2115
|
+
D(e, 0), D(C, !1);
|
|
2116
|
+
});
|
|
2117
|
+
});
|
|
2118
|
+
}
|
|
2119
|
+
), { deviation: e };
|
|
2120
|
+
},
|
|
2121
|
+
ee(ve, at, Ne, Oe, Ve, Vt)
|
|
2122
|
+
), _n = U(
|
|
2123
|
+
([
|
|
2124
|
+
e,
|
|
2125
|
+
t,
|
|
2126
|
+
o,
|
|
2127
|
+
n,
|
|
2128
|
+
r,
|
|
2129
|
+
i,
|
|
2130
|
+
s,
|
|
2131
|
+
l,
|
|
2132
|
+
c,
|
|
2133
|
+
d,
|
|
2134
|
+
h
|
|
2135
|
+
]) => ({
|
|
2136
|
+
...e,
|
|
2137
|
+
...t,
|
|
2138
|
+
...o,
|
|
2139
|
+
...n,
|
|
2140
|
+
...r,
|
|
2141
|
+
...i,
|
|
2142
|
+
...s,
|
|
2143
|
+
...l,
|
|
2144
|
+
...c,
|
|
2145
|
+
...d,
|
|
2146
|
+
...h
|
|
2147
|
+
}),
|
|
2148
|
+
ee(
|
|
2149
|
+
Ft,
|
|
2150
|
+
Vn,
|
|
2151
|
+
je,
|
|
2152
|
+
Ao,
|
|
2153
|
+
Po,
|
|
2154
|
+
jn,
|
|
2155
|
+
Ln,
|
|
2156
|
+
Gt,
|
|
2157
|
+
jo,
|
|
2158
|
+
Ve,
|
|
2159
|
+
Vo
|
|
2160
|
+
)
|
|
2161
|
+
), Fo = U(
|
|
2162
|
+
([
|
|
2163
|
+
{
|
|
2164
|
+
data: e,
|
|
2165
|
+
defaultItemSize: t,
|
|
2166
|
+
firstItemIndex: o,
|
|
2167
|
+
fixedItemSize: n,
|
|
2168
|
+
fixedGroupSize: r,
|
|
2169
|
+
gap: i,
|
|
2170
|
+
groupIndices: s,
|
|
2171
|
+
heightEstimates: l,
|
|
2172
|
+
itemSize: c,
|
|
2173
|
+
sizeRanges: d,
|
|
2174
|
+
sizes: h,
|
|
2175
|
+
statefulTotalCount: I,
|
|
2176
|
+
totalCount: m,
|
|
2177
|
+
trackItemSizes: v
|
|
2178
|
+
},
|
|
2179
|
+
{ initialItemFinalLocationReached: C, initialTopMostItemIndex: y, scrolledToInitialItem: x },
|
|
2180
|
+
u,
|
|
2181
|
+
f,
|
|
2182
|
+
w,
|
|
2183
|
+
E,
|
|
2184
|
+
{ scrollToIndex: z },
|
|
2185
|
+
M,
|
|
2186
|
+
{ topItemCount: a },
|
|
2187
|
+
{ groupCounts: g },
|
|
2188
|
+
S
|
|
2189
|
+
]) => {
|
|
2190
|
+
const { listState: O, minOverscanItemCount: b, topItemsIndexes: j, rangeChanged: A, ...Z } = E;
|
|
2191
|
+
return k(A, S.scrollSeekRangeChanged), k(
|
|
2192
|
+
p(
|
|
2193
|
+
S.windowViewportRect,
|
|
2194
|
+
R((L) => L.visibleHeight)
|
|
2195
|
+
),
|
|
2196
|
+
u.viewportHeight
|
|
2197
|
+
), {
|
|
2198
|
+
data: e,
|
|
2199
|
+
defaultItemHeight: t,
|
|
2200
|
+
firstItemIndex: o,
|
|
2201
|
+
fixedItemHeight: n,
|
|
2202
|
+
fixedGroupHeight: r,
|
|
2203
|
+
gap: i,
|
|
2204
|
+
groupCounts: g,
|
|
2205
|
+
heightEstimates: l,
|
|
2206
|
+
initialItemFinalLocationReached: C,
|
|
2207
|
+
initialTopMostItemIndex: y,
|
|
2208
|
+
scrolledToInitialItem: x,
|
|
2209
|
+
sizeRanges: d,
|
|
2210
|
+
topItemCount: a,
|
|
2211
|
+
topItemsIndexes: j,
|
|
2212
|
+
// input
|
|
2213
|
+
totalCount: m,
|
|
2214
|
+
...w,
|
|
2215
|
+
groupIndices: s,
|
|
2216
|
+
itemSize: c,
|
|
2217
|
+
listState: O,
|
|
2218
|
+
minOverscanItemCount: b,
|
|
2219
|
+
scrollToIndex: z,
|
|
2220
|
+
// output
|
|
2221
|
+
statefulTotalCount: I,
|
|
2222
|
+
trackItemSizes: v,
|
|
2223
|
+
// exported from stateFlagsSystem
|
|
2224
|
+
rangeChanged: A,
|
|
2225
|
+
...Z,
|
|
2226
|
+
// the bag of IO from featureGroup1System
|
|
2227
|
+
...S,
|
|
2228
|
+
...u,
|
|
2229
|
+
sizes: h,
|
|
2230
|
+
...f
|
|
2231
|
+
};
|
|
2232
|
+
},
|
|
2233
|
+
ee(
|
|
2234
|
+
Oe,
|
|
2235
|
+
ct,
|
|
2236
|
+
ve,
|
|
2237
|
+
An,
|
|
2238
|
+
Pn,
|
|
2239
|
+
Ne,
|
|
2240
|
+
lt,
|
|
2241
|
+
Nn,
|
|
2242
|
+
Fn,
|
|
2243
|
+
Oo,
|
|
2244
|
+
_n
|
|
2245
|
+
)
|
|
2246
|
+
);
|
|
2247
|
+
function Un(e, t) {
|
|
2248
|
+
const o = {}, n = {};
|
|
2249
|
+
let r = 0;
|
|
2250
|
+
const i = e.length;
|
|
2251
|
+
for (; r < i; )
|
|
2252
|
+
n[e[r]] = 1, r += 1;
|
|
2253
|
+
for (const s in t)
|
|
2254
|
+
Object.hasOwn(n, s) || (o[s] = t[s]);
|
|
2255
|
+
return o;
|
|
2256
|
+
}
|
|
2257
|
+
const dt = typeof document < "u" ? B.useLayoutEffect : B.useEffect;
|
|
2258
|
+
function Go(e, t, o) {
|
|
2259
|
+
const n = Object.keys(t.required || {}), r = Object.keys(t.optional || {}), i = Object.keys(t.methods || {}), s = Object.keys(t.events || {}), l = B.createContext({});
|
|
2260
|
+
function c(x, u) {
|
|
2261
|
+
x.propsReady !== void 0 && D(x.propsReady, !1);
|
|
2262
|
+
for (const f of n) {
|
|
2263
|
+
const w = x[t.required[f]];
|
|
2264
|
+
D(w, u[f]);
|
|
2265
|
+
}
|
|
2266
|
+
for (const f of r)
|
|
2267
|
+
if (f in u) {
|
|
2268
|
+
const w = x[t.optional[f]];
|
|
2269
|
+
D(w, u[f]);
|
|
2270
|
+
}
|
|
2271
|
+
x.propsReady !== void 0 && D(x.propsReady, !0);
|
|
2272
|
+
}
|
|
2273
|
+
function d(x) {
|
|
2274
|
+
return i.reduce((u, f) => (u[f] = (w) => {
|
|
2275
|
+
const E = x[t.methods[f]];
|
|
2276
|
+
D(E, w);
|
|
2277
|
+
}, u), {});
|
|
2278
|
+
}
|
|
2279
|
+
function h(x) {
|
|
2280
|
+
return s.reduce((u, f) => (u[f] = ln(x[t.events[f]]), u), {});
|
|
2281
|
+
}
|
|
2282
|
+
const I = B.forwardRef(function(x, u) {
|
|
2283
|
+
const { children: f, ...w } = x, [E] = B.useState(() => It(an(e), (a) => {
|
|
2284
|
+
c(a, w);
|
|
2285
|
+
})), [z] = B.useState(qt(h, E));
|
|
2286
|
+
dt(() => {
|
|
2287
|
+
for (const a of s)
|
|
2288
|
+
a in w && X(z[a], w[a]);
|
|
2289
|
+
return () => {
|
|
2290
|
+
Object.values(z).map(Wt);
|
|
2291
|
+
};
|
|
2292
|
+
}, [w, z, E]), dt(() => {
|
|
2293
|
+
c(E, w);
|
|
2294
|
+
}), B.useImperativeHandle(u, Jt(d(E)));
|
|
2295
|
+
const M = o;
|
|
2296
|
+
return /* @__PURE__ */ N.jsx(l.Provider, { value: E, children: o !== void 0 ? /* @__PURE__ */ N.jsx(M, { ...Un([...n, ...r, ...s], w), children: f }) : f });
|
|
2297
|
+
}), m = (x) => {
|
|
2298
|
+
const u = B.useContext(l);
|
|
2299
|
+
return B.useCallback(
|
|
2300
|
+
(f) => {
|
|
2301
|
+
D(u[x], f);
|
|
2302
|
+
},
|
|
2303
|
+
[u, x]
|
|
2304
|
+
);
|
|
2305
|
+
}, v = (x) => {
|
|
2306
|
+
const u = B.useContext(l)[x], f = B.useCallback(
|
|
2307
|
+
(w) => X(u, w),
|
|
2308
|
+
[u]
|
|
2309
|
+
);
|
|
2310
|
+
return B.useSyncExternalStore(
|
|
2311
|
+
f,
|
|
2312
|
+
() => oe(u),
|
|
2313
|
+
() => oe(u)
|
|
2314
|
+
);
|
|
2315
|
+
}, C = (x) => {
|
|
2316
|
+
const u = B.useContext(l)[x], [f, w] = B.useState(qt(oe, u));
|
|
2317
|
+
return dt(
|
|
2318
|
+
() => X(u, (E) => {
|
|
2319
|
+
E !== f && w(Jt(E));
|
|
2320
|
+
}),
|
|
2321
|
+
[u, f]
|
|
2322
|
+
), f;
|
|
2323
|
+
}, y = B.version.startsWith("18") ? v : C;
|
|
2324
|
+
return {
|
|
2325
|
+
Component: I,
|
|
2326
|
+
useEmitter: (x, u) => {
|
|
2327
|
+
const f = B.useContext(l)[x];
|
|
2328
|
+
dt(() => X(f, u), [u, f]);
|
|
2329
|
+
},
|
|
2330
|
+
useEmitterValue: y,
|
|
2331
|
+
usePublisher: m
|
|
2332
|
+
};
|
|
2333
|
+
}
|
|
2334
|
+
const No = B.createContext(void 0), _o = B.createContext(void 0), Ht = "-webkit-sticky", uo = "sticky", Nt = Do(() => {
|
|
2335
|
+
if (typeof document > "u")
|
|
2336
|
+
return uo;
|
|
2337
|
+
const e = document.createElement("div");
|
|
2338
|
+
return e.style.position = Ht, e.style.position === Ht ? Ht : uo;
|
|
2339
|
+
}), Uo = typeof document < "u" ? B.useLayoutEffect : B.useEffect;
|
|
2340
|
+
function Rt(e) {
|
|
2341
|
+
return "self" in e;
|
|
2342
|
+
}
|
|
2343
|
+
function $n(e) {
|
|
2344
|
+
return "body" in e;
|
|
2345
|
+
}
|
|
2346
|
+
function $o(e, t, o, n = Ye, r, i) {
|
|
2347
|
+
const s = B.useRef(null), l = B.useRef(null), c = B.useRef(null), d = B.useCallback(
|
|
2348
|
+
(m) => {
|
|
2349
|
+
let v, C, y;
|
|
2350
|
+
const x = m.target;
|
|
2351
|
+
if ($n(x) || Rt(x)) {
|
|
2352
|
+
const f = Rt(x) ? x : x.defaultView;
|
|
2353
|
+
y = i === !0 ? f.scrollX : f.scrollY, v = i === !0 ? f.document.documentElement.scrollWidth : f.document.documentElement.scrollHeight, C = i === !0 ? f.innerWidth : f.innerHeight;
|
|
2354
|
+
} else
|
|
2355
|
+
y = i === !0 ? x.scrollLeft : x.scrollTop, v = i === !0 ? x.scrollWidth : x.scrollHeight, C = i === !0 ? x.offsetWidth : x.offsetHeight;
|
|
2356
|
+
const u = () => {
|
|
2357
|
+
e({
|
|
2358
|
+
scrollHeight: v,
|
|
2359
|
+
scrollTop: Math.max(y, 0),
|
|
2360
|
+
viewportHeight: C
|
|
2361
|
+
});
|
|
2362
|
+
};
|
|
2363
|
+
m.suppressFlushSync === !0 ? u() : en.flushSync(u), l.current !== null && (y === l.current || y <= 0 || y === v - C) && (l.current = null, t(!0), c.current && (clearTimeout(c.current), c.current = null));
|
|
2364
|
+
},
|
|
2365
|
+
[e, t, i]
|
|
2366
|
+
);
|
|
2367
|
+
B.useEffect(() => {
|
|
2368
|
+
const m = r || s.current;
|
|
2369
|
+
return n(r || s.current), d({ suppressFlushSync: !0, target: m }), m.addEventListener("scroll", d, { passive: !0 }), () => {
|
|
2370
|
+
n(null), m.removeEventListener("scroll", d);
|
|
2371
|
+
};
|
|
2372
|
+
}, [s, d, o, n, r]);
|
|
2373
|
+
function h(m) {
|
|
2374
|
+
const v = s.current;
|
|
2375
|
+
if (!v || (i === !0 ? "offsetWidth" in v && v.offsetWidth === 0 : "offsetHeight" in v && v.offsetHeight === 0))
|
|
2376
|
+
return;
|
|
2377
|
+
const C = m.behavior === "smooth";
|
|
2378
|
+
let y, x, u;
|
|
2379
|
+
Rt(v) ? (x = Math.max(
|
|
2380
|
+
We(v.document.documentElement, i === !0 ? "width" : "height"),
|
|
2381
|
+
i === !0 ? v.document.documentElement.scrollWidth : v.document.documentElement.scrollHeight
|
|
2382
|
+
), y = i === !0 ? v.innerWidth : v.innerHeight, u = i === !0 ? window.scrollX : window.scrollY) : (x = v[i === !0 ? "scrollWidth" : "scrollHeight"], y = We(v, i === !0 ? "width" : "height"), u = v[i === !0 ? "scrollLeft" : "scrollTop"]);
|
|
2383
|
+
const f = x - y;
|
|
2384
|
+
if (m.top = Math.ceil(Math.max(Math.min(f, m.top), 0)), Mo(y, x) || m.top === u) {
|
|
2385
|
+
e({ scrollHeight: x, scrollTop: u, viewportHeight: y }), C && t(!0);
|
|
2386
|
+
return;
|
|
2387
|
+
}
|
|
2388
|
+
C ? (l.current = m.top, c.current && clearTimeout(c.current), c.current = setTimeout(() => {
|
|
2389
|
+
c.current = null, l.current = null, t(!0);
|
|
2390
|
+
}, 1e3)) : l.current = null, i === !0 && (m = { ...m.behavior !== void 0 ? { behavior: m.behavior } : {}, left: m.top }), v.scrollTo(m);
|
|
2391
|
+
}
|
|
2392
|
+
function I(m) {
|
|
2393
|
+
i === !0 && (m = {
|
|
2394
|
+
...m.behavior !== void 0 ? { behavior: m.behavior } : {},
|
|
2395
|
+
...m.top !== void 0 ? { left: m.top } : {}
|
|
2396
|
+
}), s.current.scrollBy(m);
|
|
2397
|
+
}
|
|
2398
|
+
return { scrollByCallback: I, scrollerRef: s, scrollToCallback: h };
|
|
2399
|
+
}
|
|
2400
|
+
function _t(e) {
|
|
2401
|
+
return e;
|
|
2402
|
+
}
|
|
2403
|
+
const Kn = /* @__PURE__ */ U(() => {
|
|
2404
|
+
const e = T((l) => `Item ${l}`), t = T((l) => `Group ${l}`), o = T({}), n = T(_t), r = T("div"), i = T(Ye), s = (l, c = null) => pe(
|
|
2405
|
+
p(
|
|
2406
|
+
o,
|
|
2407
|
+
R((d) => d[l]),
|
|
2408
|
+
q()
|
|
2409
|
+
),
|
|
2410
|
+
c
|
|
2411
|
+
);
|
|
2412
|
+
return {
|
|
2413
|
+
components: o,
|
|
2414
|
+
computeItemKey: n,
|
|
2415
|
+
EmptyPlaceholder: s("EmptyPlaceholder"),
|
|
2416
|
+
FooterComponent: s("Footer"),
|
|
2417
|
+
GroupComponent: s("Group", "div"),
|
|
2418
|
+
groupContent: t,
|
|
2419
|
+
HeaderComponent: s("Header"),
|
|
2420
|
+
HeaderFooterTag: r,
|
|
2421
|
+
ItemComponent: s("Item", "div"),
|
|
2422
|
+
itemContent: e,
|
|
2423
|
+
ListComponent: s("List", "div"),
|
|
2424
|
+
ScrollerComponent: s("Scroller", "div"),
|
|
2425
|
+
scrollerRef: i,
|
|
2426
|
+
ScrollSeekPlaceholder: s("ScrollSeekPlaceholder"),
|
|
2427
|
+
TopItemListComponent: s("TopItemList")
|
|
2428
|
+
};
|
|
2429
|
+
}), Xn = /* @__PURE__ */ U(
|
|
2430
|
+
([e, t]) => ({ ...e, ...t }),
|
|
2431
|
+
ee(Fo, Kn)
|
|
2432
|
+
), Yn = ({ height: e }) => /* @__PURE__ */ N.jsx("div", { style: { height: e } }), Qn = { overflowAnchor: "none", position: Nt(), zIndex: 1 }, Ko = { overflowAnchor: "none" }, Zn = { ...Ko, display: "inline-block", height: "100%" }, fo = /* @__PURE__ */ B.memo(function({ showTopList: e = !1 }) {
|
|
2433
|
+
var Z;
|
|
2434
|
+
const t = V("listState"), o = ze("sizeRanges"), n = V("useWindowScroll"), r = V("customScrollParent"), i = ze("windowScrollContainerState"), s = ze("scrollContainerState"), l = r || n ? i : s, c = V("itemContent"), d = V("context"), h = V("groupContent"), I = V("trackItemSizes"), m = V("itemSize"), v = V("log"), C = ze("gap"), y = V("horizontalDirection"), { callbackRef: x } = fn(
|
|
2435
|
+
o,
|
|
2436
|
+
m,
|
|
2437
|
+
I,
|
|
2438
|
+
e ? Ye : l,
|
|
2439
|
+
v,
|
|
2440
|
+
C,
|
|
2441
|
+
r,
|
|
2442
|
+
y,
|
|
2443
|
+
V("skipAnimationFrameInResizeObserver")
|
|
2444
|
+
), [u, f] = B.useState(0);
|
|
2445
|
+
Ut("deviation", (L) => {
|
|
2446
|
+
u !== L && f(L);
|
|
2447
|
+
});
|
|
2448
|
+
const w = V("EmptyPlaceholder"), E = (Z = V("ScrollSeekPlaceholder")) != null ? Z : Yn, z = V("ListComponent"), M = V("ItemComponent"), a = V("GroupComponent"), g = V("computeItemKey"), S = V("isSeeking"), O = V("groupIndices").length > 0, b = V("alignToBottom"), j = V("initialItemFinalLocationReached"), A = e ? {} : {
|
|
2449
|
+
boxSizing: "border-box",
|
|
2450
|
+
...y ? {
|
|
2451
|
+
display: "inline-block",
|
|
2452
|
+
height: "100%",
|
|
2453
|
+
marginLeft: u !== 0 ? u : b ? "auto" : 0,
|
|
2454
|
+
paddingLeft: t.offsetTop,
|
|
2455
|
+
paddingRight: t.offsetBottom,
|
|
2456
|
+
whiteSpace: "nowrap"
|
|
2457
|
+
} : {
|
|
2458
|
+
marginTop: u !== 0 ? u : b ? "auto" : 0,
|
|
2459
|
+
paddingBottom: t.offsetBottom,
|
|
2460
|
+
paddingTop: t.offsetTop
|
|
2461
|
+
},
|
|
2462
|
+
...j ? {} : { visibility: "hidden" }
|
|
2463
|
+
};
|
|
2464
|
+
return !e && t.totalCount === 0 && w !== null && w !== void 0 ? /* @__PURE__ */ N.jsx(w, { ...ge(w, d) }) : /* @__PURE__ */ N.jsx(
|
|
2465
|
+
z,
|
|
2466
|
+
{
|
|
2467
|
+
...ge(z, d),
|
|
2468
|
+
"data-testid": e ? "virtuoso-top-item-list" : "virtuoso-item-list",
|
|
2469
|
+
ref: x,
|
|
2470
|
+
style: A,
|
|
2471
|
+
children: (e ? t.topItems : t.items).map((L) => {
|
|
2472
|
+
const $ = L.originalIndex, G = g($ + t.firstItemIndex, L.data, d);
|
|
2473
|
+
return S ? /* @__PURE__ */ ht.createElement(
|
|
2474
|
+
E,
|
|
2475
|
+
{
|
|
2476
|
+
...ge(E, d),
|
|
2477
|
+
height: L.size,
|
|
2478
|
+
index: L.index,
|
|
2479
|
+
key: G,
|
|
2480
|
+
type: L.type || "item",
|
|
2481
|
+
...L.type === "group" ? {} : { groupIndex: L.groupIndex }
|
|
2482
|
+
}
|
|
2483
|
+
) : L.type === "group" ? /* @__PURE__ */ ht.createElement(
|
|
2484
|
+
a,
|
|
2485
|
+
{
|
|
2486
|
+
...ge(a, d),
|
|
2487
|
+
"data-index": $,
|
|
2488
|
+
"data-item-index": L.index,
|
|
2489
|
+
"data-known-size": L.size,
|
|
2490
|
+
key: G,
|
|
2491
|
+
style: Qn
|
|
2492
|
+
},
|
|
2493
|
+
h(L.index, d)
|
|
2494
|
+
) : /* @__PURE__ */ ht.createElement(
|
|
2495
|
+
M,
|
|
2496
|
+
{
|
|
2497
|
+
...ge(M, d),
|
|
2498
|
+
...tr(M, L.data),
|
|
2499
|
+
"data-index": $,
|
|
2500
|
+
"data-item-group-index": L.groupIndex,
|
|
2501
|
+
"data-item-index": L.index,
|
|
2502
|
+
"data-known-size": L.size,
|
|
2503
|
+
key: G,
|
|
2504
|
+
style: y ? Zn : Ko
|
|
2505
|
+
},
|
|
2506
|
+
O ? c(L.index, L.groupIndex, L.data, d) : c(L.index, L.data, d)
|
|
2507
|
+
);
|
|
2508
|
+
})
|
|
2509
|
+
}
|
|
2510
|
+
);
|
|
2511
|
+
}), Jn = {
|
|
2512
|
+
height: "100%",
|
|
2513
|
+
outline: "none",
|
|
2514
|
+
overflowY: "auto",
|
|
2515
|
+
position: "relative",
|
|
2516
|
+
WebkitOverflowScrolling: "touch"
|
|
2517
|
+
}, qn = {
|
|
2518
|
+
outline: "none",
|
|
2519
|
+
overflowX: "auto",
|
|
2520
|
+
position: "relative"
|
|
2521
|
+
}, wt = (e) => ({
|
|
2522
|
+
height: "100%",
|
|
2523
|
+
position: "absolute",
|
|
2524
|
+
top: 0,
|
|
2525
|
+
width: "100%",
|
|
2526
|
+
...e ? { display: "flex", flexDirection: "column" } : void 0
|
|
2527
|
+
}), er = {
|
|
2528
|
+
position: Nt(),
|
|
2529
|
+
top: 0,
|
|
2530
|
+
width: "100%",
|
|
2531
|
+
zIndex: 1
|
|
2532
|
+
};
|
|
2533
|
+
function ge(e, t) {
|
|
2534
|
+
if (typeof e != "string")
|
|
2535
|
+
return { context: t };
|
|
2536
|
+
}
|
|
2537
|
+
function tr(e, t) {
|
|
2538
|
+
return { item: typeof e == "string" ? void 0 : t };
|
|
2539
|
+
}
|
|
2540
|
+
const or = /* @__PURE__ */ B.memo(function() {
|
|
2541
|
+
const e = V("HeaderComponent"), t = ze("headerHeight"), o = V("HeaderFooterTag"), n = Ge(
|
|
2542
|
+
B.useMemo(
|
|
2543
|
+
() => (i) => {
|
|
2544
|
+
t(We(i, "height"));
|
|
2545
|
+
},
|
|
2546
|
+
[t]
|
|
2547
|
+
),
|
|
2548
|
+
!0,
|
|
2549
|
+
V("skipAnimationFrameInResizeObserver")
|
|
2550
|
+
), r = V("context");
|
|
2551
|
+
return e != null ? /* @__PURE__ */ N.jsx(o, { ref: n, children: /* @__PURE__ */ N.jsx(e, { ...ge(e, r) }) }) : null;
|
|
2552
|
+
}), nr = /* @__PURE__ */ B.memo(function() {
|
|
2553
|
+
const e = V("FooterComponent"), t = ze("footerHeight"), o = V("HeaderFooterTag"), n = Ge(
|
|
2554
|
+
B.useMemo(
|
|
2555
|
+
() => (i) => {
|
|
2556
|
+
t(We(i, "height"));
|
|
2557
|
+
},
|
|
2558
|
+
[t]
|
|
2559
|
+
),
|
|
2560
|
+
!0,
|
|
2561
|
+
V("skipAnimationFrameInResizeObserver")
|
|
2562
|
+
), r = V("context");
|
|
2563
|
+
return e != null ? /* @__PURE__ */ N.jsx(o, { ref: n, children: /* @__PURE__ */ N.jsx(e, { ...ge(e, r) }) }) : null;
|
|
2564
|
+
});
|
|
2565
|
+
function Xo({ useEmitter: e, useEmitterValue: t, usePublisher: o }) {
|
|
2566
|
+
return B.memo(function({ children: n, style: r, context: i, ...s }) {
|
|
2567
|
+
const l = o("scrollContainerState"), c = t("ScrollerComponent"), d = o("smoothScrollTargetReached"), h = t("scrollerRef"), I = t("horizontalDirection") || !1, { scrollByCallback: m, scrollerRef: v, scrollToCallback: C } = $o(
|
|
2568
|
+
l,
|
|
2569
|
+
d,
|
|
2570
|
+
c,
|
|
2571
|
+
h,
|
|
2572
|
+
void 0,
|
|
2573
|
+
I
|
|
2574
|
+
);
|
|
2575
|
+
return e("scrollTo", C), e("scrollBy", m), /* @__PURE__ */ N.jsx(
|
|
2576
|
+
c,
|
|
2577
|
+
{
|
|
2578
|
+
"data-testid": "virtuoso-scroller",
|
|
2579
|
+
"data-virtuoso-scroller": !0,
|
|
2580
|
+
ref: v,
|
|
2581
|
+
style: { ...I ? qn : Jn, ...r },
|
|
2582
|
+
tabIndex: 0,
|
|
2583
|
+
...s,
|
|
2584
|
+
...ge(c, i),
|
|
2585
|
+
children: n
|
|
2586
|
+
}
|
|
2587
|
+
);
|
|
2588
|
+
});
|
|
2589
|
+
}
|
|
2590
|
+
function Yo({ useEmitter: e, useEmitterValue: t, usePublisher: o }) {
|
|
2591
|
+
return B.memo(function({ children: n, style: r, context: i, ...s }) {
|
|
2592
|
+
const l = o("windowScrollContainerState"), c = t("ScrollerComponent"), d = o("smoothScrollTargetReached"), h = t("totalListHeight"), I = t("deviation"), m = t("customScrollParent"), v = B.useRef(null), C = t("scrollerRef"), { scrollByCallback: y, scrollerRef: x, scrollToCallback: u } = $o(
|
|
2593
|
+
l,
|
|
2594
|
+
d,
|
|
2595
|
+
c,
|
|
2596
|
+
C,
|
|
2597
|
+
m
|
|
2598
|
+
);
|
|
2599
|
+
return Uo(() => {
|
|
2600
|
+
var f;
|
|
2601
|
+
return x.current = m || ((f = v.current) == null ? void 0 : f.ownerDocument.defaultView), () => {
|
|
2602
|
+
x.current = null;
|
|
2603
|
+
};
|
|
2604
|
+
}, [x, m]), e("windowScrollTo", u), e("scrollBy", y), /* @__PURE__ */ N.jsx(
|
|
2605
|
+
c,
|
|
2606
|
+
{
|
|
2607
|
+
ref: v,
|
|
2608
|
+
"data-virtuoso-scroller": !0,
|
|
2609
|
+
style: { position: "relative", ...r, ...h !== 0 ? { height: h + I } : void 0 },
|
|
2610
|
+
...s,
|
|
2611
|
+
...ge(c, i),
|
|
2612
|
+
children: n
|
|
2613
|
+
}
|
|
2614
|
+
);
|
|
2615
|
+
});
|
|
2616
|
+
}
|
|
2617
|
+
const rr = ({ children: e }) => {
|
|
2618
|
+
const t = B.useContext(No), o = ze("viewportHeight"), n = ze("fixedItemHeight"), r = V("alignToBottom"), i = V("horizontalDirection"), s = B.useMemo(
|
|
2619
|
+
() => To(o, (c) => We(c, i ? "width" : "height")),
|
|
2620
|
+
[o, i]
|
|
2621
|
+
), l = Ge(s, !0, V("skipAnimationFrameInResizeObserver"));
|
|
2622
|
+
return B.useEffect(() => {
|
|
2623
|
+
t && (o(t.viewportHeight), n(t.itemHeight));
|
|
2624
|
+
}, [t, o, n]), /* @__PURE__ */ N.jsx("div", { "data-viewport-type": "element", ref: l, style: wt(r), children: e });
|
|
2625
|
+
}, ir = ({ children: e }) => {
|
|
2626
|
+
const t = B.useContext(No), o = ze("windowViewportRect"), n = ze("fixedItemHeight"), r = V("customScrollParent"), i = So(
|
|
2627
|
+
o,
|
|
2628
|
+
r,
|
|
2629
|
+
V("skipAnimationFrameInResizeObserver")
|
|
2630
|
+
), s = V("alignToBottom");
|
|
2631
|
+
return B.useEffect(() => {
|
|
2632
|
+
t && (n(t.itemHeight), o({ offsetTop: 0, visibleHeight: t.viewportHeight, visibleWidth: 100 }));
|
|
2633
|
+
}, [t, o, n]), /* @__PURE__ */ N.jsx("div", { "data-viewport-type": "window", ref: i, style: wt(s), children: e });
|
|
2634
|
+
}, sr = ({ children: e }) => {
|
|
2635
|
+
var i;
|
|
2636
|
+
const t = (i = V("TopItemListComponent")) != null ? i : "div", o = V("headerHeight"), n = { ...er, marginTop: `${o}px` }, r = V("context");
|
|
2637
|
+
return /* @__PURE__ */ N.jsx(t, { style: n, ...ge(t, r), children: e });
|
|
2638
|
+
}, lr = /* @__PURE__ */ B.memo(function(e) {
|
|
2639
|
+
const t = V("useWindowScroll"), o = V("topItemsIndexes").length > 0, n = V("customScrollParent"), r = V("context");
|
|
2640
|
+
return /* @__PURE__ */ N.jsxs(n || t ? ur : ar, { ...e, context: r, children: [
|
|
2641
|
+
o && /* @__PURE__ */ N.jsx(sr, { children: /* @__PURE__ */ N.jsx(fo, { showTopList: !0 }) }),
|
|
2642
|
+
/* @__PURE__ */ N.jsxs(n || t ? ir : rr, { children: [
|
|
2643
|
+
/* @__PURE__ */ N.jsx(or, {}),
|
|
2644
|
+
/* @__PURE__ */ N.jsx(fo, {}),
|
|
2645
|
+
/* @__PURE__ */ N.jsx(nr, {})
|
|
2646
|
+
] })
|
|
2647
|
+
] });
|
|
2648
|
+
}), {
|
|
2649
|
+
Component: cr,
|
|
2650
|
+
useEmitter: Ut,
|
|
2651
|
+
useEmitterValue: V,
|
|
2652
|
+
usePublisher: ze
|
|
2653
|
+
} = /* @__PURE__ */ Go(
|
|
2654
|
+
Xn,
|
|
2655
|
+
{
|
|
2656
|
+
optional: {
|
|
2657
|
+
restoreStateFrom: "restoreStateFrom",
|
|
2658
|
+
context: "context",
|
|
2659
|
+
followOutput: "followOutput",
|
|
2660
|
+
scrollIntoViewOnChange: "scrollIntoViewOnChange",
|
|
2661
|
+
itemContent: "itemContent",
|
|
2662
|
+
groupContent: "groupContent",
|
|
2663
|
+
overscan: "overscan",
|
|
2664
|
+
increaseViewportBy: "increaseViewportBy",
|
|
2665
|
+
minOverscanItemCount: "minOverscanItemCount",
|
|
2666
|
+
totalCount: "totalCount",
|
|
2667
|
+
groupCounts: "groupCounts",
|
|
2668
|
+
topItemCount: "topItemCount",
|
|
2669
|
+
firstItemIndex: "firstItemIndex",
|
|
2670
|
+
initialTopMostItemIndex: "initialTopMostItemIndex",
|
|
2671
|
+
components: "components",
|
|
2672
|
+
atBottomThreshold: "atBottomThreshold",
|
|
2673
|
+
atTopThreshold: "atTopThreshold",
|
|
2674
|
+
computeItemKey: "computeItemKey",
|
|
2675
|
+
defaultItemHeight: "defaultItemHeight",
|
|
2676
|
+
fixedGroupHeight: "fixedGroupHeight",
|
|
2677
|
+
// Must be set above 'fixedItemHeight'
|
|
2678
|
+
fixedItemHeight: "fixedItemHeight",
|
|
2679
|
+
heightEstimates: "heightEstimates",
|
|
2680
|
+
itemSize: "itemSize",
|
|
2681
|
+
scrollSeekConfiguration: "scrollSeekConfiguration",
|
|
2682
|
+
headerFooterTag: "HeaderFooterTag",
|
|
2683
|
+
data: "data",
|
|
2684
|
+
initialItemCount: "initialItemCount",
|
|
2685
|
+
initialScrollTop: "initialScrollTop",
|
|
2686
|
+
alignToBottom: "alignToBottom",
|
|
2687
|
+
useWindowScroll: "useWindowScroll",
|
|
2688
|
+
customScrollParent: "customScrollParent",
|
|
2689
|
+
scrollerRef: "scrollerRef",
|
|
2690
|
+
logLevel: "logLevel",
|
|
2691
|
+
horizontalDirection: "horizontalDirection",
|
|
2692
|
+
skipAnimationFrameInResizeObserver: "skipAnimationFrameInResizeObserver"
|
|
2693
|
+
},
|
|
2694
|
+
methods: {
|
|
2695
|
+
scrollToIndex: "scrollToIndex",
|
|
2696
|
+
scrollIntoView: "scrollIntoView",
|
|
2697
|
+
scrollTo: "scrollTo",
|
|
2698
|
+
scrollBy: "scrollBy",
|
|
2699
|
+
autoscrollToBottom: "autoscrollToBottom",
|
|
2700
|
+
getState: "getState"
|
|
2701
|
+
},
|
|
2702
|
+
events: {
|
|
2703
|
+
isScrolling: "isScrolling",
|
|
2704
|
+
endReached: "endReached",
|
|
2705
|
+
startReached: "startReached",
|
|
2706
|
+
rangeChanged: "rangeChanged",
|
|
2707
|
+
atBottomStateChange: "atBottomStateChange",
|
|
2708
|
+
atTopStateChange: "atTopStateChange",
|
|
2709
|
+
totalListHeightChanged: "totalListHeightChanged",
|
|
2710
|
+
itemsRendered: "itemsRendered",
|
|
2711
|
+
groupIndices: "groupIndices"
|
|
2712
|
+
}
|
|
2713
|
+
},
|
|
2714
|
+
lr
|
|
2715
|
+
), ar = /* @__PURE__ */ Xo({ useEmitter: Ut, useEmitterValue: V, usePublisher: ze }), ur = /* @__PURE__ */ Yo({ useEmitter: Ut, useEmitterValue: V, usePublisher: ze }), Er = cr, dr = /* @__PURE__ */ U(() => {
|
|
2716
|
+
const e = T((d) => /* @__PURE__ */ N.jsxs("td", { children: [
|
|
2717
|
+
"Item $",
|
|
2718
|
+
d
|
|
2719
|
+
] })), t = T(null), o = T((d) => /* @__PURE__ */ N.jsxs("td", { colSpan: 1e3, children: [
|
|
2720
|
+
"Group ",
|
|
2721
|
+
d
|
|
2722
|
+
] })), n = T(null), r = T(null), i = T({}), s = T(_t), l = T(Ye), c = (d, h = null) => pe(
|
|
2723
|
+
p(
|
|
2724
|
+
i,
|
|
2725
|
+
R((I) => I[d]),
|
|
2726
|
+
q()
|
|
2727
|
+
),
|
|
2728
|
+
h
|
|
2729
|
+
);
|
|
2730
|
+
return {
|
|
2731
|
+
components: i,
|
|
2732
|
+
computeItemKey: s,
|
|
2733
|
+
context: t,
|
|
2734
|
+
EmptyPlaceholder: c("EmptyPlaceholder"),
|
|
2735
|
+
FillerRow: c("FillerRow"),
|
|
2736
|
+
fixedFooterContent: r,
|
|
2737
|
+
fixedHeaderContent: n,
|
|
2738
|
+
itemContent: e,
|
|
2739
|
+
groupContent: o,
|
|
2740
|
+
ScrollerComponent: c("Scroller", "div"),
|
|
2741
|
+
scrollerRef: l,
|
|
2742
|
+
ScrollSeekPlaceholder: c("ScrollSeekPlaceholder"),
|
|
2743
|
+
TableBodyComponent: c("TableBody", "tbody"),
|
|
2744
|
+
TableComponent: c("Table", "table"),
|
|
2745
|
+
TableFooterComponent: c("TableFoot", "tfoot"),
|
|
2746
|
+
TableHeadComponent: c("TableHead", "thead"),
|
|
2747
|
+
TableRowComponent: c("TableRow", "tr"),
|
|
2748
|
+
GroupComponent: c("Group", "tr")
|
|
2749
|
+
};
|
|
2750
|
+
});
|
|
2751
|
+
ee(Fo, dr);
|
|
2752
|
+
Nt();
|
|
2753
|
+
const ho = {
|
|
2754
|
+
bottom: 0,
|
|
2755
|
+
itemHeight: 0,
|
|
2756
|
+
items: [],
|
|
2757
|
+
itemWidth: 0,
|
|
2758
|
+
offsetBottom: 0,
|
|
2759
|
+
offsetTop: 0,
|
|
2760
|
+
top: 0
|
|
2761
|
+
}, fr = {
|
|
2762
|
+
bottom: 0,
|
|
2763
|
+
itemHeight: 0,
|
|
2764
|
+
items: [{ index: 0 }],
|
|
2765
|
+
itemWidth: 0,
|
|
2766
|
+
offsetBottom: 0,
|
|
2767
|
+
offsetTop: 0,
|
|
2768
|
+
top: 0
|
|
2769
|
+
}, { ceil: mo, floor: xt, max: qe, min: yt, round: go } = Math;
|
|
2770
|
+
function po(e, t, o) {
|
|
2771
|
+
return Array.from({ length: t - e + 1 }).map((n, r) => ({ data: o === null ? null : o[r + e], index: r + e }));
|
|
2772
|
+
}
|
|
2773
|
+
function hr(e) {
|
|
2774
|
+
return {
|
|
2775
|
+
...fr,
|
|
2776
|
+
items: e
|
|
2777
|
+
};
|
|
2778
|
+
}
|
|
2779
|
+
function ft(e, t) {
|
|
2780
|
+
return e !== void 0 && e.width === t.width && e.height === t.height;
|
|
2781
|
+
}
|
|
2782
|
+
function mr(e, t) {
|
|
2783
|
+
return e !== void 0 && e.column === t.column && e.row === t.row;
|
|
2784
|
+
}
|
|
2785
|
+
const gr = /* @__PURE__ */ U(
|
|
2786
|
+
([
|
|
2787
|
+
{ increaseViewportBy: e, listBoundary: t, overscan: o, visibleRange: n },
|
|
2788
|
+
{ footerHeight: r, headerHeight: i, scrollBy: s, scrollContainerState: l, scrollTo: c, scrollTop: d, smoothScrollTargetReached: h, viewportHeight: I },
|
|
2789
|
+
m,
|
|
2790
|
+
v,
|
|
2791
|
+
{ didMount: C, propsReady: y },
|
|
2792
|
+
{ customScrollParent: x, useWindowScroll: u, windowScrollContainerState: f, windowScrollTo: w, windowViewportRect: E },
|
|
2793
|
+
z
|
|
2794
|
+
]) => {
|
|
2795
|
+
const M = T(0), a = T(0), g = T(ho), S = T({ height: 0, width: 0 }), O = T({ height: 0, width: 0 }), b = _(), j = _(), A = T(0), Z = T(null), L = T({ column: 0, row: 0 }), $ = _(), G = _(), se = T(!1), Se = T(0), xe = T(!0), Ie = T(!1), Me = T(!1);
|
|
2796
|
+
X(
|
|
2797
|
+
p(
|
|
2798
|
+
C,
|
|
2799
|
+
F(Se),
|
|
2800
|
+
P(([H, K]) => K !== 0)
|
|
2801
|
+
),
|
|
2802
|
+
() => {
|
|
2803
|
+
D(xe, !1);
|
|
2804
|
+
}
|
|
2805
|
+
), X(
|
|
2806
|
+
p(
|
|
2807
|
+
ie(C, xe, O, S, Se, Ie),
|
|
2808
|
+
P(([H, K, le, me, , Re]) => H && !K && le.height !== 0 && me.height !== 0 && !Re)
|
|
2809
|
+
),
|
|
2810
|
+
([, , , , H]) => {
|
|
2811
|
+
D(Ie, !0), At(1, () => {
|
|
2812
|
+
D(b, H);
|
|
2813
|
+
}), ye(p(d), () => {
|
|
2814
|
+
D(t, [0, 0]), D(xe, !0);
|
|
2815
|
+
});
|
|
2816
|
+
}
|
|
2817
|
+
), k(
|
|
2818
|
+
p(
|
|
2819
|
+
G,
|
|
2820
|
+
P((H) => H != null && H.scrollTop > 0),
|
|
2821
|
+
Be(0)
|
|
2822
|
+
),
|
|
2823
|
+
a
|
|
2824
|
+
), X(
|
|
2825
|
+
p(
|
|
2826
|
+
C,
|
|
2827
|
+
F(G),
|
|
2828
|
+
P(([, H]) => H != null)
|
|
2829
|
+
),
|
|
2830
|
+
([, H]) => {
|
|
2831
|
+
H && (D(S, H.viewport), D(O, H.item), D(L, H.gap), H.scrollTop > 0 && (D(se, !0), ye(p(d, Fe(1)), (K) => {
|
|
2832
|
+
D(se, !1);
|
|
2833
|
+
}), D(c, { top: H.scrollTop })));
|
|
2834
|
+
}
|
|
2835
|
+
), k(
|
|
2836
|
+
p(
|
|
2837
|
+
S,
|
|
2838
|
+
R(({ height: H }) => H)
|
|
2839
|
+
),
|
|
2840
|
+
I
|
|
2841
|
+
), k(
|
|
2842
|
+
p(
|
|
2843
|
+
ie(
|
|
2844
|
+
W(S, ft),
|
|
2845
|
+
W(O, ft),
|
|
2846
|
+
W(L, (H, K) => H !== void 0 && H.column === K.column && H.row === K.row),
|
|
2847
|
+
W(d)
|
|
2848
|
+
),
|
|
2849
|
+
R(([H, K, le, me]) => ({
|
|
2850
|
+
gap: le,
|
|
2851
|
+
item: K,
|
|
2852
|
+
scrollTop: me,
|
|
2853
|
+
viewport: H
|
|
2854
|
+
}))
|
|
2855
|
+
),
|
|
2856
|
+
$
|
|
2857
|
+
), k(
|
|
2858
|
+
p(
|
|
2859
|
+
ie(
|
|
2860
|
+
W(M),
|
|
2861
|
+
n,
|
|
2862
|
+
W(L, mr),
|
|
2863
|
+
W(O, ft),
|
|
2864
|
+
W(S, ft),
|
|
2865
|
+
W(Z),
|
|
2866
|
+
W(a),
|
|
2867
|
+
W(se),
|
|
2868
|
+
W(xe),
|
|
2869
|
+
W(Se)
|
|
2870
|
+
),
|
|
2871
|
+
P(([, , , , , , , H]) => !H),
|
|
2872
|
+
R(
|
|
2873
|
+
([
|
|
2874
|
+
H,
|
|
2875
|
+
[K, le],
|
|
2876
|
+
me,
|
|
2877
|
+
Re,
|
|
2878
|
+
ce,
|
|
2879
|
+
ne,
|
|
2880
|
+
de,
|
|
2881
|
+
,
|
|
2882
|
+
re,
|
|
2883
|
+
Y
|
|
2884
|
+
]) => {
|
|
2885
|
+
const { column: J, row: Ce } = me, { height: fe, width: St } = Re, { width: $t } = ce;
|
|
2886
|
+
if (de === 0 && (H === 0 || $t === 0))
|
|
2887
|
+
return ho;
|
|
2888
|
+
if (St === 0) {
|
|
2889
|
+
const Zt = Dt(Y, H), qo = Zt + Math.max(de - 1, 0);
|
|
2890
|
+
return hr(po(Zt, qo, ne));
|
|
2891
|
+
}
|
|
2892
|
+
const ut = Qo($t, St, J);
|
|
2893
|
+
let Ue, Ae;
|
|
2894
|
+
re ? K === 0 && le === 0 && de > 0 ? (Ue = 0, Ae = de - 1) : (Ue = ut * xt((K + Ce) / (fe + Ce)), Ae = ut * mo((le + Ce) / (fe + Ce)) - 1, Ae = yt(H - 1, qe(Ae, ut - 1)), Ue = yt(Ae, qe(0, Ue))) : (Ue = 0, Ae = -1);
|
|
2895
|
+
const Kt = po(Ue, Ae, ne), { bottom: Xt, top: Yt } = xo(ce, me, Re, Kt), Qt = mo(H / ut), Jo = Qt * fe + (Qt - 1) * Ce - Xt;
|
|
2896
|
+
return { bottom: Xt, itemHeight: fe, items: Kt, itemWidth: St, offsetBottom: Jo, offsetTop: Yt, top: Yt };
|
|
2897
|
+
}
|
|
2898
|
+
)
|
|
2899
|
+
),
|
|
2900
|
+
g
|
|
2901
|
+
), k(
|
|
2902
|
+
p(
|
|
2903
|
+
Z,
|
|
2904
|
+
P((H) => H !== null),
|
|
2905
|
+
R((H) => H.length)
|
|
2906
|
+
),
|
|
2907
|
+
M
|
|
2908
|
+
), k(
|
|
2909
|
+
p(
|
|
2910
|
+
ie(S, O, g, L),
|
|
2911
|
+
P(([H, K, { items: le }]) => le.length > 0 && K.height !== 0 && H.height !== 0),
|
|
2912
|
+
R(([H, K, { items: le }, me]) => {
|
|
2913
|
+
const { bottom: Re, top: ce } = xo(H, me, K, le);
|
|
2914
|
+
return [ce, Re];
|
|
2915
|
+
}),
|
|
2916
|
+
q(ot)
|
|
2917
|
+
),
|
|
2918
|
+
t
|
|
2919
|
+
);
|
|
2920
|
+
const he = T(!1);
|
|
2921
|
+
k(
|
|
2922
|
+
p(
|
|
2923
|
+
d,
|
|
2924
|
+
F(he),
|
|
2925
|
+
R(([H, K]) => K || H !== 0)
|
|
2926
|
+
),
|
|
2927
|
+
he
|
|
2928
|
+
);
|
|
2929
|
+
const _e = we(
|
|
2930
|
+
p(
|
|
2931
|
+
ie(g, M),
|
|
2932
|
+
P(([{ items: H }]) => H.length > 0),
|
|
2933
|
+
F(he),
|
|
2934
|
+
P(([[H, K], le]) => {
|
|
2935
|
+
const me = H.items[H.items.length - 1].index === K - 1;
|
|
2936
|
+
return (le || H.bottom > 0 && H.itemHeight > 0 && H.offsetBottom === 0 && H.items.length === K) && me;
|
|
2937
|
+
}),
|
|
2938
|
+
R(([[, H]]) => H - 1),
|
|
2939
|
+
q()
|
|
2940
|
+
)
|
|
2941
|
+
), Qe = we(
|
|
2942
|
+
p(
|
|
2943
|
+
W(g),
|
|
2944
|
+
P(({ items: H }) => H.length > 0 && H[0].index === 0),
|
|
2945
|
+
Be(0),
|
|
2946
|
+
q()
|
|
2947
|
+
)
|
|
2948
|
+
), Ee = we(
|
|
2949
|
+
p(
|
|
2950
|
+
W(g),
|
|
2951
|
+
F(se),
|
|
2952
|
+
P(([{ items: H }, K]) => H.length > 0 && !K),
|
|
2953
|
+
R(([{ items: H }]) => ({
|
|
2954
|
+
endIndex: H[H.length - 1].index,
|
|
2955
|
+
startIndex: H[0].index
|
|
2956
|
+
})),
|
|
2957
|
+
q(bo),
|
|
2958
|
+
Le(0)
|
|
2959
|
+
)
|
|
2960
|
+
);
|
|
2961
|
+
k(Ee, v.scrollSeekRangeChanged), k(
|
|
2962
|
+
p(
|
|
2963
|
+
b,
|
|
2964
|
+
F(S, O, M, L),
|
|
2965
|
+
R(([H, K, le, me, Re]) => {
|
|
2966
|
+
const ce = Lo(H), { align: ne, behavior: de, offset: re } = ce;
|
|
2967
|
+
let Y = ce.index;
|
|
2968
|
+
Y === "LAST" && (Y = me - 1), Y = qe(0, Y, yt(me - 1, Y));
|
|
2969
|
+
let J = Lt(K, Re, le, Y);
|
|
2970
|
+
return ne === "end" ? J = go(J - K.height + le.height) : ne === "center" && (J = go(J - K.height / 2 + le.height / 2)), re !== void 0 && re !== 0 && (J += re), { behavior: de, top: J };
|
|
2971
|
+
})
|
|
2972
|
+
),
|
|
2973
|
+
c
|
|
2974
|
+
);
|
|
2975
|
+
const Ze = pe(
|
|
2976
|
+
p(
|
|
2977
|
+
g,
|
|
2978
|
+
R((H) => H.offsetBottom + H.bottom)
|
|
2979
|
+
),
|
|
2980
|
+
0
|
|
2981
|
+
);
|
|
2982
|
+
return k(
|
|
2983
|
+
p(
|
|
2984
|
+
E,
|
|
2985
|
+
R((H) => ({ height: H.visibleHeight, width: H.visibleWidth }))
|
|
2986
|
+
),
|
|
2987
|
+
S
|
|
2988
|
+
), {
|
|
2989
|
+
customScrollParent: x,
|
|
2990
|
+
// input
|
|
2991
|
+
data: Z,
|
|
2992
|
+
deviation: A,
|
|
2993
|
+
footerHeight: r,
|
|
2994
|
+
gap: L,
|
|
2995
|
+
headerHeight: i,
|
|
2996
|
+
increaseViewportBy: e,
|
|
2997
|
+
initialItemCount: a,
|
|
2998
|
+
itemDimensions: O,
|
|
2999
|
+
overscan: o,
|
|
3000
|
+
restoreStateFrom: G,
|
|
3001
|
+
scrollBy: s,
|
|
3002
|
+
scrollContainerState: l,
|
|
3003
|
+
scrollHeight: j,
|
|
3004
|
+
scrollTo: c,
|
|
3005
|
+
scrollToIndex: b,
|
|
3006
|
+
scrollTop: d,
|
|
3007
|
+
smoothScrollTargetReached: h,
|
|
3008
|
+
totalCount: M,
|
|
3009
|
+
useWindowScroll: u,
|
|
3010
|
+
viewportDimensions: S,
|
|
3011
|
+
windowScrollContainerState: f,
|
|
3012
|
+
windowScrollTo: w,
|
|
3013
|
+
windowViewportRect: E,
|
|
3014
|
+
...v,
|
|
3015
|
+
// output
|
|
3016
|
+
gridState: g,
|
|
3017
|
+
horizontalDirection: Me,
|
|
3018
|
+
initialTopMostItemIndex: Se,
|
|
3019
|
+
totalListHeight: Ze,
|
|
3020
|
+
...m,
|
|
3021
|
+
endReached: _e,
|
|
3022
|
+
propsReady: y,
|
|
3023
|
+
rangeChanged: Ee,
|
|
3024
|
+
startReached: Qe,
|
|
3025
|
+
stateChanged: $,
|
|
3026
|
+
stateRestoreInProgress: se,
|
|
3027
|
+
...z
|
|
3028
|
+
};
|
|
3029
|
+
},
|
|
3030
|
+
ee(Ft, ve, at, Ao, je, Gt, Ve)
|
|
3031
|
+
);
|
|
3032
|
+
function Qo(e, t, o) {
|
|
3033
|
+
return qe(1, xt((e + o) / (xt(t) + o)));
|
|
3034
|
+
}
|
|
3035
|
+
function xo(e, t, o, n) {
|
|
3036
|
+
const { height: r } = o;
|
|
3037
|
+
if (r === void 0 || n.length === 0)
|
|
3038
|
+
return { bottom: 0, top: 0 };
|
|
3039
|
+
const i = Lt(e, t, o, n[0].index);
|
|
3040
|
+
return { bottom: Lt(e, t, o, n[n.length - 1].index) + r, top: i };
|
|
3041
|
+
}
|
|
3042
|
+
function Lt(e, t, o, n) {
|
|
3043
|
+
const r = Qo(e.width, o.width, t.column), i = xt(n / r), s = i * o.height + qe(0, i - 1) * t.row;
|
|
3044
|
+
return s > 0 ? s + t.row : s;
|
|
3045
|
+
}
|
|
3046
|
+
const pr = /* @__PURE__ */ U(() => {
|
|
3047
|
+
const e = T((I) => `Item ${I}`), t = T({}), o = T(null), n = T("virtuoso-grid-item"), r = T("virtuoso-grid-list"), i = T(_t), s = T("div"), l = T(Ye), c = (I, m = null) => pe(
|
|
3048
|
+
p(
|
|
3049
|
+
t,
|
|
3050
|
+
R((v) => v[I]),
|
|
3051
|
+
q()
|
|
3052
|
+
),
|
|
3053
|
+
m
|
|
3054
|
+
), d = T(!1), h = T(!1);
|
|
3055
|
+
return k(W(h), d), {
|
|
3056
|
+
components: t,
|
|
3057
|
+
computeItemKey: i,
|
|
3058
|
+
context: o,
|
|
3059
|
+
FooterComponent: c("Footer"),
|
|
3060
|
+
HeaderComponent: c("Header"),
|
|
3061
|
+
headerFooterTag: s,
|
|
3062
|
+
itemClassName: n,
|
|
3063
|
+
ItemComponent: c("Item", "div"),
|
|
3064
|
+
itemContent: e,
|
|
3065
|
+
listClassName: r,
|
|
3066
|
+
ListComponent: c("List", "div"),
|
|
3067
|
+
readyStateChanged: d,
|
|
3068
|
+
reportReadyState: h,
|
|
3069
|
+
ScrollerComponent: c("Scroller", "div"),
|
|
3070
|
+
scrollerRef: l,
|
|
3071
|
+
ScrollSeekPlaceholder: c("ScrollSeekPlaceholder", "div")
|
|
3072
|
+
};
|
|
3073
|
+
}), xr = /* @__PURE__ */ U(
|
|
3074
|
+
([e, t]) => ({ ...e, ...t }),
|
|
3075
|
+
ee(gr, pr)
|
|
3076
|
+
), vr = /* @__PURE__ */ B.memo(function() {
|
|
3077
|
+
const e = te("gridState"), t = te("listClassName"), o = te("itemClassName"), n = te("itemContent"), r = te("computeItemKey"), i = te("isSeeking"), s = He("scrollHeight"), l = te("ItemComponent"), c = te("ListComponent"), d = te("ScrollSeekPlaceholder"), h = te("context"), I = He("itemDimensions"), m = He("gap"), v = te("log"), C = te("stateRestoreInProgress"), y = He("reportReadyState"), x = Ge(
|
|
3078
|
+
B.useMemo(
|
|
3079
|
+
() => (u) => {
|
|
3080
|
+
const f = u.parentElement.parentElement.scrollHeight;
|
|
3081
|
+
s(f);
|
|
3082
|
+
const w = u.firstChild;
|
|
3083
|
+
if (w !== null) {
|
|
3084
|
+
const { height: E, width: z } = w.getBoundingClientRect();
|
|
3085
|
+
I({ height: E, width: z });
|
|
3086
|
+
}
|
|
3087
|
+
m({
|
|
3088
|
+
column: vo("column-gap", getComputedStyle(u).columnGap, v),
|
|
3089
|
+
row: vo("row-gap", getComputedStyle(u).rowGap, v)
|
|
3090
|
+
});
|
|
3091
|
+
},
|
|
3092
|
+
[s, I, m, v]
|
|
3093
|
+
),
|
|
3094
|
+
!0,
|
|
3095
|
+
!1
|
|
3096
|
+
);
|
|
3097
|
+
return Uo(() => {
|
|
3098
|
+
e.itemHeight > 0 && e.itemWidth > 0 && y(!0);
|
|
3099
|
+
}, [e]), C ? null : /* @__PURE__ */ N.jsx(
|
|
3100
|
+
c,
|
|
3101
|
+
{
|
|
3102
|
+
className: t,
|
|
3103
|
+
ref: x,
|
|
3104
|
+
...ge(c, h),
|
|
3105
|
+
"data-testid": "virtuoso-item-list",
|
|
3106
|
+
style: { paddingBottom: e.offsetBottom, paddingTop: e.offsetTop },
|
|
3107
|
+
children: e.items.map((u) => {
|
|
3108
|
+
const f = r(u.index, u.data, h);
|
|
3109
|
+
return i ? /* @__PURE__ */ N.jsx(
|
|
3110
|
+
d,
|
|
3111
|
+
{
|
|
3112
|
+
...ge(d, h),
|
|
3113
|
+
height: e.itemHeight,
|
|
3114
|
+
index: u.index,
|
|
3115
|
+
width: e.itemWidth
|
|
3116
|
+
},
|
|
3117
|
+
f
|
|
3118
|
+
) : /* @__PURE__ */ ht.createElement(
|
|
3119
|
+
l,
|
|
3120
|
+
{
|
|
3121
|
+
...ge(l, h),
|
|
3122
|
+
className: o,
|
|
3123
|
+
"data-index": u.index,
|
|
3124
|
+
key: f
|
|
3125
|
+
},
|
|
3126
|
+
n(u.index, u.data, h)
|
|
3127
|
+
);
|
|
3128
|
+
})
|
|
3129
|
+
}
|
|
3130
|
+
);
|
|
3131
|
+
}), Ir = B.memo(function() {
|
|
3132
|
+
const e = te("HeaderComponent"), t = He("headerHeight"), o = te("headerFooterTag"), n = Ge(
|
|
3133
|
+
B.useMemo(
|
|
3134
|
+
() => (i) => {
|
|
3135
|
+
t(We(i, "height"));
|
|
3136
|
+
},
|
|
3137
|
+
[t]
|
|
3138
|
+
),
|
|
3139
|
+
!0,
|
|
3140
|
+
!1
|
|
3141
|
+
), r = te("context");
|
|
3142
|
+
return e != null ? /* @__PURE__ */ N.jsx(o, { ref: n, children: /* @__PURE__ */ N.jsx(e, { ...ge(e, r) }) }) : null;
|
|
3143
|
+
}), Tr = B.memo(function() {
|
|
3144
|
+
const e = te("FooterComponent"), t = He("footerHeight"), o = te("headerFooterTag"), n = Ge(
|
|
3145
|
+
B.useMemo(
|
|
3146
|
+
() => (i) => {
|
|
3147
|
+
t(We(i, "height"));
|
|
3148
|
+
},
|
|
3149
|
+
[t]
|
|
3150
|
+
),
|
|
3151
|
+
!0,
|
|
3152
|
+
!1
|
|
3153
|
+
), r = te("context");
|
|
3154
|
+
return e != null ? /* @__PURE__ */ N.jsx(o, { ref: n, children: /* @__PURE__ */ N.jsx(e, { ...ge(e, r) }) }) : null;
|
|
3155
|
+
}), wr = ({ children: e }) => {
|
|
3156
|
+
const t = B.useContext(_o), o = He("itemDimensions"), n = He("viewportDimensions"), r = Ge(
|
|
3157
|
+
B.useMemo(
|
|
3158
|
+
() => (i) => {
|
|
3159
|
+
n(i.getBoundingClientRect());
|
|
3160
|
+
},
|
|
3161
|
+
[n]
|
|
3162
|
+
),
|
|
3163
|
+
!0,
|
|
3164
|
+
!1
|
|
3165
|
+
);
|
|
3166
|
+
return B.useEffect(() => {
|
|
3167
|
+
t && (n({ height: t.viewportHeight, width: t.viewportWidth }), o({ height: t.itemHeight, width: t.itemWidth }));
|
|
3168
|
+
}, [t, n, o]), /* @__PURE__ */ N.jsx("div", { ref: r, style: wt(!1), children: e });
|
|
3169
|
+
}, Sr = ({ children: e }) => {
|
|
3170
|
+
const t = B.useContext(_o), o = He("windowViewportRect"), n = He("itemDimensions"), r = te("customScrollParent"), i = So(o, r, !1);
|
|
3171
|
+
return B.useEffect(() => {
|
|
3172
|
+
t && (n({ height: t.itemHeight, width: t.itemWidth }), o({ offsetTop: 0, visibleHeight: t.viewportHeight, visibleWidth: t.viewportWidth }));
|
|
3173
|
+
}, [t, o, n]), /* @__PURE__ */ N.jsx("div", { ref: i, style: wt(!1), children: e });
|
|
3174
|
+
}, Cr = /* @__PURE__ */ B.memo(function({ ...e }) {
|
|
3175
|
+
const t = te("useWindowScroll"), o = te("customScrollParent"), n = o || t ? Hr : zr, r = o || t ? Sr : wr, i = te("context");
|
|
3176
|
+
return /* @__PURE__ */ N.jsx(n, { ...e, ...ge(n, i), children: /* @__PURE__ */ N.jsxs(r, { children: [
|
|
3177
|
+
/* @__PURE__ */ N.jsx(Ir, {}),
|
|
3178
|
+
/* @__PURE__ */ N.jsx(vr, {}),
|
|
3179
|
+
/* @__PURE__ */ N.jsx(Tr, {})
|
|
3180
|
+
] }) });
|
|
3181
|
+
}), {
|
|
3182
|
+
useEmitter: Zo,
|
|
3183
|
+
useEmitterValue: te,
|
|
3184
|
+
usePublisher: He
|
|
3185
|
+
} = /* @__PURE__ */ Go(
|
|
3186
|
+
xr,
|
|
3187
|
+
{
|
|
3188
|
+
optional: {
|
|
3189
|
+
context: "context",
|
|
3190
|
+
totalCount: "totalCount",
|
|
3191
|
+
overscan: "overscan",
|
|
3192
|
+
itemContent: "itemContent",
|
|
3193
|
+
components: "components",
|
|
3194
|
+
computeItemKey: "computeItemKey",
|
|
3195
|
+
data: "data",
|
|
3196
|
+
initialItemCount: "initialItemCount",
|
|
3197
|
+
scrollSeekConfiguration: "scrollSeekConfiguration",
|
|
3198
|
+
headerFooterTag: "headerFooterTag",
|
|
3199
|
+
listClassName: "listClassName",
|
|
3200
|
+
itemClassName: "itemClassName",
|
|
3201
|
+
useWindowScroll: "useWindowScroll",
|
|
3202
|
+
customScrollParent: "customScrollParent",
|
|
3203
|
+
scrollerRef: "scrollerRef",
|
|
3204
|
+
logLevel: "logLevel",
|
|
3205
|
+
restoreStateFrom: "restoreStateFrom",
|
|
3206
|
+
initialTopMostItemIndex: "initialTopMostItemIndex",
|
|
3207
|
+
increaseViewportBy: "increaseViewportBy"
|
|
3208
|
+
},
|
|
3209
|
+
methods: {
|
|
3210
|
+
scrollTo: "scrollTo",
|
|
3211
|
+
scrollBy: "scrollBy",
|
|
3212
|
+
scrollToIndex: "scrollToIndex"
|
|
3213
|
+
},
|
|
3214
|
+
events: {
|
|
3215
|
+
isScrolling: "isScrolling",
|
|
3216
|
+
endReached: "endReached",
|
|
3217
|
+
startReached: "startReached",
|
|
3218
|
+
rangeChanged: "rangeChanged",
|
|
3219
|
+
atBottomStateChange: "atBottomStateChange",
|
|
3220
|
+
atTopStateChange: "atTopStateChange",
|
|
3221
|
+
stateChanged: "stateChanged",
|
|
3222
|
+
readyStateChanged: "readyStateChanged"
|
|
3223
|
+
}
|
|
3224
|
+
},
|
|
3225
|
+
Cr
|
|
3226
|
+
), zr = /* @__PURE__ */ Xo({ useEmitter: Zo, useEmitterValue: te, usePublisher: He }), Hr = /* @__PURE__ */ Yo({ useEmitter: Zo, useEmitterValue: te, usePublisher: He });
|
|
3227
|
+
function vo(e, t, o) {
|
|
3228
|
+
return t !== "normal" && (t == null ? void 0 : t.endsWith("px")) !== !0 && o(`${e} was not resolved to pixel value correctly`, t, ue.WARN), t === "normal" ? 0 : parseInt(t != null ? t : "0", 10);
|
|
3229
|
+
}
|
|
3230
|
+
export {
|
|
3231
|
+
ue as LogLevel,
|
|
3232
|
+
Er as Virtuoso,
|
|
3233
|
+
_o as VirtuosoGridMockContext,
|
|
3234
|
+
No as VirtuosoMockContext
|
|
3235
|
+
};
|