@devtron-labs/devtron-fe-common-lib 1.23.4 → 1.23.5-beta-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (894) hide show
  1. package/dist/@code-editor-CfWdQLUA.js +101088 -0
  2. package/dist/@common-rjsf-CYYvyuON.js +14244 -0
  3. package/dist/@framer-motion-CYALETZG.js +151 -0
  4. package/dist/@react-virtualized-sticky-tree-BGypbpsu.js +1255 -0
  5. package/dist/@src-assets-images-BbD457C8.js +1073 -0
  6. package/dist/@vendor-l9UWMPVR.js +82170 -0
  7. package/dist/Common/API/QueryClientProvider.d.ts +1 -1
  8. package/dist/Common/API/reactQueryHooks.d.ts +2 -2
  9. package/dist/Common/AddCDButton/AddCDButton.d.ts +1 -1
  10. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +1 -1
  11. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +3 -3
  12. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +1 -1
  13. package/dist/Common/BreadCrumb/Types.d.ts +1 -0
  14. package/dist/Common/CIPipeline.Types.d.ts +1 -0
  15. package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -1
  16. package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
  17. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +1 -1
  18. package/dist/Common/Constants.d.ts +3 -71
  19. package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +1 -1
  20. package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
  21. package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -1
  22. package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -1
  23. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
  24. package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +1 -1
  25. package/dist/Common/DevtronCopyright.d.ts +1 -1
  26. package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
  27. package/dist/Common/Dialogs/DialogForm.d.ts +6 -6
  28. package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
  29. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
  30. package/dist/Common/Drawer/Drawer.d.ts +2 -2
  31. package/dist/Common/EmptyState/GenericEmptyState.d.ts +1 -0
  32. package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +1 -1
  33. package/dist/Common/ErrorPage.d.ts +1 -1
  34. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  35. package/dist/Common/ErrorScreenNotAuthorized.d.ts +1 -1
  36. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  37. package/dist/Common/GenericDescription/constant.d.ts +40 -0
  38. package/dist/Common/GenericDescription/types.d.ts +1 -6
  39. package/dist/Common/GenericDescription/utils.d.ts +0 -1
  40. package/dist/Common/Grid/Grid.d.ts +1 -1
  41. package/dist/Common/Helper.d.ts +3 -3
  42. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  43. package/dist/Common/ImageTags.d.ts +2 -2
  44. package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +1 -1
  45. package/dist/Common/Markdown/MarkDown.d.ts +1 -1
  46. package/dist/Common/Modals/Modal.d.ts +1 -1
  47. package/dist/Common/Modals/VisibleModal.d.ts +4 -5
  48. package/dist/Common/Modals/VisibleModal2.d.ts +4 -4
  49. package/dist/Common/MultiSelectCustomization.d.ts +7 -7
  50. package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -1
  51. package/dist/Common/Pagination/Pagination.d.ts +1 -1
  52. package/dist/Common/PopupMenu.d.ts +2 -2
  53. package/dist/Common/Progressing.d.ts +1 -0
  54. package/dist/Common/RJSF/Form.d.ts +1 -2
  55. package/dist/Common/RJSF/common/FieldRow.d.ts +1 -1
  56. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -2
  57. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -1
  58. package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -1
  59. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  60. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -1
  61. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -1
  62. package/dist/Common/RJSF/templates/Field.d.ts +1 -1
  63. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -1
  64. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -1
  65. package/dist/Common/RJSF/templates/TitleField.d.ts +3 -2
  66. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -1
  67. package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
  68. package/dist/Common/RJSF/widgets/Select.d.ts +1 -1
  69. package/dist/Common/RadioGroup.d.ts +1 -1
  70. package/dist/Common/RadioGroupItem.d.ts +1 -1
  71. package/dist/Common/Reload.d.ts +1 -1
  72. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  73. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  74. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  75. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
  76. package/dist/Common/TippyCustomized.d.ts +1 -1
  77. package/dist/Common/Tooltip/ShortcutKeyComboTooltipContent.d.ts +1 -1
  78. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  79. package/dist/Common/Types.d.ts +85 -78
  80. package/dist/MMQ4R4NB-BxPS4he0.js +2 -0
  81. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/DTApplicationMetricsFormField.d.ts +1 -1
  82. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +1 -1
  83. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/FileConfigTippy.d.ts +1 -1
  84. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +1 -1
  85. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  86. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -1
  87. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  88. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +1 -1
  89. package/dist/Pages/GlobalConfigurations/ScopedVariables/types.d.ts +2 -2
  90. package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +1 -1
  91. package/dist/Pages/ResourceBrowser/ForceDeleteOption.d.ts +1 -1
  92. package/dist/Pages/ResourceBrowser/NodeDrainOptions.d.ts +1 -1
  93. package/dist/Pages/ResourceBrowser/constants.d.ts +1 -11
  94. package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
  95. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -1
  96. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +1 -1
  97. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/AutomationEnablementIcon.d.ts +1 -0
  98. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/index.d.ts +2 -0
  99. package/dist/Pages-Devtron-2.0/Automation&Enablement/AutomationEnablementIcon/utils.d.ts +6 -0
  100. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -1
  101. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -1
  102. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +1 -1
  103. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -1
  104. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -1
  105. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -1
  106. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +1 -1
  107. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +1 -1
  108. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -1
  109. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +1 -1
  110. package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +4 -4
  111. package/dist/Pages-Devtron-2.0/Shared/Routes/index.d.ts +1 -0
  112. package/dist/Pages-Devtron-2.0/Shared/Routes/routes.d.ts +563 -0
  113. package/dist/Pages-Devtron-2.0/Shared/index.d.ts +1 -0
  114. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -1
  115. package/dist/Pages-Devtron-2.0/index.d.ts +1 -0
  116. package/dist/Shared/Analytics/analytics.d.ts +2 -3
  117. package/dist/Shared/Analytics/types.d.ts +4 -0
  118. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
  119. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +1 -1
  120. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +1 -1
  121. package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +1 -1
  122. package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +1 -1
  123. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +56 -31
  124. package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
  125. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
  126. package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +1 -1
  127. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +1 -1
  128. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +1 -1
  129. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +1 -1
  130. package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +1 -1
  131. package/dist/Shared/Components/ArtifactInfoModal/ArtifactInfoModal.component.d.ts +1 -1
  132. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  133. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  134. package/dist/Shared/Components/Badge/Badge.d.ts +1 -1
  135. package/dist/Shared/Components/BulkOperations/BulkOperations.component.d.ts +1 -1
  136. package/dist/Shared/Components/BulkOperations/BulkOperationsResultModal.d.ts +1 -1
  137. package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
  138. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  139. package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -1
  140. package/dist/Shared/Components/BulkSelection/types.d.ts +2 -0
  141. package/dist/Shared/Components/Button/Button.component.d.ts +2 -388
  142. package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +1 -1
  143. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
  144. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +2 -2
  145. package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +1 -0
  146. package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +1 -1
  147. package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +1 -1
  148. package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +1 -1
  149. package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
  150. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiff.d.ts +1 -1
  151. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryConfigDiffCompare.d.ts +1 -1
  152. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  153. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +2 -2
  154. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +6 -6
  155. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
  156. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  157. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
  158. package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +1 -0
  159. package/dist/Shared/Components/CICDHistory/History.components.d.ts +2 -1
  160. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  161. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +1 -1
  162. package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +1 -1
  163. package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +1 -1
  164. package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +1 -1
  165. package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
  166. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +1 -1
  167. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  168. package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +1 -0
  169. package/dist/Shared/Components/CICDHistory/types.d.ts +9 -7
  170. package/dist/Shared/Components/CICDHistory/utils.d.ts +3 -3
  171. package/dist/Shared/Components/CMCS/ConfigMapSecretReadyOnly.d.ts +1 -1
  172. package/dist/Shared/Components/CMCS/helpers.d.ts +1 -1
  173. package/dist/Shared/Components/Card/Card.component.d.ts +1 -1
  174. package/dist/Shared/Components/Charts/Chart.component.d.ts +1 -1
  175. package/dist/Shared/Components/Charts/utils.d.ts +1 -1
  176. package/dist/Shared/Components/Chip/Chip.component.d.ts +1 -1
  177. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +1 -1
  178. package/dist/Shared/Components/CodeEditor/CodeEditor.components.d.ts +6 -6
  179. package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +7 -7
  180. package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
  181. package/dist/Shared/Components/CodeEditor/Extensions/DiffMinimap.d.ts +1 -1
  182. package/dist/Shared/Components/CodeEditor/types.d.ts +1 -1
  183. package/dist/Shared/Components/Collapse/Collapse.d.ts +1 -1
  184. package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +1 -1
  185. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -2
  186. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +1 -1
  187. package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +1 -1
  188. package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +1 -1
  189. package/dist/Shared/Components/ConfirmationModal/ConfirmationModalContext.d.ts +1 -1
  190. package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +1 -1
  191. package/dist/Shared/Components/ConfirmationModal/types.d.ts +0 -5
  192. package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +1 -1
  193. package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +1 -1
  194. package/dist/Shared/Components/CustomInput/CustomInput.d.ts +1 -1
  195. package/dist/Shared/Components/CustomInput/PasswordField.d.ts +1 -1
  196. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  197. package/dist/Shared/Components/DTFocusTrap/types.d.ts +0 -1
  198. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
  199. package/dist/Shared/Components/DatePicker/MonthlySelect.d.ts +1 -1
  200. package/dist/Shared/Components/DatePicker/TimeSelect.d.ts +1 -1
  201. package/dist/Shared/Components/DatePicker/constants.d.ts +2 -112
  202. package/dist/Shared/Components/DatePicker/index.d.ts +0 -2
  203. package/dist/Shared/Components/DatePicker/types.d.ts +34 -29
  204. package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
  205. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
  206. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
  207. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
  208. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
  209. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +1 -1
  210. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -1
  211. package/dist/Shared/Components/DocLink/DocLink.d.ts +1 -1
  212. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
  213. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +1 -1
  214. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
  215. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +1 -1
  216. package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +1 -1
  217. package/dist/Shared/Components/EnvironmentSelector/EnvironmentSelector.component.d.ts +1 -1
  218. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  219. package/dist/Shared/Components/Error/utils.d.ts +1 -1
  220. package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +1 -1
  221. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +1 -1
  222. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +1 -1
  223. package/dist/Shared/Components/ExportToCsv/types.d.ts +1 -0
  224. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
  225. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  226. package/dist/Shared/Components/FeatureDescription/types.d.ts +7 -2
  227. package/dist/Shared/Components/FileUpload/FileUpload.d.ts +1 -1
  228. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
  229. package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +1 -1
  230. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
  231. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionItem.d.ts +1 -1
  232. package/dist/Shared/Components/FloatingVariablesSuggestions/Suggestions.d.ts +1 -1
  233. package/dist/Shared/Components/FloatingVariablesSuggestions/SuggestionsInfo.d.ts +1 -1
  234. package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +1 -1
  235. package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +1 -1
  236. package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +1 -1
  237. package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +1 -1
  238. package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +1 -1
  239. package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +1 -1
  240. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +4 -4
  241. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +1 -1
  242. package/dist/Shared/Components/GenericModal/types.d.ts +1 -1
  243. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
  244. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +1 -1
  245. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  246. package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
  247. package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -1
  248. package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +1 -1
  249. package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +1 -1
  250. package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +1 -1
  251. package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +1 -1
  252. package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +1 -1
  253. package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +1 -1
  254. package/dist/Shared/Components/GraphVisualizer/constants.d.ts +3 -3
  255. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  256. package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +1 -1
  257. package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
  258. package/dist/Shared/Components/Header/IframePromoButton.d.ts +1 -1
  259. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  260. package/dist/Shared/Components/Header/ProfileMenu.d.ts +1 -1
  261. package/dist/Shared/Components/Header/types.d.ts +1 -0
  262. package/dist/Shared/Components/Icon/Icon.d.ts +4 -1
  263. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  264. package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +1 -1
  265. package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +1 -1
  266. package/dist/Shared/Components/Illustration/Illustration.d.ts +1 -2
  267. package/dist/Shared/Components/Illustration/IllustrationBase.d.ts +1 -1
  268. package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +1 -1
  269. package/dist/Shared/Components/ImageCard/ImageCard.d.ts +1 -1
  270. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +1 -1
  271. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +1 -1
  272. package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
  273. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
  274. package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +1 -1
  275. package/dist/Shared/Components/ImageWithFallback/types.d.ts +1 -1
  276. package/dist/Shared/Components/InfoBlock/InfoBlock.component.d.ts +1 -1
  277. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  278. package/dist/Shared/Components/InvalidYAMLTippy/InvalidYAMLTippyWrapper.d.ts +1 -1
  279. package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +1 -1
  280. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  281. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +1 -1
  282. package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +1 -1
  283. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  284. package/dist/Shared/Components/License/License.components.d.ts +3 -3
  285. package/dist/Shared/Components/LoadingCard.d.ts +1 -1
  286. package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +1 -1
  287. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +1 -1
  288. package/dist/Shared/Components/LoginBanner/types.d.ts +1 -1
  289. package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
  290. package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
  291. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
  292. package/dist/Shared/Components/NumbersCount/NumbersCount.component.d.ts +1 -1
  293. package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +1 -1
  294. package/dist/Shared/Components/Plugin/PluginCard.d.ts +1 -1
  295. package/dist/Shared/Components/Plugin/PluginCardSkeletonList.d.ts +1 -1
  296. package/dist/Shared/Components/Plugin/PluginImageContainer.d.ts +1 -1
  297. package/dist/Shared/Components/Plugin/PluginList.d.ts +1 -1
  298. package/dist/Shared/Components/Plugin/PluginListContainer.d.ts +1 -1
  299. package/dist/Shared/Components/Plugin/PluginTagSelect.d.ts +1 -1
  300. package/dist/Shared/Components/Plugin/PluginTagsContainer.d.ts +1 -1
  301. package/dist/Shared/Components/Plugin/types.d.ts +2 -2
  302. package/dist/Shared/Components/Popover/Popover.component.d.ts +1 -1
  303. package/dist/Shared/Components/Popover/types.d.ts +4 -0
  304. package/dist/Shared/Components/ProgressBar/ProgressBar.component.d.ts +1 -1
  305. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +1 -1
  306. package/dist/Shared/Components/QRCode.d.ts +1 -1
  307. package/dist/Shared/Components/ReactSelect/constants.d.ts +1 -1
  308. package/dist/Shared/Components/ReactSelect/utils.d.ts +4 -4
  309. package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +1 -1
  310. package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +1 -1
  311. package/dist/Shared/Components/Security/SecurityDetailsCards/ReportTabEmptyState.d.ts +2 -0
  312. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +1 -1
  313. package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +1 -1
  314. package/dist/Shared/Components/Security/SecurityDetailsCards/index.d.ts +1 -0
  315. package/dist/Shared/Components/Security/SecurityDetailsCards/types.d.ts +6 -0
  316. package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +1 -1
  317. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +5 -97
  318. package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
  319. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +2 -2
  320. package/dist/Shared/Components/Security/SecurityModal/service.d.ts +5 -1
  321. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +46 -1
  322. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  323. package/dist/Shared/Components/Security/SeverityChip.d.ts +1 -1
  324. package/dist/Shared/Components/Security/Vulnerabilities/Vulnerabilities.d.ts +1 -1
  325. package/dist/Shared/Components/SelectPicker/FilterSelectPicker.d.ts +1 -1
  326. package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.d.ts +1 -1
  327. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  328. package/dist/Shared/Components/SelectPicker/SelectPickerTextArea.component.d.ts +1 -1
  329. package/dist/Shared/Components/SelectPicker/common.d.ts +12 -12
  330. package/dist/Shared/Components/SelectPicker/type.d.ts +18 -1
  331. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +1 -1
  332. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +1 -1
  333. package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
  334. package/dist/Shared/Components/StatusComponent/DeploymentStatus.d.ts +1 -1
  335. package/dist/Shared/Components/StatusComponent/StatusComponent.d.ts +1 -1
  336. package/dist/Shared/Components/Switch/Switch.component.d.ts +1 -1
  337. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +1 -1
  338. package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
  339. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +4 -4
  340. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -0
  341. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
  342. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  343. package/dist/Shared/Components/Table/Table.component.d.ts +1 -1
  344. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  345. package/dist/Shared/Components/Table/types.d.ts +2 -2
  346. package/dist/Shared/Components/TagsKeyValueTable/TagsContainer.d.ts +1 -1
  347. package/dist/Shared/Components/TargetPlatforms/TargetPlatformBadgeList.d.ts +1 -1
  348. package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +1 -1
  349. package/dist/Shared/Components/TempAppWindow/TempAppWindow.d.ts +1 -1
  350. package/dist/Shared/Components/Textarea/Textarea.component.d.ts +1 -1
  351. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +1 -1
  352. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +1 -1
  353. package/dist/Shared/Components/TrailingItem/TrailingItem.component.d.ts +1 -1
  354. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  355. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  356. package/dist/Shared/Components/TreeView/types.d.ts +1 -1
  357. package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +1 -1
  358. package/dist/Shared/Components/UnsavedChanges/UnsavedChanges.component.d.ts +1 -1
  359. package/dist/Shared/Components/UnsavedChangesDialog/UnsavedChangesDialog.component.d.ts +1 -1
  360. package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +1 -1
  361. package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +1 -1
  362. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
  363. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  364. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
  365. package/dist/Shared/Components/index.d.ts +0 -1
  366. package/dist/Shared/Helpers.d.ts +4 -14
  367. package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +1 -2
  368. package/dist/Shared/Hooks/UsePrompt/types.d.ts +1 -0
  369. package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
  370. package/dist/Shared/Hooks/useUserPreferences/index.d.ts +1 -1
  371. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -9
  372. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +4 -0
  373. package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +1 -1
  374. package/dist/Shared/Providers/MainContextProvider/MainContextProvider.d.ts +1 -1
  375. package/dist/Shared/Providers/MainContextProvider/types.d.ts +2 -2
  376. package/dist/Shared/Providers/ThemeProvider/ThemeProvider.d.ts +1 -1
  377. package/dist/Shared/Providers/UserEmailProvider/UserEmailProvider.d.ts +3 -3
  378. package/dist/Shared/Services/ToastManager/ToastContent.d.ts +2 -2
  379. package/dist/Shared/Services/types.d.ts +1 -0
  380. package/dist/Shared/types.d.ts +176 -3
  381. package/dist/V4HPSUGU-BZ4LRJwg.js +2 -0
  382. package/dist/assets/@code-editor.css +1 -1
  383. package/dist/assets/@common-rjsf.css +1 -1
  384. package/dist/assets/@vendor.css +1 -1
  385. package/dist/assets/index.css +1 -0
  386. package/dist/index.d.ts +16 -13
  387. package/dist/index.js +27818 -1153
  388. package/dist/javascript-aGcank_6.js +2 -0
  389. package/dist/rolldown-runtime-BETGA6I9.js +23 -0
  390. package/dist/vitesse-dark-B6dfs2Tg.js +2 -0
  391. package/dist/vitesse-light-D286P89-.js +2 -0
  392. package/package.json +39 -42
  393. package/dist/@code-editor-BSv02H_D.js +0 -33364
  394. package/dist/@common-rjsf-D-b5WCDf.js +0 -604
  395. package/dist/@framer-motion-Bi7d_Mil.js +0 -3606
  396. package/dist/@moment-CGWt8tF2.js +0 -2620
  397. package/dist/@react-dates-CR-uCH60.js +0 -7634
  398. package/dist/@react-select-C5q5RdNV.js +0 -2647
  399. package/dist/@react-virtualized-sticky-tree-LXSXNrbc.js +0 -452
  400. package/dist/@vendor-CtCMPfdc.js +0 -81580
  401. package/dist/Common/Markdown/constant.d.ts +0 -28
  402. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
  403. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
  404. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
  405. package/dist/Shared/Components/Confetti/Confetti.component.d.ts +0 -2
  406. package/dist/Shared/Components/Confetti/index.d.ts +0 -1
  407. package/dist/Shared/Components/DatePicker/DayPickerRangeController.d.ts +0 -2
  408. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -11
  409. package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -80
  410. package/dist/assets/@react-dates.css +0 -1
  411. package/dist/assets/app-not-deployed.622dc6ba.svg +0 -141
  412. package/dist/assets/cmd-bar-visual.340d6226.webp +0 -0
  413. package/dist/assets/delete-medium.897114e0.svg +0 -26
  414. package/dist/assets/empty-state-key.b983ece5.svg +0 -13
  415. package/dist/assets/ic-73strings.ccb245ec.svg +0 -21
  416. package/dist/assets/ic-abort.0d2773e9.svg +0 -34
  417. package/dist/assets/ic-aborted.d162b12b.svg +0 -21
  418. package/dist/assets/ic-aborted.d400d0e8.svg +0 -21
  419. package/dist/assets/ic-activity.63032a88.svg +0 -19
  420. package/dist/assets/ic-add.4cc5a045.svg +0 -19
  421. package/dist/assets/ic-add.cfaa779b.svg +0 -19
  422. package/dist/assets/ic-ai.25e44e0c.svg +0 -3
  423. package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
  424. package/dist/assets/ic-amazon-eks.af616c23.svg +0 -21
  425. package/dist/assets/ic-app-group.068791a2.svg +0 -19
  426. package/dist/assets/ic-app-template.82736707.svg +0 -23
  427. package/dist/assets/ic-application-group.4b448cca.svg +0 -3
  428. package/dist/assets/ic-application-management.7fb9e3a0.svg +0 -3
  429. package/dist/assets/ic-application-template.212d14f1.svg +0 -3
  430. package/dist/assets/ic-application.4c80bfcf.svg +0 -3
  431. package/dist/assets/ic-appstatus-cancelled.05bb3352.svg +0 -22
  432. package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
  433. package/dist/assets/ic-arrow-backward.d951202a.svg +0 -19
  434. package/dist/assets/ic-arrow-clockwise.4cb9c9ac.svg +0 -19
  435. package/dist/assets/ic-arrow-counter-clockwise.01cbb0e1.svg +0 -21
  436. package/dist/assets/ic-arrow-down.18e5e332.svg +0 -19
  437. package/dist/assets/ic-arrow-forward.a2b8ab45.svg +0 -27
  438. package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
  439. package/dist/assets/ic-arrow-out.6aea09d0.svg +0 -19
  440. package/dist/assets/ic-arrow-right.96f4142a.svg +0 -19
  441. package/dist/assets/ic-arrow-right.eda141d3.svg +0 -19
  442. package/dist/assets/ic-arrow-square-out.c107c76c.svg +0 -19
  443. package/dist/assets/ic-arrow-up-circle-with-dot.a1ebda4e.svg +0 -4
  444. package/dist/assets/ic-arrow-up-circle.a9bccf85.svg +0 -3
  445. package/dist/assets/ic-arrow-up-down.945ee496.svg +0 -19
  446. package/dist/assets/ic-arrows-clockwise.0f9d94ab.svg +0 -19
  447. package/dist/assets/ic-arrows-clockwise.5990b4f7.svg +0 -19
  448. package/dist/assets/ic-arrows-left-right.9c24874a.svg +0 -19
  449. package/dist/assets/ic-asterisk.d3efa9a5.svg +0 -19
  450. package/dist/assets/ic-ather.0d03ef3e.svg +0 -27
  451. package/dist/assets/ic-aws-codecommit.236f850c.svg +0 -10
  452. package/dist/assets/ic-aws-codecommit.43f0dd23.svg +0 -26
  453. package/dist/assets/ic-aws.eb2d0124.svg +0 -12
  454. package/dist/assets/ic-azure-aks.0c74ac31.svg +0 -62
  455. package/dist/assets/ic-azure.a01ce3b4.svg +0 -39
  456. package/dist/assets/ic-backup-and-schedule.51b7d3dd.svg +0 -3
  457. package/dist/assets/ic-backup-color.dc62e9d5.svg +0 -6
  458. package/dist/assets/ic-backup-location.ebaf1148.svg +0 -3
  459. package/dist/assets/ic-backup-schedule-color.a16c34b0.svg +0 -5
  460. package/dist/assets/ic-bell.c1e888e2.svg +0 -3
  461. package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +0 -19
  462. package/dist/assets/ic-bg-backups.396e99bd.svg +0 -19
  463. package/dist/assets/ic-bg-build.8609d0ea.svg +0 -13
  464. package/dist/assets/ic-bg-cluster.71a7ecdf.svg +0 -22
  465. package/dist/assets/ic-bg-cpu.15ec70f0.svg +0 -11
  466. package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
  467. package/dist/assets/ic-bg-environment.72d85c8c.svg +0 -28
  468. package/dist/assets/ic-bg-memory.5373a125.svg +0 -11
  469. package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +0 -14
  470. package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +0 -22
  471. package/dist/assets/ic-bg-project.84658405.svg +0 -12
  472. package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +0 -7
  473. package/dist/assets/ic-bg-restore.4fa13869.svg +0 -33
  474. package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
  475. package/dist/assets/ic-bg-storage-locations.894070b0.svg +0 -22
  476. package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
  477. package/dist/assets/ic-bharatpe.63831fdf.svg +0 -31
  478. package/dist/assets/ic-binoculars.c6ad42f4.svg +0 -3
  479. package/dist/assets/ic-bitbucket.ffe914a0.svg +0 -30
  480. package/dist/assets/ic-bold.2140b7c6.svg +0 -19
  481. package/dist/assets/ic-book-open.7cb94ee8.svg +0 -19
  482. package/dist/assets/ic-book-open.9c048ee2.svg +0 -19
  483. package/dist/assets/ic-bot.65f403dd.svg +0 -3
  484. package/dist/assets/ic-bot.f1d4abcc.svg +0 -23
  485. package/dist/assets/ic-brain.1a2bb48e.svg +0 -19
  486. package/dist/assets/ic-branch.8db43d66.svg +0 -19
  487. package/dist/assets/ic-browser.f77a9d59.svg +0 -19
  488. package/dist/assets/ic-bug.30e24a9b.svg +0 -19
  489. package/dist/assets/ic-build-color.37484d39.svg +0 -33
  490. package/dist/assets/ic-building.2405d07b.svg +0 -3
  491. package/dist/assets/ic-bulb.3906a732.svg +0 -7
  492. package/dist/assets/ic-bulk-check.0f698efa.svg +0 -21
  493. package/dist/assets/ic-bulk-check.99e92f7a.svg +0 -21
  494. package/dist/assets/ic-calendar.1d9c66d2.svg +0 -19
  495. package/dist/assets/ic-calender-blank.963e3423.svg +0 -19
  496. package/dist/assets/ic-cancelled.3cd048aa.svg +0 -20
  497. package/dist/assets/ic-card-stack.0de57a3a.svg +0 -19
  498. package/dist/assets/ic-caret-down-small.51947d9a.svg +0 -19
  499. package/dist/assets/ic-caret-down-small.66339dda.svg +0 -19
  500. package/dist/assets/ic-caret-down.1666c029.svg +0 -19
  501. package/dist/assets/ic-caret-left-small.fe00c98d.svg +0 -19
  502. package/dist/assets/ic-caret-left.603097a8.svg +0 -19
  503. package/dist/assets/ic-caret-right.f4dda7a7.svg +0 -19
  504. package/dist/assets/ic-cd.165ef184.svg +0 -46
  505. package/dist/assets/ic-celebration.0f457baf.svg +0 -254
  506. package/dist/assets/ic-chart-line-up.7ab47f4e.svg +0 -3
  507. package/dist/assets/ic-chart-repo.4c12016f.svg +0 -5
  508. package/dist/assets/ic-chat-circle-dots.63f39467.svg +0 -19
  509. package/dist/assets/ic-chat-circle-online.cdf88c43.svg +0 -20
  510. package/dist/assets/ic-check-all.1d8ce377.svg +0 -21
  511. package/dist/assets/ic-check-circle-dots.296c8a3b.svg +0 -20
  512. package/dist/assets/ic-check-circle.ad80d835.svg +0 -25
  513. package/dist/assets/ic-check-circle.af18cd7e.svg +0 -3
  514. package/dist/assets/ic-check-square.ba02d96e.svg +0 -20
  515. package/dist/assets/ic-check.27c51fa1.svg +0 -21
  516. package/dist/assets/ic-check.ca1b4793.svg +0 -19
  517. package/dist/assets/ic-checkbox-hover.0151d832.svg +0 -20
  518. package/dist/assets/ic-checkbox-hover.93e8d66a.svg +0 -20
  519. package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +0 -22
  520. package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +0 -22
  521. package/dist/assets/ic-checkbox-selected-error.632a283d.svg +0 -20
  522. package/dist/assets/ic-checkbox-selected-error.b40237bc.svg +0 -20
  523. package/dist/assets/ic-checkbox-selected.47444fab.svg +0 -20
  524. package/dist/assets/ic-checkbox-selected.c5539d6f.svg +0 -20
  525. package/dist/assets/ic-checkbox-unselected.8054e3d7.svg +0 -19
  526. package/dist/assets/ic-checkbox-unselected.ab91cdba.svg +0 -19
  527. package/dist/assets/ic-checked-list.aba26c40.svg +0 -19
  528. package/dist/assets/ic-checks.939fbbcf.svg +0 -19
  529. package/dist/assets/ic-chevron-down.fc70d7a7.svg +0 -21
  530. package/dist/assets/ic-ci-linked.b25fbb2f.svg +0 -34
  531. package/dist/assets/ic-circle-loader.9472965b.svg +0 -17
  532. package/dist/assets/ic-circle-small.a0740b0e.svg +0 -3
  533. package/dist/assets/ic-circle.98fce2b0.svg +0 -25
  534. package/dist/assets/ic-clean-brush.367a32fe.svg +0 -19
  535. package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
  536. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
  537. package/dist/assets/ic-clock.4109c84f.svg +0 -19
  538. package/dist/assets/ic-clock.c21a2d14.svg +0 -19
  539. package/dist/assets/ic-close-circle.b39dd87d.svg +0 -3
  540. package/dist/assets/ic-close-large.ae3d6030.svg +0 -19
  541. package/dist/assets/ic-close-small.ee9fe1c3.svg +0 -19
  542. package/dist/assets/ic-close.43adc42a.svg +0 -25
  543. package/dist/assets/ic-cloud-upload.55d9c163.svg +0 -3
  544. package/dist/assets/ic-cloud-vms.ba70e78d.svg +0 -21
  545. package/dist/assets/ic-cluster-isolated.778a1ee2.svg +0 -19
  546. package/dist/assets/ic-cluster.f688b9e5.svg +0 -19
  547. package/dist/assets/ic-code-commit.161a6b3c.svg +0 -19
  548. package/dist/assets/ic-code.1d1d4dd8.svg +0 -19
  549. package/dist/assets/ic-code.3af36d5c.svg +0 -19
  550. package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +0 -112
  551. package/dist/assets/ic-coins.2c15f406.svg +0 -3
  552. package/dist/assets/ic-collapse-all.56740920.svg +0 -19
  553. package/dist/assets/ic-comment.cc141b33.svg +0 -3
  554. package/dist/assets/ic-commit.e3113dd9.svg +0 -23
  555. package/dist/assets/ic-compare.0ee3e4cf.svg +0 -22
  556. package/dist/assets/ic-configuration-file.b9f3ac22.svg +0 -10
  557. package/dist/assets/ic-container-registry.4e1e6455.svg +0 -19
  558. package/dist/assets/ic-container.13005c27.svg +0 -19
  559. package/dist/assets/ic-cookr.a317a655.svg +0 -42
  560. package/dist/assets/ic-copy.94cee0fb.svg +0 -19
  561. package/dist/assets/ic-copy.c4b628de.svg +0 -19
  562. package/dist/assets/ic-cost-visibility.5595009f.svg +0 -3
  563. package/dist/assets/ic-cpu.3024be12.svg +0 -19
  564. package/dist/assets/ic-cross.01e03666.svg +0 -19
  565. package/dist/assets/ic-crown.24ca27fc.svg +0 -19
  566. package/dist/assets/ic-cube.be637e97.svg +0 -19
  567. package/dist/assets/ic-curved-arrow.3f3ca92c.svg +0 -3
  568. package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
  569. package/dist/assets/ic-delete-dots.9cebdcd9.svg +0 -78
  570. package/dist/assets/ic-delete-interactive.304dd293.svg +0 -19
  571. package/dist/assets/ic-delete-lightning.e835c6e9.svg +0 -19
  572. package/dist/assets/ic-delete.a6e8d3ad.svg +0 -19
  573. package/dist/assets/ic-delhivery.c4fecf0f.svg +0 -31
  574. package/dist/assets/ic-deploy-color.c7a46837.svg +0 -30
  575. package/dist/assets/ic-deploy-sync.9a3e3c28.svg +0 -32
  576. package/dist/assets/ic-devtron-ai.d17a01ed.svg +0 -303
  577. package/dist/assets/ic-devtron-app.a8b688d3.svg +0 -23
  578. package/dist/assets/ic-devtron-header-logo.e18ac7b6.svg +0 -20
  579. package/dist/assets/ic-devtron-job.a40f06cf.svg +0 -26
  580. package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
  581. package/dist/assets/ic-devtron.87ead611.svg +0 -19
  582. package/dist/assets/ic-diff-added.6ef6f938.svg +0 -3
  583. package/dist/assets/ic-diff-deleted.54eb24dd.svg +0 -3
  584. package/dist/assets/ic-diff-file-added.e111ba14.svg +0 -22
  585. package/dist/assets/ic-diff-file-removed.7863a55f.svg +0 -22
  586. package/dist/assets/ic-diff-file-updated.a8293158.svg +0 -22
  587. package/dist/assets/ic-diff-updated.294b925e.svg +0 -4
  588. package/dist/assets/ic-disconnect.bfd4ffb6.svg +0 -19
  589. package/dist/assets/ic-discord-fill.16103b65.svg +0 -19
  590. package/dist/assets/ic-docker.48906f4d.svg +0 -19
  591. package/dist/assets/ic-dockerhub.03bd09a9.svg +0 -19
  592. package/dist/assets/ic-dot-circle.5ce1fccf.svg +0 -3
  593. package/dist/assets/ic-download.b0685453.svg +0 -19
  594. package/dist/assets/ic-download.c30437cd.svg +0 -21
  595. package/dist/assets/ic-drag.3f71e8aa.svg +0 -24
  596. package/dist/assets/ic-ecr.302d6ccb.svg +0 -25
  597. package/dist/assets/ic-edit-file.aea811d8.svg +0 -20
  598. package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
  599. package/dist/assets/ic-edit.b8b75800.svg +0 -19
  600. package/dist/assets/ic-email.5c944f9a.svg +0 -19
  601. package/dist/assets/ic-enter-fullscreen.ccb625cf.svg +0 -3
  602. package/dist/assets/ic-enter.cab07082.svg +0 -19
  603. package/dist/assets/ic-enterprise-feat.259c841f.svg +0 -19
  604. package/dist/assets/ic-enterprise-tag.345cda52.svg +0 -59
  605. package/dist/assets/ic-env.c0634f19.svg +0 -29
  606. package/dist/assets/ic-environment-isolated.c80b4a45.svg +0 -19
  607. package/dist/assets/ic-environment.d241eccb.svg +0 -20
  608. package/dist/assets/ic-error-cross.bf21e563.svg +0 -24
  609. package/dist/assets/ic-error-exclamation.c224de09.svg +0 -22
  610. package/dist/assets/ic-error-medium.ea542259.svg +0 -22
  611. package/dist/assets/ic-error.3ec5d5ef.svg +0 -20
  612. package/dist/assets/ic-error.9d61b25b.svg +0 -20
  613. package/dist/assets/ic-exit-fullscreen.1ae582d1.svg +0 -19
  614. package/dist/assets/ic-exit-fullscreen.75ef3789.svg +0 -3
  615. package/dist/assets/ic-expand-all.d1d223f2.svg +0 -19
  616. package/dist/assets/ic-expand-right-sm.dfe84ab6.svg +0 -19
  617. package/dist/assets/ic-expand-sm.e0adb3a7.svg +0 -19
  618. package/dist/assets/ic-expand.ab992205.svg +0 -19
  619. package/dist/assets/ic-external-link.0dd8eed7.svg +0 -4
  620. package/dist/assets/ic-failure.0220b612.svg +0 -24
  621. package/dist/assets/ic-fast-forward.5c56ed0e.svg +0 -20
  622. package/dist/assets/ic-file-code.96f8c5d8.svg +0 -19
  623. package/dist/assets/ic-file-code.ed2812f3.svg +0 -19
  624. package/dist/assets/ic-file-download.ca57c068.svg +0 -5
  625. package/dist/assets/ic-file-edit.7dacd421.svg +0 -19
  626. package/dist/assets/ic-file-key.495ba0bb.svg +0 -19
  627. package/dist/assets/ic-file-text.f9563710.svg +0 -19
  628. package/dist/assets/ic-file.187aaee4.svg +0 -19
  629. package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
  630. package/dist/assets/ic-files.877903d3.svg +0 -19
  631. package/dist/assets/ic-filter-applied.6541e03d.svg +0 -20
  632. package/dist/assets/ic-filter-applied.9fc48d0f.svg +0 -20
  633. package/dist/assets/ic-filter.8f403d6f.svg +0 -19
  634. package/dist/assets/ic-filter.eaefc78a.svg +0 -19
  635. package/dist/assets/ic-flask.962df7dd.svg +0 -19
  636. package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
  637. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
  638. package/dist/assets/ic-folder-color.88ee985f.svg +0 -22
  639. package/dist/assets/ic-folder-user.50e60be1.svg +0 -19
  640. package/dist/assets/ic-folder.d5a0e01e.svg +0 -19
  641. package/dist/assets/ic-fullscreen-2.f138a5e8.svg +0 -19
  642. package/dist/assets/ic-fullscreen.b05e5087.svg +0 -19
  643. package/dist/assets/ic-gavel.1799f199.svg +0 -19
  644. package/dist/assets/ic-gear.7116a8bf.svg +0 -20
  645. package/dist/assets/ic-gift-animated.9ca6ccb4.svg +0 -38
  646. package/dist/assets/ic-gift-gradient.581b1ac5.svg +0 -25
  647. package/dist/assets/ic-gift.8ea07edc.svg +0 -19
  648. package/dist/assets/ic-git-branch.7be08881.svg +0 -19
  649. package/dist/assets/ic-git.89f79adf.svg +0 -17
  650. package/dist/assets/ic-git.bb72e063.svg +0 -17
  651. package/dist/assets/ic-github.9d82ed09.svg +0 -19
  652. package/dist/assets/ic-github.b6e9d0f3.svg +0 -19
  653. package/dist/assets/ic-gitlab.ac331d67.svg +0 -31
  654. package/dist/assets/ic-gitlab.de184b7f.svg +0 -31
  655. package/dist/assets/ic-global-overview.56ba9dc0.svg +0 -3
  656. package/dist/assets/ic-google-artifact-registry.2a167c8b.svg +0 -34
  657. package/dist/assets/ic-google-cloud.3077a8dd.svg +0 -6
  658. package/dist/assets/ic-google-container-registry.320c53ee.svg +0 -35
  659. package/dist/assets/ic-google-gke.a28779b8.svg +0 -25
  660. package/dist/assets/ic-google.475640a4.svg +0 -22
  661. package/dist/assets/ic-grid-view.13207b99.svg +0 -19
  662. package/dist/assets/ic-group-filter-applied.2cdb11e7.svg +0 -20
  663. package/dist/assets/ic-group-filter.ed1869f5.svg +0 -19
  664. package/dist/assets/ic-hand-pointing.f0ed4e78.svg +0 -20
  665. package/dist/assets/ic-hash.2d8669eb.svg +0 -19
  666. package/dist/assets/ic-header.a91a9800.svg +0 -21
  667. package/dist/assets/ic-heart-green.6d3bb9cf.svg +0 -20
  668. package/dist/assets/ic-heart-red-animated.62caae80.svg +0 -74
  669. package/dist/assets/ic-heart-red.ae773db3.svg +0 -19
  670. package/dist/assets/ic-helm-app.089be06f.svg +0 -20
  671. package/dist/assets/ic-helm.20583d75.svg +0 -19
  672. package/dist/assets/ic-help-filled.b7ae284e.svg +0 -20
  673. package/dist/assets/ic-help-outline.4b30e33c.svg +0 -19
  674. package/dist/assets/ic-help-outline.9c012a0c.svg +0 -19
  675. package/dist/assets/ic-help.39c58c34.svg +0 -19
  676. package/dist/assets/ic-hibernate-circle.8a400518.svg +0 -19
  677. package/dist/assets/ic-hibernate.263ffcea.svg +0 -19
  678. package/dist/assets/ic-image-approve.0cbb58eb.svg +0 -3
  679. package/dist/assets/ic-image.2a8ed117.svg +0 -20
  680. package/dist/assets/ic-in-progress.53ef18ae.svg +0 -22
  681. package/dist/assets/ic-in-progress.73f9ca1e.svg +0 -20
  682. package/dist/assets/ic-info-filled-color.7b8b860f.svg +0 -24
  683. package/dist/assets/ic-info-filled-override.99e8094a.svg +0 -20
  684. package/dist/assets/ic-info-filled.763be331.svg +0 -20
  685. package/dist/assets/ic-info-filled.f870ac11.svg +0 -20
  686. package/dist/assets/ic-info-outline.29f1089c.svg +0 -20
  687. package/dist/assets/ic-info-outline.d29630b4.svg +0 -19
  688. package/dist/assets/ic-info-outlined.f4fa3224.svg +0 -29
  689. package/dist/assets/ic-infrastructure-management.4b052d41.svg +0 -3
  690. package/dist/assets/ic-input.57281408.svg +0 -3
  691. package/dist/assets/ic-install.631b7b46.svg +0 -19
  692. package/dist/assets/ic-italic.358ca070.svg +0 -19
  693. package/dist/assets/ic-job-color.bb826301.svg +0 -25
  694. package/dist/assets/ic-k3s.310882f4.svg +0 -19
  695. package/dist/assets/ic-k8s-job.c4f9ccc7.svg +0 -19
  696. package/dist/assets/ic-key-enter.1bcea42a.svg +0 -19
  697. package/dist/assets/ic-key.56432553.svg +0 -19
  698. package/dist/assets/ic-kind.5d844446.svg +0 -25
  699. package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
  700. package/dist/assets/ic-laptop.06834890.svg +0 -19
  701. package/dist/assets/ic-ldap.0c5633d9.svg +0 -19
  702. package/dist/assets/ic-lego-block.ee4b63f1.svg +0 -36
  703. package/dist/assets/ic-lego.ae684d25.svg +0 -19
  704. package/dist/assets/ic-lightning-fill.83a792be.svg +0 -19
  705. package/dist/assets/ic-lightning.f4ff5588.svg +0 -19
  706. package/dist/assets/ic-lines.0a53b80a.svg +0 -19
  707. package/dist/assets/ic-link.8453e775.svg +0 -19
  708. package/dist/assets/ic-link.8b276915.svg +0 -19
  709. package/dist/assets/ic-linked-build-color.3833bda8.svg +0 -23
  710. package/dist/assets/ic-list-bullets.f055aa03.svg +0 -20
  711. package/dist/assets/ic-livspace.9f369ef7.svg +0 -29
  712. package/dist/assets/ic-locked.dab69058.svg +0 -21
  713. package/dist/assets/ic-locked.dd40e181.svg +0 -3
  714. package/dist/assets/ic-logout.f0a8b488.svg +0 -19
  715. package/dist/assets/ic-logs.84f66850.svg +0 -19
  716. package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
  717. package/dist/assets/ic-magnifying-glass.b8c4da8f.svg +0 -19
  718. package/dist/assets/ic-man-on-rocket.93b070c4.svg +0 -110
  719. package/dist/assets/ic-match-case.13b7a2fa.svg +0 -19
  720. package/dist/assets/ic-match-word.d92addc3.svg +0 -19
  721. package/dist/assets/ic-mechanical-operation.04a318d6.svg +0 -17
  722. package/dist/assets/ic-medium-clean-brush.f683d4d6.svg +0 -24
  723. package/dist/assets/ic-medium-delete.8386c77e.svg +0 -27
  724. package/dist/assets/ic-medium-info.b59d7676.svg +0 -21
  725. package/dist/assets/ic-medium-megaphone.a069bf1d.svg +0 -5
  726. package/dist/assets/ic-medium-paintbucket.45544bb9.svg +0 -24
  727. package/dist/assets/ic-medium-pause.7449078a.svg +0 -19
  728. package/dist/assets/ic-medium-play.f7a8ddb7.svg +0 -19
  729. package/dist/assets/ic-medium-upgrade.b315b889.svg +0 -9
  730. package/dist/assets/ic-megaphone-left.ad5e7cbf.svg +0 -19
  731. package/dist/assets/ic-megaphone-right.0f7ef63f.svg +0 -19
  732. package/dist/assets/ic-memory.c3264de1.svg +0 -19
  733. package/dist/assets/ic-message.be6dba43.svg +0 -19
  734. package/dist/assets/ic-microsoft.7c7bcaeb.svg +0 -22
  735. package/dist/assets/ic-minikube.33d6538a.svg +0 -25
  736. package/dist/assets/ic-minus.65e341f4.svg +0 -19
  737. package/dist/assets/ic-minus.df865aaf.svg +0 -19
  738. package/dist/assets/ic-missing.917a1291.svg +0 -20
  739. package/dist/assets/ic-mobile.eabc9181.svg +0 -20
  740. package/dist/assets/ic-monitoring.30910a3c.svg +0 -22
  741. package/dist/assets/ic-more-vertical.18109fc1.svg +0 -19
  742. package/dist/assets/ic-namespace.8a09efbb.svg +0 -19
  743. package/dist/assets/ic-nav-cursor.691e4db7.svg +0 -10
  744. package/dist/assets/ic-new-chat.f7c90f8e.svg +0 -5
  745. package/dist/assets/ic-new.1907a03f.svg +0 -19
  746. package/dist/assets/ic-node-script.88af3604.svg +0 -35
  747. package/dist/assets/ic-not-authorized.cb3b5ff2.svg +0 -95
  748. package/dist/assets/ic-not-found.f5857c12.svg +0 -176
  749. package/dist/assets/ic-oidc.5e06656d.svg +0 -20
  750. package/dist/assets/ic-open-box.b15fcbbd.svg +0 -19
  751. package/dist/assets/ic-open-in-new.6aea09d0.svg +0 -19
  752. package/dist/assets/ic-openai.030b0cc2.svg +0 -26
  753. package/dist/assets/ic-openshift.3886b54f.svg +0 -26
  754. package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
  755. package/dist/assets/ic-ordered-list.879dc7c8.svg +0 -19
  756. package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
  757. package/dist/assets/ic-out-of-sync.824fb5c6.svg +0 -24
  758. package/dist/assets/ic-page-not-found.3c4f114b.svg +0 -81
  759. package/dist/assets/ic-paper-plane-color.b290f604.svg +0 -36
  760. package/dist/assets/ic-paper-plane.bf63ba1c.svg +0 -19
  761. package/dist/assets/ic-party.cfc7e7c6.svg +0 -4
  762. package/dist/assets/ic-path.d562ddbf.svg +0 -19
  763. package/dist/assets/ic-pause-circle.d9dc254f.svg +0 -19
  764. package/dist/assets/ic-pause.4e5c6056.svg +0 -4
  765. package/dist/assets/ic-pencil.39510f9f.svg +0 -19
  766. package/dist/assets/ic-pencil.c75a6acc.svg +0 -19
  767. package/dist/assets/ic-person.d066bc6d.svg +0 -19
  768. package/dist/assets/ic-piggybank.3a4839d7.svg +0 -3
  769. package/dist/assets/ic-play-outline.e18008ce.svg +0 -3
  770. package/dist/assets/ic-priority-high-fill.53755d8f.svg +0 -3
  771. package/dist/assets/ic-priority-low-fill.79e781ae.svg +0 -4
  772. package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
  773. package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +0 -10
  774. package/dist/assets/ic-pull-request.31d0c981.svg +0 -19
  775. package/dist/assets/ic-pulsate-status.2ca548fd.svg +0 -36
  776. package/dist/assets/ic-quay.d622b34f.svg +0 -27
  777. package/dist/assets/ic-quote.10768489.svg +0 -19
  778. package/dist/assets/ic-quote.89f42bae.svg +0 -19
  779. package/dist/assets/ic-ratings.a1d31244.svg +0 -13
  780. package/dist/assets/ic-red-bulb.25e01bfc.svg +0 -9
  781. package/dist/assets/ic-regex.e14a4ea3.svg +0 -19
  782. package/dist/assets/ic-release-hub.25b9707a.svg +0 -3
  783. package/dist/assets/ic-replace-all-text.a87fd342.svg +0 -19
  784. package/dist/assets/ic-replace-text.cc5433be.svg +0 -19
  785. package/dist/assets/ic-resize-handle.f999b998.svg +0 -25
  786. package/dist/assets/ic-resource-browser.4ff3e571.svg +0 -3
  787. package/dist/assets/ic-resource-watcher.7cce5305.svg +0 -3
  788. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
  789. package/dist/assets/ic-rocket-fail.874e54ce.svg +0 -20
  790. package/dist/assets/ic-rocket-gear.b4f582da.svg +0 -19
  791. package/dist/assets/ic-rocket-launch.5df99bf3.svg +0 -19
  792. package/dist/assets/ic-rotate-devtron.5a8363d8.svg +0 -120
  793. package/dist/assets/ic-scan-fallback.1e23e6fd.svg +0 -20
  794. package/dist/assets/ic-search.976327f1.svg +0 -22
  795. package/dist/assets/ic-security-fixable.168b5bf8.svg +0 -12
  796. package/dist/assets/ic-security-not-fixable.be099f65.svg +0 -12
  797. package/dist/assets/ic-security-policy.874568da.svg +0 -3
  798. package/dist/assets/ic-security-scan.3ae78d50.svg +0 -3
  799. package/dist/assets/ic-security-vulnerability.c954b87a.svg +0 -4
  800. package/dist/assets/ic-selected.3a29e244.svg +0 -20
  801. package/dist/assets/ic-ses.7797b214.svg +0 -6
  802. package/dist/assets/ic-shapes.77fbbb93.svg +0 -19
  803. package/dist/assets/ic-shield-check.c26854d2.svg +0 -19
  804. package/dist/assets/ic-shield-check.ecde083d.svg +0 -19
  805. package/dist/assets/ic-shield-warning-outline.e6832dbc.svg +0 -19
  806. package/dist/assets/ic-slack.3c916573.svg +0 -10
  807. package/dist/assets/ic-sliders-vertical.7211dc4f.svg +0 -23
  808. package/dist/assets/ic-smtp.f6f45abc.svg +0 -7
  809. package/dist/assets/ic-software-release-management.dceedf80.svg +0 -3
  810. package/dist/assets/ic-sort-arrow-down.5cf54d08.svg +0 -19
  811. package/dist/assets/ic-sort-ascending.8a25e19d.svg +0 -19
  812. package/dist/assets/ic-sort-descending.c5846635.svg +0 -19
  813. package/dist/assets/ic-sortable.117b8f83.svg +0 -19
  814. package/dist/assets/ic-sparkle-ai-color.b67e98ce.svg +0 -27
  815. package/dist/assets/ic-sparkle-color.39f6b618.svg +0 -34
  816. package/dist/assets/ic-speedometer.495c2d1c.svg +0 -19
  817. package/dist/assets/ic-spinny.945235a0.svg +0 -30
  818. package/dist/assets/ic-spray-can.199c0450.svg +0 -19
  819. package/dist/assets/ic-spray-can.955302fc.svg +0 -19
  820. package/dist/assets/ic-stack.a6a11fe3.svg +0 -19
  821. package/dist/assets/ic-stack.fbd3aea5.svg +0 -19
  822. package/dist/assets/ic-stamp.a3d8dea0.svg +0 -19
  823. package/dist/assets/ic-stop-fill.b6641c8b.svg +0 -24
  824. package/dist/assets/ic-storage.03f282b6.svg +0 -21
  825. package/dist/assets/ic-strategy-blue-green-color.baaf7071.svg +0 -22
  826. package/dist/assets/ic-strategy-blue-green.8d61b66d.svg +0 -19
  827. package/dist/assets/ic-strategy-canary-color.3241aea9.svg +0 -21
  828. package/dist/assets/ic-strategy-canary.b6d42fbb.svg +0 -19
  829. package/dist/assets/ic-strategy-recreate-color.f62bd5ed.svg +0 -20
  830. package/dist/assets/ic-strategy-recreate.3aa96ce0.svg +0 -19
  831. package/dist/assets/ic-strategy-rolling-color.945b909a.svg +0 -22
  832. package/dist/assets/ic-strategy-rolling.3b901bf5.svg +0 -19
  833. package/dist/assets/ic-strikethrough.a1652ad9.svg +0 -19
  834. package/dist/assets/ic-success-blue.7b3a2720.svg +0 -4
  835. package/dist/assets/ic-success.63b86b4e.svg +0 -20
  836. package/dist/assets/ic-success.bcd5b258.svg +0 -20
  837. package/dist/assets/ic-sun.9fe1dd26.svg +0 -19
  838. package/dist/assets/ic-suspended.8a62c6bc.svg +0 -25
  839. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
  840. package/dist/assets/ic-tag.1613fc59.svg +0 -19
  841. package/dist/assets/ic-tag.5fdc7834.svg +0 -3
  842. package/dist/assets/ic-tata1mg.a631cafa.svg +0 -29
  843. package/dist/assets/ic-tenants.4f997b9a.svg +0 -3
  844. package/dist/assets/ic-terminal-fill.4bd66669.svg +0 -19
  845. package/dist/assets/ic-terminal.628344b9.svg +0 -19
  846. package/dist/assets/ic-thermometer.95af4a4b.svg +0 -19
  847. package/dist/assets/ic-thumb-down-fill.e3cb6362.svg +0 -3
  848. package/dist/assets/ic-thumb-down.1834436f.svg +0 -19
  849. package/dist/assets/ic-thumb-up-fill.ddf7c8eb.svg +0 -3
  850. package/dist/assets/ic-thumb-up.976f6efb.svg +0 -19
  851. package/dist/assets/ic-tilde.ec1a1ea4.svg +0 -19
  852. package/dist/assets/ic-timeout-dash.d8e2d62e.svg +0 -21
  853. package/dist/assets/ic-timer.ae5f10fa.svg +0 -19
  854. package/dist/assets/ic-timer.b62145ec.svg +0 -19
  855. package/dist/assets/ic-traffic-signal.cc68c2e5.svg +0 -19
  856. package/dist/assets/ic-travclan.86f22c7d.svg +0 -29
  857. package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
  858. package/dist/assets/ic-two-cubes.a775b635.svg +0 -19
  859. package/dist/assets/ic-ubuntu.540c22c9.svg +0 -20
  860. package/dist/assets/ic-unknown.89dc351a.svg +0 -21
  861. package/dist/assets/ic-unordered-list.42c1cbbc.svg +0 -22
  862. package/dist/assets/ic-upgrade-enterprise.49cbd888.svg +0 -320
  863. package/dist/assets/ic-upload-arrow-animated.3db85855.svg +0 -17
  864. package/dist/assets/ic-user-circle.a2143a4a.svg +0 -19
  865. package/dist/assets/ic-user-key.5dc44524.svg +0 -20
  866. package/dist/assets/ic-users.33cb397f.svg +0 -19
  867. package/dist/assets/ic-var-initial.afdaa854.svg +0 -25
  868. package/dist/assets/ic-view-variable-toggle.93c3599f.svg +0 -19
  869. package/dist/assets/ic-visibility-off.d91d3844.svg +0 -19
  870. package/dist/assets/ic-visibility-on.7505dd12.svg +0 -20
  871. package/dist/assets/ic-vulnerability-not-found.7d75cc30.svg +0 -129
  872. package/dist/assets/ic-warning-fill.bfea8b38.svg +0 -4
  873. package/dist/assets/ic-warning-stroke.fc850a4a.svg +0 -3
  874. package/dist/assets/ic-warning-y5.d1fb03fe.svg +0 -20
  875. package/dist/assets/ic-warning.414e37e3.svg +0 -21
  876. package/dist/assets/ic-warning.ecf7ff97.svg +0 -23
  877. package/dist/assets/ic-webhook-config.d0dd47eb.svg +0 -5
  878. package/dist/assets/ic-webhook.d4431b07.svg +0 -31
  879. package/dist/assets/ic-webhook.ffd8ded6.svg +0 -21
  880. package/dist/assets/ic-wifi-slash.4bd4fb85.svg +0 -19
  881. package/dist/assets/ic-world-globe.c16eb8c2.svg +0 -19
  882. package/dist/assets/ic-world.1f6a5eaf.svg +0 -19
  883. package/dist/assets/img-celebration.8ceac2a9.svg +0 -149
  884. package/dist/assets/img-folder-empty.8e898c33.svg +0 -33
  885. package/dist/assets/img-install-freemium-saas.4388531c.svg +0 -40
  886. package/dist/assets/img-install-via-aws-marketplace.df85f572.svg +0 -48
  887. package/dist/assets/img-installing-devtron.1689cddb.svg +0 -160
  888. package/dist/assets/img-mechanical-operation.04a318d6.svg +0 -17
  889. package/dist/assets/img-no-backup-location.0e8699c5.svg +0 -180
  890. package/dist/assets/img-no-restores.f26cb7db.svg +0 -114
  891. package/dist/assets/img-page-not-found.3c4f114b.svg +0 -81
  892. package/dist/assets/inject-tag.28e72db6.svg +0 -21
  893. package/dist/assets/licenseCardBG.b507c5b0.svg +0 -275
  894. package/dist/assets/workflow-options-modal-header.ce3c6b31.svg +0 -54
