@windrun-huaiin/third-ui 14.2.0 → 14.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (550) hide show
  1. package/dist/fuma/mdx/index.d.ts +1 -0
  2. package/dist/fuma/mdx/index.js +2 -0
  3. package/dist/fuma/mdx/index.mjs +1 -0
  4. package/dist/fuma/mdx/suno-embed.d.ts +7 -0
  5. package/dist/fuma/mdx/suno-embed.js +120 -0
  6. package/dist/fuma/mdx/suno-embed.mjs +118 -0
  7. package/dist/main/delayed-img.js +2 -1
  8. package/dist/main/delayed-img.mjs +3 -2
  9. package/dist/main/index.d.ts +1 -0
  10. package/dist/main/index.js +3 -0
  11. package/dist/main/index.mjs +1 -0
  12. package/dist/main/snake-loading-frame.d.ts +23 -0
  13. package/dist/main/snake-loading-frame.js +344 -0
  14. package/dist/main/snake-loading-frame.mjs +341 -0
  15. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +47 -0
  16. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs +45 -0
  17. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
  18. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs +6 -0
  19. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
  20. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LazyContext.mjs +6 -0
  21. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +15 -0
  22. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs +13 -0
  23. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/create.js +16 -0
  24. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs +14 -0
  25. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
  26. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs +6 -0
  27. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +19 -0
  28. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs +17 -0
  29. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/PresenceContext.js +12 -0
  30. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/PresenceContext.mjs +10 -0
  31. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +11 -0
  32. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs +9 -0
  33. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
  34. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs +8 -0
  35. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/event-info.js +16 -0
  36. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/event-info.mjs +13 -0
  37. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +576 -0
  38. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs +573 -0
  39. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/index.js +52 -0
  40. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/index.mjs +50 -0
  41. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +141 -0
  42. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs +129 -0
  43. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/focus.js +43 -0
  44. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/focus.mjs +41 -0
  45. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
  46. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/hover.mjs +30 -0
  47. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +282 -0
  48. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs +280 -0
  49. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/index.js +52 -0
  50. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/index.mjs +50 -0
  51. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/press.js +39 -0
  52. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/press.mjs +37 -0
  53. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +69 -0
  54. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs +67 -0
  55. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/index.js +42 -0
  56. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs +40 -0
  57. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animations.js +15 -0
  58. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animations.mjs +13 -0
  59. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/definitions.js +51 -0
  60. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/definitions.mjs +48 -0
  61. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/drag.js +19 -0
  62. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/drag.mjs +17 -0
  63. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/gestures.js +23 -0
  64. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/gestures.mjs +21 -0
  65. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +139 -0
  66. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs +137 -0
  67. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout.js +13 -0
  68. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout.mjs +11 -0
  69. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/load-features.js +17 -0
  70. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/load-features.mjs +15 -0
  71. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +78 -0
  72. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs +76 -0
  73. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +51 -0
  74. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs +49 -0
  75. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/index.js +114 -0
  76. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/index.mjs +112 -0
  77. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/symbol.js +5 -0
  78. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs +3 -0
  79. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +53 -0
  80. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs +51 -0
  81. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +167 -0
  82. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs +165 -0
  83. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +82 -0
  84. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs +80 -0
  85. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +60 -0
  86. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs +58 -0
  87. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/create-proxy.js +47 -0
  88. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs +45 -0
  89. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
  90. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs +13 -0
  91. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
  92. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs +7 -0
  93. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +20 -0
  94. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs +18 -0
  95. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/use-render.js +29 -0
  96. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/use-render.mjs +27 -0
  97. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +69 -0
  98. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs +66 -0
  99. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +32 -0
  100. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs +30 -0
  101. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
  102. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs +11 -0
  103. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-props.js +61 -0
  104. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-props.mjs +58 -0
  105. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +10 -0
  106. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs +8 -0
  107. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +35 -0
  108. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs +33 -0
  109. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-props.js +27 -0
  110. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-props.mjs +25 -0
  111. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
  112. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs +11 -0
  113. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
  114. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs +8 -0
  115. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/distance.js +12 -0
  116. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/distance.mjs +9 -0
  117. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/get-context-window.js +8 -0
  118. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/get-context-window.mjs +6 -0
  119. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-browser.js +5 -0
  120. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-browser.mjs +3 -0
  121. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-ref-object.js +9 -0
  122. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs +7 -0
  123. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-animation-frame.js +24 -0
  124. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs +22 -0
  125. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-constant.js +21 -0
  126. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-constant.mjs +19 -0
  127. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
  128. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs +7 -0
  129. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-combine-values.js +40 -0
  130. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-combine-values.mjs +38 -0
  131. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-computed.js +22 -0
  132. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-computed.mjs +20 -0
  133. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-motion-value.js +41 -0
  134. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-motion-value.mjs +39 -0
  135. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-transform.js +50 -0
  136. package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-transform.mjs +48 -0
  137. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +201 -0
  138. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +199 -0
  139. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/JSAnimation.js +387 -0
  140. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs +385 -0
  141. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +182 -0
  142. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs +180 -0
  143. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +89 -0
  144. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +87 -0
  145. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/animate/single-value.js +13 -0
  146. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs +11 -0
  147. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/drivers/frame.js +19 -0
  148. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs +17 -0
  149. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/inertia.js +89 -0
  150. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs +87 -0
  151. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +54 -0
  152. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs +51 -0
  153. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/spring.js +332 -0
  154. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/spring.mjs +330 -0
  155. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +20 -0
  156. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +17 -0
  157. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +21 -0
  158. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +19 -0
  159. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +7 -0
  160. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +5 -0
  161. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
  162. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs +9 -0
  163. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +106 -0
  164. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs +104 -0
  165. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +101 -0
  166. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs +99 -0
  167. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +61 -0
  168. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs +59 -0
  169. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +28 -0
  170. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs +26 -0
  171. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +143 -0
  172. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +141 -0
  173. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +150 -0
  174. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs +147 -0
  175. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +13 -0
  176. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs +11 -0
  177. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +11 -0
  178. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs +9 -0
  179. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
  180. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs +12 -0
  181. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +7 -0
  182. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs +5 -0
  183. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +9 -0
  184. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +7 -0
  185. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +17 -0
  186. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs +15 -0
  187. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +32 -0
  188. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs +30 -0
  189. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +50 -0
  190. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs +46 -0
  191. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +9 -0
  192. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs +6 -0
  193. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
  194. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs +7 -0
  195. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +28 -0
  196. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs +26 -0
  197. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +17 -0
  198. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs +15 -0
  199. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +45 -0
  200. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs +43 -0
  201. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +45 -0
  202. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs +42 -0
  203. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +42 -0
  204. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs +40 -0
  205. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +15 -0
  206. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs +13 -0
  207. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +32 -0
  208. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs +30 -0
  209. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +30 -0
  210. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs +26 -0
  211. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +28 -0
  212. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs +26 -0
  213. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
  214. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs +6 -0
  215. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +20 -0
  216. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +18 -0
  217. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +16 -0
  218. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs +14 -0
  219. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +5 -0
  220. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +3 -0
  221. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +30 -0
  222. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +28 -0
  223. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +17 -0
  224. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs +15 -0
  225. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +31 -0
  226. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +29 -0
  227. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +54 -0
  228. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +52 -0
  229. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +16 -0
  230. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs +14 -0
  231. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +17 -0
  232. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +15 -0
  233. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +14 -0
  234. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs +12 -0
  235. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +14 -0
  236. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs +12 -0
  237. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +22 -0
  238. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +20 -0
  239. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
  240. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/events/add-dom-event.mjs +6 -0
  241. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/batcher.js +74 -0
  242. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/batcher.mjs +72 -0
  243. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.js +11 -0
  244. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.mjs +6 -0
  245. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/microtask.js +8 -0
  246. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/microtask.mjs +6 -0
  247. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/order.js +14 -0
  248. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/order.mjs +12 -0
  249. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/render-step.js +85 -0
  250. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/render-step.mjs +83 -0
  251. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/sync-time.js +33 -0
  252. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs +31 -0
  253. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
  254. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs +9 -0
  255. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +30 -0
  256. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs +28 -0
  257. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/hover.js +71 -0
  258. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/hover.mjs +69 -0
  259. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/index.js +91 -0
  260. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/index.mjs +89 -0
  261. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +36 -0
  262. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +33 -0
  263. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +40 -0
  264. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +38 -0
  265. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +5 -0
  266. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs +3 -0
  267. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +22 -0
  268. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +20 -0
  269. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +20 -0
  270. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +18 -0
  271. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/setup.js +17 -0
  272. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs +15 -0
  273. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +75 -0
  274. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs +73 -0
  275. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +37 -0
  276. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs +33 -0
  277. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/copy.js +35 -0
  278. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs +31 -0
  279. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +133 -0
  280. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs +124 -0
  281. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +67 -0
  282. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs +58 -0
  283. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +59 -0
  284. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs +54 -0
  285. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/models.js +22 -0
  286. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/models.mjs +17 -0
  287. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/utils.js +39 -0
  288. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs +31 -0
  289. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
  290. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs +13 -0
  291. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +30 -0
  292. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs +27 -0
  293. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1644 -0
  294. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs +1637 -0
  295. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/state.js +21 -0
  296. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/state.mjs +19 -0
  297. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/shared/stack.js +86 -0
  298. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/shared/stack.mjs +84 -0
  299. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +44 -0
  300. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs +41 -0
  301. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +37 -0
  302. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs +35 -0
  303. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +23 -0
  304. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs +21 -0
  305. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/transform.js +51 -0
  306. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/transform.mjs +49 -0
  307. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +5 -0
  308. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs +3 -0
  309. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +7 -0
  310. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs +5 -0
  311. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +26 -0
  312. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs +24 -0
  313. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +30 -0
  314. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs +26 -0
  315. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/measure.js +20 -0
  316. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/measure.mjs +17 -0
  317. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.js +16 -0
  318. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.mjs +14 -0
  319. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/VisualElement.js +567 -0
  320. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/VisualElement.mjs +563 -0
  321. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +44 -0
  322. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs +42 -0
  323. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +5 -0
  324. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs +3 -0
  325. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +87 -0
  326. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs +83 -0
  327. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/style-set.js +11 -0
  328. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/style-set.mjs +9 -0
  329. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +7 -0
  330. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs +5 -0
  331. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +47 -0
  332. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs +44 -0
  333. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +67 -0
  334. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs +65 -0
  335. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +65 -0
  336. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs +63 -0
  337. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/render.js +19 -0
  338. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/render.mjs +17 -0
  339. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +23 -0
  340. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs +21 -0
  341. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/store.js +5 -0
  342. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/store.mjs +3 -0
  343. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +47 -0
  344. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs +45 -0
  345. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +74 -0
  346. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs +72 -0
  347. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +32 -0
  348. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs +30 -0
  349. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +5 -0
  350. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs +3 -0
  351. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/path.js +33 -0
  352. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs +31 -0
  353. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/render.js +14 -0
  354. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs +12 -0
  355. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +21 -0
  356. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs +19 -0
  357. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/animation-state.js +388 -0
  358. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs +385 -0
  359. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +34 -0
  360. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs +32 -0
  361. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +9 -0
  362. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs +7 -0
  363. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +16 -0
  364. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs +13 -0
  365. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +14 -0
  366. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs +11 -0
  367. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +7 -0
  368. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs +5 -0
  369. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +10 -0
  370. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs +8 -0
  371. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
  372. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs +13 -0
  373. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +31 -0
  374. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs +28 -0
  375. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/motion-values.js +57 -0
  376. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs +55 -0
  377. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +23 -0
  378. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs +19 -0
  379. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +8 -0
  380. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs +5 -0
  381. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
  382. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs +8 -0
  383. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +38 -0
  384. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs +36 -0
  385. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/setters.js +33 -0
  386. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/setters.mjs +31 -0
  387. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +16 -0
  388. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs +14 -0
  389. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/variant-props.js +15 -0
  390. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs +12 -0
  391. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-element.js +65 -0
  392. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-element.mjs +63 -0
  393. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-window.js +33 -0
  394. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-window.mjs +31 -0
  395. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/index.js +10 -0
  396. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/index.mjs +8 -0
  397. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/delay.js +22 -0
  398. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/delay.mjs +20 -0
  399. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/interpolate.js +81 -0
  400. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/interpolate.mjs +79 -0
  401. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-html-element.js +15 -0
  402. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-html-element.mjs +13 -0
  403. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-element.js +13 -0
  404. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs +11 -0
  405. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +13 -0
  406. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs +11 -0
  407. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/color.js +50 -0
  408. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/color.mjs +47 -0
  409. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/complex.js +98 -0
  410. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/complex.mjs +93 -0
  411. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/immediate.js +7 -0
  412. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs +5 -0
  413. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/index.js +16 -0
  414. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/index.mjs +14 -0
  415. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/number.js +28 -0
  416. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/number.mjs +26 -0
  417. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/visibility.js +19 -0
  418. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs +16 -0
  419. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/resolve-elements.js +19 -0
  420. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs +17 -0
  421. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/flags.js +9 -0
  422. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/flags.mjs +7 -0
  423. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +17 -0
  424. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs +15 -0
  425. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
  426. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/memo.mjs +9 -0
  427. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
  428. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +5 -0
  429. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/transform.js +16 -0
  430. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/transform.mjs +14 -0
  431. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/index.js +322 -0
  432. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/index.mjs +319 -0
  433. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/auto.js +11 -0
  434. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/auto.mjs +9 -0
  435. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hex.js +42 -0
  436. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hex.mjs +40 -0
  437. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +44 -0
  438. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs +42 -0
  439. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla.js +24 -0
  440. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs +22 -0
  441. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/index.js +34 -0
  442. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/index.mjs +32 -0
  443. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/rgba.js +28 -0
  444. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs +25 -0
  445. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/utils.js +32 -0
  446. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/utils.mjs +29 -0
  447. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/filter.js +32 -0
  448. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs +30 -0
  449. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/index.js +116 -0
  450. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/index.mjs +113 -0
  451. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/mask.js +14 -0
  452. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs +12 -0
  453. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
  454. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/dimensions.mjs +15 -0
  455. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
  456. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/int.mjs +8 -0
  457. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +36 -0
  458. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs +33 -0
  459. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/number.js +72 -0
  460. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/number.mjs +70 -0
  461. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/transform.js +33 -0
  462. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs +31 -0
  463. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/index.js +21 -0
  464. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs +17 -0
  465. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/units.js +25 -0
  466. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs +18 -0
  467. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/test.js +8 -0
  468. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/test.mjs +6 -0
  469. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +19 -0
  470. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs +17 -0
  471. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +5 -0
  472. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs +3 -0
  473. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/find.js +17 -0
  474. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/find.mjs +15 -0
  475. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +5 -0
  476. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs +3 -0
  477. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +12 -0
  478. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs +10 -0
  479. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +7 -0
  480. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs +5 -0
  481. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +7 -0
  482. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs +5 -0
  483. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +5 -0
  484. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs +3 -0
  485. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +5 -0
  486. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs +3 -0
  487. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +12 -0
  488. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs +10 -0
  489. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +22 -0
  490. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs +20 -0
  491. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
  492. package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/is.mjs +7 -0
  493. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/array.js +14 -0
  494. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/array.mjs +11 -0
  495. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/clamp.js +11 -0
  496. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/clamp.mjs +9 -0
  497. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/anticipate.js +11 -0
  498. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/anticipate.mjs +9 -0
  499. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/back.js +13 -0
  500. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/back.mjs +9 -0
  501. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/circ.js +12 -0
  502. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/circ.mjs +8 -0
  503. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +53 -0
  504. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs +51 -0
  505. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/ease.js +11 -0
  506. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/ease.mjs +7 -0
  507. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +7 -0
  508. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs +5 -0
  509. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +7 -0
  510. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs +5 -0
  511. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +5 -0
  512. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs +3 -0
  513. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +7 -0
  514. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs +5 -0
  515. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/map.js +43 -0
  516. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/map.mjs +41 -0
  517. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/errors.js +19 -0
  518. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/errors.mjs +19 -0
  519. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/format-error-message.js +9 -0
  520. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/format-error-message.mjs +7 -0
  521. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/global-config.js +5 -0
  522. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/global-config.mjs +3 -0
  523. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-numerical-string.js +8 -0
  524. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-numerical-string.mjs +6 -0
  525. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-object.js +7 -0
  526. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-object.mjs +5 -0
  527. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-zero-value-string.js +8 -0
  528. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-zero-value-string.mjs +6 -0
  529. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/memo.js +13 -0
  530. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/memo.mjs +11 -0
  531. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/noop.js +6 -0
  532. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/noop.mjs +4 -0
  533. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/pipe.js +13 -0
  534. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/pipe.mjs +11 -0
  535. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/progress.js +21 -0
  536. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/progress.mjs +19 -0
  537. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/subscription-manager.js +42 -0
  538. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/subscription-manager.mjs +40 -0
  539. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/time-conversion.js +15 -0
  540. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/time-conversion.mjs +12 -0
  541. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/velocity-per-second.js +13 -0
  542. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/velocity-per-second.mjs +11 -0
  543. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/warn-once.js +13 -0
  544. package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/warn-once.mjs +11 -0
  545. package/package.json +2 -1
  546. package/src/fuma/mdx/index.ts +2 -1
  547. package/src/fuma/mdx/suno-embed.tsx +213 -0
  548. package/src/main/delayed-img.tsx +12 -10
  549. package/src/main/index.ts +2 -1
  550. package/src/main/snake-loading-frame.tsx +709 -0
