@wandelbots/wandelbots-js-react-components 5.4.2 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/3d.cjs +2 -0
- package/dist/3d.cjs.map +1 -0
- package/dist/3d.js +31 -0
- package/dist/3d.js.map +1 -0
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts +1 -0
- package/dist/components/3d-viewport/CoordinateSystemTransform.d.ts.map +1 -1
- package/dist/components/3d-viewport/PresetEnvironment.cjs +2 -0
- package/dist/components/3d-viewport/PresetEnvironment.cjs.map +1 -0
- package/dist/components/3d-viewport/PresetEnvironment.d.ts +1 -0
- package/dist/components/3d-viewport/PresetEnvironment.d.ts.map +1 -1
- package/dist/components/3d-viewport/PresetEnvironment.js +81 -0
- package/dist/components/3d-viewport/PresetEnvironment.js.map +1 -0
- package/dist/components/3d-viewport/SafetyZonesRenderer.cjs +2 -0
- package/dist/components/3d-viewport/SafetyZonesRenderer.cjs.map +1 -0
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts +1 -0
- package/dist/components/3d-viewport/SafetyZonesRenderer.d.ts.map +1 -1
- package/dist/components/3d-viewport/SafetyZonesRenderer.js +131 -0
- package/dist/components/3d-viewport/SafetyZonesRenderer.js.map +1 -0
- package/dist/components/3d-viewport/TrajectoryRenderer.cjs +2 -0
- package/dist/components/3d-viewport/TrajectoryRenderer.cjs.map +1 -0
- package/dist/components/3d-viewport/TrajectoryRenderer.d.ts +1 -0
- package/dist/components/3d-viewport/TrajectoryRenderer.d.ts.map +1 -1
- package/dist/components/3d-viewport/TrajectoryRenderer.js +31 -0
- package/dist/components/3d-viewport/TrajectoryRenderer.js.map +1 -0
- package/dist/components/3d-viewport/collider/ColliderCollection.cjs +2 -0
- package/dist/components/3d-viewport/collider/ColliderCollection.cjs.map +1 -0
- package/dist/components/3d-viewport/collider/ColliderCollection.js +22 -0
- package/dist/components/3d-viewport/collider/ColliderCollection.js.map +1 -0
- package/dist/components/3d-viewport/collider/ColliderElement.cjs +2 -0
- package/dist/components/3d-viewport/collider/ColliderElement.cjs.map +1 -0
- package/dist/components/3d-viewport/collider/ColliderElement.js +29 -0
- package/dist/components/3d-viewport/collider/ColliderElement.js.map +1 -0
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.cjs +2 -0
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.cjs.map +1 -0
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.js +19 -0
- package/dist/components/3d-viewport/collider/CollisionSceneRenderer.js.map +1 -0
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.cjs +2 -0
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.cjs.map +1 -0
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.js +43 -0
- package/dist/components/3d-viewport/collider/colliderShapeToBufferGeometry.js.map +1 -0
- package/dist/components/AppHeader.cjs +2 -0
- package/dist/components/AppHeader.cjs.map +1 -0
- package/dist/components/AppHeader.d.ts +1 -0
- package/dist/components/AppHeader.d.ts.map +1 -1
- package/dist/components/AppHeader.js +139 -0
- package/dist/components/AppHeader.js.map +1 -0
- package/dist/components/ConsoleFilter.cjs +2 -0
- package/dist/components/ConsoleFilter.cjs.map +1 -0
- package/dist/components/ConsoleFilter.js +13 -0
- package/dist/components/ConsoleFilter.js.map +1 -0
- package/dist/components/CopyableText.cjs +2 -0
- package/dist/components/CopyableText.cjs.map +1 -0
- package/dist/components/CopyableText.d.ts +1 -0
- package/dist/components/CopyableText.d.ts.map +1 -1
- package/dist/components/CopyableText.js +71 -0
- package/dist/components/CopyableText.js.map +1 -0
- package/dist/components/CycleTimer/CycleTimer.d.ts +1 -0
- package/dist/components/CycleTimer/CycleTimer.d.ts.map +1 -1
- package/dist/components/CycleTimer/DefaultVariant.cjs +2 -0
- package/dist/components/CycleTimer/DefaultVariant.cjs.map +1 -0
- package/dist/components/CycleTimer/DefaultVariant.js +301 -0
- package/dist/components/CycleTimer/DefaultVariant.js.map +1 -0
- package/dist/components/CycleTimer/SmallVariant.cjs +2 -0
- package/dist/components/CycleTimer/SmallVariant.cjs.map +1 -0
- package/dist/components/CycleTimer/SmallVariant.js +150 -0
- package/dist/components/CycleTimer/SmallVariant.js.map +1 -0
- package/dist/components/CycleTimer/index.cjs +2 -0
- package/dist/components/CycleTimer/index.cjs.map +1 -0
- package/dist/components/CycleTimer/index.d.ts +1 -0
- package/dist/components/CycleTimer/index.d.ts.map +1 -1
- package/dist/components/CycleTimer/index.js +86 -0
- package/dist/components/CycleTimer/index.js.map +1 -0
- package/dist/components/CycleTimer/useAnimations.cjs +2 -0
- package/dist/components/CycleTimer/useAnimations.cjs.map +1 -0
- package/dist/components/CycleTimer/useAnimations.js +105 -0
- package/dist/components/CycleTimer/useAnimations.js.map +1 -0
- package/dist/components/CycleTimer/useTimerLogic.cjs +2 -0
- package/dist/components/CycleTimer/useTimerLogic.cjs.map +1 -0
- package/dist/components/CycleTimer/useTimerLogic.js +191 -0
- package/dist/components/CycleTimer/useTimerLogic.js.map +1 -0
- package/dist/components/CycleTimer/utils.cjs +2 -0
- package/dist/components/CycleTimer/utils.cjs.map +1 -0
- package/dist/components/CycleTimer/utils.js +20 -0
- package/dist/components/CycleTimer/utils.js.map +1 -0
- package/dist/components/CycleTimer.cjs +2 -0
- package/dist/components/CycleTimer.cjs.map +1 -0
- package/dist/components/CycleTimer.d.ts +1 -0
- package/dist/components/CycleTimer.d.ts.map +1 -1
- package/dist/components/CycleTimer.js +6 -0
- package/dist/components/CycleTimer.js.map +1 -0
- package/dist/components/DataGrid.cjs +2 -0
- package/dist/components/DataGrid.cjs.map +1 -0
- package/dist/components/DataGrid.d.ts +1 -0
- package/dist/components/DataGrid.d.ts.map +1 -1
- package/dist/components/DataGrid.js +535 -0
- package/dist/components/DataGrid.js.map +1 -0
- package/dist/components/LoadingCover.cjs +2 -0
- package/dist/components/LoadingCover.cjs.map +1 -0
- package/dist/components/LoadingCover.d.ts +1 -0
- package/dist/components/LoadingCover.d.ts.map +1 -1
- package/dist/components/LoadingCover.js +77 -0
- package/dist/components/LoadingCover.js.map +1 -0
- package/dist/components/LogPanel.cjs +2 -0
- package/dist/components/LogPanel.cjs.map +1 -0
- package/dist/components/LogPanel.d.ts +1 -0
- package/dist/components/LogPanel.d.ts.map +1 -1
- package/dist/components/LogPanel.js +34 -0
- package/dist/components/LogPanel.js.map +1 -0
- package/dist/components/LogStore.cjs +2 -0
- package/dist/components/LogStore.cjs.map +1 -0
- package/dist/components/LogStore.d.ts +1 -0
- package/dist/components/LogStore.d.ts.map +1 -1
- package/dist/components/LogStore.js +33 -0
- package/dist/components/LogStore.js.map +1 -0
- package/dist/components/LogViewer.cjs +2 -0
- package/dist/components/LogViewer.cjs.map +1 -0
- package/dist/components/LogViewer.d.ts +1 -0
- package/dist/components/LogViewer.d.ts.map +1 -1
- package/dist/components/LogViewer.js +299 -0
- package/dist/components/LogViewer.js.map +1 -0
- package/dist/components/ProgramControl.cjs +2 -0
- package/dist/components/ProgramControl.cjs.map +1 -0
- package/dist/components/ProgramControl.d.ts +1 -0
- package/dist/components/ProgramControl.d.ts.map +1 -1
- package/dist/components/ProgramControl.js +147 -0
- package/dist/components/ProgramControl.js.map +1 -0
- package/dist/components/ProgramStateIndicator.cjs +2 -0
- package/dist/components/ProgramStateIndicator.cjs.map +1 -0
- package/dist/components/ProgramStateIndicator.d.ts +1 -0
- package/dist/components/ProgramStateIndicator.d.ts.map +1 -1
- package/dist/components/ProgramStateIndicator.js +140 -0
- package/dist/components/ProgramStateIndicator.js.map +1 -0
- package/dist/components/RobotCard.cjs +2 -0
- package/dist/components/RobotCard.cjs.map +1 -0
- package/dist/components/RobotCard.d.ts +1 -0
- package/dist/components/RobotCard.d.ts.map +1 -1
- package/dist/components/RobotCard.js +360 -0
- package/dist/components/RobotCard.js.map +1 -0
- package/dist/components/RobotListItem.cjs +2 -0
- package/dist/components/RobotListItem.cjs.map +1 -0
- package/dist/components/RobotListItem.d.ts +1 -0
- package/dist/components/RobotListItem.d.ts.map +1 -1
- package/dist/components/RobotListItem.js +122 -0
- package/dist/components/RobotListItem.js.map +1 -0
- package/dist/components/RobotSetupReadinessIndicator.cjs +2 -0
- package/dist/components/RobotSetupReadinessIndicator.cjs.map +1 -0
- package/dist/components/RobotSetupReadinessIndicator.d.ts +1 -0
- package/dist/components/RobotSetupReadinessIndicator.d.ts.map +1 -1
- package/dist/components/RobotSetupReadinessIndicator.js +122 -0
- package/dist/components/RobotSetupReadinessIndicator.js.map +1 -0
- package/dist/components/SelectableFab.cjs +2 -0
- package/dist/components/SelectableFab.cjs.map +1 -0
- package/dist/components/SelectableFab.d.ts +1 -1
- package/dist/components/SelectableFab.d.ts.map +1 -1
- package/dist/components/SelectableFab.js +51 -0
- package/dist/components/SelectableFab.js.map +1 -0
- package/dist/components/TabBar.cjs +2 -0
- package/dist/components/TabBar.cjs.map +1 -0
- package/dist/components/TabBar.d.ts +1 -0
- package/dist/components/TabBar.d.ts.map +1 -1
- package/dist/components/TabBar.js +212 -0
- package/dist/components/TabBar.js.map +1 -0
- package/dist/components/ThemeSelect.d.ts +1 -1
- package/dist/components/ThemeSelect.d.ts.map +1 -1
- package/dist/components/Timer/Timer.d.ts +1 -0
- package/dist/components/Timer/Timer.d.ts.map +1 -1
- package/dist/components/Timer/TimerDefaultVariant.cjs +2 -0
- package/dist/components/Timer/TimerDefaultVariant.cjs.map +1 -0
- package/dist/components/Timer/TimerDefaultVariant.js +136 -0
- package/dist/components/Timer/TimerDefaultVariant.js.map +1 -0
- package/dist/components/Timer/TimerSmallVariant.cjs +2 -0
- package/dist/components/Timer/TimerSmallVariant.cjs.map +1 -0
- package/dist/components/Timer/TimerSmallVariant.js +128 -0
- package/dist/components/Timer/TimerSmallVariant.js.map +1 -0
- package/dist/components/Timer/index.cjs +2 -0
- package/dist/components/Timer/index.cjs.map +1 -0
- package/dist/components/Timer/index.d.ts +1 -0
- package/dist/components/Timer/index.d.ts.map +1 -1
- package/dist/components/Timer/index.js +68 -0
- package/dist/components/Timer/index.js.map +1 -0
- package/dist/components/Timer/useTimerAnimations.cjs +2 -0
- package/dist/components/Timer/useTimerAnimations.cjs.map +1 -0
- package/dist/components/Timer/useTimerAnimations.js +48 -0
- package/dist/components/Timer/useTimerAnimations.js.map +1 -0
- package/dist/components/Timer/useTimerLogic.cjs +2 -0
- package/dist/components/Timer/useTimerLogic.cjs.map +1 -0
- package/dist/components/Timer/useTimerLogic.js +113 -0
- package/dist/components/Timer/useTimerLogic.js.map +1 -0
- package/dist/components/Timer/utils.cjs +2 -0
- package/dist/components/Timer/utils.cjs.map +1 -0
- package/dist/components/Timer/utils.js +19 -0
- package/dist/components/Timer/utils.js.map +1 -0
- package/dist/components/Timer.cjs +2 -0
- package/dist/components/Timer.cjs.map +1 -0
- package/dist/components/Timer.d.ts +4 -0
- package/dist/components/Timer.d.ts.map +1 -0
- package/dist/components/Timer.js +6 -0
- package/dist/components/Timer.js.map +1 -0
- package/dist/components/TransparentOverlay.d.ts +1 -0
- package/dist/components/TransparentOverlay.d.ts.map +1 -1
- package/dist/components/VelocitySlider.cjs +2 -0
- package/dist/components/VelocitySlider.cjs.map +1 -0
- package/dist/components/VelocitySlider.d.ts +1 -1
- package/dist/components/VelocitySlider.d.ts.map +1 -1
- package/dist/components/VelocitySlider.js +97 -0
- package/dist/components/VelocitySlider.js.map +1 -0
- package/dist/components/experimental/utils/AdornedSelect.cjs +2 -0
- package/dist/components/experimental/utils/AdornedSelect.cjs.map +1 -0
- package/dist/components/experimental/utils/AdornedSelect.js +35 -0
- package/dist/components/experimental/utils/AdornedSelect.js.map +1 -0
- package/dist/components/jogging/JoggingBlocked.cjs +2 -0
- package/dist/components/jogging/JoggingBlocked.cjs.map +1 -0
- package/dist/components/jogging/JoggingBlocked.js +46 -0
- package/dist/components/jogging/JoggingBlocked.js.map +1 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.cjs +2 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.cjs.map +1 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts +1 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.d.ts.map +1 -1
- package/dist/components/jogging/JoggingCartesianAxisControl.js +186 -0
- package/dist/components/jogging/JoggingCartesianAxisControl.js.map +1 -0
- package/dist/components/jogging/JoggingCartesianTab.cjs +2 -0
- package/dist/components/jogging/JoggingCartesianTab.cjs.map +1 -0
- package/dist/components/jogging/JoggingCartesianTab.js +267 -0
- package/dist/components/jogging/JoggingCartesianTab.js.map +1 -0
- package/dist/components/jogging/JoggingJointLimitDetector.cjs +2 -0
- package/dist/components/jogging/JoggingJointLimitDetector.cjs.map +1 -0
- package/dist/components/jogging/JoggingJointLimitDetector.js +42 -0
- package/dist/components/jogging/JoggingJointLimitDetector.js.map +1 -0
- package/dist/components/jogging/JoggingJointTab.cjs +2 -0
- package/dist/components/jogging/JoggingJointTab.cjs.map +1 -0
- package/dist/components/jogging/JoggingJointTab.js +114 -0
- package/dist/components/jogging/JoggingJointTab.js.map +1 -0
- package/dist/components/jogging/JoggingJointValueControl.cjs +2 -0
- package/dist/components/jogging/JoggingJointValueControl.cjs.map +1 -0
- package/dist/components/jogging/JoggingJointValueControl.d.ts +1 -1
- package/dist/components/jogging/JoggingJointValueControl.d.ts.map +1 -1
- package/dist/components/jogging/JoggingJointValueControl.js +240 -0
- package/dist/components/jogging/JoggingJointValueControl.js.map +1 -0
- package/dist/components/jogging/JoggingOptions.cjs +2 -0
- package/dist/components/jogging/JoggingOptions.cjs.map +1 -0
- package/dist/components/jogging/JoggingOptions.js +117 -0
- package/dist/components/jogging/JoggingOptions.js.map +1 -0
- package/dist/components/jogging/JoggingPanel.cjs +2 -0
- package/dist/components/jogging/JoggingPanel.cjs.map +1 -0
- package/dist/components/jogging/JoggingPanel.d.ts +1 -0
- package/dist/components/jogging/JoggingPanel.d.ts.map +1 -1
- package/dist/components/jogging/JoggingPanel.js +121 -0
- package/dist/components/jogging/JoggingPanel.js.map +1 -0
- package/dist/components/jogging/JoggingStore.cjs +2 -0
- package/dist/components/jogging/JoggingStore.cjs.map +1 -0
- package/dist/components/jogging/JoggingStore.d.ts +1 -1
- package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
- package/dist/components/jogging/JoggingStore.js +219 -0
- package/dist/components/jogging/JoggingStore.js.map +1 -0
- package/dist/components/jogging/JoggingToggleButtonGroup.cjs +2 -0
- package/dist/components/jogging/JoggingToggleButtonGroup.cjs.map +1 -0
- package/dist/components/jogging/JoggingToggleButtonGroup.js +29 -0
- package/dist/components/jogging/JoggingToggleButtonGroup.js.map +1 -0
- package/dist/components/jogging/JoggingVelocitySlider.cjs +2 -0
- package/dist/components/jogging/JoggingVelocitySlider.cjs.map +1 -0
- package/dist/components/jogging/JoggingVelocitySlider.js +40 -0
- package/dist/components/jogging/JoggingVelocitySlider.js.map +1 -0
- package/dist/components/jogging/PoseCartesianValues.cjs +2 -0
- package/dist/components/jogging/PoseCartesianValues.cjs.map +1 -0
- package/dist/components/jogging/PoseCartesianValues.d.ts +1 -0
- package/dist/components/jogging/PoseCartesianValues.d.ts.map +1 -1
- package/dist/components/jogging/PoseCartesianValues.js +48 -0
- package/dist/components/jogging/PoseCartesianValues.js.map +1 -0
- package/dist/components/jogging/PoseJointValues.cjs +2 -0
- package/dist/components/jogging/PoseJointValues.cjs.map +1 -0
- package/dist/components/jogging/PoseJointValues.d.ts +1 -0
- package/dist/components/jogging/PoseJointValues.d.ts.map +1 -1
- package/dist/components/jogging/PoseJointValues.js +47 -0
- package/dist/components/jogging/PoseJointValues.js.map +1 -0
- package/dist/components/modal/NoMotionGroupModal.cjs +2 -0
- package/dist/components/modal/NoMotionGroupModal.cjs.map +1 -0
- package/dist/components/modal/NoMotionGroupModal.d.ts +1 -0
- package/dist/components/modal/NoMotionGroupModal.d.ts.map +1 -1
- package/dist/components/modal/NoMotionGroupModal.js +92 -0
- package/dist/components/modal/NoMotionGroupModal.js.map +1 -0
- package/dist/components/robots/AxisConfig.cjs +2 -0
- package/dist/components/robots/AxisConfig.cjs.map +1 -0
- package/dist/components/robots/AxisConfig.js +5 -0
- package/dist/components/robots/AxisConfig.js.map +1 -0
- package/dist/components/robots/DHLinearAxis.cjs +2 -0
- package/dist/components/robots/DHLinearAxis.cjs.map +1 -0
- package/dist/components/robots/DHLinearAxis.d.ts +1 -0
- package/dist/components/robots/DHLinearAxis.d.ts.map +1 -1
- package/dist/components/robots/DHLinearAxis.js +92 -0
- package/dist/components/robots/DHLinearAxis.js.map +1 -0
- package/dist/components/robots/DHRobot.cjs +2 -0
- package/dist/components/robots/DHRobot.cjs.map +1 -0
- package/dist/components/robots/DHRobot.d.ts +1 -0
- package/dist/components/robots/DHRobot.d.ts.map +1 -1
- package/dist/components/robots/DHRobot.js +94 -0
- package/dist/components/robots/DHRobot.js.map +1 -0
- package/dist/components/robots/GenericRobot.cjs +2 -0
- package/dist/components/robots/GenericRobot.cjs.map +1 -0
- package/dist/components/robots/GenericRobot.d.ts +1 -0
- package/dist/components/robots/GenericRobot.d.ts.map +1 -1
- package/dist/components/robots/GenericRobot.js +91 -0
- package/dist/components/robots/GenericRobot.js.map +1 -0
- package/dist/components/robots/LinearAxis.cjs +2 -0
- package/dist/components/robots/LinearAxis.cjs.map +1 -0
- package/dist/components/robots/LinearAxis.d.ts +1 -0
- package/dist/components/robots/LinearAxis.d.ts.map +1 -1
- package/dist/components/robots/LinearAxis.js +42 -0
- package/dist/components/robots/LinearAxis.js.map +1 -0
- package/dist/components/robots/LinearAxisAnimator.cjs +2 -0
- package/dist/components/robots/LinearAxisAnimator.cjs.map +1 -0
- package/dist/components/robots/LinearAxisAnimator.js +66 -0
- package/dist/components/robots/LinearAxisAnimator.js.map +1 -0
- package/dist/components/robots/MotionGroupVisualizer.cjs +2 -0
- package/dist/components/robots/MotionGroupVisualizer.cjs.map +1 -0
- package/dist/components/robots/MotionGroupVisualizer.d.ts +1 -0
- package/dist/components/robots/MotionGroupVisualizer.d.ts.map +1 -1
- package/dist/components/robots/MotionGroupVisualizer.js +21 -0
- package/dist/components/robots/MotionGroupVisualizer.js.map +1 -0
- package/dist/components/robots/Robot.cjs +2 -0
- package/dist/components/robots/Robot.cjs.map +1 -0
- package/dist/components/robots/Robot.d.ts +1 -0
- package/dist/components/robots/Robot.d.ts.map +1 -1
- package/dist/components/robots/Robot.js +31 -0
- package/dist/components/robots/Robot.js.map +1 -0
- package/dist/components/robots/RobotAnimator.cjs +2 -0
- package/dist/components/robots/RobotAnimator.cjs.map +1 -0
- package/dist/components/robots/RobotAnimator.js +66 -0
- package/dist/components/robots/RobotAnimator.js.map +1 -0
- package/dist/components/robots/SupportedLinearAxis.cjs +2 -0
- package/dist/components/robots/SupportedLinearAxis.cjs.map +1 -0
- package/dist/components/robots/SupportedLinearAxis.d.ts +1 -0
- package/dist/components/robots/SupportedLinearAxis.d.ts.map +1 -1
- package/dist/components/robots/SupportedLinearAxis.js +82 -0
- package/dist/components/robots/SupportedLinearAxis.js.map +1 -0
- package/dist/components/robots/SupportedRobot.cjs +2 -0
- package/dist/components/robots/SupportedRobot.cjs.map +1 -0
- package/dist/components/robots/SupportedRobot.d.ts +1 -0
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/robots/SupportedRobot.js +82 -0
- package/dist/components/robots/SupportedRobot.js.map +1 -0
- package/dist/components/robots/ghostStyle.cjs +2 -0
- package/dist/components/robots/ghostStyle.cjs.map +1 -0
- package/dist/components/robots/ghostStyle.js +40 -0
- package/dist/components/robots/ghostStyle.js.map +1 -0
- package/dist/components/robots/manufacturerHomePositions.cjs +2 -0
- package/dist/components/robots/manufacturerHomePositions.cjs.map +1 -0
- package/dist/components/robots/manufacturerHomePositions.js +51 -0
- package/dist/components/robots/manufacturerHomePositions.js.map +1 -0
- package/dist/components/robots/robotModelLogic.cjs +2 -0
- package/dist/components/robots/robotModelLogic.cjs.map +1 -0
- package/dist/components/robots/robotModelLogic.js +61 -0
- package/dist/components/robots/robotModelLogic.js.map +1 -0
- package/dist/components/safetyBar/ControllerTypeIndicator.cjs +2 -0
- package/dist/components/safetyBar/ControllerTypeIndicator.cjs.map +1 -0
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts +1 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/ControllerTypeIndicator.js +71 -0
- package/dist/components/safetyBar/ControllerTypeIndicator.js.map +1 -0
- package/dist/components/safetyBar/IndicatorWithExplanation.cjs +2 -0
- package/dist/components/safetyBar/IndicatorWithExplanation.cjs.map +1 -0
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts +1 -0
- package/dist/components/safetyBar/IndicatorWithExplanation.d.ts.map +1 -1
- package/dist/components/safetyBar/IndicatorWithExplanation.js +123 -0
- package/dist/components/safetyBar/IndicatorWithExplanation.js.map +1 -0
- package/dist/components/safetyBar/OperationModeIndicator.cjs +2 -0
- package/dist/components/safetyBar/OperationModeIndicator.cjs.map +1 -0
- package/dist/components/safetyBar/OperationModeIndicator.d.ts +1 -1
- package/dist/components/safetyBar/OperationModeIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/OperationModeIndicator.js +75 -0
- package/dist/components/safetyBar/OperationModeIndicator.js.map +1 -0
- package/dist/components/safetyBar/SafetyBar.cjs +2 -0
- package/dist/components/safetyBar/SafetyBar.cjs.map +1 -0
- package/dist/components/safetyBar/SafetyBar.d.ts +1 -0
- package/dist/components/safetyBar/SafetyBar.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyBar.js +66 -0
- package/dist/components/safetyBar/SafetyBar.js.map +1 -0
- package/dist/components/safetyBar/SafetyStateIndicator.cjs +2 -0
- package/dist/components/safetyBar/SafetyStateIndicator.cjs.map +1 -0
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts +1 -1
- package/dist/components/safetyBar/SafetyStateIndicator.d.ts.map +1 -1
- package/dist/components/safetyBar/SafetyStateIndicator.js +126 -0
- package/dist/components/safetyBar/SafetyStateIndicator.js.map +1 -0
- package/dist/components/safetyBar/icons/controller-type-physical.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/controller-type-physical.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/controller-type-physical.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/controller-type-physical.svg.js +11 -0
- package/dist/components/safetyBar/icons/controller-type-physical.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.js +11 -0
- package/dist/components/safetyBar/icons/controller-type-virtual.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.js +11 -0
- package/dist/components/safetyBar/icons/operation-mode-automatic.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/operation-mode-error.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/operation-mode-error.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/operation-mode-error.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/operation-mode-error.svg.js +11 -0
- package/dist/components/safetyBar/icons/operation-mode-error.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.js +11 -0
- package/dist/components/safetyBar/icons/operation-mode-manual.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-error.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/safety-state-error.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-error.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/safety-state-error.svg.js +11 -0
- package/dist/components/safetyBar/icons/safety-state-error.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-estop.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/safety-state-estop.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-estop.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/safety-state-estop.svg.js +11 -0
- package/dist/components/safetyBar/icons/safety-state-estop.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.js +11 -0
- package/dist/components/safetyBar/icons/safety-state-manual-action-required.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-normal.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/safety-state-normal.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-normal.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/safety-state-normal.svg.js +11 -0
- package/dist/components/safetyBar/icons/safety-state-normal.svg.js.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-stop.svg.cjs +2 -0
- package/dist/components/safetyBar/icons/safety-state-stop.svg.cjs.map +1 -0
- package/dist/components/safetyBar/icons/safety-state-stop.svg.d.ts +3 -0
- package/dist/components/safetyBar/icons/safety-state-stop.svg.js +11 -0
- package/dist/components/safetyBar/icons/safety-state-stop.svg.js.map +1 -0
- package/dist/components/utils/converters.cjs +2 -0
- package/dist/components/utils/converters.cjs.map +1 -0
- package/dist/components/utils/converters.js +40 -0
- package/dist/components/utils/converters.js.map +1 -0
- package/dist/components/utils/errorHandling.cjs +2 -0
- package/dist/components/utils/errorHandling.cjs.map +1 -0
- package/dist/components/utils/errorHandling.js +14 -0
- package/dist/components/utils/errorHandling.js.map +1 -0
- package/dist/components/utils/hooks.cjs +2 -0
- package/dist/components/utils/hooks.cjs.map +1 -0
- package/dist/components/utils/hooks.js +29 -0
- package/dist/components/utils/hooks.js.map +1 -0
- package/dist/components/utils/interpolation.cjs +2 -0
- package/dist/components/utils/interpolation.cjs.map +1 -0
- package/dist/components/utils/interpolation.js +138 -0
- package/dist/components/utils/interpolation.js.map +1 -0
- package/dist/core.cjs +2 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.js +81 -0
- package/dist/core.js.map +1 -0
- package/dist/externalizeComponent.cjs +2 -0
- package/dist/externalizeComponent.cjs.map +1 -0
- package/dist/externalizeComponent.js +13 -0
- package/dist/externalizeComponent.js.map +1 -0
- package/dist/i18n/config.cjs +2 -0
- package/dist/i18n/config.cjs.map +1 -0
- package/dist/i18n/config.js +25 -0
- package/dist/i18n/config.js.map +1 -0
- package/dist/i18n/locales/de/translations.json.cjs +3 -0
- package/dist/i18n/locales/de/translations.json.cjs.map +1 -0
- package/dist/i18n/locales/de/translations.json.js +94 -0
- package/dist/i18n/locales/de/translations.json.js.map +1 -0
- package/dist/i18n/locales/en/translations.json.cjs +2 -0
- package/dist/i18n/locales/en/translations.json.cjs.map +1 -0
- package/dist/i18n/locales/en/translations.json.js +94 -0
- package/dist/i18n/locales/en/translations.json.js.map +1 -0
- package/dist/icons/DropdownArrowIcon.cjs +2 -0
- package/dist/icons/DropdownArrowIcon.cjs.map +1 -0
- package/dist/icons/DropdownArrowIcon.js +14 -0
- package/dist/icons/DropdownArrowIcon.js.map +1 -0
- package/dist/icons/axis-x.svg.cjs +2 -0
- package/dist/icons/axis-x.svg.cjs.map +1 -0
- package/dist/icons/axis-x.svg.d.ts +3 -0
- package/dist/icons/axis-x.svg.js +11 -0
- package/dist/icons/axis-x.svg.js.map +1 -0
- package/dist/icons/axis-y.svg.cjs +2 -0
- package/dist/icons/axis-y.svg.cjs.map +1 -0
- package/dist/icons/axis-y.svg.d.ts +3 -0
- package/dist/icons/axis-y.svg.js +11 -0
- package/dist/icons/axis-y.svg.js.map +1 -0
- package/dist/icons/axis-z.svg.cjs +2 -0
- package/dist/icons/axis-z.svg.cjs.map +1 -0
- package/dist/icons/axis-z.svg.d.ts +3 -0
- package/dist/icons/axis-z.svg.js +11 -0
- package/dist/icons/axis-z.svg.js.map +1 -0
- package/dist/icons/home.svg.cjs +2 -0
- package/dist/icons/home.svg.cjs.map +1 -0
- package/dist/icons/home.svg.d.ts +3 -0
- package/dist/icons/home.svg.js +11 -0
- package/dist/icons/home.svg.js.map +1 -0
- package/dist/icons/jog-minus.svg.cjs +2 -0
- package/dist/icons/jog-minus.svg.cjs.map +1 -0
- package/dist/icons/jog-minus.svg.d.ts +3 -0
- package/dist/icons/jog-minus.svg.js +11 -0
- package/dist/icons/jog-minus.svg.js.map +1 -0
- package/dist/icons/jog-plus.svg.cjs +2 -0
- package/dist/icons/jog-plus.svg.cjs.map +1 -0
- package/dist/icons/jog-plus.svg.d.ts +3 -0
- package/dist/icons/jog-plus.svg.js +11 -0
- package/dist/icons/jog-plus.svg.js.map +1 -0
- package/dist/icons/jogging.svg.cjs +2 -0
- package/dist/icons/jogging.svg.cjs.map +1 -0
- package/dist/icons/jogging.svg.d.ts +3 -0
- package/dist/icons/jogging.svg.js +11 -0
- package/dist/icons/jogging.svg.js.map +1 -0
- package/dist/icons/orientation-coord-system.svg.cjs +2 -0
- package/dist/icons/orientation-coord-system.svg.cjs.map +1 -0
- package/dist/icons/orientation-coord-system.svg.d.ts +3 -0
- package/dist/icons/orientation-coord-system.svg.js +11 -0
- package/dist/icons/orientation-coord-system.svg.js.map +1 -0
- package/dist/icons/orientation-tool.svg.cjs +2 -0
- package/dist/icons/orientation-tool.svg.cjs.map +1 -0
- package/dist/icons/orientation-tool.svg.d.ts +3 -0
- package/dist/icons/orientation-tool.svg.js +11 -0
- package/dist/icons/orientation-tool.svg.js.map +1 -0
- package/dist/icons/robot.svg.cjs +2 -0
- package/dist/icons/robot.svg.cjs.map +1 -0
- package/dist/icons/robot.svg.d.ts +3 -0
- package/dist/icons/robot.svg.js +11 -0
- package/dist/icons/robot.svg.js.map +1 -0
- package/dist/icons/rotation.svg.cjs +2 -0
- package/dist/icons/rotation.svg.cjs.map +1 -0
- package/dist/icons/rotation.svg.d.ts +3 -0
- package/dist/icons/rotation.svg.js +11 -0
- package/dist/icons/rotation.svg.js.map +1 -0
- package/dist/icons/wbLogo.svg.cjs +2 -0
- package/dist/icons/wbLogo.svg.cjs.map +1 -0
- package/dist/icons/wbLogo.svg.d.ts +3 -0
- package/dist/icons/wbLogo.svg.js +11 -0
- package/dist/icons/wbLogo.svg.js.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +153 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/ConnectedMotionGroup.cjs +4 -0
- package/dist/lib/ConnectedMotionGroup.cjs.map +1 -0
- package/dist/lib/ConnectedMotionGroup.d.ts +1 -0
- package/dist/lib/ConnectedMotionGroup.d.ts.map +1 -1
- package/dist/lib/ConnectedMotionGroup.js +250 -0
- package/dist/lib/ConnectedMotionGroup.js.map +1 -0
- package/dist/lib/JoggerConnection.cjs +2 -0
- package/dist/lib/JoggerConnection.cjs.map +1 -0
- package/dist/lib/JoggerConnection.d.ts +1 -0
- package/dist/lib/JoggerConnection.d.ts.map +1 -1
- package/dist/lib/JoggerConnection.js +342 -0
- package/dist/lib/JoggerConnection.js.map +1 -0
- package/dist/lib/MotionStreamConnection.cjs +3 -0
- package/dist/lib/MotionStreamConnection.cjs.map +1 -0
- package/dist/lib/MotionStreamConnection.d.ts +1 -0
- package/dist/lib/MotionStreamConnection.d.ts.map +1 -1
- package/dist/lib/MotionStreamConnection.js +94 -0
- package/dist/lib/MotionStreamConnection.js.map +1 -0
- package/dist/lib/motionStateUpdate.cjs +2 -0
- package/dist/lib/motionStateUpdate.cjs.map +1 -0
- package/dist/lib/motionStateUpdate.js +49 -0
- package/dist/lib/motionStateUpdate.js.map +1 -0
- package/dist/test/consumer.test.d.ts +2 -0
- package/dist/test/consumer.test.d.ts.map +1 -0
- package/dist/themes/createDarkTheme.cjs +2 -0
- package/dist/themes/createDarkTheme.cjs.map +1 -0
- package/dist/themes/createDarkTheme.js +344 -0
- package/dist/themes/createDarkTheme.js.map +1 -0
- package/dist/themes/createLightTheme.cjs +2 -0
- package/dist/themes/createLightTheme.cjs.map +1 -0
- package/dist/themes/createLightTheme.js +9 -0
- package/dist/themes/createLightTheme.js.map +1 -0
- package/dist/themes/theming.cjs +2 -0
- package/dist/themes/theming.cjs.map +1 -0
- package/dist/themes/theming.js +14 -0
- package/dist/themes/theming.js.map +1 -0
- package/dist/wb-icons.cjs +2 -0
- package/dist/wb-icons.cjs.map +1 -0
- package/dist/wb-icons.js +47 -0
- package/dist/wb-icons.js.map +1 -0
- package/package.json +20 -9
- package/src/components/3d-viewport/CoordinateSystemTransform.tsx +2 -0
- package/src/components/3d-viewport/PresetEnvironment.tsx +2 -0
- package/src/components/3d-viewport/SafetyZonesRenderer.tsx +2 -0
- package/src/components/3d-viewport/TrajectoryRenderer.tsx +2 -0
- package/src/components/AppHeader.tsx +2 -0
- package/src/components/CopyableText.tsx +2 -0
- package/src/components/CycleTimer/CycleTimer.ts +2 -0
- package/src/components/CycleTimer/index.tsx +2 -0
- package/src/components/CycleTimer.tsx +2 -0
- package/src/components/DataGrid.tsx +2 -0
- package/src/components/LoadingCover.tsx +2 -0
- package/src/components/LogPanel.tsx +2 -0
- package/src/components/LogStore.ts +2 -0
- package/src/components/LogViewer.tsx +2 -0
- package/src/components/ProgramControl.tsx +2 -0
- package/src/components/ProgramStateIndicator.tsx +2 -0
- package/src/components/RobotCard.tsx +2 -0
- package/src/components/RobotListItem.tsx +2 -0
- package/src/components/RobotSetupReadinessIndicator.tsx +2 -0
- package/src/components/SelectableFab.tsx +2 -0
- package/src/components/TabBar.tsx +2 -0
- package/src/components/ThemeSelect.tsx +2 -0
- package/src/components/Timer/Timer.ts +2 -0
- package/src/components/Timer/index.tsx +2 -0
- package/src/components/Timer.ts +4 -0
- package/src/components/TransparentOverlay.tsx +2 -0
- package/src/components/VelocitySlider.tsx +2 -0
- package/src/components/jogging/JoggingCartesianAxisControl.tsx +2 -0
- package/src/components/jogging/JoggingJointValueControl.tsx +2 -0
- package/src/components/jogging/JoggingPanel.tsx +2 -0
- package/src/components/jogging/JoggingStore.ts +2 -0
- package/src/components/jogging/PoseCartesianValues.tsx +2 -0
- package/src/components/jogging/PoseJointValues.tsx +2 -0
- package/src/components/modal/NoMotionGroupModal.tsx +2 -0
- package/src/components/robots/DHLinearAxis.tsx +2 -0
- package/src/components/robots/DHRobot.tsx +2 -0
- package/src/components/robots/GenericRobot.tsx +2 -0
- package/src/components/robots/LinearAxis.tsx +2 -0
- package/src/components/robots/MotionGroupVisualizer.tsx +2 -0
- package/src/components/robots/Robot.tsx +2 -0
- package/src/components/robots/SupportedLinearAxis.tsx +2 -0
- package/src/components/robots/SupportedRobot.tsx +2 -0
- package/src/components/safetyBar/ControllerTypeIndicator.tsx +2 -0
- package/src/components/safetyBar/IndicatorWithExplanation.tsx +2 -0
- package/src/components/safetyBar/OperationModeIndicator.tsx +2 -0
- package/src/components/safetyBar/SafetyBar.tsx +2 -0
- package/src/components/safetyBar/SafetyStateIndicator.tsx +2 -0
- package/src/lib/ConnectedMotionGroup.ts +2 -0
- package/src/lib/JoggerConnection.ts +2 -0
- package/src/lib/MotionStreamConnection.ts +2 -0
- package/src/test/consumer.test.ts +230 -0
- package/dist/3d.cjs.js +0 -2
- package/dist/3d.cjs.js.map +0 -1
- package/dist/3d.es.js +0 -19
- package/dist/3d.es.js.map +0 -1
- package/dist/MotionGroupVisualizer-B-e22qXF.cjs +0 -2
- package/dist/MotionGroupVisualizer-B-e22qXF.cjs.map +0 -1
- package/dist/MotionGroupVisualizer-CIASsBC6.js +0 -1433
- package/dist/MotionGroupVisualizer-CIASsBC6.js.map +0 -1
- package/dist/auth0-spa-js.production.esm-CVEdrQ4-.cjs +0 -5
- package/dist/auth0-spa-js.production.esm-CVEdrQ4-.cjs.map +0 -1
- package/dist/auth0-spa-js.production.esm-Cr9w0sUa.js +0 -4217
- package/dist/auth0-spa-js.production.esm-Cr9w0sUa.js.map +0 -1
- package/dist/core.cjs.js +0 -2
- package/dist/core.cjs.js.map +0 -1
- package/dist/core.es.js +0 -52
- package/dist/core.es.js.map +0 -1
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js +0 -92
- package/dist/index.es.js.map +0 -1
- package/dist/interpolation-BIB6FC35.cjs +0 -198
- package/dist/interpolation-BIB6FC35.cjs.map +0 -1
- package/dist/interpolation-lSTX6ZXZ.js +0 -14559
- package/dist/interpolation-lSTX6ZXZ.js.map +0 -1
- package/dist/safety-state-stop-ClWLVLMl.cjs +0 -2
- package/dist/safety-state-stop-ClWLVLMl.cjs.map +0 -1
- package/dist/safety-state-stop-DuMBCxN5.js +0 -91
- package/dist/safety-state-stop-DuMBCxN5.js.map +0 -1
- package/dist/theming-D_pShDEg.js +0 -32236
- package/dist/theming-D_pShDEg.js.map +0 -1
- package/dist/theming-L5E8VSae.cjs +0 -84
- package/dist/theming-L5E8VSae.cjs.map +0 -1
- package/dist/wb-icons.cjs.js +0 -2
- package/dist/wb-icons.cjs.js.map +0 -1
- package/dist/wb-icons.es.js +0 -27
- package/dist/wb-icons.es.js.map +0 -1
- package/dist/wbLogo-CObCmqTw.js +0 -31
- package/dist/wbLogo-CObCmqTw.js.map +0 -1
- package/dist/wbLogo-G_IfZ03l.cjs +0 -2
- package/dist/wbLogo-G_IfZ03l.cjs.map +0 -1
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
"use strict";var es=Object.defineProperty;var ts=(e,t,r)=>t in e?es(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var yt=(e,t,r)=>ts(e,typeof t!="symbol"?t+"":t,r);const rs=require("three"),ye=require("react"),h=require("prop-types"),Wo=require("mobx-react-lite"),Qr=require("react-i18next"),os=require("i18next"),as=require("i18next-browser-languagedetector"),ss=require("@emotion/styled"),Ge=require("@emotion/react"),O=require("axios"),Qo=require("mobx");function Jo(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Fe=Jo(rs),L=Jo(ye);var Ft={exports:{}},bt={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var co;function ns(){if(co)return bt;co=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(o,a,s){var n=null;if(s!==void 0&&(n=""+s),a.key!==void 0&&(n=""+a.key),"key"in a){s={};for(var l in a)l!=="key"&&(s[l]=a[l])}else s=a;return a=s.ref,{$$typeof:e,type:o,key:n,ref:a!==void 0?a:null,props:s}}return bt.Fragment=t,bt.jsx=r,bt.jsxs=r,bt}var ft={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var po;function ls(){return po||(po=1,process.env.NODE_ENV!=="production"&&(function(){function e(A){if(A==null)return null;if(typeof A=="function")return A.$$typeof===N?null:A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case _:return"Fragment";case q:return"Profiler";case D:return"StrictMode";case T:return"Suspense";case M:return"SuspenseList";case W:return"Activity"}if(typeof A=="object")switch(typeof A.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),A.$$typeof){case b:return"Portal";case B:return A.displayName||"Context";case K:return(A._context.displayName||"Context")+".Consumer";case U:var Q=A.render;return A=A.displayName,A||(A=Q.displayName||Q.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case $:return Q=A.displayName||null,Q!==null?Q:e(A.type)||"Memo";case k:Q=A._payload,A=A._init;try{return e(A(Q))}catch{}}return null}function t(A){return""+A}function r(A){try{t(A);var Q=!1}catch{Q=!0}if(Q){Q=console;var le=Q.error,de=typeof Symbol=="function"&&Symbol.toStringTag&&A[Symbol.toStringTag]||A.constructor.name||"Object";return le.call(Q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",de),t(A)}}function o(A){if(A===_)return"<>";if(typeof A=="object"&&A!==null&&A.$$typeof===k)return"<...>";try{var Q=e(A);return Q?"<"+Q+">":"<...>"}catch{return"<...>"}}function a(){var A=u.A;return A===null?null:A.getOwner()}function s(){return Error("react-stack-top-frame")}function n(A){if(R.call(A,"key")){var Q=Object.getOwnPropertyDescriptor(A,"key").get;if(Q&&Q.isReactWarning)return!1}return A.key!==void 0}function l(A,Q){function le(){G||(G=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",Q))}le.isReactWarning=!0,Object.defineProperty(A,"key",{get:le,configurable:!0})}function i(){var A=e(this.type);return F[A]||(F[A]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),A=this.props.ref,A!==void 0?A:null}function c(A,Q,le,de,He,te){var re=le.ref;return A={$$typeof:S,type:A,key:Q,props:le,_owner:de},(re!==void 0?re:null)!==null?Object.defineProperty(A,"ref",{enumerable:!1,get:i}):Object.defineProperty(A,"ref",{enumerable:!1,value:null}),A._store={},Object.defineProperty(A._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(A,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(A,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:He}),Object.defineProperty(A,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:te}),Object.freeze&&(Object.freeze(A.props),Object.freeze(A)),A}function d(A,Q,le,de,He,te){var re=Q.children;if(re!==void 0)if(de)if(E(re)){for(de=0;de<re.length;de++)p(re[de]);Object.freeze&&Object.freeze(re)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else p(re);if(R.call(Q,"key")){re=e(A);var Oe=Object.keys(Q).filter(function(Cr){return Cr!=="key"});de=0<Oe.length?"{key: someKey, "+Oe.join(": ..., ")+": ...}":"{key: someKey}",ze[re+de]||(Oe=0<Oe.length?"{"+Oe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
-
let props = %s;
|
|
19
|
-
<%s {...props} />
|
|
20
|
-
React keys must be passed directly to JSX without using spread:
|
|
21
|
-
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,de,re,Oe,re),ze[re+de]=!0)}if(re=null,le!==void 0&&(r(le),re=""+le),n(Q)&&(r(Q.key),re=""+Q.key),"key"in Q){le={};for(var ht in Q)ht!=="key"&&(le[ht]=Q[ht])}else le=Q;return re&&l(le,typeof A=="function"?A.displayName||A.name||"Unknown":A),c(A,re,le,a(),He,te)}function p(A){m(A)?A._store&&(A._store.validated=1):typeof A=="object"&&A!==null&&A.$$typeof===k&&(A._payload.status==="fulfilled"?m(A._payload.value)&&A._payload.value._store&&(A._payload.value._store.validated=1):A._store&&(A._store.validated=1))}function m(A){return typeof A=="object"&&A!==null&&A.$$typeof===S}var f=ye,S=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),K=Symbol.for("react.consumer"),B=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),N=Symbol.for("react.client.reference"),u=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=Object.prototype.hasOwnProperty,E=Array.isArray,j=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(A){return A()}};var G,F={},X=f.react_stack_bottom_frame.bind(f,s)(),ee=j(o(s)),ze={};ft.Fragment=_,ft.jsx=function(A,Q,le){var de=1e4>u.recentlyCreatedOwnerStacks++;return d(A,Q,le,!1,de?Error("react-stack-top-frame"):X,de?j(o(A)):ee)},ft.jsxs=function(A,Q,le){var de=1e4>u.recentlyCreatedOwnerStacks++;return d(A,Q,le,!0,de?Error("react-stack-top-frame"):X,de?j(o(A)):ee)}})()),ft}var uo;function is(){return uo||(uo=1,process.env.NODE_ENV==="production"?Ft.exports=ns():Ft.exports=ls()),Ft.exports}var H=is();function cs(e){try{return JSON.stringify(e)}catch{return}}function ds(e){const t=e.length(),r=new Fe.Quaternion;if(t>1e-6){const o=e.clone().normalize();r.setFromAxisAngle(o,t)}return r}function ps(e){if(!e||e.length===0)return 5;const o=e.reduce((a,s)=>a+Math.abs(s.a??0)/1e3+Math.abs(s.d??0)/1e3,0)*2;return!Number.isFinite(o)||o<=0?5:o}function us(e){if(e.length<3)return console.log("Not enough vertices to define a plane"),{isCoplanar:!1};const t=new Fe.Vector3(e[0].x,e[0].y,e[0].z),r=new Fe.Vector3(e[1].x,e[1].y,e[1].z),o=new Fe.Vector3(e[2].x,e[2].y,e[2].z),a=new Fe.Vector3().subVectors(r,t),s=new Fe.Vector3().subVectors(o,t),n=new Fe.Vector3().crossVectors(a,s).normalize();for(let l=3;l<e.length;l++){const i=new Fe.Vector3(e[l].x,e[l].y,e[l].z),c=new Fe.Vector3().subVectors(i,t),d=n.dot(c);if(Math.abs(d)>1e-6)return console.log("Vertices are not on the same plane"),{isCoplanar:!1}}return{isCoplanar:!0,normal:n}}function De(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(o=>r.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Mt="$$material";function hs(e){for(var t=0,r,o=0,a=e.length;a>=4;++o,a-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ms={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ys(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var bs=/[A-Z]|^ms/g,fs=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ko=function(t){return t.charCodeAt(1)===45},ho=function(t){return t!=null&&typeof t!="boolean"},vr=ys(function(e){return Ko(e)?e:e.replace(bs,"-$&").toLowerCase()}),mo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(fs,function(o,a,s){return We={name:a,styles:s,next:We},a})}return ms[t]!==1&&!Ko(t)&&typeof r=="number"&&r!==0?r+"px":r};function Qt(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return We={name:a.name,styles:a.styles,next:We},a.name;var s=r;if(s.styles!==void 0){var n=s.next;if(n!==void 0)for(;n!==void 0;)We={name:n.name,styles:n.styles,next:We},n=n.next;var l=s.styles+";";return l}return Ss(e,t,r)}}var i=r;return i}function Ss(e,t,r){var o="";if(Array.isArray(r))for(var a=0;a<r.length;a++)o+=Qt(e,t,r[a])+";";else for(var s in r){var n=r[s];if(typeof n!="object"){var l=n;ho(l)&&(o+=vr(s)+":"+mo(s,l)+";")}else if(Array.isArray(n)&&typeof n[0]=="string"&&t==null)for(var i=0;i<n.length;i++)ho(n[i])&&(o+=vr(s)+":"+mo(s,n[i])+";");else{var c=Qt(e,t,n);switch(s){case"animation":case"animationName":{o+=vr(s)+":"+c+";";break}default:o+=s+"{"+c+"}"}}}return o}var yo=/label:\s*([^\s;{]+)\s*(;|$)/g,We;function Os(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,a="";We=void 0;var s=e[0];if(s==null||s.raw===void 0)o=!1,a+=Qt(r,t,s);else{var n=s;a+=n[0]}for(var l=1;l<e.length;l++)if(a+=Qt(r,t,e[l]),o){var i=s;a+=i[l]}yo.lastIndex=0;for(var c="",d;(d=yo.exec(a))!==null;)c+="-"+d[1];var p=hs(a)+c;return{name:p,styles:a,next:We}}function Cs(e){return e==null||Object.keys(e).length===0}function Yo(e){const{styles:t,defaultTheme:r={}}=e,o=typeof t=="function"?a=>t(Cs(a)?r:a):t;return H.jsx(Ge.Global,{styles:o})}process.env.NODE_ENV!=="production"&&(Yo.propTypes={defaultTheme:h.object,styles:h.oneOfType([h.array,h.string,h.object,h.func])});/**
|
|
23
|
-
* @mui/styled-engine v7.3.7
|
|
24
|
-
*
|
|
25
|
-
* @license MIT
|
|
26
|
-
* This source code is licensed under the MIT license found in the
|
|
27
|
-
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/function Zo(e,t){const r=ss(e,t);return process.env.NODE_ENV!=="production"?(...o)=>{const a=typeof e=="string"?`"${e}"`:"component";return o.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
29
|
-
`)):o.some(s=>s===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),r(...o)}:r}function gs(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const bo=[];function Je(e){return bo[0]=e,Os(bo)}var Dt={exports:{}},se={};/**
|
|
30
|
-
* @license React
|
|
31
|
-
* react-is.production.js
|
|
32
|
-
*
|
|
33
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
34
|
-
*
|
|
35
|
-
* This source code is licensed under the MIT license found in the
|
|
36
|
-
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/var fo;function vs(){if(fo)return se;fo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),n=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),i=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function S(b){if(typeof b=="object"&&b!==null){var _=b.$$typeof;switch(_){case e:switch(b=b.type,b){case r:case a:case o:case i:case c:case m:return b;default:switch(b=b&&b.$$typeof,b){case n:case l:case p:case d:return b;case s:return b;default:return _}}case t:return _}}}return se.ContextConsumer=s,se.ContextProvider=n,se.Element=e,se.ForwardRef=l,se.Fragment=r,se.Lazy=p,se.Memo=d,se.Portal=t,se.Profiler=a,se.StrictMode=o,se.Suspense=i,se.SuspenseList=c,se.isContextConsumer=function(b){return S(b)===s},se.isContextProvider=function(b){return S(b)===n},se.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},se.isForwardRef=function(b){return S(b)===l},se.isFragment=function(b){return S(b)===r},se.isLazy=function(b){return S(b)===p},se.isMemo=function(b){return S(b)===d},se.isPortal=function(b){return S(b)===t},se.isProfiler=function(b){return S(b)===a},se.isStrictMode=function(b){return S(b)===o},se.isSuspense=function(b){return S(b)===i},se.isSuspenseList=function(b){return S(b)===c},se.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===a||b===o||b===i||b===c||typeof b=="object"&&b!==null&&(b.$$typeof===p||b.$$typeof===d||b.$$typeof===n||b.$$typeof===s||b.$$typeof===l||b.$$typeof===f||b.getModuleId!==void 0)},se.typeOf=S,se}var ne={};/**
|
|
38
|
-
* @license React
|
|
39
|
-
* react-is.development.js
|
|
40
|
-
*
|
|
41
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the MIT license found in the
|
|
44
|
-
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/var So;function Vs(){return So||(So=1,process.env.NODE_ENV!=="production"&&(function(){function e(b){if(typeof b=="object"&&b!==null){var _=b.$$typeof;switch(_){case t:switch(b=b.type,b){case o:case s:case a:case c:case d:case f:return b;default:switch(b=b&&b.$$typeof,b){case l:case i:case m:case p:return b;case n:return b;default:return _}}case r:return _}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),n=Symbol.for("react.consumer"),l=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");ne.ContextConsumer=n,ne.ContextProvider=l,ne.Element=t,ne.ForwardRef=i,ne.Fragment=o,ne.Lazy=m,ne.Memo=p,ne.Portal=r,ne.Profiler=s,ne.StrictMode=a,ne.Suspense=c,ne.SuspenseList=d,ne.isContextConsumer=function(b){return e(b)===n},ne.isContextProvider=function(b){return e(b)===l},ne.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},ne.isForwardRef=function(b){return e(b)===i},ne.isFragment=function(b){return e(b)===o},ne.isLazy=function(b){return e(b)===m},ne.isMemo=function(b){return e(b)===p},ne.isPortal=function(b){return e(b)===r},ne.isProfiler=function(b){return e(b)===s},ne.isStrictMode=function(b){return e(b)===a},ne.isSuspense=function(b){return e(b)===c},ne.isSuspenseList=function(b){return e(b)===d},ne.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===o||b===s||b===a||b===c||b===d||typeof b=="object"&&b!==null&&(b.$$typeof===m||b.$$typeof===p||b.$$typeof===l||b.$$typeof===n||b.$$typeof===i||b.$$typeof===S||b.getModuleId!==void 0)},ne.typeOf=e})()),ne}var Oo;function Ps(){return Oo||(Oo=1,process.env.NODE_ENV==="production"?Dt.exports=vs():Dt.exports=Vs()),Dt.exports}var Rt=Ps();function je(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xo(e){if(L.isValidElement(e)||Rt.isValidElementType(e)||!je(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Xo(e[r])}),t}function ge(e,t,r={clone:!0}){const o=r.clone?{...e}:e;return je(e)&&je(t)&&Object.keys(t).forEach(a=>{L.isValidElement(t[a])||Rt.isValidElementType(t[a])?o[a]=t[a]:je(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&je(e[a])?o[a]=ge(e[a],t[a],r):r.clone?o[a]=je(t[a])?Xo(t[a]):t[a]:o[a]=t[a]}),o}const xs=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,o)=>r.val-o.val),t.reduce((r,o)=>({...r,[o.key]:o.val}),{})};function Is(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5,...a}=e,s=xs(t),n=Object.keys(s);function l(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function i(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-o/100}${r})`}function c(m,f){const S=n.indexOf(f);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(S!==-1&&typeof t[n[S]]=="number"?t[n[S]]:f)-o/100}${r})`}function d(m){return n.indexOf(m)+1<n.length?c(m,n[n.indexOf(m)+1]):l(m)}function p(m){const f=n.indexOf(m);return f===0?l(n[1]):f===n.length-1?i(n[f]):c(m,n[n.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:n,values:s,up:l,down:i,between:c,only:d,not:p,unit:r,...a}}function Co(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(o=>o.startsWith("@container")).sort((o,a)=>{var n,l;const s=/min-width:\s*([0-9.]+)/;return+(((n=o.match(s))==null?void 0:n[1])||0)-+(((l=a.match(s))==null?void 0:l[1])||0)});return r.length?r.reduce((o,a)=>{const s=t[a];return delete o[a],o[a]=s,o},{...t}):t}function ws(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Rs(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
46
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:De(18,`(${t})`));return null}const[,o,a]=r,s=Number.isNaN(+o)?o||0:+o;return e.containerQueries(a).up(s)}function Ts(e){const t=(s,n)=>s.replace("@media",n?`@container ${n}`:"@container");function r(s,n){s.up=(...l)=>t(e.breakpoints.up(...l),n),s.down=(...l)=>t(e.breakpoints.down(...l),n),s.between=(...l)=>t(e.breakpoints.between(...l),n),s.only=(...l)=>t(e.breakpoints.only(...l),n),s.not=(...l)=>{const i=t(e.breakpoints.not(...l),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}const o={},a=s=>(r(o,s),o);return r(a),{...e,containerQueries:a}}const As={borderRadius:4},Ye=process.env.NODE_ENV!=="production"?h.oneOfType([h.number,h.string,h.object,h.array]):{};function xt(e,t){return t?ge(e,t,{clone:!1}):e}const Xt={xs:0,sm:600,md:900,lg:1200,xl:1536},go={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xt[e]}px)`},Es={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Xt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Me(e,t,r){const o=e.theme||{};if(Array.isArray(t)){const s=o.breakpoints||go;return t.reduce((n,l,i)=>(n[s.up(s.keys[i])]=r(t[i]),n),{})}if(typeof t=="object"){const s=o.breakpoints||go;return Object.keys(t).reduce((n,l)=>{if(ws(s.keys,l)){const i=Rs(o.containerQueries?o:Es,l);i&&(n[i]=r(t[l],l))}else if(Object.keys(s.values||Xt).includes(l)){const i=s.up(l);n[i]=r(t[l],l)}else{const i=l;n[i]=t[i]}return n},{})}return r(t)}function ea(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((o,a)=>{const s=e.up(a);return o[s]={},o},{}))||{}}function Ur(e,t){return e.reduce((r,o)=>{const a=r[o];return(!a||Object.keys(a).length===0)&&delete r[o],r},t)}function Us(e,...t){const r=ea(e),o=[r,...t].reduce((a,s)=>ge(a,s),{});return Ur(Object.keys(r),o)}function _s(e,t){if(typeof e!="object")return{};const r={},o=Object.keys(t);return Array.isArray(e)?o.forEach((a,s)=>{s<e.length&&(r[a]=!0)}):o.forEach(a=>{e[a]!=null&&(r[a]=!0)}),r}function Bs({values:e,breakpoints:t,base:r}){const o=r||_s(e,t),a=Object.keys(o);if(a.length===0)return e;let s;return a.reduce((n,l,i)=>(Array.isArray(e)?(n[l]=e[i]!=null?e[i]:e[s],s=i):typeof e=="object"?(n[l]=e[l]!=null?e[l]:e[s],s=l):n[l]=e,n),{})}function z(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":De(7));return e.charAt(0).toUpperCase()+e.slice(1)}function er(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const o=`vars.${t}`.split(".").reduce((a,s)=>a&&a[s]?a[s]:null,e);if(o!=null)return o}return t.split(".").reduce((o,a)=>o&&o[a]!=null?o[a]:null,e)}function Jt(e,t,r,o=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||o:a=er(e,r)||o,t&&(a=t(a,o,e)),a}function he(e){const{prop:t,cssProperty:r=e.prop,themeKey:o,transform:a}=e,s=n=>{if(n[t]==null)return null;const l=n[t],i=n.theme,c=er(i,o)||{};return Me(n,l,p=>{let m=Jt(c,a,p);return p===m&&typeof p=="string"&&(m=Jt(c,a,`${t}${p==="default"?"":z(p)}`,p)),r===!1?m:{[r]:m}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ye}:{},s.filterProps=[t],s}function js(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ms={m:"margin",p:"padding"},ks={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$s=js(e=>{if(e.length>2)if(vo[e])e=vo[e];else return[e];const[t,r]=e.split(""),o=Ms[t],a=ks[r]||"";return Array.isArray(a)?a.map(s=>o+s):[o+a]}),tr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ns=[...tr,...rr];function kt(e,t,r,o){const a=er(e,t,!0)??r;return typeof a=="number"||typeof a=="string"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${o} argument to be a number or a string, got ${s}.`),typeof a=="string"?a.startsWith("var(")&&s===0?0:a.startsWith("var(")&&s===1?a:`calc(${s} * ${a})`:a*s):Array.isArray(a)?s=>{if(typeof s=="string")return s;const n=Math.abs(s);process.env.NODE_ENV!=="production"&&(Number.isInteger(n)?n>a.length-1&&console.error([`MUI: The value provided (${n}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${n} > ${a.length-1}, you need to add the missing values.`].join(`
|
|
47
|
-
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
48
|
-
`)));const l=a[n];return s>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof a=="function"?a:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
49
|
-
`)),()=>{})}function or(e){return kt(e,"spacing",8,"spacing")}function ut(e,t){return typeof t=="string"||t==null?t:e(t)}function Ls(e,t){return r=>e.reduce((o,a)=>(o[a]=ut(t,r),o),{})}function Fs(e,t,r,o){if(!t.includes(r))return null;const a=$s(r),s=Ls(a,o),n=e[r];return Me(e,n,s)}function ta(e,t){const r=or(e.theme);return Object.keys(e).map(o=>Fs(e,t,o,r)).reduce(xt,{})}function pe(e){return ta(e,tr)}pe.propTypes=process.env.NODE_ENV!=="production"?tr.reduce((e,t)=>(e[t]=Ye,e),{}):{};pe.filterProps=tr;function ue(e){return ta(e,rr)}ue.propTypes=process.env.NODE_ENV!=="production"?rr.reduce((e,t)=>(e[t]=Ye,e),{}):{};ue.filterProps=rr;process.env.NODE_ENV!=="production"&&Ns.reduce((e,t)=>(e[t]=Ye,e),{});function ra(e=8,t=or({spacing:e})){if(e.mui)return e;const r=(...o)=>(process.env.NODE_ENV!=="production"&&(o.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${o.length}`)),(o.length===0?[1]:o).map(s=>{const n=t(s);return typeof n=="number"?`${n}px`:n}).join(" "));return r.mui=!0,r}function ar(...e){const t=e.reduce((o,a)=>(a.filterProps.forEach(s=>{o[s]=a}),o),{}),r=o=>Object.keys(o).reduce((a,s)=>t[s]?xt(a,t[s](o)):a,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((o,a)=>Object.assign(o,a.propTypes),{}):{},r.filterProps=e.reduce((o,a)=>o.concat(a.filterProps),[]),r}function Re(e){return typeof e!="number"?e:`${e}px solid`}function Te(e,t){return he({prop:e,themeKey:"borders",transform:t})}const Ds=Te("border",Re),Gs=Te("borderTop",Re),qs=Te("borderRight",Re),zs=Te("borderBottom",Re),Hs=Te("borderLeft",Re),Ws=Te("borderColor"),Qs=Te("borderTopColor"),Js=Te("borderRightColor"),Ks=Te("borderBottomColor"),Ys=Te("borderLeftColor"),Zs=Te("outline",Re),Xs=Te("outlineColor"),sr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=kt(e.theme,"shape.borderRadius",4,"borderRadius"),r=o=>({borderRadius:ut(t,o)});return Me(e,e.borderRadius,r)}return null};sr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ye}:{};sr.filterProps=["borderRadius"];ar(Ds,Gs,qs,zs,Hs,Ws,Qs,Js,Ks,Ys,sr,Zs,Xs);const nr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=kt(e.theme,"spacing",8,"gap"),r=o=>({gap:ut(t,o)});return Me(e,e.gap,r)}return null};nr.propTypes=process.env.NODE_ENV!=="production"?{gap:Ye}:{};nr.filterProps=["gap"];const lr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=kt(e.theme,"spacing",8,"columnGap"),r=o=>({columnGap:ut(t,o)});return Me(e,e.columnGap,r)}return null};lr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ye}:{};lr.filterProps=["columnGap"];const ir=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=kt(e.theme,"spacing",8,"rowGap"),r=o=>({rowGap:ut(t,o)});return Me(e,e.rowGap,r)}return null};ir.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ye}:{};ir.filterProps=["rowGap"];const en=he({prop:"gridColumn"}),tn=he({prop:"gridRow"}),rn=he({prop:"gridAutoFlow"}),on=he({prop:"gridAutoColumns"}),an=he({prop:"gridAutoRows"}),sn=he({prop:"gridTemplateColumns"}),nn=he({prop:"gridTemplateRows"}),ln=he({prop:"gridTemplateAreas"}),cn=he({prop:"gridArea"});ar(nr,lr,ir,en,tn,rn,on,an,sn,nn,ln,cn);function pt(e,t){return t==="grey"?t:e}const dn=he({prop:"color",themeKey:"palette",transform:pt}),pn=he({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pt}),un=he({prop:"backgroundColor",themeKey:"palette",transform:pt});ar(dn,pn,un);function Ve(e){return e<=1&&e!==0?`${e*100}%`:e}const hn=he({prop:"width",transform:Ve}),Jr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var a,s,n,l,i;const o=((n=(s=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:s.values)==null?void 0:n[r])||Xt[r];return o?((i=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Ve(r)}};return Me(e,e.maxWidth,t)}return null};Jr.filterProps=["maxWidth"];const mn=he({prop:"minWidth",transform:Ve}),yn=he({prop:"height",transform:Ve}),bn=he({prop:"maxHeight",transform:Ve}),fn=he({prop:"minHeight",transform:Ve});he({prop:"size",cssProperty:"width",transform:Ve});he({prop:"size",cssProperty:"height",transform:Ve});const Sn=he({prop:"boxSizing"});ar(hn,Jr,mn,yn,bn,fn,Sn);const $t={border:{themeKey:"borders",transform:Re},borderTop:{themeKey:"borders",transform:Re},borderRight:{themeKey:"borders",transform:Re},borderBottom:{themeKey:"borders",transform:Re},borderLeft:{themeKey:"borders",transform:Re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:sr},color:{themeKey:"palette",transform:pt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pt},backgroundColor:{themeKey:"palette",transform:pt},p:{style:ue},pt:{style:ue},pr:{style:ue},pb:{style:ue},pl:{style:ue},px:{style:ue},py:{style:ue},padding:{style:ue},paddingTop:{style:ue},paddingRight:{style:ue},paddingBottom:{style:ue},paddingLeft:{style:ue},paddingX:{style:ue},paddingY:{style:ue},paddingInline:{style:ue},paddingInlineStart:{style:ue},paddingInlineEnd:{style:ue},paddingBlock:{style:ue},paddingBlockStart:{style:ue},paddingBlockEnd:{style:ue},m:{style:pe},mt:{style:pe},mr:{style:pe},mb:{style:pe},ml:{style:pe},mx:{style:pe},my:{style:pe},margin:{style:pe},marginTop:{style:pe},marginRight:{style:pe},marginBottom:{style:pe},marginLeft:{style:pe},marginX:{style:pe},marginY:{style:pe},marginInline:{style:pe},marginInlineStart:{style:pe},marginInlineEnd:{style:pe},marginBlock:{style:pe},marginBlockStart:{style:pe},marginBlockEnd:{style:pe},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:nr},rowGap:{style:ir},columnGap:{style:lr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ve},maxWidth:{style:Jr},minWidth:{transform:Ve},height:{transform:Ve},maxHeight:{transform:Ve},minHeight:{transform:Ve},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function On(...e){const t=e.reduce((o,a)=>o.concat(Object.keys(a)),[]),r=new Set(t);return e.every(o=>r.size===Object.keys(o).length)}function Cn(e,t){return typeof e=="function"?e(t):e}function gn(){function e(r,o,a,s){const n={[r]:o,theme:a},l=s[r];if(!l)return{[r]:o};const{cssProperty:i=r,themeKey:c,transform:d,style:p}=l;if(o==null)return null;if(c==="typography"&&o==="inherit")return{[r]:o};const m=er(a,c)||{};return p?p(n):Me(n,o,S=>{let b=Jt(m,d,S);return S===b&&typeof S=="string"&&(b=Jt(m,d,`${r}${S==="default"?"":z(S)}`,S)),i===!1?b:{[i]:b}})}function t(r){const{sx:o,theme:a={},nested:s}=r||{};if(!o)return null;const n=a.unstable_sxConfig??$t;function l(i){let c=i;if(typeof i=="function")c=i(a);else if(typeof i!="object")return i;if(!c)return null;const d=ea(a.breakpoints),p=Object.keys(d);let m=d;return Object.keys(c).forEach(f=>{const S=Cn(c[f],a);if(S!=null)if(typeof S=="object")if(n[f])m=xt(m,e(f,S,a,n));else{const b=Me({theme:a},S,_=>({[f]:_}));On(b,S)?m[f]=t({sx:S,theme:a,nested:!0}):m=xt(m,b)}else m=xt(m,e(f,S,a,n))}),!s&&a.modularCssLayers?{"@layer sx":Co(a,Ur(p,m))}:Co(a,Ur(p,m))}return Array.isArray(o)?o.map(l):l(o)}return t}const ot=gn();ot.filterProps=["sx"];function vn(e,t){var o;const r=this;if(r.vars){if(!((o=r.colorSchemes)!=null&&o[e])||typeof r.getColorSchemeSelector!="function")return{};let a=r.getColorSchemeSelector(e);return a==="&"?t:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:t})}return r.palette.mode===e?t:{}}function cr(e={},...t){const{breakpoints:r={},palette:o={},spacing:a,shape:s={},...n}=e,l=Is(r),i=ra(a);let c=ge({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:i,shape:{...As,...s}},n);return c=Ts(c),c.applyStyles=vn,c=t.reduce((d,p)=>ge(d,p),c),c.unstable_sxConfig={...$t,...n==null?void 0:n.unstable_sxConfig},c.unstable_sx=function(p){return ot({sx:p,theme:this})},c}function Vn(e){return Object.keys(e).length===0}function Pn(e=null){const t=L.useContext(Ge.ThemeContext);return!t||Vn(t)?e:t}const xn=cr();function dr(e=xn){return Pn(e)}function Vr(e){const t=Je(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function oa({styles:e,themeId:t,defaultTheme:r={}}){const o=dr(r),a=t&&o[t]||o;let s=typeof e=="function"?e(a):e;return a.modularCssLayers&&(Array.isArray(s)?s=s.map(n=>Vr(typeof n=="function"?n(a):n)):s=Vr(s)),H.jsx(Yo,{styles:s})}process.env.NODE_ENV!=="production"&&(oa.propTypes={defaultTheme:h.object,styles:h.oneOfType([h.array,h.func,h.number,h.object,h.string,h.bool]),themeId:h.string});const In=e=>{var o;const t={systemProps:{},otherProps:{}},r=((o=e==null?void 0:e.theme)==null?void 0:o.unstable_sxConfig)??$t;return Object.keys(e).forEach(a=>{r[a]?t.systemProps[a]=e[a]:t.otherProps[a]=e[a]}),t};function Kr(e){const{sx:t,...r}=e,{systemProps:o,otherProps:a}=In(r);let s;return Array.isArray(t)?s=[o,...t]:typeof t=="function"?s=(...n)=>{const l=t(...n);return je(l)?{...o,...l}:o}:s={...o,...t},{...a,sx:s}}const Vo=e=>e,wn=()=>{let e=Vo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Vo}}},aa=wn();function sa(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=sa(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function ie(){for(var e,t,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=sa(e))&&(o&&(o+=" "),o+=t);return o}function Rn(e={}){const{themeId:t,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:a}=e,s=Zo("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(ot);return L.forwardRef(function(i,c){const d=dr(r),{className:p,component:m="div",...f}=Kr(i);return H.jsx(s,{as:m,ref:c,className:ie(p,a?a(o):o),theme:t&&d[t]||d,...f})})}const Tn={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ee(e,t,r="Mui"){const o=Tn[t];return o?`${r}-${o}`:`${aa.generate(e)}-${t}`}function Ue(e,t,r="Mui"){const o={};return t.forEach(a=>{o[a]=Ee(e,a,r)}),o}function na(e,t=""){return e.displayName||e.name||t}function Po(e,t,r){const o=na(t);return e.displayName||(o!==""?`${r}(${o})`:r)}function An(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return na(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Rt.ForwardRef:return Po(e,e.render,"ForwardRef");case Rt.Memo:return Po(e,e.type,"memo");default:return}}}function la(e){const{variants:t,...r}=e,o={variants:t,style:Je(r),isProcessed:!0};return o.style===r||t&&t.forEach(a=>{typeof a.style!="function"&&(a.style=Je(a.style))}),o}const En=cr();function Pr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function tt(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Un(e){return e?(t,r)=>r[e]:null}function _n(e,t,r){e.theme=Mn(e.theme)?r:e.theme[t]||e.theme}function Wt(e,t,r){const o=typeof t=="function"?t(e):t;if(Array.isArray(o))return o.flatMap(a=>Wt(e,a,r));if(Array.isArray(o==null?void 0:o.variants)){let a;if(o.isProcessed)a=r?tt(o.style,r):o.style;else{const{variants:s,...n}=o;a=r?tt(Je(n),r):n}return ia(e,o.variants,[a],r)}return o!=null&&o.isProcessed?r?tt(Je(o.style),r):o.style:r?tt(Je(o),r):o}function ia(e,t,r=[],o=void 0){var s;let a;e:for(let n=0;n<t.length;n+=1){const l=t[n];if(typeof l.props=="function"){if(a??(a={...e,...e.ownerState,ownerState:e.ownerState}),!l.props(a))continue}else for(const i in l.props)if(e[i]!==l.props[i]&&((s=e.ownerState)==null?void 0:s[i])!==l.props[i])continue e;typeof l.style=="function"?(a??(a={...e,...e.ownerState,ownerState:e.ownerState}),r.push(o?tt(Je(l.style(a)),o):l.style(a))):r.push(o?tt(Je(l.style),o):l.style)}return r}function ca(e={}){const{themeId:t,defaultTheme:r=En,rootShouldForwardProp:o=Pr,slotShouldForwardProp:a=Pr}=e;function s(l){_n(l,t,r)}return(l,i={})=>{gs(l,T=>T.filter(M=>M!==ot));const{name:c,slot:d,skipVariantsResolver:p,skipSx:m,overridesResolver:f=Un(da(d)),...S}=i,b=c&&c.startsWith("Mui")||d?"components":"custom",_=p!==void 0?p:d&&d!=="Root"&&d!=="root"||!1,D=m||!1;let q=Pr;d==="Root"||d==="root"?q=o:d?q=a:kn(l)&&(q=void 0);const K=Zo(l,{shouldForwardProp:q,label:jn(c,d),...S}),B=T=>{if(T.__emotion_real===T)return T;if(typeof T=="function")return function($){return Wt($,T,$.theme.modularCssLayers?b:void 0)};if(je(T)){const M=la(T);return function(k){return M.variants?Wt(k,M,k.theme.modularCssLayers?b:void 0):k.theme.modularCssLayers?tt(M.style,b):M.style}}return T},U=(...T)=>{const M=[],$=T.map(B),k=[];if(M.push(s),c&&f&&k.push(function(R){var F,X;const j=(X=(F=R.theme.components)==null?void 0:F[c])==null?void 0:X.styleOverrides;if(!j)return null;const G={};for(const ee in j)G[ee]=Wt(R,j[ee],R.theme.modularCssLayers?"theme":void 0);return f(R,G)}),c&&!_&&k.push(function(R){var G,F;const E=R.theme,j=(F=(G=E==null?void 0:E.components)==null?void 0:G[c])==null?void 0:F.variants;return j?ia(R,j,[],R.theme.modularCssLayers?"theme":void 0):null}),D||k.push(ot),Array.isArray($[0])){const u=$.shift(),R=new Array(M.length).fill(""),E=new Array(k.length).fill("");let j;j=[...R,...u,...E],j.raw=[...R,...u.raw,...E],M.unshift(j)}const W=[...M,...$,...k],N=K(...W);return l.muiName&&(N.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(N.displayName=Bn(c,d,l)),N};return K.withConfig&&(U.withConfig=K.withConfig),U}}function Bn(e,t,r){return e?`${e}${z(t||"")}`:`Styled(${An(r)})`}function jn(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${da(t||"Root")}`),r}function Mn(e){for(const t in e)return!1;return!0}function kn(e){return typeof e=="string"&&e.charCodeAt(0)>96}function da(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Tt(e,t,r=!1){const o={...t};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const s=a;if(s==="components"||s==="slots")o[s]={...e[s],...o[s]};else if(s==="componentsProps"||s==="slotProps"){const n=e[s],l=t[s];if(!l)o[s]=n||{};else if(!n)o[s]=l;else{o[s]={...l};for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)){const c=i;o[s][c]=Tt(n[c],l[c],r)}}}else s==="className"&&r&&t.className?o.className=ie(e==null?void 0:e.className,t==null?void 0:t.className):s==="style"&&r&&t.style?o.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:o[s]===void 0&&(o[s]=e[s])}return o}const pa=typeof window<"u"?L.useLayoutEffect:L.useEffect;function ua(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Yr(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),ua(e,t,r)}function $n(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(o=>o+o)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((o,a)=>a<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Ke(e){if(e.type)return e;if(e.charAt(0)==="#")return Ke($n(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
50
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:De(9,e));let o=e.substring(t+1,e.length-1),a;if(r==="color"){if(o=o.split(" "),a=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(a))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
|
|
51
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:De(10,a))}else o=o.split(",");return o=o.map(s=>parseFloat(s)),{type:r,values:o,colorSpace:a}}const Nn=e=>{const t=Ke(e);return t.values.slice(0,3).map((r,o)=>t.type.includes("hsl")&&o!==0?`${r}%`:r).join(" ")},Vt=(e,t)=>{try{return Nn(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function pr(e){const{type:t,colorSpace:r}=e;let{values:o}=e;return t.includes("rgb")?o=o.map((a,s)=>s<3?parseInt(a,10):a):t.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.includes("color")?o=`${r} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function ha(e){e=Ke(e);const{values:t}=e,r=t[0],o=t[1]/100,a=t[2]/100,s=o*Math.min(a,1-a),n=(c,d=(c+r/30)%12)=>a-s*Math.max(Math.min(d-3,9-d,1),-1);let l="rgb";const i=[Math.round(n(0)*255),Math.round(n(8)*255),Math.round(n(4)*255)];return e.type==="hsla"&&(l+="a",i.push(t[3])),pr({type:l,values:i})}function _r(e){e=Ke(e);let t=e.type==="hsl"||e.type==="hsla"?Ke(ha(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xo(e,t){const r=_r(e),o=_r(t);return(Math.max(r,o)+.05)/(Math.min(r,o)+.05)}function At(e,t){return e=Ke(e),t=Yr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,pr(e)}function Ze(e,t,r){try{return At(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ur(e,t){if(e=Ke(e),t=Yr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return pr(e)}function oe(e,t,r){try{return ur(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function hr(e,t){if(e=Ke(e),t=Yr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return pr(e)}function ae(e,t,r){try{return hr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Ln(e,t=.15){return _r(e)>.5?ur(e,t):hr(e,t)}function Gt(e,t,r){try{return Ln(e,t)}catch{return e}}const Fn=L.createContext(void 0);process.env.NODE_ENV!=="production"&&(h.node,h.object);function Dn(e){const{theme:t,name:r,props:o}=e;if(!t||!t.components||!t.components[r])return o;const a=t.components[r];return a.defaultProps?Tt(a.defaultProps,o,t.components.mergeClassNameAndStyle):!a.styleOverrides&&!a.variants?Tt(a,o,t.components.mergeClassNameAndStyle):o}function Gn({props:e,name:t}){const r=L.useContext(Fn);return Dn({props:e,name:t,theme:{components:r}})}let Io=0;function qn(e){const[t,r]=L.useState(e),o=e||t;return L.useEffect(()=>{t==null&&(Io+=1,r(`mui-${Io}`))},[t]),o}const zn={...L},wo=zn.useId;function ma(e){if(wo!==void 0){const t=wo();return e??t}return qn(e)}const Ro={theme:void 0};function Hn(e){let t,r;return function(a){let s=t;return(s===void 0||a.theme!==r)&&(Ro.theme=a.theme,s=la(e(Ro)),t=s,r=a.theme),s}}function Wn(e=""){function t(...o){if(!o.length)return"";const a=o[0];return typeof a=="string"&&!a.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${a}${t(...o.slice(1))})`:`, ${a}`}return(o,...a)=>`var(--${e?`${e}-`:""}${o}${t(...a)})`}const To=(e,t,r,o=[])=>{let a=e;t.forEach((s,n)=>{n===t.length-1?Array.isArray(a)?a[Number(s)]=r:a&&typeof a=="object"&&(a[s]=r):a&&typeof a=="object"&&(a[s]||(a[s]=o.includes(s)?[]:{}),a=a[s])})},Qn=(e,t,r)=>{function o(a,s=[],n=[]){Object.entries(a).forEach(([l,i])=>{(!r||r&&!r([...s,l]))&&i!=null&&(typeof i=="object"&&Object.keys(i).length>0?o(i,[...s,l],Array.isArray(i)?[...n,l]:n):t([...s,l],i,n))})}o(e)},Jn=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>e.includes(o))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function xr(e,t){const{prefix:r,shouldSkipGeneratingVar:o}=t||{},a={},s={},n={};return Qn(e,(l,i,c)=>{if((typeof i=="string"||typeof i=="number")&&(!o||!o(l,i))){const d=`--${r?`${r}-`:""}${l.join("-")}`,p=Jn(l,i);Object.assign(a,{[d]:p}),To(s,l,`var(${d})`,c),To(n,l,`var(${d}, ${p})`,c)}},l=>l[0]==="vars"),{css:a,vars:s,varsWithDefaults:n}}function Kn(e,t={}){const{getSelector:r=D,disableCssColorScheme:o,colorSchemeSelector:a,enableContrastVars:s}=t,{colorSchemes:n={},components:l,defaultColorScheme:i="light",...c}=e,{vars:d,css:p,varsWithDefaults:m}=xr(c,t);let f=m;const S={},{[i]:b,..._}=n;if(Object.entries(_||{}).forEach(([B,U])=>{const{vars:T,css:M,varsWithDefaults:$}=xr(U,t);f=ge(f,$),S[B]={css:M,vars:T}}),b){const{css:B,vars:U,varsWithDefaults:T}=xr(b,t);f=ge(f,T),S[i]={css:B,vars:U}}function D(B,U){var M,$;let T=a;if(a==="class"&&(T=".%s"),a==="data"&&(T="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(T=`[${a}="%s"]`),B){if(T==="media")return e.defaultColorScheme===B?":root":{[`@media (prefers-color-scheme: ${(($=(M=n[B])==null?void 0:M.palette)==null?void 0:$.mode)||B})`]:{":root":U}};if(T)return e.defaultColorScheme===B?`:root, ${T.replace("%s",String(B))}`:T.replace("%s",String(B))}return":root"}return{vars:f,generateThemeVars:()=>{let B={...d};return Object.entries(S).forEach(([,{vars:U}])=>{B=ge(B,U)}),B},generateStyleSheets:()=>{var k,W;const B=[],U=e.defaultColorScheme||"light";function T(N,u){Object.keys(u).length&&B.push(typeof N=="string"?{[N]:{...u}}:N)}T(r(void 0,{...p}),p);const{[U]:M,...$}=S;if(M){const{css:N}=M,u=(W=(k=n[U])==null?void 0:k.palette)==null?void 0:W.mode,R=!o&&u?{colorScheme:u,...N}:{...N};T(r(U,{...R}),R)}return Object.entries($).forEach(([N,{css:u}])=>{var j,G;const R=(G=(j=n[N])==null?void 0:j.palette)==null?void 0:G.mode,E=!o&&R?{colorScheme:R,...u}:{...u};T(r(N,{...E}),E)}),s&&B.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),B}}}function Yn(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}function qe(e,t,r=void 0){const o={};for(const a in e){const s=e[a];let n="",l=!0;for(let i=0;i<s.length;i+=1){const c=s[i];c&&(n+=(l===!0?"":" ")+t(c),l=!1,r&&r[c]&&(n+=" "+r[c]))}o[a]=n}return o}const Et={black:"#000",white:"#fff"},Zn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},at={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},st={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},St={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},nt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},lt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},it={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function ya(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Et.white,default:Et.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const ba=ya();function fa(){return{text:{primary:Et.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Et.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Br=fa();function Ao(e,t,r,o){const a=o.light||o,s=o.dark||o*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=hr(e.main,a):t==="dark"&&(e.dark=ur(e.main,s)))}function Eo(e,t,r,o,a){const s=a.light||a,n=a.dark||a*1.5;t[r]||(t.hasOwnProperty(o)?t[r]=t[o]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(s*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(n*100).toFixed(0)}%)`))}function Xn(e="light"){return e==="dark"?{main:nt[200],light:nt[50],dark:nt[400]}:{main:nt[700],light:nt[400],dark:nt[800]}}function el(e="light"){return e==="dark"?{main:at[200],light:at[50],dark:at[400]}:{main:at[500],light:at[300],dark:at[700]}}function tl(e="light"){return e==="dark"?{main:st[500],light:st[300],dark:st[700]}:{main:st[700],light:st[400],dark:st[800]}}function rl(e="light"){return e==="dark"?{main:lt[400],light:lt[300],dark:lt[700]}:{main:lt[700],light:lt[500],dark:lt[900]}}function ol(e="light"){return e==="dark"?{main:it[400],light:it[300],dark:it[700]}:{main:it[800],light:it[500],dark:it[900]}}function al(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:"#ed6c02",light:St[500],dark:St[900]}}function sl(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Zr(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2,colorSpace:a,...s}=e,n=e.primary||Xn(t),l=e.secondary||el(t),i=e.error||tl(t),c=e.info||rl(t),d=e.success||ol(t),p=e.warning||al(t);function m(_){if(a)return sl(_);const D=xo(_,Br.text.primary)>=r?Br.text.primary:ba.text.primary;if(process.env.NODE_ENV!=="production"){const q=xo(_,D);q<3&&console.error([`MUI: The contrast ratio of ${q}:1 for ${D} on ${_}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
52
|
-
`))}return D}const f=({color:_,name:D,mainShade:q=500,lightShade:K=300,darkShade:B=700})=>{if(_={..._},!_.main&&_[q]&&(_.main=_[q]),!_.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${D?` (${D})`:""} provided to augmentColor(color) is invalid.
|
|
53
|
-
The color object needs to have a \`main\` property or a \`${q}\` property.`:De(11,D?` (${D})`:"",q));if(typeof _.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${D?` (${D})`:""} provided to augmentColor(color) is invalid.
|
|
54
|
-
\`color.main\` should be a string, but \`${JSON.stringify(_.main)}\` was provided instead.
|
|
55
|
-
|
|
56
|
-
Did you intend to use one of the following approaches?
|
|
57
|
-
|
|
58
|
-
import { green } from "@mui/material/colors";
|
|
59
|
-
|
|
60
|
-
const theme1 = createTheme({ palette: {
|
|
61
|
-
primary: green,
|
|
62
|
-
} });
|
|
63
|
-
|
|
64
|
-
const theme2 = createTheme({ palette: {
|
|
65
|
-
primary: { main: green[500] },
|
|
66
|
-
} });`:De(12,D?` (${D})`:"",JSON.stringify(_.main)));return a?(Eo(a,_,"light",K,o),Eo(a,_,"dark",B,o)):(Ao(_,"light",K,o),Ao(_,"dark",B,o)),_.contrastText||(_.contrastText=m(_.main)),_};let S;return t==="light"?S=ya():t==="dark"&&(S=fa()),process.env.NODE_ENV!=="production"&&(S||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),ge({common:{...Et},mode:t,primary:f({color:n,name:"primary"}),secondary:f({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:i,name:"error"}),warning:f({color:p,name:"warning"}),info:f({color:c,name:"info"}),success:f({color:d,name:"success"}),grey:Zn,contrastThreshold:r,getContrastText:m,augmentColor:f,tonalOffset:o,...S},s)}function nl(e){const t={};return Object.entries(e).forEach(o=>{const[a,s]=o;typeof s=="object"&&(t[a]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function ll(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function il(e){return Math.round(e*1e5)/1e5}const Uo={textTransform:"uppercase"},_o='"Roboto", "Helvetica", "Arial", sans-serif';function cl(e,t){const{fontFamily:r=_o,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:n=500,fontWeightBold:l=700,htmlFontSize:i=16,allVariants:c,pxToRem:d,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof i!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=o/14,f=d||(_=>`${_/i*m}rem`),S=(_,D,q,K,B)=>({fontFamily:r,fontWeight:_,fontSize:f(D),lineHeight:q,...r===_o?{letterSpacing:`${il(K/D)}em`}:{},...B,...c}),b={h1:S(a,96,1.167,-1.5),h2:S(a,60,1.2,-.5),h3:S(s,48,1.167,0),h4:S(s,34,1.235,.25),h5:S(s,24,1.334,0),h6:S(n,20,1.6,.15),subtitle1:S(s,16,1.75,.15),subtitle2:S(n,14,1.57,.1),body1:S(s,16,1.5,.15),body2:S(s,14,1.43,.15),button:S(n,14,1.75,.4,Uo),caption:S(s,12,1.66,.4),overline:S(s,12,2.66,1,Uo),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ge({htmlFontSize:i,pxToRem:f,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:n,fontWeightBold:l,...b},p,{clone:!1})}const dl=.2,pl=.14,ul=.12;function ce(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${dl})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${pl})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ul})`].join(",")}const hl=["none",ce(0,2,1,-1,0,1,1,0,0,1,3,0),ce(0,3,1,-2,0,2,2,0,0,1,5,0),ce(0,3,3,-2,0,3,4,0,0,1,8,0),ce(0,2,4,-1,0,4,5,0,0,1,10,0),ce(0,3,5,-1,0,5,8,0,0,1,14,0),ce(0,3,5,-1,0,6,10,0,0,1,18,0),ce(0,4,5,-2,0,7,10,1,0,2,16,1),ce(0,5,5,-3,0,8,10,1,0,3,14,2),ce(0,5,6,-3,0,9,12,1,0,3,16,2),ce(0,6,6,-3,0,10,14,1,0,4,18,3),ce(0,6,7,-4,0,11,15,1,0,4,20,3),ce(0,7,8,-4,0,12,17,2,0,5,22,4),ce(0,7,8,-4,0,13,19,2,0,5,24,4),ce(0,7,9,-4,0,14,21,2,0,5,26,4),ce(0,8,9,-5,0,15,22,2,0,6,28,5),ce(0,8,10,-5,0,16,24,2,0,6,30,5),ce(0,8,11,-5,0,17,26,2,0,6,32,5),ce(0,9,11,-5,0,18,28,2,0,7,34,6),ce(0,9,12,-6,0,19,29,2,0,7,36,6),ce(0,10,13,-6,0,20,31,3,0,8,38,7),ce(0,10,13,-6,0,21,33,3,0,8,40,7),ce(0,10,14,-6,0,22,35,3,0,8,42,7),ce(0,11,14,-7,0,23,36,3,0,9,44,8),ce(0,11,15,-7,0,24,38,3,0,9,46,8)],ml={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},yl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Bo(e){return`${Math.round(e)}ms`}function bl(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function fl(e){const t={...ml,...e.easing},r={...yl,...e.duration};return{getAutoHeightDuration:bl,create:(a=["all"],s={})=>{const{duration:n=r.standard,easing:l=t.easeInOut,delay:i=0,...c}=s;if(process.env.NODE_ENV!=="production"){const d=m=>typeof m=="string",p=m=>!Number.isNaN(parseFloat(m));!d(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(n)&&!d(n)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${n}.`),d(l)||console.error('MUI: Argument "easing" must be a string.'),!p(i)&&!d(i)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
67
|
-
`)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof n=="string"?n:Bo(n)} ${l} ${typeof i=="string"?i:Bo(i)}`).join(",")},...e,easing:t,duration:r}}const Sl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ol(e){return je(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Sa(e={}){const t={...e};function r(o){const a=Object.entries(o);for(let s=0;s<a.length;s++){const[n,l]=a[s];!Ol(l)||n.startsWith("unstable_")?delete o[n]:je(l)&&(o[n]={...l},r(o[n]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
68
|
-
|
|
69
|
-
const theme = ${JSON.stringify(t,null,2)};
|
|
70
|
-
|
|
71
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
72
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
73
|
-
|
|
74
|
-
export default theme;`}function jo(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const Cl=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let o=0;o<t.length;o+=1)r+=+t[o];return r};function gl(e){Object.assign(e,{alpha(t,r){const o=this||e;return o.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:o.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:At(t,Cl(r))},lighten(t,r){const o=this||e;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${t}, #fff ${jo(r)})`:hr(t,r)},darken(t,r){const o=this||e;return o.colorSpace?`color-mix(in ${o.colorSpace}, ${t}, #000 ${jo(r)})`:ur(t,r)}})}function jr(e={},...t){const{breakpoints:r,mixins:o={},spacing:a,palette:s={},transitions:n={},typography:l={},shape:i,colorSpace:c,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":De(20));const p=Zr({...s,colorSpace:c}),m=cr(e);let f=ge(m,{mixins:ll(m.breakpoints,o),palette:p,shadows:hl.slice(),typography:cl(p,l),transitions:fl(n),zIndex:{...Sl}});if(f=ge(f,d),f=t.reduce((S,b)=>ge(S,b),f),process.env.NODE_ENV!=="production"){const S=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],b=(_,D)=>{let q;for(q in _){const K=_[q];if(S.includes(q)&&Object.keys(K).length>0){if(process.env.NODE_ENV!=="production"){const B=Ee("",q);console.error([`MUI: The \`${D}\` component increases the CSS specificity of the \`${q}\` internal state.`,"You can not override it like this: ",JSON.stringify(_,null,2),"",`Instead, you need to use the '&.${B}' syntax:`,JSON.stringify({root:{[`&.${B}`]:K}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
75
|
-
`))}_[q]={}}}};Object.keys(f.components).forEach(_=>{const D=f.components[_].styleOverrides;D&&_.startsWith("Mui")&&b(D,_)})}return f.unstable_sxConfig={...$t,...d==null?void 0:d.unstable_sxConfig},f.unstable_sx=function(b){return ot({sx:b,theme:this})},f.toRuntimeSource=Sa,gl(f),f}function Mr(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const vl=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Mr(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Oa(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Ca(e){return e==="dark"?vl:[]}function Vl(e){const{palette:t={mode:"light"},opacity:r,overlays:o,colorSpace:a,...s}=e,n=Zr({...t,colorSpace:a});return{palette:n,opacity:{...Oa(n.mode),...r},overlays:o||Ca(n.mode),...s}}function Pl(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const xl=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Il=e=>(t,r)=>{const o=e.rootSelector||":root",a=e.colorSchemeSelector;let s=a;if(a==="class"&&(s=".%s"),a==="data"&&(s="[data-%s]"),a!=null&&a.startsWith("data-")&&!a.includes("%s")&&(s=`[${a}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const n={};return xl(e.cssVarPrefix).forEach(l=>{n[l]=r[l],delete r[l]}),s==="media"?{[o]:r,"@media (prefers-color-scheme: dark)":{[o]:n}}:s?{[s.replace("%s",t)]:n,[`${o}, ${s.replace("%s",t)}`]:r}:{[o]:{...r,...n}}}if(s&&s!=="media")return`${o}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[o]:r}};if(s)return s.replace("%s",String(t))}return o};function wl(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function w(e,t,r){!e[t]&&r&&(e[t]=r)}function Pt(e){return typeof e!="string"||!e.startsWith("hsl")?e:ha(e)}function $e(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Vt(Pt(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
76
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Rl(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Be=e=>{try{return e()}catch{}},Tl=(e="mui")=>Wn(e);function Ir(e,t,r,o,a){if(!r)return;r=r===!0?{}:r;const s=a==="dark"?"dark":"light";if(!o){t[a]=Vl({...r,palette:{mode:s,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:n,...l}=jr({...o,palette:{mode:s,...r==null?void 0:r.palette},colorSpace:e});return t[a]={...r,palette:n,opacity:{...Oa(s),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Ca(s)},l}function Al(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:o,disableCssColorScheme:a=!1,cssVarPrefix:s="mui",nativeColor:n=!1,shouldSkipGeneratingVar:l=Pl,colorSchemeSelector:i=r.light&&r.dark?"media":void 0,rootSelector:c=":root",...d}=e,p=Object.keys(r)[0],m=o||(r.light&&p!=="light"?"light":p),f=Tl(s),{[m]:S,light:b,dark:_,...D}=r,q={...D};let K=S;if((m==="dark"&&!("dark"in r)||m==="light"&&!("light"in r))&&(K=!0),!K)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${m}\` option is either missing or invalid.`:De(21,m));let B;n&&(B="oklch");const U=Ir(B,q,K,d,m);b&&!q.light&&Ir(B,q,b,void 0,"light"),_&&!q.dark&&Ir(B,q,_,void 0,"dark");let T={defaultColorScheme:m,...U,cssVarPrefix:s,colorSchemeSelector:i,rootSelector:c,getCssVar:f,colorSchemes:q,font:{...nl(U.typography),...U.font},spacing:Rl(d.spacing)};Object.keys(T.colorSchemes).forEach(N=>{const u=T.colorSchemes[N].palette,R=j=>{const G=j.split("-"),F=G[1],X=G[2];return f(j,u[F][X])};u.mode==="light"&&(w(u.common,"background","#fff"),w(u.common,"onBackground","#000")),u.mode==="dark"&&(w(u.common,"background","#000"),w(u.common,"onBackground","#fff"));function E(j,G,F){if(B){let X;return j===Ze&&(X=`transparent ${((1-F)*100).toFixed(0)}%`),j===oe&&(X=`#000 ${(F*100).toFixed(0)}%`),j===ae&&(X=`#fff ${(F*100).toFixed(0)}%`),`color-mix(in ${B}, ${G}, ${X})`}return j(G,F)}if(wl(u,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),u.mode==="light"){w(u.Alert,"errorColor",E(oe,u.error.light,.6)),w(u.Alert,"infoColor",E(oe,u.info.light,.6)),w(u.Alert,"successColor",E(oe,u.success.light,.6)),w(u.Alert,"warningColor",E(oe,u.warning.light,.6)),w(u.Alert,"errorFilledBg",R("palette-error-main")),w(u.Alert,"infoFilledBg",R("palette-info-main")),w(u.Alert,"successFilledBg",R("palette-success-main")),w(u.Alert,"warningFilledBg",R("palette-warning-main")),w(u.Alert,"errorFilledColor",Be(()=>u.getContrastText(u.error.main))),w(u.Alert,"infoFilledColor",Be(()=>u.getContrastText(u.info.main))),w(u.Alert,"successFilledColor",Be(()=>u.getContrastText(u.success.main))),w(u.Alert,"warningFilledColor",Be(()=>u.getContrastText(u.warning.main))),w(u.Alert,"errorStandardBg",E(ae,u.error.light,.9)),w(u.Alert,"infoStandardBg",E(ae,u.info.light,.9)),w(u.Alert,"successStandardBg",E(ae,u.success.light,.9)),w(u.Alert,"warningStandardBg",E(ae,u.warning.light,.9)),w(u.Alert,"errorIconColor",R("palette-error-main")),w(u.Alert,"infoIconColor",R("palette-info-main")),w(u.Alert,"successIconColor",R("palette-success-main")),w(u.Alert,"warningIconColor",R("palette-warning-main")),w(u.AppBar,"defaultBg",R("palette-grey-100")),w(u.Avatar,"defaultBg",R("palette-grey-400")),w(u.Button,"inheritContainedBg",R("palette-grey-300")),w(u.Button,"inheritContainedHoverBg",R("palette-grey-A100")),w(u.Chip,"defaultBorder",R("palette-grey-400")),w(u.Chip,"defaultAvatarColor",R("palette-grey-700")),w(u.Chip,"defaultIconColor",R("palette-grey-700")),w(u.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),w(u.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),w(u.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),w(u.LinearProgress,"primaryBg",E(ae,u.primary.main,.62)),w(u.LinearProgress,"secondaryBg",E(ae,u.secondary.main,.62)),w(u.LinearProgress,"errorBg",E(ae,u.error.main,.62)),w(u.LinearProgress,"infoBg",E(ae,u.info.main,.62)),w(u.LinearProgress,"successBg",E(ae,u.success.main,.62)),w(u.LinearProgress,"warningBg",E(ae,u.warning.main,.62)),w(u.Skeleton,"bg",B?E(Ze,u.text.primary,.11):`rgba(${R("palette-text-primaryChannel")} / 0.11)`),w(u.Slider,"primaryTrack",E(ae,u.primary.main,.62)),w(u.Slider,"secondaryTrack",E(ae,u.secondary.main,.62)),w(u.Slider,"errorTrack",E(ae,u.error.main,.62)),w(u.Slider,"infoTrack",E(ae,u.info.main,.62)),w(u.Slider,"successTrack",E(ae,u.success.main,.62)),w(u.Slider,"warningTrack",E(ae,u.warning.main,.62));const j=B?E(oe,u.background.default,.6825):Gt(u.background.default,.8);w(u.SnackbarContent,"bg",j),w(u.SnackbarContent,"color",Be(()=>B?Br.text.primary:u.getContrastText(j))),w(u.SpeedDialAction,"fabHoverBg",Gt(u.background.paper,.15)),w(u.StepConnector,"border",R("palette-grey-400")),w(u.StepContent,"border",R("palette-grey-400")),w(u.Switch,"defaultColor",R("palette-common-white")),w(u.Switch,"defaultDisabledColor",R("palette-grey-100")),w(u.Switch,"primaryDisabledColor",E(ae,u.primary.main,.62)),w(u.Switch,"secondaryDisabledColor",E(ae,u.secondary.main,.62)),w(u.Switch,"errorDisabledColor",E(ae,u.error.main,.62)),w(u.Switch,"infoDisabledColor",E(ae,u.info.main,.62)),w(u.Switch,"successDisabledColor",E(ae,u.success.main,.62)),w(u.Switch,"warningDisabledColor",E(ae,u.warning.main,.62)),w(u.TableCell,"border",E(ae,E(Ze,u.divider,1),.88)),w(u.Tooltip,"bg",E(Ze,u.grey[700],.92))}if(u.mode==="dark"){w(u.Alert,"errorColor",E(ae,u.error.light,.6)),w(u.Alert,"infoColor",E(ae,u.info.light,.6)),w(u.Alert,"successColor",E(ae,u.success.light,.6)),w(u.Alert,"warningColor",E(ae,u.warning.light,.6)),w(u.Alert,"errorFilledBg",R("palette-error-dark")),w(u.Alert,"infoFilledBg",R("palette-info-dark")),w(u.Alert,"successFilledBg",R("palette-success-dark")),w(u.Alert,"warningFilledBg",R("palette-warning-dark")),w(u.Alert,"errorFilledColor",Be(()=>u.getContrastText(u.error.dark))),w(u.Alert,"infoFilledColor",Be(()=>u.getContrastText(u.info.dark))),w(u.Alert,"successFilledColor",Be(()=>u.getContrastText(u.success.dark))),w(u.Alert,"warningFilledColor",Be(()=>u.getContrastText(u.warning.dark))),w(u.Alert,"errorStandardBg",E(oe,u.error.light,.9)),w(u.Alert,"infoStandardBg",E(oe,u.info.light,.9)),w(u.Alert,"successStandardBg",E(oe,u.success.light,.9)),w(u.Alert,"warningStandardBg",E(oe,u.warning.light,.9)),w(u.Alert,"errorIconColor",R("palette-error-main")),w(u.Alert,"infoIconColor",R("palette-info-main")),w(u.Alert,"successIconColor",R("palette-success-main")),w(u.Alert,"warningIconColor",R("palette-warning-main")),w(u.AppBar,"defaultBg",R("palette-grey-900")),w(u.AppBar,"darkBg",R("palette-background-paper")),w(u.AppBar,"darkColor",R("palette-text-primary")),w(u.Avatar,"defaultBg",R("palette-grey-600")),w(u.Button,"inheritContainedBg",R("palette-grey-800")),w(u.Button,"inheritContainedHoverBg",R("palette-grey-700")),w(u.Chip,"defaultBorder",R("palette-grey-700")),w(u.Chip,"defaultAvatarColor",R("palette-grey-300")),w(u.Chip,"defaultIconColor",R("palette-grey-300")),w(u.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),w(u.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),w(u.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),w(u.LinearProgress,"primaryBg",E(oe,u.primary.main,.5)),w(u.LinearProgress,"secondaryBg",E(oe,u.secondary.main,.5)),w(u.LinearProgress,"errorBg",E(oe,u.error.main,.5)),w(u.LinearProgress,"infoBg",E(oe,u.info.main,.5)),w(u.LinearProgress,"successBg",E(oe,u.success.main,.5)),w(u.LinearProgress,"warningBg",E(oe,u.warning.main,.5)),w(u.Skeleton,"bg",B?E(Ze,u.text.primary,.13):`rgba(${R("palette-text-primaryChannel")} / 0.13)`),w(u.Slider,"primaryTrack",E(oe,u.primary.main,.5)),w(u.Slider,"secondaryTrack",E(oe,u.secondary.main,.5)),w(u.Slider,"errorTrack",E(oe,u.error.main,.5)),w(u.Slider,"infoTrack",E(oe,u.info.main,.5)),w(u.Slider,"successTrack",E(oe,u.success.main,.5)),w(u.Slider,"warningTrack",E(oe,u.warning.main,.5));const j=B?E(ae,u.background.default,.985):Gt(u.background.default,.98);w(u.SnackbarContent,"bg",j),w(u.SnackbarContent,"color",Be(()=>B?ba.text.primary:u.getContrastText(j))),w(u.SpeedDialAction,"fabHoverBg",Gt(u.background.paper,.15)),w(u.StepConnector,"border",R("palette-grey-600")),w(u.StepContent,"border",R("palette-grey-600")),w(u.Switch,"defaultColor",R("palette-grey-300")),w(u.Switch,"defaultDisabledColor",R("palette-grey-600")),w(u.Switch,"primaryDisabledColor",E(oe,u.primary.main,.55)),w(u.Switch,"secondaryDisabledColor",E(oe,u.secondary.main,.55)),w(u.Switch,"errorDisabledColor",E(oe,u.error.main,.55)),w(u.Switch,"infoDisabledColor",E(oe,u.info.main,.55)),w(u.Switch,"successDisabledColor",E(oe,u.success.main,.55)),w(u.Switch,"warningDisabledColor",E(oe,u.warning.main,.55)),w(u.TableCell,"border",E(oe,E(Ze,u.divider,1),.68)),w(u.Tooltip,"bg",E(Ze,u.grey[700],.92))}$e(u.background,"default"),$e(u.background,"paper"),$e(u.common,"background"),$e(u.common,"onBackground"),$e(u,"divider"),Object.keys(u).forEach(j=>{const G=u[j];j!=="tonalOffset"&&G&&typeof G=="object"&&(G.main&&w(u[j],"mainChannel",Vt(Pt(G.main))),G.light&&w(u[j],"lightChannel",Vt(Pt(G.light))),G.dark&&w(u[j],"darkChannel",Vt(Pt(G.dark))),G.contrastText&&w(u[j],"contrastTextChannel",Vt(Pt(G.contrastText))),j==="text"&&($e(u[j],"primary"),$e(u[j],"secondary")),j==="action"&&(G.active&&$e(u[j],"active"),G.selected&&$e(u[j],"selected")))})}),T=t.reduce((N,u)=>ge(N,u),T);const M={prefix:s,disableCssColorScheme:a,shouldSkipGeneratingVar:l,getSelector:Il(T),enableContrastVars:n},{vars:$,generateThemeVars:k,generateStyleSheets:W}=Kn(T,M);return T.vars=$,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([N,u])=>{T[N]=u}),T.generateThemeVars=k,T.generateStyleSheets=W,T.generateSpacing=function(){return ra(d.spacing,or(this))},T.getColorSchemeSelector=Yn(i),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=l,T.unstable_sxConfig={...$t,...d==null?void 0:d.unstable_sxConfig},T.unstable_sx=function(u){return ot({sx:u,theme:this})},T.toRuntimeSource=Sa,T}function Mo(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Zr({...r===!0?{}:r.palette,mode:t})})}function Xr(e={},...t){const{palette:r,cssVariables:o=!1,colorSchemes:a=r?void 0:{light:!0},defaultColorScheme:s=r==null?void 0:r.mode,...n}=e,l=s||"light",i=a==null?void 0:a[l],c={...a,...r?{[l]:{...typeof i!="boolean"&&i,palette:r}}:void 0};if(o===!1){if(!("colorSchemes"in e))return jr(e,...t);let d=r;"palette"in e||c[l]&&(c[l]!==!0?d=c[l].palette:l==="dark"&&(d={mode:"dark"}));const p=jr({...e,palette:d},...t);return p.defaultColorScheme=l,p.colorSchemes=c,p.palette.mode==="light"&&(p.colorSchemes.light={...c.light!==!0&&c.light,palette:p.palette},Mo(p,"dark",c.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:p.palette},Mo(p,"light",c.light)),p}return!r&&!("light"in c)&&l==="light"&&(c.light=!0),Al({...n,colorSchemes:c,defaultColorScheme:l,...typeof o!="boolean"&&o},...t)}const mr=Xr();function yr(){const e=dr(mr);return process.env.NODE_ENV!=="production"&&L.useDebugValue(e),e[Mt]||e}function ga(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const eo=e=>ga(e)&&e!=="classes",be=ca({themeId:Mt,defaultTheme:mr,rootShouldForwardProp:eo}),El=Ue("MuiBox",["root"]),Ul=Xr(),It=Rn({themeId:Mt,defaultTheme:Ul,defaultClassName:El.root,generateClassName:aa.generate});process.env.NODE_ENV!=="production"&&(It.propTypes={children:h.node,component:h.elementType,sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object])});function va(e){return H.jsx(oa,{...e,defaultTheme:mr,themeId:Mt})}process.env.NODE_ENV!=="production"&&(va.propTypes={styles:h.oneOfType([h.array,h.func,h.number,h.object,h.string,h.bool])});function _l(e){return function(r){return H.jsx(va,{styles:typeof e=="function"?o=>e({theme:o,...r}):e})}}function Bl(){return Kr}const _e=Hn;process.env.NODE_ENV!=="production"&&(h.node,h.object.isRequired);function ke(e){return Gn(e)}function jl(e){return Ee("MuiSvgIcon",e)}Ue("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ml=e=>{const{color:t,fontSize:r,classes:o}=e,a={root:["root",t!=="inherit"&&`color${z(t)}`,`fontSize${z(r)}`]};return qe(a,jl,o)},kl=be("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${z(r.color)}`],t[`fontSize${z(r.fontSize)}`]]}})(_e(({theme:e})=>{var t,r,o,a,s,n,l,i,c,d,p,m,f,S;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(a=(t=e.transitions)==null?void 0:t.create)==null?void 0:a.call(t,"fill",{duration:(o=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:o.shorter}),variants:[{props:b=>!b.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((n=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:n.call(s,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((i=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:i.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,b])=>b&&b.main).map(([b])=>{var _,D;return{props:{color:b},style:{color:(D=(_=(e.vars??e).palette)==null?void 0:_[b])==null?void 0:D.main}}}),{props:{color:"action"},style:{color:(m=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(S=(f=(e.vars??e).palette)==null?void 0:f.action)==null?void 0:S.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ut=L.forwardRef(function(t,r){const o=ke({props:t,name:"MuiSvgIcon"}),{children:a,className:s,color:n="inherit",component:l="svg",fontSize:i="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:p,viewBox:m="0 0 24 24",...f}=o,S=L.isValidElement(a)&&a.type==="svg",b={...o,color:n,component:l,fontSize:i,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:S},_={};d||(_.viewBox=m);const D=Ml(b);return H.jsxs(kl,{as:l,className:ie(D.root,s),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,..._,...f,...S&&a.props,ownerState:b,children:[S?a.props.children:a,p?H.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Ut.propTypes={children:h.node,classes:h.object,className:h.string,color:h.oneOfType([h.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),h.string]),component:h.elementType,fontSize:h.oneOfType([h.oneOf(["inherit","large","medium","small"]),h.string]),htmlColor:h.string,inheritViewBox:h.bool,shapeRendering:h.string,sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object]),titleAccess:h.string,viewBox:h.string});Ut.muiName="SvgIcon";function Nt(e,t){function r(o,a){return H.jsx(Ut,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:a,...o,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ut.muiName,L.memo(L.forwardRef(r))}function Va(e,t,r,o,a){if(process.env.NODE_ENV==="production")return null;const s=a||t;return typeof e[t]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function wt(e){const t=L.useRef(e);return pa(()=>{t.current=e}),L.useRef((...r)=>(0,t.current)(...r)).current}function _t(...e){const t=L.useRef(void 0),r=L.useCallback(o=>{const a=e.map(s=>{if(s==null)return null;if(typeof s=="function"){const n=s,l=n(o);return typeof l=="function"?l:()=>{n(null)}}return s.current=o,()=>{s.current=null}});return()=>{a.forEach(s=>s==null?void 0:s())}},e);return L.useMemo(()=>e.every(o=>o==null)?null:o=>{t.current&&(t.current(),t.current=void 0),o!=null&&(t.current=r(o))},e)}const Pa=h.oneOfType([h.func,h.object]);function br(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...o){return e(...o)||t(...o)}}function $l(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Nl(e,t,r,o,a){const s=e[t],n=a||t;if(s==null||typeof window>"u")return null;let l;return typeof s=="function"&&!$l(s)&&(l="Did you accidentally provide a plain function component instead?"),s===L.Fragment&&(l="Did you accidentally provide a React.Fragment instead?"),l!==void 0?new Error(`Invalid ${o} \`${n}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const xa=br(h.elementType,Nl);function kr(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!window.navigator.userAgent.includes("jsdom")&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
77
|
-
`))}return!1}const ko={};function Ia(e,t){const r=L.useRef(ko);return r.current===ko&&(r.current=e(t)),r}class Kt{constructor(){yt(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Kt}static use(){const t=Ia(Kt.create).current,[r,o]=L.useState(!1);return t.shouldMount=r,t.setShouldMount=o,L.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=Fl(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function Ll(){return Kt.use()}function Fl(){let e,t;const r=new Promise((o,a)=>{e=o,t=a});return r.resolve=e,r.reject=t,r}function Yt(){return Yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Yt.apply(null,arguments)}function wa(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function $r(e,t){return $r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},$r(e,t)}function Ra(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$r(e,t)}const Nr=ye.createContext(null);function Dl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function to(e,t){var r=function(s){return t&&ye.isValidElement(s)?t(s):s},o=Object.create(null);return e&&ye.Children.map(e,function(a){return a}).forEach(function(a){o[a.key]=r(a)}),o}function Gl(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var o=Object.create(null),a=[];for(var s in e)s in t?a.length&&(o[s]=a,a=[]):a.push(s);var n,l={};for(var i in t){if(o[i])for(n=0;n<o[i].length;n++){var c=o[i][n];l[o[i][n]]=r(c)}l[i]=r(i)}for(n=0;n<a.length;n++)l[a[n]]=r(a[n]);return l}function rt(e,t,r){return r[t]!=null?r[t]:e.props[t]}function ql(e,t){return to(e.children,function(r){return ye.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:rt(r,"appear",e),enter:rt(r,"enter",e),exit:rt(r,"exit",e)})})}function zl(e,t,r){var o=to(e.children),a=Gl(t,o);return Object.keys(a).forEach(function(s){var n=a[s];if(ye.isValidElement(n)){var l=s in t,i=s in o,c=t[s],d=ye.isValidElement(c)&&!c.props.in;i&&(!l||d)?a[s]=ye.cloneElement(n,{onExited:r.bind(null,n),in:!0,exit:rt(n,"exit",e),enter:rt(n,"enter",e)}):!i&&l&&!d?a[s]=ye.cloneElement(n,{in:!1}):i&&l&&ye.isValidElement(c)&&(a[s]=ye.cloneElement(n,{onExited:r.bind(null,n),in:c.props.in,exit:rt(n,"exit",e),enter:rt(n,"enter",e)}))}}),a}var Hl=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Wl={component:"div",childFactory:function(t){return t}},ro=(function(e){Ra(t,e);function t(o,a){var s;s=e.call(this,o,a)||this;var n=s.handleExited.bind(Dl(s));return s.state={contextValue:{isMounting:!0},handleExited:n,firstRender:!0},s}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(a,s){var n=s.children,l=s.handleExited,i=s.firstRender;return{children:i?ql(a,l):zl(a,n,l),firstRender:!1}},r.handleExited=function(a,s){var n=to(this.props.children);a.key in n||(a.props.onExited&&a.props.onExited(s),this.mounted&&this.setState(function(l){var i=Yt({},l.children);return delete i[a.key],{children:i}}))},r.render=function(){var a=this.props,s=a.component,n=a.childFactory,l=wa(a,["component","childFactory"]),i=this.state.contextValue,c=Hl(this.state.children).map(n);return delete l.appear,delete l.enter,delete l.exit,s===null?ye.createElement(Nr.Provider,{value:i},c):ye.createElement(Nr.Provider,{value:i},ye.createElement(s,l,c))},t})(ye.Component);ro.propTypes=process.env.NODE_ENV!=="production"?{component:h.any,children:h.node,appear:h.bool,enter:h.bool,exit:h.bool,childFactory:h.func}:{};ro.defaultProps=Wl;const Ql=[];function Jl(e){L.useEffect(e,Ql)}class fr{constructor(){yt(this,"currentId",null);yt(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});yt(this,"disposeEffect",()=>this.clear)}static create(){return new fr}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Ta(){const e=Ia(fr.create).current;return Jl(e.disposeEffect),e}function Aa(e){const{className:t,classes:r,pulsate:o=!1,rippleX:a,rippleY:s,rippleSize:n,in:l,onExited:i,timeout:c}=e,[d,p]=L.useState(!1),m=ie(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),f={width:n,height:n,top:-(n/2)+s,left:-(n/2)+a},S=ie(r.child,d&&r.childLeaving,o&&r.childPulsate);return!l&&!d&&p(!0),L.useEffect(()=>{if(!l&&i!=null){const b=setTimeout(i,c);return()=>{clearTimeout(b)}}},[i,l,c]),H.jsx("span",{className:m,style:f,children:H.jsx("span",{className:S})})}process.env.NODE_ENV!=="production"&&(Aa.propTypes={classes:h.object.isRequired,className:h.string,in:h.bool,onExited:h.func,pulsate:h.bool,rippleSize:h.number,rippleX:h.number,rippleY:h.number,timeout:h.number.isRequired});const we=Ue("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Lr=550,Kl=80,Yl=Ge.keyframes`
|
|
78
|
-
0% {
|
|
79
|
-
transform: scale(0);
|
|
80
|
-
opacity: 0.1;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
100% {
|
|
84
|
-
transform: scale(1);
|
|
85
|
-
opacity: 0.3;
|
|
86
|
-
}
|
|
87
|
-
`,Zl=Ge.keyframes`
|
|
88
|
-
0% {
|
|
89
|
-
opacity: 1;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
100% {
|
|
93
|
-
opacity: 0;
|
|
94
|
-
}
|
|
95
|
-
`,Xl=Ge.keyframes`
|
|
96
|
-
0% {
|
|
97
|
-
transform: scale(1);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
50% {
|
|
101
|
-
transform: scale(0.92);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
100% {
|
|
105
|
-
transform: scale(1);
|
|
106
|
-
}
|
|
107
|
-
`,ei=be("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ti=be(Aa,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
108
|
-
opacity: 0;
|
|
109
|
-
position: absolute;
|
|
110
|
-
|
|
111
|
-
&.${we.rippleVisible} {
|
|
112
|
-
opacity: 0.3;
|
|
113
|
-
transform: scale(1);
|
|
114
|
-
animation-name: ${Yl};
|
|
115
|
-
animation-duration: ${Lr}ms;
|
|
116
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&.${we.ripplePulsate} {
|
|
120
|
-
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
& .${we.child} {
|
|
124
|
-
opacity: 1;
|
|
125
|
-
display: block;
|
|
126
|
-
width: 100%;
|
|
127
|
-
height: 100%;
|
|
128
|
-
border-radius: 50%;
|
|
129
|
-
background-color: currentColor;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
& .${we.childLeaving} {
|
|
133
|
-
opacity: 0;
|
|
134
|
-
animation-name: ${Zl};
|
|
135
|
-
animation-duration: ${Lr}ms;
|
|
136
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
& .${we.childPulsate} {
|
|
140
|
-
position: absolute;
|
|
141
|
-
/* @noflip */
|
|
142
|
-
left: 0px;
|
|
143
|
-
top: 0;
|
|
144
|
-
animation-name: ${Xl};
|
|
145
|
-
animation-duration: 2500ms;
|
|
146
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
147
|
-
animation-iteration-count: infinite;
|
|
148
|
-
animation-delay: 200ms;
|
|
149
|
-
}
|
|
150
|
-
`,Ea=L.forwardRef(function(t,r){const o=ke({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:s={},className:n,...l}=o,[i,c]=L.useState([]),d=L.useRef(0),p=L.useRef(null);L.useEffect(()=>{p.current&&(p.current(),p.current=null)},[i]);const m=L.useRef(!1),f=Ta(),S=L.useRef(null),b=L.useRef(null),_=L.useCallback(B=>{const{pulsate:U,rippleX:T,rippleY:M,rippleSize:$,cb:k}=B;c(W=>[...W,H.jsx(ti,{classes:{ripple:ie(s.ripple,we.ripple),rippleVisible:ie(s.rippleVisible,we.rippleVisible),ripplePulsate:ie(s.ripplePulsate,we.ripplePulsate),child:ie(s.child,we.child),childLeaving:ie(s.childLeaving,we.childLeaving),childPulsate:ie(s.childPulsate,we.childPulsate)},timeout:Lr,pulsate:U,rippleX:T,rippleY:M,rippleSize:$},d.current)]),d.current+=1,p.current=k},[s]),D=L.useCallback((B={},U={},T=()=>{})=>{const{pulsate:M=!1,center:$=a||U.pulsate,fakeElement:k=!1}=U;if((B==null?void 0:B.type)==="mousedown"&&m.current){m.current=!1;return}(B==null?void 0:B.type)==="touchstart"&&(m.current=!0);const W=k?null:b.current,N=W?W.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,R,E;if($||B===void 0||B.clientX===0&&B.clientY===0||!B.clientX&&!B.touches)u=Math.round(N.width/2),R=Math.round(N.height/2);else{const{clientX:j,clientY:G}=B.touches&&B.touches.length>0?B.touches[0]:B;u=Math.round(j-N.left),R=Math.round(G-N.top)}if($)E=Math.sqrt((2*N.width**2+N.height**2)/3),E%2===0&&(E+=1);else{const j=Math.max(Math.abs((W?W.clientWidth:0)-u),u)*2+2,G=Math.max(Math.abs((W?W.clientHeight:0)-R),R)*2+2;E=Math.sqrt(j**2+G**2)}B!=null&&B.touches?S.current===null&&(S.current=()=>{_({pulsate:M,rippleX:u,rippleY:R,rippleSize:E,cb:T})},f.start(Kl,()=>{S.current&&(S.current(),S.current=null)})):_({pulsate:M,rippleX:u,rippleY:R,rippleSize:E,cb:T})},[a,_,f]),q=L.useCallback(()=>{D({},{pulsate:!0})},[D]),K=L.useCallback((B,U)=>{if(f.clear(),(B==null?void 0:B.type)==="touchend"&&S.current){S.current(),S.current=null,f.start(0,()=>{K(B,U)});return}S.current=null,c(T=>T.length>0?T.slice(1):T),p.current=U},[f]);return L.useImperativeHandle(r,()=>({pulsate:q,start:D,stop:K}),[q,D,K]),H.jsx(ei,{className:ie(we.root,s.root,n),ref:b,...l,children:H.jsx(ro,{component:null,exit:!0,children:i})})});process.env.NODE_ENV!=="production"&&(Ea.propTypes={center:h.bool,classes:h.object,className:h.string});function ri(e){return Ee("MuiButtonBase",e)}const oi=Ue("MuiButtonBase",["root","disabled","focusVisible"]),ai=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:o,classes:a}=e,n=qe({root:["root",t&&"disabled",r&&"focusVisible"]},ri,a);return r&&o&&(n.root+=` ${o}`),n},si=be("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${oi.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Bt=L.forwardRef(function(t,r){const o=ke({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:s=!1,children:n,className:l,component:i="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:m=!1,focusVisibleClassName:f,LinkComponent:S="a",onBlur:b,onClick:_,onContextMenu:D,onDragLeave:q,onFocus:K,onFocusVisible:B,onKeyDown:U,onKeyUp:T,onMouseDown:M,onMouseLeave:$,onMouseUp:k,onTouchEnd:W,onTouchMove:N,onTouchStart:u,tabIndex:R=0,TouchRippleProps:E,touchRippleRef:j,type:G,...F}=o,X=L.useRef(null),ee=Ll(),ze=_t(ee.ref,j),[A,Q]=L.useState(!1);c&&A&&Q(!1),L.useImperativeHandle(a,()=>({focusVisible:()=>{Q(!0),X.current.focus()}}),[]);const le=ee.shouldMount&&!d&&!c;L.useEffect(()=>{A&&m&&!d&&ee.pulsate()},[d,m,A,ee]);const de=Ne(ee,"start",M,p),He=Ne(ee,"stop",D,p),te=Ne(ee,"stop",q,p),re=Ne(ee,"stop",k,p),Oe=Ne(ee,"stop",J=>{A&&J.preventDefault(),$&&$(J)},p),ht=Ne(ee,"start",u,p),Cr=Ne(ee,"stop",W,p),Wa=Ne(ee,"stop",N,p),Qa=Ne(ee,"stop",J=>{kr(J.target)||Q(!1),b&&b(J)},!1),Ja=wt(J=>{X.current||(X.current=J.currentTarget),kr(J.target)&&(Q(!0),B&&B(J)),K&&K(J)}),gr=()=>{const J=X.current;return i&&i!=="button"&&!(J.tagName==="A"&&J.href)},Ka=wt(J=>{m&&!J.repeat&&A&&J.key===" "&&ee.stop(J,()=>{ee.start(J)}),J.target===J.currentTarget&&gr()&&J.key===" "&&J.preventDefault(),U&&U(J),J.target===J.currentTarget&&gr()&&J.key==="Enter"&&!c&&(J.preventDefault(),_&&_(J))}),Ya=wt(J=>{m&&J.key===" "&&A&&!J.defaultPrevented&&ee.stop(J,()=>{ee.pulsate(J)}),T&&T(J),_&&J.target===J.currentTarget&&gr()&&J.key===" "&&!J.defaultPrevented&&_(J)});let Lt=i;Lt==="button"&&(F.href||F.to)&&(Lt=S);const mt={};if(Lt==="button"){const J=!!F.formAction;mt.type=G===void 0&&!J?"button":G,mt.disabled=c}else!F.href&&!F.to&&(mt.role="button"),c&&(mt["aria-disabled"]=c);const Za=_t(r,X),io={...o,centerRipple:s,component:i,disabled:c,disableRipple:d,disableTouchRipple:p,focusRipple:m,tabIndex:R,focusVisible:A},Xa=ai(io);return H.jsxs(si,{as:Lt,className:ie(Xa.root,l),ownerState:io,onBlur:Qa,onClick:_,onContextMenu:He,onFocus:Ja,onKeyDown:Ka,onKeyUp:Ya,onMouseDown:de,onMouseLeave:Oe,onMouseUp:re,onDragLeave:te,onTouchEnd:Cr,onTouchMove:Wa,onTouchStart:ht,ref:Za,tabIndex:c?-1:R,type:G,...mt,...F,children:[n,le?H.jsx(Ea,{ref:ze,center:s,...E}):null]})});function Ne(e,t,r,o=!1){return wt(a=>(r&&r(a),o||e[t](a),!0))}process.env.NODE_ENV!=="production"&&(Bt.propTypes={action:Pa,centerRipple:h.bool,children:h.node,classes:h.object,className:h.string,component:xa,disabled:h.bool,disableRipple:h.bool,disableTouchRipple:h.bool,focusRipple:h.bool,focusVisibleClassName:h.string,formAction:h.oneOfType([h.func,h.string]),href:h.any,LinkComponent:h.elementType,onBlur:h.func,onClick:h.func,onContextMenu:h.func,onDragLeave:h.func,onFocus:h.func,onFocusVisible:h.func,onKeyDown:h.func,onKeyUp:h.func,onMouseDown:h.func,onMouseLeave:h.func,onMouseUp:h.func,onTouchEnd:h.func,onTouchMove:h.func,onTouchStart:h.func,sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object]),tabIndex:h.number,TouchRippleProps:h.object,touchRippleRef:h.oneOfType([h.func,h.shape({current:h.shape({pulsate:h.func.isRequired,start:h.func.isRequired,stop:h.func.isRequired})})]),type:h.oneOfType([h.oneOf(["button","reset","submit"]),h.string])});function ni(e){return typeof e.main=="string"}function li(e,t=[]){if(!ni(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Qe(e=[]){return([,t])=>t&&li(t,e)}function ii(e){return Ee("MuiCircularProgress",e)}Ue("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Ae=44,Fr=Ge.keyframes`
|
|
151
|
-
0% {
|
|
152
|
-
transform: rotate(0deg);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
100% {
|
|
156
|
-
transform: rotate(360deg);
|
|
157
|
-
}
|
|
158
|
-
`,Dr=Ge.keyframes`
|
|
159
|
-
0% {
|
|
160
|
-
stroke-dasharray: 1px, 200px;
|
|
161
|
-
stroke-dashoffset: 0;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
50% {
|
|
165
|
-
stroke-dasharray: 100px, 200px;
|
|
166
|
-
stroke-dashoffset: -15px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
100% {
|
|
170
|
-
stroke-dasharray: 1px, 200px;
|
|
171
|
-
stroke-dashoffset: -126px;
|
|
172
|
-
}
|
|
173
|
-
`,ci=typeof Fr!="string"?Ge.css`
|
|
174
|
-
animation: ${Fr} 1.4s linear infinite;
|
|
175
|
-
`:null,di=typeof Dr!="string"?Ge.css`
|
|
176
|
-
animation: ${Dr} 1.4s ease-in-out infinite;
|
|
177
|
-
`:null,pi=e=>{const{classes:t,variant:r,color:o,disableShrink:a}=e,s={root:["root",r,`color${z(o)}`],svg:["svg"],track:["track"],circle:["circle",`circle${z(r)}`,a&&"circleDisableShrink"]};return qe(s,ii,t)},ui=be("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${z(r.color)}`]]}})(_e(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ci||{animation:`${Fr} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Qe()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),hi=be("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),mi=be("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${z(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(_e(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:di||{animation:`${Dr} 1.4s ease-in-out infinite`}}]}))),yi=be("circle",{name:"MuiCircularProgress",slot:"Track"})(_e(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),oo=L.forwardRef(function(t,r){const o=ke({props:t,name:"MuiCircularProgress"}),{className:a,color:s="primary",disableShrink:n=!1,enableTrackSlot:l=!1,size:i=40,style:c,thickness:d=3.6,value:p=0,variant:m="indeterminate",...f}=o,S={...o,color:s,disableShrink:n,size:i,thickness:d,value:p,variant:m,enableTrackSlot:l},b=pi(S),_={},D={},q={};if(m==="determinate"){const K=2*Math.PI*((Ae-d)/2);_.strokeDasharray=K.toFixed(3),q["aria-valuenow"]=Math.round(p),_.strokeDashoffset=`${((100-p)/100*K).toFixed(3)}px`,D.transform="rotate(-90deg)"}return H.jsx(ui,{className:ie(b.root,a),style:{width:i,height:i,...D,...c},ownerState:S,ref:r,role:"progressbar",...q,...f,children:H.jsxs(hi,{className:b.svg,ownerState:S,viewBox:`${Ae/2} ${Ae/2} ${Ae} ${Ae}`,children:[l?H.jsx(yi,{className:b.track,ownerState:S,cx:Ae,cy:Ae,r:(Ae-d)/2,fill:"none",strokeWidth:d,"aria-hidden":"true"}):null,H.jsx(mi,{className:b.circle,style:_,ownerState:S,cx:Ae,cy:Ae,r:(Ae-d)/2,fill:"none",strokeWidth:d})]})})});process.env.NODE_ENV!=="production"&&(oo.propTypes={classes:h.object,className:h.string,color:h.oneOfType([h.oneOf(["inherit","primary","secondary","error","info","success","warning"]),h.string]),disableShrink:br(h.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:h.bool,size:h.oneOfType([h.number,h.string]),style:h.object,sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object]),thickness:h.number,value:h.number,variant:h.oneOf(["determinate","indeterminate"])});function bi(e){return Ee("MuiButton",e)}const Xe=Ue("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Ua=L.createContext({});process.env.NODE_ENV!=="production"&&(Ua.displayName="ButtonGroupContext");const _a=L.createContext(void 0);process.env.NODE_ENV!=="production"&&(_a.displayName="ButtonGroupButtonContext");const fi=e=>{const{color:t,disableElevation:r,fullWidth:o,size:a,variant:s,loading:n,loadingPosition:l,classes:i}=e,c={root:["root",n&&"loading",s,`${s}${z(t)}`,`size${z(a)}`,`${s}Size${z(a)}`,`color${z(t)}`,r&&"disableElevation",o&&"fullWidth",n&&`loadingPosition${z(l)}`],startIcon:["icon","startIcon",`iconSize${z(a)}`],endIcon:["icon","endIcon",`iconSize${z(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=qe(c,bi,i);return{...i,...d}},Ba=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Si=be(Bt,{shouldForwardProp:e=>eo(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${z(r.color)}`],t[`size${z(r.size)}`],t[`${r.variant}Size${z(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(_e(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Xe.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Xe.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Xe.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Xe.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Qe()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(e.vars||e).palette[o].main,"--variant-outlinedColor":(e.vars||e).palette[o].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[o].main,.5),"--variant-containedColor":(e.vars||e).palette[o].contrastText,"--variant-containedBg":(e.vars||e).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[o].dark,"--variant-textBg":e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[o].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Xe.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Xe.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Xe.loading}`]:{color:"transparent"}}}]}})),Oi=be("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${z(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Ba]})),Ci=be("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${z(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Ba]})),gi=be("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),$o=be("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),ao=L.forwardRef(function(t,r){const o=L.useContext(Ua),a=L.useContext(_a),s=Tt(o,t),n=ke({props:s,name:"MuiButton"}),{children:l,color:i="primary",component:c="button",className:d,disabled:p=!1,disableElevation:m=!1,disableFocusRipple:f=!1,endIcon:S,focusVisibleClassName:b,fullWidth:_=!1,id:D,loading:q=null,loadingIndicator:K,loadingPosition:B="center",size:U="medium",startIcon:T,type:M,variant:$="text",...k}=n,W=ma(D),N=K??H.jsx(oo,{"aria-labelledby":W,color:"inherit",size:16}),u={...n,color:i,component:c,disabled:p,disableElevation:m,disableFocusRipple:f,fullWidth:_,loading:q,loadingIndicator:N,loadingPosition:B,size:U,type:M,variant:$},R=fi(u),E=(T||q&&B==="start")&&H.jsx(Oi,{className:R.startIcon,ownerState:u,children:T||H.jsx($o,{className:R.loadingIconPlaceholder,ownerState:u})}),j=(S||q&&B==="end")&&H.jsx(Ci,{className:R.endIcon,ownerState:u,children:S||H.jsx($o,{className:R.loadingIconPlaceholder,ownerState:u})}),G=a||"",F=typeof q=="boolean"?H.jsx("span",{className:R.loadingWrapper,style:{display:"contents"},children:q&&H.jsx(gi,{className:R.loadingIndicator,ownerState:u,children:N})}):null;return H.jsxs(Si,{ownerState:u,className:ie(o.className,R.root,d,G),component:c,disabled:p||q,focusRipple:!f,focusVisibleClassName:ie(R.focusVisible,b),ref:r,type:M,id:q?W:D,...k,classes:R,children:[E,B!=="end"&&F,l,B==="end"&&F,j]})});process.env.NODE_ENV!=="production"&&(ao.propTypes={children:h.node,classes:h.object,className:h.string,color:h.oneOfType([h.oneOf(["inherit","primary","secondary","success","error","info","warning"]),h.string]),component:h.elementType,disabled:h.bool,disableElevation:h.bool,disableFocusRipple:h.bool,disableRipple:h.bool,endIcon:h.node,focusVisibleClassName:h.string,fullWidth:h.bool,href:h.string,id:h.string,loading:h.bool,loadingIndicator:h.node,loadingPosition:h.oneOf(["center","end","start"]),size:h.oneOfType([h.oneOf(["small","medium","large"]),h.string]),startIcon:h.node,sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object]),type:h.oneOfType([h.oneOf(["button","reset","submit"]),h.string]),variant:h.oneOfType([h.oneOf(["contained","outlined","text"]),h.string])});function vi(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function ja(e,t,r,o){const a=e[t];if(a==null||!Number.isInteger(a)){const s=vi(a);return new RangeError(`Invalid ${o} \`${t}\` of type \`${s}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function Ma(e,t,r,o){return e[t]===void 0?null:ja(e,t,r,o)}function Gr(){return null}Ma.isRequired=ja;Gr.isRequired=Gr;const ka=process.env.NODE_ENV==="production"?Gr:Ma;function Vi(e){return Ee("MuiPaper",e)}Ue("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Pi=e=>{const{square:t,elevation:r,variant:o,classes:a}=e,s={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${r}`]};return qe(s,Vi,a)},xi=be("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(_e(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),$a=L.forwardRef(function(t,r){var f;const o=ke({props:t,name:"MuiPaper"}),a=yr(),{className:s,component:n="div",elevation:l=1,square:i=!1,variant:c="elevation",...d}=o,p={...o,component:n,elevation:l,square:i,variant:c},m=Pi(p);return process.env.NODE_ENV!=="production"&&a.shadows[l]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
|
|
178
|
-
`)),H.jsx(xi,{as:n,ownerState:p,className:ie(m.root,s),ref:r,...d,style:{...c==="elevation"&&{"--Paper-shadow":(a.vars||a).shadows[l],...a.vars&&{"--Paper-overlay":(f=a.vars.overlays)==null?void 0:f[l]},...!a.vars&&a.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${At("#fff",Mr(l))}, ${At("#fff",Mr(l))})`}},...d.style}})});process.env.NODE_ENV!=="production"&&($a.propTypes={children:h.node,classes:h.object,className:h.string,component:h.elementType,elevation:br(ka,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:h.bool,style:h.object,sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object]),variant:h.oneOfType([h.oneOf(["elevation","outlined"]),h.string])});function Ii(e){return Ee("MuiDivider",e)}const wi=Ue("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ri=e=>{const{absolute:t,children:r,classes:o,flexItem:a,light:s,orientation:n,textAlign:l,variant:i}=e;return qe({root:["root",t&&"absolute",i,s&&"light",n==="vertical"&&"vertical",a&&"flexItem",r&&"withChildren",r&&n==="vertical"&&"withChildrenVertical",l==="right"&&n!=="vertical"&&"textAlignRight",l==="left"&&n!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",n==="vertical"&&"wrapperVertical"]},Ii,o)},Ti=be("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(_e(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),Ai=be("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(_e(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Zt=L.forwardRef(function(t,r){const o=ke({props:t,name:"MuiDivider"}),{absolute:a=!1,children:s,className:n,orientation:l="horizontal",component:i=s||l==="vertical"?"div":"hr",flexItem:c=!1,light:d=!1,role:p=i!=="hr"?"separator":void 0,textAlign:m="center",variant:f="fullWidth",...S}=o,b={...o,absolute:a,component:i,flexItem:c,light:d,orientation:l,role:p,textAlign:m,variant:f},_=Ri(b);return H.jsx(Ti,{as:i,className:ie(_.root,n),role:p,ref:r,ownerState:b,"aria-orientation":p==="separator"&&(i!=="hr"||l==="vertical")?l:void 0,...S,children:s?H.jsx(Ai,{className:_.wrapper,ownerState:b,children:s}):null})});Zt&&(Zt.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Zt.propTypes={absolute:h.bool,children:h.node,classes:h.object,className:h.string,component:h.elementType,flexItem:h.bool,light:h.bool,orientation:h.oneOf(["horizontal","vertical"]),role:h.string,sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object]),textAlign:h.oneOf(["center","left","right"]),variant:h.oneOfType([h.oneOf(["fullWidth","inset","middle"]),h.string])});function Ei(e){return Ee("MuiTypography",e)}Ue("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ui={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},_i=Bl(),Bi=e=>{const{align:t,gutterBottom:r,noWrap:o,paragraph:a,variant:s,classes:n}=e,l={root:["root",s,e.align!=="inherit"&&`align${z(t)}`,r&&"gutterBottom",o&&"noWrap",a&&"paragraph"]};return qe(l,Ei,n)},ji=be("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${z(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(_e(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([r,o])=>r!=="inherit"&&o&&typeof o=="object").map(([r,o])=>({props:{variant:r},style:o})),...Object.entries(e.palette).filter(Qe()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${z(r)}`},style:{color:(e.vars||e).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),No={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Sr=L.forwardRef(function(t,r){const{color:o,...a}=ke({props:t,name:"MuiTypography"}),s=!Ui[o],n=_i({...a,...s&&{color:o}}),{align:l="inherit",className:i,component:c,gutterBottom:d=!1,noWrap:p=!1,paragraph:m=!1,variant:f="body1",variantMapping:S=No,...b}=n,_={...n,align:l,color:o,className:i,component:c,gutterBottom:d,noWrap:p,paragraph:m,variant:f,variantMapping:S},D=c||(m?"p":S[f]||No[f])||"span",q=Bi(_);return H.jsx(ji,{as:D,ref:r,className:ie(q.root,i),...b,ownerState:_,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...b.style}})});process.env.NODE_ENV!=="production"&&(Sr.propTypes={align:h.oneOf(["center","inherit","justify","left","right"]),children:h.node,classes:h.object,className:h.string,color:h.oneOfType([h.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),h.string]),component:h.elementType,gutterBottom:h.bool,noWrap:h.bool,paragraph:h.bool,style:h.object,sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object]),variant:h.oneOfType([h.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),h.string]),variantMapping:h.object});const Mi={"Jogging.Cartesian.Translation.velocityMmPerSec.lb":"{{amount}} mm/s","Jogging.Cartesian.Rotation.velocityDegPerSec.lb":"{{amount}}°/s","Jogging.Velocity.lb":"Geschwindigkeit","General.degree.variable":"{{amount}}°","General.mm.variable":"{{amount}} mm","Jogging.Blocked.ti":"Verbindung blockiert","Jogging.Blocked.lb":"Ein anderer Client kontrolliert das Jogging.","Jogging.Blocked.Reenable.bt":"Neu verbinden","Jogging.Cartesian.MotionType.lb":"Bewegungstyp","Jogging.Cartesian.Translation.bt":"Translation","Jogging.Cartesian.Rotation.bt":"Rotation","Jogging.Joints.JointValues.lb":"Gelenkwerte","Jogging.Increment.Continuous.dd":"Fortlaufend","Jogging.Cartesian.Orientation.lb":"Orientierung","Jogging.JointLimitsReached.lb":"Gelenkgrenzen für Gelenk {{jointNumbers}} erreicht","Jogging.Orientation.coordsys":"Roboterbasis","Jogging.Orientation.tool":"Werkzeug","SafetyBar.ActivationToggle.Activate.bt":"Aktivieren","SafetyBar.ActivationToggle.Activated.bt":"Aktiviert","SafetyBar.ActivationToggle.Activating.bt":"Wird aktiviert…","SafetyBar.ActivationToggle.Deactivating.bt":"Wird deaktiviert…","SafetyBar.ControllerType.Physical.lb":"Physisch","SafetyBar.ControllerType.Virtual.lb":"Virtuell","SafetyBar.MotionGroup.Physical.Explanation.lb":"<code>{{motionGroupId}}</code> ist ein physische Robotersteuerung. Für die Bewegung dieses Roboters sind <strong>Sicherheitsmaßnahmen</strong> aktiv.","SafetyBar.MotionGroup.Virtual.Explanation.lb":"<1>{{motionGroupId}}</1> ist eine virtuelle Robotersteuerung ohne physisches Gegenstück. Der Roboter kann ohne Sicherheitsmaßnahmen bewegt werden.","SafetyBar.OperationMode.Auto.Explanation.lb":"Automatischer Betriebsmodus der Robotersteuerung aktiv. Automatisierte Bewegung ohne manuelle Bestätigung freigegeben.","SafetyBar.OperationMode.Automatic.ti":"Automatisch","SafetyBar.OperationMode.Error.Explanation.lb":"Fehler beim Abrufen des Betriebsmodus. Originalhandbediengerät des Roboters verwenden, um Fehler zu lösen.","SafetyBar.OperationMode.Error.lb":"Fehler","SafetyBar.OperationMode.Manual.Explanation.lb":`Die Robotersteuerung befindet sich im manuellen Betriebsmodus.
|
|
179
|
-
Bei einem physischen Roboter bedeutet dies im Allgemeinen, dass ein Freigabeschalter gedrückt werden muss, damit sich der Roboter erfolgreich bewegen kann.`,"SafetyBar.OperationMode.Manual.lb":"Manuell","SafetyBar.OperationMode.ti":"Betriebsmodus","SafetyBar.SafetyState.Error.Explanation.lb":"Die Robotersteuerung ist in einen unerwarteten Sicherheitszustand eingetreten.","SafetyBar.SafetyState.Error.lb":"Fehler","SafetyBar.SafetyState.Estop.lb":"NOT-AUS","SafetyBar.SafetyState.ManualActionRequired.Explanation.lb":"Die Robotersteuerung ist in einen Sicherheitszustand eingetreten, der manuelle Maßnahmen zur Behebung erfordert.","SafetyBar.SafetyState.ManualActionRequired.lb":"Aktion erforderlich","SafetyBar.SafetyState.Normal.Explanation.lb":"Die Robotersteuerung befindet sich in einem sicheren Zustand. Roboterbewegungen sind möglich.","SafetyBar.SafetyState.Normal.lb":"Sicher","SafetyBar.SafetyState.Stop.Explanation.lb":"Die Robotersteuerung ist in einen Stoppzustand übergegangen. Bis der Stoppzustand aufgelöst ist, ist keine Bewegung mehr möglich.","SafetyBar.SafetyState.Stop.lb":"Stopp","SafetyBar.SafetyState.ti":"Sicherheitszustand","SafetyBar.StopState.Estop.Explanation.lb":"NOT-AUS aktiviert. NOT-AUS freischalten, um Roboter zu bewegen.","Jogging.Increment.hlb":"Schrittgröße","Jogging.CoordinateSystem.hlb":"Koordinatensystem","Jogging.Cartesian.bt":"Kartesisch","Jogging.Joints.bt":"Gelenke","Jogging.Velocity.bt":"Geschwindigkeit","CycleTimer.RemainingTime.lb":"Verbleibende Zeit","CycleTimer.OfTime.lb":"von {{time}}","CycleTimer.Time.lb":"{{time}}","CycleTimer.Error.lb":"Fehler","CycleTimer.WaitingForCycle.lb":"Warten auf Programmzyklus","CycleTimer.CycleTime.lb":"Zykluszeit","CycleTimer.Measuring.lb":"wird gemessen...","CycleTimer.Determined.lb":"bestimmt","Timer.error":"Fehler","ProgramControl.Start.bt":"Start","ProgramControl.Resume.bt":"Weiter","ProgramControl.Retry.bt":"Wiederholen","ProgramControl.Pause.bt":"Pause","ProgramControl.Stop.bt":"Stopp","ProgramStateIndicator.Preparing.lb":"Vorbereitung","ProgramStateIndicator.Starting.lb":"Startet","ProgramStateIndicator.Running.lb":"In Betrieb","ProgramStateIndicator.Pausing.lb":"Pausiert","ProgramStateIndicator.Stopping.lb":"Stoppt","ProgramStateIndicator.Completed.lb":"Abgeschlossen","ProgramStateIndicator.Failed.lb":"Fehlgeschlagen","ProgramStateIndicator.Error.lb":"Fehler","ProgramStateIndicator.EStop.lb":"Not-Aus","ProgramStateIndicator.Idle.lb":"Leerlauf","ProgramStateIndicator.Paused.lb":"Pausiert","ProgramStateIndicator.Ready.lb":"Bereit","ProgramStateIndicator.Stopped.lb":"Gestoppt","ProgramStateIndicator.Auto.lb":"Auto","ProgramStateIndicator.Manual.lb":"Manuell","ProgramStateIndicator.ManualT1.lb":"Manuell T1","ProgramStateIndicator.ManualT2.lb":"Manuell T2","RobotSetupReadinessIndicator.Ready.lb":"Bereit","RobotSetupReadinessIndicator.RobotDisconnected.lb":"Roboter getrennt","RobotSetupReadinessIndicator.CellOpen.lb":"Zelle offen","RobotSetupReadinessIndicator.EStop.lb":"Not-Stopp","RobotSetupReadinessIndicator.ManualMode.lb":"Manueller Modus","RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb":"Voraussetzung nicht erfüllt","RobotCard.Runtime.lb":"Laufzeit","RobotCard.DriveToHome.bt":"Zur Home-Position fahren"},ki={"Jogging.Cartesian.Translation.velocityMmPerSec.lb":"{{amount}} mm/s","Jogging.Cartesian.Rotation.velocityDegPerSec.lb":"{{amount}}°/s","Jogging.Velocity.lb":"Velocity","General.degree.variable":"{{amount}}°","General.mm.variable":"{{amount}} mm","Jogging.Blocked.ti":"Connection blocked","Jogging.Blocked.lb":"Another client is currently controlling the jogging.","Jogging.Blocked.Reenable.bt":"Reconnect","Jogging.Cartesian.MotionType.lb":"Motion type","Jogging.Cartesian.Translation.bt":"Translation","Jogging.Cartesian.Rotation.bt":"Rotation","Jogging.Joints.JointValues.lb":"Joint values","Jogging.Increment.Continuous.dd":"Continuous","Jogging.Cartesian.Orientation.lb":"Orientation","Jogging.Activating.lb":"Activating jogging","Jogging.JointLimitsReached.lb":"Joint limit reached for joint {{jointNumbers}}","Jogging.Orientation.coordsys":"Robot base","Jogging.Orientation.tool":"Tool","SafetyBar.ActivationToggle.Activate.bt":"Activate","SafetyBar.ActivationToggle.Activated.bt":"Activated","SafetyBar.ActivationToggle.Activating.bt":"Activating","SafetyBar.ActivationToggle.Deactivating.bt":"Deactivating","SafetyBar.ControllerType.Physical.lb":"Physical","SafetyBar.ControllerType.Virtual.lb":"Virtual","SafetyBar.MotionGroup.Physical.Explanation.lb":"<code>{{motionGroupId}}</code> is a physical robot controller. <strong>Safety precautions</strong> are active for the movement of this robot.","SafetyBar.MotionGroup.Virtual.Explanation.lb":"<1>{{motionGroupId}}</1> is a virtual robot controller with no physical counterpart. It can be freely manipulated without safety precautions.","SafetyBar.OperationMode.Auto.Explanation.lb":"Automatic operation mode active. Automated movement without manual confirmation enabled.","SafetyBar.OperationMode.Automatic.ti":"Automatic","SafetyBar.OperationMode.Error.Explanation.lb":"Failed to get operation mode. Use the original control panel to resolve the error.","SafetyBar.OperationMode.Error.lb":"Error","SafetyBar.OperationMode.Manual.Explanation.lb":"The robot controller is in manual operation mode. On a physical robot, this generally indicates that an enabling switch must be held for the robot to move successfully.","SafetyBar.OperationMode.Manual.lb":"Manual","SafetyBar.OperationMode.ti":"Operation mode","SafetyBar.SafetyState.Error.Explanation.lb":"The robot controller has entered an unexpected safety state.","SafetyBar.SafetyState.Error.lb":"Error","SafetyBar.SafetyState.Estop.lb":"E-Stop","SafetyBar.SafetyState.ManualActionRequired.Explanation.lb":"The robot controller has entered a safety state requiring manual action to resolve.","SafetyBar.SafetyState.ManualActionRequired.lb":"Action required","SafetyBar.SafetyState.Normal.Explanation.lb":"The robot controller is in a safe state. Robot movement is enabled.","SafetyBar.SafetyState.Normal.lb":"Safe","SafetyBar.SafetyState.Stop.Explanation.lb":"The robot controller has entered a stop state. Movement is no longer possible until the stop state is resolved.","SafetyBar.SafetyState.Stop.lb":"Stop","SafetyBar.SafetyState.ti":"Safety state","SafetyBar.StopState.Estop.Explanation.lb":"An emergency stop of the robot controller has been triggered. Movement of the robot is no longer possible until the estop is released.","Jogging.Increment.hlb":"Increment","Jogging.CoordinateSystem.hlb":"Coordinate system","Jogging.Cartesian.bt":"Cartesian","Jogging.Joints.bt":"Joints","Jogging.Velocity.bt":"Velocity","CycleTimer.RemainingTime.lb":"Time remaining","CycleTimer.OfTime.lb":"of {{time}}","CycleTimer.Time.lb":"{{time}}","CycleTimer.Error.lb":"Error","CycleTimer.WaitingForCycle.lb":"Waiting for program cycle","CycleTimer.CycleTime.lb":"Cycle Time","CycleTimer.Measuring.lb":"measuring...","CycleTimer.Determined.lb":"determined","Timer.error":"Error","ProgramControl.Start.bt":"Start","ProgramControl.Resume.bt":"Resume","ProgramControl.Retry.bt":"Retry","ProgramControl.Pause.bt":"Pause","ProgramControl.Stop.bt":"Stop","ProgramStateIndicator.Preparing.lb":"Preparing","ProgramStateIndicator.Starting.lb":"Starting","ProgramStateIndicator.Running.lb":"Running","ProgramStateIndicator.Pausing.lb":"Pausing","ProgramStateIndicator.Stopping.lb":"Stopping","ProgramStateIndicator.Completed.lb":"Completed","ProgramStateIndicator.Failed.lb":"Failed","ProgramStateIndicator.Error.lb":"Error","ProgramStateIndicator.EStop.lb":"E-Stop","ProgramStateIndicator.Idle.lb":"Idle","ProgramStateIndicator.Paused.lb":"Paused","ProgramStateIndicator.Ready.lb":"Ready","ProgramStateIndicator.Stopped.lb":"Stopped","ProgramStateIndicator.Auto.lb":"Auto","ProgramStateIndicator.Manual.lb":"Manual","ProgramStateIndicator.ManualT1.lb":"Manual T1","ProgramStateIndicator.ManualT2.lb":"Manual T2","RobotSetupReadinessIndicator.Ready.lb":"Ready","RobotSetupReadinessIndicator.RobotDisconnected.lb":"Robot disconnected","RobotSetupReadinessIndicator.CellOpen.lb":"Cell open","RobotSetupReadinessIndicator.EStop.lb":"E-Stop","RobotSetupReadinessIndicator.ManualMode.lb":"Manual mode","RobotSetupReadinessIndicator.PreconditionNotFulfilled.lb":"Precondition not fulfilled","RobotCard.Runtime.lb":"Runtime","RobotCard.DriveToHome.bt":"Drive to Home"},so=os.createInstance();so.use(as).init({supportedLngs:["en","de"],resources:{en:{translations:ki},de:{translations:Mi}},ns:["translations"],defaultNS:"translations",detection:{order:["navigator","htmlTag"]}});function no(e){return(r=>H.jsx($i,{children:H.jsx(e,{...r})}))}const $i=({children:e})=>H.jsx(Qr.I18nextProvider,{i18n:so,children:e}),Ni=Nt(H.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Li(e){return Ee("MuiChip",e)}const Z=Ue("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);function Na(e){return typeof e=="string"}function La(e,t,r){return e===void 0||Na(e)?t:{...t,ownerState:{...t.ownerState,...r}}}function Fa(e,t,r){return typeof e=="function"?e(t,r):e}function Da(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{r[o]=e[o]}),r}function Lo(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function Ga(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:o,externalForwardedProps:a,className:s}=e;if(!t){const f=ie(r==null?void 0:r.className,s,a==null?void 0:a.className,o==null?void 0:o.className),S={...r==null?void 0:r.style,...a==null?void 0:a.style,...o==null?void 0:o.style},b={...r,...a,...o};return f.length>0&&(b.className=f),Object.keys(S).length>0&&(b.style=S),{props:b,internalRef:void 0}}const n=Da({...a,...o}),l=Lo(o),i=Lo(a),c=t(n),d=ie(c==null?void 0:c.className,r==null?void 0:r.className,s,a==null?void 0:a.className,o==null?void 0:o.className),p={...c==null?void 0:c.style,...r==null?void 0:r.style,...a==null?void 0:a.style,...o==null?void 0:o.style},m={...c,...r,...i,...l};return d.length>0&&(m.className=d),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:c.ref}}function qr(e,t){const{className:r,elementType:o,ownerState:a,externalForwardedProps:s,internalForwardedProps:n,shouldForwardComponentProp:l=!1,...i}=t,{component:c,slots:d={[e]:void 0},slotProps:p={[e]:void 0},...m}=s,f=d[e]||o,S=Fa(p[e],a),{props:{component:b,..._},internalRef:D}=Ga({className:r,...i,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:S}),q=_t(D,S==null?void 0:S.ref,t.ref),K=e==="root"?b||c:b,B=La(f,{...e==="root"&&!c&&!d[e]&&n,...e!=="root"&&!d[e]&&n,..._,...K&&!l&&{as:K},...K&&l&&{component:K},ref:q},a);return[f,B]}const Fi=e=>{const{classes:t,disabled:r,size:o,color:a,iconColor:s,onDelete:n,clickable:l,variant:i}=e,c={root:["root",i,r&&"disabled",`size${z(o)}`,`color${z(a)}`,l&&"clickable",l&&`clickableColor${z(a)}`,n&&"deletable",n&&`deletableColor${z(a)}`,`${i}${z(a)}`],label:["label",`label${z(o)}`],avatar:["avatar",`avatar${z(o)}`,`avatarColor${z(a)}`],icon:["icon",`icon${z(o)}`,`iconColor${z(s)}`],deleteIcon:["deleteIcon",`deleteIcon${z(o)}`,`deleteIconColor${z(a)}`,`deleteIcon${z(i)}Color${z(a)}`]};return qe(c,Li,t)},Di=be("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:o,iconColor:a,clickable:s,onDelete:n,size:l,variant:i}=r;return[{[`& .${Z.avatar}`]:t.avatar},{[`& .${Z.avatar}`]:t[`avatar${z(l)}`]},{[`& .${Z.avatar}`]:t[`avatarColor${z(o)}`]},{[`& .${Z.icon}`]:t.icon},{[`& .${Z.icon}`]:t[`icon${z(l)}`]},{[`& .${Z.icon}`]:t[`iconColor${z(a)}`]},{[`& .${Z.deleteIcon}`]:t.deleteIcon},{[`& .${Z.deleteIcon}`]:t[`deleteIcon${z(l)}`]},{[`& .${Z.deleteIcon}`]:t[`deleteIconColor${z(o)}`]},{[`& .${Z.deleteIcon}`]:t[`deleteIcon${z(i)}Color${z(o)}`]},t.root,t[`size${z(l)}`],t[`color${z(o)}`],s&&t.clickable,s&&o!=="default"&&t[`clickableColor${z(o)}`],n&&t.deletable,n&&o!=="default"&&t[`deletableColor${z(o)}`],t[i],t[`${i}${z(o)}`]]}})(_e(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Z.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Z.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Z.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Z.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Z.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Z.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Z.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Z.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Z.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Qe(["contrastText"])).map(([r])=>({props:{color:r},style:{backgroundColor:(e.vars||e).palette[r].main,color:(e.vars||e).palette[r].contrastText,[`& .${Z.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[r].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[r].contrastText}}}})),{props:r=>r.iconColor===r.color,style:{[`& .${Z.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:r=>r.iconColor===r.color&&r.color!=="default",style:{[`& .${Z.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Z.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(Qe(["dark"])).map(([r])=>({props:{color:r,onDelete:!0},style:{[`&.${Z.focusVisible}`]:{background:(e.vars||e).palette[r].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${Z.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Qe(["dark"])).map(([r])=>({props:{color:r,clickable:!0},style:{[`&:hover, &.${Z.focusVisible}`]:{backgroundColor:(e.vars||e).palette[r].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Z.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Z.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Z.avatar}`]:{marginLeft:4},[`& .${Z.avatarSmall}`]:{marginLeft:2},[`& .${Z.icon}`]:{marginLeft:4},[`& .${Z.iconSmall}`]:{marginLeft:2},[`& .${Z.deleteIcon}`]:{marginRight:5},[`& .${Z.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Qe()).map(([r])=>({props:{variant:"outlined",color:r},style:{color:(e.vars||e).palette[r].main,border:`1px solid ${e.alpha((e.vars||e).palette[r].main,.7)}`,[`&.${Z.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${Z.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.focusOpacity)},[`& .${Z.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[r].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[r].main}}}}))]}})),Gi=be("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:o}=r;return[t.label,t[`label${z(o)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Fo(e){return e.key==="Backspace"||e.key==="Delete"}const lo=L.forwardRef(function(t,r){const o=ke({props:t,name:"MuiChip"}),{avatar:a,className:s,clickable:n,color:l="default",component:i,deleteIcon:c,disabled:d=!1,icon:p,label:m,onClick:f,onDelete:S,onKeyDown:b,onKeyUp:_,size:D="medium",variant:q="filled",tabIndex:K,skipFocusWhenDisabled:B=!1,slots:U={},slotProps:T={},...M}=o,$=L.useRef(null),k=_t($,r),W=te=>{te.stopPropagation(),S&&S(te)},N=te=>{te.currentTarget===te.target&&Fo(te)&&te.preventDefault(),b&&b(te)},u=te=>{te.currentTarget===te.target&&S&&Fo(te)&&S(te),_&&_(te)},R=n!==!1&&f?!0:n,E=R||S?Bt:i||"div",j={...o,component:E,disabled:d,size:D,color:l,iconColor:L.isValidElement(p)&&p.props.color||l,onDelete:!!S,clickable:R,variant:q},G=Fi(j),F=E===Bt?{component:i||"div",focusVisibleClassName:G.focusVisible,...S&&{disableRipple:!0}}:{};let X=null;S&&(X=c&&L.isValidElement(c)?L.cloneElement(c,{className:ie(c.props.className,G.deleteIcon),onClick:W}):H.jsx(Ni,{className:G.deleteIcon,onClick:W}));let ee=null;a&&L.isValidElement(a)&&(ee=L.cloneElement(a,{className:ie(G.avatar,a.props.className)}));let ze=null;p&&L.isValidElement(p)&&(ze=L.cloneElement(p,{className:ie(G.icon,p.props.className)})),process.env.NODE_ENV!=="production"&&ee&&ze&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one.");const A={slots:U,slotProps:T},[Q,le]=qr("root",{elementType:Di,externalForwardedProps:{...A,...M},ownerState:j,shouldForwardComponentProp:!0,ref:k,className:ie(G.root,s),additionalProps:{disabled:R&&d?!0:void 0,tabIndex:B&&d?-1:K,...F},getSlotProps:te=>({...te,onClick:re=>{var Oe;(Oe=te.onClick)==null||Oe.call(te,re),f==null||f(re)},onKeyDown:re=>{var Oe;(Oe=te.onKeyDown)==null||Oe.call(te,re),N(re)},onKeyUp:re=>{var Oe;(Oe=te.onKeyUp)==null||Oe.call(te,re),u(re)}})}),[de,He]=qr("label",{elementType:Gi,externalForwardedProps:A,ownerState:j,className:G.label});return H.jsxs(Q,{as:E,...le,children:[ee||ze,H.jsx(de,{...He,children:m}),X]})});process.env.NODE_ENV!=="production"&&(lo.propTypes={avatar:h.element,children:Va,classes:h.object,className:h.string,clickable:h.bool,color:h.oneOfType([h.oneOf(["default","primary","secondary","error","info","success","warning"]),h.string]),component:h.elementType,deleteIcon:h.element,disabled:h.bool,icon:h.element,label:h.node,onClick:h.func,onDelete:h.func,onKeyDown:h.func,onKeyUp:h.func,size:h.oneOfType([h.oneOf(["medium","small"]),h.string]),skipFocusWhenDisabled:h.bool,slotProps:h.shape({label:h.oneOfType([h.func,h.object]),root:h.oneOfType([h.func,h.object])}),slots:h.shape({label:h.elementType,root:h.elementType}),sx:h.oneOfType([h.arrayOf(h.oneOfType([h.func,h.object,h.bool])),h.func,h.object]),tabIndex:h.number,variant:h.oneOfType([h.oneOf(["filled","outlined"]),h.string])});const qi=Nt(H.jsx("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause"),Do=Nt(H.jsx("path",{d:"M8 5v14l11-7z"}),"PlayArrow"),Go=Nt(H.jsx("path",{d:"M6 6h12v12H6z"}),"Stop");var Ie=(e=>(e.IDLE="idle",e.PREPARING="preparing",e.STARTING="starting",e.RUNNING="running",e.PAUSING="pausing",e.PAUSED="paused",e.STOPPING="stopping",e.COMPLETED="completed",e.FAILED="failed",e.STOPPED="stopped",e.ERROR="error",e))(Ie||{});const zi=no(Wo.observer(({state:e,onRun:t,onPause:r,onStop:o,onReset:a,requiresManualReset:s=!1,variant:n="with_pause",className:l})=>{const i=yr(),{t:c}=Qr.useTranslation(),d=()=>{const f={run:{enabled:e==="idle"||e==="stopped"||e==="paused"||e==="completed"||e==="failed"||e==="error",label:c(e==="paused"?"ProgramControl.Resume.bt":e==="error"||e==="failed"?"ProgramControl.Retry.bt":"ProgramControl.Start.bt"),color:i.palette.success.main,onClick:t},pause:{enabled:e==="running",label:c("ProgramControl.Pause.bt"),color:"#FFFFFF33",onClick:r||(()=>{})},stop:{enabled:e==="preparing"||e==="starting"||e==="running"||e==="pausing"||e==="paused",label:c("ProgramControl.Stop.bt"),color:i.palette.error.main,onClick:o}};return n==="without_pause"?[f.run,f.stop]:[f.run,f.pause,f.stop]},p=f=>{const S={sx:{fontSize:"55px"}};if(n==="without_pause")return f===0?H.jsx(Do,{...S}):H.jsx(Go,{...S});switch(f){case 0:return H.jsx(Do,{...S});case 1:return H.jsx(qi,{...S});case 2:return H.jsx(Go,{...S});default:return null}},m=d();return H.jsx(It,{className:l,sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:2},children:H.jsx(It,{sx:{display:"flex",gap:"40px",flexWrap:"wrap",justifyContent:"center",alignItems:"center"},children:m.map((f,S)=>H.jsxs(It,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1},children:[H.jsx(ao,{variant:"contained",disabled:!f.enabled||e==="preparing"||e==="starting"||e==="pausing"||e==="stopping"&&!s,onClick:f.onClick,sx:{width:"88px",height:"88px",borderRadius:"88px",backgroundColor:f.color,opacity:f.enabled&&e!=="preparing"&&e!=="starting"&&e!=="pausing"&&!(e==="stopping"&&!s)?1:.3,"&:hover":{backgroundColor:f.color,opacity:f.enabled&&e!=="preparing"&&e!=="starting"&&e!=="pausing"&&!(e==="stopping"&&!s)?.8:.3},"&:disabled":{backgroundColor:f.color,opacity:.3},minWidth:"88px",flexShrink:0},children:p(S)}),H.jsx(Sr,{variant:"body1",sx:{color:f.enabled&&e!=="preparing"&&e!=="starting"&&e!=="pausing"&&!(e==="stopping"&&!s)?f.color:i.palette.text.disabled,textAlign:"center",opacity:f.enabled&&e!=="preparing"&&e!=="starting"&&e!=="pausing"&&!(e==="stopping"&&!s)?1:.3},children:f.label})]},f.label))})})})),Hi=no(Wo.observer(({programState:e,safetyState:t,operationMode:r,className:o})=>{const a=yr(),{t:s}=Qr.useTranslation(),n=()=>{if(t==="SAFETY_STATE_DEVICE_EMERGENCY_STOP"||t==="SAFETY_STATE_ROBOT_EMERGENCY_STOP"||t==="SAFETY_STATE_STOP_0"||t==="SAFETY_STATE_STOP_1"||t==="SAFETY_STATE_STOP_2"||t==="SAFETY_STATE_PROTECTIVE_STOP"||t==="SAFETY_STATE_STOP"||t==="SAFETY_STATE_REDUCED"||t==="SAFETY_STATE_MASTERING"||t==="SAFETY_STATE_CONFIRM_SAFETY"||t==="SAFETY_STATE_OPERATOR_SAFETY"||t==="SAFETY_STATE_RECOVERY"||t==="SAFETY_STATE_VIOLATION")return{label:s("ProgramStateIndicator.EStop.lb"),color:a.palette.error.main};if(t==="SAFETY_STATE_UNKNOWN"||t==="SAFETY_STATE_FAULT")return{label:s("ProgramStateIndicator.Error.lb"),color:a.palette.error.main};if(t==="SAFETY_STATE_NORMAL")switch(e){case Ie.PREPARING:return{label:s("ProgramStateIndicator.Preparing.lb"),color:a.palette.warning.main};case Ie.STARTING:return{label:s("ProgramStateIndicator.Starting.lb"),color:a.palette.warning.main};case Ie.RUNNING:return{label:s("ProgramStateIndicator.Running.lb"),color:a.palette.success.main};case Ie.PAUSING:return{label:s("ProgramStateIndicator.Pausing.lb"),color:a.palette.warning.main};case Ie.PAUSED:return{label:s("ProgramStateIndicator.Paused.lb"),color:a.palette.grey[600]};case Ie.STOPPING:return{label:s("ProgramStateIndicator.Stopping.lb"),color:a.palette.warning.main};case Ie.COMPLETED:return{label:s("ProgramStateIndicator.Completed.lb"),color:a.palette.success.main};case Ie.FAILED:return{label:s("ProgramStateIndicator.Failed.lb"),color:a.palette.error.main};case Ie.STOPPED:return{label:s("ProgramStateIndicator.Stopped.lb"),color:a.palette.warning.main};case Ie.ERROR:return{label:s("ProgramStateIndicator.Error.lb"),color:a.palette.error.main};default:return{label:s("ProgramStateIndicator.Ready.lb"),color:a.palette.success.main}}return{label:s("ProgramStateIndicator.Idle.lb"),color:a.palette.grey[600]}},{label:l,color:i}=n(),d=`${l} / ${(()=>{switch(r){case"OPERATION_MODE_AUTO":return s("ProgramStateIndicator.Auto.lb");case"OPERATION_MODE_MANUAL":return s("ProgramStateIndicator.Manual.lb");case"OPERATION_MODE_MANUAL_T1":return s("ProgramStateIndicator.ManualT1.lb");case"OPERATION_MODE_MANUAL_T2":return s("ProgramStateIndicator.ManualT2.lb");default:return s("ProgramStateIndicator.Auto.lb")}})()}`;return H.jsx(lo,{className:o,label:H.jsx(Sr,{variant:"body2",sx:{fontSize:"0.75rem",lineHeight:1.2},children:d}),variant:"filled",sx:{backgroundColor:i,color:a.palette.getContrastText(i),fontWeight:500,height:"auto","& .MuiChip-label":{paddingX:1.5,paddingY:.5}}})}));/*! *****************************************************************************
|
|
180
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
181
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
182
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
183
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
184
|
-
|
|
185
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
186
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
187
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
188
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
189
|
-
|
|
190
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
191
|
-
and limitations under the License.
|
|
192
|
-
***************************************************************************** */var zr=function(e,t){return zr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var a in o)o.hasOwnProperty(a)&&(r[a]=o[a])},zr(e,t)};function qa(e,t){zr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Wi(e){var t=typeof Symbol=="function"&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function Qi(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),a,s=[],n;try{for(;(t===void 0||t-- >0)&&!(a=o.next()).done;)s.push(a.value)}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return s}function Ji(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Qi(arguments[t]));return e}var za=(function(){function e(t,r){this.target=r,this.type=t}return e})(),Ki=(function(e){qa(t,e);function t(r,o){var a=e.call(this,"error",o)||this;return a.message=r.message,a.error=r,a}return t})(za),Yi=(function(e){qa(t,e);function t(r,o,a){r===void 0&&(r=1e3),o===void 0&&(o="");var s=e.call(this,"close",a)||this;return s.wasClean=!0,s.code=r,s.reason=o,s}return t})(za);/*!
|
|
193
|
-
* Reconnecting WebSocket
|
|
194
|
-
* by Pedro Ladaria <pedro.ladaria@gmail.com>
|
|
195
|
-
* https://github.com/pladaria/reconnecting-websocket
|
|
196
|
-
* License MIT
|
|
197
|
-
*/var Zi=function(){if(typeof WebSocket<"u")return WebSocket},Xi=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},et={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},ec=(function(){function e(t,r,o){var a=this;o===void 0&&(o={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(s){a._debug("open event");var n=a._options.minUptime,l=n===void 0?et.minUptime:n;clearTimeout(a._connectTimeout),a._uptimeTimeout=setTimeout(function(){return a._acceptOpen()},l),a._ws.binaryType=a._binaryType,a._messageQueue.forEach(function(i){return a._ws.send(i)}),a._messageQueue=[],a.onopen&&a.onopen(s),a._listeners.open.forEach(function(i){return a._callEventListener(s,i)})},this._handleMessage=function(s){a._debug("message event"),a.onmessage&&a.onmessage(s),a._listeners.message.forEach(function(n){return a._callEventListener(s,n)})},this._handleError=function(s){a._debug("error event",s.message),a._disconnect(void 0,s.message==="TIMEOUT"?"timeout":void 0),a.onerror&&a.onerror(s),a._debug("exec error listeners"),a._listeners.error.forEach(function(n){return a._callEventListener(s,n)}),a._connect()},this._handleClose=function(s){a._debug("close event"),a._clearTimeouts(),a._shouldReconnect&&a._connect(),a.onclose&&a.onclose(s),a._listeners.close.forEach(function(n){return a._callEventListener(s,n)})},this._url=t,this._protocols=r,this._options=o,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(t){this._binaryType=t,this._ws&&(this._ws.binaryType=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){var t=this._messageQueue.reduce(function(r,o){return typeof o=="string"?r+=o.length:o instanceof Blob?r+=o.size:r+=o.byteLength,r},0);return t+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(t,r){if(t===void 0&&(t=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(t,r)},e.prototype.reconnect=function(t,r){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(t,r),this._connect())},e.prototype.send=function(t){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",t),this._ws.send(t);else{var r=this._options.maxEnqueuedMessages,o=r===void 0?et.maxEnqueuedMessages:r;this._messageQueue.length<o&&(this._debug("enqueue",t),this._messageQueue.push(t))}},e.prototype.addEventListener=function(t,r){this._listeners[t]&&this._listeners[t].push(r)},e.prototype.dispatchEvent=function(t){var r,o,a=this._listeners[t.type];if(a)try{for(var s=Wi(a),n=s.next();!n.done;n=s.next()){var l=n.value;this._callEventListener(t,l)}}catch(i){r={error:i}}finally{try{n&&!n.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return!0},e.prototype.removeEventListener=function(t,r){this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(function(o){return o!==r}))},e.prototype._debug=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];this._options.debug&&console.log.apply(console,Ji(["RWS>"],t))},e.prototype._getNextDelay=function(){var t=this._options,r=t.reconnectionDelayGrowFactor,o=r===void 0?et.reconnectionDelayGrowFactor:r,a=t.minReconnectionDelay,s=a===void 0?et.minReconnectionDelay:a,n=t.maxReconnectionDelay,l=n===void 0?et.maxReconnectionDelay:n,i=0;return this._retryCount>0&&(i=s*Math.pow(o,this._retryCount-1),i>l&&(i=l)),this._debug("next delay",i),i},e.prototype._wait=function(){var t=this;return new Promise(function(r){setTimeout(r,t._getNextDelay())})},e.prototype._getNextUrl=function(t){if(typeof t=="string")return Promise.resolve(t);if(typeof t=="function"){var r=t();if(typeof r=="string")return Promise.resolve(r);if(r.then)return r}throw Error("Invalid URL")},e.prototype._connect=function(){var t=this;if(!(this._connectLock||!this._shouldReconnect)){this._connectLock=!0;var r=this._options,o=r.maxRetries,a=o===void 0?et.maxRetries:o,s=r.connectionTimeout,n=s===void 0?et.connectionTimeout:s,l=r.WebSocket,i=l===void 0?Zi():l;if(this._retryCount>=a){this._debug("max retries reached",this._retryCount,">=",a);return}if(this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),!Xi(i))throw Error("No valid WebSocket class provided");this._wait().then(function(){return t._getNextUrl(t._url)}).then(function(c){t._closeCalled||(t._debug("connect",{url:c,protocols:t._protocols}),t._ws=t._protocols?new i(c,t._protocols):new i(c),t._ws.binaryType=t._binaryType,t._connectLock=!1,t._addListeners(),t._connectTimeout=setTimeout(function(){return t._handleTimeout()},n))})}},e.prototype._handleTimeout=function(){this._debug("timeout event"),this._handleError(new Ki(Error("TIMEOUT"),this))},e.prototype._disconnect=function(t,r){if(t===void 0&&(t=1e3),this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(t,r),this._handleClose(new Yi(t,r,this))}catch{}}},e.prototype._acceptOpen=function(){this._debug("accept open"),this._retryCount=0},e.prototype._callEventListener=function(t,r){"handleEvent"in r?r.handleEvent(t):r(t)},e.prototype._removeListeners=function(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))},e.prototype._addListeners=function(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))},e.prototype._clearTimeouts=function(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)},e})(),tc=class extends ec{constructor(e,t={}){console.log("Opening websocket to",e),super(()=>this.targetUrl||e,void 0,{startClosed:!0}),this.opts=t,this.disposed=!1,Object.defineProperty(this,"url",{get(){return this.targetUrl}}),this.targetUrl=e,this.addEventListener("open",()=>{console.log(`Websocket to ${this.url} opened`)}),this.addEventListener("message",o=>{this.receivedFirstMessage||(this.receivedFirstMessage=o)}),this.addEventListener("close",()=>{console.log(`Websocket to ${this.url} closed`)});const r=this.reconnect;this.reconnect=()=>{this.opts.mock?this.opts.mock.handleWebsocketConnection(this):r.apply(this)},this.reconnect()}changeUrl(e){this.receivedFirstMessage=void 0,this.targetUrl=e,this.reconnect()}sendJson(e){this.opts.mock?this.opts.mock.handleWebsocketMessage(this,JSON.stringify(e)):this.send(JSON.stringify(e))}dispose(){this.close(),this.disposed=!0,this.opts.onDispose&&this.opts.onDispose()}async opened(){return new Promise((e,t)=>{this.readyState===WebSocket.OPEN?e():(this.addEventListener("open",()=>e()),this.addEventListener("error",t))})}async closed(){return new Promise((e,t)=>{this.readyState===WebSocket.CLOSED?e():(this.addEventListener("close",()=>e()),this.addEventListener("error",t))})}async firstMessage(){return this.receivedFirstMessage?this.receivedFirstMessage:new Promise((e,t)=>{const r=a=>{this.receivedFirstMessage=a,this.removeEventListener("message",r),this.removeEventListener("error",o),e(a)},o=a=>{this.removeEventListener("message",r),this.removeEventListener("error",o),t(a)};this.addEventListener("message",r),this.addEventListener("error",o)})}async nextMessage(){return new Promise((e,t)=>{const r=a=>{this.removeEventListener("message",r),this.removeEventListener("error",o),e(a)},o=a=>{this.removeEventListener("message",r),this.removeEventListener("error",o),t(a)};this.addEventListener("message",r),this.addEventListener("error",o)})}},rc=class{constructor(){this.available=typeof window<"u"&&!!window.localStorage}getJSON(e){if(!this.available)return null;const t=window.localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch{return null}}setJSON(e,t){if(!this.available)return null;window.localStorage.setItem(e,JSON.stringify(t))}delete(e){if(!this.available)return null;window.localStorage.removeItem(e)}setString(e,t){if(!this.available)return null;window.localStorage.setItem(e,t)}getString(e){return this.available?window.localStorage.getItem(e):null}};const qt=new rc;function Hr(e,t={}){const{scheme:r,defaultScheme:o}=t,a=/^[a-zA-Z]+:\/\//;return r?(e=e.replace(a,""),e=`${r}://${e}`):o&&!a.test(e)&&(e=`${o}://${e}`),new URL(e)}function oc(e,t={}){try{return Hr(e,t)}catch{return}}function ac(e){var t;return(t=oc(e,{defaultScheme:"http"}))!=null&&t.host.endsWith(".wandelbots.io")?Hr(e,{defaultScheme:"https"}):Hr(e,{defaultScheme:"http"})}const wr={dev:{domain:"https://auth.portal.dev.wandelbots.io",clientId:"fLbJD0RLp5r2Dpucm5j8BjwMR6Hunfha"},stg:{domain:"https://auth.portal.stg.wandelbots.io",clientId:"joVDeD9e786WzFNSGCqoVq7HNkWt5j6s"},prod:{domain:"https://auth.portal.wandelbots.io",clientId:"J7WJUi38xVQdJAEBNRT9Xw1b0fXDb4J2"}},sc=e=>{if(e.host.endsWith(".dev.wandelbots.io"))return wr.dev;if(e.host.endsWith(".stg.wandelbots.io"))return wr.stg;if(e.host.endsWith(".wandelbots.io"))return wr.prod;throw new Error(`Unable to authenticate with NOVA instance "${e}". Auth0 login is only supported for cloud instances with hosts of the form "**.wandelbots.io".`)},nc=async e=>{if(typeof window>"u")throw new Error("Access token must be set to use NovaClient when not in a browser environment.");if(e.origin===window.location.origin)throw window.location.reload(),new Error("Failed to reload page to get auth details, please refresh manually");const{Auth0Client:t}=await Promise.resolve().then(()=>require("./auth0-spa-js.production.esm-CVEdrQ4-.cjs")),r=sc(e),o=new t({domain:r.domain,clientId:r.clientId??"",useRefreshTokens:!1,authorizationParams:{audience:"nova-api",redirect_uri:window.location.origin}});if(window.location.search.includes("code=")&&window.location.search.includes("state=")){const{appState:a}=await o.handleRedirectCallback();window.history.replaceState({},document.title,(a==null?void 0:a.returnTo)||window.location.pathname)}else await o.loginWithRedirect();return await o.getTokenSilently()};function lc(e){var t=[];if(e.length===0)return"";if(typeof e[0]!="string")throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var r=e.shift();e[0]=r+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var o=0;o<e.length;o++){var a=e[o];if(typeof a!="string")throw new TypeError("Url must be a string. Received "+a);a!==""&&(o>0&&(a=a.replace(/^[\/]+/,"")),o<e.length-1?a=a.replace(/[\/]+$/,""):a=a.replace(/[\/]+$/,"/"),t.push(a))}var s=t.join("/");s=s.replace(/\/(\?|&|#[^!])/g,"$1");var n=s.split("?");return s=n.shift()+(n.length>0?"?":"")+n.join("&"),s}function Rr(){var e;return typeof arguments[0]=="object"?e=arguments[0]:e=[].slice.call(arguments),lc(e)}var Pe={},qo;function ic(){if(qo)return Pe;qo=1,Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.PathError=Pe.TokenData=void 0,Pe.parse=c,Pe.compile=d,Pe.match=f,Pe.pathToRegexp=S,Pe.stringify=K;const e="/",t=U=>U,r=/^[$_\p{ID_Start}]$/u,o=/^[$\u200c\u200d\p{ID_Continue}]$/u,a=/^[$_\p{ID_Start}][$\u200c\u200d\p{ID_Continue}]*$/u;function s(U){return U.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}function n(U){return U.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class l{constructor(T,M){this.tokens=T,this.originalPath=M}}Pe.TokenData=l;class i extends TypeError{constructor(T,M){let $=T;M&&($+=`: ${M}`),$+="; visit https://git.new/pathToRegexpError for info",super($),this.originalPath=M}}Pe.PathError=i;function c(U,T={}){const{encodePath:M=t}=T,$=[...U];let k=0;function W(N){const u=[];let R="";function E(){R&&(u.push({type:"text",value:M(R)}),R="")}for(;k<$.length;){const j=$[k++];if(j===N)return E(),u;if(j==="\\"){if(k===$.length)throw new i(`Unexpected end after \\ at index ${k}`,U);R+=$[k++];continue}if(j===":"||j==="*"){const G=j===":"?"param":"wildcard";let F="";if(r.test($[k]))do F+=$[k++];while(o.test($[k]));else if($[k]==='"'){let X=k;for(;k<$.length;){if($[++k]==='"'){k++,X=0;break}$[k]==="\\"&&k++,F+=$[k]}if(X)throw new i(`Unterminated quote at index ${X}`,U)}if(!F)throw new i(`Missing parameter name at index ${k}`,U);E(),u.push({type:G,name:F});continue}if(j==="{"){E(),u.push({type:"group",tokens:W("}")});continue}if(j==="}"||j==="("||j===")"||j==="["||j==="]"||j==="+"||j==="?"||j==="!")throw new i(`Unexpected ${j} at index ${k-1}`,U);R+=j}if(N)throw new i(`Unexpected end at index ${k}, expected ${N}`,U);return E(),u}return new l(W(""),U)}function d(U,T={}){const{encode:M=encodeURIComponent,delimiter:$=e}=T,k=typeof U=="object"?U:c(U,T),W=p(k.tokens,$,M);return function(u={}){const R=[],E=W(u,R);if(R.length)throw new TypeError(`Missing parameters: ${R.join(", ")}`);return E}}function p(U,T,M){const $=U.map(k=>m(k,T,M));return(k,W)=>{let N="";for(const u of $)N+=u(k,W);return N}}function m(U,T,M){if(U.type==="text")return()=>U.value;if(U.type==="group"){const k=p(U.tokens,T,M);return(W,N)=>{const u=N.length,R=k(W,N);return N.length===u?R:(N.length=u,"")}}const $=M||t;return U.type==="wildcard"&&M!==!1?(k,W)=>{const N=k[U.name];if(N==null)return W.push(U.name),"";if(!Array.isArray(N)||N.length===0)throw new TypeError(`Expected "${U.name}" to be a non-empty array`);let u="";for(let R=0;R<N.length;R++){if(typeof N[R]!="string")throw new TypeError(`Expected "${U.name}/${R}" to be a string`);R>0&&(u+=T),u+=$(N[R])}return u}:(k,W)=>{const N=k[U.name];if(N==null)return W.push(U.name),"";if(typeof N!="string")throw new TypeError(`Expected "${U.name}" to be a string`);return $(N)}}function f(U,T={}){const{decode:M=decodeURIComponent,delimiter:$=e}=T,{regexp:k,keys:W}=S(U,T),N=W.map(u=>M===!1?t:u.type==="param"?M:R=>R.split($).map(M));return function(R){const E=k.exec(R);if(!E)return!1;const j=E[0],G=Object.create(null);for(let F=1;F<E.length;F++){if(E[F]===void 0)continue;const X=W[F-1],ee=N[F-1];G[X.name]=ee(E[F])}return{path:j,params:G}}}function S(U,T={}){const{delimiter:M=e,end:$=!0,sensitive:k=!1,trailing:W=!0}=T,N=[];let u="",R=0;function E(G){if(Array.isArray(G)){for(const X of G)E(X);return}const F=typeof G=="object"?G:c(G,T);b(F.tokens,0,[],X=>{if(R>=256)throw new i("Too many path combinations",F.originalPath);R>0&&(u+="|"),u+=_(X,M,N,F.originalPath),R++})}E(U);let j=`^(?:${u})`;return W&&(j+="(?:"+n(M)+"$)?"),j+=$?"$":"(?="+n(M)+"|$)",{regexp:new RegExp(j,k?"":"i"),keys:N}}function b(U,T,M,$){for(;T<U.length;){const k=U[T++];if(k.type==="group"){const W=M.length;b(k.tokens,0,M,N=>b(U,T,N,$)),M.length=W;continue}M.push(k)}$(M)}function _(U,T,M,$){let k="",W="",N="",u=0,R=0,E=0;function j(F,X){for(;F<U.length;){const ee=U[F++];if(ee.type===X)return!0;if(ee.type==="text"&&ee.value.includes(T))break}return!1}function G(F){let X="";for(;F<U.length;){const ee=U[F++];if(ee.type!=="text")break;X+=ee.value}return X}for(;E<U.length;){const F=U[E++];if(F.type==="text"){k+=n(F.value),W+=F.value,u===2&&(N+=F.value),F.value.includes(T)&&(R=0);continue}if(F.type==="param"||F.type==="wildcard"){if(u&&!W)throw new i(`Missing text before "${F.name}" ${F.type}`,$);F.type==="param"?(k+=R&2?`(${D(T,W)}+)`:j(E,"wildcard")?`(${D(T,G(E))}+)`:R&1?`(${D(T,W)}+|${n(W)})`:`(${D(T,"")}+)`,R|=u=1):(k+=R&2?`(${D(W,"")}+)`:N?`(${D(N,"")}+|${D(T,"")}+)`:"([^]+)",N="",R|=u=2),M.push(F),W="";continue}throw new TypeError(`Unknown token type: ${F.type}`)}return k}function D(U,T){return T.length>U.length?D(T,U):(U===T&&(T=""),T.length>1?`(?:(?!${n(U)}|${n(T)})[^])`:U.length>1?`(?:(?!${n(U)})[^${n(T)}])`:`[^${n(U+T)}]`)}function q(U,T){let M="";for(;T<U.length;){const $=U[T++];if($.type==="text"){M+=s($.value);continue}if($.type==="group"){M+="{"+q($.tokens,0)+"}";continue}if($.type==="param"){M+=":"+B($.name,U[T]);continue}if($.type==="wildcard"){M+="*"+B($.name,U[T]);continue}throw new TypeError(`Unknown token type: ${$.type}`)}return M}function K(U){return q(U.tokens,0)}function B(U,T){return!a.test(U)||(T==null?void 0:T.type)==="text"&&o.test(T.value[0])?JSON.stringify(U):U}return Pe}var cc=ic();function jt(e){"@babel/helpers - typeof";return jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jt(e)}function dc(e,t){if(jt(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(jt(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pc(e){var t=dc(e,"string");return jt(t)=="symbol"?t:t+""}function uc(e,t,r){return(t=pc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C="/api/v2".replace(/\/+$/,""),zo={csv:","};var Se=class{constructor(e,t=C,r=O){this.basePath=t,this.axios=r,uc(this,"configuration",void 0),e&&(this.configuration=e,this.basePath=e.basePath??t)}},hc=class extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}};const g={},v="https://example.com",y=function(e,t,r){if(r==null)throw new hc(t,`Required parameter ${t} was null or undefined when calling ${e}.`)},V=async function(e,t){t&&t.accessToken&&(e.Authorization="Bearer "+(typeof t.accessToken=="function"?await t.accessToken():await t.accessToken))};function Wr(e,t,r=""){t!=null&&(typeof t=="object"?Array.isArray(t)?t.forEach(o=>Wr(e,o,r)):Object.keys(t).forEach(o=>Wr(e,t[o],`${r}${r!==""?".":""}${o}`)):e.has(r)?e.append(r,t):e.set(r,t))}const P=function(e,...t){const r=new URLSearchParams(e.search);Wr(r,t),e.search=r.toString()},Y=function(e,t,r){const o=typeof e!="string";return(o&&r&&r.isJsonMime?r.isJsonMime(t.headers["Content-Type"]):o)?JSON.stringify(e!==void 0?e:{}):e||""},x=function(e){return e.pathname+e.search+e.hash},I=function(e,t,r,o){return(a=t,s=r)=>{const n={...e.options,url:(a.defaults.baseURL?"":(o==null?void 0:o.basePath)??s)+e.url};return a.request(n)}},mc={RevoluteJoint:"REVOLUTE_JOINT",PrismaticJoint:"PRISMATIC_JOINT"},yc={Abb:"abb",Fanuc:"fanuc",Kuka:"kuka",Universalrobots:"universalrobots",Yaskawa:"yaskawa"},bc=function(e){return{addApp:async(t,r,o,a={})=>{y("addApp","cell",t),y("addApp","app",r);const s="/cells/{cell}/apps".replace("{cell}",encodeURIComponent(String(t))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"POST",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.completion_timeout=o),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(r,i,e),{url:x(n),options:i}},clearApps:async(t,r,o={})=>{y("clearApps","cell",t);const a="/cells/{cell}/apps".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),r!==void 0&&(c.completion_timeout=r),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deleteApp:async(t,r,o,a={})=>{y("deleteApp","cell",t),y("deleteApp","app",r);const s="/cells/{cell}/apps/{app}".replace("{cell}",encodeURIComponent(String(t))).replace("{app}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"DELETE",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.completion_timeout=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},getApp:async(t,r,o={})=>{y("getApp","cell",t),y("getApp","app",r);const a="/cells/{cell}/apps/{app}".replace("{cell}",encodeURIComponent(String(t))).replace("{app}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},listApps:async(t,r={})=>{y("listApps","cell",t);const o="/cells/{cell}/apps".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},updateApp:async(t,r,o,a,s={})=>{y("updateApp","cell",t),y("updateApp","app",r),y("updateApp","app2",o);const n="/cells/{cell}/apps/{app}".replace("{cell}",encodeURIComponent(String(t))).replace("{app}",encodeURIComponent(String(r))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"PUT",...i,...s},d={},p={};await V(d,e),a!==void 0&&(p.completion_timeout=a),d["Content-Type"]="application/json",P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},c.data=Y(o,c,e),{url:x(l),options:c}}}},ct=function(e){const t=bc(e);return{async addApp(r,o,a,s){var c,d;const n=await t.addApp(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ApplicationApi.addApp"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async clearApps(r,o,a){var i,c;const s=await t.clearApps(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["ApplicationApi.clearApps"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deleteApp(r,o,a,s){var c,d;const n=await t.deleteApp(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ApplicationApi.deleteApp"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async getApp(r,o,a){var i,c;const s=await t.getApp(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["ApplicationApi.getApp"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async listApps(r,o){var l,i;const a=await t.listApps(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["ApplicationApi.listApps"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async updateApp(r,o,a,s,n){var d,p;const l=await t.updateApp(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["ApplicationApi.updateApp"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)}}};var Ho=class extends Se{addApp(e,t,r,o){return ct(this.configuration).addApp(e,t,r,o).then(a=>a(this.axios,this.basePath))}clearApps(e,t,r){return ct(this.configuration).clearApps(e,t,r).then(o=>o(this.axios,this.basePath))}deleteApp(e,t,r,o){return ct(this.configuration).deleteApp(e,t,r,o).then(a=>a(this.axios,this.basePath))}getApp(e,t,r){return ct(this.configuration).getApp(e,t,r).then(o=>o(this.axios,this.basePath))}listApps(e,t){return ct(this.configuration).listApps(e,t).then(r=>r(this.axios,this.basePath))}updateApp(e,t,r,o,a){return ct(this.configuration).updateApp(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}};const fc=function(e){return{addBusIOService:async(t,r,o,a={})=>{y("addBusIOService","cell",t),y("addBusIOService","busIOType",r);const s="/cells/{cell}/bus-ios".replace("{cell}",encodeURIComponent(String(t))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"POST",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.completion_timeout=o),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(r,i,e),{url:x(n),options:i}},addModbusIO:async(t,r,o,a={})=>{y("addModbusIO","cell",t),y("addModbusIO","io",r),y("addModbusIO","modbusIOData",o);const s="/cells/{cell}/bus-ios/modbus/ios/{io}".replace("{cell}",encodeURIComponent(String(t))).replace("{io}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},addProfinetIO:async(t,r,o,a={})=>{y("addProfinetIO","cell",t),y("addProfinetIO","io",r),y("addProfinetIO","profinetIOData",o);const s="/cells/{cell}/bus-ios/profinet/ios/{io}".replace("{cell}",encodeURIComponent(String(t))).replace("{io}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},clearBusIOService:async(t,r,o={})=>{y("clearBusIOService","cell",t);const a="/cells/{cell}/bus-ios".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),r!==void 0&&(c.completion_timeout=r),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deleteAllModbusIOs:async(t,r={})=>{y("deleteAllModbusIOs","cell",t);const o="/cells/{cell}/bus-ios/modbus/ios".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"DELETE",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},deleteAllProfinetIOs:async(t,r={})=>{y("deleteAllProfinetIOs","cell",t);const o="/cells/{cell}/bus-ios/profinet/ios".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"DELETE",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},deleteModbusIO:async(t,r,o={})=>{y("deleteModbusIO","cell",t),y("deleteModbusIO","io",r);const a="/cells/{cell}/bus-ios/modbus/ios/{io}".replace("{cell}",encodeURIComponent(String(t))).replace("{io}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deleteProfinetIO:async(t,r,o={})=>{y("deleteProfinetIO","cell",t),y("deleteProfinetIO","io",r);const a="/cells/{cell}/bus-ios/profinet/ios/{io}".replace("{cell}",encodeURIComponent(String(t))).replace("{io}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getBusIOService:async(t,r={})=>{y("getBusIOService","cell",t);const o="/cells/{cell}/bus-ios".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},getBusIOState:async(t,r={})=>{y("getBusIOState","cell",t);const o="/cells/{cell}/bus-ios/state".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},getBusIOValues:async(t,r,o={})=>{y("getBusIOValues","cell",t);const a="/cells/{cell}/bus-ios/ios/values".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),r&&(c.ios=r),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getProfinetDescription:async(t,r={})=>{y("getProfinetDescription","cell",t);const o="/cells/{cell}/bus-ios/profinet/description".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},getProfinetGSDML:async(t,r={})=>{y("getProfinetGSDML","cell",t);const o="/cells/{cell}/bus-ios/profinet/gsdml".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},getProfinetIOsFromFile:async(t,r,o,a={})=>{y("getProfinetIOsFromFile","cell",t);const s="/cells/{cell}/bus-ios/profinet/iofile".replace("{cell}",encodeURIComponent(String(t))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),r!==void 0&&(d.input_offset=r),o!==void 0&&(d.output_offset=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},listBusIODescriptions:async(t,r={})=>{y("listBusIODescriptions","cell",t);const o="/cells/{cell}/bus-ios/ios/description".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listModbusIOs:async(t,r={})=>{y("listModbusIOs","cell",t);const o="/cells/{cell}/bus-ios/modbus/ios".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listProfinetIOs:async(t,r={})=>{y("listProfinetIOs","cell",t);const o="/cells/{cell}/bus-ios/profinet/ios".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},setBusIOValues:async(t,r,o={})=>{y("setBusIOValues","cell",t),y("setBusIOValues","iOValue",r);const a="/cells/{cell}/bus-ios/ios/values".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"PUT",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}},setProfinetIOsFromFile:async(t,r,o={})=>{y("setProfinetIOsFromFile","cell",t),y("setProfinetIOsFromFile","profinetInputOutputConfig",r);const a="/cells/{cell}/bus-ios/profinet/iofile".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"PUT",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}}}},fe=function(e){const t=fc(e);return{async addBusIOService(r,o,a,s){var c,d;const n=await t.addBusIOService(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["BUSInputsOutputsApi.addBusIOService"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async addModbusIO(r,o,a,s){var c,d;const n=await t.addModbusIO(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["BUSInputsOutputsApi.addModbusIO"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async addProfinetIO(r,o,a,s){var c,d;const n=await t.addProfinetIO(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["BUSInputsOutputsApi.addProfinetIO"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async clearBusIOService(r,o,a){var i,c;const s=await t.clearBusIOService(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["BUSInputsOutputsApi.clearBusIOService"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deleteAllModbusIOs(r,o){var l,i;const a=await t.deleteAllModbusIOs(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.deleteAllModbusIOs"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async deleteAllProfinetIOs(r,o){var l,i;const a=await t.deleteAllProfinetIOs(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.deleteAllProfinetIOs"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async deleteModbusIO(r,o,a){var i,c;const s=await t.deleteModbusIO(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["BUSInputsOutputsApi.deleteModbusIO"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deleteProfinetIO(r,o,a){var i,c;const s=await t.deleteProfinetIO(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["BUSInputsOutputsApi.deleteProfinetIO"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getBusIOService(r,o){var l,i;const a=await t.getBusIOService(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.getBusIOService"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getBusIOState(r,o){var l,i;const a=await t.getBusIOState(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.getBusIOState"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getBusIOValues(r,o,a){var i,c;const s=await t.getBusIOValues(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["BUSInputsOutputsApi.getBusIOValues"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getProfinetDescription(r,o){var l,i;const a=await t.getProfinetDescription(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.getProfinetDescription"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getProfinetGSDML(r,o){var l,i;const a=await t.getProfinetGSDML(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.getProfinetGSDML"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getProfinetIOsFromFile(r,o,a,s){var c,d;const n=await t.getProfinetIOsFromFile(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["BUSInputsOutputsApi.getProfinetIOsFromFile"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async listBusIODescriptions(r,o){var l,i;const a=await t.listBusIODescriptions(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.listBusIODescriptions"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listModbusIOs(r,o){var l,i;const a=await t.listModbusIOs(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.listModbusIOs"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listProfinetIOs(r,o){var l,i;const a=await t.listProfinetIOs(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["BUSInputsOutputsApi.listProfinetIOs"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async setBusIOValues(r,o,a){var i,c;const s=await t.setBusIOValues(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["BUSInputsOutputsApi.setBusIOValues"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async setProfinetIOsFromFile(r,o,a){var i,c;const s=await t.setProfinetIOsFromFile(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["BUSInputsOutputsApi.setProfinetIOsFromFile"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)}}};var Sc=class extends Se{addBusIOService(e,t,r,o){return fe(this.configuration).addBusIOService(e,t,r,o).then(a=>a(this.axios,this.basePath))}addModbusIO(e,t,r,o){return fe(this.configuration).addModbusIO(e,t,r,o).then(a=>a(this.axios,this.basePath))}addProfinetIO(e,t,r,o){return fe(this.configuration).addProfinetIO(e,t,r,o).then(a=>a(this.axios,this.basePath))}clearBusIOService(e,t,r){return fe(this.configuration).clearBusIOService(e,t,r).then(o=>o(this.axios,this.basePath))}deleteAllModbusIOs(e,t){return fe(this.configuration).deleteAllModbusIOs(e,t).then(r=>r(this.axios,this.basePath))}deleteAllProfinetIOs(e,t){return fe(this.configuration).deleteAllProfinetIOs(e,t).then(r=>r(this.axios,this.basePath))}deleteModbusIO(e,t,r){return fe(this.configuration).deleteModbusIO(e,t,r).then(o=>o(this.axios,this.basePath))}deleteProfinetIO(e,t,r){return fe(this.configuration).deleteProfinetIO(e,t,r).then(o=>o(this.axios,this.basePath))}getBusIOService(e,t){return fe(this.configuration).getBusIOService(e,t).then(r=>r(this.axios,this.basePath))}getBusIOState(e,t){return fe(this.configuration).getBusIOState(e,t).then(r=>r(this.axios,this.basePath))}getBusIOValues(e,t,r){return fe(this.configuration).getBusIOValues(e,t,r).then(o=>o(this.axios,this.basePath))}getProfinetDescription(e,t){return fe(this.configuration).getProfinetDescription(e,t).then(r=>r(this.axios,this.basePath))}getProfinetGSDML(e,t){return fe(this.configuration).getProfinetGSDML(e,t).then(r=>r(this.axios,this.basePath))}getProfinetIOsFromFile(e,t,r,o){return fe(this.configuration).getProfinetIOsFromFile(e,t,r,o).then(a=>a(this.axios,this.basePath))}listBusIODescriptions(e,t){return fe(this.configuration).listBusIODescriptions(e,t).then(r=>r(this.axios,this.basePath))}listModbusIOs(e,t){return fe(this.configuration).listModbusIOs(e,t).then(r=>r(this.axios,this.basePath))}listProfinetIOs(e,t){return fe(this.configuration).listProfinetIOs(e,t).then(r=>r(this.axios,this.basePath))}setBusIOValues(e,t,r){return fe(this.configuration).setBusIOValues(e,t,r).then(o=>o(this.axios,this.basePath))}setProfinetIOsFromFile(e,t,r){return fe(this.configuration).setProfinetIOsFromFile(e,t,r).then(o=>o(this.axios,this.basePath))}};const Oc=function(e){return{checkCellVersionUpdate:async(t,r,o={})=>{y("checkCellVersionUpdate","cell",t),y("checkCellVersionUpdate","channel",r);const a="/cells/{cell}/update".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),r!==void 0&&(c.channel=r),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deleteCell:async(t,r,o={})=>{y("deleteCell","cell",t);const a="/cells/{cell}".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),r!==void 0&&(c.completion_timeout=r),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deployCell:async(t,r,o={})=>{y("deployCell","cell",t);const a=new URL("/cells",v);let s;e&&(s=e.baseOptions);const n={method:"POST",...s,...o},l={},i={};await V(l,e),r!==void 0&&(i.completion_timeout=r),l["Content-Type"]="application/json",P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...o.headers},n.data=Y(t,n,e),{url:x(a),options:n}},getCell:async(t,r={})=>{y("getCell","cell",t);const o="/cells/{cell}".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},getCellStatus:async(t,r={})=>{y("getCellStatus","cell",t);const o="/cells/{cell}/status".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listCells:async(t={})=>{const r=new URL("/cells",v);let o;e&&(o=e.baseOptions);const a={method:"GET",...o,...t},s={},n={};await V(s,e),P(r,n);let l=o&&o.headers?o.headers:{};return a.headers={...s,...l,...t.headers},{url:x(r),options:a}},setCellStatus:async(t,r,o={})=>{y("setCellStatus","cell",t),y("setCellStatus","operatingState",r);const a="/cells/{cell}/status".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"PUT",...n,...o},i={},c={};await V(i,e),r!==void 0&&(c.operating_state=r),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},updateCell:async(t,r,o,a={})=>{y("updateCell","cell",t),y("updateCell","cell2",r);const s="/cells/{cell}".replace("{cell}",encodeURIComponent(String(t))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.completion_timeout=o),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(r,i,e),{url:x(n),options:i}},updateCellVersion:async(t,r,o={})=>{y("updateCellVersion","cell",t),y("updateCellVersion","updateCellVersionRequest",r);const a="/cells/{cell}/update".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"PUT",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}}}},Le=function(e){const t=Oc(e);return{async checkCellVersionUpdate(r,o,a){var i,c;const s=await t.checkCellVersionUpdate(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["CellApi.checkCellVersionUpdate"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deleteCell(r,o,a){var i,c;const s=await t.deleteCell(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["CellApi.deleteCell"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deployCell(r,o,a){var i,c;const s=await t.deployCell(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["CellApi.deployCell"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getCell(r,o){var l,i;const a=await t.getCell(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["CellApi.getCell"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getCellStatus(r,o){var l,i;const a=await t.getCellStatus(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["CellApi.getCellStatus"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listCells(r){var n,l;const o=await t.listCells(r),a=(e==null?void 0:e.serverIndex)??0,s=(l=(n=g["CellApi.listCells"])==null?void 0:n[a])==null?void 0:l.url;return(i,c)=>I(o,O,C,e)(i,s||c)},async setCellStatus(r,o,a){var i,c;const s=await t.setCellStatus(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["CellApi.setCellStatus"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async updateCell(r,o,a,s){var c,d;const n=await t.updateCell(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["CellApi.updateCell"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async updateCellVersion(r,o,a){var i,c;const s=await t.updateCellVersion(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["CellApi.updateCellVersion"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)}}};var Cc=class extends Se{checkCellVersionUpdate(e,t,r){return Le(this.configuration).checkCellVersionUpdate(e,t,r).then(o=>o(this.axios,this.basePath))}deleteCell(e,t,r){return Le(this.configuration).deleteCell(e,t,r).then(o=>o(this.axios,this.basePath))}deployCell(e,t,r){return Le(this.configuration).deployCell(e,t,r).then(o=>o(this.axios,this.basePath))}getCell(e,t){return Le(this.configuration).getCell(e,t).then(r=>r(this.axios,this.basePath))}getCellStatus(e,t){return Le(this.configuration).getCellStatus(e,t).then(r=>r(this.axios,this.basePath))}listCells(e){return Le(this.configuration).listCells(e).then(t=>t(this.axios,this.basePath))}setCellStatus(e,t,r){return Le(this.configuration).setCellStatus(e,t,r).then(o=>o(this.axios,this.basePath))}updateCell(e,t,r,o){return Le(this.configuration).updateCell(e,t,r,o).then(a=>a(this.axios,this.basePath))}updateCellVersion(e,t,r){return Le(this.configuration).updateCellVersion(e,t,r).then(o=>o(this.axios,this.basePath))}};const gc=function(e){return{addRobotController:async(t,r,o,a={})=>{y("addRobotController","cell",t),y("addRobotController","robotController",r);const s="/cells/{cell}/controllers".replace("{cell}",encodeURIComponent(String(t))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"POST",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.completion_timeout=o),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(r,i,e),{url:x(n),options:i}},clearRobotControllers:async(t,r,o={})=>{y("clearRobotControllers","cell",t);const a="/cells/{cell}/controllers".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),r!==void 0&&(c.completion_timeout=r),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deleteRobotController:async(t,r,o,a={})=>{y("deleteRobotController","cell",t),y("deleteRobotController","controller",r);const s="/cells/{cell}/controllers/{controller}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"DELETE",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.completion_timeout=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},getControllerDescription:async(t,r,o={})=>{y("getControllerDescription","cell",t),y("getControllerDescription","controller",r);const a="/cells/{cell}/controllers/{controller}/description".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getCoordinateSystem:async(t,r,o,a,s={})=>{y("getCoordinateSystem","cell",t),y("getCoordinateSystem","controller",r),y("getCoordinateSystem","coordinateSystem",o);const n="/cells/{cell}/controllers/{controller}/coordinate-systems/{coordinate-system}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{coordinate-system}",encodeURIComponent(String(o))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"GET",...i,...s},d={},p={};await V(d,e),a!==void 0&&(p.orientation_type=a),P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},{url:x(l),options:c}},getCurrentRobotControllerState:async(t,r,o={})=>{y("getCurrentRobotControllerState","cell",t),y("getCurrentRobotControllerState","controller",r);const a="/cells/{cell}/controllers/{controller}/state".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getRobotController:async(t,r,o={})=>{y("getRobotController","cell",t),y("getRobotController","controller",r);const a="/cells/{cell}/controllers/{controller}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getVirtualControllerConfiguration:async(t,r,o={})=>{y("getVirtualControllerConfiguration","cell",t),y("getVirtualControllerConfiguration","controller",r);const a="/cells/{cell}/controllers/{controller}/virtual-robot-configuration".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},listCoordinateSystems:async(t,r,o,a={})=>{y("listCoordinateSystems","cell",t),y("listCoordinateSystems","controller",r);const s="/cells/{cell}/controllers/{controller}/coordinate-systems".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.orientation_type=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},listRobotControllers:async(t,r={})=>{y("listRobotControllers","cell",t);const o="/cells/{cell}/controllers".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},setDefaultMode:async(t,r,o,a={})=>{y("setDefaultMode","cell",t),y("setDefaultMode","controller",r),y("setDefaultMode","mode",o);const s="/cells/{cell}/controllers/{controller}/mode".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.mode=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},streamFreeDrive:async(t,r,o,a={})=>{y("streamFreeDrive","cell",t),y("streamFreeDrive","controller",r);const s="/cells/{cell}/controllers/{controller}/free-drive-stream".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.response_rate=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},streamRobotControllerState:async(t,r,o,a,s={})=>{y("streamRobotControllerState","cell",t),y("streamRobotControllerState","controller",r);const n="/cells/{cell}/controllers/{controller}/state-stream".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"GET",...i,...s},d={},p={};await V(d,e),o!==void 0&&(p.response_rate=o),a!==void 0&&(p.add_controller_timeout=a),P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},{url:x(l),options:c}},updateRobotController:async(t,r,o,a,s={})=>{y("updateRobotController","cell",t),y("updateRobotController","controller",r),y("updateRobotController","robotController",o);const n="/cells/{cell}/controllers/{controller}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"PUT",...i,...s},d={},p={};await V(d,e),a!==void 0&&(p.completion_timeout=a),d["Content-Type"]="application/json",P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},c.data=Y(o,c,e),{url:x(l),options:c}}}},ve=function(e){const t=gc(e);return{async addRobotController(r,o,a,s){var c,d;const n=await t.addRobotController(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerApi.addRobotController"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async clearRobotControllers(r,o,a){var i,c;const s=await t.clearRobotControllers(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["ControllerApi.clearRobotControllers"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deleteRobotController(r,o,a,s){var c,d;const n=await t.deleteRobotController(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerApi.deleteRobotController"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async getControllerDescription(r,o,a){var i,c;const s=await t.getControllerDescription(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["ControllerApi.getControllerDescription"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getCoordinateSystem(r,o,a,s,n){var d,p;const l=await t.getCoordinateSystem(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["ControllerApi.getCoordinateSystem"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)},async getCurrentRobotControllerState(r,o,a){var i,c;const s=await t.getCurrentRobotControllerState(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["ControllerApi.getCurrentRobotControllerState"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getRobotController(r,o,a){var i,c;const s=await t.getRobotController(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["ControllerApi.getRobotController"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getVirtualControllerConfiguration(r,o,a){var i,c;const s=await t.getVirtualControllerConfiguration(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["ControllerApi.getVirtualControllerConfiguration"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async listCoordinateSystems(r,o,a,s){var c,d;const n=await t.listCoordinateSystems(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerApi.listCoordinateSystems"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async listRobotControllers(r,o){var l,i;const a=await t.listRobotControllers(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["ControllerApi.listRobotControllers"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async setDefaultMode(r,o,a,s){var c,d;const n=await t.setDefaultMode(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerApi.setDefaultMode"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async streamFreeDrive(r,o,a,s){var c,d;const n=await t.streamFreeDrive(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerApi.streamFreeDrive"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async streamRobotControllerState(r,o,a,s,n){var d,p;const l=await t.streamRobotControllerState(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["ControllerApi.streamRobotControllerState"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)},async updateRobotController(r,o,a,s,n){var d,p;const l=await t.updateRobotController(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["ControllerApi.updateRobotController"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)}}};var vc=class extends Se{addRobotController(e,t,r,o){return ve(this.configuration).addRobotController(e,t,r,o).then(a=>a(this.axios,this.basePath))}clearRobotControllers(e,t,r){return ve(this.configuration).clearRobotControllers(e,t,r).then(o=>o(this.axios,this.basePath))}deleteRobotController(e,t,r,o){return ve(this.configuration).deleteRobotController(e,t,r,o).then(a=>a(this.axios,this.basePath))}getControllerDescription(e,t,r){return ve(this.configuration).getControllerDescription(e,t,r).then(o=>o(this.axios,this.basePath))}getCoordinateSystem(e,t,r,o,a){return ve(this.configuration).getCoordinateSystem(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}getCurrentRobotControllerState(e,t,r){return ve(this.configuration).getCurrentRobotControllerState(e,t,r).then(o=>o(this.axios,this.basePath))}getRobotController(e,t,r){return ve(this.configuration).getRobotController(e,t,r).then(o=>o(this.axios,this.basePath))}getVirtualControllerConfiguration(e,t,r){return ve(this.configuration).getVirtualControllerConfiguration(e,t,r).then(o=>o(this.axios,this.basePath))}listCoordinateSystems(e,t,r,o){return ve(this.configuration).listCoordinateSystems(e,t,r,o).then(a=>a(this.axios,this.basePath))}listRobotControllers(e,t){return ve(this.configuration).listRobotControllers(e,t).then(r=>r(this.axios,this.basePath))}setDefaultMode(e,t,r,o){return ve(this.configuration).setDefaultMode(e,t,r,o).then(a=>a(this.axios,this.basePath))}streamFreeDrive(e,t,r,o){return ve(this.configuration).streamFreeDrive(e,t,r,o).then(a=>a(this.axios,this.basePath))}streamRobotControllerState(e,t,r,o,a){return ve(this.configuration).streamRobotControllerState(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}updateRobotController(e,t,r,o,a){return ve(this.configuration).updateRobotController(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}};const Vc=function(e){return{listIODescriptions:async(t,r,o,a,s,n,l={})=>{y("listIODescriptions","cell",t),y("listIODescriptions","controller",r);const i="/cells/{cell}/controllers/{controller}/ios/description".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),c=new URL(i,v);let d;e&&(d=e.baseOptions);const p={method:"GET",...d,...l},m={},f={};await V(m,e),o&&(f.ios=o),a!==void 0&&(f.direction=a),s!==void 0&&(f.value_type=s),n!==void 0&&(f.group=n),P(c,f);let S=d&&d.headers?d.headers:{};return p.headers={...m,...S,...l.headers},{url:x(c),options:p}},listIOValues:async(t,r,o,a={})=>{y("listIOValues","cell",t),y("listIOValues","controller",r);const s="/cells/{cell}/controllers/{controller}/ios/values".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),o&&(d.ios=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},setOutputValues:async(t,r,o,a={})=>{y("setOutputValues","cell",t),y("setOutputValues","controller",r),y("setOutputValues","iOValue",o);const s="/cells/{cell}/controllers/{controller}/ios/values".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},streamIOValues:async(t,r,o,a={})=>{y("streamIOValues","cell",t),y("streamIOValues","controller",r);const s="/cells/{cell}/controllers/{controller}/ios/stream".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),o&&(d.ios=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},waitForIOEvent:async(t,r,o,a={})=>{y("waitForIOEvent","cell",t),y("waitForIOEvent","controller",r),y("waitForIOEvent","waitForIOEventRequest",o);const s="/cells/{cell}/controllers/{controller}/ios/wait-for".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"POST",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}}}},Ot=function(e){const t=Vc(e);return{async listIODescriptions(r,o,a,s,n,l,i){var m,f;const c=await t.listIODescriptions(r,o,a,s,n,l,i),d=(e==null?void 0:e.serverIndex)??0,p=(f=(m=g["ControllerInputsOutputsApi.listIODescriptions"])==null?void 0:m[d])==null?void 0:f.url;return(S,b)=>I(c,O,C,e)(S,p||b)},async listIOValues(r,o,a,s){var c,d;const n=await t.listIOValues(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerInputsOutputsApi.listIOValues"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async setOutputValues(r,o,a,s){var c,d;const n=await t.setOutputValues(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerInputsOutputsApi.setOutputValues"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async streamIOValues(r,o,a,s){var c,d;const n=await t.streamIOValues(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerInputsOutputsApi.streamIOValues"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async waitForIOEvent(r,o,a,s){var c,d;const n=await t.waitForIOEvent(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["ControllerInputsOutputsApi.waitForIOEvent"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)}}};var Pc=class extends Se{listIODescriptions(e,t,r,o,a,s,n){return Ot(this.configuration).listIODescriptions(e,t,r,o,a,s,n).then(l=>l(this.axios,this.basePath))}listIOValues(e,t,r,o){return Ot(this.configuration).listIOValues(e,t,r,o).then(a=>a(this.axios,this.basePath))}setOutputValues(e,t,r,o){return Ot(this.configuration).setOutputValues(e,t,r,o).then(a=>a(this.axios,this.basePath))}streamIOValues(e,t,r,o){return Ot(this.configuration).streamIOValues(e,t,r,o).then(a=>a(this.axios,this.basePath))}waitForIOEvent(e,t,r,o){return Ot(this.configuration).waitForIOEvent(e,t,r,o).then(a=>a(this.axios,this.basePath))}};const xc=function(e){return{executeJogging:async(t,r,o,a={})=>{y("executeJogging","cell",t),y("executeJogging","controller",r),y("executeJogging","executeJoggingRequest",o);const s="/cells/{cell}/controllers/{controller}/execution/jogging".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}}}},Ic=function(e){const t=xc(e);return{async executeJogging(r,o,a,s){var c,d;const n=await t.executeJogging(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["JoggingApi.executeJogging"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)}}};var wc=class extends Se{executeJogging(e,t,r,o){return Ic(this.configuration).executeJogging(e,t,r,o).then(a=>a(this.axios,this.basePath))}};const Rc=function(e){return{forwardKinematics:async(t,r,o={})=>{y("forwardKinematics","cell",t),y("forwardKinematics","forwardKinematicsRequest",r);const a="/cells/{cell}/kinematic/forward".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}},inverseKinematics:async(t,r,o={})=>{y("inverseKinematics","cell",t),y("inverseKinematics","inverseKinematicsRequest",r);const a="/cells/{cell}/kinematic/inverse".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}},projectJointPositionDirectionConstraint:async(t,r,o={})=>{y("projectJointPositionDirectionConstraint","cell",t),y("projectJointPositionDirectionConstraint","projectJointPositionDirectionConstraintRequest",r);const a="/experimental/cells/{cell}/kinematic/project-joint-position-direction-constraint".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}}}},Tr=function(e){const t=Rc(e);return{async forwardKinematics(r,o,a){var i,c;const s=await t.forwardKinematics(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["KinematicsApi.forwardKinematics"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async inverseKinematics(r,o,a){var i,c;const s=await t.inverseKinematics(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["KinematicsApi.inverseKinematics"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async projectJointPositionDirectionConstraint(r,o,a){var i,c;const s=await t.projectJointPositionDirectionConstraint(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["KinematicsApi.projectJointPositionDirectionConstraint"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)}}};var Tc=class extends Se{forwardKinematics(e,t,r){return Tr(this.configuration).forwardKinematics(e,t,r).then(o=>o(this.axios,this.basePath))}inverseKinematics(e,t,r){return Tr(this.configuration).inverseKinematics(e,t,r).then(o=>o(this.axios,this.basePath))}projectJointPositionDirectionConstraint(e,t,r){return Tr(this.configuration).projectJointPositionDirectionConstraint(e,t,r).then(o=>o(this.axios,this.basePath))}};const Ac=function(e){return{getCurrentMotionGroupState:async(t,r,o,a,s={})=>{y("getCurrentMotionGroupState","cell",t),y("getCurrentMotionGroupState","controller",r),y("getCurrentMotionGroupState","motionGroup",o);const n="/cells/{cell}/controllers/{controller}/motion-groups/{motion-group}/state".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"GET",...i,...s},d={},p={};await V(d,e),a!==void 0&&(p.response_coordinate_system=a),P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},{url:x(l),options:c}},getMotionGroupDescription:async(t,r,o,a={})=>{y("getMotionGroupDescription","cell",t),y("getMotionGroupDescription","controller",r),y("getMotionGroupDescription","motionGroup",o);const s="/cells/{cell}/controllers/{controller}/motion-groups/{motion-group}/description".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},streamMotionGroupState:async(t,r,o,a,s,n={})=>{y("streamMotionGroupState","cell",t),y("streamMotionGroupState","controller",r),y("streamMotionGroupState","motionGroup",o);const l="/cells/{cell}/controllers/{controller}/motion-groups/{motion-group}/state-stream".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),i=new URL(l,v);let c;e&&(c=e.baseOptions);const d={method:"GET",...c,...n},p={},m={};await V(p,e),a!==void 0&&(m.response_rate=a),s!==void 0&&(m.response_coordinate_system=s),P(i,m);let f=c&&c.headers?c.headers:{};return d.headers={...p,...f,...n.headers},{url:x(i),options:d}}}},Ar=function(e){const t=Ac(e);return{async getCurrentMotionGroupState(r,o,a,s,n){var d,p;const l=await t.getCurrentMotionGroupState(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["MotionGroupApi.getCurrentMotionGroupState"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)},async getMotionGroupDescription(r,o,a,s){var c,d;const n=await t.getMotionGroupDescription(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["MotionGroupApi.getMotionGroupDescription"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async streamMotionGroupState(r,o,a,s,n,l){var p,m;const i=await t.streamMotionGroupState(r,o,a,s,n,l),c=(e==null?void 0:e.serverIndex)??0,d=(m=(p=g["MotionGroupApi.streamMotionGroupState"])==null?void 0:p[c])==null?void 0:m.url;return(f,S)=>I(i,O,C,e)(f,d||S)}}};var Ec=class extends Se{getCurrentMotionGroupState(e,t,r,o,a){return Ar(this.configuration).getCurrentMotionGroupState(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}getMotionGroupDescription(e,t,r,o){return Ar(this.configuration).getMotionGroupDescription(e,t,r,o).then(a=>a(this.axios,this.basePath))}streamMotionGroupState(e,t,r,o,a,s){return Ar(this.configuration).streamMotionGroupState(e,t,r,o,a,s).then(n=>n(this.axios,this.basePath))}};const Uc=function(e){return{getMotionGroupCollisionModel:async(t,r={})=>{y("getMotionGroupCollisionModel","motionGroupModel",t);const o="/motion-group-models/{motion-group-model}/collision".replace("{motion-group-model}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},getMotionGroupGlbModel:async(t,r={})=>{y("getMotionGroupGlbModel","motionGroupModel",t);const o="/motion-group-models/{motion-group-model}/glb".replace("{motion-group-model}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},getMotionGroupKinematicModel:async(t,r={})=>{y("getMotionGroupKinematicModel","motionGroupModel",t);const o="/motion-group-models/{motion-group-model}/kinematic".replace("{motion-group-model}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},getMotionGroupModels:async(t={})=>{const r=new URL("/motion-group-models",v);let o;e&&(o=e.baseOptions);const a={method:"GET",...o,...t},s={},n={};await V(s,e),P(r,n);let l=o&&o.headers?o.headers:{};return a.headers={...s,...l,...t.headers},{url:x(r),options:a}},getMotionGroupUsdModel:async(t,r={})=>{y("getMotionGroupUsdModel","motionGroupModel",t);const o="/motion-group-models/{motion-group-model}/usd".replace("{motion-group-model}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}}}},Ct=function(e){const t=Uc(e);return{async getMotionGroupCollisionModel(r,o){var l,i;const a=await t.getMotionGroupCollisionModel(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["MotionGroupModelsApi.getMotionGroupCollisionModel"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getMotionGroupGlbModel(r,o){var l,i;const a=await t.getMotionGroupGlbModel(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["MotionGroupModelsApi.getMotionGroupGlbModel"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getMotionGroupKinematicModel(r,o){var l,i;const a=await t.getMotionGroupKinematicModel(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["MotionGroupModelsApi.getMotionGroupKinematicModel"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getMotionGroupModels(r){var n,l;const o=await t.getMotionGroupModels(r),a=(e==null?void 0:e.serverIndex)??0,s=(l=(n=g["MotionGroupModelsApi.getMotionGroupModels"])==null?void 0:n[a])==null?void 0:l.url;return(i,c)=>I(o,O,C,e)(i,s||c)},async getMotionGroupUsdModel(r,o){var l,i;const a=await t.getMotionGroupUsdModel(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["MotionGroupModelsApi.getMotionGroupUsdModel"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)}}};var _c=class extends Se{getMotionGroupCollisionModel(e,t){return Ct(this.configuration).getMotionGroupCollisionModel(e,t).then(r=>r(this.axios,this.basePath))}getMotionGroupGlbModel(e,t){return Ct(this.configuration).getMotionGroupGlbModel(e,t).then(r=>r(this.axios,this.basePath))}getMotionGroupKinematicModel(e,t){return Ct(this.configuration).getMotionGroupKinematicModel(e,t).then(r=>r(this.axios,this.basePath))}getMotionGroupModels(e){return Ct(this.configuration).getMotionGroupModels(e).then(t=>t(this.axios,this.basePath))}getMotionGroupUsdModel(e,t){return Ct(this.configuration).getMotionGroupUsdModel(e,t).then(r=>r(this.axios,this.basePath))}};const Bc=function(e){return{deleteStoredCollider:async(t,r,o={})=>{y("deleteStoredCollider","cell",t),y("deleteStoredCollider","collider",r);const a="/cells/{cell}/store/collision/colliders/{collider}".replace("{cell}",encodeURIComponent(String(t))).replace("{collider}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deleteStoredCollisionLinkChain:async(t,r,o={})=>{y("deleteStoredCollisionLinkChain","cell",t),y("deleteStoredCollisionLinkChain","linkChain",r);const a="/cells/{cell}/store/collision/link-chains/{link-chain}".replace("{cell}",encodeURIComponent(String(t))).replace("{link-chain}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deleteStoredCollisionTool:async(t,r,o={})=>{y("deleteStoredCollisionTool","cell",t),y("deleteStoredCollisionTool","tool",r);const a="/cells/{cell}/store/collision/tools/{tool}".replace("{cell}",encodeURIComponent(String(t))).replace("{tool}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getStoredCollider:async(t,r,o={})=>{y("getStoredCollider","cell",t),y("getStoredCollider","collider",r);const a="/cells/{cell}/store/collision/colliders/{collider}".replace("{cell}",encodeURIComponent(String(t))).replace("{collider}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getStoredCollisionLinkChain:async(t,r,o={})=>{y("getStoredCollisionLinkChain","cell",t),y("getStoredCollisionLinkChain","linkChain",r);const a="/cells/{cell}/store/collision/link-chains/{link-chain}".replace("{cell}",encodeURIComponent(String(t))).replace("{link-chain}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getStoredCollisionTool:async(t,r,o={})=>{y("getStoredCollisionTool","cell",t),y("getStoredCollisionTool","tool",r);const a="/cells/{cell}/store/collision/tools/{tool}".replace("{cell}",encodeURIComponent(String(t))).replace("{tool}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},listCollisionLinkChains:async(t,r={})=>{y("listCollisionLinkChains","cell",t);const o="/cells/{cell}/store/collision/link-chains".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listCollisionLinkChainsKeys:async(t,r={})=>{y("listCollisionLinkChainsKeys","cell",t);const o="/cells/{cell}/store/collision/link-chains-keys".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listStoredColliders:async(t,r={})=>{y("listStoredColliders","cell",t);const o="/cells/{cell}/store/collision/colliders".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listStoredCollidersKeys:async(t,r={})=>{y("listStoredCollidersKeys","cell",t);const o="/cells/{cell}/store/collision/colliders-keys".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listStoredCollisionTools:async(t,r={})=>{y("listStoredCollisionTools","cell",t);const o="/cells/{cell}/store/collision/tools".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listStoredCollisionToolsKeys:async(t,r={})=>{y("listStoredCollisionToolsKeys","cell",t);const o="/cells/{cell}/store/collision/tools-keys".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},storeCollider:async(t,r,o,a={})=>{y("storeCollider","cell",t),y("storeCollider","collider",r),y("storeCollider","collider2",o);const s="/cells/{cell}/store/collision/colliders/{collider}".replace("{cell}",encodeURIComponent(String(t))).replace("{collider}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},storeCollisionLinkChain:async(t,r,o,a={})=>{y("storeCollisionLinkChain","cell",t),y("storeCollisionLinkChain","linkChain",r),y("storeCollisionLinkChain","collider",o);const s="/cells/{cell}/store/collision/link-chains/{link-chain}".replace("{cell}",encodeURIComponent(String(t))).replace("{link-chain}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},storeCollisionTool:async(t,r,o,a={})=>{y("storeCollisionTool","cell",t),y("storeCollisionTool","tool",r),y("storeCollisionTool","requestBody",o);const s="/cells/{cell}/store/collision/tools/{tool}".replace("{cell}",encodeURIComponent(String(t))).replace("{tool}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}}}},Ce=function(e){const t=Bc(e);return{async deleteStoredCollider(r,o,a){var i,c;const s=await t.deleteStoredCollider(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreCollisionComponentsApi.deleteStoredCollider"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deleteStoredCollisionLinkChain(r,o,a){var i,c;const s=await t.deleteStoredCollisionLinkChain(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreCollisionComponentsApi.deleteStoredCollisionLinkChain"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deleteStoredCollisionTool(r,o,a){var i,c;const s=await t.deleteStoredCollisionTool(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreCollisionComponentsApi.deleteStoredCollisionTool"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getStoredCollider(r,o,a){var i,c;const s=await t.getStoredCollider(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreCollisionComponentsApi.getStoredCollider"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getStoredCollisionLinkChain(r,o,a){var i,c;const s=await t.getStoredCollisionLinkChain(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreCollisionComponentsApi.getStoredCollisionLinkChain"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getStoredCollisionTool(r,o,a){var i,c;const s=await t.getStoredCollisionTool(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreCollisionComponentsApi.getStoredCollisionTool"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async listCollisionLinkChains(r,o){var l,i;const a=await t.listCollisionLinkChains(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreCollisionComponentsApi.listCollisionLinkChains"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listCollisionLinkChainsKeys(r,o){var l,i;const a=await t.listCollisionLinkChainsKeys(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreCollisionComponentsApi.listCollisionLinkChainsKeys"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listStoredColliders(r,o){var l,i;const a=await t.listStoredColliders(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreCollisionComponentsApi.listStoredColliders"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listStoredCollidersKeys(r,o){var l,i;const a=await t.listStoredCollidersKeys(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreCollisionComponentsApi.listStoredCollidersKeys"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listStoredCollisionTools(r,o){var l,i;const a=await t.listStoredCollisionTools(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreCollisionComponentsApi.listStoredCollisionTools"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listStoredCollisionToolsKeys(r,o){var l,i;const a=await t.listStoredCollisionToolsKeys(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreCollisionComponentsApi.listStoredCollisionToolsKeys"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async storeCollider(r,o,a,s){var c,d;const n=await t.storeCollider(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["StoreCollisionComponentsApi.storeCollider"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async storeCollisionLinkChain(r,o,a,s){var c,d;const n=await t.storeCollisionLinkChain(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["StoreCollisionComponentsApi.storeCollisionLinkChain"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async storeCollisionTool(r,o,a,s){var c,d;const n=await t.storeCollisionTool(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["StoreCollisionComponentsApi.storeCollisionTool"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)}}};var jc=class extends Se{deleteStoredCollider(e,t,r){return Ce(this.configuration).deleteStoredCollider(e,t,r).then(o=>o(this.axios,this.basePath))}deleteStoredCollisionLinkChain(e,t,r){return Ce(this.configuration).deleteStoredCollisionLinkChain(e,t,r).then(o=>o(this.axios,this.basePath))}deleteStoredCollisionTool(e,t,r){return Ce(this.configuration).deleteStoredCollisionTool(e,t,r).then(o=>o(this.axios,this.basePath))}getStoredCollider(e,t,r){return Ce(this.configuration).getStoredCollider(e,t,r).then(o=>o(this.axios,this.basePath))}getStoredCollisionLinkChain(e,t,r){return Ce(this.configuration).getStoredCollisionLinkChain(e,t,r).then(o=>o(this.axios,this.basePath))}getStoredCollisionTool(e,t,r){return Ce(this.configuration).getStoredCollisionTool(e,t,r).then(o=>o(this.axios,this.basePath))}listCollisionLinkChains(e,t){return Ce(this.configuration).listCollisionLinkChains(e,t).then(r=>r(this.axios,this.basePath))}listCollisionLinkChainsKeys(e,t){return Ce(this.configuration).listCollisionLinkChainsKeys(e,t).then(r=>r(this.axios,this.basePath))}listStoredColliders(e,t){return Ce(this.configuration).listStoredColliders(e,t).then(r=>r(this.axios,this.basePath))}listStoredCollidersKeys(e,t){return Ce(this.configuration).listStoredCollidersKeys(e,t).then(r=>r(this.axios,this.basePath))}listStoredCollisionTools(e,t){return Ce(this.configuration).listStoredCollisionTools(e,t).then(r=>r(this.axios,this.basePath))}listStoredCollisionToolsKeys(e,t){return Ce(this.configuration).listStoredCollisionToolsKeys(e,t).then(r=>r(this.axios,this.basePath))}storeCollider(e,t,r,o){return Ce(this.configuration).storeCollider(e,t,r,o).then(a=>a(this.axios,this.basePath))}storeCollisionLinkChain(e,t,r,o){return Ce(this.configuration).storeCollisionLinkChain(e,t,r,o).then(a=>a(this.axios,this.basePath))}storeCollisionTool(e,t,r,o){return Ce(this.configuration).storeCollisionTool(e,t,r,o).then(a=>a(this.axios,this.basePath))}};const Mc=function(e){return{deleteStoredCollisionSetup:async(t,r,o={})=>{y("deleteStoredCollisionSetup","cell",t),y("deleteStoredCollisionSetup","setup",r);const a="/cells/{cell}/store/collision/setups/{setup}".replace("{cell}",encodeURIComponent(String(t))).replace("{setup}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getStoredCollisionSetup:async(t,r,o={})=>{y("getStoredCollisionSetup","cell",t),y("getStoredCollisionSetup","setup",r);const a="/cells/{cell}/store/collision/setups/{setup}".replace("{cell}",encodeURIComponent(String(t))).replace("{setup}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},listStoredCollisionSetups:async(t,r={})=>{y("listStoredCollisionSetups","cell",t);const o="/cells/{cell}/store/collision/setups".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},listStoredCollisionSetupsKeys:async(t,r={})=>{y("listStoredCollisionSetupsKeys","cell",t);const o="/cells/{cell}/store/collision/setups-keys".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},storeCollisionSetup:async(t,r,o,a={})=>{y("storeCollisionSetup","cell",t),y("storeCollisionSetup","setup",r),y("storeCollisionSetup","collisionSetup",o);const s="/cells/{cell}/store/collision/setups/{setup}".replace("{cell}",encodeURIComponent(String(t))).replace("{setup}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}}}},gt=function(e){const t=Mc(e);return{async deleteStoredCollisionSetup(r,o,a){var i,c;const s=await t.deleteStoredCollisionSetup(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreCollisionSetupsApi.deleteStoredCollisionSetup"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getStoredCollisionSetup(r,o,a){var i,c;const s=await t.getStoredCollisionSetup(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreCollisionSetupsApi.getStoredCollisionSetup"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async listStoredCollisionSetups(r,o){var l,i;const a=await t.listStoredCollisionSetups(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreCollisionSetupsApi.listStoredCollisionSetups"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async listStoredCollisionSetupsKeys(r,o){var l,i;const a=await t.listStoredCollisionSetupsKeys(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreCollisionSetupsApi.listStoredCollisionSetupsKeys"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async storeCollisionSetup(r,o,a,s){var c,d;const n=await t.storeCollisionSetup(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["StoreCollisionSetupsApi.storeCollisionSetup"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)}}};var kc=class extends Se{deleteStoredCollisionSetup(e,t,r){return gt(this.configuration).deleteStoredCollisionSetup(e,t,r).then(o=>o(this.axios,this.basePath))}getStoredCollisionSetup(e,t,r){return gt(this.configuration).getStoredCollisionSetup(e,t,r).then(o=>o(this.axios,this.basePath))}listStoredCollisionSetups(e,t){return gt(this.configuration).listStoredCollisionSetups(e,t).then(r=>r(this.axios,this.basePath))}listStoredCollisionSetupsKeys(e,t){return gt(this.configuration).listStoredCollisionSetupsKeys(e,t).then(r=>r(this.axios,this.basePath))}storeCollisionSetup(e,t,r,o){return gt(this.configuration).storeCollisionSetup(e,t,r,o).then(a=>a(this.axios,this.basePath))}};const $c=function(e){return{clearAllObjects:async(t,r={})=>{y("clearAllObjects","cell",t);const o="/cells/{cell}/store/objects".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"DELETE",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},deleteObject:async(t,r,o={})=>{y("deleteObject","cell",t),y("deleteObject","key",r);const a="/cells/{cell}/store/objects/{key}".replace("{cell}",encodeURIComponent(String(t))).replace("{key}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getObject:async(t,r,o={})=>{y("getObject","cell",t),y("getObject","key",r);const a="/cells/{cell}/store/objects/{key}".replace("{cell}",encodeURIComponent(String(t))).replace("{key}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getObjectMetadata:async(t,r,o={})=>{y("getObjectMetadata","cell",t),y("getObjectMetadata","key",r);const a="/cells/{cell}/store/objects/{key}".replace("{cell}",encodeURIComponent(String(t))).replace("{key}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"HEAD",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},listAllObjectKeys:async(t,r={})=>{y("listAllObjectKeys","cell",t);const o="/cells/{cell}/store/objects".replace("{cell}",encodeURIComponent(String(t))),a=new URL(o,v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...r},l={},i={};await V(l,e),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...r.headers},{url:x(a),options:n}},storeObject:async(t,r,o,a,s={})=>{y("storeObject","cell",t),y("storeObject","key",r);const n="/cells/{cell}/store/objects/{key}".replace("{cell}",encodeURIComponent(String(t))).replace("{key}",encodeURIComponent(String(r))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"PUT",...i,...s},d={},p={},m=new(e&&e.formDataCtor||FormData);await V(d,e),a!==void 0&&m.append("any_value",new Blob([JSON.stringify(a)],{type:"application/json"})),d["Content-Type"]="multipart/form-data",o!=null&&(d["X-Metadata"]=typeof o=="string"?o:JSON.stringify(o)),P(l,p);let f=i&&i.headers?i.headers:{};return c.headers={...d,...f,...s.headers},c.data=m,{url:x(l),options:c}}}},dt=function(e){const t=$c(e);return{async clearAllObjects(r,o){var l,i;const a=await t.clearAllObjects(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreObjectApi.clearAllObjects"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async deleteObject(r,o,a){var i,c;const s=await t.deleteObject(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreObjectApi.deleteObject"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getObject(r,o,a){var i,c;const s=await t.getObject(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreObjectApi.getObject"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getObjectMetadata(r,o,a){var i,c;const s=await t.getObjectMetadata(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["StoreObjectApi.getObjectMetadata"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async listAllObjectKeys(r,o){var l,i;const a=await t.listAllObjectKeys(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["StoreObjectApi.listAllObjectKeys"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async storeObject(r,o,a,s,n){var d,p;const l=await t.storeObject(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["StoreObjectApi.storeObject"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)}}};var Nc=class extends Se{clearAllObjects(e,t){return dt(this.configuration).clearAllObjects(e,t).then(r=>r(this.axios,this.basePath))}deleteObject(e,t,r){return dt(this.configuration).deleteObject(e,t,r).then(o=>o(this.axios,this.basePath))}getObject(e,t,r){return dt(this.configuration).getObject(e,t,r).then(o=>o(this.axios,this.basePath))}getObjectMetadata(e,t,r){return dt(this.configuration).getObjectMetadata(e,t,r).then(o=>o(this.axios,this.basePath))}listAllObjectKeys(e,t){return dt(this.configuration).listAllObjectKeys(e,t).then(r=>r(this.axios,this.basePath))}storeObject(e,t,r,o,a){return dt(this.configuration).storeObject(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}};const Lc=function(e){return{backupConfiguration:async(t,r,o={})=>{const a=new URL("/system/configuration",v);let s;e&&(s=e.baseOptions);const n={method:"GET",...s,...o},l={},i={};await V(l,e),t&&(i.resources=t.join(zo.csv)),r!==void 0&&(i.metadata=r),P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...o.headers},{url:x(a),options:n}},checkNovaVersionUpdate:async(t,r={})=>{y("checkNovaVersionUpdate","channel",t);const o=new URL("/system/update",v);let a;e&&(a=e.baseOptions);const s={method:"GET",...a,...r},n={},l={};await V(n,e),t!==void 0&&(l.channel=t),P(o,l);let i=a&&a.headers?a.headers:{};return s.headers={...n,...i,...r.headers},{url:x(o),options:s}},getArpScan:async(t,r,o,a={})=>{const s=new URL("/experimental/system/network/arp-scan",v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...a},i={},c={};await V(i,e),t!==void 0&&(c.interface=t),r!==void 0&&(c.cidr=r),o!==void 0&&(c.timeout=o),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...a.headers},{url:x(s),options:l}},getConfigurationBackupStatus:async(t,r={})=>{y("getConfigurationBackupStatus","operationId",t);const o=new URL("/system/configuration/status",v);let a;e&&(a=e.baseOptions);const s={method:"GET",...a,...r},n={},l={};await V(n,e),t!==void 0&&(l.operation_id=t),P(o,l);let i=a&&a.headers?a.headers:{};return s.headers={...n,...i,...r.headers},{url:x(o),options:s}},getDiagnosePackage:async(t={})=>{const r=new URL("/system/diagnosis-package/zip",v);let o;e&&(o=e.baseOptions);const a={method:"GET",...o,...t},s={},n={};await V(s,e),P(r,n);let l=o&&o.headers?o.headers:{};return a.headers={...s,...l,...t.headers},{url:x(r),options:a}},getNetworkInterfaces:async(t={})=>{const r=new URL("/experimental/system/network/interfaces",v);let o;e&&(o=e.baseOptions);const a={method:"GET",...o,...t},s={},n={};await V(s,e),P(r,n);let l=o&&o.headers?o.headers:{};return a.headers={...s,...l,...t.headers},{url:x(r),options:a}},getNetworkState:async(t={})=>{const r=new URL("/experimental/system/network/status",v);let o;e&&(o=e.baseOptions);const a={method:"GET",...o,...t},s={},n={};await V(s,e),P(r,n);let l=o&&o.headers?o.headers:{};return a.headers={...s,...l,...t.headers},{url:x(r),options:a}},getSystemStatus:async(t={})=>{const r=new URL("/system/status",v);let o;e&&(o=e.baseOptions);const a={method:"GET",...o,...t},s={},n={};await V(s,e),P(r,n);let l=o&&o.headers?o.headers:{};return a.headers={...s,...l,...t.headers},{url:x(r),options:a}},getSystemVersion:async(t={})=>{const r=new URL("/system/version",v);let o;e&&(o=e.baseOptions);const a={method:"GET",...o,...t},s={},n={};await V(s,e),P(r,n);let l=o&&o.headers?o.headers:{};return a.headers={...s,...l,...t.headers},{url:x(r),options:a}},listConfigurationResources:async(t={})=>{const r=new URL("/system/configuration/resources",v);let o;e&&(o=e.baseOptions);const a={method:"GET",...o,...t},s={},n={};await V(s,e),P(r,n);let l=o&&o.headers?o.headers:{};return a.headers={...s,...l,...t.headers},{url:x(r),options:a}},restoreConfiguration:async(t,r,o={})=>{y("restoreConfiguration","body",t);const a=new URL("/system/configuration",v);let s;e&&(s=e.baseOptions);const n={method:"POST",...s,...o},l={},i={};await V(l,e),r&&(i.resources=r.join(zo.csv)),l["Content-Type"]="application/gzip",P(a,i);let c=s&&s.headers?s.headers:{};return n.headers={...l,...c,...o.headers},n.data=Y(t,n,e),{url:x(a),options:n}},updateNovaVersion:async(t,r={})=>{y("updateNovaVersion","updateNovaVersionRequest",t);const o=new URL("/system/update",v);let a;e&&(a=e.baseOptions);const s={method:"PUT",...a,...r},n={},l={};await V(n,e),n["Content-Type"]="application/json",P(o,l);let i=a&&a.headers?a.headers:{};return s.headers={...n,...i,...r.headers},s.data=Y(t,s,e),{url:x(o),options:s}}}},xe=function(e){const t=Lc(e);return{async backupConfiguration(r,o,a){var i,c;const s=await t.backupConfiguration(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["SystemApi.backupConfiguration"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async checkNovaVersionUpdate(r,o){var l,i;const a=await t.checkNovaVersionUpdate(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["SystemApi.checkNovaVersionUpdate"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getArpScan(r,o,a,s){var c,d;const n=await t.getArpScan(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["SystemApi.getArpScan"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async getConfigurationBackupStatus(r,o){var l,i;const a=await t.getConfigurationBackupStatus(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["SystemApi.getConfigurationBackupStatus"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)},async getDiagnosePackage(r){var n,l;const o=await t.getDiagnosePackage(r),a=(e==null?void 0:e.serverIndex)??0,s=(l=(n=g["SystemApi.getDiagnosePackage"])==null?void 0:n[a])==null?void 0:l.url;return(i,c)=>I(o,O,C,e)(i,s||c)},async getNetworkInterfaces(r){var n,l;const o=await t.getNetworkInterfaces(r),a=(e==null?void 0:e.serverIndex)??0,s=(l=(n=g["SystemApi.getNetworkInterfaces"])==null?void 0:n[a])==null?void 0:l.url;return(i,c)=>I(o,O,C,e)(i,s||c)},async getNetworkState(r){var n,l;const o=await t.getNetworkState(r),a=(e==null?void 0:e.serverIndex)??0,s=(l=(n=g["SystemApi.getNetworkState"])==null?void 0:n[a])==null?void 0:l.url;return(i,c)=>I(o,O,C,e)(i,s||c)},async getSystemStatus(r){var n,l;const o=await t.getSystemStatus(r),a=(e==null?void 0:e.serverIndex)??0,s=(l=(n=g["SystemApi.getSystemStatus"])==null?void 0:n[a])==null?void 0:l.url;return(i,c)=>I(o,O,C,e)(i,s||c)},async getSystemVersion(r){var n,l;const o=await t.getSystemVersion(r),a=(e==null?void 0:e.serverIndex)??0,s=(l=(n=g["SystemApi.getSystemVersion"])==null?void 0:n[a])==null?void 0:l.url;return(i,c)=>I(o,O,C,e)(i,s||c)},async listConfigurationResources(r){var n,l;const o=await t.listConfigurationResources(r),a=(e==null?void 0:e.serverIndex)??0,s=(l=(n=g["SystemApi.listConfigurationResources"])==null?void 0:n[a])==null?void 0:l.url;return(i,c)=>I(o,O,C,e)(i,s||c)},async restoreConfiguration(r,o,a){var i,c;const s=await t.restoreConfiguration(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["SystemApi.restoreConfiguration"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async updateNovaVersion(r,o){var l,i;const a=await t.updateNovaVersion(r,o),s=(e==null?void 0:e.serverIndex)??0,n=(i=(l=g["SystemApi.updateNovaVersion"])==null?void 0:l[s])==null?void 0:i.url;return(c,d)=>I(a,O,C,e)(c,n||d)}}};var Fc=class extends Se{backupConfiguration(e,t,r){return xe(this.configuration).backupConfiguration(e,t,r).then(o=>o(this.axios,this.basePath))}checkNovaVersionUpdate(e,t){return xe(this.configuration).checkNovaVersionUpdate(e,t).then(r=>r(this.axios,this.basePath))}getArpScan(e,t,r,o){return xe(this.configuration).getArpScan(e,t,r,o).then(a=>a(this.axios,this.basePath))}getConfigurationBackupStatus(e,t){return xe(this.configuration).getConfigurationBackupStatus(e,t).then(r=>r(this.axios,this.basePath))}getDiagnosePackage(e){return xe(this.configuration).getDiagnosePackage(e).then(t=>t(this.axios,this.basePath))}getNetworkInterfaces(e){return xe(this.configuration).getNetworkInterfaces(e).then(t=>t(this.axios,this.basePath))}getNetworkState(e){return xe(this.configuration).getNetworkState(e).then(t=>t(this.axios,this.basePath))}getSystemStatus(e){return xe(this.configuration).getSystemStatus(e).then(t=>t(this.axios,this.basePath))}getSystemVersion(e){return xe(this.configuration).getSystemVersion(e).then(t=>t(this.axios,this.basePath))}listConfigurationResources(e){return xe(this.configuration).listConfigurationResources(e).then(t=>t(this.axios,this.basePath))}restoreConfiguration(e,t,r){return xe(this.configuration).restoreConfiguration(e,t,r).then(o=>o(this.axios,this.basePath))}updateNovaVersion(e,t){return xe(this.configuration).updateNovaVersion(e,t).then(r=>r(this.axios,this.basePath))}};const Dc=function(e){return{addTrajectory:async(t,r,o,a={})=>{y("addTrajectory","cell",t),y("addTrajectory","controller",r),y("addTrajectory","addTrajectoryRequest",o);const s="/cells/{cell}/controllers/{controller}/trajectories".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"POST",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},clearTrajectories:async(t,r,o={})=>{y("clearTrajectories","cell",t),y("clearTrajectories","controller",r);const a="/cells/{cell}/controllers/{controller}/trajectories".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"DELETE",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},deleteTrajectory:async(t,r,o,a={})=>{y("deleteTrajectory","cell",t),y("deleteTrajectory","controller",r),y("deleteTrajectory","trajectory",o);const s="/cells/{cell}/controllers/{controller}/trajectories/{trajectory}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{trajectory}",encodeURIComponent(String(o))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"DELETE",...l,...a},c={},d={};await V(c,e),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},getTrajectory:async(t,r,o,a={})=>{y("getTrajectory","cell",t),y("getTrajectory","controller",r),y("getTrajectory","trajectory",o);const s="/cells/{cell}/controllers/{controller}/trajectories/{trajectory}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{trajectory}",encodeURIComponent(String(o))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},listTrajectories:async(t,r,o={})=>{y("listTrajectories","cell",t),y("listTrajectories","controller",r);const a="/cells/{cell}/controllers/{controller}/trajectories".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}}}},vt=function(e){const t=Dc(e);return{async addTrajectory(r,o,a,s){var c,d;const n=await t.addTrajectory(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["TrajectoryCachingApi.addTrajectory"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async clearTrajectories(r,o,a){var i,c;const s=await t.clearTrajectories(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["TrajectoryCachingApi.clearTrajectories"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async deleteTrajectory(r,o,a,s){var c,d;const n=await t.deleteTrajectory(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["TrajectoryCachingApi.deleteTrajectory"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async getTrajectory(r,o,a,s){var c,d;const n=await t.getTrajectory(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["TrajectoryCachingApi.getTrajectory"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async listTrajectories(r,o,a){var i,c;const s=await t.listTrajectories(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["TrajectoryCachingApi.listTrajectories"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)}}};var Gc=class extends Se{addTrajectory(e,t,r,o){return vt(this.configuration).addTrajectory(e,t,r,o).then(a=>a(this.axios,this.basePath))}clearTrajectories(e,t,r){return vt(this.configuration).clearTrajectories(e,t,r).then(o=>o(this.axios,this.basePath))}deleteTrajectory(e,t,r,o){return vt(this.configuration).deleteTrajectory(e,t,r,o).then(a=>a(this.axios,this.basePath))}getTrajectory(e,t,r,o){return vt(this.configuration).getTrajectory(e,t,r,o).then(a=>a(this.axios,this.basePath))}listTrajectories(e,t,r){return vt(this.configuration).listTrajectories(e,t,r).then(o=>o(this.axios,this.basePath))}};const qc=function(e){return{executeTrajectory:async(t,r,o,a={})=>{y("executeTrajectory","cell",t),y("executeTrajectory","controller",r),y("executeTrajectory","executeTrajectoryRequest",o);const s="/cells/{cell}/controllers/{controller}/execution/trajectory".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}}}},zc=function(e){const t=qc(e);return{async executeTrajectory(r,o,a,s){var c,d;const n=await t.executeTrajectory(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["TrajectoryExecutionApi.executeTrajectory"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)}}};var Hc=class extends Se{executeTrajectory(e,t,r,o){return zc(this.configuration).executeTrajectory(e,t,r,o).then(a=>a(this.axios,this.basePath))}};const Wc=function(e){return{mergeTrajectories:async(t,r,o={})=>{y("mergeTrajectories","cell",t),y("mergeTrajectories","mergeTrajectoriesRequest",r);const a="/experimental/cells/{cell}/trajectory-planning/merge-trajectories".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}},planCollisionFree:async(t,r,o={})=>{y("planCollisionFree","cell",t),y("planCollisionFree","planCollisionFreeRequest",r);const a="/cells/{cell}/trajectory-planning/plan-collision-free".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}},planTrajectory:async(t,r,o={})=>{y("planTrajectory","cell",t),y("planTrajectory","planTrajectoryRequest",r);const a="/cells/{cell}/trajectory-planning/plan-trajectory".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}},searchCollisionFreeMultiMotionGroup:async(t,r,o={})=>{y("searchCollisionFreeMultiMotionGroup","cell",t),y("searchCollisionFreeMultiMotionGroup","multiSearchCollisionFreeRequest",r);const a="/experimental/cells/{cell}/trajectory-planning/search-collision-free-multi-motion-group".replace("{cell}",encodeURIComponent(String(t))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"POST",...n,...o},i={},c={};await V(i,e),i["Content-Type"]="application/json",P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},l.data=Y(r,l,e),{url:x(s),options:l}}}},zt=function(e){const t=Wc(e);return{async mergeTrajectories(r,o,a){var i,c;const s=await t.mergeTrajectories(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["TrajectoryPlanningApi.mergeTrajectories"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async planCollisionFree(r,o,a){var i,c;const s=await t.planCollisionFree(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["TrajectoryPlanningApi.planCollisionFree"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async planTrajectory(r,o,a){var i,c;const s=await t.planTrajectory(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["TrajectoryPlanningApi.planTrajectory"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async searchCollisionFreeMultiMotionGroup(r,o,a){var i,c;const s=await t.searchCollisionFreeMultiMotionGroup(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["TrajectoryPlanningApi.searchCollisionFreeMultiMotionGroup"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)}}};var Qc=class extends Se{mergeTrajectories(e,t,r){return zt(this.configuration).mergeTrajectories(e,t,r).then(o=>o(this.axios,this.basePath))}planCollisionFree(e,t,r){return zt(this.configuration).planCollisionFree(e,t,r).then(o=>o(this.axios,this.basePath))}planTrajectory(e,t,r){return zt(this.configuration).planTrajectory(e,t,r).then(o=>o(this.axios,this.basePath))}searchCollisionFreeMultiMotionGroup(e,t,r){return zt(this.configuration).searchCollisionFreeMultiMotionGroup(e,t,r).then(o=>o(this.axios,this.basePath))}};const Jc=function(e){return{addVirtualControllerCoordinateSystem:async(t,r,o,a,s={})=>{y("addVirtualControllerCoordinateSystem","cell",t),y("addVirtualControllerCoordinateSystem","controller",r),y("addVirtualControllerCoordinateSystem","coordinateSystem",o),y("addVirtualControllerCoordinateSystem","coordinateSystemData",a);const n="/cells/{cell}/virtual-controllers/{controller}/coordinate-systems/{coordinate-system}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{coordinate-system}",encodeURIComponent(String(o))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"PUT",...i,...s},d={},p={};await V(d,e),d["Content-Type"]="application/json",P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},c.data=Y(a,c,e),{url:x(l),options:c}},addVirtualControllerMotionGroup:async(t,r,o,a={})=>{y("addVirtualControllerMotionGroup","cell",t),y("addVirtualControllerMotionGroup","controller",r),y("addVirtualControllerMotionGroup","addVirtualControllerMotionGroupRequest",o);const s="/cells/{cell}/virtual-controllers/{controller}/motion-groups".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"POST",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},addVirtualControllerSafetyZone:async(t,r,o,a={})=>{y("addVirtualControllerSafetyZone","cell",t),y("addVirtualControllerSafetyZone","controller",r),y("addVirtualControllerSafetyZone","safetyZone",o);const s="/cells/{cell}/virtual-controllers/{controller}/safety-zones".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"POST",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},addVirtualControllerTcp:async(t,r,o,a,s,n={})=>{y("addVirtualControllerTcp","cell",t),y("addVirtualControllerTcp","controller",r),y("addVirtualControllerTcp","motionGroup",o),y("addVirtualControllerTcp","tcp",a),y("addVirtualControllerTcp","robotTcpData",s);const l="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/tcps/{tcp}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))).replace("{tcp}",encodeURIComponent(String(a))),i=new URL(l,v);let c;e&&(c=e.baseOptions);const d={method:"PUT",...c,...n},p={},m={};await V(p,e),p["Content-Type"]="application/json",P(i,m);let f=c&&c.headers?c.headers:{};return d.headers={...p,...f,...n.headers},d.data=Y(s,d,e),{url:x(i),options:d}},deleteVirtualControllerCoordinateSystem:async(t,r,o,a,s={})=>{y("deleteVirtualControllerCoordinateSystem","cell",t),y("deleteVirtualControllerCoordinateSystem","controller",r),y("deleteVirtualControllerCoordinateSystem","coordinateSystem",o);const n="/cells/{cell}/virtual-controllers/{controller}/coordinate-systems/{coordinate-system}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{coordinate-system}",encodeURIComponent(String(o))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"DELETE",...i,...s},d={},p={};await V(d,e),a!==void 0&&(p.delete_dependent=a),P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},{url:x(l),options:c}},deleteVirtualControllerMotionGroup:async(t,r,o,a={})=>{y("deleteVirtualControllerMotionGroup","cell",t),y("deleteVirtualControllerMotionGroup","controller",r),y("deleteVirtualControllerMotionGroup","motionGroup",o);const s="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"DELETE",...l,...a},c={},d={};await V(c,e),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},deleteVirtualControllerSafetyZone:async(t,r,o,a={})=>{y("deleteVirtualControllerSafetyZone","cell",t),y("deleteVirtualControllerSafetyZone","controller",r),y("deleteVirtualControllerSafetyZone","id",o);const s="/cells/{cell}/virtual-controllers/{controller}/safety-zones/{id}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{id}",encodeURIComponent(String(o))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"DELETE",...l,...a},c={},d={};await V(c,e),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},deleteVirtualControllerTcp:async(t,r,o,a,s={})=>{y("deleteVirtualControllerTcp","cell",t),y("deleteVirtualControllerTcp","controller",r),y("deleteVirtualControllerTcp","motionGroup",o),y("deleteVirtualControllerTcp","tcp",a);const n="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/tcps/{tcp}".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))).replace("{tcp}",encodeURIComponent(String(a))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"DELETE",...i,...s},d={},p={};await V(d,e),P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},{url:x(l),options:c}},getEmergencyStop:async(t,r,o={})=>{y("getEmergencyStop","cell",t),y("getEmergencyStop","controller",r);const a="/cells/{cell}/virtual-controllers/{controller}/emergency-stop".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getMotionGroupState:async(t,r,o,a={})=>{y("getMotionGroupState","cell",t),y("getMotionGroupState","controller",r),y("getMotionGroupState","motionGroup",o);const s="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/state".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},getMotionGroups:async(t,r,o={})=>{y("getMotionGroups","cell",t),y("getMotionGroups","controller",r);const a="/cells/{cell}/virtual-controllers/{controller}/motion-groups".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getOperationMode:async(t,r,o={})=>{y("getOperationMode","cell",t),y("getOperationMode","controller",r);const a="/cells/{cell}/virtual-controllers/{controller}/operationmode".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getVirtualControllerMounting:async(t,r,o,a={})=>{y("getVirtualControllerMounting","cell",t),y("getVirtualControllerMounting","controller",r),y("getVirtualControllerMounting","motionGroup",o);const s="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/mounting".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},getVirtualControllerSafetyZones:async(t,r,o={})=>{y("getVirtualControllerSafetyZones","cell",t),y("getVirtualControllerSafetyZones","controller",r);const a="/cells/{cell}/virtual-controllers/{controller}/safety-zones".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},listVirtualControllerCoordinateSystems:async(t,r,o={})=>{y("listVirtualControllerCoordinateSystems","cell",t),y("listVirtualControllerCoordinateSystems","controller",r);const a="/cells/{cell}/virtual-controllers/{controller}/coordinate-systems".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},listVirtualControllerTcps:async(t,r,o,a={})=>{y("listVirtualControllerTcps","cell",t),y("listVirtualControllerTcps","controller",r),y("listVirtualControllerTcps","motionGroup",o);const s="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/tcps".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},setEmergencyStop:async(t,r,o,a={})=>{y("setEmergencyStop","cell",t),y("setEmergencyStop","controller",r);const s="/cells/{cell}/virtual-controllers/{controller}/emergency-stop".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.active=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},setMotionGroupState:async(t,r,o,a,s={})=>{y("setMotionGroupState","cell",t),y("setMotionGroupState","controller",r),y("setMotionGroupState","motionGroup",o),y("setMotionGroupState","motionGroupJoints",a);const n="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/state".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"PUT",...i,...s},d={},p={};await V(d,e),d["Content-Type"]="application/json",P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},c.data=Y(a,c,e),{url:x(l),options:c}},setOperationMode:async(t,r,o,a={})=>{y("setOperationMode","cell",t),y("setOperationMode","controller",r),y("setOperationMode","mode",o);const s="/cells/{cell}/virtual-controllers/{controller}/operationmode".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.mode=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},setVirtualControllerMounting:async(t,r,o,a,s={})=>{y("setVirtualControllerMounting","cell",t),y("setVirtualControllerMounting","controller",r),y("setVirtualControllerMounting","motionGroup",o),y("setVirtualControllerMounting","coordinateSystem",a);const n="/cells/{cell}/virtual-controllers/{controller}/motion-groups/{motion-group}/mounting".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))).replace("{motion-group}",encodeURIComponent(String(o))),l=new URL(n,v);let i;e&&(i=e.baseOptions);const c={method:"PUT",...i,...s},d={},p={};await V(d,e),d["Content-Type"]="application/json",P(l,p);let m=i&&i.headers?i.headers:{};return c.headers={...d,...m,...s.headers},c.data=Y(a,c,e),{url:x(l),options:c}}}},me=function(e){const t=Jc(e);return{async addVirtualControllerCoordinateSystem(r,o,a,s,n){var d,p;const l=await t.addVirtualControllerCoordinateSystem(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["VirtualControllerApi.addVirtualControllerCoordinateSystem"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)},async addVirtualControllerMotionGroup(r,o,a,s){var c,d;const n=await t.addVirtualControllerMotionGroup(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.addVirtualControllerMotionGroup"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async addVirtualControllerSafetyZone(r,o,a,s){var c,d;const n=await t.addVirtualControllerSafetyZone(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.addVirtualControllerSafetyZone"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async addVirtualControllerTcp(r,o,a,s,n,l){var p,m;const i=await t.addVirtualControllerTcp(r,o,a,s,n,l),c=(e==null?void 0:e.serverIndex)??0,d=(m=(p=g["VirtualControllerApi.addVirtualControllerTcp"])==null?void 0:p[c])==null?void 0:m.url;return(f,S)=>I(i,O,C,e)(f,d||S)},async deleteVirtualControllerCoordinateSystem(r,o,a,s,n){var d,p;const l=await t.deleteVirtualControllerCoordinateSystem(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["VirtualControllerApi.deleteVirtualControllerCoordinateSystem"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)},async deleteVirtualControllerMotionGroup(r,o,a,s){var c,d;const n=await t.deleteVirtualControllerMotionGroup(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.deleteVirtualControllerMotionGroup"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async deleteVirtualControllerSafetyZone(r,o,a,s){var c,d;const n=await t.deleteVirtualControllerSafetyZone(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.deleteVirtualControllerSafetyZone"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async deleteVirtualControllerTcp(r,o,a,s,n){var d,p;const l=await t.deleteVirtualControllerTcp(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["VirtualControllerApi.deleteVirtualControllerTcp"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)},async getEmergencyStop(r,o,a){var i,c;const s=await t.getEmergencyStop(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["VirtualControllerApi.getEmergencyStop"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getMotionGroupState(r,o,a,s){var c,d;const n=await t.getMotionGroupState(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.getMotionGroupState"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async getMotionGroups(r,o,a){var i,c;const s=await t.getMotionGroups(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["VirtualControllerApi.getMotionGroups"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getOperationMode(r,o,a){var i,c;const s=await t.getOperationMode(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["VirtualControllerApi.getOperationMode"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getVirtualControllerMounting(r,o,a,s){var c,d;const n=await t.getVirtualControllerMounting(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.getVirtualControllerMounting"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async getVirtualControllerSafetyZones(r,o,a){var i,c;const s=await t.getVirtualControllerSafetyZones(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["VirtualControllerApi.getVirtualControllerSafetyZones"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async listVirtualControllerCoordinateSystems(r,o,a){var i,c;const s=await t.listVirtualControllerCoordinateSystems(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["VirtualControllerApi.listVirtualControllerCoordinateSystems"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async listVirtualControllerTcps(r,o,a,s){var c,d;const n=await t.listVirtualControllerTcps(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.listVirtualControllerTcps"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async setEmergencyStop(r,o,a,s){var c,d;const n=await t.setEmergencyStop(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.setEmergencyStop"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async setMotionGroupState(r,o,a,s,n){var d,p;const l=await t.setMotionGroupState(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["VirtualControllerApi.setMotionGroupState"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)},async setOperationMode(r,o,a,s){var c,d;const n=await t.setOperationMode(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerApi.setOperationMode"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async setVirtualControllerMounting(r,o,a,s,n){var d,p;const l=await t.setVirtualControllerMounting(r,o,a,s,n),i=(e==null?void 0:e.serverIndex)??0,c=(p=(d=g["VirtualControllerApi.setVirtualControllerMounting"])==null?void 0:d[i])==null?void 0:p.url;return(m,f)=>I(l,O,C,e)(m,c||f)}}};var Kc=class extends Se{addVirtualControllerCoordinateSystem(e,t,r,o,a){return me(this.configuration).addVirtualControllerCoordinateSystem(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}addVirtualControllerMotionGroup(e,t,r,o){return me(this.configuration).addVirtualControllerMotionGroup(e,t,r,o).then(a=>a(this.axios,this.basePath))}addVirtualControllerSafetyZone(e,t,r,o){return me(this.configuration).addVirtualControllerSafetyZone(e,t,r,o).then(a=>a(this.axios,this.basePath))}addVirtualControllerTcp(e,t,r,o,a,s){return me(this.configuration).addVirtualControllerTcp(e,t,r,o,a,s).then(n=>n(this.axios,this.basePath))}deleteVirtualControllerCoordinateSystem(e,t,r,o,a){return me(this.configuration).deleteVirtualControllerCoordinateSystem(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}deleteVirtualControllerMotionGroup(e,t,r,o){return me(this.configuration).deleteVirtualControllerMotionGroup(e,t,r,o).then(a=>a(this.axios,this.basePath))}deleteVirtualControllerSafetyZone(e,t,r,o){return me(this.configuration).deleteVirtualControllerSafetyZone(e,t,r,o).then(a=>a(this.axios,this.basePath))}deleteVirtualControllerTcp(e,t,r,o,a){return me(this.configuration).deleteVirtualControllerTcp(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}getEmergencyStop(e,t,r){return me(this.configuration).getEmergencyStop(e,t,r).then(o=>o(this.axios,this.basePath))}getMotionGroupState(e,t,r,o){return me(this.configuration).getMotionGroupState(e,t,r,o).then(a=>a(this.axios,this.basePath))}getMotionGroups(e,t,r){return me(this.configuration).getMotionGroups(e,t,r).then(o=>o(this.axios,this.basePath))}getOperationMode(e,t,r){return me(this.configuration).getOperationMode(e,t,r).then(o=>o(this.axios,this.basePath))}getVirtualControllerMounting(e,t,r,o){return me(this.configuration).getVirtualControllerMounting(e,t,r,o).then(a=>a(this.axios,this.basePath))}getVirtualControllerSafetyZones(e,t,r){return me(this.configuration).getVirtualControllerSafetyZones(e,t,r).then(o=>o(this.axios,this.basePath))}listVirtualControllerCoordinateSystems(e,t,r){return me(this.configuration).listVirtualControllerCoordinateSystems(e,t,r).then(o=>o(this.axios,this.basePath))}listVirtualControllerTcps(e,t,r,o){return me(this.configuration).listVirtualControllerTcps(e,t,r,o).then(a=>a(this.axios,this.basePath))}setEmergencyStop(e,t,r,o){return me(this.configuration).setEmergencyStop(e,t,r,o).then(a=>a(this.axios,this.basePath))}setMotionGroupState(e,t,r,o,a){return me(this.configuration).setMotionGroupState(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}setOperationMode(e,t,r,o){return me(this.configuration).setOperationMode(e,t,r,o).then(a=>a(this.axios,this.basePath))}setVirtualControllerMounting(e,t,r,o,a){return me(this.configuration).setVirtualControllerMounting(e,t,r,o,a).then(s=>s(this.axios,this.basePath))}};const Yc=function(e){return{externalJointsStream:async(t,r,o,a={})=>{y("externalJointsStream","cell",t),y("externalJointsStream","controller",r),y("externalJointsStream","externalJointStreamRequest",o);const s="/cells/{cell}/virtual-controllers/{controller}/external-joints-stream".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}},getCycleTime:async(t,r,o={})=>{y("getCycleTime","cell",t),y("getCycleTime","controller",r);const a="/cells/{cell}/virtual-controllers/{controller}/cycle-time".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},getVirtualControllerBehavior:async(t,r,o={})=>{y("getVirtualControllerBehavior","cell",t),y("getVirtualControllerBehavior","controller",r);const a="/cells/{cell}/virtual-controllers/{controller}/behavior".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),s=new URL(a,v);let n;e&&(n=e.baseOptions);const l={method:"GET",...n,...o},i={},c={};await V(i,e),P(s,c);let d=n&&n.headers?n.headers:{};return l.headers={...i,...d,...o.headers},{url:x(s),options:l}},setVirtualControllerBehavior:async(t,r,o,a={})=>{y("setVirtualControllerBehavior","cell",t),y("setVirtualControllerBehavior","controller",r);const s="/cells/{cell}/virtual-controllers/{controller}/behavior".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),o!==void 0&&(d.behavior=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}}}},Ht=function(e){const t=Yc(e);return{async externalJointsStream(r,o,a,s){var c,d;const n=await t.externalJointsStream(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerBehaviorApi.externalJointsStream"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async getCycleTime(r,o,a){var i,c;const s=await t.getCycleTime(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["VirtualControllerBehaviorApi.getCycleTime"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async getVirtualControllerBehavior(r,o,a){var i,c;const s=await t.getVirtualControllerBehavior(r,o,a),n=(e==null?void 0:e.serverIndex)??0,l=(c=(i=g["VirtualControllerBehaviorApi.getVirtualControllerBehavior"])==null?void 0:i[n])==null?void 0:c.url;return(d,p)=>I(s,O,C,e)(d,l||p)},async setVirtualControllerBehavior(r,o,a,s){var c,d;const n=await t.setVirtualControllerBehavior(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerBehaviorApi.setVirtualControllerBehavior"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)}}};var Zc=class extends Se{externalJointsStream(e,t,r,o){return Ht(this.configuration).externalJointsStream(e,t,r,o).then(a=>a(this.axios,this.basePath))}getCycleTime(e,t,r){return Ht(this.configuration).getCycleTime(e,t,r).then(o=>o(this.axios,this.basePath))}getVirtualControllerBehavior(e,t,r){return Ht(this.configuration).getVirtualControllerBehavior(e,t,r).then(o=>o(this.axios,this.basePath))}setVirtualControllerBehavior(e,t,r,o){return Ht(this.configuration).setVirtualControllerBehavior(e,t,r,o).then(a=>a(this.axios,this.basePath))}};const Xc=function(e){return{listIOs:async(t,r,o,a={})=>{y("listIOs","cell",t),y("listIOs","controller",r),y("listIOs","ios",o);const s="/cells/{cell}/virtual-controllers/{controller}/ios/values".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"GET",...l,...a},c={},d={};await V(c,e),o&&(d.ios=o),P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},{url:x(n),options:i}},listVirtualControllerIODescriptions:async(t,r,o,a,s,n,l={})=>{y("listVirtualControllerIODescriptions","cell",t),y("listVirtualControllerIODescriptions","controller",r);const i="/cells/{cell}/virtual-controllers/{controller}/ios/description".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),c=new URL(i,v);let d;e&&(d=e.baseOptions);const p={method:"GET",...d,...l},m={},f={};await V(m,e),o&&(f.ios=o),a!==void 0&&(f.direction=a),s!==void 0&&(f.value_type=s),n!==void 0&&(f.group=n),P(c,f);let S=d&&d.headers?d.headers:{};return p.headers={...m,...S,...l.headers},{url:x(c),options:p}},setIOValues:async(t,r,o,a={})=>{y("setIOValues","cell",t),y("setIOValues","controller",r),y("setIOValues","iOValue",o);const s="/cells/{cell}/virtual-controllers/{controller}/ios/values".replace("{cell}",encodeURIComponent(String(t))).replace("{controller}",encodeURIComponent(String(r))),n=new URL(s,v);let l;e&&(l=e.baseOptions);const i={method:"PUT",...l,...a},c={},d={};await V(c,e),c["Content-Type"]="application/json",P(n,d);let p=l&&l.headers?l.headers:{};return i.headers={...c,...p,...a.headers},i.data=Y(o,i,e),{url:x(n),options:i}}}},Er=function(e){const t=Xc(e);return{async listIOs(r,o,a,s){var c,d;const n=await t.listIOs(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerInputsOutputsApi.listIOs"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)},async listVirtualControllerIODescriptions(r,o,a,s,n,l,i){var m,f;const c=await t.listVirtualControllerIODescriptions(r,o,a,s,n,l,i),d=(e==null?void 0:e.serverIndex)??0,p=(f=(m=g["VirtualControllerInputsOutputsApi.listVirtualControllerIODescriptions"])==null?void 0:m[d])==null?void 0:f.url;return(S,b)=>I(c,O,C,e)(S,p||b)},async setIOValues(r,o,a,s){var c,d;const n=await t.setIOValues(r,o,a,s),l=(e==null?void 0:e.serverIndex)??0,i=(d=(c=g["VirtualControllerInputsOutputsApi.setIOValues"])==null?void 0:c[l])==null?void 0:d.url;return(p,m)=>I(n,O,C,e)(p,i||m)}}};var ed=class extends Se{listIOs(e,t,r,o){return Er(this.configuration).listIOs(e,t,r,o).then(a=>a(this.axios,this.basePath))}listVirtualControllerIODescriptions(e,t,r,o,a,s,n){return Er(this.configuration).listVirtualControllerIODescriptions(e,t,r,o,a,s,n).then(l=>l(this.axios,this.basePath))}setIOValues(e,t,r,o){return Er(this.configuration).setIOValues(e,t,r,o).then(a=>a(this.axios,this.basePath))}},td=class{constructor(e,t){this.cellId=e,this.opts=t,this.system=this.withUnwrappedResponsesOnly(Fc),this.cell=this.withUnwrappedResponsesOnly(Cc),this.motionGroup=this.withCellId(Ec),this.motionGroupModels=this.withUnwrappedResponsesOnly(_c),this.controller=this.withCellId(vc),this.controllerIOs=this.withCellId(Pc),this.trajectoryPlanning=this.withCellId(Qc),this.trajectoryExecution=this.withCellId(Hc),this.trajectoryCaching=this.withCellId(Gc),this.application=this.withCellId(Ho),this.applicationGlobal=this.withUnwrappedResponsesOnly(Ho),this.jogging=this.withCellId(wc),this.kinematics=this.withCellId(Tc),this.busInputsOutputs=this.withCellId(Sc),this.virtualController=this.withCellId(Kc),this.virtualControllerBehavior=this.withCellId(Zc),this.virtualControllerIOs=this.withCellId(ed),this.storeObject=this.withCellId(Nc),this.storeCollisionComponents=this.withCellId(jc),this.storeCollisionSetups=this.withCellId(kc)}withCellId(e){const t=new e({...this.opts,isJsonMime:r=>r==="application/json"},this.opts.basePath??"",this.opts.axiosInstance??O.create());for(const r of Reflect.ownKeys(Reflect.getPrototypeOf(t)))if(r!=="constructor"&&typeof t[r]=="function"){const o=t[r];t[r]=(...a)=>o.apply(t,[this.cellId,...a]).then(s=>s.data)}return t}withUnwrappedResponsesOnly(e){const t=new e({...this.opts,isJsonMime:r=>r==="application/json"},this.opts.basePath??"",this.opts.axiosInstance??O.create());for(const r of Reflect.ownKeys(Reflect.getPrototypeOf(t)))if(r!=="constructor"&&typeof t[r]=="function"){const o=t[r];t[r]=(...a)=>o.apply(t,a).then(s=>s.data)}return t}};const rd={method:"GET",path:"/cells/:cellId/controllers/:controllerId/state",handle(){return{mode:"MODE_CONTROL",last_error:[],timestamp:"2025-10-16T09:19:26.634534092Z",sequence_number:1054764,controller:"mock-ur5e",operation_mode:"OPERATION_MODE_AUTO",safety_state:"SAFETY_STATE_NORMAL",velocity_override:100,motion_groups:[{timestamp:"2025-10-16T09:19:26.634534092Z",sequence_number:1054764,motion_group:"0@mock-ur5e",controller:"mock-ur5e",joint_position:[1.487959623336792,-1.8501918315887451,1.8003005981445312,6.034560203552246,1.4921919107437134,1.593459963798523],joint_limit_reached:{limit_reached:[!1,!1,!1,!1,!1,!1]},joint_torque:[],joint_current:[0,0,0,0,0,0],flange_pose:{position:[107.6452433732927,-409.0402987746852,524.2402132330305],orientation:[.9874434028353319,-.986571714997442,1.3336589451098142]},tcp:"Flange",tcp_pose:{position:[107.6452433732927,-409.0402987746852,524.2402132330305],orientation:[.9874434028353319,-.986571714997442,1.3336589451098142]},payload:"",coordinate_system:"",standstill:!0}]}}},od={method:"GET",path:"/cells/:cellId/controllers/:controllerId/motion-groups/:motionGroupId/description",handle(){return{motion_group_model:"UniversalRobots_UR5e",mounting:{position:[0,0,0],orientation:[0,0,0]},tcps:{Flange:{name:"Default-Flange",pose:{position:[0,0,0],orientation:[0,0,0]}}},payloads:{"FPay-0":{name:"FPay-0",payload:0,center_of_mass:[0,0,0],moment_of_inertia:[0,0,0]}},cycle_time:8,dh_parameters:[{alpha:1.5707963267948966,d:162.25},{a:-425},{a:-392.2},{alpha:1.5707963267948966,d:133.3},{alpha:-1.5707963267948966,d:99.7},{d:99.6}],operation_limits:{auto_limits:{joints:[{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28}],tcp:{velocity:5e3},elbow:{velocity:5e3},flange:{velocity:5e3}},manual_limits:{joints:[{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28}],tcp:{velocity:5e3}},manual_t1_limits:{joints:[{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28}],tcp:{velocity:5e3}},manual_t2_limits:{joints:[{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:150},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28},{position:{lower_limit:-6.283185307179586,upper_limit:6.283185307179586},velocity:3.34159255027771,acceleration:40,torque:28}],tcp:{velocity:5e3}}},serial_number:"WBVirtualRobot"}}},ad={method:"GET",path:"/motion-group-models/:motionGroupModel/kinematic",handle(){return{dh_parameters:[{alpha:1.5707963267948966,theta:0,a:0,d:162.25,reverse_rotation_direction:!1},{alpha:0,theta:0,a:-425,d:0,reverse_rotation_direction:!1},{alpha:0,theta:0,a:-392.2,d:0,reverse_rotation_direction:!1},{alpha:1.5707963267948966,theta:0,a:0,d:133.3,reverse_rotation_direction:!1},{alpha:-1.5707963267948966,theta:0,a:0,d:99.7,reverse_rotation_direction:!1},{alpha:0,theta:0,a:0,d:99.6,reverse_rotation_direction:!1}],inverse_solver:"Universalrobots"}}},sd={method:"GET",path:"/cells/:cellId/controllers/:controllerId",handle(){return{configuration:{initial_joint_position:"[0,-1.571,-1.571,-1.571,1.571,-1.571,0]",kind:"VirtualController",manufacturer:"universalrobots",type:"universalrobots-ur5e"},name:"mock-ur5"}}},nd={method:"GET",path:"/cells/:cellId/controllers/:controllerId/coordinate-systems",handle(){return[{coordinate_system:"",name:"world",reference_coordinate_system:"",position:[0,0,0],orientation:[0,0,0],orientation_type:"ROTATION_VECTOR"},{coordinate_system:"CS-0",name:"Default-CS",reference_coordinate_system:"",position:[0,0,0],orientation:[0,0,0],orientation_type:"ROTATION_VECTOR"}]}},ld={method:"GET",path:"/cells/:cellId/controllers",handle(){return["mock-ur5e"]}};var id=class{constructor(){this.connections=[]}async handleAPIRequest(e){var a;const t=[ld,sd,od,rd,nd,ad],r=((a=e.method)==null?void 0:a.toUpperCase())||"GET";if(!e.url)throw new Error("No url sent with request");const o=e.url.split("?")[0];for(const s of t){const n=cc.match(s.path)(o);if(r===s.method&&n){const l=s.handle();return{status:200,statusText:"Success",data:JSON.stringify(l),headers:{},config:e,request:{responseURL:e.url}}}}throw new O.AxiosError(`No mock handler matched this request: ${r} ${o}`,"404",e)}handleWebsocketConnection(e){this.connections.push(e),setTimeout(()=>{e.dispatchEvent(new Event("open")),console.log("Websocket connection opened from",e.url),e.url.includes("/state-stream")&&e.dispatchEvent(new MessageEvent("message",{data:JSON.stringify(cd)})),e.url.includes("/execution/jogging")&&e.dispatchEvent(new MessageEvent("message",{data:JSON.stringify({result:{message:"string",kind:"INITIALIZE_RECEIVED"}})}))},10)}handleWebsocketMessage(e,t){console.log(`Received message on ${e.url}`,t)}};const cd={result:{motion_group:"0@universalrobots-ur5e",controller:"universalrobots-ur5e",timestamp:new Date().toISOString(),sequence_number:1,joint_position:[1.1699999570846558,-1.5700000524520874,1.3600000143051147,1.0299999713897705,1.2899999618530273,1.2799999713897705],joint_limit_reached:{limit_reached:[!1,!1,!1,!1,!1,!1]},standstill:!1,flange_pose:{position:[1.3300010259703043,-409.2680714682808,531.0203477065281],orientation:[1.7564919306270736,-1.7542521568325058,.7326972590614671]},tcp_pose:{position:[1.3300010259703043,-409.2680714682808,531.0203477065281],orientation:[1.7564919306270736,-1.7542521568325058,.7326972590614671]},description_revision:0}};var dd=class{constructor(e){this.authPromise=null,this.accessToken=null;const t=e.cellId??"cell";this.config={cellId:t,...e},this.accessToken=e.accessToken||qt.getString("wbjs.access_token")||null,this.config.instanceUrl==="https://mock.example.com"&&(this.mock=new id),this.instanceUrl=ac(this.config.instanceUrl);const r=O.create({baseURL:Rr(this.instanceUrl.href,"/api/v2"),headers:typeof window<"u"&&window.location.origin.includes("localhost")?{}:{"X-Wandelbots-Client":"Wandelbots-Nova-JS-SDK"}});r.interceptors.request.use(async o=>(o.headers.Authorization||(this.accessToken?o.headers.Authorization=`Bearer ${this.accessToken}`:this.config.username&&this.config.password&&(o.headers.Authorization=`Basic ${btoa(`${e.username}:${e.password}`)}`)),o)),typeof window<"u"&&r.interceptors.response.use(o=>o,async o=>{var a,s;if(O.isAxiosError(o))if(((a=o.response)==null?void 0:a.status)===401)try{if(await this.renewAuthentication(),o.config)return this.accessToken?o.config.headers.Authorization=`Bearer ${this.accessToken}`:delete o.config.headers.Authorization,r.request(o.config)}catch(n){return Promise.reject(n)}else((s=o.response)==null?void 0:s.status)===503&&(await fetch(window.location.href)).status===503&&window.location.reload();return Promise.reject(o)}),this.api=new td(t,{...e,basePath:Rr(this.instanceUrl.href,"/api/v2"),isJsonMime:o=>o==="application/json",baseOptions:{...this.mock?{adapter:o=>this.mock.handleAPIRequest(o)}:{},...e.baseOptions},axiosInstance:r})}async renewAuthentication(){if(this.authPromise)return;const e=qt.getString("wbjs.access_token");if(e&&this.accessToken!==e){this.accessToken=e;return}this.authPromise=nc(this.instanceUrl);try{this.accessToken=await this.authPromise,this.accessToken?qt.setString("wbjs.access_token",this.accessToken):qt.delete("wbjs.access_token")}finally{this.authPromise=null}}makeWebsocketURL(e){const t=new URL(Rr(this.instanceUrl.href,`/api/v2/cells/${this.config.cellId}`,e));return t.protocol=t.protocol.replace("http","ws"),t.protocol=t.protocol.replace("https","wss"),this.accessToken?t.searchParams.append("token",this.accessToken):this.config.username&&this.config.password&&(t.username=this.config.username,t.password=this.config.password),t.toString()}openReconnectingWebsocket(e){return new tc(this.makeWebsocketURL(e),{mock:this.mock})}};function pd(e){var s,n,l,i,c,d;const t=[((s=e.position)==null?void 0:s[0])??0,((n=e.position)==null?void 0:n[1])??0,((l=e.position)==null?void 0:l[2])??0],r=[((i=e.orientation)==null?void 0:i[0])??0,((c=e.orientation)==null?void 0:c[1])??0,((d=e.orientation)==null?void 0:d[2])??0],o=t.map(p=>p.toFixed(1)),a=r.map(p=>p.toFixed(4));return`(${o.concat(a).join(", ")})`}function Or(e){ye.useEffect(e,[])}function ud(e){Or(()=>Qo.autorun(e))}function hd(e,t,r){Or(()=>Qo.reaction(e,t,r))}function md(e){return Or(()=>{let t;function r(){e(),t=requestAnimationFrame(r)}return t=requestAnimationFrame(r),()=>{cancelAnimationFrame(t)}})}class Ha{constructor(t=[],r={}){this.currentValues=[],this.targetValues=[],this.previousTargetValues=[],this.targetUpdateTime=0,this.animationId=null,this.updateCount=0,this.velocities=[],this.animate=()=>{this.update(.016666666666666666)?this.animationId=null:this.animationId=requestAnimationFrame(this.animate)},this.options={tension:120,friction:20,threshold:.001,onChange:()=>{},onComplete:()=>{},...r},this.currentValues=[...t],this.targetValues=[...t],this.previousTargetValues=[...t],this.velocities=new Array(t.length).fill(0),this.targetUpdateTime=performance.now(),this.updateCount=0}update(t=1/60){let r=!1,o=!0;this.updateCount++;const a=Math.min(t,1/15),s=this.updateCount===1?.7:1;for(let n=0;n<this.currentValues.length;n++){const l=this.currentValues[n],i=this.targetValues[n],c=this.velocities[n],d=i-l,p=d*this.options.tension*s,m=c*this.options.friction,f=p-m,S=c+f*a,b=l+S*a;Math.abs(d)<this.options.threshold&&Math.abs(S)<this.options.threshold*10?this.currentValues[n]!==i&&(this.currentValues[n]=i,this.velocities[n]=0,r=!0):(o=!1,this.currentValues[n]=b,this.velocities[n]=S,r=!0)}return r&&this.options.onChange(this.currentValues),o&&this.options.onComplete(this.currentValues),o}setTarget(t){const r=performance.now(),o=r-this.targetUpdateTime;this.previousTargetValues=[...this.targetValues],this.targetValues=[...t],this.targetUpdateTime=r,this.updateCount=0;const a=this.previousTargetValues.every((s,n)=>s===this.currentValues[n]);if(o<8&&o>0&&this.previousTargetValues.length>0&&!a){const s=Math.min(o/8,1);for(let n=0;n<this.targetValues.length;n++){const l=this.previousTargetValues[n]||0,i=t[n]||0;Math.abs(i-l)>.1&&(this.targetValues[n]=l+(i-l)*s)}}for(;this.currentValues.length<t.length;)this.currentValues.push(t[this.currentValues.length]),this.velocities.push(0);this.currentValues.length>t.length&&(this.currentValues=this.currentValues.slice(0,t.length),this.velocities=this.velocities.slice(0,t.length))}getCurrentValues(){return[...this.currentValues]}getValue(t){return this.currentValues[t]??0}isInterpolating(){return this.animationId!==null}stop(){this.animationId!==null&&(cancelAnimationFrame(this.animationId),this.animationId=null)}setImmediate(t){this.stop(),this.currentValues=[...t],this.targetValues=[...t],this.previousTargetValues=[...t],this.velocities=new Array(t.length).fill(0),this.targetUpdateTime=performance.now(),this.updateCount=0,this.options.onChange(this.currentValues)}updateOptions(t){this.options={...this.options,...t}}startAutoInterpolation(){this.startInterpolation()}destroy(){this.stop()}startInterpolation(){this.animationId===null&&this.animate()}}function yd(e=[],t={}){const r=ye.useRef(null);return r.current||(r.current=new Ha(e,t)),ye.useEffect(()=>{var o;(o=r.current)==null||o.updateOptions(t)},[t]),ye.useEffect(()=>()=>{var o;(o=r.current)==null||o.destroy()},[]),[r.current]}exports.Box=It;exports.Button=ao;exports.ButtonBase=Bt;exports.Chip=lo;exports.CircularProgress=oo;exports.Divider=Zt;exports.JointTypeEnum=mc;exports.Manufacturer=yc;exports.NovaClient=dd;exports.Paper=$a;exports.ProgramControl=zi;exports.ProgramState=Ie;exports.ProgramStateIndicator=Hi;exports.SvgIcon=Ut;exports.THEME_ID=Mt;exports.Timeout=fr;exports.TransitionGroupContext=Nr;exports.Typography=Sr;exports.ValueInterpolator=Ha;exports._extends=Yt;exports._inheritsLoose=Ra;exports._objectWithoutPropertiesLoose=wa;exports.alpha=At;exports.appendOwnerState=La;exports.capitalize=z;exports.chainPropTypes=br;exports.clamp=ua;exports.clsx=ie;exports.composeClasses=qe;exports.createSimplePaletteValueFilter=Qe;exports.createStyled=ca;exports.createSvgIcon=Nt;exports.createTheme=cr;exports.createTheme$1=Xr;exports.createUnarySpacing=or;exports.deepmerge=ge;exports.defaultTheme=mr;exports.dhParametersToPlaneSize=ps;exports.dividerClasses=wi;exports.elementTypeAcceptingRef=xa;exports.extendSxProp=Kr;exports.externalizeComponent=no;exports.extractEventHandlers=Da;exports.formatMuiErrorMessage=De;exports.generateUtilityClass=Ee;exports.generateUtilityClasses=Ue;exports.getValue=ut;exports.globalCss=_l;exports.handleBreakpoints=Me;exports.i18n=so;exports.integerPropType=ka;exports.isFocusVisible=kr;exports.isHostComponent=Na;exports.jsxRuntimeExports=H;exports.memoTheme=_e;exports.mergeBreakpointsInOrder=Us;exports.mergeSlotProps=Ga;exports.orientationToQuaternion=ds;exports.poseToWandelscriptString=pd;exports.reactIsExports=Rt;exports.refType=Pa;exports.resolveBreakpointValues=Bs;exports.resolveComponentProps=Fa;exports.resolveProps=Tt;exports.rootShouldForwardProp=eo;exports.slotShouldForwardProp=ga;exports.styled=be;exports.tryStringifyJson=cs;exports.unsupportedProp=Va;exports.useAnimationFrame=md;exports.useAutorun=ud;exports.useDefaultProps=ke;exports.useEnhancedEffect=pa;exports.useEventCallback=wt;exports.useForkRef=_t;exports.useId=ma;exports.useInterpolation=yd;exports.useMounted=Or;exports.useReaction=hd;exports.useSlot=qr;exports.useTheme=yr;exports.useTheme$1=dr;exports.useTimeout=Ta;exports.verticesToCoplanarity=us;
|
|
198
|
-
//# sourceMappingURL=interpolation-BIB6FC35.cjs.map
|