@nethesis/phone-island 1.0.9 → 1.0.10-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (578) hide show
  1. package/dist/_virtual/index6.js +1 -1
  2. package/dist/_virtual/index8.js +1 -1
  3. package/dist/components/Socket.js +1 -1
  4. package/dist/components/Socket.js.map +1 -1
  5. package/dist/lib/devices/devices.js +1 -1
  6. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.mjs.js +7 -1
  7. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.mjs.js.map +1 -1
  8. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js +1 -1
  9. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js.map +1 -1
  10. package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +1 -1
  11. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js +1 -1
  12. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js.map +1 -1
  13. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs.js +1 -1
  14. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs.js.map +1 -1
  15. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js +1 -1
  16. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js.map +1 -1
  17. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js +1 -1
  18. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js.map +1 -1
  19. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js +1 -1
  20. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js.map +1 -1
  21. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs.js.map +1 -1
  22. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs.js.map +1 -1
  23. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs.js.map +1 -1
  24. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.mjs.js.map +1 -1
  25. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs.js.map +1 -1
  26. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs.js.map +1 -1
  27. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs.js.map +1 -1
  28. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs.js +1 -1
  29. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs.js.map +1 -1
  30. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.mjs.js.map +1 -1
  31. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs.js.map +1 -1
  32. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs.js +1 -1
  33. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs.js.map +1 -1
  34. package/dist/node_modules/framer-motion/dist/es/events/event-info.mjs.js.map +1 -1
  35. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js +1 -1
  36. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js.map +1 -1
  37. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.mjs.js +1 -1
  38. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.mjs.js.map +1 -1
  39. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js +1 -1
  40. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js.map +1 -1
  41. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs.js +1 -1
  42. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs.js.map +1 -1
  43. package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js +1 -1
  44. package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js.map +1 -1
  45. package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js +1 -1
  46. package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js.map +1 -1
  47. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js +1 -1
  48. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js.map +1 -1
  49. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js +1 -1
  50. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js.map +1 -1
  51. package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js +1 -1
  52. package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js.map +1 -1
  53. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js +1 -1
  54. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js.map +1 -1
  55. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs.js +1 -1
  56. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs.js.map +1 -1
  57. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.mjs.js.map +1 -1
  58. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js +1 -1
  59. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js.map +1 -1
  60. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.mjs.js +1 -1
  61. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.mjs.js.map +1 -1
  62. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.mjs.js.map +1 -1
  63. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js +1 -1
  64. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js.map +1 -1
  65. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.mjs.js +1 -1
  66. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.mjs.js.map +1 -1
  67. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.mjs.js +1 -1
  68. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.mjs.js.map +1 -1
  69. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js +1 -1
  70. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js.map +1 -1
  71. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs.js.map +1 -1
  72. package/dist/node_modules/framer-motion/dist/es/motion/index.mjs.js +1 -1
  73. package/dist/node_modules/framer-motion/dist/es/motion/index.mjs.js.map +1 -1
  74. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs.js.map +1 -1
  75. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js +1 -1
  76. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js.map +1 -1
  77. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js +1 -1
  78. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js.map +1 -1
  79. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js +1 -1
  80. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js.map +1 -1
  81. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs.js +1 -1
  82. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs.js.map +1 -1
  83. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js +1 -1
  84. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js.map +1 -1
  85. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs.js +2 -0
  86. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs.js.map +1 -0
  87. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs.js +1 -1
  88. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs.js.map +1 -1
  89. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs.js +1 -1
  90. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs.js.map +1 -1
  91. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js +1 -1
  92. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js.map +1 -1
  93. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs.js +1 -1
  94. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs.js.map +1 -1
  95. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs.js.map +1 -1
  96. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs.js +2 -0
  97. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs.js.map +1 -0
  98. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js +1 -1
  99. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js.map +1 -1
  100. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs.js.map +1 -1
  101. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs.js.map +1 -1
  102. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js +1 -1
  103. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js.map +1 -1
  104. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs.js +2 -0
  105. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs.js.map +1 -0
  106. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs.js.map +1 -1
  107. package/dist/node_modules/framer-motion/dist/es/utils/distance.mjs.js.map +1 -1
  108. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.mjs.js.map +1 -1
  109. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.mjs.js.map +1 -1
  110. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs.js.map +1 -1
  111. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js +2 -0
  112. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js.map +1 -0
  113. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.mjs.js.map +1 -1
  114. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs.js.map +1 -1
  115. package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js +1 -1
  116. package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js.map +1 -1
  117. package/dist/node_modules/mic-check/lib/index.js +1 -1
  118. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js +1 -1
  119. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js.map +1 -1
  120. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js +1 -1
  121. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js.map +1 -1
  122. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js +1 -1
  123. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js.map +1 -1
  124. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs.js +1 -1
  125. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs.js.map +1 -1
  126. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js +2 -0
  127. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js.map +1 -0
  128. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js +2 -0
  129. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js.map +1 -0
  130. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js +1 -1
  131. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js.map +1 -1
  132. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs.js.map +1 -1
  133. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js +2 -0
  134. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js.map +1 -0
  135. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs.js.map +1 -1
  136. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs.js.map +1 -1
  137. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs.js.map +1 -1
  138. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs.js +1 -1
  139. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs.js.map +1 -1
  140. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js +2 -0
  141. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js.map +1 -0
  142. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js +2 -0
  143. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js.map +1 -0
  144. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js +2 -0
  145. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +1 -0
  146. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs.js.map +1 -0
  147. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js +1 -1
  148. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js.map +1 -1
  149. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js +1 -1
  150. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js.map +1 -1
  151. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs.js.map +1 -1
  152. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs.js.map +1 -1
  153. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs.js.map +1 -1
  154. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs.js.map +1 -1
  155. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs.js.map +1 -1
  156. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs.js.map +1 -1
  157. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs.js.map +1 -1
  158. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js +1 -1
  159. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js.map +1 -1
  160. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs.js.map +1 -0
  161. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +1 -0
  162. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js +1 -1
  163. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js.map +1 -1
  164. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js +2 -0
  165. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js.map +1 -0
  166. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs.js +1 -1
  167. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs.js.map +1 -1
  168. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs.js +1 -1
  169. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs.js.map +1 -1
  170. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js +2 -0
  171. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js.map +1 -0
  172. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs.js +1 -1
  173. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs.js.map +1 -1
  174. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs.js.map +1 -1
  175. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs.js +1 -1
  176. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs.js.map +1 -1
  177. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js +2 -0
  178. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js.map +1 -0
  179. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js +2 -0
  180. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js.map +1 -0
  181. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs.js +1 -1
  182. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs.js.map +1 -1
  183. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js +2 -0
  184. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js.map +1 -0
  185. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs.js.map +1 -1
  186. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs.js.map +1 -1
  187. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs.js.map +1 -1
  188. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs.js.map +1 -1
  189. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js +1 -1
  190. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js.map +1 -1
  191. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js +2 -0
  192. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js.map +1 -0
  193. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs.js.map +1 -1
  194. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js +2 -0
  195. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js.map +1 -0
  196. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs.js +1 -1
  197. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs.js.map +1 -1
  198. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs.js.map +1 -1
  199. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.mjs.js.map +1 -0
  200. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js +1 -1
  201. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js.map +1 -1
  202. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.mjs.js.map +1 -1
  203. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.mjs.js.map +1 -1
  204. package/dist/node_modules/motion-dom/dist/es/frameloop/order.mjs.js.map +1 -1
  205. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js +1 -1
  206. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js.map +1 -1
  207. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs.js.map +1 -1
  208. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs.js.map +1 -1
  209. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs.js.map +1 -1
  210. package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js +1 -1
  211. package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js.map +1 -1
  212. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js +1 -1
  213. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js.map +1 -1
  214. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs.js +1 -1
  215. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs.js.map +1 -1
  216. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs.js.map +1 -1
  217. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs.js.map +1 -1
  218. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs.js.map +1 -1
  219. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs.js.map +1 -1
  220. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs.js.map +1 -1
  221. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js +2 -0
  222. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js.map +1 -0
  223. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs.js.map +1 -0
  224. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs.js.map +1 -0
  225. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js +2 -0
  226. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js.map +1 -0
  227. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js +2 -0
  228. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js.map +1 -0
  229. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js +2 -0
  230. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js.map +1 -0
  231. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.mjs.js.map +1 -0
  232. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs.js.map +1 -0
  233. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js +2 -0
  234. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +1 -0
  235. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +1 -0
  236. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js +2 -0
  237. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js.map +1 -0
  238. package/dist/node_modules/motion-dom/dist/es/projection/node/state.mjs.js.map +1 -0
  239. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js +2 -0
  240. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js.map +1 -0
  241. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js +2 -0
  242. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js.map +1 -0
  243. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js +2 -0
  244. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js.map +1 -0
  245. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js +2 -0
  246. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js.map +1 -0
  247. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/transform.mjs.js +1 -1
  248. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.mjs.js.map +1 -0
  249. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs.js.map +1 -0
  250. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs.js.map +1 -0
  251. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs.js.map +1 -0
  252. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs.js.map +1 -0
  253. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.mjs.js.map +1 -0
  254. package/dist/node_modules/motion-dom/dist/es/render/Feature.mjs.js.map +1 -0
  255. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js +2 -0
  256. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js.map +1 -0
  257. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js +2 -0
  258. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js.map +1 -0
  259. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs.js.map +1 -1
  260. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js +1 -1
  261. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js.map +1 -1
  262. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.mjs.js.map +1 -1
  263. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/dom/utils/camel-to-dash.mjs.js +1 -1
  264. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +1 -0
  265. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js +2 -0
  266. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js.map +1 -0
  267. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js +2 -0
  268. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js.map +1 -0
  269. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js +2 -0
  270. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js.map +1 -0
  271. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js +2 -0
  272. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js.map +1 -0
  273. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js +2 -0
  274. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +1 -0
  275. package/dist/node_modules/motion-dom/dist/es/render/store.mjs.js.map +1 -0
  276. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js +2 -0
  277. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js.map +1 -0
  278. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js +2 -0
  279. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js.map +1 -0
  280. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +1 -0
  281. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +1 -0
  282. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js +2 -0
  283. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js.map +1 -0
  284. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs.js.map +1 -0
  285. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js +2 -0
  286. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +1 -0
  287. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js +2 -0
  288. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js.map +1 -0
  289. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs.js.map +1 -0
  290. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs.js.map +1 -0
  291. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js +2 -0
  292. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js.map +1 -0
  293. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js +2 -0
  294. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js.map +1 -0
  295. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs.js.map +1 -0
  296. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs.js.map +1 -0
  297. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs.js.map +1 -1
  298. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs.js +1 -1
  299. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs.js.map +1 -1
  300. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js +2 -0
  301. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js.map +1 -0
  302. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js +2 -0
  303. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js.map +1 -0
  304. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs.js.map +1 -0
  305. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +1 -0
  306. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs.js.map +1 -0
  307. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js +2 -0
  308. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js.map +1 -0
  309. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs.js.map +1 -0
  310. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs.js.map +1 -0
  311. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js +2 -0
  312. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js.map +1 -0
  313. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js +2 -0
  314. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js.map +1 -0
  315. package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js +2 -0
  316. package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js.map +1 -0
  317. package/dist/node_modules/motion-dom/dist/es/stats/buffer.mjs.js.map +1 -1
  318. package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js +2 -0
  319. package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js.map +1 -0
  320. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js +1 -1
  321. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js.map +1 -1
  322. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js +2 -0
  323. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js.map +1 -0
  324. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js +2 -0
  325. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js.map +1 -0
  326. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js +2 -0
  327. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js.map +1 -0
  328. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js +1 -1
  329. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js.map +1 -1
  330. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js +1 -1
  331. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js.map +1 -1
  332. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs.js.map +1 -1
  333. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.mjs.js.map +1 -1
  334. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.mjs.js.map +1 -1
  335. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs.js.map +1 -1
  336. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js +1 -1
  337. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js.map +1 -1
  338. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.mjs.js.map +1 -1
  339. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs.js.map +1 -1
  340. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.mjs.js.map +1 -1
  341. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js +1 -1
  342. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js.map +1 -1
  343. package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js +1 -1
  344. package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js.map +1 -1
  345. package/dist/node_modules/motion-dom/dist/es/value/types/auto.mjs.js.map +1 -1
  346. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.mjs.js.map +1 -1
  347. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs.js.map +1 -1
  348. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs.js.map +1 -1
  349. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js +1 -1
  350. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js.map +1 -1
  351. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs.js.map +1 -1
  352. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.mjs.js.map +1 -1
  353. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs.js.map +1 -1
  354. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js +1 -1
  355. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js.map +1 -1
  356. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js +2 -0
  357. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js.map +1 -0
  358. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.mjs.js.map +1 -1
  359. package/dist/node_modules/motion-dom/dist/es/value/types/int.mjs.js.map +1 -1
  360. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs.js +1 -1
  361. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs.js.map +1 -1
  362. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.mjs.js +1 -1
  363. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.mjs.js.map +1 -1
  364. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs.js +1 -1
  365. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs.js.map +1 -1
  366. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs.js.map +1 -1
  367. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs.js.map +1 -1
  368. package/dist/node_modules/motion-dom/dist/es/value/types/test.mjs.js.map +1 -1
  369. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs.js +1 -1
  370. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs.js.map +1 -1
  371. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs.js.map +1 -1
  372. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.mjs.js.map +1 -1
  373. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs.js.map +1 -1
  374. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs.js.map +1 -1
  375. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs.js.map +1 -1
  376. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs.js.map +1 -1
  377. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs.js.map +1 -1
  378. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs.js.map +1 -0
  379. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs.js.map +1 -0
  380. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs.js.map +1 -0
  381. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.mjs.js.map +1 -0
  382. package/dist/node_modules/motion-utils/dist/es/array.mjs.js.map +1 -1
  383. package/dist/node_modules/motion-utils/dist/es/clamp.mjs.js.map +1 -1
  384. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.mjs.js +1 -1
  385. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.mjs.js.map +1 -1
  386. package/dist/node_modules/motion-utils/dist/es/easing/back.mjs.js.map +1 -1
  387. package/dist/node_modules/motion-utils/dist/es/easing/circ.mjs.js.map +1 -1
  388. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs.js.map +1 -1
  389. package/dist/node_modules/motion-utils/dist/es/easing/ease.mjs.js.map +1 -1
  390. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs.js.map +1 -1
  391. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs.js.map +1 -1
  392. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs.js.map +1 -1
  393. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs.js.map +1 -1
  394. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js +1 -1
  395. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js.map +1 -1
  396. package/dist/node_modules/motion-utils/dist/es/errors.mjs.js +1 -1
  397. package/dist/node_modules/motion-utils/dist/es/errors.mjs.js.map +1 -1
  398. package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js +2 -0
  399. package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js.map +1 -0
  400. package/dist/node_modules/motion-utils/dist/es/global-config.mjs.js.map +1 -1
  401. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.mjs.js.map +1 -1
  402. package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js +2 -0
  403. package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js.map +1 -0
  404. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.mjs.js.map +1 -1
  405. package/dist/node_modules/motion-utils/dist/es/memo.mjs.js.map +1 -1
  406. package/dist/node_modules/motion-utils/dist/es/noop.mjs.js.map +1 -1
  407. package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js +1 -1
  408. package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js.map +1 -1
  409. package/dist/node_modules/motion-utils/dist/es/progress.mjs.js +1 -1
  410. package/dist/node_modules/motion-utils/dist/es/progress.mjs.js.map +1 -1
  411. package/dist/node_modules/motion-utils/dist/es/subscription-manager.mjs.js.map +1 -1
  412. package/dist/node_modules/motion-utils/dist/es/time-conversion.mjs.js.map +1 -1
  413. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.mjs.js +1 -1
  414. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.mjs.js.map +1 -1
  415. package/dist/node_modules/motion-utils/dist/es/warn-once.mjs.js +1 -1
  416. package/dist/node_modules/motion-utils/dist/es/warn-once.mjs.js.map +1 -1
  417. package/dist/node_modules/prop-types/index.js +1 -1
  418. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  419. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
  420. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
  421. package/dist/package.json.js +1 -1
  422. package/package.json +4 -4
  423. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js +0 -2
  424. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js.map +0 -1
  425. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js +0 -2
  426. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js.map +0 -1
  427. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js +0 -2
  428. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js.map +0 -1
  429. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js +0 -2
  430. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js.map +0 -1
  431. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js +0 -2
  432. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +0 -1
  433. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs.js.map +0 -1
  434. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs.js.map +0 -1
  435. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +0 -1
  436. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js +0 -2
  437. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js.map +0 -1
  438. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs.js.map +0 -1
  439. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs.js.map +0 -1
  440. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js +0 -2
  441. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js.map +0 -1
  442. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.mjs.js.map +0 -1
  443. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.mjs.js.map +0 -1
  444. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js +0 -2
  445. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js.map +0 -1
  446. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js +0 -2
  447. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js.map +0 -1
  448. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs.js.map +0 -1
  449. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs.js.map +0 -1
  450. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js +0 -2
  451. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js.map +0 -1
  452. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js +0 -2
  453. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js.map +0 -1
  454. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js +0 -2
  455. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js.map +0 -1
  456. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.mjs.js.map +0 -1
  457. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs.js.map +0 -1
  458. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js +0 -2
  459. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +0 -1
  460. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +0 -1
  461. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js +0 -2
  462. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js.map +0 -1
  463. package/dist/node_modules/framer-motion/dist/es/projection/node/state.mjs.js.map +0 -1
  464. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js +0 -2
  465. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js.map +0 -1
  466. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js +0 -2
  467. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js.map +0 -1
  468. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js +0 -2
  469. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js.map +0 -1
  470. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js +0 -2
  471. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js.map +0 -1
  472. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.mjs.js.map +0 -1
  473. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs.js.map +0 -1
  474. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs.js.map +0 -1
  475. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.mjs.js.map +0 -1
  476. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js +0 -2
  477. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js.map +0 -1
  478. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js +0 -2
  479. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js.map +0 -1
  480. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js +0 -2
  481. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js.map +0 -1
  482. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js +0 -2
  483. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js.map +0 -1
  484. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +0 -1
  485. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js +0 -2
  486. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js.map +0 -1
  487. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js +0 -2
  488. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js.map +0 -1
  489. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js +0 -2
  490. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js.map +0 -1
  491. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js +0 -2
  492. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js.map +0 -1
  493. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js +0 -2
  494. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js.map +0 -1
  495. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js +0 -2
  496. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js.map +0 -1
  497. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js +0 -2
  498. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +0 -1
  499. package/dist/node_modules/framer-motion/dist/es/render/store.mjs.js.map +0 -1
  500. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js +0 -2
  501. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js.map +0 -1
  502. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js +0 -2
  503. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js.map +0 -1
  504. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js +0 -2
  505. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js.map +0 -1
  506. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +0 -1
  507. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +0 -1
  508. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js +0 -2
  509. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js.map +0 -1
  510. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs.js.map +0 -1
  511. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js +0 -2
  512. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +0 -1
  513. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js +0 -2
  514. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js.map +0 -1
  515. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs.js.map +0 -1
  516. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs.js.map +0 -1
  517. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs.js.map +0 -1
  518. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js +0 -2
  519. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js.map +0 -1
  520. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs.js.map +0 -1
  521. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js +0 -2
  522. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js.map +0 -1
  523. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +0 -1
  524. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs.js.map +0 -1
  525. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js +0 -2
  526. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js.map +0 -1
  527. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs.js.map +0 -1
  528. package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js +0 -2
  529. package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js.map +0 -1
  530. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js +0 -2
  531. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js.map +0 -1
  532. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs.js.map +0 -1
  533. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs.js.map +0 -1
  534. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs.js.map +0 -1
  535. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs.js.map +0 -1
  536. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs.js.map +0 -1
  537. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs.js.map +0 -1
  538. package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js +0 -2
  539. package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js.map +0 -1
  540. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js +0 -2
  541. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js.map +0 -1
  542. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js +0 -2
  543. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js.map +0 -1
  544. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js +0 -2
  545. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js.map +0 -1
  546. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element.mjs.js +0 -0
  547. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/data-id.mjs.js +0 -0
  548. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/get-appear-id.mjs.js +0 -0
  549. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/events/add-dom-event.mjs.js +0 -0
  550. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.mjs.js +0 -0
  551. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.mjs.js +0 -0
  552. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.mjs.js +0 -0
  553. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.mjs.js +0 -0
  554. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/HTMLProjectionNode.mjs.js +0 -0
  555. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.mjs.js +0 -0
  556. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/compare-by-depth.mjs.js +0 -0
  557. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.mjs.js +0 -0
  558. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/flat-tree.mjs.js +0 -0
  559. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.mjs.js +0 -0
  560. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.mjs.js +0 -0
  561. /package/dist/node_modules/{framer-motion/dist/es/motion/features → motion-dom/dist/es/render}/Feature.mjs.js +0 -0
  562. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/store.mjs.js +0 -0
  563. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.mjs.js +0 -0
  564. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.mjs.js +0 -0
  565. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.mjs.js +0 -0
  566. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.mjs.js +0 -0
  567. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-animation-controls.mjs.js +0 -0
  568. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-keyframes-target.mjs.js +0 -0
  569. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.mjs.js +0 -0
  570. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/reduced-motion/state.mjs.js +0 -0
  571. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-dynamic-variants.mjs.js +0 -0
  572. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.mjs.js +0 -0
  573. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/shallow-compare.mjs.js +0 -0
  574. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.mjs.js +0 -0
  575. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/value/utils/is-motion-value.mjs.js +0 -0
  576. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/value/utils/resolve-motion-value.mjs.js +0 -0
  577. /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/add-will-change.mjs.js +0 -0
  578. /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/is.mjs.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"create-visual-element.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs"],"sourcesContent":["import { Fragment } from 'react';\nimport { HTMLVisualElement } from '../html/HTMLVisualElement.mjs';\nimport { SVGVisualElement } from '../svg/SVGVisualElement.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nconst createDomVisualElement = (Component, options) => {\n return isSVGComponent(Component)\n ? new SVGVisualElement(options)\n : new HTMLVisualElement(options, {\n allowProjection: Component !== Fragment,\n });\n};\n\nexport { createDomVisualElement };\n"],"names":["createDomVisualElement","Component","options","isSVGComponent","SVGVisualElement","HTMLVisualElement","allowProjection","Fragment"],"mappings":"iQAK+BA,CAACC,EAAWC,IAChCC,EAAcA,eAACF,GAChB,IAAIG,EAAAA,iBAAiBF,GACrB,IAAIG,EAAiBA,kBAACH,EAAS,CAC7BI,gBAAiBL,IAAcM,EAAAA"}
