@burdenoff/microfe-brainyrich 2026.706.3 → 2026.706.4

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 (534) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +5 -5
  2. package/dist/brainyrich/components/viz.js +155 -156
  3. package/dist/brainyrich/components/viz.js.map +1 -1
  4. package/dist/brainyrich/pages/_shared.js +76 -68
  5. package/dist/brainyrich/pages/_shared.js.map +1 -1
  6. package/package.json +1 -3
  7. package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -13
  8. package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +0 -1
  9. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -14
  10. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
  11. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -22
  12. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
  13. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -8
  14. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
  15. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -8
  16. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
  17. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -12
  18. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
  19. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -19
  20. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
  21. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -8
  22. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
  23. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -17
  24. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
  25. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -8
  26. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
  27. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -8
  28. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
  29. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -10
  30. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
  31. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -13
  32. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
  33. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -259
  34. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
  35. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -24
  36. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
  37. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -61
  38. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
  39. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
  40. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
  41. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
  42. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
  43. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -135
  44. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
  45. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
  46. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
  47. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -28
  48. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
  49. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -41
  50. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
  51. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -27
  52. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
  53. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -11
  54. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
  55. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -53
  56. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
  57. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  58. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
  59. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -15
  60. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
  61. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -63
  62. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
  63. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  64. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
  65. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -15
  66. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
  67. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -48
  68. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
  69. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -26
  70. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
  71. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -72
  72. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
  73. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -6
  74. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
  75. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -24
  76. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
  77. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -60
  78. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
  79. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
  80. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
  81. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -9
  82. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
  83. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -12
  84. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
  85. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -15
  86. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +0 -1
  87. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -9
  88. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
  89. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  90. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
  91. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -23
  92. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
  93. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
  94. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
  95. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -9
  96. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
  97. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -13
  98. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +0 -1
  99. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
  100. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
  101. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -11
  102. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
  103. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -32
  104. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
  105. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -28
  106. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
  107. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -13
  108. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +0 -1
  109. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -10
  110. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
  111. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
  112. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
  113. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -6
  114. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
  115. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -6
  116. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
  117. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -8
  118. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
  119. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -15
  120. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +0 -1
  121. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -11
  122. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
  123. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -9
  124. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
  125. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -109
  126. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +0 -1
  127. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -132
  128. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +0 -1
  129. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -86
  130. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +0 -1
  131. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -30
  132. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +0 -1
  133. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -12
  134. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +0 -1
  135. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -15
  136. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +0 -1
  137. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -34
  138. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +0 -1
  139. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -24
  140. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +0 -1
  141. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -168
  142. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +0 -1
  143. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -11
  144. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
  145. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -18
  146. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +0 -1
  147. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -8
  148. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
  149. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -11
  150. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +0 -1
  151. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -47
  152. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +0 -1
  153. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -56
  154. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
  155. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -28
  156. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
  157. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -23
  158. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +0 -1
  159. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -63
  160. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +0 -1
  161. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -69
  162. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +0 -1
  163. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -10
  164. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +0 -1
  165. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -10
  166. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +0 -1
  167. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -14
  168. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +0 -1
  169. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -8
  170. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +0 -1
  171. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -8
  172. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +0 -1
  173. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -9
  174. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +0 -1
  175. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -20
  176. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +0 -1
  177. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -38
  178. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +0 -1
  179. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
  180. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +0 -1
  181. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -9
  182. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
  183. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -24
  184. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +0 -1
  185. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -9
  186. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +0 -1
  187. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -20
  188. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +0 -1
  189. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -27
  190. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +0 -1
  191. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -29
  192. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +0 -1
  193. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -10
  194. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
  195. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
  196. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +0 -1
  197. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
  198. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +0 -1
  199. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -21
  200. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +0 -1
  201. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -8
  202. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +0 -1
  203. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -18
  204. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +0 -1
  205. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -15
  206. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +0 -1
  207. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -6
  208. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +0 -1
  209. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -13
  210. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +0 -1
  211. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -37
  212. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +0 -1
  213. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -27
  214. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +0 -1
  215. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -26
  216. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +0 -1
  217. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -11
  218. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +0 -1
  219. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -10
  220. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +0 -1
  221. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -10
  222. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +0 -1
  223. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
  224. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
  225. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -19
  226. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +0 -1
  227. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -8
  228. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +0 -1
  229. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -32
  230. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +0 -1
  231. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -8
  232. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +0 -1
  233. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -7
  234. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +0 -1
  235. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -15
  236. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +0 -1
  237. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -35
  238. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +0 -1
  239. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -17
  240. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +0 -1
  241. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
  242. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
  243. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -13
  244. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
  245. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -38
  246. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
  247. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -35
  248. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
  249. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -23
  250. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
  251. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -30
  252. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
  253. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -6
  254. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
  255. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -6
  256. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
  257. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -6
  258. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
  259. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -18
  260. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
  261. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -31
  262. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +0 -1
  263. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -41
  264. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +0 -1
  265. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
  266. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +0 -1
  267. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -45
  268. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +0 -1
  269. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -32
  270. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +0 -1
  271. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -31
  272. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +0 -1
  273. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -20
  274. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +0 -1
  275. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -30
  276. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +0 -1
  277. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -15
  278. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
  279. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -24
  280. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
  281. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -590
  282. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +0 -1
  283. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -9
  284. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +0 -1
  285. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -53
  286. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +0 -1
  287. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -15
  288. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +0 -1
  289. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -15
  290. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
  291. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -23
  292. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +0 -1
  293. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -14
  294. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +0 -1
  295. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -6
  296. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +0 -1
  297. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -8
  298. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +0 -1
  299. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -21
  300. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +0 -1
  301. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
  302. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +0 -1
  303. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -14
  304. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +0 -1
  305. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -11
  306. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +0 -1
  307. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -206
  308. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +0 -1
  309. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -30
  310. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +0 -1
  311. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -6
  312. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +0 -1
  313. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -58
  314. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +0 -1
  315. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -9
  316. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +0 -1
  317. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -8
  318. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
  319. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -37
  320. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +0 -1
  321. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -30
  322. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +0 -1
  323. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
  324. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +0 -1
  325. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -10
  326. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +0 -1
  327. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -13
  328. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
  329. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -6
  330. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +0 -1
  331. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -42
  332. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +0 -1
  333. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -24
  334. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +0 -1
  335. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -30
  336. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
  337. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -6
  338. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
  339. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -17
  340. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +0 -1
  341. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -12
  342. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +0 -1
  343. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
  344. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
  345. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -137
  346. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +0 -1
  347. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -21
  348. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +0 -1
  349. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -8
  350. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +0 -1
  351. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -14
  352. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +0 -1
  353. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -10
  354. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +0 -1
  355. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -6
  356. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +0 -1
  357. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -8
  358. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +0 -1
  359. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -15
  360. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +0 -1
  361. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -24
  362. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +0 -1
  363. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -23
  364. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +0 -1
  365. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -13
  366. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +0 -1
  367. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -6
  368. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +0 -1
  369. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -10
  370. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
  371. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -22
  372. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +0 -1
  373. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -22
  374. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +0 -1
  375. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -12
  376. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +0 -1
  377. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -14
  378. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +0 -1
  379. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -39
  380. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +0 -1
  381. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -24
  382. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +0 -1
  383. package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -10
  384. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +0 -1
  385. package/dist/node_modules/motion-dom/dist/es/stats/animation-count.js +0 -10
  386. package/dist/node_modules/motion-dom/dist/es/stats/animation-count.js.map +0 -1
  387. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +0 -9
  388. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +0 -1
  389. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -14
  390. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +0 -1
  391. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -35
  392. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +0 -1
  393. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -9
  394. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +0 -1
  395. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -9
  396. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +0 -1
  397. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -9
  398. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +0 -1
  399. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -32
  400. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +0 -1
  401. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -54
  402. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +0 -1
  403. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -8
  404. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +0 -1
  405. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -10
  406. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +0 -1
  407. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -6
  408. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +0 -1
  409. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -9
  410. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +0 -1
  411. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -16
  412. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
  413. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
  414. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
  415. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -14
  416. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
  417. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -11
  418. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
  419. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
  420. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
  421. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -94
  422. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +0 -1
  423. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -9
  424. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +0 -1
  425. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -21
  426. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +0 -1
  427. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -23
  428. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +0 -1
  429. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -14
  430. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +0 -1
  431. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -17
  432. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +0 -1
  433. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -17
  434. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +0 -1
  435. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
  436. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +0 -1
  437. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -28
  438. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +0 -1
  439. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -54
  440. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +0 -1
  441. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -16
  442. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +0 -1
  443. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -18
  444. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +0 -1
  445. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -10
  446. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +0 -1
  447. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -26
  448. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +0 -1
  449. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -66
  450. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +0 -1
  451. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -33
  452. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +0 -1
  453. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
  454. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +0 -1
  455. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -14
  456. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +0 -1
  457. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -6
  458. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +0 -1
  459. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -14
  460. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +0 -1
  461. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -6
  462. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +0 -1
  463. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -14
  464. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +0 -1
  465. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -6
  466. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +0 -1
  467. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -6
  468. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +0 -1
  469. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -8
  470. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +0 -1
  471. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -6
  472. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +0 -1
  473. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -6
  474. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +0 -1
  475. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -6
  476. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +0 -1
  477. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -9
  478. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +0 -1
  479. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -15
  480. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +0 -1
  481. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -9
  482. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +0 -1
  483. package/dist/node_modules/motion-utils/dist/es/array.js +0 -12
  484. package/dist/node_modules/motion-utils/dist/es/array.js.map +0 -1
  485. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -6
  486. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +0 -1
  487. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -7
  488. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +0 -1
  489. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
  490. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +0 -1
  491. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
  492. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +0 -1
  493. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -19
  494. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +0 -1
  495. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
  496. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +0 -1
  497. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -6
  498. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +0 -1
  499. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -6
  500. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +0 -1
  501. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -6
  502. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +0 -1
  503. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -6
  504. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +0 -1
  505. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -33
  506. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +0 -1
  507. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
  508. package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
  509. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -8
  510. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +0 -1
  511. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
  512. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +0 -1
  513. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -6
  514. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +0 -1
  515. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -8
  516. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +0 -1
  517. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -6
  518. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +0 -1
  519. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -10
  520. package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
  521. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -6
  522. package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
  523. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -6
  524. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +0 -1
  525. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -9
  526. package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
  527. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -28
  528. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +0 -1
  529. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
  530. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
  531. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -8
  532. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +0 -1
  533. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -10
  534. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +0 -1
