opentiny 6.9.0 → 6.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2183) hide show
  1. package/README.md +44 -58
  2. package/icons/default/icons.js +198 -0
  3. package/icons/default/icons.min.js +1 -0
  4. package/license.txt +21 -0
  5. package/models/dom/model.js +8051 -0
  6. package/models/dom/model.min.js +4 -0
  7. package/package.json +21 -32
  8. package/plugins/accordion/plugin.js +1054 -0
  9. package/plugins/accordion/plugin.min.js +4 -0
  10. package/plugins/advlist/plugin.js +259 -0
  11. package/plugins/advlist/plugin.min.js +4 -0
  12. package/plugins/anchor/plugin.js +214 -0
  13. package/plugins/anchor/plugin.min.js +4 -0
  14. package/plugins/autolink/plugin.js +228 -0
  15. package/plugins/autolink/plugin.min.js +4 -0
  16. package/plugins/autoresize/plugin.js +192 -0
  17. package/plugins/autoresize/plugin.min.js +4 -0
  18. package/plugins/autosave/plugin.js +233 -0
  19. package/plugins/autosave/plugin.min.js +4 -0
  20. package/plugins/charmap/plugin.js +3063 -0
  21. package/plugins/charmap/plugin.min.js +4 -0
  22. package/plugins/code/plugin.js +85 -0
  23. package/plugins/code/plugin.min.js +4 -0
  24. package/plugins/codesample/plugin.js +2463 -0
  25. package/plugins/codesample/plugin.min.js +4 -0
  26. package/plugins/directionality/plugin.js +395 -0
  27. package/plugins/directionality/plugin.min.js +4 -0
  28. package/plugins/emoticons/js/emojiimages.js +1 -0
  29. package/plugins/emoticons/js/emojiimages.min.js +3 -0
  30. package/plugins/emoticons/js/emojis.js +1 -0
  31. package/plugins/emoticons/js/emojis.min.js +2 -0
  32. package/plugins/emoticons/plugin.js +596 -0
  33. package/plugins/emoticons/plugin.min.js +4 -0
  34. package/plugins/fullscreen/plugin.js +1250 -0
  35. package/plugins/fullscreen/plugin.min.js +4 -0
  36. package/plugins/help/js/i18n/keynav/ar.js +90 -0
  37. package/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
  38. package/plugins/help/js/i18n/keynav/ca.js +90 -0
  39. package/plugins/help/js/i18n/keynav/cs.js +90 -0
  40. package/plugins/help/js/i18n/keynav/da.js +90 -0
  41. package/plugins/help/js/i18n/keynav/de.js +90 -0
  42. package/plugins/help/js/i18n/keynav/el.js +90 -0
  43. package/plugins/help/js/i18n/keynav/en.js +90 -0
  44. package/plugins/help/js/i18n/keynav/es.js +90 -0
  45. package/plugins/help/js/i18n/keynav/eu.js +90 -0
  46. package/plugins/help/js/i18n/keynav/fa.js +90 -0
  47. package/plugins/help/js/i18n/keynav/fi.js +90 -0
  48. package/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
  49. package/plugins/help/js/i18n/keynav/he_IL.js +90 -0
  50. package/plugins/help/js/i18n/keynav/hi.js +90 -0
  51. package/plugins/help/js/i18n/keynav/hr.js +90 -0
  52. package/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
  53. package/plugins/help/js/i18n/keynav/id.js +90 -0
  54. package/plugins/help/js/i18n/keynav/it.js +90 -0
  55. package/plugins/help/js/i18n/keynav/ja.js +90 -0
  56. package/plugins/help/js/i18n/keynav/kk.js +90 -0
  57. package/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
  58. package/plugins/help/js/i18n/keynav/ms.js +90 -0
  59. package/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
  60. package/plugins/help/js/i18n/keynav/nl.js +90 -0
  61. package/plugins/help/js/i18n/keynav/pl.js +90 -0
  62. package/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
  63. package/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
  64. package/plugins/help/js/i18n/keynav/ro.js +90 -0
  65. package/plugins/help/js/i18n/keynav/ru.js +90 -0
  66. package/plugins/help/js/i18n/keynav/sk.js +90 -0
  67. package/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
  68. package/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
  69. package/plugins/help/js/i18n/keynav/th_TH.js +90 -0
  70. package/plugins/help/js/i18n/keynav/tr.js +90 -0
  71. package/plugins/help/js/i18n/keynav/uk.js +90 -0
  72. package/plugins/help/js/i18n/keynav/vi.js +90 -0
  73. package/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
  74. package/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
  75. package/plugins/help/plugin.js +908 -0
  76. package/plugins/help/plugin.min.js +4 -0
  77. package/plugins/image/plugin.js +1505 -0
  78. package/plugins/image/plugin.min.js +4 -0
  79. package/plugins/importcss/plugin.js +344 -0
  80. package/plugins/importcss/plugin.min.js +4 -0
  81. package/plugins/insertdatetime/plugin.js +187 -0
  82. package/plugins/insertdatetime/plugin.min.js +4 -0
  83. package/plugins/link/plugin.js +1243 -0
  84. package/plugins/link/plugin.min.js +4 -0
  85. package/plugins/lists/plugin.js +2172 -0
  86. package/plugins/lists/plugin.min.js +4 -0
  87. package/plugins/media/plugin.js +1217 -0
  88. package/plugins/media/plugin.min.js +4 -0
  89. package/plugins/nonbreaking/plugin.js +123 -0
  90. package/plugins/nonbreaking/plugin.min.js +4 -0
  91. package/plugins/pagebreak/plugin.js +117 -0
  92. package/plugins/pagebreak/plugin.min.js +4 -0
  93. package/plugins/preview/plugin.js +97 -0
  94. package/plugins/preview/plugin.min.js +4 -0
  95. package/plugins/quickbars/plugin.js +447 -0
  96. package/plugins/quickbars/plugin.min.js +4 -0
  97. package/plugins/save/plugin.js +119 -0
  98. package/plugins/save/plugin.min.js +4 -0
  99. package/plugins/searchreplace/plugin.js +1094 -0
  100. package/plugins/searchreplace/plugin.min.js +4 -0
  101. package/plugins/table/plugin.js +3465 -0
  102. package/plugins/table/plugin.min.js +4 -0
  103. package/plugins/visualblocks/plugin.js +98 -0
  104. package/plugins/visualblocks/plugin.min.js +4 -0
  105. package/plugins/visualchars/plugin.js +560 -0
  106. package/plugins/visualchars/plugin.min.js +4 -0
  107. package/plugins/wordcount/plugin.js +405 -0
  108. package/plugins/wordcount/plugin.min.js +4 -0
  109. package/skins/content/dark/content.css +66 -0
  110. package/skins/content/dark/content.js +2 -0
  111. package/skins/content/dark/content.js.map +1 -0
  112. package/skins/content/dark/content.min.css +2 -0
  113. package/skins/content/dark/content.min.css.map +1 -0
  114. package/skins/content/default/content.css +61 -0
  115. package/skins/content/default/content.js +2 -0
  116. package/skins/content/default/content.js.map +1 -0
  117. package/skins/content/default/content.min.css +2 -0
  118. package/skins/content/default/content.min.css.map +1 -0
  119. package/skins/content/document/content.css +66 -0
  120. package/skins/content/document/content.js +2 -0
  121. package/skins/content/document/content.js.map +1 -0
  122. package/skins/content/document/content.min.css +2 -0
  123. package/skins/content/document/content.min.css.map +1 -0
  124. package/skins/content/tinymce-5/content.css +61 -0
  125. package/skins/content/tinymce-5/content.js +2 -0
  126. package/skins/content/tinymce-5/content.js.map +1 -0
  127. package/skins/content/tinymce-5/content.min.css +2 -0
  128. package/skins/content/tinymce-5/content.min.css.map +1 -0
  129. package/skins/content/tinymce-5-dark/content.css +66 -0
  130. package/skins/content/tinymce-5-dark/content.js +2 -0
  131. package/skins/content/tinymce-5-dark/content.js.map +1 -0
  132. package/skins/content/tinymce-5-dark/content.min.css +2 -0
  133. package/skins/content/tinymce-5-dark/content.min.css.map +1 -0
  134. package/skins/content/writer/content.css +62 -0
  135. package/skins/content/writer/content.js +2 -0
  136. package/skins/content/writer/content.js.map +1 -0
  137. package/skins/content/writer/content.min.css +2 -0
  138. package/skins/content/writer/content.min.css.map +1 -0
  139. package/skins/ui/oxide/content.css +785 -0
  140. package/skins/ui/oxide/content.inline.css +779 -0
  141. package/skins/ui/oxide/content.inline.js +2 -0
  142. package/skins/ui/oxide/content.inline.js.map +1 -0
  143. package/skins/ui/oxide/content.inline.min.css +2 -0
  144. package/skins/ui/oxide/content.inline.min.css.map +1 -0
  145. package/skins/ui/oxide/content.js +2 -0
  146. package/skins/ui/oxide/content.js.map +1 -0
  147. package/skins/ui/oxide/content.min.css +2 -0
  148. package/skins/ui/oxide/content.min.css.map +1 -0
  149. package/skins/ui/oxide/skin.css +4052 -0
  150. package/skins/ui/oxide/skin.js +2 -0
  151. package/skins/ui/oxide/skin.js.map +1 -0
  152. package/skins/ui/oxide/skin.min.css +2 -0
  153. package/skins/ui/oxide/skin.min.css.map +1 -0
  154. package/skins/ui/oxide/skin.shadowdom.css +30 -0
  155. package/skins/ui/oxide/skin.shadowdom.js +2 -0
  156. package/skins/ui/oxide/skin.shadowdom.js.map +1 -0
  157. package/skins/ui/oxide/skin.shadowdom.min.css +2 -0
  158. package/skins/ui/oxide/skin.shadowdom.min.css.map +1 -0
  159. package/skins/ui/oxide-dark/content.css +766 -0
  160. package/skins/ui/oxide-dark/content.inline.css +779 -0
  161. package/skins/ui/oxide-dark/content.inline.js +2 -0
  162. package/skins/ui/oxide-dark/content.inline.js.map +1 -0
  163. package/skins/ui/oxide-dark/content.inline.min.css +2 -0
  164. package/skins/ui/oxide-dark/content.inline.min.css.map +1 -0
  165. package/skins/ui/oxide-dark/content.js +2 -0
  166. package/skins/ui/oxide-dark/content.js.map +1 -0
  167. package/skins/ui/oxide-dark/content.min.css +2 -0
  168. package/skins/ui/oxide-dark/content.min.css.map +1 -0
  169. package/skins/ui/oxide-dark/skin.css +4055 -0
  170. package/skins/ui/oxide-dark/skin.js +2 -0
  171. package/skins/ui/oxide-dark/skin.js.map +1 -0
  172. package/skins/ui/oxide-dark/skin.min.css +2 -0
  173. package/skins/ui/oxide-dark/skin.min.css.map +1 -0
  174. package/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  175. package/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  176. package/skins/ui/oxide-dark/skin.shadowdom.js.map +1 -0
  177. package/skins/ui/oxide-dark/skin.shadowdom.min.css +2 -0
  178. package/skins/ui/oxide-dark/skin.shadowdom.min.css.map +1 -0
  179. package/skins/ui/tinymce-5/content.css +785 -0
  180. package/skins/ui/tinymce-5/content.inline.css +779 -0
  181. package/skins/ui/tinymce-5/content.inline.js +2 -0
  182. package/skins/ui/tinymce-5/content.inline.js.map +1 -0
  183. package/skins/ui/tinymce-5/content.inline.min.css +2 -0
  184. package/skins/ui/tinymce-5/content.inline.min.css.map +1 -0
  185. package/skins/ui/tinymce-5/content.js +2 -0
  186. package/skins/ui/tinymce-5/content.js.map +1 -0
  187. package/skins/ui/tinymce-5/content.min.css +2 -0
  188. package/skins/ui/tinymce-5/content.min.css.map +1 -0
  189. package/skins/ui/tinymce-5/skin.css +4146 -0
  190. package/skins/ui/tinymce-5/skin.js +2 -0
  191. package/skins/ui/tinymce-5/skin.js.map +1 -0
  192. package/skins/ui/tinymce-5/skin.min.css +2 -0
  193. package/skins/ui/tinymce-5/skin.min.css.map +1 -0
  194. package/skins/ui/tinymce-5/skin.shadowdom.css +30 -0
  195. package/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
  196. package/skins/ui/tinymce-5/skin.shadowdom.js.map +1 -0
  197. package/skins/ui/tinymce-5/skin.shadowdom.min.css +2 -0
  198. package/skins/ui/tinymce-5/skin.shadowdom.min.css.map +1 -0
  199. package/skins/ui/tinymce-5-dark/content.css +766 -0
  200. package/skins/ui/tinymce-5-dark/content.inline.css +779 -0
  201. package/skins/ui/tinymce-5-dark/content.inline.js +2 -0
  202. package/skins/ui/tinymce-5-dark/content.inline.js.map +1 -0
  203. package/skins/ui/tinymce-5-dark/content.inline.min.css +2 -0
  204. package/skins/ui/tinymce-5-dark/content.inline.min.css.map +1 -0
  205. package/skins/ui/tinymce-5-dark/content.js +2 -0
  206. package/skins/ui/tinymce-5-dark/content.js.map +1 -0
  207. package/skins/ui/tinymce-5-dark/content.min.css +2 -0
  208. package/skins/ui/tinymce-5-dark/content.min.css.map +1 -0
  209. package/skins/ui/tinymce-5-dark/skin.css +4146 -0
  210. package/skins/ui/tinymce-5-dark/skin.js +2 -0
  211. package/skins/ui/tinymce-5-dark/skin.js.map +1 -0
  212. package/skins/ui/tinymce-5-dark/skin.min.css +2 -0
  213. package/skins/ui/tinymce-5-dark/skin.min.css.map +1 -0
  214. package/skins/ui/tinymce-5-dark/skin.shadowdom.css +30 -0
  215. package/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
  216. package/skins/ui/tinymce-5-dark/skin.shadowdom.js.map +1 -0
  217. package/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +2 -0
  218. package/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.map +1 -0
  219. package/themes/silver/theme.js +31084 -0
  220. package/themes/silver/theme.min.js +4 -0
  221. package/tinymce.d.ts +3255 -0
  222. package/tinymce.js +31957 -0
  223. package/tinymce.min.js +4 -0
  224. package/.eslintrc.json +0 -11
  225. package/CHANGELOG.md +0 -3443
  226. package/Gruntfile.js +0 -966
  227. package/project.json +0 -32
  228. package/src/core/demo/css/content_editable.css +0 -47
  229. package/src/core/demo/html/annotations_demo.html +0 -29
  230. package/src/core/demo/html/commands_demo.html +0 -16
  231. package/src/core/demo/html/content_editable_false_demo.html +0 -61
  232. package/src/core/demo/html/content_security_policy.html +0 -22
  233. package/src/core/demo/html/custom_theme_demo.html +0 -14
  234. package/src/core/demo/html/fixed_toolbar_container_demo.html +0 -22
  235. package/src/core/demo/html/full_demo.html +0 -48
  236. package/src/core/demo/html/iframe_demo.html +0 -15
  237. package/src/core/demo/html/iframe_demo_inner.html +0 -20
  238. package/src/core/demo/html/inline_demo.html +0 -423
  239. package/src/core/demo/html/jquery_integration.html +0 -21
  240. package/src/core/demo/html/responsive_demo.html +0 -126
  241. package/src/core/demo/html/shadow_dom_closed_demo.html +0 -14
  242. package/src/core/demo/html/shadow_dom_open_demo.html +0 -15
  243. package/src/core/demo/html/shadow_dom_open_inline_demo.html +0 -14
  244. package/src/core/demo/html/source_dump_demo.html +0 -17
  245. package/src/core/demo/html/sticky_toolbar_demo.html +0 -151
  246. package/src/core/demo/html/tiny_demo.html +0 -13
  247. package/src/core/demo/html/view_demo.html +0 -24
  248. package/src/core/demo/ts/demo/AnnotationsDemo.ts +0 -95
  249. package/src/core/demo/ts/demo/CommandsDemo.ts +0 -114
  250. package/src/core/demo/ts/demo/ContentEditableFalseDemo.ts +0 -88
  251. package/src/core/demo/ts/demo/ContentSecurityPolicyDemo.ts +0 -132
  252. package/src/core/demo/ts/demo/CustomThemeDemo.ts +0 -59
  253. package/src/core/demo/ts/demo/Demos.ts +0 -35
  254. package/src/core/demo/ts/demo/FixedToolbarContainerDemo.ts +0 -11
  255. package/src/core/demo/ts/demo/FullDemo.ts +0 -171
  256. package/src/core/demo/ts/demo/IframeDemo.ts +0 -49
  257. package/src/core/demo/ts/demo/InlineDemo.ts +0 -32
  258. package/src/core/demo/ts/demo/ResponsiveDemo.ts +0 -125
  259. package/src/core/demo/ts/demo/ShadowDomDemo.ts +0 -22
  260. package/src/core/demo/ts/demo/ShadowDomInlineDemo.ts +0 -27
  261. package/src/core/demo/ts/demo/SourceDumpDemo.ts +0 -33
  262. package/src/core/demo/ts/demo/StickyToolbarDemo.ts +0 -86
  263. package/src/core/demo/ts/demo/TinyMceDemo.ts +0 -36
  264. package/src/core/demo/ts/demo/ViewDemo.ts +0 -113
  265. package/src/core/main/js/GlobalsTemplate.js +0 -4
  266. package/src/core/main/json/globals.json +0 -54
  267. package/src/core/main/ts/Deprecations.ts +0 -127
  268. package/src/core/main/ts/DragDropOverrides.ts +0 -472
  269. package/src/core/main/ts/EditorRemove.ts +0 -113
  270. package/src/core/main/ts/EditorView.ts +0 -60
  271. package/src/core/main/ts/ErrorReporter.ts +0 -84
  272. package/src/core/main/ts/ForceBlocks.ts +0 -141
  273. package/src/core/main/ts/NodeChange.ts +0 -161
  274. package/src/core/main/ts/Rtc.ts +0 -455
  275. package/src/core/main/ts/SelectionOverrides.ts +0 -393
  276. package/src/core/main/ts/alien/Spot.ts +0 -13
  277. package/src/core/main/ts/alien/TextDescent.ts +0 -32
  278. package/src/core/main/ts/alien/TextSearch.ts +0 -85
  279. package/src/core/main/ts/annotate/AnnotationChanges.ts +0 -126
  280. package/src/core/main/ts/annotate/AnnotationContext.ts +0 -63
  281. package/src/core/main/ts/annotate/AnnotationFilter.ts +0 -49
  282. package/src/core/main/ts/annotate/AnnotationsRegistry.ts +0 -45
  283. package/src/core/main/ts/annotate/Identification.ts +0 -69
  284. package/src/core/main/ts/annotate/Markings.ts +0 -18
  285. package/src/core/main/ts/annotate/Wrapping.ts +0 -188
  286. package/src/core/main/ts/api/AddOnManager.ts +0 -302
  287. package/src/core/main/ts/api/Annotator.ts +0 -135
  288. package/src/core/main/ts/api/Editor.ts +0 -1146
  289. package/src/core/main/ts/api/EditorCommands.ts +0 -203
  290. package/src/core/main/ts/api/EditorManager.ts +0 -744
  291. package/src/core/main/ts/api/EditorObservable.ts +0 -221
  292. package/src/core/main/ts/api/EditorOptions.ts +0 -309
  293. package/src/core/main/ts/api/EditorUpload.ts +0 -363
  294. package/src/core/main/ts/api/Env.ts +0 -130
  295. package/src/core/main/ts/api/EventTypes.ts +0 -265
  296. package/src/core/main/ts/api/Events.ts +0 -133
  297. package/src/core/main/ts/api/FakeClipboard.ts +0 -82
  298. package/src/core/main/ts/api/FocusManager.ts +0 -34
  299. package/src/core/main/ts/api/Formatter.ts +0 -205
  300. package/src/core/main/ts/api/IconManager.ts +0 -39
  301. package/src/core/main/ts/api/Main.ts +0 -23
  302. package/src/core/main/ts/api/Mode.ts +0 -97
  303. package/src/core/main/ts/api/ModelManager.ts +0 -21
  304. package/src/core/main/ts/api/NotificationManager.ts +0 -197
  305. package/src/core/main/ts/api/OptionTypes.ts +0 -360
  306. package/src/core/main/ts/api/Options.ts +0 -1100
  307. package/src/core/main/ts/api/PluginManager.ts +0 -15
  308. package/src/core/main/ts/api/PublicApi.ts +0 -137
  309. package/src/core/main/ts/api/Resource.ts +0 -90
  310. package/src/core/main/ts/api/Shortcuts.ts +0 -266
  311. package/src/core/main/ts/api/ThemeManager.ts +0 -27
  312. package/src/core/main/ts/api/Tinymce.ts +0 -268
  313. package/src/core/main/ts/api/UndoManager.ts +0 -177
  314. package/src/core/main/ts/api/WindowManager.ts +0 -202
  315. package/src/core/main/ts/api/commands/AlignCommands.ts +0 -52
  316. package/src/core/main/ts/api/commands/ClipboardCommands.ts +0 -38
  317. package/src/core/main/ts/api/commands/Commands.ts +0 -55
  318. package/src/core/main/ts/api/commands/ContentCommands.ts +0 -45
  319. package/src/core/main/ts/api/commands/FormatCommands.ts +0 -78
  320. package/src/core/main/ts/api/commands/HistoryCommands.ts +0 -21
  321. package/src/core/main/ts/api/commands/IndentCommands.ts +0 -18
  322. package/src/core/main/ts/api/commands/LinkCommands.ts +0 -45
  323. package/src/core/main/ts/api/commands/NewBlockCommands.ts +0 -14
  324. package/src/core/main/ts/api/commands/NewlineCommands.ts +0 -20
  325. package/src/core/main/ts/api/commands/SelectionCommands.ts +0 -32
  326. package/src/core/main/ts/api/dom/BookmarkManager.ts +0 -74
  327. package/src/core/main/ts/api/dom/ControlSelection.ts +0 -512
  328. package/src/core/main/ts/api/dom/DOMUtils.ts +0 -1817
  329. package/src/core/main/ts/api/dom/EventUtils.ts +0 -482
  330. package/src/core/main/ts/api/dom/RangeUtils.ts +0 -120
  331. package/src/core/main/ts/api/dom/ScriptLoader.ts +0 -284
  332. package/src/core/main/ts/api/dom/Selection.ts +0 -618
  333. package/src/core/main/ts/api/dom/SelectorChanged.ts +0 -98
  334. package/src/core/main/ts/api/dom/Serializer.ts +0 -142
  335. package/src/core/main/ts/api/dom/StyleSheetLoader.ts +0 -256
  336. package/src/core/main/ts/api/dom/TextSeeker.ts +0 -92
  337. package/src/core/main/ts/api/dom/TreeWalker.ts +0 -129
  338. package/src/core/main/ts/api/file/BlobCache.ts +0 -143
  339. package/src/core/main/ts/api/fmt/Format.ts +0 -16
  340. package/src/core/main/ts/api/fmt/StyleFormat.ts +0 -30
  341. package/src/core/main/ts/api/geom/Rect.ts +0 -210
  342. package/src/core/main/ts/api/html/DomParser.ts +0 -517
  343. package/src/core/main/ts/api/html/Entities.ts +0 -279
  344. package/src/core/main/ts/api/html/Node.ts +0 -566
  345. package/src/core/main/ts/api/html/Schema.ts +0 -764
  346. package/src/core/main/ts/api/html/Serializer.ts +0 -171
  347. package/src/core/main/ts/api/html/StyleUtils.ts +0 -66
  348. package/src/core/main/ts/api/html/Styles.ts +0 -367
  349. package/src/core/main/ts/api/html/Writer.ts +0 -204
  350. package/src/core/main/ts/api/textpatterns/TextPatterns.ts +0 -15
  351. package/src/core/main/ts/api/ui/Registry.ts +0 -246
  352. package/src/core/main/ts/api/ui/Ui.ts +0 -31
  353. package/src/core/main/ts/api/util/Delay.ts +0 -73
  354. package/src/core/main/ts/api/util/EventDispatcher.ts +0 -341
  355. package/src/core/main/ts/api/util/FakeStorage.ts +0 -35
  356. package/src/core/main/ts/api/util/I18n.ts +0 -187
  357. package/src/core/main/ts/api/util/ImageUploader.ts +0 -51
  358. package/src/core/main/ts/api/util/LocalStorage.ts +0 -28
  359. package/src/core/main/ts/api/util/Observable.ts +0 -164
  360. package/src/core/main/ts/api/util/Tools.ts +0 -296
  361. package/src/core/main/ts/api/util/URI.ts +0 -522
  362. package/src/core/main/ts/api/util/VK.ts +0 -60
  363. package/src/core/main/ts/autocomplete/AutocompleteContext.ts +0 -76
  364. package/src/core/main/ts/autocomplete/AutocompleteLookup.ts +0 -73
  365. package/src/core/main/ts/autocomplete/AutocompleteTypes.ts +0 -21
  366. package/src/core/main/ts/autocomplete/AutocompleteUtils.ts +0 -12
  367. package/src/core/main/ts/autocomplete/Autocompleters.ts +0 -39
  368. package/src/core/main/ts/bookmark/BookmarkTypes.ts +0 -52
  369. package/src/core/main/ts/bookmark/Bookmarks.ts +0 -25
  370. package/src/core/main/ts/bookmark/CaretBookmark.ts +0 -242
  371. package/src/core/main/ts/bookmark/GetBookmark.ts +0 -231
  372. package/src/core/main/ts/bookmark/ResolveBookmark.ts +0 -268
  373. package/src/core/main/ts/caret/BlockBoundary.ts +0 -41
  374. package/src/core/main/ts/caret/CaretBr.ts +0 -34
  375. package/src/core/main/ts/caret/CaretCandidate.ts +0 -77
  376. package/src/core/main/ts/caret/CaretContainer.ts +0 -185
  377. package/src/core/main/ts/caret/CaretContainerInline.ts +0 -76
  378. package/src/core/main/ts/caret/CaretContainerInput.ts +0 -50
  379. package/src/core/main/ts/caret/CaretContainerRemove.ts +0 -95
  380. package/src/core/main/ts/caret/CaretFinder.ts +0 -102
  381. package/src/core/main/ts/caret/CaretPosition.ts +0 -407
  382. package/src/core/main/ts/caret/CaretPositionPredicates.ts +0 -55
  383. package/src/core/main/ts/caret/CaretUtils.ts +0 -323
  384. package/src/core/main/ts/caret/CaretWalker.ts +0 -245
  385. package/src/core/main/ts/caret/ClosestCaretCandidate.ts +0 -145
  386. package/src/core/main/ts/caret/FakeCaret.ts +0 -230
  387. package/src/core/main/ts/caret/FakeCaretUtils.ts +0 -60
  388. package/src/core/main/ts/caret/InsertText.ts +0 -37
  389. package/src/core/main/ts/caret/LineReader.ts +0 -133
  390. package/src/core/main/ts/caret/LineUtils.ts +0 -34
  391. package/src/core/main/ts/caret/LineWalker.ts +0 -165
  392. package/src/core/main/ts/caret/TableCells.ts +0 -90
  393. package/src/core/main/ts/commands/Font.ts +0 -60
  394. package/src/core/main/ts/commands/IndentOutdent.ts +0 -81
  395. package/src/core/main/ts/commands/LineHeight.ts +0 -24
  396. package/src/core/main/ts/content/ContentCleanup.ts +0 -28
  397. package/src/core/main/ts/content/ContentTypes.ts +0 -54
  398. package/src/core/main/ts/content/EditorContent.ts +0 -11
  399. package/src/core/main/ts/content/GetContent.ts +0 -24
  400. package/src/core/main/ts/content/GetContentImpl.ts +0 -67
  401. package/src/core/main/ts/content/InsertContent.ts +0 -62
  402. package/src/core/main/ts/content/InsertContentImpl.ts +0 -378
  403. package/src/core/main/ts/content/InsertList.ts +0 -212
  404. package/src/core/main/ts/content/NbspTrim.ts +0 -30
  405. package/src/core/main/ts/content/Placeholder.ts +0 -115
  406. package/src/core/main/ts/content/PrePostProcess.ts +0 -86
  407. package/src/core/main/ts/content/SetContent.ts +0 -23
  408. package/src/core/main/ts/content/SetContentImpl.ts +0 -98
  409. package/src/core/main/ts/content/TransparentElements.ts +0 -168
  410. package/src/core/main/ts/delete/BlockBoundaryDelete.ts +0 -25
  411. package/src/core/main/ts/delete/BlockMergeBoundary.ts +0 -92
  412. package/src/core/main/ts/delete/BlockRangeDelete.ts +0 -68
  413. package/src/core/main/ts/delete/CaretBoundaryDelete.ts +0 -81
  414. package/src/core/main/ts/delete/CefDelete.ts +0 -115
  415. package/src/core/main/ts/delete/CefDeleteAction.ts +0 -141
  416. package/src/core/main/ts/delete/DeleteCommands.ts +0 -74
  417. package/src/core/main/ts/delete/DeleteElement.ts +0 -168
  418. package/src/core/main/ts/delete/DeleteUtils.ts +0 -111
  419. package/src/core/main/ts/delete/DetailsDelete.ts +0 -258
  420. package/src/core/main/ts/delete/ImageBlockDelete.ts +0 -22
  421. package/src/core/main/ts/delete/InlineBoundaryDelete.ts +0 -127
  422. package/src/core/main/ts/delete/InlineFormatDelete.ts +0 -169
  423. package/src/core/main/ts/delete/MediaDelete.ts +0 -47
  424. package/src/core/main/ts/delete/MergeBlocks.ts +0 -128
  425. package/src/core/main/ts/delete/MergeText.ts +0 -66
  426. package/src/core/main/ts/delete/Outdent.ts +0 -25
  427. package/src/core/main/ts/delete/TableDelete.ts +0 -293
  428. package/src/core/main/ts/delete/TableDeleteAction.ts +0 -214
  429. package/src/core/main/ts/delete/TableDeleteUtils.ts +0 -67
  430. package/src/core/main/ts/dom/CefUtils.ts +0 -18
  431. package/src/core/main/ts/dom/Dimensions.ts +0 -39
  432. package/src/core/main/ts/dom/DomSerializerFilters.ts +0 -230
  433. package/src/core/main/ts/dom/DomSerializerImpl.ts +0 -132
  434. package/src/core/main/ts/dom/DomSerializerPreProcess.ts +0 -58
  435. package/src/core/main/ts/dom/ElementType.ts +0 -44
  436. package/src/core/main/ts/dom/ElementUtils.ts +0 -135
  437. package/src/core/main/ts/dom/Empty.ts +0 -122
  438. package/src/core/main/ts/dom/MousePosition.ts +0 -76
  439. package/src/core/main/ts/dom/NodePath.ts +0 -39
  440. package/src/core/main/ts/dom/NodeType.ts +0 -142
  441. package/src/core/main/ts/dom/PaddingBr.ts +0 -62
  442. package/src/core/main/ts/dom/Parents.ts +0 -24
  443. package/src/core/main/ts/dom/Position.ts +0 -74
  444. package/src/core/main/ts/dom/RangePoint.ts +0 -15
  445. package/src/core/main/ts/dom/RemoveTrailingBr.ts +0 -85
  446. package/src/core/main/ts/dom/ScrollIntoView.ts +0 -193
  447. package/src/core/main/ts/dom/StyleSheetLoaderRegistry.ts +0 -33
  448. package/src/core/main/ts/dom/TextWalker.ts +0 -34
  449. package/src/core/main/ts/dom/TrimBody.ts +0 -107
  450. package/src/core/main/ts/dom/TrimNode.ts +0 -76
  451. package/src/core/main/ts/events/DragEvents.ts +0 -99
  452. package/src/core/main/ts/events/EventUtils.ts +0 -141
  453. package/src/core/main/ts/events/InputEvents.ts +0 -46
  454. package/src/core/main/ts/events/TouchEvents.ts +0 -87
  455. package/src/core/main/ts/file/BlobCacheUtils.ts +0 -65
  456. package/src/core/main/ts/file/Conversions.ts +0 -110
  457. package/src/core/main/ts/file/ImageScanner.ts +0 -101
  458. package/src/core/main/ts/file/UploadStatus.ts +0 -79
  459. package/src/core/main/ts/file/Uploader.ts +0 -211
  460. package/src/core/main/ts/fmt/ApplyFormat.ts +0 -383
  461. package/src/core/main/ts/fmt/CaretFormat.ts +0 -375
  462. package/src/core/main/ts/fmt/DefaultFormats.ts +0 -264
  463. package/src/core/main/ts/fmt/ExpandRange.ts +0 -373
  464. package/src/core/main/ts/fmt/FontInfo.ts +0 -60
  465. package/src/core/main/ts/fmt/FormatChanged.ts +0 -205
  466. package/src/core/main/ts/fmt/FormatContainer.ts +0 -24
  467. package/src/core/main/ts/fmt/FormatRegistry.ts +0 -92
  468. package/src/core/main/ts/fmt/FormatTypes.ts +0 -82
  469. package/src/core/main/ts/fmt/FormatUtils.ts +0 -366
  470. package/src/core/main/ts/fmt/Hooks.ts +0 -69
  471. package/src/core/main/ts/fmt/ListItemFormat.ts +0 -55
  472. package/src/core/main/ts/fmt/MatchFormat.ts +0 -242
  473. package/src/core/main/ts/fmt/MergeFormats.ts +0 -108
  474. package/src/core/main/ts/fmt/MergeUtils.ts +0 -128
  475. package/src/core/main/ts/fmt/Preview.ts +0 -336
  476. package/src/core/main/ts/fmt/RemoveFormat.ts +0 -679
  477. package/src/core/main/ts/fmt/TableFormats.ts +0 -51
  478. package/src/core/main/ts/fmt/ToggleFormat.ts +0 -20
  479. package/src/core/main/ts/focus/CefFocus.ts +0 -33
  480. package/src/core/main/ts/focus/EditorFocus.ts +0 -139
  481. package/src/core/main/ts/focus/FocusController.ts +0 -151
  482. package/src/core/main/ts/focus/MediaFocus.ts +0 -25
  483. package/src/core/main/ts/frames/Frames.ts +0 -22
  484. package/src/core/main/ts/frames/Navigation.ts +0 -21
  485. package/src/core/main/ts/frames/OuterPosition.ts +0 -26
  486. package/src/core/main/ts/geom/ClientRect.ts +0 -154
  487. package/src/core/main/ts/html/AstNodeType.ts +0 -10
  488. package/src/core/main/ts/html/Embed.ts +0 -55
  489. package/src/core/main/ts/html/FilterNode.ts +0 -111
  490. package/src/core/main/ts/html/FilterRegistry.ts +0 -58
  491. package/src/core/main/ts/html/InvalidNodes.ts +0 -189
  492. package/src/core/main/ts/html/LegacyFilter.ts +0 -80
  493. package/src/core/main/ts/html/Namespace.ts +0 -47
  494. package/src/core/main/ts/html/NonEditableFilter.ts +0 -108
  495. package/src/core/main/ts/html/ParserFilters.ts +0 -176
  496. package/src/core/main/ts/html/ParserUtils.ts +0 -62
  497. package/src/core/main/ts/html/Sanitization.ts +0 -268
  498. package/src/core/main/ts/init/ContentCss.ts +0 -46
  499. package/src/core/main/ts/init/Init.ts +0 -195
  500. package/src/core/main/ts/init/InitContentBody.ts +0 -509
  501. package/src/core/main/ts/init/InitIframe.ts +0 -127
  502. package/src/core/main/ts/init/LicenseKeyValidation.ts +0 -21
  503. package/src/core/main/ts/init/Render.ts +0 -263
  504. package/src/core/main/ts/keyboard/ArrowKeys.ts +0 -58
  505. package/src/core/main/ts/keyboard/Autocompleter.ts +0 -158
  506. package/src/core/main/ts/keyboard/BoundaryCaret.ts +0 -67
  507. package/src/core/main/ts/keyboard/BoundaryLocation.ts +0 -195
  508. package/src/core/main/ts/keyboard/BoundarySelection.ts +0 -139
  509. package/src/core/main/ts/keyboard/CefNavigation.ts +0 -124
  510. package/src/core/main/ts/keyboard/CefUtils.ts +0 -24
  511. package/src/core/main/ts/keyboard/ContentEndpointNavigation.ts +0 -46
  512. package/src/core/main/ts/keyboard/DeleteBackspaceKeys.ts +0 -127
  513. package/src/core/main/ts/keyboard/DetailsNavigation.ts +0 -50
  514. package/src/core/main/ts/keyboard/EnterKey.ts +0 -87
  515. package/src/core/main/ts/keyboard/FormatShortcuts.ts +0 -21
  516. package/src/core/main/ts/keyboard/HomeEndKeys.ts +0 -40
  517. package/src/core/main/ts/keyboard/InlineUtils.ts +0 -77
  518. package/src/core/main/ts/keyboard/InputKeys.ts +0 -15
  519. package/src/core/main/ts/keyboard/InsertSpace.ts +0 -72
  520. package/src/core/main/ts/keyboard/KeyboardOverrides.ts +0 -44
  521. package/src/core/main/ts/keyboard/MatchKeys.ts +0 -65
  522. package/src/core/main/ts/keyboard/MediaNavigation.ts +0 -36
  523. package/src/core/main/ts/keyboard/NavigationUtils.ts +0 -168
  524. package/src/core/main/ts/keyboard/Nbsps.ts +0 -213
  525. package/src/core/main/ts/keyboard/PageUpDownKeys.ts +0 -68
  526. package/src/core/main/ts/keyboard/PreventNoneditableInput.ts +0 -14
  527. package/src/core/main/ts/keyboard/SpaceKey.ts +0 -34
  528. package/src/core/main/ts/keyboard/TabKey.ts +0 -37
  529. package/src/core/main/ts/keyboard/TableNavigation.ts +0 -182
  530. package/src/core/main/ts/mode/EditableRoot.ts +0 -18
  531. package/src/core/main/ts/mode/Mode.ts +0 -69
  532. package/src/core/main/ts/mode/Readonly.ts +0 -179
  533. package/src/core/main/ts/newline/ContextSelectors.ts +0 -24
  534. package/src/core/main/ts/newline/InsertBlock.ts +0 -442
  535. package/src/core/main/ts/newline/InsertBr.ts +0 -177
  536. package/src/core/main/ts/newline/InsertDetailsNewLine.ts +0 -46
  537. package/src/core/main/ts/newline/InsertLi.ts +0 -141
  538. package/src/core/main/ts/newline/InsertNewLine.ts +0 -64
  539. package/src/core/main/ts/newline/NewBlock.ts +0 -44
  540. package/src/core/main/ts/newline/NewLineAction.ts +0 -121
  541. package/src/core/main/ts/newline/NewLineUtils.ts +0 -236
  542. package/src/core/main/ts/options/NormalizeOptions.ts +0 -152
  543. package/src/core/main/ts/paste/Clipboard.ts +0 -337
  544. package/src/core/main/ts/paste/Commands.ts +0 -38
  545. package/src/core/main/ts/paste/CutCopy.ts +0 -116
  546. package/src/core/main/ts/paste/DragDrop.ts +0 -159
  547. package/src/core/main/ts/paste/InternalHtml.ts +0 -21
  548. package/src/core/main/ts/paste/Newlines.ts +0 -46
  549. package/src/core/main/ts/paste/Paste.ts +0 -33
  550. package/src/core/main/ts/paste/PasteBin.ts +0 -135
  551. package/src/core/main/ts/paste/PasteUtils.ts +0 -150
  552. package/src/core/main/ts/paste/PrePostProcess.ts +0 -25
  553. package/src/core/main/ts/paste/ProcessFilters.ts +0 -58
  554. package/src/core/main/ts/paste/Quirks.ts +0 -97
  555. package/src/core/main/ts/paste/SmartPaste.ts +0 -81
  556. package/src/core/main/ts/schema/CustomElementsRuleParser.ts +0 -24
  557. package/src/core/main/ts/schema/GlobalAttributesSet.ts +0 -25
  558. package/src/core/main/ts/schema/Presets.ts +0 -27
  559. package/src/core/main/ts/schema/SchemaElementSets.ts +0 -70
  560. package/src/core/main/ts/schema/SchemaLookupTable.ts +0 -230
  561. package/src/core/main/ts/schema/SchemaTypes.ts +0 -80
  562. package/src/core/main/ts/schema/SchemaUtils.ts +0 -31
  563. package/src/core/main/ts/schema/ValidChildrenRuleParser.ts +0 -51
  564. package/src/core/main/ts/schema/ValidElementsRuleParser.ts +0 -138
  565. package/src/core/main/ts/selection/CaretRangeFromPoint.ts +0 -15
  566. package/src/core/main/ts/selection/DetailsElement.ts +0 -41
  567. package/src/core/main/ts/selection/EditableRange.ts +0 -9
  568. package/src/core/main/ts/selection/ElementSelection.ts +0 -148
  569. package/src/core/main/ts/selection/EventProcessRanges.ts +0 -12
  570. package/src/core/main/ts/selection/FragmentReader.ts +0 -87
  571. package/src/core/main/ts/selection/GetSelectionContent.ts +0 -11
  572. package/src/core/main/ts/selection/GetSelectionContentImpl.ts +0 -104
  573. package/src/core/main/ts/selection/MultiClickSelection.ts +0 -86
  574. package/src/core/main/ts/selection/MultiRange.ts +0 -33
  575. package/src/core/main/ts/selection/NormalizeRange.ts +0 -299
  576. package/src/core/main/ts/selection/RangeCompare.ts +0 -13
  577. package/src/core/main/ts/selection/RangeInsertNode.ts +0 -40
  578. package/src/core/main/ts/selection/RangeMap.ts +0 -31
  579. package/src/core/main/ts/selection/RangeNodes.ts +0 -40
  580. package/src/core/main/ts/selection/RangeNormalizer.ts +0 -38
  581. package/src/core/main/ts/selection/RangeTypes.ts +0 -6
  582. package/src/core/main/ts/selection/RangeWalk.ts +0 -107
  583. package/src/core/main/ts/selection/SelectionBookmark.ts +0 -107
  584. package/src/core/main/ts/selection/SelectionRestore.ts +0 -63
  585. package/src/core/main/ts/selection/SelectionUtils.ts +0 -144
  586. package/src/core/main/ts/selection/SetSelectionContent.ts +0 -124
  587. package/src/core/main/ts/selection/SimpleTableModel.ts +0 -168
  588. package/src/core/main/ts/selection/SplitRange.ts +0 -55
  589. package/src/core/main/ts/selection/TableCellSelection.ts +0 -31
  590. package/src/core/main/ts/selection/WordSelection.ts +0 -37
  591. package/src/core/main/ts/text/Bidi.ts +0 -7
  592. package/src/core/main/ts/text/CharType.ts +0 -18
  593. package/src/core/main/ts/text/ExtendingChar.ts +0 -42
  594. package/src/core/main/ts/text/Whitespace.ts +0 -53
  595. package/src/core/main/ts/text/Zwsp.ts +0 -27
  596. package/src/core/main/ts/textpatterns/TextPatterns.ts +0 -10
  597. package/src/core/main/ts/textpatterns/core/BlockPattern.ts +0 -62
  598. package/src/core/main/ts/textpatterns/core/BlockPatternOnSpace.ts +0 -29
  599. package/src/core/main/ts/textpatterns/core/BlockPatternUtils.ts +0 -90
  600. package/src/core/main/ts/textpatterns/core/InlinePattern.ts +0 -326
  601. package/src/core/main/ts/textpatterns/core/Pattern.ts +0 -141
  602. package/src/core/main/ts/textpatterns/core/PatternTypes.ts +0 -86
  603. package/src/core/main/ts/textpatterns/keyboard/KeyHandler.ts +0 -97
  604. package/src/core/main/ts/textpatterns/keyboard/Keyboard.ts +0 -75
  605. package/src/core/main/ts/textpatterns/utils/Marker.ts +0 -50
  606. package/src/core/main/ts/textpatterns/utils/PathRange.ts +0 -81
  607. package/src/core/main/ts/textpatterns/utils/Utils.ts +0 -71
  608. package/src/core/main/ts/ui/NotificationManagerImpl.ts +0 -13
  609. package/src/core/main/ts/ui/WindowManagerImpl.ts +0 -15
  610. package/src/core/main/ts/undo/Diff.ts +0 -151
  611. package/src/core/main/ts/undo/Fragments.ts +0 -89
  612. package/src/core/main/ts/undo/Levels.ts +0 -99
  613. package/src/core/main/ts/undo/Locks.ts +0 -4
  614. package/src/core/main/ts/undo/Operations.ts +0 -167
  615. package/src/core/main/ts/undo/Setup.ts +0 -157
  616. package/src/core/main/ts/undo/TypingState.ts +0 -22
  617. package/src/core/main/ts/undo/UndoManagerTypes.ts +0 -50
  618. package/src/core/main/ts/util/ArrUtils.ts +0 -149
  619. package/src/core/main/ts/util/LazyEvaluator.ts +0 -16
  620. package/src/core/main/ts/util/Predicate.ts +0 -29
  621. package/src/core/main/ts/util/Quirks.ts +0 -739
  622. package/src/core/main/ts/util/Uuid.ts +0 -25
  623. package/src/core/main/ts/view/VisualAids.ts +0 -5
  624. package/src/core/main/ts/view/VisualAidsImpl.ts +0 -41
  625. package/src/core/test/assets/icons/custom/icons.js +0 -6
  626. package/src/core/test/assets/js/nested.js +0 -2
  627. package/src/core/test/assets/js/test.js +0 -1
  628. package/src/core/test/assets/langs/custom.js +0 -3
  629. package/src/core/test/json/routes.json +0 -395
  630. package/src/core/test/ts/atomic/autocomplete/ParserTest.ts +0 -54
  631. package/src/core/test/ts/atomic/file/ConversionsTest.ts +0 -34
  632. package/src/core/test/ts/atomic/html/FilterNodeTest.ts +0 -57
  633. package/src/core/test/ts/atomic/keyboard/MatchKeysTest.ts +0 -123
  634. package/src/core/test/ts/atomic/keyboard/NbspsTest.ts +0 -22
  635. package/src/core/test/ts/atomic/paste/InternalHtmlTest.ts +0 -25
  636. package/src/core/test/ts/atomic/paste/NewlinesTest.ts +0 -60
  637. package/src/core/test/ts/atomic/schema/CustomElementsRuleParserTest.ts +0 -53
  638. package/src/core/test/ts/atomic/schema/GlobalAttributesSetTest.ts +0 -42
  639. package/src/core/test/ts/atomic/schema/PresetsTest.ts +0 -42
  640. package/src/core/test/ts/atomic/schema/SchemaElementSetsTest.ts +0 -122
  641. package/src/core/test/ts/atomic/schema/SchemaLookupTableTest.ts +0 -37
  642. package/src/core/test/ts/atomic/schema/ValidChildrenRuleParserTest.ts +0 -175
  643. package/src/core/test/ts/atomic/schema/ValidElementsRuleParserTest.ts +0 -331
  644. package/src/core/test/ts/atomic/text/BidiTest.ts +0 -12
  645. package/src/core/test/ts/atomic/text/ExtendingCharTest.ts +0 -11
  646. package/src/core/test/ts/atomic/text/WhitespaceTest.ts +0 -32
  647. package/src/core/test/ts/atomic/text/ZwspTest.ts +0 -12
  648. package/src/core/test/ts/atomic/textpatterns/FindBlockPatternsTest.ts +0 -47
  649. package/src/core/test/ts/atomic/util/LazyEvaluatorTest.ts +0 -26
  650. package/src/core/test/ts/atomic/util/PredicateTest.ts +0 -25
  651. package/src/core/test/ts/browser/AddOnManagerTest.ts +0 -90
  652. package/src/core/test/ts/browser/ClickContentEditableFalseTest.ts +0 -76
  653. package/src/core/test/ts/browser/DragDropOverridesTest.ts +0 -801
  654. package/src/core/test/ts/browser/EditableRootTest.ts +0 -97
  655. package/src/core/test/ts/browser/EditorAutoFocusTest.ts +0 -84
  656. package/src/core/test/ts/browser/EditorCleanupTest.ts +0 -65
  657. package/src/core/test/ts/browser/EditorManagerCommandsTest.ts +0 -87
  658. package/src/core/test/ts/browser/EditorManagerSetupTest.ts +0 -40
  659. package/src/core/test/ts/browser/EditorManagerTest.ts +0 -206
  660. package/src/core/test/ts/browser/EditorOptionsTest.ts +0 -227
  661. package/src/core/test/ts/browser/EditorRemoveTest.ts +0 -101
  662. package/src/core/test/ts/browser/EditorRemovedApiTest.ts +0 -43
  663. package/src/core/test/ts/browser/EditorRtlTest.ts +0 -36
  664. package/src/core/test/ts/browser/EditorTest.ts +0 -543
  665. package/src/core/test/ts/browser/EditorUploadTest.ts +0 -663
  666. package/src/core/test/ts/browser/EditorViewTest.ts +0 -101
  667. package/src/core/test/ts/browser/FakeClipboardTest.ts +0 -83
  668. package/src/core/test/ts/browser/FontSelectCustomTest.ts +0 -63
  669. package/src/core/test/ts/browser/FontSelectTest.ts +0 -172
  670. package/src/core/test/ts/browser/ForceBlocksTest.ts +0 -167
  671. package/src/core/test/ts/browser/FormatterApplyTest.ts +0 -2563
  672. package/src/core/test/ts/browser/FormatterCheckTest.ts +0 -358
  673. package/src/core/test/ts/browser/FormatterClosestTest.ts +0 -79
  674. package/src/core/test/ts/browser/FormatterRemoveTest.ts +0 -619
  675. package/src/core/test/ts/browser/FormattingCommandsTest.ts +0 -554
  676. package/src/core/test/ts/browser/InlineEditorRemoveTest.ts +0 -28
  677. package/src/core/test/ts/browser/InlineEditorSaveTest.ts +0 -27
  678. package/src/core/test/ts/browser/MiscCommandsTest.ts +0 -75
  679. package/src/core/test/ts/browser/ModeTest.ts +0 -111
  680. package/src/core/test/ts/browser/NotificationManagerTest.ts +0 -256
  681. package/src/core/test/ts/browser/PadEmptyWithBrTest.ts +0 -38
  682. package/src/core/test/ts/browser/ReadOnlyModeTest.ts +0 -305
  683. package/src/core/test/ts/browser/ResourceTest.ts +0 -86
  684. package/src/core/test/ts/browser/SelectionOverridesTest.ts +0 -338
  685. package/src/core/test/ts/browser/ShortcutsTest.ts +0 -106
  686. package/src/core/test/ts/browser/UndoManagerTest.ts +0 -759
  687. package/src/core/test/ts/browser/WindowManagerTest.ts +0 -46
  688. package/src/core/test/ts/browser/annotate/AnnotateBlocksTest.ts +0 -723
  689. package/src/core/test/ts/browser/annotate/AnnotateTest.ts +0 -209
  690. package/src/core/test/ts/browser/annotate/AnnotationChangedTest.ts +0 -352
  691. package/src/core/test/ts/browser/annotate/AnnotationPersistenceTest.ts +0 -129
  692. package/src/core/test/ts/browser/annotate/AnnotationRemovedTest.ts +0 -211
  693. package/src/core/test/ts/browser/annotate/AnnotationStylingTest.ts +0 -311
  694. package/src/core/test/ts/browser/api/EditorCommandsTest.ts +0 -341
  695. package/src/core/test/ts/browser/api/OptionsTest.ts +0 -34
  696. package/src/core/test/ts/browser/api/commands/ContentCommandsTest.ts +0 -91
  697. package/src/core/test/ts/browser/api/commands/NewBlockCommandsTest.ts +0 -251
  698. package/src/core/test/ts/browser/api/commands/NewlineCommandsTest.ts +0 -131
  699. package/src/core/test/ts/browser/api/dom/RangeExpandTest.ts +0 -77
  700. package/src/core/test/ts/browser/api/dom/RangeUtilsTest.ts +0 -45
  701. package/src/core/test/ts/browser/bookmark/BookmarksTest.ts +0 -313
  702. package/src/core/test/ts/browser/bookmark/CaretBookmarkTest.ts +0 -163
  703. package/src/core/test/ts/browser/caret/CaretCandidateTest.ts +0 -60
  704. package/src/core/test/ts/browser/caret/CaretContainerRemoveTest.ts +0 -63
  705. package/src/core/test/ts/browser/caret/CaretContainerTest.ts +0 -163
  706. package/src/core/test/ts/browser/caret/CaretFinderTest.ts +0 -410
  707. package/src/core/test/ts/browser/caret/CaretPositionPredicatesTest.ts +0 -59
  708. package/src/core/test/ts/browser/caret/CaretPositionTest.ts +0 -202
  709. package/src/core/test/ts/browser/caret/CaretUtilsTest.ts +0 -249
  710. package/src/core/test/ts/browser/caret/CaretWalkerTest.ts +0 -308
  711. package/src/core/test/ts/browser/caret/ClosestCaretCandidateTest.ts +0 -717
  712. package/src/core/test/ts/browser/caret/FakeCaretTest.ts +0 -143
  713. package/src/core/test/ts/browser/caret/FakeCaretTypeTest.ts +0 -29
  714. package/src/core/test/ts/browser/caret/FirefoxFakeCaretBeforeTableTypeTest.ts +0 -54
  715. package/src/core/test/ts/browser/caret/LineReaderTest.ts +0 -539
  716. package/src/core/test/ts/browser/caret/LineUtilsTest.ts +0 -22
  717. package/src/core/test/ts/browser/caret/LineWalkerTest.ts +0 -93
  718. package/src/core/test/ts/browser/caret/TableCellsTest.ts +0 -249
  719. package/src/core/test/ts/browser/commands/ContentLangTest.ts +0 -83
  720. package/src/core/test/ts/browser/commands/LineHeightTest.ts +0 -95
  721. package/src/core/test/ts/browser/commands/OutdentCommandTest.ts +0 -151
  722. package/src/core/test/ts/browser/content/CustomElementsTest.ts +0 -39
  723. package/src/core/test/ts/browser/content/EditorContentEventsTest.ts +0 -153
  724. package/src/core/test/ts/browser/content/EditorContentForcedRootBlockTest.ts +0 -20
  725. package/src/core/test/ts/browser/content/EditorContentNotInitializedTest.ts +0 -86
  726. package/src/core/test/ts/browser/content/EditorContentTest.ts +0 -704
  727. package/src/core/test/ts/browser/content/EditorContentWsTest.ts +0 -18
  728. package/src/core/test/ts/browser/content/EditorGetContentRawTest.ts +0 -86
  729. package/src/core/test/ts/browser/content/EditorGetContentTextFormatTest.ts +0 -35
  730. package/src/core/test/ts/browser/content/EditorGetContentTreeTest.ts +0 -49
  731. package/src/core/test/ts/browser/content/EditorResetContentTest.ts +0 -97
  732. package/src/core/test/ts/browser/content/HTMLDataURLsTest.ts +0 -32
  733. package/src/core/test/ts/browser/content/InsertContentCommandTest.ts +0 -429
  734. package/src/core/test/ts/browser/content/InsertContentTest.ts +0 -869
  735. package/src/core/test/ts/browser/content/InsertContentWebKitBugs.ts +0 -21
  736. package/src/core/test/ts/browser/content/InsertListTest.ts +0 -48
  737. package/src/core/test/ts/browser/content/InsertUnsanitizedContentTest.ts +0 -40
  738. package/src/core/test/ts/browser/content/PlaceholderVisuallyEmptyTest.ts +0 -54
  739. package/src/core/test/ts/browser/content/TransparentElementsTest.ts +0 -242
  740. package/src/core/test/ts/browser/delete/BlockBoundaryDeleteTest.ts +0 -494
  741. package/src/core/test/ts/browser/delete/BlockMergeBoundaryTest.ts +0 -113
  742. package/src/core/test/ts/browser/delete/BlockRangeDeleteTest.ts +0 -162
  743. package/src/core/test/ts/browser/delete/CaretBoundaryDeleteTest.ts +0 -123
  744. package/src/core/test/ts/browser/delete/CefDeleteActionTest.ts +0 -336
  745. package/src/core/test/ts/browser/delete/CefDeleteNoneditableTest.ts +0 -106
  746. package/src/core/test/ts/browser/delete/CefDeleteTest.ts +0 -321
  747. package/src/core/test/ts/browser/delete/DeleteBeforeInputEventTest.ts +0 -23
  748. package/src/core/test/ts/browser/delete/DeleteCommandsTest.ts +0 -106
  749. package/src/core/test/ts/browser/delete/DeleteElementTest.ts +0 -242
  750. package/src/core/test/ts/browser/delete/DeleteUtilsTest.ts +0 -119
  751. package/src/core/test/ts/browser/delete/DetailsDeleteTest.ts +0 -162
  752. package/src/core/test/ts/browser/delete/ImageBlockDeleteTest.ts +0 -66
  753. package/src/core/test/ts/browser/delete/InlineBoundaryDeleteTest.ts +0 -126
  754. package/src/core/test/ts/browser/delete/InlineFormatDeleteTest.ts +0 -986
  755. package/src/core/test/ts/browser/delete/InlineFormatPostShortcutDeleteTest.ts +0 -324
  756. package/src/core/test/ts/browser/delete/MediaDeleteTest.ts +0 -83
  757. package/src/core/test/ts/browser/delete/MergeBlocksTest.ts +0 -243
  758. package/src/core/test/ts/browser/delete/OutdentTest.ts +0 -43
  759. package/src/core/test/ts/browser/delete/TableDeleteActionTest.ts +0 -197
  760. package/src/core/test/ts/browser/delete/TableDeleteTest.ts +0 -671
  761. package/src/core/test/ts/browser/dom/ContentCssCorsTest.ts +0 -129
  762. package/src/core/test/ts/browser/dom/ControlSelectionTest.ts +0 -265
  763. package/src/core/test/ts/browser/dom/DimensionsTest.ts +0 -45
  764. package/src/core/test/ts/browser/dom/DomUtilsTest.ts +0 -991
  765. package/src/core/test/ts/browser/dom/ElementTypeTest.ts +0 -78
  766. package/src/core/test/ts/browser/dom/EmptyTest.ts +0 -79
  767. package/src/core/test/ts/browser/dom/EventUtilsTest.ts +0 -497
  768. package/src/core/test/ts/browser/dom/NodePathTest.ts +0 -41
  769. package/src/core/test/ts/browser/dom/NodeTypeTest.ts +0 -123
  770. package/src/core/test/ts/browser/dom/PaddingBrTest.ts +0 -59
  771. package/src/core/test/ts/browser/dom/ParentsTest.ts +0 -99
  772. package/src/core/test/ts/browser/dom/RangePointTest.ts +0 -42
  773. package/src/core/test/ts/browser/dom/ReferrerPolicyTest.ts +0 -45
  774. package/src/core/test/ts/browser/dom/ScriptLoaderTest.ts +0 -113
  775. package/src/core/test/ts/browser/dom/ScrollIntoViewTest.ts +0 -305
  776. package/src/core/test/ts/browser/dom/SelectionEventsTest.ts +0 -116
  777. package/src/core/test/ts/browser/dom/SelectionQuirksTest.ts +0 -84
  778. package/src/core/test/ts/browser/dom/SelectionTest.ts +0 -1380
  779. package/src/core/test/ts/browser/dom/SerializerEventsTest.ts +0 -50
  780. package/src/core/test/ts/browser/dom/SerializerTest.ts +0 -926
  781. package/src/core/test/ts/browser/dom/StyleSheetLoaderRegistryTest.ts +0 -40
  782. package/src/core/test/ts/browser/dom/StyleSheetLoaderTest.ts +0 -70
  783. package/src/core/test/ts/browser/dom/TreeWalkerTest.ts +0 -97
  784. package/src/core/test/ts/browser/dom/TrimBodyTest.ts +0 -188
  785. package/src/core/test/ts/browser/dom/TrimNodeTest.ts +0 -52
  786. package/src/core/test/ts/browser/file/BlobCacheTest.ts +0 -98
  787. package/src/core/test/ts/browser/file/ConversionsTest.ts +0 -25
  788. package/src/core/test/ts/browser/file/ImageScannerTest.ts +0 -71
  789. package/src/core/test/ts/browser/file/UploadStatusTest.ts +0 -33
  790. package/src/core/test/ts/browser/fmt/BlockFormatsTest.ts +0 -75
  791. package/src/core/test/ts/browser/fmt/CaretFormatTest.ts +0 -894
  792. package/src/core/test/ts/browser/fmt/DefaultFormatsWithSchemaTest.ts +0 -79
  793. package/src/core/test/ts/browser/fmt/ExpandRangeTest.ts +0 -311
  794. package/src/core/test/ts/browser/fmt/FontInfoTest.ts +0 -158
  795. package/src/core/test/ts/browser/fmt/FontsizeFormatTest.ts +0 -25
  796. package/src/core/test/ts/browser/fmt/FormatChangeSelectionTest.ts +0 -111
  797. package/src/core/test/ts/browser/fmt/FormatChangeVarsTest.ts +0 -191
  798. package/src/core/test/ts/browser/fmt/FormatEmptyLineTest.ts +0 -428
  799. package/src/core/test/ts/browser/fmt/FormatNoneditableTest.ts +0 -762
  800. package/src/core/test/ts/browser/fmt/HooksTest.ts +0 -67
  801. package/src/core/test/ts/browser/fmt/ListItemFormatTest.ts +0 -377
  802. package/src/core/test/ts/browser/fmt/MediaAlignTest.ts +0 -81
  803. package/src/core/test/ts/browser/fmt/PreviewTest.ts +0 -255
  804. package/src/core/test/ts/browser/fmt/RemoveFormatTest.ts +0 -284
  805. package/src/core/test/ts/browser/fmt/RemoveHighlightFormatTest.ts +0 -48
  806. package/src/core/test/ts/browser/fmt/RemoveTrailingWhitespaceFormatTest.ts +0 -44
  807. package/src/core/test/ts/browser/fmt/TableFormatsTest.ts +0 -178
  808. package/src/core/test/ts/browser/fmt/TextDecorationColorTest.ts +0 -197
  809. package/src/core/test/ts/browser/focus/CefFocusTest.ts +0 -34
  810. package/src/core/test/ts/browser/focus/EditorFocusTest.ts +0 -89
  811. package/src/core/test/ts/browser/focus/FocusControllerTest.ts +0 -83
  812. package/src/core/test/ts/browser/focus/HighlightOnFocusTest.ts +0 -146
  813. package/src/core/test/ts/browser/focus/KeyboardShortcutElementPathFocusTest.ts +0 -30
  814. package/src/core/test/ts/browser/focus/KeyboardShortcutMenuFocusTest.ts +0 -31
  815. package/src/core/test/ts/browser/focus/MediaFocusTest.ts +0 -27
  816. package/src/core/test/ts/browser/geom/ClientRectTest.ts +0 -118
  817. package/src/core/test/ts/browser/geom/RectTest.ts +0 -94
  818. package/src/core/test/ts/browser/html/DomParserTest.ts +0 -1702
  819. package/src/core/test/ts/browser/html/EntitiesTest.ts +0 -127
  820. package/src/core/test/ts/browser/html/NamespaceTest.ts +0 -61
  821. package/src/core/test/ts/browser/html/NodeTest.ts +0 -443
  822. package/src/core/test/ts/browser/html/NonEditableFilterTest.ts +0 -42
  823. package/src/core/test/ts/browser/html/ParserUtilsTest.ts +0 -78
  824. package/src/core/test/ts/browser/html/SanitizationTest.ts +0 -75
  825. package/src/core/test/ts/browser/html/SchemaTest.ts +0 -887
  826. package/src/core/test/ts/browser/html/SerializerTest.ts +0 -70
  827. package/src/core/test/ts/browser/html/StylesTest.ts +0 -269
  828. package/src/core/test/ts/browser/html/WriterTest.ts +0 -155
  829. package/src/core/test/ts/browser/init/ContentCssTest.ts +0 -49
  830. package/src/core/test/ts/browser/init/ContentStylePositionTest.ts +0 -28
  831. package/src/core/test/ts/browser/init/EditorCustomThemeTest.ts +0 -141
  832. package/src/core/test/ts/browser/init/EditorInitializationTest.ts +0 -245
  833. package/src/core/test/ts/browser/init/InitContentBodyDirectionalityTest.ts +0 -48
  834. package/src/core/test/ts/browser/init/InitContentBodyEditInitialContentTest.ts +0 -43
  835. package/src/core/test/ts/browser/init/InitContentBodyFiltersTest.ts +0 -29
  836. package/src/core/test/ts/browser/init/InitContentBodySelectionTest.ts +0 -47
  837. package/src/core/test/ts/browser/init/InitDocumentWriteTest.ts +0 -21
  838. package/src/core/test/ts/browser/init/InitEditorIconTest.ts +0 -41
  839. package/src/core/test/ts/browser/init/InitEditorLanguageTest.ts +0 -27
  840. package/src/core/test/ts/browser/init/InitEditorNoThemeIframeTest.ts +0 -33
  841. package/src/core/test/ts/browser/init/InitEditorNoThemeInlineTest.ts +0 -42
  842. package/src/core/test/ts/browser/init/InitEditorOnHiddenElementTest.ts +0 -16
  843. package/src/core/test/ts/browser/init/InitEditorPluginInitErrorTest.ts +0 -50
  844. package/src/core/test/ts/browser/init/InitEditorThemeFunctionIframeTest.ts +0 -41
  845. package/src/core/test/ts/browser/init/InitEditorThemeFunctionInlineTest.ts +0 -49
  846. package/src/core/test/ts/browser/init/InitEventsOrderTest.ts +0 -45
  847. package/src/core/test/ts/browser/init/InitIframeAriaTextTest.ts +0 -34
  848. package/src/core/test/ts/browser/init/InitIframeEditorCookiesTest.ts +0 -22
  849. package/src/core/test/ts/browser/init/InitIframeEditorWithCustomAttrsTest.ts +0 -26
  850. package/src/core/test/ts/browser/init/InitIframeEditorWithTabindexTest.ts +0 -29
  851. package/src/core/test/ts/browser/init/InitUnsanitizedContentTest.ts +0 -28
  852. package/src/core/test/ts/browser/init/LicenseKeyValidationTest.ts +0 -143
  853. package/src/core/test/ts/browser/init/RegisterFormatsBeforeSetContentTest.ts +0 -33
  854. package/src/core/test/ts/browser/init/ShadowDomEditorTest.ts +0 -81
  855. package/src/core/test/ts/browser/keyboard/ArrowKeysAnchorTest.ts +0 -251
  856. package/src/core/test/ts/browser/keyboard/ArrowKeysCefTest.ts +0 -208
  857. package/src/core/test/ts/browser/keyboard/ArrowKeysContentEndpointTest.ts +0 -80
  858. package/src/core/test/ts/browser/keyboard/ArrowKeysEdgeCefTest.ts +0 -322
  859. package/src/core/test/ts/browser/keyboard/ArrowKeysInlineBoundariesTest.ts +0 -388
  860. package/src/core/test/ts/browser/keyboard/ArrowKeysTableTest.ts +0 -250
  861. package/src/core/test/ts/browser/keyboard/AutocompleterTest.ts +0 -197
  862. package/src/core/test/ts/browser/keyboard/BoundaryCaretTest.ts +0 -49
  863. package/src/core/test/ts/browser/keyboard/BoundaryLocationTest.ts +0 -216
  864. package/src/core/test/ts/browser/keyboard/CaretAfterKoreanTest.ts +0 -139
  865. package/src/core/test/ts/browser/keyboard/EnterKeyAnchorTest.ts +0 -180
  866. package/src/core/test/ts/browser/keyboard/EnterKeyCeFalseTest.ts +0 -105
  867. package/src/core/test/ts/browser/keyboard/EnterKeyHrTest.ts +0 -66
  868. package/src/core/test/ts/browser/keyboard/EnterKeyListsTest.ts +0 -520
  869. package/src/core/test/ts/browser/keyboard/EnterKeyTest.ts +0 -684
  870. package/src/core/test/ts/browser/keyboard/FormatShortcutsTest.ts +0 -117
  871. package/src/core/test/ts/browser/keyboard/HomeEndKeysTest.ts +0 -165
  872. package/src/core/test/ts/browser/keyboard/InlineUtilsTest.ts +0 -199
  873. package/src/core/test/ts/browser/keyboard/InsertKeysTest.ts +0 -331
  874. package/src/core/test/ts/browser/keyboard/KeyboardCellNavigationTest.ts +0 -88
  875. package/src/core/test/ts/browser/keyboard/KeyboardEventTest.ts +0 -26
  876. package/src/core/test/ts/browser/keyboard/MediaNavigationTest.ts +0 -113
  877. package/src/core/test/ts/browser/keyboard/PreventNoneditableInputTest.ts +0 -92
  878. package/src/core/test/ts/browser/keyboard/SpaceKeyBeforeInputEventTest.ts +0 -23
  879. package/src/core/test/ts/browser/keyboard/SpaceKeyTest.ts +0 -144
  880. package/src/core/test/ts/browser/keyboard/TableNavigationTest.ts +0 -92
  881. package/src/core/test/ts/browser/keyboard/TableTabKeyNavigationTest.ts +0 -228
  882. package/src/core/test/ts/browser/keyboard/TableTabNavigationDisabledTest.ts +0 -22
  883. package/src/core/test/ts/browser/keyboard/TypeTextAtCefTest.ts +0 -43
  884. package/src/core/test/ts/browser/newline/ForcedRootBlockTest.ts +0 -172
  885. package/src/core/test/ts/browser/newline/InsertBrTest.ts +0 -128
  886. package/src/core/test/ts/browser/newline/InsertNewLineTest.ts +0 -853
  887. package/src/core/test/ts/browser/newline/NewlineBeforeInputEventTest.ts +0 -22
  888. package/src/core/test/ts/browser/options/NormalizeOptionsTest.ts +0 -254
  889. package/src/core/test/ts/browser/paste/CutNoneditableTest.ts +0 -26
  890. package/src/core/test/ts/browser/paste/DragDropImageTest.ts +0 -69
  891. package/src/core/test/ts/browser/paste/DragDropSummaryTest.ts +0 -60
  892. package/src/core/test/ts/browser/paste/DragDropTransparentsTest.ts +0 -57
  893. package/src/core/test/ts/browser/paste/ImagePasteTest.ts +0 -195
  894. package/src/core/test/ts/browser/paste/InternalClipboardTest.ts +0 -248
  895. package/src/core/test/ts/browser/paste/PasteBinTest.ts +0 -91
  896. package/src/core/test/ts/browser/paste/PasteFormatToggleTest.ts +0 -31
  897. package/src/core/test/ts/browser/paste/PasteOptionsTest.ts +0 -24
  898. package/src/core/test/ts/browser/paste/PasteStylesTest.ts +0 -79
  899. package/src/core/test/ts/browser/paste/PasteTest.ts +0 -580
  900. package/src/core/test/ts/browser/paste/PlainTextPasteTest.ts +0 -60
  901. package/src/core/test/ts/browser/paste/ProcessFiltersTest.ts +0 -150
  902. package/src/core/test/ts/browser/paste/SmartPasteTest.ts +0 -241
  903. package/src/core/test/ts/browser/paste/UnsanitizedPasteTest.ts +0 -38
  904. package/src/core/test/ts/browser/selection/DetailsElementTest.ts +0 -156
  905. package/src/core/test/ts/browser/selection/FragmentReaderTest.ts +0 -236
  906. package/src/core/test/ts/browser/selection/GetSelectionContentTest.ts +0 -151
  907. package/src/core/test/ts/browser/selection/InlineBoundarySelectionTest.ts +0 -42
  908. package/src/core/test/ts/browser/selection/MultiClickSelectionTest.ts +0 -224
  909. package/src/core/test/ts/browser/selection/NoneditableRootElementSelectionTest.ts +0 -100
  910. package/src/core/test/ts/browser/selection/NormalizeRangeTest.ts +0 -347
  911. package/src/core/test/ts/browser/selection/RangeInsertNodeTest.ts +0 -82
  912. package/src/core/test/ts/browser/selection/RangeNormalizerTest.ts +0 -98
  913. package/src/core/test/ts/browser/selection/RangeWalkTest.ts +0 -112
  914. package/src/core/test/ts/browser/selection/SelectBeforeBlockTest.ts +0 -33
  915. package/src/core/test/ts/browser/selection/SelectionBookmarkInlineEditorTest.ts +0 -148
  916. package/src/core/test/ts/browser/selection/SelectionBookmarkTest.ts +0 -189
  917. package/src/core/test/ts/browser/selection/SelectionUtilsTest.ts +0 -72
  918. package/src/core/test/ts/browser/selection/SetSelectionContentTest.ts +0 -297
  919. package/src/core/test/ts/browser/selection/SimpleTableModelTest.ts +0 -132
  920. package/src/core/test/ts/browser/selection/TableCellSelectionTest.ts +0 -46
  921. package/src/core/test/ts/browser/text/ZwspInsertTest.ts +0 -42
  922. package/src/core/test/ts/browser/textpatterns/BlockPatternsOnSpaceTest.ts +0 -288
  923. package/src/core/test/ts/browser/textpatterns/FindBlockPatternsTest.ts +0 -232
  924. package/src/core/test/ts/browser/textpatterns/FindInlinePatternTest.ts +0 -470
  925. package/src/core/test/ts/browser/textpatterns/ReplacementTest.ts +0 -197
  926. package/src/core/test/ts/browser/textpatterns/TextPatternsFalseTest.ts +0 -36
  927. package/src/core/test/ts/browser/textpatterns/TextPatternsLookupTest.ts +0 -38
  928. package/src/core/test/ts/browser/textpatterns/TextPatternsPublicApiTest.ts +0 -124
  929. package/src/core/test/ts/browser/textpatterns/TextPatternsTest.ts +0 -377
  930. package/src/core/test/ts/browser/textpatterns/TextSearchTest.ts +0 -139
  931. package/src/core/test/ts/browser/textpatterns/TrailingPunctuationTest.ts +0 -55
  932. package/src/core/test/ts/browser/textpatterns/TriggerInlinePatternBeginningTest.ts +0 -33
  933. package/src/core/test/ts/browser/textpatterns/UndoTextPatternsTest.ts +0 -35
  934. package/src/core/test/ts/browser/undo/DiffTest.ts +0 -22
  935. package/src/core/test/ts/browser/undo/ForcedRootBlockTest.ts +0 -48
  936. package/src/core/test/ts/browser/undo/FragmentsTest.ts +0 -44
  937. package/src/core/test/ts/browser/undo/LevelsTest.ts +0 -214
  938. package/src/core/test/ts/browser/undo/UndoKeyboardShortcutsTest.ts +0 -41
  939. package/src/core/test/ts/browser/util/DelayTest.ts +0 -51
  940. package/src/core/test/ts/browser/util/EventDispatcherTest.ts +0 -373
  941. package/src/core/test/ts/browser/util/FakeStorageTest.ts +0 -95
  942. package/src/core/test/ts/browser/util/I18nTest.ts +0 -124
  943. package/src/core/test/ts/browser/util/ImageUploaderTest.ts +0 -81
  944. package/src/core/test/ts/browser/util/ObservableTest.ts +0 -76
  945. package/src/core/test/ts/browser/util/QuirksFirefoxTest.ts +0 -101
  946. package/src/core/test/ts/browser/util/QuirksWebkitTest.ts +0 -360
  947. package/src/core/test/ts/browser/util/ToolsTest.ts +0 -11
  948. package/src/core/test/ts/browser/util/UriTest.ts +0 -175
  949. package/src/core/test/ts/browser/util/UtilsTest.ts +0 -22
  950. package/src/core/test/ts/module/McAgar.ts +0 -10
  951. package/src/core/test/ts/module/test/AnnotationAsserts.ts +0 -83
  952. package/src/core/test/ts/module/test/BeforeInputEventUtils.ts +0 -49
  953. package/src/core/test/ts/module/test/CaretAsserts.ts +0 -49
  954. package/src/core/test/ts/module/test/DialogUtils.ts +0 -30
  955. package/src/core/test/ts/module/test/DragDropUtils.ts +0 -22
  956. package/src/core/test/ts/module/test/ErrorHelpers.ts +0 -30
  957. package/src/core/test/ts/module/test/HtmlUtils.ts +0 -13
  958. package/src/core/test/ts/module/test/InputEventUtils.ts +0 -42
  959. package/src/core/test/ts/module/test/KeyUtils.ts +0 -113
  960. package/src/core/test/ts/module/test/PasteEventUtils.ts +0 -102
  961. package/src/core/test/ts/module/test/PasteStrings.ts +0 -13
  962. package/src/core/test/ts/module/test/SingletonUtils.ts +0 -7
  963. package/src/core/test/ts/module/test/TableUtils.ts +0 -21
  964. package/src/core/test/ts/module/test/TextPatternsUtils.ts +0 -145
  965. package/src/core/test/ts/module/test/ViewBlock.ts +0 -61
  966. package/src/core/test/ts/webdriver/content/PlaceholderTest.ts +0 -134
  967. package/src/core/test/ts/webdriver/delete/InlineFormatRetentionTest.ts +0 -42
  968. package/src/core/test/ts/webdriver/delete/ShortcutDeleteTest.ts +0 -215
  969. package/src/core/test/ts/webdriver/keyboard/IframeTabfocusTest.ts +0 -73
  970. package/src/core/test/ts/webdriver/keyboard/PageUpDownKeysTest.ts +0 -89
  971. package/src/core/test/ts/webdriver/keyboard/SpaceKeyTest.ts +0 -139
  972. package/src/core/test/ts/webdriver/paste/CopyAndPasteTest.ts +0 -275
  973. package/src/core/test/ts/webdriver/paste/CutTest.ts +0 -42
  974. package/src/core/text/build-header.js +0 -3
  975. package/src/models/dom/demo/html/demo/basic-demo.html +0 -28
  976. package/src/models/dom/demo/ts/demo/Demo.ts +0 -14
  977. package/src/models/dom/main/ts/Main.ts +0 -9
  978. package/src/models/dom/main/ts/Model.ts +0 -16
  979. package/src/models/dom/main/ts/table/Table.ts +0 -33
  980. package/src/models/dom/main/ts/table/actions/Clipboard.ts +0 -76
  981. package/src/models/dom/main/ts/table/actions/InsertTable.ts +0 -84
  982. package/src/models/dom/main/ts/table/actions/TableActions.ts +0 -213
  983. package/src/models/dom/main/ts/table/api/Clipboard.ts +0 -67
  984. package/src/models/dom/main/ts/table/api/Commands.ts +0 -253
  985. package/src/models/dom/main/ts/table/api/Events.ts +0 -77
  986. package/src/models/dom/main/ts/table/api/Options.ts +0 -181
  987. package/src/models/dom/main/ts/table/api/QueryCommands.ts +0 -30
  988. package/src/models/dom/main/ts/table/api/TableCellSelectionHandler.ts +0 -210
  989. package/src/models/dom/main/ts/table/api/TableResizeHandler.ts +0 -240
  990. package/src/models/dom/main/ts/table/core/TableUtils.ts +0 -69
  991. package/src/models/dom/main/ts/table/core/TableWire.ts +0 -36
  992. package/src/models/dom/main/ts/table/queries/TableSize.ts +0 -19
  993. package/src/models/dom/main/ts/table/queries/TableTargets.ts +0 -42
  994. package/src/models/dom/main/ts/table/selection/Ephemera.ts +0 -28
  995. package/src/models/dom/main/ts/table/selection/TableSelection.ts +0 -45
  996. package/src/models/dom/test/ts/atomic/table/TableUtilsTest.ts +0 -35
  997. package/src/models/dom/test/ts/browser/table/DragEditorContentsOverTableTest.ts +0 -25
  998. package/src/models/dom/test/ts/browser/table/DragResizeTest.ts +0 -453
  999. package/src/models/dom/test/ts/browser/table/DragSelectionTest.ts +0 -46
  1000. package/src/models/dom/test/ts/browser/table/EmptyRowTableTest.ts +0 -28
  1001. package/src/models/dom/test/ts/browser/table/FakeSelectionTest.ts +0 -279
  1002. package/src/models/dom/test/ts/browser/table/InsertColumnTableSizeTest.ts +0 -175
  1003. package/src/models/dom/test/ts/browser/table/InsertRowTableResizeTest.ts +0 -185
  1004. package/src/models/dom/test/ts/browser/table/InsertTableTest.ts +0 -47
  1005. package/src/models/dom/test/ts/browser/table/InsertTableWidthsTest.ts +0 -58
  1006. package/src/models/dom/test/ts/browser/table/InvalidColCountTest.ts +0 -126
  1007. package/src/models/dom/test/ts/browser/table/ModifyColumnsTableResizeTest.ts +0 -677
  1008. package/src/models/dom/test/ts/browser/table/NestedFakeSelectionTest.ts +0 -289
  1009. package/src/models/dom/test/ts/browser/table/NewCellRowEventsTest.ts +0 -42
  1010. package/src/models/dom/test/ts/browser/table/PasteTableTest.ts +0 -65
  1011. package/src/models/dom/test/ts/browser/table/ResizeTableTest.ts +0 -1035
  1012. package/src/models/dom/test/ts/browser/table/SwitchTableSectionTest.ts +0 -352
  1013. package/src/models/dom/test/ts/browser/table/TableNoWidthTest.ts +0 -41
  1014. package/src/models/dom/test/ts/browser/table/TableSectionApiTest.ts +0 -406
  1015. package/src/models/dom/test/ts/browser/table/TableSizingModeTest.ts +0 -98
  1016. package/src/models/dom/test/ts/browser/table/TwoCellsSelectionTest.ts +0 -114
  1017. package/src/models/dom/test/ts/browser/table/UnmergeCellTableResizeTest.ts +0 -304
  1018. package/src/models/dom/test/ts/browser/table/command/ApplyCellStyleCommandTest.ts +0 -220
  1019. package/src/models/dom/test/ts/browser/table/command/CommandsOnLockedColumnsTest.ts +0 -185
  1020. package/src/models/dom/test/ts/browser/table/command/InsertCommandsTest.ts +0 -184
  1021. package/src/models/dom/test/ts/browser/table/command/InsertTableCommandTest.ts +0 -110
  1022. package/src/models/dom/test/ts/browser/table/command/InsertTableCommandWithColGroupsTest.ts +0 -97
  1023. package/src/models/dom/test/ts/browser/table/command/MergeCellCommandTest.ts +0 -353
  1024. package/src/models/dom/test/ts/browser/table/command/ModifyClassesCommandsTest.ts +0 -303
  1025. package/src/models/dom/test/ts/browser/table/command/TableDeleteColumnTest.ts +0 -154
  1026. package/src/models/dom/test/ts/browser/table/command/TableDeleteCommandTest.ts +0 -39
  1027. package/src/models/dom/test/ts/browser/table/command/TableDeleteRowTest.ts +0 -152
  1028. package/src/models/dom/test/ts/browser/table/command/TableSizingModeCommandTest.ts +0 -119
  1029. package/src/models/dom/test/ts/browser/table/command/TableSizingModeCommandWithColGroupsTest.ts +0 -77
  1030. package/src/models/dom/test/ts/module/table/TableSizingModeCommandUtil.ts +0 -92
  1031. package/src/models/dom/test/ts/module/table/TableTestUtils.ts +0 -302
  1032. package/src/plugins/accordion/demo/html/demo.html +0 -26
  1033. package/src/plugins/accordion/demo/ts/demo/Demo.ts +0 -14
  1034. package/src/plugins/accordion/main/ts/Main.ts +0 -9
  1035. package/src/plugins/accordion/main/ts/Plugin.ts +0 -17
  1036. package/src/plugins/accordion/main/ts/api/Commands.ts +0 -12
  1037. package/src/plugins/accordion/main/ts/api/Events.ts +0 -13
  1038. package/src/plugins/accordion/main/ts/core/Actions.ts +0 -90
  1039. package/src/plugins/accordion/main/ts/core/FilterContent.ts +0 -153
  1040. package/src/plugins/accordion/main/ts/core/Identifiers.ts +0 -14
  1041. package/src/plugins/accordion/main/ts/core/Keyboard.ts +0 -27
  1042. package/src/plugins/accordion/main/ts/core/Quirks.ts +0 -24
  1043. package/src/plugins/accordion/main/ts/core/Utils.ts +0 -79
  1044. package/src/plugins/accordion/main/ts/ui/Buttons.ts +0 -39
  1045. package/src/plugins/accordion/test/ts/browser/AccordionFormattingTest.ts +0 -36
  1046. package/src/plugins/accordion/test/ts/browser/AccordionNavigationTest.ts +0 -56
  1047. package/src/plugins/accordion/test/ts/browser/AccordionPluginTest.ts +0 -241
  1048. package/src/plugins/accordion/test/ts/browser/DirectionalityTest.ts +0 -58
  1049. package/src/plugins/accordion/test/ts/browser/FilterContentTest.ts +0 -373
  1050. package/src/plugins/accordion/test/ts/browser/QuirksTest.ts +0 -34
  1051. package/src/plugins/accordion/test/ts/module/AccordionUtils.ts +0 -18
  1052. package/src/plugins/accordion/test/ts/webdriver/AccordionBackspaceDeleteTest.ts +0 -649
  1053. package/src/plugins/accordion/test/ts/webdriver/AccordionEnterTest.ts +0 -80
  1054. package/src/plugins/advlist/demo/html/demo.html +0 -16
  1055. package/src/plugins/advlist/demo/ts/demo/Demo.ts +0 -12
  1056. package/src/plugins/advlist/main/ts/Main.ts +0 -9
  1057. package/src/plugins/advlist/main/ts/Plugin.ts +0 -18
  1058. package/src/plugins/advlist/main/ts/api/Commands.ts +0 -17
  1059. package/src/plugins/advlist/main/ts/api/Options.ts +0 -31
  1060. package/src/plugins/advlist/main/ts/core/Actions.ts +0 -10
  1061. package/src/plugins/advlist/main/ts/core/ListUtils.ts +0 -58
  1062. package/src/plugins/advlist/main/ts/ui/Buttons.ts +0 -97
  1063. package/src/plugins/advlist/test/ts/browser/AdvlistOptionsAndToolbarTest.ts +0 -356
  1064. package/src/plugins/advlist/test/ts/browser/AdvlistPluginTest.ts +0 -200
  1065. package/src/plugins/advlist/test/ts/browser/ChangeListStyleTest.ts +0 -107
  1066. package/src/plugins/advlist/test/ts/browser/ContentEditableFalseTest.ts +0 -97
  1067. package/src/plugins/advlist/test/ts/browser/ListUtilsTest.ts +0 -22
  1068. package/src/plugins/advlist/test/ts/browser/NoneditableRootTest.ts +0 -57
  1069. package/src/plugins/advlist/test/ts/browser/SplitButtonTest.ts +0 -234
  1070. package/src/plugins/anchor/demo/html/demo.html +0 -16
  1071. package/src/plugins/anchor/demo/ts/demo/Demo.ts +0 -12
  1072. package/src/plugins/anchor/main/ts/Main.ts +0 -9
  1073. package/src/plugins/anchor/main/ts/Plugin.ts +0 -20
  1074. package/src/plugins/anchor/main/ts/api/Commands.ts +0 -13
  1075. package/src/plugins/anchor/main/ts/api/Options.ts +0 -24
  1076. package/src/plugins/anchor/main/ts/core/Anchor.ts +0 -76
  1077. package/src/plugins/anchor/main/ts/core/FilterContent.ts +0 -32
  1078. package/src/plugins/anchor/main/ts/core/Formats.ts +0 -24
  1079. package/src/plugins/anchor/main/ts/core/Utils.ts +0 -25
  1080. package/src/plugins/anchor/main/ts/ui/Buttons.ts +0 -45
  1081. package/src/plugins/anchor/main/ts/ui/Dialog.ts +0 -60
  1082. package/src/plugins/anchor/test/ts/browser/AnchorAlertTest.ts +0 -32
  1083. package/src/plugins/anchor/test/ts/browser/AnchorAllowHtmlTest.ts +0 -104
  1084. package/src/plugins/anchor/test/ts/browser/AnchorEditTest.ts +0 -30
  1085. package/src/plugins/anchor/test/ts/browser/AnchorFormatsTest.ts +0 -57
  1086. package/src/plugins/anchor/test/ts/browser/AnchorInlineTest.ts +0 -26
  1087. package/src/plugins/anchor/test/ts/browser/AnchorSanityTest.ts +0 -63
  1088. package/src/plugins/anchor/test/ts/browser/NoneditableRootTest.ts +0 -40
  1089. package/src/plugins/anchor/test/ts/module/Helpers.ts +0 -21
  1090. package/src/plugins/autolink/demo/html/demo.html +0 -15
  1091. package/src/plugins/autolink/demo/ts/demo/Demo.ts +0 -12
  1092. package/src/plugins/autolink/main/ts/Main.ts +0 -9
  1093. package/src/plugins/autolink/main/ts/Plugin.ts +0 -11
  1094. package/src/plugins/autolink/main/ts/api/Options.ts +0 -42
  1095. package/src/plugins/autolink/main/ts/core/Keys.ts +0 -151
  1096. package/src/plugins/autolink/main/ts/core/Utils.ts +0 -50
  1097. package/src/plugins/autolink/test/ts/browser/AutoLinkPluginTest.ts +0 -225
  1098. package/src/plugins/autolink/test/ts/browser/ConsecutiveLinkTest.ts +0 -30
  1099. package/src/plugins/autolink/test/ts/browser/EnterKeyTest.ts +0 -24
  1100. package/src/plugins/autolink/test/ts/browser/FragmentedTextTest.ts +0 -60
  1101. package/src/plugins/autolink/test/ts/module/test/KeyUtils.ts +0 -159
  1102. package/src/plugins/autoresize/demo/html/demo.html +0 -15
  1103. package/src/plugins/autoresize/demo/ts/demo/Demo.ts +0 -13
  1104. package/src/plugins/autoresize/main/ts/Main.ts +0 -9
  1105. package/src/plugins/autoresize/main/ts/Plugin.ts +0 -30
  1106. package/src/plugins/autoresize/main/ts/api/Commands.ts +0 -15
  1107. package/src/plugins/autoresize/main/ts/api/Events.ts +0 -9
  1108. package/src/plugins/autoresize/main/ts/api/Options.ts +0 -35
  1109. package/src/plugins/autoresize/main/ts/core/Resize.ts +0 -187
  1110. package/src/plugins/autoresize/test/ts/browser/AutoresizePluginTest.ts +0 -230
  1111. package/src/plugins/autosave/demo/html/demo.html +0 -15
  1112. package/src/plugins/autosave/demo/ts/demo/Demo.ts +0 -16
  1113. package/src/plugins/autosave/main/ts/Main.ts +0 -9
  1114. package/src/plugins/autosave/main/ts/Plugin.ts +0 -30
  1115. package/src/plugins/autosave/main/ts/api/Api.ts +0 -23
  1116. package/src/plugins/autosave/main/ts/api/Events.ts +0 -17
  1117. package/src/plugins/autosave/main/ts/api/Options.ts +0 -72
  1118. package/src/plugins/autosave/main/ts/core/BeforeUnload.ts +0 -32
  1119. package/src/plugins/autosave/main/ts/core/Storage.ts +0 -91
  1120. package/src/plugins/autosave/main/ts/core/Time.ts +0 -13
  1121. package/src/plugins/autosave/main/ts/ui/Buttons.ts +0 -42
  1122. package/src/plugins/autosave/test/ts/browser/AutoSavePluginTest.ts +0 -141
  1123. package/src/plugins/autosave/test/ts/browser/ShouldRestoreWhenEmptyTest.ts +0 -63
  1124. package/src/plugins/charmap/demo/html/demo.html +0 -15
  1125. package/src/plugins/charmap/demo/ts/demo/Demo.ts +0 -13
  1126. package/src/plugins/charmap/main/ts/Main.ts +0 -9
  1127. package/src/plugins/charmap/main/ts/Plugin.ts +0 -21
  1128. package/src/plugins/charmap/main/ts/api/Api.ts +0 -28
  1129. package/src/plugins/charmap/main/ts/api/Commands.ts +0 -16
  1130. package/src/plugins/charmap/main/ts/api/Events.ts +0 -10
  1131. package/src/plugins/charmap/main/ts/api/Options.ts +0 -36
  1132. package/src/plugins/charmap/main/ts/core/Actions.ts +0 -12
  1133. package/src/plugins/charmap/main/ts/core/CharMap.ts +0 -414
  1134. package/src/plugins/charmap/main/ts/core/Scan.ts +0 -37
  1135. package/src/plugins/charmap/main/ts/ui/Autocompletion.ts +0 -26
  1136. package/src/plugins/charmap/main/ts/ui/Buttons.ts +0 -37
  1137. package/src/plugins/charmap/main/ts/ui/Dialog.ts +0 -99
  1138. package/src/plugins/charmap/test/ts/atomic/ScanTest.ts +0 -33
  1139. package/src/plugins/charmap/test/ts/browser/CharmapAutocompletionTest.ts +0 -23
  1140. package/src/plugins/charmap/test/ts/browser/CharmapDialogHeightTest.ts +0 -80
  1141. package/src/plugins/charmap/test/ts/browser/CharmapPluginTest.ts +0 -108
  1142. package/src/plugins/charmap/test/ts/browser/CharmapSearchTest.ts +0 -55
  1143. package/src/plugins/charmap/test/ts/browser/CharmapUserDefinedTest.ts +0 -30
  1144. package/src/plugins/charmap/test/ts/browser/InsertQuotationMarkTest.ts +0 -24
  1145. package/src/plugins/charmap/test/ts/browser/NoneditableRootTest.ts +0 -40
  1146. package/src/plugins/charmap/test/ts/module/Helpers.ts +0 -12
  1147. package/src/plugins/code/demo/html/demo.html +0 -15
  1148. package/src/plugins/code/demo/ts/demo/Demo.ts +0 -12
  1149. package/src/plugins/code/main/ts/Main.ts +0 -9
  1150. package/src/plugins/code/main/ts/Plugin.ts +0 -13
  1151. package/src/plugins/code/main/ts/api/Commands.ts +0 -13
  1152. package/src/plugins/code/main/ts/core/Content.ts +0 -24
  1153. package/src/plugins/code/main/ts/ui/Buttons.ts +0 -22
  1154. package/src/plugins/code/main/ts/ui/Dialog.ts +0 -45
  1155. package/src/plugins/code/test/ts/browser/CodeSanityTest.ts +0 -51
  1156. package/src/plugins/code/test/ts/browser/CodeTextareaTest.ts +0 -36
  1157. package/src/plugins/codesample/demo/html/demo.html +0 -16
  1158. package/src/plugins/codesample/demo/ts/demo/Demo.ts +0 -22
  1159. package/src/plugins/codesample/main/ts/Main.ts +0 -9
  1160. package/src/plugins/codesample/main/ts/Plugin.ts +0 -23
  1161. package/src/plugins/codesample/main/ts/api/Commands.ts +0 -19
  1162. package/src/plugins/codesample/main/ts/api/Options.ts +0 -32
  1163. package/src/plugins/codesample/main/ts/core/CodeSample.ts +0 -44
  1164. package/src/plugins/codesample/main/ts/core/FilterContent.ts +0 -70
  1165. package/src/plugins/codesample/main/ts/core/Languages.ts +0 -41
  1166. package/src/plugins/codesample/main/ts/prism/Prism.ts +0 -15
  1167. package/src/plugins/codesample/main/ts/prism/prismjs.d.ts +0 -4
  1168. package/src/plugins/codesample/main/ts/ui/Buttons.ts +0 -50
  1169. package/src/plugins/codesample/main/ts/ui/Dialog.ts +0 -62
  1170. package/src/plugins/codesample/main/ts/util/Utils.ts +0 -16
  1171. package/src/plugins/codesample/test/ts/browser/ChangeCodeSampleTest.ts +0 -28
  1172. package/src/plugins/codesample/test/ts/browser/CodeSampleSanityTest.ts +0 -52
  1173. package/src/plugins/codesample/test/ts/browser/CodeSampleSelectionTest.ts +0 -46
  1174. package/src/plugins/codesample/test/ts/browser/NoneditableRootTest.ts +0 -40
  1175. package/src/plugins/codesample/test/ts/module/CodeSampleTestUtils.ts +0 -89
  1176. package/src/plugins/codesample/test/ts/webdriver/CodeSampleCopyAndPasteTest.ts +0 -134
  1177. package/src/plugins/directionality/demo/html/demo.html +0 -15
  1178. package/src/plugins/directionality/demo/ts/demo/Demo.ts +0 -12
  1179. package/src/plugins/directionality/main/ts/Main.ts +0 -9
  1180. package/src/plugins/directionality/main/ts/Plugin.ts +0 -11
  1181. package/src/plugins/directionality/main/ts/api/Commands.ts +0 -17
  1182. package/src/plugins/directionality/main/ts/core/Direction.ts +0 -65
  1183. package/src/plugins/directionality/main/ts/ui/Buttons.ts +0 -38
  1184. package/src/plugins/directionality/test/ts/browser/CommandsTest.ts +0 -43
  1185. package/src/plugins/directionality/test/ts/browser/DirectionStyleTest.ts +0 -319
  1186. package/src/plugins/directionality/test/ts/browser/DirectionalitySanityTest.ts +0 -169
  1187. package/src/plugins/directionality/test/ts/browser/NoneditableRootTest.ts +0 -36
  1188. package/src/plugins/emoticons/demo/html/demo.html +0 -15
  1189. package/src/plugins/emoticons/demo/ts/demo/Demo.ts +0 -19
  1190. package/src/plugins/emoticons/main/ts/Main.ts +0 -9
  1191. package/src/plugins/emoticons/main/ts/Plugin.ts +0 -34
  1192. package/src/plugins/emoticons/main/ts/api/Commands.ts +0 -12
  1193. package/src/plugins/emoticons/main/ts/api/Options.ts +0 -60
  1194. package/src/plugins/emoticons/main/ts/core/Actions.ts +0 -9
  1195. package/src/plugins/emoticons/main/ts/core/EmojiDatabase.ts +0 -150
  1196. package/src/plugins/emoticons/main/ts/core/Filters.ts +0 -14
  1197. package/src/plugins/emoticons/main/ts/core/Lookup.ts +0 -31
  1198. package/src/plugins/emoticons/main/ts/ui/Autocompletion.ts +0 -28
  1199. package/src/plugins/emoticons/main/ts/ui/Buttons.ts +0 -37
  1200. package/src/plugins/emoticons/main/ts/ui/Dialog.ts +0 -134
  1201. package/src/plugins/emoticons/test/js/test-emojis-alt.js +0 -717
  1202. package/src/plugins/emoticons/test/js/test-emojis.js +0 -27
  1203. package/src/plugins/emoticons/test/ts/browser/DifferentEmojiDatabaseTest.ts +0 -50
  1204. package/src/plugins/emoticons/test/ts/browser/EmojiAppendTest.ts +0 -76
  1205. package/src/plugins/emoticons/test/ts/browser/EmojiSearchTest.ts +0 -54
  1206. package/src/plugins/emoticons/test/ts/browser/EmoticonAutocompletionTest.ts +0 -29
  1207. package/src/plugins/emoticons/test/ts/browser/EmoticonsPluginTest.ts +0 -21
  1208. package/src/plugins/emoticons/test/ts/browser/ImageEmojiTest.ts +0 -58
  1209. package/src/plugins/emoticons/test/ts/browser/NoneditableRootTest.ts +0 -40
  1210. package/src/plugins/emoticons/test/ts/module/test/Utils.ts +0 -12
  1211. package/src/plugins/fullscreen/demo/html/demo.html +0 -18
  1212. package/src/plugins/fullscreen/demo/ts/demo/Demo.ts +0 -20
  1213. package/src/plugins/fullscreen/main/ts/Main.ts +0 -9
  1214. package/src/plugins/fullscreen/main/ts/Plugin.ts +0 -27
  1215. package/src/plugins/fullscreen/main/ts/api/Api.ts +0 -15
  1216. package/src/plugins/fullscreen/main/ts/api/Commands.ts +0 -15
  1217. package/src/plugins/fullscreen/main/ts/api/Events.ts +0 -10
  1218. package/src/plugins/fullscreen/main/ts/api/Options.ts +0 -24
  1219. package/src/plugins/fullscreen/main/ts/core/Actions.ts +0 -202
  1220. package/src/plugins/fullscreen/main/ts/core/NativeFullscreen.ts +0 -58
  1221. package/src/plugins/fullscreen/main/ts/core/Thor.ts +0 -68
  1222. package/src/plugins/fullscreen/main/ts/ui/Buttons.ts +0 -38
  1223. package/src/plugins/fullscreen/test/ts/browser/FullScreenPluginTest.ts +0 -219
  1224. package/src/plugins/fullscreen/test/ts/browser/FullScreenSinkTest.ts +0 -27
  1225. package/src/plugins/fullscreen/test/ts/browser/FullscreenPluginInlineEditorTest.ts +0 -22
  1226. package/src/plugins/fullscreen/test/ts/browser/FullscreenRestoreScrollTest.ts +0 -52
  1227. package/src/plugins/fullscreen/test/ts/webdriver/FullscreenPluginNativeModeTest.ts +0 -38
  1228. package/src/plugins/help/demo/html/demo.html +0 -26
  1229. package/src/plugins/help/demo/ts/demo/Demo.ts +0 -149
  1230. package/src/plugins/help/i18n/keynav/ar.html +0 -89
  1231. package/src/plugins/help/i18n/keynav/bg_BG.html +0 -89
  1232. package/src/plugins/help/i18n/keynav/ca.html +0 -89
  1233. package/src/plugins/help/i18n/keynav/cs.html +0 -89
  1234. package/src/plugins/help/i18n/keynav/da.html +0 -89
  1235. package/src/plugins/help/i18n/keynav/de.html +0 -89
  1236. package/src/plugins/help/i18n/keynav/el.html +0 -89
  1237. package/src/plugins/help/i18n/keynav/en.html +0 -89
  1238. package/src/plugins/help/i18n/keynav/es.html +0 -89
  1239. package/src/plugins/help/i18n/keynav/eu.html +0 -89
  1240. package/src/plugins/help/i18n/keynav/fa.html +0 -89
  1241. package/src/plugins/help/i18n/keynav/fi.html +0 -89
  1242. package/src/plugins/help/i18n/keynav/fr_FR.html +0 -89
  1243. package/src/plugins/help/i18n/keynav/he_IL.html +0 -89
  1244. package/src/plugins/help/i18n/keynav/hi.html +0 -89
  1245. package/src/plugins/help/i18n/keynav/hr.html +0 -89
  1246. package/src/plugins/help/i18n/keynav/hu_HU.html +0 -89
  1247. package/src/plugins/help/i18n/keynav/id.html +0 -89
  1248. package/src/plugins/help/i18n/keynav/it.html +0 -89
  1249. package/src/plugins/help/i18n/keynav/ja.html +0 -89
  1250. package/src/plugins/help/i18n/keynav/kk.html +0 -89
  1251. package/src/plugins/help/i18n/keynav/ko_KR.html +0 -89
  1252. package/src/plugins/help/i18n/keynav/ms.html +0 -89
  1253. package/src/plugins/help/i18n/keynav/nb_NO.html +0 -89
  1254. package/src/plugins/help/i18n/keynav/nl.html +0 -89
  1255. package/src/plugins/help/i18n/keynav/pl.html +0 -89
  1256. package/src/plugins/help/i18n/keynav/pt_BR.html +0 -89
  1257. package/src/plugins/help/i18n/keynav/pt_PT.html +0 -89
  1258. package/src/plugins/help/i18n/keynav/ro.html +0 -89
  1259. package/src/plugins/help/i18n/keynav/ru.html +0 -89
  1260. package/src/plugins/help/i18n/keynav/sk.html +0 -89
  1261. package/src/plugins/help/i18n/keynav/sl_SI.html +0 -89
  1262. package/src/plugins/help/i18n/keynav/sv_SE.html +0 -89
  1263. package/src/plugins/help/i18n/keynav/th_TH.html +0 -89
  1264. package/src/plugins/help/i18n/keynav/tr.html +0 -89
  1265. package/src/plugins/help/i18n/keynav/uk.html +0 -89
  1266. package/src/plugins/help/i18n/keynav/vi.html +0 -89
  1267. package/src/plugins/help/i18n/keynav/zh_CN.html +0 -83
  1268. package/src/plugins/help/i18n/keynav/zh_TW.html +0 -89
  1269. package/src/plugins/help/main/ts/Main.ts +0 -9
  1270. package/src/plugins/help/main/ts/Plugin.ts +0 -30
  1271. package/src/plugins/help/main/ts/alien/ConvertShortcut.ts +0 -34
  1272. package/src/plugins/help/main/ts/api/Api.ts +0 -24
  1273. package/src/plugins/help/main/ts/api/Commands.ts +0 -9
  1274. package/src/plugins/help/main/ts/api/Options.ts +0 -28
  1275. package/src/plugins/help/main/ts/data/KeyboardShortcuts.ts +0 -33
  1276. package/src/plugins/help/main/ts/data/PluginUrls.ts +0 -92
  1277. package/src/plugins/help/main/ts/ui/Buttons.ts +0 -20
  1278. package/src/plugins/help/main/ts/ui/Dialog.ts +0 -98
  1279. package/src/plugins/help/main/ts/ui/KeyboardNavTab.ts +0 -21
  1280. package/src/plugins/help/main/ts/ui/KeyboardNavTabI18n.ts +0 -21
  1281. package/src/plugins/help/main/ts/ui/KeyboardShortcutsTab.ts +0 -36
  1282. package/src/plugins/help/main/ts/ui/PluginsTab.ts +0 -119
  1283. package/src/plugins/help/main/ts/ui/VersionTab.ts +0 -27
  1284. package/src/plugins/help/test/ts/browser/CustomTabsTest.ts +0 -146
  1285. package/src/plugins/help/test/ts/browser/DialogKeyboardNavTest.ts +0 -106
  1286. package/src/plugins/help/test/ts/browser/IgnoreForcedPluginsTest.ts +0 -31
  1287. package/src/plugins/help/test/ts/browser/KeyboardNavTabI18nTest.ts +0 -59
  1288. package/src/plugins/help/test/ts/browser/MetadataTest.ts +0 -33
  1289. package/src/plugins/help/test/ts/browser/PluginTabsOrderTest.ts +0 -59
  1290. package/src/plugins/help/test/ts/browser/PluginTest.ts +0 -28
  1291. package/src/plugins/help/test/ts/module/PluginAssert.ts +0 -11
  1292. package/src/plugins/help/test/ts/module/Selectors.ts +0 -10
  1293. package/src/plugins/help/test/ts/module/test/FakePlugin.ts +0 -17
  1294. package/src/plugins/help/test/ts/module/test/NoMetaFakePlugin.ts +0 -7
  1295. package/src/plugins/image/demo/html/demo.html +0 -18
  1296. package/src/plugins/image/demo/ts/demo/Demo.ts +0 -34
  1297. package/src/plugins/image/main/ts/Main.ts +0 -9
  1298. package/src/plugins/image/main/ts/Plugin.ts +0 -15
  1299. package/src/plugins/image/main/ts/api/Commands.ts +0 -19
  1300. package/src/plugins/image/main/ts/api/Options.ts +0 -100
  1301. package/src/plugins/image/main/ts/core/FilterContent.ts +0 -38
  1302. package/src/plugins/image/main/ts/core/ImageData.ts +0 -308
  1303. package/src/plugins/image/main/ts/core/ImageSelection.ts +0 -142
  1304. package/src/plugins/image/main/ts/core/ListUtils.ts +0 -68
  1305. package/src/plugins/image/main/ts/core/Utils.ts +0 -179
  1306. package/src/plugins/image/main/ts/ui/AdvTab.ts +0 -56
  1307. package/src/plugins/image/main/ts/ui/Buttons.ts +0 -56
  1308. package/src/plugins/image/main/ts/ui/Dialog.ts +0 -405
  1309. package/src/plugins/image/main/ts/ui/DialogInfo.ts +0 -62
  1310. package/src/plugins/image/main/ts/ui/DialogTypes.ts +0 -75
  1311. package/src/plugins/image/main/ts/ui/MainTab.ts +0 -99
  1312. package/src/plugins/image/main/ts/ui/UploadTab.ts +0 -21
  1313. package/src/plugins/image/test/ts/browser/A11yImageTest.ts +0 -156
  1314. package/src/plugins/image/test/ts/browser/ContextMenuTest.ts +0 -93
  1315. package/src/plugins/image/test/ts/browser/DecorativeImageDialogTest.ts +0 -95
  1316. package/src/plugins/image/test/ts/browser/DialogTest.ts +0 -139
  1317. package/src/plugins/image/test/ts/browser/DialogUpdateTest.ts +0 -67
  1318. package/src/plugins/image/test/ts/browser/FigureDeleteTest.ts +0 -39
  1319. package/src/plugins/image/test/ts/browser/FigureResizeTest.ts +0 -66
  1320. package/src/plugins/image/test/ts/browser/ImageListTest.ts +0 -29
  1321. package/src/plugins/image/test/ts/browser/ImagePluginTest.ts +0 -217
  1322. package/src/plugins/image/test/ts/browser/ImageResizeTest.ts +0 -34
  1323. package/src/plugins/image/test/ts/browser/NoneditableRootTest.ts +0 -40
  1324. package/src/plugins/image/test/ts/browser/UploadTabTest.ts +0 -205
  1325. package/src/plugins/image/test/ts/browser/api/CommandsTest.ts +0 -157
  1326. package/src/plugins/image/test/ts/browser/core/ImageAlignTest.ts +0 -207
  1327. package/src/plugins/image/test/ts/browser/core/ImageDataTest.ts +0 -688
  1328. package/src/plugins/image/test/ts/browser/core/ImageSelectionTest.ts +0 -290
  1329. package/src/plugins/image/test/ts/browser/plugin/DefaultEmptyTest.ts +0 -39
  1330. package/src/plugins/image/test/ts/browser/plugin/DimensionsFalseTest.ts +0 -31
  1331. package/src/plugins/image/test/ts/browser/plugin/MainTabTest.ts +0 -98
  1332. package/src/plugins/image/test/ts/browser/plugin/PrependAbsoluteTest.ts +0 -36
  1333. package/src/plugins/image/test/ts/browser/plugin/PrependRelativeTest.ts +0 -36
  1334. package/src/plugins/image/test/ts/module/Helpers.ts +0 -140
  1335. package/src/plugins/importcss/demo/css/rules.css +0 -92
  1336. package/src/plugins/importcss/demo/html/demo.html +0 -15
  1337. package/src/plugins/importcss/demo/ts/demo/Demo.ts +0 -16
  1338. package/src/plugins/importcss/main/ts/Main.ts +0 -9
  1339. package/src/plugins/importcss/main/ts/Plugin.ts +0 -13
  1340. package/src/plugins/importcss/main/ts/api/Api.ts +0 -22
  1341. package/src/plugins/importcss/main/ts/api/Options.ts +0 -78
  1342. package/src/plugins/importcss/main/ts/core/ImportCss.ts +0 -287
  1343. package/src/plugins/importcss/main/ts/core/SelectorModel.ts +0 -59
  1344. package/src/plugins/importcss/test/css/advanced.css +0 -7
  1345. package/src/plugins/importcss/test/css/basic.css +0 -11
  1346. package/src/plugins/importcss/test/css/clashing.css +0 -3
  1347. package/src/plugins/importcss/test/css/internal.css +0 -18
  1348. package/src/plugins/importcss/test/css/other-adv.css +0 -3
  1349. package/src/plugins/importcss/test/ts/browser/ImportCssGroupsPluginTest.ts +0 -191
  1350. package/src/plugins/importcss/test/ts/browser/ImportCssPluginTest.ts +0 -342
  1351. package/src/plugins/importcss/test/ts/module/MenuNavigationTestUtils.ts +0 -58
  1352. package/src/plugins/insertdatetime/demo/html/demo.html +0 -15
  1353. package/src/plugins/insertdatetime/demo/ts/demo/Demo.ts +0 -16
  1354. package/src/plugins/insertdatetime/main/ts/Main.ts +0 -9
  1355. package/src/plugins/insertdatetime/main/ts/Plugin.ts +0 -13
  1356. package/src/plugins/insertdatetime/main/ts/api/Commands.ts +0 -18
  1357. package/src/plugins/insertdatetime/main/ts/api/Options.ts +0 -51
  1358. package/src/plugins/insertdatetime/main/ts/core/Actions.ts +0 -76
  1359. package/src/plugins/insertdatetime/main/ts/ui/Buttons.ts +0 -67
  1360. package/src/plugins/insertdatetime/test/ts/browser/InsertDatetimeSanityTest.ts +0 -35
  1361. package/src/plugins/insertdatetime/test/ts/browser/NoneditableRootTest.ts +0 -40
  1362. package/src/plugins/link/demo/html/demo.html +0 -21
  1363. package/src/plugins/link/demo/ts/demo/Demo.ts +0 -33
  1364. package/src/plugins/link/main/ts/Main.ts +0 -9
  1365. package/src/plugins/link/main/ts/Plugin.ts +0 -20
  1366. package/src/plugins/link/main/ts/api/Commands.ts +0 -24
  1367. package/src/plugins/link/main/ts/api/Options.ts +0 -112
  1368. package/src/plugins/link/main/ts/api/Types.ts +0 -6
  1369. package/src/plugins/link/main/ts/core/Actions.ts +0 -114
  1370. package/src/plugins/link/main/ts/core/Keyboard.ts +0 -11
  1371. package/src/plugins/link/main/ts/core/ListOptions.ts +0 -57
  1372. package/src/plugins/link/main/ts/core/OpenUrl.ts +0 -21
  1373. package/src/plugins/link/main/ts/core/Utils.ts +0 -333
  1374. package/src/plugins/link/main/ts/ui/Controls.ts +0 -172
  1375. package/src/plugins/link/main/ts/ui/Dialog.ts +0 -165
  1376. package/src/plugins/link/main/ts/ui/DialogChanges.ts +0 -105
  1377. package/src/plugins/link/main/ts/ui/DialogConfirms.ts +0 -64
  1378. package/src/plugins/link/main/ts/ui/DialogInfo.ts +0 -62
  1379. package/src/plugins/link/main/ts/ui/DialogTypes.ts +0 -81
  1380. package/src/plugins/link/main/ts/ui/sections/AnchorListOptions.ts +0 -21
  1381. package/src/plugins/link/main/ts/ui/sections/ClassListOptions.ts +0 -22
  1382. package/src/plugins/link/main/ts/ui/sections/LinkListOptions.ts +0 -45
  1383. package/src/plugins/link/main/ts/ui/sections/RelOptions.ts +0 -24
  1384. package/src/plugins/link/main/ts/ui/sections/TargetOptions.ts +0 -31
  1385. package/src/plugins/link/test/ts/atomic/DialogChangesTest.ts +0 -132
  1386. package/src/plugins/link/test/ts/browser/AllowUnsafeLinkTargetTest.ts +0 -80
  1387. package/src/plugins/link/test/ts/browser/AnchorFalseTest.ts +0 -40
  1388. package/src/plugins/link/test/ts/browser/AssumeExternalTargetsTest.ts +0 -108
  1389. package/src/plugins/link/test/ts/browser/ContextMenuTest.ts +0 -58
  1390. package/src/plugins/link/test/ts/browser/ContextToolbarTest.ts +0 -73
  1391. package/src/plugins/link/test/ts/browser/DefaultLinkProtocolTest.ts +0 -73
  1392. package/src/plugins/link/test/ts/browser/DefaultLinkTargetTest.ts +0 -81
  1393. package/src/plugins/link/test/ts/browser/DialogFlowTest.ts +0 -136
  1394. package/src/plugins/link/test/ts/browser/DialogOpenTest.ts +0 -143
  1395. package/src/plugins/link/test/ts/browser/DialogSectionsTest.ts +0 -159
  1396. package/src/plugins/link/test/ts/browser/ImageFigureLinkTest.ts +0 -50
  1397. package/src/plugins/link/test/ts/browser/LinkContextMenuTest.ts +0 -50
  1398. package/src/plugins/link/test/ts/browser/LinkDialogOverrideTest.ts +0 -69
  1399. package/src/plugins/link/test/ts/browser/LinkJustFirstFieldTest.ts +0 -40
  1400. package/src/plugins/link/test/ts/browser/ListOptionsTest.ts +0 -140
  1401. package/src/plugins/link/test/ts/browser/NoneditableRootTest.ts +0 -67
  1402. package/src/plugins/link/test/ts/browser/PreventDefaultTest.ts +0 -47
  1403. package/src/plugins/link/test/ts/browser/QuickLinkTest.ts +0 -219
  1404. package/src/plugins/link/test/ts/browser/RemoveLinkTest.ts +0 -70
  1405. package/src/plugins/link/test/ts/browser/SelectedImageFigureLinkTest.ts +0 -44
  1406. package/src/plugins/link/test/ts/browser/SelectedImageLinkTest.ts +0 -72
  1407. package/src/plugins/link/test/ts/browser/SelectedLinkTest.ts +0 -83
  1408. package/src/plugins/link/test/ts/browser/SelectedTextLinkTest.ts +0 -174
  1409. package/src/plugins/link/test/ts/browser/UpdateLinkTest.ts +0 -108
  1410. package/src/plugins/link/test/ts/browser/UrlInputTest.ts +0 -50
  1411. package/src/plugins/link/test/ts/browser/UrlProtocolTest.ts +0 -99
  1412. package/src/plugins/link/test/ts/module/TestLinkUi.ts +0 -137
  1413. package/src/plugins/lists/demo/html/demo.html +0 -15
  1414. package/src/plugins/lists/demo/ts/demo/Demo.ts +0 -13
  1415. package/src/plugins/lists/main/ts/Main.ts +0 -9
  1416. package/src/plugins/lists/main/ts/Plugin.ts +0 -28
  1417. package/src/plugins/lists/main/ts/actions/Indendation.ts +0 -45
  1418. package/src/plugins/lists/main/ts/actions/ToggleList.ts +0 -420
  1419. package/src/plugins/lists/main/ts/actions/Update.ts +0 -27
  1420. package/src/plugins/lists/main/ts/api/Api.ts +0 -17
  1421. package/src/plugins/lists/main/ts/api/Commands.ts +0 -65
  1422. package/src/plugins/lists/main/ts/api/Events.ts +0 -7
  1423. package/src/plugins/lists/main/ts/api/Options.ts +0 -28
  1424. package/src/plugins/lists/main/ts/core/Bookmark.ts +0 -126
  1425. package/src/plugins/lists/main/ts/core/Delete.ts +0 -317
  1426. package/src/plugins/lists/main/ts/core/DlIndentation.ts +0 -36
  1427. package/src/plugins/lists/main/ts/core/FilterContent.ts +0 -46
  1428. package/src/plugins/lists/main/ts/core/Keyboard.ts +0 -33
  1429. package/src/plugins/lists/main/ts/core/ListAction.ts +0 -15
  1430. package/src/plugins/lists/main/ts/core/ListNumbering.ts +0 -108
  1431. package/src/plugins/lists/main/ts/core/NodeType.ts +0 -84
  1432. package/src/plugins/lists/main/ts/core/NormalizeLists.ts +0 -44
  1433. package/src/plugins/lists/main/ts/core/RangeUtils.ts +0 -51
  1434. package/src/plugins/lists/main/ts/core/Selection.ts +0 -117
  1435. package/src/plugins/lists/main/ts/core/SplitList.ts +0 -56
  1436. package/src/plugins/lists/main/ts/core/TextBlock.ts +0 -52
  1437. package/src/plugins/lists/main/ts/core/Util.ts +0 -47
  1438. package/src/plugins/lists/main/ts/listmodel/ComposeList.ts +0 -130
  1439. package/src/plugins/lists/main/ts/listmodel/Entry.ts +0 -84
  1440. package/src/plugins/lists/main/ts/listmodel/Indentation.ts +0 -23
  1441. package/src/plugins/lists/main/ts/listmodel/ListsIndendation.ts +0 -65
  1442. package/src/plugins/lists/main/ts/listmodel/NormalizeEntries.ts +0 -46
  1443. package/src/plugins/lists/main/ts/listmodel/ParseLists.ts +0 -97
  1444. package/src/plugins/lists/main/ts/listmodel/Util.ts +0 -24
  1445. package/src/plugins/lists/main/ts/ui/Buttons.ts +0 -42
  1446. package/src/plugins/lists/main/ts/ui/Dialog.ts +0 -68
  1447. package/src/plugins/lists/main/ts/ui/MenuItems.ts +0 -35
  1448. package/src/plugins/lists/test/ts/atomic/ListNumberingTest.ts +0 -81
  1449. package/src/plugins/lists/test/ts/browser/ApplyDlTest.ts +0 -136
  1450. package/src/plugins/lists/test/ts/browser/ApplyListOnCustomList.ts +0 -46
  1451. package/src/plugins/lists/test/ts/browser/ApplyListOnParagraphWithStylesTest.ts +0 -30
  1452. package/src/plugins/lists/test/ts/browser/ApplyTest.ts +0 -949
  1453. package/src/plugins/lists/test/ts/browser/ApplyToDivTest.ts +0 -46
  1454. package/src/plugins/lists/test/ts/browser/BackspaceDeleteFromBlockIntoLiTest.ts +0 -147
  1455. package/src/plugins/lists/test/ts/browser/BackspaceDeleteInlineTest.ts +0 -59
  1456. package/src/plugins/lists/test/ts/browser/BackspaceDeleteTest.ts +0 -1003
  1457. package/src/plugins/lists/test/ts/browser/ChangeListStyleTest.ts +0 -86
  1458. package/src/plugins/lists/test/ts/browser/ContentEditableFalseActionsTest.ts +0 -171
  1459. package/src/plugins/lists/test/ts/browser/CutDeleteTest.ts +0 -44
  1460. package/src/plugins/lists/test/ts/browser/FilterContentTest.ts +0 -41
  1461. package/src/plugins/lists/test/ts/browser/IndentTest.ts +0 -698
  1462. package/src/plugins/lists/test/ts/browser/InlineTest.ts +0 -43
  1463. package/src/plugins/lists/test/ts/browser/ListModelTest.ts +0 -78
  1464. package/src/plugins/lists/test/ts/browser/ListPropertiesTest.ts +0 -254
  1465. package/src/plugins/lists/test/ts/browser/NoneditableRootTest.ts +0 -209
  1466. package/src/plugins/lists/test/ts/browser/OutdentTest.ts +0 -486
  1467. package/src/plugins/lists/test/ts/browser/RemoveForcedRootBlockAttrsTest.ts +0 -43
  1468. package/src/plugins/lists/test/ts/browser/RemoveTest.ts +0 -431
  1469. package/src/plugins/lists/test/ts/browser/RetainContentTest.ts +0 -164
  1470. package/src/plugins/lists/test/ts/browser/StyleTest.ts +0 -76
  1471. package/src/plugins/lists/test/ts/browser/TableInListTest.ts +0 -62
  1472. package/src/plugins/lists/test/ts/browser/ToggleListInTableCell.ts +0 -91
  1473. package/src/plugins/lists/test/ts/browser/ToggleListWithEmptyLiTest.ts +0 -24
  1474. package/src/plugins/lists/test/ts/module/ArbList.ts +0 -204
  1475. package/src/plugins/lists/test/ts/webdriver/ContentEditableFalseTest.ts +0 -111
  1476. package/src/plugins/lists/test/ts/webdriver/ContextMenuTest.ts +0 -30
  1477. package/src/plugins/lists/test/ts/webdriver/DeleteTest.ts +0 -64
  1478. package/src/plugins/media/demo/html/demo.html +0 -16
  1479. package/src/plugins/media/demo/ts/demo/Demo.ts +0 -28
  1480. package/src/plugins/media/main/ts/Main.ts +0 -9
  1481. package/src/plugins/media/main/ts/Plugin.ts +0 -21
  1482. package/src/plugins/media/main/ts/api/Api.ts +0 -21
  1483. package/src/plugins/media/main/ts/api/Commands.ts +0 -15
  1484. package/src/plugins/media/main/ts/api/Options.ts +0 -79
  1485. package/src/plugins/media/main/ts/core/DataToHtml.ts +0 -129
  1486. package/src/plugins/media/main/ts/core/FilterContent.ts +0 -105
  1487. package/src/plugins/media/main/ts/core/HtmlToData.ts +0 -81
  1488. package/src/plugins/media/main/ts/core/Mime.ts +0 -19
  1489. package/src/plugins/media/main/ts/core/Nodes.ts +0 -196
  1490. package/src/plugins/media/main/ts/core/Parser.ts +0 -9
  1491. package/src/plugins/media/main/ts/core/ResolveName.ts +0 -15
  1492. package/src/plugins/media/main/ts/core/Sanitize.ts +0 -16
  1493. package/src/plugins/media/main/ts/core/Selection.ts +0 -43
  1494. package/src/plugins/media/main/ts/core/Service.ts +0 -59
  1495. package/src/plugins/media/main/ts/core/Types.ts +0 -36
  1496. package/src/plugins/media/main/ts/core/UpdateHtml.ts +0 -126
  1497. package/src/plugins/media/main/ts/core/UrlPatterns.ts +0 -112
  1498. package/src/plugins/media/main/ts/ui/Buttons.ts +0 -48
  1499. package/src/plugins/media/main/ts/ui/Dialog.ts +0 -343
  1500. package/src/plugins/media/test/ts/atomic/HtmlToDataTest.ts +0 -96
  1501. package/src/plugins/media/test/ts/atomic/UpdateHtmlTest.ts +0 -38
  1502. package/src/plugins/media/test/ts/atomic/UrlPatternsTest.ts +0 -66
  1503. package/src/plugins/media/test/ts/browser/ContentFormatsTest.ts +0 -187
  1504. package/src/plugins/media/test/ts/browser/DataAttributeTest.ts +0 -58
  1505. package/src/plugins/media/test/ts/browser/DataToHtmlTest.ts +0 -157
  1506. package/src/plugins/media/test/ts/browser/DataUnwrapTest.ts +0 -61
  1507. package/src/plugins/media/test/ts/browser/DimensionsFalseEmbedTest.ts +0 -74
  1508. package/src/plugins/media/test/ts/browser/EphoxEmbedTest.ts +0 -108
  1509. package/src/plugins/media/test/ts/browser/IsCachedResponseTest.ts +0 -46
  1510. package/src/plugins/media/test/ts/browser/LiveEmbedNodeTest.ts +0 -153
  1511. package/src/plugins/media/test/ts/browser/MediaAlignmentTest.ts +0 -89
  1512. package/src/plugins/media/test/ts/browser/MediaEmbedTest.ts +0 -40
  1513. package/src/plugins/media/test/ts/browser/MediaPluginSanityTest.ts +0 -104
  1514. package/src/plugins/media/test/ts/browser/NoAdvancedTabTest.ts +0 -34
  1515. package/src/plugins/media/test/ts/browser/NoneditableRootTest.ts +0 -40
  1516. package/src/plugins/media/test/ts/browser/PlaceholderTest.ts +0 -138
  1517. package/src/plugins/media/test/ts/browser/ReopenResizeTest.ts +0 -52
  1518. package/src/plugins/media/test/ts/browser/ScriptContentTest.ts +0 -22
  1519. package/src/plugins/media/test/ts/browser/SubmitTest.ts +0 -173
  1520. package/src/plugins/media/test/ts/browser/UpdateMediaPosterAttributeTest.ts +0 -52
  1521. package/src/plugins/media/test/ts/module/test/Utils.ts +0 -212
  1522. package/src/plugins/nonbreaking/demo/html/demo.html +0 -15
  1523. package/src/plugins/nonbreaking/demo/ts/demo/Demo.ts +0 -14
  1524. package/src/plugins/nonbreaking/main/ts/Main.ts +0 -9
  1525. package/src/plugins/nonbreaking/main/ts/Plugin.ts +0 -22
  1526. package/src/plugins/nonbreaking/main/ts/api/Commands.ts +0 -13
  1527. package/src/plugins/nonbreaking/main/ts/api/Options.ts +0 -41
  1528. package/src/plugins/nonbreaking/main/ts/core/Actions.ts +0 -29
  1529. package/src/plugins/nonbreaking/main/ts/core/Keyboard.ts +0 -27
  1530. package/src/plugins/nonbreaking/main/ts/ui/Buttons.ts +0 -37
  1531. package/src/plugins/nonbreaking/test/ts/browser/NonbreakingForceTabTest.ts +0 -33
  1532. package/src/plugins/nonbreaking/test/ts/browser/NonbreakingOptionsTest.ts +0 -32
  1533. package/src/plugins/nonbreaking/test/ts/browser/NonbreakingSanityTest.ts +0 -37
  1534. package/src/plugins/nonbreaking/test/ts/browser/NonbreakingVisualCharsTest.ts +0 -69
  1535. package/src/plugins/nonbreaking/test/ts/browser/NoneditableRootTest.ts +0 -40
  1536. package/src/plugins/nonbreaking/test/ts/webdriver/NonbreakingTypingTest.ts +0 -117
  1537. package/src/plugins/nonbreaking/test/ts/webdriver/NonbreakingVisualCharsTypingTest.ts +0 -215
  1538. package/src/plugins/nonbreaking/test/ts/webdriver/NonbreakingWrapTypingTest.ts +0 -216
  1539. package/src/plugins/pagebreak/demo/html/demo.html +0 -15
  1540. package/src/plugins/pagebreak/demo/ts/demo/Demo.ts +0 -14
  1541. package/src/plugins/pagebreak/main/ts/Main.ts +0 -9
  1542. package/src/plugins/pagebreak/main/ts/Plugin.ts +0 -17
  1543. package/src/plugins/pagebreak/main/ts/api/Commands.ts +0 -14
  1544. package/src/plugins/pagebreak/main/ts/api/Options.ts +0 -31
  1545. package/src/plugins/pagebreak/main/ts/core/FilterContent.ts +0 -56
  1546. package/src/plugins/pagebreak/main/ts/core/ResolveName.ts +0 -15
  1547. package/src/plugins/pagebreak/main/ts/ui/Buttons.ts +0 -37
  1548. package/src/plugins/pagebreak/test/ts/browser/NoneditableRootTest.ts +0 -40
  1549. package/src/plugins/pagebreak/test/ts/browser/PageBreakSanityTest.ts +0 -34
  1550. package/src/plugins/pagebreak/test/ts/browser/PageBreakSplitBlockTest.ts +0 -129
  1551. package/src/plugins/preview/demo/html/demo.html +0 -34
  1552. package/src/plugins/preview/demo/ts/demo/Demo.ts +0 -14
  1553. package/src/plugins/preview/main/ts/Main.ts +0 -9
  1554. package/src/plugins/preview/main/ts/Plugin.ts +0 -11
  1555. package/src/plugins/preview/main/ts/api/Commands.ts +0 -13
  1556. package/src/plugins/preview/main/ts/api/Options.ts +0 -20
  1557. package/src/plugins/preview/main/ts/core/IframeContent.ts +0 -62
  1558. package/src/plugins/preview/main/ts/ui/Buttons.ts +0 -21
  1559. package/src/plugins/preview/main/ts/ui/Dialog.ts +0 -39
  1560. package/src/plugins/preview/test/ts/browser/PreviewContentCssTest.ts +0 -33
  1561. package/src/plugins/preview/test/ts/browser/PreviewContentStyleTest.ts +0 -47
  1562. package/src/plugins/preview/test/ts/browser/PreviewSanityTest.ts +0 -40
  1563. package/src/plugins/quickbars/demo/html/demo.html +0 -68
  1564. package/src/plugins/quickbars/demo/ts/demo/Demo.ts +0 -56
  1565. package/src/plugins/quickbars/main/ts/Main.ts +0 -9
  1566. package/src/plugins/quickbars/main/ts/Plugin.ts +0 -16
  1567. package/src/plugins/quickbars/main/ts/api/Options.ts +0 -56
  1568. package/src/plugins/quickbars/main/ts/insert/Actions.ts +0 -20
  1569. package/src/plugins/quickbars/main/ts/insert/Buttons.ts +0 -35
  1570. package/src/plugins/quickbars/main/ts/insert/Conversions.ts +0 -15
  1571. package/src/plugins/quickbars/main/ts/insert/Picker.ts +0 -56
  1572. package/src/plugins/quickbars/main/ts/insert/Toolbars.ts +0 -34
  1573. package/src/plugins/quickbars/main/ts/selection/Bookmark.ts +0 -122
  1574. package/src/plugins/quickbars/main/ts/selection/Toolbars.ts +0 -39
  1575. package/src/plugins/quickbars/test/ts/browser/ContentEditableTest.ts +0 -122
  1576. package/src/plugins/quickbars/test/ts/browser/InsertToolbarPredicateTest.ts +0 -70
  1577. package/src/plugins/quickbars/test/ts/browser/KeyboardShortcutContextToolbarTest.ts +0 -30
  1578. package/src/plugins/quickbars/test/ts/browser/OptionsTest.ts +0 -84
  1579. package/src/plugins/quickbars/test/ts/browser/SelectionToolbarTest.ts +0 -106
  1580. package/src/plugins/quickbars/test/ts/browser/ToolbarFalseTest.ts +0 -45
  1581. package/src/plugins/quickbars/test/ts/browser/ToolbarPositionTest.ts +0 -384
  1582. package/src/plugins/quickbars/test/ts/module/test/Utils.ts +0 -15
  1583. package/src/plugins/save/demo/html/demo.html +0 -18
  1584. package/src/plugins/save/demo/ts/demo/Demo.ts +0 -15
  1585. package/src/plugins/save/main/ts/Main.ts +0 -9
  1586. package/src/plugins/save/main/ts/Plugin.ts +0 -13
  1587. package/src/plugins/save/main/ts/api/Commands.ts +0 -17
  1588. package/src/plugins/save/main/ts/api/Options.ts +0 -36
  1589. package/src/plugins/save/main/ts/core/Actions.ts +0 -69
  1590. package/src/plugins/save/main/ts/ui/Buttons.ts +0 -39
  1591. package/src/plugins/save/test/ts/browser/SaveSanityTest.ts +0 -29
  1592. package/src/plugins/searchreplace/demo/html/demo.html +0 -21
  1593. package/src/plugins/searchreplace/demo/ts/demo/Demo.ts +0 -16
  1594. package/src/plugins/searchreplace/main/ts/Main.ts +0 -9
  1595. package/src/plugins/searchreplace/main/ts/Plugin.ts +0 -26
  1596. package/src/plugins/searchreplace/main/ts/api/Api.ts +0 -47
  1597. package/src/plugins/searchreplace/main/ts/api/Commands.ts +0 -16
  1598. package/src/plugins/searchreplace/main/ts/core/Actions.ts +0 -280
  1599. package/src/plugins/searchreplace/main/ts/core/FindMark.ts +0 -67
  1600. package/src/plugins/searchreplace/main/ts/core/TextCollect.ts +0 -190
  1601. package/src/plugins/searchreplace/main/ts/core/TextPosition.ts +0 -69
  1602. package/src/plugins/searchreplace/main/ts/core/Types.ts +0 -21
  1603. package/src/plugins/searchreplace/main/ts/ui/Buttons.ts +0 -32
  1604. package/src/plugins/searchreplace/main/ts/ui/Dialog.ts +0 -263
  1605. package/src/plugins/searchreplace/test/ts/browser/SearchReplaceDialogCyclingTest.ts +0 -109
  1606. package/src/plugins/searchreplace/test/ts/browser/SearchReplaceDialogTest.ts +0 -144
  1607. package/src/plugins/searchreplace/test/ts/browser/SearchReplaceInSelectionTest.ts +0 -240
  1608. package/src/plugins/searchreplace/test/ts/browser/SearchReplaceKeyboardNavigationTest.ts +0 -100
  1609. package/src/plugins/searchreplace/test/ts/browser/SearchReplacePluginTest.ts +0 -212
  1610. package/src/plugins/searchreplace/test/ts/browser/SearchReplacePrevNextTest.ts +0 -64
  1611. package/src/plugins/searchreplace/test/ts/browser/UndoReplaceSpanTest.ts +0 -35
  1612. package/src/plugins/searchreplace/test/ts/module/test/Utils.ts +0 -77
  1613. package/src/plugins/table/demo/html/demo.html +0 -123
  1614. package/src/plugins/table/demo/ts/demo/Demo.ts +0 -43
  1615. package/src/plugins/table/main/ts/Main.ts +0 -9
  1616. package/src/plugins/table/main/ts/Plugin.ts +0 -23
  1617. package/src/plugins/table/main/ts/actions/Styles.ts +0 -54
  1618. package/src/plugins/table/main/ts/api/Clipboard.ts +0 -67
  1619. package/src/plugins/table/main/ts/api/Commands.ts +0 -27
  1620. package/src/plugins/table/main/ts/api/Events.ts +0 -34
  1621. package/src/plugins/table/main/ts/api/Options.ts +0 -183
  1622. package/src/plugins/table/main/ts/core/Utils.ts +0 -45
  1623. package/src/plugins/table/main/ts/queries/TableTargets.ts +0 -33
  1624. package/src/plugins/table/main/ts/selection/Ephemera.ts +0 -28
  1625. package/src/plugins/table/main/ts/selection/SelectionTargets.ts +0 -194
  1626. package/src/plugins/table/main/ts/selection/TableSelection.ts +0 -54
  1627. package/src/plugins/table/main/ts/ui/Buttons.ts +0 -334
  1628. package/src/plugins/table/main/ts/ui/CellAlignValues.ts +0 -22
  1629. package/src/plugins/table/main/ts/ui/CellDialog.ts +0 -204
  1630. package/src/plugins/table/main/ts/ui/CellDialogGeneralTab.ts +0 -70
  1631. package/src/plugins/table/main/ts/ui/DialogAdvancedTab.ts +0 -46
  1632. package/src/plugins/table/main/ts/ui/DomModifier.ts +0 -40
  1633. package/src/plugins/table/main/ts/ui/Helpers.ts +0 -243
  1634. package/src/plugins/table/main/ts/ui/MenuItems.ts +0 -374
  1635. package/src/plugins/table/main/ts/ui/RowDialog.ts +0 -168
  1636. package/src/plugins/table/main/ts/ui/RowDialogGeneralTab.ts +0 -52
  1637. package/src/plugins/table/main/ts/ui/TableDialog.ts +0 -255
  1638. package/src/plugins/table/main/ts/ui/TableDialogGeneralTab.ts +0 -92
  1639. package/src/plugins/table/main/ts/ui/UiUtils.ts +0 -165
  1640. package/src/plugins/table/test/ts/atomic/UtilsTest.ts +0 -30
  1641. package/src/plugins/table/test/ts/browser/AlignedCellRowStyleChangeTest.ts +0 -71
  1642. package/src/plugins/table/test/ts/browser/ClipboardTest.ts +0 -794
  1643. package/src/plugins/table/test/ts/browser/HelpersTest.ts +0 -288
  1644. package/src/plugins/table/test/ts/browser/IndentListsInTableTest.ts +0 -46
  1645. package/src/plugins/table/test/ts/browser/InlineEditorInsideTableTest.ts +0 -119
  1646. package/src/plugins/table/test/ts/browser/NoneditableRootTest.ts +0 -201
  1647. package/src/plugins/table/test/ts/browser/TableCellPropsStyleTest.ts +0 -34
  1648. package/src/plugins/table/test/ts/browser/TableRemoveTrailingBrTest.ts +0 -128
  1649. package/src/plugins/table/test/ts/browser/settings/CustomTableToolbarTest.ts +0 -26
  1650. package/src/plugins/table/test/ts/browser/settings/DefaultTableToolbarTest.ts +0 -25
  1651. package/src/plugins/table/test/ts/browser/settings/TableAppearanceOptionsTest.ts +0 -57
  1652. package/src/plugins/table/test/ts/browser/settings/TableCellClassListTest.ts +0 -125
  1653. package/src/plugins/table/test/ts/browser/settings/TableClassListTest.ts +0 -96
  1654. package/src/plugins/table/test/ts/browser/settings/TableDefaultAttributesTest.ts +0 -54
  1655. package/src/plugins/table/test/ts/browser/settings/TableDefaultAttributesWithColGroupsTest.ts +0 -54
  1656. package/src/plugins/table/test/ts/browser/settings/TableDefaultStylesTest.ts +0 -139
  1657. package/src/plugins/table/test/ts/browser/settings/TableGridFalseTest.ts +0 -32
  1658. package/src/plugins/table/test/ts/browser/settings/TableRowClassListTest.ts +0 -125
  1659. package/src/plugins/table/test/ts/browser/settings/TableToolbarTest.ts +0 -51
  1660. package/src/plugins/table/test/ts/browser/settings/ToolbarButtonDisplayTest.ts +0 -44
  1661. package/src/plugins/table/test/ts/browser/ui/ContextMenuTest.ts +0 -210
  1662. package/src/plugins/table/test/ts/browser/ui/ContextToolbarTest.ts +0 -153
  1663. package/src/plugins/table/test/ts/browser/ui/LockedColumnDisabledButtonsTest.ts +0 -236
  1664. package/src/plugins/table/test/ts/browser/ui/TableBorderStyleTest.ts +0 -72
  1665. package/src/plugins/table/test/ts/browser/ui/TableBorderWidthTest.ts +0 -54
  1666. package/src/plugins/table/test/ts/browser/ui/TableCaptionTest.ts +0 -199
  1667. package/src/plugins/table/test/ts/browser/ui/TableCellBackgroundColorTest.ts +0 -48
  1668. package/src/plugins/table/test/ts/browser/ui/TableCellBorderColorTest.ts +0 -50
  1669. package/src/plugins/table/test/ts/browser/ui/TableCellDialogTest.ts +0 -533
  1670. package/src/plugins/table/test/ts/browser/ui/TableClassListButtonsTest.ts +0 -116
  1671. package/src/plugins/table/test/ts/browser/ui/TableColumnHeaderUiTest.ts +0 -89
  1672. package/src/plugins/table/test/ts/browser/ui/TableDialogKeyboardNavTest.ts +0 -88
  1673. package/src/plugins/table/test/ts/browser/ui/TableDialogStyleWithCssTest.ts +0 -263
  1674. package/src/plugins/table/test/ts/browser/ui/TableDialogTest.ts +0 -632
  1675. package/src/plugins/table/test/ts/browser/ui/TableDialogWithoutCssTest.ts +0 -85
  1676. package/src/plugins/table/test/ts/browser/ui/TableRowDialogTest.ts +0 -667
  1677. package/src/plugins/table/test/ts/browser/ui/TableRowHeaderUiTest.ts +0 -105
  1678. package/src/plugins/table/test/ts/browser/ui/TableValignButtonsTest.ts +0 -96
  1679. package/src/plugins/table/test/ts/module/test/TableModifiersTestUtils.ts +0 -242
  1680. package/src/plugins/table/test/ts/module/test/TableTestUtils.ts +0 -273
  1681. package/src/plugins/visualblocks/demo/html/demo.html +0 -32
  1682. package/src/plugins/visualblocks/demo/ts/demo/Demo.ts +0 -33
  1683. package/src/plugins/visualblocks/main/img/address.gif +0 -0
  1684. package/src/plugins/visualblocks/main/img/article.gif +0 -0
  1685. package/src/plugins/visualblocks/main/img/aside.gif +0 -0
  1686. package/src/plugins/visualblocks/main/img/blockquote.gif +0 -0
  1687. package/src/plugins/visualblocks/main/img/div.gif +0 -0
  1688. package/src/plugins/visualblocks/main/img/dl.gif +0 -0
  1689. package/src/plugins/visualblocks/main/img/figure.gif +0 -0
  1690. package/src/plugins/visualblocks/main/img/h1.gif +0 -0
  1691. package/src/plugins/visualblocks/main/img/h2.gif +0 -0
  1692. package/src/plugins/visualblocks/main/img/h3.gif +0 -0
  1693. package/src/plugins/visualblocks/main/img/h4.gif +0 -0
  1694. package/src/plugins/visualblocks/main/img/h5.gif +0 -0
  1695. package/src/plugins/visualblocks/main/img/h6.gif +0 -0
  1696. package/src/plugins/visualblocks/main/img/hgroup.gif +0 -0
  1697. package/src/plugins/visualblocks/main/img/ol.gif +0 -0
  1698. package/src/plugins/visualblocks/main/img/p.gif +0 -0
  1699. package/src/plugins/visualblocks/main/img/pre.gif +0 -0
  1700. package/src/plugins/visualblocks/main/img/section.gif +0 -0
  1701. package/src/plugins/visualblocks/main/img/ul.gif +0 -0
  1702. package/src/plugins/visualblocks/main/ts/Main.ts +0 -9
  1703. package/src/plugins/visualblocks/main/ts/Plugin.ts +0 -19
  1704. package/src/plugins/visualblocks/main/ts/api/Commands.ts +0 -15
  1705. package/src/plugins/visualblocks/main/ts/api/Events.ts +0 -9
  1706. package/src/plugins/visualblocks/main/ts/api/Options.ts +0 -24
  1707. package/src/plugins/visualblocks/main/ts/core/Bindings.ts +0 -25
  1708. package/src/plugins/visualblocks/main/ts/core/VisualBlocks.ts +0 -18
  1709. package/src/plugins/visualblocks/main/ts/ui/Buttons.ts +0 -34
  1710. package/src/plugins/visualblocks/test/ts/browser/PreviewFormatTest.ts +0 -57
  1711. package/src/plugins/visualblocks/test/ts/browser/VisualBlocksSanityTest.ts +0 -41
  1712. package/src/plugins/visualchars/demo/html/demo.html +0 -15
  1713. package/src/plugins/visualchars/demo/ts/demo/Demo.ts +0 -14
  1714. package/src/plugins/visualchars/main/ts/Main.ts +0 -9
  1715. package/src/plugins/visualchars/main/ts/Plugin.ts +0 -24
  1716. package/src/plugins/visualchars/main/ts/api/Api.ts +0 -19
  1717. package/src/plugins/visualchars/main/ts/api/Commands.ts +0 -15
  1718. package/src/plugins/visualchars/main/ts/api/Events.ts +0 -10
  1719. package/src/plugins/visualchars/main/ts/api/Options.ts +0 -24
  1720. package/src/plugins/visualchars/main/ts/core/Actions.ts +0 -31
  1721. package/src/plugins/visualchars/main/ts/core/Bindings.ts +0 -26
  1722. package/src/plugins/visualchars/main/ts/core/Data.ts +0 -35
  1723. package/src/plugins/visualchars/main/ts/core/Html.ts +0 -8
  1724. package/src/plugins/visualchars/main/ts/core/Keyboard.ts +0 -23
  1725. package/src/plugins/visualchars/main/ts/core/Nodes.ts +0 -68
  1726. package/src/plugins/visualchars/main/ts/core/VisualChars.ts +0 -61
  1727. package/src/plugins/visualchars/main/ts/ui/Buttons.ts +0 -34
  1728. package/src/plugins/visualchars/test/ts/atomic/DataTest.ts +0 -22
  1729. package/src/plugins/visualchars/test/ts/atomic/HtmlTest.ts +0 -23
  1730. package/src/plugins/visualchars/test/ts/browser/DefaultStateTest.ts +0 -30
  1731. package/src/plugins/visualchars/test/ts/browser/InlinePluginTest.ts +0 -33
  1732. package/src/plugins/visualchars/test/ts/browser/NodesTest.ts +0 -121
  1733. package/src/plugins/visualchars/test/ts/browser/PluginTest.ts +0 -121
  1734. package/src/plugins/visualchars/test/ts/module/test/Utils.ts +0 -42
  1735. package/src/plugins/wordcount/demo/html/demo.html +0 -18
  1736. package/src/plugins/wordcount/demo/ts/demo/Demo.ts +0 -12
  1737. package/src/plugins/wordcount/main/ts/Main.ts +0 -9
  1738. package/src/plugins/wordcount/main/ts/Plugin.ts +0 -17
  1739. package/src/plugins/wordcount/main/ts/api/Api.ts +0 -44
  1740. package/src/plugins/wordcount/main/ts/api/Commands.ts +0 -12
  1741. package/src/plugins/wordcount/main/ts/api/Events.ts +0 -17
  1742. package/src/plugins/wordcount/main/ts/core/Count.ts +0 -38
  1743. package/src/plugins/wordcount/main/ts/core/GetText.ts +0 -35
  1744. package/src/plugins/wordcount/main/ts/core/WordCounter.ts +0 -28
  1745. package/src/plugins/wordcount/main/ts/ui/Buttons.ts +0 -21
  1746. package/src/plugins/wordcount/main/ts/ui/Dialog.ts +0 -47
  1747. package/src/plugins/wordcount/test/ts/browser/PluginTest.ts +0 -228
  1748. package/src/plugins/wordcount/test/ts/browser/api/ApiTest.ts +0 -88
  1749. package/src/plugins/wordcount/test/ts/browser/core/GetTextTest.ts +0 -33
  1750. package/src/themes/silver/demo/html/demo/demo-with-scrolling.html +0 -347
  1751. package/src/themes/silver/demo/html/demo/demo.html +0 -125
  1752. package/src/themes/silver/demo/html/demo/format-select-demo.html +0 -61
  1753. package/src/themes/silver/demo/html/demo/menu-item-demo.html +0 -96
  1754. package/src/themes/silver/demo/html/demo/sidebar-demo.html +0 -97
  1755. package/src/themes/silver/demo/html/demo/toolbar-button-demo.html +0 -97
  1756. package/src/themes/silver/demo/html/demo/tree-demo.html +0 -21
  1757. package/src/themes/silver/demo/ts/demo/ButtonSetupDemo.ts +0 -247
  1758. package/src/themes/silver/demo/ts/demo/Demos.ts +0 -19
  1759. package/src/themes/silver/demo/ts/demo/FormatSelectDemo.ts +0 -70
  1760. package/src/themes/silver/demo/ts/demo/MenuItemDemo.ts +0 -135
  1761. package/src/themes/silver/demo/ts/demo/MockDemo.ts +0 -34
  1762. package/src/themes/silver/demo/ts/demo/PlayDemo.ts +0 -142
  1763. package/src/themes/silver/demo/ts/demo/SidebarDemo.ts +0 -49
  1764. package/src/themes/silver/demo/ts/demo/ToolbarButtonDemo.ts +0 -97
  1765. package/src/themes/silver/demo/ts/demo/TreeDemo.ts +0 -177
  1766. package/src/themes/silver/main/resources/StatusbarLogo.d.ts +0 -1
  1767. package/src/themes/silver/main/resources/StatusbarLogo.js +0 -3
  1768. package/src/themes/silver/main/resources/statusbar-logo.svg +0 -3
  1769. package/src/themes/silver/main/ts/Autocompleter.ts +0 -215
  1770. package/src/themes/silver/main/ts/Channels.ts +0 -7
  1771. package/src/themes/silver/main/ts/Events.ts +0 -153
  1772. package/src/themes/silver/main/ts/Main.ts +0 -9
  1773. package/src/themes/silver/main/ts/ReadOnly.ts +0 -67
  1774. package/src/themes/silver/main/ts/Render.ts +0 -571
  1775. package/src/themes/silver/main/ts/Theme.ts +0 -88
  1776. package/src/themes/silver/main/ts/alien/NotificationManagerImpl.ts +0 -143
  1777. package/src/themes/silver/main/ts/api/Events.ts +0 -82
  1778. package/src/themes/silver/main/ts/api/Options.ts +0 -490
  1779. package/src/themes/silver/main/ts/autocomplete/AutocompleteEditorEvents.ts +0 -78
  1780. package/src/themes/silver/main/ts/backstage/Anchors.ts +0 -184
  1781. package/src/themes/silver/main/ts/backstage/Backstage.ts +0 -109
  1782. package/src/themes/silver/main/ts/backstage/ColorInputBackstage.ts +0 -31
  1783. package/src/themes/silver/main/ts/backstage/DialogBackstage.ts +0 -13
  1784. package/src/themes/silver/main/ts/backstage/HeaderBackstage.ts +0 -21
  1785. package/src/themes/silver/main/ts/backstage/StyleFormatsBackstage.ts +0 -53
  1786. package/src/themes/silver/main/ts/backstage/TooltipsBackstage.ts +0 -62
  1787. package/src/themes/silver/main/ts/backstage/UrlInputBackstage.ts +0 -106
  1788. package/src/themes/silver/main/ts/backstage/UrlInputHistory.ts +0 -72
  1789. package/src/themes/silver/main/ts/modes/Iframe.ts +0 -210
  1790. package/src/themes/silver/main/ts/modes/Inline.ts +0 -219
  1791. package/src/themes/silver/main/ts/modes/ScrollingContext.ts +0 -70
  1792. package/src/themes/silver/main/ts/modes/Toolbars.ts +0 -32
  1793. package/src/themes/silver/main/ts/modes/UiReferences.ts +0 -70
  1794. package/src/themes/silver/main/ts/ui/alien/ComposingConfigs.ts +0 -25
  1795. package/src/themes/silver/main/ts/ui/alien/ConvertShortcut.ts +0 -36
  1796. package/src/themes/silver/main/ts/ui/alien/DialogTabHeight.ts +0 -171
  1797. package/src/themes/silver/main/ts/ui/alien/DisablingConfigs.ts +0 -30
  1798. package/src/themes/silver/main/ts/ui/alien/FieldLabeller.ts +0 -56
  1799. package/src/themes/silver/main/ts/ui/alien/FlatgridAutodetect.ts +0 -28
  1800. package/src/themes/silver/main/ts/ui/alien/RepresentingConfigs.ts +0 -75
  1801. package/src/themes/silver/main/ts/ui/alien/SimpleBehaviours.ts +0 -17
  1802. package/src/themes/silver/main/ts/ui/alien/UiUtils.ts +0 -8
  1803. package/src/themes/silver/main/ts/ui/button/ButtonSlices.ts +0 -37
  1804. package/src/themes/silver/main/ts/ui/button/MenuButton.ts +0 -144
  1805. package/src/themes/silver/main/ts/ui/context/ContextEditorEvents.ts +0 -10
  1806. package/src/themes/silver/main/ts/ui/context/ContextForm.ts +0 -73
  1807. package/src/themes/silver/main/ts/ui/context/ContextFormButtons.ts +0 -98
  1808. package/src/themes/silver/main/ts/ui/context/ContextToolbar.ts +0 -315
  1809. package/src/themes/silver/main/ts/ui/context/ContextToolbarAnchor.ts +0 -146
  1810. package/src/themes/silver/main/ts/ui/context/ContextToolbarBounds.ts +0 -132
  1811. package/src/themes/silver/main/ts/ui/context/ContextToolbarLookup.ts +0 -134
  1812. package/src/themes/silver/main/ts/ui/context/ContextToolbarScopes.ts +0 -81
  1813. package/src/themes/silver/main/ts/ui/context/ContextUi.ts +0 -128
  1814. package/src/themes/silver/main/ts/ui/controls/Controls.ts +0 -40
  1815. package/src/themes/silver/main/ts/ui/core/AlignmentButtons.ts +0 -34
  1816. package/src/themes/silver/main/ts/ui/core/ChoiceControls.ts +0 -137
  1817. package/src/themes/silver/main/ts/ui/core/ComplexControls.ts +0 -20
  1818. package/src/themes/silver/main/ts/ui/core/ControlUtils.ts +0 -80
  1819. package/src/themes/silver/main/ts/ui/core/FormatControls.ts +0 -28
  1820. package/src/themes/silver/main/ts/ui/core/HtmlSanitizer.ts +0 -3
  1821. package/src/themes/silver/main/ts/ui/core/IndentOutdent.ts +0 -33
  1822. package/src/themes/silver/main/ts/ui/core/LinkTargets.ts +0 -144
  1823. package/src/themes/silver/main/ts/ui/core/PasteControls.ts +0 -47
  1824. package/src/themes/silver/main/ts/ui/core/SimpleControls.ts +0 -144
  1825. package/src/themes/silver/main/ts/ui/core/UndoRedo.ts +0 -58
  1826. package/src/themes/silver/main/ts/ui/core/VisualAid.ts +0 -34
  1827. package/src/themes/silver/main/ts/ui/core/color/ColorCache.ts +0 -90
  1828. package/src/themes/silver/main/ts/ui/core/color/ColorSwatch.ts +0 -303
  1829. package/src/themes/silver/main/ts/ui/core/color/Options.ts +0 -175
  1830. package/src/themes/silver/main/ts/ui/core/complex/AlignBespoke.ts +0 -74
  1831. package/src/themes/silver/main/ts/ui/core/complex/BespokeNumberInput.ts +0 -239
  1832. package/src/themes/silver/main/ts/ui/core/complex/BespokeSelect.ts +0 -245
  1833. package/src/themes/silver/main/ts/ui/core/complex/BlocksBespoke.ts +0 -74
  1834. package/src/themes/silver/main/ts/ui/core/complex/FontFamilyBespoke.ts +0 -125
  1835. package/src/themes/silver/main/ts/ui/core/complex/FontSizeBespoke.ts +0 -195
  1836. package/src/themes/silver/main/ts/ui/core/complex/SelectDatasets.ts +0 -67
  1837. package/src/themes/silver/main/ts/ui/core/complex/StyleFormat.ts +0 -131
  1838. package/src/themes/silver/main/ts/ui/core/complex/StylesBespoke.ts +0 -83
  1839. package/src/themes/silver/main/ts/ui/core/complex/utils/FormatDetection.ts +0 -14
  1840. package/src/themes/silver/main/ts/ui/core/complex/utils/FormatRegister.ts +0 -73
  1841. package/src/themes/silver/main/ts/ui/core/complex/utils/Tooltip.ts +0 -8
  1842. package/src/themes/silver/main/ts/ui/dialog/AlertDialog.ts +0 -65
  1843. package/src/themes/silver/main/ts/ui/dialog/Bar.ts +0 -15
  1844. package/src/themes/silver/main/ts/ui/dialog/BodyPanel.ts +0 -74
  1845. package/src/themes/silver/main/ts/ui/dialog/Collection.ts +0 -195
  1846. package/src/themes/silver/main/ts/ui/dialog/ColorInput.ts +0 -183
  1847. package/src/themes/silver/main/ts/ui/dialog/ColorPicker.ts +0 -107
  1848. package/src/themes/silver/main/ts/ui/dialog/ConfirmDialog.ts +0 -77
  1849. package/src/themes/silver/main/ts/ui/dialog/CustomEditor.ts +0 -79
  1850. package/src/themes/silver/main/ts/ui/dialog/Dialogs.ts +0 -207
  1851. package/src/themes/silver/main/ts/ui/dialog/Dropzone.ts +0 -154
  1852. package/src/themes/silver/main/ts/ui/dialog/Grid.ts +0 -15
  1853. package/src/themes/silver/main/ts/ui/dialog/IFrame.ts +0 -188
  1854. package/src/themes/silver/main/ts/ui/dialog/ImagePreview.ts +0 -156
  1855. package/src/themes/silver/main/ts/ui/dialog/Label.ts +0 -45
  1856. package/src/themes/silver/main/ts/ui/dialog/ListBox.ts +0 -139
  1857. package/src/themes/silver/main/ts/ui/dialog/Panel.ts +0 -21
  1858. package/src/themes/silver/main/ts/ui/dialog/SelectBox.ts +0 -78
  1859. package/src/themes/silver/main/ts/ui/dialog/SizeInput.ts +0 -169
  1860. package/src/themes/silver/main/ts/ui/dialog/Slider.ts +0 -69
  1861. package/src/themes/silver/main/ts/ui/dialog/TabPanel.ts +0 -168
  1862. package/src/themes/silver/main/ts/ui/dialog/Table.ts +0 -46
  1863. package/src/themes/silver/main/ts/ui/dialog/TextField.ts +0 -161
  1864. package/src/themes/silver/main/ts/ui/dialog/Tree.ts +0 -405
  1865. package/src/themes/silver/main/ts/ui/dialog/UrlInput.ts +0 -296
  1866. package/src/themes/silver/main/ts/ui/dialog/WindowManager.ts +0 -393
  1867. package/src/themes/silver/main/ts/ui/dropdown/CommonDropdown.ts +0 -275
  1868. package/src/themes/silver/main/ts/ui/general/AlertBanner.ts +0 -62
  1869. package/src/themes/silver/main/ts/ui/general/Button.ts +0 -309
  1870. package/src/themes/silver/main/ts/ui/general/Checkbox.ts +0 -110
  1871. package/src/themes/silver/main/ts/ui/general/FormEvents.ts +0 -63
  1872. package/src/themes/silver/main/ts/ui/general/FormValues.ts +0 -21
  1873. package/src/themes/silver/main/ts/ui/general/HtmlPanel.ts +0 -62
  1874. package/src/themes/silver/main/ts/ui/general/NavigableObject.ts +0 -76
  1875. package/src/themes/silver/main/ts/ui/general/Notification.ts +0 -222
  1876. package/src/themes/silver/main/ts/ui/general/OuterContainer.ts +0 -463
  1877. package/src/themes/silver/main/ts/ui/general/PanelButton.ts +0 -67
  1878. package/src/themes/silver/main/ts/ui/general/UiFactory.ts +0 -110
  1879. package/src/themes/silver/main/ts/ui/header/CommonHeader.ts +0 -26
  1880. package/src/themes/silver/main/ts/ui/header/InlineHeader.ts +0 -379
  1881. package/src/themes/silver/main/ts/ui/header/StaticHeader.ts +0 -11
  1882. package/src/themes/silver/main/ts/ui/header/StickyHeader.ts +0 -311
  1883. package/src/themes/silver/main/ts/ui/icons/Icons.ts +0 -110
  1884. package/src/themes/silver/main/ts/ui/menus/contextmenu/Coords.ts +0 -85
  1885. package/src/themes/silver/main/ts/ui/menus/contextmenu/Options.ts +0 -66
  1886. package/src/themes/silver/main/ts/ui/menus/contextmenu/SilverContextMenu.ts +0 -192
  1887. package/src/themes/silver/main/ts/ui/menus/contextmenu/platform/DesktopContextMenu.ts +0 -44
  1888. package/src/themes/silver/main/ts/ui/menus/contextmenu/platform/MobileContextMenu.ts +0 -169
  1889. package/src/themes/silver/main/ts/ui/menus/item/ItemClasses.ts +0 -57
  1890. package/src/themes/silver/main/ts/ui/menus/item/ItemEvents.ts +0 -29
  1891. package/src/themes/silver/main/ts/ui/menus/item/ItemResponse.ts +0 -6
  1892. package/src/themes/silver/main/ts/ui/menus/item/MenuItems.ts +0 -28
  1893. package/src/themes/silver/main/ts/ui/menus/item/build/AutocompleteMenuItem.ts +0 -111
  1894. package/src/themes/silver/main/ts/ui/menus/item/build/CardMenuItem.ts +0 -84
  1895. package/src/themes/silver/main/ts/ui/menus/item/build/ChoiceItem.ts +0 -82
  1896. package/src/themes/silver/main/ts/ui/menus/item/build/ColorSwatchItem.ts +0 -57
  1897. package/src/themes/silver/main/ts/ui/menus/item/build/CommonMenuItem.ts +0 -99
  1898. package/src/themes/silver/main/ts/ui/menus/item/build/FancyMenuItem.ts +0 -19
  1899. package/src/themes/silver/main/ts/ui/menus/item/build/InsertTableMenuItem.ts +0 -142
  1900. package/src/themes/silver/main/ts/ui/menus/item/build/NestedMenuItem.ts +0 -51
  1901. package/src/themes/silver/main/ts/ui/menus/item/build/NormalMenuItem.ts +0 -40
  1902. package/src/themes/silver/main/ts/ui/menus/item/build/SeparatorItem.ts +0 -17
  1903. package/src/themes/silver/main/ts/ui/menus/item/build/ToggleMenuItem.ts +0 -62
  1904. package/src/themes/silver/main/ts/ui/menus/item/structure/ItemSlices.ts +0 -121
  1905. package/src/themes/silver/main/ts/ui/menus/item/structure/ItemStructure.ts +0 -149
  1906. package/src/themes/silver/main/ts/ui/menus/menu/MenuChoice.ts +0 -61
  1907. package/src/themes/silver/main/ts/ui/menus/menu/MenuClasses.ts +0 -31
  1908. package/src/themes/silver/main/ts/ui/menus/menu/MenuConversion.ts +0 -131
  1909. package/src/themes/silver/main/ts/ui/menus/menu/MenuMovement.ts +0 -63
  1910. package/src/themes/silver/main/ts/ui/menus/menu/MenuParts.ts +0 -56
  1911. package/src/themes/silver/main/ts/ui/menus/menu/MenuStructures.ts +0 -235
  1912. package/src/themes/silver/main/ts/ui/menus/menu/MenuUtils.ts +0 -104
  1913. package/src/themes/silver/main/ts/ui/menus/menu/MenuWidgets.ts +0 -55
  1914. package/src/themes/silver/main/ts/ui/menus/menu/NestedMenus.ts +0 -82
  1915. package/src/themes/silver/main/ts/ui/menus/menu/SingleMenu.ts +0 -228
  1916. package/src/themes/silver/main/ts/ui/menus/menu/SingleMenuTypes.ts +0 -4
  1917. package/src/themes/silver/main/ts/ui/menus/menu/searchable/SearchableMenu.ts +0 -164
  1918. package/src/themes/silver/main/ts/ui/menus/menu/searchable/SearchableMenuEvents.ts +0 -32
  1919. package/src/themes/silver/main/ts/ui/menus/menu/searchable/SearchableMenuField.ts +0 -181
  1920. package/src/themes/silver/main/ts/ui/menus/menu/searchable/SearchableMenus.ts +0 -23
  1921. package/src/themes/silver/main/ts/ui/menus/menubar/Integration.ts +0 -86
  1922. package/src/themes/silver/main/ts/ui/menus/menubar/SilverMenubar.ts +0 -152
  1923. package/src/themes/silver/main/ts/ui/promotion/Promotion.ts +0 -29
  1924. package/src/themes/silver/main/ts/ui/selector/TableSelectorHandles.ts +0 -230
  1925. package/src/themes/silver/main/ts/ui/sidebar/Sidebar.ts +0 -251
  1926. package/src/themes/silver/main/ts/ui/sizeinput/SizeInputModel.ts +0 -87
  1927. package/src/themes/silver/main/ts/ui/sizing/EditorSize.ts +0 -32
  1928. package/src/themes/silver/main/ts/ui/sizing/Resize.ts +0 -41
  1929. package/src/themes/silver/main/ts/ui/sizing/Utils.ts +0 -24
  1930. package/src/themes/silver/main/ts/ui/skin/Loader.ts +0 -98
  1931. package/src/themes/silver/main/ts/ui/skin/SkinLoaded.ts +0 -26
  1932. package/src/themes/silver/main/ts/ui/statusbar/ElementPath.ts +0 -132
  1933. package/src/themes/silver/main/ts/ui/statusbar/ResizeHandle.ts +0 -70
  1934. package/src/themes/silver/main/ts/ui/statusbar/Statusbar.ts +0 -144
  1935. package/src/themes/silver/main/ts/ui/statusbar/WordCount.ts +0 -67
  1936. package/src/themes/silver/main/ts/ui/throbber/Throbber.ts +0 -170
  1937. package/src/themes/silver/main/ts/ui/toolbar/CommonToolbar.ts +0 -231
  1938. package/src/themes/silver/main/ts/ui/toolbar/Integration.ts +0 -210
  1939. package/src/themes/silver/main/ts/ui/toolbar/button/ButtonClasses.ts +0 -17
  1940. package/src/themes/silver/main/ts/ui/toolbar/button/ButtonEvents.ts +0 -45
  1941. package/src/themes/silver/main/ts/ui/toolbar/button/ToolbarButtons.ts +0 -438
  1942. package/src/themes/silver/main/ts/ui/urlinput/Completions.ts +0 -86
  1943. package/src/themes/silver/main/ts/ui/view/View.ts +0 -160
  1944. package/src/themes/silver/main/ts/ui/view/ViewButtons.ts +0 -88
  1945. package/src/themes/silver/main/ts/ui/view/ViewTypes.ts +0 -3
  1946. package/src/themes/silver/main/ts/ui/view/ViewWrapper.ts +0 -174
  1947. package/src/themes/silver/main/ts/ui/window/DialogChannels.ts +0 -17
  1948. package/src/themes/silver/main/ts/ui/window/SilverDialog.ts +0 -102
  1949. package/src/themes/silver/main/ts/ui/window/SilverDialogBody.ts +0 -121
  1950. package/src/themes/silver/main/ts/ui/window/SilverDialogCommon.ts +0 -163
  1951. package/src/themes/silver/main/ts/ui/window/SilverDialogEvents.ts +0 -137
  1952. package/src/themes/silver/main/ts/ui/window/SilverDialogFooter.ts +0 -94
  1953. package/src/themes/silver/main/ts/ui/window/SilverDialogHeader.ts +0 -127
  1954. package/src/themes/silver/main/ts/ui/window/SilverDialogInstanceApi.ts +0 -168
  1955. package/src/themes/silver/main/ts/ui/window/SilverInlineDialog.ts +0 -184
  1956. package/src/themes/silver/main/ts/ui/window/SilverUrlDialog.ts +0 -158
  1957. package/src/themes/silver/main/ts/ui/window/SilverUrlDialogInstanceApi.ts +0 -52
  1958. package/src/themes/silver/test/css/content.css +0 -4
  1959. package/src/themes/silver/test/html/iframe.html +0 -25
  1960. package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputConvertTest.ts +0 -59
  1961. package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputConverterTest.ts +0 -73
  1962. package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputFormatTest.ts +0 -19
  1963. package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputNuTest.ts +0 -12
  1964. package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputParsingTest.ts +0 -75
  1965. package/src/themes/silver/test/ts/atomic/components/sizeinput/SizeInputShared.ts +0 -5
  1966. package/src/themes/silver/test/ts/atomic/context/ContextMenuTriggerTest.ts +0 -36
  1967. package/src/themes/silver/test/ts/atomic/menus/MenuConversionTest.ts +0 -91
  1968. package/src/themes/silver/test/ts/atomic/sizing/ResizeTest.ts +0 -64
  1969. package/src/themes/silver/test/ts/browser/editor/ContextFormTest.ts +0 -228
  1970. package/src/themes/silver/test/ts/browser/editor/DefaultHeightTest.ts +0 -54
  1971. package/src/themes/silver/test/ts/browser/editor/DisableTest.ts +0 -57
  1972. package/src/themes/silver/test/ts/browser/editor/EventsTest.ts +0 -90
  1973. package/src/themes/silver/test/ts/browser/editor/ForceHexColorTest.ts +0 -131
  1974. package/src/themes/silver/test/ts/browser/editor/MenuGroupHeadingTest.ts +0 -52
  1975. package/src/themes/silver/test/ts/browser/editor/NotificationManagerImplTest.ts +0 -259
  1976. package/src/themes/silver/test/ts/browser/editor/ResourceLoadingCssTest.ts +0 -41
  1977. package/src/themes/silver/test/ts/browser/editor/ShadowDomInlineTest.ts +0 -18
  1978. package/src/themes/silver/test/ts/browser/editor/ShowHideTest.ts +0 -93
  1979. package/src/themes/silver/test/ts/browser/editor/SilverDialogCancelTest.ts +0 -34
  1980. package/src/themes/silver/test/ts/browser/editor/SilverDialogCloseTest.ts +0 -34
  1981. package/src/themes/silver/test/ts/browser/editor/SilverDialogPopupsTest.ts +0 -113
  1982. package/src/themes/silver/test/ts/browser/editor/SilverDialogTreeTest.ts +0 -108
  1983. package/src/themes/silver/test/ts/browser/editor/SilverEditorDirectionalityTest.ts +0 -55
  1984. package/src/themes/silver/test/ts/browser/editor/SilverEditorTest.ts +0 -422
  1985. package/src/themes/silver/test/ts/browser/editor/SilverFixedToolbarContainerPriorityTest.ts +0 -38
  1986. package/src/themes/silver/test/ts/browser/editor/SilverFixedToolbarContainerTargetNotInlineTest.ts +0 -34
  1987. package/src/themes/silver/test/ts/browser/editor/SilverFixedToolbarContainerTargetTest.ts +0 -34
  1988. package/src/themes/silver/test/ts/browser/editor/SilverFixedToolbarContainerTest.ts +0 -117
  1989. package/src/themes/silver/test/ts/browser/editor/SilverInlineEditorTest.ts +0 -430
  1990. package/src/themes/silver/test/ts/browser/editor/SilverInlineEditorWidthTest.ts +0 -113
  1991. package/src/themes/silver/test/ts/browser/editor/SilverPopupSinkBoundsTest.ts +0 -344
  1992. package/src/themes/silver/test/ts/browser/editor/SilverRenderTest.ts +0 -64
  1993. package/src/themes/silver/test/ts/browser/editor/SilverUiModeTest.ts +0 -218
  1994. package/src/themes/silver/test/ts/browser/editor/ToolbarBottomTest.ts +0 -166
  1995. package/src/themes/silver/test/ts/browser/editor/ToolbarPersistTest.ts +0 -40
  1996. package/src/themes/silver/test/ts/browser/editor/ToxWrappingTest.ts +0 -21
  1997. package/src/themes/silver/test/ts/browser/editor/autocomplete/AutocompleteAriaTest.ts +0 -179
  1998. package/src/themes/silver/test/ts/browser/editor/autocomplete/AutocompleteCancelTest.ts +0 -184
  1999. package/src/themes/silver/test/ts/browser/editor/autocomplete/AutocompleteReloadTest.ts +0 -117
  2000. package/src/themes/silver/test/ts/browser/editor/autocomplete/AutocompleteTest.ts +0 -769
  2001. package/src/themes/silver/test/ts/browser/editor/backstage/BackstageSinkTest.ts +0 -190
  2002. package/src/themes/silver/test/ts/browser/editor/bespoke/BespokeSelectAriaLabelTest.ts +0 -242
  2003. package/src/themes/silver/test/ts/browser/editor/bespoke/SilverBespokeButtonsTest.ts +0 -401
  2004. package/src/themes/silver/test/ts/browser/editor/bespoke/StyleSelectFormatNamesTest.ts +0 -114
  2005. package/src/themes/silver/test/ts/browser/editor/buttons/GroupToolbarButtonTest.ts +0 -148
  2006. package/src/themes/silver/test/ts/browser/editor/buttons/UpdateToolbarButtonTextAndIconTest.ts +0 -133
  2007. package/src/themes/silver/test/ts/browser/editor/color/ColorAriaLabelTest.ts +0 -285
  2008. package/src/themes/silver/test/ts/browser/editor/color/ColorCacheTest.ts +0 -64
  2009. package/src/themes/silver/test/ts/browser/editor/color/ColorPickerSanityTest.ts +0 -239
  2010. package/src/themes/silver/test/ts/browser/editor/color/ColorSettingsTest.ts +0 -115
  2011. package/src/themes/silver/test/ts/browser/editor/color/GetCurrentColorTest.ts +0 -32
  2012. package/src/themes/silver/test/ts/browser/editor/color/NoneditableRootTest.ts +0 -48
  2013. package/src/themes/silver/test/ts/browser/editor/color/TextColorCommandsTest.ts +0 -64
  2014. package/src/themes/silver/test/ts/browser/editor/color/TextColorFormattingTest.ts +0 -167
  2015. package/src/themes/silver/test/ts/browser/editor/color/TextColorSanityTest.ts +0 -504
  2016. package/src/themes/silver/test/ts/browser/editor/contextmenu/ContextMenuPositionTest.ts +0 -33
  2017. package/src/themes/silver/test/ts/browser/editor/contextmenu/ContextMenuSettingsTest.ts +0 -44
  2018. package/src/themes/silver/test/ts/browser/editor/contextmenu/CustomContextMenuTest.ts +0 -141
  2019. package/src/themes/silver/test/ts/browser/editor/contextmenu/DesktopContextMenuTest.ts +0 -183
  2020. package/src/themes/silver/test/ts/browser/editor/contextmenu/MobileContextMenuTest.ts +0 -212
  2021. package/src/themes/silver/test/ts/browser/editor/contextmenu/img/dogleft.jpg +0 -0
  2022. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarBoundsTest.ts +0 -332
  2023. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarDistractionFreePositionTest.ts +0 -120
  2024. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarIframePositionTest.ts +0 -385
  2025. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarInlinePositionTest.ts +0 -158
  2026. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarLookupPositionPriorityTest.ts +0 -51
  2027. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarLookupPrioritisationTest.ts +0 -76
  2028. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarLookupTest.ts +0 -160
  2029. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/ContextToolbarTest.ts +0 -41
  2030. package/src/themes/silver/test/ts/browser/editor/contexttoolbar/RemoveContextToolbarOnFocusoutTest.ts +0 -64
  2031. package/src/themes/silver/test/ts/browser/editor/core/AlignmentButtonsTest.ts +0 -67
  2032. package/src/themes/silver/test/ts/browser/editor/core/ChoiceControlsTest.ts +0 -397
  2033. package/src/themes/silver/test/ts/browser/editor/core/ContentLanguageHiddenTest.ts +0 -26
  2034. package/src/themes/silver/test/ts/browser/editor/core/PasteControlsTest.ts +0 -41
  2035. package/src/themes/silver/test/ts/browser/editor/core/SimpleControlsTest.ts +0 -171
  2036. package/src/themes/silver/test/ts/browser/editor/core/UndoRedoTest.ts +0 -90
  2037. package/src/themes/silver/test/ts/browser/editor/header/HeaderLocationTest.ts +0 -56
  2038. package/src/themes/silver/test/ts/browser/editor/header/InlineHeaderTest.ts +0 -99
  2039. package/src/themes/silver/test/ts/browser/editor/header/PromotionTest.ts +0 -65
  2040. package/src/themes/silver/test/ts/browser/editor/header/StickyHeaderBottomTest.ts +0 -11
  2041. package/src/themes/silver/test/ts/browser/editor/header/StickyHeaderInitialPlacementTest.ts +0 -33
  2042. package/src/themes/silver/test/ts/browser/editor/header/StickyHeaderScrollIntoViewTest.ts +0 -104
  2043. package/src/themes/silver/test/ts/browser/editor/header/StickyHeaderTopTest.ts +0 -11
  2044. package/src/themes/silver/test/ts/browser/editor/menubar/EditorMenubarOptionsTest.ts +0 -77
  2045. package/src/themes/silver/test/ts/browser/editor/menubar/EditorMenubarRenderTest.ts +0 -41
  2046. package/src/themes/silver/test/ts/browser/editor/scrolling/EditorInScrollingContainerTest.ts +0 -959
  2047. package/src/themes/silver/test/ts/browser/editor/sizing/GridSinkSizingTest.ts +0 -36
  2048. package/src/themes/silver/test/ts/browser/editor/sizing/ResizeNotInRootTest.ts +0 -37
  2049. package/src/themes/silver/test/ts/browser/editor/sizing/ResizeTest.ts +0 -110
  2050. package/src/themes/silver/test/ts/browser/editor/toolbar/EditorToolbarOptionsTest.ts +0 -464
  2051. package/src/themes/silver/test/ts/browser/editor/toolbar/IndentOutdentTest.ts +0 -29
  2052. package/src/themes/silver/test/ts/browser/editor/toolbar/InlineToolbarDrawerFloatingPositionTest.ts +0 -77
  2053. package/src/themes/silver/test/ts/browser/editor/toolbar/InlineToolbarPositionTest.ts +0 -390
  2054. package/src/themes/silver/test/ts/browser/editor/toolbar/MultipleInlineToolbarVisibilityTest.ts +0 -54
  2055. package/src/themes/silver/test/ts/browser/editor/toolbar/NumberInputTest.ts +0 -462
  2056. package/src/themes/silver/test/ts/browser/editor/toolbar/ReadonlyToolbarResizeTest.ts +0 -172
  2057. package/src/themes/silver/test/ts/browser/editor/toolbar/SplitFloatingToolbarKeyboardNavigationTest.ts +0 -43
  2058. package/src/themes/silver/test/ts/browser/editor/toolbar/ToolbarDrawerFloatingPositionTest.ts +0 -106
  2059. package/src/themes/silver/test/ts/browser/editor/toolbar/ToolbarDrawerToggleTest.ts +0 -160
  2060. package/src/themes/silver/test/ts/browser/editor/toolbar/ToolbarFocusTest.ts +0 -49
  2061. package/src/themes/silver/test/ts/browser/editor/tooltip/AutocompleterTooltipTest.ts +0 -157
  2062. package/src/themes/silver/test/ts/browser/editor/tooltip/CollectionTooltipTest.ts +0 -240
  2063. package/src/themes/silver/test/ts/browser/editor/tooltip/DynamicTooltipTest.ts +0 -289
  2064. package/src/themes/silver/test/ts/browser/editor/tooltip/TooltipShortcutTest.ts +0 -52
  2065. package/src/themes/silver/test/ts/browser/editor/tooltip/TooltipTest.ts +0 -505
  2066. package/src/themes/silver/test/ts/browser/icons/IconsTest.ts +0 -128
  2067. package/src/themes/silver/test/ts/browser/sidebar/SidebarRoleAttributeTest.ts +0 -83
  2068. package/src/themes/silver/test/ts/browser/sidebar/SidebarShowOptionTest.ts +0 -126
  2069. package/src/themes/silver/test/ts/browser/sidebar/SidebarTest.ts +0 -115
  2070. package/src/themes/silver/test/ts/browser/skin/OxideBlockedDialogTest.ts +0 -113
  2071. package/src/themes/silver/test/ts/browser/skin/OxideCollectionComponentTest.ts +0 -325
  2072. package/src/themes/silver/test/ts/browser/skin/OxideColorSwatchMenuTest.ts +0 -324
  2073. package/src/themes/silver/test/ts/browser/skin/OxideFontFormatMenuTest.ts +0 -209
  2074. package/src/themes/silver/test/ts/browser/skin/OxideGridCollectionMenuTest.ts +0 -79
  2075. package/src/themes/silver/test/ts/browser/skin/OxideListCollectionMenuTest.ts +0 -151
  2076. package/src/themes/silver/test/ts/browser/skin/OxideTablePickerMenuTest.ts +0 -124
  2077. package/src/themes/silver/test/ts/browser/skin/OxideToolbarCollectionMenuTest.ts +0 -156
  2078. package/src/themes/silver/test/ts/browser/statusbar/StatusbarTest.ts +0 -365
  2079. package/src/themes/silver/test/ts/browser/throbber/ThrobberEditorTest.ts +0 -82
  2080. package/src/themes/silver/test/ts/browser/throbber/ThrobberFocusTest.ts +0 -248
  2081. package/src/themes/silver/test/ts/browser/throbber/ThrobberPopupTest.ts +0 -121
  2082. package/src/themes/silver/test/ts/browser/throbber/ThrobberTest.ts +0 -93
  2083. package/src/themes/silver/test/ts/browser/view/ViewButtonsTest.ts +0 -134
  2084. package/src/themes/silver/test/ts/browser/view/ViewTest.ts +0 -504
  2085. package/src/themes/silver/test/ts/browser/window/SilverDialogApiAccessTest.ts +0 -175
  2086. package/src/themes/silver/test/ts/browser/window/SilverDialogAriaLabelTest.ts +0 -61
  2087. package/src/themes/silver/test/ts/browser/window/SilverDialogBeforeEditorRenderedTest.ts +0 -29
  2088. package/src/themes/silver/test/ts/browser/window/SilverDialogBlockTest.ts +0 -170
  2089. package/src/themes/silver/test/ts/browser/window/SilverDialogFooterTest.ts +0 -87
  2090. package/src/themes/silver/test/ts/browser/window/SilverDialogPositioningTest.ts +0 -191
  2091. package/src/themes/silver/test/ts/browser/window/SilverInlineDialogPersistenceTest.ts +0 -173
  2092. package/src/themes/silver/test/ts/browser/window/SilverInlineDialogPositionTest.ts +0 -451
  2093. package/src/themes/silver/test/ts/browser/window/SilverInlineDialogTest.ts +0 -270
  2094. package/src/themes/silver/test/ts/headless/components/alertbanner/AlertBannerTest.ts +0 -93
  2095. package/src/themes/silver/test/ts/headless/components/checkbox/BasicCheckboxTest.ts +0 -193
  2096. package/src/themes/silver/test/ts/headless/components/checkbox/CheckboxFormChangeTest.ts +0 -37
  2097. package/src/themes/silver/test/ts/headless/components/colorinput/ColorInputTest.ts +0 -202
  2098. package/src/themes/silver/test/ts/headless/components/colorpicker/ColorPickerTest.ts +0 -165
  2099. package/src/themes/silver/test/ts/headless/components/customeditor/BasicCustomEditorTest.ts +0 -101
  2100. package/src/themes/silver/test/ts/headless/components/customeditor/CustomEditorSchemaTest.ts +0 -92
  2101. package/src/themes/silver/test/ts/headless/components/dialogbutton/DialogButtonTest.ts +0 -99
  2102. package/src/themes/silver/test/ts/headless/components/dialogbutton/DialogFooterButtonTest.ts +0 -61
  2103. package/src/themes/silver/test/ts/headless/components/dropzone/DropzoneTest.ts +0 -76
  2104. package/src/themes/silver/test/ts/headless/components/grid/BasicGridTest.ts +0 -54
  2105. package/src/themes/silver/test/ts/headless/components/htmlpanel/HtmlPanelTest.ts +0 -62
  2106. package/src/themes/silver/test/ts/headless/components/iframe/IframeTest.ts +0 -343
  2107. package/src/themes/silver/test/ts/headless/components/imagepreview/BasicImagePreviewTest.ts +0 -119
  2108. package/src/themes/silver/test/ts/headless/components/input/InputTest.ts +0 -61
  2109. package/src/themes/silver/test/ts/headless/components/label/LabelTest.ts +0 -117
  2110. package/src/themes/silver/test/ts/headless/components/listbox/ListBoxTest.ts +0 -166
  2111. package/src/themes/silver/test/ts/headless/components/selectbox/SelectboxTest.ts +0 -85
  2112. package/src/themes/silver/test/ts/headless/components/selectbox/SelectboxWithSizeTest.ts +0 -67
  2113. package/src/themes/silver/test/ts/headless/components/sizeinput/SizeInputTest.ts +0 -131
  2114. package/src/themes/silver/test/ts/headless/components/slider/SliderTest.ts +0 -43
  2115. package/src/themes/silver/test/ts/headless/components/table/TableTest.ts +0 -49
  2116. package/src/themes/silver/test/ts/headless/components/textarea/TextareaTest.ts +0 -63
  2117. package/src/themes/silver/test/ts/headless/components/tree/TreeTest.ts +0 -286
  2118. package/src/themes/silver/test/ts/headless/components/urlinput/HistoryTest.ts +0 -35
  2119. package/src/themes/silver/test/ts/headless/components/urlinput/UrlInputTest.ts +0 -301
  2120. package/src/themes/silver/test/ts/headless/configs/ControlOnSetupTest.ts +0 -74
  2121. package/src/themes/silver/test/ts/headless/modes/ScrollingContextTest.ts +0 -271
  2122. package/src/themes/silver/test/ts/headless/modes/UiReferencesTest.ts +0 -73
  2123. package/src/themes/silver/test/ts/headless/sketchers/SilverMenubarTest.ts +0 -312
  2124. package/src/themes/silver/test/ts/headless/toolbar/SearchableMenuButtonPlaceholderTest.ts +0 -100
  2125. package/src/themes/silver/test/ts/headless/toolbar/SearchableMenuButtonTest.ts +0 -541
  2126. package/src/themes/silver/test/ts/headless/toolbar/ToolbarButtonsTest.ts +0 -384
  2127. package/src/themes/silver/test/ts/headless/toolbar/ToolbarTest.ts +0 -142
  2128. package/src/themes/silver/test/ts/headless/window/CustomDialogTest.ts +0 -271
  2129. package/src/themes/silver/test/ts/headless/window/SilverDialogEventTest.ts +0 -145
  2130. package/src/themes/silver/test/ts/headless/window/SilverDialogReuseTest.ts +0 -322
  2131. package/src/themes/silver/test/ts/headless/window/SilverDialogTest.ts +0 -90
  2132. package/src/themes/silver/test/ts/headless/window/SilverUrlDialogTest.ts +0 -80
  2133. package/src/themes/silver/test/ts/headless/window/TabbedDialogTest.ts +0 -128
  2134. package/src/themes/silver/test/ts/headless/window/WindowManagerAlertTest.ts +0 -225
  2135. package/src/themes/silver/test/ts/headless/window/WindowManagerConfirmTest.ts +0 -236
  2136. package/src/themes/silver/test/ts/headless/window/WindowManagerRedialTest.ts +0 -182
  2137. package/src/themes/silver/test/ts/headless/window/WindowManagerTest.ts +0 -396
  2138. package/src/themes/silver/test/ts/module/Assets.ts +0 -3
  2139. package/src/themes/silver/test/ts/module/AutocompleterUtils.ts +0 -153
  2140. package/src/themes/silver/test/ts/module/CommonMailMergeFetch.ts +0 -107
  2141. package/src/themes/silver/test/ts/module/CommonMenuTestStructures.ts +0 -80
  2142. package/src/themes/silver/test/ts/module/ContextMenuUtils.ts +0 -35
  2143. package/src/themes/silver/test/ts/module/DialogUtils.ts +0 -33
  2144. package/src/themes/silver/test/ts/module/DomUtils.ts +0 -21
  2145. package/src/themes/silver/test/ts/module/MenuUtils.ts +0 -75
  2146. package/src/themes/silver/test/ts/module/PageScroll.ts +0 -41
  2147. package/src/themes/silver/test/ts/module/RepresentingUtils.ts +0 -28
  2148. package/src/themes/silver/test/ts/module/StickyHeaderStep.ts +0 -226
  2149. package/src/themes/silver/test/ts/module/StickyHeaderUtils.ts +0 -250
  2150. package/src/themes/silver/test/ts/module/TestBackstage.ts +0 -88
  2151. package/src/themes/silver/test/ts/module/TestExtras.ts +0 -149
  2152. package/src/themes/silver/test/ts/module/TestProviders.ts +0 -25
  2153. package/src/themes/silver/test/ts/module/ToolbarUtils.ts +0 -44
  2154. package/src/themes/silver/test/ts/module/TooltipUtils.ts +0 -62
  2155. package/src/themes/silver/test/ts/module/UiUtils.ts +0 -55
  2156. package/src/themes/silver/test/ts/webdriver/components/urlinput/UrlInputTest.ts +0 -79
  2157. package/src/themes/silver/test/ts/webdriver/dialogs/DialogFocusTest.ts +0 -94
  2158. package/src/themes/silver/test/ts/webdriver/dialogs/IFrameDialogTest.ts +0 -169
  2159. package/src/themes/silver/test/ts/webdriver/dialogs/SizeInputSpaceTest.ts +0 -50
  2160. package/src/themes/silver/test/ts/webdriver/editor/AutocompleteDelayedResponseTest.ts +0 -101
  2161. package/src/themes/silver/test/ts/webdriver/editor/DisabledNestedMenuItemTest.ts +0 -115
  2162. package/src/themes/silver/test/ts/webdriver/editor/SimpleControlsInlineTest.ts +0 -30
  2163. package/src/themes/silver/test/ts/webdriver/editor/TabbingTest.ts +0 -26
  2164. package/src/themes/silver/test/ts/webdriver/throbber/ThrobberTabbingTest.ts +0 -120
  2165. package/src/themes/silver/test/ts/webdriver/toolbar/SearchableMenuTypingTest.ts +0 -369
  2166. package/src/themes/silver/test/ts/webdriver/tooltip/HtmlPanelTooltipTest.ts +0 -156
  2167. package/tools/docs/tinymce.Editor.js +0 -122
  2168. package/tools/docs/tinymce.EditorManager.js +0 -14
  2169. package/tools/docs/tinymce.Env.js +0 -174
  2170. package/tools/docs/tinymce.Event.js +0 -50
  2171. package/tools/docs/tinymce.editor.ui.Ui.js +0 -55
  2172. package/tools/docs/tinymce.js +0 -56
  2173. package/tools/modules/grunt-utils.js +0 -31
  2174. package/tools/modules/grunt-webpack.js +0 -204
  2175. package/tools/modules/zip-helper.js +0 -42
  2176. package/tools/nuget/build/TinyMCE.targets +0 -9
  2177. package/tools/tasks/bundle.js +0 -79
  2178. package/tools/tasks/globals.js +0 -97
  2179. package/tools/tasks/html-i18n.js +0 -35
  2180. package/tools/tasks/moxiezip.js +0 -98
  2181. package/tools/tasks/validateVersion.js +0 -20
  2182. package/tsconfig.json +0 -83
  2183. /package/{src/core/main/text/readme_lang.md → langs/README.md} +0 -0
