@vkzstudio/muza-ui 1.0.8 → 1.0.10

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 (275) hide show
  1. package/dist/components/Button/Button.js +19 -19
  2. package/dist/components/Button/ButtonLoader.d.ts +7 -0
  3. package/dist/components/Button/ButtonLoader.d.ts.map +1 -0
  4. package/dist/components/Button/ButtonLoader.js +40 -0
  5. package/dist/components/Button/buttonVariants.d.ts.map +1 -1
  6. package/dist/components/Button/buttonVariants.js +0 -1
  7. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  8. package/dist/components/Icons/CustomIcons.d.ts +1 -0
  9. package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
  10. package/dist/components/Icons/CustomIcons.js +39 -28
  11. package/dist/components/ReorderableTable/ReorderableTable.js +1 -1
  12. package/dist/components/SwipeButton/SwipeButton.js +1 -1
  13. package/dist/components/TextEditor/EditorToolbar.d.ts +18 -0
  14. package/dist/components/TextEditor/EditorToolbar.d.ts.map +1 -0
  15. package/dist/components/TextEditor/EditorToolbar.js +175 -0
  16. package/dist/components/TextEditor/LinkBubbleMenu.d.ts +52 -0
  17. package/dist/components/TextEditor/LinkBubbleMenu.d.ts.map +1 -0
  18. package/dist/components/TextEditor/LinkBubbleMenu.js +97 -0
  19. package/dist/components/TextEditor/TextEditor.d.ts +134 -0
  20. package/dist/components/TextEditor/TextEditor.d.ts.map +1 -0
  21. package/dist/components/TextEditor/TextEditor.js +240 -0
  22. package/dist/components/TextEditor/TextEditor.stories.d.ts +51 -0
  23. package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -0
  24. package/dist/components/TextEditor/ToolbarButton.d.ts +38 -0
  25. package/dist/components/TextEditor/ToolbarButton.d.ts.map +1 -0
  26. package/dist/components/TextEditor/ToolbarButton.js +68 -0
  27. package/dist/components/TextEditor/ToolbarSeparator.d.ts +22 -0
  28. package/dist/components/TextEditor/ToolbarSeparator.d.ts.map +1 -0
  29. package/dist/components/TextEditor/ToolbarSeparator.js +23 -0
  30. package/dist/components/TextEditor/index.d.ts +4 -0
  31. package/dist/components/TextEditor/index.d.ts.map +1 -0
  32. package/dist/components/TextEditor/useLinkEditor.d.ts +37 -0
  33. package/dist/components/TextEditor/useLinkEditor.d.ts.map +1 -0
  34. package/dist/components/TextEditor/useLinkEditor.js +32 -0
  35. package/dist/components/index.d.ts +1 -0
  36. package/dist/components/index.d.ts.map +1 -1
  37. package/dist/index.js +140 -132
  38. package/dist/muza-ui.css +1 -1
  39. package/dist/node_modules/@popperjs/core/lib/createPopper.js +122 -0
  40. package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +18 -0
  41. package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +23 -0
  42. package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +37 -0
  43. package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +32 -0
  44. package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +7 -0
  45. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +10 -0
  46. package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +17 -0
  47. package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +9 -0
  48. package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +13 -0
  49. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +6 -0
  50. package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +10 -0
  51. package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +35 -0
  52. package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +18 -0
  53. package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +10 -0
  54. package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +21 -0
  55. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +12 -0
  56. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +11 -0
  57. package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +9 -0
  58. package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +20 -0
  59. package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +7 -0
  60. package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +8 -0
  61. package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +7 -0
  62. package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +16 -0
  63. package/dist/node_modules/@popperjs/core/lib/enums.js +31 -0
  64. package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +47 -0
  65. package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +37 -0
  66. package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +99 -0
  67. package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +26 -0
  68. package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +74 -0
  69. package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +44 -0
  70. package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +31 -0
  71. package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +19 -0
  72. package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +54 -0
  73. package/dist/node_modules/@popperjs/core/lib/popper.js +27 -0
  74. package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +27 -0
  75. package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +54 -0
  76. package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +13 -0
  77. package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +33 -0
  78. package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +8 -0
  79. package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +6 -0
  80. package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +6 -0
  81. package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +11 -0
  82. package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +6 -0
  83. package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +14 -0
  84. package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +12 -0
  85. package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +6 -0
  86. package/dist/node_modules/@popperjs/core/lib/utils/math.js +6 -0
  87. package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +15 -0
  88. package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +7 -0
  89. package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +31 -0
  90. package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +11 -0
  91. package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +9 -0
  92. package/dist/node_modules/@popperjs/core/lib/utils/within.js +12 -0
  93. package/dist/node_modules/@tiptap/core/dist/index.js +2857 -0
  94. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +45 -0
  95. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +76 -0
  96. package/dist/node_modules/@tiptap/extension-bubble-menu/dist/index.js +129 -0
  97. package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +55 -0
  98. package/dist/node_modules/@tiptap/extension-code/dist/index.js +54 -0
  99. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +136 -0
  100. package/dist/node_modules/@tiptap/extension-document/dist/index.js +10 -0
  101. package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +21 -0
  102. package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +25 -0
  103. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +56 -0
  104. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +55 -0
  105. package/dist/node_modules/@tiptap/extension-history/dist/index.js +36 -0
  106. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +59 -0
  107. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +75 -0
  108. package/dist/node_modules/@tiptap/extension-link/dist/index.js +272 -0
  109. package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +34 -0
  110. package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +73 -0
  111. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +34 -0
  112. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +53 -0
  113. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +64 -0
  114. package/dist/node_modules/@tiptap/extension-text/dist/index.js +9 -0
  115. package/dist/node_modules/@tiptap/react/dist/index.js +709 -0
  116. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +30 -0
  117. package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +4 -4
  118. package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +24 -24
  119. package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +61 -56
  120. package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +8 -8
  121. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +32 -30
  122. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +22 -22
  123. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +34 -32
  124. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +34 -26
  125. package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +30 -25
  126. package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +64 -0
  127. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +2 -2
  128. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +3 -3
  129. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +100 -89
  130. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +11 -7
  131. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +4 -4
  132. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +2 -2
  133. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +1 -1
  134. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +106 -59
  135. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +6 -6
  136. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +1 -1
  137. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +1 -1
  138. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +5 -5
  139. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +18 -6
  140. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +1 -1
  141. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +27 -42
  142. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +4 -4
  143. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +10 -7
  144. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +4 -4
  145. package/dist/node_modules/framer-motion/dist/es/motion/index.js +49 -49
  146. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +18 -13
  147. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +41 -40
  148. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +13 -13
  149. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +6 -6
  150. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +12 -12
  151. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +3 -3
  152. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +7 -7
  153. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +5 -5
  154. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +1 -1
  155. package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +26 -18
  156. package/dist/node_modules/linkifyjs/dist/linkify.js +707 -0
  157. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +33 -30
  158. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +17 -17
  159. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +20 -19
  160. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
  161. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/motion-value.js +13 -13
  162. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element-target.js +11 -11
  163. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +24 -20
  164. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/default-transitions.js +1 -1
  165. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +7 -3
  166. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +1 -1
  167. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/animation/mix-values.js +2 -2
  168. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-apply.js +4 -4
  169. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-calc.js +1 -1
  170. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/delta-remove.js +6 -6
  171. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/DocumentProjectionNode.js +7 -4
  172. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/create-projection-node.js +149 -149
  173. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +60 -0
  174. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/scale-border-radius.js +1 -1
  175. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/scale-box-shadow.js +2 -2
  176. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
  177. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/VisualElement.js +58 -50
  178. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/dom/DOMVisualElement.js +7 -6
  179. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
  180. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +38 -0
  181. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
  182. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +37 -0
  183. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +14 -0
  184. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
  185. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
  186. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
  187. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
  188. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/animation-state.js +31 -31
  189. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-controlling-variants.js +1 -1
  190. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
  191. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/motion-values.js +6 -6
  192. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
  193. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/setters.js +4 -4
  194. package/dist/node_modules/{framer-motion → motion-dom}/dist/es/utils/delay.js +2 -2
  195. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +8 -6
  196. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +62 -42
  197. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
  198. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
  199. package/dist/node_modules/motion-utils/dist/es/errors.js +10 -9
  200. package/dist/node_modules/orderedmap/dist/index.js +103 -0
  201. package/dist/node_modules/prosemirror-commands/dist/index.js +388 -0
  202. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +86 -0
  203. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +204 -0
  204. package/dist/node_modules/prosemirror-history/dist/index.js +248 -0
  205. package/dist/node_modules/prosemirror-keymap/dist/index.js +62 -0
  206. package/dist/node_modules/prosemirror-model/dist/index.js +2733 -0
  207. package/dist/node_modules/prosemirror-schema-list/dist/index.js +88 -0
  208. package/dist/node_modules/prosemirror-state/dist/index.js +822 -0
  209. package/dist/node_modules/prosemirror-transform/dist/index.js +1520 -0
  210. package/dist/node_modules/prosemirror-view/dist/index.js +3794 -0
  211. package/dist/node_modules/rope-sequence/dist/index.js +100 -0
  212. package/dist/node_modules/tippy.js/dist/tippy.esm.js +813 -0
  213. package/dist/node_modules/w3c-keyname/index.js +93 -0
  214. package/dist/translations/locales/cs.d.ts.map +1 -1
  215. package/dist/translations/locales/cs.js +18 -0
  216. package/dist/translations/locales/en.d.ts.map +1 -1
  217. package/dist/translations/locales/en.js +18 -0
  218. package/dist/translations/locales/sk.d.ts.map +1 -1
  219. package/dist/translations/locales/sk.js +18 -0
  220. package/dist/translations/types.d.ts +22 -0
  221. package/dist/translations/types.d.ts.map +1 -1
  222. package/package.json +17 -1
  223. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -10
  224. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -8
  225. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -58
  226. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -10
  227. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  228. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -38
  229. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -29
  230. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -31
  231. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -12
  232. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -40
  233. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -23
  234. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -18
  235. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  236. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -13
  237. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -7
  238. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -7
  239. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element-variant.js +0 -0
  240. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/interfaces/visual-element.js +0 -0
  241. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/data-id.js +0 -0
  242. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/optimized-appear/get-appear-id.js +0 -0
  243. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/calc-child-stagger.js +0 -0
  244. /package/dist/node_modules/{framer-motion/dist/es/animation/animators/waapi → motion-dom/dist/es/animation}/utils/get-final-keyframe.js +0 -0
  245. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/animation/utils/is-transition-defined.js +0 -0
  246. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/events/add-dom-event.js +0 -0
  247. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/conversion.js +0 -0
  248. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/copy.js +0 -0
  249. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/models.js +0 -0
  250. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/geometry/utils.js +0 -0
  251. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/HTMLProjectionNode.js +0 -0
  252. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/node/state.js +0 -0
  253. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/styles/transform.js +0 -0
  254. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/compare-by-depth.js +0 -0
  255. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/each-axis.js +0 -0
  256. /package/dist/node_modules/{framer-motion/dist/es/render → motion-dom/dist/es/projection}/utils/flat-tree.js +0 -0
  257. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/has-transform.js +0 -0
  258. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/projection/utils/measure.js +0 -0
  259. /package/dist/node_modules/{framer-motion/dist/es/motion/features → motion-dom/dist/es/render}/Feature.js +0 -0
  260. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/html/utils/render.js +0 -0
  261. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/object/ObjectVisualElement.js +0 -0
  262. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/store.js +0 -0
  263. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/camel-case-attrs.js +0 -0
  264. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/is-svg-tag.js +0 -0
  265. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/svg/utils/render.js +0 -0
  266. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/get-variant-context.js +0 -0
  267. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-animation-controls.js +0 -0
  268. /package/dist/node_modules/{framer-motion/dist/es/animation → motion-dom/dist/es/render}/utils/is-keyframes-target.js +0 -0
  269. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/is-variant-label.js +0 -0
  270. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/reduced-motion/state.js +0 -0
  271. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-dynamic-variants.js +0 -0
  272. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/resolve-variants.js +0 -0
  273. /package/dist/node_modules/{framer-motion/dist/es → motion-dom/dist/es/render}/utils/shallow-compare.js +0 -0
  274. /package/dist/node_modules/{framer-motion → motion-dom}/dist/es/render/utils/variant-props.js +0 -0
  275. /package/dist/node_modules/{framer-motion/dist/es/value/use-will-change → motion-dom/dist/es/value/will-change}/add-will-change.js +0 -0