@@ -1,206 +0,0 @@
1
- import { isNumericalString as e } from "../../../../motion-utils/dist/es/is-numerical-string.js";
2
- import { isZeroValueString as t } from "../../../../motion-utils/dist/es/is-zero-value-string.js";
3
- import { SubscriptionManager as n } from "../../../../motion-utils/dist/es/subscription-manager.js";
4
- import { secondsToMilliseconds as r } from "../../../../motion-utils/dist/es/time-conversion.js";
5
- import { warnOnce as i } from "../../../../motion-utils/dist/es/warn-once.js";
6
- import { cancelFrame as a, frame as o } from "../frameloop/frame.js";
7
- import { time as s } from "../frameloop/sync-time.js";
8
- import { complex as c } from "../value/types/complex/index.js";
9
- import { transformProps as l } from "./utils/keys-transform.js";
10
- import { KeyframeResolver as u } from "../animation/keyframes/KeyframesResolver.js";
11
- import { NativeAnimation as d } from "../animation/NativeAnimation.js";
12
- import { acceleratedValues as f } from "../animation/waapi/utils/accelerated-values.js";
13
- import { resolveVariantFromProps as p } from "./utils/resolve-variants.js";
14
- import { motionValue as m } from "../value/index.js";
15
- import { isMotionValue as h } from "../value/utils/is-motion-value.js";
16
- import { getAnimatableNone as g } from "../value/types/utils/animatable-none.js";
17
- import { microtask as _ } from "../frameloop/microtask.js";
18
- import { findValueType as v } from "../value/types/utils/find.js";
19
- import { createBox as y } from "../projection/geometry/models.js";
20
- import { visualElementStore as b } from "./store.js";
21
- import { isControllingVariants as x, isVariantNode as S } from "./utils/is-controlling-variants.js";
22
- import { updateMotionValuesFromProps as C } from "./utils/motion-values.js";
23
- import { hasReducedMotionListener as w, prefersReducedMotion as T } from "./utils/reduced-motion/state.js";
24
- import { initPrefersReducedMotion as E } from "./utils/reduced-motion/index.js";
25
- //#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
26
- var D = [
27
- "AnimationStart",
28
- "AnimationComplete",
29
- "Update",
30
- "BeforeLayoutMeasure",
31
- "LayoutMeasure",
32
- "LayoutAnimationStart",
33
- "LayoutAnimationComplete"
34
- ], O = {};
35
- function k(e) {
36
- O = e;
37
- }
38
- function A() {
39
- return O;
40
- }
41
- var j = class {
42
- scrapeMotionValuesFromProps(e, t, n) {
43
- return {};
44
- }
45
- constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: c }, l = {}) {
46
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = u, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
47
- this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
48
- }, this.renderScheduledAt = 0, this.scheduleRender = () => {
49
- let e = s.now();
50
- this.renderScheduledAt < e && (this.renderScheduledAt = e, o.render(this.render, !1, !0));
51
- };
52
- let { latestValues: d, renderState: f } = c;
53
- this.latestValues = d, this.baseTarget = { ...d }, this.initialValues = t.initial ? { ...d } : {}, this.renderState = f, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = l, this.blockInitialAnimation = !!a, this.isControllingVariants = x(t), this.isVariantNode = S(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
54
- let { willChange: p, ...m } = this.scrapeMotionValuesFromProps(t, {}, this);
55
- for (let e in m) {
56
- let t = m[e];
57
- d[e] !== void 0 && h(t) && t.set(d[e]);
58
- }
59
- }
60
- mount(e) {
61
- if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
62
- this.current = e, b.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (w.current || E(), this.shouldReduceMotion = T.current), process.env.NODE_ENV !== "production" && i(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
63
- }
64
- unmount() {
65
- this.projection && this.projection.unmount(), a(this.notifyUpdate), a(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
66
- for (let e in this.events) this.events[e].clear();
67
- for (let e in this.features) {
68
- let t = this.features[e];
69
- t && (t.unmount(), t.isMounted = !1);
70
- }
71
- this.current = null;
72
- }
73
- addChild(e) {
74
- this.children.add(e), this.enteringChildren ??= /* @__PURE__ */ new Set(), this.enteringChildren.add(e);
75
- }
76
- removeChild(e) {
77
- this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
78
- }
79
- bindToMotionValue(e, t) {
80
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && f.has(e) && this.current instanceof HTMLElement) {
81
- let { factory: n, keyframes: i, times: a, ease: o, duration: s } = t.accelerate, c = new d({
82
- element: this.current,
83
- name: e,
84
- keyframes: i,
85
- times: a,
86
- ease: o,
87
- duration: r(s)
88
- }), l = n(c);
89
- this.valueSubscriptions.set(e, () => {
90
- l(), c.cancel();
91
- });
92
- return;
93
- }
94
- let n = l.has(e);
95
- n && this.onBindTransform && this.onBindTransform();
96
- let i = t.on("change", (t) => {
97
- this.latestValues[e] = t, this.props.onUpdate && o.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
98
- }), a;
99
- typeof window < "u" && window.MotionCheckAppearSync && (a = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
100
- i(), a && a(), t.owner && t.stop();
101
- });
102
- }
103
- sortNodePosition(e) {
104
- return !this.current || !this.sortInstanceNodePosition || this.type !== e.type ? 0 : this.sortInstanceNodePosition(this.current, e.current);
105
- }
106
- updateFeatures() {
107
- let e = "animation";
108
- for (e in O) {
109
- let t = O[e];
110
- if (!t) continue;
111
- let { isEnabled: n, Feature: r } = t;
112
- if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
113
- let t = this.features[e];
114
- t.isMounted ? t.update() : (t.mount(), t.isMounted = !0);
115
- }
116
- }
117
- }
118
- triggerBuild() {
119
- this.build(this.renderState, this.latestValues, this.props);
120
- }
121
- measureViewportBox() {
122
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : y();
123
- }
124
- getStaticValue(e) {
125
- return this.latestValues[e];
126
- }
127
- setStaticValue(e, t) {
128
- this.latestValues[e] = t;
129
- }
130
- update(e, t) {
131
- (e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
132
- for (let t = 0; t < D.length; t++) {
133
- let n = D[t];
134
- this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
135
- let r = e["on" + n];
136
- r && (this.propEventSubscriptions[n] = this.on(n, r));
137
- }
138
- this.prevMotionValues = C(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
139
- }
140
- getProps() {
141
- return this.props;
142
- }
143
- getVariant(e) {
144
- return this.props.variants ? this.props.variants[e] : void 0;
145
- }
146
- getDefaultTransition() {
147
- return this.props.transition;
148
- }
149
- getTransformPagePoint() {
150
- return this.props.transformPagePoint;
151
- }
152
- getClosestVariantNode() {
153
- return this.isVariantNode ? this : this.parent ? this.parent.getClosestVariantNode() : void 0;
154
- }
155
- addVariantChild(e) {
156
- let t = this.getClosestVariantNode();
157
- if (t) return t.variantChildren && t.variantChildren.add(e), () => t.variantChildren.delete(e);
158
- }
159
- addValue(e, t) {
160
- let n = this.values.get(e);
161
- t !== n && (n && this.removeValue(e), this.bindToMotionValue(e, t), this.values.set(e, t), this.latestValues[e] = t.get());
162
- }
163
- removeValue(e) {
164
- this.values.delete(e);
165
- let t = this.valueSubscriptions.get(e);
166
- t && (t(), this.valueSubscriptions.delete(e)), delete this.latestValues[e], this.removeValueFromRenderState(e, this.renderState);
167
- }
168
- hasValue(e) {
169
- return this.values.has(e);
170
- }
171
- getValue(e, t) {
172
- if (this.props.values && this.props.values[e]) return this.props.values[e];
173
- let n = this.values.get(e);
174
- return n === void 0 && t !== void 0 && (n = m(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
175
- }
176
- readValue(n, r) {
177
- let i = this.latestValues[n] !== void 0 || !this.current ? this.latestValues[n] : this.getBaseTargetFromProps(this.props, n) ?? this.readValueFromInstance(this.current, n, this.options);
178
- return i != null && (typeof i == "string" && (e(i) || t(i)) ? i = parseFloat(i) : !v(i) && c.test(r) && (i = g(n, r)), this.setBaseTarget(n, h(i) ? i.get() : i)), h(i) ? i.get() : i;
179
- }
180
- setBaseTarget(e, t) {
181
- this.baseTarget[e] = t;
182
- }
183
- getBaseTarget(e) {
184
- let { initial: t } = this.props, n;
185
- if (typeof t == "string" || typeof t == "object") {
186
- let r = p(this.props, t, this.presenceContext?.custom);
187
- r && (n = r[e]);
188
- }
189
- if (t && n !== void 0) return n;
190
- let r = this.getBaseTargetFromProps(this.props, e);
191
- return r !== void 0 && !h(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
192
- }
193
- on(e, t) {
194
- return this.events[e] || (this.events[e] = new n()), this.events[e].add(t);
195
- }
196
- notify(e, ...t) {
197
- this.events[e] && this.events[e].notify(...t);
198
- }
199
- scheduleRenderMicrotask() {
200
- _.render(this.render);
201
- }
202
- };
203
- //#endregion
204
- export { j as VisualElement, A as getFeatureDefinitions, k as setFeatureDefinitions };
205
-
206
- //# sourceMappingURL=VisualElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisualElement.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/render/VisualElement.mjs"],"sourcesContent":["import { warnOnce, secondsToMilliseconds, isNumericalString, isZeroValueString, SubscriptionManager } from 'motion-utils';\nimport { KeyframeResolver } from '../animation/keyframes/KeyframesResolver.mjs';\nimport { NativeAnimation } from '../animation/NativeAnimation.mjs';\nimport { acceleratedValues } from '../animation/waapi/utils/accelerated-values.mjs';\nimport { microtask } from '../frameloop/microtask.mjs';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { createBox } from '../projection/geometry/models.mjs';\nimport { motionValue } from '../value/index.mjs';\nimport { complex } from '../value/types/complex/index.mjs';\nimport { getAnimatableNone } from '../value/types/utils/animatable-none.mjs';\nimport { findValueType } from '../value/types/utils/find.mjs';\nimport { isMotionValue } from '../value/utils/is-motion-value.mjs';\nimport { visualElementStore } from './store.mjs';\nimport { isControllingVariants, isVariantNode } from './utils/is-controlling-variants.mjs';\nimport { transformProps } from './utils/keys-transform.mjs';\nimport { updateMotionValuesFromProps } from './utils/motion-values.mjs';\nimport { initPrefersReducedMotion } from './utils/reduced-motion/index.mjs';\nimport { resolveVariantFromProps } from './utils/resolve-variants.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from './utils/reduced-motion/state.mjs';\nimport { frame, cancelFrame } from '../frameloop/frame.mjs';\n\nconst propEventHandlers = [\n \"AnimationStart\",\n \"AnimationComplete\",\n \"Update\",\n \"BeforeLayoutMeasure\",\n \"LayoutMeasure\",\n \"LayoutAnimationStart\",\n \"LayoutAnimationComplete\",\n];\n/**\n * Static feature definitions - can be injected by framework layer\n */\nlet featureDefinitions = {};\n/**\n * Set feature definitions for all VisualElements.\n * This should be called by the framework layer (e.g., framer-motion) during initialization.\n */\nfunction setFeatureDefinitions(definitions) {\n featureDefinitions = definitions;\n}\n/**\n * Get the current feature definitions\n */\nfunction getFeatureDefinitions() {\n return featureDefinitions;\n}\n/**\n * A VisualElement is an imperative abstraction around UI elements such as\n * HTMLElement, SVGElement, Three.Object3D etc.\n */\nclass VisualElement {\n /**\n * This method takes React props and returns found MotionValues. For example, HTML\n * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.\n *\n * This isn't an abstract method as it needs calling in the constructor, but it is\n * intended to be one.\n */\n scrapeMotionValuesFromProps(_props, _prevProps, _visualElement) {\n return {};\n }\n constructor({ parent, props, presenceContext, reducedMotionConfig, skipAnimations, blockInitialAnimation, visualState, }, options = {}) {\n /**\n * A reference to the current underlying Instance, e.g. a HTMLElement\n * or Three.Mesh etc.\n */\n this.current = null;\n /**\n * A set containing references to this VisualElement's children.\n */\n this.children = new Set();\n /**\n * Determine what role this visual element should take in the variant tree.\n */\n this.isVariantNode = false;\n this.isControllingVariants = false;\n /**\n * Decides whether this VisualElement should animate in reduced motion\n * mode.\n *\n * TODO: This is currently set on every individual VisualElement but feels\n * like it could be set globally.\n */\n this.shouldReduceMotion = null;\n /**\n * Decides whether animations should be skipped for this VisualElement.\n * Useful for E2E tests and visual regression testing.\n */\n this.shouldSkipAnimations = false;\n /**\n * A map of all motion values attached to this visual element. Motion\n * values are source of truth for any given animated value. A motion\n * value might be provided externally by the component via props.\n */\n this.values = new Map();\n this.KeyframeResolver = KeyframeResolver;\n /**\n * Cleanup functions for active features (hover/tap/exit etc)\n */\n this.features = {};\n /**\n * A map of every subscription that binds the provided or generated\n * motion values onChange listeners to this visual element.\n */\n this.valueSubscriptions = new Map();\n /**\n * A reference to the previously-provided motion values as returned\n * from scrapeMotionValuesFromProps. We use the keys in here to determine\n * if any motion values need to be removed after props are updated.\n */\n this.prevMotionValues = {};\n /**\n * Track whether this element has been mounted before, to detect\n * remounts after Suspense unmount/remount cycles.\n */\n this.hasBeenMounted = false;\n /**\n * An object containing a SubscriptionManager for each active event.\n */\n this.events = {};\n /**\n * An object containing an unsubscribe function for each prop event subscription.\n * For example, every \"Update\" event can have multiple subscribers via\n * VisualElement.on(), but only one of those can be defined via the onUpdate prop.\n */\n this.propEventSubscriptions = {};\n this.notifyUpdate = () => this.notify(\"Update\", this.latestValues);\n this.render = () => {\n if (!this.current)\n return;\n this.triggerBuild();\n this.renderInstance(this.current, this.renderState, this.props.style, this.projection);\n };\n this.renderScheduledAt = 0.0;\n this.scheduleRender = () => {\n const now = time.now();\n if (this.renderScheduledAt < now) {\n this.renderScheduledAt = now;\n frame.render(this.render, false, true);\n }\n };\n const { latestValues, renderState } = visualState;\n this.latestValues = latestValues;\n this.baseTarget = { ...latestValues };\n this.initialValues = props.initial ? { ...latestValues } : {};\n this.renderState = renderState;\n this.parent = parent;\n this.props = props;\n this.presenceContext = presenceContext;\n this.depth = parent ? parent.depth + 1 : 0;\n this.reducedMotionConfig = reducedMotionConfig;\n this.skipAnimationsConfig = skipAnimations;\n this.options = options;\n this.blockInitialAnimation = Boolean(blockInitialAnimation);\n this.isControllingVariants = isControllingVariants(props);\n this.isVariantNode = isVariantNode(props);\n if (this.isVariantNode) {\n this.variantChildren = new Set();\n }\n this.manuallyAnimateOnMount = Boolean(parent && parent.current);\n /**\n * Any motion values that are provided to the element when created\n * aren't yet bound to the element, as this would technically be impure.\n * However, we iterate through the motion values and set them to the\n * initial values for this component.\n *\n * TODO: This is impure and we should look at changing this to run on mount.\n * Doing so will break some tests but this isn't necessarily a breaking change,\n * more a reflection of the test.\n */\n const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this);\n for (const key in initialMotionValues) {\n const value = initialMotionValues[key];\n if (latestValues[key] !== undefined && isMotionValue(value)) {\n value.set(latestValues[key]);\n }\n }\n }\n mount(instance) {\n /**\n * If this element has been mounted before (e.g. after a Suspense\n * unmount/remount), reset motion values to their initial state\n * so animations replay correctly from initial → animate.\n */\n if (this.hasBeenMounted) {\n for (const key in this.initialValues) {\n this.values.get(key)?.jump(this.initialValues[key]);\n this.latestValues[key] = this.initialValues[key];\n }\n }\n this.current = instance;\n visualElementStore.set(instance, this);\n if (this.projection && !this.projection.instance) {\n this.projection.mount(instance);\n }\n if (this.parent && this.isVariantNode && !this.isControllingVariants) {\n this.removeFromVariantTree = this.parent.addVariantChild(this);\n }\n this.values.forEach((value, key) => this.bindToMotionValue(key, value));\n /**\n * Determine reduced motion preference. Only initialize the matchMedia\n * listener if we actually need the dynamic value (i.e., when config\n * is neither \"never\" nor \"always\").\n */\n if (this.reducedMotionConfig === \"never\") {\n this.shouldReduceMotion = false;\n }\n else if (this.reducedMotionConfig === \"always\") {\n this.shouldReduceMotion = true;\n }\n else {\n if (!hasReducedMotionListener.current) {\n initPrefersReducedMotion();\n }\n this.shouldReduceMotion = prefersReducedMotion.current;\n }\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(this.shouldReduceMotion !== true, \"You have Reduced Motion enabled on your device. Animations may not appear as expected.\", \"reduced-motion-disabled\");\n }\n /**\n * Set whether animations should be skipped based on the config.\n */\n this.shouldSkipAnimations = this.skipAnimationsConfig ?? false;\n this.parent?.addChild(this);\n this.update(this.props, this.presenceContext);\n this.hasBeenMounted = true;\n }\n unmount() {\n this.projection && this.projection.unmount();\n cancelFrame(this.notifyUpdate);\n cancelFrame(this.render);\n this.valueSubscriptions.forEach((remove) => remove());\n this.valueSubscriptions.clear();\n this.removeFromVariantTree && this.removeFromVariantTree();\n this.parent?.removeChild(this);\n for (const key in this.events) {\n this.events[key].clear();\n }\n for (const key in this.features) {\n const feature = this.features[key];\n if (feature) {\n feature.unmount();\n feature.isMounted = false;\n }\n }\n this.current = null;\n }\n addChild(child) {\n this.children.add(child);\n this.enteringChildren ?? (this.enteringChildren = new Set());\n this.enteringChildren.add(child);\n }\n removeChild(child) {\n this.children.delete(child);\n this.enteringChildren && this.enteringChildren.delete(child);\n }\n bindToMotionValue(key, value) {\n if (this.valueSubscriptions.has(key)) {\n this.valueSubscriptions.get(key)();\n }\n if (value.accelerate &&\n acceleratedValues.has(key) &&\n this.current instanceof HTMLElement) {\n const { factory, keyframes, times, ease, duration } = value.accelerate;\n const animation = new NativeAnimation({\n element: this.current,\n name: key,\n keyframes,\n times,\n ease,\n duration: secondsToMilliseconds(duration),\n });\n const cleanup = factory(animation);\n this.valueSubscriptions.set(key, () => {\n cleanup();\n animation.cancel();\n });\n return;\n }\n const valueIsTransform = transformProps.has(key);\n if (valueIsTransform && this.onBindTransform) {\n this.onBindTransform();\n }\n const removeOnChange = value.on(\"change\", (latestValue) => {\n this.latestValues[key] = latestValue;\n this.props.onUpdate && frame.preRender(this.notifyUpdate);\n if (valueIsTransform && this.projection) {\n this.projection.isTransformDirty = true;\n }\n this.scheduleRender();\n });\n let removeSyncCheck;\n if (typeof window !== \"undefined\" &&\n window.MotionCheckAppearSync) {\n removeSyncCheck = window.MotionCheckAppearSync(this, key, value);\n }\n this.valueSubscriptions.set(key, () => {\n removeOnChange();\n if (removeSyncCheck)\n removeSyncCheck();\n if (value.owner)\n value.stop();\n });\n }\n sortNodePosition(other) {\n /**\n * If these nodes aren't even of the same type we can't compare their depth.\n */\n if (!this.current ||\n !this.sortInstanceNodePosition ||\n this.type !== other.type) {\n return 0;\n }\n return this.sortInstanceNodePosition(this.current, other.current);\n }\n updateFeatures() {\n let key = \"animation\";\n for (key in featureDefinitions) {\n const featureDefinition = featureDefinitions[key];\n if (!featureDefinition)\n continue;\n const { isEnabled, Feature: FeatureConstructor } = featureDefinition;\n /**\n * If this feature is enabled but not active, make a new instance.\n */\n if (!this.features[key] &&\n FeatureConstructor &&\n isEnabled(this.props)) {\n this.features[key] = new FeatureConstructor(this);\n }\n /**\n * If we have a feature, mount or update it.\n */\n if (this.features[key]) {\n const feature = this.features[key];\n if (feature.isMounted) {\n feature.update();\n }\n else {\n feature.mount();\n feature.isMounted = true;\n }\n }\n }\n }\n triggerBuild() {\n this.build(this.renderState, this.latestValues, this.props);\n }\n /**\n * Measure the current viewport box with or without transforms.\n * Only measures axis-aligned boxes, rotate and skew must be manually\n * removed with a re-render to work.\n */\n measureViewportBox() {\n return this.current\n ? this.measureInstanceViewportBox(this.current, this.props)\n : createBox();\n }\n getStaticValue(key) {\n return this.latestValues[key];\n }\n setStaticValue(key, value) {\n this.latestValues[key] = value;\n }\n /**\n * Update the provided props. Ensure any newly-added motion values are\n * added to our map, old ones removed, and listeners updated.\n */\n update(props, presenceContext) {\n if (props.transformTemplate || this.props.transformTemplate) {\n this.scheduleRender();\n }\n this.prevProps = this.props;\n this.props = props;\n this.prevPresenceContext = this.presenceContext;\n this.presenceContext = presenceContext;\n /**\n * Update prop event handlers ie onAnimationStart, onAnimationComplete\n */\n for (let i = 0; i < propEventHandlers.length; i++) {\n const key = propEventHandlers[i];\n if (this.propEventSubscriptions[key]) {\n this.propEventSubscriptions[key]();\n delete this.propEventSubscriptions[key];\n }\n const listenerName = (\"on\" + key);\n const listener = props[listenerName];\n if (listener) {\n this.propEventSubscriptions[key] = this.on(key, listener);\n }\n }\n this.prevMotionValues = updateMotionValuesFromProps(this, this.scrapeMotionValuesFromProps(props, this.prevProps || {}, this), this.prevMotionValues);\n if (this.handleChildMotionValue) {\n this.handleChildMotionValue();\n }\n }\n getProps() {\n return this.props;\n }\n /**\n * Returns the variant definition with a given name.\n */\n getVariant(name) {\n return this.props.variants ? this.props.variants[name] : undefined;\n }\n /**\n * Returns the defined default transition on this component.\n */\n getDefaultTransition() {\n return this.props.transition;\n }\n getTransformPagePoint() {\n return this.props.transformPagePoint;\n }\n getClosestVariantNode() {\n return this.isVariantNode\n ? this\n : this.parent\n ? this.parent.getClosestVariantNode()\n : undefined;\n }\n /**\n * Add a child visual element to our set of children.\n */\n addVariantChild(child) {\n const closestVariantNode = this.getClosestVariantNode();\n if (closestVariantNode) {\n closestVariantNode.variantChildren &&\n closestVariantNode.variantChildren.add(child);\n return () => closestVariantNode.variantChildren.delete(child);\n }\n }\n /**\n * Add a motion value and bind it to this visual element.\n */\n addValue(key, value) {\n // Remove existing value if it exists\n const existingValue = this.values.get(key);\n if (value !== existingValue) {\n if (existingValue)\n this.removeValue(key);\n this.bindToMotionValue(key, value);\n this.values.set(key, value);\n this.latestValues[key] = value.get();\n }\n }\n /**\n * Remove a motion value and unbind any active subscriptions.\n */\n removeValue(key) {\n this.values.delete(key);\n const unsubscribe = this.valueSubscriptions.get(key);\n if (unsubscribe) {\n unsubscribe();\n this.valueSubscriptions.delete(key);\n }\n delete this.latestValues[key];\n this.removeValueFromRenderState(key, this.renderState);\n }\n /**\n * Check whether we have a motion value for this key\n */\n hasValue(key) {\n return this.values.has(key);\n }\n getValue(key, defaultValue) {\n if (this.props.values && this.props.values[key]) {\n return this.props.values[key];\n }\n let value = this.values.get(key);\n if (value === undefined && defaultValue !== undefined) {\n value = motionValue(defaultValue === null ? undefined : defaultValue, { owner: this });\n this.addValue(key, value);\n }\n return value;\n }\n /**\n * If we're trying to animate to a previously unencountered value,\n * we need to check for it in our state and as a last resort read it\n * directly from the instance (which might have performance implications).\n */\n readValue(key, target) {\n let value = this.latestValues[key] !== undefined || !this.current\n ? this.latestValues[key]\n : this.getBaseTargetFromProps(this.props, key) ??\n this.readValueFromInstance(this.current, key, this.options);\n if (value !== undefined && value !== null) {\n if (typeof value === \"string\" &&\n (isNumericalString(value) || isZeroValueString(value))) {\n // If this is a number read as a string, ie \"0\" or \"200\", convert it to a number\n value = parseFloat(value);\n }\n else if (!findValueType(value) && complex.test(target)) {\n value = getAnimatableNone(key, target);\n }\n this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);\n }\n return isMotionValue(value) ? value.get() : value;\n }\n /**\n * Set the base target to later animate back to. This is currently\n * only hydrated on creation and when we first read a value.\n */\n setBaseTarget(key, value) {\n this.baseTarget[key] = value;\n }\n /**\n * Find the base target for a value thats been removed from all animation\n * props.\n */\n getBaseTarget(key) {\n const { initial } = this.props;\n let valueFromInitial;\n if (typeof initial === \"string\" || typeof initial === \"object\") {\n const variant = resolveVariantFromProps(this.props, initial, this.presenceContext?.custom);\n if (variant) {\n valueFromInitial = variant[key];\n }\n }\n /**\n * If this value still exists in the current initial variant, read that.\n */\n if (initial && valueFromInitial !== undefined) {\n return valueFromInitial;\n }\n /**\n * Alternatively, if this VisualElement config has defined a getBaseTarget\n * so we can read the value from an alternative source, try that.\n */\n const target = this.getBaseTargetFromProps(this.props, key);\n if (target !== undefined && !isMotionValue(target))\n return target;\n /**\n * If the value was initially defined on initial, but it doesn't any more,\n * return undefined. Otherwise return the value as initially read from the DOM.\n */\n return this.initialValues[key] !== undefined &&\n valueFromInitial === undefined\n ? undefined\n : this.baseTarget[key];\n }\n on(eventName, callback) {\n if (!this.events[eventName]) {\n this.events[eventName] = new SubscriptionManager();\n }\n return this.events[eventName].add(callback);\n }\n notify(eventName, ...args) {\n if (this.events[eventName]) {\n this.events[eventName].notify(...args);\n }\n }\n scheduleRenderMicrotask() {\n microtask.render(this.render);\n }\n}\n\nexport { VisualElement, getFeatureDefin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AAO;;CAM3B,cAAc,GAAK;EACf,IAAM,EAAE,eAAY,KAAK,OACrB;AACJ,MAAI,OAAO,KAAY,YAAY,OAAO,KAAY,UAAU;GAC5D,IAAM,IAAU,EAAwB,KAAK,OAAO,GAAS,KAAK,iBAAiB,OAAO;AAC1F,GAAI,MACA,IAAmB,EAAQ;;AAMnC,MAAI,KAAW,MAAqB,KAAA,EAChC,QAAO;EAMX,IAAM,IAAS,KAAK,uBAAuB,KAAK,OAAO,EAAI;AAO3D,SANI,MAAW,KAAA,KAAa,CAAC,EAAc,EAAO,GACvC,IAKJ,KAAK,cAAc,OAAS,KAAA,KAC/B,MAAqB,KAAA,IACnB,KAAA,IACA,KAAK,WAAW;;CAE1B,GAAG,GAAW,GAAU;AAIpB,SAHK,KAAK,OAAO,OACb,KAAK,OAAO,KAAa,IAAI,GAAqB,GAE/C,KAAK,OAAO,GAAW,IAAI,EAAS;;CAE/C,OAAO,GAAW,GAAG,GAAM;AACvB,EAAI,KAAK,OAAO,MACZ,KAAK,OAAO,GAAW,OAAO,GAAG,EAAK;;CAG9C,0BAA0B;AACtB,IAAU,OAAO,KAAK,OAAO"}
@@ -1,30 +0,0 @@
1
- import { isMotionValue as e } from "../../value/utils/is-motion-value.js";
2
- import { DOMKeyframesResolver as t } from "../../animation/keyframes/DOMKeyframesResolver.js";
3
- import { VisualElement as n } from "../VisualElement.js";
4
- //#region node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs
5
- var r = class extends n {
6
- constructor() {
7
- super(...arguments), this.KeyframeResolver = t;
8
- }
9
- sortInstanceNodePosition(e, t) {
10
- return e.compareDocumentPosition(t) & 2 ? 1 : -1;
11
- }
12
- getBaseTargetFromProps(e, t) {
13
- let n = e.style;
14
- return n ? n[t] : void 0;
15
- }
16
- removeValueFromRenderState(e, { vars: t, style: n }) {
17
- delete t[e], delete n[e];
18
- }
19
- handleChildMotionValue() {
20
- this.childSubscription && (this.childSubscription(), delete this.childSubscription);
21
- let { children: t } = this.props;
22
- e(t) && (this.childSubscription = t.on("change", (e) => {
23
- this.current && (this.current.textContent = `${e}`);
24
- }));
25
- }
26
- };
27
- //#endregion
28
- export { r as DOMVisualElement };
29
-
30
- //# sourceMappingURL=DOMVisualElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DOMVisualElement.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs"],"sourcesContent":["import { isMotionValue } from '../../value/utils/is-motion-value.mjs';\nimport { DOMKeyframesResolver } from '../../animation/keyframes/DOMKeyframesResolver.mjs';\nimport { VisualElement } from '../VisualElement.mjs';\n\nclass DOMVisualElement extends VisualElement {\n constructor() {\n super(...arguments);\n this.KeyframeResolver = DOMKeyframesResolver;\n }\n sortInstanceNodePosition(a, b) {\n /**\n * compareDocumentPosition returns a bitmask, by using the bitwise &\n * we're returning true if 2 in that bitmask is set to true. 2 is set\n * to true if b preceeds a.\n */\n return a.compareDocumentPosition(b) & 2 ? 1 : -1;\n }\n getBaseTargetFromProps(props, key) {\n const style = props.style;\n return style ? style[key] : undefined;\n }\n removeValueFromRenderState(key, { vars, style }) {\n delete vars[key];\n delete style[key];\n }\n handleChildMotionValue() {\n if (this.childSubscription) {\n this.childSubscription();\n delete this.childSubscription;\n }\n const { children } = this.props;\n if (isMotionValue(children)) {\n this.childSubscription = children.on(\"change\", (latest) => {\n if (this.current) {\n this.current.textContent = `${latest}`;\n }\n });\n }\n }\n}\n\nexport { DOMVisualElement };\n//# sourceMappingURL=DOMVisualElement.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAN,cAA+B,EAAc;CACzC,cAAc;AAEV,EADA,MAAM,GAAG,UAAU,EACnB,KAAK,mBAAmB;;CAE5B,yBAAyB,GAAG,GAAG;AAM3B,SAAO,EAAE,wBAAwB,EAAE,GAAG,IAAI,IAAI;;CAElD,uBAAuB,GAAO,GAAK;EAC/B,IAAM,IAAQ,EAAM;AACpB,SAAO,IAAQ,EAAM,KAAO,KAAA;;CAEhC,2BAA2B,GAAK,EAAE,SAAM,YAAS;AAE7C,EADA,OAAO,EAAK,IACZ,OAAO,EAAM;;CAEjB,yBAAyB;AACrB,EAAI,KAAK,sBACL,KAAK,mBAAmB,EACxB,OAAO,KAAK;EAEhB,IAAM,EAAE,gBAAa,KAAK;AAC1B,EAAI,EAAc,EAAS,KACvB,KAAK,oBAAoB,EAAS,GAAG,WAAW,MAAW;AACvD,GAAI,KAAK,YACL,KAAK,QAAQ,cAAc,GAAG;IAEpC"}
@@ -1,6 +0,0 @@
1
- //#region node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs
2
- var e = (e) => e.startsWith("--");
3
- //#endregion
4
- export { e as isCSSVar };
5
-
6
- //# sourceMappingURL=is-css-var.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-css-var.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs"],"sourcesContent":["const isCSSVar = (name) => name.startsWith(\"--\");\n\nexport { isCSSVar };\n//# sourceMappingURL=is-css-var.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,KAAY,MAAS,EAAK,WAAW,KAAK"}
@@ -1,58 +0,0 @@
1
- //#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
2
- var e = (e) => e * 180 / Math.PI, t = (t) => r(e(Math.atan2(t[1], t[0]))), n = {
3
- x: 4,
4
- y: 5,
5
- translateX: 4,
6
- translateY: 5,
7
- scaleX: 0,
8
- scaleY: 3,
9
- scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
10
- rotate: t,
11
- rotateZ: t,
12
- skewX: (t) => e(Math.atan(t[1])),
13
- skewY: (t) => e(Math.atan(t[2])),
14
- skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
15
- }, r = (e) => (e %= 360, e < 0 && (e += 360), e), i = t, a = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), o = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), s = {
16
- x: 12,
17
- y: 13,
18
- z: 14,
19
- translateX: 12,
20
- translateY: 13,
21
- translateZ: 14,
22
- scaleX: a,
23
- scaleY: o,
24
- scale: (e) => (a(e) + o(e)) / 2,
25
- rotateX: (t) => r(e(Math.atan2(t[6], t[5]))),
26
- rotateY: (t) => r(e(Math.atan2(-t[2], t[0]))),
27
- rotateZ: i,
28
- rotate: i,
29
- skewX: (t) => e(Math.atan(t[4])),
30
- skewY: (t) => e(Math.atan(t[1])),
31
- skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
32
- };
33
- function c(e) {
34
- return +!!e.includes("scale");
35
- }
36
- function l(e, t) {
37
- if (!e || e === "none") return c(t);
38
- let r = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), i, a;
39
- if (r) i = s, a = r;
40
- else {
41
- let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
42
- i = n, a = t;
43
- }
44
- if (!a) return c(t);
45
- let o = i[t], l = a[1].split(",").map(d);
46
- return typeof o == "function" ? o(l) : l[o];
47
- }
48
- var u = (e, t) => {
49
- let { transform: n = "none" } = getComputedStyle(e);
50
- return l(n, t);
51
- };
52
- function d(e) {
53
- return parseFloat(e.trim());
54
- }
55
- //#endregion
56
- export { c as defaultTransformValue, l as parseValueFromTransform, u as readTransformValue };
57
-
58
- //# sourceMappingURL=parse-transform.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse-transform.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs"],"sourcesContent":["const radToDeg = (rad) => (rad * 180) / Math.PI;\nconst rotate = (v) => {\n const angle = radToDeg(Math.atan2(v[1], v[0]));\n return rebaseAngle(angle);\n};\nconst matrix2dParsers = {\n x: 4,\n y: 5,\n translateX: 4,\n translateY: 5,\n scaleX: 0,\n scaleY: 3,\n scale: (v) => (Math.abs(v[0]) + Math.abs(v[3])) / 2,\n rotate,\n rotateZ: rotate,\n skewX: (v) => radToDeg(Math.atan(v[1])),\n skewY: (v) => radToDeg(Math.atan(v[2])),\n skew: (v) => (Math.abs(v[1]) + Math.abs(v[2])) / 2,\n};\nconst rebaseAngle = (angle) => {\n angle = angle % 360;\n if (angle < 0)\n angle += 360;\n return angle;\n};\nconst rotateZ = rotate;\nconst scaleX = (v) => Math.sqrt(v[0] * v[0] + v[1] * v[1]);\nconst scaleY = (v) => Math.sqrt(v[4] * v[4] + v[5] * v[5]);\nconst matrix3dParsers = {\n x: 12,\n y: 13,\n z: 14,\n translateX: 12,\n translateY: 13,\n translateZ: 14,\n scaleX,\n scaleY,\n scale: (v) => (scaleX(v) + scaleY(v)) / 2,\n rotateX: (v) => rebaseAngle(radToDeg(Math.atan2(v[6], v[5]))),\n rotateY: (v) => rebaseAngle(radToDeg(Math.atan2(-v[2], v[0]))),\n rotateZ,\n rotate: rotateZ,\n skewX: (v) => radToDeg(Math.atan(v[4])),\n skewY: (v) => radToDeg(Math.atan(v[1])),\n skew: (v) => (Math.abs(v[1]) + Math.abs(v[4])) / 2,\n};\nfunction defaultTransformValue(name) {\n return name.includes(\"scale\") ? 1 : 0;\n}\nfunction parseValueFromTransform(transform, name) {\n if (!transform || transform === \"none\") {\n return defaultTransformValue(name);\n }\n const matrix3dMatch = transform.match(/^matrix3d\\(([-\\d.e\\s,]+)\\)$/u);\n let parsers;\n let match;\n if (matrix3dMatch) {\n parsers = matrix3dParsers;\n match = matrix3dMatch;\n }\n else {\n const matrix2dMatch = transform.match(/^matrix\\(([-\\d.e\\s,]+)\\)$/u);\n parsers = matrix2dParsers;\n match = matrix2dMatch;\n }\n if (!match) {\n return defaultTransformValue(name);\n }\n const valueParser = parsers[name];\n const values = match[1].split(\",\").map(convertTransformToNumber);\n return typeof valueParser === \"function\"\n ? valueParser(values)\n : values[valueParser];\n}\nconst readTransformValue = (instance, name) => {\n const { transform = \"none\" } = getComputedStyle(instance);\n return parseValueFromTransform(transform, name);\n};\nfunction convertTransformToNumber(value) {\n return parseFloat(value.trim());\n}\n\nexport { defaultTransformValue, parseValueFromTransform, readTransformValue };\n//# sourceMappingURL=parse-transform.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,KAAY,MAAS,IAAM,MAAO,KAAK,IACvC,KAAU,MAEL,EADO,EAAS,KAAK,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CACrB,EAEvB,IAAkB;CACpB,GAAG;CACH,GAAG;CACH,YAAY;CACZ,YAAY;CACZ,QAAQ;CACR,QAAQ;CACR,QAAQ,OAAO,KAAK,IAAI,EAAE,GAAG,GAAG,KAAK,IAAI,EAAE,GAAG,IAAI;CAClD;CACA,SAAS;CACT,QAAQ,MAAM,EAAS,KAAK,KAAK,EAAE,GAAG,CAAC;CACvC,QAAQ,MAAM,EAAS,KAAK,KAAK,EAAE,GAAG,CAAC;CACvC,OAAO,OAAO,KAAK,IAAI,EAAE,GAAG,GAAG,KAAK,IAAI,EAAE,GAAG,IAAI;CACpD,EACK,KAAe,OACjB,KAAgB,KACZ,IAAQ,MACR,KAAS,MACN,IAEL,IAAU,GACV,KAAU,MAAM,KAAK,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EACpD,KAAU,MAAM,KAAK,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EACpD,IAAkB;CACpB,GAAG;CACH,GAAG;CACH,GAAG;CACH,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ;CACA;CACA,QAAQ,OAAO,EAAO,EAAE,GAAG,EAAO,EAAE,IAAI;CACxC,UAAU,MAAM,EAAY,EAAS,KAAK,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;CAC7D,UAAU,MAAM,EAAY,EAAS,KAAK,MAAM,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;CAC9D;CACA,QAAQ;CACR,QAAQ,MAAM,EAAS,KAAK,KAAK,EAAE,GAAG,CAAC;CACvC,QAAQ,MAAM,EAAS,KAAK,KAAK,EAAE,GAAG,CAAC;CACvC,OAAO,OAAO,KAAK,IAAI,EAAE,GAAG,GAAG,KAAK,IAAI,EAAE,GAAG,IAAI;CACpD;AACD,SAAS,EAAsB,GAAM;AACjC,QAAO,KAAK,SAAS,QAAQ;;AAEjC,SAAS,EAAwB,GAAW,GAAM;AAC9C,KAAI,CAAC,KAAa,MAAc,OAC5B,QAAO,EAAsB,EAAK;CAEtC,IAAM,IAAgB,EAAU,MAAM,+BAA+B,EACjE,GACA;AACJ,KAAI,EAEA,CADA,IAAU,GACV,IAAQ;MAEP;EACD,IAAM,IAAgB,EAAU,MAAM,6BAA6B;AAEnE,EADA,IAAU,GACV,IAAQ;;AAEZ,KAAI,CAAC,EACD,QAAO,EAAsB,EAAK;CAEtC,IAAM,IAAc,EAAQ,IACtB,IAAS,EAAM,GAAG,MAAM,IAAI,CAAC,IAAI,EAAyB;AAChE,QAAO,OAAO,KAAgB,aACxB,EAAY,EAAO,GACnB,EAAO;;AAEjB,IAAM,KAAsB,GAAU,MAAS;CAC3C,IAAM,EAAE,eAAY,WAAW,iBAAiB,EAAS;AACzD,QAAO,EAAwB,GAAW,EAAK;;AAEnD,SAAS,EAAyB,GAAO;AACrC,QAAO,WAAW,EAAM,MAAM,CAAC"}
@@ -1,9 +0,0 @@
1
- import { isCSSVar as e } from "./is-css-var.js";
2
- //#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
3
- function t(t, n, r) {
4
- e(n) ? t.style.setProperty(n, r) : t.style[n] = r;
5
- }
6
- //#endregion
7
- export { t as setStyle };
8
-
9
- //# sourceMappingURL=style-set.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style-set.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/dom/style-set.mjs"],"sourcesContent":["import { isCSSVar } from './is-css-var.mjs';\n\nfunction setStyle(element, name, value) {\n isCSSVar(name)\n ? element.style.setProperty(name, value)\n : (element.style[name] = value);\n}\n\nexport { setStyle };\n//# sourceMappingURL=style-set.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAS,GAAS,GAAM,GAAO;AACpC,GAAS,EAAK,GACR,EAAQ,MAAM,YAAY,GAAM,EAAM,GACrC,EAAQ,MAAM,KAAQ"}
@@ -1,8 +0,0 @@
1
- //#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
2
- function e(e) {
3
- return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
4
- }
5
- //#endregion
6
- export { e as camelToDash };
7
-
8
- //# sourceMappingURL=camel-to-dash.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"camel-to-dash.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs"],"sourcesContent":["function camelToDash(str) {\n return str.replace(/([A-Z])/g, (match) => `-${match.toLowerCase()}`);\n}\n\nexport { camelToDash };\n//# sourceMappingURL=camel-to-dash.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAY,GAAK;AACtB,QAAO,EAAI,QAAQ,aAAa,MAAU,IAAI,EAAM,aAAa,GAAG"}
@@ -1,37 +0,0 @@
1
- import { isCSSVariableName as e } from "../../animation/utils/is-css-variable.js";
2
- import { defaultTransformValue as t, readTransformValue as n } from "../dom/parse-transform.js";
3
- import { transformProps as r } from "../utils/keys-transform.js";
4
- import { DOMVisualElement as i } from "../dom/DOMVisualElement.js";
5
- import { measureViewportBox as a } from "../../projection/utils/measure.js";
6
- import { buildHTMLStyles as o } from "./utils/build-styles.js";
7
- import { renderHTML as s } from "./utils/render.js";
8
- import { scrapeMotionValuesFromProps as c } from "./utils/scrape-motion-values.js";
9
- //#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
10
- function l(e) {
11
- return window.getComputedStyle(e);
12
- }
13
- var u = class extends i {
14
- constructor() {
15
- super(...arguments), this.type = "html", this.renderInstance = s;
16
- }
17
- readValueFromInstance(i, a) {
18
- if (r.has(a)) return this.projection?.isProjecting ? t(a) : n(i, a);
19
- {
20
- let t = l(i), n = (e(a) ? t.getPropertyValue(a) : t[a]) || 0;
21
- return typeof n == "string" ? n.trim() : n;
22
- }
23
- }
24
- measureInstanceViewportBox(e, { transformPagePoint: t }) {
25
- return a(e, t);
26
- }
27
- build(e, t, n) {
28
- o(e, t, n.transformTemplate);
29
- }
30
- scrapeMotionValuesFromProps(e, t, n) {
31
- return c(e, t, n);
32
- }
33
- };
34
- //#endregion
35
- export { u as HTMLVisualElement };
36
-
37
- //# sourceMappingURL=HTMLVisualElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HTMLVisualElement.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs"],"sourcesContent":["import { isCSSVariableName } from '../../animation/utils/is-css-variable.mjs';\nimport { transformProps } from '../utils/keys-transform.mjs';\nimport { defaultTransformValue, readTransformValue } from '../dom/parse-transform.mjs';\nimport { measureViewportBox } from '../../projection/utils/measure.mjs';\nimport { DOMVisualElement } from '../dom/DOMVisualElement.mjs';\nimport { buildHTMLStyles } from './utils/build-styles.mjs';\nimport { renderHTML } from './utils/render.mjs';\nimport { scrapeMotionValuesFromProps } from './utils/scrape-motion-values.mjs';\n\nfunction getComputedStyle(element) {\n return window.getComputedStyle(element);\n}\nclass HTMLVisualElement extends DOMVisualElement {\n constructor() {\n super(...arguments);\n this.type = \"html\";\n this.renderInstance = renderHTML;\n }\n readValueFromInstance(instance, key) {\n if (transformProps.has(key)) {\n return this.projection?.isProjecting\n ? defaultTransformValue(key)\n : readTransformValue(instance, key);\n }\n else {\n const computedStyle = getComputedStyle(instance);\n const value = (isCSSVariableName(key)\n ? computedStyle.getPropertyValue(key)\n : computedStyle[key]) || 0;\n return typeof value === \"string\" ? value.trim() : value;\n }\n }\n measureInstanceViewportBox(instance, { transformPagePoint }) {\n return measureViewportBox(instance, transformPagePoint);\n }\n build(renderState, latestValues, props) {\n buildHTMLStyles(renderState, latestValues, props.transformTemplate);\n }\n scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n return scrapeMotionValuesFromProps(props, prevProps, visualElement);\n }\n}\n\nexport { HTMLVisualElement, getComputedStyle };\n//# sourceMappingURL=HTMLVisualElement.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AASA,SAAS,EAAiB,GAAS;AAC/B,QAAO,OAAO,iBAAiB,EAAQ;;AAE3C,IAAM,IAAN,cAAgC,EAAiB;CAC7C,cAAc;AAGV,EAFA,MAAM,GAAG,UAAU,EACnB,KAAK,OAAO,QACZ,KAAK,iBAAiB;;CAE1B,sBAAsB,GAAU,GAAK;AACjC,MAAI,EAAe,IAAI,EAAI,CACvB,QAAO,KAAK,YAAY,eAClB,EAAsB,EAAI,GAC1B,EAAmB,GAAU,EAAI;EAEtC;GACD,IAAM,IAAgB,EAAiB,EAAS,EAC1C,KAAS,EAAkB,EAAI,GAC/B,EAAc,iBAAiB,EAAI,GACnC,EAAc,OAAS;AAC7B,UAAO,OAAO,KAAU,WAAW,EAAM,MAAM,GAAG;;;CAG1D,2BAA2B,GAAU,EAAE,yBAAsB;AACzD,SAAO,EAAmB,GAAU,EAAmB;;CAE3D,MAAM,GAAa,GAAc,GAAO;AACpC,IAAgB,GAAa,GAAc,EAAM,kBAAkB;;CAEvE,4BAA4B,GAAO,GAAW,GAAe;AACzD,SAAO,EAA4B,GAAO,GAAW,EAAc"}
@@ -1,30 +0,0 @@
1
- import { isCSSVariableName as e } from "../../../animation/utils/is-css-variable.js";
2
- import { transformProps as t } from "../../utils/keys-transform.js";
3
- import { numberValueTypes as n } from "../../../value/types/maps/number.js";
4
- import { getValueAsType as r } from "../../../value/types/utils/get-as-type.js";
5
- import { buildTransform as i } from "./build-transform.js";
6
- //#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
7
- function a(a, o, s) {
8
- let { style: c, vars: l, transformOrigin: u } = a, d = !1, f = !1;
9
- for (let i in o) {
10
- let a = o[i];
11
- if (t.has(i)) {
12
- d = !0;
13
- continue;
14
- } else if (e(i)) {
15
- l[i] = a;
16
- continue;
17
- } else {
18
- let e = r(a, n[i]);
19
- i.startsWith("origin") ? (f = !0, u[i] = e) : c[i] = e;
20
- }
21
- }
22
- if (o.transform || (d || s ? c.transform = i(o, a.transform, s) : c.transform &&= "none"), f) {
23
- let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = u;
24
- c.transformOrigin = `${e} ${t} ${n}`;
25
- }
26
- }
27
- //#endregion
28
- export { a as buildHTMLStyles };
29
-
30
- //# sourceMappingURL=build-styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"build-styles.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs"],"sourcesContent":["import { getValueAsType } from '../../../value/types/utils/get-as-type.mjs';\nimport { numberValueTypes } from '../../../value/types/maps/number.mjs';\nimport { transformProps } from '../../utils/keys-transform.mjs';\nimport { isCSSVariableName } from '../../../animation/utils/is-css-variable.mjs';\nimport { buildTransform } from './build-transform.mjs';\n\nfunction buildHTMLStyles(state, latestValues, transformTemplate) {\n const { style, vars, transformOrigin } = state;\n // Track whether we encounter any transform or transformOrigin values.\n let hasTransform = false;\n let hasTransformOrigin = false;\n /**\n * Loop over all our latest animated values and decide whether to handle them\n * as a style or CSS variable.\n *\n * Transforms and transform origins are kept separately for further processing.\n */\n for (const key in latestValues) {\n const value = latestValues[key];\n if (transformProps.has(key)) {\n // If this is a transform, flag to enable further transform processing\n hasTransform = true;\n continue;\n }\n else if (isCSSVariableName(key)) {\n vars[key] = value;\n continue;\n }\n else {\n // Convert the value to its default value type, ie 0 -> \"0px\"\n const valueAsType = getValueAsType(value, numberValueTypes[key]);\n if (key.startsWith(\"origin\")) {\n // If this is a transform origin, flag and enable further transform-origin processing\n hasTransformOrigin = true;\n transformOrigin[key] =\n valueAsType;\n }\n else {\n style[key] = valueAsType;\n }\n }\n }\n if (!latestValues.transform) {\n if (hasTransform || transformTemplate) {\n style.transform = buildTransform(latestValues, state.transform, transformTemplate);\n }\n else if (style.transform) {\n /**\n * If we have previously created a transform but currently don't have any,\n * reset transform style to none.\n */\n style.transform = \"none\";\n }\n }\n /**\n * Build a transformOrigin style. Uses the same defaults as the browser for\n * undefined origins.\n */\n if (hasTransformOrigin) {\n const { originX = \"50%\", originY = \"50%\", originZ = 0, } = transformOrigin;\n style.transformOrigin = `${originX} ${originY} ${originZ}`;\n }\n}\n\nexport { buildHTMLStyles };\n//# sourceMappingURL=build-styles.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAMA,SAAS,EAAgB,GAAO,GAAc,GAAmB;CAC7D,IAAM,EAAE,UAAO,SAAM,uBAAoB,GAErC,IAAe,IACf,IAAqB;AAOzB,MAAK,IAAM,KAAO,GAAc;EAC5B,IAAM,IAAQ,EAAa;AAC3B,MAAI,EAAe,IAAI,EAAI,EAAE;AAEzB,OAAe;AACf;aAEK,EAAkB,EAAI,EAAE;AAC7B,KAAK,KAAO;AACZ;SAEC;GAED,IAAM,IAAc,EAAe,GAAO,EAAiB,GAAK;AAChE,GAAI,EAAI,WAAW,SAAS,IAExB,IAAqB,IACrB,EAAgB,KACZ,KAGJ,EAAM,KAAO;;;AAoBzB,KAhBK,EAAa,cACV,KAAgB,IAChB,EAAM,YAAY,EAAe,GAAc,EAAM,WAAW,EAAkB,GAOlF,EAAM,cAAY,SAOtB,GAAoB;EACpB,IAAM,EAAE,aAAU,OAAO,aAAU,OAAO,aAAU,MAAO;AAC3D,IAAM,kBAAkB,GAAG,EAAQ,GAAG,EAAQ,GAAG"}
@@ -1,37 +0,0 @@
1
- import { transformPropOrder as e } from "../../utils/keys-transform.js";
2
- import { numberValueTypes as t } from "../../../value/types/maps/number.js";
3
- import { getValueAsType as n } from "../../../value/types/utils/get-as-type.js";
4
- //#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
5
- var r = {
6
- x: "translateX",
7
- y: "translateY",
8
- z: "translateZ",
9
- transformPerspective: "perspective"
10
- }, i = e.length;
11
- function a(a, o, s) {
12
- let c = "", l = !0;
13
- for (let u = 0; u < i; u++) {
14
- let i = e[u], d = a[i];
15
- if (d === void 0) continue;
16
- let f = !0;
17
- if (typeof d == "number") f = d === +!!i.startsWith("scale");
18
- else {
19
- let e = parseFloat(d);
20
- f = i.startsWith("scale") ? e === 1 : e === 0;
21
- }
22
- if (!f || s) {
23
- let e = n(d, t[i]);
24
- if (!f) {
25
- l = !1;
26
- let t = r[i] || i;
27
- c += `${t}(${e}) `;
28
- }
29
- s && (o[i] = e);
30
- }
31
- }
32
- return c = c.trim(), s ? c = s(o, l ? "" : c) : l && (c = "none"), c;
33
- }
34
- //#endregion
35
- export { a as buildTransform };
36
-
37
- //# sourceMappingURL=build-transform.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"build-transform.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs"],"sourcesContent":["import { getValueAsType } from '../../../value/types/utils/get-as-type.mjs';\nimport { numberValueTypes } from '../../../value/types/maps/number.mjs';\nimport { transformPropOrder } from '../../utils/keys-transform.mjs';\n\nconst translateAlias = {\n x: \"translateX\",\n y: \"translateY\",\n z: \"translateZ\",\n transformPerspective: \"perspective\",\n};\nconst numTransforms = transformPropOrder.length;\n/**\n * Build a CSS transform style from individual x/y/scale etc properties.\n *\n * This outputs with a default order of transforms/scales/rotations, this can be customised by\n * providing a transformTemplate function.\n */\nfunction buildTransform(latestValues, transform, transformTemplate) {\n // The transform string we're going to build into.\n let transformString = \"\";\n let transformIsDefault = true;\n /**\n * Loop over all possible transforms in order, adding the ones that\n * are present to the transform string.\n */\n for (let i = 0; i < numTransforms; i++) {\n const key = transformPropOrder[i];\n const value = latestValues[key];\n if (value === undefined)\n continue;\n let valueIsDefault = true;\n if (typeof value === \"number\") {\n valueIsDefault = value === (key.startsWith(\"scale\") ? 1 : 0);\n }\n else {\n const parsed = parseFloat(value);\n valueIsDefault = key.startsWith(\"scale\") ? parsed === 1 : parsed === 0;\n }\n if (!valueIsDefault || transformTemplate) {\n const valueAsType = getValueAsType(value, numberValueTypes[key]);\n if (!valueIsDefault) {\n transformIsDefault = false;\n const transformName = translateAlias[key] || key;\n transformString += `${transformName}(${valueAsType}) `;\n }\n if (transformTemplate) {\n transform[key] = valueAsType;\n }\n }\n }\n transformString = transformString.trim();\n // If we have a custom `transform` template, pass our transform values and\n // generated transformString to that before returning\n if (transformTemplate) {\n transformString = transformTemplate(transform, transformIsDefault ? \"\" : transformString);\n }\n else if (transformIsDefault) {\n transformString = \"none\";\n }\n return transformString;\n}\n\nexport { buildTransform };\n//# sourceMappingURL=build-transform.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAiB;CACnB,GAAG;CACH,GAAG;CACH,GAAG;CACH,sBAAsB;CACzB,EACK,IAAgB,EAAmB;AAOzC,SAAS,EAAe,GAAc,GAAW,GAAmB;CAEhE,IAAI,IAAkB,IAClB,IAAqB;AAKzB,MAAK,IAAI,IAAI,GAAG,IAAI,GAAe,KAAK;EACpC,IAAM,IAAM,EAAmB,IACzB,IAAQ,EAAa;AAC3B,MAAI,MAAU,KAAA,EACV;EACJ,IAAI,IAAiB;AACrB,MAAI,OAAO,KAAU,SACjB,KAAiB,MAAW,KAAI,WAAW,QAAQ;OAElD;GACD,IAAM,IAAS,WAAW,EAAM;AAChC,OAAiB,EAAI,WAAW,QAAQ,GAAG,MAAW,IAAI,MAAW;;AAEzE,MAAI,CAAC,KAAkB,GAAmB;GACtC,IAAM,IAAc,EAAe,GAAO,EAAiB,GAAK;AAChE,OAAI,CAAC,GAAgB;AACjB,QAAqB;IACrB,IAAM,IAAgB,EAAe,MAAQ;AAC7C,SAAmB,GAAG,EAAc,GAAG,EAAY;;AAEvD,GAAI,MACA,EAAU,KAAO;;;AAa7B,QATA,IAAkB,EAAgB,MAAM,EAGpC,IACA,IAAkB,EAAkB,GAAW,IAAqB,KAAK,EAAgB,GAEpF,MACL,IAAkB,SAEf"}
@@ -1,10 +0,0 @@
1
- //#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
2
- function e(e, { style: t, vars: n }, r, i) {
3
- let a = e.style, o;
4
- for (o in t) a[o] = t[o];
5
- for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
6
- }
7
- //#endregion
8
- export { e as renderHTML };
9
-
10
- //# sourceMappingURL=render.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"render.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/html/utils/render.mjs"],"sourcesContent":["function renderHTML(element, { style, vars }, styleProp, projection) {\n const elementStyle = element.style;\n let key;\n for (key in style) {\n // CSSStyleDeclaration has [index: number]: string; in the types, so we use that as key type.\n elementStyle[key] = style[key];\n }\n // Write projection styles directly to element style\n projection?.applyProjectionStyles(elementStyle, styleProp);\n for (key in vars) {\n // Loop over any CSS variables and assign those.\n // They can only be assigned using `setProperty`.\n elementStyle.setProperty(key, vars[key]);\n }\n}\n\nexport { renderHTML };\n//# sourceMappingURL=render.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAW,GAAS,EAAE,UAAO,WAAQ,GAAW,GAAY;CACjE,IAAM,IAAe,EAAQ,OACzB;AACJ,MAAK,KAAO,EAER,GAAa,KAAO,EAAM;AAI9B,MAAK,KADL,GAAY,sBAAsB,GAAc,EAAU,EAC9C,EAGR,GAAa,YAAY,GAAK,EAAK,GAAK"}
@@ -1,13 +0,0 @@
1
- import { isMotionValue as e } from "../../../value/utils/is-motion-value.js";
2
- import { isForcedMotionValue as t } from "../../utils/is-forced-motion-value.js";
3
- //#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
4
- function n(n, r, i) {
5
- let a = n.style, o = r?.style, s = {};
6
- if (!a) return s;
7
- for (let r in a) (e(a[r]) || o && e(o[r]) || t(r, n) || i?.getValue(r)?.liveStyle !== void 0) && (s[r] = a[r]);
8
- return s;
9
- }
10
- //#endregion
11
- export { n as scrapeMotionValuesFromProps };
12
-
13
- //# sourceMappingURL=scrape-motion-values.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scrape-motion-values.js","names":[],"sources":["../../../../../../../../node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs"],"sourcesContent":["import { isMotionValue } from '../../../value/utils/is-motion-value.mjs';\nimport { isForcedMotionValue } from '../../utils/is-forced-motion-value.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const style = props.style;\n const prevStyle = prevProps?.style;\n const newValues = {};\n if (!style)\n return newValues;\n for (const key in style) {\n if (isMotionValue(style[key]) ||\n (prevStyle && isMotionValue(prevStyle[key])) ||\n isForcedMotionValue(key, props) ||\n visualElement?.getValue(key)?.liveStyle !== undefined) {\n newValues[key] = style[key];\n }\n }\n return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n//# sourceMappingURL=scrape-motion-values.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAA4B,GAAO,GAAW,GAAe;CAClE,IAAM,IAAQ,EAAM,OACd,IAAY,GAAW,OACvB,IAAY,EAAE;AACpB,KAAI,CAAC,EACD,QAAO;AACX,MAAK,IAAM,KAAO,EACd,EAAI,EAAc,EAAM,GAAK,IACxB,KAAa,EAAc,EAAU,GAAK,IAC3C,EAAoB,GAAK,EAAM,IAC/B,GAAe,SAAS,EAAI,EAAE,cAAc,KAAA,OAC5C,EAAU,KAAO,EAAM;AAG/B,QAAO"}
@@ -1,6 +0,0 @@
1
- //#region node_modules/motion-dom/dist/es/render/store.mjs
2
- var e = /* @__PURE__ */ new WeakMap();
3
- //#endregion
4
- export { e as visualElementStore };
5
-
6
- //# sourceMappingURL=store.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"store.js","names":[],"sources":["../../../../../../node_modules/motion-dom/dist/es/render/store.mjs"],"sourcesContent":["const visualElementStore = new WeakMap();\n\nexport { visualElementStore };\n//# sourceMappingURL=store.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,oBAAqB,IAAI,SAAS"}