1
+ {"version":3,"file":"create-visual-element.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs"],"sourcesContent":["import { SVGVisualElement, HTMLVisualElement } from 'motion-dom';\nimport { Fragment } from 'react';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nconst createDomVisualElement = (Component, options) => {\n /**\n * Use explicit isSVG override if provided, otherwise auto-detect\n */\n const isSVG = options.isSVG ?? isSVGComponent(Component);\n return isSVG\n ? new SVGVisualElement(options)\n : new HTMLVisualElement(options, {\n allowProjection: Component !== Fragment,\n });\n};\n\nexport { createDomVisualElement };\n//# sourceMappingURL=create-visual-element.mjs.map\n"],"names":["createDomVisualElement","Component","options","isSVG","isSVGComponent","SVGVisualElement","HTMLVisualElement","allowProjection","Fragment"],"mappings":"6UAK2DA,CACvDC,EACAC,IAKcA,EAAQC,OAASC,EAAcA,eAACH,GAGxC,IAAII,EAAgBA,iBAACH,GACrB,IAAII,EAAiBA,kBAACJ,EAAS,CAC3BK,gBAAiBN,IAAcO,EAAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),r=require("./utils/filter-props.mjs.js"),t=require("./utils/is-svg-component.mjs.js"),i=require("../svg/use-props.mjs.js"),u=require("../../value/utils/is-motion-value.mjs.js");exports.createUseRender=function(){let o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(l,n,p,m,a)=>{let{latestValues:j}=m;const c=(t.isSVGComponent(l)?i.useSVGProps:s.useHTMLProps)(n,j,a,l),v=r.filterProps(n,"string"==typeof l,o),d=l!==e.Fragment?{...v,...c,ref:p}:{},{children:f}=n,g=e.useMemo((()=>u.isMotionValue(f)?f.get():f),[f]);return e.createElement(l,{...d,children:g})}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),r=require("../svg/use-props.mjs.js"),t=require("./utils/filter-props.mjs.js"),i=require("./utils/is-svg-component.mjs.js"),o=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs.js");exports.useRender=function(u,n,l,p,m){let{latestValues:j}=p,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const c=((arguments.length>6?arguments[6]:void 0)??i.isSVGComponent(u)?r.useSVGProps:s.useHTMLProps)(n,j,m,u),d=t.filterProps(n,"string"==typeof u,a),v=u!==e.Fragment?{...d,...c,ref:l}:{},{children:g}=n,f=e.useMemo((()=>o.isMotionValue(g)?g.get():g),[g]);return e.createElement(u,{...v,children:f})};
2
2
  //# sourceMappingURL=use-render.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-render.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/use-render.mjs"],"sourcesContent":["import { Fragment, useMemo, createElement } from 'react';\nimport { useHTMLProps } from '../html/use-props.mjs';\nimport { filterProps } from './utils/filter-props.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\nimport { useSVGProps } from '../svg/use-props.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\n\nfunction createUseRender(forwardMotionProps = false) {\n const useRender = (Component, props, ref, { latestValues }, isStatic) => {\n const useVisualProps = isSVGComponent(Component)\n ? useSVGProps\n : useHTMLProps;\n const visualProps = useVisualProps(props, latestValues, isStatic, Component);\n const filteredProps = filterProps(props, typeof Component === \"string\", forwardMotionProps);\n const elementProps = Component !== Fragment\n ? { ...filteredProps, ...visualProps, ref }\n : {};\n /**\n * If component has been handed a motion value as its child,\n * memoise its initial value and render that. Subsequent updates\n * will be handled by the onChange handler\n */\n const { children } = props;\n const renderedChildren = useMemo(() => (isMotionValue(children) ? children.get() : children), [children]);\n return createElement(Component, {\n ...elementProps,\n children: renderedChildren,\n });\n };\n return useRender;\n}\n\nexport { createUseRender };\n"],"names":["forwardMotionProps","arguments","length","undefined","useRender","Component","props","ref","_ref","isStatic","latestValues","visualProps","isSVGComponent","useSVGProps","useHTMLProps","filteredProps","filterProps","elementProps","Fragment","children","renderedChildren","useMemo","isMotionValue","get","createElement"],"mappings":"0UAOA,WAAqD,IAA5BA,EAAkBC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAsBvC,MArBkBG,CAACC,EAAWC,EAAOC,EAAGC,EAAoBC,KAAa,IAA/BC,aAAEA,GAAcF,EACtD,MAGMG,GAHiBC,EAAcA,eAACP,GAChCQ,EAAAA,YACAC,EAAAA,cAC6BR,EAAOI,EAAcD,EAAUJ,GAC5DU,EAAgBC,EAAAA,YAAYV,EAA4B,iBAAdD,EAAwBL,GAClEiB,EAAeZ,IAAca,WAC7B,IAAKH,KAAkBJ,EAAaJ,OACpC,IAMAY,SAAEA,GAAab,EACfc,EAAmBC,EAAAA,SAAQ,IAAOC,EAAAA,cAAcH,GAAYA,EAASI,MAAQJ,GAAW,CAACA,IAC/F,OAAOK,EAAAA,cAAcnB,EAAW,IACzBY,EACHE,SAAUC,GACZ,CAGV"}
1
+ {"version":3,"file":"use-render.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/use-render.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue } from 'motion-dom';\nimport { Fragment, useMemo, createElement } from 'react';\nimport { useHTMLProps } from '../html/use-props.mjs';\nimport { useSVGProps } from '../svg/use-props.mjs';\nimport { filterProps } from './utils/filter-props.mjs';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nfunction useRender(Component, props, ref, { latestValues, }, isStatic, forwardMotionProps = false, isSVG) {\n const useVisualProps = (isSVG ?? isSVGComponent(Component)) ? useSVGProps : useHTMLProps;\n const visualProps = useVisualProps(props, latestValues, isStatic, Component);\n const filteredProps = filterProps(props, typeof Component === \"string\", forwardMotionProps);\n const elementProps = Component !== Fragment ? { ...filteredProps, ...visualProps, ref } : {};\n /**\n * If component has been handed a motion value as its child,\n * memoise its initial value and render that. Subsequent updates\n * will be handled by the onChange handler\n */\n const { children } = props;\n const renderedChildren = useMemo(() => (isMotionValue(children) ? children.get() : children), [children]);\n return createElement(Component, {\n ...elementProps,\n children: renderedChildren,\n });\n}\n\nexport { useRender };\n//# sourceMappingURL=use-render.mjs.map\n"],"names":["visualProps","isSVGComponent","Component","useSVGProps","useHTMLProps","props","latestValues","isStatic","filteredProps","filterProps","forwardMotionProps","children","renderedChildren","useMemo","isMotionValue","get","elementProps"],"mappings":"ocA4BI,MAGAA,6CAHAC,EAAAA,eAAAC,GAAAC,EAAAA,YAAAC,gBAGAC,EAAAC,EAAAC,EAAAL,GAMAM,EAAAC,EAAAA,YAAAJ,mBAAAH,EAAAQ,0CAaAC,SAAAA,GAAAN,EACAO,EAAAC,EAAAA,SAAA,IAAAC,EAAAA,cAAAH,GAAAA,EAAAI,MAAAJ,IAAAA,iCAMIK,EACAL,SAAAC,GAER"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("../../../motion/utils/valid-prop.mjs.js");let t=t=>!o.isValidMotionProp(t);function i(i){i&&(t=t=>t.startsWith("on")?!o.isValidMotionProp(t):i(t))}try{i(require("@emotion/is-prop-valid").default)}catch{}exports.filterProps=function(i,r,e){const s={};for(const a in i)"values"===a&&"object"==typeof i.values||(t(a)||!0===e&&o.isValidMotionProp(a)||!r&&!o.isValidMotionProp(a)||i.draggable&&a.startsWith("onDrag"))&&(s[a]=i[a]);return s},exports.loadExternalIsValidProp=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("../../../motion/utils/valid-prop.mjs.js"),t=require("../../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs.js");let i=t=>!o.isValidMotionProp(t);function e(t){"function"==typeof t&&(i=i=>i.startsWith("on")?!o.isValidMotionProp(i):t(i))}try{e(require("@emotion/is-prop-valid").default)}catch{}exports.filterProps=function(e,r,s){const a={};for(const n in e)"values"===n&&"object"==typeof e.values||t.isMotionValue(e[n])||(i(n)||!0===s&&o.isValidMotionProp(n)||!r&&!o.isValidMotionProp(n)||e.draggable&&n.startsWith("onDrag"))&&(a[n]=e[n]);return a},exports.loadExternalIsValidProp=e;
2
2
  //# sourceMappingURL=filter-props.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-props.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"],"sourcesContent":["import { isValidMotionProp } from '../../../motion/utils/valid-prop.mjs';\n\nlet shouldForward = (key) => !isValidMotionProp(key);\nfunction loadExternalIsValidProp(isValidProp) {\n if (!isValidProp)\n return;\n // Explicitly filter our events\n shouldForward = (key) => key.startsWith(\"on\") ? !isValidMotionProp(key) : isValidProp(key);\n}\n/**\n * Emotion and Styled Components both allow users to pass through arbitrary props to their components\n * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which\n * of these should be passed to the underlying DOM node.\n *\n * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props\n * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props\n * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of\n * `@emotion/is-prop-valid`, however to fix this problem we need to use it.\n *\n * By making it an optionalDependency we can offer this functionality only in the situations where it's\n * actually required.\n */\ntry {\n /**\n * We attempt to import this package but require won't be defined in esm environments, in that case\n * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed\n * in favour of explicit injection.\n */\n loadExternalIsValidProp(require(\"@emotion/is-prop-valid\").default);\n}\ncatch {\n // We don't need to actually do anything here - the fallback is the existing `isPropValid`.\n}\nfunction filterProps(props, isDom, forwardMotionProps) {\n const filteredProps = {};\n for (const key in props) {\n /**\n * values is considered a valid prop by Emotion, so if it's present\n * this will be rendered out to the DOM unless explicitly filtered.\n *\n * We check the type as it could be used with the `feColorMatrix`\n * element, which we support.\n */\n if (key === \"values\" && typeof props.values === \"object\")\n continue;\n if (shouldForward(key) ||\n (forwardMotionProps === true && isValidMotionProp(key)) ||\n (!isDom && !isValidMotionProp(key)) ||\n // If trying to use native HTML drag events, forward drag listeners\n (props[\"draggable\"] &&\n key.startsWith(\"onDrag\"))) {\n filteredProps[key] =\n props[key];\n }\n }\n return filteredProps;\n}\n\nexport { filterProps, loadExternalIsValidProp };\n"],"names":["shouldForward","key","isValidMotionProp","loadExternalIsValidProp","isValidProp","startsWith","require","default","props","isDom","forwardMotionProps","filteredProps","values"],"mappings":"6HAEA,IAAIA,EAAiBC,IAASC,EAAiBA,kBAACD,GAChD,SAASE,EAAwBC,GACxBA,IAGLJ,EAAiBC,GAAQA,EAAII,WAAW,OAASH,EAAAA,kBAAkBD,GAAOG,EAAYH,GAC1F,CAcA,IAMIE,EAAwBG,QAAQ,0BAA0BC,QAC9D,CACA,MACI,qBAEJ,SAAqBC,EAAOC,EAAOC,GAC/B,MAAMC,EAAgB,CAAA,EACtB,IAAK,MAAMV,KAAOO,EAQF,WAARP,GAA4C,iBAAjBO,EAAMI,SAEjCZ,EAAcC,KACU,IAAvBS,GAA+BR,EAAAA,kBAAkBD,KAChDQ,IAAUP,EAAAA,kBAAkBD,IAE7BO,EAAiB,WACdP,EAAII,WAAW,aACnBM,EAAcV,GACVO,EAAMP,IAGlB,OAAOU,CACX"}
