@sparrowengg/twigs-editor-react 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (739) hide show
  1. package/README.md +38 -0
  2. package/dist/cjs/_virtual/_commonjsHelpers.js +8 -0
  3. package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  4. package/dist/cjs/_virtual/assertString.js +6 -0
  5. package/dist/cjs/_virtual/assertString.js.map +1 -0
  6. package/dist/cjs/_virtual/isFQDN.js +6 -0
  7. package/dist/cjs/_virtual/isFQDN.js.map +1 -0
  8. package/dist/cjs/_virtual/isIP.js +6 -0
  9. package/dist/cjs/_virtual/isIP.js.map +1 -0
  10. package/dist/cjs/_virtual/isURL.js +12 -0
  11. package/dist/cjs/_virtual/isURL.js.map +1 -0
  12. package/dist/cjs/_virtual/isURL2.js +6 -0
  13. package/dist/cjs/_virtual/isURL2.js.map +1 -0
  14. package/dist/cjs/_virtual/merge.js +6 -0
  15. package/dist/cjs/_virtual/merge.js.map +1 -0
  16. package/dist/cjs/components/base-dropdown/index.js +175 -0
  17. package/dist/cjs/components/base-dropdown/index.js.map +1 -0
  18. package/dist/cjs/components/dialog-link-editor/index.js +291 -0
  19. package/dist/cjs/components/dialog-link-editor/index.js.map +1 -0
  20. package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js +199 -0
  21. package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js.map +1 -0
  22. package/dist/cjs/components/dialog-link-editor/link-tooltip.js +122 -0
  23. package/dist/cjs/components/dialog-link-editor/link-tooltip.js.map +1 -0
  24. package/dist/cjs/components/floating-toolbar/floating-toolbar.js +302 -0
  25. package/dist/cjs/components/floating-toolbar/floating-toolbar.js.map +1 -0
  26. package/dist/cjs/components/rich-editor/index.js +142 -0
  27. package/dist/cjs/components/rich-editor/index.js.map +1 -0
  28. package/dist/cjs/components/toolbar/toolbar.js +76 -0
  29. package/dist/cjs/components/toolbar/toolbar.js.map +1 -0
  30. package/dist/cjs/components/toolbar/tools/bold.js +52 -0
  31. package/dist/cjs/components/toolbar/tools/bold.js.map +1 -0
  32. package/dist/cjs/components/toolbar/tools/code-block.js +79 -0
  33. package/dist/cjs/components/toolbar/tools/code-block.js.map +1 -0
  34. package/dist/cjs/components/toolbar/tools/code.js +54 -0
  35. package/dist/cjs/components/toolbar/tools/code.js.map +1 -0
  36. package/dist/cjs/components/toolbar/tools/commons.js +16 -0
  37. package/dist/cjs/components/toolbar/tools/commons.js.map +1 -0
  38. package/dist/cjs/components/toolbar/tools/format.js +136 -0
  39. package/dist/cjs/components/toolbar/tools/format.js.map +1 -0
  40. package/dist/cjs/components/toolbar/tools/italic.js +57 -0
  41. package/dist/cjs/components/toolbar/tools/italic.js.map +1 -0
  42. package/dist/cjs/components/toolbar/tools/link.js +71 -0
  43. package/dist/cjs/components/toolbar/tools/link.js.map +1 -0
  44. package/dist/cjs/components/toolbar/tools/ordered-list.js +62 -0
  45. package/dist/cjs/components/toolbar/tools/ordered-list.js.map +1 -0
  46. package/dist/cjs/components/toolbar/tools/text-align.js +82 -0
  47. package/dist/cjs/components/toolbar/tools/text-align.js.map +1 -0
  48. package/dist/cjs/components/toolbar/tools/underline.js +57 -0
  49. package/dist/cjs/components/toolbar/tools/underline.js.map +1 -0
  50. package/dist/cjs/components/toolbar/tools/unordered-list.js +62 -0
  51. package/dist/cjs/components/toolbar/tools/unordered-list.js.map +1 -0
  52. package/dist/cjs/components/toolbar-context/context.js +148 -0
  53. package/dist/cjs/components/toolbar-context/context.js.map +1 -0
  54. package/dist/cjs/components/toolbar-context/store.js +75 -0
  55. package/dist/cjs/components/toolbar-context/store.js.map +1 -0
  56. package/dist/cjs/components/toolbar-context/utils.js +6 -0
  57. package/dist/cjs/components/toolbar-context/utils.js.map +1 -0
  58. package/dist/cjs/editor.js +154 -0
  59. package/dist/cjs/editor.js.map +1 -0
  60. package/dist/cjs/index.js +86 -0
  61. package/dist/cjs/index.js.map +1 -0
  62. package/dist/cjs/nodes/emoji.js +86 -0
  63. package/dist/cjs/nodes/emoji.js.map +1 -0
  64. package/dist/cjs/nodes/hashtag.js +109 -0
  65. package/dist/cjs/nodes/hashtag.js.map +1 -0
  66. package/dist/cjs/nodes/image.js +215 -0
  67. package/dist/cjs/nodes/image.js.map +1 -0
  68. package/dist/cjs/nodes/kudos.js +110 -0
  69. package/dist/cjs/nodes/kudos.js.map +1 -0
  70. package/dist/cjs/nodes/mention.js +109 -0
  71. package/dist/cjs/nodes/mention.js.map +1 -0
  72. package/dist/cjs/nodes/variables.js +109 -0
  73. package/dist/cjs/nodes/variables.js.map +1 -0
  74. package/dist/cjs/plugins/data-management-plugin/index.js +40 -0
  75. package/dist/cjs/plugins/data-management-plugin/index.js.map +1 -0
  76. package/dist/cjs/plugins/emoji/emoji-list.js +16609 -0
  77. package/dist/cjs/plugins/emoji/emoji-list.js.map +1 -0
  78. package/dist/cjs/plugins/emoji/index.js +126 -0
  79. package/dist/cjs/plugins/emoji/index.js.map +1 -0
  80. package/dist/cjs/plugins/hashtag/index.js +100 -0
  81. package/dist/cjs/plugins/hashtag/index.js.map +1 -0
  82. package/dist/cjs/plugins/images/index.js +164 -0
  83. package/dist/cjs/plugins/images/index.js.map +1 -0
  84. package/dist/cjs/plugins/images/utils.js +10 -0
  85. package/dist/cjs/plugins/images/utils.js.map +1 -0
  86. package/dist/cjs/plugins/link/auto-link.js +21 -0
  87. package/dist/cjs/plugins/link/auto-link.js.map +1 -0
  88. package/dist/cjs/plugins/link/convert-selection-on-paste.js +34 -0
  89. package/dist/cjs/plugins/link/convert-selection-on-paste.js.map +1 -0
  90. package/dist/cjs/plugins/link/link.js +68 -0
  91. package/dist/cjs/plugins/link/link.js.map +1 -0
  92. package/dist/cjs/plugins/mentions/index.js +108 -0
  93. package/dist/cjs/plugins/mentions/index.js.map +1 -0
  94. package/dist/cjs/plugins/tab-focus/index.js +54 -0
  95. package/dist/cjs/plugins/tab-focus/index.js.map +1 -0
  96. package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js +8 -0
  97. package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
  98. package/dist/cjs/react-components/dist/es/_virtual/index.js +6 -0
  99. package/dist/cjs/react-components/dist/es/_virtual/index.js.map +1 -0
  100. package/dist/cjs/react-components/dist/es/_virtual/index2.js +6 -0
  101. package/dist/cjs/react-components/dist/es/_virtual/index2.js.map +1 -0
  102. package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js +6 -0
  103. package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js.map +1 -0
  104. package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js +6 -0
  105. package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js.map +1 -0
  106. package/dist/cjs/react-components/dist/es/box/box.js +47 -0
  107. package/dist/cjs/react-components/dist/es/box/box.js.map +1 -0
  108. package/dist/cjs/react-components/dist/es/button/button.js +774 -0
  109. package/dist/cjs/react-components/dist/es/button/button.js.map +1 -0
  110. package/dist/cjs/react-components/dist/es/button/icon-button.js +77 -0
  111. package/dist/cjs/react-components/dist/es/button/icon-button.js.map +1 -0
  112. package/dist/cjs/react-components/dist/es/button/side-element.js +199 -0
  113. package/dist/cjs/react-components/dist/es/button/side-element.js.map +1 -0
  114. package/dist/cjs/react-components/dist/es/button/utils.js +105 -0
  115. package/dist/cjs/react-components/dist/es/button/utils.js.map +1 -0
  116. package/dist/cjs/react-components/dist/es/dialog/dialog.js +197 -0
  117. package/dist/cjs/react-components/dist/es/dialog/dialog.js.map +1 -0
  118. package/dist/cjs/react-components/dist/es/dropdown/dropdown.js +195 -0
  119. package/dist/cjs/react-components/dist/es/dropdown/dropdown.js.map +1 -0
  120. package/dist/cjs/react-components/dist/es/flex/flex.js +98 -0
  121. package/dist/cjs/react-components/dist/es/flex/flex.js.map +1 -0
  122. package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js +76 -0
  123. package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js.map +1 -0
  124. package/dist/cjs/react-components/dist/es/form-label/form-label.js +176 -0
  125. package/dist/cjs/react-components/dist/es/form-label/form-label.js.map +1 -0
  126. package/dist/cjs/react-components/dist/es/input/form-input.js +159 -0
  127. package/dist/cjs/react-components/dist/es/input/form-input.js.map +1 -0
  128. package/dist/cjs/react-components/dist/es/input/input.js +377 -0
  129. package/dist/cjs/react-components/dist/es/input/input.js.map +1 -0
  130. package/dist/cjs/react-components/dist/es/link/link.js +58 -0
  131. package/dist/cjs/react-components/dist/es/link/link.js.map +1 -0
  132. package/dist/cjs/react-components/dist/es/loader/circle.js +204 -0
  133. package/dist/cjs/react-components/dist/es/loader/circle.js.map +1 -0
  134. package/dist/cjs/react-components/dist/es/loader/line.js +130 -0
  135. package/dist/cjs/react-components/dist/es/loader/line.js.map +1 -0
  136. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +21 -0
  137. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
  138. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +14 -0
  139. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
  140. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +19 -0
  141. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
  142. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +14 -0
  143. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
  144. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +788 -0
  145. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  146. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +612 -0
  147. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  148. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +299 -0
  149. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  150. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +146 -0
  151. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  152. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +148 -0
  153. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +1 -0
  154. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +14 -0
  155. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  156. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +48 -0
  157. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  158. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +71 -0
  159. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  160. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +41 -0
  161. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  162. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +102 -0
  163. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  164. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +354 -0
  165. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  166. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +33 -0
  167. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  168. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +234 -0
  169. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  170. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +303 -0
  171. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  172. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +48 -0
  173. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  174. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +229 -0
  175. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  176. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +37 -0
  177. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  178. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +47 -0
  179. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
  180. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +847 -0
  181. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  182. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +309 -0
  183. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  184. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +39 -0
  185. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  186. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +142 -0
  187. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  188. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +65 -0
  189. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  190. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +246 -0
  191. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
  192. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +104 -0
  193. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  194. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +509 -0
  195. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
  196. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +34 -0
  197. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  198. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +68 -0
  199. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  200. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +40 -0
  201. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  202. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +29 -0
  203. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  204. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +62 -0
  205. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  206. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +58 -0
  207. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  208. package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js +9 -0
  209. package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +1 -0
  210. package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +134 -0
  211. package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  212. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +19 -0
  213. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +1 -0
  214. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +17 -0
  215. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +1 -0
  216. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +27 -0
  217. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +1 -0
  218. package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +11 -0
  219. package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  220. package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js +102 -0
  221. package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js.map +1 -0
  222. package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +118 -0
  223. package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +1 -0
  224. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +77 -0
  225. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  226. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +628 -0
  227. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  228. package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js +35 -0
  229. package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js.map +1 -0
  230. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +24 -0
  231. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  232. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js +14 -0
  233. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js.map +1 -0
  234. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +193 -0
  235. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  236. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +29 -0
  237. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  238. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +22 -0
  239. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  240. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +34 -0
  241. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  242. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +184 -0
  243. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  244. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +60 -0
  245. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  246. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +24 -0
  247. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  248. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
  249. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  250. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +8 -0
  251. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  252. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +12 -0
  253. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  254. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +80 -0
  255. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  256. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +16 -0
  257. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  258. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +35 -0
  259. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  260. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +22 -0
  261. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  262. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +47 -0
  263. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  264. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +54 -0
  265. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  266. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +419 -0
  267. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -0
  268. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +637 -0
  269. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -0
  270. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +10 -0
  271. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +1 -0
  272. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js +10 -0
  273. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +1 -0
  274. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +25 -0
  275. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -0
  276. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +8 -0
  277. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +1 -0
  278. package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js +55 -0
  279. package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +1 -0
  280. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +27 -0
  281. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  282. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +25 -0
  283. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  284. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +45 -0
  285. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  286. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +43 -0
  287. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  288. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +80 -0
  289. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  290. package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js +9 -0
  291. package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +1 -0
  292. package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +97 -0
  293. package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +1 -0
  294. package/dist/cjs/react-components/dist/es/stitches.config.js +392 -0
  295. package/dist/cjs/react-components/dist/es/stitches.config.js.map +1 -0
  296. package/dist/cjs/react-components/dist/es/text/text.js +117 -0
  297. package/dist/cjs/react-components/dist/es/text/text.js.map +1 -0
  298. package/dist/cjs/react-components/dist/es/tooltip/tooltip.js +156 -0
  299. package/dist/cjs/react-components/dist/es/tooltip/tooltip.js.map +1 -0
  300. package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js +10 -0
  301. package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js.map +1 -0
  302. package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js +9 -0
  303. package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js.map +1 -0
  304. package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js +75 -0
  305. package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js.map +1 -0
  306. package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js +58 -0
  307. package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js.map +1 -0
  308. package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js +163 -0
  309. package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js.map +1 -0
  310. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js +16 -0
  311. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js.map +1 -0
  312. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js +17 -0
  313. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js.map +1 -0
  314. package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js +93 -0
  315. package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js.map +1 -0
  316. package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js +75 -0
  317. package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js.map +1 -0
  318. package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js +182 -0
  319. package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js.map +1 -0
  320. package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js +32 -0
  321. package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js.map +1 -0
  322. package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js +33 -0
  323. package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js.map +1 -0
  324. package/dist/cjs/react-icons/dist/es/icons/bold.js +86 -0
  325. package/dist/cjs/react-icons/dist/es/icons/bold.js.map +1 -0
  326. package/dist/cjs/react-icons/dist/es/icons/close.js +86 -0
  327. package/dist/cjs/react-icons/dist/es/icons/close.js.map +1 -0
  328. package/dist/cjs/react-icons/dist/es/icons/code-block.js +78 -0
  329. package/dist/cjs/react-icons/dist/es/icons/code-block.js.map +1 -0
  330. package/dist/cjs/react-icons/dist/es/icons/code.js +96 -0
  331. package/dist/cjs/react-icons/dist/es/icons/code.js.map +1 -0
  332. package/dist/cjs/react-icons/dist/es/icons/delete.js +116 -0
  333. package/dist/cjs/react-icons/dist/es/icons/delete.js.map +1 -0
  334. package/dist/cjs/react-icons/dist/es/icons/italics.js +96 -0
  335. package/dist/cjs/react-icons/dist/es/icons/italics.js.map +1 -0
  336. package/dist/cjs/react-icons/dist/es/icons/link.js +86 -0
  337. package/dist/cjs/react-icons/dist/es/icons/link.js.map +1 -0
  338. package/dist/cjs/react-icons/dist/es/icons/ordered-list.js +86 -0
  339. package/dist/cjs/react-icons/dist/es/icons/ordered-list.js.map +1 -0
  340. package/dist/cjs/react-icons/dist/es/icons/pencil.js +86 -0
  341. package/dist/cjs/react-icons/dist/es/icons/pencil.js.map +1 -0
  342. package/dist/cjs/react-icons/dist/es/icons/text-align-center.js +74 -0
  343. package/dist/cjs/react-icons/dist/es/icons/text-align-center.js.map +1 -0
  344. package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js +74 -0
  345. package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js.map +1 -0
  346. package/dist/cjs/react-icons/dist/es/icons/text-align-left.js +74 -0
  347. package/dist/cjs/react-icons/dist/es/icons/text-align-left.js.map +1 -0
  348. package/dist/cjs/react-icons/dist/es/icons/text-align-right.js +74 -0
  349. package/dist/cjs/react-icons/dist/es/icons/text-align-right.js.map +1 -0
  350. package/dist/cjs/react-icons/dist/es/icons/text-format.js +78 -0
  351. package/dist/cjs/react-icons/dist/es/icons/text-format.js.map +1 -0
  352. package/dist/cjs/react-icons/dist/es/icons/underline.js +77 -0
  353. package/dist/cjs/react-icons/dist/es/icons/underline.js.map +1 -0
  354. package/dist/cjs/react-icons/dist/es/icons/unordered-list.js +126 -0
  355. package/dist/cjs/react-icons/dist/es/icons/unordered-list.js.map +1 -0
  356. package/dist/cjs/utils/commands.js +8 -0
  357. package/dist/cjs/utils/commands.js.map +1 -0
  358. package/dist/cjs/utils/get-dom-range-rect.js +19 -0
  359. package/dist/cjs/utils/get-dom-range-rect.js.map +1 -0
  360. package/dist/cjs/utils/get-selected-node.js +21 -0
  361. package/dist/cjs/utils/get-selected-node.js.map +1 -0
  362. package/dist/cjs/utils/prefix-class-name.js +10 -0
  363. package/dist/cjs/utils/prefix-class-name.js.map +1 -0
  364. package/dist/cjs/utils/set-floating-elem-position-for-link-editor.js +30 -0
  365. package/dist/cjs/utils/set-floating-elem-position-for-link-editor.js.map +1 -0
  366. package/dist/cjs/utils/set-floating-elem-position.js +33 -0
  367. package/dist/cjs/utils/set-floating-elem-position.js.map +1 -0
  368. package/dist/cjs/utils/use-node-focus.js +35 -0
  369. package/dist/cjs/utils/use-node-focus.js.map +1 -0
  370. package/dist/es/_virtual/_commonjsHelpers.js +6 -0
  371. package/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
  372. package/dist/es/_virtual/assertString.js +4 -0
  373. package/dist/es/_virtual/assertString.js.map +1 -0
  374. package/dist/es/_virtual/isFQDN.js +4 -0
  375. package/dist/es/_virtual/isFQDN.js.map +1 -0
  376. package/dist/es/_virtual/isIP.js +4 -0
  377. package/dist/es/_virtual/isIP.js.map +1 -0
  378. package/dist/es/_virtual/isURL.js +8 -0
  379. package/dist/es/_virtual/isURL.js.map +1 -0
  380. package/dist/es/_virtual/isURL2.js +4 -0
  381. package/dist/es/_virtual/isURL2.js.map +1 -0
  382. package/dist/es/_virtual/merge.js +4 -0
  383. package/dist/es/_virtual/merge.js.map +1 -0
  384. package/dist/es/components/base-dropdown/index.js +173 -0
  385. package/dist/es/components/base-dropdown/index.js.map +1 -0
  386. package/dist/es/components/dialog-link-editor/index.js +289 -0
  387. package/dist/es/components/dialog-link-editor/index.js.map +1 -0
  388. package/dist/es/components/dialog-link-editor/link-editor-dialog.js +197 -0
  389. package/dist/es/components/dialog-link-editor/link-editor-dialog.js.map +1 -0
  390. package/dist/es/components/dialog-link-editor/link-tooltip.js +120 -0
  391. package/dist/es/components/dialog-link-editor/link-tooltip.js.map +1 -0
  392. package/dist/es/components/floating-toolbar/floating-toolbar.js +300 -0
  393. package/dist/es/components/floating-toolbar/floating-toolbar.js.map +1 -0
  394. package/dist/es/components/rich-editor/index.js +140 -0
  395. package/dist/es/components/rich-editor/index.js.map +1 -0
  396. package/dist/es/components/toolbar/toolbar.js +74 -0
  397. package/dist/es/components/toolbar/toolbar.js.map +1 -0
  398. package/dist/es/components/toolbar/tools/bold.js +50 -0
  399. package/dist/es/components/toolbar/tools/bold.js.map +1 -0
  400. package/dist/es/components/toolbar/tools/code-block.js +77 -0
  401. package/dist/es/components/toolbar/tools/code-block.js.map +1 -0
  402. package/dist/es/components/toolbar/tools/code.js +52 -0
  403. package/dist/es/components/toolbar/tools/code.js.map +1 -0
  404. package/dist/es/components/toolbar/tools/commons.js +14 -0
  405. package/dist/es/components/toolbar/tools/commons.js.map +1 -0
  406. package/dist/es/components/toolbar/tools/format.js +134 -0
  407. package/dist/es/components/toolbar/tools/format.js.map +1 -0
  408. package/dist/es/components/toolbar/tools/italic.js +55 -0
  409. package/dist/es/components/toolbar/tools/italic.js.map +1 -0
  410. package/dist/es/components/toolbar/tools/link.js +69 -0
  411. package/dist/es/components/toolbar/tools/link.js.map +1 -0
  412. package/dist/es/components/toolbar/tools/ordered-list.js +60 -0
  413. package/dist/es/components/toolbar/tools/ordered-list.js.map +1 -0
  414. package/dist/es/components/toolbar/tools/text-align.js +80 -0
  415. package/dist/es/components/toolbar/tools/text-align.js.map +1 -0
  416. package/dist/es/components/toolbar/tools/underline.js +55 -0
  417. package/dist/es/components/toolbar/tools/underline.js.map +1 -0
  418. package/dist/es/components/toolbar/tools/unordered-list.js +60 -0
  419. package/dist/es/components/toolbar/tools/unordered-list.js.map +1 -0
  420. package/dist/es/components/toolbar-context/context.js +145 -0
  421. package/dist/es/components/toolbar-context/context.js.map +1 -0
  422. package/dist/es/components/toolbar-context/store.js +72 -0
  423. package/dist/es/components/toolbar-context/store.js.map +1 -0
  424. package/dist/es/components/toolbar-context/utils.js +4 -0
  425. package/dist/es/components/toolbar-context/utils.js.map +1 -0
  426. package/dist/es/editor.js +152 -0
  427. package/dist/es/editor.js.map +1 -0
  428. package/dist/es/index.js +34 -0
  429. package/dist/es/index.js.map +1 -0
  430. package/dist/es/nodes/emoji.js +82 -0
  431. package/dist/es/nodes/emoji.js.map +1 -0
  432. package/dist/es/nodes/hashtag.js +105 -0
  433. package/dist/es/nodes/hashtag.js.map +1 -0
  434. package/dist/es/nodes/image.js +211 -0
  435. package/dist/es/nodes/image.js.map +1 -0
  436. package/dist/es/nodes/kudos.js +106 -0
  437. package/dist/es/nodes/kudos.js.map +1 -0
  438. package/dist/es/nodes/mention.js +105 -0
  439. package/dist/es/nodes/mention.js.map +1 -0
  440. package/dist/es/nodes/variables.js +105 -0
  441. package/dist/es/nodes/variables.js.map +1 -0
  442. package/dist/es/plugins/data-management-plugin/index.js +38 -0
  443. package/dist/es/plugins/data-management-plugin/index.js.map +1 -0
  444. package/dist/es/plugins/emoji/emoji-list.js +16605 -0
  445. package/dist/es/plugins/emoji/emoji-list.js.map +1 -0
  446. package/dist/es/plugins/emoji/index.js +124 -0
  447. package/dist/es/plugins/emoji/index.js.map +1 -0
  448. package/dist/es/plugins/hashtag/index.js +98 -0
  449. package/dist/es/plugins/hashtag/index.js.map +1 -0
  450. package/dist/es/plugins/images/index.js +162 -0
  451. package/dist/es/plugins/images/index.js.map +1 -0
  452. package/dist/es/plugins/images/utils.js +7 -0
  453. package/dist/es/plugins/images/utils.js.map +1 -0
  454. package/dist/es/plugins/link/auto-link.js +19 -0
  455. package/dist/es/plugins/link/auto-link.js.map +1 -0
  456. package/dist/es/plugins/link/convert-selection-on-paste.js +32 -0
  457. package/dist/es/plugins/link/convert-selection-on-paste.js.map +1 -0
  458. package/dist/es/plugins/link/link.js +66 -0
  459. package/dist/es/plugins/link/link.js.map +1 -0
  460. package/dist/es/plugins/mentions/index.js +106 -0
  461. package/dist/es/plugins/mentions/index.js.map +1 -0
  462. package/dist/es/plugins/tab-focus/index.js +52 -0
  463. package/dist/es/plugins/tab-focus/index.js.map +1 -0
  464. package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js +6 -0
  465. package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
  466. package/dist/es/react-components/dist/es/_virtual/index.js +4 -0
  467. package/dist/es/react-components/dist/es/_virtual/index.js.map +1 -0
  468. package/dist/es/react-components/dist/es/_virtual/index2.js +4 -0
  469. package/dist/es/react-components/dist/es/_virtual/index2.js.map +1 -0
  470. package/dist/es/react-components/dist/es/_virtual/react-is.development.js +4 -0
  471. package/dist/es/react-components/dist/es/_virtual/react-is.development.js.map +1 -0
  472. package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js +4 -0
  473. package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js.map +1 -0
  474. package/dist/es/react-components/dist/es/box/box.js +45 -0
  475. package/dist/es/react-components/dist/es/box/box.js.map +1 -0
  476. package/dist/es/react-components/dist/es/button/button.js +772 -0
  477. package/dist/es/react-components/dist/es/button/button.js.map +1 -0
  478. package/dist/es/react-components/dist/es/button/icon-button.js +75 -0
  479. package/dist/es/react-components/dist/es/button/icon-button.js.map +1 -0
  480. package/dist/es/react-components/dist/es/button/side-element.js +197 -0
  481. package/dist/es/react-components/dist/es/button/side-element.js.map +1 -0
  482. package/dist/es/react-components/dist/es/button/utils.js +100 -0
  483. package/dist/es/react-components/dist/es/button/utils.js.map +1 -0
  484. package/dist/es/react-components/dist/es/dialog/dialog.js +193 -0
  485. package/dist/es/react-components/dist/es/dialog/dialog.js.map +1 -0
  486. package/dist/es/react-components/dist/es/dropdown/dropdown.js +190 -0
  487. package/dist/es/react-components/dist/es/dropdown/dropdown.js.map +1 -0
  488. package/dist/es/react-components/dist/es/flex/flex.js +96 -0
  489. package/dist/es/react-components/dist/es/flex/flex.js.map +1 -0
  490. package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js +74 -0
  491. package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js.map +1 -0
  492. package/dist/es/react-components/dist/es/form-label/form-label.js +174 -0
  493. package/dist/es/react-components/dist/es/form-label/form-label.js.map +1 -0
  494. package/dist/es/react-components/dist/es/input/form-input.js +157 -0
  495. package/dist/es/react-components/dist/es/input/form-input.js.map +1 -0
  496. package/dist/es/react-components/dist/es/input/input.js +374 -0
  497. package/dist/es/react-components/dist/es/input/input.js.map +1 -0
  498. package/dist/es/react-components/dist/es/link/link.js +56 -0
  499. package/dist/es/react-components/dist/es/link/link.js.map +1 -0
  500. package/dist/es/react-components/dist/es/loader/circle.js +202 -0
  501. package/dist/es/react-components/dist/es/loader/circle.js.map +1 -0
  502. package/dist/es/react-components/dist/es/loader/line.js +128 -0
  503. package/dist/es/react-components/dist/es/loader/line.js.map +1 -0
  504. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +17 -0
  505. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
  506. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +10 -0
  507. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
  508. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +15 -0
  509. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
  510. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +10 -0
  511. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
  512. package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +777 -0
  513. package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  514. package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +600 -0
  515. package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  516. package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +269 -0
  517. package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  518. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +123 -0
  519. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  520. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +129 -0
  521. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +1 -0
  522. package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +12 -0
  523. package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  524. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
  525. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  526. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +69 -0
  527. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  528. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +19 -0
  529. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  530. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +80 -0
  531. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  532. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +318 -0
  533. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  534. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +12 -0
  535. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  536. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +212 -0
  537. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  538. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +254 -0
  539. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  540. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +27 -0
  541. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  542. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +208 -0
  543. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  544. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  545. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  546. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +25 -0
  547. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
  548. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +796 -0
  549. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  550. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +280 -0
  551. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  552. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +18 -0
  553. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  554. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +120 -0
  555. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  556. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +42 -0
  557. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  558. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +221 -0
  559. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
  560. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +82 -0
  561. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  562. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +476 -0
  563. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
  564. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
  565. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  566. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +47 -0
  567. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  568. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +19 -0
  569. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  570. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +8 -0
  571. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  572. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +41 -0
  573. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  574. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +36 -0
  575. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  576. package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js +6 -0
  577. package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +1 -0
  578. package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +132 -0
  579. package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  580. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +15 -0
  581. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +1 -0
  582. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +13 -0
  583. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +1 -0
  584. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +23 -0
  585. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +1 -0
  586. package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +9 -0
  587. package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  588. package/dist/es/react-components/dist/es/node_modules/object-assign/index.js +100 -0
  589. package/dist/es/react-components/dist/es/node_modules/object-assign/index.js.map +1 -0
  590. package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +116 -0
  591. package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +1 -0
  592. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +75 -0
  593. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  594. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +626 -0
  595. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  596. package/dist/es/react-components/dist/es/node_modules/prop-types/index.js +31 -0
  597. package/dist/es/react-components/dist/es/node_modules/prop-types/index.js.map +1 -0
  598. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +22 -0
  599. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  600. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js +12 -0
  601. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js.map +1 -0
  602. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +191 -0
  603. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  604. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +27 -0
  605. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  606. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +20 -0
  607. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  608. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  609. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  610. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +161 -0
  611. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  612. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
  613. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  614. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
  615. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  616. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +107 -0
  617. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  618. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  619. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  620. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  621. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  622. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +57 -0
  623. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  624. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +11 -0
  625. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  626. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +32 -0
  627. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  628. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +20 -0
  629. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  630. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +26 -0
  631. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  632. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +52 -0
  633. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  634. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +415 -0
  635. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -0
  636. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +628 -0
  637. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -0
  638. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +6 -0
  639. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +1 -0
  640. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js +6 -0
  641. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +1 -0
  642. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +22 -0
  643. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -0
  644. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +6 -0
  645. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +1 -0
  646. package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js +52 -0
  647. package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +1 -0
  648. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +25 -0
  649. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  650. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +23 -0
  651. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  652. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +43 -0
  653. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  654. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +22 -0
  655. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  656. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +78 -0
  657. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  658. package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js +4 -0
  659. package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +1 -0
  660. package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +95 -0
  661. package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +1 -0
  662. package/dist/es/react-components/dist/es/stitches.config.js +379 -0
  663. package/dist/es/react-components/dist/es/stitches.config.js.map +1 -0
  664. package/dist/es/react-components/dist/es/text/text.js +115 -0
  665. package/dist/es/react-components/dist/es/text/text.js.map +1 -0
  666. package/dist/es/react-components/dist/es/tooltip/tooltip.js +153 -0
  667. package/dist/es/react-components/dist/es/tooltip/tooltip.js.map +1 -0
  668. package/dist/es/react-components/dist/es/utils/prefix-class-name.js +8 -0
  669. package/dist/es/react-components/dist/es/utils/prefix-class-name.js.map +1 -0
  670. package/dist/es/react-editor/node_modules/clsx/dist/clsx.js +4 -0
  671. package/dist/es/react-editor/node_modules/clsx/dist/clsx.js.map +1 -0
  672. package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js +71 -0
  673. package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js.map +1 -0
  674. package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js +54 -0
  675. package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js.map +1 -0
  676. package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js +159 -0
  677. package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js.map +1 -0
  678. package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js +12 -0
  679. package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js.map +1 -0
  680. package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js +13 -0
  681. package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js.map +1 -0
  682. package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js +91 -0
  683. package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js.map +1 -0
  684. package/dist/es/react-editor/node_modules/validator/lib/isIP.js +73 -0
  685. package/dist/es/react-editor/node_modules/validator/lib/isIP.js.map +1 -0
  686. package/dist/es/react-editor/node_modules/validator/lib/isURL.js +180 -0
  687. package/dist/es/react-editor/node_modules/validator/lib/isURL.js.map +1 -0
  688. package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js +30 -0
  689. package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js.map +1 -0
  690. package/dist/es/react-editor/node_modules/validator/lib/util/merge.js +31 -0
  691. package/dist/es/react-editor/node_modules/validator/lib/util/merge.js.map +1 -0
  692. package/dist/es/react-icons/dist/es/icons/bold.js +84 -0
  693. package/dist/es/react-icons/dist/es/icons/bold.js.map +1 -0
  694. package/dist/es/react-icons/dist/es/icons/close.js +84 -0
  695. package/dist/es/react-icons/dist/es/icons/close.js.map +1 -0
  696. package/dist/es/react-icons/dist/es/icons/code-block.js +76 -0
  697. package/dist/es/react-icons/dist/es/icons/code-block.js.map +1 -0
  698. package/dist/es/react-icons/dist/es/icons/code.js +94 -0
  699. package/dist/es/react-icons/dist/es/icons/code.js.map +1 -0
  700. package/dist/es/react-icons/dist/es/icons/delete.js +114 -0
  701. package/dist/es/react-icons/dist/es/icons/delete.js.map +1 -0
  702. package/dist/es/react-icons/dist/es/icons/italics.js +94 -0
  703. package/dist/es/react-icons/dist/es/icons/italics.js.map +1 -0
  704. package/dist/es/react-icons/dist/es/icons/link.js +84 -0
  705. package/dist/es/react-icons/dist/es/icons/link.js.map +1 -0
  706. package/dist/es/react-icons/dist/es/icons/ordered-list.js +84 -0
  707. package/dist/es/react-icons/dist/es/icons/ordered-list.js.map +1 -0
  708. package/dist/es/react-icons/dist/es/icons/pencil.js +84 -0
  709. package/dist/es/react-icons/dist/es/icons/pencil.js.map +1 -0
  710. package/dist/es/react-icons/dist/es/icons/text-align-center.js +72 -0
  711. package/dist/es/react-icons/dist/es/icons/text-align-center.js.map +1 -0
  712. package/dist/es/react-icons/dist/es/icons/text-align-justify.js +72 -0
  713. package/dist/es/react-icons/dist/es/icons/text-align-justify.js.map +1 -0
  714. package/dist/es/react-icons/dist/es/icons/text-align-left.js +72 -0
  715. package/dist/es/react-icons/dist/es/icons/text-align-left.js.map +1 -0
  716. package/dist/es/react-icons/dist/es/icons/text-align-right.js +72 -0
  717. package/dist/es/react-icons/dist/es/icons/text-align-right.js.map +1 -0
  718. package/dist/es/react-icons/dist/es/icons/text-format.js +76 -0
  719. package/dist/es/react-icons/dist/es/icons/text-format.js.map +1 -0
  720. package/dist/es/react-icons/dist/es/icons/underline.js +75 -0
  721. package/dist/es/react-icons/dist/es/icons/underline.js.map +1 -0
  722. package/dist/es/react-icons/dist/es/icons/unordered-list.js +124 -0
  723. package/dist/es/react-icons/dist/es/icons/unordered-list.js.map +1 -0
  724. package/dist/es/utils/commands.js +6 -0
  725. package/dist/es/utils/commands.js.map +1 -0
  726. package/dist/es/utils/get-dom-range-rect.js +17 -0
  727. package/dist/es/utils/get-dom-range-rect.js.map +1 -0
  728. package/dist/es/utils/get-selected-node.js +19 -0
  729. package/dist/es/utils/get-selected-node.js.map +1 -0
  730. package/dist/es/utils/prefix-class-name.js +8 -0
  731. package/dist/es/utils/prefix-class-name.js.map +1 -0
  732. package/dist/es/utils/set-floating-elem-position-for-link-editor.js +28 -0
  733. package/dist/es/utils/set-floating-elem-position-for-link-editor.js.map +1 -0
  734. package/dist/es/utils/set-floating-elem-position.js +31 -0
  735. package/dist/es/utils/set-floating-elem-position.js.map +1 -0
  736. package/dist/es/utils/use-node-focus.js +33 -0
  737. package/dist/es/utils/use-node-focus.js.map +1 -0
  738. package/dist/index.d.ts +445 -0
  739. package/package.json +151 -0
