nfx-ui 0.16.2 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -271
- package/dist/animations.cjs +1 -2
- package/dist/animations.mjs +9 -9
- package/dist/apis.cjs +0 -1
- package/dist/apis.cjs.map +1 -1
- package/dist/apis.mjs +0 -1
- package/dist/apis.mjs.map +1 -1
- package/dist/chunk-LucideIcon-Chc7x8mN.mjs +15 -0
- package/dist/chunk-LucideIcon-Chc7x8mN.mjs.map +1 -0
- package/dist/chunk-LucideIcon-CuoAB_OX.cjs +3 -0
- package/dist/chunk-LucideIcon-CuoAB_OX.cjs.map +1 -0
- package/dist/chunk-ModalProvider-BgLSJXhS.cjs +3 -0
- package/dist/chunk-ModalProvider-BgLSJXhS.cjs.map +1 -0
- package/dist/chunk-ModalProvider-CpzFzfWG.mjs +220 -0
- package/dist/chunk-ModalProvider-CpzFzfWG.mjs.map +1 -0
- package/dist/chunk-PixelBlast-BbJ2VmCL.cjs +190 -0
- package/dist/chunk-PixelBlast-BbJ2VmCL.cjs.map +1 -0
- package/dist/chunk-PixelBlast-BiBrG_NH.mjs +504 -0
- package/dist/chunk-PixelBlast-BiBrG_NH.mjs.map +1 -0
- package/dist/chunk-ThemeProvider-C4kxX2D0.cjs +3 -0
- package/dist/chunk-ThemeProvider-C4kxX2D0.cjs.map +1 -0
- package/dist/chunk-ThemeProvider-D0U8V6ky.mjs +28 -0
- package/dist/chunk-ThemeProvider-D0U8V6ky.mjs.map +1 -0
- package/dist/chunk-animations-CkOpTtX1.cjs +11 -0
- package/dist/chunk-animations-CkOpTtX1.cjs.map +1 -0
- package/dist/chunk-animations-DKyNVF-O.mjs +973 -0
- package/dist/chunk-animations-DKyNVF-O.mjs.map +1 -0
- package/dist/chunk-dashboard-BsGK96hu.mjs +104 -0
- package/dist/chunk-dashboard-BsGK96hu.mjs.map +1 -0
- package/dist/chunk-dashboard-CFT0HjSM.cjs +3 -0
- package/dist/chunk-dashboard-CFT0HjSM.cjs.map +1 -0
- package/dist/chunk-hooks-Cy_8mdDG.mjs +90 -0
- package/dist/chunk-hooks-Cy_8mdDG.mjs.map +1 -0
- package/dist/chunk-hooks-yVn82nBZ.cjs +3 -0
- package/dist/chunk-hooks-yVn82nBZ.cjs.map +1 -0
- package/dist/chunk-i18n-B8pZ_hpC.mjs +435 -0
- package/dist/chunk-i18n-B8pZ_hpC.mjs.map +1 -0
- package/dist/chunk-i18n-C06d89Eq.cjs +3 -0
- package/dist/chunk-i18n-C06d89Eq.cjs.map +1 -0
- package/dist/chunk-layout-BDpxG0Ca.mjs +27 -0
- package/dist/chunk-layout-BDpxG0Ca.mjs.map +1 -0
- package/dist/chunk-layout-DKCQHheg.cjs +3 -0
- package/dist/chunk-layout-DKCQHheg.cjs.map +1 -0
- package/dist/chunk-lucide-CrMbx2vC.cjs +3 -0
- package/dist/chunk-lucide-CrMbx2vC.cjs.map +1 -0
- package/dist/chunk-lucide-yNs0iz1-.mjs +158 -0
- package/dist/chunk-lucide-yNs0iz1-.mjs.map +1 -0
- package/dist/chunk-modal-C3LgRLur.cjs +3 -0
- package/dist/chunk-modal-C3LgRLur.cjs.map +1 -0
- package/dist/chunk-modal-D9vk2ENf.mjs +92 -0
- package/dist/chunk-modal-D9vk2ENf.mjs.map +1 -0
- package/dist/chunk-preference-BP-GO9Uk.cjs +3 -0
- package/dist/chunk-preference-BP-GO9Uk.cjs.map +1 -0
- package/dist/chunk-preference-BXXryZLY.cjs +3 -0
- package/dist/chunk-preference-BXXryZLY.cjs.map +1 -0
- package/dist/chunk-preference-Y15HwKd0.mjs +42 -0
- package/dist/chunk-preference-Y15HwKd0.mjs.map +1 -0
- package/dist/chunk-preference-x4EdmqU6.mjs +295 -0
- package/dist/chunk-preference-x4EdmqU6.mjs.map +1 -0
- package/dist/chunk-rolldown-runtime-Bvb_CV3F.cjs +1 -0
- package/dist/chunk-useLanguageLabel-38sEu2rP.cjs +3 -0
- package/dist/chunk-useLanguageLabel-38sEu2rP.cjs.map +1 -0
- package/dist/chunk-useLanguageLabel-BLdxHuep.mjs +38 -0
- package/dist/chunk-useLanguageLabel-BLdxHuep.mjs.map +1 -0
- package/dist/chunk-useLayout-CbUZVWpS.cjs +3 -0
- package/dist/chunk-useLayout-CbUZVWpS.cjs.map +1 -0
- package/dist/chunk-useLayout-CjXHRPLD.mjs +302 -0
- package/dist/chunk-useLayout-CjXHRPLD.mjs.map +1 -0
- package/dist/chunk-useTheme-C2Ip6OAs.mjs +34 -0
- package/dist/chunk-useTheme-C2Ip6OAs.mjs.map +1 -0
- package/dist/chunk-useTheme-DSps5NbC.cjs +3 -0
- package/dist/chunk-useTheme-DSps5NbC.cjs.map +1 -0
- package/dist/components.cjs +3 -3
- package/dist/components.cjs.map +1 -1
- package/dist/components.mjs +1122 -1472
- package/dist/components.mjs.map +1 -1
- package/dist/constants.cjs +0 -1
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.mjs +0 -1
- package/dist/constants.mjs.map +1 -1
- package/dist/enums.cjs +1 -0
- package/dist/enums.mjs +43 -0
- package/dist/events.cjs +0 -1
- package/dist/events.cjs.map +1 -1
- package/dist/events.mjs +0 -1
- package/dist/events.mjs.map +1 -1
- package/dist/hooks.cjs +1 -4
- package/dist/hooks.mjs +12 -104
- package/dist/icons.cjs +3 -2
- package/dist/icons.cjs.map +1 -0
- package/dist/icons.mjs +19350 -73
- package/dist/icons.mjs.map +1 -0
- package/dist/languages.cjs +1 -2
- package/dist/languages.cjs.map +1 -1
- package/dist/languages.mjs +63 -76
- package/dist/languages.mjs.map +1 -1
- package/dist/layouts.cjs +2 -2
- package/dist/layouts.cjs.map +1 -1
- package/dist/layouts.mjs +787 -395
- package/dist/layouts.mjs.map +1 -1
- package/dist/navigations.cjs +0 -1
- package/dist/navigations.cjs.map +1 -1
- package/dist/navigations.mjs +0 -1
- package/dist/navigations.mjs.map +1 -1
- package/dist/pixel-blast.cjs +1 -191
- package/dist/pixel-blast.mjs +2 -503
- package/dist/providers.cjs +4 -0
- package/dist/providers.cjs.map +1 -0
- package/dist/providers.mjs +37 -0
- package/dist/providers.mjs.map +1 -0
- package/dist/services.cjs +0 -1
- package/dist/services.cjs.map +1 -1
- package/dist/services.mjs +0 -1
- package/dist/services.mjs.map +1 -1
- package/dist/src/designs/animations/index.d.ts +1 -0
- package/dist/src/designs/animations/index.d.ts.map +1 -1
- package/dist/src/designs/components/CardHeader.d.ts +9 -0
- package/dist/src/designs/components/CardHeader.d.ts.map +1 -0
- package/dist/src/designs/components/EmptyState/index.d.ts +10 -0
- package/dist/src/designs/components/EmptyState/index.d.ts.map +1 -0
- package/dist/src/designs/components/LayoutSwitcher/index.d.ts +1 -1
- package/dist/src/designs/components/LayoutSwitcher/index.d.ts.map +1 -1
- package/dist/src/designs/components/Logo/index.d.ts +15 -0
- package/dist/src/designs/components/Logo/index.d.ts.map +1 -0
- package/dist/src/designs/components/LucideIcon.d.ts +11 -0
- package/dist/src/designs/components/LucideIcon.d.ts.map +1 -0
- package/dist/src/designs/components/PageHeader/index.d.ts +11 -0
- package/dist/src/designs/components/PageHeader/index.d.ts.map +1 -0
- package/dist/src/designs/components/PreferencesPopover/index.d.ts +6 -0
- package/dist/src/designs/components/PreferencesPopover/index.d.ts.map +1 -0
- package/dist/src/designs/components/Suspense/index.d.ts +6 -60
- package/dist/src/designs/components/Suspense/index.d.ts.map +1 -1
- package/dist/src/designs/components/ThemeSettings/index.d.ts +2 -0
- package/dist/src/designs/components/ThemeSettings/index.d.ts.map +1 -0
- package/dist/src/designs/components/ThemeSwitcher/index.d.ts +1 -3
- package/dist/src/designs/components/ThemeSwitcher/index.d.ts.map +1 -1
- package/dist/src/designs/components/VirtuosoList.d.ts +37 -0
- package/dist/src/designs/components/VirtuosoList.d.ts.map +1 -0
- package/dist/src/designs/components/index.d.ts +19 -25
- package/dist/src/designs/components/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/Background/index.d.ts +1 -1
- package/dist/src/designs/layouts/components/Background/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/Header/index.d.ts +31 -3
- package/dist/src/designs/layouts/components/Header/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/LayoutFrame/index.d.ts +1 -1
- package/dist/src/designs/layouts/components/LayoutFrame/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/Main/index.d.ts +8 -0
- package/dist/src/designs/layouts/components/Main/index.d.ts.map +1 -0
- package/dist/src/designs/layouts/components/MainWrapper/index.d.ts +1 -1
- package/dist/src/designs/layouts/components/MainWrapper/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/PageFrame/index.d.ts +10 -0
- package/dist/src/designs/layouts/components/PageFrame/index.d.ts.map +1 -0
- package/dist/src/designs/layouts/components/SideHideLayout/index.d.ts +1 -1
- package/dist/src/designs/layouts/components/SideHideLayout/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/SideShowLayout/index.d.ts +1 -1
- package/dist/src/designs/layouts/components/SideShowLayout/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/Sidebar/index.d.ts +74 -2
- package/dist/src/designs/layouts/components/Sidebar/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/components/Sidebar/menu.d.ts +9 -0
- package/dist/src/designs/layouts/components/Sidebar/menu.d.ts.map +1 -0
- package/dist/src/designs/layouts/components/UserTopBar/index.d.ts +18 -0
- package/dist/src/designs/layouts/components/UserTopBar/index.d.ts.map +1 -0
- package/dist/src/designs/layouts/components/index.d.ts +9 -1
- package/dist/src/designs/layouts/components/index.d.ts.map +1 -1
- package/dist/src/designs/layouts/index.d.ts +2 -0
- package/dist/src/designs/layouts/index.d.ts.map +1 -1
- package/dist/src/designs/providers/ModalProvider/components/Base.d.ts +6 -0
- package/dist/src/designs/providers/ModalProvider/components/Base.d.ts.map +1 -0
- package/dist/src/designs/providers/ModalProvider/components/Confirm.d.ts +6 -0
- package/dist/src/designs/providers/ModalProvider/components/Confirm.d.ts.map +1 -0
- package/dist/src/designs/providers/ModalProvider/components/Loading.d.ts +6 -0
- package/dist/src/designs/providers/ModalProvider/components/Loading.d.ts.map +1 -0
- package/dist/src/designs/providers/ModalProvider/index.d.ts +10 -0
- package/dist/src/designs/providers/ModalProvider/index.d.ts.map +1 -0
- package/dist/src/{preference/constants.d.ts → enums/dashboard.d.ts} +4 -8
- package/dist/src/enums/dashboard.d.ts.map +1 -0
- package/dist/src/enums/index.d.ts +4 -0
- package/dist/src/enums/index.d.ts.map +1 -0
- package/dist/src/enums/language.d.ts +13 -0
- package/dist/src/enums/language.d.ts.map +1 -0
- package/dist/src/enums/theme.d.ts +107 -0
- package/dist/src/enums/theme.d.ts.map +1 -0
- package/dist/src/hooks/index.d.ts +2 -4
- package/dist/src/hooks/index.d.ts.map +1 -1
- package/dist/src/hooks/preference.d.ts +21 -0
- package/dist/src/hooks/preference.d.ts.map +1 -0
- package/dist/src/icons/animated/accessibility-icon.d.ts +13 -0
- package/dist/src/icons/animated/accessibility-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/airplane-icon.d.ts +9 -0
- package/dist/src/icons/animated/airplane-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/alarm-clock-plus-icon.d.ts +11 -0
- package/dist/src/icons/animated/alarm-clock-plus-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/align-center-icon.d.ts +4 -0
- package/dist/src/icons/animated/align-center-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/align-vertical-space-around-icon.d.ts +4 -0
- package/dist/src/icons/animated/align-vertical-space-around-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/ambulance-icon.d.ts +4 -0
- package/dist/src/icons/animated/ambulance-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/ampersand-icon.d.ts +4 -0
- package/dist/src/icons/animated/ampersand-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/angry-icon.d.ts +4 -0
- package/dist/src/icons/animated/angry-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/annoyed-icon.d.ts +4 -0
- package/dist/src/icons/animated/annoyed-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/apple-brand-logo.d.ts +4 -0
- package/dist/src/icons/animated/apple-brand-logo.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-back-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-back-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-back-up-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-back-up-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-big-down-dash-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-big-down-dash-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-big-down-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-big-down-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-big-left-dash-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-big-left-dash-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-big-left-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-big-left-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-big-right-dash-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-big-right-dash-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-big-right-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-big-right-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-big-up-dash-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-big-up-dash-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-big-up-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-big-up-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-down-0-1-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-down-0-1-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-down-1-0-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-down-1-0-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-down-a-z-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-down-a-z-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-narrow-down-dashed-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-narrow-down-dashed-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-narrow-down-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-narrow-down-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-narrow-left-dashed-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-narrow-left-dashed-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-narrow-left-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-narrow-left-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-narrow-right-dashed-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-narrow-right-dashed-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-narrow-right-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-narrow-right-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-narrow-up-dashed-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-narrow-up-dashed-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/arrow-narrow-up-icon.d.ts +4 -0
- package/dist/src/icons/animated/arrow-narrow-up-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/at-sign-icon.d.ts +4 -0
- package/dist/src/icons/animated/at-sign-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/banana-icon.d.ts +4 -0
- package/dist/src/icons/animated/banana-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/battery-charging-icon.d.ts +4 -0
- package/dist/src/icons/animated/battery-charging-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/battery-icon.d.ts +4 -0
- package/dist/src/icons/animated/battery-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/battery-pause-icon.d.ts +4 -0
- package/dist/src/icons/animated/battery-pause-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/bell-off-icon.d.ts +4 -0
- package/dist/src/icons/animated/bell-off-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/bluetooth-connected-icon.d.ts +4 -0
- package/dist/src/icons/animated/bluetooth-connected-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/book-icon.d.ts +4 -0
- package/dist/src/icons/animated/book-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/bookmark-icon.d.ts +4 -0
- package/dist/src/icons/animated/bookmark-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brain-circuit-icon.d.ts +4 -0
- package/dist/src/icons/animated/brain-circuit-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-aistudio-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-aistudio-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-anthropic-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-anthropic-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-aws-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-aws-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-bags-fm-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-bags-fm-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-chrome-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-chrome-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-cursor-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-cursor-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-gemini-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-gemini-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-google-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-google-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-grok-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-grok-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-lmstudio-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-lmstudio-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-midjourney-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-midjourney-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-nextjs-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-nextjs-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-notion-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-notion-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-ollama-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-ollama-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-openai-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-openai-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-paypal-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-paypal-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-qwen-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-qwen-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-railway-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-railway-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-react-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-react-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-react-native-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-react-native-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-stripe-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-stripe-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-telegram-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-telegram-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-threads-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-threads-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-twitch-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-twitch-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-vercel-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-vercel-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-windows-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-windows-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-wordpress-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-wordpress-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-xai-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-xai-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brand-zoom-icon.d.ts +4 -0
- package/dist/src/icons/animated/brand-zoom-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/brightness-down-icon.d.ts +4 -0
- package/dist/src/icons/animated/brightness-down-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/bug-icon.d.ts +4 -0
- package/dist/src/icons/animated/bug-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/bulb-svg.d.ts +4 -0
- package/dist/src/icons/animated/bulb-svg.d.ts.map +1 -0
- package/dist/src/icons/animated/camera-icon.d.ts +4 -0
- package/dist/src/icons/animated/camera-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/camera-off-icon.d.ts +4 -0
- package/dist/src/icons/animated/camera-off-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/candy-cane-icon.d.ts +4 -0
- package/dist/src/icons/animated/candy-cane-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/cart-icon.d.ts +4 -0
- package/dist/src/icons/animated/cart-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/chart-bar-icon.d.ts +4 -0
- package/dist/src/icons/animated/chart-bar-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/chart-covariate-icon.d.ts +4 -0
- package/dist/src/icons/animated/chart-covariate-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/chart-histogram-icon.d.ts +4 -0
- package/dist/src/icons/animated/chart-histogram-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/chart-line-icon.d.ts +4 -0
- package/dist/src/icons/animated/chart-line-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/chart-pie-icon.d.ts +4 -0
- package/dist/src/icons/animated/chart-pie-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/checked-icon.d.ts +4 -0
- package/dist/src/icons/animated/checked-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/clock-icon.d.ts +4 -0
- package/dist/src/icons/animated/clock-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/cloud-1-icon.d.ts +4 -0
- package/dist/src/icons/animated/cloud-1-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/cloud-2-icon.d.ts +4 -0
- package/dist/src/icons/animated/cloud-2-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/cloud-3-icon.d.ts +4 -0
- package/dist/src/icons/animated/cloud-3-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/code-icon.d.ts +4 -0
- package/dist/src/icons/animated/code-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/code-xml-icon.d.ts +4 -0
- package/dist/src/icons/animated/code-xml-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/coffee-icon.d.ts +4 -0
- package/dist/src/icons/animated/coffee-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/coin-bitcoin-icon.d.ts +4 -0
- package/dist/src/icons/animated/coin-bitcoin-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/copy-icon.d.ts +4 -0
- package/dist/src/icons/animated/copy-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/copy-off-icon.d.ts +4 -0
- package/dist/src/icons/animated/copy-off-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/copyright-icon.d.ts +4 -0
- package/dist/src/icons/animated/copyright-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/cpu-icon.d.ts +4 -0
- package/dist/src/icons/animated/cpu-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/credit-card.d.ts +4 -0
- package/dist/src/icons/animated/credit-card.d.ts.map +1 -0
- package/dist/src/icons/animated/currency-bitcoin-icon.d.ts +4 -0
- package/dist/src/icons/animated/currency-bitcoin-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/currency-dollar-icon.d.ts +4 -0
- package/dist/src/icons/animated/currency-dollar-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/currency-ethereum-icon.d.ts +4 -0
- package/dist/src/icons/animated/currency-ethereum-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/currency-euro-icon.d.ts +4 -0
- package/dist/src/icons/animated/currency-euro-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/currency-rupee-icon.d.ts +4 -0
- package/dist/src/icons/animated/currency-rupee-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/device-airpods-icon.d.ts +4 -0
- package/dist/src/icons/animated/device-airpods-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/dialpad-icon.d.ts +4 -0
- package/dist/src/icons/animated/dialpad-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/dino-icon.d.ts +4 -0
- package/dist/src/icons/animated/dino-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/discord-icon.d.ts +4 -0
- package/dist/src/icons/animated/discord-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/docker-icon.d.ts +4 -0
- package/dist/src/icons/animated/docker-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/dots-horizontal-icon.d.ts +4 -0
- package/dist/src/icons/animated/dots-horizontal-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/dots-vertical-icon.d.ts +4 -0
- package/dist/src/icons/animated/dots-vertical-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/double-check-icon.d.ts +4 -0
- package/dist/src/icons/animated/double-check-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/down-chevron.d.ts +4 -0
- package/dist/src/icons/animated/down-chevron.d.ts.map +1 -0
- package/dist/src/icons/animated/download-icon.d.ts +4 -0
- package/dist/src/icons/animated/download-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/drum-icon.d.ts +4 -0
- package/dist/src/icons/animated/drum-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/expand-icon.d.ts +4 -0
- package/dist/src/icons/animated/expand-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/external-link-icon.d.ts +4 -0
- package/dist/src/icons/animated/external-link-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/eye-icon.d.ts +4 -0
- package/dist/src/icons/animated/eye-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/eye-off-icon.d.ts +4 -0
- package/dist/src/icons/animated/eye-off-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/facebook-icon.d.ts +4 -0
- package/dist/src/icons/animated/facebook-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/figma-icon.d.ts +4 -0
- package/dist/src/icons/animated/figma-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/file-description-icon.d.ts +4 -0
- package/dist/src/icons/animated/file-description-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/filled-bell-icon.d.ts +4 -0
- package/dist/src/icons/animated/filled-bell-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/filled-checked-icon.d.ts +4 -0
- package/dist/src/icons/animated/filled-checked-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/filter-icon.d.ts +4 -0
- package/dist/src/icons/animated/filter-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/flame-icon.d.ts +4 -0
- package/dist/src/icons/animated/flame-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/focus-icon.d.ts +4 -0
- package/dist/src/icons/animated/focus-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/gamepad-icon.d.ts +4 -0
- package/dist/src/icons/animated/gamepad-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/gauge-icon.d.ts +4 -0
- package/dist/src/icons/animated/gauge-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/gear-icon.d.ts +4 -0
- package/dist/src/icons/animated/gear-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/ghost-icon.d.ts +4 -0
- package/dist/src/icons/animated/ghost-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/github-copilot-icon.d.ts +4 -0
- package/dist/src/icons/animated/github-copilot-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/github-icon.d.ts +4 -0
- package/dist/src/icons/animated/github-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/gitlab-icon.d.ts +4 -0
- package/dist/src/icons/animated/gitlab-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/globe-icon.d.ts +4 -0
- package/dist/src/icons/animated/globe-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/gmail-icon.d.ts +4 -0
- package/dist/src/icons/animated/gmail-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/golang-icon.d.ts +4 -0
- package/dist/src/icons/animated/golang-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/hand-heart-icon.d.ts +4 -0
- package/dist/src/icons/animated/hand-heart-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/hashtag-icon.d.ts +4 -0
- package/dist/src/icons/animated/hashtag-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/heart-icon.d.ts +4 -0
- package/dist/src/icons/animated/heart-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/history-circle-icon.d.ts +4 -0
- package/dist/src/icons/animated/history-circle-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/home-icon.d.ts +4 -0
- package/dist/src/icons/animated/home-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/hotel-icon.d.ts +4 -0
- package/dist/src/icons/animated/hotel-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/index.d.ts +267 -0
- package/dist/src/icons/animated/index.d.ts.map +1 -0
- package/dist/src/icons/animated/info-circle-icon.d.ts +4 -0
- package/dist/src/icons/animated/info-circle-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/instagram-icon.d.ts +4 -0
- package/dist/src/icons/animated/instagram-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/javascript-icon.d.ts +4 -0
- package/dist/src/icons/animated/javascript-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/keyframes-icon.d.ts +4 -0
- package/dist/src/icons/animated/keyframes-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/layers-icon.d.ts +4 -0
- package/dist/src/icons/animated/layers-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/layout-bottombar-collapse-icon.d.ts +4 -0
- package/dist/src/icons/animated/layout-bottombar-collapse-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/layout-dashboard-icon.d.ts +4 -0
- package/dist/src/icons/animated/layout-dashboard-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/layout-sidebar-right-collapse-icon.d.ts +4 -0
- package/dist/src/icons/animated/layout-sidebar-right-collapse-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/layout-sidebar-right-icon.d.ts +4 -0
- package/dist/src/icons/animated/layout-sidebar-right-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-a-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-a-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-b-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-b-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-c-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-c-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-d-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-d-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-e-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-e-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-f-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-f-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-g-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-g-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-h-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-h-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-i-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-i-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-j-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-j-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-k-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-k-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-l-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-l-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-m-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-m-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-n-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-n-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-o-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-o-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-p-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-p-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-q-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-q-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-r-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-r-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-s-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-s-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-t-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-t-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-u-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-u-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-v-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-v-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-w-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-w-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-x-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-x-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-y-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-y-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/letter-z-icon.d.ts +4 -0
- package/dist/src/icons/animated/letter-z-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/library-icon.d.ts +4 -0
- package/dist/src/icons/animated/library-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/like-icon.d.ts +4 -0
- package/dist/src/icons/animated/like-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/link-icon.d.ts +4 -0
- package/dist/src/icons/animated/link-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/linkedin-icon.d.ts +4 -0
- package/dist/src/icons/animated/linkedin-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/locate-icon.d.ts +4 -0
- package/dist/src/icons/animated/locate-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/lock-icon.d.ts +4 -0
- package/dist/src/icons/animated/lock-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/logout-icon.d.ts +4 -0
- package/dist/src/icons/animated/logout-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/magnifier-icon.d.ts +4 -0
- package/dist/src/icons/animated/magnifier-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/mail-filled-icon.d.ts +4 -0
- package/dist/src/icons/animated/mail-filled-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/map-pin-icon.d.ts +4 -0
- package/dist/src/icons/animated/map-pin-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/meh-icon.d.ts +4 -0
- package/dist/src/icons/animated/meh-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/message-circle-icon.d.ts +4 -0
- package/dist/src/icons/animated/message-circle-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/moon-icon.d.ts +4 -0
- package/dist/src/icons/animated/moon-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/mouse-pointer-2-icon.d.ts +4 -0
- package/dist/src/icons/animated/mouse-pointer-2-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/mysql-icon.d.ts +4 -0
- package/dist/src/icons/animated/mysql-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/nodejs-icon.d.ts +4 -0
- package/dist/src/icons/animated/nodejs-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/paint-icon.d.ts +4 -0
- package/dist/src/icons/animated/paint-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/party-popper-icon.d.ts +4 -0
- package/dist/src/icons/animated/party-popper-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/passport-icon.d.ts +4 -0
- package/dist/src/icons/animated/passport-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/paw-print-icon.d.ts +4 -0
- package/dist/src/icons/animated/paw-print-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/pen-icon.d.ts +4 -0
- package/dist/src/icons/animated/pen-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/phone-volume.d.ts +4 -0
- package/dist/src/icons/animated/phone-volume.d.ts.map +1 -0
- package/dist/src/icons/animated/pinterest-icon.d.ts +4 -0
- package/dist/src/icons/animated/pinterest-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/player-icon.d.ts +4 -0
- package/dist/src/icons/animated/player-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/plug-connected-icon.d.ts +4 -0
- package/dist/src/icons/animated/plug-connected-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/plug-connected-x-icon.d.ts +4 -0
- package/dist/src/icons/animated/plug-connected-x-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/python-icon.d.ts +4 -0
- package/dist/src/icons/animated/python-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/qrcode-icon.d.ts +4 -0
- package/dist/src/icons/animated/qrcode-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/question-mark.d.ts +4 -0
- package/dist/src/icons/animated/question-mark.d.ts.map +1 -0
- package/dist/src/icons/animated/radio-icon.d.ts +4 -0
- package/dist/src/icons/animated/radio-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/rainbow-icon.d.ts +4 -0
- package/dist/src/icons/animated/rainbow-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/refresh-icon.d.ts +4 -0
- package/dist/src/icons/animated/refresh-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/right-chevron.d.ts +4 -0
- package/dist/src/icons/animated/right-chevron.d.ts.map +1 -0
- package/dist/src/icons/animated/rocket-icon.d.ts +4 -0
- package/dist/src/icons/animated/rocket-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/rosette-discount-check-icon.d.ts +4 -0
- package/dist/src/icons/animated/rosette-discount-check-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/rosette-discount-icon.d.ts +4 -0
- package/dist/src/icons/animated/rosette-discount-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/router-icon.d.ts +4 -0
- package/dist/src/icons/animated/router-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/satellite-dish-icon.d.ts +4 -0
- package/dist/src/icons/animated/satellite-dish-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/save-icon.d.ts +4 -0
- package/dist/src/icons/animated/save-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/scan-barcode-icon.d.ts +4 -0
- package/dist/src/icons/animated/scan-barcode-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/scan-heart-icon.d.ts +4 -0
- package/dist/src/icons/animated/scan-heart-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/send-horizontal-icon.d.ts +4 -0
- package/dist/src/icons/animated/send-horizontal-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/send-icon.d.ts +4 -0
- package/dist/src/icons/animated/send-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/shield-check.d.ts +4 -0
- package/dist/src/icons/animated/shield-check.d.ts.map +1 -0
- package/dist/src/icons/animated/shopping-cart-icon.d.ts +4 -0
- package/dist/src/icons/animated/shopping-cart-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/simple-checked-icon.d.ts +4 -0
- package/dist/src/icons/animated/simple-checked-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/skull-emoji.d.ts +4 -0
- package/dist/src/icons/animated/skull-emoji.d.ts.map +1 -0
- package/dist/src/icons/animated/slack-icon.d.ts +4 -0
- package/dist/src/icons/animated/slack-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/sliders-horizontal-icon.d.ts +4 -0
- package/dist/src/icons/animated/sliders-horizontal-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/snapchat-icon.d.ts +4 -0
- package/dist/src/icons/animated/snapchat-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/soup-icon.d.ts +4 -0
- package/dist/src/icons/animated/soup-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/sparkles-icon.d.ts +4 -0
- package/dist/src/icons/animated/sparkles-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/spotify-icon.d.ts +4 -0
- package/dist/src/icons/animated/spotify-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/stack-3-icon.d.ts +4 -0
- package/dist/src/icons/animated/stack-3-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/stack-icon.d.ts +4 -0
- package/dist/src/icons/animated/stack-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/star-icon.d.ts +4 -0
- package/dist/src/icons/animated/star-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/subscript-icon.d.ts +4 -0
- package/dist/src/icons/animated/subscript-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/target-icon.d.ts +4 -0
- package/dist/src/icons/animated/target-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/telephone-icon.d.ts +4 -0
- package/dist/src/icons/animated/telephone-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/terminal-icon.d.ts +4 -0
- package/dist/src/icons/animated/terminal-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/toggle-icon.d.ts +4 -0
- package/dist/src/icons/animated/toggle-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/trash-icon.d.ts +9 -0
- package/dist/src/icons/animated/trash-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/travel-bag.d.ts +4 -0
- package/dist/src/icons/animated/travel-bag.d.ts.map +1 -0
- package/dist/src/icons/animated/triangle-alert-icon.d.ts +4 -0
- package/dist/src/icons/animated/triangle-alert-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/trophy-icon.d.ts +4 -0
- package/dist/src/icons/animated/trophy-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/truck-electric-icon.d.ts +4 -0
- package/dist/src/icons/animated/truck-electric-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/twitter-icon.d.ts +4 -0
- package/dist/src/icons/animated/twitter-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/twitter-x-icon.d.ts +4 -0
- package/dist/src/icons/animated/twitter-x-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/types.d.ts +33 -0
- package/dist/src/icons/animated/types.d.ts.map +1 -0
- package/dist/src/icons/animated/typescript-icon.d.ts +4 -0
- package/dist/src/icons/animated/typescript-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/unlink-icon.d.ts +4 -0
- package/dist/src/icons/animated/unlink-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/unordered-list-icon.d.ts +4 -0
- package/dist/src/icons/animated/unordered-list-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/upload-icon.d.ts +4 -0
- package/dist/src/icons/animated/upload-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/useAnimatedIconTrigger.d.ts +8 -0
- package/dist/src/icons/animated/useAnimatedIconTrigger.d.ts.map +1 -0
- package/dist/src/icons/animated/user-check-icon.d.ts +4 -0
- package/dist/src/icons/animated/user-check-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/user-icon.d.ts +4 -0
- package/dist/src/icons/animated/user-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/user-plus-icon.d.ts +4 -0
- package/dist/src/icons/animated/user-plus-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/users-group-icon.d.ts +4 -0
- package/dist/src/icons/animated/users-group-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/users-icon.d.ts +4 -0
- package/dist/src/icons/animated/users-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/vinyl-icon.d.ts +4 -0
- package/dist/src/icons/animated/vinyl-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/volume-2-icon.d.ts +4 -0
- package/dist/src/icons/animated/volume-2-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/volume-x-icon.d.ts +4 -0
- package/dist/src/icons/animated/volume-x-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/wallet-icon.d.ts +4 -0
- package/dist/src/icons/animated/wallet-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/washing-machine-icon.d.ts +4 -0
- package/dist/src/icons/animated/washing-machine-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/whatsapp-icon.d.ts +4 -0
- package/dist/src/icons/animated/whatsapp-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/wifi-icon.d.ts +4 -0
- package/dist/src/icons/animated/wifi-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/wifi-off-icon.d.ts +4 -0
- package/dist/src/icons/animated/wifi-off-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/world-icon.d.ts +4 -0
- package/dist/src/icons/animated/world-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/x-icon.d.ts +4 -0
- package/dist/src/icons/animated/x-icon.d.ts.map +1 -0
- package/dist/src/icons/animated/youtube-icon.d.ts +4 -0
- package/dist/src/icons/animated/youtube-icon.d.ts.map +1 -0
- package/dist/src/icons/index.d.ts +1 -0
- package/dist/src/icons/index.d.ts.map +1 -1
- package/dist/src/icons/lucide.d.ts +1 -1
- package/dist/src/icons/lucide.d.ts.map +1 -1
- package/dist/src/languages/hooks/index.d.ts +1 -1
- package/dist/src/languages/hooks/index.d.ts.map +1 -1
- package/dist/src/languages/hooks/useLanguageLabel.d.ts +8 -7
- package/dist/src/languages/hooks/useLanguageLabel.d.ts.map +1 -1
- package/dist/src/languages/hooks/usePreferenceLabel.d.ts +1 -1
- package/dist/src/languages/hooks/usePreferenceLabel.d.ts.map +1 -1
- package/dist/src/languages/hooks/useThemeLabel.d.ts +4 -5
- package/dist/src/languages/hooks/useThemeLabel.d.ts.map +1 -1
- package/dist/src/languages/index.d.ts +0 -2
- package/dist/src/languages/index.d.ts.map +1 -1
- package/dist/src/languages/languages/i18n.d.ts +4 -7
- package/dist/src/languages/languages/i18n.d.ts.map +1 -1
- package/dist/src/languages/languages/i18nResources.d.ts +1 -1
- package/dist/src/languages/languages/i18nResources.d.ts.map +1 -1
- package/dist/src/languages/resources/index.d.ts +2 -2
- package/dist/src/languages/types/components.d.ts +1 -24
- package/dist/src/languages/types/components.d.ts.map +1 -1
- package/dist/src/languages/types/i18n.d.ts +1 -4
- package/dist/src/languages/types/i18n.d.ts.map +1 -1
- package/dist/src/languages/types/language.d.ts +2 -11
- package/dist/src/languages/types/language.d.ts.map +1 -1
- package/dist/src/languages/utils/getLocalLanguage.d.ts +1 -1
- package/dist/src/languages/utils/getLocalLanguage.d.ts.map +1 -1
- package/dist/src/languages/utils/languageStorage.d.ts +2 -3
- package/dist/src/languages/utils/languageStorage.d.ts.map +1 -1
- package/dist/src/providers/LanguageProvider/index.d.ts +19 -0
- package/dist/src/providers/LanguageProvider/index.d.ts.map +1 -0
- package/dist/src/providers/ThemeProvider/index.d.ts +17 -0
- package/dist/src/providers/ThemeProvider/index.d.ts.map +1 -0
- package/dist/src/providers/index.d.ts +7 -0
- package/dist/src/providers/index.d.ts.map +1 -0
- package/dist/src/stores/index.d.ts +4 -0
- package/dist/src/stores/index.d.ts.map +1 -1
- package/dist/src/stores/layout.d.ts +41 -0
- package/dist/src/stores/layout.d.ts.map +1 -0
- package/dist/src/stores/makeStore.d.ts +1 -1
- package/dist/src/stores/modal.d.ts +67 -0
- package/dist/src/stores/modal.d.ts.map +1 -0
- package/dist/src/stores/preference.d.ts +52 -0
- package/dist/src/stores/preference.d.ts.map +1 -0
- package/dist/src/themes/fonts.d.ts +21 -0
- package/dist/src/themes/fonts.d.ts.map +1 -0
- package/dist/src/themes/hooks/index.d.ts +1 -3
- package/dist/src/themes/hooks/index.d.ts.map +1 -1
- package/dist/src/themes/hooks/useTheme.d.ts +25 -9
- package/dist/src/themes/hooks/useTheme.d.ts.map +1 -1
- package/dist/src/themes/index.d.ts +3 -4
- package/dist/src/themes/index.d.ts.map +1 -1
- package/dist/src/themes/radix/index.d.ts +2 -0
- package/dist/src/themes/radix/index.d.ts.map +1 -0
- package/dist/src/themes/radix/mappings.d.ts +39 -0
- package/dist/src/themes/radix/mappings.d.ts.map +1 -0
- package/dist/src/themes/types/components.d.ts +1 -24
- package/dist/src/themes/types/components.d.ts.map +1 -1
- package/dist/src/themes/types/context.d.ts +6 -12
- package/dist/src/themes/types/context.d.ts.map +1 -1
- package/dist/src/themes/types/index.d.ts +1 -6
- package/dist/src/themes/types/index.d.ts.map +1 -1
- package/dist/src/themes/types/theme.d.ts +15 -26
- package/dist/src/themes/types/theme.d.ts.map +1 -1
- package/dist/src/utils/factory/hooks.d.ts +44 -0
- package/dist/src/utils/factory/hooks.d.ts.map +1 -0
- package/dist/src/utils/factory/index.d.ts +2 -0
- package/dist/src/utils/factory/index.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/safe.d.ts +4 -0
- package/dist/src/utils/safe.d.ts.map +1 -1
- package/dist/stores.cjs +1 -4
- package/dist/stores.mjs +32 -164
- package/dist/themes.cjs +2 -4
- package/dist/themes.mjs +27 -1473
- package/dist/types.cjs +0 -1
- package/dist/types.mjs +0 -1
- package/dist/utils.cjs +1 -2
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.mjs +163 -181
- package/dist/utils.mjs.map +1 -1
- package/package.json +101 -43
- package/dist/chunk-BounceLoading-C-gq-XVr.mjs +0 -241
- package/dist/chunk-BounceLoading-C-gq-XVr.mjs.map +0 -1
- package/dist/chunk-BounceLoading-CkxvzNz8.cjs +0 -11
- package/dist/chunk-BounceLoading-CkxvzNz8.cjs.map +0 -1
- package/dist/chunk-animations-CiJbVYGC.mjs +0 -741
- package/dist/chunk-animations-CiJbVYGC.mjs.map +0 -1
- package/dist/chunk-animations-i85rn79V.cjs +0 -3
- package/dist/chunk-animations-i85rn79V.cjs.map +0 -1
- package/dist/chunk-chunk-D-Fg7nx1.cjs +0 -1
- package/dist/chunk-i18n-2-xL4pEi.cjs +0 -3
- package/dist/chunk-i18n-2-xL4pEi.cjs.map +0 -1
- package/dist/chunk-i18n-DgaoEbGL.mjs +0 -214
- package/dist/chunk-i18n-DgaoEbGL.mjs.map +0 -1
- package/dist/chunk-language-2r4uKROB.cjs +0 -3
- package/dist/chunk-language-2r4uKROB.cjs.map +0 -1
- package/dist/chunk-language-JRs5UIa2.mjs +0 -11
- package/dist/chunk-language-JRs5UIa2.mjs.map +0 -1
- package/dist/chunk-layout-BEAgFhif.mjs +0 -11
- package/dist/chunk-layout-BEAgFhif.mjs.map +0 -1
- package/dist/chunk-layout-mMQXuBLE.cjs +0 -3
- package/dist/chunk-layout-mMQXuBLE.cjs.map +0 -1
- package/dist/chunk-lucide-B99NZWfa.mjs +0 -158
- package/dist/chunk-lucide-B99NZWfa.mjs.map +0 -1
- package/dist/chunk-lucide-XL6d5__j.cjs +0 -3
- package/dist/chunk-lucide-XL6d5__j.cjs.map +0 -1
- package/dist/chunk-preference-DMhhY1Pl.mjs +0 -60
- package/dist/chunk-preference-DMhhY1Pl.mjs.map +0 -1
- package/dist/chunk-preference-DbNgeGhx.cjs +0 -3
- package/dist/chunk-preference-DbNgeGhx.cjs.map +0 -1
- package/dist/chunk-theme-CINVDd47.mjs +0 -17
- package/dist/chunk-theme-CINVDd47.mjs.map +0 -1
- package/dist/chunk-theme-D49XQfXe.cjs +0 -3
- package/dist/chunk-theme-D49XQfXe.cjs.map +0 -1
- package/dist/chunk-useLayout-BAIFfydj.cjs +0 -3
- package/dist/chunk-useLayout-BAIFfydj.cjs.map +0 -1
- package/dist/chunk-useLayout-BXsJlpcb.mjs +0 -12
- package/dist/chunk-useLayout-BXsJlpcb.mjs.map +0 -1
- package/dist/chunk-useTheme-BY1_pW9y.mjs +0 -13
- package/dist/chunk-useTheme-BY1_pW9y.mjs.map +0 -1
- package/dist/chunk-useTheme-Tw_7_cQf.cjs +0 -3
- package/dist/chunk-useTheme-Tw_7_cQf.cjs.map +0 -1
- package/dist/hooks.cjs.map +0 -1
- package/dist/hooks.mjs.map +0 -1
- package/dist/pixel-blast.cjs.map +0 -1
- package/dist/pixel-blast.mjs.map +0 -1
- package/dist/preference.cjs +0 -2
- package/dist/preference.mjs +0 -10
- package/dist/src/designs/components/Button/index.d.ts +0 -32
- package/dist/src/designs/components/Button/index.d.ts.map +0 -1
- package/dist/src/designs/components/Dropdown/index.d.ts +0 -25
- package/dist/src/designs/components/Dropdown/index.d.ts.map +0 -1
- package/dist/src/designs/components/Input/index.d.ts +0 -35
- package/dist/src/designs/components/Input/index.d.ts.map +0 -1
- package/dist/src/designs/components/KeyValueEditor/index.d.ts +0 -44
- package/dist/src/designs/components/KeyValueEditor/index.d.ts.map +0 -1
- package/dist/src/designs/components/SearchInput/index.d.ts +0 -15
- package/dist/src/designs/components/SearchInput/index.d.ts.map +0 -1
- package/dist/src/designs/components/ShowFilter/index.d.ts +0 -40
- package/dist/src/designs/components/ShowFilter/index.d.ts.map +0 -1
- package/dist/src/designs/components/SlideDownSwitcher/index.d.ts +0 -17
- package/dist/src/designs/components/SlideDownSwitcher/index.d.ts.map +0 -1
- package/dist/src/designs/components/Slider/index.d.ts +0 -39
- package/dist/src/designs/components/Slider/index.d.ts.map +0 -1
- package/dist/src/designs/components/Textarea/index.d.ts +0 -33
- package/dist/src/designs/components/Textarea/index.d.ts.map +0 -1
- package/dist/src/hooks/makeCursorFetchFunction.d.ts +0 -85
- package/dist/src/hooks/makeCursorFetchFunction.d.ts.map +0 -1
- package/dist/src/hooks/makeUnifiedInfiniteQuery.d.ts +0 -125
- package/dist/src/hooks/makeUnifiedInfiniteQuery.d.ts.map +0 -1
- package/dist/src/hooks/makeUnifiedQuery.d.ts +0 -20
- package/dist/src/hooks/makeUnifiedQuery.d.ts.map +0 -1
- package/dist/src/hooks/type.d.ts +0 -41
- package/dist/src/hooks/type.d.ts.map +0 -1
- package/dist/src/languages/providers/index.d.ts +0 -8
- package/dist/src/languages/providers/index.d.ts.map +0 -1
- package/dist/src/preference/constants.d.ts.map +0 -1
- package/dist/src/preference/core.d.ts +0 -12
- package/dist/src/preference/core.d.ts.map +0 -1
- package/dist/src/preference/index.d.ts +0 -27
- package/dist/src/preference/index.d.ts.map +0 -1
- package/dist/src/preference/nfx_slice.d.ts +0 -24
- package/dist/src/preference/nfx_slice.d.ts.map +0 -1
- package/dist/src/preference/types.d.ts +0 -28
- package/dist/src/preference/types.d.ts.map +0 -1
- package/dist/src/themes/hooks/useBaseVariables.d.ts +0 -8
- package/dist/src/themes/hooks/useBaseVariables.d.ts.map +0 -1
- package/dist/src/themes/hooks/useThemeVariables.d.ts +0 -11
- package/dist/src/themes/hooks/useThemeVariables.d.ts.map +0 -1
- package/dist/src/themes/hooks/useVariables.d.ts +0 -8
- package/dist/src/themes/hooks/useVariables.d.ts.map +0 -1
- package/dist/src/themes/providers/index.d.ts +0 -8
- package/dist/src/themes/providers/index.d.ts.map +0 -1
- package/dist/src/themes/themes/bases/android.d.ts +0 -5
- package/dist/src/themes/themes/bases/android.d.ts.map +0 -1
- package/dist/src/themes/themes/bases/default.d.ts +0 -6
- package/dist/src/themes/themes/bases/default.d.ts.map +0 -1
- package/dist/src/themes/themes/bases/index.d.ts +0 -9
- package/dist/src/themes/themes/bases/index.d.ts.map +0 -1
- package/dist/src/themes/themes/bases/ios.d.ts +0 -5
- package/dist/src/themes/themes/bases/ios.d.ts.map +0 -1
- package/dist/src/themes/themes/bases/linux.d.ts +0 -5
- package/dist/src/themes/themes/bases/linux.d.ts.map +0 -1
- package/dist/src/themes/themes/bases/windows.d.ts +0 -5
- package/dist/src/themes/themes/bases/windows.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/coffee.d.ts +0 -8
- package/dist/src/themes/themes/colors/coffee.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/corporate.d.ts +0 -8
- package/dist/src/themes/themes/colors/corporate.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/cosmic.d.ts +0 -8
- package/dist/src/themes/themes/colors/cosmic.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/dark.d.ts +0 -8
- package/dist/src/themes/themes/colors/dark.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/default.d.ts +0 -8
- package/dist/src/themes/themes/colors/default.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/forest.d.ts +0 -8
- package/dist/src/themes/themes/colors/forest.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/index.d.ts +0 -14
- package/dist/src/themes/themes/colors/index.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/light.d.ts +0 -8
- package/dist/src/themes/themes/colors/light.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/wheat.d.ts +0 -8
- package/dist/src/themes/themes/colors/wheat.d.ts.map +0 -1
- package/dist/src/themes/themes/colors/wine.d.ts +0 -8
- package/dist/src/themes/themes/colors/wine.d.ts.map +0 -1
- package/dist/src/themes/themes/index.d.ts +0 -3
- package/dist/src/themes/themes/index.d.ts.map +0 -1
- package/dist/src/themes/utils/index.d.ts +0 -5
- package/dist/src/themes/utils/index.d.ts.map +0 -1
- package/dist/src/themes/utils/themeStorage.d.ts +0 -12
- package/dist/src/themes/utils/themeStorage.d.ts.map +0 -1
- package/dist/stores.cjs.map +0 -1
- package/dist/stores.mjs.map +0 -1
- package/dist/themes.cjs.map +0 -1
- package/dist/themes.mjs.map +0 -1
package/dist/components.mjs
CHANGED
|
@@ -1,1105 +1,693 @@
|
|
|
1
|
-
(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.styles-module__loading___bgEAk{justify-content:center;align-items:center;display:inline-flex}.styles-module__loading___bgEAk svg polyline{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.styles-module__loading___bgEAk svg polyline.styles-module__back___XLPvD{fill:none;stroke:var(--color-primary-alpha)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary);stroke-dasharray:48 144;stroke-dashoffset:192px;animation:1.4s linear infinite styles-module__dash_682___AQzo6}@keyframes styles-module__dash_682___AQzo6{72.5%{opacity:0}to{stroke-dashoffset:0}}.styles-module__loader___E7OIM{justify-content:center;align-items:center;width:fit-content;height:fit-content;display:flex}.styles-module__truckWrapper___Sk4zX{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow-x:hidden}.styles-module__truckBody___j7w2C{width:65%;height:fit-content;margin-bottom:6px;animation:1s linear infinite styles-module__motion___IiNlW}@keyframes styles-module__motion___IiNlW{0%{transform:translateY(0)}50%{transform:translateY(3px)}to{transform:translateY(0)}}.styles-module__truckTires___4ncTl{justify-content:space-between;align-items:center;width:65%;height:fit-content;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.styles-module__tiresvg___IBQcN{width:24px}.styles-module__road___sxx-E{background-color:var(--color-fg-heading);border-radius:var(--radius-button);align-self:flex-end;width:100%;height:1.5px;position:relative;bottom:0}.styles-module__road___sxx-E:before{content:"";background-color:var(--color-fg-heading);border-radius:var(--radius-button);border-left:10px solid var(--color-bg);width:20px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-50%}.styles-module__road___sxx-E:after{content:"";background-color:var(--color-fg-heading);border-radius:var(--radius-button);border-left:4px solid var(--color-bg);width:10px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-65%}.styles-module__lampPost___okcN5{height:45%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;bottom:0;right:-90%}@keyframes styles-module__roadAnimation___yvrHP{0%{transform:translate(0)}to{transform:translate(-350px)}}.styles-module__loader___pFUzL{justify-content:center;align-items:center;display:inline-flex;position:relative}.styles-module__loader___pFUzL:before{content:"";background:var(--color-primary);opacity:.3;border-radius:50%;width:100%;height:5px;animation:.5s linear infinite styles-module__shadow324___sutUe;position:absolute;top:calc(100% + 12px);left:0}.styles-module__loader___pFUzL:after{content:"";background:var(--color-primary);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__square___GKjhm:after{border-radius:var(--radius-button);animation:.5s linear infinite styles-module__jump7456Square___Z-D9b}.styles-module__circle___bUpSN:after{border-radius:50%;animation:.5s linear infinite styles-module__jump7456Circle___2AfF7}@keyframes styles-module__jump7456Square___Z-D9b{15%{border-bottom-right-radius:3px}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__jump7456Circle___2AfF7{15%{border-bottom-right-radius:50%}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__shadow324___sutUe{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}.style-module__waves___oR3u7{width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0;overflow:hidden}.style-module__waves___oR3u7:before{content:"";background:var(--color-bg);width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;border-radius:50%;position:absolute;top:0;left:0}.style-module__wavesCanvas___zkhTC{width:100%;height:100%;display:block}.style-module__squaresCanvas___22kMc{border:none;width:100%;height:100%;display:block}.style-module__container___HkxIe{background-color:var(--color-bg);width:100%;height:100%;position:relative;overflow:hidden}.style-module__canvas___MR9JX{width:100%;height:100%;display:block}.style-module__outerVignette___i75nw{pointer-events:none;background:radial-gradient(circle,#0000 60%,#000 100%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__centerVignette___n9uVG{pointer-events:none;background:radial-gradient(circle,#000c 0%,#0000 60%);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__button___RbliA{border-radius:var(--radius-button);cursor:pointer;border:1px solid #0000;outline:none;justify-content:center;align-items:center;gap:.5rem;font-family:inherit;font-weight:500;transition:all .2s;display:inline-flex;position:relative}.styles-module__button___RbliA:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.styles-module__button___RbliA:disabled{cursor:not-allowed;opacity:.6}.styles-module__button___RbliA.styles-module__small___yK0Yp{min-height:2rem;padding:.5rem 1rem;font-size:.8125rem}.styles-module__button___RbliA.styles-module__medium___eBTch{min-height:2.5rem;padding:.75rem 1.5rem;font-size:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl{min-height:3rem;padding:1rem 2rem;font-size:1rem}.styles-module__button___RbliA.styles-module__primary___qsZpA{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__button___RbliA.styles-module__primary___qsZpA:hover:not(:disabled){background:var(--color-primary-light);border-color:var(--color-primary-light);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__primary___qsZpA:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__secondary___SCpPv{background:var(--color-bg-2);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__button___RbliA.styles-module__secondary___SCpPv:hover:not(:disabled){background:var(--color-bg-3);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__outline___rrlk9{border-color:var(--color-border-4);color:var(--color-fg-text);background:0 0}.styles-module__button___RbliA.styles-module__outline___rrlk9:hover:not(:disabled){background:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__button___RbliA.styles-module__ghost___QMoiH{color:var(--color-fg-text);background:0 0;border-color:#0000}.styles-module__button___RbliA.styles-module__ghost___QMoiH:hover:not(:disabled){background:var(--color-bg-2)}.styles-module__button___RbliA.styles-module__danger___MW-pg{background:var(--color-danger);border-color:var(--color-danger);color:var(--color-danger-fg,#fff)}.styles-module__button___RbliA.styles-module__danger___MW-pg:hover:not(:disabled){background:var(--color-danger-light);border-color:var(--color-danger-light);color:var(--color-danger-fg,#fff);transform:translateY(-1px)}.styles-module__button___RbliA.styles-module__danger___MW-pg:active:not(:disabled){transform:translateY(0)}.styles-module__button___RbliA.styles-module__fullWidth___-dXBR{width:100%}.styles-module__button___RbliA.styles-module__loading___UWw6V{pointer-events:none}.styles-module__spinner___KpJ-L{border:2px solid;border-top-color:#0000;border-radius:50%;flex-shrink:0;width:1rem;height:1rem;animation:.6s linear infinite styles-module__spin___ntZKM}@keyframes styles-module__spin___ntZKM{to{transform:rotate(360deg)}}.styles-module__button___RbliA.styles-module__small___yK0Yp .styles-module__spinner___KpJ-L{border-width:1.5px;width:.875rem;height:.875rem}.styles-module__button___RbliA.styles-module__large___pIZkl .styles-module__spinner___KpJ-L{border-width:2.5px;width:1.25rem;height:1.25rem}.styles-module__content___oyZRO{align-items:center;display:flex}.styles-module__leftIcon___cDktv,.styles-module__rightIcon___1mpk0{flex-shrink:0;align-items:center;display:flex}.styles-module__leftIcon___cDktv{margin-right:-.25rem}.styles-module__rightIcon___1mpk0{margin-left:-.25rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U{aspect-ratio:1;min-width:2.5rem;min-height:2.5rem;padding:0}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__small___yK0Yp{min-width:2rem;min-height:2rem}.styles-module__button___RbliA.styles-module__iconOnly___iOv-U.styles-module__large___pIZkl{min-width:3rem;min-height:3rem}.styles-module__iconContainer___bwvE3{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.styles-module__layout___WaGy9{flex-direction:column;justify-content:center;align-items:center;gap:.25rem;width:100%;display:flex}.styles-module__horizontal___lKpGq{justify-content:center;align-items:center;gap:.5rem;width:100%;display:flex}.styles-module__topIcon___bzw6s,.styles-module__bottomIcon___suPfa{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__leftIcon___cDktv,.styles-module__iconOnly___iOv-U .styles-module__iconContainer___bwvE3 .styles-module__rightIcon___1mpk0{margin:0}.Dropdown-module__dropdown___c9wIp{width:100%;display:inline-block;position:relative}.Dropdown-module__dropdownButton___suNh-{border:1px solid var(--color-separator);border-radius:var(--radius-card);cursor:pointer;text-align:left;background:var(--color-bg-2);width:100%;color:var(--color-fg-text);outline:none;justify-content:space-between;align-items:center;padding:.75rem 2.5rem .75rem 1rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5rem;transition:all .2s ease-in-out;display:flex;position:relative}.Dropdown-module__dropdownButton___suNh-:hover:not(:disabled){border-color:var(--color-primary);background:var(--color-bg-1)}.Dropdown-module__dropdownButton___suNh-:focus{border-color:var(--color-primary);background:var(--color-bg-1);box-shadow:0 0 0 2px var(--color-primary-transparent)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__disabled___Rz0pX{cursor:not-allowed;opacity:.6;background:var(--color-bg-3)}.Dropdown-module__dropdownButton___suNh-.Dropdown-module__error___F7dDu{border-color:var(--color-danger)}.Dropdown-module__buttonText___D2zxn{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.Dropdown-module__chevronIcon___uyawp{color:var(--color-fg-highlight);flex-shrink:0;transition:transform .15s;position:absolute;right:1rem}.Dropdown-module__chevronIcon___uyawp.Dropdown-module__open___APoXd{transform:rotate(180deg)}.Dropdown-module__dropdownMenu___WJ-QO{background:var(--color-bg);border:1px solid var(--color-border-4);border-radius:var(--radius-card);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;animation:.15s ease-out Dropdown-module__slideDown___sRCmO;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}@keyframes Dropdown-module__slideDown___sRCmO{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}.Dropdown-module__optionsList___Be6RN{margin:0;padding:.5rem 0;list-style:none}.Dropdown-module__option___q-NgT{cursor:pointer;color:var(--color-fg-text);align-items:center;padding:.75rem 1rem;font-size:.875rem;transition:all .15s;display:flex}.Dropdown-module__option___q-NgT:hover{background-color:var(--color-bg-2)}.Dropdown-module__option___q-NgT.Dropdown-module__selected___-OTW-{background-color:var(--color-bg-3);color:var(--color-fg-highlight);font-weight:600}@media (width<=768px){.Dropdown-module__dropdownButton___suNh-{padding:.625rem 2.25rem .625rem .875rem;font-size:.875rem}.Dropdown-module__chevronIcon___uyawp{right:.875rem}.Dropdown-module__option___q-NgT{padding:.625rem .875rem;font-size:.8125rem}}.styles-module__wrapper___COeGm{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___COeGm.styles-module__fullWidth___lVU49{width:100%}.styles-module__label___gfOA7{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___-zOy5{color:var(--color-danger)}.styles-module__inputContainer___wXY53{align-items:center;width:100%;display:flex;position:relative}.styles-module__input___IZDc3{border:1px solid var(--color-border-4);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);outline:none;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__input___IZDc3[type=password]::-webkit-credentials-auto-fill-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-webkit-strong-password-toggle-button{visibility:hidden!important;opacity:0!important;pointer-events:none!important;appearance:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-reveal{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3[type=password]::-ms-clear{visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important;position:absolute!important;left:-9999px!important}.styles-module__input___IZDc3:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), .1)}.styles-module__input___IZDc3::placeholder{color:var(--color-fg-muted);opacity:.5}.styles-module__input___IZDc3.styles-module__small___cuGyE{padding:.5rem .75rem;font-size:.8125rem}.styles-module__input___IZDc3.styles-module__medium___JdDPu{padding:.75rem;font-size:.875rem}.styles-module__input___IZDc3.styles-module__large___fMmiG{padding:1rem;font-size:1rem}.styles-module__input___IZDc3.styles-module__default___-eZTG{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__input___IZDc3.styles-module__filled___EQ5PQ{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3{padding-left:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3{padding-right:2.5rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-left:2rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__small___cuGyE{padding-right:2rem}.styles-module__inputContainer___wXY53.styles-module__withLeftIcon___NFn6- .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-left:3rem}.styles-module__inputContainer___wXY53.styles-module__withRightIcon___mz-hn .styles-module__input___IZDc3.styles-module__large___fMmiG{padding-right:3rem}.styles-module__leftIcon___jEW5H,.styles-module__rightIcon___bA3Eo{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute}.styles-module__leftIcon___jEW5H{left:.75rem}.styles-module__rightIcon___bA3Eo{right:.75rem}.styles-module__rightIcon___bA3Eo.styles-module__rightIconInteractive___ccypw{pointer-events:auto}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__leftIcon___jEW5H{left:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerSmall___20ICq .styles-module__rightIcon___bA3Eo{right:.5rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__leftIcon___jEW5H{left:1rem}.styles-module__inputContainer___wXY53.styles-module__containerLarge___IztuN .styles-module__rightIcon___bA3Eo{right:1rem}.styles-module__input___IZDc3.styles-module__error___946qV{border-color:var(--color-danger)}.styles-module__input___IZDc3.styles-module__error___946qV:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb), .1)}.styles-module__input___IZDc3.styles-module__disabled___sJvLd{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorMessage___5Mn22{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___T2eui{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__container___xeg8O{flex-direction:column;gap:1rem;display:flex}.styles-module__label___qhbKe{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__error___O-7AY{color:var(--color-error);font-size:.875rem}.styles-module__pairs___owGV3{flex-direction:column;gap:.75rem;display:flex}.styles-module__pair___G4WFY{grid-template-columns:1fr 2fr auto;align-items:start;gap:.75rem;display:grid}.styles-module__keyInput___wl1M1,.styles-module__valueInput___HiwJ5{flex:1}.styles-module__removeButton___4-X0b{min-width:auto;color:var(--color-error);padding:.5rem}.styles-module__removeButton___4-X0b:hover{background-color:var(--color-error);color:var(--color-primary-fg)}.styles-module__addButton___QFljt{align-self:flex-start}@media (width<=768px){.styles-module__pair___G4WFY{grid-template-columns:1fr}.styles-module__removeButton___4-X0b{align-self:flex-end}}.styles-module__searchContainer___86TGN{width:100%;max-width:400px;position:relative}.styles-module__searchContainerFull___cEuNS{max-width:none}.styles-module__searchIcon___ZInry{color:var(--color-fg-muted);pointer-events:none;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}.styles-module__searchInput___SqZXQ{border:1px solid var(--color-border);border-radius:var(--radius-input);width:100%;color:var(--color-fg-text);background:var(--color-bg-2);padding:.75rem 3rem;font-size:1rem;transition:all .2s}.styles-module__searchInput___SqZXQ:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg);outline:none}.styles-module__searchInput___SqZXQ::placeholder{color:var(--color-fg-muted)}.styles-module__clearBtn___7jExr{width:1.5rem;height:1.5rem;color:var(--color-fg-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.styles-module__clearBtn___7jExr:hover{color:var(--color-fg-text)}@media (width<=768px){.styles-module__searchContainer___86TGN{max-width:100%}}.styles-module__container___nGxdM{flex-direction:column;gap:.75rem;display:flex}.styles-module__toggleContainer___VrsKI{align-items:center;display:flex}.styles-module__toggleButton___IzD6Z{border:1px solid var(--color-border-4);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg-muted);cursor:pointer;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;transition:all .2s;display:flex}.styles-module__toggleButton___IzD6Z:hover{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G{background:var(--color-primary);color:var(--color-primary-fg);border-color:var(--color-primary)}.styles-module__toggleButton___IzD6Z.styles-module__enabled___cao0G:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);color:var(--color-primary-fg)}.styles-module__optionsContainer___LOzlO{background:var(--color-bg-2);border-radius:var(--radius-card);border:1px solid var(--color-border-4);gap:.5rem;padding:.5rem;display:flex}.styles-module__option___abhnC{border:1px solid var(--color-border-4);border-radius:var(--radius-button);background:var(--color-bg);color:var(--color-fg);cursor:pointer;flex:1;justify-content:center;align-items:center;gap:.375rem;padding:.5rem .875rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.styles-module__option___abhnC:hover{background:var(--color-bg-3);border-color:var(--color-border-3)}.styles-module__option___abhnC.styles-module__active___pqmSi{background:var(--color-primary);color:var(--color-primary-fg);border-color:var(--color-primary)}.styles-module__option___abhnC.styles-module__active___pqmSi:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);color:var(--color-primary-fg)}.styles-module__nbSelect___KjxSc{font-family:inherit;font-size:.9375rem;font-weight:600;line-height:1.5rem;display:inline-block;position:relative}.styles-module__selectButton___AKZe4{border-radius:var(--radius-button);cursor:pointer;text-align:left;width:100%;min-width:8rem;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;border:1px solid;outline:none;justify-content:space-between;align-items:center;padding:.4375rem 2.2rem .4375rem 1.125rem;transition:all .15s ease-in-out;display:flex;position:relative}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:hover:not(:disabled){background-color:var(--color-primary-light);border-color:var(--color-primary-light)}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a:focus,.styles-module__selectButton___AKZe4.styles-module__primary___HU36a.styles-module__open___9AKMb{background-color:var(--color-primary-light);border-color:var(--color-primary-light);box-shadow:0 0 0 .125rem rgba(var(--color-primary-rgb), .25)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP{background-color:var(--color-bg);border-color:var(--color-border-4);color:var(--color-fg-text)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:hover:not(:disabled){background-color:var(--color-bg-2);border-color:var(--color-primary)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP:focus,.styles-module__selectButton___AKZe4.styles-module__default___LedYP.styles-module__open___9AKMb{background-color:var(--color-bg-2);border-color:var(--color-primary);box-shadow:0 0 0 .125rem rgba(var(--color-primary-rgb), .25)}.styles-module__selectButton___AKZe4:disabled{cursor:not-allowed;opacity:.6}.styles-module__buttonText___QSLO1{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.styles-module__chevronIcon___qAHaD{flex-shrink:0;width:1.5rem;height:1.5rem;transition:transform .15s;position:absolute;right:.41rem}.styles-module__selectButton___AKZe4.styles-module__primary___HU36a .styles-module__chevronIcon___qAHaD{color:var(--color-primary-fg)}.styles-module__selectButton___AKZe4.styles-module__default___LedYP .styles-module__chevronIcon___qAHaD{color:var(--color-fg)}.styles-module__chevronIcon___qAHaD.styles-module__open___9AKMb{transform:rotate(180deg)}.styles-module__optionsPanel___NWAp3{background-color:var(--color-bg);border:1px solid var(--color-border-4);border-radius:var(--radius-button);min-width:100%;box-shadow:0 .5rem 1rem var(--color-shadow);z-index:1000;transform-origin:top;visibility:hidden;pointer-events:none;position:absolute;top:calc(100% + .5rem);left:0;right:0;overflow:hidden}.styles-module__optionsPanel___NWAp3.styles-module__open___9AKMb{visibility:visible;pointer-events:auto;animation:.25s ease-out styles-module__expandDown___eD4lh}.styles-module__optionsPanel___NWAp3.styles-module__closed___bez-q{visibility:hidden;pointer-events:none;animation:.25s ease-out styles-module__collapseUp___dt1E7}@keyframes styles-module__expandDown___eD4lh{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes styles-module__collapseUp___dt1E7{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}.styles-module__optionsPanel___NWAp3.styles-module__primary___HU36a{border-color:var(--color-primary)}.styles-module__optionsPanel___NWAp3.styles-module__default___LedYP{border-color:var(--color-border-4)}.styles-module__optionsList___AxhVp{margin:0;padding:.5rem 0;list-style:none}.styles-module__option___t1SSw{cursor:pointer;color:var(--color-fg-text);justify-content:space-between;align-items:center;padding:.75rem 1.125rem;transition:all .15s;display:flex}.styles-module__option___t1SSw:hover{background-color:var(--color-bg-2)}.styles-module__option___t1SSw.styles-module__selected___azD4A{background-color:var(--color-primary);color:var(--color-primary-fg);font-weight:700}@media (prefers-color-scheme:dark){.styles-module__optionsPanel___NWAp3{box-shadow:0 .5rem 1rem var(--color-shadow)}}.styles-module__sliderContainer___lgpaD{flex-direction:column;gap:.5rem;display:flex}.styles-module__sliderContainer___lgpaD.styles-module__fullWidth___ZS8W5{width:100%}.styles-module__labelRow___dkVVM{justify-content:space-between;align-items:center;min-height:1.5rem;margin-bottom:.5rem;display:flex}.styles-module__label___bXGZs{color:var(--color-fg-text);font-size:.875rem;font-weight:500}.styles-module__required___FuyfE{color:var(--color-danger);margin-left:.25rem}.styles-module__sliderWrapper___1Wdti{touch-action:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:.75rem;width:100%;display:flex}.styles-module__sliderRoot___yzOjR{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-grow:1;align-items:center;width:100%;padding:.75rem 0;display:flex;position:relative}.styles-module__sliderRoot___yzOjR:active{cursor:grabbing}.styles-module__sliderTrackWrapper___N72WQ{flex-grow:1;display:flex;position:relative}.styles-module__sliderTrack___AltcD{border-radius:var(--radius-badge);background-color:var(--color-bg-3);width:100%;height:.375rem;position:relative;overflow:hidden}.styles-module__sliderRange___U3g0-{background-color:var(--color-primary);border-radius:var(--radius-badge);height:100%;position:absolute}.styles-module__valueIndicator___aLf0I{color:var(--color-primary);text-align:center;flex-shrink:0;min-width:2rem;font-size:.875rem;font-weight:600;line-height:1}.styles-module__iconWrapper___wL-b8{flex-shrink:0;justify-content:center;align-items:center;display:flex}.styles-module__icon___vHsID{width:20px;height:20px;color:var(--color-fg-muted)}.styles-module__errorMessage___qFgGe{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___tgBGl{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__loadingContainer___OMgwS{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;min-height:60vh;display:flex}.styles-module__loadingText___KRZqR{color:var(--color-fg-muted);font-size:1rem}.styles-module__errorContainer___qhAg2{text-align:center;min-height:60vh;color:var(--color-fg-text);flex-direction:column;justify-content:center;align-items:center;gap:2rem;padding:3rem 2rem;display:flex}.styles-module__errorIconWrapper___IHZrN{background:linear-gradient(135deg, rgba(var(--color-error-rgb), .1), rgba(var(--color-error-rgb), .05));border:2px solid rgba(var(--color-error-rgb), .2);border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;animation:2s ease-in-out infinite styles-module__pulse___Lju-z;display:flex}@keyframes styles-module__pulse___Lju-z{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}.styles-module__errorIcon___oGDIP{color:var(--color-error);stroke-width:1.5px}.styles-module__errorContent___F55rQ{flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:600px;display:flex}.styles-module__errorTitle___hC8D-{color:var(--color-fg-heading);letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:700;line-height:1.2}.styles-module__errorDescription___hZtuP{color:var(--color-fg-muted);max-width:480px;margin:0;font-size:1rem;line-height:1.6}.styles-module__errorDetailsWrapper___-sp8b{width:100%;max-width:600px;margin-top:.5rem}.styles-module__errorDetailsContainer___eywMo{text-align:left;border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-bg-2);width:100%;transition:all .2s;overflow:hidden}.styles-module__errorDetailsContainer___eywMo:hover{border-color:var(--color-border-hover);background:var(--color-bg-3)}.styles-module__errorDetailsSummary___hGEoD{cursor:pointer;color:var(--color-fg-muted);-webkit-user-select:none;user-select:none;padding:.875rem 1.25rem;font-size:.875rem;font-weight:500;list-style:none;transition:color .2s}.styles-module__errorDetailsSummary___hGEoD:hover{color:var(--color-fg-text)}.styles-module__errorDetailsSummary___hGEoD::-webkit-details-marker{display:none}.styles-module__errorDetailsSummary___hGEoD:before{content:"▶";margin-right:.5rem;font-size:.75rem;transition:transform .2s;display:inline-block}.styles-module__errorDetailsContainer___eywMo[open] .styles-module__errorDetailsSummary___hGEoD:before{transform:rotate(90deg)}.styles-module__errorDetails___tzCT-{background:var(--color-bg-3);border-top:1px solid var(--color-border);max-width:100%;color:var(--color-fg-muted);white-space:pre-wrap;word-break:break-word;margin:0;padding:1rem 1.25rem;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:.8125rem;line-height:1.6;overflow-x:auto}.styles-module__errorActions___gtqYw{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.styles-module__retryButton___TA4jm{border-radius:var(--radius-button);background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;box-shadow:0 2px 8px var(--color-shadow);border:none;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__retryButton___TA4jm:hover{box-shadow:0 4px 16px var(--color-shadow);background:var(--color-primary-light);color:var(--color-primary-fg);transform:translateY(-2px)}.styles-module__retryButton___TA4jm:active{box-shadow:0 2px 8px var(--color-shadow);transform:translateY(0)}.styles-module__retryButtonIcon___vzfp-{font-size:1.125rem;line-height:1;transition:transform .3s;display:inline-block}.styles-module__retryButton___TA4jm:hover .styles-module__retryButtonIcon___vzfp-{transform:rotate(180deg)}.styles-module__clearLocalDataButton___T3B-K{border-radius:var(--radius-button);color:var(--color-fg-muted);border:1px solid var(--color-border-4);cursor:pointer;background:0 0;justify-content:center;align-items:center;padding:.75rem 1.5rem;font-size:.9375rem;font-weight:500;transition:all .2s;display:inline-flex}.styles-module__clearLocalDataButton___T3B-K:hover{color:var(--color-fg-text);border-color:var(--color-border-3);background:var(--color-bg-secondary)}.styles-module__wrapper___jXPV3{flex-direction:column;gap:.5rem;display:flex}.styles-module__wrapper___jXPV3.styles-module__fullWidth___eKyGB{width:100%}.styles-module__label___MyTeo{color:var(--color-fg-heading);align-items:center;gap:.25rem;font-size:.875rem;font-weight:500;display:flex}.styles-module__required___TV-m8{color:var(--color-danger)}.styles-module__inputContainer___VvGBl{align-items:flex-start;width:100%;display:flex;position:relative}.styles-module__textarea___AjX9N{border:1px solid var(--color-border-4);border-radius:var(--radius-input);background:var(--color-bg);width:100%;color:var(--color-fg-text);resize:vertical;outline:none;min-height:4rem;font-family:inherit;font-size:.875rem;transition:all .2s}.styles-module__textarea___AjX9N:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), .1)}.styles-module__textarea___AjX9N::placeholder{color:var(--color-fg-muted);opacity:.5}.styles-module__textarea___AjX9N.styles-module__small___zMx0G{min-height:3rem;padding:.5rem .75rem;font-size:.8125rem}.styles-module__textarea___AjX9N.styles-module__medium___tO2Lb{min-height:4rem;padding:.75rem;font-size:.875rem}.styles-module__textarea___AjX9N.styles-module__large___3eU2g{min-height:5rem;padding:1rem;font-size:1rem}.styles-module__textarea___AjX9N.styles-module__default___vsSxX{background:var(--color-bg);border-color:var(--color-border-4)}.styles-module__textarea___AjX9N.styles-module__filled___TPQgI{background:var(--color-bg-2);border-color:var(--color-border-3)}.styles-module__inputContainer___VvGBl .styles-module__leftIcon___FHp2R{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;left:.75rem}.styles-module__inputContainer___VvGBl .styles-module__rightIcon___dkyvP{color:var(--color-fg-muted);pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex;position:absolute;top:.75rem;right:.75rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__small___zMx0G+.styles-module__rightIcon___dkyvP{top:.5rem}.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__leftIcon___FHp2R,.styles-module__inputContainer___VvGBl .styles-module__textarea___AjX9N.styles-module__large___3eU2g+.styles-module__rightIcon___dkyvP{top:1rem}.styles-module__textarea___AjX9N.styles-module__error___d8gLK{border-color:var(--color-danger)}.styles-module__textarea___AjX9N.styles-module__error___d8gLK:focus{border-color:var(--color-danger);box-shadow:0 0 0 3px rgba(var(--color-danger-rgb), .1)}.styles-module__textarea___AjX9N.styles-module__disabled___IzbfE{background:var(--color-bg-3);border-color:var(--color-border-5);color:var(--color-fg-muted);cursor:not-allowed;opacity:.6}.styles-module__errorText___Nom7x{color:var(--color-danger);margin:0;font-size:.75rem}.styles-module__helperText___97Def{color:var(--color-fg-muted);margin:0;font-size:.75rem}.styles-module__virtualList___pM6rN{contain:strict;width:100%;padding-bottom:300px;position:relative;overflow:auto}.styles-module__emptyContainer___rm938{height:100%;color:var(--color-fg-muted);justify-content:center;align-items:center;display:flex}.styles-module__virtualListInner___HxRzc{width:100%;position:relative}.styles-module__virtualListItems___p19-a{width:100%;position:absolute;top:0;left:0}.styles-module__loadingMore___zAdLM{color:var(--color-fg-muted);justify-content:center;align-items:center;gap:.75rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;margin-top:1rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh span{background-color:var(--color-bg-2);border-radius:var(--radius-button);padding:.5rem 1rem}.styles-module__virtualList___xmj2v{width:100%;padding-bottom:300px;position:relative;overflow:visible}.styles-module__virtualListInner___quD74{width:100%;position:relative}.styles-module__virtualListItems___-Muml{width:100%;position:absolute;top:0;left:0}.styles-module__virtualListRow___h3pzX{width:100%}.styles-module__emptyContainer___LIy8r{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:2rem 0;display:flex}.styles-module__loadingMore___Mzf-p{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:1.5rem 0;display:flex}.styles-module__endOfList___g5G--{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;padding:1.5rem 0;display:flex}.styles-module__sidebar___BMt0j{flex-direction:column;min-height:0;display:flex;overflow:hidden}.styles-module__sidebarContent___iAwiw{flex-direction:column;flex:1;min-height:0;padding-top:1rem;display:flex;overflow:hidden}.styles-module__menuWrapper___DKuEv{flex:1;min-height:0;overflow:hidden auto}.styles-module__sidebarFooter___qiPXO{flex-shrink:0;margin-top:auto}.styles-module__menuWrapper___DKuEv::-webkit-scrollbar{width:0;height:0}.styles-module__menuWrapper___DKuEv{scrollbar-width:none;-ms-overflow-style:none}.styles-module__sidebar___BMt0j .ps-sidebar-root{background-color:var(--color-bg-2)!important;border-right:1px solid var(--color-separator)!important;flex-direction:column!important;min-height:0!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-sidebar-container{background-color:var(--color-bg-2)!important;min-height:0!important;color:var(--color-fg-text)!important;flex-direction:column!important;flex:1!important;display:flex!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-menu-button{border-radius:var(--radius-button)!important;color:var(--color-fg-text)!important;margin:.125rem .5rem!important;padding:.5rem .75rem!important;font-size:.875rem!important;transition:background-color .2s,color .2s!important}.styles-module__sidebar___BMt0j .ps-menu-button:hover{background-color:var(--color-bg-3)!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active{background-color:var(--color-primary)!important;color:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-icon,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-menu-label,.styles-module__sidebar___BMt0j .ps-menu-button.ps-active .ps-submenu-expand-icon{color:var(--color-primary-fg)!important}.styles-module__sidebar___BMt0j .ps-menu-icon{width:1.25rem!important;height:1.25rem!important;color:var(--color-fg-text)!important}.styles-module__sidebar___BMt0j .ps-submenu-content{background-color:var(--color-bg-3)!important;padding-left:1rem!important;overflow:hidden!important}.styles-module__sidebar___BMt0j .ps-submenu-content .ps-submenu-content{padding-left:.75rem!important}.styles-module__sidebar___BMt0j .ps-submenu-content .ps-menu-button{margin:.125rem .25rem!important;padding:.375rem .5rem .375rem .75rem!important;font-size:.8125rem!important}.styles-module__logoutContainer___7NwBL{border-top:1px solid var(--color-separator);padding:.5rem}.styles-module__logoutButton___rfD6u{border-radius:var(--radius-button);width:100%;color:var(--color-fg-text);cursor:pointer;white-space:nowrap;background:0 0;border:none;justify-content:flex-start;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;transition:background-color .2s,color .2s;display:flex;overflow:hidden}.styles-module__logoutButton___rfD6u:hover{background-color:var(--color-bg-3)}.styles-module__logoutButton___rfD6u:active{transform:scale(.98)}.styles-module__logoutButton___rfD6u svg{color:inherit;flex-shrink:0}.styles-module__hiddenText___z183T{opacity:0;width:0;max-width:0;overflow:hidden}.styles-module__visibleText___lfsv-{opacity:1;width:auto;max-width:200px}.styles-module__footer___g-hY7{background:var(--color-bg-2);width:100%;padding:0 2rem}.styles-module__footerContent___Oen5n{justify-content:space-between;align-items:center;max-width:100%;margin:0 auto;display:flex}.styles-module__copyright___1R2o3{color:var(--color-fg-text);font-size:.875rem}.styles-module__links___dQyvB{gap:1.5rem;display:flex}.styles-module__link___UWfyK{color:var(--color-fg-text);font-size:.875rem;text-decoration:none;transition:color .3s}.styles-module__link___UWfyK:hover{color:var(--color-primary)}@media (width<=768px){.styles-module__footerContent___Oen5n{flex-direction:column;gap:1rem}.styles-module__links___dQyvB{gap:1rem}}.styles-module__header___4Uc8h{width:100%;padding:.5rem 2rem;display:flex}.styles-module__header___4Uc8h>:first-child{flex:1;justify-content:flex-start;align-items:center;display:flex}.styles-module__header___4Uc8h>:last-child{flex:1;justify-content:flex-end;align-items:center;display:flex}.styles-module__layout___ZQKU7{background:var(--color-bg);flex-direction:column;width:100%;height:100vh;display:flex;position:relative}.styles-module__header___XIaFb{z-index:100;background:var(--color-bg);width:100%;box-shadow:0 .125rem .25rem 0 var(--color-shadow);position:fixed;top:0}.styles-module__footer___r8ASO{z-index:100;width:100%;position:fixed;bottom:0}.styles-module__mainWrapper___i4tEI{flex:1;display:flex;position:relative}.styles-module__sidebarChrome___q0pw5{z-index:101;box-sizing:border-box;position:fixed;left:0}.styles-module__sidebar___ij-8-{height:100%;min-height:0}.styles-module__content___mTgUr{background:var(--color-bg);flex:1;min-height:calc(100vh - 10rem);margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=768px){.styles-module__content___mTgUr{width:100%}.styles-module__sidebarChrome___q0pw5{z-index:999}}.styles-module__mainWrapper___AiTAw{flex-direction:row;flex:1;display:flex;position:relative}.styles-module__sidebarContainer___X4yj8{z-index:99;box-sizing:border-box;flex-direction:column;min-height:0;display:flex;position:fixed;left:0;overflow:hidden}.styles-module__sidebar___VQTlH{flex-shrink:0;top:0;left:0}.styles-module__content___htJlH{background:var(--color-bg);flex:1;margin:0;padding-top:0;padding-bottom:0;overflow:hidden auto}@media (width<=1024px){.styles-module__content___htJlH{padding:1.5rem}}@media (width<=768px){.styles-module__content___htJlH{width:100%}}.styles-module__wavesWrapper___TK7DI{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__wavesWrapper___TK7DI>*{pointer-events:auto}.styles-module__squaresWrapper___P25uF{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__squaresWrapper___P25uF>*{pointer-events:auto}.styles-module__letterGlitchWrapper___KWtWU{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__letterGlitchWrapper___KWtWU>*{pointer-events:auto}.styles-module__pixelBlastWrapper___YptHh{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__pixelBlastWrapper___YptHh>*{pointer-events:auto}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
spinner: st,
|
|
26
|
-
spin: nt,
|
|
27
|
-
content: rt,
|
|
28
|
-
leftIcon: lt,
|
|
29
|
-
rightIcon: it,
|
|
30
|
-
iconOnly: ot,
|
|
31
|
-
iconContainer: at,
|
|
32
|
-
layout: ct,
|
|
33
|
-
horizontal: dt,
|
|
34
|
-
topIcon: ut,
|
|
35
|
-
bottomIcon: ht
|
|
36
|
-
};
|
|
37
|
-
function F(l, e) {
|
|
38
|
-
return l ? e && Ve(l) && typeof l.type != "string" ? Fe(l, {
|
|
39
|
-
...l.props && typeof l.props == "object" ? l.props : {},
|
|
40
|
-
size: e
|
|
41
|
-
}) : l : null;
|
|
42
|
-
}
|
|
43
|
-
var re = ee(({ variant: l = "primary", size: e = "medium", fullWidth: t = !1, leftIcon: s, rightIcon: n, topIcon: r, bottomIcon: o, iconOnly: c = !1, iconSize: d, loading: a = !1, disabled: u, children: h, className: m = "", ..._ }, v) => {
|
|
44
|
-
const g = s || n || r || o, p = !c && h, S = c && g && !p, f = r || o || S, b = [
|
|
45
|
-
C.button,
|
|
46
|
-
C[l],
|
|
47
|
-
C[e],
|
|
48
|
-
t && C.fullWidth,
|
|
49
|
-
a && C.loading,
|
|
50
|
-
S && C.iconOnly,
|
|
51
|
-
m
|
|
52
|
-
].filter(Boolean).join(" ");
|
|
53
|
-
return S ? /* @__PURE__ */ i("button", {
|
|
54
|
-
ref: v,
|
|
55
|
-
type: "button",
|
|
56
|
-
className: b,
|
|
57
|
-
disabled: u || a,
|
|
58
|
-
..._,
|
|
59
|
-
children: /* @__PURE__ */ w("span", {
|
|
60
|
-
className: C.iconContainer,
|
|
61
|
-
children: [
|
|
62
|
-
r && /* @__PURE__ */ i("span", {
|
|
63
|
-
className: C.topIcon,
|
|
64
|
-
children: F(r, d)
|
|
65
|
-
}),
|
|
66
|
-
s && /* @__PURE__ */ i("span", {
|
|
67
|
-
className: C.leftIcon,
|
|
68
|
-
children: F(s, d)
|
|
69
|
-
}),
|
|
70
|
-
n && /* @__PURE__ */ i("span", {
|
|
71
|
-
className: C.rightIcon,
|
|
72
|
-
children: F(n, d)
|
|
73
|
-
}),
|
|
74
|
-
o && /* @__PURE__ */ i("span", {
|
|
75
|
-
className: C.bottomIcon,
|
|
76
|
-
children: F(o, d)
|
|
77
|
-
})
|
|
78
|
-
]
|
|
79
|
-
})
|
|
80
|
-
}) : f ? /* @__PURE__ */ w("button", {
|
|
81
|
-
ref: v,
|
|
82
|
-
type: "button",
|
|
83
|
-
className: b,
|
|
84
|
-
disabled: u || a,
|
|
85
|
-
..._,
|
|
86
|
-
children: [a && /* @__PURE__ */ i("span", { className: C.spinner }), !a && /* @__PURE__ */ w("span", {
|
|
87
|
-
className: C.layout,
|
|
88
|
-
children: [
|
|
89
|
-
r && /* @__PURE__ */ i("span", {
|
|
90
|
-
className: C.topIcon,
|
|
91
|
-
children: F(r, d)
|
|
92
|
-
}),
|
|
93
|
-
/* @__PURE__ */ w("span", {
|
|
94
|
-
className: C.horizontal,
|
|
95
|
-
children: [
|
|
96
|
-
s && /* @__PURE__ */ i("span", {
|
|
97
|
-
className: C.leftIcon,
|
|
98
|
-
children: F(s, d)
|
|
99
|
-
}),
|
|
100
|
-
p && /* @__PURE__ */ i("span", {
|
|
101
|
-
className: C.content,
|
|
102
|
-
children: h
|
|
103
|
-
}),
|
|
104
|
-
n && /* @__PURE__ */ i("span", {
|
|
105
|
-
className: C.rightIcon,
|
|
106
|
-
children: F(n, d)
|
|
107
|
-
})
|
|
108
|
-
]
|
|
109
|
-
}),
|
|
110
|
-
o && /* @__PURE__ */ i("span", {
|
|
111
|
-
className: C.bottomIcon,
|
|
112
|
-
children: F(o, d)
|
|
113
|
-
})
|
|
114
|
-
]
|
|
115
|
-
})]
|
|
116
|
-
}) : /* @__PURE__ */ w("button", {
|
|
117
|
-
ref: v,
|
|
118
|
-
type: "button",
|
|
119
|
-
className: b,
|
|
120
|
-
disabled: u || a,
|
|
121
|
-
..._,
|
|
1
|
+
(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.styles-module__loading___bgEAk{justify-content:center;align-items:center;display:inline-flex}.styles-module__loading___bgEAk svg polyline{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.styles-module__loading___bgEAk svg polyline.styles-module__back___XLPvD{fill:none;stroke:var(--color-primary-alpha)}.styles-module__loading___bgEAk svg polyline.styles-module__front___hSxig{fill:none;stroke:var(--color-primary);stroke-dasharray:48 144;stroke-dashoffset:192px;animation:1.4s linear infinite styles-module__dash_682___AQzo6}@keyframes styles-module__dash_682___AQzo6{72.5%{opacity:0}to{stroke-dashoffset:0}}.styles-module__loader___E7OIM{justify-content:center;align-items:center;width:fit-content;height:fit-content;display:flex}.styles-module__truckWrapper___Sk4zX{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow-x:hidden}.styles-module__truckBody___j7w2C{width:65%;height:fit-content;margin-bottom:6px;animation:1s linear infinite styles-module__motion___IiNlW}@keyframes styles-module__motion___IiNlW{0%{transform:translateY(0)}50%{transform:translateY(3px)}to{transform:translateY(0)}}.styles-module__truckTires___4ncTl{justify-content:space-between;align-items:center;width:65%;height:fit-content;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.styles-module__tiresvg___IBQcN{width:24px}.styles-module__road___sxx-E{background-color:var(--color-fg-heading);border-radius:var(--radius-button);align-self:flex-end;width:100%;height:1.5px;position:relative;bottom:0}.styles-module__road___sxx-E:before{content:"";background-color:var(--color-fg-heading);border-radius:var(--radius-button);border-left:10px solid var(--color-bg);width:20px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-50%}.styles-module__road___sxx-E:after{content:"";background-color:var(--color-fg-heading);border-radius:var(--radius-button);border-left:4px solid var(--color-bg);width:10px;height:100%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;right:-65%}.styles-module__lampPost___okcN5{height:45%;animation:1.4s linear infinite styles-module__roadAnimation___yvrHP;position:absolute;bottom:0;right:-90%}@keyframes styles-module__roadAnimation___yvrHP{0%{transform:translate(0)}to{transform:translate(-350px)}}.styles-module__loader___pFUzL{justify-content:center;align-items:center;display:inline-flex;position:relative}.styles-module__loader___pFUzL:before{content:"";background:var(--color-primary);opacity:.3;border-radius:50%;width:100%;height:5px;animation:.5s linear infinite styles-module__shadow324___sutUe;position:absolute;top:calc(100% + 12px);left:0}.styles-module__loader___pFUzL:after{content:"";background:var(--color-primary);width:100%;height:100%;position:absolute;top:0;left:0}.styles-module__square___GKjhm:after{border-radius:var(--radius-button);animation:.5s linear infinite styles-module__jump7456Square___Z-D9b}.styles-module__circle___bUpSN:after{border-radius:50%;animation:.5s linear infinite styles-module__jump7456Circle___2AfF7}@keyframes styles-module__jump7456Square___Z-D9b{15%{border-bottom-right-radius:3px}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__jump7456Circle___2AfF7{15%{border-bottom-right-radius:50%}25%{transform:translateY(9px)rotate(22.5deg)}50%{border-bottom-right-radius:40px;transform:translateY(18px)scaleY(.9)rotate(45deg)}75%{transform:translateY(9px)rotate(67.5deg)}to{transform:translateY(0)rotate(90deg)}}@keyframes styles-module__shadow324___sutUe{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}.style-module__waves___oR3u7{width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0;overflow:hidden}.style-module__waves___oR3u7:before{content:"";background:var(--color-bg);width:.5rem;height:.5rem;transform:translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);will-change:transform;border-radius:50%;position:absolute;top:0;left:0}.style-module__wavesCanvas___zkhTC{width:100%;height:100%;display:block}.style-module__squaresCanvas___22kMc{border:none;width:100%;height:100%;display:block}.style-module__container___HkxIe{background-color:var(--color-bg);width:100%;height:100%;position:relative;overflow:hidden}.style-module__canvas___MR9JX{width:100%;height:100%;display:block}.style-module__outerVignette___i75nw{pointer-events:none;background:radial-gradient(circle,#0000 60%,#000 100%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__centerVignette___n9uVG{pointer-events:none;background:radial-gradient(circle,#000c 0%,#0000 60%);width:100%;height:100%;position:absolute;top:0;left:0}.style-module__container___Hh3-c{width:100%;height:100%;position:relative;overflow:hidden}.styles-module__logo___z1FuW{appearance:none;color:inherit;cursor:pointer;background:0 0;border:none;margin:0;padding:0;text-decoration:none;transition:transform .12s cubic-bezier(.2,0,0,1)}.styles-module__logo___z1FuW:hover{transform:translateY(-1px)}.styles-module__logo___z1FuW:focus-visible{outline:none}.styles-module__logo___z1FuW:focus-visible .styles-module__mark___HoiFg{box-shadow:0 0 0 2px var(--accent-a4), 0 14px 30px color-mix(in oklab, var(--black-a3) 75%, transparent)}.styles-module__mark___HoiFg{flex:none;transition:transform .12s cubic-bezier(.2,0,0,1),box-shadow .12s cubic-bezier(.2,0,0,1);display:block;overflow:hidden}.styles-module__mark___HoiFg img{object-fit:cover;width:100%;height:100%;margin:0;padding:0;transition:transform .12s cubic-bezier(.2,0,0,1);display:block}.styles-module__logo___z1FuW:hover .styles-module__mark___HoiFg{transform:translateY(-1px)scale(1.02)}.styles-module__logo___z1FuW:hover .styles-module__mark___HoiFg img{transform:scale(1.04)}.styles-module__plain___TC66Z .styles-module__mark___HoiFg{border-radius:var(--radius-chip);width:40px;height:40px;box-shadow:0 14px 30px color-mix(in oklab, var(--black-a3) 75%, transparent)}.styles-module__glassSquare___QaL-M .styles-module__mark___HoiFg{border-radius:var(--radius-icon);width:54px;height:54px;box-shadow:0 12px 34px color-mix(in srgb, var(--black-a6) 72%, transparent);background:#ffffff2e;border:1px solid #ffffff4d}.styles-module__glassCircle___lE0Nw .styles-module__mark___HoiFg{width:48px;height:48px;box-shadow:0 16px 36px color-mix(in srgb, var(--black-a6) 54%, transparent);background:#fff3;border:1px solid #ffffff75;border-radius:50%}.styles-module__small___GCns1 .styles-module__mark___HoiFg{width:36px;height:36px}.styles-module__large___eKQOz.styles-module__plain___TC66Z .styles-module__mark___HoiFg{width:calc(40px + var(--space-3));height:calc(40px + var(--space-3))}.styles-module__large___eKQOz.styles-module__glassSquare___QaL-M .styles-module__mark___HoiFg{width:64px;height:64px}.styles-module__large___eKQOz.styles-module__glassCircle___lE0Nw .styles-module__mark___HoiFg{width:56px;height:56px}.s-module__swatch___hDS54{border:1px solid var(--gray-a6);border-radius:999px;flex:none;width:22px;min-width:22px;height:22px;min-height:22px;padding:0}.s-module__swatchActive___C0Ctk{outline:2px solid var(--gray-12);outline-offset:2px}.s-module__radiusCorner___w9M0j{border-left:2px solid var(--accent-9);border-top:2px solid var(--accent-9);background:color-mix(in oklab, var(--accent-9) 22%, transparent);flex:none;width:16px;height:16px}.s-module__radiusNone___dBnuF{border-radius:0}.s-module__radiusSmall___WpDJf{border-radius:3px 0 0}.s-module__radiusMedium___R0cof{border-radius:6px 0 0}.s-module__radiusLarge___9KEvz{border-radius:10px 0 0}.s-module__radiusFull___gai30{border-radius:999px 0 0}.s-module__pageIcon___c-jJO{border-radius:var(--radius-3);background:color-mix(in oklab, var(--accent-9) 12%, transparent);color:var(--accent-9)}.s-module__panelIcon___XVHY3{border-radius:var(--radius-2)}.s-module__controlFit___LreSj,.s-module__controlFit___LreSj .rt-SegmentedControlRoot{width:max-content;max-width:100%}.s-module__swatch___Wvcv5{border-radius:var(--radius-chip);border:1px solid var(--gray-a6);cursor:pointer;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.s-module__swatchActive___GG4uh{outline:2px solid var(--gray-12);outline-offset:2px}.s-module__previewTheme___-9XUD{width:100%}.s-module__positionPreview___mkI-g{border-radius:var(--radius-chip);border:1px solid var(--gray-a5);background:var(--gray-3);width:56px;height:40px;position:relative}.s-module__positionDot___Mtoqc{background:var(--accent-9);border-radius:999px;width:10px;height:10px;position:absolute}.s-module__preview_bottom_right___enLGD .s-module__positionDot___Mtoqc{bottom:6px;right:6px}.s-module__preview_bottom_left___oT2pw .s-module__positionDot___Mtoqc{bottom:6px;left:6px}.s-module__preview_top_right___Ft2uD .s-module__positionDot___Mtoqc{top:6px;right:6px}.s-module__preview_top_left___0AJFC .s-module__positionDot___Mtoqc{top:6px;left:6px}.s-module__colorRow___a1lT7{border-bottom:1px solid var(--gray-a3);width:100%}.s-module__colorRow___a1lT7:last-child{border-bottom:none}.s-module__colorInput___gpbkm{border:1px solid var(--gray-a5);border-radius:var(--radius-chip);cursor:pointer;background:0 0;width:36px;height:28px;padding:0}.styles-module__virtualList___pM6rN{contain:strict;width:100%;padding-bottom:300px;position:relative;overflow:auto}.styles-module__emptyContainer___rm938{height:100%;color:var(--color-fg-muted);justify-content:center;align-items:center;display:flex}.styles-module__virtualListInner___HxRzc{width:100%;position:relative}.styles-module__virtualListItems___p19-a{width:100%;position:absolute;top:0;left:0}.styles-module__loadingMore___zAdLM{color:var(--color-fg-muted);justify-content:center;align-items:center;gap:.75rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;margin-top:1rem;padding:2rem 0;font-size:.875rem;display:flex}.styles-module__endOfList___5cYFh span{background-color:var(--color-bg-2);border-radius:var(--radius-button);padding:.5rem 1rem}.styles-module__virtualList___xmj2v{width:100%;padding-bottom:300px;position:relative;overflow:visible}.styles-module__virtualListInner___quD74{width:100%;position:relative}.styles-module__virtualListItems___-Muml{width:100%;position:absolute;top:0;left:0}.styles-module__virtualListRow___h3pzX{width:100%}.styles-module__emptyContainer___LIy8r{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:2rem 0;display:flex}.styles-module__loadingMore___Mzf-p{color:var(--color-fg-muted);justify-content:center;align-items:center;padding:1.5rem 0;display:flex}.styles-module__endOfList___g5G--{color:var(--color-fg-muted);border-top:1px solid var(--color-border-3);justify-content:center;padding:1.5rem 0;display:flex}.s-module__shell___Iq045{background:var(--color-background);color:var(--gray-12)}.s-module__content___Q0UoE{background:var(--color-background);flex-direction:column;min-height:0;display:flex;position:relative;overflow-x:hidden}.s-module__contentInner___PrKo6{flex-direction:column;flex:auto;height:100%;min-height:0;display:flex;position:relative}.s-module__sidebar___amqPD{background:var(--color-panel-solid);border-right:1px solid var(--gray-a4);border-radius:0;height:100%;min-height:0;font-family:Arial,Noto Sans SC,sans-serif}.s-module__header___Dxcv1{border-bottom:1px solid var(--gray-a4);flex-shrink:0;margin:0 20px;padding:21px 0 22px;position:relative}.s-module__toggle___tW13n{z-index:2;border:1px solid var(--gray-a5)!important;border-radius:var(--radius-2)!important;background:var(--color-panel-solid)!important;width:26px!important;height:26px!important;color:var(--gray-11)!important;position:absolute!important;top:30px!important;right:-34px!important}.s-module__toggle___tW13n:hover{background:var(--gray-3)!important;color:var(--gray-12)!important}.s-module__accountCard___8LYBd{appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--radius-3);background:0 0;border:0;align-items:center;gap:11px;padding:0;display:flex}.s-module__accountCard___8LYBd:focus-visible{outline:2px solid var(--accent-8);outline-offset:5px}.s-module__accountCard___8LYBd:hover .s-module__accountName___6L4-W{color:var(--accent-11)}.s-module__accountInfo___9UQ7q{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.s-module__accountRole___5QXqy{color:var(--gray-11);letter-spacing:.5px;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;overflow:hidden}.s-module__accountName___6L4-W{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;line-height:21px;overflow:hidden}.s-module__avatar___pdxPZ{flex-shrink:0}.s-module__menuArea___0CHzC{scrollbar-width:thin;scrollbar-color:var(--gray-a5) transparent;flex:auto;min-height:0;padding:8px 20px 12px;overflow:hidden auto}.s-module__menuAreaCollapsed___Kwn5w{overflow-y:auto}.s-module__sectionTitle___-mnB8{border-top:1px solid var(--gray-a4);color:var(--gray-11);text-transform:uppercase;margin:19px 0 9px;padding:20px 10px 0}.s-module__sectionTitle___-mnB8 .rt-Text{letter-spacing:.5px;font-size:11px;font-weight:400;line-height:16px}.s-module__sectionTitleIcon___3cq2s{display:none}.s-module__sectionDivider___fegpI{background:var(--gray-a4);height:1px;margin:22px 0 16px}.s-module__menuArea___0CHzC .ps-menu-label .rt-Text,.s-module__footer___1tobI .ps-menu-label .rt-Text{font:inherit}.s-module__menuArea___0CHzC .ps-menu-button.ps-active .ps-menu-label{font-weight:500}.s-module__menuArea___0CHzC .ps-submenu-root.ps-open>.ps-menu-button{background:var(--gray-a3);color:var(--gray-12)}.s-module__menuArea___0CHzC .ps-submenu-content{border:0}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-content>ul>.ps-menuitem-root:before{content:"";background:var(--gray-5);pointer-events:none;width:1px;position:absolute;top:-3px;bottom:-3px;left:21px}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-content>ul>.ps-menuitem-root:after{content:"";border-left:1px solid var(--gray-5);border-bottom:1px solid var(--gray-5);pointer-events:none;border-bottom-left-radius:8px;width:11px;height:8px;position:absolute;top:calc(50% - 8px);left:21px}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-content>ul>.ps-menuitem-root:last-child:before{bottom:calc(50% + 8px)}.s-module__menuArea___0CHzC .ps-submenu-content .ps-menu-button{position:relative}.s-module__menuAreaCollapsed___Kwn5w .ps-menu-root>ul>.ps-menuitem-root>.ps-menu-button{justify-content:center;padding:0}.s-module__menuAreaCollapsed___Kwn5w .ps-menu-root>ul>.ps-menuitem-root>.ps-menu-button>.ps-menu-icon{margin:0}.s-module__menuAreaCollapsed___Kwn5w .ps-menu-root>ul>.ps-menuitem-root>.ps-menu-button>.ps-menu-label,.s-module__menuAreaCollapsed___Kwn5w .ps-submenu-expand-icon{display:none}.s-module__menuAreaCollapsed___Kwn5w .ps-submenu-content{border:1px solid var(--gray-a5)}.s-module__menuAreaCollapsed___Kwn5w .ps-submenu-content .ps-menu-label{display:block}.s-module__footer___1tobI{flex-shrink:0;margin-top:auto;padding:10px 20px 20px}.s-module__logout___CLyd7{width:100%;height:40px!important;color:var(--red-11)!important;border-radius:var(--radius-chip)!important;box-shadow:none!important;background:0 0!important;justify-content:flex-start!important;gap:10px!important;padding:0 10px!important;font-size:15px!important;font-weight:400!important}.s-module__logoutCollapsed___YkP7y{justify-content:center!important;padding:0!important}.s-module__logout___CLyd7:hover:not(:disabled){background:var(--red-a3)!important}.s-module__mobileToggle___LOwyZ{top:var(--space-3);z-index:10;margin:var(--space-3);box-shadow:var(--shadow-3);position:sticky;background:var(--color-panel-solid)!important;color:var(--gray-12)!important}.s-module__menuIconWrap___UEleI{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative}.s-module__menuIconDot___d8XKJ{border-radius:var(--radius-full);background:var(--red-9);border:2px solid var(--color-panel-solid);box-sizing:content-box;pointer-events:none;width:7px;height:7px;position:absolute;top:-3px;right:-3px}.s-module__menuBadge___CHC0U{border-radius:var(--radius-full);background:var(--accent-a3);color:var(--accent-11);padding:0 5px;font-size:10px}.s-module__menuDot___PnAOJ{border-radius:var(--radius-full);background:var(--red-9);width:7px;height:7px}@media (prefers-reduced-motion:reduce){.s-module__sidebar___amqPD *{transition-duration:0s!important;animation-duration:0s!important}}.s-module__footerCollapsed___UIBmF .ps-menu-button{justify-content:center;padding:0}.s-module__footerCollapsed___UIBmF .ps-menu-icon{margin:0}.s-module__footerCollapsed___UIBmF .ps-menu-label{display:none}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-content>ul{padding:1px 0 7px}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-root:not(.ps-open)>.ps-submenu-content{visibility:hidden}.s-module__menuAreaCollapsed___Kwn5w .s-module__sectionTitle___-mnB8{text-align:center;justify-content:center;margin:17px -8px 9px;padding:16px 0 0}.s-module__menuAreaCollapsed___Kwn5w .s-module__sectionTitle___-mnB8 .rt-Text{letter-spacing:0;overflow-wrap:normal;word-break:normal;font-size:9px;line-height:11px}.s-module__collapsedSubmenuTrigger___bFLvD{border-radius:var(--radius-chip);width:100%;height:40px;color:var(--gray-11);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;margin:6px 0;padding:0;display:flex}.s-module__collapsedSubmenuTrigger___bFLvD:hover,.s-module__collapsedSubmenuActive___IZjxV{background:var(--gray-a3);color:var(--gray-12)}.s-module__collapsedSubmenuTrigger___bFLvD:focus-visible{outline:2px solid var(--accent-8);outline-offset:2px}.s-module__flyout___g3zm9{width:max-content;min-width:156px;max-width:min(260px,100vw - 24px);max-height:var(--radix-popover-content-available-height);border:1px solid var(--gray-a5);border-radius:var(--radius-4);background:var(--color-panel-solid);box-shadow:var(--shadow-5);overflow-y:auto;padding:5px 0!important}.s-module__flyout___g3zm9 .ps-menu-label .rt-Text{font:inherit}.s-module__flyout___g3zm9 .ps-menu-button.ps-active .ps-menu-label{font-weight:500}.s-module__collapsedSubmenuCurrent___fOzyg,.s-module__collapsedSubmenuCurrent___fOzyg:hover,.s-module__menuArea___0CHzC .ps-submenu-root>.ps-menu-button.ps-active{background:var(--accent-a3);color:var(--accent-11)}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-content>ul>.ps-menuitem-root:has(~.ps-menuitem-root>.ps-menu-button.ps-active):before{background:var(--accent-9)}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-content>ul>.ps-menuitem-root:has(>.ps-menu-button.ps-active):before{background:var(--accent-9);bottom:calc(50% + 8px)}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-content>ul>.ps-menuitem-root:has(>.ps-menu-button.ps-active):after{border-color:var(--accent-9)}.s-module__menuArea___0CHzC:not(.s-module__menuAreaCollapsed___Kwn5w) .ps-submenu-content>ul>.ps-menuitem-root:not(:last-child)>.ps-menu-button.ps-active:before{content:"";background:var(--gray-5);pointer-events:none;width:1px;position:absolute;top:50%;bottom:-3px;left:-11px}.s-module__header___fHBLg{z-index:30;width:100%;padding:var(--space-3) var(--space-4);pointer-events:none;background:linear-gradient(180deg, color-mix(in oklab, var(--color-background) 92%, transparent), transparent);position:fixed;top:0;left:0;right:0}.s-module__header___fHBLg .s-module__bar___ei2ER{pointer-events:auto}.s-module__bar___ei2ER{width:100%;max-width:1120px;box-shadow:0 8px 28px color-mix(in oklab, var(--gray-12) 6%, transparent);margin:0 auto}.s-module__nav___g6eNB{gap:var(--space-1);display:none}@media (width>=900px){.s-module__nav___g6eNB{display:flex}}.s-module__nav___g6eNB .rt-BaseButton{padding-inline:var(--space-4);color:var(--gray-12);font-size:var(--font-size-3);background:0 0;border-radius:var(--radius-chip)!important}@media (hover:hover){.s-module__nav___g6eNB .rt-BaseButton:hover{background:var(--accent-a2);color:var(--accent-11)}}.s-module__navActive___CFz4v{font-weight:var(--font-weight-bold);background:var(--accent-a3)!important;color:var(--accent-11)!important}.s-module__mobileNav___5DVMr{display:flex}@media (width>=900px){.s-module__mobileNav___5DVMr{display:none}}.s-module__brandWord___cTl9u{font-family:var(--heading-font-family);letter-spacing:-.03em}.s-module__accountMenu___Hgv6K{min-width:200px}.s-module__fullHeightFrame___aRJs8{box-sizing:border-box;flex:auto;align-self:stretch;width:100%;min-height:0}.s-module__fullHeightBody___j03gw{box-sizing:border-box;flex:auto}.s-module__bar___o1Cuu{z-index:10;border-bottom:1px solid var(--gray-a4);background:color-mix(in oklab, var(--color-background) 92%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.styles-module__footer___g-hY7{background:var(--color-bg-2);width:100%;padding:0 2rem}.styles-module__footerContent___Oen5n{justify-content:space-between;align-items:center;max-width:100%;margin:0 auto;display:flex}.styles-module__copyright___1R2o3{color:var(--color-fg-text);font-size:.875rem}.styles-module__links___dQyvB{gap:1.5rem;display:flex}.styles-module__link___UWfyK{color:var(--color-fg-text);font-size:.875rem;text-decoration:none;transition:color .3s}.styles-module__link___UWfyK:hover{color:var(--color-primary)}@media (width<=768px){.styles-module__footerContent___Oen5n{flex-direction:column;gap:1rem}.styles-module__links___dQyvB{gap:1rem}}.styles-module__wavesWrapper___TK7DI{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__wavesWrapper___TK7DI>*{pointer-events:auto}.styles-module__squaresWrapper___P25uF{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__squaresWrapper___P25uF>*{pointer-events:auto}.styles-module__letterGlitchWrapper___KWtWU{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__letterGlitchWrapper___KWtWU>*{pointer-events:auto}.styles-module__pixelBlastWrapper___YptHh{pointer-events:none;z-index:0;width:100vw;height:100vh;position:fixed;inset:0;overflow:hidden}.styles-module__pixelBlastWrapper___YptHh>*{pointer-events:auto}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scrollbar-gutter:stable;width:100%;min-height:100%}body{text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;min-height:100vh;margin:0}#root{min-height:100vh}main,section,article,aside,header,footer,nav{display:block}main{min-height:100%}h1,h2,h3,h4,h5,h6,p{margin:0}em,i{font-style:italic}abbr[title]{cursor:help;text-underline-offset:.18em;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal}blockquote{margin:0}sub,sup{vertical-align:baseline;position:relative}sub{bottom:-.25em}sup{top:-.5em}code,kbd,samp{padding:.12em .32em}pre{margin:0;overflow:auto}pre code{color:inherit;background:0 0;padding:0}a{text-decoration:none;transition:color .12s cubic-bezier(.2,0,0,1),opacity .12s cubic-bezier(.2,0,0,1)}a:focus-visible{outline:none}ul,ol,li,dl,dd{margin:0}img,picture,video,canvas,svg{max-width:100%;display:block}img{-webkit-user-select:none;user-select:none}svg{flex-shrink:0}audio{width:100%}iframe{border:0;max-width:100%;display:block}figure{margin:0}button,input,textarea,select{font:inherit;color:inherit}dialog:not(.rt-DialogContent){border:none}table{border-collapse:collapse;border-spacing:0;width:100%}caption,th,td{text-align:left}hr{border:none;height:1px;margin:0}fieldset{border:0;min-width:0;margin:0;padding:0}legend{padding:0}summary{cursor:pointer}progress,meter{width:100%}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{border-radius:999px}[hidden]{display:none!important}:focus-visible{outline:none}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.radix-themes{--heading-font-family:var(--default-font-family);--strong-font-family:var(--default-font-family);--em-font-family:var(--default-font-family);--quote-font-family:var(--default-font-family);--radius-chip:max(var(--radius-3), var(--radius-full));--radius-icon:max(var(--radius-4), var(--radius-full))}.radix-themes .rt-BaseTabListTriggerInner,.radix-themes .rt-BaseTabListTriggerInnerHidden,.radix-themes .rt-TabsTriggerInner{border-radius:max(var(--tab-inner-border-radius), var(--radius-full))!important}.radix-themes[data-radius=full] .rt-Card{--card-border-radius:var(--radius-6)}.radix-themes,.radix-themes[data-font-family=system]{--default-font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}.radix-themes[data-font-family=ibm-plex]{--default-font-family:"IBM Plex Sans", "IBM Plex Sans SC", "Noto Sans SC", "Noto Sans TC", system-ui, sans-serif}.radix-themes[data-font-family=noto]{--default-font-family:"Noto Sans", "Noto Sans SC", "Noto Sans TC", sans-serif}.radix-themes[data-font-family=source-sans]{--default-font-family:"Source Sans 3", "Source Han Sans SC", "Noto Sans SC", "Noto Sans TC", sans-serif}.radix-themes{--color-primary:var(--accent-9);--color-primary-hover:var(--accent-10);--color-primary-light:var(--accent-4);--color-primary-bg:var(--accent-3);--color-primary-fg:var(--accent-contrast);--color-success:var(--green-9);--color-success-light:var(--green-4);--color-info:var(--blue-9);--color-info-light:var(--blue-4);--color-warning:var(--amber-9);--color-warning-light:var(--amber-4);--color-danger:var(--red-9);--color-error:var(--red-9);--color-danger-light:var(--red-4);--color-bg:var(--color-background);--color-bg-1:var(--color-background);--color-bg-2:var(--color-panel-solid);--color-bg-3:var(--gray-3);--color-bg-4:var(--gray-4);--color-bg-secondary:var(--gray-2);--color-border:var(--gray-6);--color-border-2:var(--gray-5);--color-border-3:var(--gray-6);--color-border-4:var(--gray-7);--color-border-5:var(--gray-8);--color-border-hover:var(--gray-8);--color-fg:var(--gray-11);--color-fg-text:var(--gray-12);--color-fg-heading:var(--gray-12);--color-fg-highlight:var(--accent-11);--color-fg-muted:var(--gray-10);--color-fg-on-primary:var(--accent-contrast);--color-separator:var(--gray-6);--color-overlay:var(--black-a6);--color-shadow:var(--gray-a4);--color-ring:var(--accent-8)}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
import { vt as me } from "./chunk-lucide-yNs0iz1-.mjs";
|
|
3
|
+
import { B as U, c as k } from "./chunk-dashboard-BsGK96hu.mjs";
|
|
4
|
+
import { C as ge, D as pe, E as ve, O as _e, S as Se, T as ye, b as be, d as we, j as Ee, s as se, w as Ie } from "./chunk-preference-x4EdmqU6.mjs";
|
|
5
|
+
import { i as xe } from "./chunk-preference-Y15HwKd0.mjs";
|
|
6
|
+
import { t as $ } from "./chunk-LucideIcon-Chc7x8mN.mjs";
|
|
7
|
+
import { i as Xt, n as ze, r as Yt } from "./chunk-useLayout-CjXHRPLD.mjs";
|
|
8
|
+
import { r as Ae } from "./chunk-useLanguageLabel-BLdxHuep.mjs";
|
|
9
|
+
import * as P from "react";
|
|
10
|
+
import { Suspense as Oe, memo as Y, useCallback as B, useEffect as te, useRef as Te, useState as ie } from "react";
|
|
11
|
+
import { Badge as Ce, Box as j, Button as G, Card as ee, Flex as _, Grid as Me, Heading as J, RadioCards as ne, SegmentedControl as M, Spinner as Le, Switch as Re, Text as x, TextField as De, Theme as Fe } from "@radix-ui/themes";
|
|
12
|
+
import { jsx as o, jsxs as b } from "react/jsx-runtime";
|
|
13
|
+
import { Check as re, RotateCcw as je, Save as ke } from "lucide-react";
|
|
14
|
+
import { useTranslation as Ne } from "react-i18next";
|
|
15
|
+
import { flushSync as Ve } from "react-dom";
|
|
16
|
+
export * from "@radix-ui/themes";
|
|
17
|
+
function is({ icon: r, title: e, description: t, action: s }) {
|
|
18
|
+
return /* @__PURE__ */ b(_, {
|
|
19
|
+
direction: "column",
|
|
20
|
+
align: "center",
|
|
21
|
+
justify: "center",
|
|
22
|
+
gap: "3",
|
|
23
|
+
py: "9",
|
|
24
|
+
px: "4",
|
|
122
25
|
children: [
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
26
|
+
/* @__PURE__ */ o(_, {
|
|
27
|
+
align: "center",
|
|
28
|
+
justify: "center",
|
|
29
|
+
width: "56px",
|
|
30
|
+
height: "56px",
|
|
31
|
+
style: {
|
|
32
|
+
borderRadius: "var(--radius-5)",
|
|
33
|
+
background: "color-mix(in oklab, var(--gray-11) 8%, transparent)",
|
|
34
|
+
color: "var(--gray-10)"
|
|
35
|
+
},
|
|
36
|
+
children: /* @__PURE__ */ o($, {
|
|
37
|
+
icon: r,
|
|
38
|
+
size: 24
|
|
39
|
+
})
|
|
127
40
|
}),
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
41
|
+
/* @__PURE__ */ o(J, {
|
|
42
|
+
as: "h3",
|
|
43
|
+
size: "4",
|
|
44
|
+
align: "center",
|
|
45
|
+
children: e
|
|
131
46
|
}),
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
47
|
+
t ? /* @__PURE__ */ o(x, {
|
|
48
|
+
as: "p",
|
|
49
|
+
size: "2",
|
|
50
|
+
color: "gray",
|
|
51
|
+
align: "center",
|
|
52
|
+
style: { maxWidth: "36ch" },
|
|
53
|
+
children: t
|
|
54
|
+
}) : null,
|
|
55
|
+
s
|
|
136
56
|
]
|
|
137
57
|
});
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
size: 16,
|
|
181
|
-
className: `${k.chevronIcon} ${c ? k.open : ""}`
|
|
58
|
+
}
|
|
59
|
+
var We = "s-module__pageIcon___c-jJO", $e = "s-module__panelIcon___XVHY3", le = {
|
|
60
|
+
pageIcon: We,
|
|
61
|
+
panelIcon: $e
|
|
62
|
+
};
|
|
63
|
+
function ns({ icon: r, title: e, description: t, actions: s, density: i = "panel" }) {
|
|
64
|
+
const n = i === "panel";
|
|
65
|
+
return /* @__PURE__ */ o(_, {
|
|
66
|
+
asChild: !0,
|
|
67
|
+
align: "start",
|
|
68
|
+
justify: "between",
|
|
69
|
+
gap: "3",
|
|
70
|
+
wrap: "wrap",
|
|
71
|
+
mb: n ? "3" : "5",
|
|
72
|
+
children: /* @__PURE__ */ b("header", { children: [/* @__PURE__ */ b(_, {
|
|
73
|
+
align: "center",
|
|
74
|
+
gap: n ? "3" : "4",
|
|
75
|
+
minWidth: "0",
|
|
76
|
+
children: [/* @__PURE__ */ o(_, {
|
|
77
|
+
align: "center",
|
|
78
|
+
justify: "center",
|
|
79
|
+
flexShrink: "0",
|
|
80
|
+
width: n ? "28px" : "48px",
|
|
81
|
+
height: n ? "28px" : "48px",
|
|
82
|
+
className: `${le.pageIcon} ${n ? le.panelIcon : ""}`,
|
|
83
|
+
children: /* @__PURE__ */ o($, {
|
|
84
|
+
icon: r,
|
|
85
|
+
size: n ? 15 : 22
|
|
86
|
+
})
|
|
87
|
+
}), /* @__PURE__ */ b(j, {
|
|
88
|
+
minWidth: "0",
|
|
89
|
+
children: [/* @__PURE__ */ o(J, {
|
|
90
|
+
as: "h1",
|
|
91
|
+
size: n ? "4" : "6",
|
|
92
|
+
mb: t ? "1" : "0",
|
|
93
|
+
children: e
|
|
94
|
+
}), t ? /* @__PURE__ */ o(x, {
|
|
95
|
+
as: "p",
|
|
96
|
+
size: "1",
|
|
97
|
+
color: "gray",
|
|
98
|
+
children: t
|
|
99
|
+
}) : null]
|
|
182
100
|
})]
|
|
183
|
-
}),
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
className: `${k.option} ${_.value === e ? k.selected : ""}`,
|
|
190
|
-
onClick: () => m(_.value),
|
|
191
|
-
role: "option",
|
|
192
|
-
"aria-selected": _.value === e,
|
|
193
|
-
children: _.label
|
|
194
|
-
}, _.value))
|
|
195
|
-
})
|
|
196
|
-
})]
|
|
101
|
+
}), s ? /* @__PURE__ */ o(_, {
|
|
102
|
+
gap: "2",
|
|
103
|
+
wrap: "wrap",
|
|
104
|
+
align: "center",
|
|
105
|
+
children: s
|
|
106
|
+
}) : null] })
|
|
197
107
|
});
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
error: qt,
|
|
225
|
-
disabled: Kt,
|
|
226
|
-
errorMessage: Gt,
|
|
227
|
-
helperText: Ht
|
|
228
|
-
}, le = ee(({ label: l, error: e, helperText: t, leftIcon: s, rightIcon: n, rightIconInteractive: r = !1, size: o = "medium", variant: c = "default", fullWidth: d = !1, className: a = "", disabled: u, ...h }, m) => {
|
|
229
|
-
const _ = [
|
|
230
|
-
O.input,
|
|
231
|
-
O[o],
|
|
232
|
-
O[c],
|
|
233
|
-
e && O.error,
|
|
234
|
-
u && O.disabled,
|
|
235
|
-
a
|
|
236
|
-
].filter(Boolean).join(" "), v = [O.wrapper, d && O.fullWidth].filter(Boolean).join(" "), g = [
|
|
237
|
-
O.inputContainer,
|
|
238
|
-
s && O.withLeftIcon,
|
|
239
|
-
n && O.withRightIcon,
|
|
240
|
-
o && O[`container${o.charAt(0).toUpperCase() + o.slice(1)}`]
|
|
241
|
-
].filter(Boolean).join(" ");
|
|
242
|
-
return /* @__PURE__ */ w("div", {
|
|
243
|
-
className: v,
|
|
244
|
-
children: [
|
|
245
|
-
l && /* @__PURE__ */ w("label", {
|
|
246
|
-
className: O.label,
|
|
247
|
-
children: [l, h.required && /* @__PURE__ */ i("span", {
|
|
248
|
-
className: O.required,
|
|
249
|
-
children: "*"
|
|
250
|
-
})]
|
|
251
|
-
}),
|
|
252
|
-
/* @__PURE__ */ w("div", {
|
|
253
|
-
className: g,
|
|
254
|
-
children: [
|
|
255
|
-
s && /* @__PURE__ */ i("div", {
|
|
256
|
-
className: O.leftIcon,
|
|
257
|
-
children: s
|
|
258
|
-
}),
|
|
259
|
-
/* @__PURE__ */ i("input", {
|
|
260
|
-
ref: m,
|
|
261
|
-
className: _,
|
|
262
|
-
disabled: u,
|
|
263
|
-
...h
|
|
264
|
-
}),
|
|
265
|
-
n && /* @__PURE__ */ i("div", {
|
|
266
|
-
className: `${O.rightIcon} ${r ? O.rightIconInteractive : ""}`,
|
|
267
|
-
children: n
|
|
268
|
-
})
|
|
269
|
-
]
|
|
270
|
-
}),
|
|
271
|
-
e && /* @__PURE__ */ i("p", {
|
|
272
|
-
className: O.errorMessage,
|
|
108
|
+
}
|
|
109
|
+
function rs({ icon: r, title: e, description: t }) {
|
|
110
|
+
return /* @__PURE__ */ b(_, {
|
|
111
|
+
gap: "3",
|
|
112
|
+
align: "start",
|
|
113
|
+
mb: "4",
|
|
114
|
+
children: [/* @__PURE__ */ o(_, {
|
|
115
|
+
align: "center",
|
|
116
|
+
justify: "center",
|
|
117
|
+
flexShrink: "0",
|
|
118
|
+
width: "40px",
|
|
119
|
+
height: "40px",
|
|
120
|
+
style: {
|
|
121
|
+
borderRadius: "var(--radius-icon)",
|
|
122
|
+
background: "color-mix(in oklab, var(--accent-9) 12%, transparent)",
|
|
123
|
+
color: "var(--accent-9)"
|
|
124
|
+
},
|
|
125
|
+
children: r
|
|
126
|
+
}), /* @__PURE__ */ b(_, {
|
|
127
|
+
direction: "column",
|
|
128
|
+
gap: "1",
|
|
129
|
+
flexGrow: "1",
|
|
130
|
+
minWidth: "0",
|
|
131
|
+
children: [/* @__PURE__ */ o(J, {
|
|
132
|
+
as: "h3",
|
|
133
|
+
size: "4",
|
|
273
134
|
children: e
|
|
274
|
-
}),
|
|
275
|
-
|
|
276
|
-
|
|
135
|
+
}), t ? /* @__PURE__ */ o(x, {
|
|
136
|
+
as: "p",
|
|
137
|
+
size: "2",
|
|
138
|
+
color: "gray",
|
|
277
139
|
children: t
|
|
278
|
-
})
|
|
279
|
-
]
|
|
140
|
+
}) : null]
|
|
141
|
+
})]
|
|
280
142
|
});
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
143
|
+
}
|
|
144
|
+
var Be = "s-module__controlFit___LreSj", He = "s-module__swatch___Wvcv5", Pe = "s-module__swatchActive___GG4uh", Ke = "s-module__previewTheme___-9XUD", Ue = "s-module__positionPreview___mkI-g", Ge = "s-module__positionDot___Mtoqc", Xe = "s-module__preview_bottom_right___enLGD", Ye = "s-module__preview_bottom_right___enLGD", Je = "s-module__preview_bottom_left___oT2pw", qe = "s-module__preview_bottom_left___oT2pw", Ze = "s-module__preview_top_right___Ft2uD", Qe = "s-module__preview_top_right___Ft2uD", et = "s-module__preview_top_left___0AJFC", tt = "s-module__preview_top_left___0AJFC", st = "s-module__colorRow___a1lT7", it = "s-module__colorInput___gpbkm", L = {
|
|
145
|
+
controlFit: Be,
|
|
146
|
+
swatch: He,
|
|
147
|
+
swatchActive: Pe,
|
|
148
|
+
previewTheme: Ke,
|
|
149
|
+
positionPreview: Ue,
|
|
150
|
+
positionDot: Ge,
|
|
151
|
+
preview_bottom_right: Xe,
|
|
152
|
+
previewBottomRight: Ye,
|
|
153
|
+
preview_bottom_left: Je,
|
|
154
|
+
previewBottomLeft: qe,
|
|
155
|
+
preview_top_right: Ze,
|
|
156
|
+
previewTopRight: Qe,
|
|
157
|
+
preview_top_left: et,
|
|
158
|
+
previewTopLeft: tt,
|
|
159
|
+
colorRow: st,
|
|
160
|
+
colorInput: it
|
|
161
|
+
}, nt = {
|
|
162
|
+
[U.SYSTEM]: "labels.fontSystem",
|
|
163
|
+
[U.IBM_PLEX]: "labels.fontIbmPlex",
|
|
164
|
+
[U.NOTO]: "labels.fontNoto",
|
|
165
|
+
[U.SOURCE_SANS]: "labels.fontSourceSans"
|
|
166
|
+
}, rt = {
|
|
167
|
+
[k.EN]: "EN",
|
|
168
|
+
[k.ZH]: "ZH",
|
|
169
|
+
[k.FR]: "FR"
|
|
170
|
+
}, lt = {
|
|
171
|
+
[k.EN]: "labels.langEn",
|
|
172
|
+
[k.ZH]: "labels.langZh",
|
|
173
|
+
[k.FR]: "labels.langFr"
|
|
174
|
+
};
|
|
175
|
+
function oe(r) {
|
|
176
|
+
return r === "auto" ? "var(--gray-9)" : `var(--${r}-9)`;
|
|
177
|
+
}
|
|
178
|
+
function q(r) {
|
|
179
|
+
return { ...r };
|
|
180
|
+
}
|
|
181
|
+
function X({ title: r, children: e }) {
|
|
182
|
+
return /* @__PURE__ */ o(ee, {
|
|
183
|
+
size: "2",
|
|
184
|
+
children: /* @__PURE__ */ b(_, {
|
|
185
|
+
direction: "column",
|
|
186
|
+
gap: "4",
|
|
187
|
+
height: "100%",
|
|
188
|
+
children: [/* @__PURE__ */ o(j, { children: /* @__PURE__ */ o(x, {
|
|
189
|
+
size: "2",
|
|
190
|
+
weight: "bold",
|
|
191
|
+
children: r
|
|
192
|
+
}) }), /* @__PURE__ */ o(_, {
|
|
193
|
+
direction: "column",
|
|
194
|
+
gap: "4",
|
|
195
|
+
flexGrow: "1",
|
|
196
|
+
align: "start",
|
|
197
|
+
children: e
|
|
198
|
+
})]
|
|
199
|
+
})
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
function ls() {
|
|
203
|
+
const { t: r } = Ne("preference"), e = se((l) => l.theme), t = se((l) => l.language), { syncPreference: s } = xe(), { getBaseDisplayName: i } = Ae(), [n, a] = ie(() => q(e)), [h, u] = ie(!1);
|
|
204
|
+
te(() => {
|
|
205
|
+
a(q(e));
|
|
297
206
|
}, [e]);
|
|
298
|
-
const
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
const E = b.split(",").map((I) => I.trim()).filter((I) => I.length > 0);
|
|
317
|
-
y[f] = {
|
|
318
|
-
...y[f],
|
|
319
|
-
value: E
|
|
320
|
-
};
|
|
321
|
-
} else y[f] = {
|
|
322
|
-
...y[f],
|
|
323
|
-
value: b
|
|
324
|
-
};
|
|
325
|
-
m(y), t(y);
|
|
326
|
-
}, S = (f) => Array.isArray(f) ? f.join(", ") : f;
|
|
327
|
-
return /* @__PURE__ */ w("div", {
|
|
328
|
-
className: V.container,
|
|
329
|
-
children: [
|
|
330
|
-
/* @__PURE__ */ i("label", {
|
|
331
|
-
className: V.label,
|
|
332
|
-
children: l
|
|
333
|
-
}),
|
|
334
|
-
a && /* @__PURE__ */ i("div", {
|
|
335
|
-
className: V.error,
|
|
336
|
-
children: a
|
|
337
|
-
}),
|
|
338
|
-
/* @__PURE__ */ i("div", {
|
|
339
|
-
className: V.pairs,
|
|
340
|
-
children: h.map((f, b) => /* @__PURE__ */ w("div", {
|
|
341
|
-
className: V.pair,
|
|
207
|
+
const m = n.accent !== e.accent || n.gray !== e.gray || n.appearance !== e.appearance || n.radius !== e.radius || n.scaling !== e.scaling || n.panelBackground !== e.panelBackground || n.fontFamily !== e.fontFamily, d = (l) => a((g) => ({
|
|
208
|
+
...g,
|
|
209
|
+
...l
|
|
210
|
+
})), c = Ee(n.appearance);
|
|
211
|
+
return /* @__PURE__ */ b(_, {
|
|
212
|
+
direction: "column",
|
|
213
|
+
gap: "3",
|
|
214
|
+
children: [/* @__PURE__ */ b(Me, {
|
|
215
|
+
columns: {
|
|
216
|
+
initial: "1",
|
|
217
|
+
sm: "2",
|
|
218
|
+
md: "3"
|
|
219
|
+
},
|
|
220
|
+
gap: "3",
|
|
221
|
+
width: "100%",
|
|
222
|
+
children: [
|
|
223
|
+
/* @__PURE__ */ b(X, {
|
|
224
|
+
title: r("labels.colorAndAppearance"),
|
|
342
225
|
children: [
|
|
343
|
-
/* @__PURE__ */
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
226
|
+
/* @__PURE__ */ b(_, {
|
|
227
|
+
direction: "column",
|
|
228
|
+
gap: "2",
|
|
229
|
+
width: "100%",
|
|
230
|
+
align: "start",
|
|
231
|
+
children: [/* @__PURE__ */ o(x, {
|
|
232
|
+
size: "1",
|
|
233
|
+
weight: "medium",
|
|
234
|
+
color: "gray",
|
|
235
|
+
children: r("labels.appearance")
|
|
236
|
+
}), /* @__PURE__ */ o(j, {
|
|
237
|
+
className: L.controlFit,
|
|
238
|
+
children: /* @__PURE__ */ o(M.Root, {
|
|
239
|
+
size: "2",
|
|
240
|
+
value: n.appearance,
|
|
241
|
+
onValueChange: (l) => d({ appearance: l }),
|
|
242
|
+
children: pe.map((l) => /* @__PURE__ */ o(M.Item, {
|
|
243
|
+
value: l,
|
|
244
|
+
children: l
|
|
245
|
+
}, l))
|
|
246
|
+
})
|
|
247
|
+
})]
|
|
348
248
|
}),
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
249
|
+
/* @__PURE__ */ b(_, {
|
|
250
|
+
direction: "column",
|
|
251
|
+
gap: "2",
|
|
252
|
+
width: "100%",
|
|
253
|
+
align: "start",
|
|
254
|
+
children: [/* @__PURE__ */ o(x, {
|
|
255
|
+
size: "1",
|
|
256
|
+
weight: "medium",
|
|
257
|
+
color: "gray",
|
|
258
|
+
children: r("labels.accent")
|
|
259
|
+
}), /* @__PURE__ */ o(_, {
|
|
260
|
+
wrap: "wrap",
|
|
261
|
+
gap: "2",
|
|
262
|
+
width: "max-content",
|
|
263
|
+
maxWidth: "100%",
|
|
264
|
+
children: be.map((l) => {
|
|
265
|
+
const g = n.accent === l;
|
|
266
|
+
return /* @__PURE__ */ o("button", {
|
|
267
|
+
type: "button",
|
|
268
|
+
"aria-label": l,
|
|
269
|
+
"aria-pressed": g,
|
|
270
|
+
onClick: () => d({ accent: l }),
|
|
271
|
+
className: `${L.swatch} ${g ? L.swatchActive : ""}`,
|
|
272
|
+
style: { background: oe(l) },
|
|
273
|
+
children: g ? /* @__PURE__ */ o($, {
|
|
274
|
+
icon: re,
|
|
275
|
+
size: 12,
|
|
276
|
+
color: "white"
|
|
277
|
+
}) : null
|
|
278
|
+
}, l);
|
|
279
|
+
})
|
|
280
|
+
})]
|
|
354
281
|
}),
|
|
355
|
-
/* @__PURE__ */
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
282
|
+
/* @__PURE__ */ b(_, {
|
|
283
|
+
direction: "column",
|
|
284
|
+
gap: "2",
|
|
285
|
+
width: "100%",
|
|
286
|
+
align: "start",
|
|
287
|
+
children: [/* @__PURE__ */ o(x, {
|
|
288
|
+
size: "1",
|
|
289
|
+
weight: "medium",
|
|
290
|
+
color: "gray",
|
|
291
|
+
children: r("labels.gray")
|
|
292
|
+
}), /* @__PURE__ */ o(_, {
|
|
293
|
+
wrap: "wrap",
|
|
294
|
+
gap: "2",
|
|
295
|
+
width: "max-content",
|
|
296
|
+
maxWidth: "100%",
|
|
297
|
+
children: Se.map((l) => {
|
|
298
|
+
const g = n.gray === l;
|
|
299
|
+
return /* @__PURE__ */ o("button", {
|
|
300
|
+
type: "button",
|
|
301
|
+
"aria-label": l,
|
|
302
|
+
"aria-pressed": g,
|
|
303
|
+
onClick: () => d({ gray: l }),
|
|
304
|
+
className: `${L.swatch} ${g ? L.swatchActive : ""}`,
|
|
305
|
+
style: { background: oe(l) },
|
|
306
|
+
children: g ? /* @__PURE__ */ o($, {
|
|
307
|
+
icon: re,
|
|
308
|
+
size: 12,
|
|
309
|
+
color: "white"
|
|
310
|
+
}) : null
|
|
311
|
+
}, l);
|
|
312
|
+
})
|
|
313
|
+
})]
|
|
362
314
|
})
|
|
363
315
|
]
|
|
364
|
-
}, b))
|
|
365
|
-
}),
|
|
366
|
-
/* @__PURE__ */ w(re, {
|
|
367
|
-
type: "button",
|
|
368
|
-
variant: "secondary",
|
|
369
|
-
onClick: _,
|
|
370
|
-
className: V.addButton,
|
|
371
|
-
children: [/* @__PURE__ */ i(Me, { size: 16 }), d]
|
|
372
|
-
})
|
|
373
|
-
]
|
|
374
|
-
});
|
|
375
|
-
});
|
|
376
|
-
ns.displayName = "KeyValueEditor";
|
|
377
|
-
var rs = "styles-module__searchContainer___86TGN", ls = "styles-module__searchContainerFull___cEuNS", is = "styles-module__searchIcon___ZInry", os = "styles-module__searchInput___SqZXQ", as = "styles-module__clearBtn___7jExr", U = {
|
|
378
|
-
searchContainer: rs,
|
|
379
|
-
searchContainerFull: ls,
|
|
380
|
-
searchIcon: is,
|
|
381
|
-
searchInput: os,
|
|
382
|
-
clearBtn: as
|
|
383
|
-
}, cs = D(({ value: l, onChange: e, placeholder: t, clearButtonAriaLabel: s = "Clear search", fullWidth: n = !1 }) => {
|
|
384
|
-
const r = () => e("");
|
|
385
|
-
return /* @__PURE__ */ w("div", {
|
|
386
|
-
className: `${U.searchContainer} ${n ? U.searchContainerFull : ""}`.trim(),
|
|
387
|
-
children: [
|
|
388
|
-
/* @__PURE__ */ i(Ce, {
|
|
389
|
-
size: 18,
|
|
390
|
-
className: U.searchIcon
|
|
391
|
-
}),
|
|
392
|
-
/* @__PURE__ */ i("input", {
|
|
393
|
-
type: "text",
|
|
394
|
-
value: l,
|
|
395
|
-
onChange: (o) => e(o.target.value),
|
|
396
|
-
placeholder: t,
|
|
397
|
-
className: U.searchInput
|
|
398
|
-
}),
|
|
399
|
-
l && /* @__PURE__ */ i("button", {
|
|
400
|
-
onClick: r,
|
|
401
|
-
className: U.clearBtn,
|
|
402
|
-
"aria-label": s,
|
|
403
|
-
children: /* @__PURE__ */ i(Ee, { size: 16 })
|
|
404
|
-
})
|
|
405
|
-
]
|
|
406
|
-
});
|
|
407
|
-
});
|
|
408
|
-
cs.displayName = "SearchInput";
|
|
409
|
-
var ds = "styles-module__container___nGxdM", us = "styles-module__toggleContainer___VrsKI", hs = "styles-module__toggleButton___IzD6Z", _s = "styles-module__enabled___cao0G", ms = "styles-module__optionsContainer___LOzlO", fs = "styles-module__option___abhnC", ps = "styles-module__active___pqmSi", W = {
|
|
410
|
-
container: ds,
|
|
411
|
-
toggleContainer: us,
|
|
412
|
-
toggleButton: hs,
|
|
413
|
-
enabled: _s,
|
|
414
|
-
optionsContainer: ms,
|
|
415
|
-
option: fs,
|
|
416
|
-
active: ps
|
|
417
|
-
}, vs = D(({ value: l, onChange: e, filterEnabled: t = "Filter on", filterDisabled: s = "Filter", enableFilterAriaLabel: n = "Enable filter", disableFilterAriaLabel: r = "Disable filter", all: o = "All", show: c = "Show", hide: d = "Hide" }) => {
|
|
418
|
-
const a = () => {
|
|
419
|
-
e({
|
|
420
|
-
...l,
|
|
421
|
-
enabled: !l.enabled
|
|
422
|
-
});
|
|
423
|
-
}, u = (h) => {
|
|
424
|
-
e({
|
|
425
|
-
...l,
|
|
426
|
-
value: h
|
|
427
|
-
});
|
|
428
|
-
};
|
|
429
|
-
return /* @__PURE__ */ w("div", {
|
|
430
|
-
className: W.container,
|
|
431
|
-
children: [/* @__PURE__ */ i("div", {
|
|
432
|
-
className: W.toggleContainer,
|
|
433
|
-
children: /* @__PURE__ */ w("button", {
|
|
434
|
-
type: "button",
|
|
435
|
-
className: `${W.toggleButton} ${l.enabled ? W.enabled : ""}`,
|
|
436
|
-
onClick: a,
|
|
437
|
-
"aria-label": l.enabled ? r : n,
|
|
438
|
-
children: [/* @__PURE__ */ i(we, { size: 16 }), /* @__PURE__ */ i("span", { children: l.enabled ? t : s })]
|
|
439
|
-
})
|
|
440
|
-
}), l.enabled && /* @__PURE__ */ w("div", {
|
|
441
|
-
className: W.optionsContainer,
|
|
442
|
-
children: [
|
|
443
|
-
/* @__PURE__ */ i("button", {
|
|
444
|
-
type: "button",
|
|
445
|
-
className: `${W.option} ${l.value === null ? W.active : ""}`,
|
|
446
|
-
onClick: () => u(null),
|
|
447
|
-
children: o
|
|
448
316
|
}),
|
|
449
|
-
/* @__PURE__ */
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
buttonText: ws,
|
|
473
|
-
chevronIcon: Is,
|
|
474
|
-
optionsPanel: Es,
|
|
475
|
-
expandDown: Ns,
|
|
476
|
-
closed: Cs,
|
|
477
|
-
collapseUp: xs,
|
|
478
|
-
optionsList: Os,
|
|
479
|
-
option: Ts,
|
|
480
|
-
selected: Ms
|
|
481
|
-
}, zs = ({ value: l, options: e, getDisplayName: t, onChange: s, status: n = "primary" }) => {
|
|
482
|
-
const [r, o] = J(!1), c = te(null);
|
|
483
|
-
K(() => {
|
|
484
|
-
const a = (u) => {
|
|
485
|
-
c.current && !c.current.contains(u.target) && o(!1);
|
|
486
|
-
};
|
|
487
|
-
return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
|
|
488
|
-
}, []);
|
|
489
|
-
const d = (a) => {
|
|
490
|
-
s(a), o(!1);
|
|
491
|
-
};
|
|
492
|
-
return /* @__PURE__ */ w("div", {
|
|
493
|
-
className: R.nbSelect,
|
|
494
|
-
ref: c,
|
|
495
|
-
children: [/* @__PURE__ */ w("button", {
|
|
496
|
-
type: "button",
|
|
497
|
-
className: `${R.selectButton} ${R[n]}`,
|
|
498
|
-
onClick: () => o(!r),
|
|
499
|
-
"aria-expanded": r,
|
|
500
|
-
"aria-haspopup": "listbox",
|
|
501
|
-
children: [/* @__PURE__ */ i("span", {
|
|
502
|
-
className: R.buttonText,
|
|
503
|
-
children: t(l)
|
|
504
|
-
}), /* @__PURE__ */ i("svg", {
|
|
505
|
-
className: `${R.chevronIcon} ${r ? R.open : ""}`,
|
|
506
|
-
width: "16",
|
|
507
|
-
height: "16",
|
|
508
|
-
viewBox: "0 0 24 24",
|
|
509
|
-
fill: "none",
|
|
510
|
-
stroke: "currentColor",
|
|
511
|
-
strokeWidth: "2",
|
|
512
|
-
children: /* @__PURE__ */ i("path", {
|
|
513
|
-
d: "m6 9 6 6 6-6",
|
|
514
|
-
strokeLinecap: "round",
|
|
515
|
-
strokeLinejoin: "round"
|
|
516
|
-
})
|
|
517
|
-
})]
|
|
518
|
-
}), /* @__PURE__ */ i("div", {
|
|
519
|
-
className: `${R.optionsPanel} ${R[n]} ${r ? R.open : R.closed}`,
|
|
520
|
-
role: "listbox",
|
|
521
|
-
children: /* @__PURE__ */ i("ul", {
|
|
522
|
-
className: R.optionsList,
|
|
523
|
-
children: e.map((a) => /* @__PURE__ */ w("li", {
|
|
524
|
-
className: `${R.option} ${a === l ? R.selected : ""}`,
|
|
525
|
-
onClick: () => d(a),
|
|
526
|
-
role: "option",
|
|
527
|
-
"aria-selected": a === l,
|
|
528
|
-
children: [/* @__PURE__ */ i("span", { children: t(a) }), a === l && /* @__PURE__ */ i("svg", {
|
|
529
|
-
width: "16",
|
|
530
|
-
height: "16",
|
|
531
|
-
viewBox: "0 0 24 24",
|
|
532
|
-
fill: "none",
|
|
533
|
-
stroke: "currentColor",
|
|
534
|
-
strokeWidth: "2",
|
|
535
|
-
children: /* @__PURE__ */ i("path", {
|
|
536
|
-
d: "M20 6L9 17l-5-5",
|
|
537
|
-
strokeLinecap: "round",
|
|
538
|
-
strokeLinejoin: "round"
|
|
539
|
-
})
|
|
540
|
-
})]
|
|
541
|
-
}, a))
|
|
542
|
-
})
|
|
543
|
-
})]
|
|
544
|
-
});
|
|
545
|
-
}, ie = D(zs);
|
|
546
|
-
ie.displayName = "SlideDownSwitcher";
|
|
547
|
-
var $s = D(({ status: l = "primary", getThemeDisplayName: e, handleChangeTheme: t }) => {
|
|
548
|
-
const { themeName: s, setTheme: n, availableThemes: r } = $e();
|
|
549
|
-
return /* @__PURE__ */ i(ie, {
|
|
550
|
-
value: s,
|
|
551
|
-
options: r,
|
|
552
|
-
getDisplayName: e ?? ((d) => d),
|
|
553
|
-
onChange: (d) => {
|
|
554
|
-
n(d), t?.(d);
|
|
555
|
-
},
|
|
556
|
-
status: l
|
|
557
|
-
});
|
|
558
|
-
});
|
|
559
|
-
$s.displayName = "ThemeSwitcher";
|
|
560
|
-
var Ls = D(({ status: l = "primary", getLayoutDisplayName: e, handleChangeLayoutMode: t }) => {
|
|
561
|
-
const { layoutMode: s, setLayoutMode: n } = De();
|
|
562
|
-
return /* @__PURE__ */ i(ie, {
|
|
563
|
-
value: s,
|
|
564
|
-
options: Le,
|
|
565
|
-
getDisplayName: e ?? ((c) => c),
|
|
566
|
-
onChange: (c) => {
|
|
567
|
-
n(c), t?.(c);
|
|
568
|
-
},
|
|
569
|
-
status: l
|
|
570
|
-
});
|
|
571
|
-
});
|
|
572
|
-
Ls.displayName = "LayoutSwitcher";
|
|
573
|
-
var Ds = "styles-module__sliderContainer___lgpaD", As = "styles-module__fullWidth___ZS8W5", Rs = "styles-module__labelRow___dkVVM", ks = "styles-module__label___bXGZs", Ws = "styles-module__required___FuyfE", Fs = "styles-module__sliderWrapper___1Wdti", Vs = "styles-module__sliderRoot___yzOjR", Bs = "styles-module__sliderTrackWrapper___N72WQ", js = "styles-module__sliderTrack___AltcD", Ps = "styles-module__sliderRange___U3g0-", qs = "styles-module__valueIndicator___aLf0I", Ks = "styles-module__iconWrapper___wL-b8", Gs = "styles-module__icon___vHsID", Hs = "styles-module__errorMessage___qFgGe", Xs = "styles-module__helperText___tgBGl", M = {
|
|
574
|
-
sliderContainer: Ds,
|
|
575
|
-
fullWidth: As,
|
|
576
|
-
labelRow: Rs,
|
|
577
|
-
label: ks,
|
|
578
|
-
required: Ws,
|
|
579
|
-
sliderWrapper: Fs,
|
|
580
|
-
sliderRoot: Vs,
|
|
581
|
-
sliderTrackWrapper: Bs,
|
|
582
|
-
sliderTrack: js,
|
|
583
|
-
sliderRange: Ps,
|
|
584
|
-
valueIndicator: qs,
|
|
585
|
-
iconWrapper: Ks,
|
|
586
|
-
icon: Gs,
|
|
587
|
-
errorMessage: Hs,
|
|
588
|
-
helperText: Xs
|
|
589
|
-
}, de = 50, Us = D(ee(({ value: l, onChange: e, min: t = 0, max: s = 10, step: n = 1, showValue: r = !0, fullWidth: o = !1, label: c, error: d, helperText: a, required: u = !1, className: h = "", ...m }, _) => {
|
|
590
|
-
const [v, g] = J(l), p = te(null), [S, f] = J("middle"), b = ce(0), y = ce(0);
|
|
591
|
-
K(() => {
|
|
592
|
-
g(l);
|
|
593
|
-
}, [l]), je(b, "change", (N) => {
|
|
594
|
-
if (p.current) {
|
|
595
|
-
const { left: x, right: z } = p.current.getBoundingClientRect();
|
|
596
|
-
let T;
|
|
597
|
-
N < x ? (f("left"), T = x - N) : N > z ? (f("right"), T = N - z) : (f("middle"), T = 0), y.jump(Zs(T, de));
|
|
598
|
-
}
|
|
599
|
-
});
|
|
600
|
-
const E = (N) => {
|
|
601
|
-
if (N.buttons > 0 && p.current) {
|
|
602
|
-
const { left: x, width: z } = p.current.getBoundingClientRect();
|
|
603
|
-
let T = t + (N.clientX - x) / z * (s - t);
|
|
604
|
-
n > 0 && (T = Math.round(T / n) * n), T = Math.min(Math.max(T, t), s), g(T), e(T), b.jump(N.clientX);
|
|
605
|
-
}
|
|
606
|
-
}, I = (N) => {
|
|
607
|
-
E(N), N.currentTarget.setPointerCapture(N.pointerId);
|
|
608
|
-
}, A = () => {
|
|
609
|
-
Be(y, 0, {
|
|
610
|
-
type: "spring",
|
|
611
|
-
bounce: 0.5
|
|
612
|
-
});
|
|
613
|
-
}, G = () => {
|
|
614
|
-
const N = s - t;
|
|
615
|
-
return N === 0 ? 0 : (v - t) / N * 100;
|
|
616
|
-
};
|
|
617
|
-
return /* @__PURE__ */ w("div", {
|
|
618
|
-
ref: _,
|
|
619
|
-
className: [
|
|
620
|
-
M.sliderContainer,
|
|
621
|
-
o && M.fullWidth,
|
|
622
|
-
h
|
|
623
|
-
].filter(Boolean).join(" "),
|
|
624
|
-
...m,
|
|
625
|
-
children: [
|
|
626
|
-
c && /* @__PURE__ */ i("div", {
|
|
627
|
-
className: M.labelRow,
|
|
628
|
-
children: /* @__PURE__ */ w("label", {
|
|
629
|
-
className: M.label,
|
|
630
|
-
children: [c, u && /* @__PURE__ */ i("span", {
|
|
631
|
-
className: M.required,
|
|
632
|
-
children: "*"
|
|
633
|
-
})]
|
|
634
|
-
})
|
|
635
|
-
}),
|
|
636
|
-
/* @__PURE__ */ w(H.div, {
|
|
637
|
-
className: M.sliderWrapper,
|
|
638
|
-
children: [
|
|
639
|
-
/* @__PURE__ */ i(H.div, {
|
|
640
|
-
animate: {
|
|
641
|
-
scale: S === "left" ? [
|
|
642
|
-
1,
|
|
643
|
-
1.4,
|
|
644
|
-
1
|
|
645
|
-
] : 1,
|
|
646
|
-
transition: { duration: 0.25 }
|
|
647
|
-
},
|
|
648
|
-
style: { x: X(() => S === "left" ? -y.get() : 0) },
|
|
649
|
-
className: M.iconWrapper,
|
|
650
|
-
children: /* @__PURE__ */ i(Oe, {
|
|
651
|
-
size: 20,
|
|
652
|
-
className: M.icon
|
|
653
|
-
})
|
|
654
|
-
}),
|
|
655
|
-
/* @__PURE__ */ i("div", {
|
|
656
|
-
ref: p,
|
|
657
|
-
className: M.sliderRoot,
|
|
658
|
-
onPointerMove: E,
|
|
659
|
-
onPointerDown: I,
|
|
660
|
-
onPointerUp: A,
|
|
661
|
-
children: /* @__PURE__ */ i(H.div, {
|
|
662
|
-
style: {
|
|
663
|
-
scaleX: X(() => {
|
|
664
|
-
if (p.current) {
|
|
665
|
-
const { width: N } = p.current.getBoundingClientRect();
|
|
666
|
-
return 1 + y.get() / N;
|
|
667
|
-
}
|
|
668
|
-
return 1;
|
|
669
|
-
}),
|
|
670
|
-
scaleY: X(y, [0, de], [1, 0.8]),
|
|
671
|
-
transformOrigin: X(() => {
|
|
672
|
-
if (p.current) {
|
|
673
|
-
const { left: N, width: x } = p.current.getBoundingClientRect();
|
|
674
|
-
return b.get() < N + x / 2 ? "right" : "left";
|
|
675
|
-
}
|
|
676
|
-
return "center";
|
|
317
|
+
/* @__PURE__ */ b(X, {
|
|
318
|
+
title: r("labels.layoutAndType"),
|
|
319
|
+
children: [
|
|
320
|
+
/* @__PURE__ */ b(_, {
|
|
321
|
+
direction: "column",
|
|
322
|
+
gap: "2",
|
|
323
|
+
width: "100%",
|
|
324
|
+
align: "start",
|
|
325
|
+
children: [/* @__PURE__ */ o(x, {
|
|
326
|
+
size: "1",
|
|
327
|
+
weight: "medium",
|
|
328
|
+
color: "gray",
|
|
329
|
+
children: r("labels.radius")
|
|
330
|
+
}), /* @__PURE__ */ o(j, {
|
|
331
|
+
className: L.controlFit,
|
|
332
|
+
children: /* @__PURE__ */ o(M.Root, {
|
|
333
|
+
size: "2",
|
|
334
|
+
value: n.radius,
|
|
335
|
+
onValueChange: (l) => d({ radius: l }),
|
|
336
|
+
children: ye.map((l) => /* @__PURE__ */ o(M.Item, {
|
|
337
|
+
value: l,
|
|
338
|
+
children: i(Ie[l])
|
|
339
|
+
}, l))
|
|
677
340
|
})
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
341
|
+
})]
|
|
342
|
+
}),
|
|
343
|
+
/* @__PURE__ */ b(_, {
|
|
344
|
+
direction: "column",
|
|
345
|
+
gap: "2",
|
|
346
|
+
width: "100%",
|
|
347
|
+
align: "start",
|
|
348
|
+
children: [/* @__PURE__ */ o(x, {
|
|
349
|
+
size: "1",
|
|
350
|
+
weight: "medium",
|
|
351
|
+
color: "gray",
|
|
352
|
+
children: r("labels.scaling")
|
|
353
|
+
}), /* @__PURE__ */ o(j, {
|
|
354
|
+
className: L.controlFit,
|
|
355
|
+
children: /* @__PURE__ */ o(M.Root, {
|
|
356
|
+
size: "2",
|
|
357
|
+
value: n.scaling,
|
|
358
|
+
onValueChange: (l) => d({ scaling: l }),
|
|
359
|
+
children: ve.map((l) => /* @__PURE__ */ o(M.Item, {
|
|
360
|
+
value: l,
|
|
361
|
+
children: l
|
|
362
|
+
}, l))
|
|
691
363
|
})
|
|
692
|
-
})
|
|
364
|
+
})]
|
|
365
|
+
}),
|
|
366
|
+
/* @__PURE__ */ b(_, {
|
|
367
|
+
direction: "column",
|
|
368
|
+
gap: "2",
|
|
369
|
+
width: "100%",
|
|
370
|
+
align: "start",
|
|
371
|
+
children: [/* @__PURE__ */ o(x, {
|
|
372
|
+
size: "1",
|
|
373
|
+
weight: "medium",
|
|
374
|
+
color: "gray",
|
|
375
|
+
children: r("labels.panelBackground")
|
|
376
|
+
}), /* @__PURE__ */ o(j, {
|
|
377
|
+
className: L.controlFit,
|
|
378
|
+
children: /* @__PURE__ */ o(M.Root, {
|
|
379
|
+
size: "2",
|
|
380
|
+
value: n.panelBackground,
|
|
381
|
+
onValueChange: (l) => d({ panelBackground: l }),
|
|
382
|
+
children: ge.map((l) => /* @__PURE__ */ o(M.Item, {
|
|
383
|
+
value: l,
|
|
384
|
+
children: l
|
|
385
|
+
}, l))
|
|
386
|
+
})
|
|
387
|
+
})]
|
|
388
|
+
}),
|
|
389
|
+
/* @__PURE__ */ b(_, {
|
|
390
|
+
direction: "column",
|
|
391
|
+
gap: "2",
|
|
392
|
+
width: "100%",
|
|
393
|
+
align: "start",
|
|
394
|
+
children: [/* @__PURE__ */ o(x, {
|
|
395
|
+
size: "1",
|
|
396
|
+
weight: "medium",
|
|
397
|
+
color: "gray",
|
|
398
|
+
children: r("labels.font")
|
|
399
|
+
}), /* @__PURE__ */ o(j, {
|
|
400
|
+
className: L.controlFit,
|
|
401
|
+
children: /* @__PURE__ */ o(M.Root, {
|
|
402
|
+
size: "2",
|
|
403
|
+
value: n.fontFamily,
|
|
404
|
+
onValueChange: (l) => d({ fontFamily: l }),
|
|
405
|
+
children: _e.map((l) => /* @__PURE__ */ o(M.Item, {
|
|
406
|
+
value: l,
|
|
407
|
+
children: r(nt[l])
|
|
408
|
+
}, l))
|
|
409
|
+
})
|
|
410
|
+
})]
|
|
693
411
|
})
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
412
|
+
]
|
|
413
|
+
}),
|
|
414
|
+
/* @__PURE__ */ o(X, {
|
|
415
|
+
title: r("labels.livePreview"),
|
|
416
|
+
children: /* @__PURE__ */ o(Fe, {
|
|
417
|
+
appearance: c,
|
|
418
|
+
accentColor: n.accent,
|
|
419
|
+
grayColor: n.gray,
|
|
420
|
+
radius: n.radius,
|
|
421
|
+
scaling: n.scaling,
|
|
422
|
+
panelBackground: n.panelBackground,
|
|
423
|
+
hasBackground: !0,
|
|
424
|
+
className: L.previewTheme,
|
|
425
|
+
children: /* @__PURE__ */ o(ee, {
|
|
426
|
+
size: "2",
|
|
427
|
+
children: /* @__PURE__ */ b(_, {
|
|
428
|
+
direction: "column",
|
|
429
|
+
gap: "3",
|
|
430
|
+
children: [
|
|
431
|
+
/* @__PURE__ */ b(_, {
|
|
432
|
+
align: "center",
|
|
433
|
+
justify: "between",
|
|
434
|
+
children: [/* @__PURE__ */ o(J, {
|
|
435
|
+
size: "4",
|
|
436
|
+
children: "NFX"
|
|
437
|
+
}), /* @__PURE__ */ o(Ce, {
|
|
438
|
+
size: "1",
|
|
439
|
+
children: r("labels.previewBadge")
|
|
440
|
+
})]
|
|
441
|
+
}),
|
|
442
|
+
/* @__PURE__ */ b(_, {
|
|
443
|
+
gap: "2",
|
|
444
|
+
wrap: "wrap",
|
|
445
|
+
children: [/* @__PURE__ */ o(G, {
|
|
446
|
+
size: "2",
|
|
447
|
+
children: r("labels.previewSolid")
|
|
448
|
+
}), /* @__PURE__ */ o(G, {
|
|
449
|
+
size: "2",
|
|
450
|
+
variant: "soft",
|
|
451
|
+
children: r("labels.previewSoft")
|
|
452
|
+
})]
|
|
453
|
+
}),
|
|
454
|
+
/* @__PURE__ */ o(De.Root, {
|
|
455
|
+
size: "2",
|
|
456
|
+
placeholder: r("labels.sampleInput")
|
|
457
|
+
}),
|
|
458
|
+
/* @__PURE__ */ b(_, {
|
|
459
|
+
align: "center",
|
|
460
|
+
gap: "2",
|
|
461
|
+
children: [/* @__PURE__ */ o(Re, {
|
|
462
|
+
size: "2",
|
|
463
|
+
defaultChecked: !0
|
|
464
|
+
}), /* @__PURE__ */ o(x, {
|
|
465
|
+
size: "2",
|
|
466
|
+
children: r("labels.notifications")
|
|
467
|
+
})]
|
|
468
|
+
})
|
|
469
|
+
]
|
|
470
|
+
})
|
|
709
471
|
})
|
|
710
|
-
}),
|
|
711
|
-
r && !c && /* @__PURE__ */ i("span", {
|
|
712
|
-
className: M.valueIndicator,
|
|
713
|
-
children: Math.round(v)
|
|
714
472
|
})
|
|
715
|
-
]
|
|
716
|
-
}),
|
|
717
|
-
d && /* @__PURE__ */ i("p", {
|
|
718
|
-
className: M.errorMessage,
|
|
719
|
-
children: d
|
|
720
|
-
}),
|
|
721
|
-
a && !d && /* @__PURE__ */ i("p", {
|
|
722
|
-
className: M.helperText,
|
|
723
|
-
children: a
|
|
724
|
-
})
|
|
725
|
-
]
|
|
726
|
-
});
|
|
727
|
-
}));
|
|
728
|
-
function Zs(l, e) {
|
|
729
|
-
if (e === 0) return 0;
|
|
730
|
-
const t = l / e;
|
|
731
|
-
return 2 * (1 / (1 + Math.exp(-t)) - 0.5) * e;
|
|
732
|
-
}
|
|
733
|
-
Us.displayName = "Slider";
|
|
734
|
-
var Ys = "styles-module__loadingContainer___OMgwS", Js = "styles-module__loadingText___KRZqR", Qs = "styles-module__errorContainer___qhAg2", en = "styles-module__errorIconWrapper___IHZrN", tn = "styles-module__pulse___Lju-z", sn = "styles-module__errorIcon___oGDIP", nn = "styles-module__errorContent___F55rQ", rn = "styles-module__errorTitle___hC8D-", ln = "styles-module__errorDescription___hZtuP", on = "styles-module__errorDetailsWrapper___-sp8b", an = "styles-module__errorDetailsContainer___eywMo", cn = "styles-module__errorDetailsSummary___hGEoD", dn = "styles-module__errorDetails___tzCT-", un = "styles-module__errorActions___gtqYw", hn = "styles-module__retryButton___TA4jm", _n = "styles-module__retryButtonIcon___vzfp-", mn = "styles-module__clearLocalDataButton___T3B-K", $ = {
|
|
735
|
-
loadingContainer: Ys,
|
|
736
|
-
loadingText: Js,
|
|
737
|
-
errorContainer: Qs,
|
|
738
|
-
errorIconWrapper: en,
|
|
739
|
-
pulse: tn,
|
|
740
|
-
errorIcon: sn,
|
|
741
|
-
errorContent: nn,
|
|
742
|
-
errorTitle: rn,
|
|
743
|
-
errorDescription: ln,
|
|
744
|
-
errorDetailsWrapper: on,
|
|
745
|
-
errorDetailsContainer: an,
|
|
746
|
-
errorDetailsSummary: cn,
|
|
747
|
-
errorDetails: dn,
|
|
748
|
-
errorActions: un,
|
|
749
|
-
retryButton: hn,
|
|
750
|
-
retryButtonIcon: _n,
|
|
751
|
-
clearLocalDataButton: mn
|
|
752
|
-
}, fn = class extends ke {
|
|
753
|
-
state = {
|
|
754
|
-
hasError: !1,
|
|
755
|
-
error: null
|
|
756
|
-
};
|
|
757
|
-
static getDerivedStateFromError(l) {
|
|
758
|
-
return {
|
|
759
|
-
hasError: !0,
|
|
760
|
-
error: l
|
|
761
|
-
};
|
|
762
|
-
}
|
|
763
|
-
componentDidCatch(l) {
|
|
764
|
-
}
|
|
765
|
-
handleReset = () => {
|
|
766
|
-
this.setState({
|
|
767
|
-
hasError: !1,
|
|
768
|
-
error: null
|
|
769
|
-
}, () => {
|
|
770
|
-
this.props.onReset?.();
|
|
771
|
-
});
|
|
772
|
-
};
|
|
773
|
-
render() {
|
|
774
|
-
return this.state.hasError ? this.props.fallbackRender({
|
|
775
|
-
error: this.state.error,
|
|
776
|
-
retry: this.handleReset
|
|
777
|
-
}) : this.props.children;
|
|
778
|
-
}
|
|
779
|
-
}, me = D(({ fallback: l, loadingType: e = "ecg", loadingShape: t = "square", loadingText: s = "Loading...", loadingSize: n = "medium", loadingContainerClassName: r, loadingTextClassName: o, loadingClassName: c }) => {
|
|
780
|
-
if (l) return /* @__PURE__ */ i(_e, { children: l });
|
|
781
|
-
const d = () => {
|
|
782
|
-
switch (e) {
|
|
783
|
-
case "ecg":
|
|
784
|
-
return /* @__PURE__ */ i(ae, {
|
|
785
|
-
size: n,
|
|
786
|
-
className: c
|
|
787
|
-
});
|
|
788
|
-
case "truck":
|
|
789
|
-
return /* @__PURE__ */ i(Ae, {
|
|
790
|
-
size: n,
|
|
791
|
-
className: c
|
|
792
|
-
});
|
|
793
|
-
case "bounce":
|
|
794
|
-
return /* @__PURE__ */ i(Re, {
|
|
795
|
-
size: n,
|
|
796
|
-
shape: t,
|
|
797
|
-
className: c
|
|
798
|
-
});
|
|
799
|
-
default:
|
|
800
|
-
return /* @__PURE__ */ i(ae, {
|
|
801
|
-
size: n,
|
|
802
|
-
className: c
|
|
803
|
-
});
|
|
804
|
-
}
|
|
805
|
-
};
|
|
806
|
-
return /* @__PURE__ */ w("div", {
|
|
807
|
-
className: `${$.loadingContainer} ${r || ""}`,
|
|
808
|
-
children: [d(), /* @__PURE__ */ i("p", {
|
|
809
|
-
className: `${$.loadingText} ${o || ""}`,
|
|
810
|
-
children: s
|
|
811
|
-
})]
|
|
812
|
-
});
|
|
813
|
-
});
|
|
814
|
-
me.displayName = "LoadingFallback";
|
|
815
|
-
var fe = D(({ error: l, retry: e, errorFallback: t, errorTitle: s = "Error", errorDescription: n = "Something went wrong. Please try again.", retryText: r = "Retry", errorDetailsText: o = "Details", clearLocalDataText: c = "Clear local data", onClearLocalData: d, errorContainerClassName: a, errorDetailsClassName: u, showErrorDetails: h = !1 }) => {
|
|
816
|
-
const m = () => {
|
|
817
|
-
try {
|
|
818
|
-
sessionStorage.clear();
|
|
819
|
-
} catch {
|
|
820
|
-
} finally {
|
|
821
|
-
d?.();
|
|
822
|
-
}
|
|
823
|
-
};
|
|
824
|
-
return t ? /* @__PURE__ */ i(_e, { children: t({
|
|
825
|
-
error: l,
|
|
826
|
-
retry: e
|
|
827
|
-
}) }) : /* @__PURE__ */ w("div", {
|
|
828
|
-
className: `${$.errorContainer} ${a || ""}`,
|
|
829
|
-
children: [/* @__PURE__ */ i("div", {
|
|
830
|
-
className: $.errorIconWrapper,
|
|
831
|
-
children: /* @__PURE__ */ i(Te, {
|
|
832
|
-
className: $.errorIcon,
|
|
833
|
-
size: 64
|
|
834
|
-
})
|
|
835
|
-
}), /* @__PURE__ */ w("div", {
|
|
836
|
-
className: $.errorContent,
|
|
837
|
-
children: [
|
|
838
|
-
/* @__PURE__ */ i("h3", {
|
|
839
|
-
className: $.errorTitle,
|
|
840
|
-
children: s
|
|
841
473
|
}),
|
|
842
|
-
/* @__PURE__ */
|
|
843
|
-
|
|
844
|
-
children:
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
children:
|
|
851
|
-
|
|
852
|
-
children:
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
474
|
+
/* @__PURE__ */ o(X, {
|
|
475
|
+
title: r("sections.language.title"),
|
|
476
|
+
children: /* @__PURE__ */ o(ne.Root, {
|
|
477
|
+
size: "1",
|
|
478
|
+
columns: "3",
|
|
479
|
+
gap: "2",
|
|
480
|
+
value: t,
|
|
481
|
+
onValueChange: (l) => s({ language: l }),
|
|
482
|
+
children: Object.values(k).map((l) => /* @__PURE__ */ o(ne.Item, {
|
|
483
|
+
value: l,
|
|
484
|
+
children: /* @__PURE__ */ b(_, {
|
|
485
|
+
direction: "column",
|
|
486
|
+
align: "center",
|
|
487
|
+
gap: "1",
|
|
488
|
+
width: "100%",
|
|
489
|
+
children: [/* @__PURE__ */ o(x, {
|
|
490
|
+
size: "3",
|
|
491
|
+
weight: "bold",
|
|
492
|
+
children: rt[l]
|
|
493
|
+
}), /* @__PURE__ */ o(x, {
|
|
494
|
+
size: "1",
|
|
495
|
+
color: "gray",
|
|
496
|
+
children: r(lt[l])
|
|
497
|
+
})]
|
|
498
|
+
})
|
|
499
|
+
}, l))
|
|
857
500
|
})
|
|
858
|
-
}),
|
|
859
|
-
/* @__PURE__ */ w("div", {
|
|
860
|
-
className: $.errorActions,
|
|
861
|
-
children: [/* @__PURE__ */ w("button", {
|
|
862
|
-
type: "button",
|
|
863
|
-
className: $.retryButton,
|
|
864
|
-
onClick: e,
|
|
865
|
-
children: [/* @__PURE__ */ i("span", {
|
|
866
|
-
className: $.retryButtonIcon,
|
|
867
|
-
children: "↻"
|
|
868
|
-
}), /* @__PURE__ */ i("span", { children: r })]
|
|
869
|
-
}), /* @__PURE__ */ i("button", {
|
|
870
|
-
type: "button",
|
|
871
|
-
className: $.clearLocalDataButton,
|
|
872
|
-
onClick: m,
|
|
873
|
-
children: /* @__PURE__ */ i("span", { children: c })
|
|
874
|
-
})]
|
|
875
501
|
})
|
|
876
502
|
]
|
|
877
|
-
})
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
onReset: E,
|
|
885
|
-
fallbackRender: ({ error: I, retry: A }) => /* @__PURE__ */ i(fe, {
|
|
886
|
-
error: I,
|
|
887
|
-
retry: A,
|
|
888
|
-
errorFallback: u,
|
|
889
|
-
errorTitle: h,
|
|
890
|
-
errorDescription: m,
|
|
891
|
-
retryText: _,
|
|
892
|
-
errorDetailsText: v,
|
|
893
|
-
clearLocalDataText: g,
|
|
894
|
-
onClearLocalData: p,
|
|
895
|
-
errorContainerClassName: S,
|
|
896
|
-
errorDetailsClassName: f,
|
|
897
|
-
showErrorDetails: b
|
|
898
|
-
}),
|
|
899
|
-
children: /* @__PURE__ */ i(We, {
|
|
900
|
-
fallback: /* @__PURE__ */ i(me, {
|
|
901
|
-
fallback: l,
|
|
902
|
-
loadingType: t,
|
|
903
|
-
loadingShape: s,
|
|
904
|
-
loadingText: r,
|
|
905
|
-
loadingSize: o,
|
|
906
|
-
loadingContainerClassName: c,
|
|
907
|
-
loadingTextClassName: d,
|
|
908
|
-
loadingClassName: n
|
|
909
|
-
}),
|
|
910
|
-
...y,
|
|
911
|
-
children: e ? /* @__PURE__ */ i(vn, {}) : a
|
|
912
|
-
})
|
|
913
|
-
})
|
|
914
|
-
}));
|
|
915
|
-
pn.displayName = "Suspense";
|
|
916
|
-
var vn = () => {
|
|
917
|
-
throw new Promise(() => {
|
|
918
|
-
});
|
|
919
|
-
}, gn = "styles-module__wrapper___jXPV3", yn = "styles-module__fullWidth___eKyGB", bn = "styles-module__label___MyTeo", Sn = "styles-module__required___TV-m8", wn = "styles-module__inputContainer___VvGBl", In = "styles-module__textarea___AjX9N", En = "styles-module__small___zMx0G", Nn = "styles-module__medium___tO2Lb", Cn = "styles-module__large___3eU2g", xn = "styles-module__filled___TPQgI", On = "styles-module__leftIcon___FHp2R", Tn = "styles-module__rightIcon___dkyvP", Mn = "styles-module__error___d8gLK", zn = "styles-module__disabled___IzbfE", $n = "styles-module__errorText___Nom7x", Ln = "styles-module__helperText___97Def", L = {
|
|
920
|
-
wrapper: gn,
|
|
921
|
-
fullWidth: yn,
|
|
922
|
-
label: bn,
|
|
923
|
-
required: Sn,
|
|
924
|
-
inputContainer: wn,
|
|
925
|
-
textarea: In,
|
|
926
|
-
small: En,
|
|
927
|
-
medium: Nn,
|
|
928
|
-
large: Cn,
|
|
929
|
-
default: "styles-module__default___vsSxX",
|
|
930
|
-
filled: xn,
|
|
931
|
-
leftIcon: On,
|
|
932
|
-
rightIcon: Tn,
|
|
933
|
-
error: Mn,
|
|
934
|
-
disabled: zn,
|
|
935
|
-
errorText: $n,
|
|
936
|
-
helperText: Ln
|
|
937
|
-
}, Dn = ee(({ label: l, error: e, helperText: t, leftIcon: s, rightIcon: n, size: r = "medium", variant: o = "default", fullWidth: c = !1, className: d = "", disabled: a, ...u }, h) => {
|
|
938
|
-
const m = [
|
|
939
|
-
L.textarea,
|
|
940
|
-
L[r],
|
|
941
|
-
L[o],
|
|
942
|
-
e && L.error,
|
|
943
|
-
a && L.disabled,
|
|
944
|
-
d
|
|
945
|
-
].filter(Boolean).join(" ");
|
|
946
|
-
return /* @__PURE__ */ w("div", {
|
|
947
|
-
className: [L.wrapper, c && L.fullWidth].filter(Boolean).join(" "),
|
|
948
|
-
children: [
|
|
949
|
-
l && /* @__PURE__ */ w("label", {
|
|
950
|
-
className: L.label,
|
|
951
|
-
children: [l, u.required && /* @__PURE__ */ i("span", {
|
|
952
|
-
className: L.required,
|
|
953
|
-
children: "*"
|
|
954
|
-
})]
|
|
955
|
-
}),
|
|
956
|
-
/* @__PURE__ */ w("div", {
|
|
957
|
-
className: L.inputContainer,
|
|
503
|
+
}), /* @__PURE__ */ o(ee, {
|
|
504
|
+
size: "2",
|
|
505
|
+
children: /* @__PURE__ */ b(_, {
|
|
506
|
+
align: "center",
|
|
507
|
+
justify: "end",
|
|
508
|
+
gap: "2",
|
|
509
|
+
wrap: "wrap",
|
|
958
510
|
children: [
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
511
|
+
m ? /* @__PURE__ */ o(x, {
|
|
512
|
+
size: "1",
|
|
513
|
+
color: "gray",
|
|
514
|
+
mr: "auto",
|
|
515
|
+
children: r("labels.unsavedChanges")
|
|
516
|
+
}) : null,
|
|
517
|
+
/* @__PURE__ */ b(G, {
|
|
518
|
+
type: "button",
|
|
519
|
+
variant: "soft",
|
|
520
|
+
color: "gray",
|
|
521
|
+
size: "2",
|
|
522
|
+
onClick: () => a(q(e)),
|
|
523
|
+
disabled: !m || h,
|
|
524
|
+
children: [/* @__PURE__ */ o($, {
|
|
525
|
+
icon: je,
|
|
526
|
+
size: 14
|
|
527
|
+
}), r("actions.reset")]
|
|
968
528
|
}),
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
529
|
+
/* @__PURE__ */ b(G, {
|
|
530
|
+
type: "button",
|
|
531
|
+
size: "2",
|
|
532
|
+
disabled: !m || h,
|
|
533
|
+
onClick: () => {
|
|
534
|
+
u(!0);
|
|
535
|
+
try {
|
|
536
|
+
s({ theme: { ...n } });
|
|
537
|
+
} finally {
|
|
538
|
+
u(!1);
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
children: [/* @__PURE__ */ o($, {
|
|
542
|
+
icon: ke,
|
|
543
|
+
size: 14
|
|
544
|
+
}), r("actions.saveTheme")]
|
|
972
545
|
})
|
|
973
546
|
]
|
|
974
|
-
}),
|
|
975
|
-
e && /* @__PURE__ */ i("span", {
|
|
976
|
-
className: L.errorText,
|
|
977
|
-
children: e
|
|
978
|
-
}),
|
|
979
|
-
t && !e && /* @__PURE__ */ i("span", {
|
|
980
|
-
className: L.helperText,
|
|
981
|
-
children: t
|
|
982
547
|
})
|
|
983
|
-
]
|
|
548
|
+
})]
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
function os({ children: r, loadingText: e = "Loading" }) {
|
|
552
|
+
return /* @__PURE__ */ o(Oe, {
|
|
553
|
+
fallback: /* @__PURE__ */ b(_, {
|
|
554
|
+
align: "center",
|
|
555
|
+
justify: "center",
|
|
556
|
+
gap: "3",
|
|
557
|
+
p: "6",
|
|
558
|
+
minHeight: "200px",
|
|
559
|
+
children: [/* @__PURE__ */ o(Le, {}), /* @__PURE__ */ o(x, {
|
|
560
|
+
size: "2",
|
|
561
|
+
color: "gray",
|
|
562
|
+
children: e
|
|
563
|
+
})]
|
|
564
|
+
}),
|
|
565
|
+
children: r
|
|
984
566
|
});
|
|
567
|
+
}
|
|
568
|
+
var ot = Y(({ name: r, ...e }) => {
|
|
569
|
+
const t = me[r];
|
|
570
|
+
return t ? /* @__PURE__ */ o(t, { ...e }) : (console.warn(`Icon "${r}" not found in lucide-react`), null);
|
|
985
571
|
});
|
|
986
|
-
|
|
987
|
-
function
|
|
988
|
-
const s = new Array(
|
|
989
|
-
return new Proxy(s, { get(
|
|
990
|
-
if (typeof
|
|
991
|
-
const
|
|
992
|
-
if (
|
|
993
|
-
const
|
|
994
|
-
if (Number.isInteger(
|
|
995
|
-
let
|
|
996
|
-
if (!
|
|
997
|
-
const
|
|
998
|
-
|
|
999
|
-
index:
|
|
1000
|
-
key: t(
|
|
1001
|
-
start:
|
|
1002
|
-
size: e[
|
|
1003
|
-
end:
|
|
572
|
+
ot.displayName = "Icon";
|
|
573
|
+
function at(r, e, t) {
|
|
574
|
+
const s = new Array(r);
|
|
575
|
+
return new Proxy(s, { get(i, n, a) {
|
|
576
|
+
if (typeof n == "string") {
|
|
577
|
+
const h = n.charCodeAt(0);
|
|
578
|
+
if (h >= 48 && h <= 57) {
|
|
579
|
+
const u = +n;
|
|
580
|
+
if (Number.isInteger(u) && u >= 0 && u < r) {
|
|
581
|
+
let m = i[u];
|
|
582
|
+
if (!m) {
|
|
583
|
+
const d = e[u * 2];
|
|
584
|
+
m = i[u] = {
|
|
585
|
+
index: u,
|
|
586
|
+
key: t(u),
|
|
587
|
+
start: d,
|
|
588
|
+
size: e[u * 2 + 1],
|
|
589
|
+
end: d + e[u * 2 + 1],
|
|
1004
590
|
lane: 0
|
|
1005
591
|
};
|
|
1006
592
|
}
|
|
1007
|
-
return
|
|
593
|
+
return m;
|
|
1008
594
|
}
|
|
1009
595
|
}
|
|
1010
|
-
if (
|
|
596
|
+
if (n === "length") return r;
|
|
1011
597
|
}
|
|
1012
|
-
return Reflect.get(
|
|
598
|
+
return Reflect.get(i, n, a);
|
|
1013
599
|
} });
|
|
1014
600
|
}
|
|
1015
|
-
function
|
|
1016
|
-
let s = t.initialDeps ?? [],
|
|
1017
|
-
function
|
|
1018
|
-
var
|
|
1019
|
-
const
|
|
1020
|
-
let
|
|
1021
|
-
|
|
1022
|
-
const
|
|
1023
|
-
if (!(
|
|
1024
|
-
s =
|
|
1025
|
-
let
|
|
1026
|
-
if (
|
|
1027
|
-
const
|
|
1028
|
-
for (
|
|
1029
|
-
return
|
|
601
|
+
function W(r, e, t) {
|
|
602
|
+
let s = t.initialDeps ?? [], i, n = !0;
|
|
603
|
+
function a() {
|
|
604
|
+
var h;
|
|
605
|
+
const u = process.env.NODE_ENV !== "production" && !!t.key && !!((h = t.debug) != null && h.call(t));
|
|
606
|
+
let m = 0;
|
|
607
|
+
u && (m = Date.now());
|
|
608
|
+
const d = r();
|
|
609
|
+
if (!(d.length !== s.length || d.some((l, g) => s[g] !== l))) return i;
|
|
610
|
+
s = d;
|
|
611
|
+
let c = 0;
|
|
612
|
+
if (u && (c = Date.now()), i = e(...d), u) {
|
|
613
|
+
const l = Math.round((Date.now() - m) * 100) / 100, g = Math.round((Date.now() - c) * 100) / 100, S = g / 16, y = (f, p) => {
|
|
614
|
+
for (f = String(f); f.length < p; ) f = " " + f;
|
|
615
|
+
return f;
|
|
1030
616
|
};
|
|
1031
|
-
console.info(`%c⏱ ${g
|
|
617
|
+
console.info(`%c⏱ ${y(g, 5)} /${y(l, 5)} ms`, `
|
|
1032
618
|
font-size: .6rem;
|
|
1033
619
|
font-weight: bold;
|
|
1034
|
-
color: hsl(${Math.max(0, Math.min(120 - 120 *
|
|
620
|
+
color: hsl(${Math.max(0, Math.min(120 - 120 * S, 120))}deg 100% 31%);`, t?.key);
|
|
1035
621
|
}
|
|
1036
|
-
return t?.onChange && !(
|
|
622
|
+
return t?.onChange && !(n && t.skipInitialOnChange) && t.onChange(i), n = !1, i;
|
|
1037
623
|
}
|
|
1038
|
-
return
|
|
1039
|
-
s =
|
|
1040
|
-
},
|
|
624
|
+
return a.updateDeps = (h) => {
|
|
625
|
+
s = h;
|
|
626
|
+
}, a;
|
|
1041
627
|
}
|
|
1042
|
-
function
|
|
1043
|
-
if (
|
|
1044
|
-
return
|
|
628
|
+
function ae(r, e) {
|
|
629
|
+
if (r === void 0) throw new Error(`Unexpected undefined${e ? `: ${e}` : ""}`);
|
|
630
|
+
return r;
|
|
1045
631
|
}
|
|
1046
|
-
var
|
|
632
|
+
var ct = (r, e) => Math.abs(r - e) < 1.01, ht = (r, e, t) => {
|
|
1047
633
|
let s;
|
|
1048
|
-
return function(...
|
|
1049
|
-
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
if (
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
634
|
+
return Object.assign(function(...i) {
|
|
635
|
+
r.clearTimeout(s), s = r.setTimeout(() => e.apply(this, i), t);
|
|
636
|
+
}, { cancel: () => {
|
|
637
|
+
r.clearTimeout(s);
|
|
638
|
+
} });
|
|
639
|
+
}, H, Z = () => {
|
|
640
|
+
if (H !== void 0) return H;
|
|
641
|
+
if (typeof navigator > "u") return H = !1;
|
|
642
|
+
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return H = !0;
|
|
643
|
+
const r = navigator.maxTouchPoints;
|
|
644
|
+
return H = navigator.platform === "MacIntel" && r !== void 0 && r > 0;
|
|
645
|
+
}, ce = (r) => {
|
|
646
|
+
const { offsetWidth: e, offsetHeight: t } = r;
|
|
1059
647
|
return {
|
|
1060
648
|
width: e,
|
|
1061
649
|
height: t
|
|
1062
650
|
};
|
|
1063
|
-
},
|
|
1064
|
-
const e = Math.max(
|
|
1065
|
-
for (let
|
|
651
|
+
}, dt = (r) => r, ut = (r) => {
|
|
652
|
+
const e = Math.max(r.startIndex - r.overscan, 0), t = Math.min(r.endIndex + r.overscan, r.count - 1) - e + 1, s = new Array(t);
|
|
653
|
+
for (let i = 0; i < t; i++) s[i] = e + i;
|
|
1066
654
|
return s;
|
|
1067
|
-
},
|
|
1068
|
-
const t =
|
|
655
|
+
}, ft = (r, e) => {
|
|
656
|
+
const t = r.scrollElement;
|
|
1069
657
|
if (!t) return;
|
|
1070
|
-
const s =
|
|
658
|
+
const s = r.targetWindow;
|
|
1071
659
|
if (!s) return;
|
|
1072
|
-
const
|
|
1073
|
-
const { width:
|
|
660
|
+
const i = (a) => {
|
|
661
|
+
const { width: h, height: u } = a;
|
|
1074
662
|
e({
|
|
1075
|
-
width: Math.round(
|
|
1076
|
-
height: Math.round(
|
|
663
|
+
width: Math.round(h),
|
|
664
|
+
height: Math.round(u)
|
|
1077
665
|
});
|
|
1078
666
|
};
|
|
1079
|
-
if (
|
|
667
|
+
if (i(ce(t)), !s.ResizeObserver) return () => {
|
|
1080
668
|
};
|
|
1081
|
-
const
|
|
1082
|
-
const
|
|
1083
|
-
const
|
|
1084
|
-
if (
|
|
1085
|
-
const
|
|
1086
|
-
if (
|
|
1087
|
-
|
|
1088
|
-
width:
|
|
1089
|
-
height:
|
|
669
|
+
const n = new s.ResizeObserver((a) => {
|
|
670
|
+
const h = () => {
|
|
671
|
+
const u = a[0];
|
|
672
|
+
if (u?.borderBoxSize) {
|
|
673
|
+
const m = u.borderBoxSize[0];
|
|
674
|
+
if (m) {
|
|
675
|
+
i({
|
|
676
|
+
width: m.inlineSize,
|
|
677
|
+
height: m.blockSize
|
|
1090
678
|
});
|
|
1091
679
|
return;
|
|
1092
680
|
}
|
|
1093
681
|
}
|
|
1094
|
-
|
|
682
|
+
i(ce(t));
|
|
1095
683
|
};
|
|
1096
|
-
|
|
684
|
+
r.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(h) : h();
|
|
1097
685
|
});
|
|
1098
|
-
return
|
|
1099
|
-
|
|
686
|
+
return n.observe(t, { box: "border-box" }), () => {
|
|
687
|
+
n.unobserve(t);
|
|
1100
688
|
};
|
|
1101
|
-
},
|
|
1102
|
-
const t =
|
|
689
|
+
}, K = { passive: !0 }, mt = (r, e) => {
|
|
690
|
+
const t = r.scrollElement;
|
|
1103
691
|
if (!t) return;
|
|
1104
692
|
const s = () => {
|
|
1105
693
|
e({
|
|
@@ -1107,67 +695,67 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1107
695
|
height: t.innerHeight
|
|
1108
696
|
});
|
|
1109
697
|
};
|
|
1110
|
-
return s(), t.addEventListener("resize", s,
|
|
698
|
+
return s(), t.addEventListener("resize", s, K), () => {
|
|
1111
699
|
t.removeEventListener("resize", s);
|
|
1112
700
|
};
|
|
1113
|
-
},
|
|
1114
|
-
const s =
|
|
701
|
+
}, gt = typeof window > "u" ? !0 : "onscrollend" in window, he = (r, e, t) => {
|
|
702
|
+
const s = r.scrollElement;
|
|
1115
703
|
if (!s) return;
|
|
1116
|
-
const
|
|
1117
|
-
if (!
|
|
1118
|
-
const
|
|
1119
|
-
let
|
|
1120
|
-
const
|
|
1121
|
-
|
|
1122
|
-
},
|
|
1123
|
-
return s.addEventListener("scroll",
|
|
1124
|
-
s.removeEventListener("scroll",
|
|
704
|
+
const i = r.targetWindow;
|
|
705
|
+
if (!i) return;
|
|
706
|
+
const n = r.options.useScrollendEvent && gt;
|
|
707
|
+
let a = 0;
|
|
708
|
+
const h = n ? null : ht(i, () => e(a, !1), r.options.isScrollingResetDelay), u = (c) => () => {
|
|
709
|
+
a = t(s), h?.(), e(a, c);
|
|
710
|
+
}, m = u(!0), d = u(!1);
|
|
711
|
+
return s.addEventListener("scroll", m, K), n && s.addEventListener("scrollend", d, K), () => {
|
|
712
|
+
s.removeEventListener("scroll", m), n && s.removeEventListener("scrollend", d), h?.cancel();
|
|
1125
713
|
};
|
|
1126
|
-
},
|
|
1127
|
-
const { horizontal: s, isRtl:
|
|
1128
|
-
return s ? t.scrollLeft * (
|
|
1129
|
-
}),
|
|
714
|
+
}, pt = (r, e) => he(r, e, (t) => {
|
|
715
|
+
const { horizontal: s, isRtl: i } = r.options;
|
|
716
|
+
return s ? t.scrollLeft * (i && -1 || 1) : t.scrollTop;
|
|
717
|
+
}), vt = (r, e) => he(r, e, (t) => r.options.horizontal ? t.scrollX : t.scrollY), _t = (r, e, t) => {
|
|
1130
718
|
if (t.options.useCachedMeasurements) {
|
|
1131
|
-
const s = t.indexFromElement(
|
|
1132
|
-
return t.itemSizeCache.get(
|
|
719
|
+
const s = t.indexFromElement(r), i = t.options.getItemKey(s);
|
|
720
|
+
return t.itemSizeCache.get(i) ?? t.options.estimateSize(s);
|
|
1133
721
|
}
|
|
1134
722
|
if (e?.borderBoxSize) {
|
|
1135
723
|
const s = e.borderBoxSize[0];
|
|
1136
724
|
if (s) return Math.round(s[t.options.horizontal ? "inlineSize" : "blockSize"]);
|
|
1137
725
|
}
|
|
1138
726
|
if (!e) {
|
|
1139
|
-
const s = t.indexFromElement(
|
|
1140
|
-
if (
|
|
727
|
+
const s = t.indexFromElement(r), i = t.options.getItemKey(s), n = t.itemSizeCache.get(i);
|
|
728
|
+
if (n !== void 0) return n;
|
|
1141
729
|
}
|
|
1142
|
-
return
|
|
1143
|
-
},
|
|
1144
|
-
var
|
|
1145
|
-
(
|
|
1146
|
-
[s.options.horizontal ? "left" : "top"]:
|
|
730
|
+
return r[t.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
731
|
+
}, de = (r, { adjustments: e = 0, behavior: t }, s) => {
|
|
732
|
+
var i, n;
|
|
733
|
+
(n = (i = s.scrollElement) == null ? void 0 : i.scrollTo) == null || n.call(i, {
|
|
734
|
+
[s.options.horizontal ? "left" : "top"]: r + e,
|
|
1147
735
|
behavior: t
|
|
1148
736
|
});
|
|
1149
|
-
},
|
|
1150
|
-
constructor(
|
|
1151
|
-
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this._flatMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this._iosDeferredAdjustment = 0, this._iosTouching = !1, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._intendedScrollOffset = null, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
|
|
737
|
+
}, St = de, yt = de, bt = class {
|
|
738
|
+
constructor(r) {
|
|
739
|
+
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this._flatMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this._iosDeferredAdjustment = 0, this._iosTouching = !1, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._intendedScrollOffset = null, this._clampedAdjustment = null, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
|
|
1152
740
|
var e, t, s;
|
|
1153
741
|
return ((s = (t = (e = this.targetWindow) == null ? void 0 : e.performance) == null ? void 0 : t.now) == null ? void 0 : s.call(t)) ?? Date.now();
|
|
1154
742
|
}, this.observer = /* @__PURE__ */ (() => {
|
|
1155
743
|
let e = null;
|
|
1156
744
|
const t = () => e || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : e = new this.targetWindow.ResizeObserver((s) => {
|
|
1157
|
-
s.forEach((
|
|
1158
|
-
const
|
|
1159
|
-
const
|
|
1160
|
-
if (!
|
|
1161
|
-
this.observer.unobserve(
|
|
1162
|
-
for (const [
|
|
1163
|
-
this.elementsCache.delete(
|
|
745
|
+
s.forEach((i) => {
|
|
746
|
+
const n = () => {
|
|
747
|
+
const a = i.target, h = this.indexFromElement(a);
|
|
748
|
+
if (!a.isConnected) {
|
|
749
|
+
this.observer.unobserve(a);
|
|
750
|
+
for (const [u, m] of this.elementsCache) if (m === a) {
|
|
751
|
+
this.elementsCache.delete(u);
|
|
1164
752
|
break;
|
|
1165
753
|
}
|
|
1166
754
|
return;
|
|
1167
755
|
}
|
|
1168
|
-
this.shouldMeasureDuringScroll(
|
|
756
|
+
this.isIndexInRange(h) && this.shouldMeasureDuringScroll(h) && this.resizeItem(h, this.options.measureElement(a, i, this));
|
|
1169
757
|
};
|
|
1170
|
-
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(
|
|
758
|
+
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(n) : n();
|
|
1171
759
|
});
|
|
1172
760
|
}));
|
|
1173
761
|
return {
|
|
@@ -1176,17 +764,17 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1176
764
|
(s = t()) == null || s.disconnect(), e = null;
|
|
1177
765
|
},
|
|
1178
766
|
observe: (s) => {
|
|
1179
|
-
var
|
|
1180
|
-
return (
|
|
767
|
+
var i;
|
|
768
|
+
return (i = t()) == null ? void 0 : i.observe(s, { box: "border-box" });
|
|
1181
769
|
},
|
|
1182
770
|
unobserve: (s) => {
|
|
1183
|
-
var
|
|
1184
|
-
return (
|
|
771
|
+
var i;
|
|
772
|
+
return (i = t()) == null ? void 0 : i.unobserve(s);
|
|
1185
773
|
}
|
|
1186
774
|
};
|
|
1187
775
|
})(), this.range = null, this.setOptions = (e) => {
|
|
1188
776
|
var t, s;
|
|
1189
|
-
const
|
|
777
|
+
const i = {
|
|
1190
778
|
debug: !1,
|
|
1191
779
|
initialOffset: 0,
|
|
1192
780
|
overscan: 1,
|
|
@@ -1195,11 +783,11 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1195
783
|
scrollPaddingStart: 0,
|
|
1196
784
|
scrollPaddingEnd: 0,
|
|
1197
785
|
horizontal: !1,
|
|
1198
|
-
getItemKey:
|
|
1199
|
-
rangeExtractor:
|
|
786
|
+
getItemKey: dt,
|
|
787
|
+
rangeExtractor: ut,
|
|
1200
788
|
onChange: () => {
|
|
1201
789
|
},
|
|
1202
|
-
measureElement:
|
|
790
|
+
measureElement: _t,
|
|
1203
791
|
initialRect: {
|
|
1204
792
|
width: 0,
|
|
1205
793
|
height: 0
|
|
@@ -1220,46 +808,46 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1220
808
|
laneAssignmentMode: "estimate",
|
|
1221
809
|
useCachedMeasurements: !1
|
|
1222
810
|
};
|
|
1223
|
-
for (const
|
|
1224
|
-
const
|
|
1225
|
-
|
|
811
|
+
for (const c in e) {
|
|
812
|
+
const l = e[c];
|
|
813
|
+
l !== void 0 && (i[c] = l);
|
|
1226
814
|
}
|
|
1227
|
-
const
|
|
1228
|
-
let
|
|
1229
|
-
if (
|
|
1230
|
-
const
|
|
1231
|
-
if (
|
|
1232
|
-
|
|
1233
|
-
const
|
|
1234
|
-
|
|
1235
|
-
const
|
|
1236
|
-
|
|
815
|
+
const n = this.options;
|
|
816
|
+
let a = null, h = null, u = !1;
|
|
817
|
+
if (n !== void 0 && n.enabled && i.enabled && i.anchorTo === "end" && this.scrollElement !== null) {
|
|
818
|
+
const c = n.count, l = i.count, g = this.getMeasurements(), S = c > 0 ? ((t = g[0]) == null ? void 0 : t.key) ?? n.getItemKey(0) : null, y = c > 0 ? ((s = g[c - 1]) == null ? void 0 : s.key) ?? n.getItemKey(c - 1) : null;
|
|
819
|
+
if (l !== c || c > 0 && l > 0 && (i.getItemKey(0) !== S || i.getItemKey(l - 1) !== y)) {
|
|
820
|
+
u = !0;
|
|
821
|
+
const f = c > 0 ? this.getVirtualItemForOffset(this.getScrollOffset()) ?? g[0] : null;
|
|
822
|
+
f && (a = [f.key, this.getScrollOffset() - f.start]);
|
|
823
|
+
const p = i.followOnAppend === !0 ? "auto" : i.followOnAppend || null;
|
|
824
|
+
p && l > c && this.isAtEnd(n.scrollEndThreshold) && (c === 0 || i.getItemKey(l - 1) !== y) && (h = p);
|
|
1237
825
|
}
|
|
1238
826
|
}
|
|
1239
|
-
this.options =
|
|
1240
|
-
let
|
|
1241
|
-
if (
|
|
1242
|
-
const [
|
|
1243
|
-
let
|
|
1244
|
-
for (;
|
|
1245
|
-
if (
|
|
1246
|
-
const
|
|
1247
|
-
if (
|
|
1248
|
-
const
|
|
1249
|
-
|
|
827
|
+
this.options = i, u && (this.pendingMin = 0, this.itemSizeCacheVersion++);
|
|
828
|
+
let m = !1, d = 0;
|
|
829
|
+
if (a && this.scrollOffset !== null) {
|
|
830
|
+
const [c, l] = a, g = this.getMeasurements(), { count: S, getItemKey: y } = this.options;
|
|
831
|
+
let f = 0;
|
|
832
|
+
for (; f < S && y(f) !== c; ) f++;
|
|
833
|
+
if (f < S) {
|
|
834
|
+
const p = g[f];
|
|
835
|
+
if (p) {
|
|
836
|
+
const E = Math.max(0, p.start + l);
|
|
837
|
+
E !== this.scrollOffset && (d = E - this.scrollOffset, this.scrollOffset = E, m = !0);
|
|
1250
838
|
}
|
|
1251
839
|
}
|
|
1252
840
|
}
|
|
1253
|
-
(
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
841
|
+
(m || h) && (this.pendingScrollAnchor = [
|
|
842
|
+
m ? a[0] : null,
|
|
843
|
+
m ? a[1] : 0,
|
|
844
|
+
h,
|
|
845
|
+
d
|
|
1258
846
|
]);
|
|
1259
847
|
}, this.notify = (e) => {
|
|
1260
848
|
var t, s;
|
|
1261
849
|
(s = (t = this.options).onChange) == null || s.call(t, this, e);
|
|
1262
|
-
}, this.maybeNotify =
|
|
850
|
+
}, this.maybeNotify = W(() => (this.calculateRange(), [
|
|
1263
851
|
this.isScrolling,
|
|
1264
852
|
this.range ? this.range.startIndex : null,
|
|
1265
853
|
this.range ? this.range.endIndex : null
|
|
@@ -1274,7 +862,7 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1274
862
|
this.range ? this.range.endIndex : null
|
|
1275
863
|
]
|
|
1276
864
|
}), this.cleanup = () => {
|
|
1277
|
-
this.unsubs.filter(Boolean).forEach((e) => e()), this.unsubs = [], this.observer.disconnect(), this.rafId != null && this.targetWindow && (this.targetWindow.cancelAnimationFrame(this.rafId), this.rafId = null), this.scrollState = null, this.scrollElement = null, this.targetWindow = null;
|
|
865
|
+
this.unsubs.filter(Boolean).forEach((e) => e()), this.unsubs = [], this.observer.disconnect(), this.rafId != null && this.targetWindow && (this.targetWindow.cancelAnimationFrame(this.rafId), this.rafId = null), this.scrollState = null, this.isScrolling = !1, this.scrollDirection = null, this._iosDeferredAdjustment = 0, this._iosTouching = !1, this._iosJustTouchEnded = !1, this._clampedAdjustment = null, this.scrollElement = null, this.targetWindow = null;
|
|
1278
866
|
}, this._didMount = () => () => {
|
|
1279
867
|
this.cleanup();
|
|
1280
868
|
}, this._willUpdate = () => {
|
|
@@ -1285,22 +873,25 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1285
873
|
this.maybeNotify();
|
|
1286
874
|
return;
|
|
1287
875
|
}
|
|
1288
|
-
if (this.scrollElement = t, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = ((e = this.scrollElement) == null ? void 0 : e.window) ?? null, this.elementsCache.forEach((
|
|
1289
|
-
this.observer.observe(
|
|
1290
|
-
}), this.unsubs.push(this.options.observeElementRect(this, (
|
|
1291
|
-
this.scrollRect =
|
|
1292
|
-
})), this.unsubs.push(this.options.observeElementOffset(this, (
|
|
1293
|
-
|
|
876
|
+
if (this.scrollElement = t, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = ((e = this.scrollElement) == null ? void 0 : e.window) ?? null, this.elementsCache.forEach((i) => {
|
|
877
|
+
this.observer.observe(i);
|
|
878
|
+
}), this.unsubs.push(this.options.observeElementRect(this, (i) => {
|
|
879
|
+
this.scrollRect = i, this.maybeNotify();
|
|
880
|
+
})), this.unsubs.push(this.options.observeElementOffset(this, (i, n) => {
|
|
881
|
+
if (n && this._intendedScrollOffset === null && i === this.scrollOffset) return;
|
|
882
|
+
this._intendedScrollOffset !== null && Math.abs(i - this._intendedScrollOffset) < 1.5 && (i = this._intendedScrollOffset), this._intendedScrollOffset = null, this._clampedAdjustment !== null && Math.abs(i - this._clampedAdjustment.maxAtWrite) >= 1.5 && (this._clampedAdjustment = null), this.scrollAdjustments = 0;
|
|
883
|
+
const a = this.getScrollOffset();
|
|
884
|
+
this.scrollDirection = n ? a === i ? this.scrollDirection : a < i ? "forward" : "backward" : null, this.scrollOffset = i, this.isScrolling = n, this._flushIosDeferredIfReady(), this.scrollState && this.scheduleScrollReconcile(), this.maybeNotify();
|
|
1294
885
|
})), "addEventListener" in this.scrollElement) {
|
|
1295
|
-
const
|
|
886
|
+
const i = this.scrollElement, n = () => {
|
|
1296
887
|
this._iosTouching = !0, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
1297
|
-
},
|
|
1298
|
-
this._iosTouching = !1, !(!
|
|
888
|
+
}, a = () => {
|
|
889
|
+
this._iosTouching = !1, !(!Z() || this.targetWindow == null) && (this._iosJustTouchEnded = !0, this._iosTouchEndTimerId = this.targetWindow.setTimeout(() => {
|
|
1299
890
|
this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._flushIosDeferredIfReady();
|
|
1300
891
|
}, 150));
|
|
1301
892
|
};
|
|
1302
|
-
|
|
1303
|
-
|
|
893
|
+
i.addEventListener("touchstart", n, K), i.addEventListener("touchend", a, K), this.unsubs.push(() => {
|
|
894
|
+
i.removeEventListener("touchstart", n), i.removeEventListener("touchend", a), this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
1304
895
|
});
|
|
1305
896
|
}
|
|
1306
897
|
this._scrollToOffset(this.getScrollOffset(), {
|
|
@@ -1310,122 +901,130 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1310
901
|
}
|
|
1311
902
|
const s = this.pendingScrollAnchor;
|
|
1312
903
|
if (this.pendingScrollAnchor = null, s && this.scrollElement && this.options.enabled) {
|
|
1313
|
-
const [
|
|
1314
|
-
|
|
904
|
+
const [i, n, a, h] = s;
|
|
905
|
+
i !== null && !a && (Z() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded) ? h !== 0 && (this._iosDeferredAdjustment += h) : this._scrollToOffset(this.getScrollOffset(), {
|
|
1315
906
|
adjustments: void 0,
|
|
1316
907
|
behavior: void 0
|
|
1317
|
-
})),
|
|
908
|
+
})), a && this.scrollToEnd({ behavior: a });
|
|
1318
909
|
}
|
|
910
|
+
this._retryClampedAdjustment();
|
|
911
|
+
}, this._retryClampedAdjustment = () => {
|
|
912
|
+
if (this._clampedAdjustment === null || !this.scrollElement || !this.options.enabled) return;
|
|
913
|
+
const { target: e, maxAtWrite: t } = this._clampedAdjustment, s = this.getMaxScrollOffset();
|
|
914
|
+
s > t + 0.5 && (this._clampedAdjustment = e > s + 0.5 ? {
|
|
915
|
+
target: e,
|
|
916
|
+
maxAtWrite: s
|
|
917
|
+
} : null, this._scrollToOffset(e, {
|
|
918
|
+
adjustments: void 0,
|
|
919
|
+
behavior: void 0
|
|
920
|
+
}));
|
|
1319
921
|
}, this._flushIosDeferredIfReady = () => {
|
|
1320
922
|
if (this._iosDeferredAdjustment === 0 || this.isScrolling || this._iosTouching || this._iosJustTouchEnded) return;
|
|
1321
923
|
const e = this.getScrollOffset(), t = this.getMaxScrollOffset();
|
|
1322
924
|
if (e < 0 || e > t) return;
|
|
925
|
+
if (this._iosDeferredAdjustment < 0 && e >= t - 1) {
|
|
926
|
+
this._iosDeferredAdjustment = 0;
|
|
927
|
+
return;
|
|
928
|
+
}
|
|
1323
929
|
const s = this._iosDeferredAdjustment;
|
|
1324
930
|
this._iosDeferredAdjustment = 0, this._scrollToOffset(e, {
|
|
1325
931
|
adjustments: this.scrollAdjustments += s,
|
|
1326
932
|
behavior: void 0
|
|
1327
933
|
});
|
|
1328
|
-
}, this.rafId = null, this.getSize = () => this.options.enabled ? (this.scrollRect = this.scrollRect ?? this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0), this.getScrollOffset = () => this.options.enabled ? (this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset), this.scrollOffset) : (this.scrollOffset = null, 0), this.
|
|
1329
|
-
const s = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
1330
|
-
for (let r = t - 1; r >= 0; r--) {
|
|
1331
|
-
const o = e[r];
|
|
1332
|
-
if (s.has(o.lane)) continue;
|
|
1333
|
-
const c = n.get(o.lane);
|
|
1334
|
-
if (c == null || o.end > c.end ? n.set(o.lane, o) : o.end < c.end && s.set(o.lane, !0), s.size === this.options.lanes) break;
|
|
1335
|
-
}
|
|
1336
|
-
return n.size === this.options.lanes ? Array.from(n.values()).sort((r, o) => r.end === o.end ? r.index - o.index : r.end - o.end)[0] : void 0;
|
|
1337
|
-
}, this.getMeasurementOptions = P(() => [
|
|
934
|
+
}, this.rafId = null, this.getSize = () => this.options.enabled ? (this.scrollRect = this.scrollRect ?? this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0), this.getScrollOffset = () => this.options.enabled ? (this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset), this.scrollOffset) : (this.scrollOffset = null, 0), this.getMeasurementOptions = W(() => [
|
|
1338
935
|
this.options.count,
|
|
1339
936
|
this.options.paddingStart,
|
|
1340
937
|
this.options.scrollMargin,
|
|
1341
938
|
this.options.getItemKey,
|
|
1342
939
|
this.options.enabled,
|
|
1343
940
|
this.options.lanes,
|
|
1344
|
-
this.options.laneAssignmentMode
|
|
1345
|
-
|
|
941
|
+
this.options.laneAssignmentMode,
|
|
942
|
+
this.options.gap
|
|
943
|
+
], (e, t, s, i, n, a, h, u) => (this.prevLanes !== void 0 && this.prevLanes !== a && (this.lanesChangedFlag = !0), this.prevLanes = a, this.pendingMin = null, {
|
|
1346
944
|
count: e,
|
|
1347
945
|
paddingStart: t,
|
|
1348
946
|
scrollMargin: s,
|
|
1349
|
-
getItemKey:
|
|
1350
|
-
enabled:
|
|
1351
|
-
lanes:
|
|
1352
|
-
laneAssignmentMode:
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
947
|
+
getItemKey: i,
|
|
948
|
+
enabled: n,
|
|
949
|
+
lanes: a,
|
|
950
|
+
laneAssignmentMode: h,
|
|
951
|
+
gap: u
|
|
952
|
+
}), { key: !1 }), this.isIndexInRange = (e) => e >= 0 && e < this.options.count, this.getMeasurements = W(() => [this.getMeasurementOptions(), this.itemSizeCacheVersion], ({ count: e, paddingStart: t, scrollMargin: s, getItemKey: i, enabled: n, lanes: a, laneAssignmentMode: h, gap: u }, m) => {
|
|
953
|
+
const d = this.itemSizeCache;
|
|
954
|
+
if (!n)
|
|
1356
955
|
return this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
|
|
1357
956
|
if (this.laneAssignments.size > e)
|
|
1358
|
-
for (const
|
|
1359
|
-
this.lanesChangedFlag && (this.lanesChangedFlag = !1, this.lanesSettling = !0, this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), this.pendingMin = null), this.measurementsCache.length === 0 && !this.lanesSettling && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((
|
|
1360
|
-
this.itemSizeCache.set(
|
|
957
|
+
for (const f of this.laneAssignments.keys()) f >= e && this.laneAssignments.delete(f);
|
|
958
|
+
this.lanesChangedFlag && (this.lanesChangedFlag = !1, this.lanesSettling = !0, this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), this.pendingMin = null), this.measurementsCache.length === 0 && !this.lanesSettling && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((f) => {
|
|
959
|
+
this.itemSizeCache.set(f.key, f.size);
|
|
1361
960
|
}));
|
|
1362
|
-
const
|
|
1363
|
-
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === e && (this.lanesSettling = !1),
|
|
1364
|
-
const
|
|
1365
|
-
let
|
|
1366
|
-
if (!
|
|
1367
|
-
const
|
|
1368
|
-
|
|
961
|
+
const c = this.lanesSettling ? 0 : this.pendingMin ?? 0;
|
|
962
|
+
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === e && (this.lanesSettling = !1), a === 1) {
|
|
963
|
+
const f = e * 2;
|
|
964
|
+
let p = this._flatMeasurements;
|
|
965
|
+
if (!p || p.length < f) {
|
|
966
|
+
const v = new Float64Array(f);
|
|
967
|
+
p && c > 0 && v.set(p.subarray(0, c * 2)), p = v, this._flatMeasurements = p;
|
|
1369
968
|
}
|
|
1370
|
-
let
|
|
1371
|
-
if (
|
|
969
|
+
let E;
|
|
970
|
+
if (c === 0) E = t + s;
|
|
1372
971
|
else {
|
|
1373
|
-
const
|
|
1374
|
-
|
|
972
|
+
const v = c - 1;
|
|
973
|
+
E = p[v * 2] + p[v * 2 + 1] + u;
|
|
1375
974
|
}
|
|
1376
|
-
for (let
|
|
1377
|
-
const
|
|
1378
|
-
|
|
975
|
+
for (let v = c; v < e; v++) {
|
|
976
|
+
const z = i(v), A = d.get(z), T = typeof A == "number" ? A : this.options.estimateSize(v);
|
|
977
|
+
p[v * 2] = E, p[v * 2 + 1] = T, E += T + u;
|
|
1379
978
|
}
|
|
1380
|
-
const
|
|
1381
|
-
return this.measurementsCache =
|
|
979
|
+
const w = at(e, p, i);
|
|
980
|
+
return this.measurementsCache = w, w;
|
|
1382
981
|
}
|
|
1383
|
-
const
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
982
|
+
const l = this.measurementsCache.slice(0, c), g = new Array(a).fill(void 0), S = new Float64Array(a);
|
|
983
|
+
let y = 0;
|
|
984
|
+
for (let f = 0; f < c; f++) {
|
|
985
|
+
const p = l[f];
|
|
986
|
+
p && (g[p.lane] === void 0 && y++, g[p.lane] = f, S[p.lane] = p.end);
|
|
1387
987
|
}
|
|
1388
|
-
for (let
|
|
1389
|
-
const
|
|
1390
|
-
let
|
|
1391
|
-
const
|
|
1392
|
-
if (
|
|
1393
|
-
|
|
1394
|
-
const
|
|
1395
|
-
|
|
1396
|
-
} else {
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
988
|
+
for (let f = c; f < e; f++) {
|
|
989
|
+
const p = i(f), E = this.laneAssignments.get(f);
|
|
990
|
+
let w, v;
|
|
991
|
+
const z = h === "estimate" || d.has(p);
|
|
992
|
+
if (E !== void 0 && this.options.lanes > 1) {
|
|
993
|
+
w = E;
|
|
994
|
+
const R = g[w], I = R !== void 0 ? l[R] : void 0;
|
|
995
|
+
v = I ? I.end + u : t + s;
|
|
996
|
+
} else if (y === a) {
|
|
997
|
+
let R = 0, I = S[0], O = g[0];
|
|
998
|
+
for (let C = 1; C < a; C++) {
|
|
999
|
+
const V = S[C];
|
|
1000
|
+
(V < I || V === I && g[C] < O) && (R = C, I = V, O = g[C]);
|
|
1001
|
+
}
|
|
1002
|
+
w = R, v = I + u, z && this.laneAssignments.set(f, w);
|
|
1003
|
+
} else
|
|
1004
|
+
w = f % this.options.lanes, v = t + s, z && this.laneAssignments.set(f, w);
|
|
1005
|
+
const A = d.get(p), T = typeof A == "number" ? A : this.options.estimateSize(f), N = v + T;
|
|
1006
|
+
l[f] = {
|
|
1007
|
+
index: f,
|
|
1008
|
+
start: v,
|
|
1009
|
+
size: T,
|
|
1010
|
+
end: N,
|
|
1011
|
+
key: p,
|
|
1012
|
+
lane: w
|
|
1013
|
+
}, g[w] === void 0 && y++, g[w] = f, S[w] = N;
|
|
1409
1014
|
}
|
|
1410
|
-
return this.measurementsCache =
|
|
1015
|
+
return this.measurementsCache = l, l;
|
|
1411
1016
|
}, {
|
|
1412
1017
|
key: process.env.NODE_ENV !== "production" && "getMeasurements",
|
|
1413
1018
|
debug: () => this.options.debug
|
|
1414
|
-
}), this.calculateRange =
|
|
1019
|
+
}), this.calculateRange = W(() => [
|
|
1415
1020
|
this.getMeasurements(),
|
|
1416
1021
|
this.getSize(),
|
|
1417
1022
|
this.getScrollOffset(),
|
|
1418
1023
|
this.options.lanes
|
|
1419
|
-
], (e, t, s,
|
|
1420
|
-
measurements: e,
|
|
1421
|
-
outerSize: t,
|
|
1422
|
-
scrollOffset: s,
|
|
1423
|
-
lanes: n,
|
|
1424
|
-
flat: n === 1 && this._flatMeasurements != null ? this._flatMeasurements : null
|
|
1425
|
-
}) : null, {
|
|
1024
|
+
], (e, t, s, i) => e.length === 0 || t === 0 ? (this.range = null, null) : (this.range = Et(e, t, s, i, i === 1 && this._flatMeasurements != null ? this._flatMeasurements : null), this.range), {
|
|
1426
1025
|
key: process.env.NODE_ENV !== "production" && "calculateRange",
|
|
1427
1026
|
debug: () => this.options.debug
|
|
1428
|
-
}), this.getVirtualIndexes =
|
|
1027
|
+
}), this.getVirtualIndexes = W(() => {
|
|
1429
1028
|
let e = null, t = null;
|
|
1430
1029
|
const s = this.calculateRange();
|
|
1431
1030
|
return s && (e = s.startIndex, t = s.endIndex), this.maybeNotify.updateDeps([
|
|
@@ -1439,9 +1038,9 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1439
1038
|
e,
|
|
1440
1039
|
t
|
|
1441
1040
|
];
|
|
1442
|
-
}, (e, t, s,
|
|
1443
|
-
startIndex:
|
|
1444
|
-
endIndex:
|
|
1041
|
+
}, (e, t, s, i, n) => i === null || n === null ? [] : e({
|
|
1042
|
+
startIndex: i,
|
|
1043
|
+
endIndex: n,
|
|
1445
1044
|
overscan: t,
|
|
1446
1045
|
count: s
|
|
1447
1046
|
}), {
|
|
@@ -1455,48 +1054,52 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1455
1054
|
if (!this.scrollState || this.scrollState.behavior !== "smooth") return !0;
|
|
1456
1055
|
const s = this.scrollState.index ?? ((t = this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)) == null ? void 0 : t.index);
|
|
1457
1056
|
if (s !== void 0 && this.range) {
|
|
1458
|
-
const
|
|
1459
|
-
return e >=
|
|
1057
|
+
const i = Math.max(this.options.overscan, Math.ceil((this.range.endIndex - this.range.startIndex) / 2)), n = Math.max(0, s - i), a = Math.min(this.options.count - 1, s + i);
|
|
1058
|
+
return e >= n && e <= a;
|
|
1460
1059
|
}
|
|
1461
1060
|
return !0;
|
|
1462
1061
|
}, this.measureElement = (e) => {
|
|
1463
1062
|
if (!e) {
|
|
1464
|
-
this.elementsCache.forEach((
|
|
1465
|
-
|
|
1063
|
+
this.elementsCache.forEach((n, a) => {
|
|
1064
|
+
n.isConnected || (this.observer.unobserve(n), this.elementsCache.delete(a));
|
|
1466
1065
|
});
|
|
1467
1066
|
return;
|
|
1468
1067
|
}
|
|
1469
|
-
const t = this.indexFromElement(e)
|
|
1470
|
-
|
|
1068
|
+
const t = this.indexFromElement(e);
|
|
1069
|
+
if (!this.isIndexInRange(t)) return;
|
|
1070
|
+
const s = this.options.getItemKey(t), i = this.elementsCache.get(s);
|
|
1071
|
+
i !== e && (i && this.observer.unobserve(i), this.observer.observe(e), this.elementsCache.set(s, e)), (!this.isScrolling || this.scrollState) && this.shouldMeasureDuringScroll(t) && this.resizeItem(t, this.options.measureElement(e, void 0, this));
|
|
1471
1072
|
}, this.resizeItem = (e, t) => {
|
|
1472
|
-
var s,
|
|
1473
|
-
if (
|
|
1474
|
-
let
|
|
1475
|
-
const
|
|
1476
|
-
if (this.options.lanes === 1 &&
|
|
1477
|
-
|
|
1073
|
+
var s, i;
|
|
1074
|
+
if (!this.isIndexInRange(e)) return;
|
|
1075
|
+
let n, a, h;
|
|
1076
|
+
const u = this._flatMeasurements;
|
|
1077
|
+
if (this.options.lanes === 1 && u !== null)
|
|
1078
|
+
h = this.options.getItemKey(e), a = u[e * 2], n = u[e * 2 + 1];
|
|
1478
1079
|
else {
|
|
1479
|
-
const
|
|
1480
|
-
if (!
|
|
1481
|
-
|
|
1080
|
+
const c = this.measurementsCache[e];
|
|
1081
|
+
if (!c) return;
|
|
1082
|
+
h = c.key, a = c.start, n = c.size;
|
|
1482
1083
|
}
|
|
1483
|
-
const
|
|
1484
|
-
if (
|
|
1485
|
-
const
|
|
1084
|
+
const m = this.itemSizeCache.get(h) ?? n, d = t - m;
|
|
1085
|
+
if (d !== 0) {
|
|
1086
|
+
const c = this.options.anchorTo === "end" && ((s = this.scrollState) == null ? void 0 : s.behavior) !== "smooth" && this.getVirtualDistanceFromEnd() <= this.options.scrollEndThreshold, l = c ? this.getTotalSize() : 0, g = this.getScrollOffset() + this.scrollAdjustments, S = this.itemSizeCache.has(h) ? a + m <= g && this.scrollDirection !== "backward" : a < g, y = ((i = this.scrollState) == null ? void 0 : i.behavior) !== "smooth" && (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[e] ?? {
|
|
1486
1087
|
index: e,
|
|
1487
|
-
key:
|
|
1488
|
-
start:
|
|
1489
|
-
size:
|
|
1490
|
-
end:
|
|
1088
|
+
key: h,
|
|
1089
|
+
start: a,
|
|
1090
|
+
size: n,
|
|
1091
|
+
end: a + n,
|
|
1491
1092
|
lane: 0
|
|
1492
|
-
},
|
|
1493
|
-
(this.pendingMin === null || e < this.pendingMin) && (this.pendingMin = e), this.itemSizeCache.set(
|
|
1093
|
+
}, d, this) : S);
|
|
1094
|
+
(this.pendingMin === null || e < this.pendingMin) && (this.pendingMin = e), this.itemSizeCache.set(h, t), this.itemSizeCacheVersion++;
|
|
1095
|
+
let f = !1;
|
|
1096
|
+
c ? f = this.applyScrollAdjustment(this.getTotalSize() - l) : y && (f = this.applyScrollAdjustment(d)), this.notify(f), this._retryClampedAdjustment();
|
|
1494
1097
|
}
|
|
1495
|
-
}, this.getVirtualItems =
|
|
1098
|
+
}, this.getVirtualItems = W(() => [this.getVirtualIndexes(), this.getMeasurements()], (e, t) => {
|
|
1496
1099
|
const s = [];
|
|
1497
|
-
for (let
|
|
1498
|
-
const
|
|
1499
|
-
s.push(
|
|
1100
|
+
for (let i = 0, n = e.length; i < n; i++) {
|
|
1101
|
+
const a = t[e[i]];
|
|
1102
|
+
s.push(a);
|
|
1500
1103
|
}
|
|
1501
1104
|
return s;
|
|
1502
1105
|
}, {
|
|
@@ -1505,8 +1108,8 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1505
1108
|
}), this.getVirtualItemForOffset = (e) => {
|
|
1506
1109
|
const t = this.getMeasurements();
|
|
1507
1110
|
if (t.length === 0) return;
|
|
1508
|
-
const s = this._flatMeasurements,
|
|
1509
|
-
return
|
|
1111
|
+
const s = this._flatMeasurements, i = this.options.lanes === 1 && s != null, n = ue(0, t.length - 1, i ? (a) => s[a * 2] : (a) => ae(t[a]).start, e);
|
|
1112
|
+
return ae(t[n]);
|
|
1510
1113
|
}, this.getMaxScrollOffset = () => {
|
|
1511
1114
|
if (!this.scrollElement) return 0;
|
|
1512
1115
|
if ("scrollHeight" in this.scrollElement) return this.options.horizontal ? this.scrollElement.scrollWidth - this.scrollElement.clientWidth : this.scrollElement.scrollHeight - this.scrollElement.clientHeight;
|
|
@@ -1516,56 +1119,58 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1516
1119
|
}
|
|
1517
1120
|
}, this.getVirtualDistanceFromEnd = () => Math.max(this.getTotalSize() - this.getSize() - this.getScrollOffset(), 0), this.getDistanceFromEnd = () => Math.max(this.getMaxScrollOffset() - this.getScrollOffset(), 0), this.isAtEnd = (e = this.options.scrollEndThreshold) => this.getDistanceFromEnd() <= e, this.getOffsetForAlignment = (e, t, s = 0) => {
|
|
1518
1121
|
if (!this.scrollElement) return 0;
|
|
1519
|
-
const
|
|
1520
|
-
t === "auto" && (t = e >=
|
|
1521
|
-
const
|
|
1522
|
-
return Math.max(Math.min(
|
|
1122
|
+
const i = this.getSize(), n = this.getScrollOffset();
|
|
1123
|
+
t === "auto" && (t = e >= n + i ? "end" : "start"), t === "center" ? e += (s - i) / 2 : t === "end" && (e -= i);
|
|
1124
|
+
const a = this.getMaxScrollOffset();
|
|
1125
|
+
return Math.max(Math.min(a, e), 0);
|
|
1523
1126
|
}, this.getOffsetForIndex = (e, t = "auto") => {
|
|
1524
1127
|
e = Math.max(0, Math.min(e, this.options.count - 1));
|
|
1525
|
-
const s = this.getSize(),
|
|
1526
|
-
if (!
|
|
1527
|
-
if (t === "auto")
|
|
1528
|
-
|
|
1529
|
-
|
|
1128
|
+
const s = this.getSize(), i = this.getScrollOffset(), n = this.measurementsCache[e];
|
|
1129
|
+
if (!n) return;
|
|
1130
|
+
if (t === "auto")
|
|
1131
|
+
if (n.end >= i + s - this.options.scrollPaddingEnd) t = "end";
|
|
1132
|
+
else if (n.start <= i + this.options.scrollPaddingStart) t = "start";
|
|
1133
|
+
else return [i, t];
|
|
1530
1134
|
if (t === "end" && e === this.options.count - 1) return [this.getMaxScrollOffset(), t];
|
|
1531
|
-
const
|
|
1532
|
-
return [this.getOffsetForAlignment(
|
|
1135
|
+
const a = t === "end" ? n.end + this.options.scrollPaddingEnd : n.start - this.options.scrollPaddingStart;
|
|
1136
|
+
return [this.getOffsetForAlignment(a, t, n.size), t];
|
|
1533
1137
|
}, this.scrollToOffset = (e, { align: t = "start", behavior: s = "auto" } = {}) => {
|
|
1534
|
-
|
|
1138
|
+
this._iosDeferredAdjustment = 0;
|
|
1139
|
+
const i = this.getOffsetForAlignment(e, t), n = this.now();
|
|
1535
1140
|
this.scrollState = {
|
|
1536
1141
|
index: null,
|
|
1537
1142
|
align: t,
|
|
1538
1143
|
behavior: s,
|
|
1539
|
-
startedAt:
|
|
1540
|
-
lastTargetOffset:
|
|
1144
|
+
startedAt: n,
|
|
1145
|
+
lastTargetOffset: i,
|
|
1541
1146
|
stableFrames: 0
|
|
1542
|
-
}, this._scrollToOffset(
|
|
1147
|
+
}, this._scrollToOffset(i, {
|
|
1543
1148
|
adjustments: void 0,
|
|
1544
1149
|
behavior: s
|
|
1545
1150
|
}), this.scheduleScrollReconcile();
|
|
1546
1151
|
}, this.scrollToIndex = (e, { align: t = "auto", behavior: s = "auto" } = {}) => {
|
|
1547
|
-
e = Math.max(0, Math.min(e, this.options.count - 1));
|
|
1548
|
-
const
|
|
1549
|
-
if (!
|
|
1550
|
-
const [
|
|
1152
|
+
this._iosDeferredAdjustment = 0, e = Math.max(0, Math.min(e, this.options.count - 1));
|
|
1153
|
+
const i = this.getOffsetForIndex(e, t);
|
|
1154
|
+
if (!i) return;
|
|
1155
|
+
const [n, a] = i, h = this.now();
|
|
1551
1156
|
this.scrollState = {
|
|
1552
1157
|
index: e,
|
|
1553
|
-
align:
|
|
1158
|
+
align: a,
|
|
1554
1159
|
behavior: s,
|
|
1555
|
-
startedAt:
|
|
1556
|
-
lastTargetOffset:
|
|
1160
|
+
startedAt: h,
|
|
1161
|
+
lastTargetOffset: n,
|
|
1557
1162
|
stableFrames: 0
|
|
1558
|
-
}, this._scrollToOffset(
|
|
1163
|
+
}, this._scrollToOffset(n, {
|
|
1559
1164
|
adjustments: void 0,
|
|
1560
1165
|
behavior: s
|
|
1561
1166
|
}), this.scheduleScrollReconcile();
|
|
1562
1167
|
}, this.scrollBy = (e, { behavior: t = "auto" } = {}) => {
|
|
1563
|
-
const s = this.getScrollOffset() + e,
|
|
1168
|
+
const s = this.getScrollOffset() + e, i = this.now();
|
|
1564
1169
|
this.scrollState = {
|
|
1565
1170
|
index: null,
|
|
1566
1171
|
align: "start",
|
|
1567
1172
|
behavior: t,
|
|
1568
|
-
startedAt:
|
|
1173
|
+
startedAt: i,
|
|
1569
1174
|
lastTargetOffset: s,
|
|
1570
1175
|
stableFrames: 0
|
|
1571
1176
|
}, this._scrollToOffset(s, {
|
|
@@ -1587,16 +1192,16 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1587
1192
|
let s;
|
|
1588
1193
|
if (t.length === 0) s = this.options.paddingStart;
|
|
1589
1194
|
else if (this.options.lanes === 1) {
|
|
1590
|
-
const
|
|
1591
|
-
|
|
1195
|
+
const i = t.length - 1, n = this._flatMeasurements;
|
|
1196
|
+
n != null ? s = n[i * 2] + n[i * 2 + 1] : s = ((e = t[i]) == null ? void 0 : e.end) ?? 0;
|
|
1592
1197
|
} else {
|
|
1593
|
-
const
|
|
1594
|
-
let
|
|
1595
|
-
for (;
|
|
1596
|
-
const
|
|
1597
|
-
|
|
1198
|
+
const i = Array(this.options.lanes).fill(null);
|
|
1199
|
+
let n = t.length - 1;
|
|
1200
|
+
for (; n >= 0 && i.some((a) => a === null); ) {
|
|
1201
|
+
const a = t[n];
|
|
1202
|
+
i[a.lane] === null && (i[a.lane] = a.end), n--;
|
|
1598
1203
|
}
|
|
1599
|
-
s = Math.max(...
|
|
1204
|
+
s = Math.max(...i.filter((a) => a !== null));
|
|
1600
1205
|
}
|
|
1601
1206
|
return Math.max(s - this.options.scrollMargin + this.options.paddingEnd, 0);
|
|
1602
1207
|
}, this.takeSnapshot = () => {
|
|
@@ -1619,13 +1224,22 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1619
1224
|
}, this);
|
|
1620
1225
|
}, this.measure = () => {
|
|
1621
1226
|
this.pendingMin = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), this.itemSizeCacheVersion++, this.notify(!1);
|
|
1622
|
-
}, this.setOptions(
|
|
1227
|
+
}, this.setOptions(r);
|
|
1623
1228
|
}
|
|
1624
|
-
applyScrollAdjustment(
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1229
|
+
applyScrollAdjustment(r, e) {
|
|
1230
|
+
if (r === 0) return !1;
|
|
1231
|
+
if (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", r), Z() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded))
|
|
1232
|
+
return this._iosDeferredAdjustment += r, !1;
|
|
1233
|
+
{
|
|
1234
|
+
const t = this.getScrollOffset() + this.scrollAdjustments + r, s = this.scrollElement, i = s !== null && ("scrollHeight" in s || "document" in s) ? this.getMaxScrollOffset() : null;
|
|
1235
|
+
return this._clampedAdjustment = i !== null && t > i + 0.5 ? {
|
|
1236
|
+
target: t,
|
|
1237
|
+
maxAtWrite: i
|
|
1238
|
+
} : null, this._scrollToOffset(this.getScrollOffset(), {
|
|
1239
|
+
adjustments: this.scrollAdjustments += r,
|
|
1240
|
+
behavior: e
|
|
1241
|
+
}), this.scrollOffset !== null && (this.scrollOffset += this.scrollAdjustments, this.scrollOffset < 0 && (this.scrollOffset = 0), this.scrollAdjustments = 0), !0;
|
|
1242
|
+
}
|
|
1629
1243
|
}
|
|
1630
1244
|
scheduleScrollReconcile() {
|
|
1631
1245
|
if (!this.targetWindow) {
|
|
@@ -1642,8 +1256,8 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1642
1256
|
this.scrollState = null;
|
|
1643
1257
|
return;
|
|
1644
1258
|
}
|
|
1645
|
-
const
|
|
1646
|
-
if (!s &&
|
|
1259
|
+
const r = this.scrollState.index != null ? this.getOffsetForIndex(this.scrollState.index, this.scrollState.align) : void 0, e = r ? r[0] : this.scrollState.lastTargetOffset, t = 1, s = e !== this.scrollState.lastTargetOffset;
|
|
1260
|
+
if (!s && ct(e, this.getScrollOffset())) {
|
|
1647
1261
|
if (this.scrollState.stableFrames++, this.scrollState.stableFrames >= t) {
|
|
1648
1262
|
this.getScrollOffset() !== e && this._scrollToOffset(e, {
|
|
1649
1263
|
adjustments: void 0,
|
|
@@ -1652,52 +1266,72 @@ var Rn = (l, e) => Math.abs(l - e) < 1.01, kn = (l, e, t) => {
|
|
|
1652
1266
|
return;
|
|
1653
1267
|
}
|
|
1654
1268
|
} else if (this.scrollState.stableFrames = 0, s) {
|
|
1655
|
-
const
|
|
1656
|
-
this.scrollState.lastTargetOffset = e,
|
|
1269
|
+
const i = this.getSize() || 600, n = Math.abs(e - this.getScrollOffset()), a = this.scrollState.behavior === "smooth" && n > i;
|
|
1270
|
+
this.scrollState.lastTargetOffset = e, a || (this.scrollState.behavior = "auto"), this._scrollToOffset(e, {
|
|
1657
1271
|
adjustments: void 0,
|
|
1658
|
-
behavior:
|
|
1272
|
+
behavior: a ? "smooth" : "auto"
|
|
1659
1273
|
});
|
|
1660
1274
|
}
|
|
1661
1275
|
this.scheduleScrollReconcile();
|
|
1662
1276
|
}
|
|
1663
|
-
},
|
|
1664
|
-
for (;
|
|
1665
|
-
const
|
|
1666
|
-
if (
|
|
1667
|
-
else if (
|
|
1668
|
-
else return
|
|
1277
|
+
}, ue = (r, e, t, s) => {
|
|
1278
|
+
for (; r <= e; ) {
|
|
1279
|
+
const i = (r + e) / 2 | 0, n = t(i);
|
|
1280
|
+
if (n < s) r = i + 1;
|
|
1281
|
+
else if (n > s) e = i - 1;
|
|
1282
|
+
else return i;
|
|
1669
1283
|
}
|
|
1670
|
-
return
|
|
1284
|
+
return r > 0 ? r - 1 : 0;
|
|
1671
1285
|
};
|
|
1672
|
-
function
|
|
1673
|
-
|
|
1674
|
-
|
|
1286
|
+
function wt(r, e, t) {
|
|
1287
|
+
let s = 0;
|
|
1288
|
+
for (; s <= e; ) {
|
|
1289
|
+
const i = (s + e) / 2 | 0, n = r[i * 2];
|
|
1290
|
+
if (n < t) s = i + 1;
|
|
1291
|
+
else if (n > t) e = i - 1;
|
|
1292
|
+
else return i;
|
|
1293
|
+
}
|
|
1294
|
+
return s > 0 ? s - 1 : 0;
|
|
1295
|
+
}
|
|
1296
|
+
function Et(r, e, t, s, i) {
|
|
1297
|
+
const n = r.length - 1;
|
|
1298
|
+
if (r.length <= s) return {
|
|
1675
1299
|
startIndex: 0,
|
|
1676
|
-
endIndex:
|
|
1300
|
+
endIndex: n
|
|
1677
1301
|
};
|
|
1678
|
-
|
|
1679
|
-
|
|
1302
|
+
if (s === 1 && i !== null) {
|
|
1303
|
+
const m = wt(i, n, t);
|
|
1304
|
+
let d = m;
|
|
1305
|
+
const c = t + e;
|
|
1306
|
+
for (; d < n && i[d * 2] + i[d * 2 + 1] < c; ) d++;
|
|
1307
|
+
return {
|
|
1308
|
+
startIndex: m,
|
|
1309
|
+
endIndex: d
|
|
1310
|
+
};
|
|
1311
|
+
}
|
|
1312
|
+
let h = ue(0, n, (m) => r[m].start, t), u = h;
|
|
1313
|
+
if (s === 1) for (; u < n && r[u].end < t + e; ) u++;
|
|
1680
1314
|
else if (s > 1) {
|
|
1681
|
-
const
|
|
1682
|
-
for (;
|
|
1683
|
-
const
|
|
1684
|
-
|
|
1315
|
+
const m = Array(s).fill(0);
|
|
1316
|
+
for (; u < n && m.some((c) => c < t + e); ) {
|
|
1317
|
+
const c = r[u];
|
|
1318
|
+
m[c.lane] = c.end, u++;
|
|
1685
1319
|
}
|
|
1686
|
-
const
|
|
1687
|
-
for (;
|
|
1688
|
-
const
|
|
1689
|
-
|
|
1320
|
+
const d = Array(s).fill(t + e);
|
|
1321
|
+
for (; h >= 0 && d.some((c) => c >= t); ) {
|
|
1322
|
+
const c = r[h];
|
|
1323
|
+
d[c.lane] = c.start, h--;
|
|
1690
1324
|
}
|
|
1691
|
-
|
|
1325
|
+
h = Math.max(0, h - h % s), u = Math.min(n, u + (s - 1 - u % s));
|
|
1692
1326
|
}
|
|
1693
1327
|
return {
|
|
1694
|
-
startIndex:
|
|
1695
|
-
endIndex:
|
|
1328
|
+
startIndex: h,
|
|
1329
|
+
endIndex: u
|
|
1696
1330
|
};
|
|
1697
1331
|
}
|
|
1698
|
-
var
|
|
1699
|
-
function
|
|
1700
|
-
const
|
|
1332
|
+
var Q = typeof document < "u" ? P.useLayoutEffect : P.useEffect;
|
|
1333
|
+
function fe({ useFlushSync: r = !0, directDomUpdates: e = !1, directDomUpdatesMode: t = "transform", ...s }) {
|
|
1334
|
+
const i = P.useReducer((d) => d + 1, 0)[1], n = P.useRef({
|
|
1701
1335
|
enabled: e,
|
|
1702
1336
|
mode: t,
|
|
1703
1337
|
container: null,
|
|
@@ -1705,222 +1339,238 @@ function ye({ useFlushSync: l = !0, directDomUpdates: e = !1, directDomUpdatesMo
|
|
|
1705
1339
|
lastPositions: /* @__PURE__ */ new WeakMap(),
|
|
1706
1340
|
prevRange: null
|
|
1707
1341
|
});
|
|
1708
|
-
|
|
1709
|
-
const
|
|
1710
|
-
const
|
|
1711
|
-
if (!
|
|
1712
|
-
const
|
|
1713
|
-
if (
|
|
1714
|
-
|
|
1715
|
-
const
|
|
1716
|
-
|
|
1342
|
+
n.current.enabled = e, n.current.mode = t;
|
|
1343
|
+
const a = (d) => {
|
|
1344
|
+
const c = n.current;
|
|
1345
|
+
if (!c.enabled || !c.container) return;
|
|
1346
|
+
const l = d.getTotalSize();
|
|
1347
|
+
if (l !== c.lastSize) {
|
|
1348
|
+
c.lastSize = l;
|
|
1349
|
+
const g = d.options.horizontal ? "width" : "height";
|
|
1350
|
+
c.container.style[g] = `${l}px`;
|
|
1717
1351
|
}
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1352
|
+
}, h = (d) => {
|
|
1353
|
+
const c = n.current;
|
|
1354
|
+
if (!c.enabled || !c.container) return;
|
|
1355
|
+
a(d);
|
|
1356
|
+
const l = !!d.options.horizontal, g = c.mode === "transform", S = l ? "left" : "top", y = d.options.scrollMargin, f = d.getVirtualItems();
|
|
1357
|
+
for (const p of f) {
|
|
1358
|
+
const E = p.start - y, w = d.elementsCache.get(p.key);
|
|
1359
|
+
w && c.lastPositions.get(w) !== E && (c.lastPositions.set(w, E), g ? w.style.transform = l ? `translate3d(${E}px, 0, 0)` : `translate3d(0, ${E}px, 0)` : w.style[S] = `${E}px`);
|
|
1722
1360
|
}
|
|
1723
|
-
},
|
|
1361
|
+
}, u = {
|
|
1724
1362
|
...s,
|
|
1725
|
-
onChange: (
|
|
1726
|
-
var
|
|
1727
|
-
const
|
|
1728
|
-
let
|
|
1729
|
-
if (
|
|
1730
|
-
|
|
1731
|
-
const
|
|
1732
|
-
|
|
1733
|
-
startIndex:
|
|
1734
|
-
endIndex:
|
|
1735
|
-
isScrolling:
|
|
1363
|
+
onChange: (d, c) => {
|
|
1364
|
+
var l;
|
|
1365
|
+
const g = n.current;
|
|
1366
|
+
let S = !0;
|
|
1367
|
+
if (g.enabled) {
|
|
1368
|
+
h(d);
|
|
1369
|
+
const y = d.range, f = g.prevRange;
|
|
1370
|
+
S = !f || f.isScrolling !== d.isScrolling || f.startIndex !== y?.startIndex || f.endIndex !== y?.endIndex, S && (g.prevRange = y ? {
|
|
1371
|
+
startIndex: y.startIndex,
|
|
1372
|
+
endIndex: y.endIndex,
|
|
1373
|
+
isScrolling: d.isScrolling
|
|
1736
1374
|
} : null);
|
|
1737
1375
|
}
|
|
1738
|
-
|
|
1376
|
+
S && (r && c ? Ve(i) : i()), (l = s.onChange) == null || l.call(s, d, c);
|
|
1739
1377
|
}
|
|
1740
|
-
}, [
|
|
1741
|
-
const
|
|
1742
|
-
return Object.assign(
|
|
1743
|
-
const
|
|
1744
|
-
if (
|
|
1745
|
-
const
|
|
1746
|
-
|
|
1747
|
-
const
|
|
1748
|
-
|
|
1378
|
+
}, [m] = P.useState(() => {
|
|
1379
|
+
const d = new bt(u);
|
|
1380
|
+
return Object.assign(d, { containerRef: (c) => {
|
|
1381
|
+
const l = n.current;
|
|
1382
|
+
if (l.container = c, l.lastSize = null, c && l.enabled) {
|
|
1383
|
+
const g = d.getTotalSize();
|
|
1384
|
+
l.lastSize = g;
|
|
1385
|
+
const S = d.options.horizontal ? "width" : "height";
|
|
1386
|
+
c.style[S] = `${g}px`;
|
|
1749
1387
|
}
|
|
1750
1388
|
} });
|
|
1751
1389
|
});
|
|
1752
|
-
return
|
|
1753
|
-
|
|
1754
|
-
}),
|
|
1390
|
+
return m.setOptions(u), Q(() => m._didMount(), []), Q(() => (a(m), m._willUpdate())), Q(() => {
|
|
1391
|
+
h(m);
|
|
1392
|
+
}), m;
|
|
1755
1393
|
}
|
|
1756
|
-
function
|
|
1757
|
-
return
|
|
1758
|
-
observeElementRect:
|
|
1759
|
-
observeElementOffset:
|
|
1760
|
-
scrollToFn:
|
|
1761
|
-
...
|
|
1394
|
+
function It(r) {
|
|
1395
|
+
return fe({
|
|
1396
|
+
observeElementRect: ft,
|
|
1397
|
+
observeElementOffset: pt,
|
|
1398
|
+
scrollToFn: yt,
|
|
1399
|
+
...r
|
|
1762
1400
|
});
|
|
1763
1401
|
}
|
|
1764
|
-
function
|
|
1765
|
-
return
|
|
1402
|
+
function xt(r) {
|
|
1403
|
+
return fe({
|
|
1766
1404
|
getScrollElement: () => typeof document < "u" ? window : null,
|
|
1767
|
-
observeElementRect:
|
|
1768
|
-
observeElementOffset:
|
|
1769
|
-
scrollToFn:
|
|
1405
|
+
observeElementRect: mt,
|
|
1406
|
+
observeElementOffset: vt,
|
|
1407
|
+
scrollToFn: St,
|
|
1770
1408
|
initialOffset: () => typeof document < "u" ? window.scrollY : 0,
|
|
1771
|
-
...
|
|
1409
|
+
...r
|
|
1772
1410
|
});
|
|
1773
1411
|
}
|
|
1774
|
-
var
|
|
1775
|
-
virtualList:
|
|
1776
|
-
emptyContainer:
|
|
1777
|
-
virtualListInner:
|
|
1778
|
-
virtualListItems:
|
|
1779
|
-
loadingMore:
|
|
1780
|
-
endOfList:
|
|
1412
|
+
var zt = "styles-module__virtualList___pM6rN", At = "styles-module__emptyContainer___rm938", Ot = "styles-module__virtualListInner___HxRzc", Tt = "styles-module__virtualListItems___p19-a", Ct = "styles-module__loadingMore___zAdLM", Mt = "styles-module__endOfList___5cYFh", D = {
|
|
1413
|
+
virtualList: zt,
|
|
1414
|
+
emptyContainer: At,
|
|
1415
|
+
virtualListInner: Ot,
|
|
1416
|
+
virtualListItems: Tt,
|
|
1417
|
+
loadingMore: Ct,
|
|
1418
|
+
endOfList: Mt
|
|
1781
1419
|
};
|
|
1782
|
-
function
|
|
1783
|
-
const
|
|
1784
|
-
count: e ?
|
|
1785
|
-
getScrollElement: () =>
|
|
1786
|
-
estimateSize: typeof
|
|
1787
|
-
overscan:
|
|
1788
|
-
...
|
|
1789
|
-
}),
|
|
1790
|
-
|
|
1791
|
-
const [
|
|
1792
|
-
|
|
1420
|
+
function Lt({ data: r, hasNextPage: e, isFetchingNextPage: t, fetchNextPage: s, renderItem: i, estimateSize: n = 200, overscan: a = 5, height: h = "600px", getItemKey: u, emptyState: m, loadingIndicator: d, endOfListIndicator: c, emptyText: l = "No data", loadingMoreText: g = "Loading more...", endOfListText: S = "No more items", flexClass: y, outerClass: f, innerClass: p, ...E }) {
|
|
1421
|
+
const w = Te(null), v = Array.isArray(r) ? r : [], z = v.length, A = It({
|
|
1422
|
+
count: e ? z + 1 : z,
|
|
1423
|
+
getScrollElement: () => w.current,
|
|
1424
|
+
estimateSize: typeof n == "number" ? () => n : n,
|
|
1425
|
+
overscan: a,
|
|
1426
|
+
...E
|
|
1427
|
+
}), T = A.getVirtualItems();
|
|
1428
|
+
te(() => {
|
|
1429
|
+
const [O] = [...T].reverse();
|
|
1430
|
+
O && O.index >= z - 1 && e && !t && s && s();
|
|
1793
1431
|
}, [
|
|
1794
1432
|
e,
|
|
1795
1433
|
s,
|
|
1796
|
-
|
|
1434
|
+
z,
|
|
1797
1435
|
t,
|
|
1798
|
-
|
|
1436
|
+
T
|
|
1799
1437
|
]);
|
|
1800
|
-
const
|
|
1801
|
-
className:
|
|
1802
|
-
style: { height: typeof
|
|
1803
|
-
children:
|
|
1804
|
-
className:
|
|
1805
|
-
children: /* @__PURE__ */
|
|
1438
|
+
const N = B(() => /* @__PURE__ */ o("div", {
|
|
1439
|
+
className: D.virtualList,
|
|
1440
|
+
style: { height: typeof h == "number" ? `${h}px` : h },
|
|
1441
|
+
children: m ?? /* @__PURE__ */ o("div", {
|
|
1442
|
+
className: D.emptyContainer,
|
|
1443
|
+
children: /* @__PURE__ */ o("span", { children: l })
|
|
1806
1444
|
})
|
|
1807
1445
|
}), [
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
]),
|
|
1812
|
-
className:
|
|
1813
|
-
children: /* @__PURE__ */
|
|
1814
|
-
}), [
|
|
1815
|
-
className:
|
|
1816
|
-
children: /* @__PURE__ */
|
|
1817
|
-
}), [
|
|
1818
|
-
return
|
|
1819
|
-
ref:
|
|
1820
|
-
className: `${
|
|
1821
|
-
style: { height: typeof
|
|
1822
|
-
children: /* @__PURE__ */
|
|
1823
|
-
className: `${
|
|
1824
|
-
style: { height: `${
|
|
1825
|
-
children: /* @__PURE__ */
|
|
1826
|
-
className: `${
|
|
1446
|
+
m,
|
|
1447
|
+
h,
|
|
1448
|
+
l
|
|
1449
|
+
]), R = B(() => d || /* @__PURE__ */ o("div", {
|
|
1450
|
+
className: D.loadingMore,
|
|
1451
|
+
children: /* @__PURE__ */ o("span", { children: g })
|
|
1452
|
+
}), [d, g]), I = B(() => c || /* @__PURE__ */ o("div", {
|
|
1453
|
+
className: D.endOfList,
|
|
1454
|
+
children: /* @__PURE__ */ o("span", { children: S })
|
|
1455
|
+
}), [c, S]);
|
|
1456
|
+
return z === 0 ? N() : /* @__PURE__ */ o("div", {
|
|
1457
|
+
ref: w,
|
|
1458
|
+
className: `${D.virtualList} ${f ?? ""}`,
|
|
1459
|
+
style: { height: typeof h == "number" ? `${h}px` : h },
|
|
1460
|
+
children: /* @__PURE__ */ o("div", {
|
|
1461
|
+
className: `${D.virtualListInner} ${p ?? ""}`,
|
|
1462
|
+
style: { height: `${A.getTotalSize()}px` },
|
|
1463
|
+
children: /* @__PURE__ */ o("div", {
|
|
1464
|
+
className: `${D.virtualListItems} ${y ?? ""}`,
|
|
1827
1465
|
style: {
|
|
1828
|
-
transform: `translateY(${
|
|
1466
|
+
transform: `translateY(${T[0]?.start ?? 0}px)`,
|
|
1829
1467
|
paddingTop: "2px"
|
|
1830
1468
|
},
|
|
1831
|
-
children:
|
|
1832
|
-
const
|
|
1833
|
-
return /* @__PURE__ */
|
|
1834
|
-
"data-index":
|
|
1835
|
-
ref:
|
|
1836
|
-
children:
|
|
1837
|
-
},
|
|
1469
|
+
children: T.map((O) => {
|
|
1470
|
+
const C = O.index > z - 1, V = v[O.index];
|
|
1471
|
+
return /* @__PURE__ */ o("div", {
|
|
1472
|
+
"data-index": O.index,
|
|
1473
|
+
ref: A.measureElement,
|
|
1474
|
+
children: C ? e ? R() : I() : /* @__PURE__ */ o("div", { children: i(V, O.index) }, u(V, O.index))
|
|
1475
|
+
}, O.key);
|
|
1838
1476
|
})
|
|
1839
1477
|
})
|
|
1840
1478
|
})
|
|
1841
1479
|
});
|
|
1842
1480
|
}
|
|
1843
|
-
var
|
|
1844
|
-
virtualList:
|
|
1845
|
-
virtualListInner:
|
|
1846
|
-
virtualListItems:
|
|
1847
|
-
virtualListRow:
|
|
1848
|
-
emptyContainer:
|
|
1849
|
-
loadingMore:
|
|
1850
|
-
endOfList:
|
|
1481
|
+
var as = Y(Lt), Rt = "styles-module__virtualList___xmj2v", Dt = "styles-module__virtualListInner___quD74", Ft = "styles-module__virtualListItems___-Muml", jt = "styles-module__virtualListRow___h3pzX", kt = "styles-module__emptyContainer___LIy8r", Nt = "styles-module__loadingMore___Mzf-p", Vt = "styles-module__endOfList___g5G--", F = {
|
|
1482
|
+
virtualList: Rt,
|
|
1483
|
+
virtualListInner: Dt,
|
|
1484
|
+
virtualListItems: Ft,
|
|
1485
|
+
virtualListRow: jt,
|
|
1486
|
+
emptyContainer: kt,
|
|
1487
|
+
loadingMore: Nt,
|
|
1488
|
+
endOfList: Vt
|
|
1851
1489
|
};
|
|
1852
|
-
function
|
|
1853
|
-
const
|
|
1854
|
-
count: e ?
|
|
1855
|
-
estimateSize: typeof
|
|
1856
|
-
overscan:
|
|
1857
|
-
...
|
|
1858
|
-
}),
|
|
1859
|
-
|
|
1860
|
-
const
|
|
1861
|
-
|
|
1490
|
+
function Wt({ data: r, hasNextPage: e, isFetchingNextPage: t, fetchNextPage: s, renderItem: i, estimateSize: n = 200, overscan: a = 5, height: h, getItemKey: u, emptyState: m, loadingIndicator: d, endOfListIndicator: c, emptyText: l = "No data", loadingMoreText: g = "Loading more...", endOfListText: S = "No more items", flexClass: y, outerClass: f, innerClass: p, ...E }) {
|
|
1491
|
+
const w = Array.isArray(r) ? r : [], v = w.length, z = xt({
|
|
1492
|
+
count: e ? v + 1 : v,
|
|
1493
|
+
estimateSize: typeof n == "number" ? () => n : n,
|
|
1494
|
+
overscan: a,
|
|
1495
|
+
...E
|
|
1496
|
+
}), A = z.getVirtualItems();
|
|
1497
|
+
te(() => {
|
|
1498
|
+
const I = A[A.length - 1];
|
|
1499
|
+
I && I.index >= v && e && !t && s && s();
|
|
1862
1500
|
}, [
|
|
1863
|
-
|
|
1501
|
+
A,
|
|
1864
1502
|
e,
|
|
1865
1503
|
t,
|
|
1866
1504
|
s,
|
|
1867
|
-
|
|
1505
|
+
v
|
|
1868
1506
|
]);
|
|
1869
|
-
const
|
|
1870
|
-
className:
|
|
1871
|
-
style: { height: typeof
|
|
1872
|
-
children:
|
|
1873
|
-
className:
|
|
1874
|
-
children: /* @__PURE__ */
|
|
1507
|
+
const T = B(() => /* @__PURE__ */ o("div", {
|
|
1508
|
+
className: F.virtualList,
|
|
1509
|
+
style: { height: typeof h == "number" ? `${h}px` : h ?? "auto" },
|
|
1510
|
+
children: m ?? /* @__PURE__ */ o("div", {
|
|
1511
|
+
className: F.emptyContainer,
|
|
1512
|
+
children: /* @__PURE__ */ o("span", { children: l })
|
|
1875
1513
|
})
|
|
1876
1514
|
}), [
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
]),
|
|
1881
|
-
className:
|
|
1882
|
-
children: /* @__PURE__ */
|
|
1883
|
-
}), [
|
|
1884
|
-
className:
|
|
1885
|
-
children: /* @__PURE__ */
|
|
1886
|
-
}), [
|
|
1887
|
-
return
|
|
1888
|
-
className: `${
|
|
1889
|
-
children: /* @__PURE__ */
|
|
1890
|
-
className: `${
|
|
1891
|
-
style: { height:
|
|
1892
|
-
children: /* @__PURE__ */
|
|
1893
|
-
className: `${
|
|
1894
|
-
style: { transform: `translateY(${
|
|
1895
|
-
children:
|
|
1896
|
-
const
|
|
1897
|
-
return /* @__PURE__ */
|
|
1898
|
-
"data-index":
|
|
1899
|
-
ref:
|
|
1900
|
-
children:
|
|
1901
|
-
},
|
|
1515
|
+
m,
|
|
1516
|
+
h,
|
|
1517
|
+
l
|
|
1518
|
+
]), N = B(() => d ?? /* @__PURE__ */ o("div", {
|
|
1519
|
+
className: F.loadingMore,
|
|
1520
|
+
children: /* @__PURE__ */ o("span", { children: g })
|
|
1521
|
+
}), [d, g]), R = B(() => c ?? /* @__PURE__ */ o("div", {
|
|
1522
|
+
className: F.endOfList,
|
|
1523
|
+
children: /* @__PURE__ */ o("span", { children: S })
|
|
1524
|
+
}), [c, S]);
|
|
1525
|
+
return v === 0 ? T() : /* @__PURE__ */ o("div", {
|
|
1526
|
+
className: `${F.virtualList} ${f ?? ""}`,
|
|
1527
|
+
children: /* @__PURE__ */ o("div", {
|
|
1528
|
+
className: `${F.virtualListInner} ${p ?? ""}`,
|
|
1529
|
+
style: { height: z.getTotalSize() },
|
|
1530
|
+
children: /* @__PURE__ */ o("div", {
|
|
1531
|
+
className: `${F.virtualListItems} ${y ?? ""}`,
|
|
1532
|
+
style: { transform: `translateY(${A[0]?.start ?? 0}px)` },
|
|
1533
|
+
children: A.map((I) => {
|
|
1534
|
+
const O = I.index >= v, C = w[I.index];
|
|
1535
|
+
return /* @__PURE__ */ o("div", {
|
|
1536
|
+
"data-index": I.index,
|
|
1537
|
+
ref: z.measureElement,
|
|
1538
|
+
children: O ? e ? N() : R() : C == null ? /* @__PURE__ */ o("div", {}, `missing-${I.index}`) : /* @__PURE__ */ o("div", { children: i(C, I.index) }, u(C, I.index))
|
|
1539
|
+
}, I.key);
|
|
1902
1540
|
})
|
|
1903
1541
|
})
|
|
1904
1542
|
})
|
|
1905
1543
|
});
|
|
1906
1544
|
}
|
|
1907
|
-
var
|
|
1545
|
+
var cs = Y(Wt), $t = Y(({ getLayoutDisplayName: r, handleChangeLayoutMode: e }) => {
|
|
1546
|
+
const { layoutMode: t, setLayoutMode: s } = ze(), i = r ?? ((n) => n);
|
|
1547
|
+
return /* @__PURE__ */ o(M.Root, {
|
|
1548
|
+
size: "1",
|
|
1549
|
+
value: t,
|
|
1550
|
+
onValueChange: (n) => {
|
|
1551
|
+
const a = n;
|
|
1552
|
+
s(a), e?.(a);
|
|
1553
|
+
},
|
|
1554
|
+
children: we.map((n) => /* @__PURE__ */ o(M.Item, {
|
|
1555
|
+
value: n,
|
|
1556
|
+
children: i(n)
|
|
1557
|
+
}, n))
|
|
1558
|
+
});
|
|
1559
|
+
});
|
|
1560
|
+
$t.displayName = "LayoutSwitcher";
|
|
1908
1561
|
export {
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
$s as ThemeSwitcher,
|
|
1922
|
-
Ir as VirtualList,
|
|
1923
|
-
Er as VirtualWindowList
|
|
1562
|
+
rs as CardHeader,
|
|
1563
|
+
is as EmptyState,
|
|
1564
|
+
ot as Icon,
|
|
1565
|
+
$t as LayoutSwitcher,
|
|
1566
|
+
Xt as Logo,
|
|
1567
|
+
$ as LucideIcon,
|
|
1568
|
+
ns as PageHeader,
|
|
1569
|
+
Yt as PreferencesPopover,
|
|
1570
|
+
os as Suspense,
|
|
1571
|
+
ls as ThemeSettings,
|
|
1572
|
+
as as VirtualList,
|
|
1573
|
+
cs as VirtualWindowList
|
|
1924
1574
|
};
|
|
1925
1575
|
|
|
1926
1576
|
//# sourceMappingURL=components.mjs.map
|