@burdenoff/microfe-mybodyshield 2026.705.1 → 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 (591) 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/components/DataTable.js +8 -4
  5. package/dist/mybodyshield/components/DataTable.js.map +1 -1
  6. package/dist/mybodyshield/components/EvidenceUpload.js +92 -4
  7. package/dist/mybodyshield/components/EvidenceUpload.js.map +1 -0
  8. package/dist/mybodyshield/components/FileLink.js +35 -2
  9. package/dist/mybodyshield/components/FileLink.js.map +1 -0
  10. package/dist/mybodyshield/components/MybDiscussion.js +107 -6
  11. package/dist/mybodyshield/components/MybDiscussion.js.map +1 -0
  12. package/dist/mybodyshield/components/MybTags.js +148 -4
  13. package/dist/mybodyshield/components/MybTags.js.map +1 -0
  14. package/dist/mybodyshield/components/Pagination.js.map +1 -1
  15. package/dist/mybodyshield/components/UserSearchSelect.js +148 -0
  16. package/dist/mybodyshield/components/UserSearchSelect.js.map +1 -0
  17. package/dist/mybodyshield/components/index.js +1 -0
  18. package/dist/mybodyshield/hooks/index.js +1 -0
  19. package/dist/mybodyshield/hooks/useMyBodyShieldApi.js +47 -27
  20. package/dist/mybodyshield/hooks/useMyBodyShieldApi.js.map +1 -1
  21. package/dist/mybodyshield/hooks/useMybComments.js +44 -2
  22. package/dist/mybodyshield/hooks/useMybComments.js.map +1 -0
  23. package/dist/mybodyshield/hooks/useMybFiles.js +80 -3
  24. package/dist/mybodyshield/hooks/useMybFiles.js.map +1 -0
  25. package/dist/mybodyshield/hooks/useMybTags.js +88 -2
  26. package/dist/mybodyshield/hooks/useMybTags.js.map +1 -0
  27. package/dist/mybodyshield/hooks/useMybUsers.js +36 -0
  28. package/dist/mybodyshield/hooks/useMybUsers.js.map +1 -0
  29. package/dist/mybodyshield/pages/DashboardPage.js +444 -340
  30. package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
  31. package/dist/mybodyshield/pages/_shared/visuals.js +29 -23
  32. package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
  33. package/dist/mybodyshield/pages/coaching/CoachingPage.js +272 -179
  34. package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
  35. package/dist/mybodyshield/pages/goals/GoalsPage.js +304 -257
  36. package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
  37. package/dist/mybodyshield/pages/nutrition/NutritionPage.js +745 -504
  38. package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
  39. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +688 -320
  40. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
  41. package/dist/mybodyshield/pages/programs/ProgramsPage.js +282 -234
  42. package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
  43. package/dist/mybodyshield/pages/progress/ProgressPage.js +447 -299
  44. package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
  45. package/dist/mybodyshield/pages/recovery/RecoveryPage.js +335 -246
  46. package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
  47. package/dist/mybodyshield/pages/train/SessionDetailPage.js +380 -267
  48. package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
  49. package/dist/mybodyshield/pages/train/SessionsPage.js +111 -78
  50. package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
  51. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +63 -0
  52. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
  53. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +55 -0
  54. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
  55. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +62 -0
  56. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
  57. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +22 -0
  58. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
  59. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +13 -0
  60. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
  61. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
  62. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
  63. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
  64. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
  65. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +12 -0
  66. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
  67. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +19 -0
  68. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
  69. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
  70. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
  71. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +17 -0
  72. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
  73. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +8 -0
  74. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
  75. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +8 -0
  76. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
  77. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
  78. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
  79. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +13 -0
  80. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
  81. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +260 -0
  82. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
  83. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +24 -0
  84. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
  85. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +61 -0
  86. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
  87. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +29 -0
  88. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
  89. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
  90. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
  91. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +140 -0
  92. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
  93. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
  94. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
  95. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +28 -0
  96. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
  97. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +41 -0
  98. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
  99. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +27 -0
  100. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
  101. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +11 -0
  102. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
  103. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +53 -0
  104. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
  105. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
  106. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
  107. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +15 -0
  108. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
  109. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +63 -0
  110. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
  111. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
  112. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
  113. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +15 -0
  114. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
  115. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +48 -0
  116. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
  117. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +26 -0
  118. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
  119. package/dist/node_modules/framer-motion/dist/es/motion/index.js +72 -0
  120. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
  121. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +6 -0
  122. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
  123. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +23 -0
  124. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
  125. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +60 -0
  126. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
  127. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
  128. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
  129. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +9 -0
  130. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
  131. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +12 -0
  132. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
  133. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
  134. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
  135. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
  136. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
  137. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
  138. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
  139. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +23 -0
  140. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
  141. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
  142. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
  143. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +9 -0
  144. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
  145. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
  146. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
  147. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +28 -0
  148. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
  149. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +11 -0
  150. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
  151. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +32 -0
  152. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
  153. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +28 -0
  154. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
  155. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
  156. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
  157. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
  158. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
  159. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
  160. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
  161. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +6 -0
  162. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
  163. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +6 -0
  164. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
  165. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
  166. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
  167. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +15 -0
  168. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
  169. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +27 -0
  170. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
  171. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +11 -0
  172. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
  173. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
  174. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
  175. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +109 -0
  176. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
  177. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +131 -0
  178. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
  179. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +86 -0
  180. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
  181. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +30 -0
  182. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
  183. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
  184. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
  185. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +15 -0
  186. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
  187. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +34 -0
  188. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
  189. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +24 -0
  190. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
  191. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +168 -0
  192. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
  193. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +11 -0
  194. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
  195. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +18 -0
  196. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
  197. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +8 -0
  198. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
  199. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
  200. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
  201. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +47 -0
  202. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
  203. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
  204. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
  205. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +28 -0
  206. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
  207. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +23 -0
  208. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
  209. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +63 -0
  210. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
  211. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +69 -0
  212. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
  213. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +10 -0
  214. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
  215. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
  216. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
  217. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
  218. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
  219. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +8 -0
  220. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
  221. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +8 -0
  222. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
  223. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +9 -0
  224. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
  225. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +20 -0
  226. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
  227. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +38 -0
  228. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
  229. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
  230. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
  231. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
  232. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
  233. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +24 -0
  234. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
  235. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +9 -0
  236. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
  237. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +20 -0
  238. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
  239. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +27 -0
  240. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
  241. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +29 -0
  242. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
  243. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
  244. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
  245. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
  246. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
  247. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
  248. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
  249. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
  250. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
  251. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
  252. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
  253. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +18 -0
  254. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
  255. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +15 -0
  256. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
  257. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +6 -0
  258. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
  259. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +13 -0
  260. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
  261. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +37 -0
  262. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
  263. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
  264. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
  265. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +26 -0
  266. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
  267. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +11 -0
  268. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
  269. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +10 -0
  270. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
  271. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
  272. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
  273. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
  274. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
  275. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +19 -0
  276. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
  277. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
  278. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
  279. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +32 -0
  280. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
  281. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +8 -0
  282. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
  283. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +7 -0
  284. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
  285. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +15 -0
  286. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
  287. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +34 -0
  288. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
  289. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +17 -0
  290. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
  291. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
  292. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
  293. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +13 -0
  294. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
  295. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
  296. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
  297. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +38 -0
  298. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
  299. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +23 -0
  300. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
  301. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +30 -0
  302. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
  303. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +6 -0
  304. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
  305. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +6 -0
  306. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
  307. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +6 -0
  308. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
  309. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +18 -0
  310. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
  311. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +27 -0
  312. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
  313. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +41 -0
  314. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
  315. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
  316. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
  317. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +45 -0
  318. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
  319. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +32 -0
  320. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
  321. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +31 -0
  322. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
  323. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +20 -0
  324. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
  325. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +30 -0
  326. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
  327. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
  328. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
  329. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +24 -0
  330. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
  331. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +586 -0
  332. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
  333. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +9 -0
  334. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
  335. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
  336. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
  337. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +15 -0
  338. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
  339. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +15 -0
  340. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
  341. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +19 -0
  342. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
  343. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +14 -0
  344. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
  345. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +6 -0
  346. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
  347. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +8 -0
  348. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
  349. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +21 -0
  350. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
  351. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
  352. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
  353. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +14 -0
  354. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
  355. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +11 -0
  356. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
  357. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +206 -0
  358. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
  359. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +30 -0
  360. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
  361. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +6 -0
  362. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
  363. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +58 -0
  364. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
  365. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +9 -0
  366. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
  367. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +8 -0
  368. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
  369. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
  370. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
  371. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +30 -0
  372. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
  373. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
  374. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
  375. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +10 -0
  376. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
  377. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
  378. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
  379. package/dist/node_modules/motion-dom/dist/es/render/store.js +6 -0
  380. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
  381. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +42 -0
  382. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
  383. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +24 -0
  384. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
  385. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +30 -0
  386. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
  387. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +6 -0
  388. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
  389. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +17 -0
  390. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
  391. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +12 -0
  392. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
  393. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +16 -0
  394. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
  395. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +137 -0
  396. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
  397. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +21 -0
  398. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
  399. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +8 -0
  400. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
  401. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
  402. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
  403. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +10 -0
  404. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
  405. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +6 -0
  406. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
  407. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +8 -0
  408. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
  409. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
  410. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
  411. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +24 -0
  412. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
  413. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +23 -0
  414. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
  415. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +13 -0
  416. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
  417. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +6 -0
  418. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
  419. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
  420. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
  421. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +22 -0
  422. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
  423. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +22 -0
  424. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
  425. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +12 -0
  426. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
  427. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +14 -0
  428. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
  429. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
  430. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
  431. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +24 -0
  432. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
  433. package/dist/node_modules/motion-dom/dist/es/resize/index.js +10 -0
  434. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
  435. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +9 -0
  436. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -0
  437. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +11 -0
  438. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -0
  439. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +14 -0
  440. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
  441. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +35 -0
  442. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
  443. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +9 -0
  444. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
  445. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +9 -0
  446. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
  447. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +9 -0
  448. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
  449. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +32 -0
  450. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
  451. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +54 -0
  452. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
  453. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +8 -0
  454. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
  455. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +10 -0
  456. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
  457. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +6 -0
  458. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
  459. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +9 -0
  460. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
  461. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +16 -0
  462. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
  463. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
  464. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
  465. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +14 -0
  466. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
  467. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
  468. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
  469. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
  470. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
  471. package/dist/node_modules/motion-dom/dist/es/value/index.js +94 -0
  472. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
  473. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +9 -0
  474. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
  475. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +21 -0
  476. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
  477. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +23 -0
  478. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
  479. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +14 -0
  480. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
  481. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +17 -0
  482. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
  483. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +17 -0
  484. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
  485. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
  486. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
  487. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +28 -0
  488. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
  489. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +54 -0
  490. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
  491. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +16 -0
  492. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
  493. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
  494. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
  495. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
  496. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
  497. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +26 -0
  498. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
  499. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +66 -0
  500. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
  501. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +34 -0
  502. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
  503. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
  504. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
  505. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +14 -0
  506. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
  507. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +6 -0
  508. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
  509. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +14 -0
  510. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
  511. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +6 -0
  512. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
  513. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +14 -0
  514. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
  515. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +6 -0
  516. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
  517. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +6 -0
  518. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
  519. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +8 -0
  520. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
  521. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +6 -0
  522. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
  523. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +6 -0
  524. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
  525. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +6 -0
  526. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
  527. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +9 -0
  528. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
  529. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +15 -0
  530. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
  531. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
  532. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
  533. package/dist/node_modules/motion-utils/dist/es/array.js +12 -0
  534. package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
  535. package/dist/node_modules/motion-utils/dist/es/clamp.js +6 -0
  536. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
  537. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +7 -0
  538. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
  539. package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
  540. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
  541. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
  542. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
  543. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +20 -0
  544. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
  545. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
  546. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
  547. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +6 -0
  548. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
  549. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +6 -0
  550. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
  551. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +6 -0
  552. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
  553. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +6 -0
  554. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
  555. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +33 -0
  556. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
  557. package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
  558. package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
  559. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +8 -0
  560. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
  561. package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
  562. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
  563. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +6 -0
  564. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
  565. package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
  566. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
  567. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +6 -0
  568. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
  569. package/dist/node_modules/motion-utils/dist/es/memo.js +10 -0
  570. package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
  571. package/dist/node_modules/motion-utils/dist/es/noop.js +6 -0
  572. package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
  573. package/dist/node_modules/motion-utils/dist/es/pipe.js +6 -0
  574. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
  575. package/dist/node_modules/motion-utils/dist/es/progress.js +9 -0
  576. package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
  577. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +28 -0
  578. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
  579. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +6 -0
  580. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
  581. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
  582. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
  583. package/dist/node_modules/motion-utils/dist/es/warn-once.js +10 -0
  584. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
  585. package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
  586. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
  587. package/dist/node_modules/recharts/es6/chart/{LineChart.js → AreaChart.js} +5 -5
  588. package/dist/node_modules/recharts/es6/chart/{LineChart.js.map → AreaChart.js.map} +1 -1
  589. package/package.json +2 -2
  590. package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -473
  591. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-props.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue, isForcedMotionValue, buildHTMLStyles } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nfunction copyRawValuesOnly(target, source, props) {\n for (const key in source) {\n if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n target[key] = source[key];\n }\n }\n}\nfunction useInitialMotionValues({ transformTemplate }, visualState) {\n return useMemo(() => {\n const state = createHtmlRenderState();\n buildHTMLStyles(state, visualState, transformTemplate);\n return Object.assign({}, state.vars, state.style);\n }, [visualState]);\n}\nfunction useStyle(props, visualState) {\n const styleProp = props.style || {};\n const style = {};\n /**\n * Copy non-Motion Values straight into style\n */\n copyRawValuesOnly(style, styleProp, props);\n Object.assign(style, useInitialMotionValues(props, visualState));\n return style;\n}\nfunction useHTMLProps(props, visualState) {\n // The `any` isn't ideal but it is the type of createElement props argument\n const htmlProps = {};\n const style = useStyle(props, visualState);\n if (props.drag && props.dragListener !== false) {\n // Disable the ghost element when a user drags\n htmlProps.draggable = false;\n // Disable text selection\n style.userSelect =\n style.WebkitUserSelect =\n style.WebkitTouchCallout =\n \"none\";\n // Disable scrolling on the draggable direction\n style.touchAction =\n props.drag === true\n ? \"none\"\n : `pan-${props.drag === \"x\" ? \"y\" : \"x\"}`;\n }\n if (props.tabIndex === undefined &&\n (props.onTap || props.onTapStart || props.whileTap)) {\n htmlProps.tabIndex = 0;\n }\n htmlProps.style = style;\n return htmlProps;\n}\n\nexport { copyRawValuesOnly, useHTMLProps };\n//# sourceMappingURL=use-props.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAKA,SAAS,EAAkB,GAAQ,GAAQ,GAAO;AAC9C,MAAK,IAAM,KAAO,EACd,CAAI,CAAC,EAAc,EAAO,GAAK,IAAI,CAAC,EAAoB,GAAK,EAAM,KAC/D,EAAO,KAAO,EAAO;;AAIjC,SAAS,EAAuB,EAAE,wBAAqB,GAAa;AAChE,QAAO,QAAc;EACjB,IAAM,IAAQ,GAAuB;AAErC,SADA,EAAgB,GAAO,GAAa,EAAkB,EAC/C,OAAO,OAAO,EAAE,EAAE,EAAM,MAAM,EAAM,MAAM;IAClD,CAAC,EAAY,CAAC;;AAErB,SAAS,EAAS,GAAO,GAAa;CAClC,IAAM,IAAY,EAAM,SAAS,EAAE,EAC7B,IAAQ,EAAE;AAMhB,QAFA,EAAkB,GAAO,GAAW,EAAM,EAC1C,OAAO,OAAO,GAAO,EAAuB,GAAO,EAAY,CAAC,EACzD;;AAEX,SAAS,EAAa,GAAO,GAAa;CAEtC,IAAM,IAAY,EAAE,EACd,IAAQ,EAAS,GAAO,EAAY;AAoB1C,QAnBI,EAAM,QAAQ,EAAM,iBAAiB,OAErC,EAAU,YAAY,IAEtB,EAAM,aACF,EAAM,mBACF,EAAM,qBACF,QAEZ,EAAM,cACF,EAAM,SAAS,KACT,SACA,OAAO,EAAM,SAAS,MAAM,MAAM,QAE5C,EAAM,aAAa,KAAA,MAClB,EAAM,SAAS,EAAM,cAAc,EAAM,cAC1C,EAAU,WAAW,IAEzB,EAAU,QAAQ,GACX"}
@@ -0,0 +1,11 @@
1
+ //#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
2
+ var e = () => ({
3
+ style: {},
4
+ transform: {},
5
+ transformOrigin: {},
6
+ vars: {}
7
+ });
8
+ //#endregion
9
+ export { e as createHtmlRenderState };
10
+
11
+ //# sourceMappingURL=create-render-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-render-state.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"],"sourcesContent":["const createHtmlRenderState = () => ({\n style: {},\n transform: {},\n transformOrigin: {},\n vars: {},\n});\n\nexport { createHtmlRenderState };\n//# sourceMappingURL=create-render-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,WAA+B;CACjC,OAAO,EAAE;CACT,WAAW,EAAE;CACb,iBAAiB,EAAE;CACnB,MAAM,EAAE;CACX"}
@@ -0,0 +1,32 @@
1
+ //#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
2
+ var e = [
3
+ "animate",
4
+ "circle",
5
+ "defs",
6
+ "desc",
7
+ "ellipse",
8
+ "g",
9
+ "image",
10
+ "line",
11
+ "filter",
12
+ "marker",
13
+ "mask",
14
+ "metadata",
15
+ "path",
16
+ "pattern",
17
+ "polygon",
18
+ "polyline",
19
+ "rect",
20
+ "stop",
21
+ "switch",
22
+ "symbol",
23
+ "svg",
24
+ "text",
25
+ "tspan",
26
+ "use",
27
+ "view"
28
+ ];
29
+ //#endregion
30
+ export { e as lowercaseSVGElements };
31
+
32
+ //# sourceMappingURL=lowercase-elements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lowercase-elements.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"],"sourcesContent":["/**\n * We keep these listed separately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nconst lowercaseSVGElements = [\n \"animate\",\n \"circle\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"g\",\n \"image\",\n \"line\",\n \"filter\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"rect\",\n \"stop\",\n \"switch\",\n \"symbol\",\n \"svg\",\n \"text\",\n \"tspan\",\n \"use\",\n \"view\",\n];\n\nexport { lowercaseSVGElements };\n//# sourceMappingURL=lowercase-elements.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAIA,IAAM,IAAuB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACH"}
@@ -0,0 +1,28 @@
1
+ "use client";
2
+ import { buildSVGAttrs as e } from "../../../../../motion-dom/dist/es/render/svg/utils/build-attrs.js";
3
+ import { isSVGTag as t } from "../../../../../motion-dom/dist/es/render/svg/utils/is-svg-tag.js";
4
+ import { copyRawValuesOnly as n } from "../html/use-props.js";
5
+ import { createSvgRenderState as r } from "./utils/create-render-state.js";
6
+ import { useMemo as i } from "react";
7
+ //#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
8
+ function a(a, o, s, c) {
9
+ let l = i(() => {
10
+ let n = r();
11
+ return e(n, o, t(c), a.transformTemplate, a.style), {
12
+ ...n.attrs,
13
+ style: { ...n.style }
14
+ };
15
+ }, [o]);
16
+ if (a.style) {
17
+ let e = {};
18
+ n(e, a.style, a), l.style = {
19
+ ...e,
20
+ ...l.style
21
+ };
22
+ }
23
+ return l;
24
+ }
25
+ //#endregion
26
+ export { a as useSVGProps };
27
+
28
+ //# sourceMappingURL=use-props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-props.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { buildSVGAttrs, isSVGTag } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate, props.style);\n return {\n ...state.attrs,\n style: { ...state.style },\n };\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = { ...rawStyles, ...visualProps.style };\n }\n return visualProps;\n}\n\nexport { useSVGProps };\n//# sourceMappingURL=use-props.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAMA,SAAS,EAAY,GAAO,GAAa,GAAW,GAAW;CAC3D,IAAM,IAAc,QAAc;EAC9B,IAAM,IAAQ,GAAsB;AAEpC,SADA,EAAc,GAAO,GAAa,EAAS,EAAU,EAAE,EAAM,mBAAmB,EAAM,MAAM,EACrF;GACH,GAAG,EAAM;GACT,OAAO,EAAE,GAAG,EAAM,OAAO;GAC5B;IACF,CAAC,EAAY,CAAC;AACjB,KAAI,EAAM,OAAO;EACb,IAAM,IAAY,EAAE;AAEpB,EADA,EAAkB,GAAW,EAAM,OAAO,EAAM,EAChD,EAAY,QAAQ;GAAE,GAAG;GAAW,GAAG,EAAY;GAAO;;AAE9D,QAAO"}
@@ -0,0 +1,13 @@
1
+ "use client";
2
+ import { scrapeMotionValuesFromProps as e } from "../../../../../motion-dom/dist/es/render/svg/utils/scrape-motion-values.js";
3
+ import { createSvgRenderState as t } from "./utils/create-render-state.js";
4
+ import { makeUseVisualState as n } from "../../motion/utils/use-visual-state.js";
5
+ //#region node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs
6
+ var r = /* @__PURE__ */ n({
7
+ scrapeMotionValuesFromProps: e,
8
+ createRenderState: t
9
+ });
10
+ //#endregion
11
+ export { r as useSVGVisualState };
12
+
13
+ //# sourceMappingURL=use-svg-visual-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-svg-visual-state.js","names":["scrapeSVGMotionValuesFromProps"],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { scrapeSVGMotionValuesFromProps } from 'motion-dom';\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\n\nconst useSVGVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeSVGMotionValuesFromProps,\n createRenderState: createSvgRenderState,\n});\n\nexport { useSVGVisualState };\n//# sourceMappingURL=use-svg-visual-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,IAAkC,kBAAmB;CAC1BA;CAC7B,mBAAmB;CACtB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { createHtmlRenderState as e } from "../../html/utils/create-render-state.js";
2
+ //#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
3
+ var t = () => ({
4
+ ...e(),
5
+ attrs: {}
6
+ });
7
+ //#endregion
8
+ export { t as createSvgRenderState };
9
+
10
+ //# sourceMappingURL=create-render-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-render-state.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"],"sourcesContent":["import { createHtmlRenderState } from '../../html/utils/create-render-state.mjs';\n\nconst createSvgRenderState = () => ({\n ...createHtmlRenderState(),\n attrs: {},\n});\n\nexport { createSvgRenderState };\n//# sourceMappingURL=create-render-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,WAA8B;CAChC,GAAG,GAAuB;CAC1B,OAAO,EAAE;CACZ"}
@@ -0,0 +1,10 @@
1
+ //#region node_modules/framer-motion/dist/es/utils/distance.mjs
2
+ var e = (e, t) => Math.abs(e - t);
3
+ function t(t, n) {
4
+ let r = e(t.x, n.x), i = e(t.y, n.y);
5
+ return Math.sqrt(r ** 2 + i ** 2);
6
+ }
7
+ //#endregion
8
+ export { t as distance2D };
9
+
10
+ //# sourceMappingURL=distance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"distance.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/distance.mjs"],"sourcesContent":["const distance = (a, b) => Math.abs(a - b);\nfunction distance2D(a, b) {\n // Multi-dimensional\n const xDelta = distance(a.x, b.x);\n const yDelta = distance(a.y, b.y);\n return Math.sqrt(xDelta ** 2 + yDelta ** 2);\n}\n\nexport { distance, distance2D };\n//# sourceMappingURL=distance.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,KAAY,GAAG,MAAM,KAAK,IAAI,IAAI,EAAE;AAC1C,SAAS,EAAW,GAAG,GAAG;CAEtB,IAAM,IAAS,EAAS,EAAE,GAAG,EAAE,EAAE,EAC3B,IAAS,EAAS,EAAE,GAAG,EAAE,EAAE;AACjC,QAAO,KAAK,KAAK,KAAU,IAAI,KAAU,EAAE"}
@@ -0,0 +1,6 @@
1
+ //#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
2
+ var e = ({ current: e }) => e ? e.ownerDocument.defaultView : null;
3
+ //#endregion
4
+ export { e as getContextWindow };
5
+
6
+ //# sourceMappingURL=get-context-window.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-context-window.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/get-context-window.mjs"],"sourcesContent":["// Fixes https://github.com/motiondivision/motion/issues/2270\nconst getContextWindow = ({ current }) => {\n return current ? current.ownerDocument.defaultView : null;\n};\n\nexport { getContextWindow };\n//# sourceMappingURL=get-context-window.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AACA,IAAM,KAAoB,EAAE,iBACjB,IAAU,EAAQ,cAAc,cAAc"}
@@ -0,0 +1,6 @@
1
+ //#region node_modules/framer-motion/dist/es/utils/is-browser.mjs
2
+ var e = typeof window < "u";
3
+ //#endregion
4
+ export { e as isBrowser };
5
+
6
+ //# sourceMappingURL=is-browser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-browser.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-browser.mjs"],"sourcesContent":["const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n//# sourceMappingURL=is-browser.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAY,OAAO,SAAW"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
2
+ function e(e) {
3
+ return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
4
+ }
5
+ //#endregion
6
+ export { e as isRefObject };
7
+
8
+ //# sourceMappingURL=is-ref-object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-ref-object.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"],"sourcesContent":["function isRefObject(ref) {\n return (ref &&\n typeof ref === \"object\" &&\n Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\nexport { isRefObject };\n//# sourceMappingURL=is-ref-object.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAY,GAAK;AACtB,QAAQ,KACJ,OAAO,KAAQ,YACf,OAAO,UAAU,eAAe,KAAK,GAAK,UAAU"}
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import { warnOnce as e } from "../../../../../motion-utils/dist/es/warn-once.js";
3
+ import { hasReducedMotionListener as t, prefersReducedMotion as n } from "../../../../../motion-dom/dist/es/render/utils/reduced-motion/state.js";
4
+ import { initPrefersReducedMotion as r } from "../../../../../motion-dom/dist/es/render/utils/reduced-motion/index.js";
5
+ import { useState as i } from "react";
6
+ //#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
7
+ function a() {
8
+ !t.current && r();
9
+ let [a] = i(n.current);
10
+ return process.env.NODE_ENV !== "production" && e(a !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), a;
11
+ }
12
+ //#endregion
13
+ export { a as useReducedMotion };
14
+
15
+ //# sourceMappingURL=use-reduced-motion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-reduced-motion.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs"],"sourcesContent":["\"use client\";\nimport { hasReducedMotionListener, initPrefersReducedMotion, prefersReducedMotion } from 'motion-dom';\nimport { warnOnce } from 'motion-utils';\nimport { useState } from 'react';\n\n/**\n * A hook that returns `true` if we should be using reduced motion based on the current device's Reduced Motion setting.\n *\n * This can be used to implement changes to your UI based on Reduced Motion. For instance, replacing motion-sickness inducing\n * `x`/`y` animations with `opacity`, disabling the autoplay of background videos, or turning off parallax motion.\n *\n * It will actively respond to changes and re-render your components with the latest setting.\n *\n * ```jsx\n * export function Sidebar({ isOpen }) {\n * const shouldReduceMotion = useReducedMotion()\n * const closedX = shouldReduceMotion ? 0 : \"-100%\"\n *\n * return (\n * <motion.div animate={{\n * opacity: isOpen ? 1 : 0,\n * x: isOpen ? 0 : closedX\n * }} />\n * )\n * }\n * ```\n *\n * @return boolean\n *\n * @public\n */\nfunction useReducedMotion() {\n /**\n * Lazy initialisation of prefersReducedMotion\n */\n !hasReducedMotionListener.current && initPrefersReducedMotion();\n const [shouldReduceMotion] = useState(prefersReducedMotion.current);\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(shouldReduceMotion !== true, \"You have Reduced Motion enabled on your device. Animations may not appear as expected.\", \"reduced-motion-disabled\");\n }\n /**\n * TODO See if people miss automatically updating shouldReduceMotion setting\n */\n return shouldReduceMotion;\n}\n\nexport { useReducedMotion };\n//# sourceMappingURL=use-reduced-motion.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AA+BA,SAAS,IAAmB;AAIxB,EAAC,EAAyB,WAAW,GAA0B;CAC/D,IAAM,CAAC,KAAsB,EAAS,EAAqB,QAAQ;AAOnE,QANA,QAAA,IAAA,aAA6B,gBACzB,EAAS,MAAuB,IAAM,0FAA0F,0BAA0B,EAKvJ"}
@@ -0,0 +1,27 @@
1
+ import * as e from "react";
2
+ //#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
3
+ function t(e, t) {
4
+ if (typeof e == "function") return e(t);
5
+ e != null && (e.current = t);
6
+ }
7
+ function n(...e) {
8
+ return (n) => {
9
+ let r = !1, i = e.map((e) => {
10
+ let i = t(e, n);
11
+ return !r && typeof i == "function" && (r = !0), i;
12
+ });
13
+ if (r) return () => {
14
+ for (let n = 0; n < i.length; n++) {
15
+ let r = i[n];
16
+ typeof r == "function" ? r() : t(e[n], null);
17
+ }
18
+ };
19
+ };
20
+ }
21
+ function r(...t) {
22
+ return e.useCallback(n(...t), t);
23
+ }
24
+ //#endregion
25
+ export { r as useComposedRefs };
26
+
27
+ //# sourceMappingURL=use-composed-ref.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-composed-ref.js","names":["React"],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs"],"sourcesContent":["import * as React from 'react';\n\n/**\n * Taken from https://github.com/radix-ui/primitives/blob/main/packages/react/compose-refs/src/compose-refs.tsx\n */\n/**\n * Set a given ref to a given value\n * This utility takes care of different types of refs: callback refs and RefObject(s)\n */\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n }\n else if (ref !== null && ref !== undefined) {\n ref.current = value;\n }\n}\n/**\n * A utility to compose multiple refs together\n * Accepts callback refs and RefObject(s)\n */\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup === \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n // React <19 will log an error to the console if a callback ref returns a\n // value. We don't use ref cleanups internally so this will only happen if a\n // user's ref callback returns a value, which we only expect if they are\n // using the cleanup functionality added in React 19.\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup === \"function\") {\n cleanup();\n }\n else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\n/**\n * A custom hook that composes multiple refs\n * Accepts callback refs and RefObject(s)\n */\nfunction useComposedRefs(...refs) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useCallback(composeRefs(...refs), refs);\n}\n\nexport { useComposedRefs };\n//# sourceMappingURL=use-composed-ref.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AASA,SAAS,EAAO,GAAK,GAAO;AACxB,KAAI,OAAO,KAAQ,WACf,QAAO,EAAI,EAAM;CAEZ,KAAQ,SACb,EAAI,UAAU;;AAOtB,SAAS,EAAY,GAAG,GAAM;AAC1B,SAAQ,MAAS;EACb,IAAI,IAAa,IACX,IAAW,EAAK,KAAK,MAAQ;GAC/B,IAAM,IAAU,EAAO,GAAK,EAAK;AAIjC,UAHI,CAAC,KAAc,OAAO,KAAY,eAClC,IAAa,KAEV;IACT;AAKF,MAAI,EACA,cAAa;AACT,QAAK,IAAI,IAAI,GAAG,IAAI,EAAS,QAAQ,KAAK;IACtC,IAAM,IAAU,EAAS;AACzB,IAAI,OAAO,KAAY,aACnB,GAAS,GAGT,EAAO,EAAK,IAAI,KAAK;;;;;AAW7C,SAAS,EAAgB,GAAG,GAAM;AAE9B,QAAOA,EAAM,YAAY,EAAY,GAAG,EAAK,EAAE,EAAK"}
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import { useRef as e } from "react";
3
+ //#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
4
+ function t(t) {
5
+ let n = e(null);
6
+ return n.current === null && (n.current = t()), n.current;
7
+ }
8
+ //#endregion
9
+ export { t as useConstant };
10
+
11
+ //# sourceMappingURL=use-constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-constant.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-constant.mjs"],"sourcesContent":["\"use client\";\nimport { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n//# sourceMappingURL=use-constant.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAUA,SAAS,EAAY,GAAM;CACvB,IAAM,IAAM,EAAO,KAAK;AAIxB,QAHI,EAAI,YAAY,SAChB,EAAI,UAAU,GAAM,GAEjB,EAAI"}
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { isBrowser as e } from "./is-browser.js";
3
+ import { useEffect as t, useLayoutEffect as n } from "react";
4
+ //#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
5
+ var r = e ? n : t;
6
+ //#endregion
7
+ export { r as useIsomorphicLayoutEffect };
8
+
9
+ //# sourceMappingURL=use-isomorphic-effect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-isomorphic-effect.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"],"sourcesContent":["\"use client\";\nimport { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n//# sourceMappingURL=use-isomorphic-effect.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAA4B,IAAY,IAAkB"}
@@ -0,0 +1,109 @@
1
+ import { MotionGlobalConfig as e } from "../../../../motion-utils/dist/es/global-config.js";
2
+ import { noop as t } from "../../../../motion-utils/dist/es/noop.js";
3
+ import { time as n } from "../frameloop/sync-time.js";
4
+ import { getFinalKeyframe as r } from "./keyframes/get-final.js";
5
+ import { WithPromise as i } from "./utils/WithPromise.js";
6
+ import { JSAnimation as a } from "./JSAnimation.js";
7
+ import { KeyframeResolver as o, flushKeyframeResolvers as s } from "./keyframes/KeyframesResolver.js";
8
+ import { NativeAnimationExtended as c } from "./NativeAnimationExtended.js";
9
+ import { canAnimate as l } from "./utils/can-animate.js";
10
+ import { makeAnimationInstant as u } from "./utils/make-animation-instant.js";
11
+ import { supportsBrowserAnimation as d } from "./waapi/supports/waapi.js";
12
+ //#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
13
+ var f = 40, p = class extends i {
14
+ constructor({ autoplay: e = !0, delay: t = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: a = 0, repeatType: s = "loop", keyframes: c, name: l, motionValue: u, element: d, ...f }) {
15
+ super(), this.stop = () => {
16
+ this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
17
+ }, this.createdAt = n.now();
18
+ let p = {
19
+ autoplay: e,
20
+ delay: t,
21
+ type: r,
22
+ repeat: i,
23
+ repeatDelay: a,
24
+ repeatType: s,
25
+ name: l,
26
+ motionValue: u,
27
+ element: d,
28
+ ...f
29
+ };
30
+ this.keyframeResolver = new (d?.KeyframeResolver || o)(c, (e, t, n) => this.onKeyframesResolved(e, t, p, !n), l, u, d), this.keyframeResolver?.scheduleResolve();
31
+ }
32
+ onKeyframesResolved(i, o, s, p) {
33
+ this.keyframeResolver = void 0;
34
+ let { name: m, type: h, velocity: g, delay: _, isHandoff: v, onUpdate: y } = s;
35
+ this.resolvedAt = n.now();
36
+ let b = !0;
37
+ l(i, m, h, g) || (b = !1, (e.instantAnimations || !_) && y?.(r(i, s, o)), i[0] = i[i.length - 1], u(s), s.repeat = 0);
38
+ let x = {
39
+ startTime: p ? this.resolvedAt && this.resolvedAt - this.createdAt > f ? this.resolvedAt : this.createdAt : void 0,
40
+ finalKeyframe: o,
41
+ ...s,
42
+ keyframes: i
43
+ }, S = b && !v && d(x), C = x.motionValue?.owner?.current, w;
44
+ if (S) try {
45
+ w = new c({
46
+ ...x,
47
+ element: C
48
+ });
49
+ } catch {
50
+ w = new a(x);
51
+ }
52
+ else w = new a(x);
53
+ w.finished.then(() => {
54
+ this.notifyFinished();
55
+ }).catch(t), this.pendingTimeline &&= (this.stopTimeline = w.attachTimeline(this.pendingTimeline), void 0), this._animation = w;
56
+ }
57
+ get finished() {
58
+ return this._animation ? this.animation.finished : this._finished;
59
+ }
60
+ then(e, t) {
61
+ return this.finished.finally(e).then(() => {});
62
+ }
63
+ get animation() {
64
+ return this._animation || (this.keyframeResolver?.resume(), s()), this._animation;
65
+ }
66
+ get duration() {
67
+ return this.animation.duration;
68
+ }
69
+ get iterationDuration() {
70
+ return this.animation.iterationDuration;
71
+ }
72
+ get time() {
73
+ return this.animation.time;
74
+ }
75
+ set time(e) {
76
+ this.animation.time = e;
77
+ }
78
+ get speed() {
79
+ return this.animation.speed;
80
+ }
81
+ get state() {
82
+ return this.animation.state;
83
+ }
84
+ set speed(e) {
85
+ this.animation.speed = e;
86
+ }
87
+ get startTime() {
88
+ return this.animation.startTime;
89
+ }
90
+ attachTimeline(e) {
91
+ return this._animation ? this.stopTimeline = this.animation.attachTimeline(e) : this.pendingTimeline = e, () => this.stop();
92
+ }
93
+ play() {
94
+ this.animation.play();
95
+ }
96
+ pause() {
97
+ this.animation.pause();
98
+ }
99
+ complete() {
100
+ this.animation.complete();
101
+ }
102
+ cancel() {
103
+ this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
104
+ }
105
+ };
106
+ //#endregion
107
+ export { p as AsyncMotionValueAnimation };
108
+
109
+ //# sourceMappingURL=AsyncMotionValueAnimation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AsyncMotionValueAnimation.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs"],"sourcesContent":["import { MotionGlobalConfig, noop } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { JSAnimation } from './JSAnimation.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { KeyframeResolver, flushKeyframeResolvers } from './keyframes/KeyframesResolver.mjs';\nimport { NativeAnimationExtended } from './NativeAnimationExtended.mjs';\nimport { canAnimate } from './utils/can-animate.mjs';\nimport { makeAnimationInstant } from './utils/make-animation-instant.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\nimport { supportsBrowserAnimation } from './waapi/supports/waapi.mjs';\n\n/**\n * Maximum time allowed between an animation being created and it being\n * resolved for us to use the latter as the start time.\n *\n * This is to ensure that while we prefer to \"start\" an animation as soon\n * as it's triggered, we also want to avoid a visual jump if there's a big delay\n * between these two moments.\n */\nconst MAX_RESOLVE_DELAY = 40;\nclass AsyncMotionValueAnimation extends WithPromise {\n constructor({ autoplay = true, delay = 0, type = \"keyframes\", repeat = 0, repeatDelay = 0, repeatType = \"loop\", keyframes, name, motionValue, element, ...options }) {\n super();\n /**\n * Bound to support return animation.stop pattern\n */\n this.stop = () => {\n if (this._animation) {\n this._animation.stop();\n this.stopTimeline?.();\n }\n this.keyframeResolver?.cancel();\n };\n this.createdAt = time.now();\n const optionsWithDefaults = {\n autoplay,\n delay,\n type,\n repeat,\n repeatDelay,\n repeatType,\n name,\n motionValue,\n element,\n ...options,\n };\n const KeyframeResolver$1 = element?.KeyframeResolver || KeyframeResolver;\n this.keyframeResolver = new KeyframeResolver$1(keyframes, (resolvedKeyframes, finalKeyframe, forced) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe, optionsWithDefaults, !forced), name, motionValue, element);\n this.keyframeResolver?.scheduleResolve();\n }\n onKeyframesResolved(keyframes, finalKeyframe, options, sync) {\n this.keyframeResolver = undefined;\n const { name, type, velocity, delay, isHandoff, onUpdate } = options;\n this.resolvedAt = time.now();\n /**\n * If we can't animate this value with the resolved keyframes\n * then we should complete it immediately.\n */\n let canAnimateValue = true;\n if (!canAnimate(keyframes, name, type, velocity)) {\n canAnimateValue = false;\n if (MotionGlobalConfig.instantAnimations || !delay) {\n onUpdate?.(getFinalKeyframe(keyframes, options, finalKeyframe));\n }\n keyframes[0] = keyframes[keyframes.length - 1];\n makeAnimationInstant(options);\n options.repeat = 0;\n }\n /**\n * Resolve startTime for the animation.\n *\n * This method uses the createdAt and resolvedAt to calculate the\n * animation startTime. *Ideally*, we would use the createdAt time as t=0\n * as the following frame would then be the first frame of the animation in\n * progress, which would feel snappier.\n *\n * However, if there's a delay (main thread work) between the creation of\n * the animation and the first committed frame, we prefer to use resolvedAt\n * to avoid a sudden jump into the animation.\n */\n const startTime = sync\n ? !this.resolvedAt\n ? this.createdAt\n : this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY\n ? this.resolvedAt\n : this.createdAt\n : undefined;\n const resolvedOptions = {\n startTime,\n finalKeyframe,\n ...options,\n keyframes,\n };\n /**\n * Animate via WAAPI if possible. If this is a handoff animation, the optimised animation will be running via\n * WAAPI. Therefore, this animation must be JS to ensure it runs \"under\" the\n * optimised animation.\n *\n * Also skip WAAPI when keyframes aren't animatable, as the resolved\n * values may not be valid CSS and would trigger browser warnings.\n */\n const useWaapi = canAnimateValue &&\n !isHandoff &&\n supportsBrowserAnimation(resolvedOptions);\n const element = resolvedOptions.motionValue?.owner?.current;\n let animation;\n if (useWaapi) {\n try {\n animation = new NativeAnimationExtended({\n ...resolvedOptions,\n element,\n });\n }\n catch {\n animation = new JSAnimation(resolvedOptions);\n }\n }\n else {\n animation = new JSAnimation(resolvedOptions);\n }\n animation.finished.then(() => {\n this.notifyFinished();\n }).catch(noop);\n if (this.pendingTimeline) {\n this.stopTimeline = animation.attachTimeline(this.pendingTimeline);\n this.pendingTimeline = undefined;\n }\n this._animation = animation;\n }\n get finished() {\n if (!this._animation) {\n return this._finished;\n }\n else {\n return this.animation.finished;\n }\n }\n then(onResolve, _onReject) {\n return this.finished.finally(onResolve).then(() => { });\n }\n get animation() {\n if (!this._animation) {\n this.keyframeResolver?.resume();\n flushKeyframeResolvers();\n }\n return this._animation;\n }\n get duration() {\n return this.animation.duration;\n }\n get iterationDuration() {\n return this.animation.iterationDuration;\n }\n get time() {\n return this.animation.time;\n }\n set time(newTime) {\n this.animation.time = newTime;\n }\n get speed() {\n return this.animation.speed;\n }\n get state() {\n return this.animation.state;\n }\n set speed(newSpeed) {\n this.animation.speed = newSpeed;\n }\n get startTime() {\n return this.animation.startTime;\n }\n attachTimeline(timeline) {\n if (this._animation) {\n this.stopTimeline = this.animation.attachTimeline(timeline);\n }\n else {\n this.pendingTimeline = timeline;\n }\n return () => this.stop();\n }\n play() {\n this.animation.play();\n }\n pause() {\n this.animation.pause();\n }\n complete() {\n this.animation.complete();\n }\n cancel() {\n if (this._animation) {\n this.animation.cancel();\n }\n this.keyframeResolver?.cancel();\n }\n}\n\nexport { AsyncMotionValueAnimation };\n//# sourceMappingURL=AsyncMotionValueAnimation.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -0,0 +1,131 @@
1
+ import { clamp as e } from "../../../../motion-utils/dist/es/clamp.js";
2
+ import { invariant as t } from "../../../../motion-utils/dist/es/errors.js";
3
+ import { pipe as n } from "../../../../motion-utils/dist/es/pipe.js";
4
+ import { millisecondsToSeconds as r, secondsToMilliseconds as i } from "../../../../motion-utils/dist/es/time-conversion.js";
5
+ import { time as a } from "../frameloop/sync-time.js";
6
+ import { mix as o } from "../utils/mix/index.js";
7
+ import { frameloopDriver as s } from "./drivers/frame.js";
8
+ import { calcGeneratorDuration as c } from "./generators/utils/calc-duration.js";
9
+ import { getGeneratorVelocity as l } from "./generators/utils/velocity.js";
10
+ import { inertia as u } from "./generators/inertia.js";
11
+ import { keyframes as d } from "./generators/keyframes.js";
12
+ import { getFinalKeyframe as f } from "./keyframes/get-final.js";
13
+ import { replaceTransitionType as p } from "./utils/replace-transition-type.js";
14
+ import { WithPromise as m } from "./utils/WithPromise.js";
15
+ //#region node_modules/motion-dom/dist/es/animation/JSAnimation.mjs
16
+ var h = (e) => e / 100, g = class extends m {
17
+ constructor(e) {
18
+ super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
19
+ done: !1,
20
+ value: void 0
21
+ }, this.stop = () => {
22
+ let { motionValue: e } = this.options;
23
+ e && e.updatedAt !== a.now() && this.tick(a.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
24
+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
25
+ }
26
+ initAnimation() {
27
+ let { options: e } = this;
28
+ p(e);
29
+ let { type: r = d, repeat: i = 0, repeatDelay: a = 0, repeatType: s, velocity: l = 0 } = e, { keyframes: u } = e, f = r || d;
30
+ process.env.NODE_ENV !== "production" && f !== d && t(u.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${u}`, "spring-two-frames"), f !== d && typeof u[0] != "number" && (this.mixKeyframes = n(h, o(u[0], u[1])), u = [0, 100]);
31
+ let m = f({
32
+ ...e,
33
+ keyframes: u
34
+ });
35
+ s === "mirror" && (this.mirroredGenerator = f({
36
+ ...e,
37
+ keyframes: [...u].reverse(),
38
+ velocity: -l
39
+ })), m.calculatedDuration === null && (m.calculatedDuration = c(m));
40
+ let { calculatedDuration: g } = m;
41
+ this.calculatedDuration = g, this.resolvedDuration = g + a, this.totalDuration = this.resolvedDuration * (i + 1) - a, this.generator = m;
42
+ }
43
+ updateTime(e) {
44
+ let t = Math.round(e - this.startTime) * this.playbackSpeed;
45
+ this.holdTime === null ? this.currentTime = t : this.currentTime = this.holdTime;
46
+ }
47
+ tick(t, n = !1) {
48
+ let { generator: r, totalDuration: i, mixKeyframes: a, mirroredGenerator: o, resolvedDuration: s, calculatedDuration: c } = this;
49
+ if (this.startTime === null) return r.next(0);
50
+ let { delay: l = 0, keyframes: d, repeat: p, repeatType: m, repeatDelay: h, type: g, onUpdate: _, finalKeyframe: v } = this.options;
51
+ this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - i / this.speed, this.startTime)), n ? this.currentTime = t : this.updateTime(t);
52
+ let y = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1), b = this.playbackSpeed >= 0 ? y < 0 : y > i;
53
+ this.currentTime = Math.max(y, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = i);
54
+ let x = this.currentTime, S = r;
55
+ if (p) {
56
+ let t = Math.min(this.currentTime, i) / s, n = Math.floor(t), r = t % 1;
57
+ !r && t >= 1 && (r = 1), r === 1 && n--, n = Math.min(n, p + 1), n % 2 && (m === "reverse" ? (r = 1 - r, h && (r -= h / s)) : m === "mirror" && (S = o)), x = e(0, 1, r) * s;
58
+ }
59
+ let C;
60
+ b ? (this.delayState.value = d[0], C = this.delayState) : C = S.next(x), a && !b && (C.value = a(C.value));
61
+ let { done: w } = C;
62
+ !b && c !== null && (w = this.playbackSpeed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
63
+ let T = this.holdTime === null && (this.state === "finished" || this.state === "running" && w);
64
+ return T && g !== u && (C.value = f(d, this.options, v, this.speed)), _ && _(C.value), T && this.finish(), C;
65
+ }
66
+ then(e, t) {
67
+ return this.finished.then(e, t);
68
+ }
69
+ get duration() {
70
+ return r(this.calculatedDuration);
71
+ }
72
+ get iterationDuration() {
73
+ let { delay: e = 0 } = this.options || {};
74
+ return this.duration + r(e);
75
+ }
76
+ get time() {
77
+ return r(this.currentTime);
78
+ }
79
+ set time(e) {
80
+ e = i(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
81
+ }
82
+ getGeneratorVelocity() {
83
+ let e = this.currentTime;
84
+ if (e <= 0) return this.options.velocity || 0;
85
+ if (this.generator.velocity) return this.generator.velocity(e);
86
+ let t = this.generator.next(e).value;
87
+ return l((e) => this.generator.next(e).value, e, t);
88
+ }
89
+ get speed() {
90
+ return this.playbackSpeed;
91
+ }
92
+ set speed(e) {
93
+ let t = this.playbackSpeed !== e;
94
+ t && this.driver && this.updateTime(a.now()), this.playbackSpeed = e, t && this.driver && (this.time = r(this.currentTime));
95
+ }
96
+ play() {
97
+ if (this.isStopped) return;
98
+ let { driver: e = s, startTime: t } = this.options;
99
+ this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();
100
+ let n = this.driver.now();
101
+ this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
102
+ }
103
+ pause() {
104
+ this.state = "paused", this.updateTime(a.now()), this.holdTime = this.currentTime;
105
+ }
106
+ complete() {
107
+ this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
108
+ }
109
+ finish() {
110
+ this.notifyFinished(), this.teardown(), this.state = "finished", this.options.onComplete?.();
111
+ }
112
+ cancel() {
113
+ this.holdTime = null, this.startTime = 0, this.tick(0), this.teardown(), this.options.onCancel?.();
114
+ }
115
+ teardown() {
116
+ this.state = "idle", this.stopDriver(), this.startTime = this.holdTime = null;
117
+ }
118
+ stopDriver() {
119
+ this.driver &&= (this.driver.stop(), void 0);
120
+ }
121
+ sample(e) {
122
+ return this.startTime = 0, this.tick(e, !0);
123
+ }
124
+ attachTimeline(e) {
125
+ return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);
126
+ }
127
+ };
128
+ //#endregion
129
+ export { g as JSAnimation };
130
+
131
+ //# sourceMappingURL=JSAnimation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JSAnimation.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/animation/JSAnimation.mjs"],"sourcesContent":["import { invariant, pipe, clamp, millisecondsToSeconds, secondsToMilliseconds } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { mix } from '../utils/mix/index.mjs';\nimport { frameloopDriver } from './drivers/frame.mjs';\nimport { inertia } from './generators/inertia.mjs';\nimport { keyframes } from './generators/keyframes.mjs';\nimport { calcGeneratorDuration } from './generators/utils/calc-duration.mjs';\nimport { getGeneratorVelocity } from './generators/utils/velocity.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { replaceTransitionType } from './utils/replace-transition-type.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\n\nconst percentToProgress = (percent) => percent / 100;\nclass JSAnimation extends WithPromise {\n constructor(options) {\n super();\n this.state = \"idle\";\n this.startTime = null;\n this.isStopped = false;\n /**\n * The current time of the animation.\n */\n this.currentTime = 0;\n /**\n * The time at which the animation was paused.\n */\n this.holdTime = null;\n /**\n * Playback speed as a factor. 0 would be stopped, -1 reverse and 2 double speed.\n */\n this.playbackSpeed = 1;\n /**\n * Reusable state object for the delay phase to avoid\n * allocating a new object every frame.\n */\n this.delayState = {\n done: false,\n value: undefined,\n };\n /**\n * This method is bound to the instance to fix a pattern where\n * animation.stop is returned as a reference from a useEffect.\n */\n this.stop = () => {\n const { motionValue } = this.options;\n if (motionValue && motionValue.updatedAt !== time.now()) {\n this.tick(time.now());\n }\n this.isStopped = true;\n if (this.state === \"idle\")\n return;\n this.teardown();\n this.options.onStop?.();\n };\n this.options = options;\n this.initAnimation();\n this.play();\n if (options.autoplay === false)\n this.pause();\n }\n initAnimation() {\n const { options } = this;\n replaceTransitionType(options);\n const { type = keyframes, repeat = 0, repeatDelay = 0, repeatType, velocity = 0, } = options;\n let { keyframes: keyframes$1 } = options;\n const generatorFactory = type || keyframes;\n if (process.env.NODE_ENV !== \"production\" &&\n generatorFactory !== keyframes) {\n invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, \"spring-two-frames\");\n }\n if (generatorFactory !== keyframes &&\n typeof keyframes$1[0] !== \"number\") {\n this.mixKeyframes = pipe(percentToProgress, mix(keyframes$1[0], keyframes$1[1]));\n keyframes$1 = [0, 100];\n }\n const generator = generatorFactory({ ...options, keyframes: keyframes$1 });\n /**\n * If we have a mirror repeat type we need to create a second generator that outputs the\n * mirrored (not reversed) animation and later ping pong between the two generators.\n */\n if (repeatType === \"mirror\") {\n this.mirroredGenerator = generatorFactory({\n ...options,\n keyframes: [...keyframes$1].reverse(),\n velocity: -velocity,\n });\n }\n /**\n * If duration is undefined and we have repeat options,\n * we need to calculate a duration from the generator.\n *\n * We set it to the generator itself to cache the duration.\n * Any timeline resolver will need to have already precalculated\n * the duration by this step.\n */\n if (generator.calculatedDuration === null) {\n generator.calculatedDuration = calcGeneratorDuration(generator);\n }\n const { calculatedDuration } = generator;\n this.calculatedDuration = calculatedDuration;\n this.resolvedDuration = calculatedDuration + repeatDelay;\n this.totalDuration = this.resolvedDuration * (repeat + 1) - repeatDelay;\n this.generator = generator;\n }\n updateTime(timestamp) {\n const animationTime = Math.round(timestamp - this.startTime) * this.playbackSpeed;\n // Update currentTime\n if (this.holdTime !== null) {\n this.currentTime = this.holdTime;\n }\n else {\n // Rounding the time because floating point arithmetic is not always accurate, e.g. 3000.367 - 1000.367 =\n // 2000.0000000000002. This is a problem when we are comparing the currentTime with the duration, for\n // example.\n this.currentTime = animationTime;\n }\n }\n tick(timestamp, sample = false) {\n const { generator, totalDuration, mixKeyframes, mirroredGenerator, resolvedDuration, calculatedDuration, } = this;\n if (this.startTime === null)\n return generator.next(0);\n const { delay = 0, keyframes, repeat, repeatType, repeatDelay, type, onUpdate, finalKeyframe, } = this.options;\n /**\n * requestAnimationFrame timestamps can come through as lower than\n * the startTime as set by performance.now(). Here we prevent this,\n * though in the future it could be possible to make setting startTime\n * a pending operation that gets resolved here.\n */\n if (this.speed > 0) {\n this.startTime = Math.min(this.startTime, timestamp);\n }\n else if (this.speed < 0) {\n this.startTime = Math.min(timestamp - totalDuration / this.speed, this.startTime);\n }\n if (sample) {\n this.currentTime = timestamp;\n }\n else {\n this.updateTime(timestamp);\n }\n // Rebase on delay\n const timeWithoutDelay = this.currentTime - delay * (this.playbackSpeed >= 0 ? 1 : -1);\n const isInDelayPhase = this.playbackSpeed >= 0\n ? timeWithoutDelay < 0\n : timeWithoutDelay > totalDuration;\n this.currentTime = Math.max(timeWithoutDelay, 0);\n // If this animation has finished, set the current time to the total duration.\n if (this.state === \"finished\" && this.holdTime === null) {\n this.currentTime = totalDuration;\n }\n let elapsed = this.currentTime;\n let frameGenerator = generator;\n if (repeat) {\n /**\n * Get the current progress (0-1) of the animation. If t is >\n * than duration we'll get values like 2.5 (midway through the\n * third iteration)\n */\n const progress = Math.min(this.currentTime, totalDuration) / resolvedDuration;\n /**\n * Get the current iteration (0 indexed). For instance the floor of\n * 2.5 is 2.\n */\n let currentIteration = Math.floor(progress);\n /**\n * Get the current progress of the iteration by taking the remainder\n * so 2.5 is 0.5 through iteration 2\n */\n let iterationProgress = progress % 1.0;\n /**\n * If iteration progress is 1 we count that as the end\n * of the previous iteration.\n */\n if (!iterationProgress && progress >= 1) {\n iterationProgress = 1;\n }\n iterationProgress === 1 && currentIteration--;\n currentIteration = Math.min(currentIteration, repeat + 1);\n /**\n * Reverse progress if we're not running in \"normal\" direction\n */\n const isOddIteration = Boolean(currentIteration % 2);\n if (isOddIteration) {\n if (repeatType === \"reverse\") {\n iterationProgress = 1 - iterationProgress;\n if (repeatDelay) {\n iterationProgress -= repeatDelay / resolvedDuration;\n }\n }\n else if (repeatType === \"mirror\") {\n frameGenerator = mirroredGenerator;\n }\n }\n elapsed = clamp(0, 1, iterationProgress) * resolvedDuration;\n }\n /**\n * If we're in negative time, set state as the initial keyframe.\n * This prevents delay: x, duration: 0 animations from finishing\n * instantly.\n */\n let state;\n if (isInDelayPhase) {\n this.delayState.value = keyframes[0];\n state = this.delayState;\n }\n else {\n state = frameGenerator.next(elapsed);\n }\n if (mixKeyframes && !isInDelayPhase) {\n state.value = mixKeyframes(state.value);\n }\n let { done } = state;\n if (!isInDelayPhase && calculatedDuration !== null) {\n done =\n this.playbackSpeed >= 0\n ? this.currentTime >= totalDuration\n : this.currentTime <= 0;\n }\n const isAnimationFinished = this.holdTime === null &&\n (this.state === \"finished\" || (this.state === \"running\" && done));\n // TODO: The exception for inertia could be cleaner here\n if (isAnimationFinished && type !== inertia) {\n state.value = getFinalKeyframe(keyframes, this.options, finalKeyframe, this.speed);\n }\n if (onUpdate) {\n onUpdate(state.value);\n }\n if (isAnimationFinished) {\n this.finish();\n }\n return state;\n }\n /**\n * Allows the returned animation to be awaited or promise-chained. Currently\n * resolves when the animation finishes at all but in a future update could/should\n * reject if its cancels.\n */\n then(resolve, reject) {\n return this.finished.then(resolve, reject);\n }\n get duration() {\n return millisecondsToSeconds(this.calculatedDuration);\n }\n get iterationDuration() {\n const { delay = 0 } = this.options || {};\n return this.duration + millisecondsToSeconds(delay);\n }\n get time() {\n return millisecondsToSeconds(this.currentTime);\n }\n set time(newTime) {\n newTime = secondsToMilliseconds(newTime);\n this.currentTime = newTime;\n if (this.startTime === null ||\n this.holdTime !== null ||\n this.playbackSpeed === 0) {\n this.holdTime = newTime;\n }\n else if (this.driver) {\n this.startTime = this.driver.now() - newTime / this.playbackSpeed;\n }\n if (this.driver) {\n this.driver.start(false);\n }\n else {\n this.startTime = 0;\n this.state = \"paused\";\n this.holdTime = newTime;\n this.tick(newTime);\n }\n }\n /**\n * Returns the generator's velocity at the current time in units/second.\n * Uses the analytical derivative when available (springs), avoiding\n * the MotionValue's frame-dependent velocity estimation.\n */\n getGeneratorVelocity() {\n const t = this.currentTime;\n if (t <= 0)\n return this.options.velocity || 0;\n if (this.generator.velocity) {\n return this.generator.velocity(t);\n }\n // Fallback: finite difference\n const current = this.generator.next(t).value;\n return getGeneratorVelocity((s) => this.generator.next(s).value, t, current);\n }\n get speed() {\n return this.playbackSpeed;\n }\n set speed(newSpeed) {\n const hasChanged = this.playbackSpeed !== newSpeed;\n if (hasChanged && this.driver) {\n this.updateTime(time.now());\n }\n this.playbackSpeed = newSpeed;\n if (hasChanged && this.driver) {\n this.time = millisecondsToSeconds(this.currentTime);\n }\n }\n play() {\n if (this.isStopped)\n return;\n const { driver = frameloopDriver, startTime } = this.options;\n if (!this.driver) {\n this.driver = driver((timestamp) => this.tick(timestamp));\n }\n this.options.onPlay?.();\n const now = this.driver.now();\n if (this.state === \"finished\") {\n this.updateFinished();\n this.startTime = now;\n }\n else if (this.holdTime !== null) {\n this.startTime = now - this.holdTime;\n }\n else if (!this.startTime) {\n this.startTime = startTime ?? now;\n }\n if (this.state === \"finished\" && this.speed < 0) {\n this.startTime += this.calculatedDuration;\n }\n this.holdTime = null;\n /**\n * Set playState to running only after we've used it in\n * the previous logic.\n */\n this.state = \"running\";\n this.driver.start();\n }\n pause() {\n this.state = \"paused\";\n this.updateTime(time.now());\n this.holdTime = this.currentTime;\n }\n complete() {\n if (this.state !== \"running\") {\n this.play();\n }\n this.state = \"finished\";\n this.holdTime = null;\n }\n finish() {\n this.notifyFinished();\n this.teardown();\n this.state = \"finished\";\n this.options.onComplete?.();\n }\n cancel() {\n this.holdTime = null;\n this.startTime = 0;\n this.tick(0);\n this.teardown();\n this.options.onCancel?.();\n }\n teardown() {\n this.state = \"idle\";\n this.stopDriver();\n this.startTime = this.holdTime = null;\n }\n stopDriver() {\n if (!this.driver)\n return;\n this.driver.stop();\n this.driver = undefined;\n }\n sample(sampleTime) {\n this.startTime = 0;\n return this.tick(sampleTime, true);\n }\n attachTimeline(timeline) {\n if (this.options.allowFlatten) {\n this.options.type = \"keyframes\";\n this.options.ease = \"linear\";\n this.initAnimation();\n }\n this.driver?.stop();\n return timeline.observe(this);\n }\n}\n// Legacy function support\nfunction animateValue(options) {\n return new JSAnimation(options);\n}\n\nexport { JSAnimation, animateValue };\n//# sourceMappingURL=JSAnimation.mjs.map\n"],"x_google_ignoreList":[0],"mappings":"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"}