@@ -0,0 +1,153 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { Content as Content2, Arrow as Arrow2, Provider, Root as Root3, Trigger, Portal } from '../node_modules/@radix-ui/react-tooltip/dist/index.js';
3
+ import { keyframes, styled } from '../stitches.config.js';
4
+
5
+ var __defProp = Object.defineProperty;
6
+ var __defProps = Object.defineProperties;
7
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
+ var __spreadValues = (a, b) => {
13
+ for (var prop in b || (b = {}))
14
+ if (__hasOwnProp.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ if (__getOwnPropSymbols)
17
+ for (var prop of __getOwnPropSymbols(b)) {
18
+ if (__propIsEnum.call(b, prop))
19
+ __defNormalProp(a, prop, b[prop]);
20
+ }
21
+ return a;
22
+ };
23
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
36
+ const slideUpAndFade = keyframes({
37
+ "0%": { opacity: 0, transform: "translateY(2px)" },
38
+ "100%": { opacity: 1, transform: "translateY(0)" }
39
+ });
40
+ const slideRightAndFade = keyframes({
41
+ "0%": { opacity: 0, transform: "translateX(-2px)" },
42
+ "100%": { opacity: 1, transform: "translateX(0)" }
43
+ });
44
+ const slideDownAndFade = keyframes({
45
+ "0%": { opacity: 0, transform: "translateY(-2px)" },
46
+ "100%": { opacity: 1, transform: "translateY(0)" }
47
+ });
48
+ const slideLeftAndFade = keyframes({
49
+ "0%": { opacity: 0, transform: "translateX(2px)" },
50
+ "100%": { opacity: 1, transform: "translateX(0)" }
51
+ });
52
+ const StyledContent = styled(Content2, {
53
+ lineHeight: "$sm",
54
+ color: "$white900",
55
+ backgroundColor: "$black900",
56
+ userSelect: "none",
57
+ opacity: 1,
58
+ maxWidth: "240px",
59
+ "@media (prefers-reduced-motion: no-preference)": {
60
+ animationDuration: "800ms",
61
+ animationTimingFunction: "cubic-bezier(0.16, 1, 0.3, 1)",
62
+ willChange: "transform, opacity",
63
+ '&[data-state="delayed-open"]': {
64
+ '&[data-side="top"]': { animationName: slideDownAndFade },
65
+ '&[data-side="right"]': { animationName: slideLeftAndFade },
66
+ '&[data-side="bottom"]': { animationName: slideUpAndFade },
67
+ '&[data-side="left"]': { animationName: slideRightAndFade }
68
+ }
69
+ },
70
+ variants: {
71
+ size: {
72
+ sm: {
73
+ padding: "$2 $4",
74
+ fontSize: "$xs",
75
+ borderRadius: "$sm",
76
+ lineHeight: "$xs"
77
+ },
78
+ md: {
79
+ padding: "$6 $8",
80
+ fontSize: "$sm",
81
+ borderRadius: "$md",
82
+ lineHeight: "$sm"
83
+ }
84
+ }
85
+ },
86
+ defaultVariants: {
87
+ size: "sm"
88
+ }
89
+ });
90
+ const StyledArrow = styled(Arrow2, {
91
+ fill: "$black900",
92
+ variants: {
93
+ size: {
94
+ sm: {
95
+ width: "10px",
96
+ height: "6px"
97
+ },
98
+ md: {
99
+ width: "$5",
100
+ height: "$3"
101
+ }
102
+ }
103
+ },
104
+ defaultVariants: {
105
+ size: "sm"
106
+ }
107
+ });
108
+ const Tooltip = (_a) => {
109
+ var _b = _a, {
110
+ children,
111
+ content,
112
+ side,
113
+ align,
114
+ size,
115
+ open,
116
+ defaultOpen,
117
+ delayDuration,
118
+ disableHoverableContent,
119
+ onOpenChange
120
+ } = _b, props = __objRest(_b, [
121
+ "children",
122
+ "content",
123
+ "side",
124
+ "align",
125
+ "size",
126
+ "open",
127
+ "defaultOpen",
128
+ "delayDuration",
129
+ "disableHoverableContent",
130
+ "onOpenChange"
131
+ ]);
132
+ return /* @__PURE__ */ jsxs(
133
+ Root3,
134
+ {
135
+ open,
136
+ defaultOpen,
137
+ onOpenChange,
138
+ delayDuration,
139
+ disableHoverableContent,
140
+ children: [
141
+ /* @__PURE__ */ jsx(Trigger, { asChild: true, children }),
142
+ content ? /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsxs(StyledContent, __spreadProps(__spreadValues({ side, align, size }, props), { children: [
143
+ content,
144
+ /* @__PURE__ */ jsx(StyledArrow, { size })
145
+ ] })) }) : /* @__PURE__ */ jsx(Content2, {})
146
+ ]
147
+ }
148
+ );
149
+ };
150
+ const TooltipProvider = Provider;
151
+
152
+ export { Tooltip, TooltipProvider };
153
+ //# sourceMappingURL=tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.js","sources":["../../../../../../../react-components/dist/es/tooltip/tooltip.js"],"sourcesContent":["import { jsxs, jsx } from 'react/jsx-runtime';\nimport { Content as Content2, Arrow as Arrow2, Root as Root3, Trigger, Portal, Provider } from '../node_modules/@radix-ui/react-tooltip/dist/index.js';\nimport { keyframes, styled } from '../stitches.config.js';\n\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nconst slideUpAndFade = keyframes({\n \"0%\": { opacity: 0, transform: \"translateY(2px)\" },\n \"100%\": { opacity: 1, transform: \"translateY(0)\" }\n});\nconst slideRightAndFade = keyframes({\n \"0%\": { opacity: 0, transform: \"translateX(-2px)\" },\n \"100%\": { opacity: 1, transform: \"translateX(0)\" }\n});\nconst slideDownAndFade = keyframes({\n \"0%\": { opacity: 0, transform: \"translateY(-2px)\" },\n \"100%\": { opacity: 1, transform: \"translateY(0)\" }\n});\nconst slideLeftAndFade = keyframes({\n \"0%\": { opacity: 0, transform: \"translateX(2px)\" },\n \"100%\": { opacity: 1, transform: \"translateX(0)\" }\n});\nconst StyledContent = styled(Content2, {\n lineHeight: \"$sm\",\n color: \"$white900\",\n backgroundColor: \"$black900\",\n userSelect: \"none\",\n opacity: 1,\n maxWidth: \"240px\",\n \"@media (prefers-reduced-motion: no-preference)\": {\n animationDuration: \"800ms\",\n animationTimingFunction: \"cubic-bezier(0.16, 1, 0.3, 1)\",\n willChange: \"transform, opacity\",\n '&[data-state=\"delayed-open\"]': {\n '&[data-side=\"top\"]': { animationName: slideDownAndFade },\n '&[data-side=\"right\"]': { animationName: slideLeftAndFade },\n '&[data-side=\"bottom\"]': { animationName: slideUpAndFade },\n '&[data-side=\"left\"]': { animationName: slideRightAndFade }\n }\n },\n variants: {\n size: {\n sm: {\n padding: \"$2 $4\",\n fontSize: \"$xs\",\n borderRadius: \"$sm\",\n lineHeight: \"$xs\"\n },\n md: {\n padding: \"$6 $8\",\n fontSize: \"$sm\",\n borderRadius: \"$md\",\n lineHeight: \"$sm\"\n }\n }\n },\n defaultVariants: {\n size: \"sm\"\n }\n});\nconst StyledArrow = styled(Arrow2, {\n fill: \"$black900\",\n variants: {\n size: {\n sm: {\n width: \"10px\",\n height: \"6px\"\n },\n md: {\n width: \"$5\",\n height: \"$3\"\n }\n }\n },\n defaultVariants: {\n size: \"sm\"\n }\n});\nconst Tooltip = (_a) => {\n var _b = _a, {\n children,\n content,\n side,\n align,\n size,\n open,\n defaultOpen,\n delayDuration,\n disableHoverableContent,\n onOpenChange\n } = _b, props = __objRest(_b, [\n \"children\",\n \"content\",\n \"side\",\n \"align\",\n \"size\",\n \"open\",\n \"defaultOpen\",\n \"delayDuration\",\n \"disableHoverableContent\",\n \"onOpenChange\"\n ]);\n return /* @__PURE__ */ jsxs(\n Root3,\n {\n open,\n defaultOpen,\n onOpenChange,\n delayDuration,\n disableHoverableContent,\n children: [\n /* @__PURE__ */ jsx(Trigger, { asChild: true, children }),\n content ? /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsxs(StyledContent, __spreadProps(__spreadValues({ side, align, size }, props), { children: [\n content,\n /* @__PURE__ */ jsx(StyledArrow, { size })\n ] })) }) : /* @__PURE__ */ jsx(Content2, {})\n ]\n }\n );\n};\nconst TooltipProvider = Provider;\n\nexport { Tooltip, TooltipProvider };\n//# sourceMappingURL=tooltip.js.map\n"],"names":[],"mappings":";;;;AAIA,IAAI,YAAY,MAAO,CAAA,cAAA;AACvB,IAAI,aAAa,MAAO,CAAA,gBAAA;AACxB,IAAI,oBAAoB,MAAO,CAAA,yBAAA;AAC/B,IAAI,sBAAsB,MAAO,CAAA,qBAAA;AACjC,IAAI,YAAA,GAAe,OAAO,SAAU,CAAA,cAAA;AACpC,IAAI,YAAA,GAAe,OAAO,SAAU,CAAA,oBAAA;AACpC,IAAI,eAAA,GAAkB,CAAC,GAAK,EAAA,GAAA,EAAK,UAAU,GAAO,IAAA,GAAA,GAAM,SAAU,CAAA,GAAA,EAAK,GAAK,EAAA,EAAE,YAAY,IAAM,EAAA,YAAA,EAAc,MAAM,QAAU,EAAA,IAAA,EAAM,OAAO,CAAA,GAAI,GAAI,CAAA,GAAG,CA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,IACA,aAAA;AAAA,IACA,uBAAA;AAAA,IACA;AAAA,GACE,GAAA,EAAA,EAAI,KAAQ,GAAA,SAAA,CAAU,EAAI,EAAA;AAAA,IAC5B,UAAA;AAAA,IACA,SAAA;AAAA,IACA,MAAA;AAAA,IACA,OAAA;AAAA,IACA,MAAA;AAAA,IACA,MAAA;AAAA,IACA,aAAA;AAAA,IACA,eAAA;AAAA,IACA,yBAAA;AAAA,IACA;AAAA,GACD,CAAA;AACD,EAAuB,uBAAA,IAAA;AAAA,IACrB,KAAA;AAAA,IACA;AAAA,MACE,IAAA;AAAA,MACA,WAAA;AAAA,MACA,YAAA;AAAA,MACA,aAAA;AAAA,MACA,uBAAA;AAAA,MACA,QAAU,EAAA;AAAA,4BACY,OAAS,EAAA,EAAE,OAAS,EAAA,IAAA,EAAM,UAAU,CAAA;AAAA,QACxD,0BAA8B,GAAA,CAAA,MAAA,EAAQ,EAAE,QAAA,uBAA+B,aAAe,EAAA,aAAA,CAAc,cAAe,CAAA,EAAE,MAAM,KAAO,EAAA,IAAA,IAAQ,KAAK,CAAA,EAAG,EAAE,QAAU,EAAA;AAAA,UAC5J,OAAA;AAAA,0BACoB,GAAA,CAAA,WAAA,EAAa,EAAE,IAAA,EAAM;AAAA,SAC3C,EAAG,CAAC,CAAA,EAAG,CAAoB,mBAAA,GAAA,CAAI,QAAU,EAAA,EAAE;AAAA;AAC7C;AACF,GACF;AACF;AACA,MAAM,eAAkB,GAAA;;;;"}
@@ -0,0 +1,8 @@
1
+ import { config } from '../stitches.config.js';
2
+
3
+ const prefixClassName = (className) => {
4
+ return `${config.prefix}-${className}`;
5
+ };
6
+
7
+ export { prefixClassName };
8
+ //# sourceMappingURL=prefix-class-name.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prefix-class-name.js","sources":["../../../../../../../react-components/dist/es/utils/prefix-class-name.js"],"sourcesContent":["import { config } from '../stitches.config.js';\n\nconst prefixClassName = (className) => {\n return `${config.prefix}-${className}`;\n};\n\nexport { prefixClassName };\n//# sourceMappingURL=prefix-class-name.js.map\n"],"names":[],"mappings":";;AAEM,MAAA,eAAA,GAAkB,CAAC,SAAc,KAAA;AACrC,EAAA,OAAO,CAAG,EAAA,MAAA,CAAO,MAAM,CAAA,CAAA,EAAI,SAAS,CAAA,CAAA;AACtC;;;;"}
@@ -0,0 +1,4 @@
1
+ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
2
+
3
+ export { clsx, clsx as default };
4
+ //# sourceMappingURL=clsx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clsx.js","sources":["../../../../../../node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f);else for(t in e)e[t]&&(n&&(n+=\" \"),n+=t);return n}export function clsx(){for(var e,t,f=0,n=\"\";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":[],"mappings":"AAAA,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,QAAQ,EAAE,OAAO,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,GAAG,QAAQ,EAAE,OAAO,CAAC,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAQ,SAAS,IAAI,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,71 @@
1
+ import assertString from './util/assertString.js';
2
+ import merge from './util/merge.js';
3
+
4
+ var default_fqdn_options = {
5
+ require_tld: true,
6
+ allow_underscores: false,
7
+ allow_trailing_dot: false,
8
+ allow_numeric_tld: false,
9
+ allow_wildcard: false,
10
+ ignore_max_length: false
11
+ };
12
+ function isFQDN(str, options) {
13
+ assertString(str);
14
+ options = merge(options, default_fqdn_options);
15
+
16
+ /* Remove the optional trailing dot before checking validity */
17
+ if (options.allow_trailing_dot && str[str.length - 1] === '.') {
18
+ str = str.substring(0, str.length - 1);
19
+ }
20
+
21
+ /* Remove the optional wildcard before checking validity */
22
+ if (options.allow_wildcard === true && str.indexOf('*.') === 0) {
23
+ str = str.substring(2);
24
+ }
25
+ var parts = str.split('.');
26
+ var tld = parts[parts.length - 1];
27
+ if (options.require_tld) {
28
+ // disallow fqdns without tld
29
+ if (parts.length < 2) {
30
+ return false;
31
+ }
32
+ if (!options.allow_numeric_tld && !/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {
33
+ return false;
34
+ }
35
+
36
+ // disallow spaces
37
+ if (/\s/.test(tld)) {
38
+ return false;
39
+ }
40
+ }
41
+
42
+ // reject numeric TLDs
43
+ if (!options.allow_numeric_tld && /^\d+$/.test(tld)) {
44
+ return false;
45
+ }
46
+ return parts.every(function (part) {
47
+ if (part.length > 63 && !options.ignore_max_length) {
48
+ return false;
49
+ }
50
+ if (!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(part)) {
51
+ return false;
52
+ }
53
+
54
+ // disallow full-width chars
55
+ if (/[\uff01-\uff5e]/.test(part)) {
56
+ return false;
57
+ }
58
+
59
+ // disallow parts starting or ending with hyphen
60
+ if (/^-|-$/.test(part)) {
61
+ return false;
62
+ }
63
+ if (!options.allow_underscores && /_/.test(part)) {
64
+ return false;
65
+ }
66
+ return true;
67
+ });
68
+ }
69
+
70
+ export { isFQDN as default };
71
+ //# sourceMappingURL=isFQDN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isFQDN.js","sources":["../../../../../../../node_modules/validator/es/lib/isFQDN.js"],"sourcesContent":["import assertString from './util/assertString';\nimport merge from './util/merge';\nvar default_fqdn_options = {\n require_tld: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_numeric_tld: false,\n allow_wildcard: false,\n ignore_max_length: false\n};\nexport default function isFQDN(str, options) {\n assertString(str);\n options = merge(options, default_fqdn_options);\n\n /* Remove the optional trailing dot before checking validity */\n if (options.allow_trailing_dot && str[str.length - 1] === '.') {\n str = str.substring(0, str.length - 1);\n }\n\n /* Remove the optional wildcard before checking validity */\n if (options.allow_wildcard === true && str.indexOf('*.') === 0) {\n str = str.substring(2);\n }\n var parts = str.split('.');\n var tld = parts[parts.length - 1];\n if (options.require_tld) {\n // disallow fqdns without tld\n if (parts.length < 2) {\n return false;\n }\n if (!options.allow_numeric_tld && !/^([a-z\\u00A1-\\u00A8\\u00AA-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {\n return false;\n }\n\n // disallow spaces\n if (/\\s/.test(tld)) {\n return false;\n }\n }\n\n // reject numeric TLDs\n if (!options.allow_numeric_tld && /^\\d+$/.test(tld)) {\n return false;\n }\n return parts.every(function (part) {\n if (part.length > 63 && !options.ignore_max_length) {\n return false;\n }\n if (!/^[a-z_\\u00a1-\\uffff0-9-]+$/i.test(part)) {\n return false;\n }\n\n // disallow full-width chars\n if (/[\\uff01-\\uff5e]/.test(part)) {\n return false;\n }\n\n // disallow parts starting or ending with hyphen\n if (/^-|-$/.test(part)) {\n return false;\n }\n if (!options.allow_underscores && /_/.test(part)) {\n return false;\n }\n return true;\n });\n}"],"names":[],"mappings":";;;AAEA,IAAI,oBAAoB,GAAG;AAC3B,EAAE,WAAW,EAAE,IAAI;AACnB,EAAE,iBAAiB,EAAE,KAAK;AAC1B,EAAE,kBAAkB,EAAE,KAAK;AAC3B,EAAE,iBAAiB,EAAE,KAAK;AAC1B,EAAE,cAAc,EAAE,KAAK;AACvB,EAAE,iBAAiB,EAAE;AACrB,CAAC;AACc,SAAS,MAAM,CAAC,GAAG,EAAE,OAAO,EAAE;AAC7C,EAAE,YAAY,CAAC,GAAG,CAAC;AACnB,EAAE,OAAO,GAAG,KAAK,CAAC,OAAO,EAAE,oBAAoB,CAAC;;AAEhD;AACA,EAAE,IAAI,OAAO,CAAC,kBAAkB,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,GAAG,EAAE;AACjE,IAAI,GAAG,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;AAC1C;;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CAAC,IAAI,CAAC,EAAE;AAC5B,MAAM,OAAO,KAAK;AAClB;AACA,IAAI,IAAI,CAAC,OAAO,CAAC,iBAAiB,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;AACtD,MAAM,OAAO,KAAK;AAClB;AACA,IAAI,OAAO,IAAI;AACf,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,54 @@
1
+ import assertString from './util/assertString.js';
2
+
3
+ /**
4
+ 11.3. Examples
5
+
6
+ The following addresses
7
+
8
+ fe80::1234 (on the 1st link of the node)
9
+ ff02::5678 (on the 5th link of the node)
10
+ ff08::9abc (on the 10th organization of the node)
11
+
12
+ would be represented as follows:
13
+
14
+ fe80::1234%1
15
+ ff02::5678%5
16
+ ff08::9abc%10
17
+
18
+ (Here we assume a natural translation from a zone index to the
19
+ <zone_id> part, where the Nth zone of any scope is translated into
20
+ "N".)
21
+
22
+ If we use interface names as <zone_id>, those addresses could also be
23
+ represented as follows:
24
+
25
+ fe80::1234%ne0
26
+ ff02::5678%pvc1.3
27
+ ff08::9abc%interface10
28
+
29
+ where the interface "ne0" belongs to the 1st link, "pvc1.3" belongs
30
+ to the 5th link, and "interface10" belongs to the 10th organization.
31
+ * * */
32
+ var IPv4SegmentFormat = '(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';
33
+ var IPv4AddressFormat = "(".concat(IPv4SegmentFormat, "[.]){3}").concat(IPv4SegmentFormat);
34
+ var IPv4AddressRegExp = new RegExp("^".concat(IPv4AddressFormat, "$"));
35
+ var IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})';
36
+ var IPv6AddressRegExp = new RegExp('^(' + "(?:".concat(IPv6SegmentFormat, ":){7}(?:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){6}(?:").concat(IPv4AddressFormat, "|:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){5}(?::").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,2}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){4}(?:(:").concat(IPv6SegmentFormat, "){0,1}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,3}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){3}(?:(:").concat(IPv6SegmentFormat, "){0,2}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,4}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){2}(?:(:").concat(IPv6SegmentFormat, "){0,3}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,5}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){1}(?:(:").concat(IPv6SegmentFormat, "){0,4}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,6}|:)|") + "(?::((?::".concat(IPv6SegmentFormat, "){0,5}:").concat(IPv4AddressFormat, "|(?::").concat(IPv6SegmentFormat, "){1,7}|:))") + ')(%[0-9a-zA-Z-.:]{1,})?$');
37
+ function isIP(str) {
38
+ var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
39
+ assertString(str);
40
+ version = String(version);
41
+ if (!version) {
42
+ return isIP(str, 4) || isIP(str, 6);
43
+ }
44
+ if (version === '4') {
45
+ return IPv4AddressRegExp.test(str);
46
+ }
47
+ if (version === '6') {
48
+ return IPv6AddressRegExp.test(str);
49
+ }
50
+ return false;
51
+ }
52
+
53
+ export { isIP as default };
54
+ //# sourceMappingURL=isIP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isIP.js","sources":["../../../../../../../node_modules/validator/es/lib/isIP.js"],"sourcesContent":["import assertString from './util/assertString';\n/**\n11.3. Examples\n\n The following addresses\n\n fe80::1234 (on the 1st link of the node)\n ff02::5678 (on the 5th link of the node)\n ff08::9abc (on the 10th organization of the node)\n\n would be represented as follows:\n\n fe80::1234%1\n ff02::5678%5\n ff08::9abc%10\n\n (Here we assume a natural translation from a zone index to the\n <zone_id> part, where the Nth zone of any scope is translated into\n \"N\".)\n\n If we use interface names as <zone_id>, those addresses could also be\n represented as follows:\n\n fe80::1234%ne0\n ff02::5678%pvc1.3\n ff08::9abc%interface10\n\n where the interface \"ne0\" belongs to the 1st link, \"pvc1.3\" belongs\n to the 5th link, and \"interface10\" belongs to the 10th organization.\n * * */\nvar IPv4SegmentFormat = '(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';\nvar IPv4AddressFormat = \"(\".concat(IPv4SegmentFormat, \"[.]){3}\").concat(IPv4SegmentFormat);\nvar IPv4AddressRegExp = new RegExp(\"^\".concat(IPv4AddressFormat, \"$\"));\nvar IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})';\nvar IPv6AddressRegExp = new RegExp('^(' + \"(?:\".concat(IPv6SegmentFormat, \":){7}(?:\").concat(IPv6SegmentFormat, \"|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){6}(?:\").concat(IPv4AddressFormat, \"|:\").concat(IPv6SegmentFormat, \"|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){5}(?::\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,2}|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){4}(?:(:\").concat(IPv6SegmentFormat, \"){0,1}:\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,3}|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){3}(?:(:\").concat(IPv6SegmentFormat, \"){0,2}:\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,4}|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){2}(?:(:\").concat(IPv6SegmentFormat, \"){0,3}:\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,5}|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){1}(?:(:\").concat(IPv6SegmentFormat, \"){0,4}:\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,6}|:)|\") + \"(?::((?::\".concat(IPv6SegmentFormat, \"){0,5}:\").concat(IPv4AddressFormat, \"|(?::\").concat(IPv6SegmentFormat, \"){1,7}|:))\") + ')(%[0-9a-zA-Z-.:]{1,})?$');\nexport default function isIP(str) {\n var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n assertString(str);\n version = String(version);\n if (!version) {\n return isIP(str, 4) || isIP(str, 6);\n }\n if (version === '4') {\n return IPv4AddressRegExp.test(str);\n }\n if (version === '6') {\n return IPv6AddressRegExp.test(str);\n }\n return false;\n}"],"names":[],"mappings":";;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI,iBAAiB,GAAG,sDAAsD;AAC9E,IAAI,iBAAiB,GAAG,GAAG,CAAC,MAAM,CAAC,iBAAiB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC;AAC1F,IAAI,iBAAiB,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC;AACtE,IAAI,iBAAiB,GAAG,sBAAsB;AAC9C,IAAI,iBAAiB,GAAG,IAAI,MAAM,CAAC,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE,KAAK,CAAC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CAAC;AAC3B,EAAE,IAAI,CAAC,OAAO,EAAE;AAChB,IAAI,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AACvC;AACA,EAAE,IAAI,OAAO,KAAK,GAAG,EAAE;AACvB,IAAI,OAAO,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC;AACtC;AACA,EAAE,IAAI,OAAO,KAAK,GAAG,EAAE;AACvB,IAAI,OAAO,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC;AACtC;AACA,EAAE,OAAO,KAAK;AACd;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,159 @@
1
+ import assertString from './util/assertString.js';
2
+ import isFQDN from './isFQDN.js';
3
+ import isIP from './isIP.js';
4
+ import merge from './util/merge.js';
5
+
6
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
7
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
8
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
9
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
10
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = true, o = false; try { if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = true, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
11
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
+
13
+ /*
14
+ options for isURL method
15
+
16
+ require_protocol - if set as true isURL will return false if protocol is not present in the URL
17
+ require_valid_protocol - isURL will check if the URL's protocol is present in the protocols option
18
+ protocols - valid protocols can be modified with this option
19
+ require_host - if set as false isURL will not check if host is present in the URL
20
+ require_port - if set as true isURL will check if port is present in the URL
21
+ allow_protocol_relative_urls - if set as true protocol relative URLs will be allowed
22
+ validate_length - if set as false isURL will skip string length validation (IE maximum is 2083)
23
+
24
+ */
25
+
26
+ var default_url_options = {
27
+ protocols: ['http', 'https', 'ftp'],
28
+ require_tld: true,
29
+ require_protocol: false,
30
+ require_host: true,
31
+ require_port: false,
32
+ require_valid_protocol: true,
33
+ allow_underscores: false,
34
+ allow_trailing_dot: false,
35
+ allow_protocol_relative_urls: false,
36
+ allow_fragments: true,
37
+ allow_query_components: true,
38
+ validate_length: true
39
+ };
40
+ var wrapped_ipv6 = /^\[([^\]]+)\](?::([0-9]+))?$/;
41
+ function isRegExp(obj) {
42
+ return Object.prototype.toString.call(obj) === '[object RegExp]';
43
+ }
44
+ function checkHost(host, matches) {
45
+ for (var i = 0; i < matches.length; i++) {
46
+ var match = matches[i];
47
+ if (host === match || isRegExp(match) && match.test(host)) {
48
+ return true;
49
+ }
50
+ }
51
+ return false;
52
+ }
53
+ function isURL(url, options) {
54
+ assertString(url);
55
+ if (!url || /[\s<>]/.test(url)) {
56
+ return false;
57
+ }
58
+ if (url.indexOf('mailto:') === 0) {
59
+ return false;
60
+ }
61
+ options = merge(options, default_url_options);
62
+ if (options.validate_length && url.length >= 2083) {
63
+ return false;
64
+ }
65
+ if (!options.allow_fragments && url.includes('#')) {
66
+ return false;
67
+ }
68
+ if (!options.allow_query_components && (url.includes('?') || url.includes('&'))) {
69
+ return false;
70
+ }
71
+ var protocol, auth, host, hostname, port, port_str, split, ipv6;
72
+ split = url.split('#');
73
+ url = split.shift();
74
+ split = url.split('?');
75
+ url = split.shift();
76
+ split = url.split('://');
77
+ if (split.length > 1) {
78
+ protocol = split.shift().toLowerCase();
79
+ if (options.require_valid_protocol && options.protocols.indexOf(protocol) === -1) {
80
+ return false;
81
+ }
82
+ } else if (options.require_protocol) {
83
+ return false;
84
+ } else if (url.slice(0, 2) === '//') {
85
+ if (!options.allow_protocol_relative_urls) {
86
+ return false;
87
+ }
88
+ split[0] = url.slice(2);
89
+ }
90
+ url = split.join('://');
91
+ if (url === '') {
92
+ return false;
93
+ }
94
+ split = url.split('/');
95
+ url = split.shift();
96
+ if (url === '' && !options.require_host) {
97
+ return true;
98
+ }
99
+ split = url.split('@');
100
+ if (split.length > 1) {
101
+ if (options.disallow_auth) {
102
+ return false;
103
+ }
104
+ if (split[0] === '') {
105
+ return false;
106
+ }
107
+ auth = split.shift();
108
+ if (auth.indexOf(':') >= 0 && auth.split(':').length > 2) {
109
+ return false;
110
+ }
111
+ var _auth$split = auth.split(':'),
112
+ _auth$split2 = _slicedToArray(_auth$split, 2),
113
+ user = _auth$split2[0],
114
+ password = _auth$split2[1];
115
+ if (user === '' && password === '') {
116
+ return false;
117
+ }
118
+ }
119
+ hostname = split.join('@');
120
+ port_str = null;
121
+ ipv6 = null;
122
+ var ipv6_match = hostname.match(wrapped_ipv6);
123
+ if (ipv6_match) {
124
+ host = '';
125
+ ipv6 = ipv6_match[1];
126
+ port_str = ipv6_match[2] || null;
127
+ } else {
128
+ split = hostname.split(':');
129
+ host = split.shift();
130
+ if (split.length) {
131
+ port_str = split.join(':');
132
+ }
133
+ }
134
+ if (port_str !== null && port_str.length > 0) {
135
+ port = parseInt(port_str, 10);
136
+ if (!/^[0-9]+$/.test(port_str) || port <= 0 || port > 65535) {
137
+ return false;
138
+ }
139
+ } else if (options.require_port) {
140
+ return false;
141
+ }
142
+ if (options.host_whitelist) {
143
+ return checkHost(host, options.host_whitelist);
144
+ }
145
+ if (host === '' && !options.require_host) {
146
+ return true;
147
+ }
148
+ if (!isIP(host) && !isFQDN(host, options) && (!ipv6 || !isIP(ipv6, 6))) {
149
+ return false;
150
+ }
151
+ host = host || ipv6;
152
+ if (options.host_blacklist && checkHost(host, options.host_blacklist)) {
153
+ return false;
154
+ }
155
+ return true;
156
+ }
157
+
158
+ export { isURL as default };
159
+ //# sourceMappingURL=isURL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isURL.js","sources":["../../../../../../../node_modules/validator/es/lib/isURL.js"],"sourcesContent":["function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport assertString from './util/assertString';\nimport isFQDN from './isFQDN';\nimport isIP from './isIP';\nimport merge from './util/merge';\n\n/*\noptions for isURL method\n\nrequire_protocol - if set as true isURL will return false if protocol is not present in the URL\nrequire_valid_protocol - isURL will check if the URL's protocol is present in the protocols option\nprotocols - valid protocols can be modified with this option\nrequire_host - if set as false isURL will not check if host is present in the URL\nrequire_port - if set as true isURL will check if port is present in the URL\nallow_protocol_relative_urls - if set as true protocol relative URLs will be allowed\nvalidate_length - if set as false isURL will skip string length validation (IE maximum is 2083)\n\n*/\n\nvar default_url_options = {\n protocols: ['http', 'https', 'ftp'],\n require_tld: true,\n require_protocol: false,\n require_host: true,\n require_port: false,\n require_valid_protocol: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_protocol_relative_urls: false,\n allow_fragments: true,\n allow_query_components: true,\n validate_length: true\n};\nvar wrapped_ipv6 = /^\\[([^\\]]+)\\](?::([0-9]+))?$/;\nfunction isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n}\nfunction checkHost(host, matches) {\n for (var i = 0; i < matches.length; i++) {\n var match = matches[i];\n if (host === match || isRegExp(match) && match.test(host)) {\n return true;\n }\n }\n return false;\n}\nexport default function isURL(url, options) {\n assertString(url);\n if (!url || /[\\s<>]/.test(url)) {\n return false;\n }\n if (url.indexOf('mailto:') === 0) {\n return false;\n }\n options = merge(options, default_url_options);\n if (options.validate_length && url.length >= 2083) {\n return false;\n }\n if (!options.allow_fragments && url.includes('#')) {\n return false;\n }\n if (!options.allow_query_components && (url.includes('?') || url.includes('&'))) {\n return false;\n }\n var protocol, auth, host, hostname, port, port_str, split, ipv6;\n split = url.split('#');\n url = split.shift();\n split = url.split('?');\n url = split.shift();\n split = url.split('://');\n if (split.length > 1) {\n protocol = split.shift().toLowerCase();\n if (options.require_valid_protocol && options.protocols.indexOf(protocol) === -1) {\n return false;\n }\n } else if (options.require_protocol) {\n return false;\n } else if (url.slice(0, 2) === '//') {\n if (!options.allow_protocol_relative_urls) {\n return false;\n }\n split[0] = url.slice(2);\n }\n url = split.join('://');\n if (url === '') {\n return false;\n }\n split = url.split('/');\n url = split.shift();\n if (url === '' && !options.require_host) {\n return true;\n }\n split = url.split('@');\n if (split.length > 1) {\n if (options.disallow_auth) {\n return false;\n }\n if (split[0] === '') {\n return false;\n }\n auth = split.shift();\n if (auth.indexOf(':') >= 0 && auth.split(':').length > 2) {\n return false;\n }\n var _auth$split = auth.split(':'),\n _auth$split2 = _slicedToArray(_auth$split, 2),\n user = _auth$split2[0],\n password = _auth$split2[1];\n if (user === '' && password === '') {\n return false;\n }\n }\n hostname = split.join('@');\n port_str = null;\n ipv6 = null;\n var ipv6_match = hostname.match(wrapped_ipv6);\n if (ipv6_match) {\n host = '';\n ipv6 = ipv6_match[1];\n port_str = ipv6_match[2] || null;\n } else {\n split = hostname.split(':');\n host = split.shift();\n if (split.length) {\n port_str = split.join(':');\n }\n }\n if (port_str !== null && port_str.length > 0) {\n port = parseInt(port_str, 10);\n if (!/^[0-9]+$/.test(port_str) || port <= 0 || port > 65535) {\n return false;\n }\n } else if (options.require_port) {\n return false;\n }\n if (options.host_whitelist) {\n return checkHost(host, options.host_whitelist);\n }\n if (host === '' && !options.require_host) {\n return true;\n }\n if (!isIP(host) && !isFQDN(host, options) && (!ipv6 || !isIP(ipv6, 6))) {\n return false;\n }\n host = host || ipv6;\n if (options.host_blacklist && checkHost(host, options.host_blacklist)) {\n return false;\n }\n return true;\n}"],"names":[],"mappings":";;;;;AAAA,SAAS,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,OAAO,eAAe,CAAC,GAAG,CAAC,IAAI,qBAAqB,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,2BAA2B,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,gBAAgB,EAAE,CAAC;AAC5J,SAAS,gBAAgB,GAAG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EAAE,IAAI,IAAI,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;AAC5C,IAAI,OAAO,IAAI;AACf;AACA,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE;AAC1E,IAAI,OAAO,KAAK;AAChB;AACA,EAAE,IAAI,GAAG,IAAI,IAAI,IAAI;AACrB,EAAE,IAAI,OAAO,CAAC,cAAc,IAAI,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,EAAE;AACzE,IAAI,OAAO,KAAK;AAChB;AACA,EAAE,OAAO,IAAI;AACb;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function assertString(input) {
3
+ var isString = typeof input === 'string' || input instanceof String;
4
+ if (!isString) {
5
+ var invalidType = _typeof(input);
6
+ if (input === null) invalidType = 'null';else if (invalidType === 'object') invalidType = input.constructor.name;
7
+ throw new TypeError("Expected a string but received a ".concat(invalidType));
8
+ }
9
+ }
10
+
11
+ export { assertString as default };
12
+ //# sourceMappingURL=assertString.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assertString.js","sources":["../../../../../../../../node_modules/validator/es/lib/util/assertString.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nexport default function assertString(input) {\n var isString = typeof input === 'string' || input instanceof String;\n if (!isString) {\n var invalidType = _typeof(input);\n if (input === null) invalidType = 'null';else if (invalidType === 'object') invalidType = input.constructor.name;\n throw new TypeError(\"Expected a string but received a \".concat(invalidType));\n }\n}"],"names":[],"mappings":"AAAA,SAAS,OAAO,CAAC,CAAC,EAAE,EAAE,yBAAyB,CAAC,CAAC,OAAO,OAAO,GAAG,UAAU,IAAI,OAAO,MAAM,IAAI,QAAQ,IAAI,OAAO,MAAM,CAAC,QAAQ,GAAG,UAAU,CAAC,EAAE,EAAE,OAAO,OAAO,CAAC,CAAC,EAAE,GAAG,UAAU,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,UAAU,IAAI,OAAO,MAAM,IAAI,CAAC,CAAC,WAAW,KAAK,MAAM,IAAI,CAAC,KAAK,MAAM,CAAC,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAC7S,SAAS,YAAY,CAAC,KAAK,EAAE;AAC5C,EAAE,IAAI,QAAQ,GAAG,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM;AACrE,EAAE,IAAI,CAAC,QAAQ,EAAE;AACjB,IAAI,IAAI,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC;AACpC,IAAI,IAAI,KAAK,KAAK,IAAI,EAAE,WAAW,GAAG,MAAM,CAAC,KAAK,IAAI,WAAW,KAAK,QAAQ,EAAE,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,IAAI;AACpH,IAAI,MAAM,IAAI,SAAS,CAAC,mCAAmC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAChF;AACA;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,13 @@
1
+ function merge() {
2
+ var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3
+ var defaults = arguments.length > 1 ? arguments[1] : undefined;
4
+ for (var key in defaults) {
5
+ if (typeof obj[key] === 'undefined') {
6
+ obj[key] = defaults[key];
7
+ }
8
+ }
9
+ return obj;
10
+ }
11
+
12
+ export { merge as default };
13
+ //# sourceMappingURL=merge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merge.js","sources":["../../../../../../../../node_modules/validator/es/lib/util/merge.js"],"sourcesContent":["export default function merge() {\n var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var defaults = arguments.length > 1 ? arguments[1] : undefined;\n for (var key in defaults) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = defaults[key];\n }\n }\n return obj;\n}"],"names":[],"mappings":"AAAe,SAAS,KAAK,GAAG;AAChC,EAAE,IAAI,GAAG,GAAG,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,KAAK,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,EAAE;AAClF,EAAE,IAAI,QAAQ,GAAG,SAAS,CAAC,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;AAChE,EAAE,KAAK,IAAI,GAAG,IAAI,QAAQ,EAAE;AAC5B,IAAI,IAAI,OAAO,GAAG,CAAC,GAAG,CAAC,KAAK,WAAW,EAAE;AACzC,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC;AAC9B;AACA;AACA,EAAE,OAAO,GAAG;AACZ;;;;","x_google_ignoreList":[0]}