@lotte-innovate/ui-component-test 0.1.74 → 0.1.76

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1297) hide show
  1. package/README.md +225 -133
  2. package/dist/globals.css +4 -4
  3. package/dist/lib/Typography/Header/index.d.ts +7 -5
  4. package/dist/lib/Typography/Header/index.js +5 -2
  5. package/dist/lib/Typography/Text/index.d.ts +1 -1
  6. package/dist/lib/Typography/Text/index.js +4 -1
  7. package/dist/lib/_virtual/_commonjsHelpers.mjs +2 -0
  8. package/dist/lib/_virtual/_commonjsHelpers.mjs.map +1 -0
  9. package/dist/lib/_virtual/_interop_require_default.mjs +2 -0
  10. package/dist/lib/_virtual/_interop_require_default.mjs.map +1 -0
  11. package/dist/lib/_virtual/_interop_require_wildcard.mjs +2 -0
  12. package/dist/lib/_virtual/_interop_require_wildcard.mjs.map +1 -0
  13. package/dist/lib/_virtual/action-async-storage.external.mjs +2 -0
  14. package/dist/lib/_virtual/action-async-storage.external.mjs.map +1 -0
  15. package/dist/lib/_virtual/add-base-path.mjs +2 -0
  16. package/dist/lib/_virtual/add-base-path.mjs.map +1 -0
  17. package/dist/lib/_virtual/add-locale.mjs +2 -0
  18. package/dist/lib/_virtual/add-locale.mjs.map +1 -0
  19. package/dist/lib/_virtual/add-locale2.mjs +2 -0
  20. package/dist/lib/_virtual/add-locale2.mjs.map +1 -0
  21. package/dist/lib/_virtual/add-path-prefix.mjs +2 -0
  22. package/dist/lib/_virtual/add-path-prefix.mjs.map +1 -0
  23. package/dist/lib/_virtual/amp-context.shared-runtime.mjs +2 -0
  24. package/dist/lib/_virtual/amp-context.shared-runtime.mjs.map +1 -0
  25. package/dist/lib/_virtual/amp-mode.mjs +2 -0
  26. package/dist/lib/_virtual/amp-mode.mjs.map +1 -0
  27. package/dist/lib/_virtual/app-paths.mjs +2 -0
  28. package/dist/lib/_virtual/app-paths.mjs.map +1 -0
  29. package/dist/lib/_virtual/app-router-context.shared-runtime.mjs +2 -0
  30. package/dist/lib/_virtual/app-router-context.shared-runtime.mjs.map +1 -0
  31. package/dist/lib/_virtual/async-local-storage.mjs +2 -0
  32. package/dist/lib/_virtual/async-local-storage.mjs.map +1 -0
  33. package/dist/lib/_virtual/bailout-to-client-rendering.mjs +2 -0
  34. package/dist/lib/_virtual/bailout-to-client-rendering.mjs.map +1 -0
  35. package/dist/lib/_virtual/bailout-to-csr.mjs +2 -0
  36. package/dist/lib/_virtual/bailout-to-csr.mjs.map +1 -0
  37. package/dist/lib/_virtual/client-hook-in-server-component-error.mjs +2 -0
  38. package/dist/lib/_virtual/client-hook-in-server-component-error.mjs.map +1 -0
  39. package/dist/lib/_virtual/detect-domain-locale.mjs +2 -0
  40. package/dist/lib/_virtual/detect-domain-locale.mjs.map +1 -0
  41. package/dist/lib/_virtual/detect-domain-locale2.mjs +2 -0
  42. package/dist/lib/_virtual/detect-domain-locale2.mjs.map +1 -0
  43. package/dist/lib/_virtual/ensure-leading-slash.mjs +2 -0
  44. package/dist/lib/_virtual/ensure-leading-slash.mjs.map +1 -0
  45. package/dist/lib/_virtual/escape-regexp.mjs +2 -0
  46. package/dist/lib/_virtual/escape-regexp.mjs.map +1 -0
  47. package/dist/lib/_virtual/format-url.mjs +2 -0
  48. package/dist/lib/_virtual/format-url.mjs.map +1 -0
  49. package/dist/lib/_virtual/get-domain-locale.mjs +2 -0
  50. package/dist/lib/_virtual/get-domain-locale.mjs.map +1 -0
  51. package/dist/lib/_virtual/get-img-props.mjs +2 -0
  52. package/dist/lib/_virtual/get-img-props.mjs.map +1 -0
  53. package/dist/lib/_virtual/get-segment-value.mjs +2 -0
  54. package/dist/lib/_virtual/get-segment-value.mjs.map +1 -0
  55. package/dist/lib/_virtual/has-base-path.mjs +2 -0
  56. package/dist/lib/_virtual/has-base-path.mjs.map +1 -0
  57. package/dist/lib/_virtual/head-manager-context.shared-runtime.mjs +2 -0
  58. package/dist/lib/_virtual/head-manager-context.shared-runtime.mjs.map +1 -0
  59. package/dist/lib/_virtual/head.mjs +2 -0
  60. package/dist/lib/_virtual/head.mjs.map +1 -0
  61. package/dist/lib/_virtual/hooks-client-context.shared-runtime.mjs +2 -0
  62. package/dist/lib/_virtual/hooks-client-context.shared-runtime.mjs.map +1 -0
  63. package/dist/lib/_virtual/image-blur-svg.mjs +2 -0
  64. package/dist/lib/_virtual/image-blur-svg.mjs.map +1 -0
  65. package/dist/lib/_virtual/image-component.mjs +2 -0
  66. package/dist/lib/_virtual/image-component.mjs.map +1 -0
  67. package/dist/lib/_virtual/image-config-context.shared-runtime.mjs +2 -0
  68. package/dist/lib/_virtual/image-config-context.shared-runtime.mjs.map +1 -0
  69. package/dist/lib/_virtual/image-config.mjs +2 -0
  70. package/dist/lib/_virtual/image-config.mjs.map +1 -0
  71. package/dist/lib/_virtual/image-external.mjs +2 -0
  72. package/dist/lib/_virtual/image-external.mjs.map +1 -0
  73. package/dist/lib/_virtual/image-loader.mjs +2 -0
  74. package/dist/lib/_virtual/image-loader.mjs.map +1 -0
  75. package/dist/lib/_virtual/image.mjs +2 -0
  76. package/dist/lib/_virtual/image.mjs.map +1 -0
  77. package/dist/lib/_virtual/index.mjs +2 -0
  78. package/dist/lib/_virtual/index.mjs.map +1 -0
  79. package/dist/lib/_virtual/index2.mjs +2 -0
  80. package/dist/lib/_virtual/index2.mjs.map +1 -0
  81. package/dist/lib/_virtual/index3.mjs +2 -0
  82. package/dist/lib/_virtual/index3.mjs.map +1 -0
  83. package/dist/lib/_virtual/index4.mjs +2 -0
  84. package/dist/lib/_virtual/index4.mjs.map +1 -0
  85. package/dist/lib/_virtual/index5.mjs +2 -0
  86. package/dist/lib/_virtual/index5.mjs.map +1 -0
  87. package/dist/lib/_virtual/index6.mjs +2 -0
  88. package/dist/lib/_virtual/index6.mjs.map +1 -0
  89. package/dist/lib/_virtual/index7.mjs +2 -0
  90. package/dist/lib/_virtual/index7.mjs.map +1 -0
  91. package/dist/lib/_virtual/index8.mjs +2 -0
  92. package/dist/lib/_virtual/index8.mjs.map +1 -0
  93. package/dist/lib/_virtual/index9.mjs +2 -0
  94. package/dist/lib/_virtual/index9.mjs.map +1 -0
  95. package/dist/lib/_virtual/interception-routes.mjs +2 -0
  96. package/dist/lib/_virtual/interception-routes.mjs.map +1 -0
  97. package/dist/lib/_virtual/interpolate-as.mjs +2 -0
  98. package/dist/lib/_virtual/interpolate-as.mjs.map +1 -0
  99. package/dist/lib/_virtual/is-dynamic.mjs +2 -0
  100. package/dist/lib/_virtual/is-dynamic.mjs.map +1 -0
  101. package/dist/lib/_virtual/is-local-url.mjs +2 -0
  102. package/dist/lib/_virtual/is-local-url.mjs.map +1 -0
  103. package/dist/lib/_virtual/link.mjs +2 -0
  104. package/dist/lib/_virtual/link.mjs.map +1 -0
  105. package/dist/lib/_virtual/link2.mjs +2 -0
  106. package/dist/lib/_virtual/link2.mjs.map +1 -0
  107. package/dist/lib/_virtual/match-remote-pattern.mjs +2 -0
  108. package/dist/lib/_virtual/match-remote-pattern.mjs.map +1 -0
  109. package/dist/lib/_virtual/navigation.mjs +2 -0
  110. package/dist/lib/_virtual/navigation.mjs.map +1 -0
  111. package/dist/lib/_virtual/navigation2.mjs +2 -0
  112. package/dist/lib/_virtual/navigation2.mjs.map +1 -0
  113. package/dist/lib/_virtual/normalize-locale-path.mjs +2 -0
  114. package/dist/lib/_virtual/normalize-locale-path.mjs.map +1 -0
  115. package/dist/lib/_virtual/normalize-locale-path2.mjs +2 -0
  116. package/dist/lib/_virtual/normalize-locale-path2.mjs.map +1 -0
  117. package/dist/lib/_virtual/normalize-trailing-slash.mjs +2 -0
  118. package/dist/lib/_virtual/normalize-trailing-slash.mjs.map +1 -0
  119. package/dist/lib/_virtual/not-found.mjs +2 -0
  120. package/dist/lib/_virtual/not-found.mjs.map +1 -0
  121. package/dist/lib/_virtual/omit.mjs +2 -0
  122. package/dist/lib/_virtual/omit.mjs.map +1 -0
  123. package/dist/lib/_virtual/parse-path.mjs +2 -0
  124. package/dist/lib/_virtual/parse-path.mjs.map +1 -0
  125. package/dist/lib/_virtual/path-has-prefix.mjs +2 -0
  126. package/dist/lib/_virtual/path-has-prefix.mjs.map +1 -0
  127. package/dist/lib/_virtual/querystring.mjs +2 -0
  128. package/dist/lib/_virtual/querystring.mjs.map +1 -0
  129. package/dist/lib/_virtual/redirect-status-code.mjs +2 -0
  130. package/dist/lib/_virtual/redirect-status-code.mjs.map +1 -0
  131. package/dist/lib/_virtual/redirect.mjs +2 -0
  132. package/dist/lib/_virtual/redirect.mjs.map +1 -0
  133. package/dist/lib/_virtual/remove-trailing-slash.mjs +2 -0
  134. package/dist/lib/_virtual/remove-trailing-slash.mjs.map +1 -0
  135. package/dist/lib/_virtual/request-async-storage.external.mjs +2 -0
  136. package/dist/lib/_virtual/request-async-storage.external.mjs.map +1 -0
  137. package/dist/lib/_virtual/request-idle-callback.mjs +2 -0
  138. package/dist/lib/_virtual/request-idle-callback.mjs.map +1 -0
  139. package/dist/lib/_virtual/resolve-href.mjs +2 -0
  140. package/dist/lib/_virtual/resolve-href.mjs.map +1 -0
  141. package/dist/lib/_virtual/route-matcher.mjs +2 -0
  142. package/dist/lib/_virtual/route-matcher.mjs.map +1 -0
  143. package/dist/lib/_virtual/route-regex.mjs +2 -0
  144. package/dist/lib/_virtual/route-regex.mjs.map +1 -0
  145. package/dist/lib/_virtual/router-context.shared-runtime.mjs +2 -0
  146. package/dist/lib/_virtual/router-context.shared-runtime.mjs.map +1 -0
  147. package/dist/lib/_virtual/router-reducer-types.mjs +2 -0
  148. package/dist/lib/_virtual/router-reducer-types.mjs.map +1 -0
  149. package/dist/lib/_virtual/segment.mjs +2 -0
  150. package/dist/lib/_virtual/segment.mjs.map +1 -0
  151. package/dist/lib/_virtual/server-inserted-html.shared-runtime.mjs +2 -0
  152. package/dist/lib/_virtual/server-inserted-html.shared-runtime.mjs.map +1 -0
  153. package/dist/lib/_virtual/side-effect.mjs +2 -0
  154. package/dist/lib/_virtual/side-effect.mjs.map +1 -0
  155. package/dist/lib/_virtual/sorted-routes.mjs +2 -0
  156. package/dist/lib/_virtual/sorted-routes.mjs.map +1 -0
  157. package/dist/lib/_virtual/static-generation-async-storage.external.mjs +2 -0
  158. package/dist/lib/_virtual/static-generation-async-storage.external.mjs.map +1 -0
  159. package/dist/lib/_virtual/toastui-editor-plugin-color-syntax.mjs +2 -0
  160. package/dist/lib/_virtual/toastui-editor-plugin-color-syntax.mjs.map +1 -0
  161. package/dist/lib/_virtual/toastui-editor-plugin-color-syntax2.mjs +2 -0
  162. package/dist/lib/_virtual/toastui-editor-plugin-color-syntax2.mjs.map +1 -0
  163. package/dist/lib/_virtual/toastui-editor-viewer.mjs +2 -0
  164. package/dist/lib/_virtual/toastui-editor-viewer.mjs.map +1 -0
  165. package/dist/lib/_virtual/toastui-editor-viewer2.mjs +2 -0
  166. package/dist/lib/_virtual/toastui-editor-viewer2.mjs.map +1 -0
  167. package/dist/lib/_virtual/tui-color-picker.mjs +2 -0
  168. package/dist/lib/_virtual/tui-color-picker.mjs.map +1 -0
  169. package/dist/lib/_virtual/use-intersection.mjs +2 -0
  170. package/dist/lib/_virtual/use-intersection.mjs.map +1 -0
  171. package/dist/lib/_virtual/utils.mjs +2 -0
  172. package/dist/lib/_virtual/utils.mjs.map +1 -0
  173. package/dist/lib/_virtual/warn-once.mjs +2 -0
  174. package/dist/lib/_virtual/warn-once.mjs.map +1 -0
  175. package/dist/lib/color/constants.d.ts +1 -15
  176. package/dist/lib/color/constants.js +1 -32
  177. package/dist/lib/components/Accordion/index.d.ts +1 -1
  178. package/dist/lib/components/Accordion/index.js +21 -4
  179. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
  180. package/dist/lib/components/AlertDialog/AlertDialogAction.js +4 -2
  181. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
  182. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +1 -0
  183. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
  184. package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -1
  185. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -0
  186. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +11 -7
  187. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -0
  188. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +2 -2
  189. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +15 -3
  190. package/dist/lib/components/AlertDialog/index.d.ts +1 -0
  191. package/dist/lib/components/AlertDialog/index.js +1 -1
  192. package/dist/lib/components/AspectRatio/index.js +4 -1
  193. package/dist/lib/components/Avatar/index.d.ts +1 -1
  194. package/dist/lib/components/Avatar/index.js +12 -3
  195. package/dist/lib/components/Badge/index.d.ts +2 -2
  196. package/dist/lib/components/Badge/index.js +14 -3
  197. package/dist/lib/components/BarChart/index.d.ts +1 -5
  198. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  199. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
  200. package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  201. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
  202. package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
  203. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
  204. package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
  205. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
  206. package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
  207. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
  208. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
  209. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
  210. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  211. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
  212. package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
  213. package/dist/lib/components/Breadcrumb/index.js +17 -0
  214. package/dist/lib/components/BubbleChart/index.js +12 -3
  215. package/dist/lib/components/Button/index.d.ts +2 -2
  216. package/dist/lib/components/Button/index.js +14 -3
  217. package/dist/lib/components/Callout/CalloutIcon.js +1 -0
  218. package/dist/lib/components/Callout/CalloutRoot.d.ts +1 -1
  219. package/dist/lib/components/Callout/CalloutRoot.js +11 -3
  220. package/dist/lib/components/Callout/CalloutText.js +1 -0
  221. package/dist/lib/components/Callout/index.d.ts +1 -0
  222. package/dist/lib/components/Card/index.d.ts +2 -2
  223. package/dist/lib/components/Card/index.js +9 -1
  224. package/dist/lib/components/Checkbox/index.d.ts +1 -1
  225. package/dist/lib/components/Checkbox/index.js +12 -3
  226. package/dist/lib/components/CheckboxCard/index.d.ts +1 -1
  227. package/dist/lib/components/CheckboxCard/index.js +9 -1
  228. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -0
  229. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +13 -3
  230. package/dist/lib/components/CheckboxGroup/index.d.ts +2 -1
  231. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -1
  232. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
  233. package/dist/lib/components/ContextMenu/ContextMenuContent.js +1 -0
  234. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
  235. package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -1
  236. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
  237. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +1 -0
  238. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +1 -0
  239. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +1 -0
  240. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -1
  241. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +13 -3
  242. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
  243. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
  244. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
  245. package/dist/lib/components/ContextMenu/index.d.ts +1 -0
  246. package/dist/lib/components/DataList/DataListItem.js +1 -0
  247. package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
  248. package/dist/lib/components/DataList/DataListLabel.js +1 -0
  249. package/dist/lib/components/DataList/DataListRoot.js +9 -2
  250. package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
  251. package/dist/lib/components/DataList/DataListValue.js +1 -0
  252. package/dist/lib/components/DataList/index.d.ts +1 -0
  253. package/dist/lib/components/Dialog/DialogAction.d.ts +1 -3
  254. package/dist/lib/components/Dialog/DialogAction.js +3 -1
  255. package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -2
  256. package/dist/lib/components/Dialog/DialogCancel.js +1 -0
  257. package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
  258. package/dist/lib/components/Dialog/DialogContent.js +1 -0
  259. package/dist/lib/components/Dialog/DialogDescription.js +2 -1
  260. package/dist/lib/components/Dialog/DialogRoot.d.ts +1 -4
  261. package/dist/lib/components/Dialog/DialogRoot.js +11 -2
  262. package/dist/lib/components/Dialog/DialogSlot.d.ts +0 -1
  263. package/dist/lib/components/Dialog/DialogSlot.js +1 -0
  264. package/dist/lib/components/Dialog/DialogTitle.d.ts +0 -2
  265. package/dist/lib/components/Dialog/DialogTitle.js +1 -0
  266. package/dist/lib/components/Dialog/index.d.ts +2 -1
  267. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
  268. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
  269. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
  270. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
  271. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
  272. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
  273. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -1
  274. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
  275. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
  276. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
  277. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
  278. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +1 -2
  279. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +12 -2
  280. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
  281. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  282. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
  283. package/dist/lib/components/DropdownMenu/index.d.ts +2 -1
  284. package/dist/lib/components/Editor/index.d.ts +6 -0
  285. package/dist/lib/components/Editor/index.js +32 -0
  286. package/dist/lib/components/Footer/index.d.ts +11 -0
  287. package/dist/lib/components/Footer/index.js +50 -0
  288. package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
  289. package/dist/lib/components/Gnb/GnbInfo.js +45 -0
  290. package/dist/lib/components/Gnb/GnbLogo.d.ts +9 -0
  291. package/dist/lib/components/Gnb/GnbLogo.js +47 -0
  292. package/dist/lib/components/Gnb/GnbMenu.d.ts +11 -0
  293. package/dist/lib/components/Gnb/GnbMenu.js +48 -0
  294. package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
  295. package/dist/lib/components/Gnb/GnbRoot.js +51 -0
  296. package/dist/lib/components/Gnb/index.d.ts +8 -0
  297. package/dist/lib/components/Gnb/index.js +11 -0
  298. package/dist/lib/components/Grid/index.d.ts +5 -0
  299. package/dist/lib/components/Grid/index.js +52 -0
  300. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  301. package/dist/lib/components/Grid/useGrid.js +67 -0
  302. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +3 -4
  303. package/dist/lib/components/HoverCard/HoverCardContent.js +1 -0
  304. package/dist/lib/components/HoverCard/HoverCardRoot.js +12 -2
  305. package/dist/lib/components/HoverCard/index.d.ts +3 -2
  306. package/dist/lib/components/IconButton/index.d.ts +3 -3
  307. package/dist/lib/components/IconButton/index.js +13 -3
  308. package/dist/lib/components/Inset/index.d.ts +1 -1
  309. package/dist/lib/components/Inset/index.js +8 -1
  310. package/dist/lib/components/Label/index.d.ts +5 -4
  311. package/dist/lib/components/Label/index.js +15 -4
  312. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
  313. package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
  314. package/dist/lib/components/Menubar/MenubarContent.js +1 -0
  315. package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
  316. package/dist/lib/components/Menubar/MenubarItem.js +3 -1
  317. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
  318. package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
  319. package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
  320. package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
  321. package/dist/lib/components/Menubar/MenubarRoot.d.ts +1 -1
  322. package/dist/lib/components/Menubar/MenubarRoot.js +17 -5
  323. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
  324. package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
  325. package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
  326. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
  327. package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
  328. package/dist/lib/components/Menubar/index.d.ts +1 -0
  329. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
  330. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
  331. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
  332. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
  333. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
  334. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
  335. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
  336. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +13 -3
  337. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
  338. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
  339. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
  340. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
  341. package/dist/lib/components/NavigationMenu/index.d.ts +1 -0
  342. package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
  343. package/dist/lib/components/Popover/PopoverClose.js +1 -0
  344. package/dist/lib/components/Popover/PopoverContent.d.ts +3 -1
  345. package/dist/lib/components/Popover/PopoverContent.js +1 -0
  346. package/dist/lib/components/Popover/PopoverRoot.d.ts +1 -2
  347. package/dist/lib/components/Popover/PopoverRoot.js +8 -1
  348. package/dist/lib/components/Popover/index.d.ts +2 -1
  349. package/dist/lib/components/Progress/index.d.ts +3 -3
  350. package/dist/lib/components/Progress/index.js +14 -3
  351. package/dist/lib/components/RadarChart/index.js +12 -3
  352. package/dist/lib/components/Radio/index.d.ts +2 -2
  353. package/dist/lib/components/Radio/index.js +13 -6
  354. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
  355. package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
  356. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +1 -1
  357. package/dist/lib/components/RadioCards/RadioCardsRoot.js +13 -3
  358. package/dist/lib/components/RadioCards/index.d.ts +2 -1
  359. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -1
  360. package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
  361. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
  362. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +12 -3
  363. package/dist/lib/components/RadioGroup/index.d.ts +2 -1
  364. package/dist/lib/components/ScrollArea/index.d.ts +1 -1
  365. package/dist/lib/components/ScrollArea/index.js +4 -1
  366. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +2 -2
  367. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +11 -3
  368. package/dist/lib/components/SegmentedControl/index.d.ts +2 -1
  369. package/dist/lib/components/SegmentedControl/index.js +1 -1
  370. package/dist/lib/components/Select/index.d.ts +4 -2
  371. package/dist/lib/components/Select/index.js +33 -13
  372. package/dist/lib/components/Separator/index.d.ts +1 -1
  373. package/dist/lib/components/Separator/index.js +10 -2
  374. package/dist/lib/components/Skeleton/index.d.ts +1 -1
  375. package/dist/lib/components/Skeleton/index.js +5 -1
  376. package/dist/lib/components/Slider/index.d.ts +2 -2
  377. package/dist/lib/components/Slider/index.js +12 -5
  378. package/dist/lib/components/Spinner/index.js +4 -1
  379. package/dist/lib/components/TabNav/index.d.ts +2 -2
  380. package/dist/lib/components/TabNav/index.js +6 -3
  381. package/dist/lib/components/Table/index.d.ts +1 -1
  382. package/dist/lib/components/Table/index.js +9 -3
  383. package/dist/lib/components/Tabs/index.d.ts +5 -4
  384. package/dist/lib/components/Tabs/index.js +6 -3
  385. package/dist/lib/components/TextArea/index.d.ts +2 -2
  386. package/dist/lib/components/TextArea/index.js +11 -3
  387. package/dist/lib/components/TextField/index.d.ts +3 -3
  388. package/dist/lib/components/TextField/index.js +12 -4
  389. package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
  390. package/dist/lib/components/Timeline/TimelineConnector.js +36 -0
  391. package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
  392. package/dist/lib/components/Timeline/TimelineContent.js +34 -0
  393. package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
  394. package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
  395. package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
  396. package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
  397. package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
  398. package/dist/lib/components/Timeline/TimelineIcon.js +42 -0
  399. package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
  400. package/dist/lib/components/Timeline/TimelineItem.js +34 -0
  401. package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
  402. package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
  403. package/dist/lib/components/Timeline/TimelineTime.d.ts +6 -0
  404. package/dist/lib/components/Timeline/TimelineTime.js +34 -0
  405. package/dist/lib/components/Timeline/TimelineTitle.d.ts +6 -0
  406. package/dist/lib/components/Timeline/TimelineTitle.js +34 -0
  407. package/dist/lib/components/Timeline/index.d.ts +13 -0
  408. package/dist/lib/components/Timeline/index.js +21 -0
  409. package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
  410. package/dist/lib/components/Toast/ToastActionButton.js +3 -2
  411. package/dist/lib/components/Toast/ToastDescription.js +1 -0
  412. package/dist/lib/components/Toast/ToastRoot.d.ts +1 -1
  413. package/dist/lib/components/Toast/ToastRoot.js +11 -3
  414. package/dist/lib/components/Toast/ToastTitle.js +1 -0
  415. package/dist/lib/components/Toast/index.d.ts +1 -0
  416. package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
  417. package/dist/lib/components/Toggle/ToggleWithText.js +14 -3
  418. package/dist/lib/components/Toggle/index.d.ts +2 -2
  419. package/dist/lib/components/Toggle/index.js +14 -3
  420. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
  421. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +13 -3
  422. package/dist/lib/components/ToggleGroup/index.d.ts +1 -0
  423. package/dist/lib/components/ToggleSwitch/index.d.ts +2 -2
  424. package/dist/lib/components/ToggleSwitch/index.js +13 -2
  425. package/dist/lib/components/Tooltip/index.d.ts +2 -2
  426. package/dist/lib/components/Tooltip/index.js +14 -9
  427. package/dist/lib/components/index.d.ts +5 -0
  428. package/dist/lib/components/index.js +5 -0
  429. package/dist/lib/constants.d.ts +6 -7
  430. package/dist/lib/constants.js +19 -31
  431. package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
  432. package/dist/lib/dist/lib/Typography/Header/index.mjs.map +1 -0
  433. package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
  434. package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
  435. package/dist/lib/dist/lib/color/alpha.mjs +2 -0
  436. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
  437. package/dist/lib/dist/lib/color/constants.mjs +2 -0
  438. package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
  439. package/dist/lib/dist/lib/color/light.mjs +2 -0
  440. package/dist/lib/dist/lib/color/light.mjs.map +1 -0
  441. package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
  442. package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
  443. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
  444. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
  445. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +3 -0
  446. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
  447. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs +3 -0
  448. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
  449. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +3 -0
  450. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
  451. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
  452. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
  453. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +3 -0
  454. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
  455. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
  456. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
  457. package/dist/lib/dist/lib/components/AlertDialog/index.mjs +2 -0
  458. package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  459. package/dist/lib/dist/lib/components/AspectRatio/index.mjs +3 -0
  460. package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
  461. package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
  462. package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
  463. package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
  464. package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
  465. package/dist/lib/dist/lib/components/BarChart/index.mjs +2 -0
  466. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
  467. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  468. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  469. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  470. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  471. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  472. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  473. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  474. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  475. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  476. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  477. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  478. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  479. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  480. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  481. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
  482. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  483. package/dist/lib/dist/lib/components/BubbleChart/index.mjs +2 -0
  484. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  485. package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
  486. package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
  487. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs +3 -0
  488. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
  489. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
  490. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
  491. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs +3 -0
  492. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
  493. package/dist/lib/dist/lib/components/Callout/index.mjs +2 -0
  494. package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
  495. package/dist/lib/dist/lib/components/Card/index.mjs +3 -0
  496. package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
  497. package/dist/lib/dist/lib/components/Checkbox/index.mjs +3 -0
  498. package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
  499. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs +3 -0
  500. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
  501. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +3 -0
  502. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
  503. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
  504. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
  505. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs +2 -0
  506. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  507. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +3 -0
  508. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
  509. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs +3 -0
  510. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
  511. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
  512. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  513. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
  514. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
  515. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +3 -0
  516. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
  517. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +3 -0
  518. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
  519. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +3 -0
  520. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
  521. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +3 -0
  522. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
  523. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
  524. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
  525. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
  526. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  527. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +3 -0
  528. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
  529. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
  530. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
  531. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
  532. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  533. package/dist/lib/dist/lib/components/ContextMenu/index.mjs +2 -0
  534. package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  535. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs +3 -0
  536. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
  537. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs +3 -0
  538. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
  539. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs +3 -0
  540. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
  541. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs +3 -0
  542. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
  543. package/dist/lib/dist/lib/components/DataList/index.mjs +2 -0
  544. package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
  545. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
  546. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
  547. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs +3 -0
  548. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
  549. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs +3 -0
  550. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
  551. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs +3 -0
  552. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
  553. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
  554. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
  555. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs +3 -0
  556. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
  557. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs +3 -0
  558. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
  559. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
  560. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  561. package/dist/lib/dist/lib/components/Dialog/index.mjs +2 -0
  562. package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
  563. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs +2 -0
  564. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  565. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
  566. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  567. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +3 -0
  568. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
  569. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +3 -0
  570. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
  571. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +3 -0
  572. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
  573. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
  574. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
  575. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +3 -0
  576. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
  577. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +3 -0
  578. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
  579. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +3 -0
  580. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
  581. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
  582. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
  583. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
  584. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  585. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
  586. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  587. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
  588. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
  589. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +3 -0
  590. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
  591. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs +2 -0
  592. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  593. package/dist/lib/dist/lib/components/Editor/index.mjs +3 -0
  594. package/dist/lib/dist/lib/components/Editor/index.mjs.map +1 -0
  595. package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
  596. package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
  597. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +2 -0
  598. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
  599. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
  600. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
  601. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +2 -0
  602. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
  603. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
  604. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
  605. package/dist/lib/dist/lib/components/Gnb/index.mjs +2 -0
  606. package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
  607. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs +3 -0
  608. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
  609. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
  610. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
  611. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
  612. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  613. package/dist/lib/dist/lib/components/HoverCard/index.mjs +2 -0
  614. package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
  615. package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
  616. package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
  617. package/dist/lib/dist/lib/components/Inset/index.mjs +3 -0
  618. package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
  619. package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
  620. package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
  621. package/dist/lib/dist/lib/components/LineChart/index.mjs +2 -0
  622. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
  623. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
  624. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
  625. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs +3 -0
  626. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
  627. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
  628. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
  629. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs +3 -0
  630. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
  631. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
  632. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  633. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs +3 -0
  634. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
  635. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
  636. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
  637. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
  638. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
  639. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
  640. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  641. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
  642. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  643. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs +3 -0
  644. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
  645. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
  646. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
  647. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs +3 -0
  648. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
  649. package/dist/lib/dist/lib/components/Menubar/index.mjs +2 -0
  650. package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
  651. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
  652. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
  653. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
  654. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  655. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
  656. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  657. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
  658. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
  659. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
  660. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
  661. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
  662. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
  663. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
  664. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
  665. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +3 -0
  666. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
  667. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs +2 -0
  668. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  669. package/dist/lib/dist/lib/components/PieChart/index.mjs +2 -0
  670. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
  671. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs +3 -0
  672. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
  673. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs +3 -0
  674. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
  675. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
  676. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
  677. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
  678. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  679. package/dist/lib/dist/lib/components/Popover/index.mjs +2 -0
  680. package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
  681. package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
  682. package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
  683. package/dist/lib/dist/lib/components/RadarChart/index.mjs +2 -0
  684. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
  685. package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
  686. package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
  687. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs +3 -0
  688. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
  689. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
  690. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
  691. package/dist/lib/dist/lib/components/RadioCards/index.mjs +2 -0
  692. package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
  693. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs +3 -0
  694. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
  695. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
  696. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
  697. package/dist/lib/dist/lib/components/RadioGroup/index.mjs +2 -0
  698. package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  699. package/dist/lib/dist/lib/components/ScrollArea/index.mjs +3 -0
  700. package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
  701. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
  702. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  703. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
  704. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
  705. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs +2 -0
  706. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  707. package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
  708. package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
  709. package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
  710. package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
  711. package/dist/lib/dist/lib/components/Skeleton/index.mjs +3 -0
  712. package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
  713. package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
  714. package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
  715. package/dist/lib/dist/lib/components/Spinner/index.mjs +3 -0
  716. package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
  717. package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
  718. package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
  719. package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
  720. package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
  721. package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
  722. package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
  723. package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
  724. package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
  725. package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
  726. package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
  727. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
  728. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
  729. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
  730. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
  731. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
  732. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
  733. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
  734. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
  735. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs +2 -0
  736. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
  737. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
  738. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
  739. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
  740. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
  741. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs +2 -0
  742. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
  743. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs +2 -0
  744. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
  745. package/dist/lib/dist/lib/components/Timeline/index.mjs +2 -0
  746. package/dist/lib/dist/lib/components/Timeline/index.mjs.map +1 -0
  747. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
  748. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
  749. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs +3 -0
  750. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
  751. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs +3 -0
  752. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
  753. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs +3 -0
  754. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
  755. package/dist/lib/dist/lib/components/Toast/index.mjs +2 -0
  756. package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
  757. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
  758. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
  759. package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
  760. package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
  761. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
  762. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
  763. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
  764. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
  765. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs +2 -0
  766. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  767. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
  768. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
  769. package/dist/lib/dist/lib/components/Tooltip/index.mjs +3 -0
  770. package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
  771. package/dist/lib/dist/lib/constants.mjs +2 -0
  772. package/dist/lib/dist/lib/constants.mjs.map +1 -0
  773. package/dist/lib/dist/lib/index.mjs +2 -0
  774. package/dist/lib/dist/lib/index.mjs.map +1 -0
  775. package/dist/lib/dist/lib/theme/ThemeProvider.mjs +3 -0
  776. package/dist/lib/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  777. package/dist/lib/dist/lib/utils/useDarkMode.mjs +3 -0
  778. package/dist/lib/dist/lib/utils/useDarkMode.mjs.map +1 -0
  779. package/dist/lib/dist/lib/utils/utils.mjs +2 -0
  780. package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
  781. package/dist/lib/index.d.ts +1 -0
  782. package/dist/lib/index.js +1 -0
  783. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_default.mjs +2 -0
  784. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_default.mjs.map +1 -0
  785. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_wildcard.mjs +2 -0
  786. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_wildcard.mjs.map +1 -0
  787. package/dist/lib/node_modules/@toast-ui/editor/dist/esm/index.mjs +37 -0
  788. package/dist/lib/node_modules/@toast-ui/editor/dist/esm/index.mjs.map +1 -0
  789. package/dist/lib/node_modules/@toast-ui/editor/dist/toastui-editor-viewer.mjs +24 -0
  790. package/dist/lib/node_modules/@toast-ui/editor/dist/toastui-editor-viewer.mjs.map +1 -0
  791. package/dist/lib/node_modules/@toast-ui/editor-plugin-color-syntax/dist/toastui-editor-plugin-color-syntax.mjs +8 -0
  792. package/dist/lib/node_modules/@toast-ui/editor-plugin-color-syntax/dist/toastui-editor-plugin-color-syntax.mjs.map +1 -0
  793. package/dist/lib/node_modules/@toast-ui/react-editor/dist/esm/index.mjs +22 -0
  794. package/dist/lib/node_modules/@toast-ui/react-editor/dist/esm/index.mjs.map +1 -0
  795. package/dist/lib/node_modules/next/dist/client/add-base-path.mjs +2 -0
  796. package/dist/lib/node_modules/next/dist/client/add-base-path.mjs.map +1 -0
  797. package/dist/lib/node_modules/next/dist/client/add-locale.mjs +2 -0
  798. package/dist/lib/node_modules/next/dist/client/add-locale.mjs.map +1 -0
  799. package/dist/lib/node_modules/next/dist/client/components/action-async-storage.external.mjs +2 -0
  800. package/dist/lib/node_modules/next/dist/client/components/action-async-storage.external.mjs.map +1 -0
  801. package/dist/lib/node_modules/next/dist/client/components/async-local-storage.mjs +2 -0
  802. package/dist/lib/node_modules/next/dist/client/components/async-local-storage.mjs.map +1 -0
  803. package/dist/lib/node_modules/next/dist/client/components/bailout-to-client-rendering.mjs +2 -0
  804. package/dist/lib/node_modules/next/dist/client/components/bailout-to-client-rendering.mjs.map +1 -0
  805. package/dist/lib/node_modules/next/dist/client/components/client-hook-in-server-component-error.mjs +2 -0
  806. package/dist/lib/node_modules/next/dist/client/components/client-hook-in-server-component-error.mjs.map +1 -0
  807. package/dist/lib/node_modules/next/dist/client/components/navigation.mjs +2 -0
  808. package/dist/lib/node_modules/next/dist/client/components/navigation.mjs.map +1 -0
  809. package/dist/lib/node_modules/next/dist/client/components/not-found.mjs +2 -0
  810. package/dist/lib/node_modules/next/dist/client/components/not-found.mjs.map +1 -0
  811. package/dist/lib/node_modules/next/dist/client/components/redirect-status-code.mjs +2 -0
  812. package/dist/lib/node_modules/next/dist/client/components/redirect-status-code.mjs.map +1 -0
  813. package/dist/lib/node_modules/next/dist/client/components/redirect.mjs +2 -0
  814. package/dist/lib/node_modules/next/dist/client/components/redirect.mjs.map +1 -0
  815. package/dist/lib/node_modules/next/dist/client/components/request-async-storage.external.mjs +2 -0
  816. package/dist/lib/node_modules/next/dist/client/components/request-async-storage.external.mjs.map +1 -0
  817. package/dist/lib/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.mjs +2 -0
  818. package/dist/lib/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.mjs.map +1 -0
  819. package/dist/lib/node_modules/next/dist/client/components/router-reducer/router-reducer-types.mjs +2 -0
  820. package/dist/lib/node_modules/next/dist/client/components/router-reducer/router-reducer-types.mjs.map +1 -0
  821. package/dist/lib/node_modules/next/dist/client/components/static-generation-async-storage.external.mjs +2 -0
  822. package/dist/lib/node_modules/next/dist/client/components/static-generation-async-storage.external.mjs.map +1 -0
  823. package/dist/lib/node_modules/next/dist/client/detect-domain-locale.mjs +2 -0
  824. package/dist/lib/node_modules/next/dist/client/detect-domain-locale.mjs.map +1 -0
  825. package/dist/lib/node_modules/next/dist/client/get-domain-locale.mjs +2 -0
  826. package/dist/lib/node_modules/next/dist/client/get-domain-locale.mjs.map +1 -0
  827. package/dist/lib/node_modules/next/dist/client/has-base-path.mjs +2 -0
  828. package/dist/lib/node_modules/next/dist/client/has-base-path.mjs.map +1 -0
  829. package/dist/lib/node_modules/next/dist/client/image-component.mjs +2 -0
  830. package/dist/lib/node_modules/next/dist/client/image-component.mjs.map +1 -0
  831. package/dist/lib/node_modules/next/dist/client/link.mjs +2 -0
  832. package/dist/lib/node_modules/next/dist/client/link.mjs.map +1 -0
  833. package/dist/lib/node_modules/next/dist/client/normalize-locale-path.mjs +2 -0
  834. package/dist/lib/node_modules/next/dist/client/normalize-locale-path.mjs.map +1 -0
  835. package/dist/lib/node_modules/next/dist/client/normalize-trailing-slash.mjs +2 -0
  836. package/dist/lib/node_modules/next/dist/client/normalize-trailing-slash.mjs.map +1 -0
  837. package/dist/lib/node_modules/next/dist/client/request-idle-callback.mjs +2 -0
  838. package/dist/lib/node_modules/next/dist/client/request-idle-callback.mjs.map +1 -0
  839. package/dist/lib/node_modules/next/dist/client/resolve-href.mjs +2 -0
  840. package/dist/lib/node_modules/next/dist/client/resolve-href.mjs.map +1 -0
  841. package/dist/lib/node_modules/next/dist/client/use-intersection.mjs +2 -0
  842. package/dist/lib/node_modules/next/dist/client/use-intersection.mjs.map +1 -0
  843. package/dist/lib/node_modules/next/dist/compiled/micromatch/index.mjs +23 -0
  844. package/dist/lib/node_modules/next/dist/compiled/micromatch/index.mjs.map +1 -0
  845. package/dist/lib/node_modules/next/dist/server/future/helpers/interception-routes.mjs +2 -0
  846. package/dist/lib/node_modules/next/dist/server/future/helpers/interception-routes.mjs.map +1 -0
  847. package/dist/lib/node_modules/next/dist/shared/lib/amp-context.shared-runtime.mjs +2 -0
  848. package/dist/lib/node_modules/next/dist/shared/lib/amp-context.shared-runtime.mjs.map +1 -0
  849. package/dist/lib/node_modules/next/dist/shared/lib/amp-mode.mjs +2 -0
  850. package/dist/lib/node_modules/next/dist/shared/lib/amp-mode.mjs.map +1 -0
  851. package/dist/lib/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.mjs +2 -0
  852. package/dist/lib/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.mjs.map +1 -0
  853. package/dist/lib/node_modules/next/dist/shared/lib/escape-regexp.mjs +2 -0
  854. package/dist/lib/node_modules/next/dist/shared/lib/escape-regexp.mjs.map +1 -0
  855. package/dist/lib/node_modules/next/dist/shared/lib/get-img-props.mjs +2 -0
  856. package/dist/lib/node_modules/next/dist/shared/lib/get-img-props.mjs.map +1 -0
  857. package/dist/lib/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.mjs +2 -0
  858. package/dist/lib/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.mjs.map +1 -0
  859. package/dist/lib/node_modules/next/dist/shared/lib/head.mjs +2 -0
  860. package/dist/lib/node_modules/next/dist/shared/lib/head.mjs.map +1 -0
  861. package/dist/lib/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.mjs +2 -0
  862. package/dist/lib/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.mjs.map +1 -0
  863. package/dist/lib/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.mjs +2 -0
  864. package/dist/lib/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.mjs.map +1 -0
  865. package/dist/lib/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.mjs +2 -0
  866. package/dist/lib/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.mjs.map +1 -0
  867. package/dist/lib/node_modules/next/dist/shared/lib/image-blur-svg.mjs +2 -0
  868. package/dist/lib/node_modules/next/dist/shared/lib/image-blur-svg.mjs.map +1 -0
  869. package/dist/lib/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.mjs +2 -0
  870. package/dist/lib/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.mjs.map +1 -0
  871. package/dist/lib/node_modules/next/dist/shared/lib/image-config.mjs +2 -0
  872. package/dist/lib/node_modules/next/dist/shared/lib/image-config.mjs.map +1 -0
  873. package/dist/lib/node_modules/next/dist/shared/lib/image-external.mjs +2 -0
  874. package/dist/lib/node_modules/next/dist/shared/lib/image-external.mjs.map +1 -0
  875. package/dist/lib/node_modules/next/dist/shared/lib/image-loader.mjs +2 -0
  876. package/dist/lib/node_modules/next/dist/shared/lib/image-loader.mjs.map +1 -0
  877. package/dist/lib/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.mjs +2 -0
  878. package/dist/lib/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.mjs.map +1 -0
  879. package/dist/lib/node_modules/next/dist/shared/lib/match-remote-pattern.mjs +2 -0
  880. package/dist/lib/node_modules/next/dist/shared/lib/match-remote-pattern.mjs.map +1 -0
  881. package/dist/lib/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.mjs +2 -0
  882. package/dist/lib/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.mjs.map +1 -0
  883. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/add-locale.mjs +2 -0
  884. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/add-locale.mjs.map +1 -0
  885. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.mjs +2 -0
  886. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.mjs.map +1 -0
  887. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/app-paths.mjs +2 -0
  888. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/app-paths.mjs.map +1 -0
  889. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/format-url.mjs +2 -0
  890. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/format-url.mjs.map +1 -0
  891. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/index.mjs +2 -0
  892. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/index.mjs.map +1 -0
  893. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/interpolate-as.mjs +2 -0
  894. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/interpolate-as.mjs.map +1 -0
  895. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/is-dynamic.mjs +2 -0
  896. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/is-dynamic.mjs.map +1 -0
  897. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/is-local-url.mjs +2 -0
  898. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/is-local-url.mjs.map +1 -0
  899. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/omit.mjs +2 -0
  900. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/omit.mjs.map +1 -0
  901. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/parse-path.mjs +2 -0
  902. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/parse-path.mjs.map +1 -0
  903. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.mjs +2 -0
  904. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.mjs.map +1 -0
  905. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/querystring.mjs +2 -0
  906. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/querystring.mjs.map +1 -0
  907. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.mjs +2 -0
  908. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.mjs.map +1 -0
  909. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/route-matcher.mjs +2 -0
  910. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/route-matcher.mjs.map +1 -0
  911. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/route-regex.mjs +2 -0
  912. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/route-regex.mjs.map +1 -0
  913. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/sorted-routes.mjs +2 -0
  914. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/sorted-routes.mjs.map +1 -0
  915. package/dist/lib/node_modules/next/dist/shared/lib/router-context.shared-runtime.mjs +2 -0
  916. package/dist/lib/node_modules/next/dist/shared/lib/router-context.shared-runtime.mjs.map +1 -0
  917. package/dist/lib/node_modules/next/dist/shared/lib/segment.mjs +2 -0
  918. package/dist/lib/node_modules/next/dist/shared/lib/segment.mjs.map +1 -0
  919. package/dist/lib/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.mjs +2 -0
  920. package/dist/lib/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.mjs.map +1 -0
  921. package/dist/lib/node_modules/next/dist/shared/lib/side-effect.mjs +2 -0
  922. package/dist/lib/node_modules/next/dist/shared/lib/side-effect.mjs.map +1 -0
  923. package/dist/lib/node_modules/next/dist/shared/lib/utils/warn-once.mjs +2 -0
  924. package/dist/lib/node_modules/next/dist/shared/lib/utils/warn-once.mjs.map +1 -0
  925. package/dist/lib/node_modules/next/dist/shared/lib/utils.mjs +2 -0
  926. package/dist/lib/node_modules/next/dist/shared/lib/utils.mjs.map +1 -0
  927. package/dist/lib/node_modules/next/image.mjs +2 -0
  928. package/dist/lib/node_modules/next/image.mjs.map +1 -0
  929. package/dist/lib/node_modules/next/link.mjs +2 -0
  930. package/dist/lib/node_modules/next/link.mjs.map +1 -0
  931. package/dist/lib/node_modules/next/navigation.mjs +2 -0
  932. package/dist/lib/node_modules/next/navigation.mjs.map +1 -0
  933. package/dist/lib/node_modules/orderedmap/dist/index.mjs +2 -0
  934. package/dist/lib/node_modules/orderedmap/dist/index.mjs.map +1 -0
  935. package/dist/lib/node_modules/orderedmap/dist/index2.mjs +2 -0
  936. package/dist/lib/node_modules/orderedmap/dist/index2.mjs.map +1 -0
  937. package/dist/lib/node_modules/prosemirror-commands/dist/index.mjs +2 -0
  938. package/dist/lib/node_modules/prosemirror-commands/dist/index.mjs.map +1 -0
  939. package/dist/lib/node_modules/prosemirror-history/dist/index.mjs +2 -0
  940. package/dist/lib/node_modules/prosemirror-history/dist/index.mjs.map +1 -0
  941. package/dist/lib/node_modules/prosemirror-inputrules/dist/index.mjs +2 -0
  942. package/dist/lib/node_modules/prosemirror-inputrules/dist/index.mjs.map +1 -0
  943. package/dist/lib/node_modules/prosemirror-inputrules/dist/index2.mjs +2 -0
  944. package/dist/lib/node_modules/prosemirror-inputrules/dist/index2.mjs.map +1 -0
  945. package/dist/lib/node_modules/prosemirror-keymap/dist/index.mjs +2 -0
  946. package/dist/lib/node_modules/prosemirror-keymap/dist/index.mjs.map +1 -0
  947. package/dist/lib/node_modules/prosemirror-keymap/dist/index2.mjs +2 -0
  948. package/dist/lib/node_modules/prosemirror-keymap/dist/index2.mjs.map +1 -0
  949. package/dist/lib/node_modules/prosemirror-model/dist/index.mjs +2 -0
  950. package/dist/lib/node_modules/prosemirror-model/dist/index.mjs.map +1 -0
  951. package/dist/lib/node_modules/prosemirror-model/dist/index2.mjs +2 -0
  952. package/dist/lib/node_modules/prosemirror-model/dist/index2.mjs.map +1 -0
  953. package/dist/lib/node_modules/prosemirror-state/dist/index.mjs +2 -0
  954. package/dist/lib/node_modules/prosemirror-state/dist/index.mjs.map +1 -0
  955. package/dist/lib/node_modules/prosemirror-state/dist/index2.mjs +2 -0
  956. package/dist/lib/node_modules/prosemirror-state/dist/index2.mjs.map +1 -0
  957. package/dist/lib/node_modules/prosemirror-transform/dist/index.mjs +2 -0
  958. package/dist/lib/node_modules/prosemirror-transform/dist/index.mjs.map +1 -0
  959. package/dist/lib/node_modules/prosemirror-transform/dist/index2.mjs +2 -0
  960. package/dist/lib/node_modules/prosemirror-transform/dist/index2.mjs.map +1 -0
  961. package/dist/lib/node_modules/prosemirror-view/dist/index.mjs +2 -0
  962. package/dist/lib/node_modules/prosemirror-view/dist/index.mjs.map +1 -0
  963. package/dist/lib/node_modules/prosemirror-view/dist/index2.mjs +2 -0
  964. package/dist/lib/node_modules/prosemirror-view/dist/index2.mjs.map +1 -0
  965. package/dist/lib/node_modules/rope-sequence/dist/index.mjs +2 -0
  966. package/dist/lib/node_modules/rope-sequence/dist/index.mjs.map +1 -0
  967. package/dist/lib/node_modules/tui-color-picker/dist/tui-color-picker.mjs +10 -0
  968. package/dist/lib/node_modules/tui-color-picker/dist/tui-color-picker.mjs.map +1 -0
  969. package/dist/lib/node_modules/w3c-keyname/index.mjs +2 -0
  970. package/dist/lib/node_modules/w3c-keyname/index.mjs.map +1 -0
  971. package/dist/lib/node_modules/w3c-keyname/index2.mjs +2 -0
  972. package/dist/lib/node_modules/w3c-keyname/index2.mjs.map +1 -0
  973. package/dist/lib/tailwind.config.d.ts +3 -0
  974. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  975. package/dist/lib/theme/ThemeProvider.js +29 -0
  976. package/dist/lib/theme/index.d.ts +2 -0
  977. package/dist/lib/theme/index.js +2 -0
  978. package/dist/lib/tsconfig.tsbuildinfo +1 -0
  979. package/dist/lib/types.d.ts +8 -0
  980. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  981. package/dist/lib/utils/classPrefixes.js +26 -0
  982. package/dist/lib/utils/useDarkMode.js +1 -0
  983. package/dist/tailwind.config.js +14 -37
  984. package/dist/tsconfig.tsbuildinfo +1 -1
  985. package/package.json +145 -133
  986. package/dist/_virtual/_commonjsHelpers.js +0 -2
  987. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  988. package/dist/_virtual/index.js +0 -2
  989. package/dist/_virtual/index.js.map +0 -1
  990. package/dist/_virtual/index2.js +0 -2
  991. package/dist/_virtual/index2.js.map +0 -1
  992. package/dist/_virtual/jsx-runtime.js +0 -2
  993. package/dist/_virtual/jsx-runtime.js.map +0 -1
  994. package/dist/_virtual/jsx-runtime2.js +0 -2
  995. package/dist/_virtual/jsx-runtime2.js.map +0 -1
  996. package/dist/_virtual/react-jsx-runtime.development.js +0 -2
  997. package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
  998. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -2
  999. package/dist/_virtual/react-jsx-runtime.production.min.js.map +0 -1
  1000. package/dist/dist/lib/Typography/Header/index.js +0 -2
  1001. package/dist/dist/lib/Typography/Header/index.js.map +0 -1
  1002. package/dist/dist/lib/Typography/Text/index.js +0 -2
  1003. package/dist/dist/lib/Typography/Text/index.js.map +0 -1
  1004. package/dist/dist/lib/color/alpha.js +0 -2
  1005. package/dist/dist/lib/color/alpha.js.map +0 -1
  1006. package/dist/dist/lib/color/constants.js +0 -2
  1007. package/dist/dist/lib/color/constants.js.map +0 -1
  1008. package/dist/dist/lib/color/light.js +0 -2
  1009. package/dist/dist/lib/color/light.js.map +0 -1
  1010. package/dist/dist/lib/components/Accordion/index.js +0 -2
  1011. package/dist/dist/lib/components/Accordion/index.js.map +0 -1
  1012. package/dist/dist/lib/components/AlertDialog/AlertDialogAction.js +0 -2
  1013. package/dist/dist/lib/components/AlertDialog/AlertDialogAction.js.map +0 -1
  1014. package/dist/dist/lib/components/AlertDialog/AlertDialogCancel.js +0 -2
  1015. package/dist/dist/lib/components/AlertDialog/AlertDialogCancel.js.map +0 -1
  1016. package/dist/dist/lib/components/AlertDialog/AlertDialogContent.js +0 -2
  1017. package/dist/dist/lib/components/AlertDialog/AlertDialogContent.js.map +0 -1
  1018. package/dist/dist/lib/components/AlertDialog/AlertDialogDescription.js +0 -2
  1019. package/dist/dist/lib/components/AlertDialog/AlertDialogDescription.js.map +0 -1
  1020. package/dist/dist/lib/components/AlertDialog/AlertDialogRoot.js +0 -2
  1021. package/dist/dist/lib/components/AlertDialog/AlertDialogRoot.js.map +0 -1
  1022. package/dist/dist/lib/components/AlertDialog/AlertDialogTitle.js +0 -2
  1023. package/dist/dist/lib/components/AlertDialog/AlertDialogTitle.js.map +0 -1
  1024. package/dist/dist/lib/components/AlertDialog/AlertDialogTrigger.js +0 -2
  1025. package/dist/dist/lib/components/AlertDialog/AlertDialogTrigger.js.map +0 -1
  1026. package/dist/dist/lib/components/AlertDialog/index.js +0 -2
  1027. package/dist/dist/lib/components/AlertDialog/index.js.map +0 -1
  1028. package/dist/dist/lib/components/AspectRatio/index.js +0 -2
  1029. package/dist/dist/lib/components/AspectRatio/index.js.map +0 -1
  1030. package/dist/dist/lib/components/Avatar/index.js +0 -2
  1031. package/dist/dist/lib/components/Avatar/index.js.map +0 -1
  1032. package/dist/dist/lib/components/Badge/index.js +0 -2
  1033. package/dist/dist/lib/components/Badge/index.js.map +0 -1
  1034. package/dist/dist/lib/components/BarChart/index.js +0 -2
  1035. package/dist/dist/lib/components/BarChart/index.js.map +0 -1
  1036. package/dist/dist/lib/components/BubbleChart/index.js +0 -2
  1037. package/dist/dist/lib/components/BubbleChart/index.js.map +0 -1
  1038. package/dist/dist/lib/components/Button/index.js +0 -2
  1039. package/dist/dist/lib/components/Button/index.js.map +0 -1
  1040. package/dist/dist/lib/components/Callout/CalloutIcon.js +0 -2
  1041. package/dist/dist/lib/components/Callout/CalloutIcon.js.map +0 -1
  1042. package/dist/dist/lib/components/Callout/CalloutRoot.js +0 -2
  1043. package/dist/dist/lib/components/Callout/CalloutRoot.js.map +0 -1
  1044. package/dist/dist/lib/components/Callout/CalloutText.js +0 -2
  1045. package/dist/dist/lib/components/Callout/CalloutText.js.map +0 -1
  1046. package/dist/dist/lib/components/Callout/index.js +0 -2
  1047. package/dist/dist/lib/components/Callout/index.js.map +0 -1
  1048. package/dist/dist/lib/components/Card/index.js +0 -2
  1049. package/dist/dist/lib/components/Card/index.js.map +0 -1
  1050. package/dist/dist/lib/components/Checkbox/index.js +0 -2
  1051. package/dist/dist/lib/components/Checkbox/index.js.map +0 -1
  1052. package/dist/dist/lib/components/CheckboxCard/index.js +0 -2
  1053. package/dist/dist/lib/components/CheckboxCard/index.js.map +0 -1
  1054. package/dist/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +0 -2
  1055. package/dist/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js.map +0 -1
  1056. package/dist/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +0 -2
  1057. package/dist/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js.map +0 -1
  1058. package/dist/dist/lib/components/CheckboxGroup/index.js +0 -2
  1059. package/dist/dist/lib/components/CheckboxGroup/index.js.map +0 -1
  1060. package/dist/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +0 -2
  1061. package/dist/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js.map +0 -1
  1062. package/dist/dist/lib/components/ContextMenu/ContextMenuContent.js +0 -2
  1063. package/dist/dist/lib/components/ContextMenu/ContextMenuContent.js.map +0 -1
  1064. package/dist/dist/lib/components/ContextMenu/ContextMenuGroup.js +0 -2
  1065. package/dist/dist/lib/components/ContextMenu/ContextMenuGroup.js.map +0 -1
  1066. package/dist/dist/lib/components/ContextMenu/ContextMenuItem.js +0 -2
  1067. package/dist/dist/lib/components/ContextMenu/ContextMenuItem.js.map +0 -1
  1068. package/dist/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +0 -2
  1069. package/dist/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js.map +0 -1
  1070. package/dist/dist/lib/components/ContextMenu/ContextMenuLabel.js +0 -2
  1071. package/dist/dist/lib/components/ContextMenu/ContextMenuLabel.js.map +0 -1
  1072. package/dist/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +0 -2
  1073. package/dist/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js.map +0 -1
  1074. package/dist/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +0 -2
  1075. package/dist/dist/lib/components/ContextMenu/ContextMenuRadioItem.js.map +0 -1
  1076. package/dist/dist/lib/components/ContextMenu/ContextMenuRoot.js +0 -2
  1077. package/dist/dist/lib/components/ContextMenu/ContextMenuRoot.js.map +0 -1
  1078. package/dist/dist/lib/components/ContextMenu/ContextMenuSeparator.js +0 -2
  1079. package/dist/dist/lib/components/ContextMenu/ContextMenuSeparator.js.map +0 -1
  1080. package/dist/dist/lib/components/ContextMenu/ContextMenuSubContent.js +0 -2
  1081. package/dist/dist/lib/components/ContextMenu/ContextMenuSubContent.js.map +0 -1
  1082. package/dist/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +0 -2
  1083. package/dist/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js.map +0 -1
  1084. package/dist/dist/lib/components/ContextMenu/ContextMenuTrigger.js +0 -2
  1085. package/dist/dist/lib/components/ContextMenu/ContextMenuTrigger.js.map +0 -1
  1086. package/dist/dist/lib/components/ContextMenu/index.js +0 -2
  1087. package/dist/dist/lib/components/ContextMenu/index.js.map +0 -1
  1088. package/dist/dist/lib/components/DataList/DataListItem.js +0 -2
  1089. package/dist/dist/lib/components/DataList/DataListItem.js.map +0 -1
  1090. package/dist/dist/lib/components/DataList/DataListLabel.js +0 -2
  1091. package/dist/dist/lib/components/DataList/DataListLabel.js.map +0 -1
  1092. package/dist/dist/lib/components/DataList/DataListRoot.js +0 -2
  1093. package/dist/dist/lib/components/DataList/DataListRoot.js.map +0 -1
  1094. package/dist/dist/lib/components/DataList/DataListValue.js +0 -2
  1095. package/dist/dist/lib/components/DataList/DataListValue.js.map +0 -1
  1096. package/dist/dist/lib/components/DataList/index.js +0 -2
  1097. package/dist/dist/lib/components/DataList/index.js.map +0 -1
  1098. package/dist/dist/lib/components/Dialog/DialogAction.js +0 -2
  1099. package/dist/dist/lib/components/Dialog/DialogAction.js.map +0 -1
  1100. package/dist/dist/lib/components/Dialog/DialogCancel.js +0 -2
  1101. package/dist/dist/lib/components/Dialog/DialogCancel.js.map +0 -1
  1102. package/dist/dist/lib/components/Dialog/DialogContent.js +0 -2
  1103. package/dist/dist/lib/components/Dialog/DialogContent.js.map +0 -1
  1104. package/dist/dist/lib/components/Dialog/DialogDescription.js +0 -2
  1105. package/dist/dist/lib/components/Dialog/DialogDescription.js.map +0 -1
  1106. package/dist/dist/lib/components/Dialog/DialogRoot.js +0 -2
  1107. package/dist/dist/lib/components/Dialog/DialogRoot.js.map +0 -1
  1108. package/dist/dist/lib/components/Dialog/DialogSlot.js +0 -2
  1109. package/dist/dist/lib/components/Dialog/DialogSlot.js.map +0 -1
  1110. package/dist/dist/lib/components/Dialog/DialogTitle.js +0 -2
  1111. package/dist/dist/lib/components/Dialog/DialogTitle.js.map +0 -1
  1112. package/dist/dist/lib/components/Dialog/DialogTrigger.js +0 -2
  1113. package/dist/dist/lib/components/Dialog/DialogTrigger.js.map +0 -1
  1114. package/dist/dist/lib/components/Dialog/index.js +0 -2
  1115. package/dist/dist/lib/components/Dialog/index.js.map +0 -1
  1116. package/dist/dist/lib/components/DoughnutChart/index.js +0 -2
  1117. package/dist/dist/lib/components/DoughnutChart/index.js.map +0 -1
  1118. package/dist/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -2
  1119. package/dist/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js.map +0 -1
  1120. package/dist/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +0 -2
  1121. package/dist/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js.map +0 -1
  1122. package/dist/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +0 -2
  1123. package/dist/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js.map +0 -1
  1124. package/dist/dist/lib/components/DropdownMenu/DropdownMenuContent.js +0 -2
  1125. package/dist/dist/lib/components/DropdownMenu/DropdownMenuContent.js.map +0 -1
  1126. package/dist/dist/lib/components/DropdownMenu/DropdownMenuItem.js +0 -2
  1127. package/dist/dist/lib/components/DropdownMenu/DropdownMenuItem.js.map +0 -1
  1128. package/dist/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +0 -2
  1129. package/dist/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js.map +0 -1
  1130. package/dist/dist/lib/components/DropdownMenu/DropdownMenuLable.js +0 -2
  1131. package/dist/dist/lib/components/DropdownMenu/DropdownMenuLable.js.map +0 -1
  1132. package/dist/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +0 -2
  1133. package/dist/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js.map +0 -1
  1134. package/dist/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +0 -2
  1135. package/dist/dist/lib/components/DropdownMenu/DropdownMenuRoot.js.map +0 -1
  1136. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +0 -2
  1137. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js.map +0 -1
  1138. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSub.js +0 -2
  1139. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSub.js.map +0 -1
  1140. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +0 -2
  1141. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js.map +0 -1
  1142. package/dist/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +0 -2
  1143. package/dist/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js.map +0 -1
  1144. package/dist/dist/lib/components/DropdownMenu/index.js +0 -2
  1145. package/dist/dist/lib/components/DropdownMenu/index.js.map +0 -1
  1146. package/dist/dist/lib/components/HoverCard/HoverCardContent.js +0 -2
  1147. package/dist/dist/lib/components/HoverCard/HoverCardContent.js.map +0 -1
  1148. package/dist/dist/lib/components/HoverCard/HoverCardRoot.js +0 -2
  1149. package/dist/dist/lib/components/HoverCard/HoverCardRoot.js.map +0 -1
  1150. package/dist/dist/lib/components/HoverCard/HoverCardTrigger.js +0 -2
  1151. package/dist/dist/lib/components/HoverCard/HoverCardTrigger.js.map +0 -1
  1152. package/dist/dist/lib/components/HoverCard/index.js +0 -2
  1153. package/dist/dist/lib/components/HoverCard/index.js.map +0 -1
  1154. package/dist/dist/lib/components/IconButton/index.js +0 -2
  1155. package/dist/dist/lib/components/IconButton/index.js.map +0 -1
  1156. package/dist/dist/lib/components/Inset/index.js +0 -2
  1157. package/dist/dist/lib/components/Inset/index.js.map +0 -1
  1158. package/dist/dist/lib/components/Label/index.js +0 -2
  1159. package/dist/dist/lib/components/Label/index.js.map +0 -1
  1160. package/dist/dist/lib/components/LineChart/index.js +0 -2
  1161. package/dist/dist/lib/components/LineChart/index.js.map +0 -1
  1162. package/dist/dist/lib/components/Menubar/MenubarCheckboxItem.js +0 -2
  1163. package/dist/dist/lib/components/Menubar/MenubarCheckboxItem.js.map +0 -1
  1164. package/dist/dist/lib/components/Menubar/MenubarContent.js +0 -2
  1165. package/dist/dist/lib/components/Menubar/MenubarContent.js.map +0 -1
  1166. package/dist/dist/lib/components/Menubar/MenubarItem.js +0 -2
  1167. package/dist/dist/lib/components/Menubar/MenubarItem.js.map +0 -1
  1168. package/dist/dist/lib/components/Menubar/MenubarItemIndicator.js +0 -2
  1169. package/dist/dist/lib/components/Menubar/MenubarItemIndicator.js.map +0 -1
  1170. package/dist/dist/lib/components/Menubar/MenubarMenu.js +0 -2
  1171. package/dist/dist/lib/components/Menubar/MenubarMenu.js.map +0 -1
  1172. package/dist/dist/lib/components/Menubar/MenubarRadioGroup.js +0 -2
  1173. package/dist/dist/lib/components/Menubar/MenubarRadioGroup.js.map +0 -1
  1174. package/dist/dist/lib/components/Menubar/MenubarRadioItem.js +0 -2
  1175. package/dist/dist/lib/components/Menubar/MenubarRadioItem.js.map +0 -1
  1176. package/dist/dist/lib/components/Menubar/MenubarRoot.js +0 -2
  1177. package/dist/dist/lib/components/Menubar/MenubarRoot.js.map +0 -1
  1178. package/dist/dist/lib/components/Menubar/MenubarSeparator.js +0 -2
  1179. package/dist/dist/lib/components/Menubar/MenubarSeparator.js.map +0 -1
  1180. package/dist/dist/lib/components/Menubar/MenubarSub.js +0 -2
  1181. package/dist/dist/lib/components/Menubar/MenubarSub.js.map +0 -1
  1182. package/dist/dist/lib/components/Menubar/MenubarSubContent.js +0 -2
  1183. package/dist/dist/lib/components/Menubar/MenubarSubContent.js.map +0 -1
  1184. package/dist/dist/lib/components/Menubar/MenubarSubTrigger.js +0 -2
  1185. package/dist/dist/lib/components/Menubar/MenubarSubTrigger.js.map +0 -1
  1186. package/dist/dist/lib/components/Menubar/MenubarTrigger.js +0 -2
  1187. package/dist/dist/lib/components/Menubar/MenubarTrigger.js.map +0 -1
  1188. package/dist/dist/lib/components/Menubar/index.js +0 -2
  1189. package/dist/dist/lib/components/Menubar/index.js.map +0 -1
  1190. package/dist/dist/lib/components/NavigationMenu/NavigationMenuContent.js +0 -2
  1191. package/dist/dist/lib/components/NavigationMenu/NavigationMenuContent.js.map +0 -1
  1192. package/dist/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +0 -2
  1193. package/dist/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js.map +0 -1
  1194. package/dist/dist/lib/components/NavigationMenu/NavigationMenuItem.js +0 -2
  1195. package/dist/dist/lib/components/NavigationMenu/NavigationMenuItem.js.map +0 -1
  1196. package/dist/dist/lib/components/NavigationMenu/NavigationMenuLink.js +0 -2
  1197. package/dist/dist/lib/components/NavigationMenu/NavigationMenuLink.js.map +0 -1
  1198. package/dist/dist/lib/components/NavigationMenu/NavigationMenuList.js +0 -2
  1199. package/dist/dist/lib/components/NavigationMenu/NavigationMenuList.js.map +0 -1
  1200. package/dist/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +0 -2
  1201. package/dist/dist/lib/components/NavigationMenu/NavigationMenuRoot.js.map +0 -1
  1202. package/dist/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +0 -2
  1203. package/dist/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js.map +0 -1
  1204. package/dist/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +0 -2
  1205. package/dist/dist/lib/components/NavigationMenu/NavigationMenuViewport.js.map +0 -1
  1206. package/dist/dist/lib/components/NavigationMenu/index.js +0 -2
  1207. package/dist/dist/lib/components/NavigationMenu/index.js.map +0 -1
  1208. package/dist/dist/lib/components/PieChart/index.js +0 -2
  1209. package/dist/dist/lib/components/PieChart/index.js.map +0 -1
  1210. package/dist/dist/lib/components/Popover/PopoverClose.js +0 -2
  1211. package/dist/dist/lib/components/Popover/PopoverClose.js.map +0 -1
  1212. package/dist/dist/lib/components/Popover/PopoverContent.js +0 -2
  1213. package/dist/dist/lib/components/Popover/PopoverContent.js.map +0 -1
  1214. package/dist/dist/lib/components/Popover/PopoverRoot.js +0 -2
  1215. package/dist/dist/lib/components/Popover/PopoverRoot.js.map +0 -1
  1216. package/dist/dist/lib/components/Popover/PopoverTrigger.js +0 -2
  1217. package/dist/dist/lib/components/Popover/PopoverTrigger.js.map +0 -1
  1218. package/dist/dist/lib/components/Popover/index.js +0 -2
  1219. package/dist/dist/lib/components/Popover/index.js.map +0 -1
  1220. package/dist/dist/lib/components/Progress/index.js +0 -2
  1221. package/dist/dist/lib/components/Progress/index.js.map +0 -1
  1222. package/dist/dist/lib/components/RadarChart/index.js +0 -2
  1223. package/dist/dist/lib/components/RadarChart/index.js.map +0 -1
  1224. package/dist/dist/lib/components/Radio/index.js +0 -2
  1225. package/dist/dist/lib/components/Radio/index.js.map +0 -1
  1226. package/dist/dist/lib/components/RadioCards/RadioCardsItem.js +0 -2
  1227. package/dist/dist/lib/components/RadioCards/RadioCardsItem.js.map +0 -1
  1228. package/dist/dist/lib/components/RadioCards/RadioCardsRoot.js +0 -2
  1229. package/dist/dist/lib/components/RadioCards/RadioCardsRoot.js.map +0 -1
  1230. package/dist/dist/lib/components/RadioCards/index.js +0 -2
  1231. package/dist/dist/lib/components/RadioCards/index.js.map +0 -1
  1232. package/dist/dist/lib/components/RadioGroup/RadioGroupItem.js +0 -2
  1233. package/dist/dist/lib/components/RadioGroup/RadioGroupItem.js.map +0 -1
  1234. package/dist/dist/lib/components/RadioGroup/RadioGroupRoot.js +0 -2
  1235. package/dist/dist/lib/components/RadioGroup/RadioGroupRoot.js.map +0 -1
  1236. package/dist/dist/lib/components/RadioGroup/index.js +0 -2
  1237. package/dist/dist/lib/components/RadioGroup/index.js.map +0 -1
  1238. package/dist/dist/lib/components/ScrollArea/index.js +0 -2
  1239. package/dist/dist/lib/components/ScrollArea/index.js.map +0 -1
  1240. package/dist/dist/lib/components/SegmentedControl/SegmentedControlItem.js +0 -2
  1241. package/dist/dist/lib/components/SegmentedControl/SegmentedControlItem.js.map +0 -1
  1242. package/dist/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +0 -2
  1243. package/dist/dist/lib/components/SegmentedControl/SegmentedControlRoot.js.map +0 -1
  1244. package/dist/dist/lib/components/SegmentedControl/index.js +0 -2
  1245. package/dist/dist/lib/components/SegmentedControl/index.js.map +0 -1
  1246. package/dist/dist/lib/components/Select/index.js +0 -2
  1247. package/dist/dist/lib/components/Select/index.js.map +0 -1
  1248. package/dist/dist/lib/components/Separator/index.js +0 -2
  1249. package/dist/dist/lib/components/Separator/index.js.map +0 -1
  1250. package/dist/dist/lib/components/Skeleton/index.js +0 -2
  1251. package/dist/dist/lib/components/Skeleton/index.js.map +0 -1
  1252. package/dist/dist/lib/components/Slider/index.js +0 -2
  1253. package/dist/dist/lib/components/Slider/index.js.map +0 -1
  1254. package/dist/dist/lib/components/Spinner/index.js +0 -2
  1255. package/dist/dist/lib/components/Spinner/index.js.map +0 -1
  1256. package/dist/dist/lib/components/TabNav/index.js +0 -2
  1257. package/dist/dist/lib/components/TabNav/index.js.map +0 -1
  1258. package/dist/dist/lib/components/Table/index.js +0 -2
  1259. package/dist/dist/lib/components/Table/index.js.map +0 -1
  1260. package/dist/dist/lib/components/Tabs/index.js +0 -2
  1261. package/dist/dist/lib/components/Tabs/index.js.map +0 -1
  1262. package/dist/dist/lib/components/TextArea/index.js +0 -2
  1263. package/dist/dist/lib/components/TextArea/index.js.map +0 -1
  1264. package/dist/dist/lib/components/TextField/index.js +0 -2
  1265. package/dist/dist/lib/components/TextField/index.js.map +0 -1
  1266. package/dist/dist/lib/components/Toast/ToastActionButton.js +0 -2
  1267. package/dist/dist/lib/components/Toast/ToastActionButton.js.map +0 -1
  1268. package/dist/dist/lib/components/Toast/ToastDescription.js +0 -2
  1269. package/dist/dist/lib/components/Toast/ToastDescription.js.map +0 -1
  1270. package/dist/dist/lib/components/Toast/ToastRoot.js +0 -2
  1271. package/dist/dist/lib/components/Toast/ToastRoot.js.map +0 -1
  1272. package/dist/dist/lib/components/Toast/ToastTitle.js +0 -2
  1273. package/dist/dist/lib/components/Toast/ToastTitle.js.map +0 -1
  1274. package/dist/dist/lib/components/Toast/index.js +0 -2
  1275. package/dist/dist/lib/components/Toast/index.js.map +0 -1
  1276. package/dist/dist/lib/components/Toggle/ToggleWithText.js +0 -2
  1277. package/dist/dist/lib/components/Toggle/ToggleWithText.js.map +0 -1
  1278. package/dist/dist/lib/components/Toggle/index.js +0 -2
  1279. package/dist/dist/lib/components/Toggle/index.js.map +0 -1
  1280. package/dist/dist/lib/components/ToggleGroup/ToggleGroupItem.js +0 -2
  1281. package/dist/dist/lib/components/ToggleGroup/ToggleGroupItem.js.map +0 -1
  1282. package/dist/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +0 -2
  1283. package/dist/dist/lib/components/ToggleGroup/ToggleGroupRoot.js.map +0 -1
  1284. package/dist/dist/lib/components/ToggleGroup/index.js +0 -2
  1285. package/dist/dist/lib/components/ToggleGroup/index.js.map +0 -1
  1286. package/dist/dist/lib/components/ToggleSwitch/index.js +0 -2
  1287. package/dist/dist/lib/components/ToggleSwitch/index.js.map +0 -1
  1288. package/dist/dist/lib/components/Tooltip/index.js +0 -2
  1289. package/dist/dist/lib/components/Tooltip/index.js.map +0 -1
  1290. package/dist/dist/lib/constants.js +0 -2
  1291. package/dist/dist/lib/constants.js.map +0 -1
  1292. package/dist/dist/lib/index.js +0 -2
  1293. package/dist/dist/lib/index.js.map +0 -1
  1294. package/dist/dist/lib/utils/useDarkMode.js +0 -2
  1295. package/dist/dist/lib/utils/useDarkMode.js.map +0 -1
  1296. package/dist/dist/lib/utils/utils.js +0 -2
  1297. package/dist/dist/lib/utils/utils.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ import{__exports as e}from"../../../_virtual/index4.mjs";import{__require as t}from"../../prosemirror-state/dist/index.mjs";import{__require as n}from"../../prosemirror-model/dist/index.mjs";import{__require as o}from"../../prosemirror-transform/dist/index2.mjs";var r;function i(){if(r)return e;function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(l=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function a(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},c.apply(this,arguments)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=p(e);if(t){var r=p(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}(this,n)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==v(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!==v(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r,"string"),"symbol"===v(i)?i:String(i)),o)}var r,i}function y(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}r=1;var b=t(),k=n(),w=o(),S=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},D=function(e){var t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t},N=null,O=function(e,t,n){var o=N||(N=document.createRange());return o.setEnd(e,null==n?e.nodeValue.length:n),o.setStart(e,t||0),o},C=function(e,t,n,o){return n&&(M(e,t,n,o,-1)||M(e,t,n,o,1))},x=/^(img|br|input|textarea|hr)$/i;function M(e,t,n,o,r){for(;;){if(e==n&&t==o)return!0;if(t==(r<0?0:T(e))){var i=e.parentNode;if(!i||1!=i.nodeType||P(e)||x.test(e.nodeName)||"false"==e.contentEditable)return!1;t=S(e)+(r<0?0:1),e=i}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(r<0?-1:0)]).contentEditable)return!1;t=r<0?T(e):0}}}function T(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function P(e){for(var t,n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}var E=function(e){return e.focusNode&&C(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function A(e,t){var n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}var V="undefined"!=typeof navigator?navigator:null,R="undefined"!=typeof document?document:null,B=V&&V.userAgent||"",z=/Edge\/(\d+)/.exec(B),I=/MSIE \d/.exec(B),F=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(B),L=!!(I||F||z),q=I?document.documentMode:F?+F[1]:z?+z[1]:0,_=!L&&/gecko\/(\d+)/i.test(B);_&&(/Firefox\/(\d+)/.exec(B)||[0,0])[1];var K=!L&&/Chrome\/(\d+)/.exec(B),$=!!K,W=K?+K[1]:0,j=!L&&!!V&&/Apple Computer/.test(V.vendor),H=j&&(/Mobile\/\w+/.test(B)||!!V&&V.maxTouchPoints>2),U=H||!!V&&/Mac/.test(V.platform),G=!!V&&/Win/.test(V.platform),X=/Android \d/.test(B),Y=!!R&&"webkitFontSmoothing"in R.documentElement.style,J=Y?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Q(e){var t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Z(e,t){return"number"==typeof e?e:e[t]}function ee(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,o=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*o}}function te(e,t,n){for(var o=e.someProp("scrollThreshold")||0,r=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument,s=n||e.dom;s;s=D(s))if(1==s.nodeType){var a=s,l=a==i.body,c=l?Q(i):ee(a),d=0,u=0;if(t.top<c.top+Z(o,"top")?u=-(c.top-t.top+Z(r,"top")):t.bottom>c.bottom-Z(o,"bottom")&&(u=t.bottom-t.top>c.bottom-c.top?t.top+Z(r,"top")-c.top:t.bottom-c.bottom+Z(r,"bottom")),t.left<c.left+Z(o,"left")?d=-(c.left-t.left+Z(r,"left")):t.right>c.right-Z(o,"right")&&(d=t.right-c.right+Z(r,"right")),d||u)if(l)i.defaultView.scrollBy(d,u);else{var f=a.scrollLeft,h=a.scrollTop;u&&(a.scrollTop+=u),d&&(a.scrollLeft+=d);var p=a.scrollLeft-f,v=a.scrollTop-h;t={left:t.left-p,top:t.top-v,right:t.right-p,bottom:t.bottom-v}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(s).position))break}}function ne(e){for(var t=[],n=e.ownerDocument,o=e;o&&(t.push({dom:o,top:o.scrollTop,left:o.scrollLeft}),e!=n);o=D(o));return t}function oe(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=o.dom,i=o.top,s=o.left;r.scrollTop!=i+t&&(r.scrollTop=i+t),r.scrollLeft!=s&&(r.scrollLeft=s)}}var re=null;function ie(e,t){for(var n,o,r,i,s=2e8,a=0,l=t.top,c=t.top,d=e.firstChild,u=0;d;d=d.nextSibling,u++){var f=void 0;if(1==d.nodeType)f=d.getClientRects();else{if(3!=d.nodeType)continue;f=O(d).getClientRects()}for(var h=0;h<f.length;h++){var p=f[h];if(p.top<=l&&p.bottom>=c){l=Math.max(p.bottom,l),c=Math.min(p.top,c);var v=p.left>t.left?p.left-t.left:p.right<t.left?t.left-p.right:0;if(v<s){n=d,s=v,o=v&&3==n.nodeType?{left:p.right<t.left?p.right:p.left,top:t.top}:t,1==d.nodeType&&v&&(a=u+(t.left>=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!r&&p.left<=t.left&&p.right>=t.left&&(r=d,i={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(a=u+1)}}return!n&&r&&(n=r,o=i,s=0),n&&3==n.nodeType?function(e,t){for(var n=e.nodeValue.length,o=document.createRange(),r=0;r<n;r++){o.setEnd(e,r+1),o.setStart(e,r);var i=de(o,1);if(i.top!=i.bottom&&se(t,i))return{node:e,offset:r+(t.left>=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}(n,o):!n||s&&1==n.nodeType?{node:e,offset:a}:ie(n,o)}function se(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function ae(e,t,n){var o=e.childNodes.length;if(o&&n.top<n.bottom)for(var r=Math.max(0,Math.min(o-1,Math.floor(o*(t.top-n.top)/(n.bottom-n.top))-2)),i=r;;){var s=e.childNodes[i];if(1==s.nodeType)for(var a=s.getClientRects(),l=0;l<a.length;l++){var c=a[l];if(se(t,c))return ae(s,t,c)}if((i=(i+1)%o)==r)break}return e}function le(e,t){var n,o=e.dom.ownerDocument,r=0,i=function(e,t,n){if(e.caretPositionFromPoint)try{var o=e.caretPositionFromPoint(t,n);if(o)return{node:o.offsetNode,offset:Math.min(T(o.offsetNode),o.offset)}}catch(e){}if(e.caretRangeFromPoint){var r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:Math.min(T(r.startContainer),r.startOffset)}}}(o,t.left,t.top);i&&(n=i.node,r=i.offset);var s,a=(e.root.elementFromPoint?e.root:o).elementFromPoint(t.left,t.top);if(!a||!e.dom.contains(1!=a.nodeType?a.parentNode:a)){var l=e.dom.getBoundingClientRect();if(!se(t,l))return null;if(!(a=ae(e.dom,t,l)))return null}if(j)for(var c=a;n&&c;c=D(c))c.draggable&&(n=void 0);if(a=function(e,t){var n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(a,t),n){if(_&&1==n.nodeType&&(r=Math.min(r,n.childNodes.length))<n.childNodes.length){var d,u=n.childNodes[r];"IMG"==u.nodeName&&(d=u.getBoundingClientRect()).right<=t.left&&d.bottom>t.top&&r++}var f;Y&&r&&1==n.nodeType&&1==(f=n.childNodes[r-1]).nodeType&&"false"==f.contentEditable&&f.getBoundingClientRect().top>=t.top&&r--,n==e.dom&&r==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:0!=r&&1==n.nodeType&&"BR"==n.childNodes[r-1].nodeName||(s=function(e,t,n,o){for(var r=-1,i=t,s=!1;i!=e.dom;){var a=e.docView.nearestDesc(i,!0);if(!a)return null;if(1==a.dom.nodeType&&(a.node.isBlock&&a.parent||!a.contentDOM)){var l=a.dom.getBoundingClientRect();if(a.node.isBlock&&a.parent&&(!s&&l.left>o.left||l.top>o.top?r=a.posBefore:(!s&&l.right<o.left||l.bottom<o.top)&&(r=a.posAfter),s=!0),!a.contentDOM&&r<0&&!a.node.isText)return(a.node.isBlock?o.top<(l.top+l.bottom)/2:o.left<(l.left+l.right)/2)?a.posBefore:a.posAfter}i=a.dom.parentNode}return r>-1?r:e.docView.posFromDOM(t,n,-1)}(e,n,r,t))}null==s&&(s=function(e,t,n){var o=ie(t,n),r=o.node,i=o.offset,s=-1;if(1==r.nodeType&&!r.firstChild){var a=r.getBoundingClientRect();s=a.left!=a.right&&n.left>(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,i,s)}(e,a,t));var h=e.docView.nearestDesc(a,!0);return{pos:s,inside:h?h.posAtStart-h.border:-1}}function ce(e){return e.top<e.bottom||e.left<e.right}function de(e,t){var n=e.getClientRects();if(n.length){var o=n[t<0?0:n.length-1];if(ce(o))return o}return Array.prototype.find.call(n,ce)||e.getBoundingClientRect()}var ue=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function fe(e,t,n){var o=e.docView.domFromPos(t,n<0?-1:1),r=o.node,i=o.offset,s=o.atom,a=Y||_;if(3==r.nodeType){if(!a||!ue.test(r.nodeValue)&&(n<0?i:i!=r.nodeValue.length)){var l=i,c=i,d=n<0?1:-1;return n<0&&!i?(c++,d=-1):n>=0&&i==r.nodeValue.length?(l--,d=1):n<0?l--:c++,he(de(O(r,l,c),d),d<0)}var u=de(O(r,i,i),n);if(_&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){var f=de(O(r,i-1,i-1),-1);if(f.top==u.top){var h=de(O(r,i,i+1),-1);if(h.top!=u.top)return he(h,h.left<f.left)}}return u}if(!e.state.doc.resolve(t-(s||0)).parent.inlineContent){if(null==s&&i&&(n<0||i==T(r))){var p=r.childNodes[i-1];if(1==p.nodeType)return pe(p.getBoundingClientRect(),!1)}if(null==s&&i<T(r)){var v=r.childNodes[i];if(1==v.nodeType)return pe(v.getBoundingClientRect(),!0)}return pe(r.getBoundingClientRect(),n>=0)}if(null==s&&i&&(n<0||i==T(r))){var m=r.childNodes[i-1],g=3==m.nodeType?O(m,T(m)-(a?0:1)):1!=m.nodeType||"BR"==m.nodeName&&m.nextSibling?null:m;if(g)return he(de(g,1),!1)}if(null==s&&i<T(r)){for(var y=r.childNodes[i];y.pmViewDesc&&y.pmViewDesc.ignoreForCoords;)y=y.nextSibling;var b=y?3==y.nodeType?O(y,0,a?0:1):1==y.nodeType?y:null:null;if(b)return he(de(b,-1),!0)}return he(de(3==r.nodeType?O(r):r,-n),n>=0)}function he(e,t){if(0==e.width)return e;var n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function pe(e,t){if(0==e.height)return e;var n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function ve(e,t,n){var o=e.state,r=e.root.activeElement;o!=t&&e.updateState(t),r!=e.dom&&e.focus();try{return n()}finally{o!=t&&e.updateState(o),r!=e.dom&&r&&r.focus()}}var me=/[\u0590-\u08ac]/;var ge=null,ye=null,be=!1;function ke(e,t,n){return ge==t&&ye==n?be:(ge=t,ye=n,be="up"==n||"down"==n?function(e,t,n){var o=t.selection,r="up"==n?o.$from:o.$to;return ve(e,t,(function(){for(var t=e.docView.domFromPos(r.pos,"up"==n?-1:1).node;;){var o=e.docView.nearestDesc(t,!0);if(!o)break;if(o.node.isBlock){t=o.contentDOM||o.dom;break}t=o.dom.parentNode}for(var i=fe(e,r.pos,1),s=t.firstChild;s;s=s.nextSibling){var a=void 0;if(1==s.nodeType)a=s.getClientRects();else{if(3!=s.nodeType)continue;a=O(s,0,s.nodeValue.length).getClientRects()}for(var l=0;l<a.length;l++){var c=a[l];if(c.bottom>c.top+1&&("up"==n?i.top-c.top>2*(c.bottom-i.top):c.bottom-i.bottom>2*(i.bottom-c.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){var o=t.selection.$head;if(!o.parent.isTextblock)return!1;var r=o.parentOffset,i=!r,s=r==o.parent.content.size,a=e.domSelection();return a?me.test(o.parent.textContent)&&a.modify?ve(e,t,(function(){var t=e.domSelectionRange(),r=t.focusNode,i=t.focusOffset,s=t.anchorNode,l=t.anchorOffset,c=a.caretBidiLevel;a.modify("move",n,"character");var d=o.depth?e.docView.domAfterPos(o.before()):e.dom,u=e.domSelectionRange(),f=u.focusNode,h=u.focusOffset,p=f&&!d.contains(1==f.nodeType?f:f.parentNode)||r==f&&i==h;try{a.collapse(s,l),r&&(r!=s||i!=l)&&a.extend&&a.extend(r,i)}catch(e){}return null!=c&&(a.caretBidiLevel=c),p})):"left"==n||"backward"==n?i:s:o.pos==o.start()||o.pos==o.end()}(e,t,n))}var we=function(){function e(t,n,o,r){m(this,e),this.parent=t,this.children=n,this.dom=o,this.contentDOM=r,this.dirty=0,o.pmViewDesc=this}return y(e,[{key:"matchesWidget",value:function(e){return!1}},{key:"matchesMark",value:function(e){return!1}},{key:"matchesNode",value:function(e,t,n){return!1}},{key:"matchesHack",value:function(e){return!1}},{key:"parseRule",value:function(){return null}},{key:"stopEvent",value:function(e){return!1}},{key:"size",get:function(){for(var e=0,t=0;t<this.children.length;t++)e+=this.children[t].size;return e}},{key:"border",get:function(){return 0}},{key:"destroy",value:function(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(var e=0;e<this.children.length;e++)this.children[e].destroy()}},{key:"posBeforeChild",value:function(e){for(var t=0,n=this.posAtStart;;t++){var o=this.children[t];if(o==e)return n;n+=o.size}}},{key:"posBefore",get:function(){return this.parent.posBeforeChild(this)}},{key:"posAtStart",get:function(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}},{key:"posAfter",get:function(){return this.posBefore+this.size}},{key:"posAtEnd",get:function(){return this.posAtStart+this.size-2*this.border}},{key:"localPosFromDOM",value:function(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){var o,r;if(e==this.contentDOM)o=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;o=e.previousSibling}for(;o&&(!(r=o.pmViewDesc)||r.parent!=this);)o=o.previousSibling;return o?this.posBeforeChild(r)+r.size:this.posAtStart}var i,s;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&(!(s=i.pmViewDesc)||s.parent!=this);)i=i.nextSibling;return i?this.posBeforeChild(s):this.posAtEnd}var a;if(e==this.dom&&this.contentDOM)a=t>S(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))a=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(var l=e;;l=l.parentNode){if(l==this.dom){a=!1;break}if(l.previousSibling)break}if(null==a&&t==e.childNodes.length)for(var c=e;;c=c.parentNode){if(c==this.dom){a=!0;break}if(c.nextSibling)break}}return(null==a?n>0:a)?this.posAtEnd:this.posAtStart}},{key:"nearestDesc",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!0,o=e;o;o=o.parentNode){var r=this.getDesc(o),i=void 0;if(r&&(!t||r.node)){if(!n||!(i=r.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return r;n=!1}}}},{key:"getDesc",value:function(e){for(var t=e.pmViewDesc,n=t;n;n=n.parent)if(n==this)return t}},{key:"posFromDOM",value:function(e,t,n){for(var o=e;o;o=o.parentNode){var r=this.getDesc(o);if(r)return r.localPosFromDOM(e,t,n)}return-1}},{key:"descAt",value:function(e){for(var t=0,n=0;t<this.children.length;t++){var o=this.children[t],r=n+o.size;if(n==e&&r!=n){for(;!o.border&&o.children.length;)o=o.children[0];return o}if(e<r)return o.descAt(e-n-o.border);n=r}}},{key:"domFromPos",value:function(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};for(var n,o=0,r=0,i=0;o<this.children.length;o++){var s=this.children[o],a=i+s.size;if(a>e||s instanceof Me){r=e-i;break}i=a}if(r)return this.children[o].domFromPos(r-this.children[o].border,t);for(;o&&!(n=this.children[o-1]).size&&n instanceof Se&&n.side>=0;o--);if(t<=0){for(var l,c=!0;(l=o?this.children[o-1]:null)&&l.dom.parentNode!=this.contentDOM;o--,c=!1);return l&&t&&c&&!l.border&&!l.domAtom?l.domFromPos(l.size,t):{node:this.contentDOM,offset:l?S(l.dom)+1:0}}for(var d,u=!0;(d=o<this.children.length?this.children[o]:null)&&d.dom.parentNode!=this.contentDOM;o++,u=!1);return d&&u&&!d.border&&!d.domAtom?d.domFromPos(0,t):{node:this.contentDOM,offset:d?S(d.dom):this.contentDOM.childNodes.length}}},{key:"parseRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};for(var o=-1,r=-1,i=n,s=0;;s++){var a=this.children[s],l=i+a.size;if(-1==o&&e<=l){var c=i+a.border;if(e>=c&&t<=l-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(e,t,c);e=i;for(var d=s;d>0;d--){var u=this.children[d-1];if(u.size&&u.dom.parentNode==this.contentDOM&&!u.emptyChildAt(1)){o=S(u.dom)+1;break}e-=u.size}-1==o&&(o=0)}if(o>-1&&(l>t||s==this.children.length-1)){t=l;for(var f=s+1;f<this.children.length;f++){var h=this.children[f];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(-1)){r=S(h.dom);break}t+=h.size}-1==r&&(r=this.contentDOM.childNodes.length);break}i=l}return{node:this.contentDOM,from:e,to:t,fromOffset:o,toOffset:r}}},{key:"emptyChildAt",value:function(e){if(this.border||!this.contentDOM||!this.children.length)return!1;var t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}},{key:"domAfterPos",value:function(e){var t=this.domFromPos(e,0),n=t.node,o=t.offset;if(1!=n.nodeType||o==n.childNodes.length)throw new RangeError("No node after pos "+e);return n.childNodes[o]}},{key:"setSelection",value:function(e,t,n){for(var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=Math.min(e,t),i=Math.max(e,t),s=0,a=0;s<this.children.length;s++){var l=this.children[s],c=a+l.size;if(r>a&&i<c)return l.setSelection(e-a-l.border,t-a-l.border,n,o);a=c}var d=this.domFromPos(e,e?-1:1),u=t==e?d:this.domFromPos(t,t?-1:1),f=n.getSelection(),h=!1;if((_||j)&&e==t){var p=d,v=p.node,m=p.offset;if(3==v.nodeType){if((h=!(!m||"\n"!=v.nodeValue[m-1]))&&m==v.nodeValue.length)for(var g,y=v;y;y=y.parentNode){if(g=y.nextSibling){"BR"==g.nodeName&&(d=u={node:g.parentNode,offset:S(g)+1});break}var b=y.pmViewDesc;if(b&&b.node&&b.node.isBlock)break}}else{var k=v.childNodes[m-1];h=k&&("BR"==k.nodeName||"false"==k.contentEditable)}}if(_&&f.focusNode&&f.focusNode!=u.node&&1==f.focusNode.nodeType){var w=f.focusNode.childNodes[f.focusOffset];w&&"false"==w.contentEditable&&(o=!0)}if(o||h&&j||!C(d.node,d.offset,f.anchorNode,f.anchorOffset)||!C(u.node,u.offset,f.focusNode,f.focusOffset)){var D=!1;if((f.extend||e==t)&&!h){f.collapse(d.node,d.offset);try{e!=t&&f.extend(u.node,u.offset),D=!0}catch(e){}}if(!D){if(e>t){var N=d;d=u,u=N}var O=document.createRange();O.setEnd(u.node,u.offset),O.setStart(d.node,d.offset),f.removeAllRanges(),f.addRange(O)}}}},{key:"ignoreMutation",value:function(e){return!this.contentDOM&&"selection"!=e.type}},{key:"contentLost",get:function(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}},{key:"markDirty",value:function(e,t){for(var n=0,o=0;o<this.children.length;o++){var r=this.children[o],i=n+r.size;if(n==i?e<=i&&t>=n:e<i&&t>n){var s=n+r.border,a=i-r.border;if(e>=s&&t<=a)return this.dirty=e==n||t==i?2:1,void(e!=s||t!=a||!r.contentLost&&r.dom.parentNode==this.contentDOM?r.markDirty(e-s,t-s):r.dirty=3);r.dirty=r.dom!=r.contentDOM||r.dom.parentNode!=this.contentDOM||r.children.length?3:2}n=i}this.dirty=2}},{key:"markParentsDirty",value:function(){for(var e=1,t=this.parent;t;t=t.parent,e++){var n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}},{key:"domAtom",get:function(){return!1}},{key:"ignoreForCoords",get:function(){return!1}},{key:"isText",value:function(e){return!1}}]),e}(),Se=function(e){d(n,e);var t=f(n);function n(e,o,r,i){var s;m(this,n);var a,l=o.type.toDOM;if("function"==typeof l&&(l=l(r,(function(){return a?a.parent?a.parent.posBeforeChild(a):void 0:i}))),!o.type.spec.raw){if(1!=l.nodeType){var c=document.createElement("span");c.appendChild(l),l=c}l.contentEditable="false",l.classList.add("ProseMirror-widget")}return(s=t.call(this,e,[],l,null)).widget=o,s.widget=o,a=h(s),s}return y(n,[{key:"matchesWidget",value:function(e){return 0==this.dirty&&e.type.eq(this.widget.type)}},{key:"parseRule",value:function(){return{ignore:!0}}},{key:"stopEvent",value:function(e){var t=this.widget.spec.stopEvent;return!!t&&t(e)}},{key:"ignoreMutation",value:function(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}},{key:"destroy",value:function(){this.widget.type.destroy(this.dom),c(p(n.prototype),"destroy",this).call(this)}},{key:"domAtom",get:function(){return!0}},{key:"side",get:function(){return this.widget.type.side}}]),n}(we),De=function(e){d(n,e);var t=f(n);function n(e,o,r,i){var s;return m(this,n),(s=t.call(this,e,[],o,null)).textDOM=r,s.text=i,s}return y(n,[{key:"size",get:function(){return this.text.length}},{key:"localPosFromDOM",value:function(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}},{key:"domFromPos",value:function(e){return{node:this.textDOM,offset:e}}},{key:"ignoreMutation",value:function(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}]),n}(we),Ne=function(e){d(n,e);var t=f(n);function n(e,o,r,i){var s;return m(this,n),(s=t.call(this,e,[],r,i)).mark=o,s}return y(n,[{key:"parseRule",value:function(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}},{key:"matchesMark",value:function(e){return 3!=this.dirty&&this.mark.eq(e)}},{key:"markDirty",value:function(e,t){if(c(p(n.prototype),"markDirty",this).call(this,e,t),0!=this.dirty){for(var o=this.parent;!o.node;)o=o.parent;o.dirty<this.dirty&&(o.dirty=this.dirty),this.dirty=0}}},{key:"slice",value:function(e,t,o){var r=n.create(this.parent,this.mark,!0,o),i=this.children,s=this.size;t<s&&(i=_e(i,t,s,o)),e>0&&(i=_e(i,0,e,o));for(var a=0;a<i.length;a++)i[a].parent=r;return r.children=i,r}}],[{key:"create",value:function(e,t,o,r){var i=r.nodeViews[t.type.name],s=i&&i(t,r,o);return s&&s.dom||(s=k.DOMSerializer.renderSpec(document,t.type.spec.toDOM(t,o),null,t.attrs)),new n(e,t,s.dom,s.contentDOM||s.dom)}}]),n}(we),Oe=function(e){d(n,e);var t=f(n);function n(e,o,r,i,s,a,l,c,d){var u;return m(this,n),(u=t.call(this,e,[],s,a)).node=o,u.outerDeco=r,u.innerDeco=i,u.nodeDOM=l,u}return y(n,[{key:"parseRule",value:function(){var e=this;if(this.node.type.spec.reparseInView)return null;var t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(var n=this.children.length-1;n>=0;n--){var o=this.children[n];if(this.dom.contains(o.dom.parentNode)){t.contentElement=o.dom.parentNode;break}}t.contentElement||(t.getContent=function(){return k.Fragment.empty})}else t.contentElement=this.contentDOM;else t.getContent=function(){return e.node.content};return t}},{key:"matchesNode",value:function(e,t,n){return 0==this.dirty&&e.eq(this.node)&&Ie(t,this.outerDeco)&&n.eq(this.innerDeco)}},{key:"size",get:function(){return this.node.nodeSize}},{key:"border",get:function(){return this.node.isLeaf?0:1}},{key:"updateChildren",value:function(e,t){var n=this,o=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,s=i&&i.pos>-1?i:null,a=i&&i.pos<0,l=new Le(this,s&&s.node,e);!function(e,t,n,o){var r=t.locals(e),i=0;if(0==r.length){for(var s=0;s<e.childCount;s++){var a=e.child(s);o(a,r,t.forChild(i,a),s),i+=a.nodeSize}return}for(var l=0,c=[],d=null,u=0;;){for(var f=void 0,h=void 0;l<r.length&&r[l].to==i;){var p=r[l++];p.widget&&(f?(h||(h=[f])).push(p):f=p)}if(f)if(h){h.sort(qe);for(var v=0;v<h.length;v++)n(h[v],u,!!d)}else n(f,u,!!d);var m=void 0,g=void 0;if(d)g=-1,m=d,d=null;else{if(!(u<e.childCount))break;g=u,m=e.child(u++)}for(var y=0;y<c.length;y++)c[y].to<=i&&c.splice(y--,1);for(;l<r.length&&r[l].from<=i&&r[l].to>i;)c.push(r[l++]);var b=i+m.nodeSize;if(m.isText){var k=b;l<r.length&&r[l].from<k&&(k=r[l].from);for(var w=0;w<c.length;w++)c[w].to<k&&(k=c[w].to);k<b&&(d=m.cut(k-i),m=m.cut(0,k-i),b=k,g=-1)}else for(;l<r.length&&r[l].to<b;)l++;o(m,m.isInline&&!m.isLeaf?c.filter((function(e){return!e.inline})):c.slice(),t.forChild(i,m),g),i=b}}(this.node,this.innerDeco,(function(t,i,s){t.spec.marks?l.syncToMarks(t.spec.marks,o,e):t.type.side>=0&&!s&&l.syncToMarks(i==n.node.childCount?k.Mark.none:n.node.child(i).marks,o,e),l.placeWidget(t,e,r)}),(function(t,n,s,c){var d;l.syncToMarks(t.marks,o,e),l.findNodeMatch(t,n,s,c)||a&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(d=l.findIndexWithChild(i.node))>-1&&l.updateNodeAt(t,n,s,d,e)||l.updateNextNode(t,n,s,e,c,r)||l.addNode(t,n,s,e,r),r+=t.nodeSize})),l.syncToMarks([],o,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(s&&this.protectLocalComposition(e,s),Pe(this.contentDOM,this.children,e),H&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){var t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}},{key:"localCompositionInfo",value:function(e,t){var n=e.state.selection,o=n.from,r=n.to;if(!(e.state.selection instanceof b.TextSelection)||o<t||r>t+this.node.content.size)return null;var i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){var s=i.nodeValue,a=function(e,t,n,o){for(var r=0,i=0;r<e.childCount&&i<=o;){var s=e.child(r++),a=i;if(i+=s.nodeSize,s.isText){for(var l=s.text;r<e.childCount;){var c=e.child(r++);if(i+=c.nodeSize,!c.isText)break;l+=c.text}if(i>=n){if(i>=o&&l.slice(o-t.length-a,o-a)==t)return o-t.length;var d=a<o?l.lastIndexOf(t,o-a-1):-1;if(d>=0&&d+t.length+a>=n)return a+d;if(n==o&&l.length>=o+t.length-a&&l.slice(o-a,o-a+t.length)==t)return o}}}return-1}(this.node.content,s,o-t,r-t);return a<0?null:{node:i,pos:a,text:s}}return{node:i,pos:-1,text:""}}},{key:"protectLocalComposition",value:function(e,t){var n=t.node,o=t.pos,r=t.text;if(!this.getDesc(n)){for(var i=n;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}var s=new De(this,i,n,r);e.input.compositionNodes.push(s),this.children=_e(this.children,o,o+r.length,e,s)}}},{key:"update",value:function(e,t,n,o){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,o),!0)}},{key:"updateInner",value:function(e,t,n,o){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(o,this.posAtStart),this.dirty=0}},{key:"updateOuterDeco",value:function(e){if(!Ie(e,this.outerDeco)){var t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=Re(this.dom,this.nodeDOM,Ve(this.outerDeco,this.node,t),Ve(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}}},{key:"selectNode",value:function(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}},{key:"deselectNode",value:function(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable"))}},{key:"domAtom",get:function(){return this.node.isAtom}}],[{key:"create",value:function(e,t,o,r,i,s){var a,l=i.nodeViews[t.type.name],c=l&&l(t,i,(function(){return a?a.parent?a.parent.posBeforeChild(a):void 0:s}),o,r),d=c&&c.dom,u=c&&c.contentDOM;if(t.isText)if(d){if(3!=d.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else d=document.createTextNode(t.text);else if(!d){var f=k.DOMSerializer.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs);d=f.dom,u=f.contentDOM}u||t.isText||"BR"==d.nodeName||(d.hasAttribute("contenteditable")||(d.contentEditable="false"),t.type.spec.draggable&&(d.draggable=!0));var h=d;return d=ze(d,o,t),c?a=new Te(e,t,o,r,d,u||null,h,c,i,s+1):t.isText?new xe(e,t,o,r,d,h,i):new n(e,t,o,r,d,u||null,h)}}]),n}(we);function Ce(e,t,n,o,r){ze(o,t,e);var i=new Oe(void 0,e,t,n,o,o,o,r,0);return i.contentDOM&&i.updateChildren(r,0),i}var xe=function(e){d(n,e);var t=f(n);function n(e,o,r,i,s,a,l){return m(this,n),t.call(this,e,o,r,i,s,null,a,l,0)}return y(n,[{key:"parseRule",value:function(){for(var e=this.nodeDOM.parentNode;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}},{key:"update",value:function(e,t,n,o){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,o.trackWrites==this.nodeDOM&&(o.trackWrites=null)),this.node=e,this.dirty=0,!0)}},{key:"inParent",value:function(){for(var e=this.parent.contentDOM,t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}},{key:"domFromPos",value:function(e){return{node:this.nodeDOM,offset:e}}},{key:"localPosFromDOM",value:function(e,t,o){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):c(p(n.prototype),"localPosFromDOM",this).call(this,e,t,o)}},{key:"ignoreMutation",value:function(e){return"characterData"!=e.type&&"selection"!=e.type}},{key:"slice",value:function(e,t,o){var r=this.node.cut(e,t),i=document.createTextNode(r.text);return new n(this.parent,r,this.outerDeco,this.innerDeco,i,i,o)}},{key:"markDirty",value:function(e,t){c(p(n.prototype),"markDirty",this).call(this,e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}},{key:"domAtom",get:function(){return!1}},{key:"isText",value:function(e){return this.node.text==e}}]),n}(Oe),Me=function(e){d(n,e);var t=f(n);function n(){return m(this,n),t.apply(this,arguments)}return y(n,[{key:"parseRule",value:function(){return{ignore:!0}}},{key:"matchesHack",value:function(e){return 0==this.dirty&&this.dom.nodeName==e}},{key:"domAtom",get:function(){return!0}},{key:"ignoreForCoords",get:function(){return"IMG"==this.dom.nodeName}}]),n}(we),Te=function(e){d(n,e);var t=f(n);function n(e,o,r,i,s,a,l,c,d,u){var f;return m(this,n),(f=t.call(this,e,o,r,i,s,a,l,d,u)).spec=c,f}return y(n,[{key:"update",value:function(e,t,o,r){if(3==this.dirty)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){var i=this.spec.update(e,t,o);return i&&this.updateInner(e,t,o,r),i}return!(!this.contentDOM&&!e.isLeaf)&&c(p(n.prototype),"update",this).call(this,e,t,o,r)}},{key:"selectNode",value:function(){this.spec.selectNode?this.spec.selectNode():c(p(n.prototype),"selectNode",this).call(this)}},{key:"deselectNode",value:function(){this.spec.deselectNode?this.spec.deselectNode():c(p(n.prototype),"deselectNode",this).call(this)}},{key:"setSelection",value:function(e,t,o,r){this.spec.setSelection?this.spec.setSelection(e,t,o):c(p(n.prototype),"setSelection",this).call(this,e,t,o,r)}},{key:"destroy",value:function(){this.spec.destroy&&this.spec.destroy(),c(p(n.prototype),"destroy",this).call(this)}},{key:"stopEvent",value:function(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}},{key:"ignoreMutation",value:function(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):c(p(n.prototype),"ignoreMutation",this).call(this,e)}}]),n}(Oe);function Pe(e,t,n){for(var o=e.firstChild,r=!1,i=0;i<t.length;i++){var s=t[i],a=s.dom;if(a.parentNode==e){for(;a!=o;)o=Fe(o),r=!0;o=o.nextSibling}else r=!0,e.insertBefore(a,o);if(s instanceof Ne){var l=o?o.previousSibling:e.lastChild;Pe(s.contentDOM,s.children,n),o=l?l.nextSibling:e.firstChild}}for(;o;)o=Fe(o),r=!0;r&&n.trackWrites==e&&(n.trackWrites=null)}var Ee=function(e){e&&(this.nodeName=e)};Ee.prototype=Object.create(null);var Ae=[new Ee];function Ve(e,t,n){if(0==e.length)return Ae;for(var o=n?Ae[0]:new Ee,r=[o],i=0;i<e.length;i++){var s=e[i].type.attrs;if(s)for(var a in s.nodeName&&r.push(o=new Ee(s.nodeName)),s){var l=s[a];null!=l&&(n&&1==r.length&&r.push(o=new Ee(t.isInline?"span":"div")),"class"==a?o.class=(o.class?o.class+" ":"")+l:"style"==a?o.style=(o.style?o.style+";":"")+l:"nodeName"!=a&&(o[a]=l))}}return r}function Re(e,t,n,o){if(n==Ae&&o==Ae)return t;for(var r=t,i=0;i<o.length;i++){var s=o[i],a=n[i];if(i){var l=void 0;a&&a.nodeName==s.nodeName&&r!=e&&(l=r.parentNode)&&l.nodeName.toLowerCase()==s.nodeName||((l=document.createElement(s.nodeName)).pmIsDeco=!0,l.appendChild(r),a=Ae[0]),r=l}Be(r,a||Ae[0],s)}return r}function Be(e,t,n){for(var o in t)"class"==o||"style"==o||"nodeName"==o||o in n||e.removeAttribute(o);for(var r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){for(var i=t.class?t.class.split(" ").filter(Boolean):[],s=n.class?n.class.split(" ").filter(Boolean):[],a=0;a<i.length;a++)-1==s.indexOf(i[a])&&e.classList.remove(i[a]);for(var l=0;l<s.length;l++)-1==i.indexOf(s[l])&&e.classList.add(s[l]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style)for(var c,d=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;c=d.exec(t.style);)e.style.removeProperty(c[1]);n.style&&(e.style.cssText+=n.style)}}function ze(e,t,n){return Re(e,e,Ae,Ve(t,n,1!=e.nodeType))}function Ie(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function Fe(e){var t=e.nextSibling;return e.parentNode.removeChild(e),t}var Le=function(){function e(t,n,o){m(this,e),this.lock=n,this.view=o,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=function(e,t){var n=t,o=n.children.length,r=e.childCount,i=new Map,s=[];e:for(;r>0;){for(var a=void 0;;)if(o){var l=n.children[o-1];if(!(l instanceof Ne)){a=l,o--;break}n=l,o=l.children.length}else{if(n==t)break e;o=n.parent.children.indexOf(n),n=n.parent}var c=a.node;if(c){if(c!=e.child(r-1))break;--r,i.set(a,r),s.push(a)}}return{index:r,matched:i,matches:s.reverse()}}(t.node.content,t)}return y(e,[{key:"destroyBetween",value:function(e,t){if(e!=t){for(var n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}},{key:"destroyRest",value:function(){this.destroyBetween(this.index,this.top.children.length)}},{key:"syncToMarks",value:function(e,t,n){for(var o=0,r=this.stack.length>>1,i=Math.min(r,e.length);o<i&&(o==r-1?this.top:this.stack[o+1<<1]).matchesMark(e[o])&&!1!==e[o].type.spec.spanning;)o++;for(;o<r;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),r--;for(;r<e.length;){this.stack.push(this.top,this.index+1);for(var s=-1,a=this.index;a<Math.min(this.index+3,this.top.children.length);a++){var l=this.top.children[a];if(l.matchesMark(e[r])&&!this.isLocked(l.dom)){s=a;break}}if(s>-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{var c=Ne.create(this.top,e[r],t,n);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,r++}}},{key:"findNodeMatch",value:function(e,t,n,o){var r,i=-1;if(o>=this.preMatch.index&&(r=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&r.matchesNode(e,t,n))i=this.top.children.indexOf(r,this.index);else for(var s=this.index,a=Math.min(this.top.children.length,s+5);s<a;s++){var l=this.top.children[s];if(l.matchesNode(e,t,n)&&!this.preMatch.matched.has(l)){i=s;break}}return!(i<0)&&(this.destroyBetween(this.index,i),this.index++,!0)}},{key:"updateNodeAt",value:function(e,t,n,o,r){var i=this.top.children[o];return 3==i.dirty&&i.dom==i.contentDOM&&(i.dirty=2),!!i.update(e,t,n,r)&&(this.destroyBetween(this.index,o),this.index++,!0)}},{key:"findIndexWithChild",value:function(e){for(;;){var t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){var n=e.pmViewDesc;if(n)for(var o=this.index;o<this.top.children.length;o++)if(this.top.children[o]==n)return o;return-1}e=t}}},{key:"updateNextNode",value:function(e,t,n,o,r,i){for(var s=this.index;s<this.top.children.length;s++){var a=this.top.children[s];if(a instanceof Oe){var l=this.preMatch.matched.get(a);if(null!=l&&l!=r)return!1;var c=a.dom,d=void 0,u=this.isLocked(c)&&!(e.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==e.text&&3!=a.dirty&&Ie(t,a.outerDeco));if(!u&&a.update(e,t,n,o))return this.destroyBetween(this.index,s),a.dom!=c&&(this.changed=!0),this.index++,!0;if(!u&&(d=this.recreateWrapper(a,e,t,n,o,i)))return this.destroyBetween(this.index,s),this.top.children[this.index]=d,d.contentDOM&&(d.dirty=2,d.updateChildren(o,i+1),d.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}},{key:"recreateWrapper",value:function(e,t,n,o,r,i){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!Ie(n,e.outerDeco)||!o.eq(e.innerDeco))return null;var a=Oe.create(this.top,t,n,o,r,i);if(a.contentDOM){a.children=e.children,e.children=[];var l,c=s(a.children);try{for(c.s();!(l=c.n()).done;){l.value.parent=a}}catch(e){c.e(e)}finally{c.f()}}return e.destroy(),a}},{key:"addNode",value:function(e,t,n,o,r){var i=Oe.create(this.top,e,t,n,o,r);i.contentDOM&&i.updateChildren(o,r+1),this.top.children.splice(this.index++,0,i),this.changed=!0}},{key:"placeWidget",value:function(e,t,n){var o=this.index<this.top.children.length?this.top.children[this.index]:null;if(!o||!o.matchesWidget(e)||e!=o.widget&&o.widget.type.toDOM.parentNode){var r=new Se(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++}},{key:"addTextblockHacks",value:function(){for(var e=this.top.children[this.index-1],t=this.top;e instanceof Ne;)e=(t=e).children[t.children.length-1];(!e||!(e instanceof xe)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((j||$)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}},{key:"addHackNode",value:function(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{var n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");var o=new Me(this.top,[],n,null);t!=this.top?t.children.push(o):t.children.splice(this.index++,0,o),this.changed=!0}}},{key:"isLocked",value:function(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}]),e}();function qe(e,t){return e.type.side-t.type.side}function _e(e,t,n,o,r){for(var i=[],s=0,a=0;s<e.length;s++){var l=e[s],c=a,d=a+=l.size;c>=n||d<=t?i.push(l):(c<t&&i.push(l.slice(0,t-c,o)),r&&(i.push(r),r=void 0),d>n&&i.push(l.slice(n-c,l.size,o)))}return i}function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.domSelectionRange(),o=e.state.doc;if(!n.focusNode)return null;var r=e.docView.nearestDesc(n.focusNode),s=r&&0==r.size,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;var l,c,d=o.resolve(a);if(E(n)){for(l=a;r&&!r.node;)r=r.parent;var u=r.node;if(r&&u.isAtom&&b.NodeSelection.isSelectable(u)&&r.parent&&(!u.isInline||!function(e,t,n){for(var o=0==t,r=t==T(e);o||r;){if(e==n)return!0;var i=S(e);if(!(e=e.parentNode))return!1;o=o&&0==i,r=r&&i==T(e)}}(n.focusNode,n.focusOffset,r.dom))){var f=r.posBefore;c=new b.NodeSelection(a==f?d:o.resolve(f))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){for(var h=a,p=a,v=0;v<n.rangeCount;v++){var m=n.getRangeAt(v);h=Math.min(h,e.docView.posFromDOM(m.startContainer,m.startOffset,1)),p=Math.max(p,e.docView.posFromDOM(m.endContainer,m.endOffset,-1))}if(h<0)return null;var g=i(p==e.state.selection.anchor?[p,h]:[h,p],2);l=g[0],a=g[1],d=o.resolve(a)}else l=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(l<0)return null}var y=o.resolve(l);c||(c=Je(e,y,d,"pointer"==t||e.state.selection.head<d.pos&&!s?1:-1));return c}function $e(e){return e.editable?e.hasFocus():Ze(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function We(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.state.selection;if(Xe(e,n),$e(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&$){var o=e.domSelectionRange(),r=e.domObserver.currentSelection;if(o.anchorNode&&r.anchorNode&&C(o.anchorNode,o.anchorOffset,r.anchorNode,r.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){var t=e.domSelection(),n=document.createRange();if(!t)return;var o=e.cursorWrapper.dom,r="IMG"==o.nodeName;r?n.setStart(o.parentNode,S(o)+1):n.setStart(o,0);n.collapse(!0),t.removeAllRanges(),t.addRange(n),!r&&!e.state.selection.visible&&L&&q<=11&&(o.disabled=!0,o.disabled=!1)}(e);else{var i,s,a=n.anchor,l=n.head;!je||n instanceof b.TextSelection||(n.$from.parent.inlineContent||(i=He(e,n.from)),n.empty||n.$from.parent.inlineContent||(s=He(e,n.to))),e.docView.setSelection(a,l,e.root,t),je&&(i&&Ge(i),s&&Ge(s)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){var t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);var n=e.domSelectionRange(),o=n.anchorNode,r=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=function(){n.anchorNode==o&&n.anchorOffset==r||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((function(){$e(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}var je=j||$&&W<63;function He(e,t){var n=e.docView.domFromPos(t,0),o=n.node,r=n.offset,i=r<o.childNodes.length?o.childNodes[r]:null,s=r?o.childNodes[r-1]:null;if(j&&i&&"false"==i.contentEditable)return Ue(i);if(!(i&&"false"!=i.contentEditable||s&&"false"!=s.contentEditable)){if(i)return Ue(i);if(s)return Ue(s)}}function Ue(e){return e.contentEditable="true",j&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function Ge(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function Xe(e,t){if(t instanceof b.NodeSelection){var n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Ye(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Ye(e)}function Ye(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function Je(e,t,n,o){return e.someProp("createSelectionBetween",(function(o){return o(e,t,n)}))||b.TextSelection.between(t,n,o)}function Qe(e){return!(e.editable&&!e.hasFocus())&&Ze(e)}function Ze(e){var t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(e){return!1}}function et(e,t){var n=e.selection,o=n.$anchor,r=n.$head,i=t>0?o.max(r):o.min(r),s=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return s&&b.Selection.findFrom(s,t)}function tt(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function nt(e,t,n){var o=e.state.selection;if(!(o instanceof b.TextSelection)){if(o instanceof b.NodeSelection&&o.node.isInline)return tt(e,new b.TextSelection(t>0?o.$to:o.$from));var r=et(e.state,t);return!!r&&tt(e,r)}if(n.indexOf("s")>-1){var i=o.$head,s=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!s||s.isText||!s.isLeaf)return!1;var a=e.state.doc.resolve(i.pos+s.nodeSize*(t<0?-1:1));return tt(e,new b.TextSelection(o.$anchor,a))}if(!o.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){var l=et(e.state,t);return!!(l&&l instanceof b.NodeSelection)&&tt(e,l)}if(!(U&&n.indexOf("m")>-1)){var c,d=o.$head,u=d.textOffset?null:t<0?d.nodeBefore:d.nodeAfter;if(!u||u.isText)return!1;var f=t<0?d.pos-u.nodeSize:d.pos;return!!(u.isAtom||(c=e.docView.descAt(f))&&!c.contentDOM)&&(b.NodeSelection.isSelectable(u)?tt(e,new b.NodeSelection(t<0?e.state.doc.resolve(d.pos-u.nodeSize):d)):!!Y&&tt(e,new b.TextSelection(e.state.doc.resolve(t<0?f:f+u.nodeSize))))}}function ot(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function rt(e,t){var n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function it(e,t){return t<0?function(e){var t=e.domSelectionRange(),n=t.focusNode,o=t.focusOffset;if(!n)return;var r,i,s=!1;_&&1==n.nodeType&&o<ot(n)&&rt(n.childNodes[o],-1)&&(s=!0);for(;;)if(o>0){if(1!=n.nodeType)break;var a=n.childNodes[o-1];if(rt(a,-1))r=n,i=--o;else{if(3!=a.nodeType)break;o=(n=a).nodeValue.length}}else{if(st(n))break;for(var l=n.previousSibling;l&&rt(l,-1);)r=n.parentNode,i=S(l),l=l.previousSibling;if(l)o=ot(n=l);else{if((n=n.parentNode)==e.dom)break;o=0}}s?at(e,n,o):r&&at(e,r,i)}(e):function(e){var t=e.domSelectionRange(),n=t.focusNode,o=t.focusOffset;if(!n)return;for(var r,i,s=ot(n);;)if(o<s){if(1!=n.nodeType)break;if(!rt(n.childNodes[o],1))break;r=n,i=++o}else{if(st(n))break;for(var a=n.nextSibling;a&&rt(a,1);)r=a.parentNode,i=S(a)+1,a=a.nextSibling;if(a)o=0,s=ot(n=a);else{if((n=n.parentNode)==e.dom)break;o=s=0}}r&&at(e,r,i)}(e)}function st(e){var t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function at(e,t,n){var o,r;3!=t.nodeType&&((r=function(e,t){for(;e&&t==e.childNodes.length&&!P(e);)t=S(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){var n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=r,n=0):(o=function(e,t){for(;e&&!t&&!P(e);)t=S(e),e=e.parentNode;for(;e&&t;){var n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=o,n=o.nodeValue.length));var i=e.domSelection();if(i){if(E(i)){var s=document.createRange();s.setEnd(t,n),s.setStart(t,n),i.removeAllRanges(),i.addRange(s)}else i.extend&&i.extend(t,n);e.domObserver.setCurSelection();var a=e.state;setTimeout((function(){e.state==a&&We(e)}),50)}}function lt(e,t){var n=e.state.doc.resolve(t);if(!$&&!G&&n.parent.inlineContent){var o=e.coordsAtPos(t);if(t>n.start()){var r=e.coordsAtPos(t-1),i=(r.top+r.bottom)/2;if(i>o.top&&i<o.bottom&&Math.abs(r.left-o.left)>1)return r.left<o.left?"ltr":"rtl"}if(t<n.end()){var s=e.coordsAtPos(t+1),a=(s.top+s.bottom)/2;if(a>o.top&&a<o.bottom&&Math.abs(s.left-o.left)>1)return s.left>o.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function ct(e,t,n){var o=e.state.selection;if(o instanceof b.TextSelection&&!o.empty||n.indexOf("s")>-1)return!1;if(U&&n.indexOf("m")>-1)return!1;var r=o.$from,i=o.$to;if(!r.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){var s=et(e.state,t);if(s&&s instanceof b.NodeSelection)return tt(e,s)}if(!r.parent.inlineContent){var a=t<0?r:i,l=o instanceof b.AllSelection?b.Selection.near(a,t):b.Selection.findFrom(a,t);return!!l&&tt(e,l)}return!1}function dt(e,t){if(!(e.state.selection instanceof b.TextSelection))return!0;var n=e.state.selection,o=n.$head,r=n.$anchor,i=n.empty;if(!o.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;var s=!o.textOffset&&(t<0?o.nodeBefore:o.nodeAfter);if(s&&!s.isText){var a=e.state.tr;return t<0?a.delete(o.pos-s.nodeSize,o.pos):a.delete(o.pos,o.pos+s.nodeSize),e.dispatch(a),!0}return!1}function ut(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function ft(e,t){var n=t.keyCode,o=function(e){var t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||U&&72==n&&"c"==o)return dt(e,-1)||it(e,-1);if(46==n&&!t.shiftKey||U&&68==n&&"c"==o)return dt(e,1)||it(e,1);if(13==n||27==n)return!0;if(37==n||U&&66==n&&"c"==o){var r=37==n?"ltr"==lt(e,e.state.selection.from)?-1:1:-1;return nt(e,r,o)||it(e,r)}if(39==n||U&&70==n&&"c"==o){var i=39==n?"ltr"==lt(e,e.state.selection.from)?1:-1:1;return nt(e,i,o)||it(e,i)}return 38==n||U&&80==n&&"c"==o?ct(e,-1,o)||it(e,-1):40==n||U&&78==n&&"c"==o?function(e){if(!j||e.state.selection.$head.parentOffset>0)return!1;var t=e.domSelectionRange(),n=t.focusNode,o=t.focusOffset;if(n&&1==n.nodeType&&0==o&&n.firstChild&&"false"==n.firstChild.contentEditable){var r=n.firstChild;ut(e,r,"true"),setTimeout((function(){return ut(e,r,"false")}),20)}return!1}(e)||ct(e,1,o)||it(e,1):o==(U?"m":"c")&&(66==n||73==n||89==n||90==n)}function ht(e,t){e.someProp("transformCopied",(function(n){t=n(t,e)}));for(var n=[],o=t,r=o.content,i=o.openStart,s=o.openEnd;i>1&&s>1&&1==r.childCount&&1==r.firstChild.childCount;){i--,s--;var a=r.firstChild;n.push(a.type.name,a.attrs!=a.type.defaultAttrs?a.attrs:null),r=a.content}var l=e.someProp("clipboardSerializer")||k.DOMSerializer.fromSchema(e.state.schema),c=Dt(),d=c.createElement("div");d.appendChild(l.serializeFragment(r,{document:c}));for(var u,f=d.firstChild,h=0;f&&1==f.nodeType&&(u=wt[f.nodeName.toLowerCase()]);){for(var p=u.length-1;p>=0;p--){for(var v=c.createElement(u[p]);d.firstChild;)v.appendChild(d.firstChild);d.appendChild(v),h++}f=d.firstChild}return f&&1==f.nodeType&&f.setAttribute("data-pm-slice","".concat(i," ").concat(s).concat(h?" -".concat(h):""," ").concat(JSON.stringify(n))),{dom:d,text:e.someProp("clipboardTextSerializer",(function(n){return n(t,e)}))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function pt(e,t,n,o,r){var i,s,a=r.parent.type.spec.code;if(!n&&!t)return null;var l=t&&(o||a||!n);if(l){if(e.someProp("transformPastedText",(function(n){t=n(t,a||o,e)})),a)return t?new k.Slice(k.Fragment.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):k.Slice.empty;var c=e.someProp("clipboardTextParser",(function(n){return n(t,r,o,e)}));if(c)s=c;else{var d=r.marks(),u=e.state.schema,f=k.DOMSerializer.fromSchema(u);i=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((function(e){var t=i.appendChild(document.createElement("p"));e&&t.appendChild(f.serializeNode(u.text(e,d)))}))}}else e.someProp("transformPastedHTML",(function(t){n=t(n,e)})),i=function(e){var t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));var n,o=Dt().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e);(n=r&&wt[r[1].toLowerCase()])&&(e=n.map((function(e){return"<"+e+">"})).join("")+e+n.map((function(e){return"</"+e+">"})).reverse().join(""));if(o.innerHTML=function(e){var t=window.trustedTypes;return t?t.createPolicy("detachedDocument",{createHTML:function(e){return e}}).createHTML(e):e}(e),n)for(var i=0;i<n.length;i++)o=o.querySelector(n[i])||o;return o}(n),Y&&function(e){for(var t=e.querySelectorAll($?"span:not([class]):not([style])":"span.Apple-converted-space"),n=0;n<t.length;n++){var o=t[n];1==o.childNodes.length&&" "==o.textContent&&o.parentNode&&o.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),o)}}(i);var h=i&&i.querySelector("[data-pm-slice]"),p=h&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(h.getAttribute("data-pm-slice")||"");if(p&&p[3])for(var v=+p[3];v>0;v--){for(var m=i.firstChild;m&&1!=m.nodeType;)m=m.nextSibling;if(!m)break;i=m}if(!s){var g=e.someProp("clipboardParser")||e.someProp("domParser")||k.DOMParser.fromSchema(e.state.schema);s=g.parseSlice(i,{preserveWhitespace:!(!l&&!p),context:r,ruleFromNode:function(e){return"BR"!=e.nodeName||e.nextSibling||!e.parentNode||vt.test(e.parentNode.nodeName)?null:{ignore:!0}}})}if(p)s=function(e,t){if(!e.size)return e;var n,o=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(t){return e}for(var r=e.content,i=e.openStart,s=e.openEnd,a=n.length-2;a>=0;a-=2){var l=o.nodes[n[a]];if(!l||l.hasRequiredAttrs())break;r=k.Fragment.from(l.create(n[a+1],r)),i++,s++}return new k.Slice(r,i,s)}(kt(s,+p[1],+p[2]),p[4]);else if(s=k.Slice.maxOpen(function(e,t){if(e.childCount<2)return e;for(var n,o=function(){var n,o=t.node(r).contentMatchAt(t.index(r)),i=[];if(e.forEach((function(e){if(i){var t,r=o.findWrapping(e.type);if(!r)return i=null;if(t=i.length&&n.length&&gt(r,n,e,i[i.length-1],0))i[i.length-1]=t;else{i.length&&(i[i.length-1]=yt(i[i.length-1],n.length));var s=mt(e,r);i.push(s),o=o.matchType(s.type),n=r}}})),i)return{v:k.Fragment.from(i)}},r=t.depth;r>=0;r--)if(n=o())return n.v;return e}(s.content,r),!0),s.openStart||s.openEnd){for(var y=0,b=0,w=s.content.firstChild;y<s.openStart&&!w.type.spec.isolating;y++,w=w.firstChild);for(var S=s.content.lastChild;b<s.openEnd&&!S.type.spec.isolating;b++,S=S.lastChild);s=kt(s,y,b)}return e.someProp("transformPasted",(function(t){s=t(s,e)})),s}var vt=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function mt(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=t.length-1;o>=n;o--)e=t[o].create(null,k.Fragment.from(e));return e}function gt(e,t,n,o,r){if(r<e.length&&r<t.length&&e[r]==t[r]){var i=gt(e,t,n,o.lastChild,r+1);if(i)return o.copy(o.content.replaceChild(o.childCount-1,i));if(o.contentMatchAt(o.childCount).matchType(r==e.length-1?n.type:e[r+1]))return o.copy(o.content.append(k.Fragment.from(mt(n,e,r+1))))}}function yt(e,t){if(0==t)return e;var n=e.content.replaceChild(e.childCount-1,yt(e.lastChild,t-1)),o=e.contentMatchAt(e.childCount).fillBefore(k.Fragment.empty,!0);return e.copy(n.append(o))}function bt(e,t,n,o,r,i){var s=t<0?e.firstChild:e.lastChild,a=s.content;return e.childCount>1&&(i=0),r<o-1&&(a=bt(a,t,n,o,r+1,i)),r>=n&&(a=t<0?s.contentMatchAt(0).fillBefore(a,i<=r).append(a):a.append(s.contentMatchAt(s.childCount).fillBefore(k.Fragment.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,s.copy(a))}function kt(e,t,n){return t<e.openStart&&(e=new k.Slice(bt(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new k.Slice(bt(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}var wt={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]},St=null;function Dt(){return St||(St=document.implementation.createHTMLDocument("title"))}var Nt={},Ot={},Ct={touchstart:!0,touchmove:!0},xt=y((function e(){m(this,e),this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}));function Mt(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function Tt(e){e.someProp("handleDOMEvents",(function(t){for(var n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=function(t){return Pt(e,t)})}))}function Pt(e,t){return e.someProp("handleDOMEvents",(function(n){var o=n[t.type];return!!o&&(o(e,t)||t.defaultPrevented)}))}function Et(e){return{left:e.clientX,top:e.clientY}}function At(e,t,n,o,r){if(-1==o)return!1;for(var i,s=e.state.doc.resolve(o),a=function(o){if(e.someProp(t,(function(t){return o>s.depth?t(e,n,s.nodeAfter,s.before(o),r,!0):t(e,n,s.node(o),s.before(o),r,!1)})))return{v:!0}},l=s.depth+1;l>0;l--)if(i=a(l))return i.v;return!1}function Vt(e,t,n){if(e.focused||e.focus(),!e.state.selection.eq(t)){var o=e.state.tr.setSelection(t);o.setMeta("pointer",!0),e.dispatch(o)}}function Rt(e,t,n,o,r){return At(e,"handleClickOn",t,n,o)||e.someProp("handleClick",(function(n){return n(e,t,o)}))||(r?function(e,t){if(-1==t)return!1;var n,o,r=e.state.selection;r instanceof b.NodeSelection&&(n=r.node);for(var i=e.state.doc.resolve(t),s=i.depth+1;s>0;s--){var a=s>i.depth?i.nodeAfter:i.node(s);if(b.NodeSelection.isSelectable(a)){o=n&&r.$from.depth>0&&s>=r.$from.depth&&i.before(r.$from.depth+1)==r.$from.pos?i.before(r.$from.depth):i.before(s);break}}return null!=o&&(Vt(e,b.NodeSelection.create(e.state.doc,o)),!0)}(e,n):function(e,t){if(-1==t)return!1;var n=e.state.doc.resolve(t),o=n.nodeAfter;return!!(o&&o.isAtom&&b.NodeSelection.isSelectable(o))&&(Vt(e,new b.NodeSelection(n)),!0)}(e,n))}function Bt(e,t,n,o){return At(e,"handleDoubleClickOn",t,n,o)||e.someProp("handleDoubleClick",(function(n){return n(e,t,o)}))}function zt(e,t,n,o){return At(e,"handleTripleClickOn",t,n,o)||e.someProp("handleTripleClick",(function(n){return n(e,t,o)}))||function(e,t,n){if(0!=n.button)return!1;var o=e.state.doc;if(-1==t)return!!o.inlineContent&&(Vt(e,b.TextSelection.create(o,0,o.content.size)),!0);for(var r=o.resolve(t),i=r.depth+1;i>0;i--){var s=i>r.depth?r.nodeAfter:r.node(i),a=r.before(i);if(s.inlineContent)Vt(e,b.TextSelection.create(o,a+1,a+1+s.content.size));else{if(!b.NodeSelection.isSelectable(s))continue;Vt(e,b.NodeSelection.create(o,a))}return!0}}(e,n,o)}function It(e){return jt(e)}Ot.keydown=function(e,t){var n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!qt(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!X||!$||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!H||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(function(t){return t(e,n)}))||ft(e,n)?n.preventDefault():Mt(e,"key");else{var o=Date.now();e.input.lastIOSEnter=o,e.input.lastIOSEnterFallbackTimeout=setTimeout((function(){e.input.lastIOSEnter==o&&(e.someProp("handleKeyDown",(function(t){return t(e,A(13,"Enter"))})),e.input.lastIOSEnter=0)}),200)}},Ot.keyup=function(e,t){16==t.keyCode&&(e.input.shiftKey=!1)},Ot.keypress=function(e,t){var n=t;if(!(qt(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||U&&n.metaKey))if(e.someProp("handleKeyPress",(function(t){return t(e,n)})))n.preventDefault();else{var o=e.state.selection;if(!(o instanceof b.TextSelection&&o.$from.sameParent(o.$to))){var r=String.fromCharCode(n.charCode);/[\r\n]/.test(r)||e.someProp("handleTextInput",(function(t){return t(e,o.$from.pos,o.$to.pos,r)}))||e.dispatch(e.state.tr.insertText(r).scrollIntoView()),n.preventDefault()}}};var Ft=U?"metaKey":"ctrlKey";Nt.mousedown=function(e,t){var n=t;e.input.shiftKey=n.shiftKey;var o=It(e),r=Date.now(),i="singleClick";r-e.input.lastClick.time<500&&function(e,t){var n=t.x-e.clientX,o=t.y-e.clientY;return n*n+o*o<100}(n,e.input.lastClick)&&!n[Ft]&&("singleClick"==e.input.lastClick.type?i="doubleClick":"doubleClick"==e.input.lastClick.type&&(i="tripleClick")),e.input.lastClick={time:r,x:n.clientX,y:n.clientY,type:i};var s=e.posAtCoords(Et(n));s&&("singleClick"==i?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new Lt(e,s,n,!!o)):("doubleClick"==i?Bt:zt)(e,s.pos,s.inside,n)?n.preventDefault():Mt(e,"pointer"))};var Lt=function(){function e(t,n,o,r){var i,s,a=this;if(m(this,e),this.view=t,this.pos=n,this.event=o,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!o[Ft],this.allowDefault=o.shiftKey,n.inside>-1)i=t.state.doc.nodeAt(n.inside),s=n.inside;else{var l=t.state.doc.resolve(n.pos);i=l.parent,s=l.depth?l.before():0}var c=r?null:o.target,d=c?t.docView.nearestDesc(c,!0):null;this.target=d&&1==d.dom.nodeType?d.dom:null;var u=t.state.selection;(0==o.button&&i.type.spec.draggable&&!1!==i.type.spec.selectable||u instanceof b.NodeSelection&&u.from<=s&&u.to>s)&&(this.mightDrag={node:i,pos:s,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!_||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((function(){a.view.input.mouseDown==a&&a.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),Mt(t,"pointer")}return y(e,[{key:"done",value:function(){var e=this;this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((function(){return We(e.view)})),this.view.input.mouseDown=null}},{key:"up",value:function(e){if(this.done(),this.view.dom.contains(e.target)){var t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Et(e))),this.updateAllowDefault(e),this.allowDefault||!t?Mt(this.view,"pointer"):Rt(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||j&&this.mightDrag&&!this.mightDrag.node.isAtom||$&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Vt(this.view,b.Selection.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):Mt(this.view,"pointer")}}},{key:"move",value:function(e){this.updateAllowDefault(e),Mt(this.view,"pointer"),0==e.buttons&&this.done()}},{key:"updateAllowDefault",value:function(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}]),e}();function qt(e,t){return!!e.composing||!!(j&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}Nt.touchstart=function(e){e.input.lastTouch=Date.now(),It(e),Mt(e,"pointer")},Nt.touchmove=function(e){e.input.lastTouch=Date.now(),Mt(e,"pointer")},Nt.contextmenu=function(e){return It(e)};var _t=X?5e3:-1;function Kt(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((function(){return jt(e)}),t))}function $t(e){var t;for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=((t=document.createEvent("Event")).initEvent("event",!0,!0),t.timeStamp));e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function Wt(e){var t=e.domSelectionRange();if(!t.focusNode)return null;var n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=T(e=e.childNodes[t-1])}else{if(!e.parentNode||P(e))return null;t=S(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),o=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e;if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||P(e))return null;t=S(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);if(n&&o&&n!=o){var r=o.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||o==i)return i;if(!r||!r.isText(o.nodeValue))return o;if(e.input.compositionNode==o){var s=n.pmViewDesc;if(s&&s.isText(n.nodeValue))return o}}return n||o}function jt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(X&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),$t(e),t||e.docView&&e.docView.dirty){var n=Ke(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):!e.markCursor&&!t||e.state.selection.empty?e.updateState(e.state):e.dispatch(e.state.tr.deleteSelection()),!0}return!1}}Ot.compositionstart=Ot.compositionupdate=function(e){if(!e.composing){e.domObserver.flush();var t=e.state,n=t.selection.$to;if(t.selection instanceof b.TextSelection&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((function(e){return!1===e.type.spec.inclusive}))))e.markCursor=e.state.storedMarks||n.marks(),jt(e,!0),e.markCursor=null;else if(jt(e,!t.selection.empty),_&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length)for(var o=e.domSelectionRange(),r=o.focusNode,i=o.focusOffset;r&&1==r.nodeType&&0!=i;){var s=i<0?r.lastChild:r.childNodes[i-1];if(!s)break;if(3==s.nodeType){var a=e.domSelection();a&&a.collapse(s,s.nodeValue.length);break}r=s,i=-1}e.input.composing=!0}Kt(e,_t)},Ot.compositionend=function(e,t){e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then((function(){return e.domObserver.flush()})),e.input.compositionID++,Kt(e,20))};var Ht=L&&q<15||H&&J<604;function Ut(e,t,n,o,r){var i=pt(e,t,n,o,e.state.selection.$from);if(e.someProp("handlePaste",(function(t){return t(e,r,i||k.Slice.empty)})))return!0;if(!i)return!1;var s=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(i),a=s?e.state.tr.replaceSelectionWith(s,o):e.state.tr.replaceSelection(i);return e.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Gt(e){var t=e.getData("text/plain")||e.getData("Text");if(t)return t;var n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}Nt.copy=Ot.cut=function(e,t){var n=t,o=e.state.selection,r="cut"==n.type;if(!o.empty){var i=Ht?null:n.clipboardData,s=ht(e,o.content()),a=s.dom,l=s.text;i?(n.preventDefault(),i.clearData(),i.setData("text/html",a.innerHTML),i.setData("text/plain",l)):function(e,t){if(e.dom.parentNode){var n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";var o=getSelection(),r=document.createRange();r.selectNodeContents(t),e.dom.blur(),o.removeAllRanges(),o.addRange(r),setTimeout((function(){n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}}(e,a),r&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))}},Ot.paste=function(e,t){var n=t;if(!e.composing||X){var o=Ht?null:n.clipboardData,r=e.input.shiftKey&&45!=e.input.lastKeyCode;o&&Ut(e,Gt(o),o.getData("text/html"),r,n)?n.preventDefault():function(e,t){if(e.dom.parentNode){var n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,o=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(o.contentEditable="true"),o.style.cssText="position: fixed; left: -10000px; top: 10px",o.focus();var r=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout((function(){e.focus(),o.parentNode&&o.parentNode.removeChild(o),n?Ut(e,o.value,null,r,t):Ut(e,o.textContent,o.innerHTML,r,t)}),50)}}(e,n)}};var Xt=y((function e(t,n,o){m(this,e),this.slice=t,this.move=n,this.node=o})),Yt=U?"altKey":"ctrlKey";for(var Jt in Nt.dragstart=function(e,t){var n=t,o=e.input.mouseDown;if(o&&o.done(),n.dataTransfer){var r,i=e.state.selection,s=i.empty?null:e.posAtCoords(Et(n));if(s&&s.pos>=i.from&&s.pos<=(i instanceof b.NodeSelection?i.to-1:i.to));else if(o&&o.mightDrag)r=b.NodeSelection.create(e.state.doc,o.mightDrag.pos);else if(n.target&&1==n.target.nodeType){var a=e.docView.nearestDesc(n.target,!0);a&&a.node.type.spec.draggable&&a!=e.docView&&(r=b.NodeSelection.create(e.state.doc,a.posBefore))}var l=ht(e,(r||e.state.selection).content()),c=l.dom,d=l.text,u=l.slice;(!n.dataTransfer.files.length||!$||W>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Ht?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",Ht||n.dataTransfer.setData("text/plain",d),e.dragging=new Xt(u,!n[Yt],r)}},Nt.dragend=function(e){var t=e.dragging;window.setTimeout((function(){e.dragging==t&&(e.dragging=null)}),50)},Ot.dragover=Ot.dragenter=function(e,t){return t.preventDefault()},Ot.drop=function(e,t){var n=t,o=e.dragging;if(e.dragging=null,n.dataTransfer){var r=e.posAtCoords(Et(n));if(r){var i=e.state.doc.resolve(r.pos),s=o&&o.slice;s?e.someProp("transformPasted",(function(t){s=t(s,e)})):s=pt(e,Gt(n.dataTransfer),Ht?null:n.dataTransfer.getData("text/html"),!1,i);var a=!(!o||n[Yt]);if(e.someProp("handleDrop",(function(t){return t(e,n,s||k.Slice.empty,a)})))n.preventDefault();else if(s){n.preventDefault();var l=s?w.dropPoint(e.state.doc,i.pos,s):i.pos;null==l&&(l=i.pos);var c=e.state.tr;if(a){var d=o.node;d?d.replace(c):c.deleteSelection()}var u=c.mapping.map(l),f=0==s.openStart&&0==s.openEnd&&1==s.content.childCount,h=c.doc;if(f?c.replaceRangeWith(u,u,s.content.firstChild):c.replaceRange(u,u,s),!c.doc.eq(h)){var p=c.doc.resolve(u);if(f&&b.NodeSelection.isSelectable(s.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(s.content.firstChild))c.setSelection(new b.NodeSelection(p));else{var v=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((function(e,t,n,o){return v=o})),c.setSelection(Je(e,p,c.doc.resolve(v)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))}}}}},Nt.focus=function(e){e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((function(){e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&We(e)}),20))},Nt.blur=function(e,t){var n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},Nt.beforeinput=function(e,t){if($&&X&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();var n=e.input.domChangeCount;setTimeout((function(){if(e.input.domChangeCount==n&&(e.dom.blur(),e.focus(),!e.someProp("handleKeyDown",(function(t){return t(e,A(8,"Backspace"))})))){var t=e.state.selection.$cursor;t&&t.pos>0&&e.dispatch(e.state.tr.delete(t.pos-1,t.pos).scrollIntoView())}}),50)}},Ot)Nt[Jt]=Ot[Jt];function Qt(e,t){if(e==t)return!0;for(var n in e)if(e[n]!==t[n])return!1;for(var o in t)if(!(o in e))return!1;return!0}var Zt=function(){function e(t,n){m(this,e),this.toDOM=t,this.spec=n||rn,this.side=this.spec.side||0}return y(e,[{key:"map",value:function(e,t,n,o){var r=e.mapResult(t.from+o,this.side<0?-1:1),i=r.pos;return r.deleted?null:new nn(i-n,i-n,this)}},{key:"valid",value:function(){return!0}},{key:"eq",value:function(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&Qt(this.spec,t.spec))}},{key:"destroy",value:function(e){this.spec.destroy&&this.spec.destroy(e)}}]),e}(),en=function(){function e(t,n){m(this,e),this.attrs=t,this.spec=n||rn}return y(e,[{key:"map",value:function(e,t,n,o){var r=e.map(t.from+o,this.spec.inclusiveStart?-1:1)-n,i=e.map(t.to+o,this.spec.inclusiveEnd?1:-1)-n;return r>=i?null:new nn(r,i,this)}},{key:"valid",value:function(e,t){return t.from<t.to}},{key:"eq",value:function(t){return this==t||t instanceof e&&Qt(this.attrs,t.attrs)&&Qt(this.spec,t.spec)}},{key:"destroy",value:function(){}}],[{key:"is",value:function(t){return t.type instanceof e}}]),e}(),tn=function(){function e(t,n){m(this,e),this.attrs=t,this.spec=n||rn}return y(e,[{key:"map",value:function(e,t,n,o){var r=e.mapResult(t.from+o,1);if(r.deleted)return null;var i=e.mapResult(t.to+o,-1);return i.deleted||i.pos<=r.pos?null:new nn(r.pos-n,i.pos-n,this)}},{key:"valid",value:function(e,t){var n,o=e.content.findIndex(t.from),r=o.index,i=o.offset;return i==t.from&&!(n=e.child(r)).isText&&i+n.nodeSize==t.to}},{key:"eq",value:function(t){return this==t||t instanceof e&&Qt(this.attrs,t.attrs)&&Qt(this.spec,t.spec)}},{key:"destroy",value:function(){}}]),e}(),nn=function(){function e(t,n,o){m(this,e),this.from=t,this.to=n,this.type=o}return y(e,[{key:"copy",value:function(t,n){return new e(t,n,this.type)}},{key:"eq",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}},{key:"map",value:function(e,t,n){return this.type.map(e,this,t,n)}},{key:"spec",get:function(){return this.type.spec}},{key:"inline",get:function(){return this.type instanceof en}},{key:"widget",get:function(){return this.type instanceof Zt}}],[{key:"widget",value:function(t,n,o){return new e(t,t,new Zt(n,o))}},{key:"inline",value:function(t,n,o,r){return new e(t,n,new en(o,r))}},{key:"node",value:function(t,n,o,r){return new e(t,n,new tn(o,r))}}]),e}(),on=[],rn={},sn=function(){function e(t,n){m(this,e),this.local=t.length?t:on,this.children=n.length?n:on}return y(e,[{key:"find",value:function(e,t,n){var o=[];return this.findInner(null==e?0:e,null==t?1e9:t,o,0,n),o}},{key:"findInner",value:function(e,t,n,o,r){for(var i=0;i<this.local.length;i++){var s=this.local[i];s.from<=t&&s.to>=e&&(!r||r(s.spec))&&n.push(s.copy(s.from+o,s.to+o))}for(var a=0;a<this.children.length;a+=3)if(this.children[a]<t&&this.children[a+1]>e){var l=this.children[a]+1;this.children[a+2].findInner(e-l,t-l,n,o+l,r)}}},{key:"map",value:function(e,t,n){return this==an||0==e.maps.length?this:this.mapInner(e,t,0,0,n||rn)}},{key:"mapInner",value:function(t,n,o,r,i){for(var s,a=0;a<this.local.length;a++){var l=this.local[a].map(t,o,r);l&&l.type.valid(n,l)?(s||(s=[])).push(l):i.onRemove&&i.onRemove(this.local[a].spec)}return this.children.length?cn(this.children,s||[],t,n,o,r,i):s?new e(s.sort(pn),on):an}},{key:"add",value:function(t,n){return n.length?this==an?e.create(t,n):this.addInner(t,n,0):this}},{key:"addInner",value:function(t,n,o){var r,i=this,s=0;t.forEach((function(e,t){var a,l=t+o;if(a=un(n,e,l)){for(r||(r=i.children.slice());s<r.length&&r[s]<t;)s+=3;r[s]==t?r[s+2]=r[s+2].addInner(e,a,l+1):r.splice(s,0,t,t+e.nodeSize,hn(a,e,l+1,rn)),s+=3}}));for(var a=dn(s?fn(n):n,-o),l=0;l<a.length;l++)a[l].type.valid(t,a[l])||a.splice(l--,1);return new e(a.length?this.local.concat(a).sort(pn):this.local,r||this.children)}},{key:"remove",value:function(e){return 0==e.length||this==an?this:this.removeInner(e,0)}},{key:"removeInner",value:function(t,n){for(var o=this.children,r=this.local,i=0;i<o.length;i+=3){for(var s,a=void 0,l=o[i]+n,c=o[i+1]+n,d=0;d<t.length;d++)(s=t[d])&&s.from>l&&s.to<c&&(t[d]=null,(a||(a=[])).push(s));if(a){o==this.children&&(o=this.children.slice());var u=o[i+2].removeInner(a,l+1);u!=an?o[i+2]=u:(o.splice(i,3),i-=3)}}if(r.length)for(var f,h=0;h<t.length;h++)if(f=t[h])for(var p=0;p<r.length;p++)r[p].eq(f,n)&&(r==this.local&&(r=this.local.slice()),r.splice(p--,1));return o==this.children&&r==this.local?this:r.length||o.length?new e(r,o):an}},{key:"forChild",value:function(t,n){if(this==an)return this;if(n.isLeaf)return e.empty;for(var o,r,i=0;i<this.children.length;i+=3)if(this.children[i]>=t){this.children[i]==t&&(o=this.children[i+2]);break}for(var s=t+1,a=s+n.content.size,l=0;l<this.local.length;l++){var c=this.local[l];if(c.from<a&&c.to>s&&c.type instanceof en){var d=Math.max(s,c.from)-s,u=Math.min(a,c.to)-s;d<u&&(r||(r=[])).push(c.copy(d,u))}}if(r){var f=new e(r.sort(pn),on);return o?new ln([f,o]):f}return o||an}},{key:"eq",value:function(t){if(this==t)return!0;if(!(t instanceof e)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(var n=0;n<this.local.length;n++)if(!this.local[n].eq(t.local[n]))return!1;for(var o=0;o<this.children.length;o+=3)if(this.children[o]!=t.children[o]||this.children[o+1]!=t.children[o+1]||!this.children[o+2].eq(t.children[o+2]))return!1;return!0}},{key:"locals",value:function(e){return vn(this.localsInner(e))}},{key:"localsInner",value:function(e){if(this==an)return on;if(e.inlineContent||!this.local.some(en.is))return this.local;for(var t=[],n=0;n<this.local.length;n++)this.local[n].type instanceof en||t.push(this.local[n]);return t}},{key:"forEachSet",value:function(e){e(this)}}],[{key:"create",value:function(e,t){return t.length?hn(t,e,0,rn):an}}]),e}();sn.empty=new sn([],[]),sn.removeOverlap=vn;var an=sn.empty,ln=function(){function e(t){m(this,e),this.members=t}return y(e,[{key:"map",value:function(t,n){var o=this.members.map((function(e){return e.map(t,n,rn)}));return e.from(o)}},{key:"forChild",value:function(t,n){if(n.isLeaf)return sn.empty;for(var o=[],r=0;r<this.members.length;r++){var i=this.members[r].forChild(t,n);i!=an&&(i instanceof e?o=o.concat(i.members):o.push(i))}return e.from(o)}},{key:"eq",value:function(t){if(!(t instanceof e)||t.members.length!=this.members.length)return!1;for(var n=0;n<this.members.length;n++)if(!this.members[n].eq(t.members[n]))return!1;return!0}},{key:"locals",value:function(e){for(var t,n=!0,o=0;o<this.members.length;o++){var r=this.members[o].localsInner(e);if(r.length)if(t){n&&(t=t.slice(),n=!1);for(var i=0;i<r.length;i++)t.push(r[i])}else t=r}return t?vn(n?t:t.sort(pn)):on}},{key:"forEachSet",value:function(e){for(var t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}],[{key:"from",value:function(t){switch(t.length){case 0:return an;case 1:return t[0];default:return new e(t.every((function(e){return e instanceof sn}))?t:t.reduce((function(e,t){return e.concat(t instanceof sn?t:t.members)}),[]))}}}]),e}();function cn(e,t,n,o,r,i,s){for(var a=e.slice(),l=function(e){var t=0;n.maps[c].forEach((function(n,o,r,i){for(var s=i-r-(o-n),l=0;l<a.length;l+=3){var c=a[l+1];if(!(c<0||n>c+e-t)){var d=a[l]+e-t;o>=d?a[l+1]=n<=d?-2:-1:n>=e&&s&&(a[l]+=s,a[l+1]+=s)}}t+=s})),e=n.maps[c].map(e,-1),d=e},c=0,d=i;c<n.maps.length;c++)l(d);for(var u=!1,f=0;f<a.length;f+=3)if(a[f+1]<0){if(-2==a[f+1]){u=!0,a[f+1]=-1;continue}var h=n.map(e[f]+i),p=h-r;if(p<0||p>=o.content.size){u=!0;continue}var v=n.map(e[f+1]+i,-1)-r,m=o.content.findIndex(p),g=m.index,y=m.offset,b=o.maybeChild(g);if(b&&y==p&&y+b.nodeSize==v){var k=a[f+2].mapInner(n,b,h+1,e[f]+i+1,s);k!=an?(a[f]=p,a[f+1]=v,a[f+2]=k):(a[f+1]=-2,u=!0)}else u=!0}if(u){var w=function(e,t,n,o,r,i,s){function a(e,t){for(var i=0;i<e.local.length;i++){var l=e.local[i].map(o,r,t);l?n.push(l):s.onRemove&&s.onRemove(e.local[i].spec)}for(var c=0;c<e.children.length;c+=3)a(e.children[c+2],e.children[c]+t+1)}for(var l=0;l<e.length;l+=3)-1==e[l+1]&&a(e[l+2],t[l]+i+1);return n}(a,e,t,n,r,i,s),S=hn(w,o,0,s);t=S.local;for(var D=0;D<a.length;D+=3)a[D+1]<0&&(a.splice(D,3),D-=3);for(var N=0,O=0;N<S.children.length;N+=3){for(var C=S.children[N];O<a.length&&a[O]<C;)O+=3;a.splice(O,0,S.children[N],S.children[N+1],S.children[N+2])}}return new sn(t.sort(pn),a)}function dn(e,t){if(!t||!e.length)return e;for(var n=[],o=0;o<e.length;o++){var r=e[o];n.push(new nn(r.from+t,r.to+t,r.type))}return n}function un(e,t,n){if(t.isLeaf)return null;for(var o,r=n+t.nodeSize,i=null,s=0;s<e.length;s++)(o=e[s])&&o.from>n&&o.to<r&&((i||(i=[])).push(o),e[s]=null);return i}function fn(e){for(var t=[],n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function hn(e,t,n,o){var r=[],i=!1;t.forEach((function(t,s){var a=un(e,t,s+n);if(a){i=!0;var l=hn(a,t,n+s+1,o);l!=an&&r.push(s,s+t.nodeSize,l)}}));for(var s=dn(i?fn(e):e,-n).sort(pn),a=0;a<s.length;a++)s[a].type.valid(t,s[a])||(o.onRemove&&o.onRemove(s[a].spec),s.splice(a--,1));return s.length||r.length?new sn(s,r):an}function pn(e,t){return e.from-t.from||e.to-t.to}function vn(e){for(var t=e,n=0;n<t.length-1;n++){var o=t[n];if(o.from!=o.to)for(var r=n+1;r<t.length;r++){var i=t[r];if(i.from!=o.from){i.from<o.to&&(t==e&&(t=e.slice()),t[n]=o.copy(o.from,i.from),mn(t,r,o.copy(i.from,o.to)));break}i.to!=o.to&&(t==e&&(t=e.slice()),t[r]=i.copy(i.from,o.to),mn(t,r+1,i.copy(o.to,i.to)))}}return t}function mn(e,t,n){for(;t<e.length&&pn(n,e[t])>0;)t++;e.splice(t,0,n)}function gn(e){var t=[];return e.someProp("decorations",(function(n){var o=n(e.state);o&&o!=an&&t.push(o)})),e.cursorWrapper&&t.push(sn.create(e.state.doc,[e.cursorWrapper.deco])),ln.from(t)}var yn={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},bn=L&&q<=11,kn=function(){function e(){m(this,e),this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}return y(e,[{key:"set",value:function(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}},{key:"clear",value:function(){this.anchorNode=this.focusNode=null}},{key:"eq",value:function(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}]),e}(),wn=function(){function e(t,n){var o=this;m(this,e),this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new kn,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver((function(e){for(var t=0;t<e.length;t++)o.queue.push(e[t]);L&&q<=11&&e.some((function(e){return"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length}))?o.flushSoon():o.flush()})),bn&&(this.onCharData=function(e){o.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),o.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}return y(e,[{key:"flushSoon",value:function(){var e=this;this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((function(){e.flushingSoon=-1,e.flush()}),20))}},{key:"forceFlush",value:function(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}},{key:"start",value:function(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,yn)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}},{key:"stop",value:function(){var e=this;if(this.observer){var t=this.observer.takeRecords();if(t.length){for(var n=0;n<t.length;n++)this.queue.push(t[n]);window.setTimeout((function(){return e.flush()}),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}},{key:"connectSelection",value:function(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}},{key:"disconnectSelection",value:function(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"suppressSelectionUpdates",value:function(){var e=this;this.suppressingSelectionUpdates=!0,setTimeout((function(){return e.suppressingSelectionUpdates=!1}),50)}},{key:"onSelectionChange",value:function(){if(Qe(this.view)){if(this.suppressingSelectionUpdates)return We(this.view);if(L&&q<=11&&!this.view.state.selection.empty){var e=this.view.domSelectionRange();if(e.focusNode&&C(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}},{key:"setCurSelection",value:function(){this.currentSelection.set(this.view.domSelectionRange())}},{key:"ignoreSelectionChange",value:function(e){if(!e.focusNode)return!0;for(var t,n=new Set,o=e.focusNode;o;o=D(o))n.add(o);for(var r=e.anchorNode;r;r=D(r))if(n.has(r)){t=r;break}var i=t&&this.view.docView.nearestDesc(t);return i&&i.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}},{key:"pendingRecords",value:function(){if(this.observer){var e,t=s(this.observer.takeRecords());try{for(t.s();!(e=t.n()).done;){var n=e.value;this.queue.push(n)}}catch(e){t.e(e)}finally{t.f()}}return this.queue}},{key:"flush",value:function(){var e=this.view;if(e.docView&&!(this.flushingSoon>-1)){var t=this.pendingRecords();t.length&&(this.queue=[]);var n=e.domSelectionRange(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Qe(e)&&!this.ignoreSelectionChange(n),r=-1,a=-1,l=!1,c=[];if(e.editable)for(var d=0;d<t.length;d++){var u=this.registerMutation(t[d],c);u&&(r=r<0?u.from:Math.min(u.from,r),a=a<0?u.to:Math.max(u.to,a),u.typeOver&&(l=!0))}if(_&&c.length){var f=c.filter((function(e){return"BR"==e.nodeName}));if(2==f.length){var h=i(f,2),p=h[0],v=h[1];p.parentNode&&p.parentNode.parentNode==v.parentNode?v.remove():p.remove()}else{var m,g=this.currentSelection.focusNode,y=s(f);try{for(y.s();!(m=y.n()).done;){var k=m.value,w=k.parentNode;!w||"LI"!=w.nodeName||g&&On(e,g)==w||k.remove()}}catch(e){y.e(e)}finally{y.f()}}}var S=null;r<0&&o&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&E(n)&&(S=Ke(e))&&S.eq(b.Selection.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,We(e),this.currentSelection.set(n),e.scrollToSelection()):(r>-1||o)&&(r>-1&&(e.docView.markDirty(r,a),function(e){if(Sn.has(e))return;if(Sn.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=_,Dn)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Dn=!0}}(e)),this.handleDOMChange(r,a,l,c),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||We(e),this.currentSelection.set(n))}}},{key:"registerMutation",value:function(e,t){if(t.indexOf(e.target)>-1)return null;var n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(var o=0;o<e.addedNodes.length;o++){var r=e.addedNodes[o];t.push(r),3==r.nodeType&&(this.lastChangedTextNode=r)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};var i=e.previousSibling,s=e.nextSibling;if(L&&q<=11&&e.addedNodes.length)for(var a=0;a<e.addedNodes.length;a++){var l=e.addedNodes[a],c=l.previousSibling,d=l.nextSibling;(!c||Array.prototype.indexOf.call(e.addedNodes,c)<0)&&(i=c),(!d||Array.prototype.indexOf.call(e.addedNodes,d)<0)&&(s=d)}var u=i&&i.parentNode==e.target?S(i)+1:0,f=n.localPosFromDOM(e.target,u,-1),h=s&&s.parentNode==e.target?S(s):e.target.childNodes.length;return{from:f,to:n.localPosFromDOM(e.target,h,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}]),e}(),Sn=new WeakMap,Dn=!1;function Nn(e,t){var n=t.startContainer,o=t.startOffset,r=t.endContainer,i=t.endOffset,s=e.domAtPos(e.state.selection.anchor);if(C(s.node,s.offset,r,i)){var a=[r,i,n,o];n=a[0],o=a[1],r=a[2],i=a[3]}return{anchorNode:n,anchorOffset:o,focusNode:r,focusOffset:i}}function On(e,t){for(var n=t.parentNode;n&&n!=e.dom;n=n.parentNode){var o=e.docView.nearestDesc(n,!0);if(o&&o.node.isBlock)return n}return null}function Cn(e){var t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(j&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){var n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}if(e.parentNode.lastChild==e||j&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}var xn=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Mn(e,t,n,o,r){var i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){var s=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,a=Ke(e,s);if(a&&!e.state.selection.eq(a)){if($&&X&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",(function(t){return t(e,A(13,"Enter"))})))return;var l=e.state.tr.setSelection(a);"pointer"==s?l.setMeta("pointer",!0):"key"==s&&l.scrollIntoView(),i&&l.setMeta("composition",i),e.dispatch(l)}}else{var c=e.state.doc.resolve(t),d=c.sharedDepth(n);t=c.before(d+1),n=e.state.doc.resolve(n).after(d+1);var u,f,h=e.state.selection,p=function(e,t,n){var o,r=e.docView.parseRange(t,n),i=r.node,s=r.fromOffset,a=r.toOffset,l=r.from,c=r.to,d=e.domSelectionRange(),u=d.anchorNode;if(u&&e.dom.contains(1==u.nodeType?u:u.parentNode)&&(o=[{node:u,offset:d.anchorOffset}],E(d)||o.push({node:d.focusNode,offset:d.focusOffset})),$&&8===e.input.lastKeyCode)for(var f=a;f>s;f--){var h=i.childNodes[f-1],p=h.pmViewDesc;if("BR"==h.nodeName&&!p){a=f;break}if(!p||p.size)break}var v=e.state.doc,m=e.someProp("domParser")||k.DOMParser.fromSchema(e.state.schema),g=v.resolve(l),y=null,b=m.parse(i,{topNode:g.parent,topMatch:g.parent.contentMatchAt(g.index()),topOpen:!0,from:s,to:a,preserveWhitespace:"pre"!=g.parent.type.whitespace||"full",findPositions:o,ruleFromNode:Cn,context:g});if(o&&null!=o[0].pos){var w=o[0].pos,S=o[1]&&o[1].pos;null==S&&(S=w),y={anchor:w+l,head:S+l}}return{doc:b,sel:y,from:l,to:c}}(e,t,n),v=e.state.doc,m=v.slice(p.from,p.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(u=e.state.selection.to,f="end"):(u=e.state.selection.from,f="start"),e.input.lastKeyCode=null;var g=function(e,t,n,o,r){var i=e.findDiffStart(t,n);if(null==i)return null;var s=e.findDiffEnd(t,n+e.size,n+t.size),a=s.a,l=s.b;if("end"==r){o-=a+Math.max(0,i-Math.min(a,l))-i}if(a<i&&e.size<t.size){var c=o<=i&&o>=a?i-o:0;(i-=c)&&i<t.size&&En(t.textBetween(i-1,i+1))&&(i+=c?1:-1),l=i+(l-a),a=i}else if(l<i){var d=o<=i&&o>=l?i-o:0;(i-=d)&&i<e.size&&En(e.textBetween(i-1,i+1))&&(i+=d?1:-1),a=i+(a-l),l=i}return{start:i,endA:a,endB:l}}(m.content,p.doc.content,p.from,u,f);if(g&&e.input.domChangeCount++,(H&&e.input.lastIOSEnter>Date.now()-225||X)&&r.some((function(e){return 1==e.nodeType&&!xn.test(e.nodeName)}))&&(!g||g.endA>=g.endB)&&e.someProp("handleKeyDown",(function(t){return t(e,A(13,"Enter"))})))e.input.lastIOSEnter=0;else{if(!g){if(!(o&&h instanceof b.TextSelection&&!h.empty&&h.$head.sameParent(h.$anchor))||e.composing||p.sel&&p.sel.anchor!=p.sel.head){if(p.sel){var y=Tn(e,e.state.doc,p.sel);if(y&&!y.eq(e.state.selection)){var w=e.state.tr.setSelection(y);i&&w.setMeta("composition",i),e.dispatch(w)}}return}g={start:h.from,endA:h.to,endB:h.to}}e.state.selection.from<e.state.selection.to&&g.start==g.endB&&e.state.selection instanceof b.TextSelection&&(g.start>e.state.selection.from&&g.start<=e.state.selection.from+2&&e.state.selection.from>=p.from?g.start=e.state.selection.from:g.endA<e.state.selection.to&&g.endA>=e.state.selection.to-2&&e.state.selection.to<=p.to&&(g.endB+=e.state.selection.to-g.endA,g.endA=e.state.selection.to)),L&&q<=11&&g.endB==g.start+1&&g.endA==g.start&&g.start>p.from&&"  "==p.doc.textBetween(g.start-p.from-1,g.start-p.from+1)&&(g.start--,g.endA--,g.endB--);var S,D=p.doc.resolveNoCache(g.start-p.from),N=p.doc.resolveNoCache(g.endB-p.from),O=v.resolve(g.start),C=D.sameParent(N)&&D.parent.inlineContent&&O.end()>=g.endA;if((H&&e.input.lastIOSEnter>Date.now()-225&&(!C||r.some((function(e){return"DIV"==e.nodeName||"P"==e.nodeName})))||!C&&D.pos<p.doc.content.size&&!D.sameParent(N)&&(S=b.Selection.findFrom(p.doc.resolve(D.pos+1),1,!0))&&S.head==N.pos)&&e.someProp("handleKeyDown",(function(t){return t(e,A(13,"Enter"))})))e.input.lastIOSEnter=0;else if(e.state.selection.anchor>g.start&&function(e,t,n,o,r){if(n-t<=r.pos-o.pos||Pn(o,!0,!1)<r.pos)return!1;var i=e.resolve(t);if(!o.parent.isTextblock){var s=i.nodeAfter;return null!=s&&n==t+s.nodeSize}if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;var a=e.resolve(Pn(i,!0,!0));return!(!a.parent.isTextblock||a.pos>n||Pn(a,!0,!1)<n)&&o.parent.content.cut(o.parentOffset).eq(a.parent.content)}(v,g.start,g.endA,D,N)&&e.someProp("handleKeyDown",(function(t){return t(e,A(8,"Backspace"))})))X&&$&&e.domObserver.suppressSelectionUpdates();else{$&&X&&g.endB==g.start&&(e.input.lastAndroidDelete=Date.now()),X&&!C&&D.start()!=N.start()&&0==N.parentOffset&&D.depth==N.depth&&p.sel&&p.sel.anchor==p.sel.head&&p.sel.head==g.endA&&(g.endB-=2,N=p.doc.resolveNoCache(g.endB-p.from),setTimeout((function(){e.someProp("handleKeyDown",(function(t){return t(e,A(13,"Enter"))}))}),20));var x,M,T,P=g.start,V=g.endA;if(C)if(D.pos==N.pos)L&&q<=11&&0==D.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((function(){return We(e)}),20)),x=e.state.tr.delete(P,V),M=v.resolve(g.start).marksAcross(v.resolve(g.endA));else if(g.endA==g.endB&&(T=function(e,t){for(var n,o,r,i=e.firstChild.marks,s=t.firstChild.marks,a=i,l=s,c=0;c<s.length;c++)a=s[c].removeFromSet(a);for(var d=0;d<i.length;d++)l=i[d].removeFromSet(l);if(1==a.length&&0==l.length)o=a[0],n="add",r=function(e){return e.mark(o.addToSet(e.marks))};else{if(0!=a.length||1!=l.length)return null;o=l[0],n="remove",r=function(e){return e.mark(o.removeFromSet(e.marks))}}for(var u=[],f=0;f<t.childCount;f++)u.push(r(t.child(f)));if(k.Fragment.from(u).eq(e))return{mark:o,type:n}}(D.parent.content.cut(D.parentOffset,N.parentOffset),O.parent.content.cut(O.parentOffset,g.endA-O.start()))))x=e.state.tr,"add"==T.type?x.addMark(P,V,T.mark):x.removeMark(P,V,T.mark);else if(D.parent.child(D.index()).isText&&D.index()==N.index()-(N.textOffset?0:1)){var R=D.parent.textBetween(D.parentOffset,N.parentOffset);if(e.someProp("handleTextInput",(function(t){return t(e,P,V,R)})))return;x=e.state.tr.insertText(R,P,V)}if(x||(x=e.state.tr.replace(P,V,p.doc.slice(g.start-p.from,g.endB-p.from))),p.sel){var B=Tn(e,x.doc,p.sel);B&&!($&&X&&e.composing&&B.empty&&(g.start!=g.endB||e.input.lastAndroidDelete<Date.now()-100)&&(B.head==P||B.head==x.mapping.map(V)-1)||L&&B.empty&&B.head==P)&&x.setSelection(B)}M&&x.ensureMarks(M),i&&x.setMeta("composition",i),e.dispatch(x.scrollIntoView())}}}}function Tn(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Je(e,t.resolve(n.anchor),t.resolve(n.head))}function Pn(e,t,n){for(var o=e.depth,r=t?e.end():e.pos;o>0&&(t||e.indexAfter(o)==e.node(o).childCount);)o--,r++,t=!1;if(n)for(var i=e.node(o).maybeChild(e.indexAfter(o));i&&!i.isLeaf;)i=i.firstChild,r++;return r}function En(e){if(2!=e.length)return!1;var t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}var An=ht,Vn=pt,Rn=jt,Bn=function(){function e(t,n){var o=this;m(this,e),this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new xt,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(qn),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=Fn(this),In(this),this.nodeViews=Ln(this),this.docView=Ce(this.state.doc,zn(this),gn(this),this.dom,this),this.domObserver=new wn(this,(function(e,t,n,r){return Mn(o,e,t,n,r)})),this.domObserver.start(),function(e){var t=function(){var t=Nt[n];e.dom.addEventListener(n,e.input.eventHandlers[n]=function(n){!function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(var n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}(e,n)||Pt(e,n)||!e.editable&&n.type in Ot||t(e,n)},Ct[n]?{passive:!0}:void 0)};for(var n in Nt)t();j&&e.dom.addEventListener("input",(function(){return null})),Tt(e)}(this),this.updatePluginViews()}return y(e,[{key:"composing",get:function(){return this.input.composing}},{key:"props",get:function(){if(this._props.state!=this.state){var e=this._props;for(var t in this._props={},e)this._props[t]=e[t];this._props.state=this.state}return this._props}},{key:"update",value:function(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Tt(this);var t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(qn),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}},{key:"setProps",value:function(e){var t={};for(var n in this._props)t[n]=this._props[n];for(var o in t.state=this.state,e)t[o]=e[o];this.update(t)}},{key:"updateState",value:function(e){this.updateStateInner(e,this._props)}},{key:"updateStateInner",value:function(e,t){var n,o=this.state,r=!1,i=!1;e.storedMarks&&this.composing&&($t(this),i=!0),this.state=e;var s=o.plugins!=e.plugins||this._props.plugins!=t.plugins;if(s||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){var a=Ln(this);(function(e,t){var n=0,o=0;for(var r in e){if(e[r]!=t[r])return!0;n++}for(var i in t)o++;return n!=o})(a,this.nodeViews)&&(this.nodeViews=a,r=!0)}(s||t.handleDOMEvents!=this._props.handleDOMEvents)&&Tt(this),this.editable=Fn(this),In(this);var l=gn(this),c=zn(this),d=o.plugins==e.plugins||o.doc.eq(e.doc)?e.scrollToSelection>o.scrollToSelection?"to selection":"preserve":"reset",u=r||!this.docView.matchesNode(e.doc,c,l);!u&&e.selection.eq(o.selection)||(i=!0);var f,h,p,v,m,g,y,b,k,w,S,D="preserve"==d&&i&&null==this.dom.style.overflowAnchor&&function(e){for(var t,n,o=e.dom.getBoundingClientRect(),r=Math.max(0,o.top),i=(o.left+o.right)/2,s=r+1;s<Math.min(innerHeight,o.bottom);s+=5){var a=e.root.elementFromPoint(i,s);if(a&&a!=e.dom&&e.dom.contains(a)){var l=a.getBoundingClientRect();if(l.top>=r-20){t=a,n=l.top;break}}}return{refDOM:t,refTop:n,stack:ne(e.dom)}}(this);if(i){this.domObserver.stop();var N=u&&(L||$)&&!this.composing&&!o.selection.empty&&!e.selection.empty&&(v=o.selection,m=e.selection,g=Math.min(v.$anchor.sharedDepth(v.head),m.$anchor.sharedDepth(m.head)),v.$anchor.start(g)!=m.$anchor.start(g));if(u){var O=$?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Wt(this)),!r&&this.docView.update(e.doc,c,l,this)||(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=Ce(e.doc,c,l,this.dom,this)),O&&!this.trackWrites&&(N=!0)}N||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&(f=this,h=f.docView.domFromPos(f.state.selection.anchor,0),p=f.domSelectionRange(),C(h.node,h.offset,p.anchorNode,p.anchorOffset)))?We(this,N):(Xe(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(o),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!o.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,o),"reset"==d?this.dom.scrollTop=0:"to selection"==d?this.scrollToSelection():D&&(b=(y=D).refDOM,k=y.refTop,w=y.stack,S=b?b.getBoundingClientRect().top:0,oe(w,0==S?0:S-k))}},{key:"scrollToSelection",value:function(){var e=this,t=this.domSelectionRange().focusNode;if(this.someProp("handleScrollToSelection",(function(t){return t(e)})));else if(this.state.selection instanceof b.NodeSelection){var n=this.docView.domAfterPos(this.state.selection.from);1==n.nodeType&&te(this,n.getBoundingClientRect(),t)}else te(this,this.coordsAtPos(this.state.selection.head,1),t)}},{key:"destroyPluginViews",value:function(){for(var e;e=this.pluginViews.pop();)e.destroy&&e.destroy()}},{key:"updatePluginViews",value:function(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(var t=0;t<this.pluginViews.length;t++){var n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(var o=0;o<this.directPlugins.length;o++){var r=this.directPlugins[o];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(var i=0;i<this.state.plugins.length;i++){var s=this.state.plugins[i];s.spec.view&&this.pluginViews.push(s.spec.view(this))}}}},{key:"updateDraggedNode",value:function(e,t){var n=e.node,o=-1;if(this.state.doc.nodeAt(n.from)==n.node)o=n.from;else{var r=n.from+(this.state.doc.content.size-t.doc.content.size);(r>0&&this.state.doc.nodeAt(r))==n.node&&(o=r)}this.dragging=new Xt(e.slice,e.move,o<0?void 0:b.NodeSelection.create(this.state.doc,o))}},{key:"someProp",value:function(e,t){var n,o=this._props&&this._props[e];if(null!=o&&(n=t?t(o):o))return n;for(var r=0;r<this.directPlugins.length;r++){var i=this.directPlugins[r].props[e];if(null!=i&&(n=t?t(i):i))return n}var s=this.state.plugins;if(s)for(var a=0;a<s.length;a++){var l=s[a].props[e];if(null!=l&&(n=t?t(l):l))return n}}},{key:"hasFocus",value:function(){if(L){var e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}},{key:"focus",value:function(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(re)return e.focus(re);var t=ne(e);e.focus(null==re?{get preventScroll(){return re={preventScroll:!0},!0}}:void 0),re||(re=!1,oe(t,0))}(this.dom),We(this),this.domObserver.start()}},{key:"root",get:function(){var e=this,t=this._root;if(null==t)for(var n,o=function(t){if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=function(){return t.ownerDocument.getSelection()}),{v:e._root=t}},r=this.dom.parentNode;r;r=r.parentNode)if(n=o(r))return n.v;return t||document}},{key:"updateRoot",value:function(){this._root=null}},{key:"posAtCoords",value:function(e){return le(this,e)}},{key:"coordsAtPos",value:function(e){return fe(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)}},{key:"domAtPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.docView.domFromPos(e,t)}},{key:"nodeDOM",value:function(e){var t=this.docView.descAt(e);return t?t.nodeDOM:null}},{key:"posAtDOM",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,o=this.docView.posFromDOM(e,t,n);if(null==o)throw new RangeError("DOM position not inside the editor");return o}},{key:"endOfTextblock",value:function(e,t){return ke(this,t||this.state,e)}},{key:"pasteHTML",value:function(e,t){return Ut(this,"",e,!1,t||new ClipboardEvent("paste"))}},{key:"pasteText",value:function(e,t){return Ut(this,e,null,!0,t||new ClipboardEvent("paste"))}},{key:"destroy",value:function(){this.docView&&(!function(e){for(var t in e.domObserver.stop(),e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],gn(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,N=null)}},{key:"isDestroyed",get:function(){return null==this.docView}},{key:"dispatchEvent",value:function(e){return function(e,t){Pt(e,t)||!Nt[t.type]||!e.editable&&t.type in Ot||Nt[t.type](e,t)}(this,e)}},{key:"dispatch",value:function(e){var t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}},{key:"domSelectionRange",value:function(){var e=this.domSelection();return e?j&&11===this.root.nodeType&&function(e){for(var t=e.activeElement;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){var n=t.getComposedRanges(e.root)[0];if(n)return Nn(e,n)}var o;function r(e){e.preventDefault(),e.stopImmediatePropagation(),o=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",r,!0),o?Nn(e,o):null}(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}},{key:"domSelection",value:function(){return this.root.getSelection()}}]),e}();function zn(e){var t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(function(n){if("function"==typeof n&&(n=n(e.state)),n)for(var o in n)"class"==o?t.class+=" "+n[o]:"style"==o?t.style=(t.style?t.style+";":"")+n[o]:t[o]||"contenteditable"==o||"nodeName"==o||(t[o]=String(n[o]))})),t.translate||(t.translate="no"),[nn.node(0,e.state.doc.content.size,t)]}function In(e){if(e.markCursor){var t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:nn.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Fn(e){return!e.someProp("editable",(function(t){return!1===t(e.state)}))}function Ln(e){var t=Object.create(null);function n(e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function qn(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}return e.Decoration=nn,e.DecorationSet=sn,e.EditorView=Bn,e.__endComposition=Rn,e.__parseFromClipboard=Vn,e.__serializeForClipboard=An,e}export{i as __require};
2
+ //# sourceMappingURL=index.mjs.map