@@ -0,0 +1,2463 @@
1
+ /**
2
+ * TinyMCE version 7.0.0 (TBD)
3
+ */
4
+
5
+ (function () {
6
+ 'use strict';
7
+
8
+ var global$2 = tinymce.util.Tools.resolve('tinymce.PluginManager');
9
+
10
+ const isNullable = a => a === null || a === undefined;
11
+ const isNonNullable = a => !isNullable(a);
12
+
13
+ const noop = () => {
14
+ };
15
+ const constant = value => {
16
+ return () => {
17
+ return value;
18
+ };
19
+ };
20
+
21
+ class Optional {
22
+ constructor(tag, value) {
23
+ this.tag = tag;
24
+ this.value = value;
25
+ }
26
+ static some(value) {
27
+ return new Optional(true, value);
28
+ }
29
+ static none() {
30
+ return Optional.singletonNone;
31
+ }
32
+ fold(onNone, onSome) {
33
+ if (this.tag) {
34
+ return onSome(this.value);
35
+ } else {
36
+ return onNone();
37
+ }
38
+ }
39
+ isSome() {
40
+ return this.tag;
41
+ }
42
+ isNone() {
43
+ return !this.tag;
44
+ }
45
+ map(mapper) {
46
+ if (this.tag) {
47
+ return Optional.some(mapper(this.value));
48
+ } else {
49
+ return Optional.none();
50
+ }
51
+ }
52
+ bind(binder) {
53
+ if (this.tag) {
54
+ return binder(this.value);
55
+ } else {
56
+ return Optional.none();
57
+ }
58
+ }
59
+ exists(predicate) {
60
+ return this.tag && predicate(this.value);
61
+ }
62
+ forall(predicate) {
63
+ return !this.tag || predicate(this.value);
64
+ }
65
+ filter(predicate) {
66
+ if (!this.tag || predicate(this.value)) {
67
+ return this;
68
+ } else {
69
+ return Optional.none();
70
+ }
71
+ }
72
+ getOr(replacement) {
73
+ return this.tag ? this.value : replacement;
74
+ }
75
+ or(replacement) {
76
+ return this.tag ? this : replacement;
77
+ }
78
+ getOrThunk(thunk) {
79
+ return this.tag ? this.value : thunk();
80
+ }
81
+ orThunk(thunk) {
82
+ return this.tag ? this : thunk();
83
+ }
84
+ getOrDie(message) {
85
+ if (!this.tag) {
86
+ throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
87
+ } else {
88
+ return this.value;
89
+ }
90
+ }
91
+ static from(value) {
92
+ return isNonNullable(value) ? Optional.some(value) : Optional.none();
93
+ }
94
+ getOrNull() {
95
+ return this.tag ? this.value : null;
96
+ }
97
+ getOrUndefined() {
98
+ return this.value;
99
+ }
100
+ each(worker) {
101
+ if (this.tag) {
102
+ worker(this.value);
103
+ }
104
+ }
105
+ toArray() {
106
+ return this.tag ? [this.value] : [];
107
+ }
108
+ toString() {
109
+ return this.tag ? `some(${ this.value })` : 'none()';
110
+ }
111
+ }
112
+ Optional.singletonNone = new Optional(false);
113
+
114
+ const get$1 = (xs, i) => i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();
115
+ const head = xs => get$1(xs, 0);
116
+
117
+ var global$1 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');
118
+
119
+ const Global = typeof window !== 'undefined' ? window : Function('return this;')();
120
+
121
+ const prismjs = function (global, module, exports) {
122
+ const oldprism = window.Prism;
123
+ window.Prism = { manual: true };
124
+ var _self = typeof window !== 'undefined' ? window : typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope ? self : {};
125
+ var Prism = function (_self) {
126
+ var lang = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i;
127
+ var uniqueId = 0;
128
+ var plainTextGrammar = {};
129
+ var _ = {
130
+ manual: _self.Prism && _self.Prism.manual,
131
+ disableWorkerMessageHandler: _self.Prism && _self.Prism.disableWorkerMessageHandler,
132
+ util: {
133
+ encode: function encode(tokens) {
134
+ if (tokens instanceof Token) {
135
+ return new Token(tokens.type, encode(tokens.content), tokens.alias);
136
+ } else if (Array.isArray(tokens)) {
137
+ return tokens.map(encode);
138
+ } else {
139
+ return tokens.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/\u00a0/g, ' ');
140
+ }
141
+ },
142
+ type: function (o) {
143
+ return Object.prototype.toString.call(o).slice(8, -1);
144
+ },
145
+ objId: function (obj) {
146
+ if (!obj['__id']) {
147
+ Object.defineProperty(obj, '__id', { value: ++uniqueId });
148
+ }
149
+ return obj['__id'];
150
+ },
151
+ clone: function deepClone(o, visited) {
152
+ visited = visited || {};
153
+ var clone;
154
+ var id;
155
+ switch (_.util.type(o)) {
156
+ case 'Object':
157
+ id = _.util.objId(o);
158
+ if (visited[id]) {
159
+ return visited[id];
160
+ }
161
+ clone = {};
162
+ visited[id] = clone;
163
+ for (var key in o) {
164
+ if (o.hasOwnProperty(key)) {
165
+ clone[key] = deepClone(o[key], visited);
166
+ }
167
+ }
168
+ return clone;
169
+ case 'Array':
170
+ id = _.util.objId(o);
171
+ if (visited[id]) {
172
+ return visited[id];
173
+ }
174
+ clone = [];
175
+ visited[id] = clone;
176
+ o.forEach(function (v, i) {
177
+ clone[i] = deepClone(v, visited);
178
+ });
179
+ return clone;
180
+ default:
181
+ return o;
182
+ }
183
+ },
184
+ getLanguage: function (element) {
185
+ while (element) {
186
+ var m = lang.exec(element.className);
187
+ if (m) {
188
+ return m[1].toLowerCase();
189
+ }
190
+ element = element.parentElement;
191
+ }
192
+ return 'none';
193
+ },
194
+ setLanguage: function (element, language) {
195
+ element.className = element.className.replace(RegExp(lang, 'gi'), '');
196
+ element.classList.add('language-' + language);
197
+ },
198
+ currentScript: function () {
199
+ if (typeof document === 'undefined') {
200
+ return null;
201
+ }
202
+ if ('currentScript' in document && 1 < 2) {
203
+ return document.currentScript;
204
+ }
205
+ try {
206
+ throw new Error();
207
+ } catch (err) {
208
+ var src = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(err.stack) || [])[1];
209
+ if (src) {
210
+ var scripts = document.getElementsByTagName('script');
211
+ for (var i in scripts) {
212
+ if (scripts[i].src == src) {
213
+ return scripts[i];
214
+ }
215
+ }
216
+ }
217
+ return null;
218
+ }
219
+ },
220
+ isActive: function (element, className, defaultActivation) {
221
+ var no = 'no-' + className;
222
+ while (element) {
223
+ var classList = element.classList;
224
+ if (classList.contains(className)) {
225
+ return true;
226
+ }
227
+ if (classList.contains(no)) {
228
+ return false;
229
+ }
230
+ element = element.parentElement;
231
+ }
232
+ return !!defaultActivation;
233
+ }
234
+ },
235
+ languages: {
236
+ plain: plainTextGrammar,
237
+ plaintext: plainTextGrammar,
238
+ text: plainTextGrammar,
239
+ txt: plainTextGrammar,
240
+ extend: function (id, redef) {
241
+ var lang = _.util.clone(_.languages[id]);
242
+ for (var key in redef) {
243
+ lang[key] = redef[key];
244
+ }
245
+ return lang;
246
+ },
247
+ insertBefore: function (inside, before, insert, root) {
248
+ root = root || _.languages;
249
+ var grammar = root[inside];
250
+ var ret = {};
251
+ for (var token in grammar) {
252
+ if (grammar.hasOwnProperty(token)) {
253
+ if (token == before) {
254
+ for (var newToken in insert) {
255
+ if (insert.hasOwnProperty(newToken)) {
256
+ ret[newToken] = insert[newToken];
257
+ }
258
+ }
259
+ }
260
+ if (!insert.hasOwnProperty(token)) {
261
+ ret[token] = grammar[token];
262
+ }
263
+ }
264
+ }
265
+ var old = root[inside];
266
+ root[inside] = ret;
267
+ _.languages.DFS(_.languages, function (key, value) {
268
+ if (value === old && key != inside) {
269
+ this[key] = ret;
270
+ }
271
+ });
272
+ return ret;
273
+ },
274
+ DFS: function DFS(o, callback, type, visited) {
275
+ visited = visited || {};
276
+ var objId = _.util.objId;
277
+ for (var i in o) {
278
+ if (o.hasOwnProperty(i)) {
279
+ callback.call(o, i, o[i], type || i);
280
+ var property = o[i];
281
+ var propertyType = _.util.type(property);
282
+ if (propertyType === 'Object' && !visited[objId(property)]) {
283
+ visited[objId(property)] = true;
284
+ DFS(property, callback, null, visited);
285
+ } else if (propertyType === 'Array' && !visited[objId(property)]) {
286
+ visited[objId(property)] = true;
287
+ DFS(property, callback, i, visited);
288
+ }
289
+ }
290
+ }
291
+ }
292
+ },
293
+ plugins: {},
294
+ highlightAll: function (async, callback) {
295
+ _.highlightAllUnder(document, async, callback);
296
+ },
297
+ highlightAllUnder: function (container, async, callback) {
298
+ var env = {
299
+ callback: callback,
300
+ container: container,
301
+ selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
302
+ };
303
+ _.hooks.run('before-highlightall', env);
304
+ env.elements = Array.prototype.slice.apply(env.container.querySelectorAll(env.selector));
305
+ _.hooks.run('before-all-elements-highlight', env);
306
+ for (var i = 0, element; element = env.elements[i++];) {
307
+ _.highlightElement(element, async === true, env.callback);
308
+ }
309
+ },
310
+ highlightElement: function (element, async, callback) {
311
+ var language = _.util.getLanguage(element);
312
+ var grammar = _.languages[language];
313
+ _.util.setLanguage(element, language);
314
+ var parent = element.parentElement;
315
+ if (parent && parent.nodeName.toLowerCase() === 'pre') {
316
+ _.util.setLanguage(parent, language);
317
+ }
318
+ var code = element.textContent;
319
+ var env = {
320
+ element: element,
321
+ language: language,
322
+ grammar: grammar,
323
+ code: code
324
+ };
325
+ function insertHighlightedCode(highlightedCode) {
326
+ env.highlightedCode = highlightedCode;
327
+ _.hooks.run('before-insert', env);
328
+ env.element.innerHTML = env.highlightedCode;
329
+ _.hooks.run('after-highlight', env);
330
+ _.hooks.run('complete', env);
331
+ callback && callback.call(env.element);
332
+ }
333
+ _.hooks.run('before-sanity-check', env);
334
+ parent = env.element.parentElement;
335
+ if (parent && parent.nodeName.toLowerCase() === 'pre' && !parent.hasAttribute('tabindex')) {
336
+ parent.setAttribute('tabindex', '0');
337
+ }
338
+ if (!env.code) {
339
+ _.hooks.run('complete', env);
340
+ callback && callback.call(env.element);
341
+ return;
342
+ }
343
+ _.hooks.run('before-highlight', env);
344
+ if (!env.grammar) {
345
+ insertHighlightedCode(_.util.encode(env.code));
346
+ return;
347
+ }
348
+ if (async && _self.Worker) {
349
+ var worker = new Worker(_.filename);
350
+ worker.onmessage = function (evt) {
351
+ insertHighlightedCode(evt.data);
352
+ };
353
+ worker.postMessage(JSON.stringify({
354
+ language: env.language,
355
+ code: env.code,
356
+ immediateClose: true
357
+ }));
358
+ } else {
359
+ insertHighlightedCode(_.highlight(env.code, env.grammar, env.language));
360
+ }
361
+ },
362
+ highlight: function (text, grammar, language) {
363
+ var env = {
364
+ code: text,
365
+ grammar: grammar,
366
+ language: language
367
+ };
368
+ _.hooks.run('before-tokenize', env);
369
+ if (!env.grammar) {
370
+ throw new Error('The language "' + env.language + '" has no grammar.');
371
+ }
372
+ env.tokens = _.tokenize(env.code, env.grammar);
373
+ _.hooks.run('after-tokenize', env);
374
+ return Token.stringify(_.util.encode(env.tokens), env.language);
375
+ },
376
+ tokenize: function (text, grammar) {
377
+ var rest = grammar.rest;
378
+ if (rest) {
379
+ for (var token in rest) {
380
+ grammar[token] = rest[token];
381
+ }
382
+ delete grammar.rest;
383
+ }
384
+ var tokenList = new LinkedList();
385
+ addAfter(tokenList, tokenList.head, text);
386
+ matchGrammar(text, tokenList, grammar, tokenList.head, 0);
387
+ return toArray(tokenList);
388
+ },
389
+ hooks: {
390
+ all: {},
391
+ add: function (name, callback) {
392
+ var hooks = _.hooks.all;
393
+ hooks[name] = hooks[name] || [];
394
+ hooks[name].push(callback);
395
+ },
396
+ run: function (name, env) {
397
+ var callbacks = _.hooks.all[name];
398
+ if (!callbacks || !callbacks.length) {
399
+ return;
400
+ }
401
+ for (var i = 0, callback; callback = callbacks[i++];) {
402
+ callback(env);
403
+ }
404
+ }
405
+ },
406
+ Token: Token
407
+ };
408
+ _self.Prism = _;
409
+ function Token(type, content, alias, matchedStr) {
410
+ this.type = type;
411
+ this.content = content;
412
+ this.alias = alias;
413
+ this.length = (matchedStr || '').length | 0;
414
+ }
415
+ Token.stringify = function stringify(o, language) {
416
+ if (typeof o == 'string') {
417
+ return o;
418
+ }
419
+ if (Array.isArray(o)) {
420
+ var s = '';
421
+ o.forEach(function (e) {
422
+ s += stringify(e, language);
423
+ });
424
+ return s;
425
+ }
426
+ var env = {
427
+ type: o.type,
428
+ content: stringify(o.content, language),
429
+ tag: 'span',
430
+ classes: [
431
+ 'token',
432
+ o.type
433
+ ],
434
+ attributes: {},
435
+ language: language
436
+ };
437
+ var aliases = o.alias;
438
+ if (aliases) {
439
+ if (Array.isArray(aliases)) {
440
+ Array.prototype.push.apply(env.classes, aliases);
441
+ } else {
442
+ env.classes.push(aliases);
443
+ }
444
+ }
445
+ _.hooks.run('wrap', env);
446
+ var attributes = '';
447
+ for (var name in env.attributes) {
448
+ attributes += ' ' + name + '="' + (env.attributes[name] || '').replace(/"/g, '&quot;') + '"';
449
+ }
450
+ return '<' + env.tag + ' class="' + env.classes.join(' ') + '"' + attributes + '>' + env.content + '</' + env.tag + '>';
451
+ };
452
+ function matchPattern(pattern, pos, text, lookbehind) {
453
+ pattern.lastIndex = pos;
454
+ var match = pattern.exec(text);
455
+ if (match && lookbehind && match[1]) {
456
+ var lookbehindLength = match[1].length;
457
+ match.index += lookbehindLength;
458
+ match[0] = match[0].slice(lookbehindLength);
459
+ }
460
+ return match;
461
+ }
462
+ function matchGrammar(text, tokenList, grammar, startNode, startPos, rematch) {
463
+ for (var token in grammar) {
464
+ if (!grammar.hasOwnProperty(token) || !grammar[token]) {
465
+ continue;
466
+ }
467
+ var patterns = grammar[token];
468
+ patterns = Array.isArray(patterns) ? patterns : [patterns];
469
+ for (var j = 0; j < patterns.length; ++j) {
470
+ if (rematch && rematch.cause == token + ',' + j) {
471
+ return;
472
+ }
473
+ var patternObj = patterns[j];
474
+ var inside = patternObj.inside;
475
+ var lookbehind = !!patternObj.lookbehind;
476
+ var greedy = !!patternObj.greedy;
477
+ var alias = patternObj.alias;
478
+ if (greedy && !patternObj.pattern.global) {
479
+ var flags = patternObj.pattern.toString().match(/[imsuy]*$/)[0];
480
+ patternObj.pattern = RegExp(patternObj.pattern.source, flags + 'g');
481
+ }
482
+ var pattern = patternObj.pattern || patternObj;
483
+ for (var currentNode = startNode.next, pos = startPos; currentNode !== tokenList.tail; pos += currentNode.value.length, currentNode = currentNode.next) {
484
+ if (rematch && pos >= rematch.reach) {
485
+ break;
486
+ }
487
+ var str = currentNode.value;
488
+ if (tokenList.length > text.length) {
489
+ return;
490
+ }
491
+ if (str instanceof Token) {
492
+ continue;
493
+ }
494
+ var removeCount = 1;
495
+ var match;
496
+ if (greedy) {
497
+ match = matchPattern(pattern, pos, text, lookbehind);
498
+ if (!match || match.index >= text.length) {
499
+ break;
500
+ }
501
+ var from = match.index;
502
+ var to = match.index + match[0].length;
503
+ var p = pos;
504
+ p += currentNode.value.length;
505
+ while (from >= p) {
506
+ currentNode = currentNode.next;
507
+ p += currentNode.value.length;
508
+ }
509
+ p -= currentNode.value.length;
510
+ pos = p;
511
+ if (currentNode.value instanceof Token) {
512
+ continue;
513
+ }
514
+ for (var k = currentNode; k !== tokenList.tail && (p < to || typeof k.value === 'string'); k = k.next) {
515
+ removeCount++;
516
+ p += k.value.length;
517
+ }
518
+ removeCount--;
519
+ str = text.slice(pos, p);
520
+ match.index -= pos;
521
+ } else {
522
+ match = matchPattern(pattern, 0, str, lookbehind);
523
+ if (!match) {
524
+ continue;
525
+ }
526
+ }
527
+ var from = match.index;
528
+ var matchStr = match[0];
529
+ var before = str.slice(0, from);
530
+ var after = str.slice(from + matchStr.length);
531
+ var reach = pos + str.length;
532
+ if (rematch && reach > rematch.reach) {
533
+ rematch.reach = reach;
534
+ }
535
+ var removeFrom = currentNode.prev;
536
+ if (before) {
537
+ removeFrom = addAfter(tokenList, removeFrom, before);
538
+ pos += before.length;
539
+ }
540
+ removeRange(tokenList, removeFrom, removeCount);
541
+ var wrapped = new Token(token, inside ? _.tokenize(matchStr, inside) : matchStr, alias, matchStr);
542
+ currentNode = addAfter(tokenList, removeFrom, wrapped);
543
+ if (after) {
544
+ addAfter(tokenList, currentNode, after);
545
+ }
546
+ if (removeCount > 1) {
547
+ var nestedRematch = {
548
+ cause: token + ',' + j,
549
+ reach: reach
550
+ };
551
+ matchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch);
552
+ if (rematch && nestedRematch.reach > rematch.reach) {
553
+ rematch.reach = nestedRematch.reach;
554
+ }
555
+ }
556
+ }
557
+ }
558
+ }
559
+ }
560
+ function LinkedList() {
561
+ var head = {
562
+ value: null,
563
+ prev: null,
564
+ next: null
565
+ };
566
+ var tail = {
567
+ value: null,
568
+ prev: head,
569
+ next: null
570
+ };
571
+ head.next = tail;
572
+ this.head = head;
573
+ this.tail = tail;
574
+ this.length = 0;
575
+ }
576
+ function addAfter(list, node, value) {
577
+ var next = node.next;
578
+ var newNode = {
579
+ value: value,
580
+ prev: node,
581
+ next: next
582
+ };
583
+ node.next = newNode;
584
+ next.prev = newNode;
585
+ list.length++;
586
+ return newNode;
587
+ }
588
+ function removeRange(list, node, count) {
589
+ var next = node.next;
590
+ for (var i = 0; i < count && next !== list.tail; i++) {
591
+ next = next.next;
592
+ }
593
+ node.next = next;
594
+ next.prev = node;
595
+ list.length -= i;
596
+ }
597
+ function toArray(list) {
598
+ var array = [];
599
+ var node = list.head.next;
600
+ while (node !== list.tail) {
601
+ array.push(node.value);
602
+ node = node.next;
603
+ }
604
+ return array;
605
+ }
606
+ if (!_self.document) {
607
+ if (!_self.addEventListener) {
608
+ return _;
609
+ }
610
+ if (!_.disableWorkerMessageHandler) {
611
+ _self.addEventListener('message', function (evt) {
612
+ var message = JSON.parse(evt.data);
613
+ var lang = message.language;
614
+ var code = message.code;
615
+ var immediateClose = message.immediateClose;
616
+ _self.postMessage(_.highlight(code, _.languages[lang], lang));
617
+ if (immediateClose) {
618
+ _self.close();
619
+ }
620
+ }, false);
621
+ }
622
+ return _;
623
+ }
624
+ var script = _.util.currentScript();
625
+ if (script) {
626
+ _.filename = script.src;
627
+ if (script.hasAttribute('data-manual')) {
628
+ _.manual = true;
629
+ }
630
+ }
631
+ function highlightAutomaticallyCallback() {
632
+ if (!_.manual) {
633
+ _.highlightAll();
634
+ }
635
+ }
636
+ if (!_.manual) {
637
+ var readyState = document.readyState;
638
+ if (readyState === 'loading' || readyState === 'interactive' && script && script.defer) {
639
+ document.addEventListener('DOMContentLoaded', highlightAutomaticallyCallback);
640
+ } else {
641
+ if (window.requestAnimationFrame) {
642
+ window.requestAnimationFrame(highlightAutomaticallyCallback);
643
+ } else {
644
+ window.setTimeout(highlightAutomaticallyCallback, 16);
645
+ }
646
+ }
647
+ }
648
+ return _;
649
+ }(_self);
650
+ if (typeof module !== 'undefined' && module.exports) {
651
+ module.exports = Prism;
652
+ }
653
+ if (typeof global !== 'undefined') {
654
+ global.Prism = Prism;
655
+ }
656
+ Prism.languages.clike = {
657
+ 'comment': [
658
+ {
659
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
660
+ lookbehind: true,
661
+ greedy: true
662
+ },
663
+ {
664
+ pattern: /(^|[^\\:])\/\/.*/,
665
+ lookbehind: true,
666
+ greedy: true
667
+ }
668
+ ],
669
+ 'string': {
670
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
671
+ greedy: true
672
+ },
673
+ 'class-name': {
674
+ pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
675
+ lookbehind: true,
676
+ inside: { 'punctuation': /[.\\]/ }
677
+ },
678
+ 'keyword': /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,
679
+ 'boolean': /\b(?:false|true)\b/,
680
+ 'function': /\b\w+(?=\()/,
681
+ 'number': /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
682
+ 'operator': /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
683
+ 'punctuation': /[{}[\];(),.:]/
684
+ };
685
+ (function (Prism) {
686
+ function getPlaceholder(language, index) {
687
+ return '___' + language.toUpperCase() + index + '___';
688
+ }
689
+ Object.defineProperties(Prism.languages['markup-templating'] = {}, {
690
+ buildPlaceholders: {
691
+ value: function (env, language, placeholderPattern, replaceFilter) {
692
+ if (env.language !== language) {
693
+ return;
694
+ }
695
+ var tokenStack = env.tokenStack = [];
696
+ env.code = env.code.replace(placeholderPattern, function (match) {
697
+ if (typeof replaceFilter === 'function' && !replaceFilter(match)) {
698
+ return match;
699
+ }
700
+ var i = tokenStack.length;
701
+ var placeholder;
702
+ while (env.code.indexOf(placeholder = getPlaceholder(language, i)) !== -1) {
703
+ ++i;
704
+ }
705
+ tokenStack[i] = match;
706
+ return placeholder;
707
+ });
708
+ env.grammar = Prism.languages.markup;
709
+ }
710
+ },
711
+ tokenizePlaceholders: {
712
+ value: function (env, language) {
713
+ if (env.language !== language || !env.tokenStack) {
714
+ return;
715
+ }
716
+ env.grammar = Prism.languages[language];
717
+ var j = 0;
718
+ var keys = Object.keys(env.tokenStack);
719
+ function walkTokens(tokens) {
720
+ for (var i = 0; i < tokens.length; i++) {
721
+ if (j >= keys.length) {
722
+ break;
723
+ }
724
+ var token = tokens[i];
725
+ if (typeof token === 'string' || token.content && typeof token.content === 'string') {
726
+ var k = keys[j];
727
+ var t = env.tokenStack[k];
728
+ var s = typeof token === 'string' ? token : token.content;
729
+ var placeholder = getPlaceholder(language, k);
730
+ var index = s.indexOf(placeholder);
731
+ if (index > -1) {
732
+ ++j;
733
+ var before = s.substring(0, index);
734
+ var middle = new Prism.Token(language, Prism.tokenize(t, env.grammar), 'language-' + language, t);
735
+ var after = s.substring(index + placeholder.length);
736
+ var replacement = [];
737
+ if (before) {
738
+ replacement.push.apply(replacement, walkTokens([before]));
739
+ }
740
+ replacement.push(middle);
741
+ if (after) {
742
+ replacement.push.apply(replacement, walkTokens([after]));
743
+ }
744
+ if (typeof token === 'string') {
745
+ tokens.splice.apply(tokens, [
746
+ i,
747
+ 1
748
+ ].concat(replacement));
749
+ } else {
750
+ token.content = replacement;
751
+ }
752
+ }
753
+ } else if (token.content) {
754
+ walkTokens(token.content);
755
+ }
756
+ }
757
+ return tokens;
758
+ }
759
+ walkTokens(env.tokens);
760
+ }
761
+ }
762
+ });
763
+ }(Prism));
764
+ Prism.languages.c = Prism.languages.extend('clike', {
765
+ 'comment': {
766
+ pattern: /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
767
+ greedy: true
768
+ },
769
+ 'string': {
770
+ pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
771
+ greedy: true
772
+ },
773
+ 'class-name': {
774
+ pattern: /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
775
+ lookbehind: true
776
+ },
777
+ 'keyword': /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,
778
+ 'function': /\b[a-z_]\w*(?=\s*\()/i,
779
+ 'number': /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
780
+ 'operator': />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/
781
+ });
782
+ Prism.languages.insertBefore('c', 'string', {
783
+ 'char': {
784
+ pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,
785
+ greedy: true
786
+ }
787
+ });
788
+ Prism.languages.insertBefore('c', 'string', {
789
+ 'macro': {
790
+ pattern: /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
791
+ lookbehind: true,
792
+ greedy: true,
793
+ alias: 'property',
794
+ inside: {
795
+ 'string': [
796
+ {
797
+ pattern: /^(#\s*include\s*)<[^>]+>/,
798
+ lookbehind: true
799
+ },
800
+ Prism.languages.c['string']
801
+ ],
802
+ 'char': Prism.languages.c['char'],
803
+ 'comment': Prism.languages.c['comment'],
804
+ 'macro-name': [
805
+ {
806
+ pattern: /(^#\s*define\s+)\w+\b(?!\()/i,
807
+ lookbehind: true
808
+ },
809
+ {
810
+ pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
811
+ lookbehind: true,
812
+ alias: 'function'
813
+ }
814
+ ],
815
+ 'directive': {
816
+ pattern: /^(#\s*)[a-z]+/,
817
+ lookbehind: true,
818
+ alias: 'keyword'
819
+ },
820
+ 'directive-hash': /^#/,
821
+ 'punctuation': /##|\\(?=[\r\n])/,
822
+ 'expression': {
823
+ pattern: /\S[\s\S]*/,
824
+ inside: Prism.languages.c
825
+ }
826
+ }
827
+ }
828
+ });
829
+ Prism.languages.insertBefore('c', 'function', { 'constant': /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/ });
830
+ delete Prism.languages.c['boolean'];
831
+ (function (Prism) {
832
+ var keyword = /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/;
833
+ var modName = /\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g, function () {
834
+ return keyword.source;
835
+ });
836
+ Prism.languages.cpp = Prism.languages.extend('c', {
837
+ 'class-name': [
838
+ {
839
+ pattern: RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g, function () {
840
+ return keyword.source;
841
+ })),
842
+ lookbehind: true
843
+ },
844
+ /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,
845
+ /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,
846
+ /\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/
847
+ ],
848
+ 'keyword': keyword,
849
+ 'number': {
850
+ pattern: /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
851
+ greedy: true
852
+ },
853
+ 'operator': />>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
854
+ 'boolean': /\b(?:false|true)\b/
855
+ });
856
+ Prism.languages.insertBefore('cpp', 'string', {
857
+ 'module': {
858
+ pattern: RegExp(/(\b(?:import|module)\s+)/.source + '(?:' + /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source + '|' + /<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g, function () {
859
+ return modName;
860
+ }) + ')'),
861
+ lookbehind: true,
862
+ greedy: true,
863
+ inside: {
864
+ 'string': /^[<"][\s\S]+/,
865
+ 'operator': /:/,
866
+ 'punctuation': /\./
867
+ }
868
+ },
869
+ 'raw-string': {
870
+ pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,
871
+ alias: 'string',
872
+ greedy: true
873
+ }
874
+ });
875
+ Prism.languages.insertBefore('cpp', 'keyword', {
876
+ 'generic-function': {
877
+ pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,
878
+ inside: {
879
+ 'function': /^\w+/,
880
+ 'generic': {
881
+ pattern: /<[\s\S]+/,
882
+ alias: 'class-name',
883
+ inside: Prism.languages.cpp
884
+ }
885
+ }
886
+ }
887
+ });
888
+ Prism.languages.insertBefore('cpp', 'operator', {
889
+ 'double-colon': {
890
+ pattern: /::/,
891
+ alias: 'punctuation'
892
+ }
893
+ });
894
+ Prism.languages.insertBefore('cpp', 'class-name', {
895
+ 'base-clause': {
896
+ pattern: /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
897
+ lookbehind: true,
898
+ greedy: true,
899
+ inside: Prism.languages.extend('cpp', {})
900
+ }
901
+ });
902
+ Prism.languages.insertBefore('inside', 'double-colon', { 'class-name': /\b[a-z_]\w*\b(?!\s*::)/i }, Prism.languages.cpp['base-clause']);
903
+ }(Prism));
904
+ (function (Prism) {
905
+ function replace(pattern, replacements) {
906
+ return pattern.replace(/<<(\d+)>>/g, function (m, index) {
907
+ return '(?:' + replacements[+index] + ')';
908
+ });
909
+ }
910
+ function re(pattern, replacements, flags) {
911
+ return RegExp(replace(pattern, replacements), flags || '');
912
+ }
913
+ function nested(pattern, depthLog2) {
914
+ for (var i = 0; i < depthLog2; i++) {
915
+ pattern = pattern.replace(/<<self>>/g, function () {
916
+ return '(?:' + pattern + ')';
917
+ });
918
+ }
919
+ return pattern.replace(/<<self>>/g, '[^\\s\\S]');
920
+ }
921
+ var keywordKinds = {
922
+ type: 'bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void',
923
+ typeDeclaration: 'class enum interface record struct',
924
+ contextual: 'add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)',
925
+ other: 'abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield'
926
+ };
927
+ function keywordsToPattern(words) {
928
+ return '\\b(?:' + words.trim().replace(/ /g, '|') + ')\\b';
929
+ }
930
+ var typeDeclarationKeywords = keywordsToPattern(keywordKinds.typeDeclaration);
931
+ var keywords = RegExp(keywordsToPattern(keywordKinds.type + ' ' + keywordKinds.typeDeclaration + ' ' + keywordKinds.contextual + ' ' + keywordKinds.other));
932
+ var nonTypeKeywords = keywordsToPattern(keywordKinds.typeDeclaration + ' ' + keywordKinds.contextual + ' ' + keywordKinds.other);
933
+ var nonContextualKeywords = keywordsToPattern(keywordKinds.type + ' ' + keywordKinds.typeDeclaration + ' ' + keywordKinds.other);
934
+ var generic = nested(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2);
935
+ var nestedRound = nested(/\((?:[^()]|<<self>>)*\)/.source, 2);
936
+ var name = /@?\b[A-Za-z_]\w*\b/.source;
937
+ var genericName = replace(/<<0>>(?:\s*<<1>>)?/.source, [
938
+ name,
939
+ generic
940
+ ]);
941
+ var identifier = replace(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [
942
+ nonTypeKeywords,
943
+ genericName
944
+ ]);
945
+ var array = /\[\s*(?:,\s*)*\]/.source;
946
+ var typeExpressionWithoutTuple = replace(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source, [
947
+ identifier,
948
+ array
949
+ ]);
950
+ var tupleElement = replace(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source, [
951
+ generic,
952
+ nestedRound,
953
+ array
954
+ ]);
955
+ var tuple = replace(/\(<<0>>+(?:,<<0>>+)+\)/.source, [tupleElement]);
956
+ var typeExpression = replace(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source, [
957
+ tuple,
958
+ identifier,
959
+ array
960
+ ]);
961
+ var typeInside = {
962
+ 'keyword': keywords,
963
+ 'punctuation': /[<>()?,.:[\]]/
964
+ };
965
+ var character = /'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source;
966
+ var regularString = /"(?:\\.|[^\\"\r\n])*"/.source;
967
+ var verbatimString = /@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;
968
+ Prism.languages.csharp = Prism.languages.extend('clike', {
969
+ 'string': [
970
+ {
971
+ pattern: re(/(^|[^$\\])<<0>>/.source, [verbatimString]),
972
+ lookbehind: true,
973
+ greedy: true
974
+ },
975
+ {
976
+ pattern: re(/(^|[^@$\\])<<0>>/.source, [regularString]),
977
+ lookbehind: true,
978
+ greedy: true
979
+ }
980
+ ],
981
+ 'class-name': [
982
+ {
983
+ pattern: re(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source, [identifier]),
984
+ lookbehind: true,
985
+ inside: typeInside
986
+ },
987
+ {
988
+ pattern: re(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source, [
989
+ name,
990
+ typeExpression
991
+ ]),
992
+ lookbehind: true,
993
+ inside: typeInside
994
+ },
995
+ {
996
+ pattern: re(/(\busing\s+)<<0>>(?=\s*=)/.source, [name]),
997
+ lookbehind: true
998
+ },
999
+ {
1000
+ pattern: re(/(\b<<0>>\s+)<<1>>/.source, [
1001
+ typeDeclarationKeywords,
1002
+ genericName
1003
+ ]),
1004
+ lookbehind: true,
1005
+ inside: typeInside
1006
+ },
1007
+ {
1008
+ pattern: re(/(\bcatch\s*\(\s*)<<0>>/.source, [identifier]),
1009
+ lookbehind: true,
1010
+ inside: typeInside
1011
+ },
1012
+ {
1013
+ pattern: re(/(\bwhere\s+)<<0>>/.source, [name]),
1014
+ lookbehind: true
1015
+ },
1016
+ {
1017
+ pattern: re(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source, [typeExpressionWithoutTuple]),
1018
+ lookbehind: true,
1019
+ inside: typeInside
1020
+ },
1021
+ {
1022
+ pattern: re(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source, [
1023
+ typeExpression,
1024
+ nonContextualKeywords,
1025
+ name
1026
+ ]),
1027
+ inside: typeInside
1028
+ }
1029
+ ],
1030
+ 'keyword': keywords,
1031
+ 'number': /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,
1032
+ 'operator': />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,
1033
+ 'punctuation': /\?\.?|::|[{}[\];(),.:]/
1034
+ });
1035
+ Prism.languages.insertBefore('csharp', 'number', {
1036
+ 'range': {
1037
+ pattern: /\.\./,
1038
+ alias: 'operator'
1039
+ }
1040
+ });
1041
+ Prism.languages.insertBefore('csharp', 'punctuation', {
1042
+ 'named-parameter': {
1043
+ pattern: re(/([(,]\s*)<<0>>(?=\s*:)/.source, [name]),
1044
+ lookbehind: true,
1045
+ alias: 'punctuation'
1046
+ }
1047
+ });
1048
+ Prism.languages.insertBefore('csharp', 'class-name', {
1049
+ 'namespace': {
1050
+ pattern: re(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source, [name]),
1051
+ lookbehind: true,
1052
+ inside: { 'punctuation': /\./ }
1053
+ },
1054
+ 'type-expression': {
1055
+ pattern: re(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source, [nestedRound]),
1056
+ lookbehind: true,
1057
+ alias: 'class-name',
1058
+ inside: typeInside
1059
+ },
1060
+ 'return-type': {
1061
+ pattern: re(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source, [
1062
+ typeExpression,
1063
+ identifier
1064
+ ]),
1065
+ inside: typeInside,
1066
+ alias: 'class-name'
1067
+ },
1068
+ 'constructor-invocation': {
1069
+ pattern: re(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [typeExpression]),
1070
+ lookbehind: true,
1071
+ inside: typeInside,
1072
+ alias: 'class-name'
1073
+ },
1074
+ 'generic-method': {
1075
+ pattern: re(/<<0>>\s*<<1>>(?=\s*\()/.source, [
1076
+ name,
1077
+ generic
1078
+ ]),
1079
+ inside: {
1080
+ 'function': re(/^<<0>>/.source, [name]),
1081
+ 'generic': {
1082
+ pattern: RegExp(generic),
1083
+ alias: 'class-name',
1084
+ inside: typeInside
1085
+ }
1086
+ }
1087
+ },
1088
+ 'type-list': {
1089
+ pattern: re(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source, [
1090
+ typeDeclarationKeywords,
1091
+ genericName,
1092
+ name,
1093
+ typeExpression,
1094
+ keywords.source,
1095
+ nestedRound,
1096
+ /\bnew\s*\(\s*\)/.source
1097
+ ]),
1098
+ lookbehind: true,
1099
+ inside: {
1100
+ 'record-arguments': {
1101
+ pattern: re(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source, [
1102
+ genericName,
1103
+ nestedRound
1104
+ ]),
1105
+ lookbehind: true,
1106
+ greedy: true,
1107
+ inside: Prism.languages.csharp
1108
+ },
1109
+ 'keyword': keywords,
1110
+ 'class-name': {
1111
+ pattern: RegExp(typeExpression),
1112
+ greedy: true,
1113
+ inside: typeInside
1114
+ },
1115
+ 'punctuation': /[,()]/
1116
+ }
1117
+ },
1118
+ 'preprocessor': {
1119
+ pattern: /(^[\t ]*)#.*/m,
1120
+ lookbehind: true,
1121
+ alias: 'property',
1122
+ inside: {
1123
+ 'directive': {
1124
+ pattern: /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,
1125
+ lookbehind: true,
1126
+ alias: 'keyword'
1127
+ }
1128
+ }
1129
+ }
1130
+ });
1131
+ var regularStringOrCharacter = regularString + '|' + character;
1132
+ var regularStringCharacterOrComment = replace(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source, [regularStringOrCharacter]);
1133
+ var roundExpression = nested(replace(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [regularStringCharacterOrComment]), 2);
1134
+ var attrTarget = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source;
1135
+ var attr = replace(/<<0>>(?:\s*\(<<1>>*\))?/.source, [
1136
+ identifier,
1137
+ roundExpression
1138
+ ]);
1139
+ Prism.languages.insertBefore('csharp', 'class-name', {
1140
+ 'attribute': {
1141
+ pattern: re(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source, [
1142
+ attrTarget,
1143
+ attr
1144
+ ]),
1145
+ lookbehind: true,
1146
+ greedy: true,
1147
+ inside: {
1148
+ 'target': {
1149
+ pattern: re(/^<<0>>(?=\s*:)/.source, [attrTarget]),
1150
+ alias: 'keyword'
1151
+ },
1152
+ 'attribute-arguments': {
1153
+ pattern: re(/\(<<0>>*\)/.source, [roundExpression]),
1154
+ inside: Prism.languages.csharp
1155
+ },
1156
+ 'class-name': {
1157
+ pattern: RegExp(identifier),
1158
+ inside: { 'punctuation': /\./ }
1159
+ },
1160
+ 'punctuation': /[:,]/
1161
+ }
1162
+ }
1163
+ });
1164
+ var formatString = /:[^}\r\n]+/.source;
1165
+ var mInterpolationRound = nested(replace(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [regularStringCharacterOrComment]), 2);
1166
+ var mInterpolation = replace(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
1167
+ mInterpolationRound,
1168
+ formatString
1169
+ ]);
1170
+ var sInterpolationRound = nested(replace(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source, [regularStringOrCharacter]), 2);
1171
+ var sInterpolation = replace(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
1172
+ sInterpolationRound,
1173
+ formatString
1174
+ ]);
1175
+ function createInterpolationInside(interpolation, interpolationRound) {
1176
+ return {
1177
+ 'interpolation': {
1178
+ pattern: re(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [interpolation]),
1179
+ lookbehind: true,
1180
+ inside: {
1181
+ 'format-string': {
1182
+ pattern: re(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source, [
1183
+ interpolationRound,
1184
+ formatString
1185
+ ]),
1186
+ lookbehind: true,
1187
+ inside: { 'punctuation': /^:/ }
1188
+ },
1189
+ 'punctuation': /^\{|\}$/,
1190
+ 'expression': {
1191
+ pattern: /[\s\S]+/,
1192
+ alias: 'language-csharp',
1193
+ inside: Prism.languages.csharp
1194
+ }
1195
+ }
1196
+ },
1197
+ 'string': /[\s\S]+/
1198
+ };
1199
+ }
1200
+ Prism.languages.insertBefore('csharp', 'string', {
1201
+ 'interpolation-string': [
1202
+ {
1203
+ pattern: re(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source, [mInterpolation]),
1204
+ lookbehind: true,
1205
+ greedy: true,
1206
+ inside: createInterpolationInside(mInterpolation, mInterpolationRound)
1207
+ },
1208
+ {
1209
+ pattern: re(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [sInterpolation]),
1210
+ lookbehind: true,
1211
+ greedy: true,
1212
+ inside: createInterpolationInside(sInterpolation, sInterpolationRound)
1213
+ }
1214
+ ],
1215
+ 'char': {
1216
+ pattern: RegExp(character),
1217
+ greedy: true
1218
+ }
1219
+ });
1220
+ Prism.languages.dotnet = Prism.languages.cs = Prism.languages.csharp;
1221
+ }(Prism));
1222
+ (function (Prism) {
1223
+ var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
1224
+ Prism.languages.css = {
1225
+ 'comment': /\/\*[\s\S]*?\*\//,
1226
+ 'atrule': {
1227
+ pattern: RegExp('@[\\w-](?:' + /[^;{\s"']|\s+(?!\s)/.source + '|' + string.source + ')*?' + /(?:;|(?=\s*\{))/.source),
1228
+ inside: {
1229
+ 'rule': /^@[\w-]+/,
1230
+ 'selector-function-argument': {
1231
+ pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
1232
+ lookbehind: true,
1233
+ alias: 'selector'
1234
+ },
1235
+ 'keyword': {
1236
+ pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
1237
+ lookbehind: true
1238
+ }
1239
+ }
1240
+ },
1241
+ 'url': {
1242
+ pattern: RegExp('\\burl\\((?:' + string.source + '|' + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ')\\)', 'i'),
1243
+ greedy: true,
1244
+ inside: {
1245
+ 'function': /^url/i,
1246
+ 'punctuation': /^\(|\)$/,
1247
+ 'string': {
1248
+ pattern: RegExp('^' + string.source + '$'),
1249
+ alias: 'url'
1250
+ }
1251
+ }
1252
+ },
1253
+ 'selector': {
1254
+ pattern: RegExp('(^|[{}\\s])[^{}\\s](?:[^{};"\'\\s]|\\s+(?![\\s{])|' + string.source + ')*(?=\\s*\\{)'),
1255
+ lookbehind: true
1256
+ },
1257
+ 'string': {
1258
+ pattern: string,
1259
+ greedy: true
1260
+ },
1261
+ 'property': {
1262
+ pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
1263
+ lookbehind: true
1264
+ },
1265
+ 'important': /!important\b/i,
1266
+ 'function': {
1267
+ pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
1268
+ lookbehind: true
1269
+ },
1270
+ 'punctuation': /[(){};:,]/
1271
+ };
1272
+ Prism.languages.css['atrule'].inside.rest = Prism.languages.css;
1273
+ var markup = Prism.languages.markup;
1274
+ if (markup) {
1275
+ markup.tag.addInlined('style', 'css');
1276
+ markup.tag.addAttribute('style', 'css');
1277
+ }
1278
+ }(Prism));
1279
+ (function (Prism) {
1280
+ var keywords = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/;
1281
+ var classNamePrefix = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source;
1282
+ var className = {
1283
+ pattern: RegExp(/(^|[^\w.])/.source + classNamePrefix + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),
1284
+ lookbehind: true,
1285
+ inside: {
1286
+ 'namespace': {
1287
+ pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,
1288
+ inside: { 'punctuation': /\./ }
1289
+ },
1290
+ 'punctuation': /\./
1291
+ }
1292
+ };
1293
+ Prism.languages.java = Prism.languages.extend('clike', {
1294
+ 'string': {
1295
+ pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,
1296
+ lookbehind: true,
1297
+ greedy: true
1298
+ },
1299
+ 'class-name': [
1300
+ className,
1301
+ {
1302
+ pattern: RegExp(/(^|[^\w.])/.source + classNamePrefix + /[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),
1303
+ lookbehind: true,
1304
+ inside: className.inside
1305
+ },
1306
+ {
1307
+ pattern: RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source + classNamePrefix + /[A-Z]\w*\b/.source),
1308
+ lookbehind: true,
1309
+ inside: className.inside
1310
+ }
1311
+ ],
1312
+ 'keyword': keywords,
1313
+ 'function': [
1314
+ Prism.languages.clike.function,
1315
+ {
1316
+ pattern: /(::\s*)[a-z_]\w*/,
1317
+ lookbehind: true
1318
+ }
1319
+ ],
1320
+ 'number': /\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,
1321
+ 'operator': {
1322
+ pattern: /(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,
1323
+ lookbehind: true
1324
+ },
1325
+ 'constant': /\b[A-Z][A-Z_\d]+\b/
1326
+ });
1327
+ Prism.languages.insertBefore('java', 'string', {
1328
+ 'triple-quoted-string': {
1329
+ pattern: /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,
1330
+ greedy: true,
1331
+ alias: 'string'
1332
+ },
1333
+ 'char': {
1334
+ pattern: /'(?:\\.|[^'\\\r\n]){1,6}'/,
1335
+ greedy: true
1336
+ }
1337
+ });
1338
+ Prism.languages.insertBefore('java', 'class-name', {
1339
+ 'annotation': {
1340
+ pattern: /(^|[^.])@\w+(?:\s*\.\s*\w+)*/,
1341
+ lookbehind: true,
1342
+ alias: 'punctuation'
1343
+ },
1344
+ 'generics': {
1345
+ pattern: /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
1346
+ inside: {
1347
+ 'class-name': className,
1348
+ 'keyword': keywords,
1349
+ 'punctuation': /[<>(),.:]/,
1350
+ 'operator': /[?&|]/
1351
+ }
1352
+ },
1353
+ 'import': [
1354
+ {
1355
+ pattern: RegExp(/(\bimport\s+)/.source + classNamePrefix + /(?:[A-Z]\w*|\*)(?=\s*;)/.source),
1356
+ lookbehind: true,
1357
+ inside: {
1358
+ 'namespace': className.inside.namespace,
1359
+ 'punctuation': /\./,
1360
+ 'operator': /\*/,
1361
+ 'class-name': /\w+/
1362
+ }
1363
+ },
1364
+ {
1365
+ pattern: RegExp(/(\bimport\s+static\s+)/.source + classNamePrefix + /(?:\w+|\*)(?=\s*;)/.source),
1366
+ lookbehind: true,
1367
+ alias: 'static',
1368
+ inside: {
1369
+ 'namespace': className.inside.namespace,
1370
+ 'static': /\b\w+$/,
1371
+ 'punctuation': /\./,
1372
+ 'operator': /\*/,
1373
+ 'class-name': /\w+/
1374
+ }
1375
+ }
1376
+ ],
1377
+ 'namespace': {
1378
+ pattern: RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g, function () {
1379
+ return keywords.source;
1380
+ })),
1381
+ lookbehind: true,
1382
+ inside: { 'punctuation': /\./ }
1383
+ }
1384
+ });
1385
+ }(Prism));
1386
+ Prism.languages.javascript = Prism.languages.extend('clike', {
1387
+ 'class-name': [
1388
+ Prism.languages.clike['class-name'],
1389
+ {
1390
+ pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
1391
+ lookbehind: true
1392
+ }
1393
+ ],
1394
+ 'keyword': [
1395
+ {
1396
+ pattern: /((?:^|\})\s*)catch\b/,
1397
+ lookbehind: true
1398
+ },
1399
+ {
1400
+ pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
1401
+ lookbehind: true
1402
+ }
1403
+ ],
1404
+ 'function': /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
1405
+ 'number': {
1406
+ pattern: RegExp(/(^|[^\w$])/.source + '(?:' + (/NaN|Infinity/.source + '|' + /0[bB][01]+(?:_[01]+)*n?/.source + '|' + /0[oO][0-7]+(?:_[0-7]+)*n?/.source + '|' + /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + '|' + /\d+(?:_\d+)*n/.source + '|' + /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source) + ')' + /(?![\w$])/.source),
1407
+ lookbehind: true
1408
+ },
1409
+ 'operator': /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
1410
+ });
1411
+ Prism.languages.javascript['class-name'][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;
1412
+ Prism.languages.insertBefore('javascript', 'keyword', {
1413
+ 'regex': {
1414
+ pattern: RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + /\//.source + '(?:' + /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source + '|' + /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source + ')' + /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),
1415
+ lookbehind: true,
1416
+ greedy: true,
1417
+ inside: {
1418
+ 'regex-source': {
1419
+ pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
1420
+ lookbehind: true,
1421
+ alias: 'language-regex',
1422
+ inside: Prism.languages.regex
1423
+ },
1424
+ 'regex-delimiter': /^\/|\/$/,
1425
+ 'regex-flags': /^[a-z]+$/
1426
+ }
1427
+ },
1428
+ 'function-variable': {
1429
+ pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
1430
+ alias: 'function'
1431
+ },
1432
+ 'parameter': [
1433
+ {
1434
+ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
1435
+ lookbehind: true,
1436
+ inside: Prism.languages.javascript
1437
+ },
1438
+ {
1439
+ pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
1440
+ lookbehind: true,
1441
+ inside: Prism.languages.javascript
1442
+ },
1443
+ {
1444
+ pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
1445
+ lookbehind: true,
1446
+ inside: Prism.languages.javascript
1447
+ },
1448
+ {
1449
+ pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
1450
+ lookbehind: true,
1451
+ inside: Prism.languages.javascript
1452
+ }
1453
+ ],
1454
+ 'constant': /\b[A-Z](?:[A-Z_]|\dx?)*\b/
1455
+ });
1456
+ Prism.languages.insertBefore('javascript', 'string', {
1457
+ 'hashbang': {
1458
+ pattern: /^#!.*/,
1459
+ greedy: true,
1460
+ alias: 'comment'
1461
+ },
1462
+ 'template-string': {
1463
+ pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
1464
+ greedy: true,
1465
+ inside: {
1466
+ 'template-punctuation': {
1467
+ pattern: /^`|`$/,
1468
+ alias: 'string'
1469
+ },
1470
+ 'interpolation': {
1471
+ pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
1472
+ lookbehind: true,
1473
+ inside: {
1474
+ 'interpolation-punctuation': {
1475
+ pattern: /^\$\{|\}$/,
1476
+ alias: 'punctuation'
1477
+ },
1478
+ rest: Prism.languages.javascript
1479
+ }
1480
+ },
1481
+ 'string': /[\s\S]+/
1482
+ }
1483
+ },
1484
+ 'string-property': {
1485
+ pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
1486
+ lookbehind: true,
1487
+ greedy: true,
1488
+ alias: 'property'
1489
+ }
1490
+ });
1491
+ Prism.languages.insertBefore('javascript', 'operator', {
1492
+ 'literal-property': {
1493
+ pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
1494
+ lookbehind: true,
1495
+ alias: 'property'
1496
+ }
1497
+ });
1498
+ if (Prism.languages.markup) {
1499
+ Prism.languages.markup.tag.addInlined('script', 'javascript');
1500
+ Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source, 'javascript');
1501
+ }
1502
+ Prism.languages.js = Prism.languages.javascript;
1503
+ Prism.languages.markup = {
1504
+ 'comment': {
1505
+ pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
1506
+ greedy: true
1507
+ },
1508
+ 'prolog': {
1509
+ pattern: /<\?[\s\S]+?\?>/,
1510
+ greedy: true
1511
+ },
1512
+ 'doctype': {
1513
+ pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
1514
+ greedy: true,
1515
+ inside: {
1516
+ 'internal-subset': {
1517
+ pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
1518
+ lookbehind: true,
1519
+ greedy: true,
1520
+ inside: null
1521
+ },
1522
+ 'string': {
1523
+ pattern: /"[^"]*"|'[^']*'/,
1524
+ greedy: true
1525
+ },
1526
+ 'punctuation': /^<!|>$|[[\]]/,
1527
+ 'doctype-tag': /^DOCTYPE/i,
1528
+ 'name': /[^\s<>'"]+/
1529
+ }
1530
+ },
1531
+ 'cdata': {
1532
+ pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
1533
+ greedy: true
1534
+ },
1535
+ 'tag': {
1536
+ pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
1537
+ greedy: true,
1538
+ inside: {
1539
+ 'tag': {
1540
+ pattern: /^<\/?[^\s>\/]+/,
1541
+ inside: {
1542
+ 'punctuation': /^<\/?/,
1543
+ 'namespace': /^[^\s>\/:]+:/
1544
+ }
1545
+ },
1546
+ 'special-attr': [],
1547
+ 'attr-value': {
1548
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
1549
+ inside: {
1550
+ 'punctuation': [
1551
+ {
1552
+ pattern: /^=/,
1553
+ alias: 'attr-equals'
1554
+ },
1555
+ {
1556
+ pattern: /^(\s*)["']|["']$/,
1557
+ lookbehind: true
1558
+ }
1559
+ ]
1560
+ }
1561
+ },
1562
+ 'punctuation': /\/?>/,
1563
+ 'attr-name': {
1564
+ pattern: /[^\s>\/]+/,
1565
+ inside: { 'namespace': /^[^\s>\/:]+:/ }
1566
+ }
1567
+ }
1568
+ },
1569
+ 'entity': [
1570
+ {
1571
+ pattern: /&[\da-z]{1,8};/i,
1572
+ alias: 'named-entity'
1573
+ },
1574
+ /&#x?[\da-f]{1,8};/i
1575
+ ]
1576
+ };
1577
+ Prism.languages.markup['tag'].inside['attr-value'].inside['entity'] = Prism.languages.markup['entity'];
1578
+ Prism.languages.markup['doctype'].inside['internal-subset'].inside = Prism.languages.markup;
1579
+ Prism.hooks.add('wrap', function (env) {
1580
+ if (env.type === 'entity') {
1581
+ env.attributes['title'] = env.content.replace(/&amp;/, '&');
1582
+ }
1583
+ });
1584
+ Object.defineProperty(Prism.languages.markup.tag, 'addInlined', {
1585
+ value: function addInlined(tagName, lang) {
1586
+ var includedCdataInside = {};
1587
+ includedCdataInside['language-' + lang] = {
1588
+ pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
1589
+ lookbehind: true,
1590
+ inside: Prism.languages[lang]
1591
+ };
1592
+ includedCdataInside['cdata'] = /^<!\[CDATA\[|\]\]>$/i;
1593
+ var inside = {
1594
+ 'included-cdata': {
1595
+ pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
1596
+ inside: includedCdataInside
1597
+ }
1598
+ };
1599
+ inside['language-' + lang] = {
1600
+ pattern: /[\s\S]+/,
1601
+ inside: Prism.languages[lang]
1602
+ };
1603
+ var def = {};
1604
+ def[tagName] = {
1605
+ pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function () {
1606
+ return tagName;
1607
+ }), 'i'),
1608
+ lookbehind: true,
1609
+ greedy: true,
1610
+ inside: inside
1611
+ };
1612
+ Prism.languages.insertBefore('markup', 'cdata', def);
1613
+ }
1614
+ });
1615
+ Object.defineProperty(Prism.languages.markup.tag, 'addAttribute', {
1616
+ value: function (attrName, lang) {
1617
+ Prism.languages.markup.tag.inside['special-attr'].push({
1618
+ pattern: RegExp(/(^|["'\s])/.source + '(?:' + attrName + ')' + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source, 'i'),
1619
+ lookbehind: true,
1620
+ inside: {
1621
+ 'attr-name': /^[^\s=]+/,
1622
+ 'attr-value': {
1623
+ pattern: /=[\s\S]+/,
1624
+ inside: {
1625
+ 'value': {
1626
+ pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
1627
+ lookbehind: true,
1628
+ alias: [
1629
+ lang,
1630
+ 'language-' + lang
1631
+ ],
1632
+ inside: Prism.languages[lang]
1633
+ },
1634
+ 'punctuation': [
1635
+ {
1636
+ pattern: /^=/,
1637
+ alias: 'attr-equals'
1638
+ },
1639
+ /"|'/
1640
+ ]
1641
+ }
1642
+ }
1643
+ }
1644
+ });
1645
+ }
1646
+ });
1647
+ Prism.languages.html = Prism.languages.markup;
1648
+ Prism.languages.mathml = Prism.languages.markup;
1649
+ Prism.languages.svg = Prism.languages.markup;
1650
+ Prism.languages.xml = Prism.languages.extend('markup', {});
1651
+ Prism.languages.ssml = Prism.languages.xml;
1652
+ Prism.languages.atom = Prism.languages.xml;
1653
+ Prism.languages.rss = Prism.languages.xml;
1654
+ (function (Prism) {
1655
+ var comment = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/;
1656
+ var constant = [
1657
+ {
1658
+ pattern: /\b(?:false|true)\b/i,
1659
+ alias: 'boolean'
1660
+ },
1661
+ {
1662
+ pattern: /(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,
1663
+ greedy: true,
1664
+ lookbehind: true
1665
+ },
1666
+ {
1667
+ pattern: /(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,
1668
+ greedy: true,
1669
+ lookbehind: true
1670
+ },
1671
+ /\b(?:null)\b/i,
1672
+ /\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/
1673
+ ];
1674
+ var number = /\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i;
1675
+ var operator = /<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/;
1676
+ var punctuation = /[{}\[\](),:;]/;
1677
+ Prism.languages.php = {
1678
+ 'delimiter': {
1679
+ pattern: /\?>$|^<\?(?:php(?=\s)|=)?/i,
1680
+ alias: 'important'
1681
+ },
1682
+ 'comment': comment,
1683
+ 'variable': /\$+(?:\w+\b|(?=\{))/,
1684
+ 'package': {
1685
+ pattern: /(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
1686
+ lookbehind: true,
1687
+ inside: { 'punctuation': /\\/ }
1688
+ },
1689
+ 'class-name-definition': {
1690
+ pattern: /(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,
1691
+ lookbehind: true,
1692
+ alias: 'class-name'
1693
+ },
1694
+ 'function-definition': {
1695
+ pattern: /(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,
1696
+ lookbehind: true,
1697
+ alias: 'function'
1698
+ },
1699
+ 'keyword': [
1700
+ {
1701
+ pattern: /(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,
1702
+ alias: 'type-casting',
1703
+ greedy: true,
1704
+ lookbehind: true
1705
+ },
1706
+ {
1707
+ pattern: /([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,
1708
+ alias: 'type-hint',
1709
+ greedy: true,
1710
+ lookbehind: true
1711
+ },
1712
+ {
1713
+ pattern: /(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,
1714
+ alias: 'return-type',
1715
+ greedy: true,
1716
+ lookbehind: true
1717
+ },
1718
+ {
1719
+ pattern: /\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,
1720
+ alias: 'type-declaration',
1721
+ greedy: true
1722
+ },
1723
+ {
1724
+ pattern: /(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,
1725
+ alias: 'type-declaration',
1726
+ greedy: true,
1727
+ lookbehind: true
1728
+ },
1729
+ {
1730
+ pattern: /\b(?:parent|self|static)(?=\s*::)/i,
1731
+ alias: 'static-context',
1732
+ greedy: true
1733
+ },
1734
+ {
1735
+ pattern: /(\byield\s+)from\b/i,
1736
+ lookbehind: true
1737
+ },
1738
+ /\bclass\b/i,
1739
+ {
1740
+ pattern: /((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,
1741
+ lookbehind: true
1742
+ }
1743
+ ],
1744
+ 'argument-name': {
1745
+ pattern: /([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,
1746
+ lookbehind: true
1747
+ },
1748
+ 'class-name': [
1749
+ {
1750
+ pattern: /(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,
1751
+ greedy: true,
1752
+ lookbehind: true
1753
+ },
1754
+ {
1755
+ pattern: /(\|\s*)\b[a-z_]\w*(?!\\)\b/i,
1756
+ greedy: true,
1757
+ lookbehind: true
1758
+ },
1759
+ {
1760
+ pattern: /\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,
1761
+ greedy: true
1762
+ },
1763
+ {
1764
+ pattern: /(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,
1765
+ alias: 'class-name-fully-qualified',
1766
+ greedy: true,
1767
+ lookbehind: true,
1768
+ inside: { 'punctuation': /\\/ }
1769
+ },
1770
+ {
1771
+ pattern: /(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,
1772
+ alias: 'class-name-fully-qualified',
1773
+ greedy: true,
1774
+ inside: { 'punctuation': /\\/ }
1775
+ },
1776
+ {
1777
+ pattern: /(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
1778
+ alias: 'class-name-fully-qualified',
1779
+ greedy: true,
1780
+ lookbehind: true,
1781
+ inside: { 'punctuation': /\\/ }
1782
+ },
1783
+ {
1784
+ pattern: /\b[a-z_]\w*(?=\s*\$)/i,
1785
+ alias: 'type-declaration',
1786
+ greedy: true
1787
+ },
1788
+ {
1789
+ pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
1790
+ alias: [
1791
+ 'class-name-fully-qualified',
1792
+ 'type-declaration'
1793
+ ],
1794
+ greedy: true,
1795
+ inside: { 'punctuation': /\\/ }
1796
+ },
1797
+ {
1798
+ pattern: /\b[a-z_]\w*(?=\s*::)/i,
1799
+ alias: 'static-context',
1800
+ greedy: true
1801
+ },
1802
+ {
1803
+ pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,
1804
+ alias: [
1805
+ 'class-name-fully-qualified',
1806
+ 'static-context'
1807
+ ],
1808
+ greedy: true,
1809
+ inside: { 'punctuation': /\\/ }
1810
+ },
1811
+ {
1812
+ pattern: /([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,
1813
+ alias: 'type-hint',
1814
+ greedy: true,
1815
+ lookbehind: true
1816
+ },
1817
+ {
1818
+ pattern: /([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
1819
+ alias: [
1820
+ 'class-name-fully-qualified',
1821
+ 'type-hint'
1822
+ ],
1823
+ greedy: true,
1824
+ lookbehind: true,
1825
+ inside: { 'punctuation': /\\/ }
1826
+ },
1827
+ {
1828
+ pattern: /(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,
1829
+ alias: 'return-type',
1830
+ greedy: true,
1831
+ lookbehind: true
1832
+ },
1833
+ {
1834
+ pattern: /(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
1835
+ alias: [
1836
+ 'class-name-fully-qualified',
1837
+ 'return-type'
1838
+ ],
1839
+ greedy: true,
1840
+ lookbehind: true,
1841
+ inside: { 'punctuation': /\\/ }
1842
+ }
1843
+ ],
1844
+ 'constant': constant,
1845
+ 'function': {
1846
+ pattern: /(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,
1847
+ lookbehind: true,
1848
+ inside: { 'punctuation': /\\/ }
1849
+ },
1850
+ 'property': {
1851
+ pattern: /(->\s*)\w+/,
1852
+ lookbehind: true
1853
+ },
1854
+ 'number': number,
1855
+ 'operator': operator,
1856
+ 'punctuation': punctuation
1857
+ };
1858
+ var string_interpolation = {
1859
+ pattern: /\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,
1860
+ lookbehind: true,
1861
+ inside: Prism.languages.php
1862
+ };
1863
+ var string = [
1864
+ {
1865
+ pattern: /<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,
1866
+ alias: 'nowdoc-string',
1867
+ greedy: true,
1868
+ inside: {
1869
+ 'delimiter': {
1870
+ pattern: /^<<<'[^']+'|[a-z_]\w*;$/i,
1871
+ alias: 'symbol',
1872
+ inside: { 'punctuation': /^<<<'?|[';]$/ }
1873
+ }
1874
+ }
1875
+ },
1876
+ {
1877
+ pattern: /<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,
1878
+ alias: 'heredoc-string',
1879
+ greedy: true,
1880
+ inside: {
1881
+ 'delimiter': {
1882
+ pattern: /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,
1883
+ alias: 'symbol',
1884
+ inside: { 'punctuation': /^<<<"?|[";]$/ }
1885
+ },
1886
+ 'interpolation': string_interpolation
1887
+ }
1888
+ },
1889
+ {
1890
+ pattern: /`(?:\\[\s\S]|[^\\`])*`/,
1891
+ alias: 'backtick-quoted-string',
1892
+ greedy: true
1893
+ },
1894
+ {
1895
+ pattern: /'(?:\\[\s\S]|[^\\'])*'/,
1896
+ alias: 'single-quoted-string',
1897
+ greedy: true
1898
+ },
1899
+ {
1900
+ pattern: /"(?:\\[\s\S]|[^\\"])*"/,
1901
+ alias: 'double-quoted-string',
1902
+ greedy: true,
1903
+ inside: { 'interpolation': string_interpolation }
1904
+ }
1905
+ ];
1906
+ Prism.languages.insertBefore('php', 'variable', {
1907
+ 'string': string,
1908
+ 'attribute': {
1909
+ pattern: /#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,
1910
+ greedy: true,
1911
+ inside: {
1912
+ 'attribute-content': {
1913
+ pattern: /^(#\[)[\s\S]+(?=\]$)/,
1914
+ lookbehind: true,
1915
+ inside: {
1916
+ 'comment': comment,
1917
+ 'string': string,
1918
+ 'attribute-class-name': [
1919
+ {
1920
+ pattern: /([^:]|^)\b[a-z_]\w*(?!\\)\b/i,
1921
+ alias: 'class-name',
1922
+ greedy: true,
1923
+ lookbehind: true
1924
+ },
1925
+ {
1926
+ pattern: /([^:]|^)(?:\\?\b[a-z_]\w*)+/i,
1927
+ alias: [
1928
+ 'class-name',
1929
+ 'class-name-fully-qualified'
1930
+ ],
1931
+ greedy: true,
1932
+ lookbehind: true,
1933
+ inside: { 'punctuation': /\\/ }
1934
+ }
1935
+ ],
1936
+ 'constant': constant,
1937
+ 'number': number,
1938
+ 'operator': operator,
1939
+ 'punctuation': punctuation
1940
+ }
1941
+ },
1942
+ 'delimiter': {
1943
+ pattern: /^#\[|\]$/,
1944
+ alias: 'punctuation'
1945
+ }
1946
+ }
1947
+ }
1948
+ });
1949
+ Prism.hooks.add('before-tokenize', function (env) {
1950
+ if (!/<\?/.test(env.code)) {
1951
+ return;
1952
+ }
1953
+ var phpPattern = /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;
1954
+ Prism.languages['markup-templating'].buildPlaceholders(env, 'php', phpPattern);
1955
+ });
1956
+ Prism.hooks.add('after-tokenize', function (env) {
1957
+ Prism.languages['markup-templating'].tokenizePlaceholders(env, 'php');
1958
+ });
1959
+ }(Prism));
1960
+ Prism.languages.python = {
1961
+ 'comment': {
1962
+ pattern: /(^|[^\\])#.*/,
1963
+ lookbehind: true,
1964
+ greedy: true
1965
+ },
1966
+ 'string-interpolation': {
1967
+ pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
1968
+ greedy: true,
1969
+ inside: {
1970
+ 'interpolation': {
1971
+ pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
1972
+ lookbehind: true,
1973
+ inside: {
1974
+ 'format-spec': {
1975
+ pattern: /(:)[^:(){}]+(?=\}$)/,
1976
+ lookbehind: true
1977
+ },
1978
+ 'conversion-option': {
1979
+ pattern: /![sra](?=[:}]$)/,
1980
+ alias: 'punctuation'
1981
+ },
1982
+ rest: null
1983
+ }
1984
+ },
1985
+ 'string': /[\s\S]+/
1986
+ }
1987
+ },
1988
+ 'triple-quoted-string': {
1989
+ pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
1990
+ greedy: true,
1991
+ alias: 'string'
1992
+ },
1993
+ 'string': {
1994
+ pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
1995
+ greedy: true
1996
+ },
1997
+ 'function': {
1998
+ pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
1999
+ lookbehind: true
2000
+ },
2001
+ 'class-name': {
2002
+ pattern: /(\bclass\s+)\w+/i,
2003
+ lookbehind: true
2004
+ },
2005
+ 'decorator': {
2006
+ pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
2007
+ lookbehind: true,
2008
+ alias: [
2009
+ 'annotation',
2010
+ 'punctuation'
2011
+ ],
2012
+ inside: { 'punctuation': /\./ }
2013
+ },
2014
+ 'keyword': /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
2015
+ 'builtin': /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
2016
+ 'boolean': /\b(?:False|None|True)\b/,
2017
+ 'number': /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
2018
+ 'operator': /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
2019
+ 'punctuation': /[{}[\];(),.:]/
2020
+ };
2021
+ Prism.languages.python['string-interpolation'].inside['interpolation'].inside.rest = Prism.languages.python;
2022
+ Prism.languages.py = Prism.languages.python;
2023
+ (function (Prism) {
2024
+ Prism.languages.ruby = Prism.languages.extend('clike', {
2025
+ 'comment': {
2026
+ pattern: /#.*|^=begin\s[\s\S]*?^=end/m,
2027
+ greedy: true
2028
+ },
2029
+ 'class-name': {
2030
+ pattern: /(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,
2031
+ lookbehind: true,
2032
+ inside: { 'punctuation': /[.\\]/ }
2033
+ },
2034
+ 'keyword': /\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,
2035
+ 'operator': /\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,
2036
+ 'punctuation': /[(){}[\].,;]/
2037
+ });
2038
+ Prism.languages.insertBefore('ruby', 'operator', {
2039
+ 'double-colon': {
2040
+ pattern: /::/,
2041
+ alias: 'punctuation'
2042
+ }
2043
+ });
2044
+ var interpolation = {
2045
+ pattern: /((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,
2046
+ lookbehind: true,
2047
+ inside: {
2048
+ 'content': {
2049
+ pattern: /^(#\{)[\s\S]+(?=\}$)/,
2050
+ lookbehind: true,
2051
+ inside: Prism.languages.ruby
2052
+ },
2053
+ 'delimiter': {
2054
+ pattern: /^#\{|\}$/,
2055
+ alias: 'punctuation'
2056
+ }
2057
+ }
2058
+ };
2059
+ delete Prism.languages.ruby.function;
2060
+ var percentExpression = '(?:' + [
2061
+ /([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,
2062
+ /\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,
2063
+ /\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,
2064
+ /\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,
2065
+ /<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source
2066
+ ].join('|') + ')';
2067
+ var symbolName = /(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;
2068
+ Prism.languages.insertBefore('ruby', 'keyword', {
2069
+ 'regex-literal': [
2070
+ {
2071
+ pattern: RegExp(/%r/.source + percentExpression + /[egimnosux]{0,6}/.source),
2072
+ greedy: true,
2073
+ inside: {
2074
+ 'interpolation': interpolation,
2075
+ 'regex': /[\s\S]+/
2076
+ }
2077
+ },
2078
+ {
2079
+ pattern: /(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,
2080
+ lookbehind: true,
2081
+ greedy: true,
2082
+ inside: {
2083
+ 'interpolation': interpolation,
2084
+ 'regex': /[\s\S]+/
2085
+ }
2086
+ }
2087
+ ],
2088
+ 'variable': /[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,
2089
+ 'symbol': [
2090
+ {
2091
+ pattern: RegExp(/(^|[^:]):/.source + symbolName),
2092
+ lookbehind: true,
2093
+ greedy: true
2094
+ },
2095
+ {
2096
+ pattern: RegExp(/([\r\n{(,][ \t]*)/.source + symbolName + /(?=:(?!:))/.source),
2097
+ lookbehind: true,
2098
+ greedy: true
2099
+ }
2100
+ ],
2101
+ 'method-definition': {
2102
+ pattern: /(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,
2103
+ lookbehind: true,
2104
+ inside: {
2105
+ 'function': /\b\w+$/,
2106
+ 'keyword': /^self\b/,
2107
+ 'class-name': /^\w+/,
2108
+ 'punctuation': /\./
2109
+ }
2110
+ }
2111
+ });
2112
+ Prism.languages.insertBefore('ruby', 'string', {
2113
+ 'string-literal': [
2114
+ {
2115
+ pattern: RegExp(/%[qQiIwWs]?/.source + percentExpression),
2116
+ greedy: true,
2117
+ inside: {
2118
+ 'interpolation': interpolation,
2119
+ 'string': /[\s\S]+/
2120
+ }
2121
+ },
2122
+ {
2123
+ pattern: /("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,
2124
+ greedy: true,
2125
+ inside: {
2126
+ 'interpolation': interpolation,
2127
+ 'string': /[\s\S]+/
2128
+ }
2129
+ },
2130
+ {
2131
+ pattern: /<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,
2132
+ alias: 'heredoc-string',
2133
+ greedy: true,
2134
+ inside: {
2135
+ 'delimiter': {
2136
+ pattern: /^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,
2137
+ inside: {
2138
+ 'symbol': /\b\w+/,
2139
+ 'punctuation': /^<<[-~]?/
2140
+ }
2141
+ },
2142
+ 'interpolation': interpolation,
2143
+ 'string': /[\s\S]+/
2144
+ }
2145
+ },
2146
+ {
2147
+ pattern: /<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,
2148
+ alias: 'heredoc-string',
2149
+ greedy: true,
2150
+ inside: {
2151
+ 'delimiter': {
2152
+ pattern: /^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,
2153
+ inside: {
2154
+ 'symbol': /\b\w+/,
2155
+ 'punctuation': /^<<[-~]?'|'$/
2156
+ }
2157
+ },
2158
+ 'string': /[\s\S]+/
2159
+ }
2160
+ }
2161
+ ],
2162
+ 'command-literal': [
2163
+ {
2164
+ pattern: RegExp(/%x/.source + percentExpression),
2165
+ greedy: true,
2166
+ inside: {
2167
+ 'interpolation': interpolation,
2168
+ 'command': {
2169
+ pattern: /[\s\S]+/,
2170
+ alias: 'string'
2171
+ }
2172
+ }
2173
+ },
2174
+ {
2175
+ pattern: /`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,
2176
+ greedy: true,
2177
+ inside: {
2178
+ 'interpolation': interpolation,
2179
+ 'command': {
2180
+ pattern: /[\s\S]+/,
2181
+ alias: 'string'
2182
+ }
2183
+ }
2184
+ }
2185
+ ]
2186
+ });
2187
+ delete Prism.languages.ruby.string;
2188
+ Prism.languages.insertBefore('ruby', 'number', {
2189
+ 'builtin': /\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,
2190
+ 'constant': /\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/
2191
+ });
2192
+ Prism.languages.rb = Prism.languages.ruby;
2193
+ }(Prism));
2194
+ window.Prism = oldprism;
2195
+ return Prism;
2196
+ }(undefined, undefined);
2197
+
2198
+ const option = name => editor => editor.options.get(name);
2199
+ const register$2 = editor => {
2200
+ const registerOption = editor.options.register;
2201
+ registerOption('codesample_languages', { processor: 'object[]' });
2202
+ registerOption('codesample_global_prismjs', {
2203
+ processor: 'boolean',
2204
+ default: false
2205
+ });
2206
+ };
2207
+ const getLanguages$1 = option('codesample_languages');
2208
+ const useGlobalPrismJS = option('codesample_global_prismjs');
2209
+
2210
+ const get = editor => Global.Prism && useGlobalPrismJS(editor) ? Global.Prism : prismjs;
2211
+
2212
+ const isCodeSample = elm => {
2213
+ return isNonNullable(elm) && elm.nodeName === 'PRE' && elm.className.indexOf('language-') !== -1;
2214
+ };
2215
+
2216
+ const getSelectedCodeSample = editor => {
2217
+ const node = editor.selection ? editor.selection.getNode() : null;
2218
+ return isCodeSample(node) ? Optional.some(node) : Optional.none();
2219
+ };
2220
+ const insertCodeSample = (editor, language, code) => {
2221
+ const dom = editor.dom;
2222
+ editor.undoManager.transact(() => {
2223
+ const node = getSelectedCodeSample(editor);
2224
+ code = global$1.DOM.encode(code);
2225
+ return node.fold(() => {
2226
+ editor.insertContent('<pre id="__new" class="language-' + language + '">' + code + '</pre>');
2227
+ const newPre = dom.select('#__new')[0];
2228
+ dom.setAttrib(newPre, 'id', null);
2229
+ editor.selection.select(newPre);
2230
+ }, n => {
2231
+ dom.setAttrib(n, 'class', 'language-' + language);
2232
+ n.innerHTML = code;
2233
+ get(editor).highlightElement(n);
2234
+ editor.selection.select(n);
2235
+ });
2236
+ });
2237
+ };
2238
+ const getCurrentCode = editor => {
2239
+ const node = getSelectedCodeSample(editor);
2240
+ return node.bind(n => Optional.from(n.textContent)).getOr('');
2241
+ };
2242
+
2243
+ const getLanguages = editor => {
2244
+ const defaultLanguages = [
2245
+ {
2246
+ text: 'HTML/XML',
2247
+ value: 'markup'
2248
+ },
2249
+ {
2250
+ text: 'JavaScript',
2251
+ value: 'javascript'
2252
+ },
2253
+ {
2254
+ text: 'CSS',
2255
+ value: 'css'
2256
+ },
2257
+ {
2258
+ text: 'PHP',
2259
+ value: 'php'
2260
+ },
2261
+ {
2262
+ text: 'Ruby',
2263
+ value: 'ruby'
2264
+ },
2265
+ {
2266
+ text: 'Python',
2267
+ value: 'python'
2268
+ },
2269
+ {
2270
+ text: 'Java',
2271
+ value: 'java'
2272
+ },
2273
+ {
2274
+ text: 'C',
2275
+ value: 'c'
2276
+ },
2277
+ {
2278
+ text: 'C#',
2279
+ value: 'csharp'
2280
+ },
2281
+ {
2282
+ text: 'C++',
2283
+ value: 'cpp'
2284
+ }
2285
+ ];
2286
+ const customLanguages = getLanguages$1(editor);
2287
+ return customLanguages ? customLanguages : defaultLanguages;
2288
+ };
2289
+ const getCurrentLanguage = (editor, fallback) => {
2290
+ const node = getSelectedCodeSample(editor);
2291
+ return node.fold(() => fallback, n => {
2292
+ const matches = n.className.match(/language-(\w+)/);
2293
+ return matches ? matches[1] : fallback;
2294
+ });
2295
+ };
2296
+
2297
+ const open = editor => {
2298
+ const languages = getLanguages(editor);
2299
+ const defaultLanguage = head(languages).fold(constant(''), l => l.value);
2300
+ const currentLanguage = getCurrentLanguage(editor, defaultLanguage);
2301
+ const currentCode = getCurrentCode(editor);
2302
+ editor.windowManager.open({
2303
+ title: 'Insert/Edit Code Sample',
2304
+ size: 'large',
2305
+ body: {
2306
+ type: 'panel',
2307
+ items: [
2308
+ {
2309
+ type: 'listbox',
2310
+ name: 'language',
2311
+ label: 'Language',
2312
+ items: languages
2313
+ },
2314
+ {
2315
+ type: 'textarea',
2316
+ name: 'code',
2317
+ label: 'Code view'
2318
+ }
2319
+ ]
2320
+ },
2321
+ buttons: [
2322
+ {
2323
+ type: 'cancel',
2324
+ name: 'cancel',
2325
+ text: 'Cancel'
2326
+ },
2327
+ {
2328
+ type: 'submit',
2329
+ name: 'save',
2330
+ text: 'Save',
2331
+ primary: true
2332
+ }
2333
+ ],
2334
+ initialData: {
2335
+ language: currentLanguage,
2336
+ code: currentCode
2337
+ },
2338
+ onSubmit: api => {
2339
+ const data = api.getData();
2340
+ insertCodeSample(editor, data.language, data.code);
2341
+ api.close();
2342
+ }
2343
+ });
2344
+ };
2345
+
2346
+ const register$1 = editor => {
2347
+ editor.addCommand('codesample', () => {
2348
+ const node = editor.selection.getNode();
2349
+ if (editor.selection.isCollapsed() || isCodeSample(node)) {
2350
+ open(editor);
2351
+ } else {
2352
+ editor.formatter.toggle('code');
2353
+ }
2354
+ });
2355
+ };
2356
+
2357
+ const blank = r => s => s.replace(r, '');
2358
+ const trim = blank(/^\s+|\s+$/g);
2359
+
2360
+ var global = tinymce.util.Tools.resolve('tinymce.util.Tools');
2361
+
2362
+ const setup = editor => {
2363
+ editor.on('PreProcess', e => {
2364
+ const dom = editor.dom;
2365
+ const pres = dom.select('pre[contenteditable=false]', e.node);
2366
+ global.each(global.grep(pres, isCodeSample), elm => {
2367
+ const code = elm.textContent;
2368
+ dom.setAttrib(elm, 'class', trim(dom.getAttrib(elm, 'class')));
2369
+ dom.setAttrib(elm, 'contentEditable', null);
2370
+ dom.setAttrib(elm, 'data-mce-highlighted', null);
2371
+ let child;
2372
+ while (child = elm.firstChild) {
2373
+ elm.removeChild(child);
2374
+ }
2375
+ const codeElm = dom.add(elm, 'code');
2376
+ codeElm.textContent = code;
2377
+ });
2378
+ });
2379
+ editor.on('SetContent', () => {
2380
+ const dom = editor.dom;
2381
+ const unprocessedCodeSamples = global.grep(dom.select('pre'), elm => {
2382
+ return isCodeSample(elm) && dom.getAttrib(elm, 'data-mce-highlighted') !== 'true';
2383
+ });
2384
+ if (unprocessedCodeSamples.length) {
2385
+ editor.undoManager.transact(() => {
2386
+ global.each(unprocessedCodeSamples, elm => {
2387
+ var _a;
2388
+ global.each(dom.select('br', elm), elm => {
2389
+ dom.replace(editor.getDoc().createTextNode('\n'), elm);
2390
+ });
2391
+ elm.innerHTML = dom.encode((_a = elm.textContent) !== null && _a !== void 0 ? _a : '');
2392
+ get(editor).highlightElement(elm);
2393
+ dom.setAttrib(elm, 'data-mce-highlighted', true);
2394
+ elm.className = trim(elm.className);
2395
+ });
2396
+ });
2397
+ }
2398
+ });
2399
+ editor.on('PreInit', () => {
2400
+ editor.parser.addNodeFilter('pre', nodes => {
2401
+ var _a;
2402
+ for (let i = 0, l = nodes.length; i < l; i++) {
2403
+ const node = nodes[i];
2404
+ const isCodeSample = ((_a = node.attr('class')) !== null && _a !== void 0 ? _a : '').indexOf('language-') !== -1;
2405
+ if (isCodeSample) {
2406
+ node.attr('contenteditable', 'false');
2407
+ node.attr('data-mce-highlighted', 'false');
2408
+ }
2409
+ }
2410
+ });
2411
+ });
2412
+ };
2413
+
2414
+ const onSetupEditable = (editor, onChanged = noop) => api => {
2415
+ const nodeChanged = () => {
2416
+ api.setEnabled(editor.selection.isEditable());
2417
+ onChanged(api);
2418
+ };
2419
+ editor.on('NodeChange', nodeChanged);
2420
+ nodeChanged();
2421
+ return () => {
2422
+ editor.off('NodeChange', nodeChanged);
2423
+ };
2424
+ };
2425
+ const isCodeSampleSelection = editor => {
2426
+ const node = editor.selection.getStart();
2427
+ return editor.dom.is(node, 'pre[class*="language-"]');
2428
+ };
2429
+ const register = editor => {
2430
+ const onAction = () => editor.execCommand('codesample');
2431
+ editor.ui.registry.addToggleButton('codesample', {
2432
+ icon: 'code-sample',
2433
+ tooltip: 'Insert/edit code sample',
2434
+ onAction,
2435
+ onSetup: onSetupEditable(editor, api => {
2436
+ api.setActive(isCodeSampleSelection(editor));
2437
+ })
2438
+ });
2439
+ editor.ui.registry.addMenuItem('codesample', {
2440
+ text: 'Code sample...',
2441
+ icon: 'code-sample',
2442
+ onAction,
2443
+ onSetup: onSetupEditable(editor)
2444
+ });
2445
+ };
2446
+
2447
+ var Plugin = () => {
2448
+ global$2.add('codesample', editor => {
2449
+ register$2(editor);
2450
+ setup(editor);
2451
+ register(editor);
2452
+ register$1(editor);
2453
+ editor.on('dblclick', ev => {
2454
+ if (isCodeSample(ev.target)) {
2455
+ open(editor);
2456
+ }
2457
+ });
2458
+ });
2459
+ };
2460
+
2461
+ Plugin();
2462
+
2463
+ })();