@@ -0,0 +1,133 @@
1
+ 'use strict';
2
+
3
+ var number = require('../../utils/mix/number.js');
4
+ var hasTransform = require('../utils/has-transform.js');
5
+
6
+ /**
7
+ * Scales a point based on a factor and an originPoint
8
+ */
9
+ function scalePoint(point, scale, originPoint) {
10
+ const distanceFromOrigin = point - originPoint;
11
+ const scaled = scale * distanceFromOrigin;
12
+ return originPoint + scaled;
13
+ }
14
+ /**
15
+ * Applies a translate/scale delta to a point
16
+ */
17
+ function applyPointDelta(point, translate, scale, originPoint, boxScale) {
18
+ if (boxScale !== undefined) {
19
+ point = scalePoint(point, boxScale, originPoint);
20
+ }
21
+ return scalePoint(point, scale, originPoint) + translate;
22
+ }
23
+ /**
24
+ * Applies a translate/scale delta to an axis
25
+ */
26
+ function applyAxisDelta(axis, translate = 0, scale = 1, originPoint, boxScale) {
27
+ axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);
28
+ axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);
29
+ }
30
+ /**
31
+ * Applies a translate/scale delta to a box
32
+ */
33
+ function applyBoxDelta(box, { x, y }) {
34
+ applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);
35
+ applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);
36
+ }
37
+ const TREE_SCALE_SNAP_MIN = 0.999999999999;
38
+ const TREE_SCALE_SNAP_MAX = 1.0000000000001;
39
+ /**
40
+ * Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms
41
+ * in a tree upon our box before then calculating how to project it into our desired viewport-relative box
42
+ *
43
+ * This is the final nested loop within updateLayoutDelta for future refactoring
44
+ */
45
+ function applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) {
46
+ const treeLength = treePath.length;
47
+ if (!treeLength)
48
+ return;
49
+ // Reset the treeScale
50
+ treeScale.x = treeScale.y = 1;
51
+ let node;
52
+ let delta;
53
+ for (let i = 0; i < treeLength; i++) {
54
+ node = treePath[i];
55
+ delta = node.projectionDelta;
56
+ /**
57
+ * TODO: Prefer to remove this, but currently we have motion components with
58
+ * display: contents in Framer.
59
+ */
60
+ const { visualElement } = node.options;
61
+ if (visualElement &&
62
+ visualElement.props.style &&
63
+ visualElement.props.style.display === "contents") {
64
+ continue;
65
+ }
66
+ if (isSharedTransition &&
67
+ node.options.layoutScroll &&
68
+ node.scroll &&
69
+ node !== node.root) {
70
+ translateAxis(box.x, -node.scroll.offset.x);
71
+ translateAxis(box.y, -node.scroll.offset.y);
72
+ }
73
+ if (delta) {
74
+ // Incoporate each ancestor's scale into a cumulative treeScale for this component
75
+ treeScale.x *= delta.x.scale;
76
+ treeScale.y *= delta.y.scale;
77
+ // Apply each ancestor's calculated delta into this component's recorded layout box
78
+ applyBoxDelta(box, delta);
79
+ }
80
+ if (isSharedTransition && hasTransform.hasTransform(node.latestValues)) {
81
+ transformBox(box, node.latestValues, node.layout?.layoutBox);
82
+ }
83
+ }
84
+ /**
85
+ * Snap tree scale back to 1 if it's within a non-perceivable threshold.
86
+ * This will help reduce useless scales getting rendered.
87
+ */
88
+ if (treeScale.x < TREE_SCALE_SNAP_MAX &&
89
+ treeScale.x > TREE_SCALE_SNAP_MIN) {
90
+ treeScale.x = 1.0;
91
+ }
92
+ if (treeScale.y < TREE_SCALE_SNAP_MAX &&
93
+ treeScale.y > TREE_SCALE_SNAP_MIN) {
94
+ treeScale.y = 1.0;
95
+ }
96
+ }
97
+ function translateAxis(axis, distance) {
98
+ axis.min += distance;
99
+ axis.max += distance;
100
+ }
101
+ /**
102
+ * Apply a transform to an axis from the latest resolved motion values.
103
+ * This function basically acts as a bridge between a flat motion value map
104
+ * and applyAxisDelta
105
+ */
106
+ function transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.5) {
107
+ const originPoint = number.mixNumber(axis.min, axis.max, axisOrigin);
108
+ // Apply the axis delta to the final axis
109
+ applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale);
110
+ }
111
+ function resolveAxisTranslate(value, axis) {
112
+ if (typeof value === "string") {
113
+ return (parseFloat(value) / 100) * (axis.max - axis.min);
114
+ }
115
+ return value;
116
+ }
117
+ /**
118
+ * Apply a transform to a box from the latest resolved motion values.
119
+ */
120
+ function transformBox(box, transform, sourceBox) {
121
+ const resolveBox = sourceBox ?? box;
122
+ transformAxis(box.x, resolveAxisTranslate(transform.x, resolveBox.x), transform.scaleX, transform.scale, transform.originX);
123
+ transformAxis(box.y, resolveAxisTranslate(transform.y, resolveBox.y), transform.scaleY, transform.scale, transform.originY);
124
+ }
125
+
126
+ exports.applyAxisDelta = applyAxisDelta;
127
+ exports.applyBoxDelta = applyBoxDelta;
128
+ exports.applyPointDelta = applyPointDelta;
129
+ exports.applyTreeDeltas = applyTreeDeltas;
130
+ exports.scalePoint = scalePoint;
131
+ exports.transformAxis = transformAxis;
132
+ exports.transformBox = transformBox;
133
+ exports.translateAxis = translateAxis;
@@ -0,0 +1,124 @@
1
+ import { mixNumber } from '../../utils/mix/number.mjs';
2
+ import { hasTransform } from '../utils/has-transform.mjs';
3
+
4
+ /**
5
+ * Scales a point based on a factor and an originPoint
6
+ */
7
+ function scalePoint(point, scale, originPoint) {
8
+ const distanceFromOrigin = point - originPoint;
9
+ const scaled = scale * distanceFromOrigin;
10
+ return originPoint + scaled;
11
+ }
12
+ /**
13
+ * Applies a translate/scale delta to a point
14
+ */
15
+ function applyPointDelta(point, translate, scale, originPoint, boxScale) {
16
+ if (boxScale !== undefined) {
17
+ point = scalePoint(point, boxScale, originPoint);
18
+ }
19
+ return scalePoint(point, scale, originPoint) + translate;
20
+ }
21
+ /**
22
+ * Applies a translate/scale delta to an axis
23
+ */
24
+ function applyAxisDelta(axis, translate = 0, scale = 1, originPoint, boxScale) {
25
+ axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);
26
+ axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);
27
+ }
28
+ /**
29
+ * Applies a translate/scale delta to a box
30
+ */
31
+ function applyBoxDelta(box, { x, y }) {
32
+ applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);
33
+ applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);
34
+ }
35
+ const TREE_SCALE_SNAP_MIN = 0.999999999999;
36
+ const TREE_SCALE_SNAP_MAX = 1.0000000000001;
37
+ /**
38
+ * Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms
39
+ * in a tree upon our box before then calculating how to project it into our desired viewport-relative box
40
+ *
41
+ * This is the final nested loop within updateLayoutDelta for future refactoring
42
+ */
43
+ function applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) {
44
+ const treeLength = treePath.length;
45
+ if (!treeLength)
46
+ return;
47
+ // Reset the treeScale
48
+ treeScale.x = treeScale.y = 1;
49
+ let node;
50
+ let delta;
51
+ for (let i = 0; i < treeLength; i++) {
52
+ node = treePath[i];
53
+ delta = node.projectionDelta;
54
+ /**
55
+ * TODO: Prefer to remove this, but currently we have motion components with
56
+ * display: contents in Framer.
57
+ */
58
+ const { visualElement } = node.options;
59
+ if (visualElement &&
60
+ visualElement.props.style &&
61
+ visualElement.props.style.display === "contents") {
62
+ continue;
63
+ }
64
+ if (isSharedTransition &&
65
+ node.options.layoutScroll &&
66
+ node.scroll &&
67
+ node !== node.root) {
68
+ translateAxis(box.x, -node.scroll.offset.x);
69
+ translateAxis(box.y, -node.scroll.offset.y);
70
+ }
71
+ if (delta) {
72
+ // Incoporate each ancestor's scale into a cumulative treeScale for this component
73
+ treeScale.x *= delta.x.scale;
74
+ treeScale.y *= delta.y.scale;
75
+ // Apply each ancestor's calculated delta into this component's recorded layout box
76
+ applyBoxDelta(box, delta);
77
+ }
78
+ if (isSharedTransition && hasTransform(node.latestValues)) {
79
+ transformBox(box, node.latestValues, node.layout?.layoutBox);
80
+ }
81
+ }
82
+ /**
83
+ * Snap tree scale back to 1 if it's within a non-perceivable threshold.
84
+ * This will help reduce useless scales getting rendered.
85
+ */
86
+ if (treeScale.x < TREE_SCALE_SNAP_MAX &&
87
+ treeScale.x > TREE_SCALE_SNAP_MIN) {
88
+ treeScale.x = 1.0;
89
+ }
90
+ if (treeScale.y < TREE_SCALE_SNAP_MAX &&
91
+ treeScale.y > TREE_SCALE_SNAP_MIN) {
92
+ treeScale.y = 1.0;
93
+ }
94
+ }
95
+ function translateAxis(axis, distance) {
96
+ axis.min += distance;
97
+ axis.max += distance;
98
+ }
99
+ /**
100
+ * Apply a transform to an axis from the latest resolved motion values.
101
+ * This function basically acts as a bridge between a flat motion value map
102
+ * and applyAxisDelta
103
+ */
104
+ function transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.5) {
105
+ const originPoint = mixNumber(axis.min, axis.max, axisOrigin);
106
+ // Apply the axis delta to the final axis
107
+ applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale);
108
+ }
109
+ function resolveAxisTranslate(value, axis) {
110
+ if (typeof value === "string") {
111
+ return (parseFloat(value) / 100) * (axis.max - axis.min);
112
+ }
113
+ return value;
114
+ }
115
+ /**
116
+ * Apply a transform to a box from the latest resolved motion values.
117
+ */
118
+ function transformBox(box, transform, sourceBox) {
119
+ const resolveBox = sourceBox ?? box;
120
+ transformAxis(box.x, resolveAxisTranslate(transform.x, resolveBox.x), transform.scaleX, transform.scale, transform.originX);
121
+ transformAxis(box.y, resolveAxisTranslate(transform.y, resolveBox.y), transform.scaleY, transform.scale, transform.originY);
122
+ }
123
+
124
+ export { applyAxisDelta, applyBoxDelta, applyPointDelta, applyTreeDeltas, scalePoint, transformAxis, transformBox, translateAxis };
@@ -0,0 +1,67 @@
1
+ 'use strict';
2
+
3
+ var number = require('../../utils/mix/number.js');
4
+
5
+ const SCALE_PRECISION = 0.0001;
6
+ const SCALE_MIN = 1 - SCALE_PRECISION;
7
+ const SCALE_MAX = 1 + SCALE_PRECISION;
8
+ const TRANSLATE_PRECISION = 0.01;
9
+ const TRANSLATE_MIN = 0 - TRANSLATE_PRECISION;
10
+ const TRANSLATE_MAX = 0 + TRANSLATE_PRECISION;
11
+ function calcLength(axis) {
12
+ return axis.max - axis.min;
13
+ }
14
+ function isNear(value, target, maxDistance) {
15
+ return Math.abs(value - target) <= maxDistance;
16
+ }
17
+ function calcAxisDelta(delta, source, target, origin = 0.5) {
18
+ delta.origin = origin;
19
+ delta.originPoint = number.mixNumber(source.min, source.max, delta.origin);
20
+ delta.scale = calcLength(target) / calcLength(source);
21
+ delta.translate =
22
+ number.mixNumber(target.min, target.max, delta.origin) - delta.originPoint;
23
+ if ((delta.scale >= SCALE_MIN && delta.scale <= SCALE_MAX) ||
24
+ isNaN(delta.scale)) {
25
+ delta.scale = 1.0;
26
+ }
27
+ if ((delta.translate >= TRANSLATE_MIN &&
28
+ delta.translate <= TRANSLATE_MAX) ||
29
+ isNaN(delta.translate)) {
30
+ delta.translate = 0.0;
31
+ }
32
+ }
33
+ function calcBoxDelta(delta, source, target, origin) {
34
+ calcAxisDelta(delta.x, source.x, target.x, origin ? origin.originX : undefined);
35
+ calcAxisDelta(delta.y, source.y, target.y, origin ? origin.originY : undefined);
36
+ }
37
+ function calcRelativeAxis(target, relative, parent, anchor = 0) {
38
+ const anchorPoint = anchor
39
+ ? number.mixNumber(parent.min, parent.max, anchor)
40
+ : parent.min;
41
+ target.min = anchorPoint + relative.min;
42
+ target.max = target.min + calcLength(relative);
43
+ }
44
+ function calcRelativeBox(target, relative, parent, anchor) {
45
+ calcRelativeAxis(target.x, relative.x, parent.x, anchor?.x);
46
+ calcRelativeAxis(target.y, relative.y, parent.y, anchor?.y);
47
+ }
48
+ function calcRelativeAxisPosition(target, layout, parent, anchor = 0) {
49
+ const anchorPoint = anchor
50
+ ? number.mixNumber(parent.min, parent.max, anchor)
51
+ : parent.min;
52
+ target.min = layout.min - anchorPoint;
53
+ target.max = target.min + calcLength(layout);
54
+ }
55
+ function calcRelativePosition(target, layout, parent, anchor) {
56
+ calcRelativeAxisPosition(target.x, layout.x, parent.x, anchor?.x);
57
+ calcRelativeAxisPosition(target.y, layout.y, parent.y, anchor?.y);
58
+ }
59
+
60
+ exports.calcAxisDelta = calcAxisDelta;
61
+ exports.calcBoxDelta = calcBoxDelta;
62
+ exports.calcLength = calcLength;
63
+ exports.calcRelativeAxis = calcRelativeAxis;
64
+ exports.calcRelativeAxisPosition = calcRelativeAxisPosition;
65
+ exports.calcRelativeBox = calcRelativeBox;
66
+ exports.calcRelativePosition = calcRelativePosition;
67
+ exports.isNear = isNear;
@@ -0,0 +1,58 @@
1
+ import { mixNumber } from '../../utils/mix/number.mjs';
2
+
3
+ const SCALE_PRECISION = 0.0001;
4
+ const SCALE_MIN = 1 - SCALE_PRECISION;
5
+ const SCALE_MAX = 1 + SCALE_PRECISION;
6
+ const TRANSLATE_PRECISION = 0.01;
7
+ const TRANSLATE_MIN = 0 - TRANSLATE_PRECISION;
8
+ const TRANSLATE_MAX = 0 + TRANSLATE_PRECISION;
9
+ function calcLength(axis) {
10
+ return axis.max - axis.min;
11
+ }
12
+ function isNear(value, target, maxDistance) {
13
+ return Math.abs(value - target) <= maxDistance;
14
+ }
15
+ function calcAxisDelta(delta, source, target, origin = 0.5) {
16
+ delta.origin = origin;
17
+ delta.originPoint = mixNumber(source.min, source.max, delta.origin);
18
+ delta.scale = calcLength(target) / calcLength(source);
19
+ delta.translate =
20
+ mixNumber(target.min, target.max, delta.origin) - delta.originPoint;
21
+ if ((delta.scale >= SCALE_MIN && delta.scale <= SCALE_MAX) ||
22
+ isNaN(delta.scale)) {
23
+ delta.scale = 1.0;
24
+ }
25
+ if ((delta.translate >= TRANSLATE_MIN &&
26
+ delta.translate <= TRANSLATE_MAX) ||
27
+ isNaN(delta.translate)) {
28
+ delta.translate = 0.0;
29
+ }
30
+ }
31
+ function calcBoxDelta(delta, source, target, origin) {
32
+ calcAxisDelta(delta.x, source.x, target.x, origin ? origin.originX : undefined);
33
+ calcAxisDelta(delta.y, source.y, target.y, origin ? origin.originY : undefined);
34
+ }
35
+ function calcRelativeAxis(target, relative, parent, anchor = 0) {
36
+ const anchorPoint = anchor
37
+ ? mixNumber(parent.min, parent.max, anchor)
38
+ : parent.min;
39
+ target.min = anchorPoint + relative.min;
40
+ target.max = target.min + calcLength(relative);
41
+ }
42
+ function calcRelativeBox(target, relative, parent, anchor) {
43
+ calcRelativeAxis(target.x, relative.x, parent.x, anchor?.x);
44
+ calcRelativeAxis(target.y, relative.y, parent.y, anchor?.y);
45
+ }
46
+ function calcRelativeAxisPosition(target, layout, parent, anchor = 0) {
47
+ const anchorPoint = anchor
48
+ ? mixNumber(parent.min, parent.max, anchor)
49
+ : parent.min;
50
+ target.min = layout.min - anchorPoint;
51
+ target.max = target.min + calcLength(layout);
52
+ }
53
+ function calcRelativePosition(target, layout, parent, anchor) {
54
+ calcRelativeAxisPosition(target.x, layout.x, parent.x, anchor?.x);
55
+ calcRelativeAxisPosition(target.y, layout.y, parent.y, anchor?.y);
56
+ }
57
+
58
+ export { calcAxisDelta, calcBoxDelta, calcLength, calcRelativeAxis, calcRelativeAxisPosition, calcRelativeBox, calcRelativePosition, isNear };
@@ -0,0 +1,59 @@
1
+ 'use strict';
2
+
3
+ var number = require('../../utils/mix/number.js');
4
+ var units = require('../../value/types/numbers/units.js');
5
+ var deltaApply = require('./delta-apply.js');
6
+
7
+ /**
8
+ * Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse
9
+ */
10
+ function removePointDelta(point, translate, scale, originPoint, boxScale) {
11
+ point -= translate;
12
+ point = deltaApply.scalePoint(point, 1 / scale, originPoint);
13
+ if (boxScale !== undefined) {
14
+ point = deltaApply.scalePoint(point, 1 / boxScale, originPoint);
15
+ }
16
+ return point;
17
+ }
18
+ /**
19
+ * Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse
20
+ */
21
+ function removeAxisDelta(axis, translate = 0, scale = 1, origin = 0.5, boxScale, originAxis = axis, sourceAxis = axis) {
22
+ if (units.percent.test(translate)) {
23
+ translate = parseFloat(translate);
24
+ const relativeProgress = number.mixNumber(sourceAxis.min, sourceAxis.max, translate / 100);
25
+ translate = relativeProgress - sourceAxis.min;
26
+ }
27
+ if (typeof translate !== "number")
28
+ return;
29
+ let originPoint = number.mixNumber(originAxis.min, originAxis.max, origin);
30
+ if (axis === originAxis)
31
+ originPoint -= translate;
32
+ axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale);
33
+ axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale);
34
+ }
35
+ /**
36
+ * Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse
37
+ * and acts as a bridge between motion values and removeAxisDelta
38
+ */
39
+ function removeAxisTransforms(axis, transforms, [key, scaleKey, originKey], origin, sourceAxis) {
40
+ removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale, origin, sourceAxis);
41
+ }
42
+ /**
43
+ * The names of the motion values we want to apply as translation, scale and origin.
44
+ */
45
+ const xKeys = ["x", "scaleX", "originX"];
46
+ const yKeys = ["y", "scaleY", "originY"];
47
+ /**
48
+ * Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse
49
+ * and acts as a bridge between motion values and removeAxisDelta
50
+ */
51
+ function removeBoxTransforms(box, transforms, originBox, sourceBox) {
52
+ removeAxisTransforms(box.x, transforms, xKeys, originBox ? originBox.x : undefined, sourceBox ? sourceBox.x : undefined);
53
+ removeAxisTransforms(box.y, transforms, yKeys, originBox ? originBox.y : undefined, sourceBox ? sourceBox.y : undefined);
54
+ }
55
+
56
+ exports.removeAxisDelta = removeAxisDelta;
57
+ exports.removeAxisTransforms = removeAxisTransforms;
58
+ exports.removeBoxTransforms = removeBoxTransforms;
59
+ exports.removePointDelta = removePointDelta;
@@ -0,0 +1,54 @@
1
+ import { mixNumber } from '../../utils/mix/number.mjs';
2
+ import { percent } from '../../value/types/numbers/units.mjs';
3
+ import { scalePoint } from './delta-apply.mjs';
4
+
5
+ /**
6
+ * Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse
7
+ */
8
+ function removePointDelta(point, translate, scale, originPoint, boxScale) {
9
+ point -= translate;
10
+ point = scalePoint(point, 1 / scale, originPoint);
11
+ if (boxScale !== undefined) {
12
+ point = scalePoint(point, 1 / boxScale, originPoint);
13
+ }
14
+ return point;
15
+ }
16
+ /**
17
+ * Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse
18
+ */
19
+ function removeAxisDelta(axis, translate = 0, scale = 1, origin = 0.5, boxScale, originAxis = axis, sourceAxis = axis) {
20
+ if (percent.test(translate)) {
21
+ translate = parseFloat(translate);
22
+ const relativeProgress = mixNumber(sourceAxis.min, sourceAxis.max, translate / 100);
23
+ translate = relativeProgress - sourceAxis.min;
24
+ }
25
+ if (typeof translate !== "number")
26
+ return;
27
+ let originPoint = mixNumber(originAxis.min, originAxis.max, origin);
28
+ if (axis === originAxis)
29
+ originPoint -= translate;
30
+ axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale);
31
+ axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale);
32
+ }
33
+ /**
34
+ * Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse
35
+ * and acts as a bridge between motion values and removeAxisDelta
36
+ */
37
+ function removeAxisTransforms(axis, transforms, [key, scaleKey, originKey], origin, sourceAxis) {
38
+ removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale, origin, sourceAxis);
39
+ }
40
+ /**
41
+ * The names of the motion values we want to apply as translation, scale and origin.
42
+ */
43
+ const xKeys = ["x", "scaleX", "originX"];
44
+ const yKeys = ["y", "scaleY", "originY"];
45
+ /**
46
+ * Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse
47
+ * and acts as a bridge between motion values and removeAxisDelta
48
+ */
49
+ function removeBoxTransforms(box, transforms, originBox, sourceBox) {
50
+ removeAxisTransforms(box.x, transforms, xKeys, originBox ? originBox.x : undefined, sourceBox ? sourceBox.x : undefined);
51
+ removeAxisTransforms(box.y, transforms, yKeys, originBox ? originBox.y : undefined, sourceBox ? sourceBox.y : undefined);
52
+ }
53
+
54
+ export { removeAxisDelta, removeAxisTransforms, removeBoxTransforms, removePointDelta };
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ const createAxisDelta = () => ({
4
+ translate: 0,
5
+ scale: 1,
6
+ origin: 0,
7
+ originPoint: 0,
8
+ });
9
+ const createDelta = () => ({
10
+ x: createAxisDelta(),
11
+ y: createAxisDelta(),
12
+ });
13
+ const createAxis = () => ({ min: 0, max: 0 });
14
+ const createBox = () => ({
15
+ x: createAxis(),
16
+ y: createAxis(),
17
+ });
18
+
19
+ exports.createAxis = createAxis;
20
+ exports.createAxisDelta = createAxisDelta;
21
+ exports.createBox = createBox;
22
+ exports.createDelta = createDelta;
@@ -0,0 +1,17 @@
1
+ const createAxisDelta = () => ({
2
+ translate: 0,
3
+ scale: 1,
4
+ origin: 0,
5
+ originPoint: 0,
6
+ });
7
+ const createDelta = () => ({
8
+ x: createAxisDelta(),
9
+ y: createAxisDelta(),
10
+ });
11
+ const createAxis = () => ({ min: 0, max: 0 });
12
+ const createBox = () => ({
13
+ x: createAxis(),
14
+ y: createAxis(),
15
+ });
16
+
17
+ export { createAxis, createAxisDelta, createBox, createDelta };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ var deltaCalc = require('./delta-calc.js');
4
+
5
+ function isAxisDeltaZero(delta) {
6
+ return delta.translate === 0 && delta.scale === 1;
7
+ }
8
+ function isDeltaZero(delta) {
9
+ return isAxisDeltaZero(delta.x) && isAxisDeltaZero(delta.y);
10
+ }
11
+ function axisEquals(a, b) {
12
+ return a.min === b.min && a.max === b.max;
13
+ }
14
+ function boxEquals(a, b) {
15
+ return axisEquals(a.x, b.x) && axisEquals(a.y, b.y);
16
+ }
17
+ function axisEqualsRounded(a, b) {
18
+ return (Math.round(a.min) === Math.round(b.min) &&
19
+ Math.round(a.max) === Math.round(b.max));
20
+ }
21
+ function boxEqualsRounded(a, b) {
22
+ return axisEqualsRounded(a.x, b.x) && axisEqualsRounded(a.y, b.y);
23
+ }
24
+ function aspectRatio(box) {
25
+ return deltaCalc.calcLength(box.x) / deltaCalc.calcLength(box.y);
26
+ }
27
+ function axisDeltaEquals(a, b) {
28
+ return (a.translate === b.translate &&
29
+ a.scale === b.scale &&
30
+ a.originPoint === b.originPoint);
31
+ }
32
+
33
+ exports.aspectRatio = aspectRatio;
34
+ exports.axisDeltaEquals = axisDeltaEquals;
35
+ exports.axisEquals = axisEquals;
36
+ exports.axisEqualsRounded = axisEqualsRounded;
37
+ exports.boxEquals = boxEquals;
38
+ exports.boxEqualsRounded = boxEqualsRounded;
39
+ exports.isDeltaZero = isDeltaZero;
@@ -0,0 +1,31 @@
1
+ import { calcLength } from './delta-calc.mjs';
2
+
3
+ function isAxisDeltaZero(delta) {
4
+ return delta.translate === 0 && delta.scale === 1;
5
+ }
6
+ function isDeltaZero(delta) {
7
+ return isAxisDeltaZero(delta.x) && isAxisDeltaZero(delta.y);
8
+ }
9
+ function axisEquals(a, b) {
10
+ return a.min === b.min && a.max === b.max;
11
+ }
12
+ function boxEquals(a, b) {
13
+ return axisEquals(a.x, b.x) && axisEquals(a.y, b.y);
14
+ }
15
+ function axisEqualsRounded(a, b) {
16
+ return (Math.round(a.min) === Math.round(b.min) &&
17
+ Math.round(a.max) === Math.round(b.max));
18
+ }
19
+ function boxEqualsRounded(a, b) {
20
+ return axisEqualsRounded(a.x, b.x) && axisEqualsRounded(a.y, b.y);
21
+ }
22
+ function aspectRatio(box) {
23
+ return calcLength(box.x) / calcLength(box.y);
24
+ }
25
+ function axisDeltaEquals(a, b) {
26
+ return (a.translate === b.translate &&
27
+ a.scale === b.scale &&
28
+ a.originPoint === b.originPoint);
29
+ }
30
+
31
+ export { aspectRatio, axisDeltaEquals, axisEquals, axisEqualsRounded, boxEquals, boxEqualsRounded, isDeltaZero };
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ var addDomEvent = require('../../events/add-dom-event.js');
4
+ var createProjectionNode = require('./create-projection-node.js');
5
+
6
+ const DocumentProjectionNode = createProjectionNode.createProjectionNode({
7
+ attachResizeListener: (ref, notify) => addDomEvent.addDomEvent(ref, "resize", notify),
8
+ measureScroll: () => ({
9
+ x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
10
+ y: document.documentElement.scrollTop || document.body?.scrollTop || 0,
11
+ }),
12
+ checkIsScrollRoot: () => true,
13
+ });
14
+
15
+ exports.DocumentProjectionNode = DocumentProjectionNode;
@@ -0,0 +1,13 @@
1
+ import { addDomEvent } from '../../events/add-dom-event.mjs';
2
+ import { createProjectionNode } from './create-projection-node.mjs';
3
+
4
+ const DocumentProjectionNode = createProjectionNode({
5
+ attachResizeListener: (ref, notify) => addDomEvent(ref, "resize", notify),
6
+ measureScroll: () => ({
7
+ x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
8
+ y: document.documentElement.scrollTop || document.body?.scrollTop || 0,
9
+ }),
10
+ checkIsScrollRoot: () => true,
11
+ });
12
+
13
+ export { DocumentProjectionNode };
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var createProjectionNode = require('./create-projection-node.js');
4
+ var DocumentProjectionNode = require('./DocumentProjectionNode.js');
5
+
6
+ const rootProjectionNode = {
7
+ current: undefined,
8
+ };
9
+ const HTMLProjectionNode = createProjectionNode.createProjectionNode({
10
+ measureScroll: (instance) => ({
11
+ x: instance.scrollLeft,
12
+ y: instance.scrollTop,
13
+ }),
14
+ defaultParent: () => {
15
+ if (!rootProjectionNode.current) {
16
+ const documentNode = new DocumentProjectionNode.DocumentProjectionNode({});
17
+ documentNode.mount(window);
18
+ documentNode.setOptions({ layoutScroll: true });
19
+ rootProjectionNode.current = documentNode;
20
+ }
21
+ return rootProjectionNode.current;
22
+ },
23
+ resetTransform: (instance, value) => {
24
+ instance.style.transform = value !== undefined ? value : "none";
25
+ },
26
+ checkIsScrollRoot: (instance) => Boolean(window.getComputedStyle(instance).position === "fixed"),
27
+ });
28
+
29
+ exports.HTMLProjectionNode = HTMLProjectionNode;
30
+ exports.rootProjectionNode = rootProjectionNode;