1
+ {"version":3,"file":"filter-props.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"],"sourcesContent":["import { isMotionValue } from 'motion-dom';\nimport { isValidMotionProp } from '../../../motion/utils/valid-prop.mjs';\n\nlet shouldForward = (key) => !isValidMotionProp(key);\nfunction loadExternalIsValidProp(isValidProp) {\n if (typeof isValidProp !== \"function\")\n return;\n // Explicitly filter our events\n shouldForward = (key) => key.startsWith(\"on\") ? !isValidMotionProp(key) : isValidProp(key);\n}\n/**\n * Emotion and Styled Components both allow users to pass through arbitrary props to their components\n * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which\n * of these should be passed to the underlying DOM node.\n *\n * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props\n * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props\n * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of\n * `@emotion/is-prop-valid`, however to fix this problem we need to use it.\n *\n * By making it an optionalDependency we can offer this functionality only in the situations where it's\n * actually required.\n */\ntry {\n /**\n * We attempt to import this package but require won't be defined in esm environments, in that case\n * isPropValid will have to be provided via `MotionContext`. In a 6.0.0 this should probably be removed\n * in favour of explicit injection.\n *\n * String concatenation prevents bundlers like webpack (e.g. Storybook)\n * from statically resolving this optional dependency at build time.\n */\n const emotionPkg = \"@emotion/is-prop-\" + \"valid\";\n loadExternalIsValidProp(require(emotionPkg).default);\n}\ncatch {\n // We don't need to actually do anything here - the fallback is the existing `isPropValid`.\n}\nfunction filterProps(props, isDom, forwardMotionProps) {\n const filteredProps = {};\n for (const key in props) {\n /**\n * values is considered a valid prop by Emotion, so if it's present\n * this will be rendered out to the DOM unless explicitly filtered.\n *\n * We check the type as it could be used with the `feColorMatrix`\n * element, which we support.\n */\n if (key === \"values\" && typeof props.values === \"object\")\n continue;\n if (isMotionValue(props[key]))\n continue;\n if (shouldForward(key) ||\n (forwardMotionProps === true && isValidMotionProp(key)) ||\n (!isDom && !isValidMotionProp(key)) ||\n // If trying to use native HTML drag events, forward drag listeners\n (props[\"draggable\"] &&\n key.startsWith(\"onDrag\"))) {\n filteredProps[key] =\n props[key];\n }\n }\n return filteredProps;\n}\n\nexport { filterProps, loadExternalIsValidProp };\n//# sourceMappingURL=filter-props.mjs.map\n"],"names":["shouldForward","key","isValidMotionProp","loadExternalIsValidProp","isValidProp","startsWith","require","default","filterProps","props","isDom","forwardMotionProps","filteredProps","values","isMotionValue"],"mappings":"kNAIA,IAAIA,EAAiBC,IAAiBC,EAAiBA,kBAACD,GAIlD,SAAUE,EAAwBC,GACT,mBAAhBA,IAGXJ,EAAiBC,GACbA,EAAII,WAAW,OAASH,EAAAA,kBAAkBD,GAAOG,EAAYH,GACrE,CAeA,IAUIE,EAAwBG,QADL,0BACyBC,QAChD,CAAE,2BAIcC,SACZC,EACAC,EACAC,GAEA,MAAMC,EAA6B,CAAA,EAEnC,IAAK,MAAMX,KAAOQ,EAQF,WAARR,GAA4C,iBAAjBQ,EAAMI,QAEjCC,gBAAcL,EAAMR,MAGpBD,EAAcC,KACU,IAAvBU,GAA+BT,EAAAA,kBAAkBD,KAChDS,IAAUR,EAAAA,kBAAkBD,IAE7BQ,EAAsC,WACnCR,EAAII,WAAW,aAEnBO,EAAcX,GACVQ,EAAMR,IAIlB,OAAOW,CACX"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-svg-component.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs"],"sourcesContent":["import { lowercaseSVGElements } from '../../svg/lowercase-elements.mjs';\n\nfunction isSVGComponent(Component) {\n if (\n /**\n * If it's not a string, it's a custom React component. Currently we only support\n * HTML custom React components.\n */\n typeof Component !== \"string\" ||\n /**\n * If it contains a dash, the element is a custom HTML webcomponent.\n */\n Component.includes(\"-\")) {\n return false;\n }\n else if (\n /**\n * If it's in our list of lowercase SVG tags, it's an SVG component\n */\n lowercaseSVGElements.indexOf(Component) > -1 ||\n /**\n * If it contains a capital letter, it's an SVG component\n */\n /[A-Z]/u.test(Component)) {\n return true;\n }\n return false;\n}\n\nexport { isSVGComponent };\n"],"names":["Component","includes","lowercaseSVGElements","indexOf","test"],"mappings":"gJAEA,SAAwBA,GACpB,MAKqB,iBAAdA,IAIHA,EAAUC,SAAS,SAOvBC,EAAAA,qBAAqBC,QAAQH,IAAc,GAIvC,SAASI,KAAKJ,GAItB"}
1
+ {"version":3,"file":"is-svg-component.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs"],"sourcesContent":["import { lowercaseSVGElements } from '../../svg/lowercase-elements.mjs';\n\nfunction isSVGComponent(Component) {\n if (\n /**\n * If it's not a string, it's a custom React component. Currently we only support\n * HTML custom React components.\n */\n typeof Component !== \"string\" ||\n /**\n * If it contains a dash, the element is a custom HTML webcomponent.\n */\n Component.includes(\"-\")) {\n return false;\n }\n else if (\n /**\n * If it's in our list of lowercase SVG tags, it's an SVG component\n */\n lowercaseSVGElements.indexOf(Component) > -1 ||\n /**\n * If it contains a capital letter, it's an SVG component\n */\n /[A-Z]/u.test(Component)) {\n return true;\n }\n return false;\n}\n\nexport { isSVGComponent };\n//# sourceMappingURL=is-svg-component.mjs.map\n"],"names":["Component","includes","lowercaseSVGElements","indexOf","test"],"mappings":"gJAGM,SAAyBA,GAC3B,MAKyB,iBAAdA,IAIPA,EAAUC,SAAS,SAOnBC,EAAAA,qBAAqBC,QAAQH,IAAe,GAI5C,SAASI,KAAKJ,GAMtB"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../motion/utils/use-visual-state.mjs.js"),s=require("./utils/create-render-state.mjs.js"),t=require("../../../../../motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js");const r=e.makeUseVisualState({scrapeMotionValuesFromProps:t.scrapeMotionValuesFromProps,createRenderState:s.createHtmlRenderState});exports.useHTMLVisualState=r;
2
+ //# sourceMappingURL=use-html-visual-state.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-html-visual-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { scrapeHTMLMotionValuesFromProps } from 'motion-dom';\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nconst useHTMLVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeHTMLMotionValuesFromProps,\n createRenderState: createHtmlRenderState,\n});\n\nexport { useHTMLVisualState };\n//# sourceMappingURL=use-html-visual-state.mjs.map\n"],"names":["useHTMLVisualState","makeUseVisualState","scrapeMotionValuesFromProps","scrapeHTMLMotionValuesFromProps","createRenderState","createHtmlRenderState"],"mappings":"6QAMOA,MAAAA,EAAAC,EAAAA,mBAAA,CACHC,4BAAAC,EAAAD,4BACAE,kBAAAC,EAAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../motion/utils/is-forced-motion-value.mjs.js"),r=require("../../value/utils/is-motion-value.mjs.js"),s=require("./utils/build-styles.mjs.js"),n=require("./utils/create-render-state.mjs.js");function o(e,s,n){for(const o in s)r.isMotionValue(s[o])||t.isForcedMotionValue(o,n)||(e[o]=s[o])}function i(t,r){const i={};return o(i,t.style||{},t),Object.assign(i,function(t,r){let{transformTemplate:o}=t;return e.useMemo((()=>{const e=n.createHtmlRenderState();return s.buildHTMLStyles(e,r,o),Object.assign({},e.vars,e.style)}),[r])}(t,r)),i}exports.copyRawValuesOnly=o,exports.useHTMLProps=function(e,t){const r={},s=i(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=s,r};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./utils/create-render-state.mjs.js"),s=require("../../../../../motion-dom/dist/es/value/utils/is-motion-value.mjs.js"),r=require("../../../../../motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js"),o=require("../../../../../motion-dom/dist/es/render/html/utils/build-styles.mjs.js");function n(e,t,o){for(const n in t)s.isMotionValue(t[n])||r.isForcedMotionValue(n,o)||(e[n]=t[n])}function i(s,r){const i={};return n(i,s.style||{},s),Object.assign(i,function(s,r){let{transformTemplate:n}=s;return e.useMemo((()=>{const e=t.createHtmlRenderState();return o.buildHTMLStyles(e,r,n),Object.assign({},e.vars,e.style)}),[r])}(s,r)),i}exports.copyRawValuesOnly=n,exports.useHTMLProps=function(e,t){const s={},r=i(e,t);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=r,s};
2
2
  //# sourceMappingURL=use-props.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-props.mjs"],"sourcesContent":["import { useMemo } from 'react';\nimport { isForcedMotionValue } from '../../motion/utils/is-forced-motion-value.mjs';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\nimport { buildHTMLStyles } from './utils/build-styles.mjs';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nfunction copyRawValuesOnly(target, source, props) {\n for (const key in source) {\n if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n target[key] = source[key];\n }\n }\n}\nfunction useInitialMotionValues({ transformTemplate }, visualState) {\n return useMemo(() => {\n const state = createHtmlRenderState();\n buildHTMLStyles(state, visualState, transformTemplate);\n return Object.assign({}, state.vars, state.style);\n }, [visualState]);\n}\nfunction useStyle(props, visualState) {\n const styleProp = props.style || {};\n const style = {};\n /**\n * Copy non-Motion Values straight into style\n */\n copyRawValuesOnly(style, styleProp, props);\n Object.assign(style, useInitialMotionValues(props, visualState));\n return style;\n}\nfunction useHTMLProps(props, visualState) {\n // The `any` isn't ideal but it is the type of createElement props argument\n const htmlProps = {};\n const style = useStyle(props, visualState);\n if (props.drag && props.dragListener !== false) {\n // Disable the ghost element when a user drags\n htmlProps.draggable = false;\n // Disable text selection\n style.userSelect =\n style.WebkitUserSelect =\n style.WebkitTouchCallout =\n \"none\";\n // Disable scrolling on the draggable direction\n style.touchAction =\n props.drag === true\n ? \"none\"\n : `pan-${props.drag === \"x\" ? \"y\" : \"x\"}`;\n }\n if (props.tabIndex === undefined &&\n (props.onTap || props.onTapStart || props.whileTap)) {\n htmlProps.tabIndex = 0;\n }\n htmlProps.style = style;\n return htmlProps;\n}\n\nexport { copyRawValuesOnly, useHTMLProps };\n"],"names":["copyRawValuesOnly","target","source","props","key","isMotionValue","isForcedMotionValue","useStyle","visualState","style","Object","assign","_ref","transformTemplate","useMemo","state","createHtmlRenderState","buildHTMLStyles","vars","useInitialMotionValues","htmlProps","drag","dragListener","draggable","userSelect","WebkitUserSelect","WebkitTouchCallout","touchAction","undefined","tabIndex","onTap","onTapStart","whileTap"],"mappings":"wSAMA,SAASA,EAAkBC,EAAQC,EAAQC,GACvC,IAAK,MAAMC,KAAOF,EACTG,EAAAA,cAAcH,EAAOE,KAAUE,EAAmBA,oBAACF,EAAKD,KACzDF,EAAOG,GAAOF,EAAOE,GAGjC,CAQA,SAASG,EAASJ,EAAOK,GACrB,MACMC,EAAQ,CAAA,EAMd,OAFAT,EAAkBS,EALAN,EAAMM,OAAS,GAKGN,GACpCO,OAAOC,OAAOF,EAdlB,SAA+BG,EAAwBJ,GAAa,IAApCK,kBAAEA,GAAmBD,EACjD,OAAOE,EAAOA,SAAC,KACX,MAAMC,EAAQC,EAAAA,wBAEd,OADAC,EAAAA,gBAAgBF,EAAOP,EAAaK,GAC7BH,OAAOC,OAAO,CAAE,EAAEI,EAAMG,KAAMH,EAAMN,MAAM,GAClD,CAACD,GACR,CAQyBW,CAAuBhB,EAAOK,IAC5CC,CACX,kDACA,SAAsBN,EAAOK,GAEzB,MAAMY,EAAY,CAAA,EACZX,EAAQF,EAASJ,EAAOK,GAoB9B,OAnBIL,EAAMkB,OAA+B,IAAvBlB,EAAMmB,eAEpBF,EAAUG,WAAY,EAEtBd,EAAMe,WACFf,EAAMgB,iBACFhB,EAAMiB,mBACF,OAEZjB,EAAMkB,aACa,IAAfxB,EAAMkB,KACA,OACA,QAAsB,MAAflB,EAAMkB,KAAe,IAAM,WAEzBO,IAAnBzB,EAAM0B,WACL1B,EAAM2B,OAAS3B,EAAM4B,YAAc5B,EAAM6B,YAC1CZ,EAAUS,SAAW,GAEzBT,EAAUX,MAAQA,EACXW,CACX"}
