@lotte-innovate/ui-component-test 0.2.24 → 0.2.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1100) hide show
  1. package/README.md +172 -15
  2. package/dist/globals.css +4 -0
  3. package/dist/lib/Typography/Header/index.d.ts +15 -0
  4. package/dist/lib/Typography/Header/index.js +56 -0
  5. package/dist/lib/Typography/Text/index.d.ts +15 -0
  6. package/dist/lib/Typography/Text/index.js +45 -0
  7. package/dist/lib/Typography/index.d.ts +2 -0
  8. package/dist/lib/Typography/index.js +2 -0
  9. package/dist/lib/_virtual/_commonjsHelpers.mjs +2 -0
  10. package/dist/lib/_virtual/_commonjsHelpers.mjs.map +1 -0
  11. package/dist/lib/_virtual/index.mjs +2 -0
  12. package/dist/lib/_virtual/index2.mjs +2 -0
  13. package/dist/lib/_virtual/index2.mjs.map +1 -0
  14. package/dist/lib/_virtual/index3.mjs +2 -0
  15. package/dist/lib/_virtual/index3.mjs.map +1 -0
  16. package/dist/lib/_virtual/react-is.development.mjs +2 -0
  17. package/dist/lib/_virtual/react-is.development.mjs.map +1 -0
  18. package/dist/lib/_virtual/react-is.production.min.mjs +2 -0
  19. package/dist/lib/_virtual/react-is.production.min.mjs.map +1 -0
  20. package/dist/lib/color/alpha.d.ts +784 -0
  21. package/dist/lib/color/alpha.js +784 -0
  22. package/dist/lib/color/constants.d.ts +15 -0
  23. package/dist/lib/color/constants.js +265 -0
  24. package/dist/lib/color/dark.d.ts +392 -0
  25. package/dist/lib/color/dark.js +392 -0
  26. package/dist/lib/color/krdsColors.d.ts +309 -0
  27. package/dist/lib/color/krdsColors.js +309 -0
  28. package/dist/lib/color/light.d.ts +392 -0
  29. package/dist/lib/color/light.js +393 -0
  30. package/dist/lib/components/Accordion/index.d.ts +22 -0
  31. package/dist/lib/components/Accordion/index.js +81 -0
  32. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
  33. package/dist/lib/components/AlertDialog/AlertDialogAction.js +63 -0
  34. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
  35. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +61 -0
  36. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
  37. package/dist/lib/components/AlertDialog/AlertDialogContent.js +52 -0
  38. package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
  39. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +48 -0
  40. package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
  41. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +50 -0
  42. package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
  43. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +48 -0
  44. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
  45. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +67 -0
  46. package/dist/lib/components/AlertDialog/index.d.ts +11 -0
  47. package/dist/lib/components/AlertDialog/index.js +17 -0
  48. package/dist/lib/components/AspectRatio/index.d.ts +10 -0
  49. package/dist/lib/components/AspectRatio/index.js +45 -0
  50. package/dist/lib/components/Avatar/index.d.ts +21 -0
  51. package/dist/lib/components/Avatar/index.js +67 -0
  52. package/dist/lib/components/Badge/index.d.ts +18 -0
  53. package/dist/lib/components/Badge/index.js +65 -0
  54. package/dist/lib/components/BarChart/index.d.ts +33 -0
  55. package/dist/lib/components/BarChart/index.js +63 -0
  56. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  57. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
  58. package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  59. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
  60. package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
  61. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
  62. package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
  63. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
  64. package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
  65. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
  66. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
  67. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
  68. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  69. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
  70. package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
  71. package/dist/lib/components/Breadcrumb/index.js +17 -0
  72. package/dist/lib/components/BubbleChart/index.d.ts +28 -0
  73. package/dist/lib/components/BubbleChart/index.js +82 -0
  74. package/dist/lib/components/Button/index.d.ts +16 -0
  75. package/dist/lib/components/Button/index.js +67 -0
  76. package/dist/lib/components/Calendar/index.d.ts +8 -0
  77. package/dist/lib/components/Calendar/index.js +45 -0
  78. package/dist/lib/components/Callout/CalloutIcon.d.ts +13 -0
  79. package/dist/lib/components/Callout/CalloutIcon.js +58 -0
  80. package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
  81. package/dist/lib/components/Callout/CalloutRoot.js +80 -0
  82. package/dist/lib/components/Callout/CalloutText.d.ts +10 -0
  83. package/dist/lib/components/Callout/CalloutText.js +53 -0
  84. package/dist/lib/components/Callout/index.d.ts +7 -0
  85. package/dist/lib/components/Callout/index.js +9 -0
  86. package/dist/lib/components/Card/index.d.ts +14 -0
  87. package/dist/lib/components/Card/index.js +72 -0
  88. package/dist/lib/components/Checkbox/index.d.ts +17 -0
  89. package/dist/lib/components/Checkbox/index.js +98 -0
  90. package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
  91. package/dist/lib/components/CheckboxCard/index.js +66 -0
  92. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
  93. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +34 -0
  94. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +21 -0
  95. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +59 -0
  96. package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
  97. package/dist/lib/components/CheckboxGroup/index.js +4 -0
  98. package/dist/lib/components/Collapsible/index.d.ts +21 -0
  99. package/dist/lib/components/Collapsible/index.js +75 -0
  100. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
  101. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +43 -0
  102. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
  103. package/dist/lib/components/ContextMenu/ContextMenuContent.js +57 -0
  104. package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
  105. package/dist/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
  106. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
  107. package/dist/lib/components/ContextMenu/ContextMenuItem.js +61 -0
  108. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
  109. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +51 -0
  110. package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
  111. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +49 -0
  112. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
  113. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +32 -0
  114. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
  115. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +45 -0
  116. package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
  117. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +52 -0
  118. package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
  119. package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
  120. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
  121. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +55 -0
  122. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
  123. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +42 -0
  124. package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
  125. package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
  126. package/dist/lib/components/ContextMenu/index.d.ts +17 -0
  127. package/dist/lib/components/ContextMenu/index.js +29 -0
  128. package/dist/lib/components/DataList/DataListItem.d.ts +9 -0
  129. package/dist/lib/components/DataList/DataListItem.js +44 -0
  130. package/dist/lib/components/DataList/DataListLabel.d.ts +10 -0
  131. package/dist/lib/components/DataList/DataListLabel.js +50 -0
  132. package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
  133. package/dist/lib/components/DataList/DataListRoot.js +61 -0
  134. package/dist/lib/components/DataList/DataListValue.d.ts +11 -0
  135. package/dist/lib/components/DataList/DataListValue.js +52 -0
  136. package/dist/lib/components/DataList/index.d.ts +8 -0
  137. package/dist/lib/components/DataList/index.js +6 -0
  138. package/dist/lib/components/Datepicker/index.d.ts +14 -0
  139. package/dist/lib/components/Datepicker/index.js +35 -0
  140. package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
  141. package/dist/lib/components/Dialog/DialogAction.js +61 -0
  142. package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
  143. package/dist/lib/components/Dialog/DialogCancel.js +56 -0
  144. package/dist/lib/components/Dialog/DialogContent.d.ts +11 -0
  145. package/dist/lib/components/Dialog/DialogContent.js +58 -0
  146. package/dist/lib/components/Dialog/DialogDescription.d.ts +9 -0
  147. package/dist/lib/components/Dialog/DialogDescription.js +48 -0
  148. package/dist/lib/components/Dialog/DialogRoot.d.ts +12 -0
  149. package/dist/lib/components/Dialog/DialogRoot.js +46 -0
  150. package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
  151. package/dist/lib/components/Dialog/DialogSlot.js +47 -0
  152. package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
  153. package/dist/lib/components/Dialog/DialogTitle.js +48 -0
  154. package/dist/lib/components/Dialog/DialogTrigger.d.ts +3 -0
  155. package/dist/lib/components/Dialog/DialogTrigger.js +30 -0
  156. package/dist/lib/components/Dialog/index.d.ts +15 -0
  157. package/dist/lib/components/Dialog/index.js +19 -0
  158. package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
  159. package/dist/lib/components/DoughnutChart/index.js +65 -0
  160. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
  161. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
  162. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
  163. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +61 -0
  164. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
  165. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +42 -0
  166. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
  167. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +57 -0
  168. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
  169. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +60 -0
  170. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
  171. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +49 -0
  172. package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
  173. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +46 -0
  174. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
  175. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +42 -0
  176. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +14 -0
  177. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +48 -0
  178. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
  179. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
  180. package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
  181. package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
  182. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
  183. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +42 -0
  184. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
  185. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +54 -0
  186. package/dist/lib/components/DropdownMenu/index.d.ts +20 -0
  187. package/dist/lib/components/DropdownMenu/index.js +29 -0
  188. package/dist/lib/components/Editor/index.d.ts +12 -15
  189. package/dist/lib/components/Editor/index.js +12 -16
  190. package/dist/lib/components/Footer/index.d.ts +11 -0
  191. package/dist/lib/components/Footer/index.js +57 -0
  192. package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
  193. package/dist/lib/components/Gnb/GnbInfo.js +46 -0
  194. package/dist/lib/components/Gnb/GnbLogo.d.ts +10 -0
  195. package/dist/lib/components/Gnb/GnbLogo.js +46 -0
  196. package/dist/lib/components/Gnb/GnbMenu.d.ts +9 -0
  197. package/dist/lib/components/Gnb/GnbMenu.js +46 -0
  198. package/dist/lib/components/Gnb/GnbMenuItem.d.ts +11 -0
  199. package/dist/lib/components/Gnb/GnbMenuItem.js +46 -0
  200. package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
  201. package/dist/lib/components/Gnb/GnbRoot.js +53 -0
  202. package/dist/lib/components/Gnb/index.d.ts +9 -0
  203. package/dist/lib/components/Gnb/index.js +13 -0
  204. package/dist/lib/components/Grid/Pagination.d.ts +2 -0
  205. package/dist/lib/components/Grid/Pagination.js +18 -0
  206. package/dist/lib/components/Grid/index.d.ts +7 -0
  207. package/dist/lib/components/Grid/index.js +59 -0
  208. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  209. package/dist/lib/components/Grid/useGrid.js +81 -0
  210. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
  211. package/dist/lib/components/HoverCard/HoverCardContent.js +62 -0
  212. package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
  213. package/dist/lib/components/HoverCard/HoverCardRoot.js +48 -0
  214. package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
  215. package/dist/lib/components/HoverCard/HoverCardTrigger.js +30 -0
  216. package/dist/lib/components/HoverCard/index.d.ts +10 -0
  217. package/dist/lib/components/HoverCard/index.js +9 -0
  218. package/dist/lib/components/IconButton/index.d.ts +15 -0
  219. package/dist/lib/components/IconButton/index.js +73 -0
  220. package/dist/lib/components/Inset/index.d.ts +10 -0
  221. package/dist/lib/components/Inset/index.js +57 -0
  222. package/dist/lib/components/Label/index.d.ts +20 -0
  223. package/dist/lib/components/Label/index.js +64 -0
  224. package/dist/lib/components/LineChart/index.d.ts +43 -0
  225. package/dist/lib/components/LineChart/index.js +61 -0
  226. package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
  227. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +40 -0
  228. package/dist/lib/components/Menubar/MenubarContent.d.ts +11 -0
  229. package/dist/lib/components/Menubar/MenubarContent.js +61 -0
  230. package/dist/lib/components/Menubar/MenubarItem.d.ts +13 -0
  231. package/dist/lib/components/Menubar/MenubarItem.js +56 -0
  232. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
  233. package/dist/lib/components/Menubar/MenubarItemIndicator.js +50 -0
  234. package/dist/lib/components/Menubar/MenubarMenu.d.ts +5 -0
  235. package/dist/lib/components/Menubar/MenubarMenu.js +30 -0
  236. package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
  237. package/dist/lib/components/Menubar/MenubarRadioGroup.js +32 -0
  238. package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
  239. package/dist/lib/components/Menubar/MenubarRadioItem.js +42 -0
  240. package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
  241. package/dist/lib/components/Menubar/MenubarRoot.js +73 -0
  242. package/dist/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
  243. package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
  244. package/dist/lib/components/Menubar/MenubarSub.d.ts +3 -0
  245. package/dist/lib/components/Menubar/MenubarSub.js +30 -0
  246. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
  247. package/dist/lib/components/Menubar/MenubarSubContent.js +52 -0
  248. package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
  249. package/dist/lib/components/Menubar/MenubarSubTrigger.js +43 -0
  250. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
  251. package/dist/lib/components/Menubar/MenubarTrigger.js +58 -0
  252. package/dist/lib/components/Menubar/index.d.ts +19 -0
  253. package/dist/lib/components/Menubar/index.js +29 -0
  254. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
  255. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +49 -0
  256. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
  257. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
  258. package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
  259. package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
  260. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
  261. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +53 -0
  262. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
  263. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +49 -0
  264. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
  265. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +53 -0
  266. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
  267. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +60 -0
  268. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
  269. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +54 -0
  270. package/dist/lib/components/NavigationMenu/index.d.ts +12 -0
  271. package/dist/lib/components/NavigationMenu/index.js +10 -0
  272. package/dist/lib/components/PieChart/index.d.ts +22 -0
  273. package/dist/lib/components/PieChart/index.js +65 -0
  274. package/dist/lib/components/Popover/PopoverClose.d.ts +9 -0
  275. package/dist/lib/components/Popover/PopoverClose.js +49 -0
  276. package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
  277. package/dist/lib/components/Popover/PopoverContent.js +66 -0
  278. package/dist/lib/components/Popover/PopoverRoot.d.ts +11 -0
  279. package/dist/lib/components/Popover/PopoverRoot.js +43 -0
  280. package/dist/lib/components/Popover/PopoverTrigger.d.ts +3 -0
  281. package/dist/lib/components/Popover/PopoverTrigger.js +30 -0
  282. package/dist/lib/components/Popover/index.d.ts +11 -0
  283. package/dist/lib/components/Popover/index.js +11 -0
  284. package/dist/lib/components/Progress/index.d.ts +13 -0
  285. package/dist/lib/components/Progress/index.js +67 -0
  286. package/dist/lib/components/RadarChart/index.d.ts +32 -0
  287. package/dist/lib/components/RadarChart/index.js +85 -0
  288. package/dist/lib/components/Radio/index.d.ts +13 -0
  289. package/dist/lib/components/Radio/index.js +60 -0
  290. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
  291. package/dist/lib/components/RadioCards/RadioCardsItem.js +55 -0
  292. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
  293. package/dist/lib/components/RadioCards/RadioCardsRoot.js +56 -0
  294. package/dist/lib/components/RadioCards/index.d.ts +6 -0
  295. package/dist/lib/components/RadioCards/index.js +7 -0
  296. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
  297. package/dist/lib/components/RadioGroup/RadioGroupItem.js +47 -0
  298. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
  299. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +62 -0
  300. package/dist/lib/components/RadioGroup/index.d.ts +6 -0
  301. package/dist/lib/components/RadioGroup/index.js +7 -0
  302. package/dist/lib/components/ScrollArea/index.d.ts +9 -0
  303. package/dist/lib/components/ScrollArea/index.js +39 -0
  304. package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
  305. package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
  306. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
  307. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +55 -0
  308. package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
  309. package/dist/lib/components/SegmentedControl/index.js +7 -0
  310. package/dist/lib/components/Select/index.d.ts +36 -0
  311. package/dist/lib/components/Select/index.js +112 -0
  312. package/dist/lib/components/Separator/index.d.ts +11 -0
  313. package/dist/lib/components/Separator/index.js +55 -0
  314. package/dist/lib/components/SideBar/index.d.ts +21 -0
  315. package/dist/lib/components/SideBar/index.js +71 -0
  316. package/dist/lib/components/Skeleton/index.d.ts +14 -0
  317. package/dist/lib/components/Skeleton/index.js +46 -0
  318. package/dist/lib/components/Slider/index.d.ts +15 -0
  319. package/dist/lib/components/Slider/index.js +56 -0
  320. package/dist/lib/components/Spinner/index.d.ts +15 -0
  321. package/dist/lib/components/Spinner/index.js +50 -0
  322. package/dist/lib/components/TabNav/index.d.ts +15 -0
  323. package/dist/lib/components/TabNav/index.js +53 -0
  324. package/dist/lib/components/Table/index.d.ts +30 -0
  325. package/dist/lib/components/Table/index.js +104 -0
  326. package/dist/lib/components/Tabs/DynamicTabs.d.ts +30 -0
  327. package/dist/lib/components/Tabs/DynamicTabs.js +72 -0
  328. package/dist/lib/components/Tabs/index.d.ts +23 -0
  329. package/dist/lib/components/Tabs/index.js +68 -0
  330. package/dist/lib/components/TextArea/index.d.ts +16 -0
  331. package/dist/lib/components/TextArea/index.js +66 -0
  332. package/dist/lib/components/TextField/index.d.ts +21 -0
  333. package/dist/lib/components/TextField/index.js +64 -0
  334. package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
  335. package/dist/lib/components/Timeline/TimelineConnector.js +34 -0
  336. package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
  337. package/dist/lib/components/Timeline/TimelineContent.js +34 -0
  338. package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
  339. package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
  340. package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
  341. package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
  342. package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
  343. package/dist/lib/components/Timeline/TimelineIcon.js +43 -0
  344. package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
  345. package/dist/lib/components/Timeline/TimelineItem.js +34 -0
  346. package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
  347. package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
  348. package/dist/lib/components/Timeline/TimelineTime.d.ts +8 -0
  349. package/dist/lib/components/Timeline/TimelineTime.js +46 -0
  350. package/dist/lib/components/Timeline/TimelineTitle.d.ts +8 -0
  351. package/dist/lib/components/Timeline/TimelineTitle.js +46 -0
  352. package/dist/lib/components/Timeline/index.d.ts +13 -0
  353. package/dist/lib/components/Timeline/index.js +21 -0
  354. package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
  355. package/dist/lib/components/Toast/ToastActionButton.js +72 -0
  356. package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
  357. package/dist/lib/components/Toast/ToastDescription.js +54 -0
  358. package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
  359. package/dist/lib/components/Toast/ToastRoot.js +98 -0
  360. package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
  361. package/dist/lib/components/Toast/ToastTitle.js +54 -0
  362. package/dist/lib/components/Toast/index.d.ts +8 -0
  363. package/dist/lib/components/Toast/index.js +11 -0
  364. package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
  365. package/dist/lib/components/Toggle/ToggleWithText.js +69 -0
  366. package/dist/lib/components/Toggle/index.d.ts +21 -0
  367. package/dist/lib/components/Toggle/index.js +69 -0
  368. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
  369. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +55 -0
  370. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
  371. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +58 -0
  372. package/dist/lib/components/ToggleGroup/index.d.ts +6 -0
  373. package/dist/lib/components/ToggleGroup/index.js +7 -0
  374. package/dist/lib/components/ToggleSwitch/index.d.ts +13 -0
  375. package/dist/lib/components/ToggleSwitch/index.js +82 -0
  376. package/dist/lib/components/Tooltip/index.d.ts +19 -0
  377. package/dist/lib/components/Tooltip/index.js +54 -0
  378. package/dist/lib/components/index.d.ts +61 -1
  379. package/dist/lib/components/index.js +64 -1
  380. package/dist/lib/constants.d.ts +647 -0
  381. package/dist/lib/constants.js +895 -0
  382. package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
  383. package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
  384. package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
  385. package/dist/lib/dist/lib/color/alpha.mjs +2 -0
  386. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
  387. package/dist/lib/dist/lib/color/constants.mjs +2 -0
  388. package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
  389. package/dist/lib/dist/lib/color/light.mjs +2 -0
  390. package/dist/lib/dist/lib/color/light.mjs.map +1 -0
  391. package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
  392. package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
  393. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
  394. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
  395. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +3 -0
  396. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
  397. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs +3 -0
  398. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
  399. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +3 -0
  400. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
  401. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
  402. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
  403. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +3 -0
  404. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
  405. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
  406. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
  407. package/dist/lib/dist/lib/components/AlertDialog/index.mjs +2 -0
  408. package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  409. package/dist/lib/dist/lib/components/AspectRatio/index.mjs +3 -0
  410. package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
  411. package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
  412. package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
  413. package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
  414. package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
  415. package/dist/lib/dist/lib/components/BarChart/index.mjs +2 -0
  416. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
  417. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  418. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  419. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  420. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  421. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  422. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  423. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  424. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  425. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  426. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  427. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  428. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  429. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  430. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  431. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
  432. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  433. package/dist/lib/dist/lib/components/BubbleChart/index.mjs +2 -0
  434. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  435. package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
  436. package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
  437. package/dist/lib/dist/lib/components/Calendar/index.mjs +3 -0
  438. package/dist/lib/dist/lib/components/Calendar/index.mjs.map +1 -0
  439. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs +3 -0
  440. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
  441. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
  442. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
  443. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs +3 -0
  444. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
  445. package/dist/lib/dist/lib/components/Callout/index.mjs +2 -0
  446. package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
  447. package/dist/lib/dist/lib/components/Card/index.mjs +3 -0
  448. package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
  449. package/dist/lib/dist/lib/components/Checkbox/index.mjs +3 -0
  450. package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
  451. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs +3 -0
  452. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
  453. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +3 -0
  454. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
  455. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
  456. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
  457. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs +2 -0
  458. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  459. package/dist/lib/dist/lib/components/Collapsible/index.mjs +3 -0
  460. package/dist/lib/dist/lib/components/Collapsible/index.mjs.map +1 -0
  461. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +3 -0
  462. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
  463. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs +3 -0
  464. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
  465. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
  466. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  467. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
  468. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
  469. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +3 -0
  470. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
  471. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +3 -0
  472. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
  473. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +3 -0
  474. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
  475. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +3 -0
  476. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
  477. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
  478. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
  479. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
  480. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  481. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +3 -0
  482. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
  483. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
  484. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
  485. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
  486. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  487. package/dist/lib/dist/lib/components/ContextMenu/index.mjs +2 -0
  488. package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  489. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs +3 -0
  490. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
  491. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs +3 -0
  492. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
  493. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs +3 -0
  494. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
  495. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs +3 -0
  496. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
  497. package/dist/lib/dist/lib/components/DataList/index.mjs +2 -0
  498. package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
  499. package/dist/lib/dist/lib/components/Datepicker/index.mjs +3 -0
  500. package/dist/lib/dist/lib/components/Datepicker/index.mjs.map +1 -0
  501. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
  502. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
  503. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs +3 -0
  504. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
  505. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs +3 -0
  506. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
  507. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs +3 -0
  508. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
  509. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
  510. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
  511. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs +3 -0
  512. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
  513. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs +3 -0
  514. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
  515. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
  516. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  517. package/dist/lib/dist/lib/components/Dialog/index.mjs +2 -0
  518. package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
  519. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs +2 -0
  520. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  521. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
  522. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  523. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +3 -0
  524. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
  525. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +3 -0
  526. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
  527. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +3 -0
  528. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
  529. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
  530. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
  531. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +3 -0
  532. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
  533. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +3 -0
  534. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
  535. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +3 -0
  536. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
  537. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
  538. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
  539. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
  540. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  541. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
  542. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  543. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
  544. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
  545. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +3 -0
  546. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
  547. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs +2 -0
  548. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  549. package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
  550. package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
  551. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
  552. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
  553. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
  554. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
  555. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
  556. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
  557. package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs +3 -0
  558. package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs.map +1 -0
  559. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
  560. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
  561. package/dist/lib/dist/lib/components/Gnb/index.mjs +2 -0
  562. package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
  563. package/dist/lib/dist/lib/components/Grid/Pagination.mjs +2 -0
  564. package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  565. package/dist/lib/dist/lib/components/Grid/index.mjs +3 -0
  566. package/dist/lib/dist/lib/components/Grid/index.mjs.map +1 -0
  567. package/dist/lib/dist/lib/components/Grid/useGrid.mjs +3 -0
  568. package/dist/lib/dist/lib/components/Grid/useGrid.mjs.map +1 -0
  569. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs +3 -0
  570. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
  571. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
  572. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
  573. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
  574. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  575. package/dist/lib/dist/lib/components/HoverCard/index.mjs +2 -0
  576. package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
  577. package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
  578. package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
  579. package/dist/lib/dist/lib/components/Inset/index.mjs +3 -0
  580. package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
  581. package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
  582. package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
  583. package/dist/lib/dist/lib/components/LineChart/index.mjs +2 -0
  584. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
  585. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
  586. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
  587. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs +3 -0
  588. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
  589. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
  590. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
  591. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs +3 -0
  592. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
  593. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
  594. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  595. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs +3 -0
  596. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
  597. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
  598. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
  599. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
  600. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
  601. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
  602. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  603. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
  604. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  605. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs +3 -0
  606. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
  607. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
  608. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
  609. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs +3 -0
  610. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
  611. package/dist/lib/dist/lib/components/Menubar/index.mjs +2 -0
  612. package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
  613. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
  614. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
  615. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
  616. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  617. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
  618. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  619. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
  620. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
  621. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
  622. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
  623. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
  624. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
  625. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
  626. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
  627. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +3 -0
  628. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
  629. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs +2 -0
  630. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  631. package/dist/lib/dist/lib/components/PieChart/index.mjs +2 -0
  632. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
  633. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs +3 -0
  634. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
  635. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs +3 -0
  636. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
  637. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
  638. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
  639. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
  640. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  641. package/dist/lib/dist/lib/components/Popover/index.mjs +2 -0
  642. package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
  643. package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
  644. package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
  645. package/dist/lib/dist/lib/components/RadarChart/index.mjs +2 -0
  646. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
  647. package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
  648. package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
  649. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs +3 -0
  650. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
  651. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
  652. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
  653. package/dist/lib/dist/lib/components/RadioCards/index.mjs +2 -0
  654. package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
  655. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs +3 -0
  656. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
  657. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
  658. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
  659. package/dist/lib/dist/lib/components/RadioGroup/index.mjs +2 -0
  660. package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  661. package/dist/lib/dist/lib/components/ScrollArea/index.mjs +3 -0
  662. package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
  663. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
  664. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  665. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
  666. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
  667. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs +2 -0
  668. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  669. package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
  670. package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
  671. package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
  672. package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
  673. package/dist/lib/dist/lib/components/SideBar/index.mjs +3 -0
  674. package/dist/lib/dist/lib/components/SideBar/index.mjs.map +1 -0
  675. package/dist/lib/dist/lib/components/Skeleton/index.mjs +3 -0
  676. package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
  677. package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
  678. package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
  679. package/dist/lib/dist/lib/components/Spinner/index.mjs +3 -0
  680. package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
  681. package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
  682. package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
  683. package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
  684. package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
  685. package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs +2 -0
  686. package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs.map +1 -0
  687. package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
  688. package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
  689. package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
  690. package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
  691. package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
  692. package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
  693. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
  694. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
  695. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
  696. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
  697. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
  698. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
  699. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
  700. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
  701. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs +3 -0
  702. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
  703. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
  704. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
  705. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
  706. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
  707. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs +3 -0
  708. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
  709. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs +3 -0
  710. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
  711. package/dist/lib/dist/lib/components/Timeline/index.mjs +2 -0
  712. package/dist/lib/dist/lib/components/Timeline/index.mjs.map +1 -0
  713. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
  714. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
  715. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs +3 -0
  716. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
  717. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs +3 -0
  718. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
  719. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs +3 -0
  720. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
  721. package/dist/lib/dist/lib/components/Toast/index.mjs +2 -0
  722. package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
  723. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
  724. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
  725. package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
  726. package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
  727. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
  728. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
  729. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
  730. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
  731. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs +2 -0
  732. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  733. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
  734. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
  735. package/dist/lib/dist/lib/components/Tooltip/index.mjs +3 -0
  736. package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
  737. package/dist/lib/dist/lib/constants.mjs +2 -0
  738. package/dist/lib/dist/lib/constants.mjs.map +1 -0
  739. package/dist/lib/dist/lib/index.mjs +2 -0
  740. package/dist/lib/dist/lib/index.mjs.map +1 -0
  741. package/dist/lib/dist/lib/theme/ThemeProvider.mjs +3 -0
  742. package/dist/lib/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  743. package/dist/lib/dist/lib/utils/useDarkMode.mjs +3 -0
  744. package/dist/lib/dist/lib/utils/useDarkMode.mjs.map +1 -0
  745. package/dist/lib/dist/lib/utils/useWindowSize.mjs +2 -0
  746. package/dist/lib/dist/lib/utils/useWindowSize.mjs.map +1 -0
  747. package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
  748. package/dist/lib/index.d.ts +2 -0
  749. package/dist/lib/index.js +2 -0
  750. package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs +2 -0
  751. package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
  752. package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs +2 -0
  753. package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs.map +1 -0
  754. package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs +2 -0
  755. package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs.map +1 -0
  756. package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs +2 -0
  757. package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs.map +1 -0
  758. package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs +2 -0
  759. package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs.map +1 -0
  760. package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs +2 -0
  761. package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs.map +1 -0
  762. package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs +2 -0
  763. package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs.map +1 -0
  764. package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs +2 -0
  765. package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +1 -0
  766. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs +2 -0
  767. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs.map +1 -0
  768. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs +2 -0
  769. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs.map +1 -0
  770. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs +2 -0
  771. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs.map +1 -0
  772. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs +2 -0
  773. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs.map +1 -0
  774. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs +2 -0
  775. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs.map +1 -0
  776. package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs +2 -0
  777. package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs.map +1 -0
  778. package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs +2 -0
  779. package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs.map +1 -0
  780. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs +2 -0
  781. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs.map +1 -0
  782. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs +2 -0
  783. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs.map +1 -0
  784. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs +2 -0
  785. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs.map +1 -0
  786. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs +2 -0
  787. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs.map +1 -0
  788. package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs +2 -0
  789. package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs.map +1 -0
  790. package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs +2 -0
  791. package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs.map +1 -0
  792. package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs +2 -0
  793. package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +1 -0
  794. package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs +2 -0
  795. package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs.map +1 -0
  796. package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs +2 -0
  797. package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs.map +1 -0
  798. package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs +2 -0
  799. package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs.map +1 -0
  800. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs +2 -0
  801. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs.map +1 -0
  802. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs +2 -0
  803. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs.map +1 -0
  804. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs +2 -0
  805. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs.map +1 -0
  806. package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs +2 -0
  807. package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs.map +1 -0
  808. package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs +2 -0
  809. package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs.map +1 -0
  810. package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs +2 -0
  811. package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs.map +1 -0
  812. package/dist/lib/node_modules/date-fns/esm/format/index.mjs +2 -0
  813. package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +1 -0
  814. package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs +2 -0
  815. package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs.map +1 -0
  816. package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs +2 -0
  817. package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs.map +1 -0
  818. package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs +2 -0
  819. package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs.map +1 -0
  820. package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs +2 -0
  821. package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs.map +1 -0
  822. package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs +2 -0
  823. package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs.map +1 -0
  824. package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs +2 -0
  825. package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs.map +1 -0
  826. package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs +2 -0
  827. package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs.map +1 -0
  828. package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs +2 -0
  829. package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs.map +1 -0
  830. package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs +2 -0
  831. package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs.map +1 -0
  832. package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs +2 -0
  833. package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs.map +1 -0
  834. package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +2 -0
  835. package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +1 -0
  836. package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs +2 -0
  837. package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs.map +1 -0
  838. package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs +2 -0
  839. package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs.map +1 -0
  840. package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs +2 -0
  841. package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs.map +1 -0
  842. package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +2 -0
  843. package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +1 -0
  844. package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs +2 -0
  845. package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs.map +1 -0
  846. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +2 -0
  847. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
  848. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +2 -0
  849. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
  850. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +2 -0
  851. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +1 -0
  852. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
  853. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
  854. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +2 -0
  855. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
  856. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +2 -0
  857. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
  858. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +2 -0
  859. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
  860. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +2 -0
  861. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +1 -0
  862. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +2 -0
  863. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +1 -0
  864. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +2 -0
  865. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -0
  866. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +2 -0
  867. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +1 -0
  868. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +2 -0
  869. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +1 -0
  870. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +2 -0
  871. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +1 -0
  872. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +2 -0
  873. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +1 -0
  874. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +2 -0
  875. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +1 -0
  876. package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +2 -0
  877. package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +1 -0
  878. package/dist/lib/node_modules/date-fns/esm/max/index.mjs +2 -0
  879. package/dist/lib/node_modules/date-fns/esm/max/index.mjs.map +1 -0
  880. package/dist/lib/node_modules/date-fns/esm/min/index.mjs +2 -0
  881. package/dist/lib/node_modules/date-fns/esm/min/index.mjs.map +1 -0
  882. package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs +2 -0
  883. package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs.map +1 -0
  884. package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs +2 -0
  885. package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs.map +1 -0
  886. package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs +2 -0
  887. package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs.map +1 -0
  888. package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs +2 -0
  889. package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs.map +1 -0
  890. package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs +2 -0
  891. package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs.map +1 -0
  892. package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs +2 -0
  893. package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs.map +1 -0
  894. package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs +2 -0
  895. package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs.map +1 -0
  896. package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs +2 -0
  897. package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs.map +1 -0
  898. package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs +2 -0
  899. package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs.map +1 -0
  900. package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs +2 -0
  901. package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs.map +1 -0
  902. package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +2 -0
  903. package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +1 -0
  904. package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +2 -0
  905. package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +1 -0
  906. package/dist/lib/node_modules/object-assign/index.mjs +7 -0
  907. package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
  908. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
  909. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
  910. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
  911. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
  912. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
  913. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
  914. package/dist/lib/node_modules/prop-types/index.mjs +2 -0
  915. package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
  916. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
  917. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
  918. package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
  919. package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
  920. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
  921. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
  922. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
  923. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
  924. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
  925. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
  926. package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs +2 -0
  927. package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs.map +1 -0
  928. package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs +21 -0
  929. package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs.map +1 -0
  930. package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs +2 -0
  931. package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs.map +1 -0
  932. package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs +2 -0
  933. package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs.map +1 -0
  934. package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs +2 -0
  935. package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs.map +1 -0
  936. package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs +2 -0
  937. package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs.map +1 -0
  938. package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs +2 -0
  939. package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs.map +1 -0
  940. package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs +2 -0
  941. package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs.map +1 -0
  942. package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs +2 -0
  943. package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs.map +1 -0
  944. package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs +2 -0
  945. package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs.map +1 -0
  946. package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs +2 -0
  947. package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs.map +1 -0
  948. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  949. package/dist/lib/theme/ThemeProvider.js +29 -0
  950. package/dist/lib/theme/index.d.ts +2 -0
  951. package/dist/lib/theme/index.js +2 -0
  952. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  953. package/dist/lib/types.d.ts +85 -0
  954. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  955. package/dist/lib/utils/classPrefixes.js +29 -0
  956. package/dist/lib/utils/useDarkMode.d.ts +1 -0
  957. package/dist/lib/utils/useDarkMode.js +50 -0
  958. package/dist/lib/utils/useWindowSize.d.ts +1 -0
  959. package/dist/lib/utils/useWindowSize.js +17 -0
  960. package/dist/tailwind.config.js +98 -0
  961. package/dist/tsconfig.tsbuildinfo +1 -1
  962. package/package.json +57 -10
  963. package/dist/lib/components/Editor/index.mjs +0 -3
  964. package/dist/lib/constants.mjs +0 -2
  965. package/dist/lib/constants.mjs.map +0 -1
  966. package/dist/lib/index.mjs +0 -2
  967. package/dist/lib/utils/utils.mjs.map +0 -1
  968. package/dist/post-tinymce.js +0 -22
  969. package/public/tinymce/CHANGELOG.md +0 -3453
  970. package/public/tinymce/README.md +0 -73
  971. package/public/tinymce/bower.json +0 -27
  972. package/public/tinymce/composer.json +0 -52
  973. package/public/tinymce/icons/default/icons.js +0 -194
  974. package/public/tinymce/icons/default/icons.min.js +0 -1
  975. package/public/tinymce/icons/default/icons.mjs +0 -2
  976. package/public/tinymce/icons/default/icons.mjs.map +0 -1
  977. package/public/tinymce/icons/default/index.d.ts +0 -1
  978. package/public/tinymce/icons/default/index.js +0 -7
  979. package/public/tinymce/icons/default/index.mjs +0 -2
  980. package/public/tinymce/icons/default/index.mjs.map +0 -1
  981. package/public/tinymce/license.txt +0 -21
  982. package/public/tinymce/models/dom/index.d.ts +0 -1
  983. package/public/tinymce/models/dom/index.js +0 -7
  984. package/public/tinymce/models/dom/index.mjs +0 -2
  985. package/public/tinymce/models/dom/index.mjs.map +0 -1
  986. package/public/tinymce/models/dom/model.js +0 -8040
  987. package/public/tinymce/models/dom/model.min.js +0 -4
  988. package/public/tinymce/models/dom/model.mjs +0 -2
  989. package/public/tinymce/models/dom/model.mjs.map +0 -1
  990. package/public/tinymce/package.json +0 -32
  991. package/public/tinymce/plugins/advlist/index.d.ts +0 -1
  992. package/public/tinymce/plugins/advlist/index.js +0 -7
  993. package/public/tinymce/plugins/advlist/index.mjs +0 -2
  994. package/public/tinymce/plugins/advlist/index.mjs.map +0 -1
  995. package/public/tinymce/plugins/advlist/plugin.js +0 -259
  996. package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
  997. package/public/tinymce/plugins/advlist/plugin.mjs +0 -2
  998. package/public/tinymce/plugins/advlist/plugin.mjs.map +0 -1
  999. package/public/tinymce/plugins/autolink/index.js +0 -7
  1000. package/public/tinymce/plugins/autolink/plugin.js +0 -228
  1001. package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
  1002. package/public/tinymce/plugins/code/index.d.ts +0 -1
  1003. package/public/tinymce/plugins/code/index.js +0 -7
  1004. package/public/tinymce/plugins/code/index.mjs +0 -2
  1005. package/public/tinymce/plugins/code/index.mjs.map +0 -1
  1006. package/public/tinymce/plugins/code/plugin.js +0 -85
  1007. package/public/tinymce/plugins/code/plugin.min.js +0 -4
  1008. package/public/tinymce/plugins/code/plugin.mjs +0 -2
  1009. package/public/tinymce/plugins/code/plugin.mjs.map +0 -1
  1010. package/public/tinymce/plugins/codesample/index.d.ts +0 -1
  1011. package/public/tinymce/plugins/codesample/index.js +0 -7
  1012. package/public/tinymce/plugins/codesample/index.mjs +0 -2
  1013. package/public/tinymce/plugins/codesample/index.mjs.map +0 -1
  1014. package/public/tinymce/plugins/codesample/plugin.d.ts +0 -45
  1015. package/public/tinymce/plugins/codesample/plugin.js +0 -2463
  1016. package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
  1017. package/public/tinymce/plugins/codesample/plugin.mjs +0 -2
  1018. package/public/tinymce/plugins/codesample/plugin.mjs.map +0 -1
  1019. package/public/tinymce/plugins/image/index.d.ts +0 -1
  1020. package/public/tinymce/plugins/image/index.js +0 -7
  1021. package/public/tinymce/plugins/image/index.mjs +0 -2
  1022. package/public/tinymce/plugins/image/index.mjs.map +0 -1
  1023. package/public/tinymce/plugins/image/plugin.js +0 -1505
  1024. package/public/tinymce/plugins/image/plugin.min.js +0 -4
  1025. package/public/tinymce/plugins/image/plugin.mjs +0 -2
  1026. package/public/tinymce/plugins/image/plugin.mjs.map +0 -1
  1027. package/public/tinymce/plugins/link/index.d.ts +0 -1
  1028. package/public/tinymce/plugins/link/index.js +0 -7
  1029. package/public/tinymce/plugins/link/index.mjs +0 -2
  1030. package/public/tinymce/plugins/link/index.mjs.map +0 -1
  1031. package/public/tinymce/plugins/link/plugin.js +0 -1242
  1032. package/public/tinymce/plugins/link/plugin.min.js +0 -4
  1033. package/public/tinymce/plugins/link/plugin.mjs +0 -2
  1034. package/public/tinymce/plugins/link/plugin.mjs.map +0 -1
  1035. package/public/tinymce/plugins/lists/index.d.ts +0 -1
  1036. package/public/tinymce/plugins/lists/index.js +0 -7
  1037. package/public/tinymce/plugins/lists/index.mjs +0 -2
  1038. package/public/tinymce/plugins/lists/index.mjs.map +0 -1
  1039. package/public/tinymce/plugins/lists/plugin.js +0 -2172
  1040. package/public/tinymce/plugins/lists/plugin.min.js +0 -4
  1041. package/public/tinymce/plugins/lists/plugin.mjs +0 -2
  1042. package/public/tinymce/plugins/lists/plugin.mjs.map +0 -1
  1043. package/public/tinymce/plugins/table/index.d.ts +0 -1
  1044. package/public/tinymce/plugins/table/index.js +0 -7
  1045. package/public/tinymce/plugins/table/index.mjs +0 -2
  1046. package/public/tinymce/plugins/table/index.mjs.map +0 -1
  1047. package/public/tinymce/plugins/table/plugin.js +0 -3462
  1048. package/public/tinymce/plugins/table/plugin.min.js +0 -4
  1049. package/public/tinymce/plugins/table/plugin.mjs +0 -2
  1050. package/public/tinymce/plugins/table/plugin.mjs.map +0 -1
  1051. package/public/tinymce/skins/content/default/content.css +0 -61
  1052. package/public/tinymce/skins/content/default/content.js +0 -2
  1053. package/public/tinymce/skins/content/default/content.min.css +0 -1
  1054. package/public/tinymce/skins/content/default/content.mjs +0 -2
  1055. package/public/tinymce/skins/content/default/content.mjs.map +0 -1
  1056. package/public/tinymce/skins/ui/oxide/content.css +0 -785
  1057. package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
  1058. package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
  1059. package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  1060. package/public/tinymce/skins/ui/oxide/content.js +0 -2
  1061. package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
  1062. package/public/tinymce/skins/ui/oxide/content.mjs +0 -2
  1063. package/public/tinymce/skins/ui/oxide/content.mjs.map +0 -1
  1064. package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
  1065. package/public/tinymce/skins/ui/oxide/skin.js +0 -2
  1066. package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
  1067. package/public/tinymce/skins/ui/oxide/skin.mjs +0 -2
  1068. package/public/tinymce/skins/ui/oxide/skin.mjs.map +0 -1
  1069. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  1070. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  1071. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  1072. package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
  1073. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
  1074. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  1075. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  1076. package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
  1077. package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  1078. package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  1079. package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  1080. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  1081. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  1082. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  1083. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  1084. package/public/tinymce/themes/silver/index.d.ts +0 -1
  1085. package/public/tinymce/themes/silver/index.js +0 -7
  1086. package/public/tinymce/themes/silver/index.mjs +0 -2
  1087. package/public/tinymce/themes/silver/index.mjs.map +0 -1
  1088. package/public/tinymce/themes/silver/theme.js +0 -30775
  1089. package/public/tinymce/themes/silver/theme.min.js +0 -384
  1090. package/public/tinymce/themes/silver/theme.mjs +0 -2
  1091. package/public/tinymce/themes/silver/theme.mjs.map +0 -1
  1092. package/public/tinymce/tinymce.d.ts +0 -3238
  1093. package/public/tinymce/tinymce.js +0 -31779
  1094. package/public/tinymce/tinymce.min.js +0 -384
  1095. package/public/tinymce/tinymce.mjs +0 -2
  1096. package/public/tinymce/tinymce.mjs.map +0 -1
  1097. /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
  1098. /package/dist/lib/{components/Editor → dist/lib/Typography/Header}/index.mjs.map +0 -0
  1099. /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
  1100. /package/dist/{post-tinymce.d.ts → lib/types.js} +0 -0
