@burdenoff/microfe-mybodyshield 2026.705.2 → 2026.706.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (566) hide show
  1. package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +10 -0
  2. package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js.map +1 -0
  3. package/dist/_virtual/_rolldown/runtime.js +5 -5
  4. package/dist/mybodyshield/pages/DashboardPage.js +422 -323
  5. package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
  6. package/dist/mybodyshield/pages/_shared/visuals.js +16 -16
  7. package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
  8. package/dist/mybodyshield/pages/coaching/CoachingPage.js +235 -166
  9. package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
  10. package/dist/mybodyshield/pages/goals/GoalsPage.js +304 -249
  11. package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
  12. package/dist/mybodyshield/pages/nutrition/NutritionPage.js +700 -533
  13. package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
  14. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +518 -454
  15. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
  16. package/dist/mybodyshield/pages/programs/ProgramsPage.js +282 -234
  17. package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
  18. package/dist/mybodyshield/pages/progress/ProgressPage.js +422 -311
  19. package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
  20. package/dist/mybodyshield/pages/recovery/RecoveryPage.js +335 -246
  21. package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
  22. package/dist/mybodyshield/pages/train/SessionDetailPage.js +395 -302
  23. package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
  24. package/dist/mybodyshield/pages/train/SessionsPage.js +111 -75
  25. package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
  26. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +63 -0
  27. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
  28. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +55 -0
  29. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
  30. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +62 -0
  31. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
  32. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +22 -0
  33. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
  34. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +13 -0
  35. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
  36. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
  37. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
  38. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
  39. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
  40. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +12 -0
  41. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
  42. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +19 -0
  43. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
  44. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
  45. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
  46. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +17 -0
  47. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
  48. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +8 -0
  49. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
  50. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +8 -0
  51. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
  52. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
  53. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
  54. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +13 -0
  55. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
  56. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +260 -0
  57. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
  58. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +24 -0
  59. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
  60. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +61 -0
  61. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
  62. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +29 -0
  63. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
  64. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
  65. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
  66. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +140 -0
  67. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
  68. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
  69. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
  70. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +28 -0
  71. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
  72. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +41 -0
  73. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
  74. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +27 -0
  75. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
  76. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +11 -0
  77. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
  78. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +53 -0
  79. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
  80. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
  81. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
  82. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +15 -0
  83. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
  84. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +63 -0
  85. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
  86. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
  87. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
  88. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +15 -0
  89. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
  90. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +48 -0
  91. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
  92. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +26 -0
  93. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
  94. package/dist/node_modules/framer-motion/dist/es/motion/index.js +72 -0
  95. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
  96. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +6 -0
  97. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
  98. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +23 -0
  99. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
  100. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +60 -0
  101. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
  102. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
  103. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
  104. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +9 -0
  105. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
  106. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +12 -0
  107. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
  108. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
  109. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
  110. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
  111. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
  112. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
  113. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
  114. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +23 -0
  115. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
  116. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
  117. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
  118. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +9 -0
  119. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
  120. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
  121. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
  122. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +28 -0
  123. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
  124. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +11 -0
  125. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
  126. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +32 -0
  127. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
  128. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +28 -0
  129. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
  130. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
  131. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
  132. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
  133. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
  134. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
  135. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
  136. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +6 -0
  137. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
  138. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +6 -0
  139. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
  140. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
  141. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
  142. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +15 -0
  143. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
  144. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +27 -0
  145. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
  146. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +11 -0
  147. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
  148. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
  149. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
  150. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +109 -0
  151. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
  152. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +131 -0
  153. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
  154. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +86 -0
  155. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
  156. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +30 -0
  157. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
  158. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
  159. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
  160. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +15 -0
  161. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
  162. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +34 -0
  163. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
  164. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +24 -0
  165. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
  166. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +168 -0
  167. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
  168. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +11 -0
  169. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
  170. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +18 -0
  171. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
  172. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +8 -0
  173. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
  174. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
  175. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
  176. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +47 -0
  177. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
  178. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
  179. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
  180. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +28 -0
  181. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
  182. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +23 -0
  183. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
  184. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +63 -0
  185. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
  186. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +69 -0
  187. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
  188. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +10 -0
  189. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
  190. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
  191. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
  192. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
  193. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
  194. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +8 -0
  195. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
  196. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +8 -0
  197. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
  198. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +9 -0
  199. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
  200. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +20 -0
  201. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
  202. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +38 -0
  203. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
  204. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
  205. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
  206. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
  207. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
  208. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +24 -0
  209. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
  210. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +9 -0
  211. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
  212. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +20 -0
  213. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
  214. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +27 -0
  215. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
  216. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +29 -0
  217. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
  218. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
  219. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
  220. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
  221. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
  222. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
  223. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
  224. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
  225. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
  226. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
  227. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
  228. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +18 -0
  229. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
  230. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +15 -0
  231. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
  232. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +6 -0
  233. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
  234. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +13 -0
  235. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
  236. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +37 -0
  237. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
  238. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
  239. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
  240. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +26 -0
  241. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
  242. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +11 -0
  243. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
  244. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +10 -0
  245. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
  246. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
  247. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
  248. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
  249. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
  250. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +19 -0
  251. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
  252. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
  253. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
  254. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +32 -0
  255. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
  256. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +8 -0
  257. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
  258. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +7 -0
  259. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
  260. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +15 -0
  261. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
  262. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +34 -0
  263. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
  264. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +17 -0
  265. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
  266. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
  267. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
  268. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +13 -0
  269. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
  270. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
  271. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
  272. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +38 -0
  273. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
  274. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +23 -0
  275. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
  276. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +30 -0
  277. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
  278. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +6 -0
  279. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
  280. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +6 -0
  281. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
  282. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +6 -0
  283. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
  284. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +18 -0
  285. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
  286. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +27 -0
  287. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
  288. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +41 -0
  289. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
  290. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
  291. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
  292. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +45 -0
  293. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
  294. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +32 -0
  295. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
  296. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +31 -0
  297. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
  298. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +20 -0
  299. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
  300. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +30 -0
  301. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
  302. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
  303. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
  304. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +24 -0
  305. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
  306. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +586 -0
  307. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
  308. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +9 -0
  309. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
  310. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
  311. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
  312. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +15 -0
  313. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
  314. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +15 -0
  315. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
  316. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +19 -0
  317. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
  318. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +14 -0
  319. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
  320. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +6 -0
  321. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
  322. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +8 -0
  323. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
  324. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +21 -0
  325. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
  326. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
  327. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
  328. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +14 -0
  329. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
  330. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +11 -0
  331. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
  332. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +206 -0
  333. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
  334. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +30 -0
  335. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
  336. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +6 -0
  337. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
  338. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +58 -0
  339. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
  340. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +9 -0
  341. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
  342. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +8 -0
  343. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
  344. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
  345. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
  346. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +30 -0
  347. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
  348. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
  349. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
  350. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +10 -0
  351. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
  352. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
  353. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
  354. package/dist/node_modules/motion-dom/dist/es/render/store.js +6 -0
  355. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
  356. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +42 -0
  357. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
  358. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +24 -0
  359. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
  360. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +30 -0
  361. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
  362. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +6 -0
  363. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
  364. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +17 -0
  365. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
  366. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +12 -0
  367. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
  368. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +16 -0
  369. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
  370. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +137 -0
  371. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
  372. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +21 -0
  373. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
  374. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +8 -0
  375. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
  376. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
  377. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
  378. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +10 -0
  379. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
  380. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +6 -0
  381. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
  382. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +8 -0
  383. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
  384. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
  385. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
  386. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +24 -0
  387. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
  388. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +23 -0
  389. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
  390. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +13 -0
  391. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
  392. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +6 -0
  393. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
  394. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
  395. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
  396. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +22 -0
  397. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
  398. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +22 -0
  399. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
  400. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +12 -0
  401. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
  402. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +14 -0
  403. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
  404. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
  405. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
  406. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +24 -0
  407. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
  408. package/dist/node_modules/motion-dom/dist/es/resize/index.js +10 -0
  409. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
  410. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +9 -0
  411. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -0
  412. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +11 -0
  413. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -0
  414. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +14 -0
  415. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
  416. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +35 -0
  417. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
  418. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +9 -0
  419. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
  420. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +9 -0
  421. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
  422. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +9 -0
  423. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
  424. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +32 -0
  425. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
  426. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +54 -0
  427. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
  428. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +8 -0
  429. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
  430. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +10 -0
  431. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
  432. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +6 -0
  433. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
  434. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +9 -0
  435. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
  436. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +16 -0
  437. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
  438. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
  439. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
  440. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +14 -0
  441. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
  442. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
  443. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
  444. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
  445. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
  446. package/dist/node_modules/motion-dom/dist/es/value/index.js +94 -0
  447. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
  448. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +9 -0
  449. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
  450. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +21 -0
  451. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
  452. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +23 -0
  453. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
  454. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +14 -0
  455. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
  456. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +17 -0
  457. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
  458. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +17 -0
  459. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
  460. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
  461. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
  462. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +28 -0
  463. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
  464. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +54 -0
  465. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
  466. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +16 -0
  467. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
  468. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
  469. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
  470. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
  471. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
  472. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +26 -0
  473. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
  474. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +66 -0
  475. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
  476. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +34 -0
  477. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
  478. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
  479. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
  480. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +14 -0
  481. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
  482. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +6 -0
  483. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
  484. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +14 -0
  485. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
  486. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +6 -0
  487. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
  488. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +14 -0
  489. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
  490. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +6 -0
  491. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
  492. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +6 -0
  493. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
  494. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +8 -0
  495. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
  496. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +6 -0
  497. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
  498. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +6 -0
  499. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
  500. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +6 -0
  501. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
  502. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +9 -0
  503. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
  504. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +15 -0
  505. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
  506. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
  507. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
  508. package/dist/node_modules/motion-utils/dist/es/array.js +12 -0
  509. package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
  510. package/dist/node_modules/motion-utils/dist/es/clamp.js +6 -0
  511. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
  512. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +7 -0
  513. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
  514. package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
  515. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
  516. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
  517. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
  518. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +20 -0
  519. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
  520. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
  521. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
  522. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +6 -0
  523. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
  524. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +6 -0
  525. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
  526. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +6 -0
  527. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
  528. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +6 -0
  529. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
  530. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +33 -0
  531. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
  532. package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
  533. package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
  534. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +8 -0
  535. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
  536. package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
  537. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
  538. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +6 -0
  539. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
  540. package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
  541. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
  542. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +6 -0
  543. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
  544. package/dist/node_modules/motion-utils/dist/es/memo.js +10 -0
  545. package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
  546. package/dist/node_modules/motion-utils/dist/es/noop.js +6 -0
  547. package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
  548. package/dist/node_modules/motion-utils/dist/es/pipe.js +6 -0
  549. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
  550. package/dist/node_modules/motion-utils/dist/es/progress.js +9 -0
  551. package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
  552. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +28 -0
  553. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
  554. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +6 -0
  555. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
  556. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
  557. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
  558. package/dist/node_modules/motion-utils/dist/es/warn-once.js +10 -0
  559. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
  560. package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
  561. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
  562. package/dist/node_modules/recharts/es6/chart/{LineChart.js → AreaChart.js} +5 -5
  563. package/dist/node_modules/recharts/es6/chart/{LineChart.js.map → AreaChart.js.map} +1 -1
  564. package/package.json +1 -1
  565. package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -473
  566. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