1
+ {"version":3,"file":"use-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/html/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { isMotionValue, isForcedMotionValue, buildHTMLStyles } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { createHtmlRenderState } from './utils/create-render-state.mjs';\n\nfunction copyRawValuesOnly(target, source, props) {\n for (const key in source) {\n if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {\n target[key] = source[key];\n }\n }\n}\nfunction useInitialMotionValues({ transformTemplate }, visualState) {\n return useMemo(() => {\n const state = createHtmlRenderState();\n buildHTMLStyles(state, visualState, transformTemplate);\n return Object.assign({}, state.vars, state.style);\n }, [visualState]);\n}\nfunction useStyle(props, visualState) {\n const styleProp = props.style || {};\n const style = {};\n /**\n * Copy non-Motion Values straight into style\n */\n copyRawValuesOnly(style, styleProp, props);\n Object.assign(style, useInitialMotionValues(props, visualState));\n return style;\n}\nfunction useHTMLProps(props, visualState) {\n // The `any` isn't ideal but it is the type of createElement props argument\n const htmlProps = {};\n const style = useStyle(props, visualState);\n if (props.drag && props.dragListener !== false) {\n // Disable the ghost element when a user drags\n htmlProps.draggable = false;\n // Disable text selection\n style.userSelect =\n style.WebkitUserSelect =\n style.WebkitTouchCallout =\n \"none\";\n // Disable scrolling on the draggable direction\n style.touchAction =\n props.drag === true\n ? \"none\"\n : `pan-${props.drag === \"x\" ? \"y\" : \"x\"}`;\n }\n if (props.tabIndex === undefined &&\n (props.onTap || props.onTapStart || props.whileTap)) {\n htmlProps.tabIndex = 0;\n }\n htmlProps.style = style;\n return htmlProps;\n}\n\nexport { copyRawValuesOnly, useHTMLProps };\n//# sourceMappingURL=use-props.mjs.map\n"],"names":["key","source","isMotionValue","isForcedMotionValue","props","useStyle","visualState","copyRawValuesOnly","style","Object","assign","_ref","transformTemplate","state","createHtmlRenderState","buildHTMLStyles","vars","useInitialMotionValues","htmlProps","draggable","userSelect","WebkitUserSelect","WebkitTouchCallout","touchAction","drag","undefined","tabIndex","onTap","onTapStart","whileTap"],"mappings":"8ZAaI,IAAAA,MAAAA,KAAAC,EACIC,EAAAA,cAAAD,EAAAD,KAAAG,EAAAA,oBAAAH,EAAAI,eAIR,CAeA,SAAAC,EAAAD,EAAAE,GAII,WAUA,OAJAC,EAAAC,EANAJ,EAAAI,OAAA,GAMAJ,GAEAK,OAAAC,OAAAF,EAzBJ,SAAAG,EAAAL,GAAA,IAAAM,kBAAAA,GAAAD,yBAKQ,MAAAE,EAAAC,EAAAA,wBAIA,OAFAC,EAAAA,gBAAAF,EAAAP,EAAAM,GAEAH,OAAAC,OAAAG,CAAAA,EAAAA,EAAAG,KAAAH,EAAAL,MAAA,GACJ,CAAAF,GACJ,CAcIW,CAAAb,EAAAE,IAEAE,CACJ,kDAEM,SAAAJ,EAAAE,uBAkCF,qCAxBIY,EAAAC,WAAA,EAGAX,EAAAY,WACIZ,EAAAa,iBACAb,EAAAc,mBACI,OAGRd,EAAAe,wBAEQ,OACA,QAAA,MAAAnB,EAAAoB,KAAA,IAAA,WAGZC,IAAArB,EAAAsB,WAEItB,EAAAuB,OAAAvB,EAAAwB,YAAAxB,EAAAyB,YAEAX,EAAAQ,SAAA,GAGJR,EAAAV,MAAAA,EAEAU,CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-render-state.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"],"sourcesContent":["const createHtmlRenderState = () => ({\n style: {},\n transform: {},\n transformOrigin: {},\n vars: {},\n});\n\nexport { createHtmlRenderState };\n"],"names":["createHtmlRenderState","style","transform","transformOrigin","vars"],"mappings":"kGAA8BA,KAAO,CACjCC,MAAO,CAAE,EACTC,UAAW,CAAE,EACbC,gBAAiB,CAAE,EACnBC,KAAM,CAAC"}
1
+ {"version":3,"file":"create-render-state.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs"],"sourcesContent":["const createHtmlRenderState = () => ({\n style: {},\n transform: {},\n transformOrigin: {},\n vars: {},\n});\n\nexport { createHtmlRenderState };\n//# sourceMappingURL=create-render-state.mjs.map\n"],"names":["createHtmlRenderState","style","transform","transformOrigin","vars"],"mappings":"kGAEqCA,KAAwB,CACzDC,MAAO,CAAE,EACTC,UAAW,CAAE,EACbC,gBAAiB,CAAE,EACnBC,KAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"lowercase-elements.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"],"sourcesContent":["/**\n * We keep these listed separately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nconst lowercaseSVGElements = [\n \"animate\",\n \"circle\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"g\",\n \"image\",\n \"line\",\n \"filter\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"rect\",\n \"stop\",\n \"switch\",\n \"symbol\",\n \"svg\",\n \"text\",\n \"tspan\",\n \"use\",\n \"view\",\n];\n\nexport { lowercaseSVGElements };\n"],"names":[],"mappings":"iGAI6B,CACzB,UACA,SACA,OACA,OACA,UACA,IACA,QACA,OACA,SACA,SACA,OACA,WACA,OACA,UACA,UACA,WACA,OACA,OACA,SACA,SACA,MACA,OACA,QACA,MACA"}
1
+ {"version":3,"file":"lowercase-elements.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs"],"sourcesContent":["/**\n * We keep these listed separately as we use the lowercase tag names as part\n * of the runtime bundle to detect SVG components\n */\nconst lowercaseSVGElements = [\n \"animate\",\n \"circle\",\n \"defs\",\n \"desc\",\n \"ellipse\",\n \"g\",\n \"image\",\n \"line\",\n \"filter\",\n \"marker\",\n \"mask\",\n \"metadata\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"rect\",\n \"stop\",\n \"switch\",\n \"symbol\",\n \"svg\",\n \"text\",\n \"tspan\",\n \"use\",\n \"view\",\n];\n\nexport { lowercaseSVGElements };\n//# sourceMappingURL=lowercase-elements.mjs.map\n"],"names":[],"mappings":"iGAIoC,CAChC,UACA,SACA,OACA,OACA,UACA,IACA,QACA,OACA,SACA,SACA,OACA,WACA,OACA,UACA,UACA,WACA,OACA,OACA,SACA,SACA,MACA,OACA,QACA,MACA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),t=require("./utils/build-attrs.mjs.js"),r=require("./utils/create-render-state.mjs.js"),u=require("./utils/is-svg-tag.mjs.js");exports.useSVGProps=function(l,i,a,o){const n=e.useMemo((()=>{const e=r.createSvgRenderState();return t.buildSVGAttrs(e,i,u.isSVGTag(o),l.transformTemplate),{...e.attrs,style:{...e.style}}}),[i]);if(l.style){const e={};s.copyRawValuesOnly(e,l.style,l),n.style={...e,...n.style}}return n};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),s=require("../html/use-props.mjs.js"),t=require("./utils/create-render-state.mjs.js"),r=require("../../../../../motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js"),i=require("../../../../../motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs.js");exports.useSVGProps=function(u,o,l,n){const a=e.useMemo((()=>{const e=t.createSvgRenderState();return r.buildSVGAttrs(e,o,i.isSVGTag(n),u.transformTemplate,u.style),{...e.attrs,style:{...e.style}}}),[o]);if(u.style){const e={};s.copyRawValuesOnly(e,u.style,u),a.style={...e,...a.style}}return a};
2
2
  //# sourceMappingURL=use-props.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-props.mjs"],"sourcesContent":["import { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate);\n return {\n ...state.attrs,\n style: { ...state.style },\n };\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = { ...rawStyles, ...visualProps.style };\n }\n return visualProps;\n}\n\nexport { useSVGProps };\n"],"names":["props","visualState","_isStatic","Component","visualProps","useMemo","state","createSvgRenderState","buildSVGAttrs","isSVGTag","transformTemplate","attrs","style","rawStyles","copyRawValuesOnly"],"mappings":"oRAMA,SAAqBA,EAAOC,EAAaC,EAAWC,GAChD,MAAMC,EAAcC,EAAAA,SAAQ,KACxB,MAAMC,EAAQC,EAAAA,uBAEd,OADAC,EAAaA,cAACF,EAAOL,EAAaQ,EAAAA,SAASN,GAAYH,EAAMU,mBACtD,IACAJ,EAAMK,MACTC,MAAO,IAAKN,EAAMM,OACrB,GACF,CAACX,IACJ,GAAID,EAAMY,MAAO,CACb,MAAMC,EAAY,CAAA,EAClBC,EAAAA,kBAAkBD,EAAWb,EAAMY,MAAOZ,GAC1CI,EAAYQ,MAAQ,IAAKC,KAAcT,EAAYQ,MACvD,CACA,OAAOR,CACX"}