@@ -0,0 +1,813 @@
1
+ import { createPopper as bt } from "../../@popperjs/core/lib/popper.js";
2
+ import Tt from "../../@popperjs/core/lib/modifiers/applyStyles.js";
3
+ var Et = "tippy-box", ze = "tippy-content", wt = "tippy-backdrop", qe = "tippy-arrow", Ye = "tippy-svg-arrow", S = {
4
+ passive: !0,
5
+ capture: !0
6
+ }, Ke = function() {
7
+ return document.body;
8
+ };
9
+ function Ot(e, i) {
10
+ return {}.hasOwnProperty.call(e, i);
11
+ }
12
+ function ae(e, i, r) {
13
+ if (Array.isArray(e)) {
14
+ var a = e[i];
15
+ return a ?? (Array.isArray(r) ? r[i] : r);
16
+ }
17
+ return e;
18
+ }
19
+ function le(e, i) {
20
+ var r = {}.toString.call(e);
21
+ return r.indexOf("[object") === 0 && r.indexOf(i + "]") > -1;
22
+ }
23
+ function Xe(e, i) {
24
+ return typeof e == "function" ? e.apply(void 0, i) : e;
25
+ }
26
+ function _e(e, i) {
27
+ if (i === 0)
28
+ return e;
29
+ var r;
30
+ return function(a) {
31
+ clearTimeout(r), r = setTimeout(function() {
32
+ e(a);
33
+ }, i);
34
+ };
35
+ }
36
+ function Dt(e, i) {
37
+ var r = Object.assign({}, e);
38
+ return i.forEach(function(a) {
39
+ delete r[a];
40
+ }), r;
41
+ }
42
+ function At(e) {
43
+ return e.split(/\s+/).filter(Boolean);
44
+ }
45
+ function I(e) {
46
+ return [].concat(e);
47
+ }
48
+ function Ue(e, i) {
49
+ e.indexOf(i) === -1 && e.push(i);
50
+ }
51
+ function Lt(e) {
52
+ return e.filter(function(i, r) {
53
+ return e.indexOf(i) === r;
54
+ });
55
+ }
56
+ function Ct(e) {
57
+ return e.split("-")[0];
58
+ }
59
+ function J(e) {
60
+ return [].slice.call(e);
61
+ }
62
+ function Re(e) {
63
+ return Object.keys(e).reduce(function(i, r) {
64
+ return e[r] !== void 0 && (i[r] = e[r]), i;
65
+ }, {});
66
+ }
67
+ function k() {
68
+ return document.createElement("div");
69
+ }
70
+ function P(e) {
71
+ return ["Element", "Fragment"].some(function(i) {
72
+ return le(e, i);
73
+ });
74
+ }
75
+ function St(e) {
76
+ return le(e, "NodeList");
77
+ }
78
+ function Nt(e) {
79
+ return le(e, "MouseEvent");
80
+ }
81
+ function xt(e) {
82
+ return !!(e && e._tippy && e._tippy.reference === e);
83
+ }
84
+ function Mt(e) {
85
+ return P(e) ? [e] : St(e) ? J(e) : Array.isArray(e) ? e : J(document.querySelectorAll(e));
86
+ }
87
+ function se(e, i) {
88
+ e.forEach(function(r) {
89
+ r && (r.style.transitionDuration = i + "ms");
90
+ });
91
+ }
92
+ function ke(e, i) {
93
+ e.forEach(function(r) {
94
+ r && r.setAttribute("data-state", i);
95
+ });
96
+ }
97
+ function Vt(e) {
98
+ var i, r = I(e), a = r[0];
99
+ return a != null && (i = a.ownerDocument) != null && i.body ? a.ownerDocument : document;
100
+ }
101
+ function It(e, i) {
102
+ var r = i.clientX, a = i.clientY;
103
+ return e.every(function(l) {
104
+ var d = l.popperRect, u = l.popperState, h = l.props, v = h.interactiveBorder, y = Ct(u.placement), m = u.modifiersData.offset;
105
+ if (!m)
106
+ return !0;
107
+ var H = y === "bottom" ? m.top.y : 0, F = y === "top" ? m.bottom.y : 0, j = y === "right" ? m.left.x : 0, D = y === "left" ? m.right.x : 0, W = d.top - a + H > v, Z = a - d.bottom - F > v, ee = d.left - r + j > v, $ = r - d.right - D > v;
108
+ return W || Z || ee || $;
109
+ });
110
+ }
111
+ function ue(e, i, r) {
112
+ var a = i + "EventListener";
113
+ ["transitionend", "webkitTransitionEnd"].forEach(function(l) {
114
+ e[a](l, r);
115
+ });
116
+ }
117
+ function Pe(e, i) {
118
+ for (var r = i; r; ) {
119
+ var a;
120
+ if (e.contains(r))
121
+ return !0;
122
+ r = r.getRootNode == null || (a = r.getRootNode()) == null ? void 0 : a.host;
123
+ }
124
+ return !1;
125
+ }
126
+ var O = {
127
+ isTouch: !1
128
+ }, Be = 0;
129
+ function jt() {
130
+ O.isTouch || (O.isTouch = !0, window.performance && document.addEventListener("mousemove", Ge));
131
+ }
132
+ function Ge() {
133
+ var e = performance.now();
134
+ e - Be < 20 && (O.isTouch = !1, document.removeEventListener("mousemove", Ge)), Be = e;
135
+ }
136
+ function _t() {
137
+ var e = document.activeElement;
138
+ if (xt(e)) {
139
+ var i = e._tippy;
140
+ e.blur && !i.state.isVisible && e.blur();
141
+ }
142
+ }
143
+ function Ut() {
144
+ document.addEventListener("touchstart", jt, S), window.addEventListener("blur", _t);
145
+ }
146
+ var Rt = typeof window < "u" && typeof document < "u", kt = Rt ? (
147
+ // @ts-ignore
148
+ !!window.msCrypto
149
+ ) : !1;
150
+ function V(e) {
151
+ var i = e === "destroy" ? "n already-" : " ";
152
+ return [e + "() was called on a" + i + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
153
+ }
154
+ function He(e) {
155
+ var i = /[ \t]{2,}/g, r = /^[ \t]*/gm;
156
+ return e.replace(i, " ").replace(r, "").trim();
157
+ }
158
+ function Pt(e) {
159
+ return He(`
160
+ %ctippy.js
161
+
162
+ %c` + He(e) + `
163
+
164
+ %c👷‍ This is a development-only message. It will be removed in production.
165
+ `);
166
+ }
167
+ function Je(e) {
168
+ return [
169
+ Pt(e),
170
+ // title
171
+ "color: #00C584; font-size: 1.3em; font-weight: bold;",
172
+ // message
173
+ "line-height: 1.5",
174
+ // footer
175
+ "color: #a6a095;"
176
+ ];
177
+ }
178
+ var B;
179
+ process.env.NODE_ENV !== "production" && Bt();
180
+ function Bt() {
181
+ B = /* @__PURE__ */ new Set();
182
+ }
183
+ function A(e, i) {
184
+ if (e && !B.has(i)) {
185
+ var r;
186
+ B.add(i), (r = console).warn.apply(r, Je(i));
187
+ }
188
+ }
189
+ function pe(e, i) {
190
+ if (e && !B.has(i)) {
191
+ var r;
192
+ B.add(i), (r = console).error.apply(r, Je(i));
193
+ }
194
+ }
195
+ function Ht(e) {
196
+ var i = !e, r = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
197
+ pe(i, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), pe(r, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
198
+ }
199
+ var Qe = {
200
+ animateFill: !1,
201
+ followCursor: !1,
202
+ inlinePositioning: !1,
203
+ sticky: !1
204
+ }, Ft = {
205
+ allowHTML: !1,
206
+ animation: "fade",
207
+ arrow: !0,
208
+ content: "",
209
+ inertia: !1,
210
+ maxWidth: 350,
211
+ role: "tooltip",
212
+ theme: "",
213
+ zIndex: 9999
214
+ }, b = Object.assign({
215
+ appendTo: Ke,
216
+ aria: {
217
+ content: "auto",
218
+ expanded: "auto"
219
+ },
220
+ delay: 0,
221
+ duration: [300, 250],
222
+ getReferenceClientRect: null,
223
+ hideOnClick: !0,
224
+ ignoreAttributes: !1,
225
+ interactive: !1,
226
+ interactiveBorder: 2,
227
+ interactiveDebounce: 0,
228
+ moveTransition: "",
229
+ offset: [0, 10],
230
+ onAfterUpdate: function() {
231
+ },
232
+ onBeforeUpdate: function() {
233
+ },
234
+ onCreate: function() {
235
+ },
236
+ onDestroy: function() {
237
+ },
238
+ onHidden: function() {
239
+ },
240
+ onHide: function() {
241
+ },
242
+ onMount: function() {
243
+ },
244
+ onShow: function() {
245
+ },
246
+ onShown: function() {
247
+ },
248
+ onTrigger: function() {
249
+ },
250
+ onUntrigger: function() {
251
+ },
252
+ onClickOutside: function() {
253
+ },
254
+ placement: "top",
255
+ plugins: [],
256
+ popperOptions: {},
257
+ render: null,
258
+ showOnCreate: !1,
259
+ touch: !0,
260
+ trigger: "mouseenter focus",
261
+ triggerTarget: null
262
+ }, Qe, Ft), Wt = Object.keys(b), $t = function(i) {
263
+ process.env.NODE_ENV !== "production" && et(i, []);
264
+ var r = Object.keys(i);
265
+ r.forEach(function(a) {
266
+ b[a] = i[a];
267
+ });
268
+ };
269
+ function Ze(e) {
270
+ var i = e.plugins || [], r = i.reduce(function(a, l) {
271
+ var d = l.name, u = l.defaultValue;
272
+ if (d) {
273
+ var h;
274
+ a[d] = e[d] !== void 0 ? e[d] : (h = b[d]) != null ? h : u;
275
+ }
276
+ return a;
277
+ }, {});
278
+ return Object.assign({}, e, r);
279
+ }
280
+ function zt(e, i) {
281
+ var r = i ? Object.keys(Ze(Object.assign({}, b, {
282
+ plugins: i
283
+ }))) : Wt, a = r.reduce(function(l, d) {
284
+ var u = (e.getAttribute("data-tippy-" + d) || "").trim();
285
+ if (!u)
286
+ return l;
287
+ if (d === "content")
288
+ l[d] = u;
289
+ else
290
+ try {
291
+ l[d] = JSON.parse(u);
292
+ } catch {
293
+ l[d] = u;
294
+ }
295
+ return l;
296
+ }, {});
297
+ return a;
298
+ }
299
+ function Fe(e, i) {
300
+ var r = Object.assign({}, i, {
301
+ content: Xe(i.content, [e])
302
+ }, i.ignoreAttributes ? {} : zt(e, i.plugins));
303
+ return r.aria = Object.assign({}, b.aria, r.aria), r.aria = {
304
+ expanded: r.aria.expanded === "auto" ? i.interactive : r.aria.expanded,
305
+ content: r.aria.content === "auto" ? i.interactive ? null : "describedby" : r.aria.content
306
+ }, r;
307
+ }
308
+ function et(e, i) {
309
+ e === void 0 && (e = {}), i === void 0 && (i = []);
310
+ var r = Object.keys(e);
311
+ r.forEach(function(a) {
312
+ var l = Dt(b, Object.keys(Qe)), d = !Ot(l, a);
313
+ d && (d = i.filter(function(u) {
314
+ return u.name === a;
315
+ }).length === 0), A(d, ["`" + a + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
316
+
317
+ `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
318
+ `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
319
+ });
320
+ }
321
+ var qt = function() {
322
+ return "innerHTML";
323
+ };
324
+ function de(e, i) {
325
+ e[qt()] = i;
326
+ }
327
+ function We(e) {
328
+ var i = k();
329
+ return e === !0 ? i.className = qe : (i.className = Ye, P(e) ? i.appendChild(e) : de(i, e)), i;
330
+ }
331
+ function $e(e, i) {
332
+ P(i.content) ? (de(e, ""), e.appendChild(i.content)) : typeof i.content != "function" && (i.allowHTML ? de(e, i.content) : e.textContent = i.content);
333
+ }
334
+ function fe(e) {
335
+ var i = e.firstElementChild, r = J(i.children);
336
+ return {
337
+ box: i,
338
+ content: r.find(function(a) {
339
+ return a.classList.contains(ze);
340
+ }),
341
+ arrow: r.find(function(a) {
342
+ return a.classList.contains(qe) || a.classList.contains(Ye);
343
+ }),
344
+ backdrop: r.find(function(a) {
345
+ return a.classList.contains(wt);
346
+ })
347
+ };
348
+ }
349
+ function tt(e) {
350
+ var i = k(), r = k();
351
+ r.className = Et, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
352
+ var a = k();
353
+ a.className = ze, a.setAttribute("data-state", "hidden"), $e(a, e.props), i.appendChild(r), r.appendChild(a), l(e.props, e.props);
354
+ function l(d, u) {
355
+ var h = fe(i), v = h.box, y = h.content, m = h.arrow;
356
+ u.theme ? v.setAttribute("data-theme", u.theme) : v.removeAttribute("data-theme"), typeof u.animation == "string" ? v.setAttribute("data-animation", u.animation) : v.removeAttribute("data-animation"), u.inertia ? v.setAttribute("data-inertia", "") : v.removeAttribute("data-inertia"), v.style.maxWidth = typeof u.maxWidth == "number" ? u.maxWidth + "px" : u.maxWidth, u.role ? v.setAttribute("role", u.role) : v.removeAttribute("role"), (d.content !== u.content || d.allowHTML !== u.allowHTML) && $e(y, e.props), u.arrow ? m ? d.arrow !== u.arrow && (v.removeChild(m), v.appendChild(We(u.arrow))) : v.appendChild(We(u.arrow)) : m && v.removeChild(m);
357
+ }
358
+ return {
359
+ popper: i,
360
+ onUpdate: l
361
+ };
362
+ }
363
+ tt.$$tippy = !0;
364
+ var Yt = 1, G = [], ce = [];
365
+ function Kt(e, i) {
366
+ var r = Fe(e, Object.assign({}, b, Ze(Re(i)))), a, l, d, u = !1, h = !1, v = !1, y = !1, m, H, F, j = [], D = _e(Ce, r.interactiveDebounce), W, Z = Yt++, ee = null, $ = Lt(r.plugins), nt = {
367
+ // Is the instance currently enabled?
368
+ isEnabled: !0,
369
+ // Is the tippy currently showing and not transitioning out?
370
+ isVisible: !1,
371
+ // Has the instance been destroyed?
372
+ isDestroyed: !1,
373
+ // Is the tippy currently mounted to the DOM?
374
+ isMounted: !1,
375
+ // Has the tippy finished transitioning in?
376
+ isShown: !1
377
+ }, t = {
378
+ // properties
379
+ id: Z,
380
+ reference: e,
381
+ popper: k(),
382
+ popperInstance: ee,
383
+ props: r,
384
+ state: nt,
385
+ plugins: $,
386
+ // methods
387
+ clearDelayTimeouts: pt,
388
+ setProps: dt,
389
+ setContent: ft,
390
+ show: lt,
391
+ hide: vt,
392
+ hideWithInteractivity: mt,
393
+ enable: ut,
394
+ disable: ct,
395
+ unmount: ht,
396
+ destroy: gt
397
+ };
398
+ if (!r.render)
399
+ return process.env.NODE_ENV !== "production" && pe(!0, "render() function has not been supplied."), t;
400
+ var ve = r.render(t), p = ve.popper, me = ve.onUpdate;
401
+ p.setAttribute("data-tippy-root", ""), p.id = "tippy-" + t.id, t.popper = p, e._tippy = t, p._tippy = t;
402
+ var it = $.map(function(n) {
403
+ return n.fn(t);
404
+ }), rt = e.hasAttribute("aria-expanded");
405
+ return De(), R(), z(), T("onCreate", [t]), r.showOnCreate && Ie(), p.addEventListener("mouseenter", function() {
406
+ t.props.interactive && t.state.isVisible && t.clearDelayTimeouts();
407
+ }), p.addEventListener("mouseleave", function() {
408
+ t.props.interactive && t.props.trigger.indexOf("mouseenter") >= 0 && _().addEventListener("mousemove", D);
409
+ }), t;
410
+ function he() {
411
+ var n = t.props.touch;
412
+ return Array.isArray(n) ? n : [n, 0];
413
+ }
414
+ function ge() {
415
+ return he()[0] === "hold";
416
+ }
417
+ function w() {
418
+ var n;
419
+ return !!((n = t.props.render) != null && n.$$tippy);
420
+ }
421
+ function L() {
422
+ return W || e;
423
+ }
424
+ function _() {
425
+ var n = L().parentNode;
426
+ return n ? Vt(n) : document;
427
+ }
428
+ function U() {
429
+ return fe(p);
430
+ }
431
+ function ye(n) {
432
+ return t.state.isMounted && !t.state.isVisible || O.isTouch || m && m.type === "focus" ? 0 : ae(t.props.delay, n ? 0 : 1, b.delay);
433
+ }
434
+ function z(n) {
435
+ n === void 0 && (n = !1), p.style.pointerEvents = t.props.interactive && !n ? "" : "none", p.style.zIndex = "" + t.props.zIndex;
436
+ }
437
+ function T(n, o, s) {
438
+ if (s === void 0 && (s = !0), it.forEach(function(c) {
439
+ c[n] && c[n].apply(c, o);
440
+ }), s) {
441
+ var f;
442
+ (f = t.props)[n].apply(f, o);
443
+ }
444
+ }
445
+ function be() {
446
+ var n = t.props.aria;
447
+ if (n.content) {
448
+ var o = "aria-" + n.content, s = p.id, f = I(t.props.triggerTarget || e);
449
+ f.forEach(function(c) {
450
+ var g = c.getAttribute(o);
451
+ if (t.state.isVisible)
452
+ c.setAttribute(o, g ? g + " " + s : s);
453
+ else {
454
+ var E = g && g.replace(s, "").trim();
455
+ E ? c.setAttribute(o, E) : c.removeAttribute(o);
456
+ }
457
+ });
458
+ }
459
+ }
460
+ function R() {
461
+ if (!(rt || !t.props.aria.expanded)) {
462
+ var n = I(t.props.triggerTarget || e);
463
+ n.forEach(function(o) {
464
+ t.props.interactive ? o.setAttribute("aria-expanded", t.state.isVisible && o === L() ? "true" : "false") : o.removeAttribute("aria-expanded");
465
+ });
466
+ }
467
+ }
468
+ function te() {
469
+ _().removeEventListener("mousemove", D), G = G.filter(function(n) {
470
+ return n !== D;
471
+ });
472
+ }
473
+ function q(n) {
474
+ if (!(O.isTouch && (v || n.type === "mousedown"))) {
475
+ var o = n.composedPath && n.composedPath()[0] || n.target;
476
+ if (!(t.props.interactive && Pe(p, o))) {
477
+ if (I(t.props.triggerTarget || e).some(function(s) {
478
+ return Pe(s, o);
479
+ })) {
480
+ if (O.isTouch || t.state.isVisible && t.props.trigger.indexOf("click") >= 0)
481
+ return;
482
+ } else
483
+ T("onClickOutside", [t, n]);
484
+ t.props.hideOnClick === !0 && (t.clearDelayTimeouts(), t.hide(), h = !0, setTimeout(function() {
485
+ h = !1;
486
+ }), t.state.isMounted || ne());
487
+ }
488
+ }
489
+ }
490
+ function Te() {
491
+ v = !0;
492
+ }
493
+ function Ee() {
494
+ v = !1;
495
+ }
496
+ function we() {
497
+ var n = _();
498
+ n.addEventListener("mousedown", q, !0), n.addEventListener("touchend", q, S), n.addEventListener("touchstart", Ee, S), n.addEventListener("touchmove", Te, S);
499
+ }
500
+ function ne() {
501
+ var n = _();
502
+ n.removeEventListener("mousedown", q, !0), n.removeEventListener("touchend", q, S), n.removeEventListener("touchstart", Ee, S), n.removeEventListener("touchmove", Te, S);
503
+ }
504
+ function ot(n, o) {
505
+ Oe(n, function() {
506
+ !t.state.isVisible && p.parentNode && p.parentNode.contains(p) && o();
507
+ });
508
+ }
509
+ function at(n, o) {
510
+ Oe(n, o);
511
+ }
512
+ function Oe(n, o) {
513
+ var s = U().box;
514
+ function f(c) {
515
+ c.target === s && (ue(s, "remove", f), o());
516
+ }
517
+ if (n === 0)
518
+ return o();
519
+ ue(s, "remove", H), ue(s, "add", f), H = f;
520
+ }
521
+ function N(n, o, s) {
522
+ s === void 0 && (s = !1);
523
+ var f = I(t.props.triggerTarget || e);
524
+ f.forEach(function(c) {
525
+ c.addEventListener(n, o, s), j.push({
526
+ node: c,
527
+ eventType: n,
528
+ handler: o,
529
+ options: s
530
+ });
531
+ });
532
+ }
533
+ function De() {
534
+ ge() && (N("touchstart", Le, {
535
+ passive: !0
536
+ }), N("touchend", Se, {
537
+ passive: !0
538
+ })), At(t.props.trigger).forEach(function(n) {
539
+ if (n !== "manual")
540
+ switch (N(n, Le), n) {
541
+ case "mouseenter":
542
+ N("mouseleave", Se);
543
+ break;
544
+ case "focus":
545
+ N(kt ? "focusout" : "blur", Ne);
546
+ break;
547
+ case "focusin":
548
+ N("focusout", Ne);
549
+ break;
550
+ }
551
+ });
552
+ }
553
+ function Ae() {
554
+ j.forEach(function(n) {
555
+ var o = n.node, s = n.eventType, f = n.handler, c = n.options;
556
+ o.removeEventListener(s, f, c);
557
+ }), j = [];
558
+ }
559
+ function Le(n) {
560
+ var o, s = !1;
561
+ if (!(!t.state.isEnabled || xe(n) || h)) {
562
+ var f = ((o = m) == null ? void 0 : o.type) === "focus";
563
+ m = n, W = n.currentTarget, R(), !t.state.isVisible && Nt(n) && G.forEach(function(c) {
564
+ return c(n);
565
+ }), n.type === "click" && (t.props.trigger.indexOf("mouseenter") < 0 || u) && t.props.hideOnClick !== !1 && t.state.isVisible ? s = !0 : Ie(n), n.type === "click" && (u = !s), s && !f && Y(n);
566
+ }
567
+ }
568
+ function Ce(n) {
569
+ var o = n.target, s = L().contains(o) || p.contains(o);
570
+ if (!(n.type === "mousemove" && s)) {
571
+ var f = ie().concat(p).map(function(c) {
572
+ var g, E = c._tippy, x = (g = E.popperInstance) == null ? void 0 : g.state;
573
+ return x ? {
574
+ popperRect: c.getBoundingClientRect(),
575
+ popperState: x,
576
+ props: r
577
+ } : null;
578
+ }).filter(Boolean);
579
+ It(f, n) && (te(), Y(n));
580
+ }
581
+ }
582
+ function Se(n) {
583
+ var o = xe(n) || t.props.trigger.indexOf("click") >= 0 && u;
584
+ if (!o) {
585
+ if (t.props.interactive) {
586
+ t.hideWithInteractivity(n);
587
+ return;
588
+ }
589
+ Y(n);
590
+ }
591
+ }
592
+ function Ne(n) {
593
+ t.props.trigger.indexOf("focusin") < 0 && n.target !== L() || t.props.interactive && n.relatedTarget && p.contains(n.relatedTarget) || Y(n);
594
+ }
595
+ function xe(n) {
596
+ return O.isTouch ? ge() !== n.type.indexOf("touch") >= 0 : !1;
597
+ }
598
+ function Me() {
599
+ Ve();
600
+ var n = t.props, o = n.popperOptions, s = n.placement, f = n.offset, c = n.getReferenceClientRect, g = n.moveTransition, E = w() ? fe(p).arrow : null, x = c ? {
601
+ getBoundingClientRect: c,
602
+ contextElement: c.contextElement || L()
603
+ } : e, je = {
604
+ name: "$$tippy",
605
+ enabled: !0,
606
+ phase: "beforeWrite",
607
+ requires: ["computeStyles"],
608
+ fn: function(K) {
609
+ var M = K.state;
610
+ if (w()) {
611
+ var yt = U(), oe = yt.box;
612
+ ["placement", "reference-hidden", "escaped"].forEach(function(X) {
613
+ X === "placement" ? oe.setAttribute("data-placement", M.placement) : M.attributes.popper["data-popper-" + X] ? oe.setAttribute("data-" + X, "") : oe.removeAttribute("data-" + X);
614
+ }), M.attributes.popper = {};
615
+ }
616
+ }
617
+ }, C = [{
618
+ name: "offset",
619
+ options: {
620
+ offset: f
621
+ }
622
+ }, {
623
+ name: "preventOverflow",
624
+ options: {
625
+ padding: {
626
+ top: 2,
627
+ bottom: 2,
628
+ left: 5,
629
+ right: 5
630
+ }
631
+ }
632
+ }, {
633
+ name: "flip",
634
+ options: {
635
+ padding: 5
636
+ }
637
+ }, {
638
+ name: "computeStyles",
639
+ options: {
640
+ adaptive: !g
641
+ }
642
+ }, je];
643
+ w() && E && C.push({
644
+ name: "arrow",
645
+ options: {
646
+ element: E,
647
+ padding: 3
648
+ }
649
+ }), C.push.apply(C, (o == null ? void 0 : o.modifiers) || []), t.popperInstance = bt(x, p, Object.assign({}, o, {
650
+ placement: s,
651
+ onFirstUpdate: F,
652
+ modifiers: C
653
+ }));
654
+ }
655
+ function Ve() {
656
+ t.popperInstance && (t.popperInstance.destroy(), t.popperInstance = null);
657
+ }
658
+ function st() {
659
+ var n = t.props.appendTo, o, s = L();
660
+ t.props.interactive && n === Ke || n === "parent" ? o = s.parentNode : o = Xe(n, [s]), o.contains(p) || o.appendChild(p), t.state.isMounted = !0, Me(), process.env.NODE_ENV !== "production" && A(t.props.interactive && n === b.appendTo && s.nextElementSibling !== p, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
661
+
662
+ `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
663
+
664
+ `, "Specifying `appendTo: document.body` silences this warning, but it", "assumes you are using a focus management solution to handle", "keyboard navigation.", `
665
+
666
+ `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
667
+ }
668
+ function ie() {
669
+ return J(p.querySelectorAll("[data-tippy-root]"));
670
+ }
671
+ function Ie(n) {
672
+ t.clearDelayTimeouts(), n && T("onTrigger", [t, n]), we();
673
+ var o = ye(!0), s = he(), f = s[0], c = s[1];
674
+ O.isTouch && f === "hold" && c && (o = c), o ? a = setTimeout(function() {
675
+ t.show();
676
+ }, o) : t.show();
677
+ }
678
+ function Y(n) {
679
+ if (t.clearDelayTimeouts(), T("onUntrigger", [t, n]), !t.state.isVisible) {
680
+ ne();
681
+ return;
682
+ }
683
+ if (!(t.props.trigger.indexOf("mouseenter") >= 0 && t.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(n.type) >= 0 && u)) {
684
+ var o = ye(!1);
685
+ o ? l = setTimeout(function() {
686
+ t.state.isVisible && t.hide();
687
+ }, o) : d = requestAnimationFrame(function() {
688
+ t.hide();
689
+ });
690
+ }
691
+ }
692
+ function ut() {
693
+ t.state.isEnabled = !0;
694
+ }
695
+ function ct() {
696
+ t.hide(), t.state.isEnabled = !1;
697
+ }
698
+ function pt() {
699
+ clearTimeout(a), clearTimeout(l), cancelAnimationFrame(d);
700
+ }
701
+ function dt(n) {
702
+ if (process.env.NODE_ENV !== "production" && A(t.state.isDestroyed, V("setProps")), !t.state.isDestroyed) {
703
+ T("onBeforeUpdate", [t, n]), Ae();
704
+ var o = t.props, s = Fe(e, Object.assign({}, o, Re(n), {
705
+ ignoreAttributes: !0
706
+ }));
707
+ t.props = s, De(), o.interactiveDebounce !== s.interactiveDebounce && (te(), D = _e(Ce, s.interactiveDebounce)), o.triggerTarget && !s.triggerTarget ? I(o.triggerTarget).forEach(function(f) {
708
+ f.removeAttribute("aria-expanded");
709
+ }) : s.triggerTarget && e.removeAttribute("aria-expanded"), R(), z(), me && me(o, s), t.popperInstance && (Me(), ie().forEach(function(f) {
710
+ requestAnimationFrame(f._tippy.popperInstance.forceUpdate);
711
+ })), T("onAfterUpdate", [t, n]);
712
+ }
713
+ }
714
+ function ft(n) {
715
+ t.setProps({
716
+ content: n
717
+ });
718
+ }
719
+ function lt() {
720
+ process.env.NODE_ENV !== "production" && A(t.state.isDestroyed, V("show"));
721
+ var n = t.state.isVisible, o = t.state.isDestroyed, s = !t.state.isEnabled, f = O.isTouch && !t.props.touch, c = ae(t.props.duration, 0, b.duration);
722
+ if (!(n || o || s || f) && !L().hasAttribute("disabled") && (T("onShow", [t], !1), t.props.onShow(t) !== !1)) {
723
+ if (t.state.isVisible = !0, w() && (p.style.visibility = "visible"), z(), we(), t.state.isMounted || (p.style.transition = "none"), w()) {
724
+ var g = U(), E = g.box, x = g.content;
725
+ se([E, x], 0);
726
+ }
727
+ F = function() {
728
+ var C;
729
+ if (!(!t.state.isVisible || y)) {
730
+ if (y = !0, p.offsetHeight, p.style.transition = t.props.moveTransition, w() && t.props.animation) {
731
+ var re = U(), K = re.box, M = re.content;
732
+ se([K, M], c), ke([K, M], "visible");
733
+ }
734
+ be(), R(), Ue(ce, t), (C = t.popperInstance) == null || C.forceUpdate(), T("onMount", [t]), t.props.animation && w() && at(c, function() {
735
+ t.state.isShown = !0, T("onShown", [t]);
736
+ });
737
+ }
738
+ }, st();
739
+ }
740
+ }
741
+ function vt() {
742
+ process.env.NODE_ENV !== "production" && A(t.state.isDestroyed, V("hide"));
743
+ var n = !t.state.isVisible, o = t.state.isDestroyed, s = !t.state.isEnabled, f = ae(t.props.duration, 1, b.duration);
744
+ if (!(n || o || s) && (T("onHide", [t], !1), t.props.onHide(t) !== !1)) {
745
+ if (t.state.isVisible = !1, t.state.isShown = !1, y = !1, u = !1, w() && (p.style.visibility = "hidden"), te(), ne(), z(!0), w()) {
746
+ var c = U(), g = c.box, E = c.content;
747
+ t.props.animation && (se([g, E], f), ke([g, E], "hidden"));
748
+ }
749
+ be(), R(), t.props.animation ? w() && ot(f, t.unmount) : t.unmount();
750
+ }
751
+ }
752
+ function mt(n) {
753
+ process.env.NODE_ENV !== "production" && A(t.state.isDestroyed, V("hideWithInteractivity")), _().addEventListener("mousemove", D), Ue(G, D), D(n);
754
+ }
755
+ function ht() {
756
+ process.env.NODE_ENV !== "production" && A(t.state.isDestroyed, V("unmount")), t.state.isVisible && t.hide(), t.state.isMounted && (Ve(), ie().forEach(function(n) {
757
+ n._tippy.unmount();
758
+ }), p.parentNode && p.parentNode.removeChild(p), ce = ce.filter(function(n) {
759
+ return n !== t;
760
+ }), t.state.isMounted = !1, T("onHidden", [t]));
761
+ }
762
+ function gt() {
763
+ process.env.NODE_ENV !== "production" && A(t.state.isDestroyed, V("destroy")), !t.state.isDestroyed && (t.clearDelayTimeouts(), t.unmount(), Ae(), delete e._tippy, t.state.isDestroyed = !0, T("onDestroy", [t]));
764
+ }
765
+ }
766
+ function Q(e, i) {
767
+ i === void 0 && (i = {});
768
+ var r = b.plugins.concat(i.plugins || []);
769
+ process.env.NODE_ENV !== "production" && (Ht(e), et(i, r)), Ut();
770
+ var a = Object.assign({}, i, {
771
+ plugins: r
772
+ }), l = Mt(e);
773
+ if (process.env.NODE_ENV !== "production") {
774
+ var d = P(a.content), u = l.length > 1;
775
+ A(d && u, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
776
+
777
+ `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
778
+
779
+ `, `1) content: element.innerHTML
780
+ `, "2) content: () => element.cloneNode(true)"].join(" "));
781
+ }
782
+ var h = l.reduce(function(v, y) {
783
+ var m = y && Kt(y, a);
784
+ return m && v.push(m), v;
785
+ }, []);
786
+ return P(e) ? h[0] : h;
787
+ }
788
+ Q.defaultProps = b;
789
+ Q.setDefaultProps = $t;
790
+ Q.currentInput = O;
791
+ Object.assign({}, Tt, {
792
+ effect: function(i) {
793
+ var r = i.state, a = {
794
+ popper: {
795
+ position: r.options.strategy,
796
+ left: "0",
797
+ top: "0",
798
+ margin: "0"
799
+ },
800
+ arrow: {
801
+ position: "absolute"
802
+ },
803
+ reference: {}
804
+ };
805
+ Object.assign(r.elements.popper.style, a.popper), r.styles = a, r.elements.arrow && Object.assign(r.elements.arrow.style, a.arrow);
806
+ }
807
+ });
808
+ Q.setDefaultProps({
809
+ render: tt
810
+ });
811
+ export {
812
+ Q as default
813
+ };