@@ -1,32 +1,34 @@
1
1
  import { useMyBodyShield as e } from "../../context/MyBodyShieldContext.js";
2
- import { PageLayout as t } from "../../components/PageLayout.js";
3
- import { formatDate as n, formatDuration as r, formatEnumLabel as i, formatMinutes as a, formatNumber as o, formatWeight as s } from "../../utils/formatters.js";
2
+ import { motion as t } from "../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
3
+ import { useReducedMotion as n } from "../../../node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js";
4
+ import { PageLayout as r } from "../../components/PageLayout.js";
5
+ import { formatDate as i, formatDuration as a, formatEnumLabel as o, formatMinutes as s, formatNumber as c, formatWeight as l } from "../../utils/formatters.js";
4
6
  import { StatusBadge as ee } from "../../components/StatusBadge.js";
5
7
  import { ErrorView as te, LoadingView as ne, Section as re } from "../../components/StateViews.js";
6
- import { EmptyState as c } from "../../components/EmptyState.js";
7
- import { IconChip as ie, MUSCLE_META as ae, WORKOUT_TYPE_META as l } from "../_shared/visuals.js";
8
+ import { EmptyState as ie } from "../../components/EmptyState.js";
9
+ import { GOAL_TYPE_META as ae, IconChip as u, MUSCLE_META as d, WORKOUT_TYPE_META as oe } from "../_shared/visuals.js";
8
10
  import "../../context/index.js";
9
- import { useMybAddExercise as oe, useMybAddWorkout as se, useMybArchiveProgram as ce, useMybProgram as le, useMybTransitionProgram as ue, useMybUpdateProgram as de } from "../../hooks/useMyBodyShieldApi.js";
11
+ import { useMybAddExercise as se, useMybAddWorkout as ce, useMybArchiveProgram as le, useMybProgram as ue, useMybTransitionProgram as de, useMybUpdateProgram as fe } from "../../hooks/useMyBodyShieldApi.js";
10
12
  import "../../hooks/index.js";
11
- import { EvidenceUpload as fe } from "../../components/EvidenceUpload.js";
12
- import { FileLink as u } from "../../components/FileLink.js";
13
- import { MybDiscussion as pe } from "../../components/MybDiscussion.js";
14
- import { MybTags as me } from "../../components/MybTags.js";
13
+ import { EvidenceUpload as pe } from "../../components/EvidenceUpload.js";
14
+ import { FileLink as me } from "../../components/FileLink.js";
15
+ import { MybDiscussion as he } from "../../components/MybDiscussion.js";
16
+ import { MybTags as ge } from "../../components/MybTags.js";
15
17
  import "../../components/index.js";
16
- import { useMemo as he, useState as d } from "react";
17
- import { Archive as ge, ArrowLeft as f, CheckCircle2 as _e, Dumbbell as ve, Flame as ye, Lock as be, Pencil as xe, Play as Se, Plus as p } from "lucide-react";
18
- import { useParams as Ce } from "react-router-dom";
19
- import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
20
- import { Button as _, GlassCard as we, Input as v, Label as y, ResponsiveDialog as b, ResponsiveDialogContent as x, ResponsiveDialogDescription as S, ResponsiveDialogFooter as C, ResponsiveDialogHeader as w, ResponsiveDialogTitle as T, Select as E, SelectContent as D, SelectItem as O, SelectTrigger as k, SelectValue as A, Textarea as j } from "@burdenoff/fe-libs/ui";
18
+ import { useMemo as _e, useState as f } from "react";
19
+ import { Archive as ve, ArrowLeft as ye, CalendarDays as be, CheckCircle2 as xe, Clock as p, Dumbbell as m, Flame as Se, Lock as Ce, Pencil as we, Play as Te, Plus as h } from "lucide-react";
20
+ import { useParams as Ee } from "react-router-dom";
21
+ import { Fragment as De, jsx as g, jsxs as _ } from "react/jsx-runtime";
22
+ import { Button as v, GlassCard as Oe, Input as y, Label as b, ResponsiveDialog as x, ResponsiveDialogContent as S, ResponsiveDialogDescription as C, ResponsiveDialogFooter as w, ResponsiveDialogHeader as T, ResponsiveDialogTitle as E, Select as D, SelectContent as O, SelectItem as k, SelectTrigger as A, SelectValue as j, Textarea as ke } from "@burdenoff/fe-libs/ui";
21
23
  //#region src/mybodyshield/pages/programs/ProgramDetailPage.tsx