1
+ {"version":3,"file":"use-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-props.mjs"],"sourcesContent":["\"use client\";\nimport { buildSVGAttrs, isSVGTag } from 'motion-dom';\nimport { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate, props.style);\n return {\n ...state.attrs,\n style: { ...state.style },\n };\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = { ...rawStyles, ...visualProps.style };\n }\n return visualProps;\n}\n\nexport { useSVGProps };\n//# sourceMappingURL=use-props.mjs.map\n"],"names":["props","visualState","_isStatic","Component","visualProps","useMemo","state","createSvgRenderState","buildSVGAttrs","isSVGTag","transformTemplate","style","rawStyles"],"mappings":"0WASM,SAAAA,EAAAC,EAAAC,EAAAC,GAMF,MAAAC,EAAAC,EAAAA,SAAA,KACI,MAAAC,EAAAC,EAAAA,8BAEAC,gBAAAF,EAAAL,EAAAQ,WAAAN,GAAAH,EAAAU,kBAAAV,EAAAW,mBAUIA,MAAA,IAAAL,EAAAK,UAER,CAAAV,IAEA,GAAAD,EAAAW,MAAA,6CAGIP,EAAAO,MAAA,IAAAC,KAAAR,EAAAO,OAGJ,OAAAP,CACJ"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../motion/utils/use-visual-state.mjs.js"),s=require("./utils/create-render-state.mjs.js"),t=require("../../../../../motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js");const r=e.makeUseVisualState({scrapeMotionValuesFromProps:t.scrapeMotionValuesFromProps,createRenderState:s.createSvgRenderState});exports.useSVGVisualState=r;
2
+ //# sourceMappingURL=use-svg-visual-state.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-svg-visual-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { scrapeSVGMotionValuesFromProps } from 'motion-dom';\nimport { makeUseVisualState } from '../../motion/utils/use-visual-state.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\n\nconst useSVGVisualState = /*@__PURE__*/ makeUseVisualState({\n scrapeMotionValuesFromProps: scrapeSVGMotionValuesFromProps,\n createRenderState: createSvgRenderState,\n});\n\nexport { useSVGVisualState };\n//# sourceMappingURL=use-svg-visual-state.mjs.map\n"],"names":["useSVGVisualState","makeUseVisualState","scrapeMotionValuesFromProps","scrapeSVGMotionValuesFromProps","createRenderState","createSvgRenderState"],"mappings":"4QAMOA,MAAAA,EAAAC,EAAAA,mBAAA,CACHC,4BAAAC,EAAAD,4BACAE,kBAAAC,EAAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-render-state.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"],"sourcesContent":["import { createHtmlRenderState } from '../../html/utils/create-render-state.mjs';\n\nconst createSvgRenderState = () => ({\n ...createHtmlRenderState(),\n attrs: {},\n});\n\nexport { createSvgRenderState };\n"],"names":["createSvgRenderState","createHtmlRenderState","attrs"],"mappings":"8JAE6BA,KAAO,IAC7BC,0BACHC,MAAO,CAAC"}
1
+ {"version":3,"file":"create-render-state.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs"],"sourcesContent":["import { createHtmlRenderState } from '../../html/utils/create-render-state.mjs';\n\nconst createSvgRenderState = () => ({\n ...createHtmlRenderState(),\n attrs: {},\n});\n\nexport { createSvgRenderState };\n//# sourceMappingURL=create-render-state.mjs.map\n"],"names":["createSvgRenderState","createHtmlRenderState","attrs"],"mappings":"8JAGoCA,KAAuB,IACpDC,0BACHC,MAAO,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"distance.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/distance.mjs"],"sourcesContent":["const distance = (a, b) => Math.abs(a - b);\nfunction distance2D(a, b) {\n // Multi-dimensional\n const xDelta = distance(a.x, b.x);\n const yDelta = distance(a.y, b.y);\n return Math.sqrt(xDelta ** 2 + yDelta ** 2);\n}\n\nexport { distance, distance2D };\n"],"names":["distance","a","b","Math","abs","xDelta","x","yDelta","y","sqrt"],"mappings":"oEAAA,MAAMA,EAAWA,CAACC,EAAGC,IAAMC,KAAKC,IAAIH,EAAIC,yCACxC,SAAoBD,EAAGC,GAEnB,MAAMG,EAASL,EAASC,EAAEK,EAAGJ,EAAEI,GACzBC,EAASP,EAASC,EAAEO,EAAGN,EAAEM,GAC/B,OAAOL,KAAKM,KAAKJ,GAAU,EAAIE,GAAU,EAC7C"}
1
+ {"version":3,"file":"distance.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/distance.mjs"],"sourcesContent":["const distance = (a, b) => Math.abs(a - b);\nfunction distance2D(a, b) {\n // Multi-dimensional\n const xDelta = distance(a.x, b.x);\n const yDelta = distance(a.y, b.y);\n return Math.sqrt(xDelta ** 2 + yDelta ** 2);\n}\n\nexport { distance, distance2D };\n//# sourceMappingURL=distance.mjs.map\n"],"names":["distance","a","b","Math","abs","xDelta","x","yDelta","y","sqrt"],"mappings":"oEAEO,MAAMA,EAAWA,CAACC,EAAWC,IAAcC,KAAKC,IAAIH,EAAIC,yCAEzD,SAAqBD,EAAUC,GAEjC,MAAMG,EAASL,EAASC,EAAEK,EAAGJ,EAAEI,GACzBC,EAASP,EAASC,EAAEO,EAAGN,EAAEM,GAC/B,OAAOL,KAAKM,KAAKJ,GAAU,EAAIE,GAAU,EAC7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-context-window.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/get-context-window.mjs"],"sourcesContent":["// Fixes https://github.com/motiondivision/motion/issues/2270\nconst getContextWindow = ({ current }) => {\n return current ? current.ownerDocument.defaultView : null;\n};\n\nexport { getContextWindow };\n"],"names":["_ref","current","ownerDocument","defaultView"],"mappings":"6FACyBA,IAAiB,IAAhBC,QAAEA,GAASD,EACjC,OAAOC,EAAUA,EAAQC,cAAcC,YAAc,IAAI"}
1
+ {"version":3,"file":"get-context-window.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/get-context-window.mjs"],"sourcesContent":["// Fixes https://github.com/motiondivision/motion/issues/2270\nconst getContextWindow = ({ current }) => {\n return current ? current.ownerDocument.defaultView : null;\n};\n\nexport { getContextWindow };\n//# sourceMappingURL=get-context-window.mjs.map\n"],"names":["_ref","current","ownerDocument","defaultView"],"mappings":"6FAGgCA,IAAwC,IAAvCC,QAAEA,GAAiCD,EAChE,OAAOC,EAAUA,EAAQC,cAAcC,YAAc,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-browser.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-browser.mjs"],"sourcesContent":["const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n"],"names":["isBrowser","window"],"mappings":"oEAAA,MAAMA,EAA8B,oBAAXC"}
1
+ {"version":3,"file":"is-browser.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-browser.mjs"],"sourcesContent":["const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n//# sourceMappingURL=is-browser.mjs.map\n"],"names":["isBrowser","window"],"mappings":"0EAAaA,EAA8B,oBAAXC"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-ref-object.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"],"sourcesContent":["function isRefObject(ref) {\n return (ref &&\n typeof ref === \"object\" &&\n Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\nexport { isRefObject };\n"],"names":["ref","Object","prototype","hasOwnProperty","call"],"mappings":"wFAAA,SAAqBA,GACjB,OAAQA,GACW,iBAARA,GACPC,OAAOC,UAAUC,eAAeC,KAAKJ,EAAK,UAClD"}
1
+ {"version":3,"file":"is-ref-object.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/is-ref-object.mjs"],"sourcesContent":["function isRefObject(ref) {\n return (ref &&\n typeof ref === \"object\" &&\n Object.prototype.hasOwnProperty.call(ref, \"current\"));\n}\n\nexport { isRefObject };\n//# sourceMappingURL=is-ref-object.mjs.map\n"],"names":["ref","Object","prototype","hasOwnProperty","call"],"mappings":"wFAEM,SAA+BA,GACjC,OACIA,GACe,iBAARA,GACPC,OAAOC,UAAUC,eAAeC,KAAKJ,EAAK,UAElD"}
@@ -0,0 +1,2 @@
1
+ "use strict";function e(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}exports.useComposedRefs=function(){for(var e=arguments.length,n=new Array(e),u=0;u<e;u++)n[u]=arguments[u];return t.useCallback(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{let n=!1;const u=t.map((t=>{const u=r(t,e);return n||"function"!=typeof u||(n=!0),u}));if(n)return()=>{for(let e=0;e<u.length;e++){const n=u[e];"function"==typeof n?n():r(t[e],null)}}}}(...n),n)};
2
+ //# sourceMappingURL=use-composed-ref.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-composed-ref.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs"],"sourcesContent":["import * as React from 'react';\n\n/**\n * Taken from https://github.com/radix-ui/primitives/blob/main/packages/react/compose-refs/src/compose-refs.tsx\n */\n/**\n * Set a given ref to a given value\n * This utility takes care of different types of refs: callback refs and RefObject(s)\n */\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n }\n else if (ref !== null && ref !== undefined) {\n ref.current = value;\n }\n}\n/**\n * A utility to compose multiple refs together\n * Accepts callback refs and RefObject(s)\n */\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup === \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n // React <19 will log an error to the console if a callback ref returns a\n // value. We don't use ref cleanups internally so this will only happen if a\n // user's ref callback returns a value, which we only expect if they are\n // using the cleanup functionality added in React 19.\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup === \"function\") {\n cleanup();\n }\n else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\n/**\n * A custom hook that composes multiple refs\n * Accepts callback refs and RefObject(s)\n */\nfunction useComposedRefs(...refs) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n return React.useCallback(composeRefs(...refs), refs);\n}\n\nexport { useComposedRefs };\n//# sourceMappingURL=use-composed-ref.mjs.map\n"],"names":["setRef","ref","value","current","_len2","arguments","length","refs","Array","_key2","React","useCallback","_len","_key","node","hasCleanup","cleanups","map","cleanup","i","composeRefs"],"mappings":"6XAWA,SAASA,EAAUC,EAAqBC,GACpC,GAAmB,mBAARD,EACP,OAAOA,EAAIC,GACJD,UACLA,EAAkCE,QAAUD,EAEtD,yBAuCA,WAAqD,IAAA,IAAAE,EAAAC,UAAAC,OAAtBC,EAAsBC,IAAAA,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAtBF,EAAsBE,GAAAJ,UAAAI,GAEjD,OAAOC,EAAMC,YAnCjB,WAAiD,IAAA,IAAAC,EAAAP,UAAAC,OAAtBC,EAAsBC,IAAAA,MAAAI,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAAtBN,EAAsBM,GAAAR,UAAAQ,GAC7C,OAAQC,IACJ,IAAIC,GAAa,EACjB,MAAMC,EAAWT,EAAKU,KAAKhB,IACvB,MAAMiB,EAAUlB,EAAOC,EAAKa,GAI5B,OAHKC,GAAiC,mBAAZG,IACtBH,GAAa,GAEVG,CAAO,IAMlB,GAAIH,EACA,MAAO,KACH,IAAK,IAAII,EAAI,EAAGA,EAAIH,EAASV,OAAQa,IAAK,CACtC,MAAMD,EAAUF,EAASG,GACF,mBAAZD,EACPA,IAEAlB,EAAOO,EAAKY,GAAI,KAExB,EAER,CAER,CAQ6BC,IAAeb,GAAOA,EACnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-constant.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-constant.mjs"],"sourcesContent":["import { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n"],"names":["init","ref","useRef","current"],"mappings":"+GASA,SAAqBA,GACjB,MAAMC,EAAMC,SAAO,MAInB,OAHoB,OAAhBD,EAAIE,UACJF,EAAIE,QAAUH,KAEXC,EAAIE,OACf"}
1
+ {"version":3,"file":"use-constant.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-constant.mjs"],"sourcesContent":["\"use client\";\nimport { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n//# sourceMappingURL=use-constant.mjs.map\n"],"names":["init","ref","useRef","current"],"mappings":"+GAaM,SAAAA,GACF,MAAAC,EAAAC,SAAA,aAEA,OAAAD,EAAAE,UACIF,EAAAE,QAAAH,cAIR"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-isomorphic-effect.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"],"sourcesContent":["import { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n"],"names":["useIsomorphicLayoutEffect","isBrowser","useLayoutEffect","useEffect"],"mappings":"2FAGA,MAAMA,iCAAqCC,UAAGC,kBAAkBC,EAAAA"}
1
+ {"version":3,"file":"use-isomorphic-effect.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"],"sourcesContent":["\"use client\";\nimport { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n//# sourceMappingURL=use-isomorphic-effect.mjs.map\n"],"names":["useIsomorphicLayoutEffect","isBrowser","useLayoutEffect","useEffect"],"mappings":"2FAKO,MAAAA,iCAAAC,UAAAC,kBAAAC,EAAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../@babel/runtime/helpers/esm/classCallCheck.js"),o=require("../../../@babel/runtime/helpers/esm/createClass.js"),t=[],n=t.forEach,i=t.slice;var a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,r=function(e,o,t,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};t&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*t*1e3)),n&&(i.domain=n),document.cookie=function(e,o,t){var n=t||{};n.path=n.path||"/";var i=encodeURIComponent(o),r="".concat(e,"=").concat(i);if(n.maxAge>0){var s=n.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(s))}if(n.domain){if(!a.test(n.domain))throw new TypeError("option domain is invalid");r+="; Domain=".concat(n.domain)}if(n.path){if(!a.test(n.path))throw new TypeError("option path is invalid");r+="; Path=".concat(n.path)}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(r+="; HttpOnly"),n.secure&&(r+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r}(e,encodeURIComponent(o),i)},s=function(e){for(var o="".concat(e,"="),t=document.cookie.split(";"),n=0;n<t.length;n++){for(var i=t[n];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(o))return i.substring(o.length,i.length)}return null},u={name:"cookie",lookup:function(e){var o;if(e.lookupCookie&&"undefined"!=typeof document){var t=s(e.lookupCookie);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupCookie&&"undefined"!=typeof document&&r(o.lookupCookie,e,o.cookieMinutes,o.cookieDomain,o.cookieOptions)}},c={name:"querystring",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(t=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=t.substring(1).split("&"),i=0;i<n.length;i++){var a=n[i].indexOf("=");if(a>0)n[i].substring(0,a)===e.lookupQuerystring&&(o=n[i].substring(a+1))}}return o}},l=null,d=function(){if(null!==l)return l;try{l="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){l=!1}return l},g={name:"localStorage",lookup:function(e){var o;if(e.lookupLocalStorage&&d()){var t=window.localStorage.getItem(e.lookupLocalStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupLocalStorage&&d()&&window.localStorage.setItem(o.lookupLocalStorage,e)}},p=null,f=function(){if(null!==p)return p;try{p="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){p=!1}return p},h={name:"sessionStorage",lookup:function(e){var o;if(e.lookupSessionStorage&&f()){var t=window.sessionStorage.getItem(e.lookupSessionStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupSessionStorage&&f()&&window.sessionStorage.setItem(o.lookupSessionStorage,e)}},m={name:"navigator",lookup:function(e){var o=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)o.push(navigator.languages[t]);navigator.userLanguage&&o.push(navigator.userLanguage),navigator.language&&o.push(navigator.language)}return o.length>0?o:void 0}},v={name:"htmlTag",lookup:function(e){var o,t=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return t&&"function"==typeof t.getAttribute&&(o=t.getAttribute("lang")),o}},w={name:"path",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(t instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof t[e.lookupFromPathIndex])return;o=t[e.lookupFromPathIndex].replace("/","")}else o=t[0].replace("/","")}return o}},k={name:"subdomain",lookup:function(e){var o="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,t="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(t)return t[o]}};var S=function(){function t(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.default(this,t),this.type="languageDetector",this.detectors={},this.init(o,n)}return o.default(t,[{key:"init",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=function(e){return n.call(i.call(arguments,1),(function(o){if(o)for(var t in o)void 0===e[t]&&(e[t]=o[t])})),e}(o,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=t,this.addDetector(u),this.addDetector(c),this.addDetector(g),this.addDetector(h),this.addDetector(m),this.addDetector(v),this.addDetector(w),this.addDetector(k)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var o=this;e||(e=this.options.order);var t=[];return e.forEach((function(e){if(o.detectors[e]){var n=o.detectors[e].lookup(o.options);n&&"string"==typeof n&&(n=[n]),n&&(t=t.concat(n))}})),t=t.map((function(e){return o.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}},{key:"cacheUserLanguage",value:function(e,o){var t=this;o||(o=this.options.caches),o&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||o.forEach((function(o){t.detectors[o]&&t.detectors[o].cacheUserLanguage(e,t.options)})))}}]),t}();S.type="languageDetector",exports.default=S;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../@babel/runtime/helpers/esm/classCallCheck.js"),o=require("../../../@babel/runtime/helpers/esm/createClass.js"),t=[],n=t.forEach,i=t.slice;var a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,r=function(e,o,t,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};t&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*t*1e3)),n&&(i.domain=n),document.cookie=function(e,o,t){var n=t||{};n.path=n.path||"/";var i=encodeURIComponent(o),r="".concat(e,"=").concat(i);if(n.maxAge>0){var s=n.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(s))}if(n.domain){if(!a.test(n.domain))throw new TypeError("option domain is invalid");r+="; Domain=".concat(n.domain)}if(n.path){if(!a.test(n.path))throw new TypeError("option path is invalid");r+="; Path=".concat(n.path)}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires=".concat(n.expires.toUTCString())}if(n.httpOnly&&(r+="; HttpOnly"),n.secure&&(r+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r}(e,encodeURIComponent(o),i)},s=function(e){for(var o="".concat(e,"="),t=document.cookie.split(";"),n=0;n<t.length;n++){for(var i=t[n];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(o))return i.substring(o.length,i.length)}return null},u={name:"cookie",lookup:function(e){var o;if(e.lookupCookie&&"undefined"!=typeof document){var t=s(e.lookupCookie);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupCookie&&"undefined"!=typeof document&&r(o.lookupCookie,e,o.cookieMinutes,o.cookieDomain,o.cookieOptions)}},c={name:"querystring",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(t=window.location.hash.substring(window.location.hash.indexOf("?")));for(var n=t.substring(1).split("&"),i=0;i<n.length;i++){var a=n[i].indexOf("=");if(a>0)n[i].substring(0,a)===e.lookupQuerystring&&(o=n[i].substring(a+1))}}return o}},l=null,d=function(){if(null!==l)return l;try{l="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){l=!1}return l},g={name:"localStorage",lookup:function(e){var o;if(e.lookupLocalStorage&&d()){var t=window.localStorage.getItem(e.lookupLocalStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupLocalStorage&&d()&&window.localStorage.setItem(o.lookupLocalStorage,e)}},p=null,h=function(){if(null!==p)return p;try{p="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){p=!1}return p},f={name:"sessionStorage",lookup:function(e){var o;if(e.lookupSessionStorage&&h()){var t=window.sessionStorage.getItem(e.lookupSessionStorage);t&&(o=t)}return o},cacheUserLanguage:function(e,o){o.lookupSessionStorage&&h()&&window.sessionStorage.setItem(o.lookupSessionStorage,e)}},m={name:"navigator",lookup:function(e){var o=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)o.push(navigator.languages[t]);navigator.userLanguage&&o.push(navigator.userLanguage),navigator.language&&o.push(navigator.language)}return o.length>0?o:void 0}},v={name:"htmlTag",lookup:function(e){var o,t=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return t&&"function"==typeof t.getAttribute&&(o=t.getAttribute("lang")),o}},w={name:"path",lookup:function(e){var o;if("undefined"!=typeof window){var t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(t instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof t[e.lookupFromPathIndex])return;o=t[e.lookupFromPathIndex].replace("/","")}else o=t[0].replace("/","")}return o}},k={name:"subdomain",lookup:function(e){var o="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,t="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(t)return t[o]}},S=!1;try{document.cookie,S=!0}catch(e){}var x=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];S||x.splice(1,1);var y=function(){return o.default((function o(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.default(this,o),this.type="languageDetector",this.detectors={},this.init(t,n)}),[{key:"init",value:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=function(e){return n.call(i.call(arguments,1),(function(o){if(o)for(var t in o)void 0===e[t]&&(e[t]=o[t])})),e}(o,this.options||{},{order:x,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=t,this.addDetector(u),this.addDetector(c),this.addDetector(g),this.addDetector(f),this.addDetector(m),this.addDetector(v),this.addDetector(w),this.addDetector(k)}},{key:"addDetector",value:function(e){return this.detectors[e.name]=e,this}},{key:"detect",value:function(e){var o=this;e||(e=this.options.order);var t=[];return e.forEach((function(e){if(o.detectors[e]){var n=o.detectors[e].lookup(o.options);n&&"string"==typeof n&&(n=[n]),n&&(t=t.concat(n))}})),t=t.map((function(e){return o.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}},{key:"cacheUserLanguage",value:function(e,o){var t=this;o||(o=this.options.caches),o&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||o.forEach((function(o){t.detectors[o]&&t.detectors[o].cacheUserLanguage(e,t.options)})))}}])}();y.type="languageDetector",exports.default=y;
2
2
  //# sourceMappingURL=i18nextBrowserLanguageDetector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18nextBrowserLanguageDetector.js","sources":["../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js"],"sourcesContent":["import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\n\nvar arr = [];\nvar each = arr.forEach;\nvar slice = arr.slice;\nfunction defaults(obj) {\n each.call(slice.call(arguments, 1), function (source) {\n if (source) {\n for (var prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\n\n// eslint-disable-next-line no-control-regex\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\nvar serializeCookie = function serializeCookie(name, val, options) {\n var opt = options || {};\n opt.path = opt.path || '/';\n var value = encodeURIComponent(val);\n var str = \"\".concat(name, \"=\").concat(value);\n if (opt.maxAge > 0) {\n var maxAge = opt.maxAge - 0;\n if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += \"; Max-Age=\".concat(Math.floor(maxAge));\n }\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n str += \"; Domain=\".concat(opt.domain);\n }\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n str += \"; Path=\".concat(opt.path);\n }\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n str += \"; Expires=\".concat(opt.expires.toUTCString());\n }\n if (opt.httpOnly) str += '; HttpOnly';\n if (opt.secure) str += '; Secure';\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n return str;\n};\nvar cookie = {\n create: function create(name, value, minutes, domain) {\n var cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n path: '/',\n sameSite: 'strict'\n };\n if (minutes) {\n cookieOptions.expires = new Date();\n cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);\n }\n if (domain) cookieOptions.domain = domain;\n document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);\n },\n read: function read(name) {\n var nameEQ = \"\".concat(name, \"=\");\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) === ' ') {\n c = c.substring(1, c.length);\n }\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n },\n remove: function remove(name) {\n this.create(name, '', -1);\n }\n};\nvar cookie$1 = {\n name: 'cookie',\n lookup: function lookup(options) {\n var found;\n if (options.lookupCookie && typeof document !== 'undefined') {\n var c = cookie.read(options.lookupCookie);\n if (c) found = c;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupCookie && typeof document !== 'undefined') {\n cookie.create(options.lookupCookie, lng, options.cookieMinutes, options.cookieDomain, options.cookieOptions);\n }\n }\n};\n\nvar querystring = {\n name: 'querystring',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var search = window.location.search;\n if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {\n search = window.location.hash.substring(window.location.hash.indexOf('?'));\n }\n var query = search.substring(1);\n var params = query.split('&');\n for (var i = 0; i < params.length; i++) {\n var pos = params[i].indexOf('=');\n if (pos > 0) {\n var key = params[i].substring(0, pos);\n if (key === options.lookupQuerystring) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n return found;\n }\n};\n\nvar hasLocalStorageSupport = null;\nvar localStorageAvailable = function localStorageAvailable() {\n if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;\n try {\n hasLocalStorageSupport = window !== 'undefined' && window.localStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.localStorage.setItem(testKey, 'foo');\n window.localStorage.removeItem(testKey);\n } catch (e) {\n hasLocalStorageSupport = false;\n }\n return hasLocalStorageSupport;\n};\nvar localStorage = {\n name: 'localStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupLocalStorage && localStorageAvailable()) {\n var lng = window.localStorage.getItem(options.lookupLocalStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupLocalStorage && localStorageAvailable()) {\n window.localStorage.setItem(options.lookupLocalStorage, lng);\n }\n }\n};\n\nvar hasSessionStorageSupport = null;\nvar sessionStorageAvailable = function sessionStorageAvailable() {\n if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;\n try {\n hasSessionStorageSupport = window !== 'undefined' && window.sessionStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.sessionStorage.setItem(testKey, 'foo');\n window.sessionStorage.removeItem(testKey);\n } catch (e) {\n hasSessionStorageSupport = false;\n }\n return hasSessionStorageSupport;\n};\nvar sessionStorage = {\n name: 'sessionStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n var lng = window.sessionStorage.getItem(options.lookupSessionStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n window.sessionStorage.setItem(options.lookupSessionStorage, lng);\n }\n }\n};\n\nvar navigator$1 = {\n name: 'navigator',\n lookup: function lookup(options) {\n var found = [];\n if (typeof navigator !== 'undefined') {\n if (navigator.languages) {\n // chrome only; not an array, so can't use .push.apply instead of iterating\n for (var i = 0; i < navigator.languages.length; i++) {\n found.push(navigator.languages[i]);\n }\n }\n if (navigator.userLanguage) {\n found.push(navigator.userLanguage);\n }\n if (navigator.language) {\n found.push(navigator.language);\n }\n }\n return found.length > 0 ? found : undefined;\n }\n};\n\nvar htmlTag = {\n name: 'htmlTag',\n lookup: function lookup(options) {\n var found;\n var htmlTag = options.htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);\n if (htmlTag && typeof htmlTag.getAttribute === 'function') {\n found = htmlTag.getAttribute('lang');\n }\n return found;\n }\n};\n\nvar path = {\n name: 'path',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var language = window.location.pathname.match(/\\/([a-zA-Z-]*)/g);\n if (language instanceof Array) {\n if (typeof options.lookupFromPathIndex === 'number') {\n if (typeof language[options.lookupFromPathIndex] !== 'string') {\n return undefined;\n }\n found = language[options.lookupFromPathIndex].replace('/', '');\n } else {\n found = language[0].replace('/', '');\n }\n }\n }\n return found;\n }\n};\n\nvar subdomain = {\n name: 'subdomain',\n lookup: function lookup(options) {\n // If given get the subdomain index else 1\n var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1;\n // get all matches if window.location. is existing\n // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match\n // is the hostname no public domain get the or option of localhost\n var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\\w{2,5})\\.(([a-z0-9-]{1,63}\\.[a-z]{2,6})|localhost)/i);\n\n // if there is no match (null) return undefined\n if (!language) return undefined;\n // return the given group match\n return language[lookupFromSubdomainIndex];\n }\n};\n\nfunction getDefaults() {\n return {\n order: ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'],\n lookupQuerystring: 'lng',\n lookupCookie: 'i18next',\n lookupLocalStorage: 'i18nextLng',\n lookupSessionStorage: 'i18nextLng',\n // cache user language\n caches: ['localStorage'],\n excludeCacheFor: ['cimode'],\n // cookieMinutes: 10,\n // cookieDomain: 'myDomain'\n\n convertDetectedLanguage: function convertDetectedLanguage(l) {\n return l;\n }\n };\n}\nvar Browser = /*#__PURE__*/function () {\n function Browser(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, Browser);\n this.type = 'languageDetector';\n this.detectors = {};\n this.init(services, options);\n }\n _createClass(Browser, [{\n key: \"init\",\n value: function init(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services || {\n languageUtils: {}\n }; // this way the language detector can be used without i18next\n this.options = defaults(options, this.options || {}, getDefaults());\n if (typeof this.options.convertDetectedLanguage === 'string' && this.options.convertDetectedLanguage.indexOf('15897') > -1) {\n this.options.convertDetectedLanguage = function (l) {\n return l.replace('-', '_');\n };\n }\n\n // backwards compatibility\n if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;\n this.i18nOptions = i18nOptions;\n this.addDetector(cookie$1);\n this.addDetector(querystring);\n this.addDetector(localStorage);\n this.addDetector(sessionStorage);\n this.addDetector(navigator$1);\n this.addDetector(htmlTag);\n this.addDetector(path);\n this.addDetector(subdomain);\n }\n }, {\n key: \"addDetector\",\n value: function addDetector(detector) {\n this.detectors[detector.name] = detector;\n }\n }, {\n key: \"detect\",\n value: function detect(detectionOrder) {\n var _this = this;\n if (!detectionOrder) detectionOrder = this.options.order;\n var detected = [];\n detectionOrder.forEach(function (detectorName) {\n if (_this.detectors[detectorName]) {\n var lookup = _this.detectors[detectorName].lookup(_this.options);\n if (lookup && typeof lookup === 'string') lookup = [lookup];\n if (lookup) detected = detected.concat(lookup);\n }\n });\n detected = detected.map(function (d) {\n return _this.options.convertDetectedLanguage(d);\n });\n if (this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0\n return detected.length > 0 ? detected[0] : null; // a little backward compatibility\n }\n }, {\n key: \"cacheUserLanguage\",\n value: function cacheUserLanguage(lng, caches) {\n var _this2 = this;\n if (!caches) caches = this.options.caches;\n if (!caches) return;\n if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;\n caches.forEach(function (cacheName) {\n if (_this2.detectors[cacheName]) _this2.detectors[cacheName].cacheUserLanguage(lng, _this2.options);\n });\n }\n }]);\n return Browser;\n}();\nBrowser.type = 'languageDetector';\n\nexport { Browser as default };\n"],"names":["arr","each","forEach","slice","fieldContentRegExp","cookie","name","value","minutes","domain","cookieOptions","arguments","length","undefined","path","sameSite","expires","Date","setTime","getTime","document","val","options","opt","encodeURIComponent","str","concat","maxAge","Number","isNaN","Error","Math","floor","test","TypeError","toUTCString","httpOnly","secure","toLowerCase","serializeCookie","nameEQ","ca","split","i","c","charAt","substring","indexOf","cookie$1","lookup","found","lookupCookie","cacheUserLanguage","lng","cookieMinutes","cookieDomain","querystring","window","search","location","hash","params","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","testKey","setItem","removeItem","e","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","push","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","lookupFromSubdomainIndex","hostname","Browser","services","_classCallCheck","this","type","detectors","init","_createClass","key","i18nOptions","languageUtils","obj","call","source","prop","defaults","order","caches","excludeCacheFor","convertDetectedLanguage","l","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","map","d","getBestMatchFromCodes","_this2","cacheName"],"mappings":"2MAGIA,EAAM,GACNC,EAAOD,EAAIE,QACXC,EAAQH,EAAIG,MAahB,IAAIC,EAAqB,wCAoDrBC,EACM,SAAgBC,EAAMC,EAAOC,EAASC,GAC5C,IAAIC,EAAgBC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CACtFG,KAAM,IACNC,SAAU,UAERP,IACFE,EAAcM,QAAU,IAAIC,KAC5BP,EAAcM,QAAQE,QAAQR,EAAcM,QAAQG,UAAsB,GAAVX,EAAe,MAE7EC,IAAQC,EAAcD,OAASA,GACnCW,SAASf,OA9DS,SAAyBC,EAAMe,EAAKC,GACxD,IAAIC,EAAMD,GAAW,GACrBC,EAAIT,KAAOS,EAAIT,MAAQ,IACvB,IAAIP,EAAQiB,mBAAmBH,GAC3BI,EAAM,GAAGC,OAAOpB,EAAM,KAAKoB,OAAOnB,GACtC,GAAIgB,EAAII,OAAS,EAAG,CAClB,IAAIA,EAASJ,EAAII,OAAS,EAC1B,GAAIC,OAAOC,MAAMF,GAAS,MAAM,IAAIG,MAAM,6BAC1CL,GAAO,aAAaC,OAAOK,KAAKC,MAAML,GACxC,CACA,GAAIJ,EAAId,OAAQ,CACd,IAAKL,EAAmB6B,KAAKV,EAAId,QAC/B,MAAM,IAAIyB,UAAU,4BAEtBT,GAAO,YAAYC,OAAOH,EAAId,OAChC,CACA,GAAIc,EAAIT,KAAM,CACZ,IAAKV,EAAmB6B,KAAKV,EAAIT,MAC/B,MAAM,IAAIoB,UAAU,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AAS9F,OAAOuB,GACzC,CACF,IACAuE,EAAWA,EAASE,KAAI,SAAUC,GAChC,OAAOJ,EAAMjG,QAAQ2F,wBAAwBU,EAC/C,IACI1B,KAAKF,SAASS,cAAcoB,sBAA8BJ,EACvDA,EAAS5G,OAAS,EAAI4G,EAAS,GAAK,IAC7C,GACC,CACDlB,IAAK,oBACL/F,MAAO,SAA2B8C,EAAK0D,GACrC,IAAIc,EAAS5B,KACRc,IAAQA,EAASd,KAAK3E,QAAQyF,QAC9BA,IACDd,KAAK3E,QAAQ0F,iBAAmBf,KAAK3E,QAAQ0F,gBAAgBjE,QAAQM,IAAQ,GACjF0D,EAAO7G,SAAQ,SAAU4H,GACnBD,EAAO1B,UAAU2B,IAAYD,EAAO1B,UAAU2B,GAAW1E,kBAAkBC,EAAKwE,EAAOvG,QAC7F,IACF,KAEKwE,CACT,CAxE2B,GAyE3BA,EAAQI,KAAO"}
1
+ {"version":3,"file":"i18nextBrowserLanguageDetector.js","sources":["../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js"],"sourcesContent":["import _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\n\nvar arr = [];\nvar each = arr.forEach;\nvar slice = arr.slice;\nfunction defaults(obj) {\n each.call(slice.call(arguments, 1), function (source) {\n if (source) {\n for (var prop in source) {\n if (obj[prop] === undefined) obj[prop] = source[prop];\n }\n }\n });\n return obj;\n}\n\n// eslint-disable-next-line no-control-regex\nvar fieldContentRegExp = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/;\nvar serializeCookie = function serializeCookie(name, val, options) {\n var opt = options || {};\n opt.path = opt.path || '/';\n var value = encodeURIComponent(val);\n var str = \"\".concat(name, \"=\").concat(value);\n if (opt.maxAge > 0) {\n var maxAge = opt.maxAge - 0;\n if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');\n str += \"; Max-Age=\".concat(Math.floor(maxAge));\n }\n if (opt.domain) {\n if (!fieldContentRegExp.test(opt.domain)) {\n throw new TypeError('option domain is invalid');\n }\n str += \"; Domain=\".concat(opt.domain);\n }\n if (opt.path) {\n if (!fieldContentRegExp.test(opt.path)) {\n throw new TypeError('option path is invalid');\n }\n str += \"; Path=\".concat(opt.path);\n }\n if (opt.expires) {\n if (typeof opt.expires.toUTCString !== 'function') {\n throw new TypeError('option expires is invalid');\n }\n str += \"; Expires=\".concat(opt.expires.toUTCString());\n }\n if (opt.httpOnly) str += '; HttpOnly';\n if (opt.secure) str += '; Secure';\n if (opt.sameSite) {\n var sameSite = typeof opt.sameSite === 'string' ? opt.sameSite.toLowerCase() : opt.sameSite;\n switch (sameSite) {\n case true:\n str += '; SameSite=Strict';\n break;\n case 'lax':\n str += '; SameSite=Lax';\n break;\n case 'strict':\n str += '; SameSite=Strict';\n break;\n case 'none':\n str += '; SameSite=None';\n break;\n default:\n throw new TypeError('option sameSite is invalid');\n }\n }\n return str;\n};\nvar cookie = {\n create: function create(name, value, minutes, domain) {\n var cookieOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n path: '/',\n sameSite: 'strict'\n };\n if (minutes) {\n cookieOptions.expires = new Date();\n cookieOptions.expires.setTime(cookieOptions.expires.getTime() + minutes * 60 * 1000);\n }\n if (domain) cookieOptions.domain = domain;\n document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);\n },\n read: function read(name) {\n var nameEQ = \"\".concat(name, \"=\");\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) === ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n },\n remove: function remove(name) {\n this.create(name, '', -1);\n }\n};\nvar cookie$1 = {\n name: 'cookie',\n lookup: function lookup(options) {\n var found;\n if (options.lookupCookie && typeof document !== 'undefined') {\n var c = cookie.read(options.lookupCookie);\n if (c) found = c;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupCookie && typeof document !== 'undefined') {\n cookie.create(options.lookupCookie, lng, options.cookieMinutes, options.cookieDomain, options.cookieOptions);\n }\n }\n};\n\nvar querystring = {\n name: 'querystring',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var search = window.location.search;\n if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {\n search = window.location.hash.substring(window.location.hash.indexOf('?'));\n }\n var query = search.substring(1);\n var params = query.split('&');\n for (var i = 0; i < params.length; i++) {\n var pos = params[i].indexOf('=');\n if (pos > 0) {\n var key = params[i].substring(0, pos);\n if (key === options.lookupQuerystring) {\n found = params[i].substring(pos + 1);\n }\n }\n }\n }\n return found;\n }\n};\n\nvar hasLocalStorageSupport = null;\nvar localStorageAvailable = function localStorageAvailable() {\n if (hasLocalStorageSupport !== null) return hasLocalStorageSupport;\n try {\n hasLocalStorageSupport = window !== 'undefined' && window.localStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.localStorage.setItem(testKey, 'foo');\n window.localStorage.removeItem(testKey);\n } catch (e) {\n hasLocalStorageSupport = false;\n }\n return hasLocalStorageSupport;\n};\nvar localStorage = {\n name: 'localStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupLocalStorage && localStorageAvailable()) {\n var lng = window.localStorage.getItem(options.lookupLocalStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupLocalStorage && localStorageAvailable()) {\n window.localStorage.setItem(options.lookupLocalStorage, lng);\n }\n }\n};\n\nvar hasSessionStorageSupport = null;\nvar sessionStorageAvailable = function sessionStorageAvailable() {\n if (hasSessionStorageSupport !== null) return hasSessionStorageSupport;\n try {\n hasSessionStorageSupport = window !== 'undefined' && window.sessionStorage !== null;\n var testKey = 'i18next.translate.boo';\n window.sessionStorage.setItem(testKey, 'foo');\n window.sessionStorage.removeItem(testKey);\n } catch (e) {\n hasSessionStorageSupport = false;\n }\n return hasSessionStorageSupport;\n};\nvar sessionStorage = {\n name: 'sessionStorage',\n lookup: function lookup(options) {\n var found;\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n var lng = window.sessionStorage.getItem(options.lookupSessionStorage);\n if (lng) found = lng;\n }\n return found;\n },\n cacheUserLanguage: function cacheUserLanguage(lng, options) {\n if (options.lookupSessionStorage && sessionStorageAvailable()) {\n window.sessionStorage.setItem(options.lookupSessionStorage, lng);\n }\n }\n};\n\nvar navigator$1 = {\n name: 'navigator',\n lookup: function lookup(options) {\n var found = [];\n if (typeof navigator !== 'undefined') {\n if (navigator.languages) {\n // chrome only; not an array, so can't use .push.apply instead of iterating\n for (var i = 0; i < navigator.languages.length; i++) {\n found.push(navigator.languages[i]);\n }\n }\n if (navigator.userLanguage) {\n found.push(navigator.userLanguage);\n }\n if (navigator.language) {\n found.push(navigator.language);\n }\n }\n return found.length > 0 ? found : undefined;\n }\n};\n\nvar htmlTag = {\n name: 'htmlTag',\n lookup: function lookup(options) {\n var found;\n var htmlTag = options.htmlTag || (typeof document !== 'undefined' ? document.documentElement : null);\n if (htmlTag && typeof htmlTag.getAttribute === 'function') {\n found = htmlTag.getAttribute('lang');\n }\n return found;\n }\n};\n\nvar path = {\n name: 'path',\n lookup: function lookup(options) {\n var found;\n if (typeof window !== 'undefined') {\n var language = window.location.pathname.match(/\\/([a-zA-Z-]*)/g);\n if (language instanceof Array) {\n if (typeof options.lookupFromPathIndex === 'number') {\n if (typeof language[options.lookupFromPathIndex] !== 'string') {\n return undefined;\n }\n found = language[options.lookupFromPathIndex].replace('/', '');\n } else {\n found = language[0].replace('/', '');\n }\n }\n }\n return found;\n }\n};\n\nvar subdomain = {\n name: 'subdomain',\n lookup: function lookup(options) {\n // If given get the subdomain index else 1\n var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1;\n // get all matches if window.location. is existing\n // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match\n // is the hostname no public domain get the or option of localhost\n var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\\w{2,5})\\.(([a-z0-9-]{1,63}\\.[a-z]{2,6})|localhost)/i);\n\n // if there is no match (null) return undefined\n if (!language) return undefined;\n // return the given group match\n return language[lookupFromSubdomainIndex];\n }\n};\n\n// some environments, throws when accessing document.cookie\nvar canCookies = false;\ntry {\n // eslint-disable-next-line no-unused-expressions\n document.cookie;\n canCookies = true;\n // eslint-disable-next-line no-empty\n} catch (e) {}\nvar order = ['querystring', 'cookie', 'localStorage', 'sessionStorage', 'navigator', 'htmlTag'];\nif (!canCookies) order.splice(1, 1);\nfunction getDefaults() {\n return {\n order: order,\n lookupQuerystring: 'lng',\n lookupCookie: 'i18next',\n lookupLocalStorage: 'i18nextLng',\n lookupSessionStorage: 'i18nextLng',\n // cache user language\n caches: ['localStorage'],\n excludeCacheFor: ['cimode'],\n // cookieMinutes: 10,\n // cookieDomain: 'myDomain'\n\n convertDetectedLanguage: function convertDetectedLanguage(l) {\n return l;\n }\n };\n}\nvar Browser = /*#__PURE__*/function () {\n function Browser(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, Browser);\n this.type = 'languageDetector';\n this.detectors = {};\n this.init(services, options);\n }\n return _createClass(Browser, [{\n key: \"init\",\n value: function init(services) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n this.services = services || {\n languageUtils: {}\n }; // this way the language detector can be used without i18next\n this.options = defaults(options, this.options || {}, getDefaults());\n if (typeof this.options.convertDetectedLanguage === 'string' && this.options.convertDetectedLanguage.indexOf('15897') > -1) {\n this.options.convertDetectedLanguage = function (l) {\n return l.replace('-', '_');\n };\n }\n\n // backwards compatibility\n if (this.options.lookupFromUrlIndex) this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex;\n this.i18nOptions = i18nOptions;\n this.addDetector(cookie$1);\n this.addDetector(querystring);\n this.addDetector(localStorage);\n this.addDetector(sessionStorage);\n this.addDetector(navigator$1);\n this.addDetector(htmlTag);\n this.addDetector(path);\n this.addDetector(subdomain);\n }\n }, {\n key: \"addDetector\",\n value: function addDetector(detector) {\n this.detectors[detector.name] = detector;\n return this;\n }\n }, {\n key: \"detect\",\n value: function detect(detectionOrder) {\n var _this = this;\n if (!detectionOrder) detectionOrder = this.options.order;\n var detected = [];\n detectionOrder.forEach(function (detectorName) {\n if (_this.detectors[detectorName]) {\n var lookup = _this.detectors[detectorName].lookup(_this.options);\n if (lookup && typeof lookup === 'string') lookup = [lookup];\n if (lookup) detected = detected.concat(lookup);\n }\n });\n detected = detected.map(function (d) {\n return _this.options.convertDetectedLanguage(d);\n });\n if (this.services.languageUtils.getBestMatchFromCodes) return detected; // new i18next v19.5.0\n return detected.length > 0 ? detected[0] : null; // a little backward compatibility\n }\n }, {\n key: \"cacheUserLanguage\",\n value: function cacheUserLanguage(lng, caches) {\n var _this2 = this;\n if (!caches) caches = this.options.caches;\n if (!caches) return;\n if (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(lng) > -1) return;\n caches.forEach(function (cacheName) {\n if (_this2.detectors[cacheName]) _this2.detectors[cacheName].cacheUserLanguage(lng, _this2.options);\n });\n }\n }]);\n}();\nBrowser.type = 'languageDetector';\n\nexport { Browser as default };\n"],"names":["arr","each","forEach","slice","fieldContentRegExp","cookie","name","value","minutes","domain","cookieOptions","arguments","length","undefined","path","sameSite","expires","Date","setTime","getTime","document","val","options","opt","encodeURIComponent","str","concat","maxAge","Number","isNaN","Error","Math","floor","test","TypeError","toUTCString","httpOnly","secure","toLowerCase","serializeCookie","nameEQ","ca","split","i","c","charAt","substring","indexOf","cookie$1","lookup","found","lookupCookie","cacheUserLanguage","lng","cookieMinutes","cookieDomain","querystring","window","search","location","hash","params","pos","lookupQuerystring","hasLocalStorageSupport","localStorageAvailable","localStorage","testKey","setItem","removeItem","e","lookupLocalStorage","getItem","hasSessionStorageSupport","sessionStorageAvailable","sessionStorage","lookupSessionStorage","navigator$1","navigator","languages","push","userLanguage","language","htmlTag","documentElement","getAttribute","pathname","match","Array","lookupFromPathIndex","replace","subdomain","lookupFromSubdomainIndex","hostname","canCookies","order","splice","Browser","_createClass","services","_classCallCheck","this","type","detectors","init","key","i18nOptions","languageUtils","obj","call","source","prop","defaults","caches","excludeCacheFor","convertDetectedLanguage","l","lookupFromUrlIndex","addDetector","detector","detectionOrder","_this","detected","detectorName","map","d","getBestMatchFromCodes","_this2","cacheName"],"mappings":"2MAGIA,EAAM,GACNC,EAAOD,EAAIE,QACXC,EAAQH,EAAIG,MAahB,IAAIC,EAAqB,wCAoDrBC,EACM,SAAgBC,EAAMC,EAAOC,EAASC,GAC5C,IAAIC,EAAgBC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,CACtFG,KAAM,IACNC,SAAU,UAERP,IACFE,EAAcM,QAAU,IAAIC,KAC5BP,EAAcM,QAAQE,QAAQR,EAAcM,QAAQG,UAAsB,GAAVX,EAAe,MAE7EC,IAAQC,EAAcD,OAASA,GACnCW,SAASf,OA9DS,SAAyBC,EAAMe,EAAKC,GACxD,IAAIC,EAAMD,GAAW,GACrBC,EAAIT,KAAOS,EAAIT,MAAQ,IACvB,IAAIP,EAAQiB,mBAAmBH,GAC3BI,EAAM,GAAGC,OAAOpB,EAAM,KAAKoB,OAAOnB,GACtC,GAAIgB,EAAII,OAAS,EAAG,CAClB,IAAIA,EAASJ,EAAII,OAAS,EAC1B,GAAIC,OAAOC,MAAMF,GAAS,MAAM,IAAIG,MAAM,6BAC1CL,GAAO,aAAaC,OAAOK,KAAKC,MAAML,GACxC,CACA,GAAIJ,EAAId,OAAQ,CACd,IAAKL,EAAmB6B,KAAKV,EAAId,QAC/B,MAAM,IAAIyB,UAAU,4BAEtBT,GAAO,YAAYC,OAAOH,EAAId,OAChC,CACA,GAAIc,EAAIT,KA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,GAWf,OAVAF,EAAetH,SAAQ,SAAUyH,GAC/B,GAAIF,EAAMlB,UAAUoB,GAAe,CACjC,IAAI1E,EAASwE,EAAMlB,UAAUoB,GAAc1E,OAAOwE,EAAMnG,SACpD2B,GAA4B,iBAAXA,IAAqBA,EAAS,CAACA,IAChDA,IAAQyE,EAAWA,EAAShG,OAAOuB,GACzC,CACF,IACAyE,EAAWA,EAASE,KAAI,SAAUC,GAChC,OAAOJ,EAAMnG,QAAQ6F,wBAAwBU,EAC/C,IACIxB,KAAKF,SAASQ,cAAcmB,sBAA8BJ,EACvDA,EAAS9G,OAAS,EAAI8G,EAAS,GAAK,IAC7C,GACC,CACDjB,IAAK,oBACLlG,MAAO,SAA2B8C,EAAK4D,GACrC,IAAIc,EAAS1B,KACRY,IAAQA,EAASZ,KAAK/E,QAAQ2F,QAC9BA,IACDZ,KAAK/E,QAAQ4F,iBAAmBb,KAAK/E,QAAQ4F,gBAAgBnE,QAAQM,IAAQ,GACjF4D,EAAO/G,SAAQ,SAAU8H,GACnBD,EAAOxB,UAAUyB,IAAYD,EAAOxB,UAAUyB,GAAW5E,kBAAkBC,EAAK0E,EAAOzG,QAC7F,IACF,IAEJ,CAxE2B,GAyE3B2E,EAAQK,KAAO"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("../../../_virtual/index8.js");require("./requestMediaPermissions.js");var r=require("../../../_virtual/requestMediaPermissions.js");!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.requestMediaPermissions=e.MediaPermissionsErrorType=void 0;var i=r.__exports;Object.defineProperty(e,"MediaPermissionsErrorType",{enumerable:!0,get:function(){return i.MediaPermissionsErrorType}}),Object.defineProperty(e,"requestMediaPermissions",{enumerable:!0,get:function(){return i.requestMediaPermissions}})}(e.__exports);
1
+ "use strict";var e=require("../../../_virtual/index6.js");require("./requestMediaPermissions.js");var r=require("../../../_virtual/requestMediaPermissions.js");!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.requestMediaPermissions=e.MediaPermissionsErrorType=void 0;var i=r.__exports;Object.defineProperty(e,"MediaPermissionsErrorType",{enumerable:!0,get:function(){return i.MediaPermissionsErrorType}}),Object.defineProperty(e,"requestMediaPermissions",{enumerable:!0,get:function(){return i.requestMediaPermissions}})}(e.__exports);
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../frameloop/sync-time.mjs.js"),t=require("./JSAnimation.mjs.js"),i=require("./keyframes/get-final.mjs.js"),n=require("./keyframes/KeyframesResolver.mjs.js"),s=require("./NativeAnimationExtended.mjs.js"),a=require("./utils/can-animate.mjs.js"),o=require("./utils/WithPromise.mjs.js"),r=require("./waapi/supports/waapi.mjs.js"),m=require("../../../../motion-utils/dist/es/global-config.mjs.js"),l=require("../../../../motion-utils/dist/es/noop.mjs.js");class h extends o.WithPromise{constructor(t){let{autoplay:i=!0,delay:s=0,type:a="keyframes",repeat:o=0,repeatDelay:r=0,repeatType:m="loop",keyframes:l,name:h,motionValue:p,element:d,...u}=t;super(),this.stop=()=>{this._animation?(this._animation.stop(),this.stopTimeline?.()):this.keyframeResolver?.cancel()},this.createdAt=e.time.now();const y={autoplay:i,delay:s,type:a,repeat:o,repeatDelay:r,repeatType:m,name:h,motionValue:p,element:d,...u},f=d?.KeyframeResolver||n.KeyframeResolver;this.keyframeResolver=new f(l,((e,t,i)=>this.onKeyframesResolved(e,t,y,!i)),h,p,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,o,h,p){this.keyframeResolver=void 0;const{name:d,type:u,velocity:y,delay:f,isHandoff:c,onUpdate:v}=h;this.resolvedAt=e.time.now(),a.canAnimate(n,d,u,y)||(!m.MotionGlobalConfig.instantAnimations&&f||v?.(i.getFinalKeyframe(n,h,o)),n[0]=n[n.length-1],h.duration=0,h.repeat=0);const j={startTime:p?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:o,...h,keyframes:n},g=!c&&r.supportsBrowserAnimation(j)?new s.NativeAnimationExtended({...j,element:j.motionValue.owner.current}):new t.JSAnimation(j);g.finished.then((()=>this.notifyFinished())).catch(l.noop),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then((()=>{}))}get animation(){return this._animation||n.flushKeyframeResolvers(),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this.animation.cancel()}}exports.AsyncMotionValueAnimation=h;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../frameloop/sync-time.mjs.js"),t=require("./JSAnimation.mjs.js"),i=require("./keyframes/get-final.mjs.js"),n=require("./keyframes/KeyframesResolver.mjs.js"),s=require("./NativeAnimationExtended.mjs.js"),a=require("./utils/can-animate.mjs.js"),o=require("./utils/make-animation-instant.mjs.js"),r=require("./utils/WithPromise.mjs.js"),m=require("./waapi/supports/waapi.mjs.js"),l=require("../../../../motion-utils/dist/es/global-config.mjs.js"),h=require("../../../../motion-utils/dist/es/noop.mjs.js");class p extends r.WithPromise{constructor(t){let{autoplay:i=!0,delay:s=0,type:a="keyframes",repeat:o=0,repeatDelay:r=0,repeatType:m="loop",keyframes:l,name:h,motionValue:p,element:u,...d}=t;super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=e.time.now();const y={autoplay:i,delay:s,type:a,repeat:o,repeatDelay:r,repeatType:m,name:h,motionValue:p,element:u,...d},c=u?.KeyframeResolver||n.KeyframeResolver;this.keyframeResolver=new c(l,((e,t,i)=>this.onKeyframesResolved(e,t,y,!i)),h,p,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,r,p,u){this.keyframeResolver=void 0;const{name:d,type:y,velocity:c,delay:f,isHandoff:v,onUpdate:j}=p;this.resolvedAt=e.time.now();let g=!0;a.canAnimate(n,d,y,c)||(g=!1,!l.MotionGlobalConfig.instantAnimations&&f||j?.(i.getFinalKeyframe(n,p,r)),n[0]=n[n.length-1],o.makeAnimationInstant(p),p.repeat=0);const A={startTime:u?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:r,...p,keyframes:n},T=g&&!v&&m.supportsBrowserAnimation(A),k=A.motionValue?.owner?.current;let R;if(T)try{R=new s.NativeAnimationExtended({...A,element:k})}catch{R=new t.JSAnimation(A)}else R=new t.JSAnimation(A);R.finished.then((()=>{this.notifyFinished()})).catch(h.noop),this.pendingTimeline&&(this.stopTimeline=R.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=R}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then((()=>{}))}get animation(){return this._animation||(this.keyframeResolver?.resume(),n.flushKeyframeResolvers()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}exports.AsyncMotionValueAnimation=p;
2
2
  //# sourceMappingURL=AsyncMotionValueAnimation.mjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncMotionValueAnimation.mjs.js","sources":["../../../../../../node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs"],"sourcesContent":["import { MotionGlobalConfig, noop } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { JSAnimation } from './JSAnimation.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { KeyframeResolver, flushKeyframeResolvers } from './keyframes/KeyframesResolver.mjs';\nimport { NativeAnimationExtended } from './NativeAnimationExtended.mjs';\nimport { canAnimate } from './utils/can-animate.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\nimport { supportsBrowserAnimation } from './waapi/supports/waapi.mjs';\n\n/**\n * Maximum time allowed between an animation being created and it being\n * resolved for us to use the latter as the start time.\n *\n * This is to ensure that while we prefer to \"start\" an animation as soon\n * as it's triggered, we also want to avoid a visual jump if there's a big delay\n * between these two moments.\n */\nconst MAX_RESOLVE_DELAY = 40;\nclass AsyncMotionValueAnimation extends WithPromise {\n constructor({ autoplay = true, delay = 0, type = \"keyframes\", repeat = 0, repeatDelay = 0, repeatType = \"loop\", keyframes, name, motionValue, element, ...options }) {\n super();\n /**\n * Bound to support return animation.stop pattern\n */\n this.stop = () => {\n if (this._animation) {\n this._animation.stop();\n this.stopTimeline?.();\n }\n else {\n this.keyframeResolver?.cancel();\n }\n };\n this.createdAt = time.now();\n const optionsWithDefaults = {\n autoplay,\n delay,\n type,\n repeat,\n repeatDelay,\n repeatType,\n name,\n motionValue,\n element,\n ...options,\n };\n const KeyframeResolver$1 = element?.KeyframeResolver || KeyframeResolver;\n this.keyframeResolver = new KeyframeResolver$1(keyframes, (resolvedKeyframes, finalKeyframe, forced) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe, optionsWithDefaults, !forced), name, motionValue, element);\n this.keyframeResolver?.scheduleResolve();\n }\n onKeyframesResolved(keyframes, finalKeyframe, options, sync) {\n this.keyframeResolver = undefined;\n const { name, type, velocity, delay, isHandoff, onUpdate } = options;\n this.resolvedAt = time.now();\n /**\n * If we can't animate this value with the resolved keyframes\n * then we should complete it immediately.\n */\n if (!canAnimate(keyframes, name, type, velocity)) {\n if (MotionGlobalConfig.instantAnimations || !delay) {\n onUpdate?.(getFinalKeyframe(keyframes, options, finalKeyframe));\n }\n keyframes[0] = keyframes[keyframes.length - 1];\n options.duration = 0;\n options.repeat = 0;\n }\n /**\n * Resolve startTime for the animation.\n *\n * This method uses the createdAt and resolvedAt to calculate the\n * animation startTime. *Ideally*, we would use the createdAt time as t=0\n * as the following frame would then be the first frame of the animation in\n * progress, which would feel snappier.\n *\n * However, if there's a delay (main thread work) between the creation of\n * the animation and the first commited frame, we prefer to use resolvedAt\n * to avoid a sudden jump into the animation.\n */\n const startTime = sync\n ? !this.resolvedAt\n ? this.createdAt\n : this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY\n ? this.resolvedAt\n : this.createdAt\n : undefined;\n const resolvedOptions = {\n startTime,\n finalKeyframe,\n ...options,\n keyframes,\n };\n /**\n * Animate via WAAPI if possible. If this is a handoff animation, the optimised animation will be running via\n * WAAPI. Therefore, this animation must be JS to ensure it runs \"under\" the\n * optimised animation.\n */\n const animation = !isHandoff && supportsBrowserAnimation(resolvedOptions)\n ? new NativeAnimationExtended({\n ...resolvedOptions,\n element: resolvedOptions.motionValue.owner.current,\n })\n : new JSAnimation(resolvedOptions);\n animation.finished.then(() => this.notifyFinished()).catch(noop);\n if (this.pendingTimeline) {\n this.stopTimeline = animation.attachTimeline(this.pendingTimeline);\n this.pendingTimeline = undefined;\n }\n this._animation = animation;\n }\n get finished() {\n if (!this._animation) {\n return this._finished;\n }\n else {\n return this.animation.finished;\n }\n }\n then(onResolve, _onReject) {\n return this.finished.finally(onResolve).then(() => { });\n }\n get animation() {\n if (!this._animation) {\n flushKeyframeResolvers();\n }\n return this._animation;\n }\n get duration() {\n return this.animation.duration;\n }\n get time() {\n return this.animation.time;\n }\n set time(newTime) {\n this.animation.time = newTime;\n }\n get speed() {\n return this.animation.speed;\n }\n get state() {\n return this.animation.state;\n }\n set speed(newSpeed) {\n this.animation.speed = newSpeed;\n }\n get startTime() {\n return this.animation.startTime;\n }\n attachTimeline(timeline) {\n if (this._animation) {\n this.stopTimeline = this.animation.attachTimeline(timeline);\n }\n else {\n this.pendingTimeline = timeline;\n }\n return () => this.stop();\n }\n play() {\n this.animation.play();\n }\n pause() {\n this.animation.pause();\n }\n complete() {\n this.animation.complete();\n }\n cancel() {\n this.animation.cancel();\n }\n}\n\nexport { AsyncMotionValueAnimation };\n"],"names":["AsyncMotionValueAnimation","WithPromise","constructor","_ref","autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element","options","super","this","stop","_animation","stopTimeline","keyframeResolver","cancel","createdAt","time","now","optionsWithDefaults","KeyframeResolver$1","KeyframeResolver","resolvedKeyframes","finalKeyframe","forced","onKeyframesResolved","scheduleResolve","sync","undefined","velocity","isHandoff","onUpdate","resolvedAt","canAnimate","MotionGlobalConfig","instantAnimations","getFinalKeyframe","length","duration","resolvedOptions","startTime","animation","supportsBrowserAnimation","NativeAnimationExtended","owner","current","JSAnimation","finished","then","notifyFinished","catch","noop","pendingTimeline","attachTimeline","_finished","onResolve","_onReject","finally","flushKeyframeResolvers","newTime","speed","state","newSpeed","timeline","play","pause","complete"],"mappings":"uhBAmBA,MAAMA,UAAkCC,EAAAA,YACpCC,WAAAA,CAAWC,GAA0J,IAAzJC,SAAEA,GAAW,EAAIC,MAAEA,EAAQ,EAACC,KAAEA,EAAO,YAAWC,OAAEA,EAAS,EAACC,YAAEA,EAAc,EAACC,WAAEA,EAAa,OAAMC,UAAEA,EAASC,KAAEA,EAAIC,YAAEA,EAAWC,QAAEA,KAAYC,GAASX,EAC/JY,QAIAC,KAAKC,KAAO,KACJD,KAAKE,YACLF,KAAKE,WAAWD,OAChBD,KAAKG,kBAGLH,KAAKI,kBAAkBC,QAC3B,EAEJL,KAAKM,UAAYC,OAAKC,MACtB,MAAMC,EAAsB,CACxBrB,WACAC,QACAC,OACAC,SACAC,cACAC,aACAE,OACAC,cACAC,aACGC,GAEDY,EAAqBb,GA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,MAAK,QACjD,CACA,aAAIP,GAIA,OAHK/B,KAAKE,YACN8C,EAAAA,yBAEGhD,KAAKE,UAChB,CACA,YAAI0B,GACA,OAAO5B,KAAK+B,UAAUH,QAC1B,CACA,QAAIrB,GACA,OAAOP,KAAK+B,UAAUxB,IAC1B,CACA,QAAIA,CAAK0C,GACLjD,KAAK+B,UAAUxB,KAAO0C,CAC1B,CACA,SAAIC,GACA,OAAOlD,KAAK+B,UAAUmB,KAC1B,CACA,SAAIC,GACA,OAAOnD,KAAK+B,UAAUoB,KAC1B,CACA,SAAID,CAAME,GACNpD,KAAK+B,UAAUmB,MAAQE,CAC3B,CACA,aAAItB,GACA,OAAO9B,KAAK+B,UAAUD,SAC1B,CACAa,cAAAA,CAAeU,GAOX,OANIrD,KAAKE,WACLF,KAAKG,aAAeH,KAAK+B,UAAUY,eAAeU,GAGlDrD,KAAK0C,gBAAkBW,EAEpB,IAAMrD,KAAKC,MACtB,CACAqD,IAAAA,GACItD,KAAK+B,UAAUuB,MACnB,CACAC,KAAAA,GACIvD,KAAK+B,UAAUwB,OACnB,CACAC,QAAAA,GACIxD,KAAK+B,UAAUyB,UACnB,CACAnD,MAAAA,GACIL,KAAK+B,UAAU1B,QACnB"}
1
+ {"version":3,"file":"AsyncMotionValueAnimation.mjs.js","sources":["../../../../../../node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs"],"sourcesContent":["import { MotionGlobalConfig, noop } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { JSAnimation } from './JSAnimation.mjs';\nimport { getFinalKeyframe } from './keyframes/get-final.mjs';\nimport { KeyframeResolver, flushKeyframeResolvers } from './keyframes/KeyframesResolver.mjs';\nimport { NativeAnimationExtended } from './NativeAnimationExtended.mjs';\nimport { canAnimate } from './utils/can-animate.mjs';\nimport { makeAnimationInstant } from './utils/make-animation-instant.mjs';\nimport { WithPromise } from './utils/WithPromise.mjs';\nimport { supportsBrowserAnimation } from './waapi/supports/waapi.mjs';\n\n/**\n * Maximum time allowed between an animation being created and it being\n * resolved for us to use the latter as the start time.\n *\n * This is to ensure that while we prefer to \"start\" an animation as soon\n * as it's triggered, we also want to avoid a visual jump if there's a big delay\n * between these two moments.\n */\nconst MAX_RESOLVE_DELAY = 40;\nclass AsyncMotionValueAnimation extends WithPromise {\n constructor({ autoplay = true, delay = 0, type = \"keyframes\", repeat = 0, repeatDelay = 0, repeatType = \"loop\", keyframes, name, motionValue, element, ...options }) {\n super();\n /**\n * Bound to support return animation.stop pattern\n */\n this.stop = () => {\n if (this._animation) {\n this._animation.stop();\n this.stopTimeline?.();\n }\n this.keyframeResolver?.cancel();\n };\n this.createdAt = time.now();\n const optionsWithDefaults = {\n autoplay,\n delay,\n type,\n repeat,\n repeatDelay,\n repeatType,\n name,\n motionValue,\n element,\n ...options,\n };\n const KeyframeResolver$1 = element?.KeyframeResolver || KeyframeResolver;\n this.keyframeResolver = new KeyframeResolver$1(keyframes, (resolvedKeyframes, finalKeyframe, forced) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe, optionsWithDefaults, !forced), name, motionValue, element);\n this.keyframeResolver?.scheduleResolve();\n }\n onKeyframesResolved(keyframes, finalKeyframe, options, sync) {\n this.keyframeResolver = undefined;\n const { name, type, velocity, delay, isHandoff, onUpdate } = options;\n this.resolvedAt = time.now();\n /**\n * If we can't animate this value with the resolved keyframes\n * then we should complete it immediately.\n */\n let canAnimateValue = true;\n if (!canAnimate(keyframes, name, type, velocity)) {\n canAnimateValue = false;\n if (MotionGlobalConfig.instantAnimations || !delay) {\n onUpdate?.(getFinalKeyframe(keyframes, options, finalKeyframe));\n }\n keyframes[0] = keyframes[keyframes.length - 1];\n makeAnimationInstant(options);\n options.repeat = 0;\n }\n /**\n * Resolve startTime for the animation.\n *\n * This method uses the createdAt and resolvedAt to calculate the\n * animation startTime. *Ideally*, we would use the createdAt time as t=0\n * as the following frame would then be the first frame of the animation in\n * progress, which would feel snappier.\n *\n * However, if there's a delay (main thread work) between the creation of\n * the animation and the first committed frame, we prefer to use resolvedAt\n * to avoid a sudden jump into the animation.\n */\n const startTime = sync\n ? !this.resolvedAt\n ? this.createdAt\n : this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY\n ? this.resolvedAt\n : this.createdAt\n : undefined;\n const resolvedOptions = {\n startTime,\n finalKeyframe,\n ...options,\n keyframes,\n };\n /**\n * Animate via WAAPI if possible. If this is a handoff animation, the optimised animation will be running via\n * WAAPI. Therefore, this animation must be JS to ensure it runs \"under\" the\n * optimised animation.\n *\n * Also skip WAAPI when keyframes aren't animatable, as the resolved\n * values may not be valid CSS and would trigger browser warnings.\n */\n const useWaapi = canAnimateValue &&\n !isHandoff &&\n supportsBrowserAnimation(resolvedOptions);\n const element = resolvedOptions.motionValue?.owner?.current;\n let animation;\n if (useWaapi) {\n try {\n animation = new NativeAnimationExtended({\n ...resolvedOptions,\n element,\n });\n }\n catch {\n animation = new JSAnimation(resolvedOptions);\n }\n }\n else {\n animation = new JSAnimation(resolvedOptions);\n }\n animation.finished.then(() => {\n this.notifyFinished();\n }).catch(noop);\n if (this.pendingTimeline) {\n this.stopTimeline = animation.attachTimeline(this.pendingTimeline);\n this.pendingTimeline = undefined;\n }\n this._animation = animation;\n }\n get finished() {\n if (!this._animation) {\n return this._finished;\n }\n else {\n return this.animation.finished;\n }\n }\n then(onResolve, _onReject) {\n return this.finished.finally(onResolve).then(() => { });\n }\n get animation() {\n if (!this._animation) {\n this.keyframeResolver?.resume();\n flushKeyframeResolvers();\n }\n return this._animation;\n }\n get duration() {\n return this.animation.duration;\n }\n get iterationDuration() {\n return this.animation.iterationDuration;\n }\n get time() {\n return this.animation.time;\n }\n set time(newTime) {\n this.animation.time = newTime;\n }\n get speed() {\n return this.animation.speed;\n }\n get state() {\n return this.animation.state;\n }\n set speed(newSpeed) {\n this.animation.speed = newSpeed;\n }\n get startTime() {\n return this.animation.startTime;\n }\n attachTimeline(timeline) {\n if (this._animation) {\n this.stopTimeline = this.animation.attachTimeline(timeline);\n }\n else {\n this.pendingTimeline = timeline;\n }\n return () => this.stop();\n }\n play() {\n this.animation.play();\n }\n pause() {\n this.animation.pause();\n }\n complete() {\n this.animation.complete();\n }\n cancel() {\n if (this._animation) {\n this.animation.cancel();\n }\n this.keyframeResolver?.cancel();\n }\n}\n\nexport { AsyncMotionValueAnimation };\n//# sourceMappingURL=AsyncMotionValueAnimation.mjs.map\n"],"names":["AsyncMotionValueAnimation","WithPromise","constructor","_ref","autoplay","delay","type","repeat","repeatDelay","repeatType","keyframes","name","motionValue","element","options","super","this","stop","_animation","stopTimeline","keyframeResolver","cancel","createdAt","time","now","optionsWithDefaults","KeyframeResolver","resolvedKeyframes","finalKeyframe","forced","onKeyframesResolved","scheduleResolve","sync","undefined","velocity","isHandoff","onUpdate","resolvedAt","canAnimateValue","canAnimate","MotionGlobalConfig","instantAnimations","getFinalKeyframe","length","makeAnimationInstant","resolvedOptions","startTime","useWaapi","supportsBrowserAnimation","owner","current","animation","NativeAnimationExtended","JSAnimation","finished","then","notifyFinished","catch","noop","pendingTimeline","attachTimeline","_finished","onResolve","_onReject","finally","resume","flushKeyframeResolvers","duration","iterationDuration","newTime","speed","state","newSpeed","timeline","play","pause","complete"],"mappings":"0kBAoCM,MAAOA,UACDC,EAAAA,YAeRC,WAAAA,CAAAC,GAY2B,IAZfC,SACRA,GAAW,EAAIC,MACfA,EAAQ,EAACC,KACTA,EAAO,YAAWC,OAClBA,EAAS,EAACC,YACVA,EAAc,EAACC,WACfA,EAAa,OAAMC,UACnBA,EAASC,KACTA,EAAIC,YACJA,EAAWC,QACXA,KACGC,GACoBX,EACvBY,QA8NJC,KAAAC,KAAO,KACCD,KAAKE,aACLF,KAAKE,WAAWD,OAChBD,KAAKG,kBAGTH,KAAKI,kBAAkBC,QAAQ,EAlO/BL,KAAKM,UAAYC,OAAKC,MAEtB,MAAMC,EAAkD,CACpDrB,WACAC,QACAC,OACAC,SACAC,cACAC,aACAE,OACAC,cACAC,aACGC,GAGDY,EACFb,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OAAKtC,KAAKE,WAGCF,KAAKmC,UAAUG,SAFftC,KAAK6C,SAIpB,CAEAN,IAAAA,CAAKO,EAAyBC,GAC1B,OAAO/C,KAAKsC,SAASU,QAAQF,GAAWP,MAAK,QACjD,CAEA,aAAIJ,GAMA,OALKnC,KAAKE,aACNF,KAAKI,kBAAkB6C,SACvBC,EAAAA,0BAGGlD,KAAKE,UAChB,CAEA,YAAIiD,GACA,OAAOnD,KAAKmC,UAAUgB,QAC1B,CAEA,qBAAIC,GACA,OAAOpD,KAAKmC,UAAUiB,iBAC1B,CAEA,QAAI7C,GACA,OAAOP,KAAKmC,UAAU5B,IAC1B,CAEA,QAAIA,CAAK8C,GACLrD,KAAKmC,UAAU5B,KAAO8C,CAC1B,CAEA,SAAIC,GACA,OAAOtD,KAAKmC,UAAUmB,KAC1B,CAEA,SAAIC,GACA,OAAOvD,KAAKmC,UAAUoB,KAC1B,CAEA,SAAID,CAAME,GACNxD,KAAKmC,UAAUmB,MAAQE,CAC3B,CAEA,aAAI1B,GACA,OAAO9B,KAAKmC,UAAUL,SAC1B,CAEAc,cAAAA,CAAea,GAOX,OANIzD,KAAKE,WACLF,KAAKG,aAAeH,KAAKmC,UAAUS,eAAea,GAElDzD,KAAK2C,gBAAkBc,EAGpB,IAAMzD,KAAKC,MACtB,CAEAyD,IAAAA,GACI1D,KAAKmC,UAAUuB,MACnB,CAEAC,KAAAA,GACI3D,KAAKmC,UAAUwB,OACnB,CAEAC,QAAAA,GACI5D,KAAKmC,UAAUyB,UACnB,CAEAvD,MAAAA,GACQL,KAAKE,YACLF,KAAKmC,UAAU9B,SAGnBL,KAAKI,kBAAkBC,QAC3B"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../frameloop/sync-time.mjs.js"),e=require("../utils/mix/index.mjs.js"),i=require("./drivers/driver-frameloop.mjs.js"),s=require("./generators/inertia.mjs.js"),r=require("./generators/keyframes.mjs.js"),n=require("./generators/utils/calc-duration.mjs.js"),a=require("./keyframes/get-final.mjs.js"),o=require("./utils/replace-transition-type.mjs.js"),h=require("./utils/WithPromise.mjs.js"),l=require("../../../../motion-utils/dist/es/errors.mjs.js"),m=require("../../../../motion-utils/dist/es/pipe.mjs.js"),u=require("../../../../motion-utils/dist/es/clamp.mjs.js"),d=require("../../../../motion-utils/dist/es/time-conversion.mjs.js");const p=t=>t/100;class c extends h.WithPromise{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:e}=this.options;if(e&&e.updatedAt!==t.time.now()&&this.tick(t.time.now()),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:i}=this.options;i&&i()},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:t}=this;o.replaceTransitionType(t);const{type:i=r.keyframes,repeat:s=0,repeatDelay:a=0,repeatType:h,velocity:u=0}=t;let{keyframes:d}=t;const c=i||r.keyframes;"production"!==process.env.NODE_ENV&&c!==r.keyframes&&l.invariant(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`),c!==r.keyframes&&"number"!=typeof d[0]&&(this.mixKeyframes=m.pipe(p,e.mix(d[0],d[1])),d=[0,100]);const T=c({...t,keyframes:d});"mirror"===h&&(this.mirroredGenerator=c({...t,keyframes:[...d].reverse(),velocity:-u})),null===T.calculatedDuration&&(T.calculatedDuration=n.calcGeneratorDuration(T));const{calculatedDuration:y}=T;this.calculatedDuration=y,this.resolvedDuration=y+a,this.totalDuration=this.resolvedDuration*(s+1)-a,this.generator=T}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:o,resolvedDuration:h,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);const{delay:m=0,keyframes:d,repeat:p,repeatType:c,repeatDelay:T,type:y,onUpdate:f,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const j=this.currentTime-m*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?j<0:j>r;this.currentTime=Math.max(j,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let D=this.currentTime,S=i;if(p){const t=Math.min(this.currentTime,r)/h;let e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,e=Math.min(e,p+1);Boolean(e%2)&&("reverse"===c?(i=1-i,T&&(i-=T/h)):"mirror"===c&&(S=o)),D=u.clamp(0,1,i)*h}const g=k?{done:!1,value:d[0]}:S.next(D);n&&(g.value=n(g.value));let{done:b}=g;k||null===l||(b=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const q=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return q&&y!==s.inertia&&(g.value=a.getFinalKeyframe(d,this.options,v,this.speed)),f&&f(g.value),q&&this.finish(),g}then(t,e){return this.finished.then(t,e)}get duration(){return d.millisecondsToSeconds(this.calculatedDuration)}get time(){return d.millisecondsToSeconds(this.currentTime)}set time(t){t=d.secondsToMilliseconds(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(t.time.now());const i=this.playbackSpeed!==e;this.playbackSpeed=e,i&&(this.time=d.millisecondsToSeconds(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=i.frameloopDriver,onPlay:e,startTime:s}=this.options;this.driver||(this.driver=t((t=>this.tick(t)))),e&&e();const r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(t.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown()}teardown(){this.notifyFinished(),this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),t.observe(this)}}exports.JSAnimation=c;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../frameloop/sync-time.mjs.js"),e=require("../utils/mix/index.mjs.js"),i=require("./drivers/frame.mjs.js"),s=require("./generators/inertia.mjs.js"),r=require("./generators/keyframes.mjs.js"),n=require("./generators/utils/calc-duration.mjs.js"),a=require("./generators/utils/velocity.mjs.js"),o=require("./keyframes/get-final.mjs.js"),h=require("./utils/replace-transition-type.mjs.js"),l=require("./utils/WithPromise.mjs.js"),m=require("../../../../motion-utils/dist/es/errors.mjs.js"),d=require("../../../../motion-utils/dist/es/pipe.mjs.js"),u=require("../../../../motion-utils/dist/es/time-conversion.mjs.js"),c=require("../../../../motion-utils/dist/es/clamp.mjs.js");const p=t=>t/100;class T extends l.WithPromise{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==t.time.now()&&this.tick(t.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:t}=this;h.replaceTransitionType(t);const{type:i=r.keyframes,repeat:s=0,repeatDelay:a=0,repeatType:o,velocity:l=0}=t;let{keyframes:u}=t;const c=i||r.keyframes;"production"!==process.env.NODE_ENV&&c!==r.keyframes&&m.invariant(u.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${u}`,"spring-two-frames"),c!==r.keyframes&&"number"!=typeof u[0]&&(this.mixKeyframes=d.pipe(p,e.mix(u[0],u[1])),u=[0,100]);const T=c({...t,keyframes:u});"mirror"===o&&(this.mirroredGenerator=c({...t,keyframes:[...u].reverse(),velocity:-l})),null===T.calculatedDuration&&(T.calculatedDuration=n.calcGeneratorDuration(T));const{calculatedDuration:y}=T;this.calculatedDuration=y,this.resolvedDuration=y+a,this.totalDuration=this.resolvedDuration*(s+1)-a,this.generator=T}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:a,resolvedDuration:h,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);const{delay:m=0,keyframes:d,repeat:u,repeatType:p,repeatDelay:T,type:y,onUpdate:v,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const j=this.currentTime-m*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?j<0:j>r;this.currentTime=Math.max(j,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let g,S=this.currentTime,D=i;if(u){const t=Math.min(this.currentTime,r)/h;let e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,e=Math.min(e,u+1);Boolean(e%2)&&("reverse"===p?(i=1-i,T&&(i-=T/h)):"mirror"===p&&(D=a)),S=c.clamp(0,1,i)*h}k?(this.delayState.value=d[0],g=this.delayState):g=D.next(S),n&&!k&&(g.value=n(g.value));let{done:q}=g;k||null===l||(q=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&q);return w&&y!==s.inertia&&(g.value=o.getFinalKeyframe(d,this.options,f,this.speed)),v&&v(g.value),w&&this.finish(),g}then(t,e){return this.finished.then(t,e)}get duration(){return u.millisecondsToSeconds(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+u.millisecondsToSeconds(t)}get time(){return u.millisecondsToSeconds(this.currentTime)}set time(t){t=u.secondsToMilliseconds(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const e=this.generator.next(t).value;return a.getGeneratorVelocity((t=>this.generator.next(t).value),t,e)}get speed(){return this.playbackSpeed}set speed(e){const i=this.playbackSpeed!==e;i&&this.driver&&this.updateTime(t.time.now()),this.playbackSpeed=e,i&&this.driver&&(this.time=u.millisecondsToSeconds(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=i.frameloopDriver,startTime:e}=this.options;this.driver||(this.driver=t((t=>this.tick(t)))),this.options.onPlay?.();const s=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=s):null!==this.holdTime?this.startTime=s-this.holdTime:this.startTime||(this.startTime=e??s),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(t.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}exports.JSAnimation=T;
2
2
  //# sourceMappingURL=JSAnimation.mjs.js.map