@@ -1,3606 +0,0 @@
1
- import { aZ as m, a_ as lt, a$ as R, b0 as Zr, b1 as Le, b2 as oe, b3 as T, b4 as $e, b5 as at, b6 as Kt, b7 as Q, b8 as $r, b9 as oi, ba as si, bb as ui, bc as li, bd as fi, be as ci, bf as vi, bg as di, bh as qr, bi as pi, bj as hi, bk as mi, bl as gi, bm as yi, bn as Jr, bo as Pt, bp as he, bq as X, br as bi, bs as Qr, bt as z, bu as tn, bv as me, bw as Z, bx as Pi, by as Ot, bz as Vi, bA as Ti, bB as en, bC as Ft, bD as O, bE as ge, bF as Si, bG as se, bH as xi, bI as Ci } from "./@vendor-CtCMPfdc.js";
2
- import * as k from "react";
3
- import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as De, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Di } from "react";
4
- var qe = "production", Me = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
5
- return {
6
- isEnabled: function(e) {
7
- return t.some(function(r) {
8
- return !!e[r];
9
- });
10
- }
11
- };
12
- }, jt = {
13
- measureLayout: tt(["layout", "layoutId", "drag"]),
14
- animation: tt([
15
- "animate",
16
- "exit",
17
- "variants",
18
- "whileHover",
19
- "whileTap",
20
- "whileFocus",
21
- "whileDrag",
22
- "whileInView"
23
- ]),
24
- exit: tt(["exit"]),
25
- drag: tt(["drag", "dragControls"]),
26
- focus: tt(["whileFocus"]),
27
- hover: tt(["whileHover", "onHoverStart", "onHoverEnd"]),
28
- tap: tt(["whileTap", "onTap", "onTapStart", "onTapCancel"]),
29
- pan: tt([
30
- "onPan",
31
- "onPanStart",
32
- "onPanSessionStart",
33
- "onPanEnd"
34
- ]),
35
- inView: tt([
36
- "whileInView",
37
- "onViewportEnter",
38
- "onViewportLeave"
39
- ])
40
- };
41
- function Mi(t) {
42
- for (var e in t)
43
- t[e] !== null && (e === "projectionNodeConstructor" ? jt.projectionNodeConstructor = t[e] : jt[e].Component = t[e]);
44
- }
45
- var rn = St({ strict: !1 }), nn = Object.keys(jt), Ii = nn.length;
46
- function Oi(t, e, r) {
47
- var n = [], i = F(rn);
48
- if (!e)
49
- return null;
50
- Me !== "production" && r && i.strict && lt(!1, "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");
51
- for (var s = 0; s < Ii; s++) {
52
- var o = nn[s], a = jt[o], u = a.isEnabled, l = a.Component;
53
- u(t) && l && n.push(k.createElement(l, m({ key: o }, t, { visualElement: e })));
54
- }
55
- return n;
56
- }
57
- var _t = St({
58
- transformPagePoint: function(t) {
59
- return t;
60
- },
61
- isStatic: !1,
62
- reducedMotion: "never"
63
- }), ee = St({});
64
- function Fi() {
65
- return F(ee).visualElement;
66
- }
67
- var Nt = St(null), xt = typeof document < "u", Tt = xt ? Ai : N, be = { current: null }, an = !1;
68
- function ji() {
69
- if (an = !0, !!xt)
70
- if (window.matchMedia) {
71
- var t = window.matchMedia("(prefers-reduced-motion)"), e = function() {
72
- return be.current = t.matches;
73
- };
74
- t.addListener(e), e();
75
- } else
76
- be.current = !1;
77
- }
78
- function Bi() {
79
- !an && ji();
80
- var t = R(De(be.current), 1), e = t[0];
81
- return e;
82
- }
83
- function Ui() {
84
- var t = Bi(), e = F(_t).reducedMotion;
85
- return e === "never" ? !1 : e === "always" ? !0 : t;
86
- }
87
- function _i(t, e, r, n) {
88
- var i = F(rn), s = Fi(), o = F(Nt), a = Ui(), u = $(void 0);
89
- n || (n = i.renderer), !u.current && n && (u.current = n(t, {
90
- visualState: e,
91
- parent: s,
92
- props: r,
93
- presenceId: o?.id,
94
- blockInitialAnimation: o?.initial === !1,
95
- shouldReduceMotion: a
96
- }));
97
- var l = u.current;
98
- return Tt(function() {
99
- l?.syncRender();
100
- }), N(function() {
101
- var f;
102
- (f = l?.animationState) === null || f === void 0 || f.animateChanges();
103
- }), Tt(function() {
104
- return function() {
105
- return l?.notifyUnmount();
106
- };
107
- }, []), l;
108
- }
109
- function gt(t) {
110
- return typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
111
- }
112
- function Ni(t, e, r) {
113
- return ye(
114
- function(n) {
115
- var i;
116
- n && ((i = t.mount) === null || i === void 0 || i.call(t, n)), e && (n ? e.mount(n) : e.unmount()), r && (typeof r == "function" ? r(n) : gt(r) && (r.current = n));
117
- },
118
- /**
119
- * Only pass a new ref callback to React if we've received a visual element
120
- * factory. Otherwise we'll be mounting/remounting every time externalRef
121
- * or other dependencies change.
122
- */
123
- [e]
124
- );
125
- }
126
- function on(t) {
127
- return Array.isArray(t);
128
- }
129
- function W(t) {
130
- return typeof t == "string" || on(t);
131
- }
132
- function Hi(t) {
133
- var e = {};
134
- return t.forEachValue(function(r, n) {
135
- return e[n] = r.get();
136
- }), e;
137
- }
138
- function zi(t) {
139
- var e = {};
140
- return t.forEachValue(function(r, n) {
141
- return e[n] = r.getVelocity();
142
- }), e;
143
- }
144
- function sn(t, e, r, n, i) {
145
- var s;
146
- return n === void 0 && (n = {}), i === void 0 && (i = {}), typeof e == "function" && (e = e(r ?? t.custom, n, i)), typeof e == "string" && (e = (s = t.variants) === null || s === void 0 ? void 0 : s[e]), typeof e == "function" && (e = e(r ?? t.custom, n, i)), e;
147
- }
148
- function re(t, e, r) {
149
- var n = t.getProps();
150
- return sn(n, e, r ?? n.custom, Hi(t), zi(t));
151
- }
152
- function ne(t) {
153
- var e;
154
- return typeof ((e = t.animate) === null || e === void 0 ? void 0 : e.start) == "function" || W(t.initial) || W(t.animate) || W(t.whileHover) || W(t.whileDrag) || W(t.whileTap) || W(t.whileFocus) || W(t.exit);
155
- }
156
- function un(t) {
157
- return !!(ne(t) || t.variants);
158
- }
159
- function Gi(t, e) {
160
- if (ne(t)) {
161
- var r = t.initial, n = t.animate;
162
- return {
163
- initial: r === !1 || W(r) ? r : void 0,
164
- animate: W(n) ? n : void 0
165
- };
166
- }
167
- return t.inherit !== !1 ? e : {};
168
- }
169
- function Ki(t) {
170
- var e = Gi(t, F(ee)), r = e.initial, n = e.animate;
171
- return Vt(function() {
172
- return { initial: r, animate: n };
173
- }, [Je(r), Je(n)]);
174
- }
175
- function Je(t) {
176
- return Array.isArray(t) ? t.join(" ") : t;
177
- }
178
- function ft(t) {
179
- var e = $(null);
180
- return e.current === null && (e.current = t()), e.current;
181
- }
182
- var Lt = {
183
- /**
184
- * Global flag as to whether the tree has animated since the last time
185
- * we resized the window
186
- */
187
- hasAnimatedSinceResize: !0,
188
- /**
189
- * We set this to true once, on the first update. Any nodes added to the tree beyond that
190
- * update will be given a `data-projection-id` attribute.
191
- */
192
- hasEverUpdated: !1
193
- }, ki = 1;
194
- function Yi() {
195
- return ft(function() {
196
- if (Lt.hasEverUpdated)
197
- return ki++;
198
- });
199
- }
200
- var Ie = St({}), ln = St({});
201
- function Xi(t, e, r, n) {
202
- var i, s = e.layoutId, o = e.layout, a = e.drag, u = e.dragConstraints, l = e.layoutScroll, f = F(ln);
203
- !n || !r || r?.projection || (r.projection = new n(t, r.getLatestValues(), (i = r.parent) === null || i === void 0 ? void 0 : i.projection), r.projection.setOptions({
204
- layoutId: s,
205
- layout: o,
206
- alwaysMeasureLayout: !!a || u && gt(u),
207
- visualElement: r,
208
- scheduleRender: function() {
209
- return r.scheduleRender();
210
- },
211
- /**
212
- * TODO: Update options in an effect. This could be tricky as it'll be too late
213
- * to update by the time layout animations run.
214
- * We also need to fix this safeToRemove by linking it up to the one returned by usePresence,
215
- * ensuring it gets called if there's no potential layout animations.
216
- *
217
- */
218
- animationType: typeof o == "string" ? o : "both",
219
- initialPromotionConfig: f,
220
- layoutScroll: l
221
- }));
222
- }
223
- var Wi = (
224
- /** @class */
225
- function(t) {
226
- Zr(e, t);
227
- function e() {
228
- return t !== null && t.apply(this, arguments) || this;
229
- }
230
- return e.prototype.getSnapshotBeforeUpdate = function() {
231
- return this.updateProps(), null;
232
- }, e.prototype.componentDidUpdate = function() {
233
- }, e.prototype.updateProps = function() {
234
- var r = this.props, n = r.visualElement, i = r.props;
235
- n && n.setProps(i);
236
- }, e.prototype.render = function() {
237
- return this.props.children;
238
- }, e;
239
- }(Re.Component)
240
- );
241
- function Zi(t) {
242
- var e = t.preloadedFeatures, r = t.createVisualElement, n = t.projectionNodeConstructor, i = t.useRender, s = t.useVisualState, o = t.Component;
243
- e && Mi(e);
244
- function a(u, l) {
245
- var f = $i(u);
246
- u = m(m({}, u), { layoutId: f });
247
- var v = F(_t), c = null, d = Ki(u), p = v.isStatic ? void 0 : Yi(), h = s(u, v.isStatic);
248
- return !v.isStatic && xt && (d.visualElement = _i(o, h, m(m({}, v), u), r), Xi(p, u, d.visualElement, n || jt.projectionNodeConstructor), c = Oi(u, d.visualElement, e)), k.createElement(
249
- Wi,
250
- { visualElement: d.visualElement, props: m(m({}, v), u) },
251
- c,
252
- k.createElement(ee.Provider, { value: d }, i(o, u, p, Ni(h, d.visualElement, l), h, v.isStatic, d.visualElement))
253
- );
254
- }
255
- return wi(a);
256
- }
257
- function $i(t) {
258
- var e, r = t.layoutId, n = (e = F(Ie)) === null || e === void 0 ? void 0 : e.id;
259
- return n && r !== void 0 ? n + "-" + r : r;
260
- }
261
- function qi(t) {
262
- function e(n, i) {
263
- return i === void 0 && (i = {}), Zi(t(n, i));
264
- }
265
- if (typeof Proxy > "u")
266
- return e;
267
- var r = /* @__PURE__ */ new Map();
268
- return new Proxy(e, {
269
- /**
270
- * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
271
- * The prop name is passed through as `key` and we can use that to generate a `motion`
272
- * DOM component with that name.
273
- */
274
- get: function(n, i) {
275
- return r.has(i) || r.set(i, e(i)), r.get(i);
276
- }
277
- });
278
- }
279
- var Ji = [
280
- "animate",
281
- "circle",
282
- "defs",
283
- "desc",
284
- "ellipse",
285
- "g",
286
- "image",
287
- "line",
288
- "filter",
289
- "marker",
290
- "mask",
291
- "metadata",
292
- "path",
293
- "pattern",
294
- "polygon",
295
- "polyline",
296
- "rect",
297
- "stop",
298
- "svg",
299
- "switch",
300
- "symbol",
301
- "text",
302
- "tspan",
303
- "use",
304
- "view"
305
- ];
306
- function Oe(t) {
307
- return (
308
- /**
309
- * If it's not a string, it's a custom React component. Currently we only support
310
- * HTML custom React components.
311
- */
312
- typeof t != "string" || /**
313
- * If it contains a dash, the element is a custom HTML webcomponent.
314
- */
315
- t.includes("-") ? !1 : (
316
- /**
317
- * If it's in our list of lowercase SVG tags, it's an SVG component
318
- */
319
- !!(Ji.indexOf(t) > -1 || /**
320
- * If it contains a capital letter, it's an SVG component
321
- */
322
- /[A-Z]/.test(t))
323
- )
324
- );
325
- }
326
- var $t = {};
327
- function Qi(t) {
328
- Object.assign($t, t);
329
- }
330
- var Pe = ["", "X", "Y", "Z"], ta = ["translate", "scale", "rotate", "skew"], Bt = ["transformPerspective", "x", "y", "z"];
331
- ta.forEach(function(t) {
332
- return Pe.forEach(function(e) {
333
- return Bt.push(t + e);
334
- });
335
- });
336
- function ea(t, e) {
337
- return Bt.indexOf(t) - Bt.indexOf(e);
338
- }
339
- var ra = new Set(Bt);
340
- function Ht(t) {
341
- return ra.has(t);
342
- }
343
- var na = /* @__PURE__ */ new Set(["originX", "originY", "originZ"]);
344
- function fn(t) {
345
- return na.has(t);
346
- }
347
- function cn(t, e) {
348
- var r = e.layout, n = e.layoutId;
349
- return Ht(t) || fn(t) || (r || n !== void 0) && (!!$t[t] || t === "opacity");
350
- }
351
- var q = function(t) {
352
- return !!(t !== null && typeof t == "object" && t.getVelocity);
353
- }, ia = {
354
- x: "translateX",
355
- y: "translateY",
356
- z: "translateZ",
357
- transformPerspective: "perspective"
358
- };
359
- function aa(t, e, r, n) {
360
- var i = t.transform, s = t.transformKeys, o = e.enableHardwareAcceleration, a = o === void 0 ? !0 : o, u = e.allowTransformNone, l = u === void 0 ? !0 : u, f = "";
361
- s.sort(ea);
362
- for (var v = !1, c = s.length, d = 0; d < c; d++) {
363
- var p = s[d];
364
- f += "".concat(ia[p] || p, "(").concat(i[p], ") "), p === "z" && (v = !0);
365
- }
366
- return !v && a ? f += "translateZ(0)" : f = f.trim(), n ? f = n(i, r ? "" : f) : l && r && (f = "none"), f;
367
- }
368
- function oa(t) {
369
- var e = t.originX, r = e === void 0 ? "50%" : e, n = t.originY, i = n === void 0 ? "50%" : n, s = t.originZ, o = s === void 0 ? 0 : s;
370
- return "".concat(r, " ").concat(i, " ").concat(o);
371
- }
372
- function vn(t) {
373
- return t.startsWith("--");
374
- }
375
- var sa = function(t, e) {
376
- return e && typeof t == "number" ? e.transform(t) : t;
377
- }, Qe = m(m({}, Le), { transform: Math.round }), dn = {
378
- // Border props
379
- borderWidth: T,
380
- borderTopWidth: T,
381
- borderRightWidth: T,
382
- borderBottomWidth: T,
383
- borderLeftWidth: T,
384
- borderRadius: T,
385
- radius: T,
386
- borderTopLeftRadius: T,
387
- borderTopRightRadius: T,
388
- borderBottomRightRadius: T,
389
- borderBottomLeftRadius: T,
390
- // Positioning props
391
- width: T,
392
- maxWidth: T,
393
- height: T,
394
- maxHeight: T,
395
- size: T,
396
- top: T,
397
- right: T,
398
- bottom: T,
399
- left: T,
400
- // Spacing props
401
- padding: T,
402
- paddingTop: T,
403
- paddingRight: T,
404
- paddingBottom: T,
405
- paddingLeft: T,
406
- margin: T,
407
- marginTop: T,
408
- marginRight: T,
409
- marginBottom: T,
410
- marginLeft: T,
411
- // Transform props
412
- rotate: at,
413
- rotateX: at,
414
- rotateY: at,
415
- rotateZ: at,
416
- scale: Kt,
417
- scaleX: Kt,
418
- scaleY: Kt,
419
- scaleZ: Kt,
420
- skew: at,
421
- skewX: at,
422
- skewY: at,
423
- distance: T,
424
- translateX: T,
425
- translateY: T,
426
- translateZ: T,
427
- x: T,
428
- y: T,
429
- z: T,
430
- perspective: T,
431
- transformPerspective: T,
432
- opacity: oe,
433
- originX: $e,
434
- originY: $e,
435
- originZ: T,
436
- // Misc
437
- zIndex: Qe,
438
- // SVG
439
- fillOpacity: oe,
440
- strokeOpacity: oe,
441
- numOctaves: Qe
442
- };
443
- function Fe(t, e, r, n) {
444
- var i, s = t.style, o = t.vars, a = t.transform, u = t.transformKeys, l = t.transformOrigin;
445
- u.length = 0;
446
- var f = !1, v = !1, c = !0;
447
- for (var d in e) {
448
- var p = e[d];
449
- if (vn(d)) {
450
- o[d] = p;
451
- continue;
452
- }
453
- var h = dn[d], g = sa(p, h);
454
- if (Ht(d)) {
455
- if (f = !0, a[d] = g, u.push(d), !c)
456
- continue;
457
- p !== ((i = h.default) !== null && i !== void 0 ? i : 0) && (c = !1);
458
- } else fn(d) ? (l[d] = g, v = !0) : s[d] = g;
459
- }
460
- f ? s.transform = aa(t, r, c, n) : n ? s.transform = n({}, "") : !e.transform && s.transform && (s.transform = "none"), v && (s.transformOrigin = oa(l));
461
- }
462
- var je = function() {
463
- return {
464
- style: {},
465
- transform: {},
466
- transformKeys: [],
467
- transformOrigin: {},
468
- vars: {}
469
- };
470
- };
471
- function pn(t, e, r) {
472
- for (var n in e)
473
- !q(e[n]) && !cn(n, r) && (t[n] = e[n]);
474
- }
475
- function ua(t, e, r) {
476
- var n = t.transformTemplate;
477
- return Vt(function() {
478
- var i = je();
479
- Fe(i, e, { enableHardwareAcceleration: !r }, n);
480
- var s = i.vars, o = i.style;
481
- return m(m({}, s), o);
482
- }, [e]);
483
- }
484
- function la(t, e, r) {
485
- var n = t.style || {}, i = {};
486
- return pn(i, n, t), Object.assign(i, ua(t, e, r)), t.transformValues && (i = t.transformValues(i)), i;
487
- }
488
- function fa(t, e, r) {
489
- var n = {}, i = la(t, e, r);
490
- return t.drag && t.dragListener !== !1 && (n.draggable = !1, i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none", i.touchAction = t.drag === !0 ? "none" : "pan-".concat(t.drag === "x" ? "y" : "x")), n.style = i, n;
491
- }
492
- var ca = /* @__PURE__ */ new Set([
493
- "initial",
494
- "animate",
495
- "exit",
496
- "style",
497
- "variants",
498
- "transition",
499
- "transformTemplate",
500
- "transformValues",
501
- "custom",
502
- "inherit",
503
- "layout",
504
- "layoutId",
505
- "layoutDependency",
506
- "onLayoutAnimationStart",
507
- "onLayoutAnimationComplete",
508
- "onLayoutMeasure",
509
- "onBeforeLayoutMeasure",
510
- "onAnimationStart",
511
- "onAnimationComplete",
512
- "onUpdate",
513
- "onDragStart",
514
- "onDrag",
515
- "onDragEnd",
516
- "onMeasureDragConstraints",
517
- "onDirectionLock",
518
- "onDragTransitionEnd",
519
- "drag",
520
- "dragControls",
521
- "dragListener",
522
- "dragConstraints",
523
- "dragDirectionLock",
524
- "dragSnapToOrigin",
525
- "_dragX",
526
- "_dragY",
527
- "dragElastic",
528
- "dragMomentum",
529
- "dragPropagation",
530
- "dragTransition",
531
- "whileDrag",
532
- "onPan",
533
- "onPanStart",
534
- "onPanEnd",
535
- "onPanSessionStart",
536
- "onTap",
537
- "onTapStart",
538
- "onTapCancel",
539
- "onHoverStart",
540
- "onHoverEnd",
541
- "whileFocus",
542
- "whileTap",
543
- "whileHover",
544
- "whileInView",
545
- "onViewportEnter",
546
- "onViewportLeave",
547
- "viewport",
548
- "layoutScroll"
549
- ]);
550
- function qt(t) {
551
- return ca.has(t);
552
- }
553
- var hn = function(t) {
554
- return !qt(t);
555
- };
556
- function va(t) {
557
- t && (hn = function(e) {
558
- return e.startsWith("on") ? !qt(e) : t(e);
559
- });
560
- }
561
- try {
562
- va(require("@emotion/is-prop-valid").default);
563
- } catch {
564
- }
565
- function da(t, e, r) {
566
- var n = {};
567
- for (var i in t)
568
- (hn(i) || r === !0 && qt(i) || !e && !qt(i) || // If trying to use native HTML drag events, forward drag listeners
569
- t.draggable && i.startsWith("onDrag")) && (n[i] = t[i]);
570
- return n;
571
- }
572
- function tr(t, e, r) {
573
- return typeof t == "string" ? t : T.transform(e + r * t);
574
- }
575
- function pa(t, e, r) {
576
- var n = tr(e, t.x, t.width), i = tr(r, t.y, t.height);
577
- return "".concat(n, " ").concat(i);
578
- }
579
- var ha = {
580
- offset: "strokeDashoffset",
581
- array: "strokeDasharray"
582
- };
583
- function ma(t, e, r, n, i) {
584
- r === void 0 && (r = 1), n === void 0 && (n = 0), t.pathLength = 1;
585
- var s = ha;
586
- t[s.offset] = T.transform(-n);
587
- var o = T.transform(e), a = T.transform(r);
588
- t[s.array] = "".concat(o, " ").concat(a);
589
- }
590
- function Be(t, e, r, n) {
591
- var i = e.attrX, s = e.attrY, o = e.originX, a = e.originY, u = e.pathLength, l = e.pathSpacing, f = l === void 0 ? 1 : l, v = e.pathOffset, c = v === void 0 ? 0 : v, d = Q(e, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
592
- Fe(t, d, r, n), t.attrs = t.style, t.style = {};
593
- var p = t.attrs, h = t.style, g = t.dimensions;
594
- p.transform && (g && (h.transform = p.transform), delete p.transform), g && (o !== void 0 || a !== void 0 || h.transform) && (h.transformOrigin = pa(g, o !== void 0 ? o : 0.5, a !== void 0 ? a : 0.5)), i !== void 0 && (p.x = i), s !== void 0 && (p.y = s), u !== void 0 && ma(p, u, f, c);
595
- }
596
- var mn = function() {
597
- return m(m({}, je()), { attrs: {} });
598
- };
599
- function ga(t, e) {
600
- var r = Vt(function() {
601
- var i = mn();
602
- return Be(i, e, { enableHardwareAcceleration: !1 }, t.transformTemplate), m(m({}, i.attrs), { style: m({}, i.style) });
603
- }, [e]);
604
- if (t.style) {
605
- var n = {};
606
- pn(n, t.style, t), r.style = m(m({}, n), r.style);
607
- }
608
- return r;
609
- }
610
- function ya(t) {
611
- t === void 0 && (t = !1);
612
- var e = function(r, n, i, s, o, a) {
613
- var u = o.latestValues, l = Oe(r) ? ga : fa, f = l(n, u, a), v = da(n, typeof r == "string", t), c = m(m(m({}, v), f), { ref: s });
614
- return i && (c["data-projection-id"] = i), Ei(r, c);
615
- };
616
- return e;
617
- }
618
- var ba = /([a-z])([A-Z])/g, Pa = "$1-$2", gn = function(t) {
619
- return t.replace(ba, Pa).toLowerCase();
620
- };
621
- function yn(t, e, r, n) {
622
- var i = e.style, s = e.vars;
623
- Object.assign(t.style, i, n && n.getProjectionStyles(r));
624
- for (var o in s)
625
- t.style.setProperty(o, s[o]);
626
- }
627
- var bn = /* @__PURE__ */ new Set([
628
- "baseFrequency",
629
- "diffuseConstant",
630
- "kernelMatrix",
631
- "kernelUnitLength",
632
- "keySplines",
633
- "keyTimes",
634
- "limitingConeAngle",
635
- "markerHeight",
636
- "markerWidth",
637
- "numOctaves",
638
- "targetX",
639
- "targetY",
640
- "surfaceScale",
641
- "specularConstant",
642
- "specularExponent",
643
- "stdDeviation",
644
- "tableValues",
645
- "viewBox",
646
- "gradientTransform",
647
- "pathLength"
648
- ]);
649
- function Pn(t, e, r, n) {
650
- yn(t, e, void 0, n);
651
- for (var i in e.attrs)
652
- t.setAttribute(bn.has(i) ? i : gn(i), e.attrs[i]);
653
- }
654
- function Ue(t) {
655
- var e = t.style, r = {};
656
- for (var n in e)
657
- (q(e[n]) || cn(n, t)) && (r[n] = e[n]);
658
- return r;
659
- }
660
- function Vn(t) {
661
- var e = Ue(t);
662
- for (var r in t)
663
- if (q(t[r])) {
664
- var n = r === "x" || r === "y" ? "attr" + r.toUpperCase() : r;
665
- e[n] = t[r];
666
- }
667
- return e;
668
- }
669
- function _e(t) {
670
- return typeof t == "object" && typeof t.start == "function";
671
- }
672
- var Ut = function(t) {
673
- return Array.isArray(t);
674
- }, Va = function(t) {
675
- return !!(t && typeof t == "object" && t.mix && t.toValue);
676
- }, Tn = function(t) {
677
- return Ut(t) ? t[t.length - 1] || 0 : t;
678
- };
679
- function Zt(t) {
680
- var e = q(t) ? t.get() : t;
681
- return Va(e) ? e.toValue() : e;
682
- }
683
- function er(t, e, r, n) {
684
- var i = t.scrapeMotionValuesFromProps, s = t.createRenderState, o = t.onMount, a = {
685
- latestValues: Ta(e, r, n, i),
686
- renderState: s()
687
- };
688
- return o && (a.mount = function(u) {
689
- return o(e, u, a);
690
- }), a;
691
- }
692
- var Sn = function(t) {
693
- return function(e, r) {
694
- var n = F(ee), i = F(Nt);
695
- return r ? er(t, e, n, i) : ft(function() {
696
- return er(t, e, n, i);
697
- });
698
- };
699
- };
700
- function Ta(t, e, r, n) {
701
- var i = {}, s = r?.initial === !1, o = n(t);
702
- for (var a in o)
703
- i[a] = Zt(o[a]);
704
- var u = t.initial, l = t.animate, f = ne(t), v = un(t);
705
- e && v && !f && t.inherit !== !1 && (u ?? (u = e.initial), l ?? (l = e.animate));
706
- var c = s || u === !1, d = c ? l : u;
707
- if (d && typeof d != "boolean" && !_e(d)) {
708
- var p = Array.isArray(d) ? d : [d];
709
- p.forEach(function(h) {
710
- var g = sn(t, h);
711
- if (g) {
712
- var b = g.transitionEnd;
713
- g.transition;
714
- var P = Q(g, ["transitionEnd", "transition"]);
715
- for (var S in P) {
716
- var C = P[S];
717
- if (Array.isArray(C)) {
718
- var A = c ? C.length - 1 : 0;
719
- C = C[A];
720
- }
721
- C !== null && (i[S] = C);
722
- }
723
- for (var S in b)
724
- i[S] = b[S];
725
- }
726
- });
727
- }
728
- return i;
729
- }
730
- var Sa = {
731
- useVisualState: Sn({
732
- scrapeMotionValuesFromProps: Vn,
733
- createRenderState: mn,
734
- onMount: function(t, e, r) {
735
- var n = r.renderState, i = r.latestValues;
736
- try {
737
- n.dimensions = typeof e.getBBox == "function" ? e.getBBox() : e.getBoundingClientRect();
738
- } catch {
739
- n.dimensions = {
740
- x: 0,
741
- y: 0,
742
- width: 0,
743
- height: 0
744
- };
745
- }
746
- Be(n, i, { enableHardwareAcceleration: !1 }, t.transformTemplate), Pn(e, n);
747
- }
748
- })
749
- }, xa = {
750
- useVisualState: Sn({
751
- scrapeMotionValuesFromProps: Ue,
752
- createRenderState: je
753
- })
754
- };
755
- function Ca(t, e, r, n, i) {
756
- var s = e.forwardMotionProps, o = s === void 0 ? !1 : s, a = Oe(t) ? Sa : xa;
757
- return m(m({}, a), { preloadedFeatures: r, useRender: ya(o), createVisualElement: n, projectionNodeConstructor: i, Component: t });
758
- }
759
- var L;
760
- (function(t) {
761
- t.Animate = "animate", t.Hover = "whileHover", t.Tap = "whileTap", t.Drag = "whileDrag", t.Focus = "whileFocus", t.InView = "whileInView", t.Exit = "exit";
762
- })(L || (L = {}));
763
- function ie(t, e, r, n) {
764
- return n === void 0 && (n = { passive: !0 }), t.addEventListener(e, r, n), function() {
765
- return t.removeEventListener(e, r);
766
- };
767
- }
768
- function Ve(t, e, r, n) {
769
- N(function() {
770
- var i = t.current;
771
- if (r && i)
772
- return ie(i, e, r, n);
773
- }, [t, e, r, n]);
774
- }
775
- function Aa(t) {
776
- var e = t.whileFocus, r = t.visualElement, n = function() {
777
- var s;
778
- (s = r.animationState) === null || s === void 0 || s.setActive(L.Focus, !0);
779
- }, i = function() {
780
- var s;
781
- (s = r.animationState) === null || s === void 0 || s.setActive(L.Focus, !1);
782
- };
783
- Ve(r, "focus", e ? n : void 0), Ve(r, "blur", e ? i : void 0);
784
- }
785
- function xn(t) {
786
- return typeof PointerEvent < "u" && t instanceof PointerEvent ? t.pointerType === "mouse" : t instanceof MouseEvent;
787
- }
788
- function Cn(t) {
789
- var e = !!t.touches;
790
- return e;
791
- }
792
- function wa(t) {
793
- return function(e) {
794
- var r = e instanceof MouseEvent, n = !r || r && e.button === 0;
795
- n && t(e);
796
- };
797
- }
798
- var Ea = { pageX: 0, pageY: 0 };
799
- function La(t, e) {
800
- e === void 0 && (e = "page");
801
- var r = t.touches[0] || t.changedTouches[0], n = r || Ea;
802
- return {
803
- x: n[e + "X"],
804
- y: n[e + "Y"]
805
- };
806
- }
807
- function Ra(t, e) {
808
- return e === void 0 && (e = "page"), {
809
- x: t[e + "X"],
810
- y: t[e + "Y"]
811
- };
812
- }
813
- function Ne(t, e) {
814
- return e === void 0 && (e = "page"), {
815
- point: Cn(t) ? La(t, e) : Ra(t, e)
816
- };
817
- }
818
- var An = function(t, e) {
819
- e === void 0 && (e = !1);
820
- var r = function(n) {
821
- return t(n, Ne(n));
822
- };
823
- return e ? wa(r) : r;
824
- }, Da = function() {
825
- return xt && window.onpointerdown === null;
826
- }, Ma = function() {
827
- return xt && window.ontouchstart === null;
828
- }, Ia = function() {
829
- return xt && window.onmousedown === null;
830
- }, Oa = {
831
- pointerdown: "mousedown",
832
- pointermove: "mousemove",
833
- pointerup: "mouseup",
834
- pointercancel: "mousecancel",
835
- pointerover: "mouseover",
836
- pointerout: "mouseout",
837
- pointerenter: "mouseenter",
838
- pointerleave: "mouseleave"
839
- }, Fa = {
840
- pointerdown: "touchstart",
841
- pointermove: "touchmove",
842
- pointerup: "touchend",
843
- pointercancel: "touchcancel"
844
- };
845
- function wn(t) {
846
- return Da() ? t : Ma() ? Fa[t] : Ia() ? Oa[t] : t;
847
- }
848
- function bt(t, e, r, n) {
849
- return ie(t, wn(e), An(r, e === "pointerdown"), n);
850
- }
851
- function Jt(t, e, r, n) {
852
- return Ve(t, wn(e), r && An(r, e === "pointerdown"), n);
853
- }
854
- function En(t) {
855
- var e = null;
856
- return function() {
857
- var r = function() {
858
- e = null;
859
- };
860
- return e === null ? (e = t, r) : !1;
861
- };
862
- }
863
- var rr = En("dragHorizontal"), nr = En("dragVertical");
864
- function Ln(t) {
865
- var e = !1;
866
- if (t === "y")
867
- e = nr();
868
- else if (t === "x")
869
- e = rr();
870
- else {
871
- var r = rr(), n = nr();
872
- r && n ? e = function() {
873
- r(), n();
874
- } : (r && r(), n && n());
875
- }
876
- return e;
877
- }
878
- function Rn() {
879
- var t = Ln(!0);
880
- return t ? (t(), !1) : !0;
881
- }
882
- function ir(t, e, r) {
883
- return function(n, i) {
884
- var s;
885
- !xn(n) || Rn() || ((s = t.animationState) === null || s === void 0 || s.setActive(L.Hover, e), r?.(n, i));
886
- };
887
- }
888
- function ja(t) {
889
- var e = t.onHoverStart, r = t.onHoverEnd, n = t.whileHover, i = t.visualElement;
890
- Jt(i, "pointerenter", e || n ? ir(i, !0, e) : void 0, { passive: !e }), Jt(i, "pointerleave", r || n ? ir(i, !1, r) : void 0, { passive: !r });
891
- }
892
- var Dn = function(t, e) {
893
- return e ? t === e ? !0 : Dn(t, e.parentElement) : !1;
894
- };
895
- function He(t) {
896
- return N(function() {
897
- return function() {
898
- return t();
899
- };
900
- }, []);
901
- }
902
- function Ba(t) {
903
- var e = t.onTap, r = t.onTapStart, n = t.onTapCancel, i = t.whileTap, s = t.visualElement, o = e || r || n || i, a = $(!1), u = $(null), l = {
904
- passive: !(r || e || n || p)
905
- };
906
- function f() {
907
- var h;
908
- (h = u.current) === null || h === void 0 || h.call(u), u.current = null;
909
- }
910
- function v() {
911
- var h;
912
- return f(), a.current = !1, (h = s.animationState) === null || h === void 0 || h.setActive(L.Tap, !1), !Rn();
913
- }
914
- function c(h, g) {
915
- v() && (Dn(s.getInstance(), h.target) ? e?.(h, g) : n?.(h, g));
916
- }
917
- function d(h, g) {
918
- v() && n?.(h, g);
919
- }
920
- function p(h, g) {
921
- var b;
922
- f(), !a.current && (a.current = !0, u.current = $r(bt(window, "pointerup", c, l), bt(window, "pointercancel", d, l)), (b = s.animationState) === null || b === void 0 || b.setActive(L.Tap, !0), r?.(h, g));
923
- }
924
- Jt(s, "pointerdown", o ? p : void 0, l), He(f);
925
- }
926
- var ar = /* @__PURE__ */ new Set();
927
- function Mn(t, e, r) {
928
- t || ar.has(e) || (console.warn(e), ar.add(e));
929
- }
930
- var Te = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), Ua = function(t) {
931
- var e;
932
- (e = Te.get(t.target)) === null || e === void 0 || e(t);
933
- }, _a = function(t) {
934
- t.forEach(Ua);
935
- };
936
- function Na(t) {
937
- var e = t.root, r = Q(t, ["root"]), n = e || document;
938
- ue.has(n) || ue.set(n, {});
939
- var i = ue.get(n), s = JSON.stringify(r);
940
- return i[s] || (i[s] = new IntersectionObserver(_a, m({ root: e }, r))), i[s];
941
- }
942
- function Ha(t, e, r) {
943
- var n = Na(e);
944
- return Te.set(t, r), n.observe(t), function() {
945
- Te.delete(t), n.unobserve(t);
946
- };
947
- }
948
- function za(t) {
949
- var e = t.visualElement, r = t.whileInView, n = t.onViewportEnter, i = t.onViewportLeave, s = t.viewport, o = s === void 0 ? {} : s, a = $({
950
- hasEnteredView: !1,
951
- isInView: !1
952
- }), u = !!(r || n || i);
953
- o.once && a.current.hasEnteredView && (u = !1);
954
- var l = typeof IntersectionObserver > "u" ? ka : Ka;
955
- l(u, a.current, e, o);
956
- }
957
- var Ga = {
958
- some: 0,
959
- all: 1
960
- };
961
- function Ka(t, e, r, n) {
962
- var i = n.root, s = n.margin, o = n.amount, a = o === void 0 ? "some" : o, u = n.once;
963
- N(function() {
964
- if (t) {
965
- var l = {
966
- root: i?.current,
967
- rootMargin: s,
968
- threshold: typeof a == "number" ? a : Ga[a]
969
- }, f = function(v) {
970
- var c, d = v.isIntersecting;
971
- if (e.isInView !== d && (e.isInView = d, !(u && !d && e.hasEnteredView))) {
972
- d && (e.hasEnteredView = !0), (c = r.animationState) === null || c === void 0 || c.setActive(L.InView, d);
973
- var p = r.getProps(), h = d ? p.onViewportEnter : p.onViewportLeave;
974
- h?.(v);
975
- }
976
- };
977
- return Ha(r.getInstance(), l, f);
978
- }
979
- }, [t, i, s, a]);
980
- }
981
- function ka(t, e, r, n) {
982
- var i = n.fallback, s = i === void 0 ? !0 : i;
983
- N(function() {
984
- !t || !s || (Me !== "production" && Mn(!1, "IntersectionObserver not available on this device. whileInView animations will trigger on mount."), requestAnimationFrame(function() {
985
- var o;
986
- e.hasEnteredView = !0;
987
- var a = r.getProps().onViewportEnter;
988
- a?.(null), (o = r.animationState) === null || o === void 0 || o.setActive(L.InView, !0);
989
- }));
990
- }, [t]);
991
- }
992
- var ut = function(t) {
993
- return function(e) {
994
- return t(e), null;
995
- };
996
- }, Ya = {
997
- inView: ut(za),
998
- tap: ut(Ba),
999
- focus: ut(Aa),
1000
- hover: ut(ja)
1001
- }, Xa = 0, Wa = function() {
1002
- return Xa++;
1003
- }, In = function() {
1004
- return ft(Wa);
1005
- };
1006
- function On() {
1007
- var t = F(Nt);
1008
- if (t === null)
1009
- return [!0, null];
1010
- var e = t.isPresent, r = t.onExitComplete, n = t.register, i = In();
1011
- N(function() {
1012
- return n(i);
1013
- }, []);
1014
- var s = function() {
1015
- return r?.(i);
1016
- };
1017
- return !e && r ? [!1, s] : [!0];
1018
- }
1019
- function Fn(t, e) {
1020
- if (!Array.isArray(e))
1021
- return !1;
1022
- var r = e.length;
1023
- if (r !== t.length)
1024
- return !1;
1025
- for (var n = 0; n < r; n++)
1026
- if (e[n] !== t[n])
1027
- return !1;
1028
- return !0;
1029
- }
1030
- var Qt = function(t) {
1031
- return t * 1e3;
1032
- }, or = {
1033
- linear: Jr,
1034
- easeIn: yi,
1035
- easeInOut: gi,
1036
- easeOut: mi,
1037
- circIn: hi,
1038
- circInOut: pi,
1039
- circOut: qr,
1040
- backIn: di,
1041
- backInOut: vi,
1042
- backOut: ci,
1043
- anticipate: fi,
1044
- bounceIn: li,
1045
- bounceInOut: ui,
1046
- bounceOut: si
1047
- }, sr = function(t) {
1048
- if (Array.isArray(t)) {
1049
- lt(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
1050
- var e = R(t, 4), r = e[0], n = e[1], i = e[2], s = e[3];
1051
- return oi(r, n, i, s);
1052
- } else if (typeof t == "string")
1053
- return lt(or[t] !== void 0, "Invalid easing type '".concat(t, "'")), or[t];
1054
- return t;
1055
- }, Za = function(t) {
1056
- return Array.isArray(t) && typeof t[0] != "number";
1057
- }, ur = function(t, e) {
1058
- return t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
1059
- Pt.test(e) && // And it contains numbers and/or colors
1060
- !e.startsWith("url("));
1061
- }, ct = function() {
1062
- return {
1063
- type: "spring",
1064
- stiffness: 500,
1065
- damping: 25,
1066
- restSpeed: 10
1067
- };
1068
- }, kt = function(t) {
1069
- return {
1070
- type: "spring",
1071
- stiffness: 550,
1072
- damping: t === 0 ? 2 * Math.sqrt(550) : 30,
1073
- restSpeed: 10
1074
- };
1075
- }, le = function() {
1076
- return {
1077
- type: "keyframes",
1078
- ease: "linear",
1079
- duration: 0.3
1080
- };
1081
- }, $a = function(t) {
1082
- return {
1083
- type: "keyframes",
1084
- duration: 0.8,
1085
- values: t
1086
- };
1087
- }, lr = {
1088
- x: ct,
1089
- y: ct,
1090
- z: ct,
1091
- rotate: ct,
1092
- rotateX: ct,
1093
- rotateY: ct,
1094
- rotateZ: ct,
1095
- scaleX: kt,
1096
- scaleY: kt,
1097
- scale: kt,
1098
- opacity: le,
1099
- backgroundColor: le,
1100
- color: le,
1101
- default: kt
1102
- }, qa = function(t, e) {
1103
- var r;
1104
- return Ut(e) ? r = $a : r = lr[t] || lr.default, m({ to: e }, r(e));
1105
- }, Ja = m(m({}, dn), {
1106
- // Color props
1107
- color: X,
1108
- backgroundColor: X,
1109
- outlineColor: X,
1110
- fill: X,
1111
- stroke: X,
1112
- // Border props
1113
- borderColor: X,
1114
- borderTopColor: X,
1115
- borderRightColor: X,
1116
- borderBottomColor: X,
1117
- borderLeftColor: X,
1118
- filter: he,
1119
- WebkitFilter: he
1120
- }), ze = function(t) {
1121
- return Ja[t];
1122
- };
1123
- function Ge(t, e) {
1124
- var r, n = ze(t);
1125
- return n !== he && (n = Pt), (r = n.getAnimatableNone) === null || r === void 0 ? void 0 : r.call(n, e);
1126
- }
1127
- function Qa(t) {
1128
- t.when, t.delay, t.delayChildren, t.staggerChildren, t.staggerDirection, t.repeat, t.repeatType, t.repeatDelay, t.from;
1129
- var e = Q(t, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection", "repeat", "repeatType", "repeatDelay", "from"]);
1130
- return !!Object.keys(e).length;
1131
- }
1132
- var fr = !1;
1133
- function to(t) {
1134
- var e = t.ease, r = t.times, n = t.yoyo, i = t.flip, s = t.loop, o = Q(t, ["ease", "times", "yoyo", "flip", "loop"]), a = m({}, o);
1135
- return r && (a.offset = r), o.duration && (a.duration = Qt(o.duration)), o.repeatDelay && (a.repeatDelay = Qt(o.repeatDelay)), e && (a.ease = Za(e) ? e.map(sr) : sr(e)), o.type === "tween" && (a.type = "keyframes"), (n || s || i) && (tn(!fr, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), fr = !0, n ? a.repeatType = "reverse" : s ? a.repeatType = "loop" : i && (a.repeatType = "mirror"), a.repeat = s || n || i || o.repeat), o.type !== "spring" && (a.type = "keyframes"), a;
1136
- }
1137
- function eo(t, e) {
1138
- var r, n, i = Ke(t, e) || {};
1139
- return (n = (r = i.delay) !== null && r !== void 0 ? r : t.delay) !== null && n !== void 0 ? n : 0;
1140
- }
1141
- function ro(t) {
1142
- return Array.isArray(t.to) && t.to[0] === null && (t.to = z([], R(t.to), !1), t.to[0] = t.from), t;
1143
- }
1144
- function no(t, e, r) {
1145
- var n;
1146
- return Array.isArray(e.to) && ((n = t.duration) !== null && n !== void 0 || (t.duration = 0.8)), ro(e), Qa(t) || (t = m(m({}, t), qa(r, e.to))), m(m({}, e), to(t));
1147
- }
1148
- function io(t, e, r, n, i) {
1149
- var s, o = Ke(n, t), a = (s = o.from) !== null && s !== void 0 ? s : e.get(), u = ur(t, r);
1150
- a === "none" && u && typeof r == "string" ? a = Ge(t, r) : cr(a) && typeof r == "string" ? a = vr(r) : !Array.isArray(r) && cr(r) && typeof a == "string" && (r = vr(a));
1151
- var l = ur(t, a);
1152
- tn(l === u, "You are trying to animate ".concat(t, ' from "').concat(a, '" to "').concat(r, '". ').concat(a, " is not an animatable value - to enable this animation set ").concat(a, " to a value animatable to ").concat(r, " via the `style` property."));
1153
- function f() {
1154
- var c = {
1155
- from: a,
1156
- to: r,
1157
- velocity: e.getVelocity(),
1158
- onComplete: i,
1159
- onUpdate: function(d) {
1160
- return e.set(d);
1161
- }
1162
- };
1163
- return o.type === "inertia" || o.type === "decay" ? bi(m(m({}, c), o)) : Qr(m(m({}, no(o, c, t)), { onUpdate: function(d) {
1164
- var p;
1165
- c.onUpdate(d), (p = o.onUpdate) === null || p === void 0 || p.call(o, d);
1166
- }, onComplete: function() {
1167
- var d;
1168
- c.onComplete(), (d = o.onComplete) === null || d === void 0 || d.call(o);
1169
- } }));
1170
- }
1171
- function v() {
1172
- var c, d, p = Tn(r);
1173
- return e.set(p), i(), (c = o?.onUpdate) === null || c === void 0 || c.call(o, p), (d = o?.onComplete) === null || d === void 0 || d.call(o), { stop: function() {
1174
- } };
1175
- }
1176
- return !l || !u || o.type === !1 ? v : f;
1177
- }
1178
- function cr(t) {
1179
- return t === 0 || typeof t == "string" && parseFloat(t) === 0 && t.indexOf(" ") === -1;
1180
- }
1181
- function vr(t) {
1182
- return typeof t == "number" ? 0 : Ge("", t);
1183
- }
1184
- function Ke(t, e) {
1185
- return t[e] || t.default || t;
1186
- }
1187
- function ke(t, e, r, n) {
1188
- return n === void 0 && (n = {}), e.start(function(i) {
1189
- var s, o, a = io(t, e, r, n, i), u = eo(n, t), l = function() {
1190
- return o = a();
1191
- };
1192
- return u ? s = window.setTimeout(l, Qt(u)) : l(), function() {
1193
- clearTimeout(s), o?.stop();
1194
- };
1195
- });
1196
- }
1197
- var ao = function(t) {
1198
- return /^\-?\d*\.?\d+$/.test(t);
1199
- }, oo = function(t) {
1200
- return /^0[^.\s]+$/.test(t);
1201
- };
1202
- function Ye(t, e) {
1203
- t.indexOf(e) === -1 && t.push(e);
1204
- }
1205
- function Xe(t, e) {
1206
- var r = t.indexOf(e);
1207
- r > -1 && t.splice(r, 1);
1208
- }
1209
- var Rt = (
1210
- /** @class */
1211
- function() {
1212
- function t() {
1213
- this.subscriptions = [];
1214
- }
1215
- return t.prototype.add = function(e) {
1216
- var r = this;
1217
- return Ye(this.subscriptions, e), function() {
1218
- return Xe(r.subscriptions, e);
1219
- };
1220
- }, t.prototype.notify = function(e, r, n) {
1221
- var i = this.subscriptions.length;
1222
- if (i)
1223
- if (i === 1)
1224
- this.subscriptions[0](e, r, n);
1225
- else
1226
- for (var s = 0; s < i; s++) {
1227
- var o = this.subscriptions[s];
1228
- o && o(e, r, n);
1229
- }
1230
- }, t.prototype.getSize = function() {
1231
- return this.subscriptions.length;
1232
- }, t.prototype.clear = function() {
1233
- this.subscriptions.length = 0;
1234
- }, t;
1235
- }()
1236
- ), so = function(t) {
1237
- return !isNaN(parseFloat(t));
1238
- }, uo = (
1239
- /** @class */
1240
- function() {
1241
- function t(e) {
1242
- var r = this;
1243
- this.version = "6.5.1", this.timeDelta = 0, this.lastUpdated = 0, this.updateSubscribers = new Rt(), this.velocityUpdateSubscribers = new Rt(), this.renderSubscribers = new Rt(), this.canTrackVelocity = !1, this.updateAndNotify = function(n, i) {
1244
- i === void 0 && (i = !0), r.prev = r.current, r.current = n;
1245
- var s = me(), o = s.delta, a = s.timestamp;
1246
- r.lastUpdated !== a && (r.timeDelta = o, r.lastUpdated = a, Z.postRender(r.scheduleVelocityCheck)), r.prev !== r.current && r.updateSubscribers.notify(r.current), r.velocityUpdateSubscribers.getSize() && r.velocityUpdateSubscribers.notify(r.getVelocity()), i && r.renderSubscribers.notify(r.current);
1247
- }, this.scheduleVelocityCheck = function() {
1248
- return Z.postRender(r.velocityCheck);
1249
- }, this.velocityCheck = function(n) {
1250
- var i = n.timestamp;
1251
- i !== r.lastUpdated && (r.prev = r.current, r.velocityUpdateSubscribers.notify(r.getVelocity()));
1252
- }, this.hasAnimated = !1, this.prev = this.current = e, this.canTrackVelocity = so(this.current);
1253
- }
1254
- return t.prototype.onChange = function(e) {
1255
- return this.updateSubscribers.add(e);
1256
- }, t.prototype.clearListeners = function() {
1257
- this.updateSubscribers.clear();
1258
- }, t.prototype.onRenderRequest = function(e) {
1259
- return e(this.get()), this.renderSubscribers.add(e);
1260
- }, t.prototype.attach = function(e) {
1261
- this.passiveEffect = e;
1262
- }, t.prototype.set = function(e, r) {
1263
- r === void 0 && (r = !0), !r || !this.passiveEffect ? this.updateAndNotify(e, r) : this.passiveEffect(e, this.updateAndNotify);
1264
- }, t.prototype.get = function() {
1265
- return this.current;
1266
- }, t.prototype.getPrevious = function() {
1267
- return this.prev;
1268
- }, t.prototype.getVelocity = function() {
1269
- return this.canTrackVelocity ? (
1270
- // These casts could be avoided if parseFloat would be typed better
1271
- Pi(parseFloat(this.current) - parseFloat(this.prev), this.timeDelta)
1272
- ) : 0;
1273
- }, t.prototype.start = function(e) {
1274
- var r = this;
1275
- return this.stop(), new Promise(function(n) {
1276
- r.hasAnimated = !0, r.stopAnimation = e(n);
1277
- }).then(function() {
1278
- return r.clearAnimation();
1279
- });
1280
- }, t.prototype.stop = function() {
1281
- this.stopAnimation && this.stopAnimation(), this.clearAnimation();
1282
- }, t.prototype.isAnimating = function() {
1283
- return !!this.stopAnimation;
1284
- }, t.prototype.clearAnimation = function() {
1285
- this.stopAnimation = null;
1286
- }, t.prototype.destroy = function() {
1287
- this.updateSubscribers.clear(), this.renderSubscribers.clear(), this.stop();
1288
- }, t;
1289
- }()
1290
- );
1291
- function dt(t) {
1292
- return new uo(t);
1293
- }
1294
- var jn = function(t) {
1295
- return function(e) {
1296
- return e.test(t);
1297
- };
1298
- }, lo = {
1299
- test: function(t) {
1300
- return t === "auto";
1301
- },
1302
- parse: function(t) {
1303
- return t;
1304
- }
1305
- }, Bn = [Le, T, Ot, at, Vi, Ti, lo], wt = function(t) {
1306
- return Bn.find(jn(t));
1307
- }, fo = z(z([], R(Bn), !1), [X, Pt], !1), co = function(t) {
1308
- return fo.find(jn(t));
1309
- };
1310
- function vo(t, e, r) {
1311
- t.hasValue(e) ? t.getValue(e).set(r) : t.addValue(e, dt(r));
1312
- }
1313
- function We(t, e) {
1314
- var r = re(t, e), n = r ? t.makeTargetAnimatable(r, !1) : {}, i = n.transitionEnd, s = i === void 0 ? {} : i;
1315
- n.transition;
1316
- var o = Q(n, ["transitionEnd", "transition"]);
1317
- o = m(m({}, o), s);
1318
- for (var a in o) {
1319
- var u = Tn(o[a]);
1320
- vo(t, a, u);
1321
- }
1322
- }
1323
- function Se(t, e) {
1324
- var r = z([], R(e), !1).reverse();
1325
- r.forEach(function(n) {
1326
- var i, s = t.getVariant(n);
1327
- s && We(t, s), (i = t.variantChildren) === null || i === void 0 || i.forEach(function(o) {
1328
- Se(o, e);
1329
- });
1330
- });
1331
- }
1332
- function po(t, e) {
1333
- if (Array.isArray(e))
1334
- return Se(t, e);
1335
- if (typeof e == "string")
1336
- return Se(t, [e]);
1337
- We(t, e);
1338
- }
1339
- function ho(t, e, r) {
1340
- var n, i, s, o, a = Object.keys(e).filter(function(d) {
1341
- return !t.hasValue(d);
1342
- }), u = a.length;
1343
- if (u)
1344
- for (var l = 0; l < u; l++) {
1345
- var f = a[l], v = e[f], c = null;
1346
- Array.isArray(v) && (c = v[0]), c === null && (c = (i = (n = r[f]) !== null && n !== void 0 ? n : t.readValue(f)) !== null && i !== void 0 ? i : e[f]), c != null && (typeof c == "string" && (ao(c) || oo(c)) ? c = parseFloat(c) : !co(c) && Pt.test(v) && (c = Ge(f, v)), t.addValue(f, dt(c)), (s = (o = r)[f]) !== null && s !== void 0 || (o[f] = c), t.setBaseTarget(f, c));
1347
- }
1348
- }
1349
- function mo(t, e) {
1350
- if (e) {
1351
- var r = e[t] || e.default || e;
1352
- return r.from;
1353
- }
1354
- }
1355
- function go(t, e, r) {
1356
- var n, i, s = {};
1357
- for (var o in t)
1358
- s[o] = (n = mo(o, e)) !== null && n !== void 0 ? n : (i = r.getValue(o)) === null || i === void 0 ? void 0 : i.get();
1359
- return s;
1360
- }
1361
- function Un(t, e, r) {
1362
- r === void 0 && (r = {}), t.notifyAnimationStart(e);
1363
- var n;
1364
- if (Array.isArray(e)) {
1365
- var i = e.map(function(o) {
1366
- return xe(t, o, r);
1367
- });
1368
- n = Promise.all(i);
1369
- } else if (typeof e == "string")
1370
- n = xe(t, e, r);
1371
- else {
1372
- var s = typeof e == "function" ? re(t, e, r.custom) : e;
1373
- n = _n(t, s, r);
1374
- }
1375
- return n.then(function() {
1376
- return t.notifyAnimationComplete(e);
1377
- });
1378
- }
1379
- function xe(t, e, r) {
1380
- var n;
1381
- r === void 0 && (r = {});
1382
- var i = re(t, e, r.custom), s = (i || {}).transition, o = s === void 0 ? t.getDefaultTransition() || {} : s;
1383
- r.transitionOverride && (o = r.transitionOverride);
1384
- var a = i ? function() {
1385
- return _n(t, i, r);
1386
- } : function() {
1387
- return Promise.resolve();
1388
- }, u = !((n = t.variantChildren) === null || n === void 0) && n.size ? function(d) {
1389
- d === void 0 && (d = 0);
1390
- var p = o.delayChildren, h = p === void 0 ? 0 : p, g = o.staggerChildren, b = o.staggerDirection;
1391
- return yo(t, e, h + d, g, b, r);
1392
- } : function() {
1393
- return Promise.resolve();
1394
- }, l = o.when;
1395
- if (l) {
1396
- var f = R(l === "beforeChildren" ? [a, u] : [u, a], 2), v = f[0], c = f[1];
1397
- return v().then(c);
1398
- } else
1399
- return Promise.all([a(), u(r.delay)]);
1400
- }
1401
- function _n(t, e, r) {
1402
- var n, i = r === void 0 ? {} : r, s = i.delay, o = s === void 0 ? 0 : s, a = i.transitionOverride, u = i.type, l = t.makeTargetAnimatable(e), f = l.transition, v = f === void 0 ? t.getDefaultTransition() : f, c = l.transitionEnd, d = Q(l, ["transition", "transitionEnd"]);
1403
- a && (v = a);
1404
- var p = [], h = u && ((n = t.animationState) === null || n === void 0 ? void 0 : n.getState()[u]);
1405
- for (var g in d) {
1406
- var b = t.getValue(g), P = d[g];
1407
- if (!(!b || P === void 0 || h && Vo(h, g))) {
1408
- var S = m({ delay: o }, v);
1409
- t.shouldReduceMotion && Ht(g) && (S = m(m({}, S), { type: !1, delay: 0 }));
1410
- var C = ke(g, b, P, S);
1411
- p.push(C);
1412
- }
1413
- }
1414
- return Promise.all(p).then(function() {
1415
- c && We(t, c);
1416
- });
1417
- }
1418
- function yo(t, e, r, n, i, s) {
1419
- r === void 0 && (r = 0), n === void 0 && (n = 0), i === void 0 && (i = 1);
1420
- var o = [], a = (t.variantChildren.size - 1) * n, u = i === 1 ? function(l) {
1421
- return l === void 0 && (l = 0), l * n;
1422
- } : function(l) {
1423
- return l === void 0 && (l = 0), a - l * n;
1424
- };
1425
- return Array.from(t.variantChildren).sort(Po).forEach(function(l, f) {
1426
- o.push(xe(l, e, m(m({}, s), { delay: r + u(f) })).then(function() {
1427
- return l.notifyAnimationComplete(e);
1428
- }));
1429
- }), Promise.all(o);
1430
- }
1431
- function bo(t) {
1432
- t.forEachValue(function(e) {
1433
- return e.stop();
1434
- });
1435
- }
1436
- function Po(t, e) {
1437
- return t.sortNodePosition(e);
1438
- }
1439
- function Vo(t, e) {
1440
- var r = t.protectedKeys, n = t.needsAnimating, i = r.hasOwnProperty(e) && n[e] !== !0;
1441
- return n[e] = !1, i;
1442
- }
1443
- var Ze = [
1444
- L.Animate,
1445
- L.InView,
1446
- L.Focus,
1447
- L.Hover,
1448
- L.Tap,
1449
- L.Drag,
1450
- L.Exit
1451
- ], To = z([], R(Ze), !1).reverse(), So = Ze.length;
1452
- function xo(t) {
1453
- return function(e) {
1454
- return Promise.all(e.map(function(r) {
1455
- var n = r.animation, i = r.options;
1456
- return Un(t, n, i);
1457
- }));
1458
- };
1459
- }
1460
- function Co(t) {
1461
- var e = xo(t), r = wo(), n = {}, i = !0, s = function(f, v) {
1462
- var c = re(t, v);
1463
- if (c) {
1464
- c.transition;
1465
- var d = c.transitionEnd, p = Q(c, ["transition", "transitionEnd"]);
1466
- f = m(m(m({}, f), p), d);
1467
- }
1468
- return f;
1469
- };
1470
- function o(f) {
1471
- return n[f] !== void 0;
1472
- }
1473
- function a(f) {
1474
- e = f(t);
1475
- }
1476
- function u(f, v) {
1477
- for (var c, d = t.getProps(), p = t.getVariantContext(!0) || {}, h = [], g = /* @__PURE__ */ new Set(), b = {}, P = 1 / 0, S = function(D) {
1478
- var x = To[D], w = r[x], M = (c = d[x]) !== null && c !== void 0 ? c : p[x], G = W(M), B = x === v ? w.isActive : null;
1479
- B === !1 && (P = D);
1480
- var H = M === p[x] && M !== d[x] && G;
1481
- if (H && i && t.manuallyAnimateOnMount && (H = !1), w.protectedKeys = m({}, b), // If it isn't active and hasn't *just* been set as inactive
1482
- !w.isActive && B === null || // If we didn't and don't have any defined prop for this animation type
1483
- !M && !w.prevProp || // Or if the prop doesn't define an animation
1484
- _e(M) || typeof M == "boolean")
1485
- return "continue";
1486
- var rt = Ao(w.prevProp, M), nt = rt || // If we're making this variant active, we want to always make it active
1487
- x === v && w.isActive && !H && G || // If we removed a higher-priority variant (i is in reverse order)
1488
- D > P && G, it = Array.isArray(M) ? M : [M], K = it.reduce(s, {});
1489
- B === !1 && (K = {});
1490
- var Ct = w.prevResolvedValues, pt = Ct === void 0 ? {} : Ct, zt = m(m({}, pt), K), ht = function(V) {
1491
- nt = !0, g.delete(V), w.needsAnimating[V] = !0;
1492
- };
1493
- for (var _ in zt) {
1494
- var E = K[_], y = pt[_];
1495
- b.hasOwnProperty(_) || (E !== y ? Ut(E) && Ut(y) ? !Fn(E, y) || rt ? ht(_) : w.protectedKeys[_] = !0 : E !== void 0 ? ht(_) : g.add(_) : E !== void 0 && g.has(_) ? ht(_) : w.protectedKeys[_] = !0);
1496
- }
1497
- w.prevProp = M, w.prevResolvedValues = K, w.isActive && (b = m(m({}, b), K)), i && t.blockInitialAnimation && (nt = !1), nt && !H && h.push.apply(h, z([], R(it.map(function(V) {
1498
- return {
1499
- animation: V,
1500
- options: m({ type: x }, f)
1501
- };
1502
- })), !1));
1503
- }, C = 0; C < So; C++)
1504
- S(C);
1505
- if (n = m({}, b), g.size) {
1506
- var A = {};
1507
- g.forEach(function(D) {
1508
- var x = t.getBaseTarget(D);
1509
- x !== void 0 && (A[D] = x);
1510
- }), h.push({ animation: A });
1511
- }
1512
- var I = !!h.length;
1513
- return i && d.initial === !1 && !t.manuallyAnimateOnMount && (I = !1), i = !1, I ? e(h) : Promise.resolve();
1514
- }
1515
- function l(f, v, c) {
1516
- var d;
1517
- if (r[f].isActive === v)
1518
- return Promise.resolve();
1519
- (d = t.variantChildren) === null || d === void 0 || d.forEach(function(g) {
1520
- var b;
1521
- return (b = g.animationState) === null || b === void 0 ? void 0 : b.setActive(f, v);
1522
- }), r[f].isActive = v;
1523
- var p = u(c, f);
1524
- for (var h in r)
1525
- r[h].protectedKeys = {};
1526
- return p;
1527
- }
1528
- return {
1529
- isAnimated: o,
1530
- animateChanges: u,
1531
- setActive: l,
1532
- setAnimateFunction: a,
1533
- getState: function() {
1534
- return r;
1535
- }
1536
- };
1537
- }
1538
- function Ao(t, e) {
1539
- return typeof e == "string" ? e !== t : on(e) ? !Fn(e, t) : !1;
1540
- }
1541
- function vt(t) {
1542
- return t === void 0 && (t = !1), {
1543
- isActive: t,
1544
- protectedKeys: {},
1545
- needsAnimating: {},
1546
- prevResolvedValues: {}
1547
- };
1548
- }
1549
- function wo() {
1550
- var t;
1551
- return t = {}, t[L.Animate] = vt(!0), t[L.InView] = vt(), t[L.Hover] = vt(), t[L.Tap] = vt(), t[L.Drag] = vt(), t[L.Focus] = vt(), t[L.Exit] = vt(), t;
1552
- }
1553
- var Eo = {
1554
- animation: ut(function(t) {
1555
- var e = t.visualElement, r = t.animate;
1556
- e.animationState || (e.animationState = Co(e)), _e(r) && N(function() {
1557
- return r.subscribe(e);
1558
- }, [r]);
1559
- }),
1560
- exit: ut(function(t) {
1561
- var e = t.custom, r = t.visualElement, n = R(On(), 2), i = n[0], s = n[1], o = F(Nt);
1562
- N(function() {
1563
- var a, u;
1564
- r.isPresent = i;
1565
- var l = (a = r.animationState) === null || a === void 0 ? void 0 : a.setActive(L.Exit, !i, { custom: (u = o?.custom) !== null && u !== void 0 ? u : e });
1566
- !i && l?.then(s);
1567
- }, [i]);
1568
- })
1569
- }, Nn = (
1570
- /** @class */
1571
- function() {
1572
- function t(e, r, n) {
1573
- var i = this, s = n === void 0 ? {} : n, o = s.transformPagePoint;
1574
- if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.updatePoint = function() {
1575
- if (i.lastMoveEvent && i.lastMoveEventInfo) {
1576
- var c = ce(i.lastMoveEventInfo, i.history), d = i.startEvent !== null, p = en(c.offset, { x: 0, y: 0 }) >= 3;
1577
- if (!(!d && !p)) {
1578
- var h = c.point, g = me().timestamp;
1579
- i.history.push(m(m({}, h), { timestamp: g }));
1580
- var b = i.handlers, P = b.onStart, S = b.onMove;
1581
- d || (P && P(i.lastMoveEvent, c), i.startEvent = i.lastMoveEvent), S && S(i.lastMoveEvent, c);
1582
- }
1583
- }
1584
- }, this.handlePointerMove = function(c, d) {
1585
- if (i.lastMoveEvent = c, i.lastMoveEventInfo = fe(d, i.transformPagePoint), xn(c) && c.buttons === 0) {
1586
- i.handlePointerUp(c, d);
1587
- return;
1588
- }
1589
- Z.update(i.updatePoint, !0);
1590
- }, this.handlePointerUp = function(c, d) {
1591
- i.end();
1592
- var p = i.handlers, h = p.onEnd, g = p.onSessionEnd, b = ce(fe(d, i.transformPagePoint), i.history);
1593
- i.startEvent && h && h(c, b), g && g(c, b);
1594
- }, !(Cn(e) && e.touches.length > 1)) {
1595
- this.handlers = r, this.transformPagePoint = o;
1596
- var a = Ne(e), u = fe(a, this.transformPagePoint), l = u.point, f = me().timestamp;
1597
- this.history = [m(m({}, l), { timestamp: f })];
1598
- var v = r.onSessionStart;
1599
- v && v(e, ce(u, this.history)), this.removeListeners = $r(bt(window, "pointermove", this.handlePointerMove), bt(window, "pointerup", this.handlePointerUp), bt(window, "pointercancel", this.handlePointerUp));
1600
- }
1601
- }
1602
- return t.prototype.updateHandlers = function(e) {
1603
- this.handlers = e;
1604
- }, t.prototype.end = function() {
1605
- this.removeListeners && this.removeListeners(), Ft.update(this.updatePoint);
1606
- }, t;
1607
- }()
1608
- );
1609
- function fe(t, e) {
1610
- return e ? { point: e(t.point) } : t;
1611
- }
1612
- function dr(t, e) {
1613
- return { x: t.x - e.x, y: t.y - e.y };
1614
- }
1615
- function ce(t, e) {
1616
- var r = t.point;
1617
- return {
1618
- point: r,
1619
- delta: dr(r, Hn(e)),
1620
- offset: dr(r, Lo(e)),
1621
- velocity: Ro(e, 0.1)
1622
- };
1623
- }
1624
- function Lo(t) {
1625
- return t[0];
1626
- }
1627
- function Hn(t) {
1628
- return t[t.length - 1];
1629
- }
1630
- function Ro(t, e) {
1631
- if (t.length < 2)
1632
- return { x: 0, y: 0 };
1633
- for (var r = t.length - 1, n = null, i = Hn(t); r >= 0 && (n = t[r], !(i.timestamp - n.timestamp > Qt(e))); )
1634
- r--;
1635
- if (!n)
1636
- return { x: 0, y: 0 };
1637
- var s = (i.timestamp - n.timestamp) / 1e3;
1638
- if (s === 0)
1639
- return { x: 0, y: 0 };
1640
- var o = {
1641
- x: (i.x - n.x) / s,
1642
- y: (i.y - n.y) / s
1643
- };
1644
- return o.x === 1 / 0 && (o.x = 0), o.y === 1 / 0 && (o.y = 0), o;
1645
- }
1646
- function et(t) {
1647
- return t.max - t.min;
1648
- }
1649
- function pr(t, e, r) {
1650
- return e === void 0 && (e = 0), r === void 0 && (r = 0.01), en(t, e) < r;
1651
- }
1652
- function hr(t, e, r, n) {
1653
- n === void 0 && (n = 0.5), t.origin = n, t.originPoint = O(e.min, e.max, t.origin), t.scale = et(r) / et(e), (pr(t.scale, 1, 1e-4) || isNaN(t.scale)) && (t.scale = 1), t.translate = O(r.min, r.max, t.origin) - t.originPoint, (pr(t.translate) || isNaN(t.translate)) && (t.translate = 0);
1654
- }
1655
- function Dt(t, e, r, n) {
1656
- hr(t.x, e.x, r.x, n?.originX), hr(t.y, e.y, r.y, n?.originY);
1657
- }
1658
- function mr(t, e, r) {
1659
- t.min = r.min + e.min, t.max = t.min + et(e);
1660
- }
1661
- function Do(t, e, r) {
1662
- mr(t.x, e.x, r.x), mr(t.y, e.y, r.y);
1663
- }
1664
- function gr(t, e, r) {
1665
- t.min = e.min - r.min, t.max = t.min + et(e);
1666
- }
1667
- function Mt(t, e, r) {
1668
- gr(t.x, e.x, r.x), gr(t.y, e.y, r.y);
1669
- }
1670
- function Mo(t, e, r) {
1671
- var n = e.min, i = e.max;
1672
- return n !== void 0 && t < n ? t = r ? O(n, t, r.min) : Math.max(t, n) : i !== void 0 && t > i && (t = r ? O(i, t, r.max) : Math.min(t, i)), t;
1673
- }
1674
- function yr(t, e, r) {
1675
- return {
1676
- min: e !== void 0 ? t.min + e : void 0,
1677
- max: r !== void 0 ? t.max + r - (t.max - t.min) : void 0
1678
- };
1679
- }
1680
- function Io(t, e) {
1681
- var r = e.top, n = e.left, i = e.bottom, s = e.right;
1682
- return {
1683
- x: yr(t.x, n, s),
1684
- y: yr(t.y, r, i)
1685
- };
1686
- }
1687
- function br(t, e) {
1688
- var r, n = e.min - t.min, i = e.max - t.max;
1689
- return e.max - e.min < t.max - t.min && (r = R([i, n], 2), n = r[0], i = r[1]), { min: n, max: i };
1690
- }
1691
- function Oo(t, e) {
1692
- return {
1693
- x: br(t.x, e.x),
1694
- y: br(t.y, e.y)
1695
- };
1696
- }
1697
- function Fo(t, e) {
1698
- var r = 0.5, n = et(t), i = et(e);
1699
- return i > n ? r = ge(e.min, e.max - n, t.min) : n > i && (r = ge(t.min, t.max - i, e.min)), Si(0, 1, r);
1700
- }
1701
- function jo(t, e) {
1702
- var r = {};
1703
- return e.min !== void 0 && (r.min = e.min - t.min), e.max !== void 0 && (r.max = e.max - t.min), r;
1704
- }
1705
- var Ce = 0.35;
1706
- function Bo(t) {
1707
- return t === void 0 && (t = Ce), t === !1 ? t = 0 : t === !0 && (t = Ce), {
1708
- x: Pr(t, "left", "right"),
1709
- y: Pr(t, "top", "bottom")
1710
- };
1711
- }
1712
- function Pr(t, e, r) {
1713
- return {
1714
- min: Vr(t, e),
1715
- max: Vr(t, r)
1716
- };
1717
- }
1718
- function Vr(t, e) {
1719
- var r;
1720
- return typeof t == "number" ? t : (r = t[e]) !== null && r !== void 0 ? r : 0;
1721
- }
1722
- var Tr = function() {
1723
- return {
1724
- translate: 0,
1725
- scale: 1,
1726
- origin: 0,
1727
- originPoint: 0
1728
- };
1729
- }, It = function() {
1730
- return {
1731
- x: Tr(),
1732
- y: Tr()
1733
- };
1734
- }, Sr = function() {
1735
- return { min: 0, max: 0 };
1736
- }, j = function() {
1737
- return {
1738
- x: Sr(),
1739
- y: Sr()
1740
- };
1741
- };
1742
- function J(t) {
1743
- return [t("x"), t("y")];
1744
- }
1745
- function zn(t) {
1746
- var e = t.top, r = t.left, n = t.right, i = t.bottom;
1747
- return {
1748
- x: { min: r, max: n },
1749
- y: { min: e, max: i }
1750
- };
1751
- }
1752
- function Uo(t) {
1753
- var e = t.x, r = t.y;
1754
- return { top: r.min, right: e.max, bottom: r.max, left: e.min };
1755
- }
1756
- function _o(t, e) {
1757
- if (!e)
1758
- return t;
1759
- var r = e({ x: t.left, y: t.top }), n = e({ x: t.right, y: t.bottom });
1760
- return {
1761
- top: r.y,
1762
- left: r.x,
1763
- bottom: n.y,
1764
- right: n.x
1765
- };
1766
- }
1767
- function ve(t) {
1768
- return t === void 0 || t === 1;
1769
- }
1770
- function Gn(t) {
1771
- var e = t.scale, r = t.scaleX, n = t.scaleY;
1772
- return !ve(e) || !ve(r) || !ve(n);
1773
- }
1774
- function ot(t) {
1775
- return Gn(t) || xr(t.x) || xr(t.y) || t.z || t.rotate || t.rotateX || t.rotateY;
1776
- }
1777
- function xr(t) {
1778
- return t && t !== "0%";
1779
- }
1780
- function te(t, e, r) {
1781
- var n = t - r, i = e * n;
1782
- return r + i;
1783
- }
1784
- function Cr(t, e, r, n, i) {
1785
- return i !== void 0 && (t = te(t, i, n)), te(t, r, n) + e;
1786
- }
1787
- function Ae(t, e, r, n, i) {
1788
- e === void 0 && (e = 0), r === void 0 && (r = 1), t.min = Cr(t.min, e, r, n, i), t.max = Cr(t.max, e, r, n, i);
1789
- }
1790
- function Kn(t, e) {
1791
- var r = e.x, n = e.y;
1792
- Ae(t.x, r.translate, r.scale, r.originPoint), Ae(t.y, n.translate, n.scale, n.originPoint);
1793
- }
1794
- function No(t, e, r, n) {
1795
- var i, s;
1796
- n === void 0 && (n = !1);
1797
- var o = r.length;
1798
- if (o) {
1799
- e.x = e.y = 1;
1800
- for (var a, u, l = 0; l < o; l++)
1801
- a = r[l], u = a.projectionDelta, ((s = (i = a.instance) === null || i === void 0 ? void 0 : i.style) === null || s === void 0 ? void 0 : s.display) !== "contents" && (n && a.options.layoutScroll && a.scroll && a !== a.root && yt(t, { x: -a.scroll.x, y: -a.scroll.y }), u && (e.x *= u.x.scale, e.y *= u.y.scale, Kn(t, u)), n && ot(a.latestValues) && yt(t, a.latestValues));
1802
- }
1803
- }
1804
- function st(t, e) {
1805
- t.min = t.min + e, t.max = t.max + e;
1806
- }
1807
- function Ar(t, e, r) {
1808
- var n = R(r, 3), i = n[0], s = n[1], o = n[2], a = e[o] !== void 0 ? e[o] : 0.5, u = O(t.min, t.max, a);
1809
- Ae(t, e[i], e[s], u, e.scale);
1810
- }
1811
- var Ho = ["x", "scaleX", "originX"], zo = ["y", "scaleY", "originY"];
1812
- function yt(t, e) {
1813
- Ar(t.x, e, Ho), Ar(t.y, e, zo);
1814
- }
1815
- function kn(t, e) {
1816
- return zn(_o(t.getBoundingClientRect(), e));
1817
- }
1818
- function Go(t, e, r) {
1819
- var n = kn(t, r), i = e.scroll;
1820
- return i && (st(n.x, i.x), st(n.y, i.y)), n;
1821
- }
1822
- var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1823
- /** @class */
1824
- function() {
1825
- function t(e) {
1826
- this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = j(), this.visualElement = e;
1827
- }
1828
- return t.prototype.start = function(e, r) {
1829
- var n = this, i = r === void 0 ? {} : r, s = i.snapToCursor, o = s === void 0 ? !1 : s;
1830
- if (this.visualElement.isPresent !== !1) {
1831
- var a = function(v) {
1832
- n.stopAnimation(), o && n.snapToCursor(Ne(v, "page").point);
1833
- }, u = function(v, c) {
1834
- var d, p = n.getProps(), h = p.drag, g = p.dragPropagation, b = p.onDragStart;
1835
- h && !g && (n.openGlobalLock && n.openGlobalLock(), n.openGlobalLock = Ln(h), !n.openGlobalLock) || (n.isDragging = !0, n.currentDirection = null, n.resolveConstraints(), n.visualElement.projection && (n.visualElement.projection.isAnimationBlocked = !0, n.visualElement.projection.target = void 0), J(function(P) {
1836
- var S, C, A = n.getAxisMotionValue(P).get() || 0;
1837
- if (Ot.test(A)) {
1838
- var I = (C = (S = n.visualElement.projection) === null || S === void 0 ? void 0 : S.layout) === null || C === void 0 ? void 0 : C.actual[P];
1839
- if (I) {
1840
- var D = et(I);
1841
- A = D * (parseFloat(A) / 100);
1842
- }
1843
- }
1844
- n.originPoint[P] = A;
1845
- }), b?.(v, c), (d = n.visualElement.animationState) === null || d === void 0 || d.setActive(L.Drag, !0));
1846
- }, l = function(v, c) {
1847
- var d = n.getProps(), p = d.dragPropagation, h = d.dragDirectionLock, g = d.onDirectionLock, b = d.onDrag;
1848
- if (!(!p && !n.openGlobalLock)) {
1849
- var P = c.offset;
1850
- if (h && n.currentDirection === null) {
1851
- n.currentDirection = Yo(P), n.currentDirection !== null && g?.(n.currentDirection);
1852
- return;
1853
- }
1854
- n.updateAxis("x", c.point, P), n.updateAxis("y", c.point, P), n.visualElement.syncRender(), b?.(v, c);
1855
- }
1856
- }, f = function(v, c) {
1857
- return n.stop(v, c);
1858
- };
1859
- this.panSession = new Nn(e, {
1860
- onSessionStart: a,
1861
- onStart: u,
1862
- onMove: l,
1863
- onSessionEnd: f
1864
- }, { transformPagePoint: this.visualElement.getTransformPagePoint() });
1865
- }
1866
- }, t.prototype.stop = function(e, r) {
1867
- var n = this.isDragging;
1868
- if (this.cancel(), !!n) {
1869
- var i = r.velocity;
1870
- this.startAnimation(i);
1871
- var s = this.getProps().onDragEnd;
1872
- s?.(e, r);
1873
- }
1874
- }, t.prototype.cancel = function() {
1875
- var e, r;
1876
- this.isDragging = !1, this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !1), (e = this.panSession) === null || e === void 0 || e.end(), this.panSession = void 0;
1877
- var n = this.getProps().dragPropagation;
1878
- !n && this.openGlobalLock && (this.openGlobalLock(), this.openGlobalLock = null), (r = this.visualElement.animationState) === null || r === void 0 || r.setActive(L.Drag, !1);
1879
- }, t.prototype.updateAxis = function(e, r, n) {
1880
- var i = this.getProps().drag;
1881
- if (!(!n || !Yt(e, i, this.currentDirection))) {
1882
- var s = this.getAxisMotionValue(e), o = this.originPoint[e] + n[e];
1883
- this.constraints && this.constraints[e] && (o = Mo(o, this.constraints[e], this.elastic[e])), s.set(o);
1884
- }
1885
- }, t.prototype.resolveConstraints = function() {
1886
- var e = this, r = this.getProps(), n = r.dragConstraints, i = r.dragElastic, s = (this.visualElement.projection || {}).layout, o = this.constraints;
1887
- n && gt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && s ? this.constraints = Io(s.actual, n) : this.constraints = !1, this.elastic = Bo(i), o !== this.constraints && s && this.constraints && !this.hasMutatedConstraints && J(function(a) {
1888
- e.getAxisMotionValue(a) && (e.constraints[a] = jo(s.actual[a], e.constraints[a]));
1889
- });
1890
- }, t.prototype.resolveRefConstraints = function() {
1891
- var e = this.getProps(), r = e.dragConstraints, n = e.onMeasureDragConstraints;
1892
- if (!r || !gt(r))
1893
- return !1;
1894
- var i = r.current;
1895
- lt(i !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");
1896
- var s = this.visualElement.projection;
1897
- if (!s || !s.layout)
1898
- return !1;
1899
- var o = Go(i, s.root, this.visualElement.getTransformPagePoint()), a = Oo(s.layout.actual, o);
1900
- if (n) {
1901
- var u = n(Uo(a));
1902
- this.hasMutatedConstraints = !!u, u && (a = zn(u));
1903
- }
1904
- return a;
1905
- }, t.prototype.startAnimation = function(e) {
1906
- var r = this, n = this.getProps(), i = n.drag, s = n.dragMomentum, o = n.dragElastic, a = n.dragTransition, u = n.dragSnapToOrigin, l = n.onDragTransitionEnd, f = this.constraints || {}, v = J(function(c) {
1907
- var d;
1908
- if (Yt(c, i, r.currentDirection)) {
1909
- var p = (d = f?.[c]) !== null && d !== void 0 ? d : {};
1910
- u && (p = { min: 0, max: 0 });
1911
- var h = o ? 200 : 1e6, g = o ? 40 : 1e7, b = m(m({ type: "inertia", velocity: s ? e[c] : 0, bounceStiffness: h, bounceDamping: g, timeConstant: 750, restDelta: 1, restSpeed: 10 }, a), p);
1912
- return r.startAxisValueAnimation(c, b);
1913
- }
1914
- });
1915
- return Promise.all(v).then(l);
1916
- }, t.prototype.startAxisValueAnimation = function(e, r) {
1917
- var n = this.getAxisMotionValue(e);
1918
- return ke(e, n, 0, r);
1919
- }, t.prototype.stopAnimation = function() {
1920
- var e = this;
1921
- J(function(r) {
1922
- return e.getAxisMotionValue(r).stop();
1923
- });
1924
- }, t.prototype.getAxisMotionValue = function(e) {
1925
- var r, n, i = "_drag" + e.toUpperCase(), s = this.visualElement.getProps()[i];
1926
- return s || this.visualElement.getValue(e, (n = (r = this.visualElement.getProps().initial) === null || r === void 0 ? void 0 : r[e]) !== null && n !== void 0 ? n : 0);
1927
- }, t.prototype.snapToCursor = function(e) {
1928
- var r = this;
1929
- J(function(n) {
1930
- var i = r.getProps().drag;
1931
- if (Yt(n, i, r.currentDirection)) {
1932
- var s = r.visualElement.projection, o = r.getAxisMotionValue(n);
1933
- if (s && s.layout) {
1934
- var a = s.layout.actual[n], u = a.min, l = a.max;
1935
- o.set(e[n] - O(u, l, 0.5));
1936
- }
1937
- }
1938
- });
1939
- }, t.prototype.scalePositionWithinConstraints = function() {
1940
- var e = this, r, n = this.getProps(), i = n.drag, s = n.dragConstraints, o = this.visualElement.projection;
1941
- if (!(!gt(s) || !o || !this.constraints)) {
1942
- this.stopAnimation();
1943
- var a = { x: 0, y: 0 };
1944
- J(function(l) {
1945
- var f = e.getAxisMotionValue(l);
1946
- if (f) {
1947
- var v = f.get();
1948
- a[l] = Fo({ min: v, max: v }, e.constraints[l]);
1949
- }
1950
- });
1951
- var u = this.visualElement.getProps().transformTemplate;
1952
- this.visualElement.getInstance().style.transform = u ? u({}, "") : "none", (r = o.root) === null || r === void 0 || r.updateScroll(), o.updateLayout(), this.resolveConstraints(), J(function(l) {
1953
- if (Yt(l, i, null)) {
1954
- var f = e.getAxisMotionValue(l), v = e.constraints[l], c = v.min, d = v.max;
1955
- f.set(O(c, d, a[l]));
1956
- }
1957
- });
1958
- }
1959
- }, t.prototype.addListeners = function() {
1960
- var e = this, r;
1961
- Ko.set(this.visualElement, this);
1962
- var n = this.visualElement.getInstance(), i = bt(n, "pointerdown", function(l) {
1963
- var f = e.getProps(), v = f.drag, c = f.dragListener, d = c === void 0 ? !0 : c;
1964
- v && d && e.start(l);
1965
- }), s = function() {
1966
- var l = e.getProps().dragConstraints;
1967
- gt(l) && (e.constraints = e.resolveRefConstraints());
1968
- }, o = this.visualElement.projection, a = o.addEventListener("measure", s);
1969
- o && !o.layout && ((r = o.root) === null || r === void 0 || r.updateScroll(), o.updateLayout()), s();
1970
- var u = ie(window, "resize", function() {
1971
- return e.scalePositionWithinConstraints();
1972
- });
1973
- return o.addEventListener("didUpdate", function(l) {
1974
- var f = l.delta, v = l.hasLayoutChanged;
1975
- e.isDragging && v && (J(function(c) {
1976
- var d = e.getAxisMotionValue(c);
1977
- d && (e.originPoint[c] += f[c].translate, d.set(d.get() + f[c].translate));
1978
- }), e.visualElement.syncRender());
1979
- }), function() {
1980
- u(), i(), a();
1981
- };
1982
- }, t.prototype.getProps = function() {
1983
- var e = this.visualElement.getProps(), r = e.drag, n = r === void 0 ? !1 : r, i = e.dragDirectionLock, s = i === void 0 ? !1 : i, o = e.dragPropagation, a = o === void 0 ? !1 : o, u = e.dragConstraints, l = u === void 0 ? !1 : u, f = e.dragElastic, v = f === void 0 ? Ce : f, c = e.dragMomentum, d = c === void 0 ? !0 : c;
1984
- return m(m({}, e), { drag: n, dragDirectionLock: s, dragPropagation: a, dragConstraints: l, dragElastic: v, dragMomentum: d });
1985
- }, t;
1986
- }()
1987
- );
1988
- function Yt(t, e, r) {
1989
- return (e === !0 || e === t) && (r === null || r === t);
1990
- }
1991
- function Yo(t, e) {
1992
- e === void 0 && (e = 10);
1993
- var r = null;
1994
- return Math.abs(t.y) > e ? r = "y" : Math.abs(t.x) > e && (r = "x"), r;
1995
- }
1996
- function Xo(t) {
1997
- var e = t.dragControls, r = t.visualElement, n = ft(function() {
1998
- return new ko(r);
1999
- });
2000
- N(function() {
2001
- return e && e.subscribe(n);
2002
- }, [n, e]), N(function() {
2003
- return n.addListeners();
2004
- }, [n]);
2005
- }
2006
- function Wo(t) {
2007
- var e = t.onPan, r = t.onPanStart, n = t.onPanEnd, i = t.onPanSessionStart, s = t.visualElement, o = e || r || n || i, a = $(null), u = F(_t).transformPagePoint, l = {
2008
- onSessionStart: i,
2009
- onStart: r,
2010
- onMove: e,
2011
- onEnd: function(v, c) {
2012
- a.current = null, n && n(v, c);
2013
- }
2014
- };
2015
- N(function() {
2016
- a.current !== null && a.current.updateHandlers(l);
2017
- });
2018
- function f(v) {
2019
- a.current = new Nn(v, l, {
2020
- transformPagePoint: u
2021
- });
2022
- }
2023
- Jt(s, "pointerdown", o && f), He(function() {
2024
- return a.current && a.current.end();
2025
- });
2026
- }
2027
- var Zo = {
2028
- pan: ut(Wo),
2029
- drag: ut(Xo)
2030
- }, Xt = [
2031
- "LayoutMeasure",
2032
- "BeforeLayoutMeasure",
2033
- "LayoutUpdate",
2034
- "ViewportBoxUpdate",
2035
- "Update",
2036
- "Render",
2037
- "AnimationComplete",
2038
- "LayoutAnimationComplete",
2039
- "AnimationStart",
2040
- "LayoutAnimationStart",
2041
- "SetAxisTarget",
2042
- "Unmount"
2043
- ];
2044
- function $o() {
2045
- var t = Xt.map(function() {
2046
- return new Rt();
2047
- }), e = {}, r = {
2048
- clearAllListeners: function() {
2049
- return t.forEach(function(n) {
2050
- return n.clear();
2051
- });
2052
- },
2053
- updatePropListeners: function(n) {
2054
- Xt.forEach(function(i) {
2055
- var s, o = "on" + i, a = n[o];
2056
- (s = e[i]) === null || s === void 0 || s.call(e), a && (e[i] = r[o](a));
2057
- });
2058
- }
2059
- };
2060
- return t.forEach(function(n, i) {
2061
- r["on" + Xt[i]] = function(s) {
2062
- return n.add(s);
2063
- }, r["notify" + Xt[i]] = function() {
2064
- for (var s = [], o = 0; o < arguments.length; o++)
2065
- s[o] = arguments[o];
2066
- return n.notify.apply(n, z([], R(s), !1));
2067
- };
2068
- }), r;
2069
- }
2070
- function qo(t, e, r) {
2071
- var n;
2072
- for (var i in e) {
2073
- var s = e[i], o = r[i];
2074
- if (q(s))
2075
- t.addValue(i, s), process.env.NODE_ENV === "development" && Mn(s.version === "6.5.1", "Attempting to mix Framer Motion versions ".concat(s.version, " with 6.5.1 may not work as expected."));
2076
- else if (q(o))
2077
- t.addValue(i, dt(s));
2078
- else if (o !== s)
2079
- if (t.hasValue(i)) {
2080
- var a = t.getValue(i);
2081
- !a.hasAnimated && a.set(s);
2082
- } else
2083
- t.addValue(i, dt((n = t.getStaticValue(i)) !== null && n !== void 0 ? n : s));
2084
- }
2085
- for (var i in r)
2086
- e[i] === void 0 && t.removeValue(i);
2087
- return e;
2088
- }
2089
- var Yn = function(t) {
2090
- var e = t.treeType, r = e === void 0 ? "" : e, n = t.build, i = t.getBaseTarget, s = t.makeTargetAnimatable, o = t.measureViewportBox, a = t.render, u = t.readValueFromInstance, l = t.removeValueFromRenderState, f = t.sortNodePosition, v = t.scrapeMotionValuesFromProps;
2091
- return function(c, d) {
2092
- var p = c.parent, h = c.props, g = c.presenceId, b = c.blockInitialAnimation, P = c.visualState, S = c.shouldReduceMotion;
2093
- d === void 0 && (d = {});
2094
- var C = !1, A = P.latestValues, I = P.renderState, D, x = $o(), w = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), G = {}, B = m({}, A), H;
2095
- function rt() {
2096
- !D || !C || (nt(), a(D, I, h.style, E.projection));
2097
- }
2098
- function nt() {
2099
- n(E, I, A, d, h);
2100
- }
2101
- function it() {
2102
- x.notifyUpdate(A);
2103
- }
2104
- function K(y, V) {
2105
- var U = V.onChange(function(Gt) {
2106
- A[y] = Gt, h.onUpdate && Z.update(it, !1, !0);
2107
- }), At = V.onRenderRequest(E.scheduleRender);
2108
- M.set(y, function() {
2109
- U(), At();
2110
- });
2111
- }
2112
- var Ct = v(h);
2113
- for (var pt in Ct) {
2114
- var zt = Ct[pt];
2115
- A[pt] !== void 0 && q(zt) && zt.set(A[pt], !1);
2116
- }
2117
- var ht = ne(h), _ = un(h), E = m(m({
2118
- treeType: r,
2119
- /**
2120
- * This is a mirror of the internal instance prop, which keeps
2121
- * VisualElement type-compatible with React's RefObject.
2122
- */
2123
- current: null,
2124
- /**
2125
- * The depth of this visual element within the visual element tree.
2126
- */
2127
- depth: p ? p.depth + 1 : 0,
2128
- parent: p,
2129
- children: /* @__PURE__ */ new Set(),
2130
- /**
2131
- *
2132
- */
2133
- presenceId: g,
2134
- shouldReduceMotion: S,
2135
- /**
2136
- * If this component is part of the variant tree, it should track
2137
- * any children that are also part of the tree. This is essentially
2138
- * a shadow tree to simplify logic around how to stagger over children.
2139
- */
2140
- variantChildren: _ ? /* @__PURE__ */ new Set() : void 0,
2141
- /**
2142
- * Whether this instance is visible. This can be changed imperatively
2143
- * by the projection tree, is analogous to CSS's visibility in that
2144
- * hidden elements should take up layout, and needs enacting by the configured
2145
- * render function.
2146
- */
2147
- isVisible: void 0,
2148
- /**
2149
- * Normally, if a component is controlled by a parent's variants, it can
2150
- * rely on that ancestor to trigger animations further down the tree.
2151
- * However, if a component is created after its parent is mounted, the parent
2152
- * won't trigger that mount animation so the child needs to.
2153
- *
2154
- * TODO: This might be better replaced with a method isParentMounted
2155
- */
2156
- manuallyAnimateOnMount: !!p?.isMounted(),
2157
- /**
2158
- * This can be set by AnimatePresence to force components that mount
2159
- * at the same time as it to mount as if they have initial={false} set.
2160
- */
2161
- blockInitialAnimation: b,
2162
- /**
2163
- * Determine whether this component has mounted yet. This is mostly used
2164
- * by variant children to determine whether they need to trigger their
2165
- * own animations on mount.
2166
- */
2167
- isMounted: function() {
2168
- return !!D;
2169
- },
2170
- mount: function(y) {
2171
- C = !0, D = E.current = y, E.projection && E.projection.mount(y), _ && p && !ht && (H = p?.addVariantChild(E)), w.forEach(function(V, U) {
2172
- return K(U, V);
2173
- }), p?.children.add(E), E.setProps(h);
2174
- },
2175
- /**
2176
- *
2177
- */
2178
- unmount: function() {
2179
- var y;
2180
- (y = E.projection) === null || y === void 0 || y.unmount(), Ft.update(it), Ft.render(rt), M.forEach(function(V) {
2181
- return V();
2182
- }), H?.(), p?.children.delete(E), x.clearAllListeners(), D = void 0, C = !1;
2183
- },
2184
- /**
2185
- * Add a child visual element to our set of children.
2186
- */
2187
- addVariantChild: function(y) {
2188
- var V, U = E.getClosestVariantNode();
2189
- if (U)
2190
- return (V = U.variantChildren) === null || V === void 0 || V.add(y), function() {
2191
- return U.variantChildren.delete(y);
2192
- };
2193
- },
2194
- sortNodePosition: function(y) {
2195
- return !f || r !== y.treeType ? 0 : f(E.getInstance(), y.getInstance());
2196
- },
2197
- /**
2198
- * Returns the closest variant node in the tree starting from
2199
- * this visual element.
2200
- */
2201
- getClosestVariantNode: function() {
2202
- return _ ? E : p?.getClosestVariantNode();
2203
- },
2204
- /**
2205
- * Expose the latest layoutId prop.
2206
- */
2207
- getLayoutId: function() {
2208
- return h.layoutId;
2209
- },
2210
- /**
2211
- * Returns the current instance.
2212
- */
2213
- getInstance: function() {
2214
- return D;
2215
- },
2216
- /**
2217
- * Get/set the latest static values.
2218
- */
2219
- getStaticValue: function(y) {
2220
- return A[y];
2221
- },
2222
- setStaticValue: function(y, V) {
2223
- return A[y] = V;
2224
- },
2225
- /**
2226
- * Returns the latest motion value state. Currently only used to take
2227
- * a snapshot of the visual element - perhaps this can return the whole
2228
- * visual state
2229
- */
2230
- getLatestValues: function() {
2231
- return A;
2232
- },
2233
- /**
2234
- * Set the visiblity of the visual element. If it's changed, schedule
2235
- * a render to reflect these changes.
2236
- */
2237
- setVisibility: function(y) {
2238
- E.isVisible !== y && (E.isVisible = y, E.scheduleRender());
2239
- },
2240
- /**
2241
- * Make a target animatable by Popmotion. For instance, if we're
2242
- * trying to animate width from 100px to 100vw we need to measure 100vw
2243
- * in pixels to determine what we really need to animate to. This is also
2244
- * pluggable to support Framer's custom value types like Color,
2245
- * and CSS variables.
2246
- */
2247
- makeTargetAnimatable: function(y, V) {
2248
- return V === void 0 && (V = !0), s(E, y, h, V);
2249
- },
2250
- /**
2251
- * Measure the current viewport box with or without transforms.
2252
- * Only measures axis-aligned boxes, rotate and skew must be manually
2253
- * removed with a re-render to work.
2254
- */
2255
- measureViewportBox: function() {
2256
- return o(D, h);
2257
- },
2258
- // Motion values ========================
2259
- /**
2260
- * Add a motion value and bind it to this visual element.
2261
- */
2262
- addValue: function(y, V) {
2263
- E.hasValue(y) && E.removeValue(y), w.set(y, V), A[y] = V.get(), K(y, V);
2264
- },
2265
- /**
2266
- * Remove a motion value and unbind any active subscriptions.
2267
- */
2268
- removeValue: function(y) {
2269
- var V;
2270
- w.delete(y), (V = M.get(y)) === null || V === void 0 || V(), M.delete(y), delete A[y], l(y, I);
2271
- },
2272
- /**
2273
- * Check whether we have a motion value for this key
2274
- */
2275
- hasValue: function(y) {
2276
- return w.has(y);
2277
- },
2278
- /**
2279
- * Get a motion value for this key. If called with a default
2280
- * value, we'll create one if none exists.
2281
- */
2282
- getValue: function(y, V) {
2283
- var U = w.get(y);
2284
- return U === void 0 && V !== void 0 && (U = dt(V), E.addValue(y, U)), U;
2285
- },
2286
- /**
2287
- * Iterate over our motion values.
2288
- */
2289
- forEachValue: function(y) {
2290
- return w.forEach(y);
2291
- },
2292
- /**
2293
- * If we're trying to animate to a previously unencountered value,
2294
- * we need to check for it in our state and as a last resort read it
2295
- * directly from the instance (which might have performance implications).
2296
- */
2297
- readValue: function(y) {
2298
- var V;
2299
- return (V = A[y]) !== null && V !== void 0 ? V : u(D, y, d);
2300
- },
2301
- /**
2302
- * Set the base target to later animate back to. This is currently
2303
- * only hydrated on creation and when we first read a value.
2304
- */
2305
- setBaseTarget: function(y, V) {
2306
- B[y] = V;
2307
- },
2308
- /**
2309
- * Find the base target for a value thats been removed from all animation
2310
- * props.
2311
- */
2312
- getBaseTarget: function(y) {
2313
- if (i) {
2314
- var V = i(h, y);
2315
- if (V !== void 0 && !q(V))
2316
- return V;
2317
- }
2318
- return B[y];
2319
- }
2320
- }, x), {
2321
- /**
2322
- * Build the renderer state based on the latest visual state.
2323
- */
2324
- build: function() {
2325
- return nt(), I;
2326
- },
2327
- /**
2328
- * Schedule a render on the next animation frame.
2329
- */
2330
- scheduleRender: function() {
2331
- Z.render(rt, !1, !0);
2332
- },
2333
- /**
2334
- * Synchronously fire render. It's prefered that we batch renders but
2335
- * in many circumstances, like layout measurement, we need to run this
2336
- * synchronously. However in those instances other measures should be taken
2337
- * to batch reads/writes.
2338
- */
2339
- syncRender: rt,
2340
- /**
2341
- * Update the provided props. Ensure any newly-added motion values are
2342
- * added to our map, old ones removed, and listeners updated.
2343
- */
2344
- setProps: function(y) {
2345
- (y.transformTemplate || h.transformTemplate) && E.scheduleRender(), h = y, x.updatePropListeners(y), G = qo(E, v(h), G);
2346
- },
2347
- getProps: function() {
2348
- return h;
2349
- },
2350
- // Variants ==============================
2351
- /**
2352
- * Returns the variant definition with a given name.
2353
- */
2354
- getVariant: function(y) {
2355
- var V;
2356
- return (V = h.variants) === null || V === void 0 ? void 0 : V[y];
2357
- },
2358
- /**
2359
- * Returns the defined default transition on this component.
2360
- */
2361
- getDefaultTransition: function() {
2362
- return h.transition;
2363
- },
2364
- getTransformPagePoint: function() {
2365
- return h.transformPagePoint;
2366
- },
2367
- /**
2368
- * Used by child variant nodes to get the closest ancestor variant props.
2369
- */
2370
- getVariantContext: function(y) {
2371
- if (y === void 0 && (y = !1), y)
2372
- return p?.getVariantContext();
2373
- if (!ht) {
2374
- var V = p?.getVariantContext() || {};
2375
- return h.initial !== void 0 && (V.initial = h.initial), V;
2376
- }
2377
- for (var U = {}, At = 0; At < Jo; At++) {
2378
- var Gt = Xn[At], ae = h[Gt];
2379
- (W(ae) || ae === !1) && (U[Gt] = ae);
2380
- }
2381
- return U;
2382
- }
2383
- });
2384
- return E;
2385
- };
2386
- }, Xn = z(["initial"], R(Ze), !1), Jo = Xn.length;
2387
- function we(t) {
2388
- return typeof t == "string" && t.startsWith("var(--");
2389
- }
2390
- var Wn = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
2391
- function Qo(t) {
2392
- var e = Wn.exec(t);
2393
- if (!e)
2394
- return [,];
2395
- var r = R(e, 3), n = r[1], i = r[2];
2396
- return [n, i];
2397
- }
2398
- var ts = 4;
2399
- function Ee(t, e, r) {
2400
- r === void 0 && (r = 1), lt(r <= ts, 'Max CSS variable fallback depth detected in property "'.concat(t, '". This may indicate a circular fallback dependency.'));
2401
- var n = R(Qo(t), 2), i = n[0], s = n[1];
2402
- if (i) {
2403
- var o = window.getComputedStyle(e).getPropertyValue(i);
2404
- return o ? o.trim() : we(s) ? Ee(s, e, r + 1) : s;
2405
- }
2406
- }
2407
- function es(t, e, r) {
2408
- var n, i = Q(e, []), s = t.getInstance();
2409
- if (!(s instanceof Element))
2410
- return { target: i, transitionEnd: r };
2411
- r && (r = m({}, r)), t.forEachValue(function(l) {
2412
- var f = l.get();
2413
- if (we(f)) {
2414
- var v = Ee(f, s);
2415
- v && l.set(v);
2416
- }
2417
- });
2418
- for (var o in i) {
2419
- var a = i[o];
2420
- if (we(a)) {
2421
- var u = Ee(a, s);
2422
- u && (i[o] = u, r && ((n = r[o]) !== null && n !== void 0 || (r[o] = a)));
2423
- }
2424
- }
2425
- return { target: i, transitionEnd: r };
2426
- }
2427
- var rs = /* @__PURE__ */ new Set([
2428
- "width",
2429
- "height",
2430
- "top",
2431
- "left",
2432
- "right",
2433
- "bottom",
2434
- "x",
2435
- "y"
2436
- ]), Zn = function(t) {
2437
- return rs.has(t);
2438
- }, ns = function(t) {
2439
- return Object.keys(t).some(Zn);
2440
- }, $n = function(t, e) {
2441
- t.set(e, !1), t.set(e);
2442
- }, Wt = function(t) {
2443
- return t === Le || t === T;
2444
- }, wr;
2445
- (function(t) {
2446
- t.width = "width", t.height = "height", t.left = "left", t.right = "right", t.top = "top", t.bottom = "bottom";
2447
- })(wr || (wr = {}));
2448
- var Er = function(t, e) {
2449
- return parseFloat(t.split(", ")[e]);
2450
- }, Lr = function(t, e) {
2451
- return function(r, n) {
2452
- var i = n.transform;
2453
- if (i === "none" || !i)
2454
- return 0;
2455
- var s = i.match(/^matrix3d\((.+)\)$/);
2456
- if (s)
2457
- return Er(s[1], e);
2458
- var o = i.match(/^matrix\((.+)\)$/);
2459
- return o ? Er(o[1], t) : 0;
2460
- };
2461
- }, is = /* @__PURE__ */ new Set(["x", "y", "z"]), as = Bt.filter(function(t) {
2462
- return !is.has(t);
2463
- });
2464
- function os(t) {
2465
- var e = [];
2466
- return as.forEach(function(r) {
2467
- var n = t.getValue(r);
2468
- n !== void 0 && (e.push([r, n.get()]), n.set(r.startsWith("scale") ? 1 : 0));
2469
- }), e.length && t.syncRender(), e;
2470
- }
2471
- var Rr = {
2472
- // Dimensions
2473
- width: function(t, e) {
2474
- var r = t.x, n = e.paddingLeft, i = n === void 0 ? "0" : n, s = e.paddingRight, o = s === void 0 ? "0" : s;
2475
- return r.max - r.min - parseFloat(i) - parseFloat(o);
2476
- },
2477
- height: function(t, e) {
2478
- var r = t.y, n = e.paddingTop, i = n === void 0 ? "0" : n, s = e.paddingBottom, o = s === void 0 ? "0" : s;
2479
- return r.max - r.min - parseFloat(i) - parseFloat(o);
2480
- },
2481
- top: function(t, e) {
2482
- var r = e.top;
2483
- return parseFloat(r);
2484
- },
2485
- left: function(t, e) {
2486
- var r = e.left;
2487
- return parseFloat(r);
2488
- },
2489
- bottom: function(t, e) {
2490
- var r = t.y, n = e.top;
2491
- return parseFloat(n) + (r.max - r.min);
2492
- },
2493
- right: function(t, e) {
2494
- var r = t.x, n = e.left;
2495
- return parseFloat(n) + (r.max - r.min);
2496
- },
2497
- // Transform
2498
- x: Lr(4, 13),
2499
- y: Lr(5, 14)
2500
- }, ss = function(t, e, r) {
2501
- var n = e.measureViewportBox(), i = e.getInstance(), s = getComputedStyle(i), o = s.display, a = {};
2502
- o === "none" && e.setStaticValue("display", t.display || "block"), r.forEach(function(l) {
2503
- a[l] = Rr[l](n, s);
2504
- }), e.syncRender();
2505
- var u = e.measureViewportBox();
2506
- return r.forEach(function(l) {
2507
- var f = e.getValue(l);
2508
- $n(f, a[l]), t[l] = Rr[l](u, s);
2509
- }), t;
2510
- }, us = function(t, e, r, n) {
2511
- r === void 0 && (r = {}), n === void 0 && (n = {}), e = m({}, e), n = m({}, n);
2512
- var i = Object.keys(e).filter(Zn), s = [], o = !1, a = [];
2513
- if (i.forEach(function(f) {
2514
- var v = t.getValue(f);
2515
- if (t.hasValue(f)) {
2516
- var c = r[f], d = wt(c), p = e[f], h;
2517
- if (Ut(p)) {
2518
- var g = p.length, b = p[0] === null ? 1 : 0;
2519
- c = p[b], d = wt(c);
2520
- for (var P = b; P < g; P++)
2521
- h ? lt(wt(p[P]) === h, "All keyframes must be of the same type") : (h = wt(p[P]), lt(h === d || Wt(d) && Wt(h), "Keyframes must be of the same dimension as the current value"));
2522
- } else
2523
- h = wt(p);
2524
- if (d !== h)
2525
- if (Wt(d) && Wt(h)) {
2526
- var S = v.get();
2527
- typeof S == "string" && v.set(parseFloat(S)), typeof p == "string" ? e[f] = parseFloat(p) : Array.isArray(p) && h === T && (e[f] = p.map(parseFloat));
2528
- } else d?.transform && h?.transform && (c === 0 || p === 0) ? c === 0 ? v.set(h.transform(c)) : e[f] = d.transform(p) : (o || (s = os(t), o = !0), a.push(f), n[f] = n[f] !== void 0 ? n[f] : e[f], $n(v, p));
2529
- }
2530
- }), a.length) {
2531
- var u = a.indexOf("height") >= 0 ? window.pageYOffset : null, l = ss(e, t, a);
2532
- return s.length && s.forEach(function(f) {
2533
- var v = R(f, 2), c = v[0], d = v[1];
2534
- t.getValue(c).set(d);
2535
- }), t.syncRender(), u !== null && window.scrollTo({ top: u }), { target: l, transitionEnd: n };
2536
- } else
2537
- return { target: e, transitionEnd: n };
2538
- };
2539
- function ls(t, e, r, n) {
2540
- return ns(e) ? us(t, e, r, n) : { target: e, transitionEnd: n };
2541
- }
2542
- var fs = function(t, e, r, n) {
2543
- var i = es(t, e, n);
2544
- return e = i.target, n = i.transitionEnd, ls(t, e, r, n);
2545
- };
2546
- function cs(t) {
2547
- return window.getComputedStyle(t);
2548
- }
2549
- var qn = {
2550
- treeType: "dom",
2551
- readValueFromInstance: function(t, e) {
2552
- if (Ht(e)) {
2553
- var r = ze(e);
2554
- return r && r.default || 0;
2555
- } else {
2556
- var n = cs(t);
2557
- return (vn(e) ? n.getPropertyValue(e) : n[e]) || 0;
2558
- }
2559
- },
2560
- sortNodePosition: function(t, e) {
2561
- return t.compareDocumentPosition(e) & 2 ? 1 : -1;
2562
- },
2563
- getBaseTarget: function(t, e) {
2564
- var r;
2565
- return (r = t.style) === null || r === void 0 ? void 0 : r[e];
2566
- },
2567
- measureViewportBox: function(t, e) {
2568
- var r = e.transformPagePoint;
2569
- return kn(t, r);
2570
- },
2571
- /**
2572
- * Reset the transform on the current Element. This is called as part
2573
- * of a batched process across the entire layout tree. To remove this write
2574
- * cycle it'd be interesting to see if it's possible to "undo" all the current
2575
- * layout transforms up the tree in the same way this.getBoundingBoxWithoutTransforms
2576
- * works
2577
- */
2578
- resetTransform: function(t, e, r) {
2579
- var n = r.transformTemplate;
2580
- e.style.transform = n ? n({}, "") : "none", t.scheduleRender();
2581
- },
2582
- restoreTransform: function(t, e) {
2583
- t.style.transform = e.style.transform;
2584
- },
2585
- removeValueFromRenderState: function(t, e) {
2586
- var r = e.vars, n = e.style;
2587
- delete r[t], delete n[t];
2588
- },
2589
- /**
2590
- * Ensure that HTML and Framer-specific value types like `px`->`%` and `Color`
2591
- * can be animated by Motion.
2592
- */
2593
- makeTargetAnimatable: function(t, e, r, n) {
2594
- var i = r.transformValues;
2595
- n === void 0 && (n = !0);
2596
- var s = e.transition, o = e.transitionEnd, a = Q(e, ["transition", "transitionEnd"]), u = go(a, s || {}, t);
2597
- if (i && (o && (o = i(o)), a && (a = i(a)), u && (u = i(u))), n) {
2598
- ho(t, a, u);
2599
- var l = fs(t, a, u, o);
2600
- o = l.transitionEnd, a = l.target;
2601
- }
2602
- return m({ transition: s, transitionEnd: o }, a);
2603
- },
2604
- scrapeMotionValuesFromProps: Ue,
2605
- build: function(t, e, r, n, i) {
2606
- t.isVisible !== void 0 && (e.style.visibility = t.isVisible ? "visible" : "hidden"), Fe(e, r, n, i.transformTemplate);
2607
- },
2608
- render: yn
2609
- }, vs = Yn(qn), ds = Yn(m(m({}, qn), { getBaseTarget: function(t, e) {
2610
- return t[e];
2611
- }, readValueFromInstance: function(t, e) {
2612
- var r;
2613
- return Ht(e) ? ((r = ze(e)) === null || r === void 0 ? void 0 : r.default) || 0 : (e = bn.has(e) ? e : gn(e), t.getAttribute(e));
2614
- }, scrapeMotionValuesFromProps: Vn, build: function(t, e, r, n, i) {
2615
- Be(e, r, n, i.transformTemplate);
2616
- }, render: Pn })), ps = function(t, e) {
2617
- return Oe(t) ? ds(e, { enableHardwareAcceleration: !1 }) : vs(e, { enableHardwareAcceleration: !0 });
2618
- };
2619
- function Dr(t, e) {
2620
- return e.max === e.min ? 0 : t / (e.max - e.min) * 100;
2621
- }
2622
- var Et = {
2623
- correct: function(t, e) {
2624
- if (!e.target)
2625
- return t;
2626
- if (typeof t == "string")
2627
- if (T.test(t))
2628
- t = parseFloat(t);
2629
- else
2630
- return t;
2631
- var r = Dr(t, e.target.x), n = Dr(t, e.target.y);
2632
- return "".concat(r, "% ").concat(n, "%");
2633
- }
2634
- }, Mr = "_$css", hs = {
2635
- correct: function(t, e) {
2636
- var r = e.treeScale, n = e.projectionDelta, i = t, s = t.includes("var("), o = [];
2637
- s && (t = t.replace(Wn, function(h) {
2638
- return o.push(h), Mr;
2639
- }));
2640
- var a = Pt.parse(t);
2641
- if (a.length > 5)
2642
- return i;
2643
- var u = Pt.createTransformer(t), l = typeof a[0] != "number" ? 1 : 0, f = n.x.scale * r.x, v = n.y.scale * r.y;
2644
- a[0 + l] /= f, a[1 + l] /= v;
2645
- var c = O(f, v, 0.5);
2646
- typeof a[2 + l] == "number" && (a[2 + l] /= c), typeof a[3 + l] == "number" && (a[3 + l] /= c);
2647
- var d = u(a);
2648
- if (s) {
2649
- var p = 0;
2650
- d = d.replace(Mr, function() {
2651
- var h = o[p];
2652
- return p++, h;
2653
- });
2654
- }
2655
- return d;
2656
- }
2657
- }, ms = (
2658
- /** @class */
2659
- function(t) {
2660
- Zr(e, t);
2661
- function e() {
2662
- return t !== null && t.apply(this, arguments) || this;
2663
- }
2664
- return e.prototype.componentDidMount = function() {
2665
- var r = this, n = this.props, i = n.visualElement, s = n.layoutGroup, o = n.switchLayoutGroup, a = n.layoutId, u = i.projection;
2666
- Qi(ys), u && (s?.group && s.group.add(u), o?.register && a && o.register(u), u.root.didUpdate(), u.addEventListener("animationComplete", function() {
2667
- r.safeToRemove();
2668
- }), u.setOptions(m(m({}, u.options), { onExitComplete: function() {
2669
- return r.safeToRemove();
2670
- } }))), Lt.hasEverUpdated = !0;
2671
- }, e.prototype.getSnapshotBeforeUpdate = function(r) {
2672
- var n = this, i = this.props, s = i.layoutDependency, o = i.visualElement, a = i.drag, u = i.isPresent, l = o.projection;
2673
- return l && (l.isPresent = u, a || r.layoutDependency !== s || s === void 0 ? l.willUpdate() : this.safeToRemove(), r.isPresent !== u && (u ? l.promote() : l.relegate() || Z.postRender(function() {
2674
- var f;
2675
- !((f = l.getStack()) === null || f === void 0) && f.members.length || n.safeToRemove();
2676
- }))), null;
2677
- }, e.prototype.componentDidUpdate = function() {
2678
- var r = this.props.visualElement.projection;
2679
- r && (r.root.didUpdate(), !r.currentAnimation && r.isLead() && this.safeToRemove());
2680
- }, e.prototype.componentWillUnmount = function() {
2681
- var r = this.props, n = r.visualElement, i = r.layoutGroup, s = r.switchLayoutGroup, o = n.projection;
2682
- o && (o.scheduleCheckAfterUnmount(), i?.group && i.group.remove(o), s?.deregister && s.deregister(o));
2683
- }, e.prototype.safeToRemove = function() {
2684
- var r = this.props.safeToRemove;
2685
- r?.();
2686
- }, e.prototype.render = function() {
2687
- return null;
2688
- }, e;
2689
- }(Re.Component)
2690
- );
2691
- function gs(t) {
2692
- var e = R(On(), 2), r = e[0], n = e[1], i = F(Ie);
2693
- return Re.createElement(ms, m({}, t, { layoutGroup: i, switchLayoutGroup: F(ln), isPresent: r, safeToRemove: n }));
2694
- }
2695
- var ys = {
2696
- borderRadius: m(m({}, Et), { applyTo: [
2697
- "borderTopLeftRadius",
2698
- "borderTopRightRadius",
2699
- "borderBottomLeftRadius",
2700
- "borderBottomRightRadius"
2701
- ] }),
2702
- borderTopLeftRadius: Et,
2703
- borderTopRightRadius: Et,
2704
- borderBottomLeftRadius: Et,
2705
- borderBottomRightRadius: Et,
2706
- boxShadow: hs
2707
- }, bs = {
2708
- measureLayout: gs
2709
- };
2710
- function Ps(t, e, r) {
2711
- r === void 0 && (r = {});
2712
- var n = q(t) ? t : dt(t);
2713
- return ke("", n, e, r), {
2714
- stop: function() {
2715
- return n.stop();
2716
- },
2717
- isAnimating: function() {
2718
- return n.isAnimating();
2719
- }
2720
- };
2721
- }
2722
- var Jn = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Vs = Jn.length, Ir = function(t) {
2723
- return typeof t == "string" ? parseFloat(t) : t;
2724
- }, Or = function(t) {
2725
- return typeof t == "number" || T.test(t);
2726
- };
2727
- function Ts(t, e, r, n, i, s) {
2728
- var o, a, u, l;
2729
- i ? (t.opacity = O(
2730
- 0,
2731
- // (follow?.opacity as number) ?? 0,
2732
- // TODO Reinstate this if only child
2733
- (o = r.opacity) !== null && o !== void 0 ? o : 1,
2734
- Ss(n)
2735
- ), t.opacityExit = O((a = e.opacity) !== null && a !== void 0 ? a : 1, 0, xs(n))) : s && (t.opacity = O((u = e.opacity) !== null && u !== void 0 ? u : 1, (l = r.opacity) !== null && l !== void 0 ? l : 1, n));
2736
- for (var f = 0; f < Vs; f++) {
2737
- var v = "border".concat(Jn[f], "Radius"), c = Fr(e, v), d = Fr(r, v);
2738
- if (!(c === void 0 && d === void 0)) {
2739
- c || (c = 0), d || (d = 0);
2740
- var p = c === 0 || d === 0 || Or(c) === Or(d);
2741
- p ? (t[v] = Math.max(O(Ir(c), Ir(d), n), 0), (Ot.test(d) || Ot.test(c)) && (t[v] += "%")) : t[v] = d;
2742
- }
2743
- }
2744
- (e.rotate || r.rotate) && (t.rotate = O(e.rotate || 0, r.rotate || 0, n));
2745
- }
2746
- function Fr(t, e) {
2747
- var r;
2748
- return (r = t[e]) !== null && r !== void 0 ? r : t.borderRadius;
2749
- }
2750
- var Ss = Qn(0, 0.5, qr), xs = Qn(0.5, 0.95, Jr);
2751
- function Qn(t, e, r) {
2752
- return function(n) {
2753
- return n < t ? 0 : n > e ? 1 : r(ge(t, e, n));
2754
- };
2755
- }
2756
- function jr(t, e) {
2757
- t.min = e.min, t.max = e.max;
2758
- }
2759
- function Y(t, e) {
2760
- jr(t.x, e.x), jr(t.y, e.y);
2761
- }
2762
- function Br(t, e, r, n, i) {
2763
- return t -= e, t = te(t, 1 / r, n), i !== void 0 && (t = te(t, 1 / i, n)), t;
2764
- }
2765
- function Cs(t, e, r, n, i, s, o) {
2766
- if (e === void 0 && (e = 0), r === void 0 && (r = 1), n === void 0 && (n = 0.5), s === void 0 && (s = t), o === void 0 && (o = t), Ot.test(e)) {
2767
- e = parseFloat(e);
2768
- var a = O(o.min, o.max, e / 100);
2769
- e = a - o.min;
2770
- }
2771
- if (typeof e == "number") {
2772
- var u = O(s.min, s.max, n);
2773
- t === s && (u -= e), t.min = Br(t.min, e, r, u, i), t.max = Br(t.max, e, r, u, i);
2774
- }
2775
- }
2776
- function Ur(t, e, r, n, i) {
2777
- var s = R(r, 3), o = s[0], a = s[1], u = s[2];
2778
- Cs(t, e[o], e[a], e[u], e.scale, n, i);
2779
- }
2780
- var As = ["x", "scaleX", "originX"], ws = ["y", "scaleY", "originY"];
2781
- function _r(t, e, r, n) {
2782
- Ur(t.x, e, As, r?.x, n?.x), Ur(t.y, e, ws, r?.y, n?.y);
2783
- }
2784
- function Nr(t) {
2785
- return t.translate === 0 && t.scale === 1;
2786
- }
2787
- function ti(t) {
2788
- return Nr(t.x) && Nr(t.y);
2789
- }
2790
- function ei(t, e) {
2791
- return t.x.min === e.x.min && t.x.max === e.x.max && t.y.min === e.y.min && t.y.max === e.y.max;
2792
- }
2793
- var Es = (
2794
- /** @class */
2795
- function() {
2796
- function t() {
2797
- this.members = [];
2798
- }
2799
- return t.prototype.add = function(e) {
2800
- Ye(this.members, e), e.scheduleRender();
2801
- }, t.prototype.remove = function(e) {
2802
- if (Xe(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
2803
- var r = this.members[this.members.length - 1];
2804
- r && this.promote(r);
2805
- }
2806
- }, t.prototype.relegate = function(e) {
2807
- var r = this.members.findIndex(function(o) {
2808
- return e === o;
2809
- });
2810
- if (r === 0)
2811
- return !1;
2812
- for (var n, i = r; i >= 0; i--) {
2813
- var s = this.members[i];
2814
- if (s.isPresent !== !1) {
2815
- n = s;
2816
- break;
2817
- }
2818
- }
2819
- return n ? (this.promote(n), !0) : !1;
2820
- }, t.prototype.promote = function(e, r) {
2821
- var n, i = this.lead;
2822
- if (e !== i && (this.prevLead = i, this.lead = e, e.show(), i)) {
2823
- i.instance && i.scheduleRender(), e.scheduleRender(), e.resumeFrom = i, r && (e.resumeFrom.preserveOpacity = !0), i.snapshot && (e.snapshot = i.snapshot, e.snapshot.latestValues = i.animationValues || i.latestValues, e.snapshot.isShared = !0), !((n = e.root) === null || n === void 0) && n.isUpdating && (e.isLayoutDirty = !0);
2824
- var s = e.options.crossfade;
2825
- s === !1 && i.hide();
2826
- }
2827
- }, t.prototype.exitAnimationComplete = function() {
2828
- this.members.forEach(function(e) {
2829
- var r, n, i, s, o;
2830
- (n = (r = e.options).onExitComplete) === null || n === void 0 || n.call(r), (o = (i = e.resumingFrom) === null || i === void 0 ? void 0 : (s = i.options).onExitComplete) === null || o === void 0 || o.call(s);
2831
- });
2832
- }, t.prototype.scheduleRender = function() {
2833
- this.members.forEach(function(e) {
2834
- e.instance && e.scheduleRender(!1);
2835
- });
2836
- }, t.prototype.removeLeadSnapshot = function() {
2837
- this.lead && this.lead.snapshot && (this.lead.snapshot = void 0);
2838
- }, t;
2839
- }()
2840
- ), Ls = "translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";
2841
- function Hr(t, e, r) {
2842
- var n = t.x.translate / e.x, i = t.y.translate / e.y, s = "translate3d(".concat(n, "px, ").concat(i, "px, 0) ");
2843
- if (s += "scale(".concat(1 / e.x, ", ").concat(1 / e.y, ") "), r) {
2844
- var o = r.rotate, a = r.rotateX, u = r.rotateY;
2845
- o && (s += "rotate(".concat(o, "deg) ")), a && (s += "rotateX(".concat(a, "deg) ")), u && (s += "rotateY(".concat(u, "deg) "));
2846
- }
2847
- var l = t.x.scale * e.x, f = t.y.scale * e.y;
2848
- return s += "scale(".concat(l, ", ").concat(f, ")"), s === Ls ? "none" : s;
2849
- }
2850
- var Rs = function(t, e) {
2851
- return t.depth - e.depth;
2852
- }, Ds = (
2853
- /** @class */
2854
- function() {
2855
- function t() {
2856
- this.children = [], this.isDirty = !1;
2857
- }
2858
- return t.prototype.add = function(e) {
2859
- Ye(this.children, e), this.isDirty = !0;
2860
- }, t.prototype.remove = function(e) {
2861
- Xe(this.children, e), this.isDirty = !0;
2862
- }, t.prototype.forEach = function(e) {
2863
- this.isDirty && this.children.sort(Rs), this.isDirty = !1, this.children.forEach(e);
2864
- }, t;
2865
- }()
2866
- ), zr = 1e3;
2867
- function ri(t) {
2868
- var e = t.attachResizeListener, r = t.defaultParent, n = t.measureScroll, i = t.checkIsScrollRoot, s = t.resetTransform;
2869
- return (
2870
- /** @class */
2871
- function() {
2872
- function o(a, u, l) {
2873
- var f = this;
2874
- u === void 0 && (u = {}), l === void 0 && (l = r?.()), this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.potentialNodes = /* @__PURE__ */ new Map(), this.checkUpdateFailed = function() {
2875
- f.isUpdating && (f.isUpdating = !1, f.clearAllSnapshots());
2876
- }, this.updateProjection = function() {
2877
- f.nodes.forEach(Bs), f.nodes.forEach(Us);
2878
- }, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.id = a, this.latestValues = u, this.root = l ? l.root || l : this, this.path = l ? z(z([], R(l.path), !1), [l], !1) : [], this.parent = l, this.depth = l ? l.depth + 1 : 0, a && this.root.registerPotentialNode(a, this);
2879
- for (var v = 0; v < this.path.length; v++)
2880
- this.path[v].shouldResetTransform = !0;
2881
- this.root === this && (this.nodes = new Ds());
2882
- }
2883
- return o.prototype.addEventListener = function(a, u) {
2884
- return this.eventHandlers.has(a) || this.eventHandlers.set(a, new Rt()), this.eventHandlers.get(a).add(u);
2885
- }, o.prototype.notifyListeners = function(a) {
2886
- for (var u = [], l = 1; l < arguments.length; l++)
2887
- u[l - 1] = arguments[l];
2888
- var f = this.eventHandlers.get(a);
2889
- f?.notify.apply(f, z([], R(u), !1));
2890
- }, o.prototype.hasListeners = function(a) {
2891
- return this.eventHandlers.has(a);
2892
- }, o.prototype.registerPotentialNode = function(a, u) {
2893
- this.potentialNodes.set(a, u);
2894
- }, o.prototype.mount = function(a, u) {
2895
- var l = this, f;
2896
- if (u === void 0 && (u = !1), !this.instance) {
2897
- this.isSVG = a instanceof SVGElement && a.tagName !== "svg", this.instance = a;
2898
- var v = this.options, c = v.layoutId, d = v.layout, p = v.visualElement;
2899
- if (p && !p.getInstance() && p.mount(a), this.root.nodes.add(this), (f = this.parent) === null || f === void 0 || f.children.add(this), this.id && this.root.potentialNodes.delete(this.id), u && (d || c) && (this.isLayoutDirty = !0), e) {
2900
- var h, g = function() {
2901
- return l.root.updateBlockedByResize = !1;
2902
- };
2903
- e(a, function() {
2904
- l.root.updateBlockedByResize = !0, clearTimeout(h), h = window.setTimeout(g, 250), Lt.hasAnimatedSinceResize && (Lt.hasAnimatedSinceResize = !1, l.nodes.forEach(js));
2905
- });
2906
- }
2907
- c && this.root.registerSharedNode(c, this), this.options.animate !== !1 && p && (c || d) && this.addEventListener("didUpdate", function(b) {
2908
- var P, S, C, A, I, D = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged, M = b.layout;
2909
- if (l.isTreeAnimationBlocked()) {
2910
- l.target = void 0, l.relativeTarget = void 0;
2911
- return;
2912
- }
2913
- var G = (S = (P = l.options.transition) !== null && P !== void 0 ? P : p.getDefaultTransition()) !== null && S !== void 0 ? S : Gs, B = p.getProps(), H = B.onLayoutAnimationStart, rt = B.onLayoutAnimationComplete, nt = !l.targetLayout || !ei(l.targetLayout, M) || w, it = !x && w;
2914
- if (!((C = l.resumeFrom) === null || C === void 0) && C.instance || it || x && (nt || !l.currentAnimation)) {
2915
- l.resumeFrom && (l.resumingFrom = l.resumeFrom, l.resumingFrom.resumingFrom = void 0), l.setAnimationOrigin(D, it);
2916
- var K = m(m({}, Ke(G, "layout")), { onPlay: H, onComplete: rt });
2917
- p.shouldReduceMotion && (K.delay = 0, K.type = !1), l.startAnimation(K);
2918
- } else
2919
- !x && l.animationProgress === 0 && l.finishAnimation(), l.isLead() && ((I = (A = l.options).onExitComplete) === null || I === void 0 || I.call(A));
2920
- l.targetLayout = M;
2921
- });
2922
- }
2923
- }, o.prototype.unmount = function() {
2924
- var a, u;
2925
- this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), (a = this.getStack()) === null || a === void 0 || a.remove(this), (u = this.parent) === null || u === void 0 || u.children.delete(this), this.instance = void 0, Ft.preRender(this.updateProjection);
2926
- }, o.prototype.blockUpdate = function() {
2927
- this.updateManuallyBlocked = !0;
2928
- }, o.prototype.unblockUpdate = function() {
2929
- this.updateManuallyBlocked = !1;
2930
- }, o.prototype.isUpdateBlocked = function() {
2931
- return this.updateManuallyBlocked || this.updateBlockedByResize;
2932
- }, o.prototype.isTreeAnimationBlocked = function() {
2933
- var a;
2934
- return this.isAnimationBlocked || ((a = this.parent) === null || a === void 0 ? void 0 : a.isTreeAnimationBlocked()) || !1;
2935
- }, o.prototype.startUpdate = function() {
2936
- var a;
2937
- this.isUpdateBlocked() || (this.isUpdating = !0, (a = this.nodes) === null || a === void 0 || a.forEach(_s));
2938
- }, o.prototype.willUpdate = function(a) {
2939
- var u, l, f;
2940
- if (a === void 0 && (a = !0), this.root.isUpdateBlocked()) {
2941
- (l = (u = this.options).onExitComplete) === null || l === void 0 || l.call(u);
2942
- return;
2943
- }
2944
- if (!this.root.isUpdating && this.root.startUpdate(), !this.isLayoutDirty) {
2945
- this.isLayoutDirty = !0;
2946
- for (var v = 0; v < this.path.length; v++) {
2947
- var c = this.path[v];
2948
- c.shouldResetTransform = !0, c.updateScroll();
2949
- }
2950
- var d = this.options, p = d.layoutId, h = d.layout;
2951
- if (!(p === void 0 && !h)) {
2952
- var g = (f = this.options.visualElement) === null || f === void 0 ? void 0 : f.getProps().transformTemplate;
2953
- this.prevTransformTemplateValue = g?.(this.latestValues, ""), this.updateSnapshot(), a && this.notifyListeners("willUpdate");
2954
- }
2955
- }
2956
- }, o.prototype.didUpdate = function() {
2957
- var a = this.isUpdateBlocked();
2958
- if (a) {
2959
- this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Gr);
2960
- return;
2961
- }
2962
- this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(Ks), this.potentialNodes.clear()), this.nodes.forEach(Fs), this.nodes.forEach(Ms), this.nodes.forEach(Is), this.clearAllSnapshots(), se.update(), se.preRender(), se.render());
2963
- }, o.prototype.clearAllSnapshots = function() {
2964
- this.nodes.forEach(Os), this.sharedNodes.forEach(Ns);
2965
- }, o.prototype.scheduleUpdateProjection = function() {
2966
- Z.preRender(this.updateProjection, !1, !0);
2967
- }, o.prototype.scheduleCheckAfterUnmount = function() {
2968
- var a = this;
2969
- Z.postRender(function() {
2970
- a.isLayoutDirty ? a.root.didUpdate() : a.root.checkUpdateFailed();
2971
- });
2972
- }, o.prototype.updateSnapshot = function() {
2973
- if (!(this.snapshot || !this.instance)) {
2974
- var a = this.measure(), u = this.removeTransform(this.removeElementScroll(a));
2975
- Xr(u), this.snapshot = {
2976
- measured: a,
2977
- layout: u,
2978
- latestValues: {}
2979
- };
2980
- }
2981
- }, o.prototype.updateLayout = function() {
2982
- var a;
2983
- if (this.instance && (this.updateScroll(), !(!(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty))) {
2984
- if (this.resumeFrom && !this.resumeFrom.instance)
2985
- for (var u = 0; u < this.path.length; u++) {
2986
- var l = this.path[u];
2987
- l.updateScroll();
2988
- }
2989
- var f = this.measure();
2990
- Xr(f);
2991
- var v = this.layout;
2992
- this.layout = {
2993
- measured: f,
2994
- actual: this.removeElementScroll(f)
2995
- }, this.layoutCorrected = j(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.actual), (a = this.options.visualElement) === null || a === void 0 || a.notifyLayoutMeasure(this.layout.actual, v?.actual);
2996
- }
2997
- }, o.prototype.updateScroll = function() {
2998
- this.options.layoutScroll && this.instance && (this.isScrollRoot = i(this.instance), this.scroll = n(this.instance));
2999
- }, o.prototype.resetTransform = function() {
3000
- var a;
3001
- if (s) {
3002
- var u = this.isLayoutDirty || this.shouldResetTransform, l = this.projectionDelta && !ti(this.projectionDelta), f = (a = this.options.visualElement) === null || a === void 0 ? void 0 : a.getProps().transformTemplate, v = f?.(this.latestValues, ""), c = v !== this.prevTransformTemplateValue;
3003
- u && (l || ot(this.latestValues) || c) && (s(this.instance, v), this.shouldResetTransform = !1, this.scheduleRender());
3004
- }
3005
- }, o.prototype.measure = function() {
3006
- var a = this.options.visualElement;
3007
- if (!a)
3008
- return j();
3009
- var u = a.measureViewportBox(), l = this.root.scroll;
3010
- return l && (st(u.x, l.x), st(u.y, l.y)), u;
3011
- }, o.prototype.removeElementScroll = function(a) {
3012
- var u = j();
3013
- Y(u, a);
3014
- for (var l = 0; l < this.path.length; l++) {
3015
- var f = this.path[l], v = f.scroll, c = f.options, d = f.isScrollRoot;
3016
- if (f !== this.root && v && c.layoutScroll) {
3017
- if (d) {
3018
- Y(u, a);
3019
- var p = this.root.scroll;
3020
- p && (st(u.x, -p.x), st(u.y, -p.y));
3021
- }
3022
- st(u.x, v.x), st(u.y, v.y);
3023
- }
3024
- }
3025
- return u;
3026
- }, o.prototype.applyTransform = function(a, u) {
3027
- u === void 0 && (u = !1);
3028
- var l = j();
3029
- Y(l, a);
3030
- for (var f = 0; f < this.path.length; f++) {
3031
- var v = this.path[f];
3032
- !u && v.options.layoutScroll && v.scroll && v !== v.root && yt(l, {
3033
- x: -v.scroll.x,
3034
- y: -v.scroll.y
3035
- }), ot(v.latestValues) && yt(l, v.latestValues);
3036
- }
3037
- return ot(this.latestValues) && yt(l, this.latestValues), l;
3038
- }, o.prototype.removeTransform = function(a) {
3039
- var u, l = j();
3040
- Y(l, a);
3041
- for (var f = 0; f < this.path.length; f++) {
3042
- var v = this.path[f];
3043
- if (v.instance && ot(v.latestValues)) {
3044
- Gn(v.latestValues) && v.updateSnapshot();
3045
- var c = j(), d = v.measure();
3046
- Y(c, d), _r(l, v.latestValues, (u = v.snapshot) === null || u === void 0 ? void 0 : u.layout, c);
3047
- }
3048
- }
3049
- return ot(this.latestValues) && _r(l, this.latestValues), l;
3050
- }, o.prototype.setTargetDelta = function(a) {
3051
- this.targetDelta = a, this.root.scheduleUpdateProjection();
3052
- }, o.prototype.setOptions = function(a) {
3053
- var u;
3054
- this.options = m(m(m({}, this.options), a), { crossfade: (u = a.crossfade) !== null && u !== void 0 ? u : !0 });
3055
- }, o.prototype.clearMeasurements = function() {
3056
- 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;
3057
- }, o.prototype.resolveTargetDelta = function() {
3058
- var a, u = this.options, l = u.layout, f = u.layoutId;
3059
- !this.layout || !(l || f) || (!this.targetDelta && !this.relativeTarget && (this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && this.relativeParent.layout && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.layout.actual, this.relativeParent.layout.actual), Y(this.relativeTarget, this.relativeTargetOrigin))), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = j(), this.targetWithTransforms = j()), this.relativeTarget && this.relativeTargetOrigin && (!((a = this.relativeParent) === null || a === void 0) && a.target) ? Do(this.target, this.relativeTarget, this.relativeParent.target) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.actual) : Y(this.target, this.layout.actual), Kn(this.target, this.targetDelta)) : Y(this.target, this.layout.actual), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && !!this.relativeParent.resumingFrom == !!this.resumingFrom && !this.relativeParent.options.layoutScroll && this.relativeParent.target && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.target, this.relativeParent.target), Y(this.relativeTarget, this.relativeTargetOrigin)))));
3060
- }, o.prototype.getClosestProjectingParent = function() {
3061
- if (!(!this.parent || ot(this.parent.latestValues)))
3062
- return (this.parent.relativeTarget || this.parent.targetDelta) && this.parent.layout ? this.parent : this.parent.getClosestProjectingParent();
3063
- }, o.prototype.calcProjection = function() {
3064
- var a, u = this.options, l = u.layout, f = u.layoutId;
3065
- if (this.isTreeAnimating = !!(!((a = this.parent) === null || a === void 0) && a.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !(!this.layout || !(l || f))) {
3066
- var v = this.getLead();
3067
- Y(this.layoutCorrected, this.layout.actual), No(this.layoutCorrected, this.treeScale, this.path, !!this.resumingFrom || this !== v);
3068
- var c = v.target;
3069
- if (c) {
3070
- this.projectionDelta || (this.projectionDelta = It(), this.projectionDeltaWithTransform = It());
3071
- var d = this.treeScale.x, p = this.treeScale.y, h = this.projectionTransform;
3072
- Dt(this.projectionDelta, this.layoutCorrected, c, this.latestValues), this.projectionTransform = Hr(this.projectionDelta, this.treeScale), (this.projectionTransform !== h || this.treeScale.x !== d || this.treeScale.y !== p) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", c));
3073
- }
3074
- }
3075
- }, o.prototype.hide = function() {
3076
- this.isVisible = !1;
3077
- }, o.prototype.show = function() {
3078
- this.isVisible = !0;
3079
- }, o.prototype.scheduleRender = function(a) {
3080
- var u, l, f;
3081
- a === void 0 && (a = !0), (l = (u = this.options).scheduleRender) === null || l === void 0 || l.call(u), a && ((f = this.getStack()) === null || f === void 0 || f.scheduleRender()), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
3082
- }, o.prototype.setAnimationOrigin = function(a, u) {
3083
- var l = this, f;
3084
- u === void 0 && (u = !1);
3085
- var v = this.snapshot, c = v?.latestValues || {}, d = m({}, this.latestValues), p = It();
3086
- this.relativeTarget = this.relativeTargetOrigin = void 0, this.attemptToResolveRelativeTarget = !u;
3087
- var h = j(), g = v?.isShared, b = (((f = this.getStack()) === null || f === void 0 ? void 0 : f.members.length) || 0) <= 1, P = !!(g && !b && this.options.crossfade === !0 && !this.path.some(zs));
3088
- this.animationProgress = 0, this.mixTargetDelta = function(S) {
3089
- var C, A = S / 1e3;
3090
- Kr(p.x, a.x, A), Kr(p.y, a.y, A), l.setTargetDelta(p), l.relativeTarget && l.relativeTargetOrigin && l.layout && (!((C = l.relativeParent) === null || C === void 0) && C.layout) && (Mt(h, l.layout.actual, l.relativeParent.layout.actual), Hs(l.relativeTarget, l.relativeTargetOrigin, h, A)), g && (l.animationValues = d, Ts(d, c, l.latestValues, A, P, b)), l.root.scheduleUpdateProjection(), l.scheduleRender(), l.animationProgress = A;
3091
- }, this.mixTargetDelta(0);
3092
- }, o.prototype.startAnimation = function(a) {
3093
- var u = this, l, f;
3094
- this.notifyListeners("animationStart"), (l = this.currentAnimation) === null || l === void 0 || l.stop(), this.resumingFrom && ((f = this.resumingFrom.currentAnimation) === null || f === void 0 || f.stop()), this.pendingAnimation && (Ft.update(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = Z.update(function() {
3095
- Lt.hasAnimatedSinceResize = !0, u.currentAnimation = Ps(0, zr, m(m({}, a), { onUpdate: function(v) {
3096
- var c;
3097
- u.mixTargetDelta(v), (c = a.onUpdate) === null || c === void 0 || c.call(a, v);
3098
- }, onComplete: function() {
3099
- var v;
3100
- (v = a.onComplete) === null || v === void 0 || v.call(a), u.completeAnimation();
3101
- } })), u.resumingFrom && (u.resumingFrom.currentAnimation = u.currentAnimation), u.pendingAnimation = void 0;
3102
- });
3103
- }, o.prototype.completeAnimation = function() {
3104
- var a;
3105
- this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0), (a = this.getStack()) === null || a === void 0 || a.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
3106
- }, o.prototype.finishAnimation = function() {
3107
- var a;
3108
- this.currentAnimation && ((a = this.mixTargetDelta) === null || a === void 0 || a.call(this, zr), this.currentAnimation.stop()), this.completeAnimation();
3109
- }, o.prototype.applyTransformsToTarget = function() {
3110
- var a = this.getLead(), u = a.targetWithTransforms, l = a.target, f = a.layout, v = a.latestValues;
3111
- !u || !l || !f || (Y(u, l), yt(u, v), Dt(this.projectionDeltaWithTransform, this.layoutCorrected, u, v));
3112
- }, o.prototype.registerSharedNode = function(a, u) {
3113
- var l, f, v;
3114
- this.sharedNodes.has(a) || this.sharedNodes.set(a, new Es());
3115
- var c = this.sharedNodes.get(a);
3116
- c.add(u), u.promote({
3117
- transition: (l = u.options.initialPromotionConfig) === null || l === void 0 ? void 0 : l.transition,
3118
- preserveFollowOpacity: (v = (f = u.options.initialPromotionConfig) === null || f === void 0 ? void 0 : f.shouldPreserveFollowOpacity) === null || v === void 0 ? void 0 : v.call(f, u)
3119
- });
3120
- }, o.prototype.isLead = function() {
3121
- var a = this.getStack();
3122
- return a ? a.lead === this : !0;
3123
- }, o.prototype.getLead = function() {
3124
- var a, u = this.options.layoutId;
3125
- return u ? ((a = this.getStack()) === null || a === void 0 ? void 0 : a.lead) || this : this;
3126
- }, o.prototype.getPrevLead = function() {
3127
- var a, u = this.options.layoutId;
3128
- return u ? (a = this.getStack()) === null || a === void 0 ? void 0 : a.prevLead : void 0;
3129
- }, o.prototype.getStack = function() {
3130
- var a = this.options.layoutId;
3131
- if (a)
3132
- return this.root.sharedNodes.get(a);
3133
- }, o.prototype.promote = function(a) {
3134
- var u = a === void 0 ? {} : a, l = u.needsReset, f = u.transition, v = u.preserveFollowOpacity, c = this.getStack();
3135
- c && c.promote(this, v), l && (this.projectionDelta = void 0, this.needsReset = !0), f && this.setOptions({ transition: f });
3136
- }, o.prototype.relegate = function() {
3137
- var a = this.getStack();
3138
- return a ? a.relegate(this) : !1;
3139
- }, o.prototype.resetRotation = function() {
3140
- var a = this.options.visualElement;
3141
- if (a) {
3142
- for (var u = !1, l = {}, f = 0; f < Pe.length; f++) {
3143
- var v = Pe[f], c = "rotate" + v;
3144
- a.getStaticValue(c) && (u = !0, l[c] = a.getStaticValue(c), a.setStaticValue(c, 0));
3145
- }
3146
- if (u) {
3147
- a?.syncRender();
3148
- for (var c in l)
3149
- a.setStaticValue(c, l[c]);
3150
- a.scheduleRender();
3151
- }
3152
- }
3153
- }, o.prototype.getProjectionStyles = function(a) {
3154
- var u, l, f, v, c, d;
3155
- a === void 0 && (a = {});
3156
- var p = {};
3157
- if (!this.instance || this.isSVG)
3158
- return p;
3159
- if (this.isVisible)
3160
- p.visibility = "";
3161
- else
3162
- return { visibility: "hidden" };
3163
- var h = (u = this.options.visualElement) === null || u === void 0 ? void 0 : u.getProps().transformTemplate;
3164
- if (this.needsReset)
3165
- return this.needsReset = !1, p.opacity = "", p.pointerEvents = Zt(a.pointerEvents) || "", p.transform = h ? h(this.latestValues, "") : "none", p;
3166
- var g = this.getLead();
3167
- if (!this.projectionDelta || !this.layout || !g.target) {
3168
- var b = {};
3169
- return this.options.layoutId && (b.opacity = (l = this.latestValues.opacity) !== null && l !== void 0 ? l : 1, b.pointerEvents = Zt(a.pointerEvents) || ""), this.hasProjected && !ot(this.latestValues) && (b.transform = h ? h({}, "") : "none", this.hasProjected = !1), b;
3170
- }
3171
- var P = g.animationValues || g.latestValues;
3172
- this.applyTransformsToTarget(), p.transform = Hr(this.projectionDeltaWithTransform, this.treeScale, P), h && (p.transform = h(P, p.transform));
3173
- var S = this.projectionDelta, C = S.x, A = S.y;
3174
- p.transformOrigin = "".concat(C.origin * 100, "% ").concat(A.origin * 100, "% 0"), g.animationValues ? p.opacity = g === this ? (v = (f = P.opacity) !== null && f !== void 0 ? f : this.latestValues.opacity) !== null && v !== void 0 ? v : 1 : this.preserveOpacity ? this.latestValues.opacity : P.opacityExit : p.opacity = g === this ? (c = P.opacity) !== null && c !== void 0 ? c : "" : (d = P.opacityExit) !== null && d !== void 0 ? d : 0;
3175
- for (var I in $t)
3176
- if (P[I] !== void 0) {
3177
- var D = $t[I], x = D.correct, w = D.applyTo, M = x(P[I], g);
3178
- if (w)
3179
- for (var G = w.length, B = 0; B < G; B++)
3180
- p[w[B]] = M;
3181
- else
3182
- p[I] = M;
3183
- }
3184
- return this.options.layoutId && (p.pointerEvents = g === this ? Zt(a.pointerEvents) || "" : "none"), p;
3185
- }, o.prototype.clearSnapshot = function() {
3186
- this.resumeFrom = this.snapshot = void 0;
3187
- }, o.prototype.resetTree = function() {
3188
- this.root.nodes.forEach(function(a) {
3189
- var u;
3190
- return (u = a.currentAnimation) === null || u === void 0 ? void 0 : u.stop();
3191
- }), this.root.nodes.forEach(Gr), this.root.sharedNodes.clear();
3192
- }, o;
3193
- }()
3194
- );
3195
- }
3196
- function Ms(t) {
3197
- t.updateLayout();
3198
- }
3199
- function Is(t) {
3200
- var e, r, n, i, s = (r = (e = t.resumeFrom) === null || e === void 0 ? void 0 : e.snapshot) !== null && r !== void 0 ? r : t.snapshot;
3201
- if (t.isLead() && t.layout && s && t.hasListeners("didUpdate")) {
3202
- var o = t.layout, a = o.actual, u = o.measured;
3203
- t.options.animationType === "size" ? J(function(P) {
3204
- var S = s.isShared ? s.measured[P] : s.layout[P], C = et(S);
3205
- S.min = a[P].min, S.max = S.min + C;
3206
- }) : t.options.animationType === "position" && J(function(P) {
3207
- var S = s.isShared ? s.measured[P] : s.layout[P], C = et(a[P]);
3208
- S.max = S.min + C;
3209
- });
3210
- var l = It();
3211
- Dt(l, a, s.layout);
3212
- var f = It();
3213
- s.isShared ? Dt(f, t.applyTransform(u, !0), s.measured) : Dt(f, a, s.layout);
3214
- var v = !ti(l), c = !1;
3215
- if (!t.resumeFrom && (t.relativeParent = t.getClosestProjectingParent(), t.relativeParent && !t.relativeParent.resumeFrom)) {
3216
- var d = t.relativeParent, p = d.snapshot, h = d.layout;
3217
- if (p && h) {
3218
- var g = j();
3219
- Mt(g, s.layout, p.layout);
3220
- var b = j();
3221
- Mt(b, a, h.actual), ei(g, b) || (c = !0);
3222
- }
3223
- }
3224
- t.notifyListeners("didUpdate", {
3225
- layout: a,
3226
- snapshot: s,
3227
- delta: f,
3228
- layoutDelta: l,
3229
- hasLayoutChanged: v,
3230
- hasRelativeTargetChanged: c
3231
- });
3232
- } else t.isLead() && ((i = (n = t.options).onExitComplete) === null || i === void 0 || i.call(n));
3233
- t.options.transition = void 0;
3234
- }
3235
- function Os(t) {
3236
- t.clearSnapshot();
3237
- }
3238
- function Gr(t) {
3239
- t.clearMeasurements();
3240
- }
3241
- function Fs(t) {
3242
- var e = t.options.visualElement;
3243
- e?.getProps().onBeforeLayoutMeasure && e.notifyBeforeLayoutMeasure(), t.resetTransform();
3244
- }
3245
- function js(t) {
3246
- t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0;
3247
- }
3248
- function Bs(t) {
3249
- t.resolveTargetDelta();
3250
- }
3251
- function Us(t) {
3252
- t.calcProjection();
3253
- }
3254
- function _s(t) {
3255
- t.resetRotation();
3256
- }
3257
- function Ns(t) {
3258
- t.removeLeadSnapshot();
3259
- }
3260
- function Kr(t, e, r) {
3261
- t.translate = O(e.translate, 0, r), t.scale = O(e.scale, 1, r), t.origin = e.origin, t.originPoint = e.originPoint;
3262
- }
3263
- function kr(t, e, r, n) {
3264
- t.min = O(e.min, r.min, n), t.max = O(e.max, r.max, n);
3265
- }
3266
- function Hs(t, e, r, n) {
3267
- kr(t.x, e.x, r.x, n), kr(t.y, e.y, r.y, n);
3268
- }
3269
- function zs(t) {
3270
- return t.animationValues && t.animationValues.opacityExit !== void 0;
3271
- }
3272
- var Gs = {
3273
- duration: 0.45,
3274
- ease: [0.4, 0, 0.1, 1]
3275
- };
3276
- function Ks(t, e) {
3277
- for (var r = t.root, n = t.path.length - 1; n >= 0; n--)
3278
- if (t.path[n].instance) {
3279
- r = t.path[n];
3280
- break;
3281
- }
3282
- var i = r && r !== t.root ? r.instance : document, s = i.querySelector('[data-projection-id="'.concat(e, '"]'));
3283
- s && t.mount(s, !0);
3284
- }
3285
- function Yr(t) {
3286
- t.min = Math.round(t.min), t.max = Math.round(t.max);
3287
- }
3288
- function Xr(t) {
3289
- Yr(t.x), Yr(t.y);
3290
- }
3291
- var ks = ri({
3292
- attachResizeListener: function(t, e) {
3293
- return ie(t, "resize", e);
3294
- },
3295
- measureScroll: function() {
3296
- return {
3297
- x: document.documentElement.scrollLeft || document.body.scrollLeft,
3298
- y: document.documentElement.scrollTop || document.body.scrollTop
3299
- };
3300
- },
3301
- checkIsScrollRoot: function() {
3302
- return !0;
3303
- }
3304
- }), de = {
3305
- current: void 0
3306
- }, Ys = ri({
3307
- measureScroll: function(t) {
3308
- return {
3309
- x: t.scrollLeft,
3310
- y: t.scrollTop
3311
- };
3312
- },
3313
- defaultParent: function() {
3314
- if (!de.current) {
3315
- var t = new ks(0, {});
3316
- t.mount(window), t.setOptions({ layoutScroll: !0 }), de.current = t;
3317
- }
3318
- return de.current;
3319
- },
3320
- resetTransform: function(t, e) {
3321
- t.style.transform = e ?? "none";
3322
- },
3323
- checkIsScrollRoot: function(t) {
3324
- return window.getComputedStyle(t).position === "fixed";
3325
- }
3326
- }), Xs = m(m(m(m({}, Eo), Ya), Zo), bs), su = /* @__PURE__ */ qi(function(t, e) {
3327
- return Ca(t, e, Xs, ps, Ys);
3328
- });
3329
- function ni() {
3330
- var t = $(!1);
3331
- return Tt(function() {
3332
- return t.current = !0, function() {
3333
- t.current = !1;
3334
- };
3335
- }, []), t;
3336
- }
3337
- function Ws() {
3338
- var t = ni(), e = R(De(0), 2), r = e[0], n = e[1], i = ye(function() {
3339
- t.current && n(r + 1);
3340
- }, [r]), s = ye(function() {
3341
- return Z.postRender(i);
3342
- }, [i]);
3343
- return [s, r];
3344
- }
3345
- var pe = function(t) {
3346
- var e = t.children, r = t.initial, n = t.isPresent, i = t.onExitComplete, s = t.custom, o = t.presenceAffectsLayout, a = ft(Zs), u = In(), l = Vt(
3347
- function() {
3348
- return {
3349
- id: u,
3350
- initial: r,
3351
- isPresent: n,
3352
- custom: s,
3353
- onExitComplete: function(f) {
3354
- var v, c;
3355
- a.set(f, !0);
3356
- try {
3357
- for (var d = xi(a.values()), p = d.next(); !p.done; p = d.next()) {
3358
- var h = p.value;
3359
- if (!h)
3360
- return;
3361
- }
3362
- } catch (g) {
3363
- v = { error: g };
3364
- } finally {
3365
- try {
3366
- p && !p.done && (c = d.return) && c.call(d);
3367
- } finally {
3368
- if (v) throw v.error;
3369
- }
3370
- }
3371
- i?.();
3372
- },
3373
- register: function(f) {
3374
- return a.set(f, !1), function() {
3375
- return a.delete(f);
3376
- };
3377
- }
3378
- };
3379
- },
3380
- /**
3381
- * If the presence of a child affects the layout of the components around it,
3382
- * we want to make a new context value to ensure they get re-rendered
3383
- * so they can detect that layout change.
3384
- */
3385
- o ? void 0 : [n]
3386
- );
3387
- return Vt(function() {
3388
- a.forEach(function(f, v) {
3389
- return a.set(v, !1);
3390
- });
3391
- }, [n]), k.useEffect(function() {
3392
- !n && !a.size && i?.();
3393
- }, [n]), k.createElement(Nt.Provider, { value: l }, e);
3394
- };
3395
- function Zs() {
3396
- return /* @__PURE__ */ new Map();
3397
- }
3398
- var mt = function(t) {
3399
- return t.key || "";
3400
- };
3401
- function $s(t, e) {
3402
- t.forEach(function(r) {
3403
- var n = mt(r);
3404
- e.set(n, r);
3405
- });
3406
- }
3407
- function qs(t) {
3408
- var e = [];
3409
- return Ri.forEach(t, function(r) {
3410
- Di(r) && e.push(r);
3411
- }), e;
3412
- }
3413
- var uu = function(t) {
3414
- var e = t.children, r = t.custom, n = t.initial, i = n === void 0 ? !0 : n, s = t.onExitComplete, o = t.exitBeforeEnter, a = t.presenceAffectsLayout, u = a === void 0 ? !0 : a, l = R(Ws(), 1), f = l[0], v = F(Ie).forceRender;
3415
- v && (f = v);
3416
- var c = ni(), d = qs(e), p = d, h = /* @__PURE__ */ new Set(), g = $(p), b = $(/* @__PURE__ */ new Map()).current, P = $(!0);
3417
- if (Tt(function() {
3418
- P.current = !1, $s(d, b), g.current = p;
3419
- }), He(function() {
3420
- P.current = !0, b.clear(), h.clear();
3421
- }), P.current)
3422
- return k.createElement(k.Fragment, null, p.map(function(x) {
3423
- return k.createElement(pe, { key: mt(x), isPresent: !0, initial: i ? void 0 : !1, presenceAffectsLayout: u }, x);
3424
- }));
3425
- p = z([], R(p), !1);
3426
- for (var S = g.current.map(mt), C = d.map(mt), A = S.length, I = 0; I < A; I++) {
3427
- var D = S[I];
3428
- C.indexOf(D) === -1 && h.add(D);
3429
- }
3430
- return o && h.size && (p = []), h.forEach(function(x) {
3431
- if (C.indexOf(x) === -1) {
3432
- var w = b.get(x);
3433
- if (w) {
3434
- var M = S.indexOf(x), G = function() {
3435
- b.delete(x), h.delete(x);
3436
- var B = g.current.findIndex(function(H) {
3437
- return H.key === x;
3438
- });
3439
- if (g.current.splice(B, 1), !h.size) {
3440
- if (g.current = d, c.current === !1)
3441
- return;
3442
- f(), s && s();
3443
- }
3444
- };
3445
- p.splice(M, 0, k.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: G, custom: r, presenceAffectsLayout: u }, w));
3446
- }
3447
- }
3448
- }), p = p.map(function(x) {
3449
- var w = x.key;
3450
- return h.has(w) ? x : k.createElement(pe, { key: mt(x), isPresent: !0, presenceAffectsLayout: u }, x);
3451
- }), Me !== "production" && o && p.length > 1 && console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."), k.createElement(k.Fragment, null, h.size ? p : p.map(function(x) {
3452
- return Li(x);
3453
- }));
3454
- };
3455
- function ii(t) {
3456
- var e = ft(function() {
3457
- return dt(t);
3458
- }), r = F(_t).isStatic;
3459
- if (r) {
3460
- var n = R(De(t), 2), i = n[1];
3461
- N(function() {
3462
- return e.onChange(i);
3463
- }, []);
3464
- }
3465
- return e;
3466
- }
3467
- var Js = function(t) {
3468
- return typeof t == "object" && t.mix;
3469
- }, Qs = function(t) {
3470
- return Js(t) ? t.mix : void 0;
3471
- };
3472
- function tu() {
3473
- for (var t = [], e = 0; e < arguments.length; e++)
3474
- t[e] = arguments[e];
3475
- var r = !Array.isArray(t[0]), n = r ? 0 : -1, i = t[0 + n], s = t[1 + n], o = t[2 + n], a = t[3 + n], u = Ci(s, o, m({ mixer: Qs(o[0]) }, a));
3476
- return r ? u(i) : u;
3477
- }
3478
- function eu(t, e) {
3479
- Tt(function() {
3480
- if (q(t))
3481
- return t.onChange(e);
3482
- }, [e]);
3483
- }
3484
- function ru(t, e) {
3485
- Tt(function() {
3486
- var r = t.map(function(n) {
3487
- return n.onChange(e);
3488
- });
3489
- return function() {
3490
- return r.forEach(function(n) {
3491
- return n();
3492
- });
3493
- };
3494
- });
3495
- }
3496
- function ai(t, e) {
3497
- var r = ii(e()), n = function() {
3498
- return r.set(e());
3499
- };
3500
- return n(), ru(t, function() {
3501
- return Z.update(n, !1, !0);
3502
- }), r;
3503
- }
3504
- function lu(t, e, r, n) {
3505
- var i = typeof e == "function" ? e : tu(e, r, n);
3506
- return Array.isArray(t) ? Wr(t, i) : Wr([t], function(s) {
3507
- var o = R(s, 1), a = o[0];
3508
- return i(a);
3509
- });
3510
- }
3511
- function Wr(t, e) {
3512
- var r = ft(function() {
3513
- return [];
3514
- });
3515
- return ai(t, function() {
3516
- r.length = 0;
3517
- for (var n = t.length, i = 0; i < n; i++)
3518
- r[i] = t[i].get();
3519
- return e(r);
3520
- });
3521
- }
3522
- function fu(t) {
3523
- for (var e = [], r = 1; r < arguments.length; r++)
3524
- e[r - 1] = arguments[r];
3525
- var n = t.length;
3526
- function i() {
3527
- for (var s = "", o = 0; o < n; o++) {
3528
- s += t[o];
3529
- var a = e[o];
3530
- a && (s += e[o].get());
3531
- }
3532
- return s;
3533
- }
3534
- return ai(e, i);
3535
- }
3536
- function cu(t, e) {
3537
- e === void 0 && (e = {});
3538
- var r = F(_t).isStatic, n = $(null), i = ii(q(t) ? t.get() : t);
3539
- return Vt(function() {
3540
- return i.attach(function(s, o) {
3541
- return r ? o(s) : (n.current && n.current.stop(), n.current = Qr(m(m({ from: i.get(), to: s, velocity: i.getVelocity() }, e), { onUpdate: o })), i.get());
3542
- });
3543
- }, [JSON.stringify(e)]), eu(t, function(s) {
3544
- return i.set(parseFloat(s));
3545
- }), i;
3546
- }
3547
- function nu() {
3548
- var t = !1, e = [], r = /* @__PURE__ */ new Set(), n = {
3549
- subscribe: function(i) {
3550
- return r.add(i), function() {
3551
- return void r.delete(i);
3552
- };
3553
- },
3554
- start: function(i, s) {
3555
- if (t) {
3556
- var o = [];
3557
- return r.forEach(function(a) {
3558
- o.push(Un(a, i, {
3559
- transitionOverride: s
3560
- }));
3561
- }), Promise.all(o);
3562
- } else
3563
- return new Promise(function(a) {
3564
- e.push({
3565
- animation: [i, s],
3566
- resolve: a
3567
- });
3568
- });
3569
- },
3570
- set: function(i) {
3571
- return lt(t, "controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."), r.forEach(function(s) {
3572
- po(s, i);
3573
- });
3574
- },
3575
- stop: function() {
3576
- r.forEach(function(i) {
3577
- bo(i);
3578
- });
3579
- },
3580
- mount: function() {
3581
- return t = !0, e.forEach(function(i) {
3582
- var s = i.animation, o = i.resolve;
3583
- n.start.apply(n, z([], R(s), !1)).then(o);
3584
- }), function() {
3585
- t = !1, n.stop();
3586
- };
3587
- }
3588
- };
3589
- return n;
3590
- }
3591
- function iu() {
3592
- var t = ft(nu);
3593
- return N(t.mount, []), t;
3594
- }
3595
- var vu = iu;
3596
- export {
3597
- uu as A,
3598
- Ps as a,
3599
- lu as b,
3600
- fu as c,
3601
- cu as d,
3602
- vu as e,
3603
- iu as f,
3604
- su as m,
3605
- ii as u
3606
- };