@useloops/design-system 1.4.527 → 1.4.529
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -0
- package/dist/BrandCore/Icon.d.ts +4 -0
- package/dist/BrandCore/Icon.js +1 -0
- package/dist/BrandCore.d.ts +448 -0
- package/dist/BrandCore.js +1 -0
- package/dist/IconButton-CgrekP6F.d.ts +17 -0
- package/dist/IconButtonBase-B6RP_D01.d.ts +15 -0
- package/dist/InputLabelBase.variants-helpers-B7h8EWO3.d.ts +3 -0
- package/dist/Marketing/PlanFeatureTable.d.ts +61 -0
- package/dist/Marketing/PlanFeatureTable.js +1 -0
- package/dist/Marketing/PlanTierCard.d.ts +28 -0
- package/dist/Marketing/PlanTierCard.js +1 -0
- package/dist/Marketing/TickGroup.d.ts +9 -0
- package/dist/Marketing/TickGroup.js +1 -0
- package/dist/Marketing.d.ts +4 -0
- package/dist/Marketing.js +1 -0
- package/dist/MenuItem-DOijzWN3.d.ts +24 -0
- package/dist/Nudge-DzxctJYj.d.ts +12 -0
- package/dist/Platform/AIInsight.d.ts +18 -0
- package/dist/Platform/AIInsight.js +1 -0
- package/dist/Platform/AISummary.d.ts +43 -0
- package/dist/Platform/AISummary.js +1 -0
- package/dist/Platform/AIWrittenByLockUp.d.ts +14 -0
- package/dist/Platform/AIWrittenByLockUp.js +1 -0
- package/dist/Platform/AiContentContainer.d.ts +22 -0
- package/dist/Platform/AiContentContainer.js +1 -0
- package/dist/Platform/AssetItem.d.ts +24 -0
- package/dist/Platform/AssetItem.js +1 -0
- package/dist/Platform/AuthContainerSurface.d.ts +12 -0
- package/dist/Platform/AuthContainerSurface.js +1 -0
- package/dist/Platform/ClipboardCopyingOverlay.d.ts +11 -0
- package/dist/Platform/ClipboardCopyingOverlay.js +1 -0
- package/dist/Platform/CommentCard.d.ts +43 -0
- package/dist/Platform/CommentCard.js +1 -0
- package/dist/Platform/DataPointInfo.d.ts +39 -0
- package/dist/Platform/DataPointInfo.js +1 -0
- package/dist/Platform/DemographicSelectionSection.d.ts +9 -0
- package/dist/Platform/DemographicSelectionSection.js +1 -0
- package/dist/Platform/EmojiListItem.d.ts +21 -0
- package/dist/Platform/EmojiListItem.js +1 -0
- package/dist/Platform/EmojiQuestionEditorOption.d.ts +25 -0
- package/dist/Platform/EmojiQuestionEditorOption.js +1 -0
- package/dist/Platform/EmptyStateCard.d.ts +30 -0
- package/dist/Platform/EmptyStateCard.js +1 -0
- package/dist/Platform/ExtendedTestStatus.d.ts +18 -0
- package/dist/Platform/ExtendedTestStatus.js +1 -0
- package/dist/Platform/FilterCount.d.ts +15 -0
- package/dist/Platform/FilterCount.js +1 -0
- package/dist/Platform/FilterGroupAccordion.d.ts +15 -0
- package/dist/Platform/FilterGroupAccordion.js +1 -0
- package/dist/Platform/FilterPyramidGraph.d.ts +19 -0
- package/dist/Platform/FilterPyramidGraph.js +1 -0
- package/dist/Platform/FilterRow.d.ts +15 -0
- package/dist/Platform/FilterRow.js +1 -0
- package/dist/Platform/FilteredItemsCard.d.ts +11 -0
- package/dist/Platform/FilteredItemsCard.js +1 -0
- package/dist/Platform/ForgotYourPassword.d.ts +5 -0
- package/dist/Platform/ForgotYourPassword.js +1 -0
- package/dist/Platform/GraphBar.d.ts +54 -0
- package/dist/Platform/GraphBar.js +1 -0
- package/dist/Platform/Header.d.ts +25 -0
- package/dist/Platform/Header.js +1 -0
- package/dist/Platform/KpiDataPopover.d.ts +34 -0
- package/dist/Platform/KpiDataPopover.js +1 -0
- package/dist/Platform/KpiIndicator.d.ts +19 -0
- package/dist/Platform/KpiIndicator.js +1 -0
- package/dist/Platform/LinkExpired.d.ts +5 -0
- package/dist/Platform/LinkExpired.js +1 -0
- package/dist/Platform/LoginForm.d.ts +5 -0
- package/dist/Platform/LoginForm.js +1 -0
- package/dist/Platform/LoopItem.d.ts +16 -0
- package/dist/Platform/LoopItem.js +1 -0
- package/dist/Platform/LoopItemEmpty.d.ts +11 -0
- package/dist/Platform/LoopItemEmpty.js +1 -0
- package/dist/Platform/MFACodeVerify.d.ts +5 -0
- package/dist/Platform/MFACodeVerify.js +1 -0
- package/dist/Platform/Navigation.d.ts +8 -0
- package/dist/Platform/Navigation.js +1 -0
- package/dist/Platform/OnboardingCard.d.ts +18 -0
- package/dist/Platform/OnboardingCard.js +1 -0
- package/dist/Platform/PaginationControl.d.ts +12 -0
- package/dist/Platform/PaginationControl.js +1 -0
- package/dist/Platform/ProjectItem.d.ts +9 -0
- package/dist/Platform/ProjectItem.js +1 -0
- package/dist/Platform/QuestionBlock.d.ts +18 -0
- package/dist/Platform/QuestionBlock.js +1 -0
- package/dist/Platform/QuestionLabel.d.ts +2 -0
- package/dist/Platform/QuestionLabel.js +1 -0
- package/dist/Platform/QuestionSelector.d.ts +18 -0
- package/dist/Platform/QuestionSelector.js +1 -0
- package/dist/Platform/ResetPassword.d.ts +5 -0
- package/dist/Platform/ResetPassword.js +1 -0
- package/dist/Platform/SearchInput.d.ts +17 -0
- package/dist/Platform/SearchInput.js +1 -0
- package/dist/Platform/SectionHeader.d.ts +13 -0
- package/dist/Platform/SectionHeader.js +1 -0
- package/dist/Platform/SentimentArrow.d.ts +9 -0
- package/dist/Platform/SentimentArrow.js +1 -0
- package/dist/Platform/SignUpForm.d.ts +5 -0
- package/dist/Platform/SignUpForm.js +1 -0
- package/dist/Platform/SliderGraph.d.ts +82 -0
- package/dist/Platform/SliderGraph.js +1 -0
- package/dist/Platform/Tab.d.ts +14 -0
- package/dist/Platform/Tab.js +1 -0
- package/dist/Platform/TestItem.d.ts +56 -0
- package/dist/Platform/TestItem.js +1 -0
- package/dist/Platform/TestKPICard.d.ts +10 -0
- package/dist/Platform/TestKPICard.js +1 -0
- package/dist/Platform/TestStatus.d.ts +14 -0
- package/dist/Platform/TestStatus.js +1 -0
- package/dist/Platform/VideoControls.d.ts +2 -0
- package/dist/Platform/VideoControls.js +1 -0
- package/dist/Platform.d.ts +76 -0
- package/dist/Platform.js +1 -0
- package/dist/ProjectItemEmpty-CF0eY2lC.d.ts +52 -0
- package/dist/Select-BwTogXOZ.d.ts +39 -0
- package/dist/SliderGraph-CoAU3jrL.d.ts +81 -0
- package/dist/StyledSelect.variant-helpers-BZGzS3MF.d.ts +12 -0
- package/dist/WebCore/Accordion.d.ts +12 -0
- package/dist/WebCore/Accordion.js +1 -0
- package/dist/WebCore/AnnualController.d.ts +22 -0
- package/dist/WebCore/AnnualController.js +1 -0
- package/dist/WebCore/AuthFormHeader.d.ts +10 -0
- package/dist/WebCore/AuthFormHeader.js +1 -0
- package/dist/WebCore/Avatar.d.ts +9 -0
- package/dist/WebCore/Avatar.js +1 -0
- package/dist/WebCore/AvatarGroup.d.ts +11 -0
- package/dist/WebCore/AvatarGroup.js +1 -0
- package/dist/WebCore/Badge.d.ts +7 -0
- package/dist/WebCore/Badge.js +1 -0
- package/dist/WebCore/BrandBadge.d.ts +12 -0
- package/dist/WebCore/BrandBadge.js +1 -0
- package/dist/WebCore/Breadcrumb.d.ts +4 -0
- package/dist/WebCore/Breadcrumb.js +1 -0
- package/dist/WebCore/BulletGraphic.d.ts +11 -0
- package/dist/WebCore/BulletGraphic.js +1 -0
- package/dist/WebCore/Button.d.ts +17 -0
- package/dist/WebCore/Button.js +1 -0
- package/dist/WebCore/ButtonBase.d.ts +124 -0
- package/dist/WebCore/ButtonBase.js +1 -0
- package/dist/WebCore/Checkbox.d.ts +28 -0
- package/dist/WebCore/Checkbox.js +1 -0
- package/dist/WebCore/CheckboxGroup.d.ts +29 -0
- package/dist/WebCore/CheckboxGroup.js +1 -0
- package/dist/WebCore/ColorBackgroundContainer.d.ts +12 -0
- package/dist/WebCore/ColorBackgroundContainer.js +1 -0
- package/dist/WebCore/CreatableAutocomplete.d.ts +21 -0
- package/dist/WebCore/CreatableAutocomplete.js +1 -0
- package/dist/WebCore/CustomField.d.ts +16 -0
- package/dist/WebCore/CustomField.js +1 -0
- package/dist/WebCore/Differential.d.ts +14 -0
- package/dist/WebCore/Differential.js +1 -0
- package/dist/WebCore/DropdownMenu.d.ts +26 -0
- package/dist/WebCore/DropdownMenu.js +1 -0
- package/dist/WebCore/EmojiWrapper.d.ts +11 -0
- package/dist/WebCore/EmojiWrapper.js +1 -0
- package/dist/WebCore/ExpandableTypographyClamp.d.ts +22 -0
- package/dist/WebCore/ExpandableTypographyClamp.js +1 -0
- package/dist/WebCore/Flag.d.ts +33 -0
- package/dist/WebCore/Flag.js +1 -0
- package/dist/WebCore/FormControlLabel.d.ts +21 -0
- package/dist/WebCore/FormControlLabel.js +1 -0
- package/dist/WebCore/FormGenerator.d.ts +143 -0
- package/dist/WebCore/FormGenerator.js +1 -0
- package/dist/WebCore/GridOverlay.d.ts +11 -0
- package/dist/WebCore/GridOverlay.js +1 -0
- package/dist/WebCore/Html.d.ts +8 -0
- package/dist/WebCore/Html.js +1 -0
- package/dist/WebCore/HtmlParser.d.ts +11 -0
- package/dist/WebCore/HtmlParser.js +1 -0
- package/dist/WebCore/IconButton.d.ts +6 -0
- package/dist/WebCore/IconButton.js +1 -0
- package/dist/WebCore/IconButtonBase.d.ts +4 -0
- package/dist/WebCore/IconButtonBase.js +1 -0
- package/dist/WebCore/IconButtonGroup.d.ts +22 -0
- package/dist/WebCore/IconButtonGroup.js +1 -0
- package/dist/WebCore/Image.d.ts +13 -0
- package/dist/WebCore/Image.js +1 -0
- package/dist/WebCore/InputFieldBase.d.ts +11 -0
- package/dist/WebCore/InputFieldBase.js +1 -0
- package/dist/WebCore/InputLabel.d.ts +17 -0
- package/dist/WebCore/InputLabel.js +1 -0
- package/dist/WebCore/InputLabelBase.d.ts +12 -0
- package/dist/WebCore/InputLabelBase.js +1 -0
- package/dist/WebCore/InputLabelHelp.d.ts +14 -0
- package/dist/WebCore/InputLabelHelp.js +1 -0
- package/dist/WebCore/Label.d.ts +14 -0
- package/dist/WebCore/Label.js +1 -0
- package/dist/WebCore/Likert.d.ts +17 -0
- package/dist/WebCore/Likert.js +1 -0
- package/dist/WebCore/Link.d.ts +23 -0
- package/dist/WebCore/Link.js +1 -0
- package/dist/WebCore/Loader.d.ts +8 -0
- package/dist/WebCore/Loader.js +1 -0
- package/dist/WebCore/Logo.d.ts +5 -0
- package/dist/WebCore/Logo.js +1 -0
- package/dist/WebCore/LoopsAiButton.d.ts +19 -0
- package/dist/WebCore/LoopsAiButton.js +1 -0
- package/dist/WebCore/Markdown.d.ts +11 -0
- package/dist/WebCore/Markdown.js +1 -0
- package/dist/WebCore/Menu.d.ts +26 -0
- package/dist/WebCore/Menu.js +1 -0
- package/dist/WebCore/ModalLayout.d.ts +30 -0
- package/dist/WebCore/ModalLayout.js +1 -0
- package/dist/WebCore/NavigationButton.d.ts +8 -0
- package/dist/WebCore/NavigationButton.js +1 -0
- package/dist/WebCore/Nudge.d.ts +24 -0
- package/dist/WebCore/Nudge.js +1 -0
- package/dist/WebCore/NumberField.d.ts +12 -0
- package/dist/WebCore/NumberField.js +1 -0
- package/dist/WebCore/Pill.d.ts +24 -0
- package/dist/WebCore/Pill.js +1 -0
- package/dist/WebCore/Popper.d.ts +22 -0
- package/dist/WebCore/Popper.js +1 -0
- package/dist/WebCore/PoweredByWatermarkLogo.d.ts +5 -0
- package/dist/WebCore/PoweredByWatermarkLogo.js +1 -0
- package/dist/WebCore/Progress.d.ts +11 -0
- package/dist/WebCore/Progress.js +1 -0
- package/dist/WebCore/ProgressBar.d.ts +9 -0
- package/dist/WebCore/ProgressBar.js +1 -0
- package/dist/WebCore/Radio.d.ts +17 -0
- package/dist/WebCore/Radio.js +1 -0
- package/dist/WebCore/RadioGroup.d.ts +24 -0
- package/dist/WebCore/RadioGroup.js +1 -0
- package/dist/WebCore/Rank.d.ts +25 -0
- package/dist/WebCore/Rank.js +1 -0
- package/dist/WebCore/RankItem.d.ts +21 -0
- package/dist/WebCore/RankItem.js +1 -0
- package/dist/WebCore/RichTextField.d.ts +17 -0
- package/dist/WebCore/RichTextField.js +1 -0
- package/dist/WebCore/Select.d.ts +12 -0
- package/dist/WebCore/Select.js +1 -0
- package/dist/WebCore/Skeleton.d.ts +16 -0
- package/dist/WebCore/Skeleton.js +1 -0
- package/dist/WebCore/Slider.d.ts +23 -0
- package/dist/WebCore/Slider.js +1 -0
- package/dist/WebCore/SortableList.d.ts +29 -0
- package/dist/WebCore/SortableList.js +1 -0
- package/dist/WebCore/StarRating.d.ts +15 -0
- package/dist/WebCore/StarRating.js +1 -0
- package/dist/WebCore/Surface.d.ts +15 -0
- package/dist/WebCore/Surface.js +1 -0
- package/dist/WebCore/Switch.d.ts +20 -0
- package/dist/WebCore/Switch.js +1 -0
- package/dist/WebCore/TextBarDivider.d.ts +12 -0
- package/dist/WebCore/TextBarDivider.js +1 -0
- package/dist/WebCore/TextField.d.ts +14 -0
- package/dist/WebCore/TextField.js +1 -0
- package/dist/WebCore/Textarea.d.ts +14 -0
- package/dist/WebCore/Textarea.js +1 -0
- package/dist/WebCore/Toast.d.ts +13 -0
- package/dist/WebCore/Toast.js +1 -0
- package/dist/WebCore/Tooltip.d.ts +13 -0
- package/dist/WebCore/Tooltip.js +1 -0
- package/dist/WebCore/TrialCard.d.ts +11 -0
- package/dist/WebCore/TrialCard.js +1 -0
- package/dist/WebCore/Typography.d.ts +15 -0
- package/dist/WebCore/Typography.js +1 -0
- package/dist/WebCore/UserMenu.d.ts +20 -0
- package/dist/WebCore/UserMenu.js +1 -0
- package/dist/WebCore/VideoModal.d.ts +10 -0
- package/dist/WebCore/VideoModal.js +1 -0
- package/dist/WebCore.d.ts +129 -0
- package/dist/WebCore.js +1 -0
- package/dist/_chunks/AIInsight-KNju1VTM.js +1 -0
- package/dist/_chunks/AISummary-BqWYsrSD.js +1 -0
- package/dist/_chunks/Accordion-BJl2S087.js +1 -0
- package/dist/_chunks/AiContentContainer-CorblkLk.js +1 -0
- package/dist/_chunks/AiWrittenByLockUp-DWXSsfjT.js +1 -0
- package/dist/_chunks/AnnualController-DI9eMi68.js +1 -0
- package/dist/_chunks/AssetItem-B5Go_L4V.js +1 -0
- package/dist/_chunks/AuthContainerSurface-DTgXbw6r.js +1 -0
- package/dist/_chunks/AuthFormHeader-DGHrq4Pv.js +1 -0
- package/dist/_chunks/Avatar-BIaJ4A5N.js +1 -0
- package/dist/_chunks/AvatarGroup-D0PjG5Sh.js +1 -0
- package/dist/_chunks/Badge-CLL5w3GG.js +1 -0
- package/dist/_chunks/BrandBadge-xLVmVMGo.js +1 -0
- package/dist/_chunks/Breadcrumb-HdTkV5DA.js +1 -0
- package/dist/_chunks/BulletGraphic-Dkl96haG.js +1 -0
- package/dist/_chunks/Button-BZnAo6ur.js +1 -0
- package/dist/_chunks/ButtonBase-LTVoJKES.js +1 -0
- package/dist/_chunks/Checkbox-JkPqg7X6.js +1 -0
- package/dist/_chunks/CheckboxGroup-D-i66YtA.js +1 -0
- package/dist/_chunks/ClipboardCopyingOverlay-BtW3mPs0.js +1 -0
- package/dist/_chunks/ColorBackgroundContainer-C8SdWjy-.js +1 -0
- package/dist/_chunks/CommentCard-BRiOoLb6.js +1 -0
- package/dist/_chunks/CreatableAutocomplete-CQq8434f.js +1 -0
- package/dist/_chunks/CustomField-B7L4qApB.js +1 -0
- package/dist/_chunks/DataPointInfo-zqjEVwFL.js +1 -0
- package/dist/_chunks/DemographicSelectionSection-Ds45gn0K.js +1 -0
- package/dist/_chunks/Differential-3CtvF6CU.js +1 -0
- package/dist/_chunks/DropdownMenu.hook-BjaPvioc.js +1 -0
- package/dist/_chunks/EmojiListItem-Bi3NUrRS.js +1 -0
- package/dist/_chunks/EmojiQuestionEditorOption-DwXypY9S.js +1 -0
- package/dist/_chunks/EmojiWrapper-8ivaYLJb.js +1 -0
- package/dist/_chunks/EmptyStateCard-BKsmi7Gz.js +1 -0
- package/dist/_chunks/ExpandableTypographyClamp-CXs5PYmH.js +1 -0
- package/dist/_chunks/ExtendedTestStatus-CvqNuDtS.js +1 -0
- package/dist/_chunks/FilterCount-BjZ5U5LN.js +1 -0
- package/dist/_chunks/FilterGroupAccordion-DU7jIW8B.js +1 -0
- package/dist/_chunks/FilterPyramidGraph-BDpgOLyB.js +1 -0
- package/dist/_chunks/FilterRow-wiKvYygK.js +1 -0
- package/dist/_chunks/FilteredItemsCard-B58ivvVz.js +1 -0
- package/dist/_chunks/Flag-DB7SGNWf.js +1 -0
- package/dist/_chunks/FormControlLabel-Dnd7ZgHg.js +1 -0
- package/dist/_chunks/FormGenerator-Z3zD0SYA.js +1 -0
- package/dist/_chunks/GraphBar-GsZrDf8d.js +1 -0
- package/dist/_chunks/GridOverlay-D77Zjqky.js +1 -0
- package/dist/_chunks/Header-D2ywhG8R.js +1 -0
- package/dist/_chunks/HtmlParser-DvZl8w-J.js +1 -0
- package/dist/_chunks/Icon-Dgie8dye.js +1 -0
- package/dist/_chunks/IconButton-DhK1B7gz.js +1 -0
- package/dist/_chunks/IconButton.variant-helpers-pRkPkbk-.js +1 -0
- package/dist/_chunks/IconButtonBase-D9SyDcTF.js +1 -0
- package/dist/_chunks/IconButtonGroup-n5zrM4Fl.js +1 -0
- package/dist/_chunks/Image-BbNbw-0t.js +1 -0
- package/dist/_chunks/InputFieldBase-CORPRziY.js +1 -0
- package/dist/_chunks/InputLabel-CtqwemW2.js +1 -0
- package/dist/_chunks/InputLabelBase-ByujHC5e.js +1 -0
- package/dist/_chunks/InputLabelHelp-B5YcECFk.js +1 -0
- package/dist/_chunks/KpiDataPopover-zb2oR2iy.js +1 -0
- package/dist/_chunks/KpiIndicator-D7PUDo49.js +1 -0
- package/dist/_chunks/Label-cHqhgeLc.js +1 -0
- package/dist/_chunks/Likert-D_Kbsmfs.js +1 -0
- package/dist/_chunks/Link-CWeXm6gH.js +1 -0
- package/dist/_chunks/Loader-CCAQW2sp.js +1 -0
- package/dist/_chunks/Logo-DrrTYdVd.js +1 -0
- package/dist/_chunks/LoopItem-IRnOx1WS.js +1 -0
- package/dist/_chunks/LoopItemEmpty-CrYS3w7Q.js +1 -0
- package/dist/_chunks/LoopsAiButton-BsbLWQB5.js +1 -0
- package/dist/_chunks/Markdown-BkfgWAX-.js +1 -0
- package/dist/_chunks/Menu-DoHdi8Gy.js +1 -0
- package/dist/_chunks/MenuItem-BDnSWhQZ.js +1 -0
- package/dist/_chunks/ModalContentWrapper-9lOys-c7.js +1 -0
- package/dist/_chunks/ModalLayout-KOKkONF-.js +1 -0
- package/dist/_chunks/Navigation-BXDOHCBP.js +1 -0
- package/dist/_chunks/NavigationButton-BAV7ixsb.js +1 -0
- package/dist/_chunks/Nudge-BOqosJH-.js +1 -0
- package/dist/_chunks/NudgeButton-C946DhY2.js +1 -0
- package/dist/_chunks/NumberField-BYvG5YI-.js +1 -0
- package/dist/_chunks/OnboardingCard-BRN_j9T3.js +14 -0
- package/dist/_chunks/PaginationControl-BvKTb_cg.js +1 -0
- package/dist/_chunks/Pill-SK2mIaeq.js +1 -0
- package/dist/_chunks/PlanFeatureTable-CKcBaxFa.js +1 -0
- package/dist/_chunks/PlanTierCard-B8AvS2B_.js +1 -0
- package/dist/_chunks/Popper-DNazVjkl.js +1 -0
- package/dist/_chunks/PoweredByWatermarkLogo-B3WaOoKq.js +1 -0
- package/dist/_chunks/Progress-Jl5bSaNe.js +1 -0
- package/dist/_chunks/ProgressBar-BrG4K6ei.js +1 -0
- package/dist/_chunks/ProjectItemEmpty-CwTJIE4X.js +1 -0
- package/dist/_chunks/QuestionBlock-H2SjxfEt.js +1 -0
- package/dist/_chunks/QuestionLabel-DE9Nln7Y.js +1 -0
- package/dist/_chunks/QuestionSelector-Cl90EkLg.js +1 -0
- package/dist/_chunks/QuestionStatsCard-Bq7G-wat.js +1 -0
- package/dist/_chunks/Radio-WETLdbe3.js +1 -0
- package/dist/_chunks/RadioGroup-pJJea-WP.js +1 -0
- package/dist/_chunks/Rank-CDeJFxhr.js +1 -0
- package/dist/_chunks/RankItem-CVT-u0b4.js +1 -0
- package/dist/_chunks/RichTextField-Cun6nXFl.js +1 -0
- package/dist/_chunks/SearchInput-D5BiJmit.js +1 -0
- package/dist/_chunks/SectionHeader-Co8nWh6W.js +1 -0
- package/dist/_chunks/Select-CuaXR3nZ.js +1 -0
- package/dist/_chunks/SentimentArrow-BBa1MfWi.js +1 -0
- package/dist/_chunks/Skeleton-CzvN5Aop.js +1 -0
- package/dist/_chunks/Slider-BERzdQcA.js +1 -0
- package/dist/_chunks/SliderGraph-DD_WqAJP.js +1 -0
- package/dist/_chunks/SliderGraphYAxis-DpluSu9X.js +1 -0
- package/dist/_chunks/SortableList-BC6OYf7R.js +1 -0
- package/dist/_chunks/StarRating-AT21BAHi.js +1 -0
- package/dist/_chunks/StyledBox-BBBTzB4m.js +1 -0
- package/dist/_chunks/StyledCheckbox-Bs0WosRl.js +1 -0
- package/dist/_chunks/StyledLinearProgress-C4a5-zSo.js +1 -0
- package/dist/_chunks/StyledLisItemButton-Ba6PRsFU.js +1 -0
- package/dist/_chunks/StyledMenu-0gmkD_R6.js +1 -0
- package/dist/_chunks/StyledPill-DJ7cv6bt.js +1 -0
- package/dist/_chunks/StyledSurface-C4GgkNcd.js +1 -0
- package/dist/_chunks/StyledSurface-F6u7wFnF.js +1 -0
- package/dist/_chunks/StyledTimeline-jIKudvpK.js +1 -0
- package/dist/_chunks/Surface-BXSbHlvF.js +1 -0
- package/dist/_chunks/Switch-BUSXqMei.js +1 -0
- package/dist/_chunks/Tab-mfD6Bejc.js +1 -0
- package/dist/_chunks/TestItem-DjNY46mu.js +1 -0
- package/dist/_chunks/TestKPICard-BvpLfGgC.js +1 -0
- package/dist/_chunks/TestStatus-Bfp9ZFlB.js +1 -0
- package/dist/_chunks/TextBarDivider-BakcXpyS.js +1 -0
- package/dist/_chunks/TextField-DKC7uYiw.js +1 -0
- package/dist/_chunks/Textarea-FrhvbRQC.js +1 -0
- package/dist/_chunks/TickGroup-BGX8z0i5.js +1 -0
- package/dist/_chunks/Toast-dLRRqbLm.js +1 -0
- package/dist/_chunks/Tooltip-BiFmGomI.js +1 -0
- package/dist/_chunks/TrialCard-Bat5MO8A.js +1 -0
- package/dist/_chunks/TrialPill-CcuRWyHD.js +1 -0
- package/dist/_chunks/Typography-DTM7DYIB.js +1 -0
- package/dist/_chunks/UserMenu-BDqt0LY2.js +1 -0
- package/dist/_chunks/UserMenuButton-BYStDRZe.js +1 -0
- package/dist/_chunks/VideoControls-CJVfQSj8.js +1 -0
- package/dist/_chunks/VideoModal-CsAh3_cH.js +1 -0
- package/dist/_chunks/autocomplete.styles-DhRQEipU.js +1 -0
- package/dist/_chunks/breakpoint.hook-X1gfdrbr.js +1 -0
- package/dist/_chunks/compareArrayMembers-DrCqHh_l.js +1 -0
- package/dist/_chunks/email-DRHIhr7e.js +1 -0
- package/dist/_chunks/isButton-BLA1xegi.js +1 -0
- package/dist/_chunks/jsx-runtime-DGDij54l.js +10 -0
- package/dist/_chunks/misc-kjIxdcX1.js +1 -0
- package/dist/_chunks/password-C58gQitr.js +1 -0
- package/dist/_chunks/pluralise-BbIXylKr.js +1 -0
- package/dist/_chunks/primitiveVariables-DOkvMbUd.js +1 -0
- package/dist/_chunks/proxy-DirxMcDR.js +1 -0
- package/dist/_chunks/screen.hook-BWo6Lcm1.js +1 -0
- package/dist/_chunks/semanticColor-D7luRDLB.js +1 -0
- package/dist/_chunks/styledPartials-DXCdGNyO.js +1 -0
- package/dist/_chunks/styledPartials-UP-Sn-X0.js +1 -0
- package/dist/_chunks/styledPartials-otL42bCn.js +1 -0
- package/dist/_chunks/styles-C6JCIzMR.js +1 -0
- package/dist/_chunks/theme.provider-Mif4oRo9.js +1 -0
- package/dist/_chunks/types-BbAsZw_6.js +1 -0
- package/dist/_chunks/typography-Cx74j4k8.js +1 -0
- package/dist/_chunks/typography.util-Cfj-ZgvS.js +1 -0
- package/dist/_chunks/useKeyCombo-V6XcyiXh.js +1 -0
- package/dist/_chunks/usePrevious-BaNqxBnu.js +1 -0
- package/dist/esm/BrandCore/Icon.js +1 -0
- package/dist/esm/BrandCore.js +1 -0
- package/dist/esm/Marketing/PlanFeatureTable.js +1 -0
- package/dist/esm/Marketing/PlanTierCard.js +1 -0
- package/dist/esm/Marketing/TickGroup.js +1 -0
- package/dist/esm/Marketing.js +1 -0
- package/dist/esm/Platform/AIInsight.js +1 -0
- package/dist/esm/Platform/AISummary.js +1 -0
- package/dist/esm/Platform/AIWrittenByLockUp.js +1 -0
- package/dist/esm/Platform/AiContentContainer.js +1 -0
- package/dist/esm/Platform/AssetItem.js +1 -0
- package/dist/esm/Platform/AuthContainerSurface.js +1 -0
- package/dist/esm/Platform/ClipboardCopyingOverlay.js +1 -0
- package/dist/esm/Platform/CommentCard.js +1 -0
- package/dist/esm/Platform/DataPointInfo.js +1 -0
- package/dist/esm/Platform/DemographicSelectionSection.js +1 -0
- package/dist/esm/Platform/EmojiListItem.js +1 -0
- package/dist/esm/Platform/EmojiQuestionEditorOption.js +1 -0
- package/dist/esm/Platform/EmptyStateCard.js +1 -0
- package/dist/esm/Platform/ExtendedTestStatus.js +1 -0
- package/dist/esm/Platform/FilterCount.js +1 -0
- package/dist/esm/Platform/FilterGroupAccordion.js +1 -0
- package/dist/esm/Platform/FilterPyramidGraph.js +1 -0
- package/dist/esm/Platform/FilterRow.js +1 -0
- package/dist/esm/Platform/FilteredItemsCard.js +1 -0
- package/dist/esm/Platform/ForgotYourPassword.js +1 -0
- package/dist/esm/Platform/GraphBar.js +1 -0
- package/dist/esm/Platform/Header.js +1 -0
- package/dist/esm/Platform/KpiDataPopover.js +1 -0
- package/dist/esm/Platform/KpiIndicator.js +1 -0
- package/dist/esm/Platform/LinkExpired.js +1 -0
- package/dist/esm/Platform/LoginForm.js +1 -0
- package/dist/esm/Platform/LoopItem.js +1 -0
- package/dist/esm/Platform/LoopItemEmpty.js +1 -0
- package/dist/esm/Platform/MFACodeVerify.js +1 -0
- package/dist/esm/Platform/Navigation.js +1 -0
- package/dist/esm/Platform/OnboardingCard.js +1 -0
- package/dist/esm/Platform/PaginationControl.js +1 -0
- package/dist/esm/Platform/ProjectItem.js +1 -0
- package/dist/esm/Platform/QuestionBlock.js +1 -0
- package/dist/esm/Platform/QuestionLabel.js +1 -0
- package/dist/esm/Platform/QuestionSelector.js +1 -0
- package/dist/esm/Platform/ResetPassword.js +1 -0
- package/dist/esm/Platform/SearchInput.js +1 -0
- package/dist/esm/Platform/SectionHeader.js +1 -0
- package/dist/esm/Platform/SentimentArrow.js +1 -0
- package/dist/esm/Platform/SignUpForm.js +1 -0
- package/dist/esm/Platform/SliderGraph.js +1 -0
- package/dist/esm/Platform/Tab.js +1 -0
- package/dist/esm/Platform/TestItem.js +1 -0
- package/dist/esm/Platform/TestKPICard.js +1 -0
- package/dist/esm/Platform/TestStatus.js +1 -0
- package/dist/esm/Platform/VideoControls.js +1 -0
- package/dist/esm/Platform.js +1 -0
- package/dist/esm/WebCore/Accordion.js +1 -0
- package/dist/esm/WebCore/AnnualController.js +1 -0
- package/dist/esm/WebCore/AuthFormHeader.js +1 -0
- package/dist/esm/WebCore/Avatar.js +1 -0
- package/dist/esm/WebCore/AvatarGroup.js +1 -0
- package/dist/esm/WebCore/Badge.js +1 -0
- package/dist/esm/WebCore/BrandBadge.js +1 -0
- package/dist/esm/WebCore/Breadcrumb.js +1 -0
- package/dist/esm/WebCore/BulletGraphic.js +1 -0
- package/dist/esm/WebCore/Button.js +1 -0
- package/dist/esm/WebCore/ButtonBase.js +1 -0
- package/dist/esm/WebCore/Checkbox.js +1 -0
- package/dist/esm/WebCore/CheckboxGroup.js +1 -0
- package/dist/esm/WebCore/ColorBackgroundContainer.js +1 -0
- package/dist/esm/WebCore/CreatableAutocomplete.js +1 -0
- package/dist/esm/WebCore/CustomField.js +1 -0
- package/dist/esm/WebCore/Differential.js +1 -0
- package/dist/esm/WebCore/DropdownMenu.js +1 -0
- package/dist/esm/WebCore/EmojiWrapper.js +1 -0
- package/dist/esm/WebCore/ExpandableTypographyClamp.js +1 -0
- package/dist/esm/WebCore/Flag.js +1 -0
- package/dist/esm/WebCore/FormControlLabel.js +1 -0
- package/dist/esm/WebCore/FormGenerator.js +1 -0
- package/dist/esm/WebCore/GridOverlay.js +1 -0
- package/dist/esm/WebCore/Html.js +1 -0
- package/dist/esm/WebCore/HtmlParser.js +1 -0
- package/dist/esm/WebCore/IconButton.js +1 -0
- package/dist/esm/WebCore/IconButtonBase.js +1 -0
- package/dist/esm/WebCore/IconButtonGroup.js +1 -0
- package/dist/esm/WebCore/Image.js +1 -0
- package/dist/esm/WebCore/InputFieldBase.js +1 -0
- package/dist/esm/WebCore/InputLabel.js +1 -0
- package/dist/esm/WebCore/InputLabelBase.js +1 -0
- package/dist/esm/WebCore/InputLabelHelp.js +1 -0
- package/dist/esm/WebCore/Label.js +1 -0
- package/dist/esm/WebCore/Likert.js +1 -0
- package/dist/esm/WebCore/Link.js +1 -0
- package/dist/esm/WebCore/Loader.js +1 -0
- package/dist/esm/WebCore/Logo.js +1 -0
- package/dist/esm/WebCore/LoopsAiButton.js +1 -0
- package/dist/esm/WebCore/Markdown.js +1 -0
- package/dist/esm/WebCore/Menu.js +1 -0
- package/dist/esm/WebCore/ModalLayout.js +1 -0
- package/dist/esm/WebCore/NavigationButton.js +1 -0
- package/dist/esm/WebCore/Nudge.js +1 -0
- package/dist/esm/WebCore/NumberField.js +1 -0
- package/dist/esm/WebCore/Pill.js +1 -0
- package/dist/esm/WebCore/Popper.js +1 -0
- package/dist/esm/WebCore/PoweredByWatermarkLogo.js +1 -0
- package/dist/esm/WebCore/Progress.js +1 -0
- package/dist/esm/WebCore/ProgressBar.js +1 -0
- package/dist/esm/WebCore/Radio.js +1 -0
- package/dist/esm/WebCore/RadioGroup.js +1 -0
- package/dist/esm/WebCore/Rank.js +1 -0
- package/dist/esm/WebCore/RankItem.js +1 -0
- package/dist/esm/WebCore/RichTextField.js +1 -0
- package/dist/esm/WebCore/Select.js +1 -0
- package/dist/esm/WebCore/Skeleton.js +1 -0
- package/dist/esm/WebCore/Slider.js +1 -0
- package/dist/esm/WebCore/SortableList.js +1 -0
- package/dist/esm/WebCore/StarRating.js +1 -0
- package/dist/esm/WebCore/Surface.js +1 -0
- package/dist/esm/WebCore/Switch.js +1 -0
- package/dist/esm/WebCore/TextBarDivider.js +1 -0
- package/dist/esm/WebCore/TextField.js +1 -0
- package/dist/esm/WebCore/Textarea.js +1 -0
- package/dist/esm/WebCore/Toast.js +1 -0
- package/dist/esm/WebCore/Tooltip.js +1 -0
- package/dist/esm/WebCore/TrialCard.js +1 -0
- package/dist/esm/WebCore/Typography.js +1 -0
- package/dist/esm/WebCore/UserMenu.js +1 -0
- package/dist/esm/WebCore/VideoModal.js +1 -0
- package/dist/esm/WebCore.js +1 -0
- package/dist/esm/_chunks/AIInsight-CdZpu9xc.js +1 -0
- package/dist/esm/_chunks/AISummary-Bw3fLxuV.js +1 -0
- package/dist/esm/_chunks/Accordion-CRXhotAZ.js +1 -0
- package/dist/esm/_chunks/AiContentContainer-BAHf3BLf.js +1 -0
- package/dist/esm/_chunks/AiWrittenByLockUp-DByAKgtl.js +1 -0
- package/dist/esm/_chunks/AnnualController-D-NOKxFc.js +1 -0
- package/dist/esm/_chunks/AssetItem-bcn7BppU.js +1 -0
- package/dist/esm/_chunks/AuthContainerSurface-DPxLLWkQ.js +1 -0
- package/dist/esm/_chunks/AuthFormHeader-jtyFg5h8.js +1 -0
- package/dist/esm/_chunks/Avatar-Bo-8ruP7.js +1 -0
- package/dist/esm/_chunks/AvatarGroup-y1N0csba.js +1 -0
- package/dist/esm/_chunks/Badge-CfmMRsFh.js +1 -0
- package/dist/esm/_chunks/BrandBadge-D75ZMQdk.js +1 -0
- package/dist/esm/_chunks/Breadcrumb-aj3bGMdq.js +1 -0
- package/dist/esm/_chunks/BulletGraphic-yjnbtHWl.js +1 -0
- package/dist/esm/_chunks/Button-BNdZamaX.js +1 -0
- package/dist/esm/_chunks/ButtonBase-CuA_NR-d.js +1 -0
- package/dist/esm/_chunks/Checkbox-cObHPj7c.js +1 -0
- package/dist/esm/_chunks/CheckboxGroup-D2TMELut.js +1 -0
- package/dist/esm/_chunks/ClipboardCopyingOverlay-BE6yr0Cq.js +1 -0
- package/dist/esm/_chunks/ColorBackgroundContainer-DtJhkk70.js +1 -0
- package/dist/esm/_chunks/CommentCard-CBxiUo-u.js +1 -0
- package/dist/esm/_chunks/CreatableAutocomplete-BnELdP7s.js +1 -0
- package/dist/esm/_chunks/CustomField-Bs74yToA.js +1 -0
- package/dist/esm/_chunks/DataPointInfo-tCJS4NLO.js +1 -0
- package/dist/esm/_chunks/DemographicSelectionSection-DwC7gxsM.js +1 -0
- package/dist/esm/_chunks/Differential-YAHU2TWO.js +1 -0
- package/dist/esm/_chunks/DropdownMenu.hook-qibti15s.js +1 -0
- package/dist/esm/_chunks/EmojiListItem-S9jFa2dE.js +1 -0
- package/dist/esm/_chunks/EmojiQuestionEditorOption-Byp7C2cJ.js +1 -0
- package/dist/esm/_chunks/EmojiWrapper-Cdc9h8ei.js +1 -0
- package/dist/esm/_chunks/EmptyStateCard-_13nrATj.js +1 -0
- package/dist/esm/_chunks/ExpandableTypographyClamp-CU3DXBQe.js +1 -0
- package/dist/esm/_chunks/ExtendedTestStatus-Y80ueyx4.js +1 -0
- package/dist/esm/_chunks/FilterCount-DGAb1W-p.js +1 -0
- package/dist/esm/_chunks/FilterGroupAccordion-Csbsu5JJ.js +1 -0
- package/dist/esm/_chunks/FilterPyramidGraph-DRi_0gRl.js +1 -0
- package/dist/esm/_chunks/FilterRow-1pNP76pv.js +1 -0
- package/dist/esm/_chunks/FilteredItemsCard-CA3ToRn0.js +1 -0
- package/dist/esm/_chunks/Flag-CWXmEQYi.js +1 -0
- package/dist/esm/_chunks/FormControlLabel-DaKh0PRP.js +1 -0
- package/dist/esm/_chunks/FormGenerator-BuqPWlEK.js +1 -0
- package/dist/esm/_chunks/GraphBar-Bsem4zlw.js +1 -0
- package/dist/esm/_chunks/GridOverlay-CdQRudMg.js +1 -0
- package/dist/esm/_chunks/Header-XUxZ0FbE.js +1 -0
- package/dist/esm/_chunks/HtmlParser-CLgGcYsh.js +1 -0
- package/dist/esm/_chunks/Icon-DdfUGHvY.js +1 -0
- package/dist/esm/_chunks/IconButton-CGVRkJGb.js +1 -0
- package/dist/esm/_chunks/IconButton.variant-helpers-BC_qJAjl.js +1 -0
- package/dist/esm/_chunks/IconButtonBase-CrANMxNL.js +1 -0
- package/dist/esm/_chunks/IconButtonGroup-DsXucaM6.js +1 -0
- package/dist/esm/_chunks/Image-a1AMagLY.js +1 -0
- package/dist/esm/_chunks/InputFieldBase-C9gpvRFB.js +1 -0
- package/dist/esm/_chunks/InputLabel-iohnvqw-.js +1 -0
- package/dist/esm/_chunks/InputLabelBase-dxNQ-IPB.js +1 -0
- package/dist/esm/_chunks/InputLabelHelp-B2C7t7JI.js +1 -0
- package/dist/esm/_chunks/KpiDataPopover-BgYk7iHK.js +1 -0
- package/dist/esm/_chunks/KpiIndicator-S3u4awU6.js +1 -0
- package/dist/esm/_chunks/Label-BSTTUXVH.js +1 -0
- package/dist/esm/_chunks/Likert-DXaxel8v.js +1 -0
- package/dist/esm/_chunks/Link-BSas3Jgv.js +1 -0
- package/dist/esm/_chunks/Loader-DHW2_TeR.js +1 -0
- package/dist/esm/_chunks/Logo-Q5HQlEFz.js +1 -0
- package/dist/esm/_chunks/LoopItem-BxGitdSU.js +1 -0
- package/dist/esm/_chunks/LoopItemEmpty-CqVl2pw4.js +1 -0
- package/dist/esm/_chunks/LoopsAiButton-t_gOZ-If.js +1 -0
- package/dist/esm/_chunks/Markdown-Bx6Opys_.js +1 -0
- package/dist/esm/_chunks/Menu-Cy0yQNts.js +1 -0
- package/dist/esm/_chunks/MenuItem-BxWmGm9Y.js +1 -0
- package/dist/esm/_chunks/ModalContentWrapper-LR-5lBgA.js +1 -0
- package/dist/esm/_chunks/ModalLayout-D0IxE5sF.js +1 -0
- package/dist/esm/_chunks/Navigation-5ZATZgZ5.js +1 -0
- package/dist/esm/_chunks/NavigationButton-WNHzkqcm.js +1 -0
- package/dist/esm/_chunks/Nudge-AjSOj4CR.js +1 -0
- package/dist/esm/_chunks/NudgeButton-CJxgaHdu.js +1 -0
- package/dist/esm/_chunks/NumberField-Dd9Sx7z5.js +1 -0
- package/dist/esm/_chunks/OnboardingCard-h1Nmrxlb.js +14 -0
- package/dist/esm/_chunks/PaginationControl-Z2edd1kL.js +1 -0
- package/dist/esm/_chunks/Pill-BdNgOtWw.js +1 -0
- package/dist/esm/_chunks/PlanFeatureTable-CTh1cPmD.js +1 -0
- package/dist/esm/_chunks/PlanTierCard-GptR-kDf.js +1 -0
- package/dist/esm/_chunks/Popper-D2T5Mnde.js +1 -0
- package/dist/esm/_chunks/PoweredByWatermarkLogo-Ck8L-9E1.js +1 -0
- package/dist/esm/_chunks/Progress-D20qsea6.js +1 -0
- package/dist/esm/_chunks/ProgressBar-BtxJs-2o.js +1 -0
- package/dist/esm/_chunks/ProjectItemEmpty-CuZLeCr9.js +1 -0
- package/dist/esm/_chunks/QuestionBlock-DRbTNyT9.js +1 -0
- package/dist/esm/_chunks/QuestionLabel-Ct1KC3fw.js +1 -0
- package/dist/esm/_chunks/QuestionSelector-DNnafLAd.js +1 -0
- package/dist/esm/_chunks/QuestionStatsCard-PMUkAlaf.js +1 -0
- package/dist/esm/_chunks/Radio-CtiQBU-O.js +1 -0
- package/dist/esm/_chunks/RadioGroup-CaJ1X9RC.js +1 -0
- package/dist/esm/_chunks/Rank-Bf7CfD5f.js +1 -0
- package/dist/esm/_chunks/RankItem-S8SXyLl7.js +1 -0
- package/dist/esm/_chunks/RichTextField-twbvMvGl.js +1 -0
- package/dist/esm/_chunks/SearchInput-BQv6yCFi.js +1 -0
- package/dist/esm/_chunks/SectionHeader-BJgF7RnE.js +1 -0
- package/dist/esm/_chunks/Select-nS5tE4LD.js +1 -0
- package/dist/esm/_chunks/SentimentArrow-BU8iIsqw.js +1 -0
- package/dist/esm/_chunks/Skeleton-CiGPl8Re.js +1 -0
- package/dist/esm/_chunks/Slider-1ff-7pd2.js +1 -0
- package/dist/esm/_chunks/SliderGraph-CswbyOvy.js +1 -0
- package/dist/esm/_chunks/SliderGraphYAxis-Drw1LKgE.js +1 -0
- package/dist/esm/_chunks/SortableList-CFCRiOim.js +1 -0
- package/dist/esm/_chunks/StarRating-C2f4i-5e.js +1 -0
- package/dist/esm/_chunks/StyledBox-CN4ZdwS6.js +1 -0
- package/dist/esm/_chunks/StyledCheckbox-DblGur3U.js +1 -0
- package/dist/esm/_chunks/StyledLinearProgress-BM98I3DB.js +1 -0
- package/dist/esm/_chunks/StyledLisItemButton-DNKQ7vhb.js +1 -0
- package/dist/esm/_chunks/StyledMenu-riM_crCE.js +1 -0
- package/dist/esm/_chunks/StyledPill-D_CRLrK1.js +1 -0
- package/dist/esm/_chunks/StyledSurface-D7F0uP0J.js +1 -0
- package/dist/esm/_chunks/StyledSurface-WwvH9_m3.js +1 -0
- package/dist/esm/_chunks/StyledTimeline-Dl55I4Ns.js +1 -0
- package/dist/esm/_chunks/Surface-CDi-FO_W.js +1 -0
- package/dist/esm/_chunks/Switch-CG0vza4W.js +1 -0
- package/dist/esm/_chunks/Tab-BvphyUVe.js +1 -0
- package/dist/esm/_chunks/TestItem-CKHguMQN.js +1 -0
- package/dist/esm/_chunks/TestKPICard-CuE7aRuh.js +1 -0
- package/dist/esm/_chunks/TestStatus-DmWgHFDW.js +1 -0
- package/dist/esm/_chunks/TextBarDivider-DP3axWIe.js +1 -0
- package/dist/esm/_chunks/TextField-DPUw0RYs.js +1 -0
- package/dist/esm/_chunks/Textarea-DzzeTbHC.js +1 -0
- package/dist/esm/_chunks/TickGroup-CRlr-AkA.js +1 -0
- package/dist/esm/_chunks/Toast-BIpoLU8y.js +1 -0
- package/dist/esm/_chunks/Tooltip-qzZrikTr.js +1 -0
- package/dist/esm/_chunks/TrialCard-ol6GDmWD.js +1 -0
- package/dist/esm/_chunks/TrialPill-DFBTPhdH.js +1 -0
- package/dist/esm/_chunks/Typography-CkwZLamL.js +1 -0
- package/dist/esm/_chunks/UserMenu-BiCC3ozW.js +1 -0
- package/dist/esm/_chunks/UserMenuButton-WfeY2jLa.js +1 -0
- package/dist/esm/_chunks/VideoControls-Qvxu5f7U.js +1 -0
- package/dist/esm/_chunks/VideoModal-BFxHt_D1.js +1 -0
- package/dist/esm/_chunks/autocomplete.styles-BQe7o5--.js +1 -0
- package/dist/esm/_chunks/breakpoint.hook-CtMCCTHh.js +1 -0
- package/dist/esm/_chunks/compareArrayMembers-yi_GVni_.js +1 -0
- package/dist/esm/_chunks/email-CQqswWyN.js +1 -0
- package/dist/esm/_chunks/isButton-vZIWh5Sh.js +1 -0
- package/dist/esm/_chunks/jsx-runtime-D07GHMW_.js +10 -0
- package/dist/esm/_chunks/misc-DEfpkrzV.js +1 -0
- package/dist/esm/_chunks/password-Be0W3bUA.js +1 -0
- package/dist/esm/_chunks/pluralise-55UGwOAX.js +1 -0
- package/dist/esm/_chunks/primitiveVariables-C2nCN8Fk.js +1 -0
- package/dist/esm/_chunks/proxy--kk3mKPc.js +1 -0
- package/dist/esm/_chunks/screen.hook-BNmuYIBj.js +1 -0
- package/dist/esm/_chunks/semanticColor-D7tAxZiD.js +1 -0
- package/dist/esm/_chunks/styledPartials-C0KgrTXB.js +1 -0
- package/dist/esm/_chunks/styledPartials-CYbUPf4g.js +1 -0
- package/dist/esm/_chunks/styledPartials-DpBiDU_9.js +1 -0
- package/dist/esm/_chunks/styles-Cdgktk69.js +1 -0
- package/dist/esm/_chunks/theme.provider-CFj9ua0y.js +1 -0
- package/dist/esm/_chunks/types-DNd754Km.js +1 -0
- package/dist/esm/_chunks/typography-BTnFjSJk.js +1 -0
- package/dist/esm/_chunks/typography.util-ZFUiA8Aq.js +1 -0
- package/dist/esm/_chunks/useKeyCombo-B5LweXkY.js +1 -0
- package/dist/esm/_chunks/usePrevious-6kkeMAdv.js +1 -0
- package/dist/esm/index.js +1 -23
- package/dist/esm/theme.js +1 -0
- package/dist/esm/utils.js +1 -0
- package/dist/index-CE_2flEF.d.ts +18 -0
- package/dist/index-Ctn-1GfZ.d.ts +40 -0
- package/dist/index-CyNNYJKA.d.ts +400 -0
- package/dist/index-DmcTdmT8.d.ts +10 -0
- package/dist/index-O39ecFHD.d.ts +54 -0
- package/dist/index-epVeXM4c.d.ts +41 -0
- package/dist/index.d.ts +152 -2558
- package/dist/index.js +1 -23
- package/dist/primitiveVariables-BbfFaPHq.d.ts +75 -0
- package/dist/theme.d.ts +38 -0
- package/dist/theme.js +1 -0
- package/dist/types-BcpWYszB.d.ts +7 -0
- package/dist/types-DV2de5BB.d.ts +23 -0
- package/dist/utils-DUtcWWFu.d.ts +29 -0
- package/dist/utils.d.ts +28 -0
- package/dist/utils.js +1 -0
- package/package.json +73 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-D07GHMW_.js";import{Stack as t,Box as s}from"@mui/material";import o from"@number-flow/react";import{mergeSx as a}from"merge-sx";import{useState as r}from"react";import{TruncatedList as n}from"react-truncate-list";import{I as i}from"./Icon-DdfUGHvY.js";import{I as l}from"./IconButton-CGVRkJGb.js";import"./primitiveVariables-C2nCN8Fk.js";import{L as m}from"./Label-BSTTUXVH.js";import{M as p}from"./Menu-Cy0yQNts.js";import{P as c}from"./ProgressBar-BtxJs-2o.js";import{S as d}from"./Skeleton-CiGPl8Re.js";import{S as x}from"./Surface-CDi-FO_W.js";import{T as g}from"./Typography-CkwZLamL.js";import{T as u}from"./TestStatus-DmWgHFDW.js";import"./styles-Cdgktk69.js";const h=({animated:o=!0,status:h,menuItems:f,title:b,tags:w,stats:v,user:T,slotProps:k,loading:S=!1,...I})=>{const[C,N]=r(!1);return e.jsx(x,{variation:"raised",borderradius:"lg",...I,sx:a({padding:e=>e.spacing(e.custom.padding.md),border:e=>`1px solid ${e.custom.palette.stroke.light}`,width:"100%",cursor:"pointer","&:hover .TestItem__Menu":{opacity:1}},I.sx),children:e.jsxs(t,{component:"article",gap:2,children:[e.jsxs(t,{component:"header",gap:1,justifyContent:"space-between",children:[e.jsxs(t,{direction:"row",justifyContent:"space-between",alignItems:"center",gap:1,children:[S?e.jsx(d,{sx:{width:90,height:32}}):e.jsx(u,{status:h,...k?.status}),!S&&Boolean(f?.length)&&e.jsx(p,{trigger:e.jsx(l,{icon:e.jsx(i,{name:"more-horizontal",size:16}),variation:"outlined",className:"TestItem__Menu",sx:{width:28,aspectRatio:1,borderRadius:"100% !important",transition:"opacity 0.3s ease",opacity:0,"&:focus":{background:e=>`${e.custom.palette.interaction.press} !important`,opacity:1}}}),bindOn:["toggle"],menuItems:f,width:128,offset:[0,8],placement:"bottom-end",...k?.menu})]}),S?e.jsx(d,{}):e.jsx(g,{component:"h1",weight:"bold",...k?.title,sx:a({fontSize:e=>e.custom.typography.body.xl},k?.title?.sx),children:b})]}),e.jsx(s,{children:S?e.jsx(s,{display:"flex",flexDirection:"row",gap:.5,children:[...new Array(3).fill(void 0)].map(((t,s)=>e.jsx(d,{sx:{maxWidth:50}},`test-item-skeleton-${s}`)))}):Boolean(w?.length)&&e.jsx(n,{style:{display:"flex",flexWrap:"wrap",maxHeight:30,gap:"4px",...C&&{maxHeight:"none"}},alwaysShowTruncator:C,renderTruncator:({hiddenItemsCount:t})=>t>0?e.jsx(m,{body:`+${t}`,weight:"light",onClick:e=>{e.stopPropagation(),N(!0)},...k?.tagsExpand,sx:a({background:e=>e.custom.palette.neutral[50]},k?.tagsExpand?.sx)}):e.jsx(l,{sizing:"sm",icon:e.jsx(i,{name:"chevron-up",size:16}),onClick:e=>{e.stopPropagation(),N(!1)},...k?.tagsCollapse,sx:a({color:e=>e.custom.palette.icon.primary},k?.tagsCollapse?.sx)}),children:w.map((t=>e.jsx(m,{body:t,weight:"light",...k?.pill,sx:a({background:e=>e.custom.palette.neutral[50]},k?.pill?.sx)},t)))})}),!S&&v?.progress&&e.jsx(x,{variation:"sunken",borderradius:"md",sx:{border:e=>`1px solid ${e.custom.palette.neutral[100]}`,padding:e=>e.spacing(e.custom.padding.md)},children:e.jsxs(t,{gap:2,children:[e.jsx(c,{variation:"determinate",value:v.progress.percentage}),e.jsxs(s,{gap:{sm:.5,md:1},justifyContent:"stretch",sx:e=>({display:"grid",[e.breakpoints.up("lg")]:{gridTemplateColumns:"repeat(3, 1fr)"},[e.breakpoints.down("lg")]:{gridTemplateColumns:"auto"},[e.containerQueries.up("lg")]:{gridTemplateColumns:"repeat(3, 1fr)"},[e.containerQueries.down("lg")]:{gridTemplateColumns:"auto"}}),children:[e.jsx(s,{flexBasis:0,flexGrow:1,children:e.jsx(j,{animated:o,label:"Completed",primaryText:v.progress.completed.toString(),secondaryText:`of ${v.progress.total}`})}),e.jsx(s,{flexBasis:0,flexGrow:1,children:e.jsx(j,{animated:o,label:"Incomplete",primaryText:v.progress.incomplete.toString(),secondaryText:`${v.progress.incompletePercentage}%`})}),e.jsx(s,{flexBasis:0,flexGrow:1,children:e.jsx(j,{animated:o,label:"Duration",primaryText:v.progress.averageDuration,secondaryText:"average"})})]})]})}),e.jsxs(s,{component:"footer",display:"flex",flexDirection:"row",justifyContent:T?"space-between":"end",gap:1,children:[T&&e.jsx(s,{display:"flex",alignItems:"center",gap:1,children:S?e.jsxs(e.Fragment,{children:[e.jsx(d,{sx:{borderRadius:"50%",width:24,aspectRatio:1,flexShrink:0}}),e.jsx(d,{sx:{width:100}})]}):e.jsx(e.Fragment,{children:e.jsx(g,{component:"p",clamp:1,sx:{fontSize:e=>e.custom.typography.body.xs,color:e=>e.custom.palette.text.secondary},children:T.activityDescription})})}),!S&&"draft"!==h&&e.jsxs(s,{display:"flex",alignItems:"center",gap:2,flexShrink:0,children:[e.jsx(y,{animated:o,iconName:"data-bar",label:"answers",value:v?.count?.answers??0}),e.jsx(y,{animated:o,iconName:"comment-filled",label:"comments",value:v?.count?.comments??0,slotProps:{icon:{size:20}}})]})]})]})})},j=({animated:s,label:a,primaryText:r,secondaryText:n})=>{const i=r.match(/\d{1,2}:\d{2}/),l=r.split(":"),m=!isNaN(Number(r)),p=n.includes("%")&&!isNaN(Number(n.replace("%","")));return e.jsxs(t,{sx:{background:e=>e.custom.palette.surface.default,minWidth:"92px",border:e=>`1px solid ${e.custom.palette.neutral[100]}`,borderRadius:1,padding:e=>`${e.spacing(e.custom.padding.sm)} ${e.spacing(e.custom.padding.md)}`,color:e=>e.custom.palette.text.primary,flexShrink:0,height:"100%"},direction:{sm:"row",md:"row",lg:"column"},alignItems:"center",gap:{sm:1,md:1,lg:0},children:[e.jsx(g,{component:"p",sx:{width:"100%",textAlign:{md:"left",lg:"center"},fontSize:e=>e.custom.typography.body.sm},children:a}),e.jsx(g,{component:"h3",sx:{fontSize:e=>({sm:e.custom.typography.body.sm,md:e.custom.typography.body.md,lg:e.custom.typography.body.xxl}),fontWeight:500,flexShrink:0},monospaced:!0,children:e.jsx(e.Fragment,{children:i||m?e.jsx(e.Fragment,{children:i?e.jsxs(e.Fragment,{children:[e.jsx(o,{value:Number(l[0]),format:{minimumIntegerDigits:2,useGrouping:!1},animated:s}),":",e.jsx(o,{value:Number(l[1]),format:{minimumIntegerDigits:2,useGrouping:!1},animated:s})]}):e.jsx(o,{value:Number(r),animated:s})}):e.jsx(e.Fragment,{children:r})})}),e.jsx(g,{component:"p",sx:{color:e=>e.custom.palette.text.secondary,fontSize:e=>e.custom.typography.body.sm,flexShrink:0},monospaced:!0,children:p?e.jsxs(e.Fragment,{children:[e.jsx(o,{value:n.replace("%",""),animated:s}),"%"]}):n})]})},y=({animated:t,iconName:r,label:n,value:l,slotProps:m})=>e.jsxs(s,{display:"flex",alignItems:"center",gap:.5,children:[e.jsx(i,{name:r,...m?.icon,sx:a({color:e=>e.custom.palette.icon.secondary},m?.icon?.sx)}),e.jsxs(g,{monospaced:!0,component:"p",sx:e=>({fontSize:e=>e.custom.typography.body.xs,color:e=>e.custom.palette.text.primary,"& > span":{color:e=>e.custom.palette.text.secondary,[e.breakpoints.up("lg")]:{display:"inline"},[e.breakpoints.down("lg")]:{display:"none"},[e.containerQueries.up("lg")]:{display:"inline"},[e.containerQueries.down("lg")]:{display:"none"}}}),children:[e.jsx(o,{value:l,animated:t})," ",e.jsx("span",{children:n})]})]});export{h as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./jsx-runtime-D07GHMW_.js";import{useTheme as o,Stack as i,Box as r}from"@mui/material";import{mergeSx as e}from"merge-sx";import{forwardRef as s}from"react";import{S as m,b as p}from"./Surface-CDi-FO_W.js";import{I as a}from"./Icon-DdfUGHvY.js";import"./misc-DEfpkrzV.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-D-NOKxFc.js";import"./Accordion-CRXhotAZ.js";import{T as n}from"./Typography-CkwZLamL.js";import"./Badge-CfmMRsFh.js";import"./Breadcrumb-aj3bGMdq.js";import"./Button-BNdZamaX.js";import"./ButtonBase-CuA_NR-d.js";import"./StyledCheckbox-DblGur3U.js";import"./InputFieldBase-C9gpvRFB.js";import"./CreatableAutocomplete-BnELdP7s.js";import"@mui/icons-material";import"./InputLabelBase-dxNQ-IPB.js";import"./Differential-YAHU2TWO.js";import"./StyledMenu-riM_crCE.js";import{E as l}from"./ExpandableTypographyClamp-CU3DXBQe.js";import"./FormGenerator-BuqPWlEK.js";import"./GridOverlay-CdQRudMg.js";import"html-react-parser";import{I as d}from"./IconButton-CGVRkJGb.js";import"./IconButtonBase-CrANMxNL.js";import"./IconButtonGroup-DsXucaM6.js";import"./Image-a1AMagLY.js";import"./Label-BSTTUXVH.js";import"./Likert-DXaxel8v.js";import"./Link-BSas3Jgv.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-t_gOZ-If.js";import"markdown-to-jsx";import{M as c}from"./Menu-Cy0yQNts.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-WNHzkqcm.js";import"./NudgeButton-CJxgaHdu.js";import"./NumberField-Dd9Sx7z5.js";import"./semanticColor-D7tAxZiD.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import"./StyledPill-D_CRLrK1.js";import"./Progress-D20qsea6.js";import"./ProgressBar-BtxJs-2o.js";import"./Radio-CtiQBU-O.js";import"./autocomplete.styles-BQe7o5--.js";import"./Select-nS5tE4LD.js";import"./RankItem-S8SXyLl7.js";import"./SortableList-CFCRiOim.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-twbvMvGl.js";import{S as j}from"./Skeleton-CiGPl8Re.js";import"./Slider-1ff-7pd2.js";import"./StarRating-C2f4i-5e.js";import"./Switch-CG0vza4W.js";import"./Textarea-DzzeTbHC.js";import"./TrialPill-DFBTPhdH.js";import"./UserMenuButton-WfeY2jLa.js";import"./VideoModal-BFxHt_D1.js";import{K as u}from"./KpiIndicator-S3u4awU6.js";const x=s((({colorScheme:s="purple",variation:x,title:h,description:g,loading:f,onShowMoreClick:b,menuItems:y,active:B,...I},S)=>{const k=o(),w="raised";return t.jsxs(m,{ref:S,active:B,borderradius:"lg",variation:w,...I,sx:e({display:"flex",flexDirection:"column",gap:k.custom.margin.sm,border:`1px solid ${k.custom.palette.stroke.light}`,padding:k.custom.padding.md,"&:hover":{cursor:"pointer",".TestKPICard__Menu":{opacity:1}},..."dimmed"===x&&{border:`1px solid ${k.custom.palette.stroke.light}`}},I.sx),children:[t.jsxs(i,{direction:"row",gap:1,children:[t.jsxs(i,{direction:"row",gap:1,width:"100%",sx:{minHeight:"22px"},children:[t.jsx(t.Fragment,{children:f?t.jsx(j,{sx:{width:17,height:16}}):t.jsx(r,{sx:{height:"22px",display:"flex",placeItems:"center"},children:t.jsx(u,{colorScheme:s,disabled:x&&"dimmed"===x})})}),f?t.jsx(j,{sx:{marginTop:"-1px"}}):t.jsx(n,{component:"p",variation:"md",weight:"bold",sx:{color:"dimmed"===x?k.custom.palette.text.disabled:k.custom.palette.text.primary},children:h})]}),!f&&Boolean(y?.length)&&t.jsx(c,{trigger:t.jsx(d,{icon:t.jsx(a,{name:"more-horizontal",size:16}),variation:"outlined",className:"TestKPICard__Menu",sx:{width:28,aspectRatio:1,borderRadius:"100% !important",transition:"opacity 0.3s ease",opacity:0,"&:focus":{background:`${k.custom.palette.interaction.press} !important`,opacity:1}}}),menuItems:y,width:128,offset:[0,-8],placement:"bottom-end"})]}),f?t.jsx(r,{display:"flex",flexDirection:"column",gap:.5,children:[...new Array(3).fill(void 0)].map(((o,i)=>t.jsx(j,{height:19},`TestKPICard__Skeleton--description-${i}`)))}):t.jsx(l,{clamp:3,component:"p",variation:"sm",sx:{color:"dimmed"===x?k.custom.palette.text.disabled:k.custom.palette.text.secondary},onShowMoreClick:b,slotProps:{showMoreButton:{disabled:"dimmed"===x},gradientBox:{background:B?k.custom.palette.blue[0]:p(w,k)}},children:g})]})}));export{x as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./jsx-runtime-D07GHMW_.js";import{forwardRef as r}from"react";import"./misc-DEfpkrzV.js";import{styled as e,Box as s,typographyClasses as o}from"@mui/material";import{I as i}from"./Icon-DdfUGHvY.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-D-NOKxFc.js";import"./Accordion-CRXhotAZ.js";import{T as a}from"./Typography-CkwZLamL.js";import"merge-sx";import"./Badge-CfmMRsFh.js";import"./Breadcrumb-aj3bGMdq.js";import"./Button-BNdZamaX.js";import{e as p,g as m}from"./ButtonBase-CuA_NR-d.js";import"./StyledCheckbox-DblGur3U.js";import"./InputFieldBase-C9gpvRFB.js";import"./CreatableAutocomplete-BnELdP7s.js";import"@mui/icons-material";import"./InputLabelBase-dxNQ-IPB.js";import"./Differential-YAHU2TWO.js";import"./StyledMenu-riM_crCE.js";import"./FormGenerator-BuqPWlEK.js";import"./GridOverlay-CdQRudMg.js";import"html-react-parser";import"./IconButton-CGVRkJGb.js";import"./IconButtonBase-CrANMxNL.js";import"./IconButtonGroup-DsXucaM6.js";import"./Image-a1AMagLY.js";import"./Label-BSTTUXVH.js";import"./Likert-DXaxel8v.js";import"./Link-BSas3Jgv.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-t_gOZ-If.js";import"markdown-to-jsx";import"./Surface-CDi-FO_W.js";import"./MenuItem-BxWmGm9Y.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-WNHzkqcm.js";import"./NudgeButton-CJxgaHdu.js";import"./NumberField-Dd9Sx7z5.js";import"./semanticColor-D7tAxZiD.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import"./StyledPill-D_CRLrK1.js";import"./Progress-D20qsea6.js";import"./ProgressBar-BtxJs-2o.js";import"./Radio-CtiQBU-O.js";import"./autocomplete.styles-BQe7o5--.js";import"./Select-nS5tE4LD.js";import"./RankItem-S8SXyLl7.js";import"./SortableList-CFCRiOim.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-twbvMvGl.js";import"./Skeleton-CiGPl8Re.js";import"./Slider-1ff-7pd2.js";import"./StarRating-C2f4i-5e.js";import"./Switch-CG0vza4W.js";import"./Textarea-DzzeTbHC.js";import"./TrialPill-DFBTPhdH.js";import"./UserMenuButton-WfeY2jLa.js";import"./VideoModal-BFxHt_D1.js";const n=(t,r)=>({..."draft"===r&&{background:t.custom.palette.interaction.none,border:`1px solid ${t.custom.palette.stroke.default}`,"& svg":{color:d(t,r)}},..."in-progress"===r&&{background:t.custom.palette.yellow[0],border:`1px solid ${t.custom.palette.yellow[100]}`,"& svg":{color:d(t,r)}},..."results-ready"===r&&{background:t.custom.palette.green[0],border:`1px solid ${t.custom.palette.green[100]}`,"& svg":{color:d(t,r)}}}),l=t=>{switch(t){case"draft":return"Draft";case"in-progress":return"In Progress";case"results-ready":return"Results Ready";default:return"Unknown Status"}},u=t=>{switch(t){case"draft":default:return"test-edit";case"in-progress":return"test-pending";case"results-ready":return"data-bar"}},c=(t,r,e)=>{switch(r){case"draft":return t.custom.palette.text.primary;case"in-progress":return t.custom.palette.yellow[e];case"results-ready":return t.custom.palette.green[e];default:return"red"}},d=(t,r,e=500)=>{switch(r){case"draft":return t.custom.palette.blue[e];case"in-progress":return t.custom.palette.yellow[e];case"results-ready":return t.custom.palette.green[e];default:return"red"}},j=e(s,{shouldForwardProp:t=>!["status","sizing"].includes(t)})((({theme:t,status:r,sizing:e="md"})=>({borderRadius:t.spacing(t.custom.radius.md),padding:`0 ${t.spacing(t.custom.padding.sm)}`,display:"flex",alignItems:"center",justifyContent:"start",...e&&{...p(e)},...r&&{...n(t,r)},...e&&{...m(e)},[`& .${o.root}`]:{padding:`0 ${t.spacing(t.custom.padding.xs)}`,color:c(t,r,1e3)}}))),g=r((({status:r,sizing:e,...s},o)=>t.jsxs(j,{ref:o,sizing:e,status:r,...s,children:[t.jsx(i,{name:u(r)}),t.jsx(a,{component:"p",variation:"sm",children:l(r)})]})));export{g as T,l as a,u as b,c,d,n as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./jsx-runtime-D07GHMW_.js";import{useTheme as e,Box as r}from"@mui/material";import{mergeSx as o}from"merge-sx";import{T as i}from"./Typography-CkwZLamL.js";const a=({typographyProps:a,text:s,sx:n})=>{const p=e();return t.jsx(r,{sx:o(n,{width:"100%",position:"relative",display:"flex",gap:4,my:p.spacing(p.custom.margin.md),"&:before":{content:'""',width:"100%",background:p.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:p.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:t.jsx(i,{align:"center",variation:"sm",component:"p",...a,children:s})})};export{a as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as n}from"./jsx-runtime-D07GHMW_.js";import{InputAdornment as t}from"@mui/material";import{s as e}from"./primitiveVariables-C2nCN8Fk.js";import{I as i}from"./InputFieldBase-C9gpvRFB.js";const r=({startAdornment:r,endAdornment:s,placeholder:o,onChange:a,internalChange:l,inputRef:p,...d})=>n.jsx(i,{placeholder:o,sx:{height:e[500],"& .MuiOutlinedInput-input":{pl:r?1:2,pr:r?1:2}},inputRef:p,InputProps:{startAdornment:r?n.jsx(t,{position:"start",disablePointerEvents:d.disabled,sx:{pl:1},children:r}):null,endAdornment:s?n.jsx(t,{position:"start",disablePointerEvents:d.disabled,sx:{pr:1},children:s}):null},...d,onChange:n=>{a&&a(n),l&&l()}});export{r as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./jsx-runtime-D07GHMW_.js";import{styled as n,InputAdornment as i}from"@mui/material";import{i as e}from"./Icon-DdfUGHvY.js";import{s as o}from"./primitiveVariables-C2nCN8Fk.js";import{I as r}from"./InputFieldBase-C9gpvRFB.js";const s=n(r)((({theme:t})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:o[500],alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:e.xl,marginTop:t.spacing(1),marginBottom:t.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),a=({startAdornment:n,endAdornment:e,onChange:o,internalChange:r,inputRef:a,...m})=>t.jsx(s,{multiline:!0,inputRef:a,InputProps:{startAdornment:n?t.jsx(i,{position:"start",children:n}):null,endAdornment:e?t.jsx(i,{position:"start",children:e}):null},...m,onChange:t=>{o&&o(t),r&&r()}});export{a as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as s}from"./jsx-runtime-D07GHMW_.js";import{Stack as e,Box as i}from"@mui/material";import{I as r}from"./Icon-DdfUGHvY.js";import{T as a}from"./Typography-CkwZLamL.js";const n=({heading:n,ticks:t})=>s.jsxs(e,{sx:{display:"flex",gap:{sm:2,lg:4}},children:[s.jsx(a,{variation:"xl",component:"p",sx:{textAlign:"center"},children:n}),s.jsx(i,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:t.map(((e,t)=>s.jsxs(i,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[s.jsx(r,{name:"badge-tick",size:32}),s.jsx(a,{variation:"xxl",component:"p",children:e})]},`tick-group-${n}-${t}`)))})]});export{n as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-D07GHMW_.js";import{useTheme as s,Stack as r,Box as t}from"@mui/material";import{I as a}from"./Icon-DdfUGHvY.js";import{T as o}from"./Typography-CkwZLamL.js";const l=({buttons:a,message:l,status:c="neutral",variation:i="sm"})=>{const u=s();return e.jsx(r,{sx:{backgroundColor:u.custom.palette.surface.overlay,borderRadius:u.spacing(u.custom.radius.lg),boxShadow:u.custom.elevation.overlay,color:u.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:e.jsxs(t,{sx:{display:"flex",flex:1,flexDirection:"sm"===i?"row":"column",gap:2},children:[e.jsxs(t,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==c&&e.jsx(n,{status:c}),e.jsx(t,{sx:{display:"flex"},children:e.jsx(o,{variation:"md",component:"p",sx:{px:1,pt:.5},children:l})})]}),a&&e.jsx(t,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:a})]})})},n=({status:r})=>{const t=s();switch(r){case"neutral":return null;case"success":return e.jsx(c,{backgroundColor:t.custom.palette.green[500],name:"check-circle"});case"warning":return e.jsx(c,{backgroundColor:t.custom.palette.yellow[500],name:"error"});case"danger":return e.jsx(c,{backgroundColor:t.custom.palette.red[500],name:"warning"});case"discover":return e.jsx(c,{backgroundColor:t.custom.palette.purple[500],name:"lightbulb"})}},c=({backgroundColor:r,name:o})=>{const l=s();return e.jsx(t,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:e.jsx(t,{sx:{backgroundColor:r,borderRadius:l.custom.radius.round,color:l.custom.palette.white,display:"flex",p:.5},children:e.jsx(a,{name:o,size:20})})})};export{l as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as r}from"./jsx-runtime-D07GHMW_.js";import{useTheme as o,Tooltip as e,Box as t}from"@mui/material";import{mergeSx as s}from"merge-sx";const i=({variation:i="primary",message:a,sx:p,slotProps:l={},children:m,...n})=>{const c=o(),{wrapper:x,...d}=l;return r.jsx(e,{enterDelay:650,enterNextDelay:650,arrow:!0,role:"tooltip",title:a,slotProps:{...d,popper:{...d.popper,sx:{"& .MuiTooltip-tooltip":{backgroundColor:c.custom.palette.surface.overlay,borderRadius:c.spacing(c.custom.radius.md),filter:`drop-shadow(${c.custom.elevation.raised})`}}}},sx:s({maxWidth:300},p),...n,children:r.jsx(t,{sx:s({cursor:"pointer",display:"flex",alignItems:"center",color:c.custom.palette.text.primary},x?.sx),children:m})})};export{i as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./jsx-runtime-D07GHMW_.js";import"@mui/material";import{I as o}from"./Icon-DdfUGHvY.js";import{T as i}from"./Typography-CkwZLamL.js";import{C as r,T as a}from"./TrialPill-DFBTPhdH.js";const e=({promoHeadline:e,promoDescription:s,ctaText:n,ctaFn:m})=>t.jsxs(r.TrialCard,{gradient:"tone1",texture:"noise1",children:[t.jsxs(r.Top,{sx:{alignItems:"start"},children:[t.jsx(a,{body:e,weight:"heavy",icon:t.jsx(o,{name:"gift"})}),t.jsx(i,{component:"p",variation:"lg",sx:{maxWidth:{lg:600,md:"initial"},color:t=>t.custom.palette.text.lockedWhite},children:s})]}),t.jsx(r.CtaButtonContainer,{children:t.jsx(r.CtaButton,{variation:"secondary",onClick:m,children:n})})]});export{e as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{styled as t,containerClasses as o,Stack as a,Box as i,chipClasses as e}from"@mui/material";import{B as n}from"./Button-BNdZamaX.js";import{C as r}from"./ColorBackgroundContainer-DtJhkk70.js";import"./semanticColor-D7tAxZiD.js";import{a as s}from"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import{f as p}from"./typography-BTnFjSJk.js";import"./jsx-runtime-D07GHMW_.js";import"./Icon-DdfUGHvY.js";import{L as m}from"./Label-BSTTUXVH.js";const d=t(r)((({theme:t})=>({[`&.${o.root} `]:{padding:t.spacing(t.custom.padding.xl),borderRadius:t.spacing(t.custom.radius.xl),flexDirection:"column",gap:t.spacing(t.custom.padding.xl),display:"flex",textAlign:"center",alignItems:"center",width:"100%",[t.breakpoints.up("lgNav")]:{flexDirection:"row",textAlign:"left"},[t.breakpoints.down("md")]:{padding:t.spacing(t.custom.padding.lg)}}}))),l=t(a)((({theme:t})=>({alignItems:"start",gap:t.spacing(t.custom.padding.md),flex:"1 0 0",[t.breakpoints.down("lgNav")]:{alignItems:"center"}}))),c=t(i)((({theme:t})=>({flex:"1 0 0",display:"flex",maxWidth:"256px",width:"100%",[t.breakpoints.down("lg")]:{maxWidth:"480px"}}))),g={TrialCard:d,Top:l,CtaButton:t(n)((({theme:t})=>({flex:1}))),CtaButtonContainer:c},u=t(m)((({theme:t})=>({backgroundColor:t.custom.palette.yellow[400],borderRadius:t.spacing(t.custom.radius.round),padding:`${t.spacing(t.custom.padding.xs)} ${t.spacing(t.custom.padding.md)}`,height:"unset",[`& .${e.label}`]:{textTransform:"none",fontFamily:p.FontStack.Serif,fontSize:t.custom.typography.headline.md,color:t.custom.palette.text.primary,padding:`0 ${t.spacing(t.custom.padding.md)}`},[`& .${e.icon}`]:{height:4*s,width:4*s,backgroundColor:t.custom.palette.yellow[400],color:t.custom.palette.text.primary,[t.breakpoints.down("lg")]:{height:3*s,width:3*s}}})));export{g as C,u as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./jsx-runtime-D07GHMW_.js";import{Typography as o}from"@mui/material";import{mergeSx as e}from"merge-sx";import{forwardRef as i}from"react";import{F as r}from"./types-DNd754Km.js";const a=t=>"bold"===t?r.BOLD:r.DEFAULT,m=i((({component:i,weight:r="default",variation:m,clamp:n=0,type:p="default",monospaced:s,...f},l)=>t.jsx(o,{ref:l,variant:m,fontWeight:a(r),component:i,...f,sx:e(f.sx,!!n&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:n},"button"===p&&{lineHeight:1.2},s&&{fontVariantNumeric:"tabular-nums"})})));export{m as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-D07GHMW_.js";import{u as t}from"./Popper-D2T5Mnde.js";import{M as r,m as a}from"./Menu-Cy0yQNts.js";import{U as s}from"./UserMenuButton-WfeY2jLa.js";const n=({avatar:n,email:m,menuItems:o,name:i,offset:p=[0,8],placement:u="right-end",rounded:j,width:d=192})=>{const f=t({variant:"popper"});return e.jsx(r,{placement:u,offset:p,menuItems:o,state:f,trigger:e.jsx(s,{active:f.isOpen,avatar:n,email:m,name:i,rounded:j,withMenu:!!o?.length}),width:d,children:e.jsx(e.Fragment,{children:o?.map(((e,t)=>a(e,t,f)))})})};export{n as U};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-D07GHMW_.js";import{styled as t,Box as r,Stack as n,Button as o,useTheme as i,Fade as s}from"@mui/material";import{useRef as a}from"react";import{I as c}from"./Icon-DdfUGHvY.js";import{A as d}from"./Avatar-Bo-8ruP7.js";import{T as l}from"./Typography-CkwZLamL.js";const m=t(r)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),p=t(n,{shouldForwardProp:e=>!["withMenu"].includes(e)})((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),u=t(n)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),h=t(o,{shouldForwardProp:e=>!["active","rounded"].includes(e)})((({active:e,rounded:t,theme:r})=>({backgroundColor:e?r.custom.palette.interaction.press:"transparent",borderRadius:r.spacing(t?r.custom.radius.round:r.custom.radius.md),justifyContent:"flex-start",minWidth:0,overflow:"hidden",padding:r.spacing(.5),textTransform:"none",width:"100%","&:hover":{backgroundColor:r.custom.palette.interaction.hover}}))),x=({active:t,avatar:r,email:n,name:o,rounded:x,withMenu:j})=>{const f=i(),v=a(null);return e.jsx(h,{active:t,rounded:x,children:e.jsxs(m,{ref:v,children:[e.jsx(d,{src:r,sizing:"sm"}),e.jsx(s,{in:!0,children:e.jsxs(m,{children:[e.jsxs(p,{withMenu:j,children:[e.jsx(l,{variation:"sm",component:"p",type:"button",noWrap:!0,children:o}),e.jsx(l,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:f.custom.palette.text.secondary},children:n})]}),j&&e.jsx(u,{children:e.jsx(c,{name:"chevron-right",size:24})})]})})]})})};export{x as U};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-D07GHMW_.js";import{memo as t,useMemo as r,useState as i,useCallback as o,forwardRef as a,useEffect as n,useImperativeHandle as s}from"react";import{styled as m,Box as l,Slider as d,sliderClasses as p,Stack as u}from"@mui/material";import c from"@use-it/event-listener";import"./misc-DEfpkrzV.js";import{I as h}from"./Icon-DdfUGHvY.js";import"./primitiveVariables-C2nCN8Fk.js";import"./typography.util-ZFUiA8Aq.js";import"./AnnualController-D-NOKxFc.js";import"./Accordion-CRXhotAZ.js";import{T as g}from"./Typography-CkwZLamL.js";import"merge-sx";import"./Badge-CfmMRsFh.js";import"./Breadcrumb-aj3bGMdq.js";import"./Button-BNdZamaX.js";import"./ButtonBase-CuA_NR-d.js";import"./StyledCheckbox-DblGur3U.js";import"./InputFieldBase-C9gpvRFB.js";import"./CreatableAutocomplete-BnELdP7s.js";import{VolumeUp as f,VolumeOff as x}from"@mui/icons-material";import"./InputLabelBase-dxNQ-IPB.js";import"./Differential-YAHU2TWO.js";import"./StyledMenu-riM_crCE.js";import"./FormGenerator-BuqPWlEK.js";import"./GridOverlay-CdQRudMg.js";import"html-react-parser";import{I as j}from"./IconButton-CGVRkJGb.js";import"./IconButtonBase-CrANMxNL.js";import"./IconButtonGroup-DsXucaM6.js";import"./Image-a1AMagLY.js";import"./Label-BSTTUXVH.js";import"./Likert-DXaxel8v.js";import"./Link-BSas3Jgv.js";import"@lottiefiles/dotlottie-react";import"./LoopsAiButton-t_gOZ-If.js";import"markdown-to-jsx";import{S as v}from"./Surface-CDi-FO_W.js";import"./MenuItem-BxWmGm9Y.js";import"./ModalContentWrapper-LR-5lBgA.js";import"./NavigationButton-WNHzkqcm.js";import"./NudgeButton-CJxgaHdu.js";import"./NumberField-Dd9Sx7z5.js";import"./semanticColor-D7tAxZiD.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import"./StyledPill-D_CRLrK1.js";import"./Progress-D20qsea6.js";import"./ProgressBar-BtxJs-2o.js";import"./Radio-CtiQBU-O.js";import"./autocomplete.styles-BQe7o5--.js";import"./Select-nS5tE4LD.js";import"./RankItem-S8SXyLl7.js";import"./SortableList-CFCRiOim.js";import"@tiptap/extension-placeholder";import"@tiptap/extension-underline";import"@tiptap/starter-kit";import"mui-tiptap";import"./RichTextField-twbvMvGl.js";import"./Skeleton-CiGPl8Re.js";import"./Slider-1ff-7pd2.js";import"./StarRating-C2f4i-5e.js";import"./Switch-CG0vza4W.js";import"./Textarea-DzzeTbHC.js";import"./TrialPill-DFBTPhdH.js";import"./UserMenuButton-WfeY2jLa.js";import"./VideoModal-BFxHt_D1.js";import{alpha as y}from"@mui/material/styles";import b from"@mui/icons-material/VolumeDown";import{P as k}from"./Popper-D2T5Mnde.js";const T=(e,t=1e5)=>Math.round(e*t)/t;var w=t((({playing:t,ended:r,seeking:i,buffering:o,handleAction:a})=>e.jsx(j,{disabled:o,loading:o,onClick:()=>a(),shape:"round",sizing:"xl",variation:"outlined",icon:e.jsx(h,{name:(()=>{switch(!0){case i&&r:return"replay";case i:return"play";case!t&&r:return"replay";case t:return"pause";default:return"play"}})()})})));const S=e=>{const t=Math.floor(e/3600),r=Math.floor(e%3600/60),i=Math.floor(e%60),o=i<10?"0"+i:i,a=t>0&&r<10?"0"+r:r;return t>0?`${t}:${a}:${o}`:`${a}:${o}`},I=(e,t)=>t/e*100,P=m(l)((({theme:e})=>({position:"absolute",top:"100%",marginTop:e.spacing((e.breakpoints.down("lg"),e.custom.margin.xs)),left:0,display:"flex",alignItems:"center",width:"100%",height:18}))),C=m(l)((({theme:e,width:t,left:r})=>({position:"absolute",background:e.custom.palette.neutralAlpha[2],opacity:1,borderRadius:18,height:18,pointerEvents:"none",top:0,left:`${r}%`,width:`${t}%`,zIndex:0,"&:after":{content:'" "',position:"absolute",width:"100%",height:78,top:38,borderRadius:e.spacing(e.custom.radius.md),background:e.custom.palette.neutralAlpha[1]}}))),M=m(l,{shouldForwardProp:e=>"isActive"!==e})((({theme:e,isActive:t})=>({position:"absolute",background:e.custom.palette.purple[500],height:8,width:8,borderRadius:8,...t?{transform:"translateX(-50%) scale(1)"}:{transform:"translateX(-50%) scale(0.5)"},transition:"all 0.2s, background 0.2s"})));var $=t((({startTime:t,endTime:i,currentTime:o,markers:a=[],markerIndicator:n=!0,markerIndicatorSize:s=3,markerIndicatorMode:m,marker:l})=>{const d=r((()=>I(i-t,o-t)),[o,t,i]),p=r((()=>"time"===m?s:(i-t)*s),[i,t,m,s]),{width:u,left:c}=r((()=>{const e=i-t,r=(o-t)/e;let a;a="time"===m?s/e*100:100*s;const n=a/2,l=100*r,p=100-100*r,u=Math.min(n,l);return{width:u+Math.min(n,p),left:d-u}}),[o,t,i,d,m,s]),h=r((()=>a.map((({timeStamp:e,id:r,meta:a})=>({id:r,timeStamp:e,markerPosition:I(i-t,e),isActive:Math.abs(e-o+t)<=p/2+1e-10,meta:a})))),[a,i,t,o,p]),g=l||M;return e.jsxs(P,{children:[n&&e.jsx(C,{width:u,left:c}),h.map((({id:t,markerPosition:r,isActive:i,meta:o})=>e.jsx(g,{isActive:i,sx:{zIndex:2,left:`${r}%`},...o&&{meta:o}},t)))]})}));var E=t(m(d)((({theme:e,type:t,muted:r,value:i})=>({padding:0,"@media (pointer: coarse)":{padding:0},[`.${p.thumb}`]:{border:0,boxShadow:"none",width:4,height:4,"&:hover":{boxShadow:`${y(e.custom.palette.purple[300],.2)} 0px 0px 0px 4px`},[`&.${p.active}`]:{width:8,height:8,boxShadow:`${y(e.custom.palette.purple[300],.2)} 0px 0px 0px 8px`},[`&.${p.focusVisible}`]:{boxShadow:`${y(e.custom.palette.purple[300],.2)} 0px 0px 0px 4px`}},..."volume"===t?{height:100,color:e.custom.palette.icon.primary,...(r||0===i)&&{opacity:.5},[`.${p.valueLabel}`]:{background:e.custom.palette.surface.default,color:e.custom.palette.text.primary,fontSize:e.custom.typography.body.xs,fontWeight:"normal",boxShadow:e.custom.elevation.overlay},[`.${p.thumb}`]:{border:0,boxShadow:"none",width:8,height:8,"&:hover":{boxShadow:`${y(e.custom.palette.neutral[300],.2)} 0px 0px 0px 4px`},[`&.${p.active}`]:{width:8,height:8,boxShadow:`${y(e.custom.palette.neutral[300],.2)} 0px 0px 0px 8px`},[`&.${p.focusVisible}`]:{boxShadow:`${y(e.custom.palette.neutral[300],.2)} 0px 0px 0px 4px`}}}:{color:e.custom.palette.purple.main,height:4,[`.${p.rail}`]:{height:4,background:y(e.custom.palette.neutral[400],.5),opacity:1},[`.${p.track}`]:{border:0,boxShadow:"none",height:4}}}))));const V=m(u)((({theme:e})=>({flexDirection:"row",gap:e.spacing(e.custom.padding.xs),alignItems:"center"}))),B=({handleVolumeMute:t,handleVolumeChange:r,muted:i,volume:o,volumeControlsType:a})=>{const n=e.jsx(j,{icon:(()=>{switch(!0){case 0===o||i:return e.jsx(x,{});case o<.5:return e.jsx(b,{});default:return e.jsx(f,{})}})(),variation:"default",shape:"default",sizing:"xs",onClick:t});return e.jsx(V,{children:"mute"===a?n:e.jsx(k,{bindOn:["hover"],trigger:n,popperProps:{placement:"top",style:{zIndex:40}},children:e.jsx(E,{muted:i,type:"volume",valueLabelDisplay:"auto",orientation:"vertical",step:.01,value:o,valueLabelFormat:e=>`${Math.ceil(I(1,e))}%`,min:0,max:1,onChange:(e,t)=>{e.preventDefault(),r(t)}})})})},A=m(u)({flex:1,position:"relative"}),z=m(u)((({theme:e})=>({ml:"auto",alignItems:"center",position:"absolute",width:"100%",overflow:"hidden",right:0,bottom:8,gap:e.spacing(e.custom.margin.xs)}))),R=m(g)((({theme:e})=>({color:e.custom.palette.text.secondary,textOverflow:"ellipsis",overflow:"hidden",textWrap:"nowrap",marginLeft:"auto"}))),L=m(l)((({theme:e})=>({position:"relative",width:"100%",display:"flex",gap:e.spacing(e.custom.margin.xs),alignItems:"center"}))),D=m(l)((({theme:e,left:t,width:r})=>({background:e.custom.palette.neutral[300],height:4,position:"absolute",left:`${t}%`,pointerEvents:"none",top:"50%",transform:"translateY(-50%)",borderRadius:e.custom.radius.round,width:`${r}%`})));var F=t((({startTime:t,currentTime:r,endTime:a,playing:n,markerIndicator:s,bufferRanges:m,handleSeeking:l,handleSeekEnd:d,handleSeekStart:p,markers:u,marker:c,markerIndicatorMode:h,markerIndicatorSize:g,volume:f,muted:x,handleVolumeMute:j,handleVolumeChange:v,volumeControlsType:y,volumeControls:b})=>{const[k,T]=i(n),w=o(((e,t)=>{e.stopPropagation(),l?.(t)}),[l]),I=o(((e,t)=>{e.stopPropagation(),d?.(k),k&&T(!1)}),[k,d]),P=o((e=>{e.stopPropagation(),n&&T(n),p?.(n)}),[n,p]),C=o((()=>{n&&T(n),p?.(n)}),[n,p]),M=o((()=>{d?.(k),k&&T(!1)}),[k,d]);return e.jsxs(A,{children:[e.jsxs(z,{direction:"row",children:[e.jsxs(R,{component:"p",variation:"md",children:[S(r-t)," / ",S(a-t)]}),b&&e.jsx(B,{volume:f,muted:x,handleVolumeMute:j,handleVolumeChange:v,volumeControlsType:y})]}),m.length>0&&m.map((({startPercent:t,widthPercent:r},i)=>e.jsx(D,{left:t,width:r},i))),e.jsxs(L,{children:[e.jsx(E,{step:.05,value:r,max:a,min:t,onChangeCommitted:I,onMouseDown:P,onChange:w,onTouchStart:C,onTouchEnd:M}),u&&u?.length>0&&e.jsx($,{markerIndicatorMode:h,markerIndicatorSize:g,markerIndicator:s,markers:u,marker:c,startTime:t,currentTime:r,endTime:a})]})]})}));const G=m(v)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(e.custom.padding.md),borderColor:e.custom.palette.stroke.light,borderWidth:1,gap:e.spacing(e.custom.padding.sm),borderStyle:"solid",flexDirection:"column"}))),N=m(u)((({theme:e})=>({alignItems:"center",gap:e.spacing(e.custom.padding.md),justifyContent:"space-between",flexDirection:"row",flex:1})));var O=t(a((({id:t,videoElement:r,initialEndTime:a=0,initialCurrentTime:m=0,initialMuted:l,initialVolume:d,markers:p,options:u,slots:h,events:{onEnd:g,onPlay:f,onSeekEnd:x,onSeeking:j,onSeekStart:v,onTimeUpdate:y,onPause:b,onVolumeChange:k,onVolumeMute:S,onRestart:I,onFirstPlay:P,onFirstEnded:C,onReset:M}={},videoSeekTime:$},E)=>{const[V,B]=i(!1),[A,z]=i([]),R={rtl:!1,volumeControls:!0,normaliseTime:!1,markerIndicatorMode:"time",markerIndicator:!1,markerIndicatorSize:3,volumeControlsType:"mute",...u},[{seeking:L,endTime:D,currentTime:O,playing:W,buffering:X,loaded:U,ended:q,volume:H,muted:J,startTime:Y,firstPlay:K,firstEnded:Q},Z]=i({startTime:T(R.normaliseTime?m:0),endTime:T(R.normaliseTime?a:r.duration),currentTime:T(m??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1,volume:d||1,muted:l||!1,buffering:!1});n((()=>{if(r.muted=J,r.volume=H,R.normaliseTime&&(void 0===a||void 0===m))throw new Error("Please supply an initial end time and initial currentTime for normalising time in VideoControls.tsx");return()=>{de()}}),[]),n((()=>{Z((e=>({...e,startTime:T(R.normaliseTime?m:0),endTime:T(R.normaliseTime?a:r.duration),currentTime:T(m??0)}))),r.currentTime=T(m??0)}),[m,a]);const _=o((()=>{Z((e=>({...e,playing:!1,ended:!0,...!Q&&{firstEnded:!0}}))),g&&g(),!Q&&C&&C()}),[Q]);n((()=>{if(!r||null==$)return;(async()=>{const e=!r.paused,t=$===D;Z((e=>({...e,playing:!1,currentTime:T($)}))),await new Promise((e=>{const t=()=>{r.removeEventListener("seeked",t),e()};r.addEventListener("seeked",t),setTimeout(e,500)})),Z((e=>({...e,currentTime:T($)}))),await new Promise((e=>setTimeout(e,50))),Z((r=>({...r,playing:e,currentTime:T(t?$-.001:$+.001)})))})().catch((e=>{console.error("Error seeking video:",e)}))}),[$,r]);const ee=o((e=>{Z((t=>({...t,muted:e.target?.muted,volume:"number"==typeof e.target?.volume?e.target?.volume:1}))),J!==e.target?.muted&&S&&S(!J),H!==e.target?.volume&&k&&k(H)}),[J,H]),te=o((()=>{const e=T(r.currentTime)>=D&&D!==T(r.duration)&&!q,t=T(r.currentTime)>=D&&D===T(r.duration)&&!q&&!W;(e||t)&&(r.pause(),r.dispatchEvent(new Event("ended"))),Z((e=>({...e,currentTime:T(r.currentTime)}))),y&&y(T(r.currentTime))}),[D,q,W]),re=o((()=>{Z((e=>({...e,playing:!1}))),b&&b()}),[O]),ie=o((()=>{Z((e=>({...e,playing:!0,ended:!1,buffering:!1,...!K&&{firstPlay:!0}}))),!K&&P&&P(),f&&f()}),[K]),oe=o((()=>{Z((e=>({...e,buffering:!0})))}),[]),ae=o((()=>{Z((e=>({...e,buffering:!1})))}),[X]),ne=o((()=>{const e=[];for(let t=0;t<r.buffered.length;t++){const i=r.buffered.start(t),o=r.buffered.end(t);if(o>=Y&&i<=D){const t=Math.max(i,Y),r=Math.min(o,D);e.push({start:t-Y,end:r-Y,startPercent:(t-Y)/(D-Y)*100,widthPercent:(r-t)/(D-Y)*100})}}z(e)}),[L,D,O,W,X,U,q,H,J,Y,A]),se=o((async e=>{W&&de(),r.currentTime=Y,e&&await le(),I&&I()}),[W,O,Y,D,q]),me=o((async()=>{W&&de(),r.currentTime=Y,Z((e=>({...e,startTime:T(R.normaliseTime?m:0),endTime:T(R.normaliseTime?a:r.duration),currentTime:T(m??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1}))),M&&M()}),[W,O,Y,D,q,m,a]),le=async()=>{await r.play()},de=()=>{r.pause()},pe=o((e=>{r.currentTime=T(e),Z((t=>({...t,currentTime:T(e),ended:!1,seeking:!0,buffering:!1,firstPlay:!K||t.firstPlay,bufferProgress:e}))),j&&j(e),!K&&P&&P()}),[X,K]),ue=o((async()=>{document.hidden?W&&!r.paused?(B(!0),de()):B(!1):(V&&!W&&await le(),B(!1))}),[W,V,de,le,r]),ce=o((e=>{e&&r.pause(),Z((e=>({...e,seeking:!0}))),v&&v()}),[q]),he=o((async(e,t,i)=>{t&&(r.currentTime=t),e&&!q&&await r.play(),i&&W&&r.pause(),Z((e=>({...e,...t?{currentTime:t}:{},ended:!i&&e.ended,seeking:!1}))),x&&x(t)}),[W,q,X,L]);return c("visibilitychange",ue,document),c("pause",re,r),c("playing",ie,r),c("timeupdate",te,r),c("ended",_,r),c("volumechange",ee,r),c("waiting",oe,r),c("canplay",ae,r),c("progress",ne,r),s(E,(()=>({play:le,pause:de,restart:se,reset:me,seek:(e,t,r)=>he(t,e,r),videoState:{seeking:L,endTime:D,currentTime:O,playing:W,buffering:X,loaded:U,ended:q,volume:H,firstPlay:K,firstEnded:Q,muted:J,startTime:Y}}))),e.jsxs(G,{variation:"raised",borderradius:"xl",id:t,children:[e.jsxs(N,{...R?.rtl&&{dir:"rtl"},children:[e.jsx(w,{seeking:L,playing:W,ended:q,buffering:X,handleAction:async()=>{q?await se(!0):W?de():await le()}}),e.jsx(F,{handleSeeking:pe,handleSeekEnd:he,handleSeekStart:ce,ended:q,marker:h?.marker,markers:p,markerIndicatorMode:R.markerIndicatorMode,markerIndicatorSize:R.markerIndicatorSize,markerIndicator:R.markerIndicator,startTime:R.normaliseTime?Y:0,currentTime:O,endTime:D,playing:W,bufferRanges:A,buffering:X,volume:H,muted:J,volumeControls:R.volumeControls,volumeControlsType:R.volumeControlsType,handleVolumeMute:()=>{r.muted=!J},handleVolumeChange:e=>{r.volume=e,J&&(r.muted=!1)}})]}),h?.bottom]})})));export{O as V};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as i}from"./jsx-runtime-D07GHMW_.js";import{styled as o,Box as e,Container as t,Modal as s,Fade as n,Backdrop as r}from"@mui/material";import"./semanticColor-D7tAxZiD.js";import"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import{I as a}from"./Icon-DdfUGHvY.js";import{I as l}from"./IconButton-CGVRkJGb.js";const p=({modalVisible:o=!1,showModal:e,video:p})=>i.jsx(s,{closeAfterTransition:!0,onClose:()=>e(!1),open:o,hideBackdrop:!0,children:i.jsx(n,{in:o,children:i.jsxs(d,{children:[i.jsx(r,{open:o,onClick:()=>e(!1)}),i.jsx(m,{children:i.jsx(j,{children:i.jsx(h,{autoPlay:!0,controls:!0,controlsList:"nodownload noremoteplayback noplaybackrate",disablePictureInPicture:!0,muted:!0,preload:"auto",src:p,tabIndex:-1})})}),i.jsx(c,{children:i.jsx(t,{children:i.jsx(l,{icon:i.jsx(a,{name:"close",size:24}),variation:"outlined",shape:"round",onClick:()=>e(!1)})})})]})})}),c=o(e)((({theme:i})=>({paddingTop:i.spacing(2),position:"fixed",right:0,top:80}))),d=o(e)({alignItems:"center",display:"flex",height:"100%",justifyContent:"center",left:0,position:"fixed",top:0,width:"100%"}),m=o(t)({alignItems:"center",display:"flex",justifyContent:"center",position:"relative",zIndex:999}),j=o(e)({aspectRatio:"16/9",maxHeight:"70vh"}),h=o("video")({height:"100%",width:"100%"});export{p as V};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{styled as t,TextField as o,autocompleteClasses as i}from"@mui/material";import"./semanticColor-D7tAxZiD.js";import{p as e,a as s}from"./primitiveVariables-C2nCN8Fk.js";import"./types-DNd754Km.js";import"./typography-BTnFjSJk.js";import"./jsx-runtime-D07GHMW_.js";import{i as a}from"./Icon-DdfUGHvY.js";import{f as n}from"./typography.util-ZFUiA8Aq.js";const r="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",p=t=>{switch(t){case"xs":return 24;case"md":return 32;default:return 40}},d=t=>{switch(t){case"xs":return 24;case"md":return 32;default:return 40}},c=t=>{switch(t){case"xs":case"md":return 16;default:return 24}},u=(t,o)=>({"& .MuiTypography-root":{overflow:"hidden",textOverflow:"ellipsis",fontSize:n[o],paddingLeft:t.spacing("xs"===o?t.custom.padding.xs:t.custom.padding.sm),paddingRight:t.spacing("xs"===o?t.custom.padding.xs:t.custom.padding.sm)}}),g=(t,o)=>({fontSize:n[o],borderRadius:t.spacing(t.custom.radius.md),position:"relative",padding:t.spacing(t.custom.padding.sm),"& .MuiSelect-outlined":{padding:0},"& .MuiSelect-select.MuiInputBase-input":{paddingRight:t.spacing(e.md)},"&:before":{transition:t.custom.easing.input,content:'""',position:"absolute",background:t.custom.palette.interaction.none,borderRadius:t.spacing(t.custom.radius.md),inset:0,zIndex:0},"&:hover:before":{backgroundColor:t.custom.palette.interaction.hover},"&.Mui-focused:before":{backgroundColor:t.custom.palette.interaction.press},"&.Mui-disabled:before":{backgroundColor:t.custom.palette.interaction.none},"& .MuiSelect-select":{position:"relative"}}),m=(t,o)=>{switch(o){case"lg":return{height:p(o),"& .MuiSvgIcon-root":{color:t.custom.palette.icon.primary,transition:t.custom.easing.input,width:a.lg,height:a.lg,top:`calc(50% - ${a.lg/2}px)`}};case"md":return{height:p(o),"& .MuiSvgIcon-root":{color:t.custom.palette.icon.primary,transition:t.custom.easing.input,width:a.md,height:a.md,top:`calc(50% - ${a.md/2}px)`}};case"xs":return{height:p(o),"& .MuiSvgIcon-root":{color:t.custom.palette.icon.primary,transition:t.custom.easing.input,width:a.xs,height:a.xs,top:`calc(50% - ${a.xs/2}px)`}};default:return{height:p("lg"),"& .MuiSvgIcon-root":{color:t.custom.palette.icon.primary,transition:t.custom.easing.input,width:a.lg,height:a.lg,top:`calc(50% - ${a.lg/2}px)`}}}},l=(t,o)=>({position:"relative",fontSize:n[o],backgroundColor:t.custom.palette.interaction.none,color:t.custom.palette.text.primary,minHeight:d(o),justifyContent:"space-between",paddingLeft:t.spacing("xs"===o?t.custom.padding.sm:t.custom.padding.md),paddingRight:t.spacing("xs"===o?t.custom.padding.sm:t.custom.padding.md),gap:t.spacing(t.custom.padding.sm),whiteSpace:"wrap","&:before":{transition:t.custom.easing.input,content:'""',position:"absolute",inset:0,zIndex:1},"& .MuiSvgIcon-root":{width:c(o),height:c(o)}}),h=t=>({width:0,"&.MuiModal-root.MuiPopover-root":{"&.MuiMenu-root":{borderRadius:t.spacing(t.custom.radius.sm),"& .MuiPaper-root":{border:`1px solid ${t.custom.palette.stroke.default}`,backgroundColor:t.custom.palette.surface.raised,boxShadow:r}}}}),x=(t,o)=>({maxWidth:"100%",backgroundColor:t.custom.palette.surface.raised,borderRadius:t.spacing(t.custom.radius.md),border:`1px solid ${t.custom.palette.stroke.default}`,transition:t.custom.easing.input,"& .MuiSvgIcon-root":{...o&&{width:a[o],height:a[o]}},"& .MuiAutocomplete-inputRoot":{...o&&{fontSize:n[o],gap:"lg"===o?t.spacing(t.custom.padding.sm):t.spacing(t.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*s+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:0},"& .MuiAutocomplete-endAdornment":{marginRight:t.spacing(t.custom.margin.sm)},"&.Mui-disabled":{backgroundColor:`${t.custom.palette.input.disabled}`,borderColor:`${t.custom.palette.stroke.disabled}`},"&.Mui-focused":{backgroundColor:t.custom.palette.input.default,borderColor:t.custom.palette.stroke.focus,boxShadow:t.custom.boxShadow.input.focus},"& .MuiChip-root .MuiChip-label":{height:20,lineHeight:"20px",maxWidth:140,...o&&{padding:`0 ${t.spacing(t.custom.padding.xs)}`}}}),b=(t,o)=>({"& .MuiPaper-root":{...o&&{margin:"lg"===o?t.spacing(t.custom.padding.sm):t.spacing(t.custom.padding.xs),marginLeft:"lg"===o?`-${t.spacing(t.custom.padding.sm)}`:`-${t.spacing(t.custom.padding.xs)}`,marginTop:`calc(${"lg"===o?t.spacing(t.custom.margin.sm):t.spacing(t.custom.margin.xs)} + ${t.spacing(t.custom.margin.xs)})`},border:`1px solid ${t.custom.palette.stroke.default}`,backgroundColor:t.custom.palette.surface.raised,boxShadow:r,borderRadius:t.spacing(t.custom.radius.sm)},[`& .${i.listbox}`]:{overflowX:"hidden",width:"100%",padding:`${t.spacing(t.custom.padding.sm)} 0`,[`& .${i.option}`]:{fontSize:n[o],...o&&{minHeight:"lg"===o?5*s+"px":4*s+"px"},paddingLeft:t.spacing("xs"===o?t.custom.padding.sm:t.custom.padding.md),gap:t.spacing(t.custom.padding.sm),display:"flex",alignItems:"center",'&[aria-selected="true"]':{backgroundColor:t.custom.palette.interaction.press,"&.Mui-focused":{backgroundColor:t.custom.palette.interaction.press},"&:hover":{backgroundColor:t.custom.palette.interaction.hover}},"&.Mui-focused":{background:"inherit"},"&:hover":{backgroundColor:t.custom.palette.interaction.hover}}}}),f=t(o)((({theme:t,sizing:o})=>({"& .MuiOutlinedInput-root":{padding:0,...o&&{margin:"lg"===o?t.spacing(t.custom.padding.sm):t.spacing(t.custom.padding.xs)}},"& .MuiInputBase-input":{padding:"0 14px"},"& .MuiOutlinedInput-notchedOutline":{border:"none"}})));export{f as S,x as a,l as b,g as c,u as d,m as g,h as m,b as p,d as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useTheme as r,useMediaQuery as e}from"@mui/material";const t=()=>{const t=r();return[...t.breakpoints.keys].reduce(((r,o)=>e(t.breakpoints.up(o))?o:r),null)??"sm"};export{t as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,n){const t=new Set(e),r=new Set(n);return e.every((e=>r.has(e)))&&n.every((e=>t.has(e)))}export{e as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}};export{e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t){if("BUTTON"===t.tagName)return!0;const e=t.parentNode;return!!e&&("BUTTON"===e.tagName||"button"===e.getAttribute("role"))}export{t as i};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import e from"react";var r,t={exports:{}},n={};var o,a={};
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/"production"===process.env.NODE_ENV?t.exports=function(){if(r)return n;r=1;var t=e,o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,r,t){var n,a={},l=null,u=null;for(n in void 0!==t&&(l=""+t),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(u=r.ref),r)i.call(r,n)&&!s.hasOwnProperty(n)&&(a[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===a[n]&&(a[n]=r[n]);return{$$typeof:o,type:e,key:l,ref:u,props:a,_owner:c.current}}return n.Fragment=a,n.jsx=l,n.jsxs=l,n}():t.exports=(o||(o=1,"production"!==process.env.NODE_ENV&&function(){var r,t=e,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=Symbol.iterator,b=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function h(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];!function(e,r,t){var n=b.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(r+="%s",t=t.concat([n]));var o=t.map((function(e){return String(e)}));o.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,o)}("error",e,t)}function _(e){return e.displayName||"Context"}function k(e){if(null==e)return null;if("number"==typeof e.tag&&h("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case o:return"Portal";case s:return"Profiler";case c:return"StrictMode";case p:return"Suspense";case y:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case u:return _(e)+".Consumer";case l:return _(e._context)+".Provider";case f:return function(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return""!==o?t+"("+o+")":t}(e,e.render,"ForwardRef");case d:var r=e.displayName||null;return null!==r?r:k(e.type)||"Memo";case v:var t=e,n=t._payload,a=t._init;try{return k(a(n))}catch(e){return null}}return null}r=Symbol.for("react.module.reference");var w,S,O,j,R,E,P,T=Object.assign,$=0;function x(){}x.__reactDisabledLog=!0;var C,D=b.ReactCurrentDispatcher;function N(e,r,t){if(void 0===C)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);C=n&&n[1]||""}return"\n"+C+e}var F,I=!1,L="function"==typeof WeakMap?WeakMap:Map;function U(e,r){if(!e||I)return"";var t,n=F.get(e);if(void 0!==n)return n;I=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=D.current,D.current=null,function(){if(0===$){w=console.log,S=console.info,O=console.warn,j=console.error,R=console.group,E=console.groupCollapsed,P=console.groupEnd;var e={configurable:!0,enumerable:!0,value:x,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){t=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){t=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){t=e}e()}}catch(r){if(r&&t&&"string"==typeof r.stack){for(var c=r.stack.split("\n"),s=t.stack.split("\n"),l=c.length-1,u=s.length-1;l>=1&&u>=0&&c[l]!==s[u];)u--;for(;l>=1&&u>=0;l--,u--)if(c[l]!==s[u]){if(1!==l||1!==u)do{if(l--,--u<0||c[l]!==s[u]){var f="\n"+c[l].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&F.set(e,f),f}}while(l>=1&&u>=0);break}}}finally{I=!1,D.current=o,function(){if(0==--$){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:w}),info:T({},e,{value:S}),warn:T({},e,{value:O}),error:T({},e,{value:j}),group:T({},e,{value:R}),groupCollapsed:T({},e,{value:E}),groupEnd:T({},e,{value:P})})}$<0&&h("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",y=p?N(p):"";return"function"==typeof e&&F.set(e,y),y}function W(e,r,t){if(null==e)return"";if("function"==typeof e)return U(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return N(e);switch(e){case p:return N("Suspense");case y:return N("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case f:return U(e.render,!1);case d:return W(e.type,r,t);case v:var o=e,a=o._payload,i=o._init;try{return W(i(a),r,t)}catch(e){}}return""}F=new L;var A=Object.prototype.hasOwnProperty,z={},M=b.ReactDebugCurrentFrame;function Y(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);M.setExtraStackFrame(t)}else M.setExtraStackFrame(null)}var B=Array.isArray;function V(e){return B(e)}function J(e){return""+e}function K(e){if(function(e){try{return J(e),!1}catch(e){return!0}}(e))return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),J(e)}var X,q,H=b.ReactCurrentOwner,G={key:!0,ref:!0,__self:!0,__source:!0};function Q(e,r,t,o,a){var i,c={},s=null,l=null;for(i in void 0!==t&&(K(t),s=""+t),function(e){if(A.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(r)&&(K(r.key),s=""+r.key),function(e){if(A.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return void 0!==e.ref}(r)&&(l=r.ref,function(e){"string"==typeof e.ref&&H.current}(r)),r)A.call(r,i)&&!G.hasOwnProperty(i)&&(c[i]=r[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===c[i]&&(c[i]=u[i])}if(s||l){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,r){var t=function(){X||(X=!0,h("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(c,f),l&&function(e,r){var t=function(){q||(q=!0,h("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}(c,f)}return function(e,r,t,o,a,i,c){var s={$$typeof:n,type:e,key:r,ref:t,props:c,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,l,a,o,H.current,c)}var Z,ee=b.ReactCurrentOwner,re=b.ReactDebugCurrentFrame;function te(e){if(e){var r=e._owner,t=W(e.type,e._source,r?r.type:null);re.setExtraStackFrame(t)}else re.setExtraStackFrame(null)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function oe(){if(ee.current){var e=k(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Z=!1;var ae={};function ie(e,r){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var t=function(e){var r=oe();if(!r){var t="string"==typeof e?e:e.displayName||e.name;t&&(r="\n\nCheck the top-level render call using <"+t+">.")}return r}(r);if(!ae[t]){ae[t]=!0;var n="";e&&e._owner&&e._owner!==ee.current&&(n=" It was passed a child from "+k(e._owner.type)+"."),te(e),h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),te(null)}}}function ce(e,r){if("object"==typeof e)if(V(e))for(var t=0;t<e.length;t++){var n=e[t];ne(n)&&ie(n,r)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var r=g&&e[g]||e["@@iterator"];return"function"==typeof r?r:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ne(a.value)&&ie(a.value,r)}}function se(e){var r,t=e.type;if(null!=t&&"string"!=typeof t){if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==f&&t.$$typeof!==d)return;r=t.propTypes}if(r){var n=k(t);!function(e,r,t,n,o){var a=Function.call.bind(A);for(var i in e)if(a(e,i)){var c=void 0;try{if("function"!=typeof e[i]){var s=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}c=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){c=e}!c||c instanceof Error||(Y(o),h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof c),Y(null)),c instanceof Error&&!(c.message in z)&&(z[c.message]=!0,Y(o),h("Failed %s type: %s",t,c.message),Y(null))}}(r,e.props,"prop",n,e)}else void 0===t.PropTypes||Z||(Z=!0,h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k(t)||"Unknown"));"function"!=typeof t.getDefaultProps||t.getDefaultProps.isReactClassApproved||h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ue(e,t,o,a,g,b){var _=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===c||e===p||e===y||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===d||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===r||void 0!==e.getModuleId)}(e);if(!_){var w,S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),S+=oe(),null===e?w="null":V(e)?w="array":void 0!==e&&e.$$typeof===n?(w="<"+(k(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):w=typeof e,h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",w,S)}var O=Q(e,t,o,g,b);if(null==O)return O;if(_){var j=t.children;if(void 0!==j)if(a)if(V(j)){for(var R=0;R<j.length;R++)ce(j[R],e);Object.freeze&&Object.freeze(j)}else h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ce(j,e)}if(A.call(t,"key")){var E=k(e),P=Object.keys(t).filter((function(e){return"key"!==e})),T=P.length>0?"{key: someKey, "+P.join(": ..., ")+": ...}":"{key: someKey}";le[E+T]||(h('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',T,E,P.length>0?"{"+P.join(": ..., ")+": ...}":"{}",E),le[E+T]=!0)}return e===i?function(e){for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if("children"!==n&&"key"!==n){te(e),h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),te(null);break}}null!==e.ref&&(te(e),h("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(O):se(O),O}var fe=function(e,r,t){return ue(e,r,t,!1)},pe=function(e,r,t){return ue(e,r,t,!0)};a.Fragment=i,a.jsx=fe,a.jsxs=pe}()),a);var i=t.exports;export{i as j};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=e=>{const a=e.toLowerCase();return["a","e","i","o","u"].some((e=>a.startsWith(e)))?"an":"a"},a=(a,s,t)=>({maxLength:{value:t||255,message:`Maximum character limit of ${t||255}.`},...s&&{required:a?`Please enter ${e(a)} ${a}`:"This field is required"}}),s=a().maxLength.value;export{s as D,e as c,a as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const s=s=>({minLength:{value:s||8,message:`Password must have at least ${s||8} characters`},equal:{value:"password",message:"You cannot choose 'password' as your password"}});export{s as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const s=(s,a)=>1===Math.abs(a)?s:`${s}s`;export{s as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const p={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},x={0:0,25:2,50:4,100:8,150:12,200:16,300:24,350:28,400:32,500:40,600:48,800:64,1e3:80,2e3:160},a=x[100],r={none:x[0],xs:x[50]/a,sm:x[100]/a,md:x[200]/a,lg:x[400]/a,xl:x[600]/a,xxl:x[1e3]/a,xxxl:x[2e3]/a},s={none:x[0],xs:x[50]/a,sm:x[100]/a,md:x[200]/a,lg:x[400]/a,xl:x[600]/a},o={none:x[0],xs:x[25]/a,sm:x[50]/a,md:x[100]/a,lg:x[200]/a,xl:x[300]/a,round:999},d={raised:"0px 0px 0px 1px rgba(255, 255, 255, 0.12), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 1px 2px 0px rgba(6, 4, 13, 0.16)",float:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 8px 16px 0px rgba(6, 4, 13, 0.08), 0px 2px 4px 0px rgba(6, 4, 13, 0.08)",overlay:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 16px 24px 0px rgba(6, 4, 13, 0.08), 0px 4px 8px 0px rgba(6, 4, 13, 0.08)",aiSummary:"0 0 8px 4px rgba(127, 76, 255, 0.12)"},g={raised:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.12)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 1px 2px rgba(6, 4, 13, 0.16))",float:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 8px 16px rgba(6, 4, 13, 0.08)) drop-shadow(0px 2px 4px rgba(6, 4, 13, 0.08))",overlay:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 16px 24px rgba(6, 4, 13, 0.08)) drop-shadow(0px 4px 8px rgba(6, 4, 13, 0.08))"},b={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},e={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"};export{a,p as b,g as c,b as d,d as e,e as f,r as m,s as p,o as r,x as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./jsx-runtime-D07GHMW_.js";import{createContext as e,useRef as n,useContext as i,useId as s,useEffect as o,useCallback as r,useLayoutEffect as a,useMemo as l,useInsertionEffect as u,forwardRef as c,Fragment as h,createElement as d,Component as p}from"react";const m=e({});function f(t){const e=n(null);return null===e.current&&(e.current=t()),e.current}const v=e(null),g=e({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function y(t=!0){const e=i(v);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:a,register:l}=e,u=s();o((()=>{t&&l(u)}),[t]);const c=r((()=>t&&a&&a(u)),[u,a,t]);return!n&&a?[!1,c]:[!0]}const x="undefined"!=typeof window,P=x?a:o,w=t=>t;let T=w,S=w;"production"!==process.env.NODE_ENV&&(T=(t,e)=>{t||"undefined"==typeof console||console.warn(e)},S=(t,e)=>{if(!t)throw new Error(e)});const b=!1;const A=["read","resolveKeyframes","update","preRender","render","postRender"];function E(t,e){let n=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=A.reduce(((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,s=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(r)}const l={schedule:(t,s=!1,r=!1)=>{const a=r&&i?e:n;return s&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{r=t,i?s=!0:(i=!0,[e,n]=[n,e],e.forEach(a),e.clear(),i=!1,s&&(s=!1,l.process(t)))}};return l}(o),t)),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:d}=r,p=()=>{const o=performance.now();n=!1,s.delta=i?1e3/60:Math.max(Math.min(o-s.timestamp,40),1),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),c.process(s),h.process(s),d.process(s),s.isProcessing=!1,n&&e&&(i=!1,t(p))};return{schedule:A.reduce(((e,o)=>{const a=r[o];return e[o]=(e,o=!1,r=!1)=>(n||(n=!0,i=!0,s.isProcessing||t(p)),a.schedule(e,o,r)),e}),{}),cancel:t=>{for(let e=0;e<A.length;e++)r[A[e]].cancel(t)},state:s,steps:r}}const{schedule:V,cancel:D,state:M,steps:C}=E("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:w,!0),k=e({strict:!1}),R={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},L={};for(const t in R)L[t]={isEnabled:e=>R[t].some((t=>!!e[t]))};const j=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function B(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||j.has(t)}let F=t=>!B(t);try{(O=require("@emotion/is-prop-valid").default)&&(F=t=>t.startsWith("on")?!B(t):O(t))}catch(t){}var O;const I=new Set;function U(t,e,n){t||I.has(e)||(console.warn(e),I.add(e))}function N(t){if("undefined"==typeof Proxy)return t;const e=new Map;return new Proxy(((...e)=>("production"!==process.env.NODE_ENV&&U(!1,"motion() is deprecated. Use motion.create() instead."),t(...e))),{get:(n,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}const $=e({});function W(t){return"string"==typeof t||Array.isArray(t)}function Y(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}const K=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],z=["initial",...K];function X(t){return Y(t.animate)||z.some((e=>W(t[e])))}function H(t){return Boolean(X(t)||t.variants)}function G(t){const{initial:e,animate:n}=function(t,e){if(X(t)){const{initial:e,animate:n}=t;return{initial:!1===e||W(e)?e:void 0,animate:W(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,i($));return l((()=>({initial:e,animate:n})),[q(e),q(n)])}function q(t){return Array.isArray(t)?t.join(" "):t}const _=Symbol.for("motionComponentSymbol");function Z(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function J(t,e,n){return r((i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&("function"==typeof n?n(i):Z(n)&&(n.current=i))}),[e])}const Q=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tt="data-"+Q("framerAppearId"),{schedule:et,cancel:nt}=E(queueMicrotask,!1),it=e({});function st(t,e,s,r,a){var l,c;const{visualElement:h}=i($),d=i(k),p=i(v),m=i(g).reducedMotion,f=n(null);r=r||d.renderer,!f.current&&r&&(f.current=r(t,{visualState:e,parent:h,props:s,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m}));const y=f.current,x=i(it);!y||y.projection||!a||"html"!==y.type&&"svg"!==y.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:ot(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&Z(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(f.current,s,a,x);const w=n(!1);u((()=>{y&&w.current&&y.update(s,p)}));const T=s[tt],S=n(Boolean(T)&&!(null===(l=window.MotionHandoffIsComplete)||void 0===l?void 0:l.call(window,T))&&(null===(c=window.MotionHasOptimisedAnimation)||void 0===c?void 0:c.call(window,T)));return P((()=>{y&&(w.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),et.render(y.render),S.current&&y.animationState&&y.animationState.animateChanges())})),o((()=>{y&&(!S.current&&y.animationState&&y.animationState.animateChanges(),S.current&&(queueMicrotask((()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,T)})),S.current=!1))})),y}function ot(t){if(t)return!1!==t.options.allowProjection?t.projection:ot(t.parent)}function rt({preloadedFeatures:e,createVisualElement:n,useRender:s,useVisualState:o,Component:r}){var a,l;function u(a,l){let u;const c={...i(g),...a,layoutId:at(a)},{isStatic:h}=c,d=G(a),p=o(a,h);if(!h&&x){!function(t,e){const n=i(k).strict;if("production"!==process.env.NODE_ENV&&e&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?T(!1,e):S(!1,e)}}(c,e);const t=function(t){const{drag:e,layout:n}=L;if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(c);u=t.MeasureLayout,d.visualElement=st(r,p,c,n,t.ProjectionNode)}return t.jsxs($.Provider,{value:d,children:[u&&d.visualElement?t.jsx(u,{visualElement:d.visualElement,...c}):null,s(r,a,J(p,d.visualElement,l),p,h,d.visualElement)]})}e&&function(t){for(const e in t)L[e]={...L[e],...t[e]}}(e),u.displayName=`motion.${"string"==typeof r?r:`create(${null!==(l=null!==(a=r.displayName)&&void 0!==a?a:r.name)&&void 0!==l?l:""})`}`;const h=c(u);return h[_]=r,h}function at({layoutId:t}){const e=i(m).id;return e&&void 0!==t?e+"-"+t:t}const lt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ut(t){return"string"==typeof t&&!t.includes("-")&&!!(lt.indexOf(t)>-1||/[A-Z]/u.test(t))}function ct(t){const e=[{},{}];return null==t||t.values.forEach(((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()})),e}function ht(t,e,n,i){if("function"==typeof e){const[s,o]=ct(i);e=e(void 0!==n?n:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[s,o]=ct(i);e=e(void 0!==n?n:t.custom,s,o)}return e}const dt=t=>Array.isArray(t),pt=t=>Boolean(t&&t.getVelocity);function mt(t){const e=pt(t)?t.get():t;return n=e,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?e.toValue():e;var n}const ft=t=>(e,n)=>{const s=i($),o=i(v),r=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},i,s,o){const r={latestValues:vt(i,s,o,t),renderState:e()};return n&&(r.onMount=t=>n({props:i,current:t,...r}),r.onUpdate=t=>n(t)),r}(t,e,s,o);return n?r():f(r)};function vt(t,e,n,i){const s={},o=i(t,{});for(const t in o)s[t]=mt(o[t]);let{initial:r,animate:a}=t;const l=X(t),u=H(t);e&&u&&!l&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let c=!!n&&!1===n.initial;c=c||!1===r;const h=c?a:r;if(h&&"boolean"!=typeof h&&!Y(h)){const e=Array.isArray(h)?h:[h];for(let n=0;n<e.length;n++){const i=ht(t,e[n]);if(i){const{transitionEnd:t,transition:e,...n}=i;for(const t in n){let e=n[t];if(Array.isArray(e)){e=e[c?e.length-1:0]}null!==e&&(s[t]=e)}for(const e in t)s[e]=t[e]}}}return s}const gt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],yt=new Set(gt),xt=t=>e=>"string"==typeof e&&e.startsWith(t),Pt=xt("--"),wt=xt("var(--"),Tt=t=>!!wt(t)&&St.test(t.split("/*")[0].trim()),St=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,bt=(t,e)=>e&&"number"==typeof t?e.transform(t):t,At=(t,e,n)=>n>e?e:n<t?t:n,Et={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},Vt={...Et,transform:t=>At(0,1,t)},Dt={...Et,default:1},Mt=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),Ct=Mt("deg"),kt=Mt("%"),Rt=Mt("px"),Lt=Mt("vh"),jt=Mt("vw"),Bt={...kt,parse:t=>kt.parse(t)/100,transform:t=>kt.transform(100*t)},Ft={borderWidth:Rt,borderTopWidth:Rt,borderRightWidth:Rt,borderBottomWidth:Rt,borderLeftWidth:Rt,borderRadius:Rt,radius:Rt,borderTopLeftRadius:Rt,borderTopRightRadius:Rt,borderBottomRightRadius:Rt,borderBottomLeftRadius:Rt,width:Rt,maxWidth:Rt,height:Rt,maxHeight:Rt,top:Rt,right:Rt,bottom:Rt,left:Rt,padding:Rt,paddingTop:Rt,paddingRight:Rt,paddingBottom:Rt,paddingLeft:Rt,margin:Rt,marginTop:Rt,marginRight:Rt,marginBottom:Rt,marginLeft:Rt,backgroundPositionX:Rt,backgroundPositionY:Rt},Ot={rotate:Ct,rotateX:Ct,rotateY:Ct,rotateZ:Ct,scale:Dt,scaleX:Dt,scaleY:Dt,scaleZ:Dt,skew:Ct,skewX:Ct,skewY:Ct,distance:Rt,translateX:Rt,translateY:Rt,translateZ:Rt,x:Rt,y:Rt,z:Rt,perspective:Rt,transformPerspective:Rt,opacity:Vt,originX:Bt,originY:Bt,originZ:Rt},It={...Et,transform:Math.round},Ut={...Ft,...Ot,zIndex:It,size:Rt,fillOpacity:Vt,strokeOpacity:Vt,numOctaves:It},Nt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},$t=gt.length;function Wt(t,e,n){const{style:i,vars:s,transformOrigin:o}=t;let r=!1,a=!1;for(const t in e){const n=e[t];if(yt.has(t))r=!0;else if(Pt(t))s[t]=n;else{const e=bt(n,Ut[t]);t.startsWith("origin")?(a=!0,o[t]=e):i[t]=e}}if(e.transform||(r||n?i.transform=function(t,e,n){let i="",s=!0;for(let o=0;o<$t;o++){const r=gt[o],a=t[r];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(r.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const t=bt(a,Ut[r]);l||(s=!1,i+=`${Nt[r]||r}(${t}) `),n&&(e[r]=t)}}return i=i.trim(),n?i=n(e,s?"":i):s&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),a){const{originX:t="50%",originY:e="50%",originZ:n=0}=o;i.transformOrigin=`${t} ${e} ${n}`}}const Yt={offset:"stroke-dashoffset",array:"stroke-dasharray"},Kt={offset:"strokeDashoffset",array:"strokeDasharray"};function zt(t,e,n){return"string"==typeof t?t:Rt.transform(e+n*t)}function Xt(t,{attrX:e,attrY:n,attrScale:i,originX:s,originY:o,pathLength:r,pathSpacing:a=1,pathOffset:l=0,...u},c,h){if(Wt(t,u,h),c)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:m}=t;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(void 0!==s||void 0!==o||p.transform)&&(p.transformOrigin=function(t,e,n){return`${zt(e,t.x,t.width)} ${zt(n,t.y,t.height)}`}(m,void 0!==s?s:.5,void 0!==o?o:.5)),void 0!==e&&(d.x=e),void 0!==n&&(d.y=n),void 0!==i&&(d.scale=i),void 0!==r&&function(t,e,n=1,i=0,s=!0){t.pathLength=1;const o=s?Yt:Kt;t[o.offset]=Rt.transform(-i);const r=Rt.transform(e),a=Rt.transform(n);t[o.array]=`${r} ${a}`}(d,r,a,l,!1)}const Ht=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Gt=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),qt=t=>"string"==typeof t&&"svg"===t.toLowerCase();function _t(t,{style:e,vars:n},i,s){Object.assign(t.style,e,s&&s.getProjectionStyles(i));for(const e in n)t.style.setProperty(e,n[e])}const Zt=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Jt(t,e,n,i){_t(t,e,void 0,i);for(const n in e.attrs)t.setAttribute(Zt.has(n)?n:Q(n),e.attrs[n])}const Qt={};function te(t,{layout:e,layoutId:n}){return yt.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!Qt[t]||"opacity"===t)}function ee(t,e,n){var i;const{style:s}=t,o={};for(const r in s)(pt(s[r])||e.style&&pt(e.style[r])||te(r,t)||void 0!==(null===(i=null==n?void 0:n.getValue(r))||void 0===i?void 0:i.liveStyle))&&(o[r]=s[r]);return o}function ne(t,e,n){const i=ee(t,e,n);for(const n in t)if(pt(t[n])||pt(e[n])){i[-1!==gt.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]}return i}const ie=["x","y","width","height","cx","cy","r"],se={useVisualState:ft({scrapeMotionValuesFromProps:ne,createRenderState:Gt,onUpdate:({props:t,prevProps:e,current:n,renderState:i,latestValues:s})=>{if(!n)return;let o=!!t.drag;if(!o)for(const t in s)if(yt.has(t)){o=!0;break}if(!o)return;let r=!e;if(e)for(let n=0;n<ie.length;n++){const i=ie[n];t[i]!==e[i]&&(r=!0)}r&&V.read((()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(n,i),V.render((()=>{Xt(i,s,qt(n.tagName),t.transformTemplate),Jt(n,i)}))}))}})},oe={useVisualState:ft({scrapeMotionValuesFromProps:ee,createRenderState:Ht})};function re(t,e,n){for(const i in e)pt(e[i])||te(i,n)||(t[i]=e[i])}function ae(t,e){const n={};return re(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return l((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Wt(n,e,t),Object.assign({},n.vars,n.style)}),[e])}(t,e)),n}function le(t,e){const n={},i=ae(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}function ue(t,e,n,i){const s=l((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Xt(n,e,qt(i),t.transformTemplate),{...n.attrs,style:{...n.style}}}),[e]);if(t.style){const e={};re(e,t.style,t),s.style={...e,...s.style}}return s}function ce(t=!1){return(e,n,i,{latestValues:s},o)=>{const r=(ut(e)?ue:le)(n,s,o,e),a=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"==typeof t.values||(F(s)||!0===n&&B(s)||!e&&!B(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(n,"string"==typeof e,t),u=e!==h?{...a,...r,ref:i}:{},{children:c}=n,p=l((()=>pt(c)?c.get():c),[c]);return d(e,{...u,children:p})}}function he(t,e){return function(n,{forwardMotionProps:i}={forwardMotionProps:!1}){return rt({...ut(n)?se:oe,preloadedFeatures:t,useRender:ce(i),createVisualElement:e,Component:n})}}function de(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function pe(t,e,n){const i=t.getProps();return ht(i,e,void 0!==n?n:i.custom,t)}function me(t,e){return t?t[e]||t.default||t:void 0}const fe=new Set(["width","height","top","left","right","bottom",...gt]);let ve;function ge(){ve=void 0}const ye={now:()=>(void 0===ve&&ye.set(M.isProcessing||b?M.timestamp:performance.now()),ve),set:t=>{ve=t,queueMicrotask(ge)}};function xe(t,e){-1===t.indexOf(e)&&t.push(e)}function Pe(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class we{constructor(){this.subscriptions=[]}add(t){return xe(this.subscriptions,t),()=>Pe(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Te(t,e){return e?t*(1e3/e):0}class Se{constructor(t,e={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{const n=ye.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=ye.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return"production"!==process.env.NODE_ENV&&U(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new we);const n=this.events[t].add(e);return"change"===t?()=>{n(),V.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=ye.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Te(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function be(t,e){return new Se(t,e)}function Ae(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,be(n))}function Ee(t,e){const n=t.getValue("willChange");if(i=n,Boolean(pt(i)&&i.add))return n.add(e);var i}function Ve(t){return t.props[tt]}function De(t){let e;return()=>(void 0===e&&(e=t()),e)}const Me=De((()=>void 0!==window.ScrollTimeline));class Ce{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map((t=>"finished"in t?t.finished:t)))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t,e){const n=this.animations.map((n=>Me()&&n.attachTimeline?n.attachTimeline(t):"function"==typeof e?e(n):void 0));return()=>{n.forEach(((t,e)=>{t&&t(),this.animations[e].stop()}))}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach((e=>e[t]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ke extends Ce{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}const Re=t=>1e3*t,Le=t=>t/1e3;function je(t){return"function"==typeof t}function Be(t,e){t.timeline=e,t.onfinish=null}const Fe=t=>Array.isArray(t)&&"number"==typeof t[0],Oe={linearEasing:void 0};function Ie(t,e){const n=De(t);return()=>{var t;return null!==(t=Oe[e])&&void 0!==t?t:n()}}const Ue=Ie((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),"linearEasing"),Ne=(t,e,n)=>{const i=e-t;return 0===i?1:(n-t)/i},$e=(t,e,n=10)=>{let i="";const s=Math.max(Math.round(e/n),2);for(let e=0;e<s;e++)i+=t(Ne(0,s-1,e))+", ";return`linear(${i.substring(0,i.length-2)})`};function We(t){return Boolean("function"==typeof t&&Ue()||!t||"string"==typeof t&&(t in Ke||Ue())||Fe(t)||Array.isArray(t)&&t.every(We))}const Ye=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,Ke={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ye([0,.65,.55,1]),circOut:Ye([.55,0,1,.45]),backIn:Ye([.31,.01,.66,-.59]),backOut:Ye([.33,1.53,.69,.99])};function ze(t,e){return t?"function"==typeof t&&Ue()?$e(t,e):Fe(t)?Ye(t):Array.isArray(t)?t.map((t=>ze(t,e)||Ke.easeOut)):Ke[t]:void 0}const Xe=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function He(t,e,n,i){if(t===e&&n===i)return w;const s=e=>function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=Xe(r,i,s)-t,o>0?n=r:e=r}while(Math.abs(o)>1e-7&&++a<12);return r}(e,0,1,t,n);return t=>0===t||1===t?t:Xe(s(t),e,i)}const Ge=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,qe=t=>e=>1-t(1-e),_e=He(.33,1.53,.69,.99),Ze=qe(_e),Je=Ge(Ze),Qe=t=>(t*=2)<1?.5*Ze(t):.5*(2-Math.pow(2,-10*(t-1))),tn=t=>1-Math.sin(Math.acos(t)),en=qe(tn),nn=Ge(tn),sn=t=>/^0[^.\s]+$/u.test(t);const on=t=>Math.round(1e5*t)/1e5,rn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const an=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ln=(t,e)=>n=>Boolean("string"==typeof n&&an.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),un=(t,e,n)=>i=>{if("string"!=typeof i)return i;const[s,o,r,a]=i.match(rn);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(r),alpha:void 0!==a?parseFloat(a):1}},cn={...Et,transform:t=>Math.round((t=>At(0,255,t))(t))},hn={test:ln("rgb","red"),parse:un("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+cn.transform(t)+", "+cn.transform(e)+", "+cn.transform(n)+", "+on(Vt.transform(i))+")"};const dn={test:ln("#"),parse:function(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}},transform:hn.transform},pn={test:ln("hsl","hue"),parse:un("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+kt.transform(on(e))+", "+kt.transform(on(n))+", "+on(Vt.transform(i))+")"},mn={test:t=>hn.test(t)||dn.test(t)||pn.test(t),parse:t=>hn.test(t)?hn.parse(t):pn.test(t)?pn.parse(t):dn.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?hn.transform(t):pn.transform(t)},fn=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const vn="number",gn="color",yn=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function xn(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},s=[];let o=0;const r=e.replace(yn,(t=>(mn.test(t)?(i.color.push(o),s.push(gn),n.push(mn.parse(t))):t.startsWith("var(")?(i.var.push(o),s.push("var"),n.push(t)):(i.number.push(o),s.push(vn),n.push(parseFloat(t))),++o,"${}"))).split("${}");return{values:n,split:r,indexes:i,types:s}}function Pn(t){return xn(t).values}function wn(t){const{split:e,types:n}=xn(t),i=e.length;return t=>{let s="";for(let o=0;o<i;o++)if(s+=e[o],void 0!==t[o]){const e=n[o];s+=e===vn?on(t[o]):e===gn?mn.transform(t[o]):t[o]}return s}}const Tn=t=>"number"==typeof t?0:t;const Sn={test:function(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(rn))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(fn))||void 0===n?void 0:n.length)||0)>0},parse:Pn,createTransformer:wn,getAnimatableNone:function(t){const e=Pn(t);return wn(t)(e.map(Tn))}},bn=new Set(["brightness","contrast","saturate","opacity"]);function An(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(rn)||[];if(!i)return t;const s=n.replace(i,"");let o=bn.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+s+")"}const En=/\b([a-z-]*)\(.*?\)/gu,Vn={...Sn,getAnimatableNone:t=>{const e=t.match(En);return e?e.map(An).join(" "):t}},Dn={...Ut,color:mn,backgroundColor:mn,outlineColor:mn,fill:mn,stroke:mn,borderColor:mn,borderTopColor:mn,borderRightColor:mn,borderBottomColor:mn,borderLeftColor:mn,filter:Vn,WebkitFilter:Vn},Mn=t=>Dn[t];function Cn(t,e){let n=Mn(t);return n!==Vn&&(n=Sn),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const kn=new Set(["auto","none","0"]);const Rn=t=>t===Et||t===Rt,Ln=(t,e)=>parseFloat(t.split(", ")[e]),jn=(t,e)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/u);if(s)return Ln(s[1],e);{const e=i.match(/^matrix\((.+)\)$/u);return e?Ln(e[1],t):0}},Bn=new Set(["x","y","z"]),Fn=gt.filter((t=>!Bn.has(t)));const On={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:jn(4,13),y:jn(5,14)};On.translateX=On.x,On.translateY=On.y;const In=new Set;let Un=!1,Nn=!1;function $n(){if(Nn){const t=Array.from(In).filter((t=>t.needsMeasurement)),e=new Set(t.map((t=>t.element))),n=new Map;e.forEach((t=>{const e=function(t){const e=[];return Fn.forEach((n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))})),e}(t);e.length&&(n.set(t,e),t.render())})),t.forEach((t=>t.measureInitialState())),e.forEach((t=>{t.render();const e=n.get(t);e&&e.forEach((([e,n])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(n)}))})),t.forEach((t=>t.measureEndState())),t.forEach((t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)}))}Nn=!1,Un=!1,In.forEach((t=>t.complete())),In.clear()}function Wn(){In.forEach((t=>{t.readKeyframes(),t.needsMeasurement&&(Nn=!0)}))}class Yn{constructor(t,e,n,i,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(In.add(this),Un||(Un=!0,V.read(Wn),V.resolveKeyframes($n))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;for(let s=0;s<t.length;s++)if(null===t[s])if(0===s){const s=null==i?void 0:i.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&&e){const i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===s&&i.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),In.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,In.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Kn=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),zn=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Xn(t,e,n=1){S(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,s]=function(t){const e=zn.exec(t);if(!e)return[,];const[,n,i,s]=e;return[`--${null!=n?n:i}`,s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return Kn(t)?parseFloat(t):t}return Tt(s)?Xn(s,e,n+1):s}const Hn=t=>e=>e.test(t),Gn=[Et,Rt,kt,Ct,jt,Lt,{test:t=>"auto"===t,parse:t=>t}],qn=t=>Gn.find(Hn(t));class _n extends Yn{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i&&(i=i.trim(),Tt(i))){const s=Xn(i,e.current);void 0!==s&&(t[n]=s),n===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!fe.has(n)||2!==t.length)return;const[i,s]=t,o=qn(i),r=qn(s);if(o!==r)if(Rn(o)&&Rn(r))for(let e=0;e<t.length;e++){const n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++)("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||sn(i))&&n.push(e);var i;n.length&&function(t,e,n){let i,s=0;for(;s<t.length&&!i;){const e=t[s];"string"==typeof e&&!kn.has(e)&&xn(e).values.length&&(i=t[s]),s++}if(i&&n)for(const s of e)t[s]=Cn(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=On[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){var t;const{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;const s=e.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=i.length-1,r=i[o];i[o]=On[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEach((([t,n])=>{e.getValue(t).set(n)})),this.resolveNoneKeyframes()}}const Zn=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Sn.test(t)&&"0"!==t||t.startsWith("url(")));function Jn(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=Zn(s,e),a=Zn(o,e);return T(r===a,`You are trying to animate ${e} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||je(n))&&i)}const Qn=t=>null!==t;function ti(t,{repeat:e,repeatType:n="loop"},i){const s=t.filter(Qn),o=e&&"loop"!==n&&e%2==1?0:s.length-1;return o&&void 0!==i?i:s[o]}class ei{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",...r}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=ye.now(),this.options={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:s,repeatType:o,...r},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(Wn(),$n()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=ye.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:s,delay:o,onComplete:r,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Jn(t,n,i,s)){if(!o)return a&&a(ti(t,this.options,e)),r&&r(),void this.resolveFinishedPromise();this.options.duration=0}const u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((t=>{this.resolveFinishedPromise=t}))}}const ni=2e4;function ii(t){let e=0;let n=t.next(e);for(;!n.done&&e<ni;)e+=50,n=t.next(e);return e>=ni?1/0:e}const si=(t,e,n)=>t+(e-t)*n;function oi(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function ri(t,e){return n=>n>0?e:t}const ai=(t,e,n)=>{const i=t*t,s=n*(e*e-i)+i;return s<0?0:Math.sqrt(s)},li=[dn,hn,pn];function ui(t){const e=(n=t,li.find((t=>t.test(n))));var n;if(T(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(e))return!1;let i=e.parse(t);return e===pn&&(i=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;s=oi(a,i,t+1/3),o=oi(a,i,t),r=oi(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(i)),i}const ci=(t,e)=>{const n=ui(t),i=ui(e);if(!n||!i)return ri(t,e);const s={...n};return t=>(s.red=ai(n.red,i.red,t),s.green=ai(n.green,i.green,t),s.blue=ai(n.blue,i.blue,t),s.alpha=si(n.alpha,i.alpha,t),hn.transform(s))},hi=(t,e)=>n=>e(t(n)),di=(...t)=>t.reduce(hi),pi=new Set(["none","hidden"]);function mi(t,e){return n=>si(t,e,n)}function fi(t){return"number"==typeof t?mi:"string"==typeof t?Tt(t)?ri:mn.test(t)?ci:yi:Array.isArray(t)?vi:"object"==typeof t?mn.test(t)?ci:gi:ri}function vi(t,e){const n=[...t],i=n.length,s=t.map(((t,n)=>fi(t)(t,e[n])));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}}function gi(t,e){const n={...t,...e},i={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(i[s]=fi(t[s])(t[s],e[s]));return t=>{for(const e in i)n[e]=i[e](t);return n}}const yi=(t,e)=>{const n=Sn.createTransformer(e),i=xn(t),s=xn(e);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?pi.has(t)&&!s.values.length||pi.has(e)&&!i.values.length?function(t,e){return pi.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):di(vi(function(t,e){var n;const i=[],s={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const r=e.types[o],a=t.indexes[r][s[r]],l=null!==(n=t.values[a])&&void 0!==n?n:0;i[o]=l,s[r]++}return i}(i,s),s.values),n):(T(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ri(t,e))};function xi(t,e,n){if("number"==typeof t&&"number"==typeof e&&"number"==typeof n)return si(t,e,n);return fi(t)(t,e)}function Pi(t,e,n){const i=Math.max(e-5,0);return Te(n-t(i),e-i)}const wi=100,Ti=10,Si=1,bi=0,Ai=800,Ei=.3,Vi=.3,Di={granular:.01,default:2},Mi={granular:.005,default:.5},Ci=.01,ki=10,Ri=.05,Li=1;function ji({duration:t=Ai,bounce:e=Ei,velocity:n=bi,mass:i=Si}){let s,o;T(t<=Re(ki),"Spring duration must be 10 seconds or less");let r=1-e;r=At(Ri,Li,r),t=At(Ci,ki,Le(t)),r<1?(s=e=>{const i=e*r,s=i*t;return.001-(i-n)/Fi(e,r)*Math.exp(-s)},o=e=>{const i=e*r*t,o=i*n+n,a=Math.pow(r,2)*Math.pow(e,2)*t,l=Math.exp(-i),u=Fi(Math.pow(e,2),r);return(.001-s(e)>0?-1:1)*((o-a)*l)/u}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,o=e=>Math.exp(-e*t)*(t*t*(n-e)));const a=function(t,e,n){let i=n;for(let n=1;n<Bi;n++)i-=t(i)/e(i);return i}(s,o,5/t);if(t=Re(t),isNaN(a))return{stiffness:wi,damping:Ti,duration:t};{const e=Math.pow(a,2)*i;return{stiffness:e,damping:2*r*Math.sqrt(i*e),duration:t}}}const Bi=12;function Fi(t,e){return t*Math.sqrt(1-e*e)}const Oi=["duration","bounce"],Ii=["stiffness","damping","mass"];function Ui(t,e){return e.some((e=>void 0!==t[e]))}function Ni(t=Vi,e=Ei){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:s}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:p}=function(t){let e={velocity:bi,stiffness:wi,damping:Ti,mass:Si,isResolvedFromDuration:!1,...t};if(!Ui(t,Ii)&&Ui(t,Oi))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),s=i*i,o=2*At(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:Si,stiffness:s,damping:o}}else{const n=ji(t);e={...e,...n,mass:Si},e.isResolvedFromDuration=!0}return e}({...n,velocity:-Le(n.velocity||0)}),m=d||0,f=u/(2*Math.sqrt(l*c)),v=r-o,g=Le(Math.sqrt(l/c)),y=Math.abs(v)<5;let x;if(i||(i=y?Di.granular:Di.default),s||(s=y?Mi.granular:Mi.default),f<1){const t=Fi(g,f);x=e=>{const n=Math.exp(-f*g*e);return r-n*((m+f*g*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}}else if(1===f)x=t=>r-Math.exp(-g*t)*(v+(m+g*v)*t);else{const t=g*Math.sqrt(f*f-1);x=e=>{const n=Math.exp(-f*g*e),i=Math.min(t*e,300);return r-n*((m+f*g*v)*Math.sinh(i)+t*v*Math.cosh(i))/t}}const P={calculatedDuration:p&&h||null,next:t=>{const e=x(t);if(p)a.done=t>=h;else{let n=0;f<1&&(n=0===t?Re(m):Pi(x,t,e));const o=Math.abs(n)<=i,l=Math.abs(r-e)<=s;a.done=o&&l}return a.value=a.done?r:e,a},toString:()=>{const t=Math.min(ii(P),ni),e=$e((e=>P.next(t*e).value),t,30);return t+"ms "+e}};return P}function $i({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],d={done:!1,value:h},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let m=n*e;const f=h+m,v=void 0===r?f:r(f);v!==f&&(m=v-h);const g=t=>-m*Math.exp(-t/i),y=t=>v+g(t),x=t=>{const e=g(t),n=y(t);d.done=Math.abs(e)<=u,d.value=d.done?v:n};let P,w;const T=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(P=t,w=Ni({keyframes:[d.value,p(d.value)],velocity:Pi(y,t,d.value),damping:s,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return w||void 0!==P||(e=!0,x(t),T(t)),void 0!==P&&t>=P?w.next(t-P):(!e&&x(t),d)}}}const Wi=He(.42,0,1,1),Yi=He(0,0,.58,1),Ki=He(.42,0,.58,1),zi={linear:w,easeIn:Wi,easeInOut:Ki,easeOut:Yi,circIn:tn,circInOut:nn,circOut:en,backIn:Ze,backInOut:Je,backOut:_e,anticipate:Qe},Xi=t=>{if(Fe(t)){S(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,s]=t;return He(e,n,i,s)}return"string"==typeof t?(S(void 0!==zi[t],`Invalid easing type '${t}'`),zi[t]):t};function Hi(t,e,{clamp:n=!0,ease:i,mixer:s}={}){const o=t.length;if(S(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,n){const i=[],s=n||xi,o=t.length-1;for(let n=0;n<o;n++){let o=s(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]||w:e;o=di(t,o)}i.push(o)}return i}(e,i,s),l=a.length,u=n=>{if(r&&n<t[0])return e[0];let i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const s=Ne(t[i],t[i+1],n);return a[i](s)};return n?e=>u(At(t[0],t[o-1],e)):u}function Gi(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const s=Ne(0,e,i);t.push(si(n,1,s))}}(e,t.length-1),e}function qi({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const s=(t=>Array.isArray(t)&&"number"!=typeof t[0])(i)?i.map(Xi):Xi(i),o={done:!1,value:e[0]},r=function(t,e){return t.map((t=>t*e))}(n&&n.length===e.length?n:Gi(e),t),a=Hi(r,e,{ease:Array.isArray(s)?s:(l=e,u=s,l.map((()=>u||Ki)).splice(0,l.length-1))});var l,u;return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}const _i=t=>{const e=({timestamp:e})=>t(e);return{start:()=>V.update(e,!0),stop:()=>D(e),now:()=>M.isProcessing?M.timestamp:ye.now()}},Zi={decay:$i,inertia:$i,tween:qi,keyframes:qi,spring:Ni},Ji=t=>t/100;class Qi extends ei{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:t}=this.options;t&&t()};const{name:e,motionValue:n,element:i,keyframes:s}=this.options,o=(null==i?void 0:i.KeyframeResolver)||Yn;this.resolver=new o(s,((t,e)=>this.onKeyframesResolved(t,e)),e,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:e="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,r=je(e)?e:Zi[e]||qi;let a,l;r!==qi&&"number"!=typeof t[0]&&("production"!==process.env.NODE_ENV&&S(2===t.length,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${t}`),a=di(Ji,xi(t[0],t[1])),t=[0,100]);const u=r({...this.options,keyframes:t});"mirror"===s&&(l=r({...this.options,keyframes:[...t].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=ii(u));const{calculatedDuration:c}=u,h=c+i;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(n+1)-i}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){const{resolved:n}=this;if(!n){const{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:r,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return s.next(0);const{delay:h,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const v=this.currentTime-h*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=s;if(d){const t=Math.min(this.currentTime,u)/c;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,d+1);Boolean(e%2)&&("reverse"===p?(n=1-n,m&&(n-=m/c)):"mirror"===p&&(x=o)),y=At(0,1,n)*c}const P=g?{done:!1,value:a[0]}:x.next(y);r&&(P.value=r(P.value));let{done:w}=P;g||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&void 0!==i&&(P.value=ti(a,this.options,i)),f&&f(P.value),T&&this.finish(),P}get duration(){const{resolved:t}=this;return t?Le(t.calculatedDuration):0}get time(){return Le(this.currentTime)}set time(t){t=Re(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=Le(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:t=_i,onPlay:e,startTime:n}=this.options;this.driver||(this.driver=t((t=>this.tick(t)))),e&&e();const i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;this._resolved?(this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const ts=new Set(["opacity","clipPath","filter","transform"]);function es(t,e,n,{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeInOut",times:l}={}){const u={[e]:n};l&&(u.offset=l);const c=ze(a,s);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:i,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"})}const ns=De((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const is={anticipate:Qe,backInOut:Je,circInOut:nn};class ss extends ei{constructor(t){super(t);const{name:e,motionValue:n,element:i,keyframes:s}=this.options;this.resolver=new _n(s,((t,e)=>this.onKeyframesResolved(t,e)),e,n,i),this.resolver.scheduleResolve()}initPlayback(t,e){let{duration:n=300,times:i,ease:s,type:o,motionValue:r,name:a,startTime:l}=this.options;if(!r.owner||!r.owner.current)return!1;var u;if("string"==typeof s&&Ue()&&s in is&&(s=is[s]),je((u=this.options).type)||"spring"===u.type||!We(u.ease)){const{onComplete:e,onUpdate:r,motionValue:a,element:l,...u}=this.options,c=function(t,e){const n=new Qi({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const s=[];let o=0;for(;!i.done&&o<2e4;)i=n.sample(o),s.push(i.value),o+=10;return{times:void 0,keyframes:s,duration:o-10,ease:"linear"}}(t,u);1===(t=c.keyframes).length&&(t[1]=t[0]),n=c.duration,i=c.times,s=c.ease,o="keyframes"}const c=es(r.owner.current,a,t,{...this.options,duration:n,times:i,ease:s});return c.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(Be(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;r.set(ti(t,this.options,e)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:i,type:o,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:e}=t;return Le(e)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:e}=t;return Le(e.currentTime||0)}set time(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.currentTime=Re(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:e}=t;return e.playbackRate}set speed(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:e}=t;return e.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){const{resolved:e}=this;if(!e)return w;const{animation:n}=e;Be(n,t)}else this.pendingTimeline=t;return w}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:e,keyframes:n,duration:i,type:s,ease:o,times:r}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){const{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,c=new Qi({...u,keyframes:n,duration:i,type:s,ease:o,times:r,isGenerator:!0}),h=Re(this.time);t.setWithVelocity(c.sample(h-10).value,c.sample(h).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:s,damping:o,type:r}=t;if(!(e&&e.owner&&e.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=e.owner.getProps();return ns()&&n&&ts.has(n)&&!a&&!l&&!i&&"mirror"!==s&&0!==o&&"inertia"!==r}}const os={type:"spring",stiffness:500,damping:25,restSpeed:10},rs={type:"keyframes",duration:.8},as={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ls=(t,{keyframes:e})=>e.length>2?rs:yt.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:os:as;const us=(t,e,n,i={},s,o)=>r=>{const a=me(i,t)||{},l=a.delay||i.delay||0;let{elapsed:u=0}=i;u-=Re(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:s};(function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:s,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(a)||(c={...c,...ls(t,c)}),c.duration&&(c.duration=Re(c.duration)),c.repeatDelay&&(c.repeatDelay=Re(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(c.duration=0,0===c.delay&&(h=!0)),h&&!o&&void 0!==e.get()){const t=ti(c.keyframes,a);if(void 0!==t)return V.update((()=>{c.onUpdate(t),c.onComplete()})),new ke([])}return!o&&ss.supports(c)?new ss(c):new Qi(c)};function cs({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}function hs(t,e,{delay:n=0,transitionOverride:i,type:s}={}){var o;let{transition:r=t.getDefaultTransition(),transitionEnd:a,...l}=e;i&&(r=i);const u=[],c=s&&t.animationState&&t.animationState.getState()[s];for(const e in l){const i=t.getValue(e,null!==(o=t.latestValues[e])&&void 0!==o?o:null),s=l[e];if(void 0===s||c&&cs(c,e))continue;const a={delay:n,...me(r||{},e)};let h=!1;if(window.MotionHandoffAnimation){const n=Ve(t);if(n){const t=window.MotionHandoffAnimation(n,e,V);null!==t&&(a.startTime=t,h=!0)}}Ee(t,e),i.start(us(e,i,s,t.shouldReduceMotion&&fe.has(e)?{type:!1}:a,t,h));const d=i.animation;d&&u.push(d)}return a&&Promise.all(u).then((()=>{V.update((()=>{a&&function(t,e){const n=pe(t,e);let{transitionEnd:i={},transition:s={},...o}=n||{};o={...o,...i};for(const e in o)Ae(t,e,(r=o[e],dt(r)?r[r.length-1]||0:r));var r}(t,a)}))})),u}function ds(t,e,n={}){var i;const s=pe(t,e,"exit"===n.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(o=n.transitionOverride);const r=s?()=>Promise.all(hs(t,s,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e,n=0,i=0,s=1,o){const r=[],a=(t.variantChildren.size-1)*i,l=1===s?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(ps).forEach(((t,i)=>{t.notify("AnimationStart",e),r.push(ds(t,e,{...o,delay:n+l(i)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(r)}(t,e,s+i,r,a,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[r,a]:[a,r];return t().then((()=>e()))}return Promise.all([r(),a(n.delay)])}function ps(t,e){return t.sortNodePosition(e)}const ms=z.length;function fs(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&fs(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<ms;n++){const i=z[n],s=t.props[i];(W(s)||!1===s)&&(e[i]=s)}return e}const vs=[...K].reverse(),gs=K.length;function ys(t){return e=>Promise.all(e.map((({animation:e,options:n})=>function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map((e=>ds(t,e,n)));i=Promise.all(s)}else if("string"==typeof e)i=ds(t,e,n);else{const s="function"==typeof e?pe(t,e,n.custom):e;i=Promise.all(hs(t,s,n))}return i.then((()=>{t.notify("AnimationComplete",e)}))}(t,e,n))))}function xs(t){let e=ys(t),n=Ts(),i=!0;const s=e=>(n,i)=>{var s;const o=pe(t,i,"exit"===e?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0);if(o){const{transition:t,transitionEnd:e,...i}=o;n={...n,...i,...e}}return n};function o(o){const{props:r}=t,a=fs(t.parent)||{},l=[],u=new Set;let c={},h=1/0;for(let e=0;e<gs;e++){const d=vs[e],p=n[d],m=void 0!==r[d]?r[d]:a[d],f=W(m),v=d===o?p.isActive:null;!1===v&&(h=e);let g=m===a[d]&&m!==r[d]&&f;if(g&&i&&t.manuallyAnimateOnMount&&(g=!1),p.protectedKeys={...c},!p.isActive&&null===v||!m&&!p.prevProp||Y(m)||"boolean"==typeof m)continue;const y=Ps(p.prevProp,m);let x=y||d===o&&p.isActive&&!g&&f||e>h&&f,P=!1;const w=Array.isArray(m)?m:[m];let T=w.reduce(s(d),{});!1===v&&(T={});const{prevResolvedValues:S={}}=p,b={...S,...T},A=e=>{x=!0,u.has(e)&&(P=!0,u.delete(e)),p.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in b){const e=T[t],n=S[t];if(c.hasOwnProperty(t))continue;let i=!1;i=dt(e)&&dt(n)?!de(e,n):e!==n,i?null!=e?A(t):u.add(t):void 0!==e&&u.has(t)?A(t):p.protectedKeys[t]=!0}p.prevProp=m,p.prevResolvedValues=T,p.isActive&&(c={...c,...T}),i&&t.blockInitialAnimation&&(x=!1);x&&(!(g&&y)||P)&&l.push(...w.map((t=>({animation:t,options:{type:d}}))))}if(u.size){const e={};u.forEach((n=>{const i=t.getBaseTarget(n),s=t.getValue(n);s&&(s.liveStyle=!0),e[n]=null!=i?i:null})),l.push({animation:e})}let d=Boolean(l.length);return!i||!1!==r.initial&&r.initial!==r.animate||t.manuallyAnimateOnMount||(d=!1),i=!1,d?e(l):Promise.resolve()}return{animateChanges:o,setActive:function(e,i){var s;if(n[e].isActive===i)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach((t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)})),n[e].isActive=i;const r=o(e);for(const t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=Ts(),i=!0}}}function Ps(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!de(e,t)}function ws(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ts(){return{animate:ws(!0),whileInView:ws(),whileHover:ws(),whileTap:ws(),whileDrag:ws(),whileFocus:ws(),exit:ws()}}class Ss{constructor(t){this.isMounted=!1,this.node=t}update(){}}let bs=0;const As={animation:{Feature:class extends Ss{constructor(t){super(t),t.animationState||(t.animationState=xs(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Y(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}},exit:{Feature:class extends Ss{constructor(){super(...arguments),this.id=bs++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then((()=>e(this.id)))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}},Es={x:!1,y:!1};function Vs(){return Es.x||Es.y}const Ds=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function Ms(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function Cs(t){return{point:{x:t.pageX,y:t.pageY}}}function ks(t,e,n,i){return Ms(t,e,(t=>e=>Ds(e)&&t(e,Cs(e)))(n),i)}const Rs=(t,e)=>Math.abs(t-e);class Ls{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Fs(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=Rs(t.x,e.x),i=Rs(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=M;this.history.push({...i,timestamp:s});const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=js(e,this.transformPagePoint),V.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=Fs("pointercancel"===t.type?this.lastMoveEventInfo:js(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!Ds(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;const o=js(Cs(t),this.transformPagePoint),{point:r}=o,{timestamp:a}=M;this.history=[{...r,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,Fs(o,this.history)),this.removeListeners=di(ks(this.contextWindow,"pointermove",this.handlePointerMove),ks(this.contextWindow,"pointerup",this.handlePointerUp),ks(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),D(this.updatePoint)}}function js(t,e){return e?{point:e(t.point)}:t}function Bs(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Fs({point:t},e){return{point:t,delta:Bs(t,Is(e)),offset:Bs(t,Os(e)),velocity:Us(e,.1)}}function Os(t){return t[0]}function Is(t){return t[t.length-1]}function Us(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=Is(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>Re(e)));)n--;if(!i)return{x:0,y:0};const o=Le(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function Ns(t){return t.max-t.min}function $s(t,e,n,i=.5){t.origin=i,t.originPoint=si(e.min,e.max,t.origin),t.scale=Ns(n)/Ns(e),t.translate=si(n.min,n.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function Ws(t,e,n,i){$s(t.x,e.x,n.x,i?i.originX:void 0),$s(t.y,e.y,n.y,i?i.originY:void 0)}function Ys(t,e,n){t.min=n.min+e.min,t.max=t.min+Ns(e)}function Ks(t,e,n){t.min=e.min-n.min,t.max=t.min+Ns(e)}function zs(t,e,n){Ks(t.x,e.x,n.x),Ks(t.y,e.y,n.y)}function Xs(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Hs(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}const Gs=.35;function qs(t,e,n){return{min:_s(t,e),max:_s(t,n)}}function _s(t,e){return"number"==typeof t?t:t[e]||0}const Zs=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Js(t){return[t("x"),t("y")]}function Qs({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function to(t){return void 0===t||1===t}function eo({scale:t,scaleX:e,scaleY:n}){return!to(t)||!to(e)||!to(n)}function no(t){return eo(t)||io(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function io(t){return so(t.x)||so(t.y)}function so(t){return t&&"0%"!==t}function oo(t,e,n){return n+e*(t-n)}function ro(t,e,n,i,s){return void 0!==s&&(t=oo(t,s,i)),oo(t,n,i)+e}function ao(t,e=0,n=1,i,s){t.min=ro(t.min,e,n,i,s),t.max=ro(t.max,e,n,i,s)}function lo(t,{x:e,y:n}){ao(t.x,e.translate,e.scale,e.originPoint),ao(t.y,n.translate,n.scale,n.originPoint)}const uo=.999999999999,co=1.0000000000001;function ho(t,e){t.min=t.min+e,t.max=t.max+e}function po(t,e,n,i,s=.5){ao(t,e,n,si(t.min,t.max,s),i)}function mo(t,e){po(t.x,e.x,e.scaleX,e.scale,e.originX),po(t.y,e.y,e.scaleY,e.scale,e.originY)}function fo(t,e){return Qs(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}const vo=({current:t})=>t?t.ownerDocument.defaultView:null,go=new WeakMap;class yo{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new Ls(t,{onSessionStart:t=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(Cs(t).point)},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?Es[o]?null:(Es[o]=!0,()=>{Es[o]=!1}):Es.x||Es.y?null:(Es.x=Es.y=!0,()=>{Es.x=Es.y=!1}),!this.openDragLock))return;var o;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Js((t=>{let e=this.getAxisMotionValue(t).get()||0;if(kt.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];if(i){e=Ns(i)*(parseFloat(e)/100)}}}this.originPoint[t]=e})),s&&V.postRender((()=>s(t,e))),Ee(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>Js((t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:vo(this.visualElement)})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=e;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&V.postRender((()=>s(t,e)))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!xo(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?si(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?si(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,s=this.constraints;e&&Z(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!i)&&function(t,{top:e,left:n,bottom:i,right:s}){return{x:Xs(t.x,n,s),y:Xs(t.y,e,i)}}(i.layoutBox,e),this.elastic=function(t=Gs){return!1===t?t=0:!0===t&&(t=Gs),{x:qs(t,"left","right"),y:qs(t,"top","bottom")}}(n),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Js((t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!Z(t))return!1;const n=t.current;S(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=function(t,e,n){const i=fo(t,n),{scroll:s}=e;return s&&(ho(i.x,s.offset.x),ho(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:Hs(t.x,e.x),y:Hs(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=Qs(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Js((r=>{if(!xo(r,e,this.currentDirection))return;let l=a[r]||{};o&&(l={min:0,max:0});const u=i?200:1e6,c=i?40:1e7,h={type:"inertia",velocity:n?t[r]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(r,h)}));return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return Ee(this.visualElement,t),n.start(us(t,n,0,e,this.visualElement,!1))}stopAnimation(){Js((t=>this.getAxisMotionValue(t).stop()))}pauseAnimation(){Js((t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()}))}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Js((e=>{const{drag:n}=this.getProps();if(!xo(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e];s.set(t[e]-si(n,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!Z(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Js((t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=Ns(t),s=Ns(e);return s>i?n=Ne(e.min,e.max-i,t.min):i>s&&(n=Ne(t.min,t.max-s,e.min)),At(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Js((e=>{if(!xo(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set(si(s,o,i[e]))}))}addListeners(){if(!this.visualElement.current)return;go.set(this.visualElement,this);const t=ks(this.visualElement.current,"pointerdown",(t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)})),e=()=>{const{dragConstraints:t}=this.getProps();Z(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),V.read(e);const s=Ms(window,"resize",(()=>this.scalePositionWithinConstraints())),o=n.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(Js((e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))})),this.visualElement.render())}));return()=>{s(),t(),i(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Gs,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function xo(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const Po=t=>(e,n)=>{t&&V.postRender((()=>t(e,n)))};const wo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function To(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const So={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!Rt.test(t))return t;t=parseFloat(t)}return`${To(t,e.target.x)}% ${To(t,e.target.y)}%`}},bo={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,s=Sn.parse(t);if(s.length>5)return i;const o=Sn.createTransformer(t),r="number"!=typeof s[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;s[0+r]/=a,s[1+r]/=l;const u=si(a,l,.5);return"number"==typeof s[2+r]&&(s[2+r]/=u),"number"==typeof s[3+r]&&(s[3+r]/=u),o(s)}};class Ao extends p{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;!function(t){for(const e in t)Qt[e]=t[e],Pt(e)&&(Qt[e].isCSSVariable=!0)}(Vo),s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(()=>{this.safeToRemove()})),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),wo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,o=n.projection;return o?(o.isPresent=s,i||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||V.postRender((()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),et.postRender((()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Eo(e){const[n,s]=y(),o=i(m);return t.jsx(Ao,{...e,layoutGroup:o,switchLayoutGroup:i(it),isPresent:n,safeToRemove:s})}const Vo={borderRadius:{...So,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:So,borderTopRightRadius:So,borderBottomLeftRadius:So,borderBottomRightRadius:So,boxShadow:bo};const Do=(t,e)=>t.depth-e.depth;class Mo{constructor(){this.children=[],this.isDirty=!1}add(t){xe(this.children,t),this.isDirty=!0}remove(t){Pe(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Do),this.isDirty=!1,this.children.forEach(t)}}const Co=["TopLeft","TopRight","BottomLeft","BottomRight"],ko=Co.length,Ro=t=>"string"==typeof t?parseFloat(t):t,Lo=t=>"number"==typeof t||Rt.test(t);function jo(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const Bo=Oo(0,.5,en),Fo=Oo(.5,.95,w);function Oo(t,e,n){return i=>i<t?0:i>e?1:n(Ne(t,e,i))}function Io(t,e){t.min=e.min,t.max=e.max}function Uo(t,e){Io(t.x,e.x),Io(t.y,e.y)}function No(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function $o(t,e,n,i,s){return t=oo(t-=e,1/n,i),void 0!==s&&(t=oo(t,1/s,i)),t}function Wo(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){kt.test(e)&&(e=parseFloat(e),e=si(r.min,r.max,e/100)-r.min);if("number"!=typeof e)return;let a=si(o.min,o.max,i);t===o&&(a-=e),t.min=$o(t.min,e,n,a,s),t.max=$o(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}const Yo=["x","scaleX","originX"],Ko=["y","scaleY","originY"];function zo(t,e,n,i){Wo(t.x,e,Yo,n?n.x:void 0,i?i.x:void 0),Wo(t.y,e,Ko,n?n.y:void 0,i?i.y:void 0)}function Xo(t){return 0===t.translate&&1===t.scale}function Ho(t){return Xo(t.x)&&Xo(t.y)}function Go(t,e){return t.min===e.min&&t.max===e.max}function qo(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function _o(t,e){return qo(t.x,e.x)&&qo(t.y,e.y)}function Zo(t){return Ns(t.x)/Ns(t.y)}function Jo(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Qo{constructor(){this.members=[]}add(t){xe(this.members,t),t.scheduleRender()}remove(t){if(Pe(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let n;for(let t=e;t>=0;t--){const e=this.members[t];if(!1!==e.isPresent){n=e;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach((t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const tr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},er="undefined"!=typeof window&&void 0!==window.MotionDebug,nr=["","X","Y","Z"],ir={visibility:"hidden"};let sr=0;function or(t,e,n,i){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),i&&(i[t]=0))}function rr(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Ve(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",V,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&rr(i)}function ar({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t={},n=(null==e?void 0:e())){this.id=sr++,this.animationId=0,this.children=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=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,er&&(tr.totalNodes=tr.resolvedTargetDeltas=tr.recalculatedProjection=0),this.nodes.forEach(cr),this.nodes.forEach(gr),this.nodes.forEach(yr),this.nodes.forEach(hr),er&&window.MotionDebug.record(tr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new Mo)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new we),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=e)instanceof SVGElement&&"svg"!==i.tagName,this.instance=e;const{layoutId:s,layout:o,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||s)&&(this.isLayoutDirty=!0),t){let n;const i=()=>this.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=ye.now(),i=({timestamp:s})=>{const o=s-n;o>=e&&(D(i),t(o-e))};return V.read(i,!0),()=>D(i)}(i,250),wo.hasAnimatedSinceResize&&(wo.hasAnimatedSinceResize=!1,this.nodes.forEach(vr))}))}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&r&&(s||o)&&this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||r.getDefaultTransition()||br,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!_o(this.targetLayout,i),u=!e&&n;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);const e={...me(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||vr(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,D(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(xr),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&rr(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){const e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(pr);this.isUpdating||this.nodes.forEach(mr),this.isUpdating=!1,this.nodes.forEach(fr),this.nodes.forEach(lr),this.nodes.forEach(ur),this.clearAllSnapshots();const t=ye.now();M.delta=At(0,1e3/60,t-M.timestamp),M.timestamp=t,M.isProcessing=!0,C.update.process(M),C.preRender.process(M),C.render.process(M),M.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,et.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(dr),this.sharedNodes.forEach(Pr)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,V.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){V.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Ns(this.snapshot.measuredBox.x)||Ns(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++){this.path[t].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!Ho(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&(e||no(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),Vr((i=n).x),Vr(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const n=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(Mr))){const{scroll:t}=this.root;t&&(ho(n.x,t.offset.x),ho(n.y,t.offset.y))}return n}removeElementScroll(t){var e;const n={x:{min:0,max:0},y:{min:0,max:0}};if(Uo(n,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return n;for(let e=0;e<this.path.length;e++){const i=this.path[e],{scroll:s,options:o}=i;i!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&Uo(n,t),ho(n.x,s.offset.x),ho(n.y,s.offset.y))}return n}applyTransform(t,e=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Uo(n,t);for(let t=0;t<this.path.length;t++){const i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&mo(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),no(i.latestValues)&&mo(n,i.latestValues)}return no(this.latestValues)&&mo(n,this.latestValues),n}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};Uo(e,t);for(let t=0;t<this.path.length;t++){const n=this.path[t];if(!n.instance)continue;if(!no(n.latestValues))continue;eo(n.latestValues)&&n.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};Uo(i,n.measurePageBox()),zo(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return no(this.latestValues)&&zo(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==M.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(this.layout&&(s||o)){if(this.resolvedRelativeTargetAt=M.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},zs(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),Uo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var r,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,Ys(r.x,a.x,l.x),Ys(r.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Uo(this.target,this.layout.layoutBox),lo(this.target,this.targetDelta)):Uo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},zs(this.relativeTargetOrigin,this.target,t.target),Uo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}er&&tr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!eo(this.parent.latestValues)&&!io(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let i=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===M.timestamp&&(i=!1),i)return;const{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&&!o)return;Uo(this.layoutCorrected,this.layout.layoutBox);const r=this.treeScale.x,a=this.treeScale.y;!function(t,e,n,i=!1){const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=n[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&mo(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,lo(t,r)),i&&no(o.latestValues)&&mo(t,o.latestValues))}e.x<co&&e.x>uo&&(e.x=1),e.y<co&&e.y>uo&&(e.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=e;l?(this.projectionDelta&&this.prevProjectionDelta?(No(this.prevProjectionDelta.x,this.projectionDelta.x),No(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ws(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&Jo(this.projectionDelta.x,this.prevProjectionDelta.x)&&Jo(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),er&&tr.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t,e=!1){const n=this.snapshot,i=n?n.latestValues:{},s={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(Sr));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var l,d,p,m,f,v;wr(o.x,t.x,n),wr(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(zs(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=r,v=n,Tr(p.x,m.x,f.x,v),Tr(p.y,m.y,f.y,v),h&&(l=this.relativeTarget,d=h,Go(l.x,d.x)&&Go(l.y,d.y))&&(this.isProjectionDirty=!1),h||(h={x:{min:0,max:0},y:{min:0,max:0}}),Uo(h,this.relativeTarget)),a&&(this.animationValues=s,function(t,e,n,i,s,o){s?(t.opacity=si(0,void 0!==n.opacity?n.opacity:1,Bo(i)),t.opacityExit=si(void 0!==e.opacity?e.opacity:1,0,Fo(i))):o&&(t.opacity=si(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let s=0;s<ko;s++){const o=`border${Co[s]}Radius`;let r=jo(e,o),a=jo(n,o);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||Lo(r)===Lo(a)?(t[o]=Math.max(si(Ro(r),Ro(a),i),0),(kt.test(a)||kt.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||n.rotate)&&(t.rotate=si(e.rotate||0,n.rotate||0,i))}(s,i,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(D(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.update((()=>{wo.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){const i=pt(t)?t:be(t);return i.start(us("",i,e,n)),i.animation}(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&Dr(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=Ns(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=Ns(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}Uo(e,n),mo(e,s),Ws(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Qo);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&or("z",t,i,this.animationValues);for(let e=0;e<nr.length;e++)or(`rotate${nr[e]}`,t,i,this.animationValues),or(`skew${nr[e]}`,t,i,this.animationValues);t.render();for(const e in i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ir;const i={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=mt(null==t?void 0:t.pointerEvents)||"",i.transform=s?s(this.latestValues,""):"none",i;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=mt(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!no(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}const r=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=(null==n?void 0:n.z)||0;if((s||o||r)&&(i=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,rotateX:s,rotateY:o,skewX:r,skewY:a}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),s&&(i+=`rotateX(${s}deg) `),o&&(i+=`rotateY(${o}deg) `),r&&(i+=`skewX(${r}deg) `),a&&(i+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,r),s&&(i.transform=s(r,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(e=r.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:i.opacity=o===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const t in Qt){if(void 0===r[t])continue;const{correct:e,applyTo:n,isCSSVariable:s}=Qt[t],a="none"===i.transform?r[t]:e(r[t],o);if(n){const t=n.length;for(let e=0;e<t;e++)i[n[e]]=a}else s?this.options.visualElement.renderState.vars[t]=a:i[t]=a}return this.options.layoutId&&(i.pointerEvents=o===this?mt(null==t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(pr),this.root.sharedNodes.clear()}}}function lr(t){t.updateLayout()}function ur(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:i}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;"size"===s?Js((t=>{const i=o?n.measuredBox[t]:n.layoutBox[t],s=Ns(i);i.min=e[t].min,i.max=i.min+s})):Dr(s,n.layoutBox,e)&&Js((i=>{const s=o?n.measuredBox[i]:n.layoutBox[i],r=Ns(e[i]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)}));const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ws(r,e,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?Ws(a,t.applyTransform(i,!0),n.measuredBox):Ws(a,e,n.layoutBox);const l=!Ho(r);let u=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r={x:{min:0,max:0},y:{min:0,max:0}};zs(r,n.layoutBox,s.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};zs(a,e,o.layoutBox),_o(r,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function cr(t){er&&tr.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function hr(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function dr(t){t.clearSnapshot()}function pr(t){t.clearMeasurements()}function mr(t){t.isLayoutDirty=!1}function fr(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function vr(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function gr(t){t.resolveTargetDelta()}function yr(t){t.calcProjection()}function xr(t){t.resetSkewAndRotation()}function Pr(t){t.removeLeadSnapshot()}function wr(t,e,n){t.translate=si(e.translate,0,n),t.scale=si(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Tr(t,e,n,i){t.min=si(e.min,n.min,i),t.max=si(e.max,n.max,i)}function Sr(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const br={duration:.45,ease:[.4,0,.1,1]},Ar=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Er=Ar("applewebkit/")&&!Ar("chrome/")?Math.round:w;function Vr(t){t.min=Er(t.min),t.max=Er(t.max)}function Dr(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=Zo(e),s=Zo(n),o=.2,!(Math.abs(i-s)<=o));var i,s,o}function Mr(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}const Cr=ar({attachResizeListener:(t,e)=>Ms(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),kr={current:void 0},Rr=ar({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!kr.current){const t=new Cr({});t.mount(window),t.setOptions({layoutScroll:!0}),kr.current=t}return kr.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Lr={pan:{Feature:class extends Ss{constructor(){super(...arguments),this.removePointerDownListener=w}onPointerDown(t){this.session=new Ls(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:vo(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Po(t),onStart:Po(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&V.postRender((()=>i(t,e)))}}}mount(){this.removePointerDownListener=ks(this.node.current,"pointerdown",(t=>this.onPointerDown(t)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Ss{constructor(t){super(t),this.removeGroupControls=w,this.removeListeners=w,this.controls=new yo(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||w}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Rr,MeasureLayout:Eo}};function jr(t,e){const n=function(t){if(t instanceof Element)return[t];if("string"==typeof t){const e=document.querySelectorAll(t);return e?Array.from(e):[]}return Array.from(t)}(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function Br(t){return!("touch"===t.pointerType||Vs())}function Fr(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const s=i["onHover"+n];s&&V.postRender((()=>s(e,Cs(e))))}const Or=(t,e)=>!!e&&(t===e||Or(t,e.parentElement)),Ir=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const Ur=new WeakSet;function Nr(t){return e=>{"Enter"===e.key&&t(e)}}function $r(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Wr(t){return Ds(t)&&!Vs()}function Yr(t,e,n={}){const[i,s,o]=jr(t,n),r=t=>{const i=t.currentTarget;if(!Wr(t)||Ur.has(i))return;Ur.add(i);const o=e(i,t),r=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),Wr(t)&&Ur.has(i)&&(Ur.delete(i),"function"==typeof o&&o(t,{success:e}))},a=t=>{r(t,n.useGlobalTarget||Or(i,t.target))},l=t=>{r(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return i.forEach((t=>{(function(t){return Ir.has(t.tagName)||-1!==t.tabIndex})(t)||null!==t.getAttribute("tabindex")||(t.tabIndex=0);(n.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),t.addEventListener("focus",(t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const i=Nr((()=>{if(Ur.has(n))return;$r(n,"down");const t=Nr((()=>{$r(n,"up")}));n.addEventListener("keyup",t,e),n.addEventListener("blur",(()=>$r(n,"cancel")),e)}));n.addEventListener("keydown",i,e),n.addEventListener("blur",(()=>n.removeEventListener("keydown",i)),e)})(t,s)),s)})),o}function Kr(t,e,n){const{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const s=i["onTap"+("End"===n?"":n)];s&&V.postRender((()=>s(e,Cs(e))))}const zr=new WeakMap,Xr=new WeakMap,Hr=t=>{const e=zr.get(t.target);e&&e(t)},Gr=t=>{t.forEach(Hr)};function qr(t,e,n){const i=function({root:t,...e}){const n=t||document;Xr.has(n)||Xr.set(n,{});const i=Xr.get(n),s=JSON.stringify(e);return i[s]||(i[s]=new IntersectionObserver(Gr,{root:t,...e})),i[s]}(e);return zr.set(t,n),i.observe(t),()=>{zr.delete(t),i.unobserve(t)}}const _r={some:0,all:1};const Zr={inView:{Feature:class extends Ss{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:_r[i]};return qr(this.node.current,o,(t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Ss{mount(){const{current:t}=this.node;t&&(this.unmount=Yr(t,((t,e)=>(Kr(this.node,e,"Start"),(t,{success:e})=>Kr(this.node,t,e?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends Ss{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=di(Ms(this.node.current,"focus",(()=>this.onFocus())),Ms(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends Ss{mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){const[i,s,o]=jr(t,n),r=t=>{if(!Br(t))return;const{target:n}=t,i=e(n,t);if("function"!=typeof i||!n)return;const o=t=>{Br(t)&&(i(t),n.removeEventListener("pointerleave",o))};n.addEventListener("pointerleave",o,s)};return i.forEach((t=>{t.addEventListener("pointerenter",r,s)})),o}(t,((t,e)=>(Fr(this.node,e,"Start"),t=>Fr(this.node,t,"End")))))}unmount(){}}}},Jr={layout:{ProjectionNode:Rr,MeasureLayout:Eo}},Qr={current:null},ta={current:!1};const ea=[...Gn,mn,Sn],na=new WeakMap;const ia=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sa{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Yn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=ye.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,V.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:u}=o;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.blockInitialAnimation=Boolean(s),this.isControllingVariants=X(e),this.isVariantNode=H(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:c,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==a[t]&&pt(e)&&e.set(a[t],!1)}}mount(t){this.current=t,na.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((t,e)=>this.bindToMotionValue(e,t))),ta.current||function(){if(ta.current=!0,x)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Qr.current=t.matches;t.addListener(e),e()}else Qr.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Qr.current),"production"!==process.env.NODE_ENV&&U(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){na.delete(this.current),this.projection&&this.projection.unmount(),D(this.notifyUpdate),D(this.render),this.valueSubscriptions.forEach((t=>t())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=yt.has(t),i=e.on("change",(e=>{this.latestValues[t]=e,this.props.onUpdate&&V.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),s=e.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,(()=>{i(),s(),o&&o(),e.owner&&e.stop()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in L){const e=L[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ia.length;e++){const n=ia[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if(pt(s))t.addValue(i,s),"development"===process.env.NODE_ENV&&U("12.0.6"===s.version,`Attempting to mix Motion versions ${s.version} with 12.0.6 may not work as expected.`);else if(pt(o))t.addValue(i,be(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,be(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=be(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var s;return null!=i&&("string"==typeof i&&(Kn(i)||sn(i))?i=parseFloat(i):(s=i,!ea.find(Hn(s))&&Sn.test(e)&&(i=Cn(t,e))),this.setBaseTarget(t,pt(i)?i.get():i)),pt(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props;let i;if("string"==typeof n||"object"==typeof n){const s=ht(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);s&&(i=s[t])}if(n&&void 0!==i)return i;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||pt(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new we),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class oa extends sa{constructor(){super(...arguments),this.KeyframeResolver=_n}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;pt(t)&&(this.childSubscription=t.on("change",(t=>{this.current&&(this.current.textContent=`${t}`)})))}}class ra extends oa{constructor(){super(...arguments),this.type="html",this.renderInstance=_t}readValueFromInstance(t,e){if(yt.has(e)){const t=Mn(e);return t&&t.default||0}{const i=(n=t,window.getComputedStyle(n)),s=(Pt(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return fo(t,e)}build(t,e,n){Wt(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return ee(t,e,n)}}class aa extends oa{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Zs}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(yt.has(e)){const t=Mn(e);return t&&t.default||0}return e=Zt.has(e)?e:Q(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return ne(t,e,n)}build(t,e,n){Xt(t,e,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,n,i){Jt(t,e,0,i)}mount(t){this.isSVGTag=qt(t.tagName),super.mount(t)}}const la=(t,e)=>ut(t)?new aa(e):new ra(e,{allowProjection:t!==h}),ua=N(he({...As,...Zr,...Lr,...Jr},la));export{m as L,g as M,v as P,y as a,P as b,ua as m,f as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useState as e,useEffect as n,startTransition as i}from"react";const t=()=>{const t="object"==typeof window;function o(){return{width:t?window.innerWidth:void 0,height:t?window.innerHeight:void 0}}const[r,d]=e(o);return n((()=>{if(t)return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e);function e(){i((()=>{d(o())}))}}),[]),r};export{t as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={0:"#FFFFFF",50:"#F8F8F9",100:"#E8E7EB",200:"#D1CFD6",300:"#BAB7C2",400:"#A39FAD",500:"#8C8799",600:"#756F85",700:"#5E5770",800:"#473F5C",900:"#302747",950:"#251B3D",1e3:"#190F33",1100:"#0D081A"},F={0:"#130B26",50:"#1C142F",100:"#2A223C",200:"#413A51",300:"#585267",400:"#6F697D",500:"#868092",600:"#9D98A8",700:"#B4AFBE",800:"#CBC7D4",900:"#E2DEE9",1e3:"#F9F6FF",950:"#EDEAF4",1100:"#FFFFFF"},a={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},t={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},i={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},s={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},r={0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"},n={0:"#FFF9E5",100:"#FFECB2",200:"#FFDF80",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"},d={0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"},l={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},o={light:{0:e[0],50:e[50],100:e[100],200:e[200],300:e[300],400:e[400],500:e[500],600:e[600],700:e[700],800:e[800],900:e[900],950:e[950],1e3:e[1e3],1100:e[1100]},dark:{0:F[0],50:F[50],100:F[100],200:F[200],300:F[300],400:F[400],500:F[500],600:F[600],700:F[700],800:F[800],900:F[900],950:F[950],1e3:F[1e3],1100:F[1100]}},v=e=>({light:{0:e[0],100:e[100],200:e[200],300:e[300],400:e[400],500:e[500],600:e[600],700:e[700],800:e[800],900:e[900],1e3:e[1e3]},dark:{0:e[1e3],100:e[900],200:e[800],300:e[700],400:e[600],500:e[500],600:e[400],700:e[300],800:e[200],900:e[100],1e3:e[0]}}),C=v(i),E=v(s),D=v(r),A=v(n),B=v(d),c=v(l),f={light:{surface:{sunken:e[50],default:e[0],raised:e[0],float:e[0],overlay:e[0],scrim:a[5],transparent:a[.01]},interaction:{none:a[0],hover:a[1],press:a[2],hoverOnDark:a[3],pressOnDark:a[4],disabled:a[2],disabledMuted:a[1]},stroke:{default:e[200],light:e[100],focus:i[500],disabled:e[100]},text:{primary:e[1e3],secondary:e[600],placeholder:e[400],disabled:e[300],link:i[800],linkHover:i[900],primaryInverted:e[0],secondaryInverted:e[400],placeholderInverted:e[600],disabledInverted:e[700],positive:l[800],negative:s[700],lockedWhite:e[0]},icon:{primary:e[1e3],secondary:e[600],disabled:e[300],primaryInverted:e[0],secondaryInverted:e[400],disabledInverted:e[700],positive:l[800],negative:s[700],lockedWhite:e[0],link:i[800],linkHover:i[900]},input:{default:e[0],disabled:"#FFFFFF80"},skeleton:{default:a[2]},data:{sentimentVeryPositive:l[300],sentimentPositive:l[100],sentimentNeutral:e[100],sentimentNegative:s[100],sentimentVeryNegative:s[300]}},dark:{surface:{default:F[50],sunken:F[0],raised:F[100],float:F[100],overlay:F[200],scrim:t[5],transparent:t[.01]},interaction:{none:t[0],hover:t[1],press:t[2],hoverOnDark:t[3],pressOnDark:t[4],disabled:t[2],disabledMuted:t[1]},stroke:{default:F[200],light:F[100],focus:i[500],disabled:F[100]},text:{primary:F[1e3],secondary:F[700],placeholder:F[400],disabled:F[300],link:i[100],linkHover:i[0],primaryInverted:F[0],secondaryInverted:F[400],placeholderInverted:F[600],disabledInverted:F[700],positive:l[300],negative:s[300],lockedWhite:e[0]},icon:{primary:F[1e3],secondary:F[700],disabled:F[300],primaryInverted:F[0],secondaryInverted:F[400],disabledInverted:F[700],positive:l[300],negative:s[300],lockedWhite:e[0],link:i[100],linkHover:i[0]},input:{default:F[100],disabled:"#2A223C80"},skeleton:{default:t[2]},data:{sentimentVeryPositive:l[600],sentimentPositive:l[800],sentimentNeutral:F[100],sentimentNegative:s[800],sentimentVeryNegative:s[600]}}};export{D as a,B as b,c,e as d,F as e,a as f,v as g,t as h,i,s as j,r as k,n as l,d as m,o as n,l as o,C as p,E as r,f as s,A as y};
|