@@ -1,4 +0,0 @@
1
- /**
2
- * TinyMCE version 6.8.5 (TBD)
3
- */
4
- !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===r.name)?"string":t;var n,o,r,s})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),s=t("array"),i=n("boolean"),l=e=>!(e=>null==e)(e),a=n("function"),d=n("number"),c=()=>{},m=e=>()=>e,u=(e,t)=>e===t,p=e=>t=>!e(t),g=m(!1);class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return l(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1);const f=Array.prototype.slice,y=Array.prototype.indexOf,v=Array.prototype.push,C=(e,t)=>{return n=e,o=t,y.call(n,o)>-1;var n,o},b=(e,t)=>{for(let n=0,o=e.length;n<o;n++)if(t(e[n],n))return!0;return!1},N=(e,t)=>{const n=e.length,o=new Array(n);for(let r=0;r<n;r++){const n=e[r];o[r]=t(n,r)}return o},S=(e,t)=>{for(let n=0,o=e.length;n<o;n++)t(e[n],n)},L=(e,t)=>{const n=[];for(let o=0,r=e.length;o<r;o++){const r=e[o];t(r,o)&&n.push(r)}return n},O=(e,t,n)=>(S(e,((e,o)=>{n=t(n,e,o)})),n),A=(e,t,n)=>{for(let o=0,r=e.length;o<r;o++){const r=e[o];if(t(r,o))return h.some(r);if(n(r,o))break}return h.none()},T=(e,t)=>A(e,t,g),x=(e,t)=>(e=>{const t=[];for(let n=0,o=e.length;n<o;++n){if(!s(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);v.apply(t,e[n])}return t})(N(e,t)),E=e=>{const t=f.call(e,0);return t.reverse(),t},w=(e,t)=>t>=0&&t<e.length?h.some(e[t]):h.none(),k=e=>w(e,0),D=e=>w(e,e.length-1),B=(e,t)=>{const n=[],o=a(t)?e=>b(n,(n=>t(n,e))):e=>C(n,e);for(let t=0,r=e.length;t<r;t++){const r=e[t];o(r)||n.push(r)}return n},M=(e,t,n=u)=>e.exists((e=>n(e,t))),P=(e,t,n)=>e.isSome()&&t.isSome()?h.some(n(e.getOrDie(),t.getOrDie())):h.none(),I=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},R=(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return I(n.childNodes[0])},U=(e,t)=>{const n=(t||document).createElement(e);return I(n)},$=I,_=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},H=(e,t)=>e.dom===t.dom,F=_,V="undefined"!=typeof window?window:Function("return this;")(),j=(e,t)=>((e,t)=>{let n=null!=t?t:V;for(let t=0;t<e.length&&null!=n;++t)n=n[e[t]];return n})(e.split("."),t),K=Object.getPrototypeOf,z=e=>{const t=j("ownerDocument.defaultView",e);return r(e)&&((e=>((e,t)=>{const n=((e,t)=>j(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(K(e).constructor.name))},Q=e=>e.dom.nodeName.toLowerCase(),W=e=>e.dom.nodeType,q=e=>t=>W(t)===e,Z=e=>G(e)&&z(e.dom),G=q(1),J=q(3),X=q(9),Y=q(11),ee=e=>t=>G(t)&&Q(t)===e,te=e=>h.from(e.dom.parentNode).map($),ne=e=>N(e.dom.childNodes,$),oe=(e,t)=>{const n=e.dom.childNodes;return h.from(n[t]).map($)},re=e=>oe(e,0),se=e=>oe(e,e.dom.childNodes.length-1),ie=a(Element.prototype.attachShadow)&&a(Node.prototype.getRootNode)?e=>$(e.dom.getRootNode()):e=>X(e)?e:$(e.dom.ownerDocument),le=e=>$(e.dom.host),ae=e=>{const t=J(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return(e=>{const t=ie(e);return Y(n=t)&&l(n.dom.host)?h.some(t):h.none();var n})($(t)).fold((()=>n.body.contains(t)),(o=ae,r=le,e=>o(r(e))));var o,r};var de=(e,t,n,o,r)=>e(n,o)?h.some(n):a(r)&&r(n)?h.none():t(n,o,r);const ce=(e,t,n)=>{let o=e.dom;const r=a(n)?n:g;for(;o.parentNode;){o=o.parentNode;const e=$(o);if(t(e))return h.some(e);if(r(e))break}return h.none()},me=(e,t,n)=>de(((e,t)=>t(e)),ce,e,t,n),ue=(e,t,n)=>ce(e,(e=>_(e,t)),n),pe=(e,t)=>{te(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},ge=(e,t)=>{e.dom.appendChild(t.dom)},he=(e,t)=>{S(t,(t=>{ge(e,t)}))},fe=e=>{e.dom.textContent="",S(ne(e),(e=>{ye(e)}))},ye=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)};var ve=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),Ce=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),be=tinymce.util.Tools.resolve("tinymce.util.VK");const Ne=e=>N(e,$),Se=Object.keys,Le=(e,t)=>{const n=Se(e);for(let o=0,r=n.length;o<r;o++){const r=n[o];t(e[r],r)}},Oe=(e,t)=>{const n=e.dom;Le(t,((e,t)=>{((e,t,n)=>{if(!(o(n)||i(n)||d(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(n,t,e)}))},Ae=e=>O(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),Te=e=>((e,t)=>$(e.dom.cloneNode(!0)))(e),xe=(e,t)=>{const n=((e,t)=>{const n=U(t),o=Ae(e);return Oe(n,o),n})(e,t);var o,r;r=n,(e=>h.from(e.dom.nextSibling).map($))(o=e).fold((()=>{te(o).each((e=>{ge(e,r)}))}),(e=>{pe(e,r)}));const s=ne(e);return he(n,s),ye(e),n};var Ee=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),we=tinymce.util.Tools.resolve("tinymce.util.Tools");const ke=e=>t=>l(t)&&t.nodeName.toLowerCase()===e,De=e=>t=>l(t)&&e.test(t.nodeName),Be=e=>l(e)&&3===e.nodeType,Me=e=>l(e)&&1===e.nodeType,Pe=De(/^(OL|UL|DL)$/),Ie=De(/^(OL|UL)$/),Re=ke("ol"),Ue=De(/^(LI|DT|DD)$/),$e=De(/^(DT|DD)$/),_e=De(/^(TH|TD)$/),He=ke("br"),Fe=(e,t)=>l(t)&&t.nodeName in e.schema.getTextBlockElements(),Ve=(e,t)=>l(e)&&e.nodeName in t,je=(e,t)=>l(t)&&t.nodeName in e.schema.getVoidElements(),Ke=(e,t,n)=>{const o=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&o},ze=(e,t)=>e.isChildOf(t,e.getRoot()),Qe=e=>t=>t.options.get(e),We=Qe("lists_indent_on_tab"),qe=Qe("forced_root_block"),Ze=Qe("forced_root_block_attrs"),Ge=(e,t)=>{const n=e.dom,o=e.schema.getBlockElements(),r=n.createFragment(),s=qe(e),i=Ze(e);let l,a,d=!1;for(a=n.create(s,i),Ve(t.firstChild,o)||r.appendChild(a);l=t.firstChild;){const e=l.nodeName;d||"SPAN"===e&&"bookmark"===l.getAttribute("data-mce-type")||(d=!0),Ve(l,o)?(r.appendChild(l),a=null):(a||(a=n.create(s,i),r.appendChild(a)),a.appendChild(l))}return!d&&a&&a.appendChild(n.create("br",{"data-mce-bogus":"1"})),r},Je=Ee.DOM,Xe=ee("dd"),Ye=ee("dt"),et=(e,t)=>{var n;Xe(t)?xe(t,"dt"):Ye(t)&&(n=t,h.from(n.dom.parentElement).map($)).each((n=>((e,t,n)=>{const o=Je.select('span[data-mce-type="bookmark"]',t),r=Ge(e,n),s=Je.createRng();s.setStartAfter(n),s.setEndAfter(t);const i=s.extractContents();for(let t=i.firstChild;t;t=t.firstChild)if("LI"===t.nodeName&&e.dom.isEmpty(t)){Je.remove(t);break}e.dom.isEmpty(i)||Je.insertAfter(i,t),Je.insertAfter(r,t);const l=n.parentElement;l&&Ke(e.dom,l)&&(e=>{const t=e.parentNode;t&&we.each(o,(e=>{t.insertBefore(e,n.parentNode)})),Je.remove(e)})(l),Je.remove(n),Ke(e.dom,t)&&Je.remove(t)})(e,n.dom,t.dom)))},tt=e=>{Ye(e)&&xe(e,"dd")},nt=(e,t)=>{if(Be(e))return{container:e,offset:t};const n=ve.getNode(e,t);return Be(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&Be(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&Be(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},ot=e=>{const t=e.cloneRange(),n=nt(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const o=nt(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t},rt=["OL","UL","DL"],st=rt.join(","),it=(e,t)=>{const n=t||e.selection.getStart(!0);return e.dom.getParent(n,st,dt(e,n))},lt=e=>{const t=e.selection.getSelectedBlocks();return L(((e,t)=>{const n=we.map(t,(t=>e.dom.getParent(t,"li,dd,dt",dt(e,t))||t));return B(n)})(e,t),Ue)},at=(e,t)=>{const n=e.dom.getParents(t,"TD,TH");return n.length>0?n[0]:e.getBody()},dt=(e,t)=>{const n=e.dom.getParents(t,e.dom.isBlock),o=T(n,(t=>{return n=e.schema,!Pe(o=t)&&!Ue(o)&&b(rt,(e=>n.isValidChild(o.nodeName,e)));var n,o}));return o.getOr(e.getBody())},ct=(e,t)=>{const n=e.dom.getParents(t,"ol,ul",dt(e,t));return D(n)},mt=(e,t)=>{const n=N(t,(t=>ct(e,t).getOr(t)));return B(n)},ut=e=>/\btox\-/.test(e.className),pt=(e,t)=>A(e,Pe,_e).exists((e=>e.nodeName===t&&!ut(e))),gt=(e,t)=>null!==t&&!e.dom.isEditable(t),ht=(e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return gt(e,n)},ft=(e,t)=>{const n=e.selection.getNode();return t({parents:e.dom.getParents(n),element:n}),e.on("NodeChange",t),()=>e.off("NodeChange",t)},yt=(e,t)=>{const n=(t||document).createDocumentFragment();return S(e,(e=>{n.appendChild(e.dom)})),$(n)},vt=(e,t,n)=>e.dispatch("ListMutation",{action:t,element:n}),Ct=(bt=/^\s+|\s+$/g,e=>e.replace(bt,""));var bt;const Nt=(e,t,n)=>{((e,t,n)=>{if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);(e=>void 0!==e.style&&a(e.style.getPropertyValue))(e)&&e.style.setProperty(t,n)})(e.dom,t,n)},St=e=>F(e,"OL,UL"),Lt=e=>re(e).exists(St),Ot=e=>"listAttributes"in e,At=e=>"isComment"in e,Tt=e=>e.depth>0,xt=e=>e.isSelected,Et=e=>{const t=ne(e),n=se(e).exists(St)?t.slice(0,-1):t;return N(n,Te)},wt=(e,t)=>{ge(e.item,t.list)},kt=(e,t)=>{const n={list:U(t,e),item:U("li",e)};return ge(n.list,n.item),n},Dt=(e,t,n)=>{const o=t.slice(0,n.depth);return D(o).each((t=>{if(Ot(n)){const o=((e,t,n)=>{const o=U("li",e);return Oe(o,t),he(o,n),o})(e,n.itemAttributes,n.content);((e,t)=>{ge(e.list,t),e.item=t})(t,o),((e,t)=>{Q(e.list)!==t.listType&&(e.list=xe(e.list,t.listType)),Oe(e.list,t.listAttributes)})(t,n)}else if((e=>"isFragment"in e)(n))he(t.item,n.content);else{const e=R(`\x3c!--${n.content}--\x3e`);ge(t.list,e)}})),o},Bt=(e,t)=>{let n=h.none();const o=O(t,((t,o,r)=>At(o)?0===r?(n=h.some(o),t):Dt(e,t,o):o.depth>t.length?((e,t,n)=>{const o=((e,t,n)=>{const o=[];for(let r=0;r<n;r++)o.push(kt(e,Ot(t)?t.listType:t.parentListType));return o})(e,n,n.depth-t.length);var r;return(e=>{for(let t=1;t<e.length;t++)wt(e[t-1],e[t])})(o),((e,t)=>{for(let t=0;t<e.length-1;t++)Nt(e[t].item,"list-style-type","none");D(e).each((e=>{Ot(t)&&(Oe(e.list,t.listAttributes),Oe(e.item,t.itemAttributes)),he(e.item,t.content)}))})(o,n),r=o,P(D(t),k(r),wt),t.concat(o)})(e,t,o):Dt(e,t,o)),[]);return n.each((e=>{const t=R(`\x3c!--${e.content}--\x3e`);k(o).each((e=>{((e,t)=>{re(e).fold((()=>{ge(e,t)}),(n=>{e.dom.insertBefore(t.dom,n.dom)}))})(e.list,t)}))})),k(o).map((e=>e.list))},Mt=e=>(S(e,((t,n)=>{((e,t)=>{const n=e[t].depth,o=e=>e.depth===n&&!e.dirty,r=e=>e.depth<n;return A(E(e.slice(0,t)),o,r).orThunk((()=>A(e.slice(t+1),o,r)))})(e,n).fold((()=>{t.dirty&&Ot(t)&&(e=>{e.listAttributes=((e,t)=>{const n={};var o;return((e,t,n,o)=>{Le(e,((e,r)=>{(t(e,r)?n:o)(e,r)}))})(e,t,(o=n,(e,t)=>{o[t]=e}),c),n})(e.listAttributes,((e,t)=>"start"!==t))})(t)}),(e=>{return o=e,void(Ot(n=t)&&Ot(o)&&(n.listType=o.listType,n.listAttributes={...o.listAttributes}));var n,o}))})),e),Pt=(e,t,n,o)=>{var r,s;if(8===W(s=o)||"#comment"===Q(s))return[{depth:e+1,content:null!==(r=o.dom.nodeValue)&&void 0!==r?r:"",dirty:!1,isSelected:!1,isComment:!0}];t.each((e=>{H(e.start,o)&&n.set(!0)}));const i=((e,t,n)=>te(e).filter(G).map((o=>({depth:t,dirty:!1,isSelected:n,content:Et(e),itemAttributes:Ae(e),listAttributes:Ae(o),listType:Q(o),isInPreviousLi:!1}))))(o,e,n.get());t.each((e=>{H(e.end,o)&&n.set(!1)}));const l=se(o).filter(St).map((o=>Rt(e,t,n,o))).getOr([]);return i.toArray().concat(l)},It=(e,t,n,o)=>re(o).filter(St).fold((()=>Pt(e,t,n,o)),(r=>{const s=O(ne(o),((o,s,i)=>{if(0===i)return o;if(F(s,"LI"))return o.concat(Pt(e,t,n,s));{const t={isFragment:!0,depth:e,content:[s],isSelected:!1,dirty:!1,parentListType:Q(r)};return o.concat(t)}}),[]);return Rt(e,t,n,r).concat(s)})),Rt=(e,t,n,o)=>x(ne(o),(o=>(St(o)?Rt:It)(e+1,t,n,o))),Ut=(e,t,n)=>{const o=((e,t)=>{const n=(e=>{let t=!1;return{get:()=>t,set:e=>{t=e}}})();return N(e,(e=>({sourceList:e,entries:Rt(0,t,n,e)})))})(t,(e=>{const t=N(lt(e),$);return P(T(t,p(Lt)),T(E(t),p(Lt)),((e,t)=>({start:e,end:t})))})(e));S(o,(t=>{((e,t)=>{S(L(e,xt),(e=>((e,t)=>{switch(e){case"Indent":t.depth++;break;case"Outdent":t.depth--;break;case"Flatten":t.depth=0}t.dirty=!0})(t,e)))})(t.entries,n);const o=((e,t)=>x(((e,t)=>{if(0===e.length)return[];{let n=t(e[0]);const o=[];let r=[];for(let s=0,i=e.length;s<i;s++){const i=e[s],l=t(i);l!==n&&(o.push(r),r=[]),n=l,r.push(i)}return 0!==r.length&&o.push(r),o}})(t,Tt),(t=>k(t).exists(Tt)?((e,t)=>{const n=Mt(t);return Bt(e.contentDocument,n).toArray()})(e,t):((e,t)=>{const n=Mt(t);return N(n,(t=>{const n=At(t)?yt([R(`\x3c!--${t.content}--\x3e`)]):yt(t.content);return $(Ge(e,n.dom))}))})(e,t))))(e,t.entries);var r;S(o,(t=>{vt(e,"Indent"===n?"IndentList":"OutdentList",t.dom)})),r=t.sourceList,S(o,(e=>{pe(r,e)})),ye(t.sourceList)}))},$t=(e,t)=>{const n=Ne((e=>{const t=(e=>{const t=ct(e,e.selection.getStart()),n=L(e.selection.getSelectedBlocks(),Ie);return t.toArray().concat(n)})(e),n=(e=>{const t=e.selection.getStart();return e.dom.getParents(t,"ol,ul",dt(e,t))})(e);return T(n,(e=>{return t=$(e),te(t).exists((e=>Ue(e.dom)&&re(e).exists((e=>!Pe(e.dom)))&&se(e).exists((e=>!Pe(e.dom)))));var t})).fold((()=>mt(e,t)),(e=>[e]))})(e)),o=Ne((e=>L(lt(e),$e))(e));let r=!1;if(n.length||o.length){const s=e.selection.getBookmark();Ut(e,n,t),((e,t,n)=>{S(n,"Indent"===t?tt:t=>et(e,t))})(e,t,o),e.selection.moveToBookmark(s),e.selection.setRng(ot(e.selection.getRng())),e.nodeChanged(),r=!0}return r},_t=(e,t)=>!(e=>{const t=it(e);return gt(e,t)})(e)&&$t(e,t),Ht=e=>_t(e,"Indent"),Ft=e=>_t(e,"Outdent"),Vt=e=>_t(e,"Flatten"),jt=e=>"\ufeff"===e;var Kt=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");const zt=Ee.DOM,Qt=e=>{const t={},n=n=>{let o=e[n?"startContainer":"endContainer"],r=e[n?"startOffset":"endOffset"];if(Me(o)){const e=zt.create("span",{"data-mce-type":"bookmark"});o.hasChildNodes()?(r=Math.min(r,o.childNodes.length-1),n?o.insertBefore(e,o.childNodes[r]):zt.insertAfter(e,o.childNodes[r])):o.appendChild(e),o=e,r=0}t[n?"startContainer":"endContainer"]=o,t[n?"startOffset":"endOffset"]=r};return n(!0),e.collapsed||n(),t},Wt=e=>{const t=t=>{let n=e[t?"startContainer":"endContainer"],o=e[t?"startOffset":"endOffset"];if(n){if(Me(n)&&n.parentNode){const e=n;o=(e=>{var t;let n=null===(t=e.parentNode)||void 0===t?void 0:t.firstChild,o=0;for(;n;){if(n===e)return o;Me(n)&&"bookmark"===n.getAttribute("data-mce-type")||o++,n=n.nextSibling}return-1})(n),n=n.parentNode,zt.remove(e),!n.hasChildNodes()&&zt.isBlock(n)&&n.appendChild(zt.create("br"))}e[t?"startContainer":"endContainer"]=n,e[t?"startOffset":"endOffset"]=o}};t(!0),t();const n=zt.createRng();return n.setStart(e.startContainer,e.startOffset),e.endContainer&&n.setEnd(e.endContainer,e.endOffset),ot(n)},qt=e=>{switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},Zt=(e,t)=>{we.each(t,((t,n)=>{e.setAttribute(n,t)}))},Gt=(e,t,n)=>{((e,t,n)=>{const o=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",o)})(e,t,n),((e,t,n)=>{Zt(t,n["list-attributes"]),we.each(e.select("li",t),(e=>{Zt(e,n["list-item-attributes"])}))})(e,t,n)},Jt=(e,t)=>l(t)&&!Ve(t,e.schema.getBlockElements()),Xt=(e,t,n,o)=>{let r=t[n?"startContainer":"endContainer"];const s=t[n?"startOffset":"endOffset"];Me(r)&&(r=r.childNodes[Math.min(s,r.childNodes.length-1)]||r),!n&&He(r.nextSibling)&&(r=r.nextSibling);const i=(t,n)=>{var r;const s=new Ce(t,(t=>{for(;!e.dom.isBlock(t)&&t.parentNode&&o!==t;)t=t.parentNode;return t})(t)),i=n?"next":"prev";let l;for(;l=s[i]();)if(!je(e,l)&&!jt(l.textContent)&&0!==(null===(r=l.textContent)||void 0===r?void 0:r.length))return h.some(l);return h.none()};if(n&&Be(r))if(jt(r.textContent))r=i(r,!1).getOr(r);else for(null!==r.parentNode&&Jt(e,r.parentNode)&&(r=r.parentNode);null!==r.previousSibling&&(Jt(e,r.previousSibling)||Be(r.previousSibling));)r=r.previousSibling;if(!n&&Be(r))if(jt(r.textContent))r=i(r,!0).getOr(r);else for(null!==r.parentNode&&Jt(e,r.parentNode)&&(r=r.parentNode);null!==r.nextSibling&&(Jt(e,r.nextSibling)||Be(r.nextSibling));)r=r.nextSibling;for(;r.parentNode!==o;){const t=r.parentNode;if(Fe(e,r))return r;if(/^(TD|TH)$/.test(t.nodeName))return r;r=t}return r},Yt=(e,t,n)=>{const o=e.selection.getRng();let r="LI";const s=dt(e,((e,t)=>{const n=e.selection.getStart(!0),o=Xt(e,t,!0,e.getBody());return r=$(o),s=$(t.commonAncestorContainer),i=r,l=function(e,...t){return(...n)=>{const o=t.concat(n);return e.apply(null,o)}}(H,s),ce(i,l,void 0).isSome()?t.commonAncestorContainer:n;var r,s,i,l})(e,o)),i=e.dom;if("false"===i.getContentEditable(e.selection.getNode()))return;"DL"===(t=t.toUpperCase())&&(r="DT");const l=Qt(o),a=L(((e,t,n)=>{const o=[],r=e.dom,s=Xt(e,t,!0,n),i=Xt(e,t,!1,n);let l;const a=[];for(let e=s;e&&(a.push(e),e!==i);e=e.nextSibling);return we.each(a,(t=>{var s;if(Fe(e,t))return o.push(t),void(l=null);if(r.isBlock(t)||He(t))return He(t)&&r.remove(t),void(l=null);const i=t.nextSibling;Kt.isBookmarkNode(t)&&(Pe(i)||Fe(e,i)||!i&&t.parentNode===n)?l=null:(l||(l=r.create("p"),null===(s=t.parentNode)||void 0===s||s.insertBefore(l,t),o.push(l)),l.appendChild(t))})),o})(e,o,s),e.dom.isEditable);we.each(a,(o=>{let s;const l=o.previousSibling,a=o.parentNode;Ue(a)||(l&&Pe(l)&&l.nodeName===t&&((e,t,n)=>{const o=e.getStyle(t,"list-style-type");let r=n?n["list-style-type"]:"";return r=null===r?"":r,o===r})(i,l,n)?(s=l,o=i.rename(o,r),l.appendChild(o)):(s=i.create(t),a.insertBefore(s,o),s.appendChild(o),o=i.rename(o,r)),((e,t,n)=>{we.each(["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"],(n=>e.setStyle(t,n,"")))})(i,o),Gt(i,s,n),tn(e.dom,s))})),e.selection.setRng(Wt(l))},en=(e,t,n)=>{return((e,t)=>Pe(e)&&e.nodeName===(null==t?void 0:t.nodeName))(t,n)&&((e,t,n)=>e.getStyle(t,"list-style-type",!0)===e.getStyle(n,"list-style-type",!0))(e,t,n)&&(o=n,t.className===o.className);var o},tn=(e,t)=>{let n,o=t.nextSibling;if(en(e,t,o)){const r=o;for(;n=r.firstChild;)t.appendChild(n);e.remove(r)}if(o=t.previousSibling,en(e,t,o)){const r=o;for(;n=r.lastChild;)t.insertBefore(n,t.firstChild);e.remove(r)}},nn=(e,t,n,o)=>{if(t.nodeName!==n){const r=e.dom.rename(t,n);Gt(e.dom,r,o),vt(e,qt(n),r)}else Gt(e.dom,t,o),vt(e,qt(n),t)},on=(e,t,n,o)=>{if(t.classList.forEach(((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))})),t.nodeName!==n){const r=e.dom.rename(t,n);Gt(e.dom,r,o),vt(e,qt(n),r)}else Gt(e.dom,t,o),vt(e,qt(n),t)},rn=e=>"list-style-type"in e,sn=(e,t,n)=>{const o=it(e);if(ht(e,o))return;const s=(e=>{const t=it(e),n=e.selection.getSelectedBlocks();return((e,t)=>l(e)&&1===t.length&&t[0]===e)(t,n)?(e=>L(e.querySelectorAll(st),Pe))(t):L(n,(e=>Pe(e)&&t!==e))})(e),i=r(n)?n:{};s.length>0?((e,t,n,o,r)=>{const s=Pe(t);if(!s||t.nodeName!==o||rn(r)||ut(t)){Yt(e,o,r);const i=Qt(e.selection.getRng()),l=s?[t,...n]:n,a=s&&ut(t)?on:nn;we.each(l,(t=>{a(e,t,o,r)})),e.selection.setRng(Wt(i))}else Vt(e)})(e,o,s,t,i):((e,t,n,o)=>{if(t!==e.getBody())if(t)if(t.nodeName!==n||rn(o)||ut(t)){const r=Qt(e.selection.getRng());ut(t)&&t.classList.forEach(((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))})),Gt(e.dom,t,o);const s=e.dom.rename(t,n);tn(e.dom,s),e.selection.setRng(Wt(r)),Yt(e,n,o),vt(e,qt(n),s)}else Vt(e);else Yt(e,n,o),vt(e,qt(n),t)})(e,o,t,i)},ln=Ee.DOM,an=(e,t)=>{const n=we.grep(e.select("ol,ul",t));we.each(n,(t=>{((e,t)=>{const n=t.parentElement;if(n&&"LI"===n.nodeName&&n.firstChild===t){const o=n.previousSibling;o&&"LI"===o.nodeName?(o.appendChild(t),Ke(e,n)&&ln.remove(n)):ln.setStyle(n,"listStyleType","none")}if(Pe(n)){const e=n.previousSibling;e&&"LI"===e.nodeName&&e.appendChild(t)}})(e,t)}))},dn=(e,t,n,o)=>{let r=t.startContainer;const s=t.startOffset;if(Be(r)&&(n?s<r.data.length:s>0))return r;const i=e.schema.getNonEmptyElements();Me(r)&&(r=ve.getNode(r,s));const l=new Ce(r,o);n&&((e,t)=>!!He(t)&&e.isBlock(t.nextSibling)&&!He(t.previousSibling))(e.dom,r)&&l.next();const a=n?l.next.bind(l):l.prev2.bind(l);for(;r=a();){if("LI"===r.nodeName&&!r.hasChildNodes())return r;if(i[r.nodeName])return r;if(Be(r)&&r.data.length>0)return r}return null},cn=(e,t)=>{const n=t.childNodes;return 1===n.length&&!Pe(n[0])&&e.isBlock(n[0])},mn=e=>h.from(e).map($).filter(Z).exists((e=>((e,t=!1)=>{return ae(e)?e.dom.isContentEditable:(n=e,de(((e,t)=>_(e,t)),ue,n,"[contenteditable]",void 0)).fold(m(t),(e=>"true"===(e=>e.dom.contentEditable)(e)));var n})(e)&&!C(["details"],Q(e)))),un=(e,t,n)=>{let o;const r=cn(e,n)?n.firstChild:n;if(((e,t)=>{cn(e,t)&&mn(t.firstChild)&&e.remove(t.firstChild,!0)})(e,t),!Ke(e,t,!0))for(;o=t.firstChild;)r.appendChild(o)},pn=(e,t,n)=>{let o;const r=t.parentNode;if(!ze(e,t)||!ze(e,n))return;Pe(n.lastChild)&&(o=n.lastChild),r===n.lastChild&&He(r.previousSibling)&&e.remove(r.previousSibling);const s=n.lastChild;s&&He(s)&&t.hasChildNodes()&&e.remove(s),Ke(e,n,!0)&&fe($(n)),un(e,t,n),o&&n.appendChild(o);const i=((e,t)=>{const n=e.dom,o=t.dom;return n!==o&&n.contains(o)})($(n),$(t))?e.getParents(t,Pe,n):[];e.remove(t),S(i,(t=>{Ke(e,t)&&t!==e.getRoot()&&e.remove(t)}))},gn=(e,t)=>{const n=e.dom,o=e.selection,r=o.getStart(),s=at(e,r),i=n.getParent(o.getStart(),"LI",s);if(i){const r=i.parentElement;if(r===e.getBody()&&Ke(n,r))return!0;const l=ot(o.getRng()),a=n.getParent(dn(e,l,t,s),"LI",s),d=a&&(t?n.isChildOf(i,a):n.isChildOf(a,i));if(a&&a!==i&&!d)return e.undoManager.transact((()=>{var n,o;t?((e,t,n,o)=>{const r=e.dom;if(r.isEmpty(o))((e,t,n)=>{fe($(n)),pn(e.dom,t,n),e.selection.setCursorLocation(n,0)})(e,n,o);else{const s=Qt(t);pn(r,n,o),e.selection.setRng(Wt(s))}})(e,l,a,i):(null===(o=(n=i).parentNode)||void 0===o?void 0:o.firstChild)===n?Ft(e):((e,t,n,o)=>{const r=Qt(t);pn(e.dom,n,o);const s=Wt(r);e.selection.setRng(s)})(e,l,i,a)})),!0;if(d&&!t&&a!==i)return e.undoManager.transact((()=>{if(l.commonAncestorContainer.parentElement){const t=Qt(l),o=l.commonAncestorContainer.parentElement;un(n,l.commonAncestorContainer.parentElement,a),o.remove();const r=Wt(t);e.selection.setRng(r)}})),!0;if(!a&&!t&&0===l.startOffset&&0===l.endOffset)return e.undoManager.transact((()=>{Vt(e)})),!0}return!1},hn=e=>{const t=e.selection.getStart(),n=at(e,t);return e.dom.getParent(t,"LI,DT,DD",n)||lt(e).length>0},fn=(e,t)=>{const n=e.selection;return!ht(e,n.getNode())&&(n.isCollapsed()?((e,t)=>gn(e,t)||((e,t)=>{const n=e.dom,o=e.selection.getStart(),r=at(e,o),s=n.getParent(o,n.isBlock,r);if(s&&n.isEmpty(s)){const o=ot(e.selection.getRng()),i=n.getParent(dn(e,o,t,r),"LI",r);if(i){const l=e=>C(["td","th","caption"],Q(e)),a=e=>e.dom===r;return!!((e,t,n=u)=>P(e,t,n).getOr(e.isNone()&&t.isNone()))(me($(i),l,a),me($(o.startContainer),l,a),H)&&(e.undoManager.transact((()=>{const o=i.parentNode;((e,t,n)=>{const o=e.getParent(t.parentNode,e.isBlock,n);e.remove(t),o&&e.isEmpty(o)&&e.remove(o)})(n,s,r),tn(n,o),e.selection.select(i,!0),e.selection.collapse(t)})),!0)}}return!1})(e,t))(e,t):(e=>!!hn(e)&&(e.undoManager.transact((()=>{e.execCommand("Delete"),an(e.dom,e.getBody())})),!0))(e))},yn=e=>{const t=E(Ct(e).split("")),n=N(t,((e,t)=>{const n=e.toUpperCase().charCodeAt(0)-"A".charCodeAt(0)+1;return Math.pow(26,t)*n}));return O(n,((e,t)=>e+t),0)},vn=e=>{if(--e<0)return"";{const t=e%26,n=Math.floor(e/26);return vn(n)+String.fromCharCode("A".charCodeAt(0)+t)}},Cn=e=>{const t=parseInt(e.start,10);return M(e.listStyleType,"upper-alpha")?vn(t):M(e.listStyleType,"lower-alpha")?vn(t).toLowerCase():e.start},bn=(e,t)=>()=>{const n=it(e);return l(n)&&n.nodeName===t},Nn=e=>{e.addCommand("mceListProps",(()=>{(e=>{const t=it(e);Re(t)&&!ht(e,t)&&e.windowManager.open({title:"List Properties",body:{type:"panel",items:[{type:"input",name:"start",label:"Start list at number",inputMode:"numeric"}]},initialData:{start:Cn({start:e.dom.getAttrib(t,"start","1"),listStyleType:h.from(e.dom.getStyle(t,"list-style-type"))})},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:t=>{(e=>{switch((e=>/^[0-9]+$/.test(e)?2:/^[A-Z]+$/.test(e)?0:/^[a-z]+$/.test(e)?1:e.length>0?4:3)(e)){case 2:return h.some({listStyleType:h.none(),start:e});case 0:return h.some({listStyleType:h.some("upper-alpha"),start:yn(e).toString()});case 1:return h.some({listStyleType:h.some("lower-alpha"),start:yn(e).toString()});case 3:return h.some({listStyleType:h.none(),start:""});case 4:return h.none()}})(t.getData().start).each((t=>{e.execCommand("mceListUpdate",!1,{attrs:{start:"1"===t.start?"":t.start},styles:{"list-style-type":t.listStyleType.getOr("")}})})),t.close()}})})(e)}))};var Sn=tinymce.util.Tools.resolve("tinymce.html.Node");const Ln=e=>3===e.type,On=e=>0===e.length,An=e=>{const t=(t,n)=>{const o=Sn.create("li");S(t,(e=>o.append(e))),n?e.insert(o,n,!0):e.append(o)},n=O(e.children(),((e,n)=>Ln(n)?[...e,n]:On(e)||Ln(n)?e:(t(e,n),[])),[]);On(n)||t(n)},Tn=(e,t)=>n=>(n.setEnabled(e.selection.isEditable()),ft(e,(o=>{n.setActive(pt(o.parents,t)),n.setEnabled(!ht(e,o.element)&&e.selection.isEditable())}))),xn=(e,t)=>n=>ft(e,(o=>n.setEnabled(pt(o.parents,t)&&!ht(e,o.element))));e.add("lists",(e=>((e=>{(0,e.options.register)("lists_indent_on_tab",{processor:"boolean",default:!0})})(e),(e=>{e.on("PreInit",(()=>{const{parser:t}=e;t.addNodeFilter("ul,ol",(e=>S(e,An)))}))})(e),e.hasPlugin("rtc",!0)?Nn(e):((e=>{We(e)&&(e=>{e.on("keydown",(t=>{t.keyCode!==be.TAB||be.metaKeyPressed(t)||e.undoManager.transact((()=>{(t.shiftKey?Ft(e):Ht(e))&&t.preventDefault()}))}))})(e),(e=>{e.on("ExecCommand",(t=>{const n=t.command.toLowerCase();"delete"!==n&&"forwarddelete"!==n||!hn(e)||an(e.dom,e.getBody())})),e.on("keydown",(t=>{t.keyCode===be.BACKSPACE?fn(e,!1)&&t.preventDefault():t.keyCode===be.DELETE&&fn(e,!0)&&t.preventDefault()}))})(e)})(e),(e=>{e.on("BeforeExecCommand",(t=>{const n=t.command.toLowerCase();"indent"===n?Ht(e):"outdent"===n&&Ft(e)})),e.addCommand("InsertUnorderedList",((t,n)=>{sn(e,"UL",n)})),e.addCommand("InsertOrderedList",((t,n)=>{sn(e,"OL",n)})),e.addCommand("InsertDefinitionList",((t,n)=>{sn(e,"DL",n)})),e.addCommand("RemoveList",(()=>{Vt(e)})),Nn(e),e.addCommand("mceListUpdate",((t,n)=>{r(n)&&((e,t)=>{const n=it(e);null===n||ht(e,n)||e.undoManager.transact((()=>{r(t.styles)&&e.dom.setStyles(n,t.styles),r(t.attrs)&&Le(t.attrs,((t,o)=>e.dom.setAttrib(n,o,t)))}))})(e,n)})),e.addQueryStateHandler("InsertUnorderedList",bn(e,"UL")),e.addQueryStateHandler("InsertOrderedList",bn(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",bn(e,"DL"))})(e)),(e=>{const t=t=>()=>e.execCommand(t);e.hasPlugin("advlist")||(e.ui.registry.addToggleButton("numlist",{icon:"ordered-list",active:!1,tooltip:"Numbered list",onAction:t("InsertOrderedList"),onSetup:Tn(e,"OL")}),e.ui.registry.addToggleButton("bullist",{icon:"unordered-list",active:!1,tooltip:"Bullet list",onAction:t("InsertUnorderedList"),onSetup:Tn(e,"UL")}))})(e),(e=>{const t={text:"List properties...",icon:"ordered-list",onAction:()=>e.execCommand("mceListProps"),onSetup:xn(e,"OL")};e.ui.registry.addMenuItem("listprops",t),e.ui.registry.addContextMenu("lists",{update:t=>{const n=it(e,t);return Re(n)?["listprops"]:[]}})})(e),(e=>({backspaceDelete:t=>{fn(e,t)}}))(e))))}();
@@ -1,2 +0,0 @@
1
- import{__exports as e}from"../../../../_virtual/plugin3.mjs";var t;function n(){return t||(t=1,function(){var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=r=e,o=(s=String).prototype,o.isPrototypeOf(n)||(null===(i=r.constructor)||void 0===i?void 0:i.name)===s.name)?"string":t;var n,o;var r,s,i})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),s=t("array"),i=n("boolean"),l=e=>!(e=>null==e)(e),a=n("function"),d=n("number"),c=()=>{},m=e=>()=>e,u=(e,t)=>e===t;const p=e=>t=>!e(t),f=m(!1);class g{constructor(e,t){this.tag=e,this.value=t}static some(e){return new g(!0,e)}static none(){return g.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?g.some(e(this.value)):g.none()}bind(e){return this.tag?e(this.value):g.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:g.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return l(e)?g.some(e):g.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}g.singletonNone=new g(!1);const h=Array.prototype.slice,y=Array.prototype.indexOf,v=Array.prototype.push,C=(e,t)=>{return n=e,o=t,y.call(n,o)>-1;var n,o},b=(e,t)=>{for(let n=0,o=e.length;n<o;n++){if(t(e[n],n))return!0}return!1},N=(e,t)=>{const n=e.length,o=new Array(n);for(let r=0;r<n;r++){const n=e[r];o[r]=t(n,r)}return o},S=(e,t)=>{for(let n=0,o=e.length;n<o;n++){t(e[n],n)}},L=(e,t)=>{const n=[];for(let o=0,r=e.length;o<r;o++){const r=e[o];t(r,o)&&n.push(r)}return n},D=(e,t,n)=>(S(e,((e,o)=>{n=t(n,e,o)})),n),T=(e,t,n)=>{for(let o=0,r=e.length;o<r;o++){const r=e[o];if(t(r,o))return g.some(r);if(n(r,o))break}return g.none()},O=(e,t)=>T(e,t,f),x=(e,t)=>(e=>{const t=[];for(let n=0,o=e.length;n<o;++n){if(!s(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);v.apply(t,e[n])}return t})(N(e,t)),A=e=>{const t=h.call(e,0);return t.reverse(),t},E=(e,t)=>t>=0&&t<e.length?g.some(e[t]):g.none(),w=e=>E(e,0),k=e=>E(e,e.length-1),B=(e,t)=>{const n=[],o=a(t)?e=>b(n,(n=>t(n,e))):e=>C(n,e);for(let t=0,r=e.length;t<r;t++){const r=e[t];o(r)||n.push(r)}return n},P=(e,t,n=u)=>e.exists((e=>n(e,t))),M=(e,t,n)=>e.isSome()&&t.isSome()?g.some(n(e.getOrDie(),t.getOrDie())):g.none(),I=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},R={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return I(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return I(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return I(n)},fromDom:I,fromPoint:(e,t,n)=>g.from(e.dom.elementFromPoint(t,n)).map(I)},U=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},_=(e,t)=>e.dom===t.dom,$=U,H="undefined"!=typeof window?window:Function("return this;")(),F=(e,t)=>((e,t)=>{let n=null!=t?t:H;for(let t=0;t<e.length&&null!=n;++t)n=n[e[t]];return n})(e.split("."),t),V=(e,t)=>{const n=((e,t)=>F(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n},j=Object.getPrototypeOf,K=e=>{const t=F("ownerDocument.defaultView",e);return r(e)&&((e=>V("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(j(e).constructor.name))},z=e=>e.dom.nodeName.toLowerCase(),Q=e=>e.dom.nodeType,W=e=>t=>Q(t)===e,q=e=>Z(e)&&K(e.dom),Z=W(1),G=W(3),J=W(9),X=W(11),Y=e=>t=>Z(t)&&z(t)===e,ee=e=>g.from(e.dom.parentNode).map(R.fromDom),te=e=>N(e.dom.childNodes,R.fromDom),ne=(e,t)=>{const n=e.dom.childNodes;return g.from(n[t]).map(R.fromDom)},oe=e=>ne(e,0),re=e=>ne(e,e.dom.childNodes.length-1),se=a(Element.prototype.attachShadow)&&a(Node.prototype.getRootNode)?e=>R.fromDom(e.dom.getRootNode()):e=>{return J(e)?e:(t=e,R.fromDom(t.dom.ownerDocument));var t},ie=e=>{const t=se(e);return X(n=t)&&l(n.dom.host)?g.some(t):g.none();var n},le=e=>R.fromDom(e.dom.host),ae=e=>{const t=G(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return ie(R.fromDom(t)).fold((()=>n.body.contains(t)),(o=ae,r=le,e=>o(r(e))));var o,r};var de=(e,t,n,o,r)=>e(n,o)?g.some(n):a(r)&&r(n)?g.none():t(n,o,r);const ce=(e,t,n)=>{let o=e.dom;const r=a(n)?n:f;for(;o.parentNode;){o=o.parentNode;const e=R.fromDom(o);if(t(e))return g.some(e);if(r(e))break}return g.none()},me=(e,t,n)=>de(((e,t)=>t(e)),ce,e,t,n),ue=(e,t,n)=>ce(e,(e=>U(e,t)),n),pe=e=>{return de(((e,t)=>U(e,t)),ue,e,"[contenteditable]",t);var t},fe=e=>e.dom.contentEditable,ge=(e,t)=>{ee(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},he=(e,t)=>{const n=(e=>g.from(e.dom.nextSibling).map(R.fromDom))(e);n.fold((()=>{ee(e).each((e=>{ye(e,t)}))}),(e=>{ge(e,t)}))},ye=(e,t)=>{e.dom.appendChild(t.dom)},ve=(e,t)=>{S(t,(t=>{ye(e,t)}))},Ce=e=>{e.dom.textContent="",S(te(e),(e=>{be(e)}))},be=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)};var Ne=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),Se=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),Le=tinymce.util.Tools.resolve("tinymce.util.VK");const De=e=>N(e,R.fromDom),Te=Object.keys,Oe=(e,t)=>{const n=Te(e);for(let o=0,r=n.length;o<r;o++){const r=n[o];t(e[r],r)}},xe=(e,t)=>{const n={};var o;return((e,t,n,o)=>{Oe(e,((e,r)=>{(t(e,r)?n:o)(e,r)}))})(e,t,(o=n,(e,t)=>{o[t]=e}),c),n},Ae=(e,t)=>{const n=e.dom;Oe(t,((e,t)=>{((e,t,n)=>{if(!(o(n)||i(n)||d(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(n,t,e)}))},Ee=e=>D(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),we=e=>((e,t)=>R.fromDom(e.dom.cloneNode(t)))(e,!0),ke=(e,t)=>{const n=((e,t)=>{const n=R.fromTag(t),o=Ee(e);return Ae(n,o),n})(e,t);he(e,n);const o=te(e);return ve(n,o),be(e),n};var Be=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Pe=tinymce.util.Tools.resolve("tinymce.util.Tools");const Me=e=>t=>l(t)&&t.nodeName.toLowerCase()===e,Ie=e=>t=>l(t)&&e.test(t.nodeName),Re=e=>l(e)&&3===e.nodeType,Ue=e=>l(e)&&1===e.nodeType,_e=Ie(/^(OL|UL|DL)$/),$e=Ie(/^(OL|UL)$/),He=Me("ol"),Fe=Ie(/^(LI|DT|DD)$/),Ve=Ie(/^(DT|DD)$/),je=Ie(/^(TH|TD)$/),Ke=Me("br"),ze=(e,t)=>l(t)&&t.nodeName in e.schema.getTextBlockElements(),Qe=(e,t)=>l(e)&&e.nodeName in t,We=(e,t)=>l(t)&&t.nodeName in e.schema.getVoidElements(),qe=(e,t,n)=>{const o=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&o},Ze=(e,t)=>e.isChildOf(t,e.getRoot()),Ge=e=>t=>t.options.get(e),Je=Ge("lists_indent_on_tab"),Xe=Ge("forced_root_block"),Ye=Ge("forced_root_block_attrs"),et=(e,t)=>{const n=e.dom,o=e.schema.getBlockElements(),r=n.createFragment(),s=Xe(e),i=Ye(e);let l,a,d=!1;for(a=n.create(s,i),Qe(t.firstChild,o)||r.appendChild(a);l=t.firstChild;){const e=l.nodeName;d||"SPAN"===e&&"bookmark"===l.getAttribute("data-mce-type")||(d=!0),Qe(l,o)?(r.appendChild(l),a=null):(a||(a=n.create(s,i),r.appendChild(a)),a.appendChild(l))}return!d&&a&&a.appendChild(n.create("br",{"data-mce-bogus":"1"})),r},tt=Be.DOM,nt=(e,t,n)=>{const o=tt.select('span[data-mce-type="bookmark"]',t),r=et(e,n),s=tt.createRng();s.setStartAfter(n),s.setEndAfter(t);const i=s.extractContents();for(let t=i.firstChild;t;t=t.firstChild)if("LI"===t.nodeName&&e.dom.isEmpty(t)){tt.remove(t);break}e.dom.isEmpty(i)||tt.insertAfter(i,t),tt.insertAfter(r,t);const l=n.parentElement;l&&qe(e.dom,l)&&(e=>{const t=e.parentNode;t&&Pe.each(o,(e=>{t.insertBefore(e,n.parentNode)})),tt.remove(e)})(l),tt.remove(n),qe(e.dom,t)&&tt.remove(t)},ot=Y("dd"),rt=Y("dt"),st=(e,t)=>{var n;ot(t)?ke(t,"dt"):rt(t)&&(n=t,g.from(n.dom.parentElement).map(R.fromDom)).each((n=>nt(e,n.dom,t.dom)))},it=e=>{rt(e)&&ke(e,"dd")},lt=(e,t)=>{if(Re(e))return{container:e,offset:t};const n=Ne.getNode(e,t);return Re(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&Re(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&Re(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},at=e=>{const t=e.cloneRange(),n=lt(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const o=lt(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t},dt=["OL","UL","DL"],ct=dt.join(","),mt=(e,t)=>{const n=t||e.selection.getStart(!0);return e.dom.getParent(n,ct,gt(e,n))},ut=e=>{const t=mt(e),n=e.selection.getSelectedBlocks();return((e,t)=>l(e)&&1===t.length&&t[0]===e)(t,n)?(e=>L(e.querySelectorAll(ct),_e))(t):L(n,(e=>_e(e)&&t!==e))},pt=e=>{const t=e.selection.getSelectedBlocks();return L(((e,t)=>{const n=Pe.map(t,(t=>e.dom.getParent(t,"li,dd,dt",gt(e,t))||t));return B(n)})(e,t),Fe)},ft=(e,t)=>{const n=e.dom.getParents(t,"TD,TH");return n.length>0?n[0]:e.getBody()},gt=(e,t)=>{const n=e.dom.getParents(t,e.dom.isBlock),o=O(n,(t=>{return n=e.schema,!_e(o=t)&&!Fe(o)&&b(dt,(e=>n.isValidChild(o.nodeName,e)));var n,o}));return o.getOr(e.getBody())},ht=(e,t)=>{const n=e.dom.getParents(t,"ol,ul",gt(e,t));return k(n)},yt=e=>{const t=(e=>{const t=ht(e,e.selection.getStart()),n=L(e.selection.getSelectedBlocks(),$e);return t.toArray().concat(n)})(e),n=(e=>{const t=e.selection.getStart();return e.dom.getParents(t,"ol,ul",gt(e,t))})(e);return O(n,(e=>{return t=R.fromDom(e),ee(t).exists((e=>Fe(e.dom)&&oe(e).exists((e=>!_e(e.dom)))&&re(e).exists((e=>!_e(e.dom)))));var t})).fold((()=>vt(e,t)),(e=>[e]))},vt=(e,t)=>{const n=N(t,(t=>ht(e,t).getOr(t)));return B(n)},Ct=e=>/\btox\-/.test(e.className),bt=(e,t)=>T(e,_e,je).exists((e=>e.nodeName===t&&!Ct(e))),Nt=(e,t)=>null!==t&&!e.dom.isEditable(t),St=(e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return Nt(e,n)},Lt=(e,t)=>{const n=e.selection.getNode();return t({parents:e.dom.getParents(n),element:n}),e.on("NodeChange",t),()=>e.off("NodeChange",t)},Dt=(e,t)=>{const n=(t||document).createDocumentFragment();return S(e,(e=>{n.appendChild(e.dom)})),R.fromDom(n)},Tt=(e,t,n)=>e.dispatch("ListMutation",{action:t,element:n}),Ot=(xt=/^\s+|\s+$/g,e=>e.replace(xt,""));var xt;const At=(e,t,n)=>{if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);(e=>void 0!==e.style&&a(e.style.getPropertyValue))(e)&&e.style.setProperty(t,n)},Et=(e,t,n)=>{const o=e.dom;At(o,t,n)},wt=e=>$(e,"OL,UL"),kt=e=>oe(e).exists(wt),Bt=e=>"listAttributes"in e,Pt=e=>"isComment"in e,Mt=e=>e.depth>0,It=e=>e.isSelected,Rt=e=>{const t=te(e),n=re(e).exists(wt)?t.slice(0,-1):t;return N(n,we)},Ut=(e,t)=>{ye(e.item,t.list)},_t=(e,t)=>{const n={list:R.fromTag(t,e),item:R.fromTag("li",e)};return ye(n.list,n.item),n},$t=(e,t,n)=>{const o=t.slice(0,n.depth);return k(o).each((t=>{if(Bt(n)){const o=((e,t,n)=>{const o=R.fromTag("li",e);return Ae(o,t),ve(o,n),o})(e,n.itemAttributes,n.content);((e,t)=>{ye(e.list,t),e.item=t})(t,o),((e,t)=>{z(e.list)!==t.listType&&(e.list=ke(e.list,t.listType)),Ae(e.list,t.listAttributes)})(t,n)}else if((e=>"isFragment"in e)(n))ve(t.item,n.content);else{const e=R.fromHtml(`\x3c!--${n.content}--\x3e`);ye(t.list,e)}})),o},Ht=(e,t,n)=>{const o=((e,t,n)=>{const o=[];for(let r=0;r<n;r++)o.push(_t(e,Bt(t)?t.listType:t.parentListType));return o})(e,n,n.depth-t.length);var r;return(e=>{for(let t=1;t<e.length;t++)Ut(e[t-1],e[t])})(o),((e,t)=>{for(let t=0;t<e.length-1;t++)Et(e[t].item,"list-style-type","none");k(e).each((e=>{Bt(t)&&(Ae(e.list,t.listAttributes),Ae(e.item,t.itemAttributes)),ve(e.item,t.content)}))})(o,n),r=o,M(k(t),w(r),Ut),t.concat(o)},Ft=(e,t)=>{let n=g.none();const o=D(t,((t,o,r)=>Pt(o)?0===r?(n=g.some(o),t):$t(e,t,o):o.depth>t.length?Ht(e,t,o):$t(e,t,o)),[]);return n.each((e=>{const t=R.fromHtml(`\x3c!--${e.content}--\x3e`);w(o).each((e=>{((e,t)=>{oe(e).fold((()=>{ye(e,t)}),(n=>{e.dom.insertBefore(t.dom,n.dom)}))})(e.list,t)}))})),w(o).map((e=>e.list))},Vt=e=>(S(e,((t,n)=>{((e,t)=>{const n=e[t].depth,o=e=>e.depth===n&&!e.dirty,r=e=>e.depth<n;return T(A(e.slice(0,t)),o,r).orThunk((()=>T(e.slice(t+1),o,r)))})(e,n).fold((()=>{t.dirty&&Bt(t)&&(e=>{e.listAttributes=xe(e.listAttributes,((e,t)=>"start"!==t))})(t)}),(e=>{return o=e,void(Bt(n=t)&&Bt(o)&&(n.listType=o.listType,n.listAttributes={...o.listAttributes}));var n,o}))})),e),jt=(e,t,n,o)=>{var r,s;if(8===Q(s=o)||"#comment"===z(s))return[{depth:e+1,content:null!==(r=o.dom.nodeValue)&&void 0!==r?r:"",dirty:!1,isSelected:!1,isComment:!0}];t.each((e=>{_(e.start,o)&&n.set(!0)}));const i=((e,t,n)=>ee(e).filter(Z).map((o=>({depth:t,dirty:!1,isSelected:n,content:Rt(e),itemAttributes:Ee(e),listAttributes:Ee(o),listType:z(o),isInPreviousLi:!1}))))(o,e,n.get());t.each((e=>{_(e.end,o)&&n.set(!1)}));const l=re(o).filter(wt).map((o=>zt(e,t,n,o))).getOr([]);return i.toArray().concat(l)},Kt=(e,t,n,o)=>oe(o).filter(wt).fold((()=>jt(e,t,n,o)),(r=>{const s=D(te(o),((o,s,i)=>{if(0===i)return o;if($(s,"LI"))return o.concat(jt(e,t,n,s));{const t={isFragment:!0,depth:e,content:[s],isSelected:!1,dirty:!1,parentListType:z(r)};return o.concat(t)}}),[]);return zt(e,t,n,r).concat(s)})),zt=(e,t,n,o)=>x(te(o),(o=>(wt(o)?zt:Kt)(e+1,t,n,o))),Qt=(e,t)=>x(((e,t)=>{if(0===e.length)return[];{let n=t(e[0]);const o=[];let r=[];for(let s=0,i=e.length;s<i;s++){const i=e[s],l=t(i);l!==n&&(o.push(r),r=[]),n=l,r.push(i)}return 0!==r.length&&o.push(r),o}})(t,Mt),(t=>w(t).exists(Mt)?((e,t)=>{const n=Vt(t);return Ft(e.contentDocument,n).toArray()})(e,t):((e,t)=>{const n=Vt(t);return N(n,(t=>{const n=Pt(t)?Dt([R.fromHtml(`\x3c!--${t.content}--\x3e`)]):Dt(t.content);return R.fromDom(et(e,n.dom))}))})(e,t))),Wt=(e,t,n)=>{const o=((e,t)=>{const n=(()=>{let e=!1;return{get:()=>e,set:t=>{e=t}}})();return N(e,(e=>({sourceList:e,entries:zt(0,t,n,e)})))})(t,(e=>{const t=N(pt(e),R.fromDom);return M(O(t,p(kt)),O(A(t),p(kt)),((e,t)=>({start:e,end:t})))})(e));S(o,(t=>{((e,t)=>{S(L(e,It),(e=>((e,t)=>{switch(e){case"Indent":t.depth++;break;case"Outdent":t.depth--;break;case"Flatten":t.depth=0}t.dirty=!0})(t,e)))})(t.entries,n);const o=Qt(e,t.entries);var r;S(o,(t=>{Tt(e,"Indent"===n?"IndentList":"OutdentList",t.dom)})),r=t.sourceList,S(o,(e=>{ge(r,e)})),be(t.sourceList)}))},qt=(e,t)=>{const n=De(yt(e)),o=De((e=>L(pt(e),Ve))(e));let r=!1;if(n.length||o.length){const s=e.selection.getBookmark();Wt(e,n,t),((e,t,n)=>{S(n,"Indent"===t?it:t=>st(e,t))})(e,t,o),e.selection.moveToBookmark(s),e.selection.setRng(at(e.selection.getRng())),e.nodeChanged(),r=!0}return r},Zt=(e,t)=>!(e=>{const t=mt(e);return Nt(e,t)})(e)&&qt(e,t),Gt=e=>Zt(e,"Indent"),Jt=e=>Zt(e,"Outdent"),Xt=e=>Zt(e,"Flatten"),Yt=e=>"\ufeff"===e,en=(e,t)=>{return n=e,o=function(e,...t){return(...n)=>{const o=t.concat(n);return e.apply(null,o)}}(_,t),ce(n,o,r).isSome();var n,o,r};var tn=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");const nn=Be.DOM,on=e=>{const t={},n=n=>{let o=e[n?"startContainer":"endContainer"],r=e[n?"startOffset":"endOffset"];if(Ue(o)){const e=nn.create("span",{"data-mce-type":"bookmark"});o.hasChildNodes()?(r=Math.min(r,o.childNodes.length-1),n?o.insertBefore(e,o.childNodes[r]):nn.insertAfter(e,o.childNodes[r])):o.appendChild(e),o=e,r=0}t[n?"startContainer":"endContainer"]=o,t[n?"startOffset":"endOffset"]=r};return n(!0),e.collapsed||n(),t},rn=e=>{const t=t=>{let n=e[t?"startContainer":"endContainer"],o=e[t?"startOffset":"endOffset"];if(n){if(Ue(n)&&n.parentNode){const e=n;o=(e=>{var t;let n=null===(t=e.parentNode)||void 0===t?void 0:t.firstChild,o=0;for(;n;){if(n===e)return o;Ue(n)&&"bookmark"===n.getAttribute("data-mce-type")||o++,n=n.nextSibling}return-1})(n),n=n.parentNode,nn.remove(e),!n.hasChildNodes()&&nn.isBlock(n)&&n.appendChild(nn.create("br"))}e[t?"startContainer":"endContainer"]=n,e[t?"startOffset":"endOffset"]=o}};t(!0),t();const n=nn.createRng();return n.setStart(e.startContainer,e.startOffset),e.endContainer&&n.setEnd(e.endContainer,e.endOffset),at(n)},sn=e=>{switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},ln=(e,t)=>{Pe.each(t,((t,n)=>{e.setAttribute(n,t)}))},an=(e,t,n)=>{((e,t,n)=>{const o=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",o)})(e,t,n),((e,t,n)=>{ln(t,n["list-attributes"]),Pe.each(e.select("li",t),(e=>{ln(e,n["list-item-attributes"])}))})(e,t,n)},dn=(e,t)=>l(t)&&!Qe(t,e.schema.getBlockElements()),cn=(e,t,n,o)=>{let r=t[n?"startContainer":"endContainer"];const s=t[n?"startOffset":"endOffset"];Ue(r)&&(r=r.childNodes[Math.min(s,r.childNodes.length-1)]||r),!n&&Ke(r.nextSibling)&&(r=r.nextSibling);const i=(t,n)=>{var r;const s=new Se(t,(t=>{for(;!e.dom.isBlock(t)&&t.parentNode&&o!==t;)t=t.parentNode;return t})(t)),i=n?"next":"prev";let l;for(;l=s[i]();)if(!We(e,l)&&!Yt(l.textContent)&&0!==(null===(r=l.textContent)||void 0===r?void 0:r.length))return g.some(l);return g.none()};if(n&&Re(r))if(Yt(r.textContent))r=i(r,!1).getOr(r);else for(null!==r.parentNode&&dn(e,r.parentNode)&&(r=r.parentNode);null!==r.previousSibling&&(dn(e,r.previousSibling)||Re(r.previousSibling));)r=r.previousSibling;if(!n&&Re(r))if(Yt(r.textContent))r=i(r,!0).getOr(r);else for(null!==r.parentNode&&dn(e,r.parentNode)&&(r=r.parentNode);null!==r.nextSibling&&(dn(e,r.nextSibling)||Re(r.nextSibling));)r=r.nextSibling;for(;r.parentNode!==o;){const t=r.parentNode;if(ze(e,r))return r;if(/^(TD|TH)$/.test(t.nodeName))return r;r=t}return r},mn=(e,t,n)=>{const o=e.selection.getRng();let r="LI";const s=gt(e,((e,t)=>{const n=e.selection.getStart(!0),o=cn(e,t,!0,e.getBody());return en(R.fromDom(o),R.fromDom(t.commonAncestorContainer))?t.commonAncestorContainer:n})(e,o)),i=e.dom;if("false"===i.getContentEditable(e.selection.getNode()))return;"DL"===(t=t.toUpperCase())&&(r="DT");const l=on(o),a=L(((e,t,n)=>{const o=[],r=e.dom,s=cn(e,t,!0,n),i=cn(e,t,!1,n);let l;const a=[];for(let e=s;e&&(a.push(e),e!==i);e=e.nextSibling);return Pe.each(a,(t=>{var s;if(ze(e,t))return o.push(t),void(l=null);if(r.isBlock(t)||Ke(t))return Ke(t)&&r.remove(t),void(l=null);const i=t.nextSibling;tn.isBookmarkNode(t)&&(_e(i)||ze(e,i)||!i&&t.parentNode===n)?l=null:(l||(l=r.create("p"),null===(s=t.parentNode)||void 0===s||s.insertBefore(l,t),o.push(l)),l.appendChild(t))})),o})(e,o,s),e.dom.isEditable);Pe.each(a,(o=>{let s;const l=o.previousSibling,a=o.parentNode;Fe(a)||(l&&_e(l)&&l.nodeName===t&&((e,t,n)=>{const o=e.getStyle(t,"list-style-type");let r=n?n["list-style-type"]:"";return r=null===r?"":r,o===r})(i,l,n)?(s=l,o=i.rename(o,r),l.appendChild(o)):(s=i.create(t),a.insertBefore(s,o),s.appendChild(o),o=i.rename(o,r)),((e,t,n)=>{Pe.each(n,(n=>e.setStyle(t,n,"")))})(i,o,["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"]),an(i,s,n),pn(e.dom,s))})),e.selection.setRng(rn(l))},un=(e,t,n)=>{return((e,t)=>_e(e)&&e.nodeName===(null==t?void 0:t.nodeName))(t,n)&&((e,t,n)=>e.getStyle(t,"list-style-type",!0)===e.getStyle(n,"list-style-type",!0))(e,t,n)&&(o=n,t.className===o.className);var o},pn=(e,t)=>{let n,o=t.nextSibling;if(un(e,t,o)){const r=o;for(;n=r.firstChild;)t.appendChild(n);e.remove(r)}if(o=t.previousSibling,un(e,t,o)){const r=o;for(;n=r.lastChild;)t.insertBefore(n,t.firstChild);e.remove(r)}},fn=(e,t,n,o)=>{if(t.nodeName!==n){const r=e.dom.rename(t,n);an(e.dom,r,o),Tt(e,sn(n),r)}else an(e.dom,t,o),Tt(e,sn(n),t)},gn=(e,t,n,o)=>{if(t.classList.forEach(((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))})),t.nodeName!==n){const r=e.dom.rename(t,n);an(e.dom,r,o),Tt(e,sn(n),r)}else an(e.dom,t,o),Tt(e,sn(n),t)},hn=e=>"list-style-type"in e,yn=(e,t,n)=>{const o=mt(e);if(St(e,o))return;const s=ut(e),i=r(n)?n:{};s.length>0?((e,t,n,o,r)=>{const s=_e(t);if(!s||t.nodeName!==o||hn(r)||Ct(t)){mn(e,o,r);const i=on(e.selection.getRng()),l=s?[t,...n]:n,a=s&&Ct(t)?gn:fn;Pe.each(l,(t=>{a(e,t,o,r)})),e.selection.setRng(rn(i))}else Xt(e)})(e,o,s,t,i):((e,t,n,o)=>{if(t!==e.getBody())if(t)if(t.nodeName!==n||hn(o)||Ct(t)){const r=on(e.selection.getRng());Ct(t)&&t.classList.forEach(((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))})),an(e.dom,t,o);const s=e.dom.rename(t,n);pn(e.dom,s),e.selection.setRng(rn(r)),mn(e,n,o),Tt(e,sn(n),s)}else Xt(e);else mn(e,n,o),Tt(e,sn(n),t)})(e,o,t,i)},vn=Be.DOM,Cn=(e,t)=>{const n=Pe.grep(e.select("ol,ul",t));Pe.each(n,(t=>{((e,t)=>{const n=t.parentElement;if(n&&"LI"===n.nodeName&&n.firstChild===t){const o=n.previousSibling;o&&"LI"===o.nodeName?(o.appendChild(t),qe(e,n)&&vn.remove(n)):vn.setStyle(n,"listStyleType","none")}if(_e(n)){const e=n.previousSibling;e&&"LI"===e.nodeName&&e.appendChild(t)}})(e,t)}))},bn=(e,t,n,o)=>{let r=t.startContainer;const s=t.startOffset;if(Re(r)&&(n?s<r.data.length:s>0))return r;const i=e.schema.getNonEmptyElements();Ue(r)&&(r=Ne.getNode(r,s));const l=new Se(r,o);n&&((e,t)=>!!Ke(t)&&e.isBlock(t.nextSibling)&&!Ke(t.previousSibling))(e.dom,r)&&l.next();const a=n?l.next.bind(l):l.prev2.bind(l);for(;r=a();){if("LI"===r.nodeName&&!r.hasChildNodes())return r;if(i[r.nodeName])return r;if(Re(r)&&r.data.length>0)return r}return null},Nn=(e,t)=>{const n=t.childNodes;return 1===n.length&&!_e(n[0])&&e.isBlock(n[0])},Sn=e=>g.from(e).map(R.fromDom).filter(q).exists((e=>((e,t=!1)=>ae(e)?e.dom.isContentEditable:pe(e).fold(m(t),(e=>"true"===fe(e))))(e)&&!C(["details"],z(e)))),Ln=(e,t,n)=>{let o;const r=Nn(e,n)?n.firstChild:n;if(((e,t)=>{Nn(e,t)&&Sn(t.firstChild)&&e.remove(t.firstChild,!0)})(e,t),!qe(e,t,!0))for(;o=t.firstChild;)r.appendChild(o)},Dn=(e,t,n)=>{let o;const r=t.parentNode;if(!Ze(e,t)||!Ze(e,n))return;_e(n.lastChild)&&(o=n.lastChild),r===n.lastChild&&Ke(r.previousSibling)&&e.remove(r.previousSibling);const s=n.lastChild;s&&Ke(s)&&t.hasChildNodes()&&e.remove(s),qe(e,n,!0)&&Ce(R.fromDom(n)),Ln(e,t,n),o&&n.appendChild(o);const i=((e,t)=>{const n=e.dom,o=t.dom;return n!==o&&n.contains(o)})(R.fromDom(n),R.fromDom(t))?e.getParents(t,_e,n):[];e.remove(t),S(i,(t=>{qe(e,t)&&t!==e.getRoot()&&e.remove(t)}))},Tn=(e,t,n,o)=>{const r=e.dom;if(r.isEmpty(o))((e,t,n)=>{Ce(R.fromDom(n)),Dn(e.dom,t,n),e.selection.setCursorLocation(n,0)})(e,n,o);else{const s=on(t);Dn(r,n,o),e.selection.setRng(rn(s))}},On=(e,t)=>{const n=e.dom,o=e.selection,r=o.getStart(),s=ft(e,r),i=n.getParent(o.getStart(),"LI",s);if(i){const r=i.parentElement;if(r===e.getBody()&&qe(n,r))return!0;const l=at(o.getRng()),a=n.getParent(bn(e,l,t,s),"LI",s),d=a&&(t?n.isChildOf(i,a):n.isChildOf(a,i));if(a&&a!==i&&!d)return e.undoManager.transact((()=>{var n,o;t?Tn(e,l,a,i):(null===(o=(n=i).parentNode)||void 0===o?void 0:o.firstChild)===n?Jt(e):((e,t,n,o)=>{const r=on(t);Dn(e.dom,n,o);const s=rn(r);e.selection.setRng(s)})(e,l,i,a)})),!0;if(d&&!t&&a!==i)return e.undoManager.transact((()=>{if(l.commonAncestorContainer.parentElement){const t=on(l),o=l.commonAncestorContainer.parentElement;Ln(n,l.commonAncestorContainer.parentElement,a),o.remove();const r=rn(t);e.selection.setRng(r)}})),!0;if(!a&&!t&&0===l.startOffset&&0===l.endOffset)return e.undoManager.transact((()=>{Xt(e)})),!0}return!1},xn=(e,t)=>{const n=e.dom,o=e.selection.getStart(),r=ft(e,o),s=n.getParent(o,n.isBlock,r);if(s&&n.isEmpty(s)){const o=at(e.selection.getRng()),i=n.getParent(bn(e,o,t,r),"LI",r);if(i){const l=e=>C(["td","th","caption"],z(e)),a=e=>e.dom===r;return!!((e,t,n=u)=>M(e,t,n).getOr(e.isNone()&&t.isNone()))(me(R.fromDom(i),l,a),me(R.fromDom(o.startContainer),l,a),_)&&(e.undoManager.transact((()=>{const o=i.parentNode;((e,t,n)=>{const o=e.getParent(t.parentNode,e.isBlock,n);e.remove(t),o&&e.isEmpty(o)&&e.remove(o)})(n,s,r),pn(n,o),e.selection.select(i,!0),e.selection.collapse(t)})),!0)}}return!1},An=e=>{const t=e.selection.getStart(),n=ft(e,t);return e.dom.getParent(t,"LI,DT,DD",n)||pt(e).length>0},En=(e,t)=>{const n=e.selection;return!St(e,n.getNode())&&(n.isCollapsed()?((e,t)=>On(e,t)||xn(e,t))(e,t):(e=>!!An(e)&&(e.undoManager.transact((()=>{e.execCommand("Delete"),Cn(e.dom,e.getBody())})),!0))(e))},wn=e=>{const t=A(Ot(e).split("")),n=N(t,((e,t)=>{const n=e.toUpperCase().charCodeAt(0)-"A".charCodeAt(0)+1;return Math.pow(26,t)*n}));return D(n,((e,t)=>e+t),0)},kn=e=>{if(--e<0)return"";{const t=e%26,n=Math.floor(e/26);return kn(n)+String.fromCharCode("A".charCodeAt(0)+t)}},Bn=e=>{const t=parseInt(e.start,10);return P(e.listStyleType,"upper-alpha")?kn(t):P(e.listStyleType,"lower-alpha")?kn(t).toLowerCase():e.start},Pn=e=>{const t=mt(e);He(t)&&!St(e,t)&&e.windowManager.open({title:"List Properties",body:{type:"panel",items:[{type:"input",name:"start",label:"Start list at number",inputMode:"numeric"}]},initialData:{start:Bn({start:e.dom.getAttrib(t,"start","1"),listStyleType:g.from(e.dom.getStyle(t,"list-style-type"))})},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:t=>{(e=>{switch((e=>/^[0-9]+$/.test(e)?2:/^[A-Z]+$/.test(e)?0:(e=>/^[a-z]+$/.test(e))(e)?1:e.length>0?4:3)(e)){case 2:return g.some({listStyleType:g.none(),start:e});case 0:return g.some({listStyleType:g.some("upper-alpha"),start:wn(e).toString()});case 1:return g.some({listStyleType:g.some("lower-alpha"),start:wn(e).toString()});case 3:return g.some({listStyleType:g.none(),start:""});case 4:return g.none()}})(t.getData().start).each((t=>{e.execCommand("mceListUpdate",!1,{attrs:{start:"1"===t.start?"":t.start},styles:{"list-style-type":t.listStyleType.getOr("")}})})),t.close()}})},Mn=(e,t)=>()=>{const n=mt(e);return l(n)&&n.nodeName===t},In=e=>{e.addCommand("mceListProps",(()=>{Pn(e)}))},Rn=e=>{e.on("BeforeExecCommand",(t=>{const n=t.command.toLowerCase();"indent"===n?Gt(e):"outdent"===n&&Jt(e)})),e.addCommand("InsertUnorderedList",((t,n)=>{yn(e,"UL",n)})),e.addCommand("InsertOrderedList",((t,n)=>{yn(e,"OL",n)})),e.addCommand("InsertDefinitionList",((t,n)=>{yn(e,"DL",n)})),e.addCommand("RemoveList",(()=>{Xt(e)})),In(e),e.addCommand("mceListUpdate",((t,n)=>{r(n)&&((e,t)=>{const n=mt(e);null===n||St(e,n)||e.undoManager.transact((()=>{r(t.styles)&&e.dom.setStyles(n,t.styles),r(t.attrs)&&Oe(t.attrs,((t,o)=>e.dom.setAttrib(n,o,t)))}))})(e,n)})),e.addQueryStateHandler("InsertUnorderedList",Mn(e,"UL")),e.addQueryStateHandler("InsertOrderedList",Mn(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",Mn(e,"DL"))};var Un=tinymce.util.Tools.resolve("tinymce.html.Node");const _n=e=>3===e.type,$n=e=>0===e.length,Hn=e=>{const t=(t,n)=>{const o=Un.create("li");S(t,(e=>o.append(e))),n?e.insert(o,n,!0):e.append(o)},n=D(e.children(),((e,n)=>_n(n)?[...e,n]:$n(e)||_n(n)?e:(t(e,n),[])),[]);$n(n)||t(n)},Fn=e=>{Je(e)&&(e=>{e.on("keydown",(t=>{t.keyCode!==Le.TAB||Le.metaKeyPressed(t)||e.undoManager.transact((()=>{(t.shiftKey?Jt(e):Gt(e))&&t.preventDefault()}))}))})(e),(e=>{e.on("ExecCommand",(t=>{const n=t.command.toLowerCase();"delete"!==n&&"forwarddelete"!==n||!An(e)||Cn(e.dom,e.getBody())})),e.on("keydown",(t=>{t.keyCode===Le.BACKSPACE?En(e,!1)&&t.preventDefault():t.keyCode===Le.DELETE&&En(e,!0)&&t.preventDefault()}))})(e)},Vn=(e,t)=>n=>(n.setEnabled(e.selection.isEditable()),Lt(e,(o=>{n.setActive(bt(o.parents,t)),n.setEnabled(!St(e,o.element)&&e.selection.isEditable())}))),jn=(e,t)=>n=>Lt(e,(o=>n.setEnabled(bt(o.parents,t)&&!St(e,o.element))));e.add("lists",(e=>((e=>{(0,e.options.register)("lists_indent_on_tab",{processor:"boolean",default:!0})})(e),(e=>{e.on("PreInit",(()=>{const{parser:t}=e;t.addNodeFilter("ul,ol",(e=>S(e,Hn)))}))})(e),e.hasPlugin("rtc",!0)?In(e):(Fn(e),Rn(e)),(e=>{const t=t=>()=>e.execCommand(t);e.hasPlugin("advlist")||(e.ui.registry.addToggleButton("numlist",{icon:"ordered-list",active:!1,tooltip:"Numbered list",onAction:t("InsertOrderedList"),onSetup:Vn(e,"OL")}),e.ui.registry.addToggleButton("bullist",{icon:"unordered-list",active:!1,tooltip:"Bullet list",onAction:t("InsertUnorderedList"),onSetup:Vn(e,"UL")}))})(e),(e=>{const t={text:"List properties...",icon:"ordered-list",onAction:()=>e.execCommand("mceListProps"),onSetup:jn(e,"OL")};e.ui.registry.addMenuItem("listprops",t),e.ui.registry.addContextMenu("lists",{update:t=>{const n=mt(e,t);return He(n)?["listprops"]:[]}})})(e),(e=>({backspaceDelete:t=>{En(e,t)}}))(e))))}()),e}export{n as __require};
2
- //# sourceMappingURL=plugin.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.mjs","sources":["../../../../../../public/tinymce/plugins/lists/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.8.5 (TBD)\n */\n\n(function () {\n 'use strict';\n\n var global$7 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType$1 = type => value => typeOf(value) === type;\n const isSimpleType = type => value => typeof value === type;\n const isString = isType$1('string');\n const isObject = isType$1('object');\n const isArray = isType$1('array');\n const isBoolean = isSimpleType('boolean');\n const isNullable = a => a === null || a === undefined;\n const isNonNullable = a => !isNullable(a);\n const isFunction = isSimpleType('function');\n const isNumber = isSimpleType('number');\n\n const noop = () => {\n };\n const compose1 = (fbc, fab) => a => fbc(fab(a));\n const constant = value => {\n return () => {\n return value;\n };\n };\n const tripleEquals = (a, b) => {\n return a === b;\n };\n function curry(fn, ...initialArgs) {\n return (...restArgs) => {\n const all = initialArgs.concat(restArgs);\n return fn.apply(null, all);\n };\n }\n const not = f => t => !f(t);\n const never = constant(false);\n\n class Optional {\n constructor(tag, value) {\n this.tag = tag;\n this.value = value;\n }\n static some(value) {\n return new Optional(true, value);\n }\n static none() {\n return Optional.singletonNone;\n }\n fold(onNone, onSome) {\n if (this.tag) {\n return onSome(this.value);\n } else {\n return onNone();\n }\n }\n isSome() {\n return this.tag;\n }\n isNone() {\n return !this.tag;\n }\n map(mapper) {\n if (this.tag) {\n return Optional.some(mapper(this.value));\n } else {\n return Optional.none();\n }\n }\n bind(binder) {\n if (this.tag) {\n return binder(this.value);\n } else {\n return Optional.none();\n }\n }\n exists(predicate) {\n return this.tag && predicate(this.value);\n }\n forall(predicate) {\n return !this.tag || predicate(this.value);\n }\n filter(predicate) {\n if (!this.tag || predicate(this.value)) {\n return this;\n } else {\n return Optional.none();\n }\n }\n getOr(replacement) {\n return this.tag ? this.value : replacement;\n }\n or(replacement) {\n return this.tag ? this : replacement;\n }\n getOrThunk(thunk) {\n return this.tag ? this.value : thunk();\n }\n orThunk(thunk) {\n return this.tag ? this : thunk();\n }\n getOrDie(message) {\n if (!this.tag) {\n throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');\n } else {\n return this.value;\n }\n }\n static from(value) {\n return isNonNullable(value) ? Optional.some(value) : Optional.none();\n }\n getOrNull() {\n return this.tag ? this.value : null;\n }\n getOrUndefined() {\n return this.value;\n }\n each(worker) {\n if (this.tag) {\n worker(this.value);\n }\n }\n toArray() {\n return this.tag ? [this.value] : [];\n }\n toString() {\n return this.tag ? `some(${ this.value })` : 'none()';\n }\n }\n Optional.singletonNone = new Optional(false);\n\n const nativeSlice = Array.prototype.slice;\n const nativeIndexOf = Array.prototype.indexOf;\n const nativePush = Array.prototype.push;\n const rawIndexOf = (ts, t) => nativeIndexOf.call(ts, t);\n const contains$1 = (xs, x) => rawIndexOf(xs, x) > -1;\n const exists = (xs, pred) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (pred(x, i)) {\n return true;\n }\n }\n return false;\n };\n const map = (xs, f) => {\n const len = xs.length;\n const r = new Array(len);\n for (let i = 0; i < len; i++) {\n const x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n const each$1 = (xs, f) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n f(x, i);\n }\n };\n const filter$1 = (xs, pred) => {\n const r = [];\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (pred(x, i)) {\n r.push(x);\n }\n }\n return r;\n };\n const groupBy = (xs, f) => {\n if (xs.length === 0) {\n return [];\n } else {\n let wasType = f(xs[0]);\n const r = [];\n let group = [];\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n const type = f(x);\n if (type !== wasType) {\n r.push(group);\n group = [];\n }\n wasType = type;\n group.push(x);\n }\n if (group.length !== 0) {\n r.push(group);\n }\n return r;\n }\n };\n const foldl = (xs, f, acc) => {\n each$1(xs, (x, i) => {\n acc = f(acc, x, i);\n });\n return acc;\n };\n const findUntil = (xs, pred, until) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (pred(x, i)) {\n return Optional.some(x);\n } else if (until(x, i)) {\n break;\n }\n }\n return Optional.none();\n };\n const find = (xs, pred) => {\n return findUntil(xs, pred, never);\n };\n const flatten = xs => {\n const r = [];\n for (let i = 0, len = xs.length; i < len; ++i) {\n if (!isArray(xs[i])) {\n throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);\n }\n nativePush.apply(r, xs[i]);\n }\n return r;\n };\n const bind = (xs, f) => flatten(map(xs, f));\n const reverse = xs => {\n const r = nativeSlice.call(xs, 0);\n r.reverse();\n return r;\n };\n const get$1 = (xs, i) => i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();\n const head = xs => get$1(xs, 0);\n const last = xs => get$1(xs, xs.length - 1);\n const unique = (xs, comparator) => {\n const r = [];\n const isDuplicated = isFunction(comparator) ? x => exists(r, i => comparator(i, x)) : x => contains$1(r, x);\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (!isDuplicated(x)) {\n r.push(x);\n }\n }\n return r;\n };\n\n const is$2 = (lhs, rhs, comparator = tripleEquals) => lhs.exists(left => comparator(left, rhs));\n const equals = (lhs, rhs, comparator = tripleEquals) => lift2(lhs, rhs, comparator).getOr(lhs.isNone() && rhs.isNone());\n const lift2 = (oa, ob, f) => oa.isSome() && ob.isSome() ? Optional.some(f(oa.getOrDie(), ob.getOrDie())) : Optional.none();\n\n const COMMENT = 8;\n const DOCUMENT = 9;\n const DOCUMENT_FRAGMENT = 11;\n const ELEMENT = 1;\n const TEXT = 3;\n\n const fromHtml = (html, scope) => {\n const doc = scope || document;\n const div = doc.createElement('div');\n div.innerHTML = html;\n if (!div.hasChildNodes() || div.childNodes.length > 1) {\n const message = 'HTML does not have a single root node';\n console.error(message, html);\n throw new Error(message);\n }\n return fromDom$1(div.childNodes[0]);\n };\n const fromTag = (tag, scope) => {\n const doc = scope || document;\n const node = doc.createElement(tag);\n return fromDom$1(node);\n };\n const fromText = (text, scope) => {\n const doc = scope || document;\n const node = doc.createTextNode(text);\n return fromDom$1(node);\n };\n const fromDom$1 = node => {\n if (node === null || node === undefined) {\n throw new Error('Node cannot be null or undefined');\n }\n return { dom: node };\n };\n const fromPoint = (docElm, x, y) => Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom$1);\n const SugarElement = {\n fromHtml,\n fromTag,\n fromText,\n fromDom: fromDom$1,\n fromPoint\n };\n\n const is$1 = (element, selector) => {\n const dom = element.dom;\n if (dom.nodeType !== ELEMENT) {\n return false;\n } else {\n const elem = dom;\n if (elem.matches !== undefined) {\n return elem.matches(selector);\n } else if (elem.msMatchesSelector !== undefined) {\n return elem.msMatchesSelector(selector);\n } else if (elem.webkitMatchesSelector !== undefined) {\n return elem.webkitMatchesSelector(selector);\n } else if (elem.mozMatchesSelector !== undefined) {\n return elem.mozMatchesSelector(selector);\n } else {\n throw new Error('Browser lacks native selectors');\n }\n }\n };\n\n const eq = (e1, e2) => e1.dom === e2.dom;\n const contains = (e1, e2) => {\n const d1 = e1.dom;\n const d2 = e2.dom;\n return d1 === d2 ? false : d1.contains(d2);\n };\n const is = is$1;\n\n const Global = typeof window !== 'undefined' ? window : Function('return this;')();\n\n const path = (parts, scope) => {\n let o = scope !== undefined && scope !== null ? scope : Global;\n for (let i = 0; i < parts.length && o !== undefined && o !== null; ++i) {\n o = o[parts[i]];\n }\n return o;\n };\n const resolve = (p, scope) => {\n const parts = p.split('.');\n return path(parts, scope);\n };\n\n const unsafe = (name, scope) => {\n return resolve(name, scope);\n };\n const getOrDie = (name, scope) => {\n const actual = unsafe(name, scope);\n if (actual === undefined || actual === null) {\n throw new Error(name + ' not available on this browser');\n }\n return actual;\n };\n\n const getPrototypeOf = Object.getPrototypeOf;\n const sandHTMLElement = scope => {\n return getOrDie('HTMLElement', scope);\n };\n const isPrototypeOf = x => {\n const scope = resolve('ownerDocument.defaultView', x);\n return isObject(x) && (sandHTMLElement(scope).prototype.isPrototypeOf(x) || /^HTML\\w*Element$/.test(getPrototypeOf(x).constructor.name));\n };\n\n const name = element => {\n const r = element.dom.nodeName;\n return r.toLowerCase();\n };\n const type = element => element.dom.nodeType;\n const isType = t => element => type(element) === t;\n const isComment = element => type(element) === COMMENT || name(element) === '#comment';\n const isHTMLElement = element => isElement$1(element) && isPrototypeOf(element.dom);\n const isElement$1 = isType(ELEMENT);\n const isText = isType(TEXT);\n const isDocument = isType(DOCUMENT);\n const isDocumentFragment = isType(DOCUMENT_FRAGMENT);\n const isTag = tag => e => isElement$1(e) && name(e) === tag;\n\n const owner = element => SugarElement.fromDom(element.dom.ownerDocument);\n const documentOrOwner = dos => isDocument(dos) ? dos : owner(dos);\n const parent = element => Optional.from(element.dom.parentNode).map(SugarElement.fromDom);\n const parentElement = element => Optional.from(element.dom.parentElement).map(SugarElement.fromDom);\n const nextSibling = element => Optional.from(element.dom.nextSibling).map(SugarElement.fromDom);\n const children = element => map(element.dom.childNodes, SugarElement.fromDom);\n const child = (element, index) => {\n const cs = element.dom.childNodes;\n return Optional.from(cs[index]).map(SugarElement.fromDom);\n };\n const firstChild = element => child(element, 0);\n const lastChild = element => child(element, element.dom.childNodes.length - 1);\n\n const isShadowRoot = dos => isDocumentFragment(dos) && isNonNullable(dos.dom.host);\n const supported = isFunction(Element.prototype.attachShadow) && isFunction(Node.prototype.getRootNode);\n const getRootNode = supported ? e => SugarElement.fromDom(e.dom.getRootNode()) : documentOrOwner;\n const getShadowRoot = e => {\n const r = getRootNode(e);\n return isShadowRoot(r) ? Optional.some(r) : Optional.none();\n };\n const getShadowHost = e => SugarElement.fromDom(e.dom.host);\n\n const inBody = element => {\n const dom = isText(element) ? element.dom.parentNode : element.dom;\n if (dom === undefined || dom === null || dom.ownerDocument === null) {\n return false;\n }\n const doc = dom.ownerDocument;\n return getShadowRoot(SugarElement.fromDom(dom)).fold(() => doc.body.contains(dom), compose1(inBody, getShadowHost));\n };\n\n var ClosestOrAncestor = (is, ancestor, scope, a, isRoot) => {\n if (is(scope, a)) {\n return Optional.some(scope);\n } else if (isFunction(isRoot) && isRoot(scope)) {\n return Optional.none();\n } else {\n return ancestor(scope, a, isRoot);\n }\n };\n\n const ancestor$3 = (scope, predicate, isRoot) => {\n let element = scope.dom;\n const stop = isFunction(isRoot) ? isRoot : never;\n while (element.parentNode) {\n element = element.parentNode;\n const el = SugarElement.fromDom(element);\n if (predicate(el)) {\n return Optional.some(el);\n } else if (stop(el)) {\n break;\n }\n }\n return Optional.none();\n };\n const closest$2 = (scope, predicate, isRoot) => {\n const is = (s, test) => test(s);\n return ClosestOrAncestor(is, ancestor$3, scope, predicate, isRoot);\n };\n\n const ancestor$2 = (scope, selector, isRoot) => ancestor$3(scope, e => is$1(e, selector), isRoot);\n const closest$1 = (scope, selector, isRoot) => {\n const is = (element, selector) => is$1(element, selector);\n return ClosestOrAncestor(is, ancestor$2, scope, selector, isRoot);\n };\n\n const closest = target => closest$1(target, '[contenteditable]');\n const isEditable = (element, assumeEditable = false) => {\n if (inBody(element)) {\n return element.dom.isContentEditable;\n } else {\n return closest(element).fold(constant(assumeEditable), editable => getRaw(editable) === 'true');\n }\n };\n const getRaw = element => element.dom.contentEditable;\n\n const before$1 = (marker, element) => {\n const parent$1 = parent(marker);\n parent$1.each(v => {\n v.dom.insertBefore(element.dom, marker.dom);\n });\n };\n const after = (marker, element) => {\n const sibling = nextSibling(marker);\n sibling.fold(() => {\n const parent$1 = parent(marker);\n parent$1.each(v => {\n append$1(v, element);\n });\n }, v => {\n before$1(v, element);\n });\n };\n const prepend = (parent, element) => {\n const firstChild$1 = firstChild(parent);\n firstChild$1.fold(() => {\n append$1(parent, element);\n }, v => {\n parent.dom.insertBefore(element.dom, v.dom);\n });\n };\n const append$1 = (parent, element) => {\n parent.dom.appendChild(element.dom);\n };\n\n const before = (marker, elements) => {\n each$1(elements, x => {\n before$1(marker, x);\n });\n };\n const append = (parent, elements) => {\n each$1(elements, x => {\n append$1(parent, x);\n });\n };\n\n const empty = element => {\n element.dom.textContent = '';\n each$1(children(element), rogue => {\n remove(rogue);\n });\n };\n const remove = element => {\n const dom = element.dom;\n if (dom.parentNode !== null) {\n dom.parentNode.removeChild(dom);\n }\n };\n\n var global$6 = tinymce.util.Tools.resolve('tinymce.dom.RangeUtils');\n\n var global$5 = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.util.VK');\n\n const fromDom = nodes => map(nodes, SugarElement.fromDom);\n\n const keys = Object.keys;\n const each = (obj, f) => {\n const props = keys(obj);\n for (let k = 0, len = props.length; k < len; k++) {\n const i = props[k];\n const x = obj[i];\n f(x, i);\n }\n };\n const objAcc = r => (x, i) => {\n r[i] = x;\n };\n const internalFilter = (obj, pred, onTrue, onFalse) => {\n each(obj, (x, i) => {\n (pred(x, i) ? onTrue : onFalse)(x, i);\n });\n };\n const filter = (obj, pred) => {\n const t = {};\n internalFilter(obj, pred, objAcc(t), noop);\n return t;\n };\n\n const rawSet = (dom, key, value) => {\n if (isString(value) || isBoolean(value) || isNumber(value)) {\n dom.setAttribute(key, value + '');\n } else {\n console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);\n throw new Error('Attribute value was not simple');\n }\n };\n const setAll = (element, attrs) => {\n const dom = element.dom;\n each(attrs, (v, k) => {\n rawSet(dom, k, v);\n });\n };\n const clone$1 = element => foldl(element.dom.attributes, (acc, attr) => {\n acc[attr.name] = attr.value;\n return acc;\n }, {});\n\n const clone = (original, isDeep) => SugarElement.fromDom(original.dom.cloneNode(isDeep));\n const deep = original => clone(original, true);\n const shallowAs = (original, tag) => {\n const nu = SugarElement.fromTag(tag);\n const attributes = clone$1(original);\n setAll(nu, attributes);\n return nu;\n };\n const mutate = (original, tag) => {\n const nu = shallowAs(original, tag);\n after(original, nu);\n const children$1 = children(original);\n append(nu, children$1);\n remove(original);\n return nu;\n };\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const matchNodeName = name => node => isNonNullable(node) && node.nodeName.toLowerCase() === name;\n const matchNodeNames = regex => node => isNonNullable(node) && regex.test(node.nodeName);\n const isTextNode$1 = node => isNonNullable(node) && node.nodeType === 3;\n const isElement = node => isNonNullable(node) && node.nodeType === 1;\n const isListNode = matchNodeNames(/^(OL|UL|DL)$/);\n const isOlUlNode = matchNodeNames(/^(OL|UL)$/);\n const isOlNode = matchNodeName('ol');\n const isListItemNode = matchNodeNames(/^(LI|DT|DD)$/);\n const isDlItemNode = matchNodeNames(/^(DT|DD)$/);\n const isTableCellNode = matchNodeNames(/^(TH|TD)$/);\n const isBr = matchNodeName('br');\n const isFirstChild = node => {\n var _a;\n return ((_a = node.parentNode) === null || _a === void 0 ? void 0 : _a.firstChild) === node;\n };\n const isTextBlock = (editor, node) => isNonNullable(node) && node.nodeName in editor.schema.getTextBlockElements();\n const isBlock = (node, blockElements) => isNonNullable(node) && node.nodeName in blockElements;\n const isVoid = (editor, node) => isNonNullable(node) && node.nodeName in editor.schema.getVoidElements();\n const isBogusBr = (dom, node) => {\n if (!isBr(node)) {\n return false;\n }\n return dom.isBlock(node.nextSibling) && !isBr(node.previousSibling);\n };\n const isEmpty$2 = (dom, elm, keepBookmarks) => {\n const empty = dom.isEmpty(elm);\n if (keepBookmarks && dom.select('span[data-mce-type=bookmark]', elm).length > 0) {\n return false;\n }\n return empty;\n };\n const isChildOfBody = (dom, elm) => dom.isChildOf(elm, dom.getRoot());\n\n const option = name => editor => editor.options.get(name);\n const register$3 = editor => {\n const registerOption = editor.options.register;\n registerOption('lists_indent_on_tab', {\n processor: 'boolean',\n default: true\n });\n };\n const shouldIndentOnTab = option('lists_indent_on_tab');\n const getForcedRootBlock = option('forced_root_block');\n const getForcedRootBlockAttrs = option('forced_root_block_attrs');\n\n const createTextBlock = (editor, contentNode) => {\n const dom = editor.dom;\n const blockElements = editor.schema.getBlockElements();\n const fragment = dom.createFragment();\n const blockName = getForcedRootBlock(editor);\n const blockAttrs = getForcedRootBlockAttrs(editor);\n let node;\n let textBlock;\n let hasContentNode = false;\n textBlock = dom.create(blockName, blockAttrs);\n if (!isBlock(contentNode.firstChild, blockElements)) {\n fragment.appendChild(textBlock);\n }\n while (node = contentNode.firstChild) {\n const nodeName = node.nodeName;\n if (!hasContentNode && (nodeName !== 'SPAN' || node.getAttribute('data-mce-type') !== 'bookmark')) {\n hasContentNode = true;\n }\n if (isBlock(node, blockElements)) {\n fragment.appendChild(node);\n textBlock = null;\n } else {\n if (!textBlock) {\n textBlock = dom.create(blockName, blockAttrs);\n fragment.appendChild(textBlock);\n }\n textBlock.appendChild(node);\n }\n }\n if (!hasContentNode && textBlock) {\n textBlock.appendChild(dom.create('br', { 'data-mce-bogus': '1' }));\n }\n return fragment;\n };\n\n const DOM$2 = global$3.DOM;\n const splitList = (editor, list, li) => {\n const removeAndKeepBookmarks = targetNode => {\n const parent = targetNode.parentNode;\n if (parent) {\n global$2.each(bookmarks, node => {\n parent.insertBefore(node, li.parentNode);\n });\n }\n DOM$2.remove(targetNode);\n };\n const bookmarks = DOM$2.select('span[data-mce-type=\"bookmark\"]', list);\n const newBlock = createTextBlock(editor, li);\n const tmpRng = DOM$2.createRng();\n tmpRng.setStartAfter(li);\n tmpRng.setEndAfter(list);\n const fragment = tmpRng.extractContents();\n for (let node = fragment.firstChild; node; node = node.firstChild) {\n if (node.nodeName === 'LI' && editor.dom.isEmpty(node)) {\n DOM$2.remove(node);\n break;\n }\n }\n if (!editor.dom.isEmpty(fragment)) {\n DOM$2.insertAfter(fragment, list);\n }\n DOM$2.insertAfter(newBlock, list);\n const parent = li.parentElement;\n if (parent && isEmpty$2(editor.dom, parent)) {\n removeAndKeepBookmarks(parent);\n }\n DOM$2.remove(li);\n if (isEmpty$2(editor.dom, list)) {\n DOM$2.remove(list);\n }\n };\n\n const isDescriptionDetail = isTag('dd');\n const isDescriptionTerm = isTag('dt');\n const outdentDlItem = (editor, item) => {\n if (isDescriptionDetail(item)) {\n mutate(item, 'dt');\n } else if (isDescriptionTerm(item)) {\n parentElement(item).each(dl => splitList(editor, dl.dom, item.dom));\n }\n };\n const indentDlItem = item => {\n if (isDescriptionTerm(item)) {\n mutate(item, 'dd');\n }\n };\n const dlIndentation = (editor, indentation, dlItems) => {\n if (indentation === 'Indent') {\n each$1(dlItems, indentDlItem);\n } else {\n each$1(dlItems, item => outdentDlItem(editor, item));\n }\n };\n\n const getNormalizedPoint = (container, offset) => {\n if (isTextNode$1(container)) {\n return {\n container,\n offset\n };\n }\n const node = global$6.getNode(container, offset);\n if (isTextNode$1(node)) {\n return {\n container: node,\n offset: offset >= container.childNodes.length ? node.data.length : 0\n };\n } else if (node.previousSibling && isTextNode$1(node.previousSibling)) {\n return {\n container: node.previousSibling,\n offset: node.previousSibling.data.length\n };\n } else if (node.nextSibling && isTextNode$1(node.nextSibling)) {\n return {\n container: node.nextSibling,\n offset: 0\n };\n }\n return {\n container,\n offset\n };\n };\n const normalizeRange = rng => {\n const outRng = rng.cloneRange();\n const rangeStart = getNormalizedPoint(rng.startContainer, rng.startOffset);\n outRng.setStart(rangeStart.container, rangeStart.offset);\n const rangeEnd = getNormalizedPoint(rng.endContainer, rng.endOffset);\n outRng.setEnd(rangeEnd.container, rangeEnd.offset);\n return outRng;\n };\n\n const listNames = [\n 'OL',\n 'UL',\n 'DL'\n ];\n const listSelector = listNames.join(',');\n const getParentList = (editor, node) => {\n const selectionStart = node || editor.selection.getStart(true);\n return editor.dom.getParent(selectionStart, listSelector, getClosestListHost(editor, selectionStart));\n };\n const isParentListSelected = (parentList, selectedBlocks) => isNonNullable(parentList) && selectedBlocks.length === 1 && selectedBlocks[0] === parentList;\n const findSubLists = parentList => filter$1(parentList.querySelectorAll(listSelector), isListNode);\n const getSelectedSubLists = editor => {\n const parentList = getParentList(editor);\n const selectedBlocks = editor.selection.getSelectedBlocks();\n if (isParentListSelected(parentList, selectedBlocks)) {\n return findSubLists(parentList);\n } else {\n return filter$1(selectedBlocks, elm => {\n return isListNode(elm) && parentList !== elm;\n });\n }\n };\n const findParentListItemsNodes = (editor, elms) => {\n const listItemsElms = global$2.map(elms, elm => {\n const parentLi = editor.dom.getParent(elm, 'li,dd,dt', getClosestListHost(editor, elm));\n return parentLi ? parentLi : elm;\n });\n return unique(listItemsElms);\n };\n const getSelectedListItems = editor => {\n const selectedBlocks = editor.selection.getSelectedBlocks();\n return filter$1(findParentListItemsNodes(editor, selectedBlocks), isListItemNode);\n };\n const getSelectedDlItems = editor => filter$1(getSelectedListItems(editor), isDlItemNode);\n const getClosestEditingHost = (editor, elm) => {\n const parentTableCell = editor.dom.getParents(elm, 'TD,TH');\n return parentTableCell.length > 0 ? parentTableCell[0] : editor.getBody();\n };\n const isListHost = (schema, node) => !isListNode(node) && !isListItemNode(node) && exists(listNames, listName => schema.isValidChild(node.nodeName, listName));\n const getClosestListHost = (editor, elm) => {\n const parentBlocks = editor.dom.getParents(elm, editor.dom.isBlock);\n const parentBlock = find(parentBlocks, elm => isListHost(editor.schema, elm));\n return parentBlock.getOr(editor.getBody());\n };\n const isListInsideAnLiWithFirstAndLastNotListElement = list => parent(list).exists(parent => isListItemNode(parent.dom) && firstChild(parent).exists(firstChild => !isListNode(firstChild.dom)) && lastChild(parent).exists(lastChild => !isListNode(lastChild.dom)));\n const findLastParentListNode = (editor, elm) => {\n const parentLists = editor.dom.getParents(elm, 'ol,ul', getClosestListHost(editor, elm));\n return last(parentLists);\n };\n const getSelectedLists = editor => {\n const firstList = findLastParentListNode(editor, editor.selection.getStart());\n const subsequentLists = filter$1(editor.selection.getSelectedBlocks(), isOlUlNode);\n return firstList.toArray().concat(subsequentLists);\n };\n const getParentLists = editor => {\n const elm = editor.selection.getStart();\n return editor.dom.getParents(elm, 'ol,ul', getClosestListHost(editor, elm));\n };\n const getSelectedListRoots = editor => {\n const selectedLists = getSelectedLists(editor);\n const parentLists = getParentLists(editor);\n return find(parentLists, p => isListInsideAnLiWithFirstAndLastNotListElement(SugarElement.fromDom(p))).fold(() => getUniqueListRoots(editor, selectedLists), l => [l]);\n };\n const getUniqueListRoots = (editor, lists) => {\n const listRoots = map(lists, list => findLastParentListNode(editor, list).getOr(list));\n return unique(listRoots);\n };\n\n const isCustomList = list => /\\btox\\-/.test(list.className);\n const inList = (parents, listName) => findUntil(parents, isListNode, isTableCellNode).exists(list => list.nodeName === listName && !isCustomList(list));\n const isWithinNonEditable = (editor, element) => element !== null && !editor.dom.isEditable(element);\n const selectionIsWithinNonEditableList = editor => {\n const parentList = getParentList(editor);\n return isWithinNonEditable(editor, parentList);\n };\n const isWithinNonEditableList = (editor, element) => {\n const parentList = editor.dom.getParent(element, 'ol,ul,dl');\n return isWithinNonEditable(editor, parentList);\n };\n const setNodeChangeHandler = (editor, nodeChangeHandler) => {\n const initialNode = editor.selection.getNode();\n nodeChangeHandler({\n parents: editor.dom.getParents(initialNode),\n element: initialNode\n });\n editor.on('NodeChange', nodeChangeHandler);\n return () => editor.off('NodeChange', nodeChangeHandler);\n };\n\n const fromElements = (elements, scope) => {\n const doc = scope || document;\n const fragment = doc.createDocumentFragment();\n each$1(elements, element => {\n fragment.appendChild(element.dom);\n });\n return SugarElement.fromDom(fragment);\n };\n\n const fireListEvent = (editor, action, element) => editor.dispatch('ListMutation', {\n action,\n element\n });\n\n const blank = r => s => s.replace(r, '');\n const trim = blank(/^\\s+|\\s+$/g);\n const isNotEmpty = s => s.length > 0;\n const isEmpty$1 = s => !isNotEmpty(s);\n\n const isSupported = dom => dom.style !== undefined && isFunction(dom.style.getPropertyValue);\n\n const internalSet = (dom, property, value) => {\n if (!isString(value)) {\n console.error('Invalid call to CSS.set. Property ', property, ':: Value ', value, ':: Element ', dom);\n throw new Error('CSS value must be a string: ' + value);\n }\n if (isSupported(dom)) {\n dom.style.setProperty(property, value);\n }\n };\n const set = (element, property, value) => {\n const dom = element.dom;\n internalSet(dom, property, value);\n };\n\n const isList = el => is(el, 'OL,UL');\n const isListItem = el => is(el, 'LI');\n const hasFirstChildList = el => firstChild(el).exists(isList);\n const hasLastChildList = el => lastChild(el).exists(isList);\n\n const isEntryList = entry => 'listAttributes' in entry;\n const isEntryComment = entry => 'isComment' in entry;\n const isEntryFragment = entry => 'isFragment' in entry;\n const isIndented = entry => entry.depth > 0;\n const isSelected = entry => entry.isSelected;\n const cloneItemContent = li => {\n const children$1 = children(li);\n const content = hasLastChildList(li) ? children$1.slice(0, -1) : children$1;\n return map(content, deep);\n };\n const createEntry = (li, depth, isSelected) => parent(li).filter(isElement$1).map(list => ({\n depth,\n dirty: false,\n isSelected,\n content: cloneItemContent(li),\n itemAttributes: clone$1(li),\n listAttributes: clone$1(list),\n listType: name(list),\n isInPreviousLi: false\n }));\n\n const joinSegment = (parent, child) => {\n append$1(parent.item, child.list);\n };\n const joinSegments = segments => {\n for (let i = 1; i < segments.length; i++) {\n joinSegment(segments[i - 1], segments[i]);\n }\n };\n const appendSegments = (head$1, tail) => {\n lift2(last(head$1), head(tail), joinSegment);\n };\n const createSegment = (scope, listType) => {\n const segment = {\n list: SugarElement.fromTag(listType, scope),\n item: SugarElement.fromTag('li', scope)\n };\n append$1(segment.list, segment.item);\n return segment;\n };\n const createSegments = (scope, entry, size) => {\n const segments = [];\n for (let i = 0; i < size; i++) {\n segments.push(createSegment(scope, isEntryList(entry) ? entry.listType : entry.parentListType));\n }\n return segments;\n };\n const populateSegments = (segments, entry) => {\n for (let i = 0; i < segments.length - 1; i++) {\n set(segments[i].item, 'list-style-type', 'none');\n }\n last(segments).each(segment => {\n if (isEntryList(entry)) {\n setAll(segment.list, entry.listAttributes);\n setAll(segment.item, entry.itemAttributes);\n }\n append(segment.item, entry.content);\n });\n };\n const normalizeSegment = (segment, entry) => {\n if (name(segment.list) !== entry.listType) {\n segment.list = mutate(segment.list, entry.listType);\n }\n setAll(segment.list, entry.listAttributes);\n };\n const createItem = (scope, attr, content) => {\n const item = SugarElement.fromTag('li', scope);\n setAll(item, attr);\n append(item, content);\n return item;\n };\n const appendItem = (segment, item) => {\n append$1(segment.list, item);\n segment.item = item;\n };\n const writeShallow = (scope, cast, entry) => {\n const newCast = cast.slice(0, entry.depth);\n last(newCast).each(segment => {\n if (isEntryList(entry)) {\n const item = createItem(scope, entry.itemAttributes, entry.content);\n appendItem(segment, item);\n normalizeSegment(segment, entry);\n } else if (isEntryFragment(entry)) {\n append(segment.item, entry.content);\n } else {\n const item = SugarElement.fromHtml(`<!--${ entry.content }-->`);\n append$1(segment.list, item);\n }\n });\n return newCast;\n };\n const writeDeep = (scope, cast, entry) => {\n const segments = createSegments(scope, entry, entry.depth - cast.length);\n joinSegments(segments);\n populateSegments(segments, entry);\n appendSegments(cast, segments);\n return cast.concat(segments);\n };\n const composeList = (scope, entries) => {\n let firstCommentEntryOpt = Optional.none();\n const cast = foldl(entries, (cast, entry, i) => {\n if (!isEntryComment(entry)) {\n return entry.depth > cast.length ? writeDeep(scope, cast, entry) : writeShallow(scope, cast, entry);\n } else {\n if (i === 0) {\n firstCommentEntryOpt = Optional.some(entry);\n return cast;\n }\n return writeShallow(scope, cast, entry);\n }\n }, []);\n firstCommentEntryOpt.each(firstCommentEntry => {\n const item = SugarElement.fromHtml(`<!--${ firstCommentEntry.content }-->`);\n head(cast).each(fistCast => {\n prepend(fistCast.list, item);\n });\n });\n return head(cast).map(segment => segment.list);\n };\n\n const indentEntry = (indentation, entry) => {\n switch (indentation) {\n case 'Indent':\n entry.depth++;\n break;\n case 'Outdent':\n entry.depth--;\n break;\n case 'Flatten':\n entry.depth = 0;\n }\n entry.dirty = true;\n };\n\n const cloneListProperties = (target, source) => {\n if (isEntryList(target) && isEntryList(source)) {\n target.listType = source.listType;\n target.listAttributes = { ...source.listAttributes };\n }\n };\n const cleanListProperties = entry => {\n entry.listAttributes = filter(entry.listAttributes, (_value, key) => key !== 'start');\n };\n const closestSiblingEntry = (entries, start) => {\n const depth = entries[start].depth;\n const matches = entry => entry.depth === depth && !entry.dirty;\n const until = entry => entry.depth < depth;\n return findUntil(reverse(entries.slice(0, start)), matches, until).orThunk(() => findUntil(entries.slice(start + 1), matches, until));\n };\n const normalizeEntries = entries => {\n each$1(entries, (entry, i) => {\n closestSiblingEntry(entries, i).fold(() => {\n if (entry.dirty && isEntryList(entry)) {\n cleanListProperties(entry);\n }\n }, matchingEntry => cloneListProperties(entry, matchingEntry));\n });\n return entries;\n };\n\n const Cell = initial => {\n let value = initial;\n const get = () => {\n return value;\n };\n const set = v => {\n value = v;\n };\n return {\n get,\n set\n };\n };\n\n const parseSingleItem = (depth, itemSelection, selectionState, item) => {\n var _a;\n if (isComment(item)) {\n return [{\n depth: depth + 1,\n content: (_a = item.dom.nodeValue) !== null && _a !== void 0 ? _a : '',\n dirty: false,\n isSelected: false,\n isComment: true\n }];\n }\n itemSelection.each(selection => {\n if (eq(selection.start, item)) {\n selectionState.set(true);\n }\n });\n const currentItemEntry = createEntry(item, depth, selectionState.get());\n itemSelection.each(selection => {\n if (eq(selection.end, item)) {\n selectionState.set(false);\n }\n });\n const childListEntries = lastChild(item).filter(isList).map(list => parseList(depth, itemSelection, selectionState, list)).getOr([]);\n return currentItemEntry.toArray().concat(childListEntries);\n };\n const parseItem = (depth, itemSelection, selectionState, item) => firstChild(item).filter(isList).fold(() => parseSingleItem(depth, itemSelection, selectionState, item), list => {\n const parsedSiblings = foldl(children(item), (acc, liChild, i) => {\n if (i === 0) {\n return acc;\n } else {\n if (isListItem(liChild)) {\n return acc.concat(parseSingleItem(depth, itemSelection, selectionState, liChild));\n } else {\n const fragment = {\n isFragment: true,\n depth,\n content: [liChild],\n isSelected: false,\n dirty: false,\n parentListType: name(list)\n };\n return acc.concat(fragment);\n }\n }\n }, []);\n return parseList(depth, itemSelection, selectionState, list).concat(parsedSiblings);\n });\n const parseList = (depth, itemSelection, selectionState, list) => bind(children(list), element => {\n const parser = isList(element) ? parseList : parseItem;\n const newDepth = depth + 1;\n return parser(newDepth, itemSelection, selectionState, element);\n });\n const parseLists = (lists, itemSelection) => {\n const selectionState = Cell(false);\n const initialDepth = 0;\n return map(lists, list => ({\n sourceList: list,\n entries: parseList(initialDepth, itemSelection, selectionState, list)\n }));\n };\n\n const outdentedComposer = (editor, entries) => {\n const normalizedEntries = normalizeEntries(entries);\n return map(normalizedEntries, entry => {\n const content = !isEntryComment(entry) ? fromElements(entry.content) : fromElements([SugarElement.fromHtml(`<!--${ entry.content }-->`)]);\n return SugarElement.fromDom(createTextBlock(editor, content.dom));\n });\n };\n const indentedComposer = (editor, entries) => {\n const normalizedEntries = normalizeEntries(entries);\n return composeList(editor.contentDocument, normalizedEntries).toArray();\n };\n const composeEntries = (editor, entries) => bind(groupBy(entries, isIndented), entries => {\n const groupIsIndented = head(entries).exists(isIndented);\n return groupIsIndented ? indentedComposer(editor, entries) : outdentedComposer(editor, entries);\n });\n const indentSelectedEntries = (entries, indentation) => {\n each$1(filter$1(entries, isSelected), entry => indentEntry(indentation, entry));\n };\n const getItemSelection = editor => {\n const selectedListItems = map(getSelectedListItems(editor), SugarElement.fromDom);\n return lift2(find(selectedListItems, not(hasFirstChildList)), find(reverse(selectedListItems), not(hasFirstChildList)), (start, end) => ({\n start,\n end\n }));\n };\n const listIndentation = (editor, lists, indentation) => {\n const entrySets = parseLists(lists, getItemSelection(editor));\n each$1(entrySets, entrySet => {\n indentSelectedEntries(entrySet.entries, indentation);\n const composedLists = composeEntries(editor, entrySet.entries);\n each$1(composedLists, composedList => {\n fireListEvent(editor, indentation === 'Indent' ? 'IndentList' : 'OutdentList', composedList.dom);\n });\n before(entrySet.sourceList, composedLists);\n remove(entrySet.sourceList);\n });\n };\n\n const selectionIndentation = (editor, indentation) => {\n const lists = fromDom(getSelectedListRoots(editor));\n const dlItems = fromDom(getSelectedDlItems(editor));\n let isHandled = false;\n if (lists.length || dlItems.length) {\n const bookmark = editor.selection.getBookmark();\n listIndentation(editor, lists, indentation);\n dlIndentation(editor, indentation, dlItems);\n editor.selection.moveToBookmark(bookmark);\n editor.selection.setRng(normalizeRange(editor.selection.getRng()));\n editor.nodeChanged();\n isHandled = true;\n }\n return isHandled;\n };\n const handleIndentation = (editor, indentation) => !selectionIsWithinNonEditableList(editor) && selectionIndentation(editor, indentation);\n const indentListSelection = editor => handleIndentation(editor, 'Indent');\n const outdentListSelection = editor => handleIndentation(editor, 'Outdent');\n const flattenListSelection = editor => handleIndentation(editor, 'Flatten');\n\n const zeroWidth = '\\uFEFF';\n const isZwsp = char => char === zeroWidth;\n\n const ancestor$1 = (scope, predicate, isRoot) => ancestor$3(scope, predicate, isRoot).isSome();\n\n const ancestor = (element, target) => ancestor$1(element, curry(eq, target));\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.dom.BookmarkManager');\n\n const DOM$1 = global$3.DOM;\n const createBookmark = rng => {\n const bookmark = {};\n const setupEndPoint = start => {\n let container = rng[start ? 'startContainer' : 'endContainer'];\n let offset = rng[start ? 'startOffset' : 'endOffset'];\n if (isElement(container)) {\n const offsetNode = DOM$1.create('span', { 'data-mce-type': 'bookmark' });\n if (container.hasChildNodes()) {\n offset = Math.min(offset, container.childNodes.length - 1);\n if (start) {\n container.insertBefore(offsetNode, container.childNodes[offset]);\n } else {\n DOM$1.insertAfter(offsetNode, container.childNodes[offset]);\n }\n } else {\n container.appendChild(offsetNode);\n }\n container = offsetNode;\n offset = 0;\n }\n bookmark[start ? 'startContainer' : 'endContainer'] = container;\n bookmark[start ? 'startOffset' : 'endOffset'] = offset;\n };\n setupEndPoint(true);\n if (!rng.collapsed) {\n setupEndPoint();\n }\n return bookmark;\n };\n const resolveBookmark = bookmark => {\n const restoreEndPoint = start => {\n const nodeIndex = container => {\n var _a;\n let node = (_a = container.parentNode) === null || _a === void 0 ? void 0 : _a.firstChild;\n let idx = 0;\n while (node) {\n if (node === container) {\n return idx;\n }\n if (!isElement(node) || node.getAttribute('data-mce-type') !== 'bookmark') {\n idx++;\n }\n node = node.nextSibling;\n }\n return -1;\n };\n let container = bookmark[start ? 'startContainer' : 'endContainer'];\n let offset = bookmark[start ? 'startOffset' : 'endOffset'];\n if (!container) {\n return;\n }\n if (isElement(container) && container.parentNode) {\n const node = container;\n offset = nodeIndex(container);\n container = container.parentNode;\n DOM$1.remove(node);\n if (!container.hasChildNodes() && DOM$1.isBlock(container)) {\n container.appendChild(DOM$1.create('br'));\n }\n }\n bookmark[start ? 'startContainer' : 'endContainer'] = container;\n bookmark[start ? 'startOffset' : 'endOffset'] = offset;\n };\n restoreEndPoint(true);\n restoreEndPoint();\n const rng = DOM$1.createRng();\n rng.setStart(bookmark.startContainer, bookmark.startOffset);\n if (bookmark.endContainer) {\n rng.setEnd(bookmark.endContainer, bookmark.endOffset);\n }\n return normalizeRange(rng);\n };\n\n const listToggleActionFromListName = listName => {\n switch (listName) {\n case 'UL':\n return 'ToggleUlList';\n case 'OL':\n return 'ToggleOlList';\n case 'DL':\n return 'ToggleDLList';\n }\n };\n\n const updateListStyle = (dom, el, detail) => {\n const type = detail['list-style-type'] ? detail['list-style-type'] : null;\n dom.setStyle(el, 'list-style-type', type);\n };\n const setAttribs = (elm, attrs) => {\n global$2.each(attrs, (value, key) => {\n elm.setAttribute(key, value);\n });\n };\n const updateListAttrs = (dom, el, detail) => {\n setAttribs(el, detail['list-attributes']);\n global$2.each(dom.select('li', el), li => {\n setAttribs(li, detail['list-item-attributes']);\n });\n };\n const updateListWithDetails = (dom, el, detail) => {\n updateListStyle(dom, el, detail);\n updateListAttrs(dom, el, detail);\n };\n const removeStyles = (dom, element, styles) => {\n global$2.each(styles, style => dom.setStyle(element, style, ''));\n };\n const isInline = (editor, node) => isNonNullable(node) && !isBlock(node, editor.schema.getBlockElements());\n const getEndPointNode = (editor, rng, start, root) => {\n let container = rng[start ? 'startContainer' : 'endContainer'];\n const offset = rng[start ? 'startOffset' : 'endOffset'];\n if (isElement(container)) {\n container = container.childNodes[Math.min(offset, container.childNodes.length - 1)] || container;\n }\n if (!start && isBr(container.nextSibling)) {\n container = container.nextSibling;\n }\n const findBlockAncestor = node => {\n while (!editor.dom.isBlock(node) && node.parentNode && root !== node) {\n node = node.parentNode;\n }\n return node;\n };\n const findBetterContainer = (container, forward) => {\n var _a;\n const walker = new global$5(container, findBlockAncestor(container));\n const dir = forward ? 'next' : 'prev';\n let node;\n while (node = walker[dir]()) {\n if (!(isVoid(editor, node) || isZwsp(node.textContent) || ((_a = node.textContent) === null || _a === void 0 ? void 0 : _a.length) === 0)) {\n return Optional.some(node);\n }\n }\n return Optional.none();\n };\n if (start && isTextNode$1(container)) {\n if (isZwsp(container.textContent)) {\n container = findBetterContainer(container, false).getOr(container);\n } else {\n if (container.parentNode !== null && isInline(editor, container.parentNode)) {\n container = container.parentNode;\n }\n while (container.previousSibling !== null && (isInline(editor, container.previousSibling) || isTextNode$1(container.previousSibling))) {\n container = container.previousSibling;\n }\n }\n }\n if (!start && isTextNode$1(container)) {\n if (isZwsp(container.textContent)) {\n container = findBetterContainer(container, true).getOr(container);\n } else {\n if (container.parentNode !== null && isInline(editor, container.parentNode)) {\n container = container.parentNode;\n }\n while (container.nextSibling !== null && (isInline(editor, container.nextSibling) || isTextNode$1(container.nextSibling))) {\n container = container.nextSibling;\n }\n }\n }\n while (container.parentNode !== root) {\n const parent = container.parentNode;\n if (isTextBlock(editor, container)) {\n return container;\n }\n if (/^(TD|TH)$/.test(parent.nodeName)) {\n return container;\n }\n container = parent;\n }\n return container;\n };\n const getSelectedTextBlocks = (editor, rng, root) => {\n const textBlocks = [];\n const dom = editor.dom;\n const startNode = getEndPointNode(editor, rng, true, root);\n const endNode = getEndPointNode(editor, rng, false, root);\n let block;\n const siblings = [];\n for (let node = startNode; node; node = node.nextSibling) {\n siblings.push(node);\n if (node === endNode) {\n break;\n }\n }\n global$2.each(siblings, node => {\n var _a;\n if (isTextBlock(editor, node)) {\n textBlocks.push(node);\n block = null;\n return;\n }\n if (dom.isBlock(node) || isBr(node)) {\n if (isBr(node)) {\n dom.remove(node);\n }\n block = null;\n return;\n }\n const nextSibling = node.nextSibling;\n if (global$1.isBookmarkNode(node)) {\n if (isListNode(nextSibling) || isTextBlock(editor, nextSibling) || !nextSibling && node.parentNode === root) {\n block = null;\n return;\n }\n }\n if (!block) {\n block = dom.create('p');\n (_a = node.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(block, node);\n textBlocks.push(block);\n }\n block.appendChild(node);\n });\n return textBlocks;\n };\n const hasCompatibleStyle = (dom, sib, detail) => {\n const sibStyle = dom.getStyle(sib, 'list-style-type');\n let detailStyle = detail ? detail['list-style-type'] : '';\n detailStyle = detailStyle === null ? '' : detailStyle;\n return sibStyle === detailStyle;\n };\n const getRootSearchStart = (editor, range) => {\n const start = editor.selection.getStart(true);\n const startPoint = getEndPointNode(editor, range, true, editor.getBody());\n if (ancestor(SugarElement.fromDom(startPoint), SugarElement.fromDom(range.commonAncestorContainer))) {\n return range.commonAncestorContainer;\n } else {\n return start;\n }\n };\n const applyList = (editor, listName, detail) => {\n const rng = editor.selection.getRng();\n let listItemName = 'LI';\n const root = getClosestListHost(editor, getRootSearchStart(editor, rng));\n const dom = editor.dom;\n if (dom.getContentEditable(editor.selection.getNode()) === 'false') {\n return;\n }\n listName = listName.toUpperCase();\n if (listName === 'DL') {\n listItemName = 'DT';\n }\n const bookmark = createBookmark(rng);\n const selectedTextBlocks = filter$1(getSelectedTextBlocks(editor, rng, root), editor.dom.isEditable);\n global$2.each(selectedTextBlocks, block => {\n let listBlock;\n const sibling = block.previousSibling;\n const parent = block.parentNode;\n if (!isListItemNode(parent)) {\n if (sibling && isListNode(sibling) && sibling.nodeName === listName && hasCompatibleStyle(dom, sibling, detail)) {\n listBlock = sibling;\n block = dom.rename(block, listItemName);\n sibling.appendChild(block);\n } else {\n listBlock = dom.create(listName);\n parent.insertBefore(listBlock, block);\n listBlock.appendChild(block);\n block = dom.rename(block, listItemName);\n }\n removeStyles(dom, block, [\n 'margin',\n 'margin-right',\n 'margin-bottom',\n 'margin-left',\n 'margin-top',\n 'padding',\n 'padding-right',\n 'padding-bottom',\n 'padding-left',\n 'padding-top'\n ]);\n updateListWithDetails(dom, listBlock, detail);\n mergeWithAdjacentLists(editor.dom, listBlock);\n }\n });\n editor.selection.setRng(resolveBookmark(bookmark));\n };\n const isValidLists = (list1, list2) => {\n return isListNode(list1) && list1.nodeName === (list2 === null || list2 === void 0 ? void 0 : list2.nodeName);\n };\n const hasSameListStyle = (dom, list1, list2) => {\n const targetStyle = dom.getStyle(list1, 'list-style-type', true);\n const style = dom.getStyle(list2, 'list-style-type', true);\n return targetStyle === style;\n };\n const hasSameClasses = (elm1, elm2) => {\n return elm1.className === elm2.className;\n };\n const shouldMerge = (dom, list1, list2) => {\n return isValidLists(list1, list2) && hasSameListStyle(dom, list1, list2) && hasSameClasses(list1, list2);\n };\n const mergeWithAdjacentLists = (dom, listBlock) => {\n let node;\n let sibling = listBlock.nextSibling;\n if (shouldMerge(dom, listBlock, sibling)) {\n const liSibling = sibling;\n while (node = liSibling.firstChild) {\n listBlock.appendChild(node);\n }\n dom.remove(liSibling);\n }\n sibling = listBlock.previousSibling;\n if (shouldMerge(dom, listBlock, sibling)) {\n const liSibling = sibling;\n while (node = liSibling.lastChild) {\n listBlock.insertBefore(node, listBlock.firstChild);\n }\n dom.remove(liSibling);\n }\n };\n const updateList$1 = (editor, list, listName, detail) => {\n if (list.nodeName !== listName) {\n const newList = editor.dom.rename(list, listName);\n updateListWithDetails(editor.dom, newList, detail);\n fireListEvent(editor, listToggleActionFromListName(listName), newList);\n } else {\n updateListWithDetails(editor.dom, list, detail);\n fireListEvent(editor, listToggleActionFromListName(listName), list);\n }\n };\n const updateCustomList = (editor, list, listName, detail) => {\n list.classList.forEach((cls, _, classList) => {\n if (cls.startsWith('tox-')) {\n classList.remove(cls);\n if (classList.length === 0) {\n list.removeAttribute('class');\n }\n }\n });\n if (list.nodeName !== listName) {\n const newList = editor.dom.rename(list, listName);\n updateListWithDetails(editor.dom, newList, detail);\n fireListEvent(editor, listToggleActionFromListName(listName), newList);\n } else {\n updateListWithDetails(editor.dom, list, detail);\n fireListEvent(editor, listToggleActionFromListName(listName), list);\n }\n };\n const toggleMultipleLists = (editor, parentList, lists, listName, detail) => {\n const parentIsList = isListNode(parentList);\n if (parentIsList && parentList.nodeName === listName && !hasListStyleDetail(detail) && !isCustomList(parentList)) {\n flattenListSelection(editor);\n } else {\n applyList(editor, listName, detail);\n const bookmark = createBookmark(editor.selection.getRng());\n const allLists = parentIsList ? [\n parentList,\n ...lists\n ] : lists;\n const updateFunction = parentIsList && isCustomList(parentList) ? updateCustomList : updateList$1;\n global$2.each(allLists, elm => {\n updateFunction(editor, elm, listName, detail);\n });\n editor.selection.setRng(resolveBookmark(bookmark));\n }\n };\n const hasListStyleDetail = detail => {\n return 'list-style-type' in detail;\n };\n const toggleSingleList = (editor, parentList, listName, detail) => {\n if (parentList === editor.getBody()) {\n return;\n }\n if (parentList) {\n if (parentList.nodeName === listName && !hasListStyleDetail(detail) && !isCustomList(parentList)) {\n flattenListSelection(editor);\n } else {\n const bookmark = createBookmark(editor.selection.getRng());\n if (isCustomList(parentList)) {\n parentList.classList.forEach((cls, _, classList) => {\n if (cls.startsWith('tox-')) {\n classList.remove(cls);\n if (classList.length === 0) {\n parentList.removeAttribute('class');\n }\n }\n });\n }\n updateListWithDetails(editor.dom, parentList, detail);\n const newList = editor.dom.rename(parentList, listName);\n mergeWithAdjacentLists(editor.dom, newList);\n editor.selection.setRng(resolveBookmark(bookmark));\n applyList(editor, listName, detail);\n fireListEvent(editor, listToggleActionFromListName(listName), newList);\n }\n } else {\n applyList(editor, listName, detail);\n fireListEvent(editor, listToggleActionFromListName(listName), parentList);\n }\n };\n const toggleList = (editor, listName, _detail) => {\n const parentList = getParentList(editor);\n if (isWithinNonEditableList(editor, parentList)) {\n return;\n }\n const selectedSubLists = getSelectedSubLists(editor);\n const detail = isObject(_detail) ? _detail : {};\n if (selectedSubLists.length > 0) {\n toggleMultipleLists(editor, parentList, selectedSubLists, listName, detail);\n } else {\n toggleSingleList(editor, parentList, listName, detail);\n }\n };\n\n const DOM = global$3.DOM;\n const normalizeList = (dom, list) => {\n const parentNode = list.parentElement;\n if (parentNode && parentNode.nodeName === 'LI' && parentNode.firstChild === list) {\n const sibling = parentNode.previousSibling;\n if (sibling && sibling.nodeName === 'LI') {\n sibling.appendChild(list);\n if (isEmpty$2(dom, parentNode)) {\n DOM.remove(parentNode);\n }\n } else {\n DOM.setStyle(parentNode, 'listStyleType', 'none');\n }\n }\n if (isListNode(parentNode)) {\n const sibling = parentNode.previousSibling;\n if (sibling && sibling.nodeName === 'LI') {\n sibling.appendChild(list);\n }\n }\n };\n const normalizeLists = (dom, element) => {\n const lists = global$2.grep(dom.select('ol,ul', element));\n global$2.each(lists, list => {\n normalizeList(dom, list);\n });\n };\n\n const findNextCaretContainer = (editor, rng, isForward, root) => {\n let node = rng.startContainer;\n const offset = rng.startOffset;\n if (isTextNode$1(node) && (isForward ? offset < node.data.length : offset > 0)) {\n return node;\n }\n const nonEmptyBlocks = editor.schema.getNonEmptyElements();\n if (isElement(node)) {\n node = global$6.getNode(node, offset);\n }\n const walker = new global$5(node, root);\n if (isForward) {\n if (isBogusBr(editor.dom, node)) {\n walker.next();\n }\n }\n const walkFn = isForward ? walker.next.bind(walker) : walker.prev2.bind(walker);\n while (node = walkFn()) {\n if (node.nodeName === 'LI' && !node.hasChildNodes()) {\n return node;\n }\n if (nonEmptyBlocks[node.nodeName]) {\n return node;\n }\n if (isTextNode$1(node) && node.data.length > 0) {\n return node;\n }\n }\n return null;\n };\n const hasOnlyOneBlockChild = (dom, elm) => {\n const childNodes = elm.childNodes;\n return childNodes.length === 1 && !isListNode(childNodes[0]) && dom.isBlock(childNodes[0]);\n };\n const isUnwrappable = node => Optional.from(node).map(SugarElement.fromDom).filter(isHTMLElement).exists(el => isEditable(el) && !contains$1(['details'], name(el)));\n const unwrapSingleBlockChild = (dom, elm) => {\n if (hasOnlyOneBlockChild(dom, elm) && isUnwrappable(elm.firstChild)) {\n dom.remove(elm.firstChild, true);\n }\n };\n const moveChildren = (dom, fromElm, toElm) => {\n let node;\n const targetElm = hasOnlyOneBlockChild(dom, toElm) ? toElm.firstChild : toElm;\n unwrapSingleBlockChild(dom, fromElm);\n if (!isEmpty$2(dom, fromElm, true)) {\n while (node = fromElm.firstChild) {\n targetElm.appendChild(node);\n }\n }\n };\n const mergeLiElements = (dom, fromElm, toElm) => {\n let listNode;\n const ul = fromElm.parentNode;\n if (!isChildOfBody(dom, fromElm) || !isChildOfBody(dom, toElm)) {\n return;\n }\n if (isListNode(toElm.lastChild)) {\n listNode = toElm.lastChild;\n }\n if (ul === toElm.lastChild) {\n if (isBr(ul.previousSibling)) {\n dom.remove(ul.previousSibling);\n }\n }\n const node = toElm.lastChild;\n if (node && isBr(node) && fromElm.hasChildNodes()) {\n dom.remove(node);\n }\n if (isEmpty$2(dom, toElm, true)) {\n empty(SugarElement.fromDom(toElm));\n }\n moveChildren(dom, fromElm, toElm);\n if (listNode) {\n toElm.appendChild(listNode);\n }\n const contains$1 = contains(SugarElement.fromDom(toElm), SugarElement.fromDom(fromElm));\n const nestedLists = contains$1 ? dom.getParents(fromElm, isListNode, toElm) : [];\n dom.remove(fromElm);\n each$1(nestedLists, list => {\n if (isEmpty$2(dom, list) && list !== dom.getRoot()) {\n dom.remove(list);\n }\n });\n };\n const mergeIntoEmptyLi = (editor, fromLi, toLi) => {\n empty(SugarElement.fromDom(toLi));\n mergeLiElements(editor.dom, fromLi, toLi);\n editor.selection.setCursorLocation(toLi, 0);\n };\n const mergeForward = (editor, rng, fromLi, toLi) => {\n const dom = editor.dom;\n if (dom.isEmpty(toLi)) {\n mergeIntoEmptyLi(editor, fromLi, toLi);\n } else {\n const bookmark = createBookmark(rng);\n mergeLiElements(dom, fromLi, toLi);\n editor.selection.setRng(resolveBookmark(bookmark));\n }\n };\n const mergeBackward = (editor, rng, fromLi, toLi) => {\n const bookmark = createBookmark(rng);\n mergeLiElements(editor.dom, fromLi, toLi);\n const resolvedBookmark = resolveBookmark(bookmark);\n editor.selection.setRng(resolvedBookmark);\n };\n const backspaceDeleteFromListToListCaret = (editor, isForward) => {\n const dom = editor.dom, selection = editor.selection;\n const selectionStartElm = selection.getStart();\n const root = getClosestEditingHost(editor, selectionStartElm);\n const li = dom.getParent(selection.getStart(), 'LI', root);\n if (li) {\n const ul = li.parentElement;\n if (ul === editor.getBody() && isEmpty$2(dom, ul)) {\n return true;\n }\n const rng = normalizeRange(selection.getRng());\n const otherLi = dom.getParent(findNextCaretContainer(editor, rng, isForward, root), 'LI', root);\n const willMergeParentIntoChild = otherLi && (isForward ? dom.isChildOf(li, otherLi) : dom.isChildOf(otherLi, li));\n if (otherLi && otherLi !== li && !willMergeParentIntoChild) {\n editor.undoManager.transact(() => {\n if (isForward) {\n mergeForward(editor, rng, otherLi, li);\n } else {\n if (isFirstChild(li)) {\n outdentListSelection(editor);\n } else {\n mergeBackward(editor, rng, li, otherLi);\n }\n }\n });\n return true;\n } else if (willMergeParentIntoChild && !isForward && otherLi !== li) {\n editor.undoManager.transact(() => {\n if (rng.commonAncestorContainer.parentElement) {\n const bookmark = createBookmark(rng);\n const oldParentElRef = rng.commonAncestorContainer.parentElement;\n moveChildren(dom, rng.commonAncestorContainer.parentElement, otherLi);\n oldParentElRef.remove();\n const resolvedBookmark = resolveBookmark(bookmark);\n editor.selection.setRng(resolvedBookmark);\n }\n });\n return true;\n } else if (!otherLi) {\n if (!isForward && rng.startOffset === 0 && rng.endOffset === 0) {\n editor.undoManager.transact(() => {\n flattenListSelection(editor);\n });\n return true;\n }\n }\n }\n return false;\n };\n const removeBlock = (dom, block, root) => {\n const parentBlock = dom.getParent(block.parentNode, dom.isBlock, root);\n dom.remove(block);\n if (parentBlock && dom.isEmpty(parentBlock)) {\n dom.remove(parentBlock);\n }\n };\n const backspaceDeleteIntoListCaret = (editor, isForward) => {\n const dom = editor.dom;\n const selectionStartElm = editor.selection.getStart();\n const root = getClosestEditingHost(editor, selectionStartElm);\n const block = dom.getParent(selectionStartElm, dom.isBlock, root);\n if (block && dom.isEmpty(block)) {\n const rng = normalizeRange(editor.selection.getRng());\n const otherLi = dom.getParent(findNextCaretContainer(editor, rng, isForward, root), 'LI', root);\n if (otherLi) {\n const findValidElement = element => contains$1([\n 'td',\n 'th',\n 'caption'\n ], name(element));\n const findRoot = node => node.dom === root;\n const otherLiCell = closest$2(SugarElement.fromDom(otherLi), findValidElement, findRoot);\n const caretCell = closest$2(SugarElement.fromDom(rng.startContainer), findValidElement, findRoot);\n if (!equals(otherLiCell, caretCell, eq)) {\n return false;\n }\n editor.undoManager.transact(() => {\n const parentNode = otherLi.parentNode;\n removeBlock(dom, block, root);\n mergeWithAdjacentLists(dom, parentNode);\n editor.selection.select(otherLi, true);\n editor.selection.collapse(isForward);\n });\n return true;\n }\n }\n return false;\n };\n const backspaceDeleteCaret = (editor, isForward) => {\n return backspaceDeleteFromListToListCaret(editor, isForward) || backspaceDeleteIntoListCaret(editor, isForward);\n };\n const hasListSelection = editor => {\n const selectionStartElm = editor.selection.getStart();\n const root = getClosestEditingHost(editor, selectionStartElm);\n const startListParent = editor.dom.getParent(selectionStartElm, 'LI,DT,DD', root);\n return startListParent || getSelectedListItems(editor).length > 0;\n };\n const backspaceDeleteRange = editor => {\n if (hasListSelection(editor)) {\n editor.undoManager.transact(() => {\n editor.execCommand('Delete');\n normalizeLists(editor.dom, editor.getBody());\n });\n return true;\n }\n return false;\n };\n const backspaceDelete = (editor, isForward) => {\n const selection = editor.selection;\n return !isWithinNonEditableList(editor, selection.getNode()) && (selection.isCollapsed() ? backspaceDeleteCaret(editor, isForward) : backspaceDeleteRange(editor));\n };\n const setup$2 = editor => {\n editor.on('ExecCommand', e => {\n const cmd = e.command.toLowerCase();\n if ((cmd === 'delete' || cmd === 'forwarddelete') && hasListSelection(editor)) {\n normalizeLists(editor.dom, editor.getBody());\n }\n });\n editor.on('keydown', e => {\n if (e.keyCode === global$4.BACKSPACE) {\n if (backspaceDelete(editor, false)) {\n e.preventDefault();\n }\n } else if (e.keyCode === global$4.DELETE) {\n if (backspaceDelete(editor, true)) {\n e.preventDefault();\n }\n }\n });\n };\n\n const get = editor => ({\n backspaceDelete: isForward => {\n backspaceDelete(editor, isForward);\n }\n });\n\n const updateList = (editor, update) => {\n const parentList = getParentList(editor);\n if (parentList === null || isWithinNonEditableList(editor, parentList)) {\n return;\n }\n editor.undoManager.transact(() => {\n if (isObject(update.styles)) {\n editor.dom.setStyles(parentList, update.styles);\n }\n if (isObject(update.attrs)) {\n each(update.attrs, (v, k) => editor.dom.setAttrib(parentList, k, v));\n }\n });\n };\n\n const parseAlphabeticBase26 = str => {\n const chars = reverse(trim(str).split(''));\n const values = map(chars, (char, i) => {\n const charValue = char.toUpperCase().charCodeAt(0) - 'A'.charCodeAt(0) + 1;\n return Math.pow(26, i) * charValue;\n });\n return foldl(values, (sum, v) => sum + v, 0);\n };\n const composeAlphabeticBase26 = value => {\n value--;\n if (value < 0) {\n return '';\n } else {\n const remainder = value % 26;\n const quotient = Math.floor(value / 26);\n const rest = composeAlphabeticBase26(quotient);\n const char = String.fromCharCode('A'.charCodeAt(0) + remainder);\n return rest + char;\n }\n };\n const isUppercase = str => /^[A-Z]+$/.test(str);\n const isLowercase = str => /^[a-z]+$/.test(str);\n const isNumeric = str => /^[0-9]+$/.test(str);\n const deduceListType = start => {\n if (isNumeric(start)) {\n return 2;\n } else if (isUppercase(start)) {\n return 0;\n } else if (isLowercase(start)) {\n return 1;\n } else if (isEmpty$1(start)) {\n return 3;\n } else {\n return 4;\n }\n };\n const parseStartValue = start => {\n switch (deduceListType(start)) {\n case 2:\n return Optional.some({\n listStyleType: Optional.none(),\n start\n });\n case 0:\n return Optional.some({\n listStyleType: Optional.some('upper-alpha'),\n start: parseAlphabeticBase26(start).toString()\n });\n case 1:\n return Optional.some({\n listStyleType: Optional.some('lower-alpha'),\n start: parseAlphabeticBase26(start).toString()\n });\n case 3:\n return Optional.some({\n listStyleType: Optional.none(),\n start: ''\n });\n case 4:\n return Optional.none();\n }\n };\n const parseDetail = detail => {\n const start = parseInt(detail.start, 10);\n if (is$2(detail.listStyleType, 'upper-alpha')) {\n return composeAlphabeticBase26(start);\n } else if (is$2(detail.listStyleType, 'lower-alpha')) {\n return composeAlphabeticBase26(start).toLowerCase();\n } else {\n return detail.start;\n }\n };\n\n const open = editor => {\n const currentList = getParentList(editor);\n if (!isOlNode(currentList) || isWithinNonEditableList(editor, currentList)) {\n return;\n }\n editor.windowManager.open({\n title: 'List Properties',\n body: {\n type: 'panel',\n items: [{\n type: 'input',\n name: 'start',\n label: 'Start list at number',\n inputMode: 'numeric'\n }]\n },\n initialData: {\n start: parseDetail({\n start: editor.dom.getAttrib(currentList, 'start', '1'),\n listStyleType: Optional.from(editor.dom.getStyle(currentList, 'list-style-type'))\n })\n },\n buttons: [\n {\n type: 'cancel',\n name: 'cancel',\n text: 'Cancel'\n },\n {\n type: 'submit',\n name: 'save',\n text: 'Save',\n primary: true\n }\n ],\n onSubmit: api => {\n const data = api.getData();\n parseStartValue(data.start).each(detail => {\n editor.execCommand('mceListUpdate', false, {\n attrs: { start: detail.start === '1' ? '' : detail.start },\n styles: { 'list-style-type': detail.listStyleType.getOr('') }\n });\n });\n api.close();\n }\n });\n };\n\n const queryListCommandState = (editor, listName) => () => {\n const parentList = getParentList(editor);\n return isNonNullable(parentList) && parentList.nodeName === listName;\n };\n const registerDialog = editor => {\n editor.addCommand('mceListProps', () => {\n open(editor);\n });\n };\n const register$2 = editor => {\n editor.on('BeforeExecCommand', e => {\n const cmd = e.command.toLowerCase();\n if (cmd === 'indent') {\n indentListSelection(editor);\n } else if (cmd === 'outdent') {\n outdentListSelection(editor);\n }\n });\n editor.addCommand('InsertUnorderedList', (ui, detail) => {\n toggleList(editor, 'UL', detail);\n });\n editor.addCommand('InsertOrderedList', (ui, detail) => {\n toggleList(editor, 'OL', detail);\n });\n editor.addCommand('InsertDefinitionList', (ui, detail) => {\n toggleList(editor, 'DL', detail);\n });\n editor.addCommand('RemoveList', () => {\n flattenListSelection(editor);\n });\n registerDialog(editor);\n editor.addCommand('mceListUpdate', (ui, detail) => {\n if (isObject(detail)) {\n updateList(editor, detail);\n }\n });\n editor.addQueryStateHandler('InsertUnorderedList', queryListCommandState(editor, 'UL'));\n editor.addQueryStateHandler('InsertOrderedList', queryListCommandState(editor, 'OL'));\n editor.addQueryStateHandler('InsertDefinitionList', queryListCommandState(editor, 'DL'));\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.html.Node');\n\n const isTextNode = node => node.type === 3;\n const isEmpty = nodeBuffer => nodeBuffer.length === 0;\n const wrapInvalidChildren = list => {\n const insertListItem = (buffer, refNode) => {\n const li = global.create('li');\n each$1(buffer, node => li.append(node));\n if (refNode) {\n list.insert(li, refNode, true);\n } else {\n list.append(li);\n }\n };\n const reducer = (buffer, node) => {\n if (isTextNode(node)) {\n return [\n ...buffer,\n node\n ];\n } else if (!isEmpty(buffer) && !isTextNode(node)) {\n insertListItem(buffer, node);\n return [];\n } else {\n return buffer;\n }\n };\n const restBuffer = foldl(list.children(), reducer, []);\n if (!isEmpty(restBuffer)) {\n insertListItem(restBuffer);\n }\n };\n const setup$1 = editor => {\n editor.on('PreInit', () => {\n const {parser} = editor;\n parser.addNodeFilter('ul,ol', nodes => each$1(nodes, wrapInvalidChildren));\n });\n };\n\n const setupTabKey = editor => {\n editor.on('keydown', e => {\n if (e.keyCode !== global$4.TAB || global$4.metaKeyPressed(e)) {\n return;\n }\n editor.undoManager.transact(() => {\n if (e.shiftKey ? outdentListSelection(editor) : indentListSelection(editor)) {\n e.preventDefault();\n }\n });\n });\n };\n const setup = editor => {\n if (shouldIndentOnTab(editor)) {\n setupTabKey(editor);\n }\n setup$2(editor);\n };\n\n const setupToggleButtonHandler = (editor, listName) => api => {\n const toggleButtonHandler = e => {\n api.setActive(inList(e.parents, listName));\n api.setEnabled(!isWithinNonEditableList(editor, e.element) && editor.selection.isEditable());\n };\n api.setEnabled(editor.selection.isEditable());\n return setNodeChangeHandler(editor, toggleButtonHandler);\n };\n const register$1 = editor => {\n const exec = command => () => editor.execCommand(command);\n if (!editor.hasPlugin('advlist')) {\n editor.ui.registry.addToggleButton('numlist', {\n icon: 'ordered-list',\n active: false,\n tooltip: 'Numbered list',\n onAction: exec('InsertOrderedList'),\n onSetup: setupToggleButtonHandler(editor, 'OL')\n });\n editor.ui.registry.addToggleButton('bullist', {\n icon: 'unordered-list',\n active: false,\n tooltip: 'Bullet list',\n onAction: exec('InsertUnorderedList'),\n onSetup: setupToggleButtonHandler(editor, 'UL')\n });\n }\n };\n\n const setupMenuButtonHandler = (editor, listName) => api => {\n const menuButtonHandler = e => api.setEnabled(inList(e.parents, listName) && !isWithinNonEditableList(editor, e.element));\n return setNodeChangeHandler(editor, menuButtonHandler);\n };\n const register = editor => {\n const listProperties = {\n text: 'List properties...',\n icon: 'ordered-list',\n onAction: () => editor.execCommand('mceListProps'),\n onSetup: setupMenuButtonHandler(editor, 'OL')\n };\n editor.ui.registry.addMenuItem('listprops', listProperties);\n editor.ui.registry.addContextMenu('lists', {\n update: node => {\n const parentList = getParentList(editor, node);\n return isOlNode(parentList) ? ['listprops'] : [];\n }\n });\n };\n\n var Plugin = () => {\n global$7.add('lists', editor => {\n register$3(editor);\n setup$1(editor);\n if (!editor.hasPlugin('rtc', true)) {\n setup(editor);\n register$2(editor);\n } else {\n registerDialog(editor);\n }\n register$1(editor);\n register(editor);\n return get(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$7","tinymce","util","Tools","resolve","isType$1","type","value","x","t","Array","isArray","o","v","proto","constructor","String","prototype","isPrototypeOf","_a","name","typeOf","isSimpleType","isString","isObject","isBoolean","isNonNullable","a","isNullable","isFunction","isNumber","noop","constant","tripleEquals","b","not","f","never","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","predicate","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","nativeSlice","slice","nativeIndexOf","indexOf","nativePush","push","contains$1","xs","rawIndexOf","ts","call","pred","i","len","length","r","each$1","filter$1","foldl","acc","findUntil","until","find","apply","flatten","reverse","get$1","head","last","unique","comparator","isDuplicated","is$2","lhs","rhs","left","lift2","oa","ob","fromDom$1","node","dom","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","console","error","fromTag","fromText","text","createTextNode","fromDom","fromPoint","docElm","y","elementFromPoint","is$1","element","selector","nodeType","elem","undefined","matches","msMatchesSelector","webkitMatchesSelector","mozMatchesSelector","eq","e1","e2","is","Global","window","Function","p","parts","path","split","actual","unsafe","getPrototypeOf","Object","sandHTMLElement","test","nodeName","toLowerCase","isType","isHTMLElement","isElement$1","isText","isDocument","isDocumentFragment","isTag","e","parent","parentNode","children","child","index","cs","firstChild","lastChild","getRootNode","Element","attachShadow","Node","dos","ownerDocument","getShadowRoot","host","getShadowHost","inBody","doc","body","contains","fbc","fab","ClosestOrAncestor","ancestor","isRoot","ancestor$3","stop","el","closest$2","s","ancestor$2","closest","target","closest$1","getRaw","contentEditable","before$1","marker","insertBefore","after","sibling","nextSibling","append$1","appendChild","append","elements","empty","textContent","rogue","remove","removeChild","global$6","global$5","global$4","nodes","keys","obj","props","k","onTrue","onFalse","internalFilter","setAll","attrs","key","setAttribute","rawSet","clone$1","attributes","attr","deep","original","isDeep","cloneNode","clone","mutate","nu","shallowAs","children$1","global$3","global$2","matchNodeName","matchNodeNames","regex","isTextNode$1","isElement","isListNode","isOlUlNode","isOlNode","isListItemNode","isDlItemNode","isTableCellNode","isBr","isTextBlock","editor","schema","getTextBlockElements","isBlock","blockElements","isVoid","getVoidElements","isEmpty$2","elm","keepBookmarks","isEmpty","select","isChildOfBody","isChildOf","getRoot","option","options","get","shouldIndentOnTab","getForcedRootBlock","getForcedRootBlockAttrs","createTextBlock","contentNode","getBlockElements","fragment","createFragment","blockName","blockAttrs","textBlock","hasContentNode","create","getAttribute","DOM$2","DOM","splitList","list","li","bookmarks","newBlock","tmpRng","createRng","setStartAfter","setEndAfter","extractContents","insertAfter","parentElement","targetNode","removeAndKeepBookmarks","isDescriptionDetail","isDescriptionTerm","outdentDlItem","item","dl","indentDlItem","getNormalizedPoint","container","offset","getNode","data","previousSibling","normalizeRange","rng","outRng","cloneRange","rangeStart","startContainer","startOffset","setStart","rangeEnd","endContainer","endOffset","setEnd","listNames","listSelector","join","getParentList","selectionStart","selection","getStart","getParent","getClosestListHost","getSelectedSubLists","parentList","selectedBlocks","getSelectedBlocks","isParentListSelected","querySelectorAll","findSubLists","getSelectedListItems","elms","listItemsElms","findParentListItemsNodes","getClosestEditingHost","parentTableCell","getParents","getBody","parentBlocks","parentBlock","isListHost","listName","isValidChild","findLastParentListNode","parentLists","getSelectedListRoots","selectedLists","firstList","subsequentLists","concat","getSelectedLists","getParentLists","isListInsideAnLiWithFirstAndLastNotListElement","getUniqueListRoots","l","lists","listRoots","isCustomList","className","inList","parents","isWithinNonEditable","isEditable","isWithinNonEditableList","setNodeChangeHandler","nodeChangeHandler","initialNode","on","off","fromElements","createDocumentFragment","fireListEvent","action","dispatch","trim","replace","internalSet","property","style","getPropertyValue","isSupported","setProperty","set","isList","hasFirstChildList","isEntryList","entry","isEntryComment","isIndented","depth","isSelected","cloneItemContent","content","joinSegment","createSegment","listType","segment","writeShallow","cast","newCast","createItem","itemAttributes","appendItem","listAttributes","normalizeSegment","isEntryFragment","writeDeep","segments","size","parentListType","createSegments","tail","joinSegments","populateSegments","composeList","entries","firstCommentEntryOpt","firstCommentEntry","fistCast","prepend","normalizeEntries","start","dirty","closestSiblingEntry","_value","cleanListProperties","matchingEntry","cloneListProperties","source","parseSingleItem","itemSelection","selectionState","nodeValue","isComment","currentItemEntry","isInPreviousLi","createEntry","end","childListEntries","parseList","parseItem","parsedSiblings","liChild","isFragment","composeEntries","wasType","group","groupBy","normalizedEntries","contentDocument","indentedComposer","outdentedComposer","listIndentation","indentation","entrySets","initial","Cell","sourceList","parseLists","selectedListItems","getItemSelection","entrySet","indentEntry","indentSelectedEntries","composedLists","composedList","selectionIndentation","dlItems","getSelectedDlItems","isHandled","bookmark","getBookmark","dlIndentation","moveToBookmark","setRng","getRng","nodeChanged","handleIndentation","selectionIsWithinNonEditableList","indentListSelection","outdentListSelection","flattenListSelection","isZwsp","char","ancestor$1","fn","initialArgs","restArgs","all","curry","global$1","DOM$1","createBookmark","setupEndPoint","offsetNode","Math","min","collapsed","resolveBookmark","restoreEndPoint","idx","nodeIndex","listToggleActionFromListName","setAttribs","updateListWithDetails","detail","setStyle","updateListStyle","updateListAttrs","isInline","getEndPointNode","root","findBetterContainer","forward","walker","findBlockAncestor","dir","applyList","listItemName","range","startPoint","commonAncestorContainer","getRootSearchStart","getContentEditable","toUpperCase","selectedTextBlocks","textBlocks","startNode","endNode","block","siblings","isBookmarkNode","getSelectedTextBlocks","listBlock","sib","sibStyle","getStyle","detailStyle","hasCompatibleStyle","rename","styles","removeStyles","mergeWithAdjacentLists","shouldMerge","list1","list2","isValidLists","hasSameListStyle","elm2","liSibling","updateList$1","newList","updateCustomList","classList","forEach","cls","_","startsWith","removeAttribute","hasListStyleDetail","toggleList","_detail","selectedSubLists","parentIsList","allLists","updateFunction","toggleMultipleLists","toggleSingleList","normalizeLists","grep","normalizeList","findNextCaretContainer","isForward","nonEmptyBlocks","getNonEmptyElements","isBogusBr","next","walkFn","prev2","hasOnlyOneBlockChild","isUnwrappable","assumeEditable","isContentEditable","editable","moveChildren","fromElm","toElm","targetElm","unwrapSingleBlockChild","mergeLiElements","listNode","ul","nestedLists","d1","d2","mergeForward","fromLi","toLi","setCursorLocation","mergeIntoEmptyLi","backspaceDeleteFromListToListCaret","selectionStartElm","otherLi","willMergeParentIntoChild","undoManager","transact","resolvedBookmark","mergeBackward","oldParentElRef","backspaceDeleteIntoListCaret","findValidElement","findRoot","equals","removeBlock","collapse","hasListSelection","backspaceDelete","isCollapsed","backspaceDeleteCaret","execCommand","backspaceDeleteRange","parseAlphabeticBase26","str","chars","values","charValue","charCodeAt","pow","sum","composeAlphabeticBase26","remainder","quotient","floor","fromCharCode","parseDetail","parseInt","listStyleType","open","currentList","windowManager","title","items","label","inputMode","initialData","getAttrib","buttons","primary","onSubmit","api","isLowercase","deduceListType","parseStartValue","getData","close","queryListCommandState","registerDialog","addCommand","register$2","cmd","command","ui","update","setStyles","setAttrib","updateList","addQueryStateHandler","global","isTextNode","nodeBuffer","wrapInvalidChildren","insertListItem","buffer","refNode","insert","restBuffer","setup","keyCode","TAB","metaKeyPressed","shiftKey","preventDefault","setupTabKey","BACKSPACE","DELETE","setup$2","setupToggleButtonHandler","setEnabled","setActive","setupMenuButtonHandler","add","registerOption","register","processor","default","register$3","parser","addNodeFilter","setup$1","hasPlugin","exec","registry","addToggleButton","icon","active","tooltip","onAction","onSetup","register$1","listProperties","addMenuItem","addContextMenu"],"mappings":"+FAIA,WAGI,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAoBMC,EAAWC,GAAQC,GAZVC,KACb,MAAMC,SAAWD,EACjB,OAAU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Qkd,CAAWld,GA1BEA,KACf,MAAMmd,EAAiB,CACrB9lB,KAAM,qBACNwlB,KAAM,eACNG,SAAU,IAAMhd,EAAOyX,YAAY,gBACnCwF,QAASlB,GAAuB/b,EAAQ,OAE1CA,EAAOma,GAAGwC,SAASS,YAAY,YAAaD,GAC5Cnd,EAAOma,GAAGwC,SAASU,eAAe,QAAS,CACzCjD,OAAQ/jB,IACN,MAAM6O,EAAaP,GAAc3E,EAAQ3J,GACzC,OAAOqJ,GAASwF,GAAc,CAAC,aAAe,EAAE,GAElD,EAcAgX,CAASlc,GA5SDA,KAAW,CACrBsX,gBAAiB5C,IACf4C,GAAgBtX,EAAQ0U,EAAU,IA2S3BzT,CAAIjB,KAMlB,CAvnED"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- // Exports the "table" plugin for usage with module loaders
2
- // Usage:
3
- // CommonJS:
4
- // require('tinymce/plugins/table')
5
- // ES2015:
6
- // import 'tinymce/plugins/table'
7
- require('./plugin.js');
@@ -1,2 +0,0 @@
1
- import{__exports as r}from"../../../../_virtual/index14.mjs";import{__require as e}from"./plugin.mjs";var i;function o(){return i||(i=1,e()),r}export{o as __require};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../public/tinymce/plugins/table/index.js"],"sourcesContent":["// Exports the \"table\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/table')\n// ES2015:\n// import 'tinymce/plugins/table'\nrequire('./plugin.js');"],"names":["require$$0"],"mappings":"wIAMsBA"}