22
- var Te = [
24
+ var Ae = [
23
25
  "STRENGTH",
24
26
  "CARDIO",
25
27
  "HIIT",
26
28
  "MOBILITY",
27
29
  "YOGA",
28
30
  "RECOVERY"
29
- ], Ee = [
31
+ ], je = [
30
32
  "CHEST",
31
33
  "BACK",
32
34
  "LEGS",
@@ -39,40 +41,62 @@ var Te = [
39
41
  if (t === "") return null;
40
42
  let n = Number(t);
41
43
  return Number.isFinite(n) ? n : null;
42
- }, N = ({ children: e }) => /* @__PURE__ */ h("span", {
43
- className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
44
- children: e
44
+ }, Me = [
45
+ .16,
46
+ 1,
47
+ .3,
48
+ 1
49
+ ], Ne = {
50
+ hidden: {},
51
+ show: { transition: { staggerChildren: .06 } }
52
+ }, Pe = {
53
+ hidden: {
54
+ opacity: 0,
55
+ y: 12
56
+ },
57
+ show: {
58
+ opacity: 1,
59
+ y: 0,
60
+ transition: {
61
+ duration: .35,
62
+ ease: Me
63
+ }
64
+ }
65
+ }, N = ({ children: e, icon: t, tint: n }) => /* @__PURE__ */ _("span", {
66
+ className: "inline-flex items-center gap-1.5 rounded-full bg-bg-sunken px-2.5 py-1 text-xs font-medium text-text-secondary",
67
+ style: n ? { color: n } : void 0,
68
+ children: [t, e]
45
69
  }), P = ({ group: e }) => {
46
- let t = ae[e].tint;
47
- return /* @__PURE__ */ h("span", {
70
+ let t = d[e].tint;
71
+ return /* @__PURE__ */ g("span", {
48
72
  className: "inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
49
73
  style: {
50
74
  backgroundColor: `color-mix(in srgb, ${t} 16%, transparent)`,
51
75
  color: t
52
76
  },
53
- children: i(e)
77
+ children: o(e)
54
78
  });
55
79
  };
56
80
  function F({ id: e, value: t, onChange: n, options: r }) {
57
- return /* @__PURE__ */ g(E, {
81
+ return /* @__PURE__ */ _(D, {
58
82
  value: t,
59
83
  onValueChange: (e) => n(e),
60
- children: [/* @__PURE__ */ h(k, {
84
+ children: [/* @__PURE__ */ g(A, {
61
85
  id: e,
62
- children: /* @__PURE__ */ h(A, {})
63
- }), /* @__PURE__ */ h(D, { children: r.map((e) => /* @__PURE__ */ h(O, {
86
+ children: /* @__PURE__ */ g(j, {})
87
+ }), /* @__PURE__ */ g(O, { children: r.map((e) => /* @__PURE__ */ g(k, {
64
88
  value: e,
65
- children: i(e)
89
+ children: o(e)
66
90
  }, e)) })]
67
91
  });
68
92
  }
69
- var I = {
93
+ var Fe = {
70
94
  name: "",
71
95
  type: "STRENGTH",
72
96
  weekNumber: "1",
73
97
  dayOfWeek: "1",
74
98
  durationMin: ""
75
- }, L = {
99
+ }, I = {
76
100
  name: "",
77
101
  muscleGroup: "FULL_BODY",
78
102
  sets: "",
@@ -80,24 +104,24 @@ var I = {
80
104
  targetWeight: "",
81
105
  restSeconds: "",
82
106
  instructions: ""
83
- }, De = [
107
+ }, Ie = [
84
108
  "WEIGHT_LOSS",
85
109
  "MUSCLE_GAIN",
86
110
  "STRENGTH",
87
111
  "ENDURANCE",
88
112
  "MOBILITY",
89
113
  "GENERAL_FITNESS"
90
- ], Oe = [
114
+ ], Le = [
91
115
  "BEGINNER",
92
116
  "INTERMEDIATE",
93
117
  "ADVANCED",
94
118
  "ELITE"
95
- ], ke = [
119
+ ], Re = [
96
120
  "BUILD",
97
121
  "PEAK",
98
122
  "DELOAD",
99
123
  "MAINTENANCE"
100
- ], Ae = {
124
+ ], ze = {
101
125
  name: "",
102
126
  description: "",
103
127
  goalType: "GENERAL_FITNESS",
@@ -107,461 +131,501 @@ var I = {
107
131
  daysPerWeek: "",
108
132
  startDate: "",
109
133
  endDate: ""
110
- }, R = (e) => {
134
+ }, Be = (e) => {
111
135
  if (!e) return "";
112
136
  let t = new Date(e);
113
137
  return Number.isNaN(t.getTime()) ? "" : t.toISOString().slice(0, 10);
114
138
  };
115
- function je({ exercise: e }) {
116
- return /* @__PURE__ */ g("div", {
117
- className: "flex flex-col gap-2 py-3 sm:flex-row sm:items-start sm:justify-between",
118
- children: [/* @__PURE__ */ g("div", {
139
+ function L({ exercise: e }) {
140
+ let t = d[e.muscleGroup].tint;
141
+ return /* @__PURE__ */ _("div", {
142
+ className: "flex flex-col gap-2 rounded-lg border-l-2 py-3 pl-3 pr-1 transition-colors hover:bg-bg-sunken/40 sm:flex-row sm:items-start sm:justify-between",
143
+ style: { borderColor: `color-mix(in srgb, ${t} 55%, transparent)` },
144
+ children: [/* @__PURE__ */ _("div", {
119
145
  className: "min-w-0",
120
146
  children: [
121
- /* @__PURE__ */ g("div", {
147
+ /* @__PURE__ */ _("div", {
122
148
  className: "flex flex-wrap items-center gap-2",
123
- children: [/* @__PURE__ */ h("p", {
149
+ children: [/* @__PURE__ */ g("p", {
124
150
  className: "font-medium text-text-primary",
125
151
  children: e.name
126
- }), /* @__PURE__ */ h(P, { group: e.muscleGroup })]
152
+ }), /* @__PURE__ */ g(P, { group: e.muscleGroup })]
127
153
  }),
128
- e.instructions && /* @__PURE__ */ h("p", {
154
+ e.instructions && /* @__PURE__ */ g("p", {
129
155
  className: "mt-1 text-xs text-text-tertiary",
130
156
  children: e.instructions
131
157
  }),
132
- e.demo?.id && /* @__PURE__ */ h("div", {
158
+ e.demo?.id && /* @__PURE__ */ g("div", {
133
159
  className: "mt-1.5",
134
- children: /* @__PURE__ */ h(u, { fileId: e.demo.id })
160
+ children: /* @__PURE__ */ g(me, { fileId: e.demo.id })
135
161
  })
136
162
  ]
137
- }), /* @__PURE__ */ g("div", {
163
+ }), /* @__PURE__ */ _("div", {
138
164
  className: "flex shrink-0 items-center gap-4 text-sm tabular-nums text-text-secondary",
139
- children: [/* @__PURE__ */ g("span", { children: [
140
- o(e.sets),
165
+ children: [/* @__PURE__ */ _("span", { children: [
166
+ c(e.sets),
141
167
  "×",
142
- o(e.reps),
168
+ c(e.reps),
143
169
  " @",
144
170
  " ",
145
- s(e.targetWeight)
146
- ] }), /* @__PURE__ */ g("span", {
171
+ l(e.targetWeight)
172
+ ] }), /* @__PURE__ */ _("span", {
147
173
  className: "text-text-tertiary",
148
- children: ["Rest ", r(e.restSeconds)]
174
+ children: ["Rest ", a(e.restSeconds)]
149
175
  })]
150
176
  })]
151
177
  });
152
178
  }
153
- function Me({ workout: e, canEdit: t, onAddExercise: n }) {
154
- let r = l[e.type], i = r.icon, s = he(() => [...e.exercises ?? []].sort((e, t) => e.orderIndex - t.orderIndex), [e.exercises]);
155
- return /* @__PURE__ */ g(we, {
179
+ function Ve({ workout: e, canEdit: t, onAddExercise: n }) {
180
+ let r = oe[e.type], i = r.icon, a = _e(() => [...e.exercises ?? []].sort((e, t) => e.orderIndex - t.orderIndex), [e.exercises]);
181
+ return /* @__PURE__ */ _(Oe, {
156
182
  treatment: "glass",
157
- className: "p-5",
158
- children: [/* @__PURE__ */ g("div", {
183
+ className: "h-full p-5 transition-shadow hover:shadow-float",
184
+ children: [/* @__PURE__ */ _("div", {
159
185
  className: "flex flex-wrap items-start justify-between gap-3",
160
- children: [/* @__PURE__ */ g("div", {
186
+ children: [/* @__PURE__ */ _("div", {
161
187
  className: "flex min-w-0 items-start gap-3",
162
- children: [/* @__PURE__ */ h(ie, {
163
- icon: /* @__PURE__ */ h(i, { className: "h-4 w-4" }),
188
+ children: [/* @__PURE__ */ g(u, {
189
+ icon: /* @__PURE__ */ g(i, { className: "h-4 w-4" }),
164
190
  tint: r.tint
165
- }), /* @__PURE__ */ g("div", {
191
+ }), /* @__PURE__ */ _("div", {
166
192
  className: "min-w-0",
167
- children: [/* @__PURE__ */ g("div", {
193
+ children: [/* @__PURE__ */ _("div", {
168
194
  className: "flex flex-wrap items-center gap-2",
169
- children: [/* @__PURE__ */ h("h3", {
195
+ children: [/* @__PURE__ */ g("h3", {
170
196
  className: "font-semibold text-text-primary",
171
197
  children: e.name
172
- }), /* @__PURE__ */ h(ee, { status: e.type })]
173
- }), /* @__PURE__ */ g("p", {
174
- className: "mt-0.5 text-xs text-text-tertiary",
175
- children: [
198
+ }), /* @__PURE__ */ g(ee, { status: e.type })]
199
+ }), /* @__PURE__ */ _("div", {
200
+ className: "mt-0.5 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-xs text-text-tertiary",
201
+ children: [/* @__PURE__ */ _("span", { children: [
176
202
  "Week ",
177
- o(e.weekNumber),
203
+ c(e.weekNumber),
178
204
  " · Day ",
179
- o(e.dayOfWeek),
180
- " ·",
181
- " ",
182
- a(e.durationMin)
183
- ]
205
+ c(e.dayOfWeek)
206
+ ] }), /* @__PURE__ */ _("span", {
207
+ className: "inline-flex items-center gap-1",
208
+ children: [/* @__PURE__ */ g(p, { className: "h-3.5 w-3.5" }), s(e.durationMin)]
209
+ })]
184
210
  })]
185
211
  })]
186
- }), t && /* @__PURE__ */ g(_, {
212
+ }), t && /* @__PURE__ */ _(v, {
187
213
  variant: "outline",
188
214
  size: "sm",
189
215
  onClick: () => n(e.id),
190
- children: [/* @__PURE__ */ h(p, { className: "mr-1 h-4 w-4" }), " Add exercise"]
216
+ children: [/* @__PURE__ */ g(h, { className: "mr-1 h-4 w-4" }), " Add exercise"]
191
217
  })]
192
- }), s.length === 0 ? /* @__PURE__ */ h("p", {
218
+ }), a.length === 0 ? /* @__PURE__ */ g("p", {
193
219
  className: "mt-4 rounded-lg border border-dashed border-border-seam px-3 py-4 text-center text-sm text-text-tertiary",
194
220
  children: "No exercises yet — add the first movement to this workout."
195
- }) : /* @__PURE__ */ h("div", {
221
+ }) : /* @__PURE__ */ g("div", {
196
222
  className: "mt-4 divide-y divide-border-seam/60",
197
- children: s.map((e) => /* @__PURE__ */ h(je, { exercise: e }, e.id))
223
+ children: a.map((e) => /* @__PURE__ */ g(L, { exercise: e }, e.id))
198
224
  })]
199
225
  });
200
226
  }
201
- function z() {
202
- let { id: r } = Ce(), { navigateTo: a } = e(), { data: s, isLoading: ie, isError: ae, refetch: l } = le(r), u = ue(), E = ce(), D = de(), O = se(), k = oe(), [A, P] = d(null), [je, z] = d(!1), [B, V] = d(I), [Ne, H] = d(null), [U, W] = d(null), [G, K] = d(L), [Pe, Fe] = d(null), [Ie, q] = d(null), [Le, J] = d(!1), [Y, X] = d(Ae), [Re, Z] = d(null), ze = he(() => [...s?.workouts ?? []].sort((e, t) => e.weekNumber - t.weekNumber || e.dayOfWeek - t.dayOfWeek || e.orderIndex - t.orderIndex), [s?.workouts]);
203
- if (ie) return /* @__PURE__ */ h(t, {
227
+ function He() {
228
+ let { id: a } = Ee(), { navigateTo: s } = e(), l = n(), { data: d, isLoading: oe, isError: me, refetch: p } = ue(a), D = de(), O = le(), k = fe(), A = ce(), j = se(), [P, L] = f(null), [He, R] = f(!1), [z, B] = f(Fe), [Ue, V] = f(null), [H, U] = f(null), [W, G] = f(I), [We, Ge] = f(null), [Ke, K] = f(null), [qe, q] = f(!1), [J, Y] = f(ze), [Je, X] = f(null), Ye = _e(() => [...d?.workouts ?? []].sort((e, t) => e.weekNumber - t.weekNumber || e.dayOfWeek - t.dayOfWeek || e.orderIndex - t.orderIndex), [d?.workouts]);
229
+ if (oe) return /* @__PURE__ */ g(r, {
204
230
  title: "Program",
205
- children: /* @__PURE__ */ h(ne, { label: "Loading program…" })
231
+ children: /* @__PURE__ */ g(ne, { label: "Loading program…" })
206
232
  });
207
- if (ae) return /* @__PURE__ */ h(t, {
233
+ if (me) return /* @__PURE__ */ g(r, {
208
234
  title: "Program",
209
- children: /* @__PURE__ */ h(te, {
235
+ children: /* @__PURE__ */ g(te, {
210
236
  message: "We couldn't load this program.",
211
- onRetry: () => void l()
237
+ onRetry: () => void p()
212
238
  })
213
239
  });
214
- if (!s) return /* @__PURE__ */ h(t, {
240
+ if (!d) return /* @__PURE__ */ g(r, {
215
241
  title: "Program",
216
- children: /* @__PURE__ */ h(c, {
242
+ children: /* @__PURE__ */ g(ie, {
217
243
  illustration: "empty-data",
218
- icon: /* @__PURE__ */ h(ve, { className: "h-10 w-10" }),
244
+ icon: /* @__PURE__ */ g(m, { className: "h-10 w-10" }),
219
245
  title: "Program not found",
220
246
  description: "This program may have been deleted or you don't have access to it.",
221
- action: /* @__PURE__ */ g(_, {
247
+ action: /* @__PURE__ */ _(v, {
222
248
  variant: "outline",
223
- onClick: () => a("programs"),
224
- children: [/* @__PURE__ */ h(f, { className: "mr-1 h-4 w-4" }), " Back to programs"]
249
+ onClick: () => s("programs"),
250
+ children: [/* @__PURE__ */ g(ye, { className: "mr-1 h-4 w-4" }), " Back to programs"]
225
251
  })
226
252
  })
227
253
  });
228
- let Q = s.id, $ = s.status === "DRAFT" || s.status === "ACTIVE", Be = () => {
229
- X({
230
- name: s.name,
231
- description: s.description ?? "",
232
- goalType: s.goalType,
233
- level: s.level,
234
- phase: s.phase,
235
- weeks: s.weeks ? String(s.weeks) : "",
236
- daysPerWeek: s.daysPerWeek ? String(s.daysPerWeek) : "",
237
- startDate: R(s.startDate),
238
- endDate: R(s.endDate)
239
- }), Z(null), J(!0);
240
- }, Ve = async () => {
241
- if (!Y.name.trim()) {
242
- Z("Program name is required.");
254
+ let Z = d.id, Q = d.status === "DRAFT" || d.status === "ACTIVE", Xe = d.status === "ACTIVE", $ = ae[d.goalType], Ze = $.icon, Qe = () => {
255
+ Y({
256
+ name: d.name,
257
+ description: d.description ?? "",
258
+ goalType: d.goalType,
259
+ level: d.level,
260
+ phase: d.phase,
261
+ weeks: d.weeks ? String(d.weeks) : "",
262
+ daysPerWeek: d.daysPerWeek ? String(d.daysPerWeek) : "",
263
+ startDate: Be(d.startDate),
264
+ endDate: Be(d.endDate)
265
+ }), X(null), q(!0);
266
+ }, $e = async () => {
267
+ if (!J.name.trim()) {
268
+ X("Program name is required.");
243
269
  return;
244
270
  }
245
271
  let e = {
246
- name: Y.name.trim(),
247
- description: Y.description.trim() || null,
248
- goalType: Y.goalType,
249
- level: Y.level,
250
- phase: Y.phase,
251
- weeks: M(Y.weeks),
252
- daysPerWeek: M(Y.daysPerWeek),
253
- startDate: Y.startDate ? new Date(Y.startDate).toISOString() : null,
254
- endDate: Y.endDate ? new Date(Y.endDate).toISOString() : null
272
+ name: J.name.trim(),
273
+ description: J.description.trim() || null,
274
+ goalType: J.goalType,
275
+ level: J.level,
276
+ phase: J.phase,
277
+ weeks: M(J.weeks),
278
+ daysPerWeek: M(J.daysPerWeek),
279
+ startDate: J.startDate ? new Date(J.startDate).toISOString() : null,
280
+ endDate: J.endDate ? new Date(J.endDate).toISOString() : null
255
281
  };
256
- Z(null);
282
+ X(null);
257
283
  try {
258
- await D.mutateAsync({
259
- id: Q,
284
+ await k.mutateAsync({
285
+ id: Z,
260
286
  input: e
261
- }), J(!1);
287
+ }), q(!1);
262
288
  } catch (e) {
263
- Z(e instanceof Error ? e.message : "Failed to update program.");
289
+ X(e instanceof Error ? e.message : "Failed to update program.");
264
290
  }
265
- }, He = async (e) => {
266
- P(null);
291
+ }, et = async (e) => {
292
+ L(null);
267
293
  try {
268
- await u.mutateAsync({
269
- id: Q,
294
+ await D.mutateAsync({
295
+ id: Z,
270
296
  status: e
271
297
  });
272
298
  } catch (e) {
273
- P(e instanceof Error ? e.message : "Failed to update program status.");
299
+ L(e instanceof Error ? e.message : "Failed to update program status.");
274
300
  }
275
- }, Ue = async () => {
301
+ }, tt = async () => {
276
302
  if (window.confirm("Archive this program? It will be moved out of your active library.")) {
277
- P(null);
303
+ L(null);
278
304
  try {
279
- await E.mutateAsync(Q), await l();
305
+ await O.mutateAsync(Z), await p();
280
306
  } catch (e) {
281
- P(e instanceof Error ? e.message : "Failed to archive program.");
307
+ L(e instanceof Error ? e.message : "Failed to archive program.");
282
308
  }
283
309
  }
284
- }, We = () => {
285
- V(I), H(null), z(!0);
286
- }, Ge = async () => {
287
- if (!B.name.trim()) {
288
- H("Workout name is required.");
310
+ }, nt = () => {
311
+ B(Fe), V(null), R(!0);
312
+ }, rt = async () => {
313
+ if (!z.name.trim()) {
314
+ V("Workout name is required.");
289
315
  return;
290
316
  }
291
317
  let e = {
292
- programId: Q,
293
- name: B.name.trim(),
294
- type: B.type,
295
- weekNumber: M(B.weekNumber),
296
- dayOfWeek: M(B.dayOfWeek),
297
- durationMin: M(B.durationMin)
318
+ programId: Z,
319
+ name: z.name.trim(),
320
+ type: z.type,
321
+ weekNumber: M(z.weekNumber),
322
+ dayOfWeek: M(z.dayOfWeek),
323
+ durationMin: M(z.durationMin)
298
324
  };
299
325
  try {
300
- await O.mutateAsync(e), z(!1);
326
+ await A.mutateAsync(e), R(!1);
301
327
  } catch (e) {
302
- H(e instanceof Error ? e.message : "Failed to add workout.");
328
+ V(e instanceof Error ? e.message : "Failed to add workout.");
303
329
  }
304
- }, Ke = (e) => {
305
- K(L), Fe(null), q(null), W(e);
306
- }, qe = async () => {
307
- if (!U) return;
308
- if (!G.name.trim()) {
309
- q("Exercise name is required.");
330
+ }, it = (e) => {
331
+ G(I), Ge(null), K(null), U(e);
332
+ }, at = async () => {
333
+ if (!H) return;
334
+ if (!W.name.trim()) {
335
+ K("Exercise name is required.");
310
336
  return;
311
337
  }
312
338
  let e = {
313
- workoutId: U,
314
- name: G.name.trim(),
315
- muscleGroup: G.muscleGroup,
316
- sets: M(G.sets),
317
- reps: M(G.reps),
318
- targetWeight: M(G.targetWeight),
319
- restSeconds: M(G.restSeconds),
320
- instructions: G.instructions.trim() || null,
321
- demoFileId: Pe?.fileId ?? null
339
+ workoutId: H,
340
+ name: W.name.trim(),
341
+ muscleGroup: W.muscleGroup,
342
+ sets: M(W.sets),
343
+ reps: M(W.reps),
344
+ targetWeight: M(W.targetWeight),
345
+ restSeconds: M(W.restSeconds),
346
+ instructions: W.instructions.trim() || null,
347
+ demoFileId: We?.fileId ?? null
322
348
  };
323
349
  try {
324
- await k.mutateAsync(e), W(null);
350
+ await j.mutateAsync(e), U(null);
325
351
  } catch (e) {
326
- q(e instanceof Error ? e.message : "Failed to add exercise.");
352
+ K(e instanceof Error ? e.message : "Failed to add exercise.");
327
353
  }
328
354
  };
329
- return /* @__PURE__ */ g(t, {
330
- title: s.name,
331
- actions: /* @__PURE__ */ g(m, { children: [
332
- s.status === "DRAFT" && /* @__PURE__ */ g(_, {
333
- onClick: () => void He("ACTIVE"),
334
- disabled: u.isPending,
335
- children: [/* @__PURE__ */ h(Se, { className: "mr-1 h-4 w-4" }), " Activate"]
355
+ return /* @__PURE__ */ _(r, {
356
+ title: d.name,
357
+ actions: /* @__PURE__ */ _(De, { children: [
358
+ d.status === "DRAFT" && /* @__PURE__ */ _(v, {
359
+ onClick: () => void et("ACTIVE"),
360
+ disabled: D.isPending,
361
+ children: [/* @__PURE__ */ g(Te, { className: "mr-1 h-4 w-4" }), " Activate"]
336
362
  }),
337
- s.status === "ACTIVE" && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ g(_, {
338
- onClick: () => void He("COMPLETED"),
339
- disabled: u.isPending,
340
- children: [/* @__PURE__ */ h(_e, { className: "mr-1 h-4 w-4" }), " Complete"]
341
- }), /* @__PURE__ */ g(_, {
363
+ d.status === "ACTIVE" && /* @__PURE__ */ _(De, { children: [/* @__PURE__ */ _(v, {
364
+ onClick: () => void et("COMPLETED"),
365
+ disabled: D.isPending,
366
+ children: [/* @__PURE__ */ g(xe, { className: "mr-1 h-4 w-4" }), " Complete"]
367
+ }), /* @__PURE__ */ _(v, {
342
368
  variant: "outline",
343
- onClick: () => a("train"),
344
- children: [/* @__PURE__ */ h(ye, { className: "mr-1 h-4 w-4" }), " Start a session"]
369
+ onClick: () => s("train"),
370
+ children: [/* @__PURE__ */ g(Se, { className: "mr-1 h-4 w-4" }), " Start a session"]
345
371
  })] }),
346
- s.status !== "ARCHIVED" && /* @__PURE__ */ g(_, {
372
+ d.status !== "ARCHIVED" && /* @__PURE__ */ _(v, {
347
373
  variant: "outline",
348
- onClick: Be,
349
- disabled: D.isPending,
350
- children: [/* @__PURE__ */ h(xe, { className: "mr-1 h-4 w-4" }), " Edit"]
374
+ onClick: Qe,
375
+ disabled: k.isPending,
376
+ children: [/* @__PURE__ */ g(we, { className: "mr-1 h-4 w-4" }), " Edit"]
351
377
  }),
352
- s.status !== "ARCHIVED" && /* @__PURE__ */ g(_, {
378
+ d.status !== "ARCHIVED" && /* @__PURE__ */ _(v, {
353
379
  variant: "outline",
354
- onClick: () => void Ue(),
355
- disabled: E.isPending,
356
- children: [/* @__PURE__ */ h(ge, { className: "mr-1 h-4 w-4" }), " Archive"]
380
+ onClick: () => void tt(),
381
+ disabled: O.isPending,
382
+ children: [/* @__PURE__ */ g(ve, { className: "mr-1 h-4 w-4" }), " Archive"]
357
383
  }),
358
- $ && /* @__PURE__ */ g(_, {
359
- onClick: We,
360
- children: [/* @__PURE__ */ h(p, { className: "mr-1 h-4 w-4" }), " Add workout"]
384
+ Q && /* @__PURE__ */ _(v, {
385
+ onClick: nt,
386
+ children: [/* @__PURE__ */ g(h, { className: "mr-1 h-4 w-4" }), " Add workout"]
361
387
  })
362
388
  ] }),
363
389
  children: [
364
- /* @__PURE__ */ g("button", {
390
+ /* @__PURE__ */ _("button", {
365
391
  type: "button",
366
- onClick: () => a("programs"),
392
+ onClick: () => s("programs"),
367
393
  className: "mb-4 inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
368
- children: [/* @__PURE__ */ h(f, { className: "h-4 w-4" }), " All programs"]
394
+ children: [/* @__PURE__ */ g(ye, { className: "h-4 w-4" }), " All programs"]
369
395
  }),
370
- /* @__PURE__ */ g(we, {
371
- treatment: "glass",
372
- className: "p-6",
373
- children: [
374
- /* @__PURE__ */ h("div", {
375
- className: "flex flex-wrap items-start justify-between gap-4",
376
- children: /* @__PURE__ */ g("div", {
377
- className: "min-w-0",
378
- children: [
379
- /* @__PURE__ */ g("div", {
380
- className: "flex flex-wrap items-center gap-2",
381
- children: [/* @__PURE__ */ h("h2", {
382
- className: "text-xl font-semibold text-text-primary",
383
- children: s.name
384
- }), /* @__PURE__ */ h(ee, { status: s.status })]
385
- }),
386
- /* @__PURE__ */ g("div", {
387
- className: "mt-3 flex flex-wrap gap-1.5",
388
- children: [
389
- /* @__PURE__ */ h(N, { children: i(s.phase) }),
390
- /* @__PURE__ */ h(N, { children: i(s.level) }),
391
- /* @__PURE__ */ h(N, { children: i(s.goalType) }),
392
- /* @__PURE__ */ g(N, { children: [
393
- o(s.weeks),
394
- " wk × ",
395
- o(s.daysPerWeek),
396
- " days"
397
- ] })
398
- ]
399
- }),
400
- /* @__PURE__ */ g("p", {
401
- className: "mt-3 text-sm text-text-secondary",
402
- children: [
403
- n(s.startDate),
404
- " – ",
405
- n(s.endDate)
406
- ]
407
- }),
408
- (s.tags ?? []).length > 0 && /* @__PURE__ */ h("div", {
409
- className: "mt-3 flex flex-wrap gap-1.5",
410
- children: (s.tags ?? []).map((e) => /* @__PURE__ */ g("span", {
411
- className: "inline-flex items-center rounded-full bg-[var(--color-accent-soft)] px-2 py-0.5 text-xs font-medium text-text-secondary",
412
- children: ["#", e]
413
- }, e))
414
- }),
415
- s.description && /* @__PURE__ */ h("p", {
416
- className: "mt-3 max-w-2xl text-sm text-text-secondary",
417
- children: s.description
418
- })
419
- ]
420
- })
421
- }),
422
- /* @__PURE__ */ h("div", {
423
- className: "mt-5 border-t border-border-seam pt-4",
424
- children: /* @__PURE__ */ h(me, {
425
- entityType: "mybodyshield-program",
426
- entityId: s.id,
427
- label: "Platform tags"
396
+ /* @__PURE__ */ g(t.div, {
397
+ initial: l ? !1 : {
398
+ opacity: 0,
399
+ y: 10
400
+ },
401
+ animate: {
402
+ opacity: 1,
403
+ y: 0
404
+ },
405
+ transition: l ? { duration: 0 } : {
406
+ duration: .35,
407
+ ease: Me
408
+ },
409
+ children: /* @__PURE__ */ _(Oe, {
410
+ treatment: "glass",
411
+ glow: Xe,
412
+ className: "p-6",
413
+ children: [
414
+ /* @__PURE__ */ g("div", {
415
+ className: "flex flex-wrap items-start justify-between gap-4",
416
+ children: /* @__PURE__ */ _("div", {
417
+ className: "min-w-0",
418
+ children: [
419
+ /* @__PURE__ */ _("div", {
420
+ className: "flex flex-wrap items-center gap-2",
421
+ children: [
422
+ /* @__PURE__ */ g(u, {
423
+ icon: /* @__PURE__ */ g(Ze, { className: "h-5 w-5" }),
424
+ tint: $.tint,
425
+ className: "size-10"
426
+ }),
427
+ /* @__PURE__ */ g("h2", {
428
+ className: "text-xl font-semibold text-text-primary",
429
+ children: d.name
430
+ }),
431
+ /* @__PURE__ */ g(ee, { status: d.status })
432
+ ]
433
+ }),
434
+ /* @__PURE__ */ _("div", {
435
+ className: "mt-3 flex flex-wrap gap-1.5",
436
+ children: [
437
+ /* @__PURE__ */ _(N, { children: ["Phase · ", o(d.phase)] }),
438
+ /* @__PURE__ */ _(N, { children: ["Level · ", o(d.level)] }),
439
+ /* @__PURE__ */ g(N, {
440
+ icon: /* @__PURE__ */ g(Ze, { className: "h-3.5 w-3.5" }),
441
+ tint: $.tint,
442
+ children: o(d.goalType)
443
+ }),
444
+ /* @__PURE__ */ _(N, {
445
+ icon: /* @__PURE__ */ g(be, { className: "h-3.5 w-3.5" }),
446
+ children: [
447
+ c(d.weeks),
448
+ " wk × ",
449
+ c(d.daysPerWeek),
450
+ " days"
451
+ ]
452
+ })
453
+ ]
454
+ }),
455
+ /* @__PURE__ */ _("p", {
456
+ className: "mt-3 inline-flex items-center gap-1.5 text-sm text-text-secondary",
457
+ children: [
458
+ /* @__PURE__ */ g(be, { className: "h-4 w-4 text-text-tertiary" }),
459
+ i(d.startDate),
460
+ " – ",
461
+ i(d.endDate)
462
+ ]
463
+ }),
464
+ (d.tags ?? []).length > 0 && /* @__PURE__ */ g("div", {
465
+ className: "mt-3 flex flex-wrap gap-1.5",
466
+ children: (d.tags ?? []).map((e) => /* @__PURE__ */ _("span", {
467
+ className: "inline-flex items-center rounded-full bg-[var(--color-accent-soft)] px-2 py-0.5 text-xs font-medium text-text-secondary",
468
+ children: ["#", e]
469
+ }, e))
470
+ }),
471
+ d.description && /* @__PURE__ */ g("p", {
472
+ className: "mt-3 max-w-2xl text-sm text-text-secondary",
473
+ children: d.description
474
+ })
475
+ ]
476
+ })
477
+ }),
478
+ /* @__PURE__ */ g("div", {
479
+ className: "mt-5 border-t border-border-seam pt-4",
480
+ children: /* @__PURE__ */ g(ge, {
481
+ entityType: "mybodyshield-program",
482
+ entityId: d.id,
483
+ label: "Platform tags"
484
+ })
485
+ }),
486
+ P && /* @__PURE__ */ g("p", {
487
+ className: "mt-4 rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
488
+ children: P
428
489
  })
429
- }),
430
- A && /* @__PURE__ */ h("p", {
431
- className: "mt-4 rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
432
- children: A
433
- })
434
- ]
490
+ ]
491
+ })
435
492
  }),
436
- /* @__PURE__ */ g(re, {
493
+ /* @__PURE__ */ _(re, {
437
494
  title: "Workouts",
438
495
  description: "Sessions in this block, ordered by week, day & sequence.",
439
- children: [!$ && /* @__PURE__ */ g("p", {
496
+ children: [!Q && /* @__PURE__ */ _("p", {
440
497
  className: "mb-4 inline-flex items-center gap-1.5 rounded-lg border border-border-seam bg-bg-sunken/60 px-3 py-2 text-xs text-text-tertiary",
441
498
  children: [
442
- /* @__PURE__ */ h(be, { className: "h-3.5 w-3.5 shrink-0" }),
499
+ /* @__PURE__ */ g(Ce, { className: "h-3.5 w-3.5 shrink-0" }),
443
500
  "This program is ",
444
- i(s.status).toLowerCase(),
501
+ o(d.status).toLowerCase(),
445
502
  " — its structure is locked and can no longer be edited."
446
503
  ]
447
- }), ze.length === 0 ? /* @__PURE__ */ h(c, {
504
+ }), Ye.length === 0 ? /* @__PURE__ */ g(ie, {
448
505
  illustration: "empty-data",
449
- icon: /* @__PURE__ */ h(ve, { className: "h-10 w-10" }),
506
+ icon: /* @__PURE__ */ g(m, { className: "h-10 w-10" }),
450
507
  title: "No workouts yet",
451
- description: $ ? "Add workouts to lay out the training week, then attach exercises to each one." : "This program has no workouts, and its structure is locked in its current status.",
452
- action: $ ? /* @__PURE__ */ g(_, {
453
- onClick: We,
454
- children: [/* @__PURE__ */ h(p, { className: "mr-1 h-4 w-4" }), " Add workout"]
508
+ description: Q ? "Add workouts to lay out the training week, then attach exercises to each one." : "This program has no workouts, and its structure is locked in its current status.",
509
+ action: Q ? /* @__PURE__ */ _(v, {
510
+ onClick: nt,
511
+ children: [/* @__PURE__ */ g(h, { className: "mr-1 h-4 w-4" }), " Add workout"]
455
512
  }) : void 0
456
- }) : /* @__PURE__ */ h("div", {
457
- className: "space-y-4",
458
- children: ze.map((e) => /* @__PURE__ */ h(Me, {
459
- workout: e,
460
- canEdit: $,
461
- onAddExercise: Ke
513
+ }) : /* @__PURE__ */ g(t.div, {
514
+ className: "grid grid-cols-1 gap-4 xl:grid-cols-2",
515
+ variants: l ? void 0 : Ne,
516
+ initial: l ? !1 : "hidden",
517
+ animate: "show",
518
+ children: Ye.map((e) => /* @__PURE__ */ g(t.div, {
519
+ className: "h-full",
520
+ variants: l ? void 0 : Pe,
521
+ children: /* @__PURE__ */ g(Ve, {
522
+ workout: e,
523
+ canEdit: Q,
524
+ onAddExercise: it
525
+ })
462
526
  }, e.id))
463
527
  })]
464
528
  }),
465
- /* @__PURE__ */ h(pe, {
529
+ /* @__PURE__ */ g(he, {
466
530
  entityType: "mybodyshield-program",
467
- entityId: s.id,
531
+ entityId: d.id,
468
532
  title: "Program notes",
469
533
  description: "Coach and member notes for this training block."
470
534
  }),
471
- /* @__PURE__ */ h(b, {
472
- open: je,
473
- onOpenChange: z,
474
- children: /* @__PURE__ */ g(x, {
535
+ /* @__PURE__ */ g(x, {
536
+ open: He,
537
+ onOpenChange: R,
538
+ children: /* @__PURE__ */ _(S, {
475
539
  className: "sm:max-w-lg",
476
540
  children: [
477
- /* @__PURE__ */ g(w, { children: [/* @__PURE__ */ h(T, { children: "Add workout" }), /* @__PURE__ */ h(S, { children: "Add a training session to this program. Attach exercises once it's created." })] }),
478
- /* @__PURE__ */ g("div", {
541
+ /* @__PURE__ */ _(T, { children: [/* @__PURE__ */ g(E, { children: "Add workout" }), /* @__PURE__ */ g(C, { children: "Add a training session to this program. Attach exercises once it's created." })] }),
542
+ /* @__PURE__ */ _("div", {
479
543
  className: "space-y-4 py-2",
480
544
  children: [
481
- Ne && /* @__PURE__ */ h("p", {
545
+ Ue && /* @__PURE__ */ g("p", {
482
546
  className: "rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
483
- children: Ne
547
+ children: Ue
484
548
  }),
485
- /* @__PURE__ */ g("div", {
549
+ /* @__PURE__ */ _("div", {
486
550
  className: "space-y-1.5",
487
- children: [/* @__PURE__ */ h(y, {
551
+ children: [/* @__PURE__ */ g(b, {
488
552
  htmlFor: "myb-wk-name",
489
553
  children: "Name"
490
- }), /* @__PURE__ */ h(v, {
554
+ }), /* @__PURE__ */ g(y, {
491
555
  id: "myb-wk-name",
492
- value: B.name,
493
- onChange: (e) => V({
494
- ...B,
556
+ value: z.name,
557
+ onChange: (e) => B({
558
+ ...z,
495
559
  name: e.target.value
496
560
  }),
497
561
  placeholder: "e.g. Upper Body — Push"
498
562
  })]
499
563
  }),
500
- /* @__PURE__ */ g("div", {
564
+ /* @__PURE__ */ _("div", {
501
565
  className: "space-y-1.5",
502
- children: [/* @__PURE__ */ h(y, {
566
+ children: [/* @__PURE__ */ g(b, {
503
567
  htmlFor: "myb-wk-type",
504
568
  children: "Type"
505
- }), /* @__PURE__ */ h(F, {
569
+ }), /* @__PURE__ */ g(F, {
506
570
  id: "myb-wk-type",
507
- value: B.type,
508
- onChange: (e) => V({
509
- ...B,
571
+ value: z.type,
572
+ onChange: (e) => B({
573
+ ...z,
510
574
  type: e
511
575
  }),
512
- options: Te
576
+ options: Ae
513
577
  })]
514
578
  }),
515
- /* @__PURE__ */ g("div", {
579
+ /* @__PURE__ */ _("div", {
516
580
  className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
517
581
  children: [
518
- /* @__PURE__ */ g("div", {
582
+ /* @__PURE__ */ _("div", {
519
583
  className: "space-y-1.5",
520
- children: [/* @__PURE__ */ h(y, {
584
+ children: [/* @__PURE__ */ g(b, {
521
585
  htmlFor: "myb-wk-week",
522
586
  children: "Week"
523
- }), /* @__PURE__ */ h(v, {
587
+ }), /* @__PURE__ */ g(y, {
524
588
  id: "myb-wk-week",
525
589
  type: "number",
526
590
  min: 1,
527
- value: B.weekNumber,
528
- onChange: (e) => V({
529
- ...B,
591
+ value: z.weekNumber,
592
+ onChange: (e) => B({
593
+ ...z,
530
594
  weekNumber: e.target.value
531
595
  }),
532
596
  placeholder: "1"
533
597
  })]
534
598
  }),
535
- /* @__PURE__ */ g("div", {
599
+ /* @__PURE__ */ _("div", {
536
600
  className: "space-y-1.5",
537
- children: [/* @__PURE__ */ h(y, {
601
+ children: [/* @__PURE__ */ g(b, {
538
602
  htmlFor: "myb-wk-day",
539
603
  children: "Day"
540
- }), /* @__PURE__ */ h(v, {
604
+ }), /* @__PURE__ */ g(y, {
541
605
  id: "myb-wk-day",
542
606
  type: "number",
543
607
  min: 1,
544
608
  max: 7,
545
- value: B.dayOfWeek,
546
- onChange: (e) => V({
547
- ...B,
609
+ value: z.dayOfWeek,
610
+ onChange: (e) => B({
611
+ ...z,
548
612
  dayOfWeek: e.target.value
549
613
  }),
550
614
  placeholder: "1"
551
615
  })]
552
616
  }),
553
- /* @__PURE__ */ g("div", {
617
+ /* @__PURE__ */ _("div", {
554
618
  className: "space-y-1.5",
555
- children: [/* @__PURE__ */ h(y, {
619
+ children: [/* @__PURE__ */ g(b, {
556
620
  htmlFor: "myb-wk-dur",
557
621
  children: "Duration (min)"
558
- }), /* @__PURE__ */ h(v, {
622
+ }), /* @__PURE__ */ g(y, {
559
623
  id: "myb-wk-dur",
560
624
  type: "number",
561
625
  min: 0,
562
- value: B.durationMin,
563
- onChange: (e) => V({
564
- ...B,
626
+ value: z.durationMin,
627
+ onChange: (e) => B({
628
+ ...z,
565
629
  durationMin: e.target.value
566
630
  }),
567
631
  placeholder: "60"
@@ -571,132 +635,132 @@ function z() {
571
635
  })
572
636
  ]
573
637
  }),
574
- /* @__PURE__ */ g(C, { children: [/* @__PURE__ */ h(_, {
638
+ /* @__PURE__ */ _(w, { children: [/* @__PURE__ */ g(v, {
575
639
  variant: "outline",
576
- onClick: () => z(!1),
577
- disabled: O.isPending,
640
+ onClick: () => R(!1),
641
+ disabled: A.isPending,
578
642
  children: "Cancel"
579
- }), /* @__PURE__ */ h(_, {
580
- onClick: () => void Ge(),
581
- disabled: O.isPending,
582
- children: O.isPending ? "Adding…" : "Add workout"
643
+ }), /* @__PURE__ */ g(v, {
644
+ onClick: () => void rt(),
645
+ disabled: A.isPending,
646
+ children: A.isPending ? "Adding…" : "Add workout"
583
647
  })] })
584
648
  ]
585
649
  })
586
650
  }),
587
- /* @__PURE__ */ h(b, {
588
- open: U !== null,
651
+ /* @__PURE__ */ g(x, {
652
+ open: H !== null,
589
653
  onOpenChange: (e) => {
590
- e || W(null);
654
+ e || U(null);
591
655
  },
592
- children: /* @__PURE__ */ g(x, {
656
+ children: /* @__PURE__ */ _(S, {
593
657
  className: "sm:max-w-lg",
594
658
  children: [
595
- /* @__PURE__ */ g(w, { children: [/* @__PURE__ */ h(T, { children: "Add exercise" }), /* @__PURE__ */ h(S, { children: "Add a movement with its target sets, reps, load & rest." })] }),
596
- /* @__PURE__ */ g("div", {
659
+ /* @__PURE__ */ _(T, { children: [/* @__PURE__ */ g(E, { children: "Add exercise" }), /* @__PURE__ */ g(C, { children: "Add a movement with its target sets, reps, load & rest." })] }),
660
+ /* @__PURE__ */ _("div", {
597
661
  className: "space-y-4 py-2",
598
662
  children: [
599
- Ie && /* @__PURE__ */ h("p", {
663
+ Ke && /* @__PURE__ */ g("p", {
600
664
  className: "rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
601
- children: Ie
665
+ children: Ke
602
666
  }),
603
- /* @__PURE__ */ g("div", {
667
+ /* @__PURE__ */ _("div", {
604
668
  className: "space-y-1.5",
605
- children: [/* @__PURE__ */ h(y, {
669
+ children: [/* @__PURE__ */ g(b, {
606
670
  htmlFor: "myb-ex-name",
607
671
  children: "Name"
608
- }), /* @__PURE__ */ h(v, {
672
+ }), /* @__PURE__ */ g(y, {
609
673
  id: "myb-ex-name",
610
- value: G.name,
611
- onChange: (e) => K({
612
- ...G,
674
+ value: W.name,
675
+ onChange: (e) => G({
676
+ ...W,
613
677
  name: e.target.value
614
678
  }),
615
679
  placeholder: "e.g. Barbell Bench Press"
616
680
  })]
617
681
  }),
618
- /* @__PURE__ */ g("div", {
682
+ /* @__PURE__ */ _("div", {
619
683
  className: "space-y-1.5",
620
- children: [/* @__PURE__ */ h(y, {
684
+ children: [/* @__PURE__ */ g(b, {
621
685
  htmlFor: "myb-ex-muscle",
622
686
  children: "Muscle group"
623
- }), /* @__PURE__ */ h(F, {
687
+ }), /* @__PURE__ */ g(F, {
624
688
  id: "myb-ex-muscle",
625
- value: G.muscleGroup,
626
- onChange: (e) => K({
627
- ...G,
689
+ value: W.muscleGroup,
690
+ onChange: (e) => G({
691
+ ...W,
628
692
  muscleGroup: e
629
693
  }),
630
- options: Ee
694
+ options: je
631
695
  })]
632
696
  }),
633
- /* @__PURE__ */ g("div", {
697
+ /* @__PURE__ */ _("div", {
634
698
  className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
635
699
  children: [
636
- /* @__PURE__ */ g("div", {
700
+ /* @__PURE__ */ _("div", {
637
701
  className: "space-y-1.5",
638
- children: [/* @__PURE__ */ h(y, {
702
+ children: [/* @__PURE__ */ g(b, {
639
703
  htmlFor: "myb-ex-sets",
640
704
  children: "Sets"
641
- }), /* @__PURE__ */ h(v, {
705
+ }), /* @__PURE__ */ g(y, {
642
706
  id: "myb-ex-sets",
643
707
  type: "number",
644
708
  min: 0,
645
- value: G.sets,
646
- onChange: (e) => K({
647
- ...G,
709
+ value: W.sets,
710
+ onChange: (e) => G({
711
+ ...W,
648
712
  sets: e.target.value
649
713
  }),
650
714
  placeholder: "3"
651
715
  })]
652
716
  }),
653
- /* @__PURE__ */ g("div", {
717
+ /* @__PURE__ */ _("div", {
654
718
  className: "space-y-1.5",
655
- children: [/* @__PURE__ */ h(y, {
719
+ children: [/* @__PURE__ */ g(b, {
656
720
  htmlFor: "myb-ex-reps",
657
721
  children: "Reps"
658
- }), /* @__PURE__ */ h(v, {
722
+ }), /* @__PURE__ */ g(y, {
659
723
  id: "myb-ex-reps",
660
724
  type: "number",
661
725
  min: 0,
662
- value: G.reps,
663
- onChange: (e) => K({
664
- ...G,
726
+ value: W.reps,
727
+ onChange: (e) => G({
728
+ ...W,
665
729
  reps: e.target.value
666
730
  }),
667
731
  placeholder: "10"
668
732
  })]
669
733
  }),
670
- /* @__PURE__ */ g("div", {
734
+ /* @__PURE__ */ _("div", {
671
735
  className: "space-y-1.5",
672
- children: [/* @__PURE__ */ h(y, {
736
+ children: [/* @__PURE__ */ g(b, {
673
737
  htmlFor: "myb-ex-weight",
674
738
  children: "Weight (kg)"
675
- }), /* @__PURE__ */ h(v, {
739
+ }), /* @__PURE__ */ g(y, {
676
740
  id: "myb-ex-weight",
677
741
  type: "number",
678
742
  min: 0,
679
743
  step: "0.5",
680
- value: G.targetWeight,
681
- onChange: (e) => K({
682
- ...G,
744
+ value: W.targetWeight,
745
+ onChange: (e) => G({
746
+ ...W,
683
747
  targetWeight: e.target.value
684
748
  }),
685
749
  placeholder: "60"
686
750
  })]
687
751
  }),
688
- /* @__PURE__ */ g("div", {
752
+ /* @__PURE__ */ _("div", {
689
753
  className: "space-y-1.5",
690
- children: [/* @__PURE__ */ h(y, {
754
+ children: [/* @__PURE__ */ g(b, {
691
755
  htmlFor: "myb-ex-rest",
692
756
  children: "Rest (sec)"
693
- }), /* @__PURE__ */ h(v, {
757
+ }), /* @__PURE__ */ g(y, {
694
758
  id: "myb-ex-rest",
695
759
  type: "number",
696
760
  min: 0,
697
- value: G.restSeconds,
698
- onChange: (e) => K({
699
- ...G,
761
+ value: W.restSeconds,
762
+ onChange: (e) => G({
763
+ ...W,
700
764
  restSeconds: e.target.value
701
765
  }),
702
766
  placeholder: "90"
@@ -704,205 +768,205 @@ function z() {
704
768
  })
705
769
  ]
706
770
  }),
707
- /* @__PURE__ */ g("div", {
771
+ /* @__PURE__ */ _("div", {
708
772
  className: "space-y-1.5",
709
- children: [/* @__PURE__ */ h(y, {
773
+ children: [/* @__PURE__ */ g(b, {
710
774
  htmlFor: "myb-ex-instructions",
711
775
  children: "Instructions"
712
- }), /* @__PURE__ */ h(j, {
776
+ }), /* @__PURE__ */ g(ke, {
713
777
  id: "myb-ex-instructions",
714
778
  rows: 3,
715
- value: G.instructions,
716
- onChange: (e) => K({
717
- ...G,
779
+ value: W.instructions,
780
+ onChange: (e) => G({
781
+ ...W,
718
782
  instructions: e.target.value
719
783
  }),
720
784
  placeholder: "Cues, tempo, form notes…"
721
785
  })]
722
786
  }),
723
- /* @__PURE__ */ h(fe, {
787
+ /* @__PURE__ */ g(pe, {
724
788
  id: "myb-ex-demo",
725
789
  label: "Demo media (optional)",
726
- value: Pe,
727
- onChange: Fe,
790
+ value: We,
791
+ onChange: Ge,
728
792
  accept: "video/*,image/*",
729
- disabled: k.isPending,
793
+ disabled: j.isPending,
730
794
  hint: "Attach a short demo clip or image to show how the movement is performed."
731
795
  })
732
796
  ]
733
797
  }),
734
- /* @__PURE__ */ g(C, { children: [/* @__PURE__ */ h(_, {
798
+ /* @__PURE__ */ _(w, { children: [/* @__PURE__ */ g(v, {
735
799
  variant: "outline",
736
- onClick: () => W(null),
737
- disabled: k.isPending,
800
+ onClick: () => U(null),
801
+ disabled: j.isPending,
738
802
  children: "Cancel"
739
- }), /* @__PURE__ */ h(_, {
740
- onClick: () => void qe(),
741
- disabled: k.isPending,
742
- children: k.isPending ? "Adding…" : "Add exercise"
803
+ }), /* @__PURE__ */ g(v, {
804
+ onClick: () => void at(),
805
+ disabled: j.isPending,
806
+ children: j.isPending ? "Adding…" : "Add exercise"
743
807
  })] })
744
808
  ]
745
809
  })
746
810
  }),
747
- /* @__PURE__ */ h(b, {
748
- open: Le,
749
- onOpenChange: J,
750
- children: /* @__PURE__ */ g(x, {
811
+ /* @__PURE__ */ g(x, {
812
+ open: qe,
813
+ onOpenChange: q,
814
+ children: /* @__PURE__ */ _(S, {
751
815
  className: "sm:max-w-lg",
752
816
  children: [
753
- /* @__PURE__ */ g(w, { children: [/* @__PURE__ */ h(T, { children: "Edit program" }), /* @__PURE__ */ h(S, { children: "Update this program's plan, goal & schedule. Workouts stay untouched." })] }),
754
- /* @__PURE__ */ g("div", {
817
+ /* @__PURE__ */ _(T, { children: [/* @__PURE__ */ g(E, { children: "Edit program" }), /* @__PURE__ */ g(C, { children: "Update this program's plan, goal & schedule. Workouts stay untouched." })] }),
818
+ /* @__PURE__ */ _("div", {
755
819
  className: "space-y-4 py-2",
756
820
  children: [
757
- Re && /* @__PURE__ */ h("p", {
821
+ Je && /* @__PURE__ */ g("p", {
758
822
  className: "rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
759
- children: Re
823
+ children: Je
760
824
  }),
761
- /* @__PURE__ */ g("div", {
825
+ /* @__PURE__ */ _("div", {
762
826
  className: "space-y-1.5",
763
- children: [/* @__PURE__ */ h(y, {
827
+ children: [/* @__PURE__ */ g(b, {
764
828
  htmlFor: "myb-edit-name",
765
829
  children: "Name"
766
- }), /* @__PURE__ */ h(v, {
830
+ }), /* @__PURE__ */ g(y, {
767
831
  id: "myb-edit-name",
768
- value: Y.name,
769
- onChange: (e) => X({
770
- ...Y,
832
+ value: J.name,
833
+ onChange: (e) => Y({
834
+ ...J,
771
835
  name: e.target.value
772
836
  }),
773
837
  placeholder: "e.g. Hypertrophy Block A"
774
838
  })]
775
839
  }),
776
- /* @__PURE__ */ g("div", {
840
+ /* @__PURE__ */ _("div", {
777
841
  className: "space-y-1.5",
778
- children: [/* @__PURE__ */ h(y, {
842
+ children: [/* @__PURE__ */ g(b, {
779
843
  htmlFor: "myb-edit-desc",
780
844
  children: "Description"
781
- }), /* @__PURE__ */ h(j, {
845
+ }), /* @__PURE__ */ g(ke, {
782
846
  id: "myb-edit-desc",
783
847
  rows: 3,
784
- value: Y.description,
785
- onChange: (e) => X({
786
- ...Y,
848
+ value: J.description,
849
+ onChange: (e) => Y({
850
+ ...J,
787
851
  description: e.target.value
788
852
  }),
789
853
  placeholder: "Focus, progression scheme, notes…"
790
854
  })]
791
855
  }),
792
- /* @__PURE__ */ g("div", {
856
+ /* @__PURE__ */ _("div", {
793
857
  className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
794
858
  children: [
795
- /* @__PURE__ */ g("div", {
859
+ /* @__PURE__ */ _("div", {
796
860
  className: "space-y-1.5",
797
- children: [/* @__PURE__ */ h(y, {
861
+ children: [/* @__PURE__ */ g(b, {
798
862
  htmlFor: "myb-edit-goal",
799
863
  children: "Goal type"
800
- }), /* @__PURE__ */ h(F, {
864
+ }), /* @__PURE__ */ g(F, {
801
865
  id: "myb-edit-goal",
802
- value: Y.goalType,
803
- onChange: (e) => X({
804
- ...Y,
866
+ value: J.goalType,
867
+ onChange: (e) => Y({
868
+ ...J,
805
869
  goalType: e
806
870
  }),
807
- options: De
871
+ options: Ie
808
872
  })]
809
873
  }),
810
- /* @__PURE__ */ g("div", {
874
+ /* @__PURE__ */ _("div", {
811
875
  className: "space-y-1.5",
812
- children: [/* @__PURE__ */ h(y, {
876
+ children: [/* @__PURE__ */ g(b, {
813
877
  htmlFor: "myb-edit-level",
814
878
  children: "Level"
815
- }), /* @__PURE__ */ h(F, {
879
+ }), /* @__PURE__ */ g(F, {
816
880
  id: "myb-edit-level",
817
- value: Y.level,
818
- onChange: (e) => X({
819
- ...Y,
881
+ value: J.level,
882
+ onChange: (e) => Y({
883
+ ...J,
820
884
  level: e
821
885
  }),
822
- options: Oe
886
+ options: Le
823
887
  })]
824
888
  }),
825
- /* @__PURE__ */ g("div", {
889
+ /* @__PURE__ */ _("div", {
826
890
  className: "space-y-1.5",
827
- children: [/* @__PURE__ */ h(y, {
891
+ children: [/* @__PURE__ */ g(b, {
828
892
  htmlFor: "myb-edit-phase",
829
893
  children: "Phase"
830
- }), /* @__PURE__ */ h(F, {
894
+ }), /* @__PURE__ */ g(F, {
831
895
  id: "myb-edit-phase",
832
- value: Y.phase,
833
- onChange: (e) => X({
834
- ...Y,
896
+ value: J.phase,
897
+ onChange: (e) => Y({
898
+ ...J,
835
899
  phase: e
836
900
  }),
837
- options: ke
901
+ options: Re
838
902
  })]
839
903
  })
840
904
  ]
841
905
  }),
842
- /* @__PURE__ */ g("div", {
906
+ /* @__PURE__ */ _("div", {
843
907
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
844
- children: [/* @__PURE__ */ g("div", {
908
+ children: [/* @__PURE__ */ _("div", {
845
909
  className: "space-y-1.5",
846
- children: [/* @__PURE__ */ h(y, {
910
+ children: [/* @__PURE__ */ g(b, {
847
911
  htmlFor: "myb-edit-weeks",
848
912
  children: "Weeks"
849
- }), /* @__PURE__ */ h(v, {
913
+ }), /* @__PURE__ */ g(y, {
850
914
  id: "myb-edit-weeks",
851
915
  type: "number",
852
916
  min: 1,
853
- value: Y.weeks,
854
- onChange: (e) => X({
855
- ...Y,
917
+ value: J.weeks,
918
+ onChange: (e) => Y({
919
+ ...J,
856
920
  weeks: e.target.value
857
921
  }),
858
922
  placeholder: "8"
859
923
  })]
860
- }), /* @__PURE__ */ g("div", {
924
+ }), /* @__PURE__ */ _("div", {
861
925
  className: "space-y-1.5",
862
- children: [/* @__PURE__ */ h(y, {
926
+ children: [/* @__PURE__ */ g(b, {
863
927
  htmlFor: "myb-edit-days",
864
928
  children: "Days / week"
865
- }), /* @__PURE__ */ h(v, {
929
+ }), /* @__PURE__ */ g(y, {
866
930
  id: "myb-edit-days",
867
931
  type: "number",
868
932
  min: 1,
869
933
  max: 7,
870
- value: Y.daysPerWeek,
871
- onChange: (e) => X({
872
- ...Y,
934
+ value: J.daysPerWeek,
935
+ onChange: (e) => Y({
936
+ ...J,
873
937
  daysPerWeek: e.target.value
874
938
  }),
875
939
  placeholder: "4"
876
940
  })]
877
941
  })]
878
942
  }),
879
- /* @__PURE__ */ g("div", {
943
+ /* @__PURE__ */ _("div", {
880
944
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
881
- children: [/* @__PURE__ */ g("div", {
945
+ children: [/* @__PURE__ */ _("div", {
882
946
  className: "space-y-1.5",
883
- children: [/* @__PURE__ */ h(y, {
947
+ children: [/* @__PURE__ */ g(b, {
884
948
  htmlFor: "myb-edit-start",
885
949
  children: "Start date"
886
- }), /* @__PURE__ */ h(v, {
950
+ }), /* @__PURE__ */ g(y, {
887
951
  id: "myb-edit-start",
888
952
  type: "date",
889
- value: Y.startDate,
890
- onChange: (e) => X({
891
- ...Y,
953
+ value: J.startDate,
954
+ onChange: (e) => Y({
955
+ ...J,
892
956
  startDate: e.target.value
893
957
  })
894
958
  })]
895
- }), /* @__PURE__ */ g("div", {
959
+ }), /* @__PURE__ */ _("div", {
896
960
  className: "space-y-1.5",
897
- children: [/* @__PURE__ */ h(y, {
961
+ children: [/* @__PURE__ */ g(b, {
898
962
  htmlFor: "myb-edit-end",
899
963
  children: "End date"
900
- }), /* @__PURE__ */ h(v, {
964
+ }), /* @__PURE__ */ g(y, {
901
965
  id: "myb-edit-end",
902
966
  type: "date",
903
- value: Y.endDate,
904
- onChange: (e) => X({
905
- ...Y,
967
+ value: J.endDate,
968
+ onChange: (e) => Y({
969
+ ...J,
906
970
  endDate: e.target.value
907
971
  })
908
972
  })]
@@ -910,15 +974,15 @@ function z() {
910
974
  })
911
975
  ]
912
976
  }),
913
- /* @__PURE__ */ g(C, { children: [/* @__PURE__ */ h(_, {
977
+ /* @__PURE__ */ _(w, { children: [/* @__PURE__ */ g(v, {
914
978
  variant: "outline",
915
- onClick: () => J(!1),
916
- disabled: D.isPending,
979
+ onClick: () => q(!1),
980
+ disabled: k.isPending,
917
981
  children: "Cancel"
918
- }), /* @__PURE__ */ h(_, {
919
- onClick: () => void Ve(),
920
- disabled: D.isPending,
921
- children: D.isPending ? "Saving…" : "Save changes"
982
+ }), /* @__PURE__ */ g(v, {
983
+ onClick: () => void $e(),
984
+ disabled: k.isPending,
985
+ children: k.isPending ? "Saving…" : "Save changes"
922
986
  })] })
923
987
  ]
924
988
  })
@@ -927,6 +991,6 @@ function z() {
927
991
  });
928
992
  }
929
993
  //#endregion
930
- export { z as ProgramDetailPage };
994
+ export { He as ProgramDetailPage };
931
995
 
932
996
  //# sourceMappingURL=ProgramDetailPage.js.map