@nethesis/phone-island 1.0.11 → 1.0.12-dev.2

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 (633) hide show
  1. package/dist/App.js +1 -1
  2. package/dist/App.js.map +1 -1
  3. package/dist/_virtual/index6.js +1 -1
  4. package/dist/_virtual/index8.js +1 -1
  5. package/dist/components/CallView/index.js +1 -1
  6. package/dist/components/CallView/index.js.map +1 -1
  7. package/dist/components/IslandMotion.js +1 -1
  8. package/dist/components/IslandMotion.js.map +1 -1
  9. package/dist/components/RecorderView/Actions.js +1 -1
  10. package/dist/components/RecorderView/Actions.js.map +1 -1
  11. package/dist/components/RestAPI.js +1 -1
  12. package/dist/components/RestAPI.js.map +1 -1
  13. package/dist/components/SideView/hooks/useSideViewLogic.js +1 -1
  14. package/dist/components/SideView/hooks/useSideViewLogic.js.map +1 -1
  15. package/dist/components/Socket.js +1 -1
  16. package/dist/components/Socket.js.map +1 -1
  17. package/dist/components/VideoView/index.js +1 -1
  18. package/dist/components/VideoView/index.js.map +1 -1
  19. package/dist/events/PlayerEvents.js +1 -1
  20. package/dist/events/PlayerEvents.js.map +1 -1
  21. package/dist/index.css +1 -1
  22. package/dist/lib/devices/devices.js +1 -1
  23. package/dist/lib/phone/call.js +1 -1
  24. package/dist/lib/phone/call.js.map +1 -1
  25. package/dist/models/motions.js +1 -1
  26. package/dist/models/motions.js.map +1 -1
  27. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.mjs.js +1 -7
  28. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.mjs.js.map +1 -1
  29. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js +1 -1
  30. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.mjs.js.map +1 -1
  31. package/dist/node_modules/@fortawesome/react-fontawesome/index.es.js +1 -1
  32. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js +2 -0
  33. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.mjs.js.map +1 -0
  34. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js +2 -0
  35. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs.js.map +1 -0
  36. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js +1 -1
  37. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs.js.map +1 -1
  38. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs.js +1 -1
  39. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs.js.map +1 -1
  40. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js +2 -0
  41. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.mjs.js.map +1 -0
  42. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js +2 -0
  43. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs.js.map +1 -0
  44. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js +2 -0
  45. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +1 -0
  46. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.mjs.js.map +1 -0
  47. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs.js.map +1 -0
  48. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +1 -0
  49. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js +2 -0
  50. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs.js.map +1 -0
  51. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs.js.map +1 -0
  52. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs.js.map +1 -0
  53. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js +2 -0
  54. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.mjs.js.map +1 -0
  55. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js +1 -1
  56. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs.js.map +1 -1
  57. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js +1 -1
  58. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs.js.map +1 -1
  59. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js +1 -1
  60. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs.js.map +1 -1
  61. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs.js.map +1 -1
  62. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs.js.map +1 -1
  63. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs.js.map +1 -1
  64. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.mjs.js.map +1 -1
  65. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs.js.map +1 -1
  66. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs.js.map +1 -1
  67. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs.js.map +1 -1
  68. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs.js +1 -1
  69. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs.js.map +1 -1
  70. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.mjs.js.map +1 -1
  71. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs.js.map +1 -1
  72. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.mjs.js.map +1 -0
  73. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs.js +1 -1
  74. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs.js.map +1 -1
  75. package/dist/node_modules/framer-motion/dist/es/events/event-info.mjs.js.map +1 -1
  76. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js +1 -1
  77. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs.js.map +1 -1
  78. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.mjs.js +1 -1
  79. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.mjs.js.map +1 -1
  80. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js +1 -1
  81. package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.mjs.js.map +1 -1
  82. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs.js +1 -1
  83. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs.js.map +1 -1
  84. package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js +1 -1
  85. package/dist/node_modules/framer-motion/dist/es/gestures/focus.mjs.js.map +1 -1
  86. package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js +1 -1
  87. package/dist/node_modules/framer-motion/dist/es/gestures/hover.mjs.js.map +1 -1
  88. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js +1 -1
  89. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs.js.map +1 -1
  90. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js +1 -1
  91. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.mjs.js.map +1 -1
  92. package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js +1 -1
  93. package/dist/node_modules/framer-motion/dist/es/gestures/press.mjs.js.map +1 -1
  94. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.mjs.js.map +1 -0
  95. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js +1 -1
  96. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs.js.map +1 -1
  97. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs.js +1 -1
  98. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs.js.map +1 -1
  99. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.mjs.js.map +1 -1
  100. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js +1 -1
  101. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.mjs.js.map +1 -1
  102. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.mjs.js +1 -1
  103. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.mjs.js.map +1 -1
  104. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.mjs.js.map +1 -1
  105. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js +1 -1
  106. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs.js.map +1 -1
  107. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.mjs.js +1 -1
  108. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.mjs.js.map +1 -1
  109. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.mjs.js +1 -1
  110. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.mjs.js.map +1 -1
  111. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js +1 -1
  112. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs.js.map +1 -1
  113. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs.js.map +1 -1
  114. package/dist/node_modules/framer-motion/dist/es/motion/index.mjs.js +1 -1
  115. package/dist/node_modules/framer-motion/dist/es/motion/index.mjs.js.map +1 -1
  116. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js +2 -0
  117. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs.js.map +1 -0
  118. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs.js.map +1 -1
  119. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js +1 -1
  120. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs.js.map +1 -1
  121. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js +1 -1
  122. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs.js.map +1 -1
  123. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js +1 -1
  124. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs.js.map +1 -1
  125. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs.js +1 -1
  126. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs.js.map +1 -1
  127. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js +2 -0
  128. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.mjs.js.map +1 -0
  129. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs.js.map +1 -0
  130. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.mjs.js.map +1 -0
  131. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js +2 -0
  132. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs.js.map +1 -0
  133. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js +2 -0
  134. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.mjs.js.map +1 -0
  135. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js +2 -0
  136. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.mjs.js.map +1 -0
  137. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.mjs.js.map +1 -0
  138. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.mjs.js.map +1 -0
  139. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js +2 -0
  140. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +1 -0
  141. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +1 -0
  142. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js +2 -0
  143. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.mjs.js.map +1 -0
  144. package/dist/node_modules/framer-motion/dist/es/projection/node/state.mjs.js.map +1 -0
  145. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js +2 -0
  146. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.mjs.js.map +1 -0
  147. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js +2 -0
  148. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.mjs.js.map +1 -0
  149. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js +2 -0
  150. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs.js.map +1 -0
  151. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js +2 -0
  152. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs.js.map +1 -0
  153. package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/styles/transform.mjs.js +1 -1
  154. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.mjs.js.map +1 -0
  155. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.mjs.js.map +1 -0
  156. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs.js.map +1 -0
  157. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.mjs.js.map +1 -0
  158. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js +2 -0
  159. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.mjs.js.map +1 -0
  160. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js +2 -0
  161. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.mjs.js.map +1 -0
  162. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js +1 -1
  163. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs.js.map +1 -1
  164. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js +2 -0
  165. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.mjs.js.map +1 -0
  166. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs.js +1 -1
  167. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs.js.map +1 -1
  168. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js +2 -0
  169. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs.js.map +1 -0
  170. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs.js +1 -1
  171. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs.js.map +1 -1
  172. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js +1 -1
  173. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.mjs.js.map +1 -1
  174. package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/dom/utils/camel-to-dash.mjs.js +1 -1
  175. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +1 -0
  176. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs.js +1 -1
  177. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs.js.map +1 -1
  178. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs.js.map +1 -1
  179. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js +2 -0
  180. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs.js.map +1 -0
  181. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js +2 -0
  182. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs.js.map +1 -0
  183. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js +2 -0
  184. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.mjs.js.map +1 -0
  185. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js +1 -1
  186. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.mjs.js.map +1 -1
  187. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js +2 -0
  188. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs.js.map +1 -0
  189. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js +2 -0
  190. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs.js.map +1 -0
  191. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs.js.map +1 -1
  192. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js +2 -0
  193. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.mjs.js.map +1 -0
  194. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js +2 -0
  195. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +1 -0
  196. package/dist/node_modules/framer-motion/dist/es/render/store.mjs.js.map +1 -0
  197. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js +2 -0
  198. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs.js.map +1 -0
  199. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js +2 -0
  200. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs.js.map +1 -0
  201. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs.js.map +1 -1
  202. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js +1 -1
  203. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.mjs.js.map +1 -1
  204. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js +2 -0
  205. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs.js.map +1 -0
  206. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +1 -0
  207. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs.js.map +1 -1
  208. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +1 -0
  209. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js +2 -0
  210. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs.js.map +1 -0
  211. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs.js.map +1 -0
  212. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js +2 -0
  213. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +1 -0
  214. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js +2 -0
  215. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.mjs.js.map +1 -0
  216. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs.js.map +1 -0
  217. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs.js.map +1 -0
  218. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs.js.map +1 -0
  219. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js +2 -0
  220. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs.js.map +1 -0
  221. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs.js.map +1 -0
  222. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js +2 -0
  223. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.mjs.js.map +1 -0
  224. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +1 -0
  225. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs.js.map +1 -0
  226. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js +2 -0
  227. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.mjs.js.map +1 -0
  228. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs.js.map +1 -0
  229. package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js +2 -0
  230. package/dist/node_modules/framer-motion/dist/es/utils/delay.mjs.js.map +1 -0
  231. package/dist/node_modules/framer-motion/dist/es/utils/distance.mjs.js.map +1 -1
  232. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.mjs.js.map +1 -1
  233. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.mjs.js.map +1 -1
  234. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs.js.map +1 -1
  235. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js +2 -0
  236. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs.js.map +1 -0
  237. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs.js.map +1 -0
  238. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.mjs.js.map +1 -0
  239. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.mjs.js.map +1 -1
  240. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs.js.map +1 -1
  241. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs.js.map +1 -0
  242. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.mjs.js.map +1 -0
  243. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs.js.map +1 -0
  244. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs.js.map +1 -0
  245. package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js +1 -1
  246. package/dist/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js.map +1 -1
  247. package/dist/node_modules/mic-check/lib/index.js +1 -1
  248. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js +1 -1
  249. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs.js.map +1 -1
  250. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js +1 -1
  251. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs.js.map +1 -1
  252. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js +1 -1
  253. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs.js.map +1 -1
  254. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs.js +1 -1
  255. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs.js.map +1 -1
  256. package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js +2 -0
  257. package/dist/node_modules/motion-dom/dist/es/animation/drivers/driver-frameloop.mjs.js.map +1 -0
  258. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js +1 -1
  259. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs.js.map +1 -1
  260. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs.js.map +1 -1
  261. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js +2 -0
  262. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.mjs.js.map +1 -0
  263. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js +2 -0
  264. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.mjs.js.map +1 -0
  265. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js +2 -0
  266. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.mjs.js.map +1 -0
  267. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs.js.map +1 -1
  268. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs.js.map +1 -1
  269. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs.js.map +1 -1
  270. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs.js +1 -1
  271. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs.js.map +1 -1
  272. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js +1 -1
  273. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs.js.map +1 -1
  274. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js +1 -1
  275. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs.js.map +1 -1
  276. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs.js.map +1 -1
  277. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs.js.map +1 -1
  278. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs.js.map +1 -1
  279. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs.js.map +1 -1
  280. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs.js.map +1 -1
  281. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs.js.map +1 -1
  282. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs.js.map +1 -1
  283. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js +1 -1
  284. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs.js.map +1 -1
  285. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js +1 -1
  286. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs.js.map +1 -1
  287. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs.js +1 -1
  288. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs.js.map +1 -1
  289. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs.js +1 -1
  290. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs.js.map +1 -1
  291. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs.js +1 -1
  292. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs.js.map +1 -1
  293. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs.js.map +1 -1
  294. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs.js +1 -1
  295. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs.js.map +1 -1
  296. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs.js +1 -1
  297. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs.js.map +1 -1
  298. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs.js.map +1 -1
  299. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs.js.map +1 -1
  300. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs.js.map +1 -1
  301. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs.js.map +1 -1
  302. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js +1 -1
  303. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs.js.map +1 -1
  304. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs.js.map +1 -1
  305. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs.js +1 -1
  306. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs.js.map +1 -1
  307. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs.js.map +1 -1
  308. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js +1 -1
  309. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.mjs.js.map +1 -1
  310. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.mjs.js.map +1 -1
  311. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.mjs.js.map +1 -1
  312. package/dist/node_modules/motion-dom/dist/es/frameloop/order.mjs.js.map +1 -1
  313. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js +1 -1
  314. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.mjs.js.map +1 -1
  315. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs.js.map +1 -1
  316. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs.js.map +1 -1
  317. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs.js.map +1 -1
  318. package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js +1 -1
  319. package/dist/node_modules/motion-dom/dist/es/gestures/hover.mjs.js.map +1 -1
  320. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js +1 -1
  321. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.mjs.js.map +1 -1
  322. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs.js +1 -1
  323. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs.js.map +1 -1
  324. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs.js.map +1 -1
  325. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs.js.map +1 -1
  326. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs.js.map +1 -1
  327. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs.js.map +1 -1
  328. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs.js.map +1 -1
  329. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs.js.map +1 -1
  330. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js +1 -1
  331. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs.js.map +1 -1
  332. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.mjs.js.map +1 -1
  333. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs.js.map +1 -1
  334. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs.js +1 -1
  335. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs.js.map +1 -1
  336. package/dist/node_modules/motion-dom/dist/es/stats/buffer.mjs.js.map +1 -1
  337. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js +1 -1
  338. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.mjs.js.map +1 -1
  339. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js +1 -1
  340. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.mjs.js.map +1 -1
  341. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js +1 -1
  342. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.mjs.js.map +1 -1
  343. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs.js.map +1 -1
  344. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.mjs.js.map +1 -1
  345. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.mjs.js.map +1 -1
  346. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs.js.map +1 -1
  347. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js +1 -1
  348. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs.js.map +1 -1
  349. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.mjs.js.map +1 -1
  350. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs.js.map +1 -1
  351. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.mjs.js.map +1 -1
  352. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js +1 -1
  353. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs.js.map +1 -1
  354. package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js +1 -1
  355. package/dist/node_modules/motion-dom/dist/es/value/index.mjs.js.map +1 -1
  356. package/dist/node_modules/motion-dom/dist/es/value/types/auto.mjs.js.map +1 -1
  357. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.mjs.js.map +1 -1
  358. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs.js.map +1 -1
  359. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs.js.map +1 -1
  360. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js +1 -1
  361. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.mjs.js.map +1 -1
  362. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs.js.map +1 -1
  363. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.mjs.js.map +1 -1
  364. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs.js.map +1 -1
  365. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js +1 -1
  366. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.mjs.js.map +1 -1
  367. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.mjs.js.map +1 -1
  368. package/dist/node_modules/motion-dom/dist/es/value/types/int.mjs.js.map +1 -1
  369. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs.js +1 -1
  370. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs.js.map +1 -1
  371. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.mjs.js +1 -1
  372. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.mjs.js.map +1 -1
  373. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs.js +1 -1
  374. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs.js.map +1 -1
  375. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs.js.map +1 -1
  376. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs.js.map +1 -1
  377. package/dist/node_modules/motion-dom/dist/es/value/types/test.mjs.js.map +1 -1
  378. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs.js +1 -1
  379. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs.js.map +1 -1
  380. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs.js.map +1 -1
  381. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.mjs.js.map +1 -1
  382. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs.js.map +1 -1
  383. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs.js.map +1 -1
  384. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs.js.map +1 -1
  385. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs.js.map +1 -1
  386. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs.js.map +1 -1
  387. package/dist/node_modules/motion-utils/dist/es/array.mjs.js.map +1 -1
  388. package/dist/node_modules/motion-utils/dist/es/clamp.mjs.js.map +1 -1
  389. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.mjs.js +1 -1
  390. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.mjs.js.map +1 -1
  391. package/dist/node_modules/motion-utils/dist/es/easing/back.mjs.js.map +1 -1
  392. package/dist/node_modules/motion-utils/dist/es/easing/circ.mjs.js.map +1 -1
  393. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs.js.map +1 -1
  394. package/dist/node_modules/motion-utils/dist/es/easing/ease.mjs.js.map +1 -1
  395. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs.js.map +1 -1
  396. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs.js.map +1 -1
  397. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs.js.map +1 -1
  398. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs.js.map +1 -1
  399. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js +1 -1
  400. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.mjs.js.map +1 -1
  401. package/dist/node_modules/motion-utils/dist/es/errors.mjs.js +1 -1
  402. package/dist/node_modules/motion-utils/dist/es/errors.mjs.js.map +1 -1
  403. package/dist/node_modules/motion-utils/dist/es/global-config.mjs.js.map +1 -1
  404. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.mjs.js.map +1 -1
  405. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.mjs.js.map +1 -1
  406. package/dist/node_modules/motion-utils/dist/es/memo.mjs.js.map +1 -1
  407. package/dist/node_modules/motion-utils/dist/es/noop.mjs.js.map +1 -1
  408. package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js +1 -1
  409. package/dist/node_modules/motion-utils/dist/es/pipe.mjs.js.map +1 -1
  410. package/dist/node_modules/motion-utils/dist/es/progress.mjs.js +1 -1
  411. package/dist/node_modules/motion-utils/dist/es/progress.mjs.js.map +1 -1
  412. package/dist/node_modules/motion-utils/dist/es/subscription-manager.mjs.js.map +1 -1
  413. package/dist/node_modules/motion-utils/dist/es/time-conversion.mjs.js.map +1 -1
  414. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.mjs.js +1 -1
  415. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.mjs.js.map +1 -1
  416. package/dist/node_modules/motion-utils/dist/es/warn-once.mjs.js +1 -1
  417. package/dist/node_modules/motion-utils/dist/es/warn-once.mjs.js.map +1 -1
  418. package/dist/node_modules/prop-types/index.js +1 -1
  419. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  420. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
  421. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
  422. package/dist/node_modules/react-moment/dist/index.js +1 -11
  423. package/dist/node_modules/react-moment/dist/index.js.map +1 -1
  424. package/dist/node_modules/react-redux/es/components/Context.js +1 -1
  425. package/dist/node_modules/react-redux/es/components/Context.js.map +1 -1
  426. package/dist/node_modules/react-redux/es/components/Provider.js +1 -1
  427. package/dist/node_modules/react-redux/es/components/Provider.js.map +1 -1
  428. package/dist/node_modules/react-redux/es/hooks/useReduxContext.js +1 -1
  429. package/dist/node_modules/react-redux/es/hooks/useReduxContext.js.map +1 -1
  430. package/dist/node_modules/react-redux/es/hooks/useSelector.js +1 -1
  431. package/dist/node_modules/react-redux/es/hooks/useSelector.js.map +1 -1
  432. package/dist/node_modules/react-redux/es/hooks/useStore.js +1 -1
  433. package/dist/node_modules/react-redux/es/hooks/useStore.js.map +1 -1
  434. package/dist/node_modules/react-redux/es/index.js +1 -1
  435. package/dist/node_modules/react-redux/es/index.js.map +1 -1
  436. package/dist/node_modules/react-redux/es/utils/Subscription.js +1 -1
  437. package/dist/node_modules/react-redux/es/utils/Subscription.js.map +1 -1
  438. package/dist/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js +1 -1
  439. package/dist/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js.map +1 -1
  440. package/dist/node_modules/react-tooltip/dist/react-tooltip.min.mjs.js +1 -1
  441. package/dist/node_modules/react-tooltip/dist/react-tooltip.min.mjs.js.map +1 -1
  442. package/dist/node_modules/webrtc-adapter/src/js/adapter_factory.js +1 -1
  443. package/dist/node_modules/webrtc-adapter/src/js/adapter_factory.js.map +1 -1
  444. package/dist/node_modules/webrtc-adapter/src/js/chrome/getusermedia.js +1 -1
  445. package/dist/node_modules/webrtc-adapter/src/js/chrome/getusermedia.js.map +1 -1
  446. package/dist/node_modules/webrtc-adapter/src/js/common_shim.js +1 -1
  447. package/dist/node_modules/webrtc-adapter/src/js/common_shim.js.map +1 -1
  448. package/dist/node_modules/webrtc-adapter/src/js/firefox/firefox_shim.js +1 -1
  449. package/dist/node_modules/webrtc-adapter/src/js/firefox/firefox_shim.js.map +1 -1
  450. package/dist/node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js +1 -1
  451. package/dist/node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js.map +1 -1
  452. package/dist/node_modules/webrtc-adapter/src/js/firefox/getusermedia.js +1 -1
  453. package/dist/node_modules/webrtc-adapter/src/js/firefox/getusermedia.js.map +1 -1
  454. package/dist/node_modules/webrtc-adapter/src/js/utils.js +1 -1
  455. package/dist/node_modules/webrtc-adapter/src/js/utils.js.map +1 -1
  456. package/dist/package.json.js +1 -1
  457. package/package.json +1 -1
  458. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs.js +0 -2
  459. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs.js.map +0 -1
  460. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs.js +0 -2
  461. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs.js.map +0 -1
  462. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs.js +0 -2
  463. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs.js.map +0 -1
  464. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js +0 -2
  465. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs.js.map +0 -1
  466. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js +0 -2
  467. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs.js.map +0 -1
  468. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js +0 -2
  469. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs.js.map +0 -1
  470. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js +0 -2
  471. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.mjs.js.map +0 -1
  472. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js +0 -2
  473. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs.js.map +0 -1
  474. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js +0 -2
  475. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs.js.map +0 -1
  476. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js +0 -2
  477. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs.js.map +0 -1
  478. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs.js.map +0 -1
  479. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs.js.map +0 -1
  480. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs.js.map +0 -1
  481. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js +0 -2
  482. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs.js.map +0 -1
  483. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js +0 -2
  484. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs.js.map +0 -1
  485. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js +0 -2
  486. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs.js.map +0 -1
  487. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js +0 -2
  488. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs.js.map +0 -1
  489. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js +0 -2
  490. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs.js.map +0 -1
  491. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js +0 -2
  492. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs.js.map +0 -1
  493. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js +0 -2
  494. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs.js.map +0 -1
  495. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.mjs.js.map +0 -1
  496. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js +0 -2
  497. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.js.map +0 -1
  498. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs.js.map +0 -1
  499. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs.js.map +0 -1
  500. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js +0 -2
  501. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs.js.map +0 -1
  502. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js +0 -2
  503. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs.js.map +0 -1
  504. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js +0 -2
  505. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs.js.map +0 -1
  506. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.mjs.js.map +0 -1
  507. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs.js.map +0 -1
  508. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js +0 -2
  509. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs.js.map +0 -1
  510. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs.js.map +0 -1
  511. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js +0 -2
  512. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs.js.map +0 -1
  513. package/dist/node_modules/motion-dom/dist/es/projection/node/state.mjs.js.map +0 -1
  514. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js +0 -2
  515. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.mjs.js.map +0 -1
  516. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js +0 -2
  517. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs.js.map +0 -1
  518. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js +0 -2
  519. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs.js.map +0 -1
  520. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js +0 -2
  521. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs.js.map +0 -1
  522. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.mjs.js.map +0 -1
  523. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs.js.map +0 -1
  524. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs.js.map +0 -1
  525. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs.js.map +0 -1
  526. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs.js.map +0 -1
  527. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.mjs.js.map +0 -1
  528. package/dist/node_modules/motion-dom/dist/es/render/Feature.mjs.js.map +0 -1
  529. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js +0 -2
  530. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.mjs.js.map +0 -1
  531. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js +0 -2
  532. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs.js.map +0 -1
  533. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs.js.map +0 -1
  534. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js +0 -2
  535. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs.js.map +0 -1
  536. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js +0 -2
  537. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs.js.map +0 -1
  538. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js +0 -2
  539. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs.js.map +0 -1
  540. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js +0 -2
  541. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.mjs.js.map +0 -1
  542. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js +0 -2
  543. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs.js.map +0 -1
  544. package/dist/node_modules/motion-dom/dist/es/render/store.mjs.js.map +0 -1
  545. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js +0 -2
  546. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs.js.map +0 -1
  547. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js +0 -2
  548. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs.js.map +0 -1
  549. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs.js.map +0 -1
  550. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs.js.map +0 -1
  551. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js +0 -2
  552. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs.js.map +0 -1
  553. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs.js.map +0 -1
  554. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js +0 -2
  555. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs.js.map +0 -1
  556. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js +0 -2
  557. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs.js.map +0 -1
  558. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs.js.map +0 -1
  559. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs.js.map +0 -1
  560. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js +0 -2
  561. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs.js.map +0 -1
  562. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js +0 -2
  563. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs.js.map +0 -1
  564. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs.js.map +0 -1
  565. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs.js.map +0 -1
  566. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js +0 -2
  567. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs.js.map +0 -1
  568. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js +0 -2
  569. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs.js.map +0 -1
  570. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs.js.map +0 -1
  571. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs.js.map +0 -1
  572. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs.js.map +0 -1
  573. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js +0 -2
  574. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.mjs.js.map +0 -1
  575. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs.js.map +0 -1
  576. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs.js.map +0 -1
  577. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js +0 -2
  578. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.mjs.js.map +0 -1
  579. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js +0 -2
  580. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.mjs.js.map +0 -1
  581. package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js +0 -2
  582. package/dist/node_modules/motion-dom/dist/es/resize/index.mjs.js.map +0 -1
  583. package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js +0 -2
  584. package/dist/node_modules/motion-dom/dist/es/utils/delay.mjs.js.map +0 -1
  585. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js +0 -2
  586. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.mjs.js.map +0 -1
  587. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js +0 -2
  588. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs.js.map +0 -1
  589. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js +0 -2
  590. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs.js.map +0 -1
  591. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js +0 -2
  592. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs.js.map +0 -1
  593. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs.js.map +0 -1
  594. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs.js.map +0 -1
  595. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs.js.map +0 -1
  596. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.mjs.js.map +0 -1
  597. package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js +0 -2
  598. package/dist/node_modules/motion-utils/dist/es/format-error-message.mjs.js.map +0 -1
  599. package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js +0 -2
  600. package/dist/node_modules/motion-utils/dist/es/is-object.mjs.js.map +0 -1
  601. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/animation/interfaces/visual-element.mjs.js +0 -0
  602. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/animation/optimized-appear/data-id.mjs.js +0 -0
  603. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/animation/optimized-appear/get-appear-id.mjs.js +0 -0
  604. /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es/animation}/utils/is-animation-controls.mjs.js +0 -0
  605. /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es/animation}/utils/is-keyframes-target.mjs.js +0 -0
  606. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/events/add-dom-event.mjs.js +0 -0
  607. /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es/motion/features}/Feature.mjs.js +0 -0
  608. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/geometry/conversion.mjs.js +0 -0
  609. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/geometry/copy.mjs.js +0 -0
  610. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/geometry/models.mjs.js +0 -0
  611. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/geometry/utils.mjs.js +0 -0
  612. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/node/HTMLProjectionNode.mjs.js +0 -0
  613. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/node/state.mjs.js +0 -0
  614. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/utils/each-axis.mjs.js +0 -0
  615. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/utils/has-transform.mjs.js +0 -0
  616. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/projection/utils/measure.mjs.js +0 -0
  617. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/store.mjs.js +0 -0
  618. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/svg/utils/camel-case-attrs.mjs.js +0 -0
  619. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/svg/utils/is-svg-tag.mjs.js +0 -0
  620. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/svg/utils/render.mjs.js +0 -0
  621. /package/dist/node_modules/{motion-dom/dist/es/projection → framer-motion/dist/es/render}/utils/compare-by-depth.mjs.js +0 -0
  622. /package/dist/node_modules/{motion-dom/dist/es/projection → framer-motion/dist/es/render}/utils/flat-tree.mjs.js +0 -0
  623. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/get-variant-context.mjs.js +0 -0
  624. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/is-variant-label.mjs.js +0 -0
  625. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/resolve-dynamic-variants.mjs.js +0 -0
  626. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/resolve-variants.mjs.js +0 -0
  627. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/render/utils/variant-props.mjs.js +0 -0
  628. /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es}/utils/reduced-motion/state.mjs.js +0 -0
  629. /package/dist/node_modules/{motion-dom/dist/es/render → framer-motion/dist/es}/utils/shallow-compare.mjs.js +0 -0
  630. /package/dist/node_modules/{motion-dom/dist/es/value/will-change → framer-motion/dist/es/value/use-will-change}/add-will-change.mjs.js +0 -0
  631. /package/dist/node_modules/{motion-dom/dist/es/value/will-change → framer-motion/dist/es/value/use-will-change}/is.mjs.js +0 -0
  632. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/value/utils/is-motion-value.mjs.js +0 -0
  633. /package/dist/node_modules/{motion-dom → framer-motion}/dist/es/value/utils/resolve-motion-value.mjs.js +0 -0
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../html/utils/build-styles.mjs.js"),r=require("./path.mjs.js");exports.buildSVGAttrs=function(e,s,i,o){let{attrX:a,attrY:l,attrScale:n,pathLength:f,pathSpacing:m=1,pathOffset:d=0,...u}=s;if(t.buildHTMLStyles(e,u,o),i)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:v,style:x}=e;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox="fill-box",delete v.transformBox),void 0!==a&&(v.x=a),void 0!==l&&(v.y=l),void 0!==n&&(v.scale=n),void 0!==f&&r.buildSVGPath(v,f,m,d,!1)};
2
+ //# sourceMappingURL=build-attrs.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-attrs.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs"],"sourcesContent":["import { buildHTMLStyles } from '../../html/utils/build-styles.mjs';\nimport { buildSVGPath } from './path.mjs';\n\n/**\n * Build SVG visual attrbutes, like cx and style.transform\n */\nfunction buildSVGAttrs(state, { attrX, attrY, attrScale, pathLength, pathSpacing = 1, pathOffset = 0, \n// This is object creation, which we try to avoid per-frame.\n...latest }, isSVGTag, transformTemplate) {\n buildHTMLStyles(state, latest, transformTemplate);\n /**\n * For svg tags we just want to make sure viewBox is animatable and treat all the styles\n * as normal HTML tags.\n */\n if (isSVGTag) {\n if (state.style.viewBox) {\n state.attrs.viewBox = state.style.viewBox;\n }\n return;\n }\n state.attrs = state.style;\n state.style = {};\n const { attrs, style } = state;\n /**\n * However, we apply transforms as CSS transforms.\n * So if we detect a transform, transformOrigin we take it from attrs and copy it into style.\n */\n if (attrs.transform) {\n style.transform = attrs.transform;\n delete attrs.transform;\n }\n if (style.transform || attrs.transformOrigin) {\n style.transformOrigin = attrs.transformOrigin ?? \"50% 50%\";\n delete attrs.transformOrigin;\n }\n if (style.transform) {\n /**\n * SVG's element transform-origin uses its own median as a reference.\n * Therefore, transformBox becomes a fill-box\n */\n style.transformBox = \"fill-box\";\n delete attrs.transformBox;\n }\n // Render attrX/attrY/attrScale as attributes\n if (attrX !== undefined)\n attrs.x = attrX;\n if (attrY !== undefined)\n attrs.y = attrY;\n if (attrScale !== undefined)\n attrs.scale = attrScale;\n // Build SVG path if one has been defined\n if (pathLength !== undefined) {\n buildSVGPath(attrs, pathLength, pathSpacing, pathOffset, false);\n }\n}\n\nexport { buildSVGAttrs };\n"],"names":["state","_ref","isSVGTag","transformTemplate","attrX","attrY","attrScale","pathLength","pathSpacing","pathOffset","latest","buildHTMLStyles","style","viewBox","attrs","transform","transformOrigin","transformBox","undefined","x","y","scale","buildSVGPath"],"mappings":"2KAMA,SAAuBA,EAAKC,EAEfC,EAAUC,GAAmB,IAFZC,MAAEA,EAAKC,MAAEA,EAAKC,UAAEA,EAASC,WAAEA,EAAUC,YAAEA,EAAc,EAACC,WAAEA,EAAa,KAEhGC,GAAQT,EAMP,GALAU,EAAAA,gBAAgBX,EAAOU,EAAQP,GAK3BD,EAIA,YAHIF,EAAMY,MAAMC,UACZb,EAAMc,MAAMD,QAAUb,EAAMY,MAAMC,UAI1Cb,EAAMc,MAAQd,EAAMY,MACpBZ,EAAMY,MAAQ,GACd,MAAME,MAAEA,EAAKF,MAAEA,GAAUZ,EAKrBc,EAAMC,YACNH,EAAMG,UAAYD,EAAMC,iBACjBD,EAAMC,YAEbH,EAAMG,WAAaD,EAAME,mBACzBJ,EAAMI,gBAAkBF,EAAME,iBAAmB,iBAC1CF,EAAME,iBAEbJ,EAAMG,YAKNH,EAAMK,aAAe,kBACdH,EAAMG,mBAGHC,IAAVd,IACAU,EAAMK,EAAIf,QACAc,IAAVb,IACAS,EAAMM,EAAIf,QACIa,IAAdZ,IACAQ,EAAMO,MAAQf,QAECY,IAAfX,GACAe,EAAYA,aAACR,EAAOP,EAAYC,EAAaC,GAAY,EAEjE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camel-case-attrs.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs"],"sourcesContent":["/**\n * A set of attribute names that are always read/written as camel case.\n */\nconst camelCaseAttributes = new Set([\n \"baseFrequency\",\n \"diffuseConstant\",\n \"kernelMatrix\",\n \"kernelUnitLength\",\n \"keySplines\",\n \"keyTimes\",\n \"limitingConeAngle\",\n \"markerHeight\",\n \"markerWidth\",\n \"numOctaves\",\n \"targetX\",\n \"targetY\",\n \"surfaceScale\",\n \"specularConstant\",\n \"specularExponent\",\n \"stdDeviation\",\n \"tableValues\",\n \"viewBox\",\n \"gradientTransform\",\n \"pathLength\",\n \"startOffset\",\n \"textLength\",\n \"lengthAdjust\",\n]);\n\nexport { camelCaseAttributes };\n"],"names":["camelCaseAttributes","Set"],"mappings":"oEAGMA,MAAAA,EAAsB,IAAIC,IAAI,CAChC,gBACA,kBACA,eACA,mBACA,aACA,WACA,oBACA,eACA,cACA,aACA,UACA,UACA,eACA,mBACA,mBACA,eACA,cACA,UACA,oBACA,aACA,cACA,aACA"}
@@ -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//# sourceMappingURL=create-render-state.mjs.map\n"],"names":["createSvgRenderState","createHtmlRenderState","attrs"],"mappings":"8JAGoCA,KAAuB,IACpDC,0BACHC,MAAO,CAAA"}
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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-svg-tag.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs"],"sourcesContent":["const isSVGTag = (tag) => typeof tag === \"string\" && tag.toLowerCase() === \"svg\";\n\nexport { isSVGTag };\n"],"names":["tag","toLowerCase"],"mappings":"qFAAkBA,GAAuB,iBAARA,GAA0C,QAAtBA,EAAIC"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../../../../../motion-dom/dist/es/value/types/numbers/units.mjs.js");const s={offset:"stroke-dashoffset",array:"stroke-dasharray"},e={offset:"strokeDashoffset",array:"strokeDasharray"};exports.buildSVGPath=function(r,o){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,f=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];r.pathLength=1;const i=f?s:e;r[i.offset]=t.px.transform(-n);const d=t.px.transform(o),h=t.px.transform(a);r[i.array]=`${d} ${h}`};
2
+ //# sourceMappingURL=path.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"path.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/path.mjs"],"sourcesContent":["import { px } from 'motion-dom';\n\nconst dashKeys = {\n offset: \"stroke-dashoffset\",\n array: \"stroke-dasharray\",\n};\nconst camelKeys = {\n offset: \"strokeDashoffset\",\n array: \"strokeDasharray\",\n};\n/**\n * Build SVG path properties. Uses the path's measured length to convert\n * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset\n * and stroke-dasharray attributes.\n *\n * This function is mutative to reduce per-frame GC.\n */\nfunction buildSVGPath(attrs, length, spacing = 1, offset = 0, useDashCase = true) {\n // Normalise path length by setting SVG attribute pathLength to 1\n attrs.pathLength = 1;\n // We use dash case when setting attributes directly to the DOM node and camel case\n // when defining props on a React component.\n const keys = useDashCase ? dashKeys : camelKeys;\n // Build the dash offset\n attrs[keys.offset] = px.transform(-offset);\n // Build the dash array\n const pathLength = px.transform(length);\n const pathSpacing = px.transform(spacing);\n attrs[keys.array] = `${pathLength} ${pathSpacing}`;\n}\n\nexport { buildSVGPath };\n"],"names":["dashKeys","offset","array","camelKeys","attrs","length","spacing","arguments","undefined","useDashCase","pathLength","keys","px","transform","pathSpacing"],"mappings":"2JAEA,MAAMA,EAAW,CACbC,OAAQ,oBACRC,MAAO,oBAELC,EAAY,CACdF,OAAQ,mBACRC,MAAO,wCASX,SAAsBE,EAAOC,GAAqD,IAA7CC,EAAOC,UAAAF,OAAA,QAAAG,IAAAD,UAAA,GAAAA,UAAA,GAAG,EAAGN,EAAMM,UAAAF,OAAA,QAAAG,IAAAD,UAAA,GAAAA,UAAA,GAAG,EAAGE,IAAWF,UAAAF,OAAA,QAAAG,IAAAD,UAAA,KAAAA,UAAA,GAErEH,EAAMM,WAAa,EAGnB,MAAMC,EAAOF,EAAcT,EAAWG,EAEtCC,EAAMO,EAAKV,QAAUW,EAAEA,GAACC,WAAWZ,GAEnC,MAAMS,EAAaE,EAAAA,GAAGC,UAAUR,GAC1BS,EAAcF,EAAAA,GAAGC,UAAUP,GACjCF,EAAMO,EAAKT,OAAS,GAAGQ,KAAcI,GACzC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/render.mjs"],"sourcesContent":["import { camelToDash } from '../../dom/utils/camel-to-dash.mjs';\nimport { renderHTML } from '../../html/utils/render.mjs';\nimport { camelCaseAttributes } from './camel-case-attrs.mjs';\n\nfunction renderSVG(element, renderState, _styleProp, projection) {\n renderHTML(element, renderState, undefined, projection);\n for (const key in renderState.attrs) {\n element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);\n }\n}\n\nexport { renderSVG };\n"],"names":["element","renderState","_styleProp","projection","renderHTML","undefined","key","attrs","setAttribute","camelCaseAttributes","has","camelToDash"],"mappings":"+NAIA,SAAmBA,EAASC,EAAaC,EAAYC,GACjDC,EAAAA,WAAWJ,EAASC,OAAaI,EAAWF,GAC5C,IAAK,MAAMG,KAAOL,EAAYM,MAC1BP,EAAQQ,aAAcC,EAAmBA,oBAACC,IAAIJ,GAA0BA,EAAnBK,EAAAA,YAAYL,GAAYL,EAAYM,MAAMD,GAEvG"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../value/utils/is-motion-value.mjs.js"),r=require("../../html/utils/scrape-motion-values.mjs.js"),s=require("../../../../../../motion-dom/dist/es/render/utils/keys-transform.mjs.js");exports.scrapeMotionValuesFromProps=function(o,t,i){const n=r.scrapeMotionValuesFromProps(o,t,i);for(const r in o)if(e.isMotionValue(o[r])||e.isMotionValue(t[r])){n[-1!==s.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=o[r]}return n};
2
+ //# sourceMappingURL=scrape-motion-values.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrape-motion-values.mjs.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs"],"sourcesContent":["import { transformPropOrder } from 'motion-dom';\nimport { isMotionValue } from '../../../value/utils/is-motion-value.mjs';\nimport { scrapeMotionValuesFromProps as scrapeMotionValuesFromProps$1 } from '../../html/utils/scrape-motion-values.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);\n for (const key in props) {\n if (isMotionValue(props[key]) ||\n isMotionValue(prevProps[key])) {\n const targetKey = transformPropOrder.indexOf(key) !== -1\n ? \"attr\" + key.charAt(0).toUpperCase() + key.substring(1)\n : key;\n newValues[targetKey] = props[key];\n }\n }\n return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n"],"names":["props","prevProps","visualElement","newValues","scrapeMotionValuesFromProps$1","scrapeMotionValuesFromProps","key","isMotionValue","transformPropOrder","indexOf","charAt","toUpperCase","substring"],"mappings":"oTAIA,SAAqCA,EAAOC,EAAWC,GACnD,MAAMC,EAAYC,EAA6BC,4BAACL,EAAOC,EAAWC,GAClE,IAAK,MAAMI,KAAON,EACd,GAAIO,EAAaA,cAACP,EAAMM,KACpBC,EAAAA,cAAcN,EAAUK,IAAO,CAI/BH,GAHuD,IAArCK,EAAAA,mBAAmBC,QAAQH,GACvC,OAASA,EAAII,OAAO,GAAGC,cAAgBL,EAAIM,UAAU,GACrDN,GACiBN,EAAMM,EACjC,CAEJ,OAAOH,CACX"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../animation/interfaces/visual-element.mjs.js"),t=require("../../animation/utils/is-animation-controls.mjs.js"),i=require("../../animation/utils/is-keyframes-target.mjs.js"),n=require("../../utils/shallow-compare.mjs.js"),r=require("./get-variant-context.mjs.js"),a=require("./is-variant-label.mjs.js"),s=require("./resolve-dynamic-variants.mjs.js"),o=require("./variant-props.mjs.js");const l=[...o.variantPriorityOrder].reverse(),c=o.variantPriorityOrder.length;function u(t){return i=>Promise.all(i.map((i=>{let{animation:n,options:r}=i;return e.animateVisualElement(t,n,r)})))}function m(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!n.shallowCompare(t,e)}function v(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function p(){return{animate:v(!0),whileInView:v(),whileHover:v(),whileTap:v(),whileDrag:v(),whileFocus:v(),exit:v()}}exports.checkVariantsDidChange=m,exports.createAnimationState=function(e){let o=u(e),v=p(),f=!0;const y=t=>(i,n)=>{const r=s.resolveVariant(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(r){const{transition:e,transitionEnd:t,...n}=r;i={...i,...n,...t}}return i};function d(u){const{props:p}=e,d=r.getVariantContext(e.parent)||{},A=[],h=new Set;let g={},j=1/0;for(let r=0;r<c;r++){const s=l[r],o=v[s],c=void 0!==p[s]?p[s]:d[s],V=a.isVariantLabel(c),w=s===u?o.isActive:null;!1===w&&(j=r);let P=c===d[s]&&c!==p[s]&&V;if(P&&f&&e.manuallyAnimateOnMount&&(P=!1),o.protectedKeys={...g},!o.isActive&&null===w||!c&&!o.prevProp||t.isAnimationControls(c)||"boolean"==typeof c)continue;const q=m(o.prevProp,c);let x=q||s===u&&o.isActive&&!P&&V||r>j&&V,C=!1;const b=Array.isArray(c)?c:[c];let K=b.reduce(y(s),{});!1===w&&(K={});const{prevResolvedValues:O={}}=o,S={...O,...K},E=t=>{x=!0,h.has(t)&&(C=!0,h.delete(t)),o.needsAnimating[t]=!0;const i=e.getValue(t);i&&(i.liveStyle=!1)};for(const e in S){const t=K[e],r=O[e];if(g.hasOwnProperty(e))continue;let a=!1;a=i.isKeyframesTarget(t)&&i.isKeyframesTarget(r)?!n.shallowCompare(t,r):t!==r,a?null!=t?E(e):h.add(e):void 0!==t&&h.has(e)?E(e):o.protectedKeys[e]=!0}o.prevProp=c,o.prevResolvedValues=K,o.isActive&&(g={...g,...K}),f&&e.blockInitialAnimation&&(x=!1);x&&(!(P&&q)||C)&&A.push(...b.map((e=>({animation:e,options:{type:s}}))))}if(h.size){const t={};if("boolean"!=typeof p.initial){const i=s.resolveVariant(e,Array.isArray(p.initial)?p.initial[0]:p.initial);i&&i.transition&&(t.transition=i.transition)}h.forEach((i=>{const n=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=n??null})),A.push({animation:t})}let V=Boolean(A.length);return!f||!1!==p.initial&&p.initial!==p.animate||e.manuallyAnimateOnMount||(V=!1),f=!1,V?o(A):Promise.resolve()}return{animateChanges:d,setActive:function(t,i){if(v[t].isActive===i)return Promise.resolve();e.variantChildren?.forEach((e=>e.animationState?.setActive(t,i))),v[t].isActive=i;const n=d(t);for(const e in v)v[e].protectedKeys={};return n},setAnimateFunction:function(t){o=t(e)},getState:()=>v,reset:()=>{v=p(),f=!0}}};
2
+ //# sourceMappingURL=animation-state.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animation-state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/animation-state.mjs"],"sourcesContent":["import { animateVisualElement } from '../../animation/interfaces/visual-element.mjs';\nimport { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { isKeyframesTarget } from '../../animation/utils/is-keyframes-target.mjs';\nimport { shallowCompare } from '../../utils/shallow-compare.mjs';\nimport { getVariantContext } from './get-variant-context.mjs';\nimport { isVariantLabel } from './is-variant-label.mjs';\nimport { resolveVariant } from './resolve-dynamic-variants.mjs';\nimport { variantPriorityOrder } from './variant-props.mjs';\n\nconst reversePriorityOrder = [...variantPriorityOrder].reverse();\nconst numAnimationTypes = variantPriorityOrder.length;\nfunction animateList(visualElement) {\n return (animations) => Promise.all(animations.map(({ animation, options }) => animateVisualElement(visualElement, animation, options)));\n}\nfunction createAnimationState(visualElement) {\n let animate = animateList(visualElement);\n let state = createState();\n let isInitialRender = true;\n /**\n * This function will be used to reduce the animation definitions for\n * each active animation type into an object of resolved values for it.\n */\n const buildResolvedTypeValues = (type) => (acc, definition) => {\n const resolved = resolveVariant(visualElement, definition, type === \"exit\"\n ? visualElement.presenceContext?.custom\n : undefined);\n if (resolved) {\n const { transition, transitionEnd, ...target } = resolved;\n acc = { ...acc, ...target, ...transitionEnd };\n }\n return acc;\n };\n /**\n * This just allows us to inject mocked animation functions\n * @internal\n */\n function setAnimateFunction(makeAnimator) {\n animate = makeAnimator(visualElement);\n }\n /**\n * When we receive new props, we need to:\n * 1. Create a list of protected keys for each type. This is a directory of\n * value keys that are currently being \"handled\" by types of a higher priority\n * so that whenever an animation is played of a given type, these values are\n * protected from being animated.\n * 2. Determine if an animation type needs animating.\n * 3. Determine if any values have been removed from a type and figure out\n * what to animate those to.\n */\n function animateChanges(changedActiveType) {\n const { props } = visualElement;\n const context = getVariantContext(visualElement.parent) || {};\n /**\n * A list of animations that we'll build into as we iterate through the animation\n * types. This will get executed at the end of the function.\n */\n const animations = [];\n /**\n * Keep track of which values have been removed. Then, as we hit lower priority\n * animation types, we can check if they contain removed values and animate to that.\n */\n const removedKeys = new Set();\n /**\n * A dictionary of all encountered keys. This is an object to let us build into and\n * copy it without iteration. Each time we hit an animation type we set its protected\n * keys - the keys its not allowed to animate - to the latest version of this object.\n */\n let encounteredKeys = {};\n /**\n * If a variant has been removed at a given index, and this component is controlling\n * variant animations, we want to ensure lower-priority variants are forced to animate.\n */\n let removedVariantIndex = Infinity;\n /**\n * Iterate through all animation types in reverse priority order. For each, we want to\n * detect which values it's handling and whether or not they've changed (and therefore\n * need to be animated). If any values have been removed, we want to detect those in\n * lower priority props and flag for animation.\n */\n for (let i = 0; i < numAnimationTypes; i++) {\n const type = reversePriorityOrder[i];\n const typeState = state[type];\n const prop = props[type] !== undefined\n ? props[type]\n : context[type];\n const propIsVariant = isVariantLabel(prop);\n /**\n * If this type has *just* changed isActive status, set activeDelta\n * to that status. Otherwise set to null.\n */\n const activeDelta = type === changedActiveType ? typeState.isActive : null;\n if (activeDelta === false)\n removedVariantIndex = i;\n /**\n * If this prop is an inherited variant, rather than been set directly on the\n * component itself, we want to make sure we allow the parent to trigger animations.\n *\n * TODO: Can probably change this to a !isControllingVariants check\n */\n let isInherited = prop === context[type] &&\n prop !== props[type] &&\n propIsVariant;\n /**\n *\n */\n if (isInherited &&\n isInitialRender &&\n visualElement.manuallyAnimateOnMount) {\n isInherited = false;\n }\n /**\n * Set all encountered keys so far as the protected keys for this type. This will\n * be any key that has been animated or otherwise handled by active, higher-priortiy types.\n */\n typeState.protectedKeys = { ...encounteredKeys };\n // Check if we can skip analysing this prop early\n if (\n // If it isn't active and hasn't *just* been set as inactive\n (!typeState.isActive && activeDelta === null) ||\n // If we didn't and don't have any defined prop for this animation type\n (!prop && !typeState.prevProp) ||\n // Or if the prop doesn't define an animation\n isAnimationControls(prop) ||\n typeof prop === \"boolean\") {\n continue;\n }\n /**\n * As we go look through the values defined on this type, if we detect\n * a changed value or a value that was removed in a higher priority, we set\n * this to true and add this prop to the animation list.\n */\n const variantDidChange = checkVariantsDidChange(typeState.prevProp, prop);\n let shouldAnimateType = variantDidChange ||\n // If we're making this variant active, we want to always make it active\n (type === changedActiveType &&\n typeState.isActive &&\n !isInherited &&\n propIsVariant) ||\n // If we removed a higher-priority variant (i is in reverse order)\n (i > removedVariantIndex && propIsVariant);\n let handledRemovedValues = false;\n /**\n * As animations can be set as variant lists, variants or target objects, we\n * coerce everything to an array if it isn't one already\n */\n const definitionList = Array.isArray(prop) ? prop : [prop];\n /**\n * Build an object of all the resolved values. We'll use this in the subsequent\n * animateChanges calls to determine whether a value has changed.\n */\n let resolvedValues = definitionList.reduce(buildResolvedTypeValues(type), {});\n if (activeDelta === false)\n resolvedValues = {};\n /**\n * Now we need to loop through all the keys in the prev prop and this prop,\n * and decide:\n * 1. If the value has changed, and needs animating\n * 2. If it has been removed, and needs adding to the removedKeys set\n * 3. If it has been removed in a higher priority type and needs animating\n * 4. If it hasn't been removed in a higher priority but hasn't changed, and\n * needs adding to the type's protectedKeys list.\n */\n const { prevResolvedValues = {} } = typeState;\n const allKeys = {\n ...prevResolvedValues,\n ...resolvedValues,\n };\n const markToAnimate = (key) => {\n shouldAnimateType = true;\n if (removedKeys.has(key)) {\n handledRemovedValues = true;\n removedKeys.delete(key);\n }\n typeState.needsAnimating[key] = true;\n const motionValue = visualElement.getValue(key);\n if (motionValue)\n motionValue.liveStyle = false;\n };\n for (const key in allKeys) {\n const next = resolvedValues[key];\n const prev = prevResolvedValues[key];\n // If we've already handled this we can just skip ahead\n if (encounteredKeys.hasOwnProperty(key))\n continue;\n /**\n * If the value has changed, we probably want to animate it.\n */\n let valueHasChanged = false;\n if (isKeyframesTarget(next) && isKeyframesTarget(prev)) {\n valueHasChanged = !shallowCompare(next, prev);\n }\n else {\n valueHasChanged = next !== prev;\n }\n if (valueHasChanged) {\n if (next !== undefined && next !== null) {\n // If next is defined and doesn't equal prev, it needs animating\n markToAnimate(key);\n }\n else {\n // If it's undefined, it's been removed.\n removedKeys.add(key);\n }\n }\n else if (next !== undefined && removedKeys.has(key)) {\n /**\n * If next hasn't changed and it isn't undefined, we want to check if it's\n * been removed by a higher priority\n */\n markToAnimate(key);\n }\n else {\n /**\n * If it hasn't changed, we add it to the list of protected values\n * to ensure it doesn't get animated.\n */\n typeState.protectedKeys[key] = true;\n }\n }\n /**\n * Update the typeState so next time animateChanges is called we can compare the\n * latest prop and resolvedValues to these.\n */\n typeState.prevProp = prop;\n typeState.prevResolvedValues = resolvedValues;\n /**\n *\n */\n if (typeState.isActive) {\n encounteredKeys = { ...encounteredKeys, ...resolvedValues };\n }\n if (isInitialRender && visualElement.blockInitialAnimation) {\n shouldAnimateType = false;\n }\n /**\n * If this is an inherited prop we want to skip this animation\n * unless the inherited variants haven't changed on this render.\n */\n const willAnimateViaParent = isInherited && variantDidChange;\n const needsAnimating = !willAnimateViaParent || handledRemovedValues;\n if (shouldAnimateType && needsAnimating) {\n animations.push(...definitionList.map((animation) => ({\n animation: animation,\n options: { type },\n })));\n }\n }\n /**\n * If there are some removed value that haven't been dealt with,\n * we need to create a new animation that falls back either to the value\n * defined in the style prop, or the last read value.\n */\n if (removedKeys.size) {\n const fallbackAnimation = {};\n /**\n * If the initial prop contains a transition we can use that, otherwise\n * allow the animation function to use the visual element's default.\n */\n if (typeof props.initial !== \"boolean\") {\n const initialTransition = resolveVariant(visualElement, Array.isArray(props.initial)\n ? props.initial[0]\n : props.initial);\n if (initialTransition && initialTransition.transition) {\n fallbackAnimation.transition = initialTransition.transition;\n }\n }\n removedKeys.forEach((key) => {\n const fallbackTarget = visualElement.getBaseTarget(key);\n const motionValue = visualElement.getValue(key);\n if (motionValue)\n motionValue.liveStyle = true;\n // @ts-expect-error - @mattgperry to figure if we should do something here\n fallbackAnimation[key] = fallbackTarget ?? null;\n });\n animations.push({ animation: fallbackAnimation });\n }\n let shouldAnimate = Boolean(animations.length);\n if (isInitialRender &&\n (props.initial === false || props.initial === props.animate) &&\n !visualElement.manuallyAnimateOnMount) {\n shouldAnimate = false;\n }\n isInitialRender = false;\n return shouldAnimate ? animate(animations) : Promise.resolve();\n }\n /**\n * Change whether a certain animation type is active.\n */\n function setActive(type, isActive) {\n // If the active state hasn't changed, we can safely do nothing here\n if (state[type].isActive === isActive)\n return Promise.resolve();\n // Propagate active change to children\n visualElement.variantChildren?.forEach((child) => child.animationState?.setActive(type, isActive));\n state[type].isActive = isActive;\n const animations = animateChanges(type);\n for (const key in state) {\n state[key].protectedKeys = {};\n }\n return animations;\n }\n return {\n animateChanges,\n setActive,\n setAnimateFunction,\n getState: () => state,\n reset: () => {\n state = createState();\n isInitialRender = true;\n },\n };\n}\nfunction checkVariantsDidChange(prev, next) {\n if (typeof next === \"string\") {\n return next !== prev;\n }\n else if (Array.isArray(next)) {\n return !shallowCompare(next, prev);\n }\n return false;\n}\nfunction createTypeState(isActive = false) {\n return {\n isActive,\n protectedKeys: {},\n needsAnimating: {},\n prevResolvedValues: {},\n };\n}\nfunction createState() {\n return {\n animate: createTypeState(true),\n whileInView: createTypeState(),\n whileHover: createTypeState(),\n whileTap: createTypeState(),\n whileDrag: createTypeState(),\n whileFocus: createTypeState(),\n exit: createTypeState(),\n };\n}\n\nexport { checkVariantsDidChange, createAnimationState };\n"],"names":["reversePriorityOrder","variantPriorityOrder","reverse","numAnimationTypes","length","animateList","visualElement","animations","Promise","all","map","_ref","animation","options","animateVisualElement","checkVariantsDidChange","prev","next","Array","isArray","shallowCompare","createTypeState","isActive","arguments","undefined","protectedKeys","needsAnimating","prevResolvedValues","createState","animate","whileInView","whileHover","whileTap","whileDrag","whileFocus","exit","state","isInitialRender","buildResolvedTypeValues","type","acc","definition","resolved","resolveVariant","presenceContext","custom","transition","transitionEnd","target","animateChanges","changedActiveType","props","context","getVariantContext","parent","removedKeys","Set","encounteredKeys","removedVariantIndex","Infinity","i","typeState","prop","propIsVariant","isVariantLabel","activeDelta","isInherited","manuallyAnimateOnMount","prevProp","isAnimationControls","variantDidChange","shouldAnimateType","handledRemovedValues","definitionList","resolvedValues","reduce","allKeys","markToAnimate","key","has","delete","motionValue","getValue","liveStyle","hasOwnProperty","valueHasChanged","isKeyframesTarget","add","blockInitialAnimation","push","size","fallbackAnimation","initial","initialTransition","forEach","fallbackTarget","getBaseTarget","shouldAnimate","Boolean","resolve","setActive","variantChildren","child","animationState","setAnimateFunction","makeAnimator","getState","reset"],"mappings":"wdASA,MAAMA,EAAuB,IAAIC,wBAAsBC,UACjDC,EAAoBF,EAAoBA,qBAACG,OAC/C,SAASC,EAAYC,GACjB,OAAQC,GAAeC,QAAQC,IAAIF,EAAWG,KAAIC,IAAA,IAACC,UAAEA,EAASC,QAAEA,GAASF,EAAA,OAAKG,uBAAqBR,EAAeM,EAAWC,EAAQ,IACzI,CA2SA,SAASE,EAAuBC,EAAMC,GAClC,MAAoB,iBAATA,EACAA,IAASD,IAEXE,MAAMC,QAAQF,KACXG,EAAcA,eAACH,EAAMD,EAGrC,CACA,SAASK,IACL,MAAO,CACHC,SAFyBC,UAAAnB,OAAA,QAAAoB,IAAAD,UAAA,IAAAA,UAAA,GAGzBE,cAAe,CAAE,EACjBC,eAAgB,CAAE,EAClBC,mBAAoB,CAAC,EAE7B,CACA,SAASC,IACL,MAAO,CACHC,QAASR,GAAgB,GACzBS,YAAaT,IACbU,WAAYV,IACZW,SAAUX,IACVY,UAAWZ,IACXa,WAAYb,IACZc,KAAMd,IAEd,+DArUA,SAA8Bf,GAC1B,IAAIuB,EAAUxB,EAAYC,GACtB8B,EAAQR,IACRS,GAAkB,EAKtB,MAAMC,EAA2BC,GAAS,CAACC,EAAKC,KAC5C,MAAMC,EA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F,cAAclB,GAC7CG,EAAc3E,EAAc4E,SAASJ,GACvCG,IACAA,EAAYE,WAAY,GAE5BQ,EAAkBb,GAAOiB,GAAkB,IAAI,IAEnDxF,EAAWkF,KAAK,CAAE7E,UAAW+E,GACjC,CACA,IAAIM,EAAgBC,QAAQ3F,EAAWH,QAOvC,OANIiC,IACmB,IAAlBc,EAAMyC,SAAqBzC,EAAMyC,UAAYzC,EAAMtB,SACnDvB,EAAc6D,yBACf8B,GAAgB,GAEpB5D,GAAkB,EACX4D,EAAgBpE,EAAQtB,GAAcC,QAAQ2F,SACzD,CAiBA,MAAO,CACHlD,iBACAmD,UAfJ,SAAmB7D,EAAMjB,GAErB,GAAIc,EAAMG,GAAMjB,WAAaA,EACzB,OAAOd,QAAQ2F,UAEnB7F,EAAc+F,iBAAiBP,SAASQ,GAAUA,EAAMC,gBAAgBH,UAAU7D,EAAMjB,KACxFc,EAAMG,GAAMjB,SAAWA,EACvB,MAAMf,EAAa0C,EAAeV,GAClC,IAAK,MAAMuC,KAAO1C,EACdA,EAAM0C,GAAKrD,cAAgB,GAE/B,OAAOlB,CACX,EAIIiG,mBA5QJ,SAA4BC,GACxB5E,EAAU4E,EAAanG,EAC3B,EA2QIoG,SAAUA,IAAMtE,EAChBuE,MAAOA,KACHvE,EAAQR,IACRS,GAAkB,CAAI,EAGlC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compare-by-depth.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/compare-by-depth.mjs"],"sourcesContent":["const compareByDepth = (a, b) => a.depth - b.depth;\n\nexport { compareByDepth };\n"],"names":["compareByDepth","a","b","depth"],"mappings":"2FAAuBA,CAACC,EAAGC,IAAMD,EAAEE,MAAQD,EAAEC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flat-tree.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/flat-tree.mjs"],"sourcesContent":["import { addUniqueItem, removeItem } from 'motion-utils';\nimport { compareByDepth } from './compare-by-depth.mjs';\n\nclass FlatTree {\n constructor() {\n this.children = [];\n this.isDirty = false;\n }\n add(child) {\n addUniqueItem(this.children, child);\n this.isDirty = true;\n }\n remove(child) {\n removeItem(this.children, child);\n this.isDirty = true;\n }\n forEach(callback) {\n this.isDirty && this.children.sort(compareByDepth);\n this.isDirty = false;\n this.children.forEach(callback);\n }\n}\n\nexport { FlatTree };\n"],"names":["constructor","this","children","isDirty","add","child","addUniqueItem","remove","removeItem","forEach","callback","sort","compareByDepth"],"mappings":"8LAGA,MACIA,WAAAA,GACIC,KAAKC,SAAW,GAChBD,KAAKE,SAAU,CACnB,CACAC,GAAAA,CAAIC,GACAC,EAAAA,cAAcL,KAAKC,SAAUG,GAC7BJ,KAAKE,SAAU,CACnB,CACAI,MAAAA,CAAOF,GACHG,EAAAA,WAAWP,KAAKC,SAAUG,GAC1BJ,KAAKE,SAAU,CACnB,CACAM,OAAAA,CAAQC,GACJT,KAAKE,SAAWF,KAAKC,SAASS,KAAKC,EAAcA,gBACjDX,KAAKE,SAAU,EACfF,KAAKC,SAASO,QAAQC,EAC1B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-variant-context.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/get-variant-context.mjs"],"sourcesContent":["import { isVariantLabel } from './is-variant-label.mjs';\nimport { variantProps } from './variant-props.mjs';\n\nconst numVariantProps = variantProps.length;\nfunction getVariantContext(visualElement) {\n if (!visualElement)\n return undefined;\n if (!visualElement.isControllingVariants) {\n const context = visualElement.parent\n ? getVariantContext(visualElement.parent) || {}\n : {};\n if (visualElement.props.initial !== undefined) {\n context.initial = visualElement.props.initial;\n }\n return context;\n }\n const context = {};\n for (let i = 0; i < numVariantProps; i++) {\n const name = variantProps[i];\n const prop = visualElement.props[name];\n if (isVariantLabel(prop) || prop === false) {\n context[name] = prop;\n }\n }\n return context;\n}\n\nexport { getVariantContext };\n"],"names":["numVariantProps","variantProps","length","getVariantContext","visualElement","isControllingVariants","context","parent","undefined","props","initial","i","name","prop","isVariantLabel"],"mappings":"mJAGA,MAAMA,EAAkBC,EAAYA,aAACC,iCACrC,SAASC,EAAkBC,GACvB,IAAKA,EACD,OACJ,IAAKA,EAAcC,sBAAuB,CACtC,MAAMC,EAAUF,EAAcG,QACxBJ,EAAkBC,EAAcG,SAChC,GAIN,YAHoCC,IAAhCJ,EAAcK,MAAMC,UACpBJ,EAAQI,QAAUN,EAAcK,MAAMC,SAEnCJ,CACX,CACA,MAAMA,EAAU,CAAA,EAChB,IAAK,IAAIK,EAAI,EAAGA,EAAIX,EAAiBW,IAAK,CACtC,MAAMC,EAAOX,eAAaU,GACpBE,EAAOT,EAAcK,MAAMG,IAC7BE,iBAAeD,KAAkB,IAATA,KACxBP,EAAQM,GAAQC,EAExB,CACA,OAAOP,CACX"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("../../animation/utils/is-animation-controls.mjs.js"),r=require("./is-variant-label.mjs.js"),a=require("./variant-props.mjs.js");function n(n){return i.isAnimationControls(n.animate)||a.variantProps.some((i=>r.isVariantLabel(n[i])))}exports.isControllingVariants=n,exports.isVariantNode=function(i){return Boolean(n(i)||i.variants)};
2
+ //# sourceMappingURL=is-controlling-variants.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-controlling-variants.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs"],"sourcesContent":["import { isAnimationControls } from '../../animation/utils/is-animation-controls.mjs';\nimport { isVariantLabel } from './is-variant-label.mjs';\nimport { variantProps } from './variant-props.mjs';\n\nfunction isControllingVariants(props) {\n return (isAnimationControls(props.animate) ||\n variantProps.some((name) => isVariantLabel(props[name])));\n}\nfunction isVariantNode(props) {\n return Boolean(isControllingVariants(props) || props.variants);\n}\n\nexport { isControllingVariants, isVariantNode };\n"],"names":["isControllingVariants","props","isAnimationControls","animate","variantProps","some","name","isVariantLabel","Boolean","variants"],"mappings":"mNAIA,SAASA,EAAsBC,GAC3B,OAAQC,sBAAoBD,EAAME,UAC9BC,EAAAA,aAAaC,MAAMC,GAASC,iBAAeN,EAAMK,KACzD,uDACA,SAAuBL,GACnB,OAAOO,QAAQR,EAAsBC,IAAUA,EAAMQ,SACzD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-variant-label.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs"],"sourcesContent":["/**\n * Decides if the supplied variable is variant label\n */\nfunction isVariantLabel(v) {\n return typeof v === \"string\" || Array.isArray(v);\n}\n\nexport { isVariantLabel };\n"],"names":["v","Array","isArray"],"mappings":"2FAGA,SAAwBA,GACpB,MAAoB,iBAANA,GAAkBC,MAAMC,QAAQF,EAClD"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../value/utils/is-motion-value.mjs.js"),o=require("../../../../../motion-utils/dist/es/warn-once.mjs.js"),t=require("../../../../../motion-dom/dist/es/value/index.mjs.js");exports.updateMotionValuesFromProps=function(i,s,n){for(const a in s){const r=s[a],u=n[a];if(e.isMotionValue(r))i.addValue(a,r),"development"===process.env.NODE_ENV&&o.warnOnce("12.9.2"===r.version,`Attempting to mix Motion versions ${r.version} with 12.9.2 may not work as expected.`);else if(e.isMotionValue(u))i.addValue(a,t.motionValue(r,{owner:i}));else if(u!==r)if(i.hasValue(a)){const e=i.getValue(a);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{const e=i.getStaticValue(a);i.addValue(a,t.motionValue(void 0!==e?e:r,{owner:i}))}}for(const e in n)void 0===s[e]&&i.removeValue(e);return s};
2
+ //# sourceMappingURL=motion-values.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"motion-values.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/motion-values.mjs"],"sourcesContent":["import { motionValue } from 'motion-dom';\nimport { warnOnce } from 'motion-utils';\nimport { isMotionValue } from '../../value/utils/is-motion-value.mjs';\n\nfunction updateMotionValuesFromProps(element, next, prev) {\n for (const key in next) {\n const nextValue = next[key];\n const prevValue = prev[key];\n if (isMotionValue(nextValue)) {\n /**\n * If this is a motion value found in props or style, we want to add it\n * to our visual element's motion value map.\n */\n element.addValue(key, nextValue);\n /**\n * Check the version of the incoming motion value with this version\n * and warn against mismatches.\n */\n if (process.env.NODE_ENV === \"development\") {\n warnOnce(nextValue.version === \"12.9.2\", `Attempting to mix Motion versions ${nextValue.version} with 12.9.2 may not work as expected.`);\n }\n }\n else if (isMotionValue(prevValue)) {\n /**\n * If we're swapping from a motion value to a static value,\n * create a new motion value from that\n */\n element.addValue(key, motionValue(nextValue, { owner: element }));\n }\n else if (prevValue !== nextValue) {\n /**\n * If this is a flat value that has changed, update the motion value\n * or create one if it doesn't exist. We only want to do this if we're\n * not handling the value with our animation state.\n */\n if (element.hasValue(key)) {\n const existingValue = element.getValue(key);\n if (existingValue.liveStyle === true) {\n existingValue.jump(nextValue);\n }\n else if (!existingValue.hasAnimated) {\n existingValue.set(nextValue);\n }\n }\n else {\n const latestValue = element.getStaticValue(key);\n element.addValue(key, motionValue(latestValue !== undefined ? latestValue : nextValue, { owner: element }));\n }\n }\n }\n // Handle removed values\n for (const key in prev) {\n if (next[key] === undefined)\n element.removeValue(key);\n }\n return next;\n}\n\nexport { updateMotionValuesFromProps };\n"],"names":["element","next","prev","key","nextValue","prevValue","isMotionValue","addValue","process","env","NODE_ENV","warnOnce","version","motionValue","owner","hasValue","existingValue","getValue","liveStyle","jump","hasAnimated","set","latestValue","getStaticValue","undefined","removeValue"],"mappings":"sSAIA,SAAqCA,EAASC,EAAMC,GAChD,IAAK,MAAMC,KAAOF,EAAM,CACpB,MAAMG,EAAYH,EAAKE,GACjBE,EAAYH,EAAKC,GACvB,GAAIG,EAAAA,cAAcF,GAKdJ,EAAQO,SAASJ,EAAKC,GAKO,gBAAzBI,QAAQC,IAAIC,UACZC,WAA+B,WAAtBP,EAAUQ,QAAsB,qCAAqCR,EAAUQ,sDAG3F,GAAIN,EAAAA,cAAcD,GAKnBL,EAAQO,SAASJ,EAAKU,EAAAA,YAAYT,EAAW,CAAEU,MAAOd,UAErD,GAAIK,IAAcD,EAMnB,GAAIJ,EAAQe,SAASZ,GAAM,CACvB,MAAMa,EAAgBhB,EAAQiB,SAASd,IACP,IAA5Ba,EAAcE,UACdF,EAAcG,KAAKf,GAEbY,EAAcI,aACpBJ,EAAcK,IAAIjB,EAE1B,KACK,CACD,MAAMkB,EAActB,EAAQuB,eAAepB,GAC3CH,EAAQO,SAASJ,EAAKU,EAAAA,iBAA4BW,IAAhBF,EAA4BA,EAAclB,EAAW,CAAEU,MAAOd,IACpG,CAER,CAEA,IAAK,MAAMG,KAAOD,OACIsB,IAAdvB,EAAKE,IACLH,EAAQyB,YAAYtB,GAE5B,OAAOF,CACX"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-dynamic-variants.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs"],"sourcesContent":["import { resolveVariantFromProps } from './resolve-variants.mjs';\n\nfunction resolveVariant(visualElement, definition, custom) {\n const props = visualElement.getProps();\n return resolveVariantFromProps(props, definition, custom !== undefined ? custom : props.custom, visualElement);\n}\n\nexport { resolveVariant };\n"],"names":["visualElement","definition","custom","props","getProps","resolveVariantFromProps","undefined"],"mappings":"sIAEA,SAAwBA,EAAeC,EAAYC,GAC/C,MAAMC,EAAQH,EAAcI,WAC5B,OAAOC,EAAuBA,wBAACF,EAAOF,OAAuBK,IAAXJ,EAAuBA,EAASC,EAAMD,OAAQF,EACpG"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-variants.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs"],"sourcesContent":["function getValueState(visualElement) {\n const state = [{}, {}];\n visualElement?.values.forEach((value, key) => {\n state[0][key] = value.get();\n state[1][key] = value.getVelocity();\n });\n return state;\n}\nfunction resolveVariantFromProps(props, definition, custom, visualElement) {\n /**\n * If the variant definition is a function, resolve.\n */\n if (typeof definition === \"function\") {\n const [current, velocity] = getValueState(visualElement);\n definition = definition(custom !== undefined ? custom : props.custom, current, velocity);\n }\n /**\n * If the variant definition is a variant label, or\n * the function returned a variant label, resolve.\n */\n if (typeof definition === \"string\") {\n definition = props.variants && props.variants[definition];\n }\n /**\n * At this point we've resolved both functions and variant labels,\n * but the resolved variant label might itself have been a function.\n * If so, resolve. This can only have returned a valid target object.\n */\n if (typeof definition === \"function\") {\n const [current, velocity] = getValueState(visualElement);\n definition = definition(custom !== undefined ? custom : props.custom, current, velocity);\n }\n return definition;\n}\n\nexport { resolveVariantFromProps };\n"],"names":["getValueState","visualElement","state","values","forEach","value","key","get","getVelocity","props","definition","custom","current","velocity","undefined","variants"],"mappings":"aAAA,SAASA,EAAcC,GACnB,MAAMC,EAAQ,CAAC,GAAI,CAAA,GAKnB,OAJAD,GAAeE,OAAOC,SAAQ,CAACC,EAAOC,KAClCJ,EAAM,GAAGI,GAAOD,EAAME,MACtBL,EAAM,GAAGI,GAAOD,EAAMG,aAAa,IAEhCN,CACX,wFACA,SAAiCO,EAAOC,EAAYC,EAAQV,GAIxD,GAA0B,mBAAfS,EAA2B,CAClC,MAAOE,EAASC,GAAYb,EAAcC,GAC1CS,EAAaA,OAAsBI,IAAXH,EAAuBA,EAASF,EAAME,OAAQC,EAASC,EACnF,CAaA,GAR0B,iBAAfH,IACPA,EAAaD,EAAMM,UAAYN,EAAMM,SAASL,IAOxB,mBAAfA,EAA2B,CAClC,MAAOE,EAASC,GAAYb,EAAcC,GAC1CS,EAAaA,OAAsBI,IAAXH,EAAuBA,EAASF,EAAME,OAAQC,EAASC,EACnF,CACA,OAAOH,CACX"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../animation/utils/is-keyframes-target.mjs.js"),t=require("./resolve-dynamic-variants.mjs.js"),s=require("../../../../../motion-dom/dist/es/value/index.mjs.js");function r(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,s.motionValue(r))}exports.setTarget=function(s,a){const i=t.resolveVariant(s,a);let{transitionEnd:n={},transition:o={},...u}=i||{};u={...u,...n};for(const t in u){r(s,t,(l=u[t],e.isKeyframesTarget(l)?l[l.length-1]||0:l))}var l};
2
+ //# sourceMappingURL=setters.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setters.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/setters.mjs"],"sourcesContent":["import { motionValue } from 'motion-dom';\nimport { isKeyframesTarget } from '../../animation/utils/is-keyframes-target.mjs';\nimport { resolveVariant } from './resolve-dynamic-variants.mjs';\n\n/**\n * Set VisualElement's MotionValue, creating a new MotionValue for it if\n * it doesn't exist.\n */\nfunction setMotionValue(visualElement, key, value) {\n if (visualElement.hasValue(key)) {\n visualElement.getValue(key).set(value);\n }\n else {\n visualElement.addValue(key, motionValue(value));\n }\n}\nfunction resolveFinalValueInKeyframes(v) {\n // TODO maybe throw if v.length - 1 is placeholder token?\n return isKeyframesTarget(v) ? v[v.length - 1] || 0 : v;\n}\nfunction setTarget(visualElement, definition) {\n const resolved = resolveVariant(visualElement, definition);\n let { transitionEnd = {}, transition = {}, ...target } = resolved || {};\n target = { ...target, ...transitionEnd };\n for (const key in target) {\n const value = resolveFinalValueInKeyframes(target[key]);\n setMotionValue(visualElement, key, value);\n }\n}\n\nexport { setTarget };\n"],"names":["setMotionValue","visualElement","key","value","hasValue","getValue","set","addValue","motionValue","definition","resolved","resolveVariant","transitionEnd","transition","target","v","isKeyframesTarget","length"],"mappings":"uPAQA,SAASA,EAAeC,EAAeC,EAAKC,GACpCF,EAAcG,SAASF,GACvBD,EAAcI,SAASH,GAAKI,IAAIH,GAGhCF,EAAcM,SAASL,EAAKM,EAAAA,YAAYL,GAEhD,mBAKA,SAAmBF,EAAeQ,GAC9B,MAAMC,EAAWC,EAAAA,eAAeV,EAAeQ,GAC/C,IAAIG,cAAEA,EAAgB,CAAE,EAAAC,WAAEA,EAAa,CAAE,KAAKC,GAAWJ,GAAY,CAAA,EACrEI,EAAS,IAAKA,KAAWF,GACzB,IAAK,MAAMV,KAAOY,EAAQ,CAEtBd,EAAeC,EAAeC,GAVAa,EASaD,EAAOZ,GAP/Cc,EAAiBA,kBAACD,GAAKA,EAAEA,EAAEE,OAAS,IAAM,EAAIF,GASrD,CAXJ,IAAsCA,CAYtC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variant-props.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/render/utils/variant-props.mjs"],"sourcesContent":["const variantPriorityOrder = [\n \"animate\",\n \"whileInView\",\n \"whileFocus\",\n \"whileHover\",\n \"whileTap\",\n \"whileDrag\",\n \"exit\",\n];\nconst variantProps = [\"initial\", ...variantPriorityOrder];\n\nexport { variantPriorityOrder, variantProps };\n"],"names":["variantPriorityOrder","variantProps"],"mappings":"oEAAA,MAAMA,EAAuB,CACzB,UACA,cACA,aACA,aACA,WACA,YACA,QAEEC,EAAe,CAAC,aAAcD"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../motion-dom/dist/es/frameloop/sync-time.mjs.js"),t=require("../../../../motion-dom/dist/es/frameloop/frame.mjs.js");exports.delay=function(o,r){const s=e.time.now(),m=e=>{let{timestamp:a}=e;const i=a-s;i>=r&&(t.cancelFrame(m),o(i-r))};return t.frame.setup(m,!0),()=>t.cancelFrame(m)};
2
+ //# sourceMappingURL=delay.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delay.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/delay.mjs"],"sourcesContent":["import { time, frame, cancelFrame } from 'motion-dom';\nimport { secondsToMilliseconds } from 'motion-utils';\n\n/**\n * Timeout defined in ms\n */\nfunction delay(callback, timeout) {\n const start = time.now();\n const checkElapsed = ({ timestamp }) => {\n const elapsed = timestamp - start;\n if (elapsed >= timeout) {\n cancelFrame(checkElapsed);\n callback(elapsed - timeout);\n }\n };\n frame.setup(checkElapsed, true);\n return () => cancelFrame(checkElapsed);\n}\nfunction delayInSeconds(callback, timeout) {\n return delay(callback, secondsToMilliseconds(timeout));\n}\n\nexport { delay, delayInSeconds };\n"],"names":["callback","timeout","start","time","now","checkElapsed","_ref","timestamp","elapsed","cancelFrame","frame","setup"],"mappings":"gOAMA,SAAeA,EAAUC,GACrB,MAAMC,EAAQC,OAAKC,MACbC,EAAeC,IAAmB,IAAlBC,UAAEA,GAAWD,EAC/B,MAAME,EAAUD,EAAYL,EACxBM,GAAWP,IACXQ,EAAWA,YAACJ,GACZL,EAASQ,EAAUP,GACvB,EAGJ,OADAS,EAAAA,MAAMC,MAAMN,GAAc,GACnB,IAAMI,EAAAA,YAAYJ,EAC7B"}
@@ -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//# 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
+ {"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 +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//# 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
+ {"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 +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//# sourceMappingURL=is-browser.mjs.map\n"],"names":["isBrowser","window"],"mappings":"0EAAaA,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"],"names":["isBrowser","window"],"mappings":"oEAAA,MAAMA,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//# 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"}
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"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../is-browser.mjs.js"),r=require("./state.mjs.js");exports.initPrefersReducedMotion=function(){if(r.hasReducedMotionListener.current=!0,e.isBrowser)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),s=()=>r.prefersReducedMotion.current=e.matches;e.addListener(s),s()}else r.prefersReducedMotion.current=!1};
2
+ //# sourceMappingURL=index.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/utils/reduced-motion/index.mjs"],"sourcesContent":["import { isBrowser } from '../is-browser.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from './state.mjs';\n\nfunction initPrefersReducedMotion() {\n hasReducedMotionListener.current = true;\n if (!isBrowser)\n return;\n if (window.matchMedia) {\n const motionMediaQuery = window.matchMedia(\"(prefers-reduced-motion)\");\n const setReducedMotionPreferences = () => (prefersReducedMotion.current = motionMediaQuery.matches);\n motionMediaQuery.addListener(setReducedMotionPreferences);\n setReducedMotionPreferences();\n }\n else {\n prefersReducedMotion.current = false;\n }\n}\n\nexport { initPrefersReducedMotion };\n"],"names":["hasReducedMotionListener","current","isBrowser","window","matchMedia","motionMediaQuery","setReducedMotionPreferences","prefersReducedMotion","matches","addListener"],"mappings":"uKAGA,WAEI,GADAA,EAAwBA,yBAACC,SAAU,EAC9BC,EAASA,UAEd,GAAIC,OAAOC,WAAY,CACnB,MAAMC,EAAmBF,OAAOC,WAAW,4BACrCE,EAA8BA,IAAOC,EAAAA,qBAAqBN,QAAUI,EAAiBG,QAC3FH,EAAiBI,YAAYH,GAC7BA,GACJ,MAEIC,EAAoBA,qBAACN,SAAU,CAEvC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs"],"sourcesContent":["// Does this device prefer reduced motion? Returns `null` server-side.\nconst prefersReducedMotion = { current: null };\nconst hasReducedMotionListener = { current: false };\n\nexport { hasReducedMotionListener, prefersReducedMotion };\n"],"names":["current"],"mappings":"qGAEiC,CAAEA,SAAS,gCADf,CAAEA,QAAS"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shallow-compare.mjs.js","sources":["../../../../../../node_modules/framer-motion/dist/es/utils/shallow-compare.mjs"],"sourcesContent":["function shallowCompare(next, prev) {\n if (!Array.isArray(prev))\n return false;\n const prevLength = prev.length;\n if (prevLength !== next.length)\n return false;\n for (let i = 0; i < prevLength; i++) {\n if (prev[i] !== next[i])\n return false;\n }\n return true;\n}\n\nexport { shallowCompare };\n"],"names":["next","prev","Array","isArray","prevLength","length","i"],"mappings":"2FAAA,SAAwBA,EAAMC,GAC1B,IAAKC,MAAMC,QAAQF,GACf,OAAO,EACX,MAAMG,EAAaH,EAAKI,OACxB,GAAID,IAAeJ,EAAKK,OACpB,OAAO,EACX,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAYE,IAC5B,GAAIL,EAAKK,KAAON,EAAKM,GACjB,OAAO,EAEf,OAAO,CACX"}
@@ -1 +1 @@
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
+ {"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 +1 @@
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
+ {"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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-will-change.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.mjs"],"sourcesContent":["import { MotionGlobalConfig } from 'motion-utils';\nimport { isWillChangeMotionValue } from './is.mjs';\n\nfunction addValueToWillChange(visualElement, key) {\n const willChange = visualElement.getValue(\"willChange\");\n /**\n * It could be that a user has set willChange to a regular MotionValue,\n * in which case we can't add the value to it.\n */\n if (isWillChangeMotionValue(willChange)) {\n return willChange.add(key);\n }\n else if (!willChange && MotionGlobalConfig.WillChange) {\n const newWillChange = new MotionGlobalConfig.WillChange(\"auto\");\n visualElement.addValue(\"willChange\", newWillChange);\n newWillChange.add(key);\n }\n}\n\nexport { addValueToWillChange };\n"],"names":["visualElement","key","willChange","getValue","isWillChangeMotionValue","add","MotionGlobalConfig","WillChange","newWillChange","addValue"],"mappings":"oMAGA,SAA8BA,EAAeC,GACzC,MAAMC,EAAaF,EAAcG,SAAS,cAK1C,GAAIC,EAAAA,wBAAwBF,GACxB,OAAOA,EAAWG,IAAIJ,GAErB,IAAKC,GAAcI,EAAkBA,mBAACC,WAAY,CACnD,MAAMC,EAAgB,IAAIF,EAAAA,mBAAmBC,WAAW,QACxDP,EAAcS,SAAS,aAAcD,GACrCA,EAAcH,IAAIJ,EACtB,CACJ"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/value/use-will-change/is.mjs"],"sourcesContent":["import { isMotionValue } from '../utils/is-motion-value.mjs';\n\nfunction isWillChangeMotionValue(value) {\n return Boolean(isMotionValue(value) && value.add);\n}\n\nexport { isWillChangeMotionValue };\n"],"names":["value","Boolean","isMotionValue","add"],"mappings":"qJAEA,SAAiCA,GAC7B,OAAOC,QAAQC,EAAAA,cAAcF,IAAUA,EAAMG,IACjD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-motion-value.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs"],"sourcesContent":["const isMotionValue = (value) => Boolean(value && value.getVelocity);\n\nexport { isMotionValue };\n"],"names":["value","Boolean","getVelocity"],"mappings":"0FAAuBA,GAAUC,QAAQD,GAASA,EAAME"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-motion-value.mjs.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs"],"sourcesContent":["import { isMotionValue } from './is-motion-value.mjs';\n\n/**\n * If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself\n *\n * TODO: Remove and move to library\n */\nfunction resolveMotionValue(value) {\n return isMotionValue(value) ? value.get() : value;\n}\n\nexport { resolveMotionValue };\n"],"names":["value","isMotionValue","get"],"mappings":"yIAOA,SAA4BA,GACxB,OAAOC,EAAAA,cAAcD,GAASA,EAAME,MAAQF,CAChD"}
@@ -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,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;
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;
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) === ' ') 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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AAKE,UAAUgB,EAASjH,MAAQiH,EACzBlB,IACT,GACC,CACDI,IAAK,SACLlG,MAAO,SAAgBiH,GACrB,IAAIC,EAAQpB,KACPmB,IAAgBA,EAAiBnB,KAAK/E,QAAQyE,OACnD,IAAI2B,EAAW,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
+ {"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,MAA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rB,IAAIC,EAAQtB,KACPqB,IAAgBA,EAAiBrB,KAAK3E,QAAQwF,OACnD,IAAIU,EAAW,GAWf,OAVAF,EAAepH,SAAQ,SAAUuH,GAC/B,GAAIF,EAAMpB,UAAUsB,GAAe,CACjC,IAAIxE,EAASsE,EAAMpB,UAAUsB,GAAcxE,OAAOsE,EAAMjG,SACpD2B,GAA4B,iBAAXA,IAAqBA,EAAS,CAACA,IAChDA,IAAQuE,EAAWA,EAAS9F,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,2 +1,2 @@
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);
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);
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/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;
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;
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 { 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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AK2C,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
+ {"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,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