@vkzstudio/muza-ui 1.0.0 → 1.0.2
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/CLAUDE_CONSUMER.md +238 -0
- package/README.md +12 -4
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/constants.js +5 -0
- package/dist/_virtual/constants2.js +4 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/index4.js +7 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +4 -0
- package/dist/_virtual/react-dom-server.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server.browser.production.min.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-reconciler-constants.development.js +4 -0
- package/dist/_virtual/react-reconciler-constants.production.min.js +4 -0
- package/dist/_virtual/react-reconciler.development.js +4 -0
- package/dist/_virtual/scheduler.development.js +4 -0
- package/dist/_virtual/scheduler.production.min.js +4 -0
- package/dist/_virtual/server.browser.js +5 -0
- package/dist/_virtual/server.browser2.js +4 -0
- package/dist/components/Accordion/Accordion.d.ts +5 -5
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +116 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +83 -0
- package/dist/components/Alert/Alert.stories.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +3 -3
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.js +106 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +4 -7
- package/dist/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -8
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +126 -0
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +67 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Button/buttonVariants.d.ts +2 -3
- package/dist/components/Button/buttonVariants.d.ts.map +1 -1
- package/dist/components/Button/buttonVariants.js +383 -0
- package/dist/components/Calendar/Calendar.d.ts +35 -0
- package/dist/components/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.js +338 -0
- package/dist/components/Calendar/CalendarBase.stories.d.ts +13 -0
- package/dist/components/Calendar/CalendarBase.stories.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +4 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDate.d.ts +2 -0
- package/dist/components/Calendar/utils/formatDate.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDate.js +5 -0
- package/dist/components/Calendar/utils/formatDateRange.d.ts +3 -0
- package/dist/components/Calendar/utils/formatDateRange.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDateRange.js +8 -0
- package/dist/components/Checkbox/Checkbox.d.ts +5 -5
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +92 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +2 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +46 -0
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.js +158 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +18 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -0
- package/dist/components/DatePicker/utils/getDateRange.d.ts +4 -0
- package/dist/components/DatePicker/utils/getDateRange.d.ts.map +1 -0
- package/dist/components/DatePicker/utils/getDateRange.js +40 -0
- package/dist/components/Dialog/Dialog.d.ts +14 -0
- package/dist/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.js +66 -0
- package/dist/components/Dialog/Dialog.stories.d.ts +16 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Dialog/index.d.ts.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +22 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +285 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +62 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
- package/dist/components/DropdownMenu/index.d.ts +2 -0
- package/dist/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/components/EdgeButton/EdgeButton.d.ts.map +1 -1
- package/dist/components/EdgeButton/EdgeButton.js +72 -0
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts +0 -1
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +12 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.js +59 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts +10 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/ExpandableTable/ExpandableTable.d.ts +25 -0
- package/dist/components/ExpandableTable/ExpandableTable.d.ts.map +1 -0
- package/dist/components/ExpandableTable/ExpandableTable.js +231 -0
- package/dist/components/ExpandableTable/ExpandableTable.stories.d.ts +21 -0
- package/dist/components/ExpandableTable/ExpandableTable.stories.d.ts.map +1 -0
- package/dist/components/ExpandableTable/Table.d.ts +18 -0
- package/dist/components/ExpandableTable/Table.d.ts.map +1 -0
- package/dist/components/ExpandableTable/Table.js +122 -0
- package/dist/components/ExpandableTable/index.d.ts +2 -0
- package/dist/components/ExpandableTable/index.d.ts.map +1 -0
- package/dist/components/FileUpload/FileItem.d.ts +15 -0
- package/dist/components/FileUpload/FileItem.d.ts.map +1 -0
- package/dist/components/FileUpload/FileItem.js +199 -0
- package/dist/components/FileUpload/FileUpload.d.ts +36 -0
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -0
- package/dist/components/FileUpload/FileUpload.js +212 -0
- package/dist/components/FileUpload/FileUpload.stories.d.ts +18 -0
- package/dist/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
- package/dist/components/FileUpload/index.d.ts +2 -0
- package/dist/components/FileUpload/index.d.ts.map +1 -0
- package/dist/components/Flex/Flex.d.ts +27 -30
- package/dist/components/Flex/Flex.d.ts.map +1 -1
- package/dist/components/Flex/Flex.js +90 -0
- package/dist/components/Flex/Flex.stories.d.ts +5 -0
- package/dist/components/Flex/Flex.stories.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.d.ts +15 -1
- package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.js +665 -0
- package/dist/components/Icons/Icons.stories.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +9 -8
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.js +172 -0
- package/dist/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +14 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +64 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +8 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -0
- package/dist/components/LanguageSwitcher/index.d.ts +2 -0
- package/dist/components/LanguageSwitcher/index.d.ts.map +1 -0
- package/dist/components/Lightbox/Lightbox.d.ts +19 -0
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -0
- package/dist/components/Lightbox/Lightbox.js +90 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts +14 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -0
- package/dist/components/Lightbox/LightboxOverrides.css +5 -0
- package/dist/components/Lightbox/index.d.ts +2 -0
- package/dist/components/Lightbox/index.d.ts.map +1 -0
- package/dist/components/Loader/Loader.d.ts +1 -1
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Loader/Loader.js +43 -0
- package/dist/components/Loader/Loader.stories.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen.d.ts +12 -0
- package/dist/components/LoginScreen/LoginScreen.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen.js +45 -0
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts +14 -0
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.d.ts +3 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.js +9 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.d.ts +5 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.js +6 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.d.ts +23 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +93 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.d.ts +6 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +63 -0
- package/dist/components/LoginScreen/LoginScreenItem.d.ts +7 -0
- package/dist/components/LoginScreen/LoginScreenItem.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreenItem.js +19 -0
- package/dist/components/LoginScreen/index.d.ts +4 -0
- package/dist/components/LoginScreen/index.d.ts.map +1 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts +23 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/components/MultiSelect/MultiSelect.js +156 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +18 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
- package/dist/components/MultiSelect/index.d.ts +2 -0
- package/dist/components/MultiSelect/index.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +7 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.js +36 -0
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +7 -0
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts.map +1 -0
- package/dist/components/PasswordInput/index.d.ts +2 -0
- package/dist/components/PasswordInput/index.d.ts.map +1 -0
- package/dist/components/PinIndicator/PinIndicator.d.ts +1 -1
- package/dist/components/PinIndicator/PinIndicator.d.ts.map +1 -1
- package/dist/components/PinIndicator/PinIndicator.js +33 -0
- package/dist/components/PinIndicator/PinIndicator.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +7 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/Popover.js +24 -0
- package/dist/components/Popover/Popover.stories.d.ts +11 -0
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +4 -3
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/Radio.js +95 -0
- package/dist/components/Radio/Radio.stories.d.ts +1 -0
- package/dist/components/Radio/Radio.stories.d.ts.map +1 -1
- package/dist/components/Searchbar/Searchbar.d.ts +13 -0
- package/dist/components/Searchbar/Searchbar.d.ts.map +1 -0
- package/dist/components/Searchbar/Searchbar.js +114 -0
- package/dist/components/Searchbar/Searchbar.stories.d.ts +11 -0
- package/dist/components/Searchbar/Searchbar.stories.d.ts.map +1 -0
- package/dist/components/Searchbar/index.d.ts +2 -0
- package/dist/components/Searchbar/index.d.ts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +60 -0
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts +2 -2
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.js +47 -0
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +24 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/Select.js +159 -0
- package/dist/components/Select/Select.stories.d.ts +18 -0
- package/dist/components/Select/Select.stories.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Select/utils.d.ts +7 -0
- package/dist/components/Select/utils.d.ts.map +1 -0
- package/dist/components/Select/utils.js +35 -0
- package/dist/components/Skeleton/Skeleton.d.ts +13 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.js +27 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts +9 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/SliderIndicators/SliderIndicators.d.ts +1 -1
- package/dist/components/SliderIndicators/SliderIndicators.d.ts.map +1 -1
- package/dist/components/SliderIndicators/SliderIndicators.js +53 -0
- package/dist/components/SliderIndicators/SliderIndicators.stories.d.ts.map +1 -1
- package/dist/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/dist/components/Snackbar/Snackbar.js +6 -0
- package/dist/components/Snackbar/Snackbar.stories.d.ts.map +1 -1
- package/dist/components/Snackbar/Toast.d.ts +2 -2
- package/dist/components/Snackbar/Toast.d.ts.map +1 -1
- package/dist/components/Snackbar/Toast.js +69 -0
- package/dist/components/Stepper/Stepper.d.ts +1 -1
- package/dist/components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.js +84 -0
- package/dist/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/dist/components/Stepper/StepperButton.d.ts +1 -1
- package/dist/components/Stepper/StepperButton.d.ts.map +1 -1
- package/dist/components/Stepper/StepperButton.js +29 -0
- package/dist/components/SwipeButton/SwipeButton.d.ts +3 -2
- package/dist/components/SwipeButton/SwipeButton.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeButton.js +205 -0
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts +3 -3
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeLoadingIcon.js +46 -0
- package/dist/components/SwipeButton/index.d.ts +2 -0
- package/dist/components/SwipeButton/index.d.ts.map +1 -0
- package/dist/components/SwipeButton/swipeButtonProgressVariants.d.ts +2 -1
- package/dist/components/SwipeButton/swipeButtonProgressVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonProgressVariants.js +75 -0
- package/dist/components/SwipeButton/swipeButtonSliderVariants.d.ts +1 -1
- package/dist/components/SwipeButton/swipeButtonSliderVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonSliderVariants.js +74 -0
- package/dist/components/SwipeButton/swipeButtonVariants.d.ts +2 -2
- package/dist/components/SwipeButton/swipeButtonVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonVariants.js +50 -0
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.js +32 -0
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +5 -3
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.js +94 -0
- package/dist/components/Tag/Tag.stories.d.ts +2 -12
- package/dist/components/Tag/Tag.stories.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts +4 -4
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.js +102 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +1 -1
- package/dist/components/Textarea/Textarea.stories.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.d.ts +4 -0
- package/dist/components/TimePicker/TimePicker.d.ts.map +1 -0
- package/dist/components/TimePicker/TimePicker.js +19 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts +11 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts.map +1 -0
- package/dist/components/TimePicker/index.d.ts +2 -0
- package/dist/components/TimePicker/index.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.js +88 -0
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +3 -3
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +55 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.js +27 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Typography/Typography.d.ts +4 -3
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/Typography.js +99 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/components/index.d.ts +37 -17
- package/dist/components/index.d.ts.map +1 -1
- package/dist/globals.css +12 -0
- package/dist/hooks/use-is-breakpoint.d.ts +13 -0
- package/dist/hooks/use-is-breakpoint.d.ts.map +1 -0
- package/dist/hooks/use-is-breakpoint.js +7 -0
- package/dist/hooks/use-is-desktop.d.ts +3 -0
- package/dist/hooks/use-is-desktop.d.ts.map +1 -0
- package/dist/hooks/use-is-desktop.js +6 -0
- package/dist/hooks/use-is-mobile.d.ts +2 -0
- package/dist/hooks/use-is-mobile.d.ts.map +1 -0
- package/dist/hooks/use-is-mobile.js +6 -0
- package/dist/hooks/use-is-tablet.d.ts +3 -0
- package/dist/hooks/use-is-tablet.d.ts.map +1 -0
- package/dist/hooks/use-is-tablet.js +6 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.ts +3 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.ts.map +1 -0
- package/dist/hooks/use-isomorphic-layout-effect.js +5 -0
- package/dist/hooks/use-media-query.d.ts +7 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-media-query.js +19 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +188 -42251
- package/dist/models/Login3D.glb +0 -0
- package/dist/muza-ui.css +1 -0
- package/dist/node_modules/@date-fns/tz/date/index.js +61 -0
- package/dist/node_modules/@date-fns/tz/date/mini.js +69 -0
- package/dist/node_modules/@date-fns/tz/tzName/index.js +11 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +22 -0
- package/dist/node_modules/@react-three/drei/core/useAnimations.js +34 -0
- package/dist/node_modules/@react-three/drei/core/useGLTF.js +18 -0
- package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +1311 -0
- package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +145 -0
- package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +47 -0
- package/dist/node_modules/color/index.js +262 -0
- package/dist/node_modules/color/node_modules/color-convert/conversions.js +421 -0
- package/dist/node_modules/color/node_modules/color-convert/index.js +35 -0
- package/dist/node_modules/color/node_modules/color-convert/route.js +46 -0
- package/dist/node_modules/color/node_modules/color-name/index.js +153 -0
- package/dist/node_modules/color-string/index.js +105 -0
- package/dist/node_modules/color-string/node_modules/color-name/index.js +153 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/index.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +123 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +40 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +57 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +266 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +70 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +84 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +75 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +63 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +64 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +623 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +58 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +239 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/object/ObjectVisualElement.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +40 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +141 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-motion-value-event.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +7 -0
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +34 -0
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +31 -0
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +48 -0
- package/dist/node_modules/imask/esm/controls/input-history.js +30 -0
- package/dist/node_modules/imask/esm/controls/input.js +222 -0
- package/dist/node_modules/imask/esm/controls/mask-element.js +43 -0
- package/dist/node_modules/imask/esm/core/action-details.js +51 -0
- package/dist/node_modules/imask/esm/core/change-details.js +36 -0
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +42 -0
- package/dist/node_modules/imask/esm/core/holder.js +6 -0
- package/dist/node_modules/imask/esm/core/utils.js +67 -0
- package/dist/node_modules/imask/esm/index.js +50 -0
- package/dist/node_modules/imask/esm/masked/base.js +252 -0
- package/dist/node_modules/imask/esm/masked/date.js +117 -0
- package/dist/node_modules/imask/esm/masked/dynamic.js +222 -0
- package/dist/node_modules/imask/esm/masked/enum.js +69 -0
- package/dist/node_modules/imask/esm/masked/factory.js +46 -0
- package/dist/node_modules/imask/esm/masked/function.js +23 -0
- package/dist/node_modules/imask/esm/masked/number.js +212 -0
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +103 -0
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +100 -0
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +102 -0
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +133 -0
- package/dist/node_modules/imask/esm/masked/pattern.js +322 -0
- package/dist/node_modules/imask/esm/masked/pipe.js +23 -0
- package/dist/node_modules/imask/esm/masked/range.js +78 -0
- package/dist/node_modules/imask/esm/masked/regexp.js +21 -0
- package/dist/node_modules/imask/esm/masked/repeat.js +104 -0
- package/dist/node_modules/its-fine/dist/index.js +116 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +103 -0
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +76 -0
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +133 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +108 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +36 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +98 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +75 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +218 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +50 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +18 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/wrap.js +7 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +2956 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +229 -0
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +22 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +222 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +27 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +54 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +42 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +24 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +56 -0
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +44 -0
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +23 -0
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +32 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +28 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +26 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +3621 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +1234 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +3600 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +1255 -0
- package/dist/node_modules/react-dom/server.browser.js +15 -0
- package/dist/node_modules/react-imask/esm/hook.js +75 -0
- package/dist/node_modules/react-imask/esm/input.js +23 -0
- package/dist/node_modules/react-imask/esm/mixin.js +131 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/context.js +17 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +216 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +10 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +4 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +9 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +39 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +31 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +8 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +9 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +37 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +22 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/item.js +54 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +8 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +14 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +18 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +32 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +17 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +9139 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +3778 -0
- package/dist/node_modules/react-reconciler/constants.js +10 -0
- package/dist/node_modules/react-reconciler/index.js +10 -0
- package/dist/node_modules/react-use-measure/dist/index.js +60 -0
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +277 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +213 -0
- package/dist/node_modules/scheduler/index.js +10 -0
- package/dist/node_modules/three/build/three.module.js +20599 -0
- package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +15 -0
- package/dist/node_modules/three-stdlib/_polyfill/constants.js +5 -0
- package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +201 -0
- package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +246 -0
- package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +1670 -0
- package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +34 -0
- package/dist/node_modules/zustand/esm/index.js +61 -0
- package/dist/styles/3rd-parties.css +5 -0
- package/dist/styles/animations.css +41 -0
- package/dist/styles/breakpoints.css +4 -0
- package/dist/styles/primitives.css +155 -0
- package/dist/styles/token-colors.css +1201 -0
- package/dist/styles/token-sizes.css +676 -0
- package/dist/styles/typography.css +84 -0
- package/dist/styles/utilities.css +66 -0
- package/dist/styles/white-label.css +25 -0
- package/dist/utils/cn.d.ts +1 -1
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/cn.js +159 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/spacing.d.ts +378 -0
- package/dist/utils/spacing.d.ts.map +1 -0
- package/dist/utils/spacing.js +352 -0
- package/package.json +84 -40
- package/dist/fonts/Objectivity/Objectivity-Black.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Black.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-BlackSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BlackSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Bold.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BoldSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BoldSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBold.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBold.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBoldSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBoldSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Light.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-LightSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-LightSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Medium.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-MediumSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-MediumSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Regular.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-RegularSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-RegularSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Super.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Super.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-SuperSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-SuperSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Thin.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Thin.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ThinSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ThinSlanted.woff2 +0 -0
|
@@ -0,0 +1,623 @@
|
|
|
1
|
+
import { animateSingleValue as at } from "../../animation/animate/single-value.js";
|
|
2
|
+
import { getOptimisedAppearId as rt } from "../../animation/optimized-appear/get-appear-id.js";
|
|
3
|
+
import { FlatTree as nt } from "../../render/utils/flat-tree.js";
|
|
4
|
+
import { delay as ht } from "../../utils/delay.js";
|
|
5
|
+
import { resolveMotionValue as C } from "../../value/utils/resolve-motion-value.js";
|
|
6
|
+
import { mixValues as lt } from "../animation/mix-values.js";
|
|
7
|
+
import { copyBoxInto as f, copyAxisDeltaInto as b } from "../geometry/copy.js";
|
|
8
|
+
import { translateAxis as E, transformBox as w, applyBoxDelta as ut, applyTreeDeltas as ct } from "../geometry/delta-apply.js";
|
|
9
|
+
import { calcLength as S, calcRelativePosition as k, calcRelativeBox as dt, calcBoxDelta as L, isNear as mt } from "../geometry/delta-calc.js";
|
|
10
|
+
import { removeBoxTransforms as W } from "../geometry/delta-remove.js";
|
|
11
|
+
import { createBox as d, createDelta as B } from "../geometry/models.js";
|
|
12
|
+
import { boxEqualsRounded as et, isDeltaZero as it, axisDeltaEquals as z, boxEquals as ft, aspectRatio as N } from "../geometry/utils.js";
|
|
13
|
+
import { NodeStack as pt } from "../shared/stack.js";
|
|
14
|
+
import { scaleCorrectors as H } from "../styles/scale-correction.js";
|
|
15
|
+
import { buildProjectionTransform as yt } from "../styles/transform.js";
|
|
16
|
+
import { eachAxis as G } from "../utils/each-axis.js";
|
|
17
|
+
import { hasTransform as P, hasScale as q, has2DTranslate as gt } from "../utils/has-transform.js";
|
|
18
|
+
import { globalProjectionState as O } from "./state.js";
|
|
19
|
+
import { SubscriptionManager as vt } from "../../../../../motion-utils/dist/es/subscription-manager.js";
|
|
20
|
+
import { isSVGElement as Tt } from "../../../../../motion-dom/dist/es/utils/is-svg-element.js";
|
|
21
|
+
import { isSVGSVGElement as xt } from "../../../../../motion-dom/dist/es/utils/is-svg-svg-element.js";
|
|
22
|
+
import { frame as V, cancelFrame as X, frameData as y, frameSteps as F } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
23
|
+
import { getValueTransition as Dt } from "../../../../../motion-dom/dist/es/animation/utils/get-value-transition.js";
|
|
24
|
+
import { time as Pt } from "../../../../../motion-dom/dist/es/frameloop/sync-time.js";
|
|
25
|
+
import { clamp as St } from "../../../../../motion-utils/dist/es/clamp.js";
|
|
26
|
+
import { microtask as Bt } from "../../../../../motion-dom/dist/es/frameloop/microtask.js";
|
|
27
|
+
import { motionValue as jt } from "../../../../../motion-dom/dist/es/value/index.js";
|
|
28
|
+
import { mixNumber as U } from "../../../../../motion-dom/dist/es/utils/mix/number.js";
|
|
29
|
+
import { noop as At } from "../../../../../motion-utils/dist/es/noop.js";
|
|
30
|
+
const I = ["", "X", "Y", "Z"], Rt = 1e3;
|
|
31
|
+
let Vt = 0;
|
|
32
|
+
function M(e, n, c, u) {
|
|
33
|
+
const { latestValues: v } = n;
|
|
34
|
+
v[e] && (c[e] = v[e], n.setStaticValue(e, 0), u && (u[e] = 0));
|
|
35
|
+
}
|
|
36
|
+
function st(e) {
|
|
37
|
+
if (e.hasCheckedOptimisedAppear = !0, e.root === e)
|
|
38
|
+
return;
|
|
39
|
+
const { visualElement: n } = e.options;
|
|
40
|
+
if (!n)
|
|
41
|
+
return;
|
|
42
|
+
const c = rt(n);
|
|
43
|
+
if (window.MotionHasOptimisedAnimation(c, "transform")) {
|
|
44
|
+
const { layout: v, layoutId: j } = e.options;
|
|
45
|
+
window.MotionCancelOptimisedAnimation(c, "transform", V, !(v || j));
|
|
46
|
+
}
|
|
47
|
+
const { parent: u } = e;
|
|
48
|
+
u && !u.hasCheckedOptimisedAppear && st(u);
|
|
49
|
+
}
|
|
50
|
+
function xe({ attachResizeListener: e, defaultParent: n, measureScroll: c, checkIsScrollRoot: u, resetTransform: v }) {
|
|
51
|
+
return class {
|
|
52
|
+
constructor(t = {}, i = n == null ? void 0 : n()) {
|
|
53
|
+
this.id = Vt++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
|
|
54
|
+
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
|
|
55
|
+
}, this.updateProjection = () => {
|
|
56
|
+
this.projectionUpdateScheduled = !1, this.nodes.forEach(Et), this.nodes.forEach(Ot), this.nodes.forEach(Ft), this.nodes.forEach(wt);
|
|
57
|
+
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = t, this.root = i ? i.root || i : this, this.path = i ? [...i.path, i] : [], this.parent = i, this.depth = i ? i.depth + 1 : 0;
|
|
58
|
+
for (let s = 0; s < this.path.length; s++)
|
|
59
|
+
this.path[s].shouldResetTransform = !0;
|
|
60
|
+
this.root === this && (this.nodes = new nt());
|
|
61
|
+
}
|
|
62
|
+
addEventListener(t, i) {
|
|
63
|
+
return this.eventHandlers.has(t) || this.eventHandlers.set(t, new vt()), this.eventHandlers.get(t).add(i);
|
|
64
|
+
}
|
|
65
|
+
notifyListeners(t, ...i) {
|
|
66
|
+
const s = this.eventHandlers.get(t);
|
|
67
|
+
s && s.notify(...i);
|
|
68
|
+
}
|
|
69
|
+
hasListeners(t) {
|
|
70
|
+
return this.eventHandlers.has(t);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Lifecycles
|
|
74
|
+
*/
|
|
75
|
+
mount(t) {
|
|
76
|
+
if (this.instance)
|
|
77
|
+
return;
|
|
78
|
+
this.isSVG = Tt(t) && !xt(t), this.instance = t;
|
|
79
|
+
const { layoutId: i, layout: s, visualElement: o } = this.options;
|
|
80
|
+
if (o && !o.current && o.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (s || i) && (this.isLayoutDirty = !0), e) {
|
|
81
|
+
let a, r = 0;
|
|
82
|
+
const l = () => this.root.updateBlockedByResize = !1;
|
|
83
|
+
V.read(() => {
|
|
84
|
+
r = window.innerWidth;
|
|
85
|
+
}), e(t, () => {
|
|
86
|
+
const h = window.innerWidth;
|
|
87
|
+
h !== r && (r = h, this.root.updateBlockedByResize = !0, a && a(), a = ht(l, 250), O.hasAnimatedSinceResize && (O.hasAnimatedSinceResize = !1, this.nodes.forEach(Z)));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
i && this.root.registerSharedNode(i, this), this.options.animate !== !1 && o && (i || s) && this.addEventListener("didUpdate", ({ delta: a, hasLayoutChanged: r, hasRelativeLayoutChanged: l, layout: h }) => {
|
|
91
|
+
if (this.isTreeAnimationBlocked()) {
|
|
92
|
+
this.target = void 0, this.relativeTarget = void 0;
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const m = this.options.transition || o.getDefaultTransition() || zt, { onLayoutAnimationStart: g, onLayoutAnimationComplete: T } = o.getProps(), D = !this.targetLayout || !et(this.targetLayout, h), x = !r && l;
|
|
96
|
+
if (this.options.layoutRoot || this.resumeFrom || x || r && (D || !this.currentAnimation)) {
|
|
97
|
+
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
98
|
+
const p = {
|
|
99
|
+
...Dt(m, "layout"),
|
|
100
|
+
onPlay: g,
|
|
101
|
+
onComplete: T
|
|
102
|
+
};
|
|
103
|
+
(o.shouldReduceMotion || this.options.layoutRoot) && (p.delay = 0, p.type = !1), this.startAnimation(p), this.setAnimationOrigin(a, x);
|
|
104
|
+
} else
|
|
105
|
+
r || Z(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
106
|
+
this.targetLayout = h;
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
unmount() {
|
|
110
|
+
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
|
|
111
|
+
const t = this.getStack();
|
|
112
|
+
t && t.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), X(this.updateProjection);
|
|
113
|
+
}
|
|
114
|
+
// only on the root
|
|
115
|
+
blockUpdate() {
|
|
116
|
+
this.updateManuallyBlocked = !0;
|
|
117
|
+
}
|
|
118
|
+
unblockUpdate() {
|
|
119
|
+
this.updateManuallyBlocked = !1;
|
|
120
|
+
}
|
|
121
|
+
isUpdateBlocked() {
|
|
122
|
+
return this.updateManuallyBlocked || this.updateBlockedByResize;
|
|
123
|
+
}
|
|
124
|
+
isTreeAnimationBlocked() {
|
|
125
|
+
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
|
|
126
|
+
}
|
|
127
|
+
// Note: currently only running on root node
|
|
128
|
+
startUpdate() {
|
|
129
|
+
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(It), this.animationId++);
|
|
130
|
+
}
|
|
131
|
+
getTransformTemplate() {
|
|
132
|
+
const { visualElement: t } = this.options;
|
|
133
|
+
return t && t.getProps().transformTemplate;
|
|
134
|
+
}
|
|
135
|
+
willUpdate(t = !0) {
|
|
136
|
+
if (this.root.hasTreeAnimated = !0, this.root.isUpdateBlocked()) {
|
|
137
|
+
this.options.onExitComplete && this.options.onExitComplete();
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && st(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
|
|
141
|
+
return;
|
|
142
|
+
this.isLayoutDirty = !0;
|
|
143
|
+
for (let a = 0; a < this.path.length; a++) {
|
|
144
|
+
const r = this.path[a];
|
|
145
|
+
r.shouldResetTransform = !0, r.updateScroll("snapshot"), r.options.layoutRoot && r.willUpdate(!1);
|
|
146
|
+
}
|
|
147
|
+
const { layoutId: i, layout: s } = this.options;
|
|
148
|
+
if (i === void 0 && !s)
|
|
149
|
+
return;
|
|
150
|
+
const o = this.getTransformTemplate();
|
|
151
|
+
this.prevTransformTemplateValue = o ? o(this.latestValues, "") : void 0, this.updateSnapshot(), t && this.notifyListeners("willUpdate");
|
|
152
|
+
}
|
|
153
|
+
update() {
|
|
154
|
+
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
|
|
155
|
+
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Y);
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
if (this.animationId <= this.animationCommitId) {
|
|
159
|
+
this.nodes.forEach($);
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Ct), this.nodes.forEach(kt), this.nodes.forEach(Lt)) : this.nodes.forEach($), this.clearAllSnapshots();
|
|
163
|
+
const i = Pt.now();
|
|
164
|
+
y.delta = St(0, 1e3 / 60, i - y.timestamp), y.timestamp = i, y.isProcessing = !0, F.update.process(y), F.preRender.process(y), F.render.process(y), y.isProcessing = !1;
|
|
165
|
+
}
|
|
166
|
+
didUpdate() {
|
|
167
|
+
this.updateScheduled || (this.updateScheduled = !0, Bt.read(this.scheduleUpdate));
|
|
168
|
+
}
|
|
169
|
+
clearAllSnapshots() {
|
|
170
|
+
this.nodes.forEach(Ut), this.sharedNodes.forEach(Mt);
|
|
171
|
+
}
|
|
172
|
+
scheduleUpdateProjection() {
|
|
173
|
+
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, V.preRender(this.updateProjection, !1, !0));
|
|
174
|
+
}
|
|
175
|
+
scheduleCheckAfterUnmount() {
|
|
176
|
+
V.postRender(() => {
|
|
177
|
+
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Update measurements
|
|
182
|
+
*/
|
|
183
|
+
updateSnapshot() {
|
|
184
|
+
this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !S(this.snapshot.measuredBox.x) && !S(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
|
|
185
|
+
}
|
|
186
|
+
updateLayout() {
|
|
187
|
+
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty))
|
|
188
|
+
return;
|
|
189
|
+
if (this.resumeFrom && !this.resumeFrom.instance)
|
|
190
|
+
for (let s = 0; s < this.path.length; s++)
|
|
191
|
+
this.path[s].updateScroll();
|
|
192
|
+
const t = this.layout;
|
|
193
|
+
this.layout = this.measure(!1), this.layoutCorrected = d(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
|
|
194
|
+
const { visualElement: i } = this.options;
|
|
195
|
+
i && i.notify("LayoutMeasure", this.layout.layoutBox, t ? t.layoutBox : void 0);
|
|
196
|
+
}
|
|
197
|
+
updateScroll(t = "measure") {
|
|
198
|
+
let i = !!(this.options.layoutScroll && this.instance);
|
|
199
|
+
if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === t && (i = !1), i && this.instance) {
|
|
200
|
+
const s = u(this.instance);
|
|
201
|
+
this.scroll = {
|
|
202
|
+
animationId: this.root.animationId,
|
|
203
|
+
phase: t,
|
|
204
|
+
isRoot: s,
|
|
205
|
+
offset: c(this.instance),
|
|
206
|
+
wasRoot: this.scroll ? this.scroll.isRoot : s
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
resetTransform() {
|
|
211
|
+
if (!v)
|
|
212
|
+
return;
|
|
213
|
+
const t = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, i = this.projectionDelta && !it(this.projectionDelta), s = this.getTransformTemplate(), o = s ? s(this.latestValues, "") : void 0, a = o !== this.prevTransformTemplateValue;
|
|
214
|
+
t && this.instance && (i || P(this.latestValues) || a) && (v(this.instance, o), this.shouldResetTransform = !1, this.scheduleRender());
|
|
215
|
+
}
|
|
216
|
+
measure(t = !0) {
|
|
217
|
+
const i = this.measurePageBox();
|
|
218
|
+
let s = this.removeElementScroll(i);
|
|
219
|
+
return t && (s = this.removeTransform(s)), Nt(s), {
|
|
220
|
+
animationId: this.root.animationId,
|
|
221
|
+
measuredBox: i,
|
|
222
|
+
layoutBox: s,
|
|
223
|
+
latestValues: {},
|
|
224
|
+
source: this.id
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
measurePageBox() {
|
|
228
|
+
var o;
|
|
229
|
+
const { visualElement: t } = this.options;
|
|
230
|
+
if (!t)
|
|
231
|
+
return d();
|
|
232
|
+
const i = t.measureViewportBox();
|
|
233
|
+
if (!(((o = this.scroll) == null ? void 0 : o.wasRoot) || this.path.some(Ht))) {
|
|
234
|
+
const { scroll: a } = this.root;
|
|
235
|
+
a && (E(i.x, a.offset.x), E(i.y, a.offset.y));
|
|
236
|
+
}
|
|
237
|
+
return i;
|
|
238
|
+
}
|
|
239
|
+
removeElementScroll(t) {
|
|
240
|
+
var s;
|
|
241
|
+
const i = d();
|
|
242
|
+
if (f(i, t), (s = this.scroll) != null && s.wasRoot)
|
|
243
|
+
return i;
|
|
244
|
+
for (let o = 0; o < this.path.length; o++) {
|
|
245
|
+
const a = this.path[o], { scroll: r, options: l } = a;
|
|
246
|
+
a !== this.root && r && l.layoutScroll && (r.wasRoot && f(i, t), E(i.x, r.offset.x), E(i.y, r.offset.y));
|
|
247
|
+
}
|
|
248
|
+
return i;
|
|
249
|
+
}
|
|
250
|
+
applyTransform(t, i = !1) {
|
|
251
|
+
const s = d();
|
|
252
|
+
f(s, t);
|
|
253
|
+
for (let o = 0; o < this.path.length; o++) {
|
|
254
|
+
const a = this.path[o];
|
|
255
|
+
!i && a.options.layoutScroll && a.scroll && a !== a.root && w(s, {
|
|
256
|
+
x: -a.scroll.offset.x,
|
|
257
|
+
y: -a.scroll.offset.y
|
|
258
|
+
}), P(a.latestValues) && w(s, a.latestValues);
|
|
259
|
+
}
|
|
260
|
+
return P(this.latestValues) && w(s, this.latestValues), s;
|
|
261
|
+
}
|
|
262
|
+
removeTransform(t) {
|
|
263
|
+
const i = d();
|
|
264
|
+
f(i, t);
|
|
265
|
+
for (let s = 0; s < this.path.length; s++) {
|
|
266
|
+
const o = this.path[s];
|
|
267
|
+
if (!o.instance || !P(o.latestValues))
|
|
268
|
+
continue;
|
|
269
|
+
q(o.latestValues) && o.updateSnapshot();
|
|
270
|
+
const a = d(), r = o.measurePageBox();
|
|
271
|
+
f(a, r), W(i, o.latestValues, o.snapshot ? o.snapshot.layoutBox : void 0, a);
|
|
272
|
+
}
|
|
273
|
+
return P(this.latestValues) && W(i, this.latestValues), i;
|
|
274
|
+
}
|
|
275
|
+
setTargetDelta(t) {
|
|
276
|
+
this.targetDelta = t, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
|
|
277
|
+
}
|
|
278
|
+
setOptions(t) {
|
|
279
|
+
this.options = {
|
|
280
|
+
...this.options,
|
|
281
|
+
...t,
|
|
282
|
+
crossfade: t.crossfade !== void 0 ? t.crossfade : !0
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
clearMeasurements() {
|
|
286
|
+
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
|
|
287
|
+
}
|
|
288
|
+
forceRelativeParentToResolveTarget() {
|
|
289
|
+
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== y.timestamp && this.relativeParent.resolveTargetDelta(!0);
|
|
290
|
+
}
|
|
291
|
+
resolveTargetDelta(t = !1) {
|
|
292
|
+
var l;
|
|
293
|
+
const i = this.getLead();
|
|
294
|
+
this.isProjectionDirty || (this.isProjectionDirty = i.isProjectionDirty), this.isTransformDirty || (this.isTransformDirty = i.isTransformDirty), this.isSharedProjectionDirty || (this.isSharedProjectionDirty = i.isSharedProjectionDirty);
|
|
295
|
+
const s = !!this.resumingFrom || this !== i;
|
|
296
|
+
if (!(t || s && this.isSharedProjectionDirty || this.isProjectionDirty || (l = this.parent) != null && l.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize))
|
|
297
|
+
return;
|
|
298
|
+
const { layout: a, layoutId: r } = this.options;
|
|
299
|
+
if (!(!this.layout || !(a || r))) {
|
|
300
|
+
if (this.resolvedRelativeTargetAt = y.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
301
|
+
const h = this.getClosestProjectingParent();
|
|
302
|
+
h && h.layout && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = d(), this.relativeTargetOrigin = d(), k(this.relativeTargetOrigin, this.layout.layoutBox, h.layout.layoutBox), f(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
303
|
+
}
|
|
304
|
+
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = d(), this.targetWithTransforms = d()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), dt(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : f(this.target, this.layout.layoutBox), ut(this.target, this.targetDelta)) : f(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
|
|
305
|
+
this.attemptToResolveRelativeTarget = !1;
|
|
306
|
+
const h = this.getClosestProjectingParent();
|
|
307
|
+
h && !!h.resumingFrom == !!this.resumingFrom && !h.options.layoutScroll && h.target && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = d(), this.relativeTargetOrigin = d(), k(this.relativeTargetOrigin, this.target, h.target), f(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
getClosestProjectingParent() {
|
|
312
|
+
if (!(!this.parent || q(this.parent.latestValues) || gt(this.parent.latestValues)))
|
|
313
|
+
return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
|
|
314
|
+
}
|
|
315
|
+
isProjecting() {
|
|
316
|
+
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
|
|
317
|
+
}
|
|
318
|
+
calcProjection() {
|
|
319
|
+
var m;
|
|
320
|
+
const t = this.getLead(), i = !!this.resumingFrom || this !== t;
|
|
321
|
+
let s = !0;
|
|
322
|
+
if ((this.isProjectionDirty || (m = this.parent) != null && m.isProjectionDirty) && (s = !1), i && (this.isSharedProjectionDirty || this.isTransformDirty) && (s = !1), this.resolvedRelativeTargetAt === y.timestamp && (s = !1), s)
|
|
323
|
+
return;
|
|
324
|
+
const { layout: o, layoutId: a } = this.options;
|
|
325
|
+
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(o || a))
|
|
326
|
+
return;
|
|
327
|
+
f(this.layoutCorrected, this.layout.layoutBox);
|
|
328
|
+
const r = this.treeScale.x, l = this.treeScale.y;
|
|
329
|
+
ct(this.layoutCorrected, this.treeScale, this.path, i), t.layout && !t.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (t.target = t.layout.layoutBox, t.targetWithTransforms = d());
|
|
330
|
+
const { target: h } = t;
|
|
331
|
+
if (!h) {
|
|
332
|
+
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
333
|
+
return;
|
|
334
|
+
}
|
|
335
|
+
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (b(this.prevProjectionDelta.x, this.projectionDelta.x), b(this.prevProjectionDelta.y, this.projectionDelta.y)), L(this.projectionDelta, this.layoutCorrected, h, this.latestValues), (this.treeScale.x !== r || this.treeScale.y !== l || !z(this.projectionDelta.x, this.prevProjectionDelta.x) || !z(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", h));
|
|
336
|
+
}
|
|
337
|
+
hide() {
|
|
338
|
+
this.isVisible = !1;
|
|
339
|
+
}
|
|
340
|
+
show() {
|
|
341
|
+
this.isVisible = !0;
|
|
342
|
+
}
|
|
343
|
+
scheduleRender(t = !0) {
|
|
344
|
+
var i;
|
|
345
|
+
if ((i = this.options.visualElement) == null || i.scheduleRender(), t) {
|
|
346
|
+
const s = this.getStack();
|
|
347
|
+
s && s.scheduleRender();
|
|
348
|
+
}
|
|
349
|
+
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
|
|
350
|
+
}
|
|
351
|
+
createProjectionDeltas() {
|
|
352
|
+
this.prevProjectionDelta = B(), this.projectionDelta = B(), this.projectionDeltaWithTransform = B();
|
|
353
|
+
}
|
|
354
|
+
setAnimationOrigin(t, i = !1) {
|
|
355
|
+
const s = this.snapshot, o = s ? s.latestValues : {}, a = { ...this.latestValues }, r = B();
|
|
356
|
+
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !i;
|
|
357
|
+
const l = d(), h = s ? s.source : void 0, m = this.layout ? this.layout.source : void 0, g = h !== m, T = this.getStack(), D = !T || T.members.length <= 1, x = !!(g && !D && this.options.crossfade === !0 && !this.path.some(Wt));
|
|
358
|
+
this.animationProgress = 0;
|
|
359
|
+
let p;
|
|
360
|
+
this.mixTargetDelta = (A) => {
|
|
361
|
+
const R = A / 1e3;
|
|
362
|
+
J(r.x, t.x, R), J(r.y, t.y, R), this.setTargetDelta(r), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (k(l, this.layout.layoutBox, this.relativeParent.layout.layoutBox), bt(this.relativeTarget, this.relativeTargetOrigin, l, R), p && ft(this.relativeTarget, p) && (this.isProjectionDirty = !1), p || (p = d()), f(p, this.relativeTarget)), g && (this.animationValues = a, lt(a, o, this.latestValues, R, x, D)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = R;
|
|
363
|
+
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
364
|
+
}
|
|
365
|
+
startAnimation(t) {
|
|
366
|
+
var i, s, o;
|
|
367
|
+
this.notifyListeners("animationStart"), (i = this.currentAnimation) == null || i.stop(), (o = (s = this.resumingFrom) == null ? void 0 : s.currentAnimation) == null || o.stop(), this.pendingAnimation && (X(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = V.update(() => {
|
|
368
|
+
O.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = jt(0)), this.currentAnimation = at(this.motionValue, [0, 1e3], {
|
|
369
|
+
...t,
|
|
370
|
+
velocity: 0,
|
|
371
|
+
isSync: !0,
|
|
372
|
+
onUpdate: (a) => {
|
|
373
|
+
this.mixTargetDelta(a), t.onUpdate && t.onUpdate(a);
|
|
374
|
+
},
|
|
375
|
+
onStop: () => {
|
|
376
|
+
},
|
|
377
|
+
onComplete: () => {
|
|
378
|
+
t.onComplete && t.onComplete(), this.completeAnimation();
|
|
379
|
+
}
|
|
380
|
+
}), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
completeAnimation() {
|
|
384
|
+
this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0);
|
|
385
|
+
const t = this.getStack();
|
|
386
|
+
t && t.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
|
|
387
|
+
}
|
|
388
|
+
finishAnimation() {
|
|
389
|
+
this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Rt), this.currentAnimation.stop()), this.completeAnimation();
|
|
390
|
+
}
|
|
391
|
+
applyTransformsToTarget() {
|
|
392
|
+
const t = this.getLead();
|
|
393
|
+
let { targetWithTransforms: i, target: s, layout: o, latestValues: a } = t;
|
|
394
|
+
if (!(!i || !s || !o)) {
|
|
395
|
+
if (this !== t && this.layout && o && ot(this.options.animationType, this.layout.layoutBox, o.layoutBox)) {
|
|
396
|
+
s = this.target || d();
|
|
397
|
+
const r = S(this.layout.layoutBox.x);
|
|
398
|
+
s.x.min = t.target.x.min, s.x.max = s.x.min + r;
|
|
399
|
+
const l = S(this.layout.layoutBox.y);
|
|
400
|
+
s.y.min = t.target.y.min, s.y.max = s.y.min + l;
|
|
401
|
+
}
|
|
402
|
+
f(i, s), w(i, a), L(this.projectionDeltaWithTransform, this.layoutCorrected, i, a);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
registerSharedNode(t, i) {
|
|
406
|
+
this.sharedNodes.has(t) || this.sharedNodes.set(t, new pt()), this.sharedNodes.get(t).add(i);
|
|
407
|
+
const o = i.options.initialPromotionConfig;
|
|
408
|
+
i.promote({
|
|
409
|
+
transition: o ? o.transition : void 0,
|
|
410
|
+
preserveFollowOpacity: o && o.shouldPreserveFollowOpacity ? o.shouldPreserveFollowOpacity(i) : void 0
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
isLead() {
|
|
414
|
+
const t = this.getStack();
|
|
415
|
+
return t ? t.lead === this : !0;
|
|
416
|
+
}
|
|
417
|
+
getLead() {
|
|
418
|
+
var i;
|
|
419
|
+
const { layoutId: t } = this.options;
|
|
420
|
+
return t ? ((i = this.getStack()) == null ? void 0 : i.lead) || this : this;
|
|
421
|
+
}
|
|
422
|
+
getPrevLead() {
|
|
423
|
+
var i;
|
|
424
|
+
const { layoutId: t } = this.options;
|
|
425
|
+
return t ? (i = this.getStack()) == null ? void 0 : i.prevLead : void 0;
|
|
426
|
+
}
|
|
427
|
+
getStack() {
|
|
428
|
+
const { layoutId: t } = this.options;
|
|
429
|
+
if (t)
|
|
430
|
+
return this.root.sharedNodes.get(t);
|
|
431
|
+
}
|
|
432
|
+
promote({ needsReset: t, transition: i, preserveFollowOpacity: s } = {}) {
|
|
433
|
+
const o = this.getStack();
|
|
434
|
+
o && o.promote(this, s), t && (this.projectionDelta = void 0, this.needsReset = !0), i && this.setOptions({ transition: i });
|
|
435
|
+
}
|
|
436
|
+
relegate() {
|
|
437
|
+
const t = this.getStack();
|
|
438
|
+
return t ? t.relegate(this) : !1;
|
|
439
|
+
}
|
|
440
|
+
resetSkewAndRotation() {
|
|
441
|
+
const { visualElement: t } = this.options;
|
|
442
|
+
if (!t)
|
|
443
|
+
return;
|
|
444
|
+
let i = !1;
|
|
445
|
+
const { latestValues: s } = t;
|
|
446
|
+
if ((s.z || s.rotate || s.rotateX || s.rotateY || s.rotateZ || s.skewX || s.skewY) && (i = !0), !i)
|
|
447
|
+
return;
|
|
448
|
+
const o = {};
|
|
449
|
+
s.z && M("z", t, o, this.animationValues);
|
|
450
|
+
for (let a = 0; a < I.length; a++)
|
|
451
|
+
M(`rotate${I[a]}`, t, o, this.animationValues), M(`skew${I[a]}`, t, o, this.animationValues);
|
|
452
|
+
t.render();
|
|
453
|
+
for (const a in o)
|
|
454
|
+
t.setStaticValue(a, o[a]), this.animationValues && (this.animationValues[a] = o[a]);
|
|
455
|
+
t.scheduleRender();
|
|
456
|
+
}
|
|
457
|
+
applyProjectionStyles(t, i) {
|
|
458
|
+
if (!this.instance || this.isSVG)
|
|
459
|
+
return;
|
|
460
|
+
if (!this.isVisible) {
|
|
461
|
+
t.visibility = "hidden";
|
|
462
|
+
return;
|
|
463
|
+
}
|
|
464
|
+
const s = this.getTransformTemplate();
|
|
465
|
+
if (this.needsReset) {
|
|
466
|
+
this.needsReset = !1, t.visibility = "", t.opacity = "", t.pointerEvents = C(i == null ? void 0 : i.pointerEvents) || "", t.transform = s ? s(this.latestValues, "") : "none";
|
|
467
|
+
return;
|
|
468
|
+
}
|
|
469
|
+
const o = this.getLead();
|
|
470
|
+
if (!this.projectionDelta || !this.layout || !o.target) {
|
|
471
|
+
this.options.layoutId && (t.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, t.pointerEvents = C(i == null ? void 0 : i.pointerEvents) || ""), this.hasProjected && !P(this.latestValues) && (t.transform = s ? s({}, "") : "none", this.hasProjected = !1);
|
|
472
|
+
return;
|
|
473
|
+
}
|
|
474
|
+
t.visibility = "";
|
|
475
|
+
const a = o.animationValues || o.latestValues;
|
|
476
|
+
this.applyTransformsToTarget();
|
|
477
|
+
let r = yt(this.projectionDeltaWithTransform, this.treeScale, a);
|
|
478
|
+
s && (r = s(a, r)), t.transform = r;
|
|
479
|
+
const { x: l, y: h } = this.projectionDelta;
|
|
480
|
+
t.transformOrigin = `${l.origin * 100}% ${h.origin * 100}% 0`, o.animationValues ? t.opacity = o === this ? a.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : a.opacityExit : t.opacity = o === this ? a.opacity !== void 0 ? a.opacity : "" : a.opacityExit !== void 0 ? a.opacityExit : 0;
|
|
481
|
+
for (const m in H) {
|
|
482
|
+
if (a[m] === void 0)
|
|
483
|
+
continue;
|
|
484
|
+
const { correct: g, applyTo: T, isCSSVariable: D } = H[m], x = r === "none" ? a[m] : g(a[m], o);
|
|
485
|
+
if (T) {
|
|
486
|
+
const p = T.length;
|
|
487
|
+
for (let A = 0; A < p; A++)
|
|
488
|
+
t[T[A]] = x;
|
|
489
|
+
} else
|
|
490
|
+
D ? this.options.visualElement.renderState.vars[m] = x : t[m] = x;
|
|
491
|
+
}
|
|
492
|
+
this.options.layoutId && (t.pointerEvents = o === this ? C(i == null ? void 0 : i.pointerEvents) || "" : "none");
|
|
493
|
+
}
|
|
494
|
+
clearSnapshot() {
|
|
495
|
+
this.resumeFrom = this.snapshot = void 0;
|
|
496
|
+
}
|
|
497
|
+
// Only run on root
|
|
498
|
+
resetTree() {
|
|
499
|
+
this.root.nodes.forEach((t) => {
|
|
500
|
+
var i;
|
|
501
|
+
return (i = t.currentAnimation) == null ? void 0 : i.stop();
|
|
502
|
+
}), this.root.nodes.forEach(Y), this.root.sharedNodes.clear();
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
function kt(e) {
|
|
507
|
+
e.updateLayout();
|
|
508
|
+
}
|
|
509
|
+
function Lt(e) {
|
|
510
|
+
var c;
|
|
511
|
+
const n = ((c = e.resumeFrom) == null ? void 0 : c.snapshot) || e.snapshot;
|
|
512
|
+
if (e.isLead() && e.layout && n && e.hasListeners("didUpdate")) {
|
|
513
|
+
const { layoutBox: u, measuredBox: v } = e.layout, { animationType: j } = e.options, t = n.source !== e.layout.source;
|
|
514
|
+
j === "size" ? G((r) => {
|
|
515
|
+
const l = t ? n.measuredBox[r] : n.layoutBox[r], h = S(l);
|
|
516
|
+
l.min = u[r].min, l.max = l.min + h;
|
|
517
|
+
}) : ot(j, n.layoutBox, u) && G((r) => {
|
|
518
|
+
const l = t ? n.measuredBox[r] : n.layoutBox[r], h = S(u[r]);
|
|
519
|
+
l.max = l.min + h, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + h);
|
|
520
|
+
});
|
|
521
|
+
const i = B();
|
|
522
|
+
L(i, u, n.layoutBox);
|
|
523
|
+
const s = B();
|
|
524
|
+
t ? L(s, e.applyTransform(v, !0), n.measuredBox) : L(s, u, n.layoutBox);
|
|
525
|
+
const o = !it(i);
|
|
526
|
+
let a = !1;
|
|
527
|
+
if (!e.resumeFrom) {
|
|
528
|
+
const r = e.getClosestProjectingParent();
|
|
529
|
+
if (r && !r.resumeFrom) {
|
|
530
|
+
const { snapshot: l, layout: h } = r;
|
|
531
|
+
if (l && h) {
|
|
532
|
+
const m = d();
|
|
533
|
+
k(m, n.layoutBox, l.layoutBox);
|
|
534
|
+
const g = d();
|
|
535
|
+
k(g, u, h.layoutBox), et(m, g) || (a = !0), r.options.layoutRoot && (e.relativeTarget = g, e.relativeTargetOrigin = m, e.relativeParent = r);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
e.notifyListeners("didUpdate", {
|
|
540
|
+
layout: u,
|
|
541
|
+
snapshot: n,
|
|
542
|
+
delta: s,
|
|
543
|
+
layoutDelta: i,
|
|
544
|
+
hasLayoutChanged: o,
|
|
545
|
+
hasRelativeLayoutChanged: a
|
|
546
|
+
});
|
|
547
|
+
} else if (e.isLead()) {
|
|
548
|
+
const { onExitComplete: u } = e.options;
|
|
549
|
+
u && u();
|
|
550
|
+
}
|
|
551
|
+
e.options.transition = void 0;
|
|
552
|
+
}
|
|
553
|
+
function Et(e) {
|
|
554
|
+
e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty || (e.isSharedProjectionDirty = !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty)), e.isTransformDirty || (e.isTransformDirty = e.parent.isTransformDirty));
|
|
555
|
+
}
|
|
556
|
+
function wt(e) {
|
|
557
|
+
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
|
|
558
|
+
}
|
|
559
|
+
function Ut(e) {
|
|
560
|
+
e.clearSnapshot();
|
|
561
|
+
}
|
|
562
|
+
function Y(e) {
|
|
563
|
+
e.clearMeasurements();
|
|
564
|
+
}
|
|
565
|
+
function $(e) {
|
|
566
|
+
e.isLayoutDirty = !1;
|
|
567
|
+
}
|
|
568
|
+
function Ct(e) {
|
|
569
|
+
const { visualElement: n } = e.options;
|
|
570
|
+
n && n.getProps().onBeforeLayoutMeasure && n.notify("BeforeLayoutMeasure"), e.resetTransform();
|
|
571
|
+
}
|
|
572
|
+
function Z(e) {
|
|
573
|
+
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
|
|
574
|
+
}
|
|
575
|
+
function Ot(e) {
|
|
576
|
+
e.resolveTargetDelta();
|
|
577
|
+
}
|
|
578
|
+
function Ft(e) {
|
|
579
|
+
e.calcProjection();
|
|
580
|
+
}
|
|
581
|
+
function It(e) {
|
|
582
|
+
e.resetSkewAndRotation();
|
|
583
|
+
}
|
|
584
|
+
function Mt(e) {
|
|
585
|
+
e.removeLeadSnapshot();
|
|
586
|
+
}
|
|
587
|
+
function J(e, n, c) {
|
|
588
|
+
e.translate = U(n.translate, 0, c), e.scale = U(n.scale, 1, c), e.origin = n.origin, e.originPoint = n.originPoint;
|
|
589
|
+
}
|
|
590
|
+
function K(e, n, c, u) {
|
|
591
|
+
e.min = U(n.min, c.min, u), e.max = U(n.max, c.max, u);
|
|
592
|
+
}
|
|
593
|
+
function bt(e, n, c, u) {
|
|
594
|
+
K(e.x, n.x, c.x, u), K(e.y, n.y, c.y, u);
|
|
595
|
+
}
|
|
596
|
+
function Wt(e) {
|
|
597
|
+
return e.animationValues && e.animationValues.opacityExit !== void 0;
|
|
598
|
+
}
|
|
599
|
+
const zt = {
|
|
600
|
+
duration: 0.45,
|
|
601
|
+
ease: [0.4, 0, 0.1, 1]
|
|
602
|
+
}, Q = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), _ = Q("applewebkit/") && !Q("chrome/") ? Math.round : At;
|
|
603
|
+
function tt(e) {
|
|
604
|
+
e.min = _(e.min), e.max = _(e.max);
|
|
605
|
+
}
|
|
606
|
+
function Nt(e) {
|
|
607
|
+
tt(e.x), tt(e.y);
|
|
608
|
+
}
|
|
609
|
+
function ot(e, n, c) {
|
|
610
|
+
return e === "position" || e === "preserve-aspect" && !mt(N(n), N(c), 0.2);
|
|
611
|
+
}
|
|
612
|
+
function Ht(e) {
|
|
613
|
+
var n;
|
|
614
|
+
return e !== e.root && ((n = e.scroll) == null ? void 0 : n.wasRoot);
|
|
615
|
+
}
|
|
616
|
+
export {
|
|
617
|
+
wt as cleanDirtyNodes,
|
|
618
|
+
xe as createProjectionNode,
|
|
619
|
+
K as mixAxis,
|
|
620
|
+
J as mixAxisDelta,
|
|
621
|
+
bt as mixBox,
|
|
622
|
+
Et as propagateDirtyNodes
|
|
623
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
/**
|
|
3
|
+
* Global flag as to whether the tree has animated since the last time
|
|
4
|
+
* we resized the window
|
|
5
|
+
*/
|
|
6
|
+
hasAnimatedSinceResize: !0,
|
|
7
|
+
/**
|
|
8
|
+
* We set this to true once, on the first update. Any nodes added to the tree beyond that
|
|
9
|
+
* update will be given a `data-projection-id` attribute.
|
|
10
|
+
*/
|
|
11
|
+
hasEverUpdated: !1
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
e as globalProjectionState
|
|
15
|
+
};
|