@ckeditor/ckeditor5-slash-command 47.6.1 → 48.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/ckeditor5-metadata.json +1 -1
  2. package/dist/index-editor.css +43 -44
  3. package/dist/index.css +43 -58
  4. package/dist/index.js +1 -1
  5. package/{src → dist}/slashcommand.d.ts +3 -2
  6. package/{src → dist}/slashcommandconfig.d.ts +1 -1
  7. package/{src → dist}/slashcommandediting.d.ts +1 -1
  8. package/{src → dist}/slashcommandeditorconfig.d.ts +4 -4
  9. package/{src → dist}/slashcommandui.d.ts +1 -1
  10. package/dist/translations/af.js +1 -1
  11. package/dist/translations/af.umd.js +1 -1
  12. package/dist/translations/ar.js +1 -1
  13. package/dist/translations/ar.umd.js +1 -1
  14. package/dist/translations/ast.js +1 -1
  15. package/dist/translations/ast.umd.js +1 -1
  16. package/dist/translations/az.js +1 -1
  17. package/dist/translations/az.umd.js +1 -1
  18. package/dist/translations/be.js +1 -1
  19. package/dist/translations/be.umd.js +1 -1
  20. package/dist/translations/bg.js +1 -1
  21. package/dist/translations/bg.umd.js +1 -1
  22. package/dist/translations/bn.js +1 -1
  23. package/dist/translations/bn.umd.js +1 -1
  24. package/dist/translations/bs.js +1 -1
  25. package/dist/translations/bs.umd.js +1 -1
  26. package/dist/translations/ca.js +1 -1
  27. package/dist/translations/ca.umd.js +1 -1
  28. package/dist/translations/cs.js +1 -1
  29. package/dist/translations/cs.umd.js +1 -1
  30. package/dist/translations/da.js +1 -1
  31. package/dist/translations/da.umd.js +1 -1
  32. package/dist/translations/de-ch.js +1 -1
  33. package/dist/translations/de-ch.umd.js +1 -1
  34. package/dist/translations/de.js +1 -1
  35. package/dist/translations/de.umd.js +1 -1
  36. package/dist/translations/el.js +1 -1
  37. package/dist/translations/el.umd.js +1 -1
  38. package/dist/translations/en-au.js +1 -1
  39. package/dist/translations/en-au.umd.js +1 -1
  40. package/dist/translations/en-gb.js +1 -1
  41. package/dist/translations/en-gb.umd.js +1 -1
  42. package/dist/translations/en.js +1 -1
  43. package/dist/translations/en.umd.js +1 -1
  44. package/dist/translations/eo.js +1 -1
  45. package/dist/translations/eo.umd.js +1 -1
  46. package/dist/translations/es-co.js +1 -1
  47. package/dist/translations/es-co.umd.js +1 -1
  48. package/dist/translations/es.js +1 -1
  49. package/dist/translations/es.umd.js +1 -1
  50. package/dist/translations/et.js +1 -1
  51. package/dist/translations/et.umd.js +1 -1
  52. package/dist/translations/eu.js +1 -1
  53. package/dist/translations/eu.umd.js +1 -1
  54. package/dist/translations/fa.js +1 -1
  55. package/dist/translations/fa.umd.js +1 -1
  56. package/dist/translations/fi.js +1 -1
  57. package/dist/translations/fi.umd.js +1 -1
  58. package/dist/translations/fr.js +1 -1
  59. package/dist/translations/fr.umd.js +1 -1
  60. package/dist/translations/gl.js +1 -1
  61. package/dist/translations/gl.umd.js +1 -1
  62. package/dist/translations/gu.js +1 -1
  63. package/dist/translations/gu.umd.js +1 -1
  64. package/dist/translations/he.js +1 -1
  65. package/dist/translations/he.umd.js +1 -1
  66. package/dist/translations/hi.js +1 -1
  67. package/dist/translations/hi.umd.js +1 -1
  68. package/dist/translations/hr.js +1 -1
  69. package/dist/translations/hr.umd.js +1 -1
  70. package/dist/translations/hu.js +1 -1
  71. package/dist/translations/hu.umd.js +1 -1
  72. package/dist/translations/hy.js +1 -1
  73. package/dist/translations/hy.umd.js +1 -1
  74. package/dist/translations/id.js +1 -1
  75. package/dist/translations/id.umd.js +1 -1
  76. package/dist/translations/it.js +1 -1
  77. package/dist/translations/it.umd.js +1 -1
  78. package/dist/translations/ja.js +1 -1
  79. package/dist/translations/ja.umd.js +1 -1
  80. package/dist/translations/jv.js +1 -1
  81. package/dist/translations/jv.umd.js +1 -1
  82. package/dist/translations/kk.js +1 -1
  83. package/dist/translations/kk.umd.js +1 -1
  84. package/dist/translations/km.js +1 -1
  85. package/dist/translations/km.umd.js +1 -1
  86. package/dist/translations/kn.js +1 -1
  87. package/dist/translations/kn.umd.js +1 -1
  88. package/dist/translations/ko.js +1 -1
  89. package/dist/translations/ko.umd.js +1 -1
  90. package/dist/translations/ku.js +1 -1
  91. package/dist/translations/ku.umd.js +1 -1
  92. package/dist/translations/lt.js +1 -1
  93. package/dist/translations/lt.umd.js +1 -1
  94. package/dist/translations/lv.js +1 -1
  95. package/dist/translations/lv.umd.js +1 -1
  96. package/dist/translations/ms.js +1 -1
  97. package/dist/translations/ms.umd.js +1 -1
  98. package/dist/translations/nb.js +1 -1
  99. package/dist/translations/nb.umd.js +1 -1
  100. package/dist/translations/ne.js +1 -1
  101. package/dist/translations/ne.umd.js +1 -1
  102. package/dist/translations/nl.js +1 -1
  103. package/dist/translations/nl.umd.js +1 -1
  104. package/dist/translations/no.js +1 -1
  105. package/dist/translations/no.umd.js +1 -1
  106. package/dist/translations/oc.js +1 -1
  107. package/dist/translations/oc.umd.js +1 -1
  108. package/dist/translations/pl.js +1 -1
  109. package/dist/translations/pl.umd.js +1 -1
  110. package/dist/translations/pt-br.js +1 -1
  111. package/dist/translations/pt-br.umd.js +1 -1
  112. package/dist/translations/pt.js +1 -1
  113. package/dist/translations/pt.umd.js +1 -1
  114. package/dist/translations/ro.js +1 -1
  115. package/dist/translations/ro.umd.js +1 -1
  116. package/dist/translations/ru.js +1 -1
  117. package/dist/translations/ru.umd.js +1 -1
  118. package/dist/translations/si.js +1 -1
  119. package/dist/translations/si.umd.js +1 -1
  120. package/dist/translations/sk.js +1 -1
  121. package/dist/translations/sk.umd.js +1 -1
  122. package/dist/translations/sl.js +1 -1
  123. package/dist/translations/sl.umd.js +1 -1
  124. package/dist/translations/sq.js +1 -1
  125. package/dist/translations/sq.umd.js +1 -1
  126. package/dist/translations/sr-latn.js +1 -1
  127. package/dist/translations/sr-latn.umd.js +1 -1
  128. package/dist/translations/sr.js +1 -1
  129. package/dist/translations/sr.umd.js +1 -1
  130. package/dist/translations/sv.js +1 -1
  131. package/dist/translations/sv.umd.js +1 -1
  132. package/dist/translations/th.js +1 -1
  133. package/dist/translations/th.umd.js +1 -1
  134. package/dist/translations/ti.js +1 -1
  135. package/dist/translations/ti.umd.js +1 -1
  136. package/dist/translations/tk.js +1 -1
  137. package/dist/translations/tk.umd.js +1 -1
  138. package/dist/translations/tr.js +1 -1
  139. package/dist/translations/tr.umd.js +1 -1
  140. package/dist/translations/tt.js +1 -1
  141. package/dist/translations/tt.umd.js +1 -1
  142. package/dist/translations/ug.js +1 -1
  143. package/dist/translations/ug.umd.js +1 -1
  144. package/dist/translations/uk.js +1 -1
  145. package/dist/translations/uk.umd.js +1 -1
  146. package/dist/translations/ur.js +1 -1
  147. package/dist/translations/ur.umd.js +1 -1
  148. package/dist/translations/uz.js +1 -1
  149. package/dist/translations/uz.umd.js +1 -1
  150. package/dist/translations/vi.js +1 -1
  151. package/dist/translations/vi.umd.js +1 -1
  152. package/dist/translations/zh-cn.js +1 -1
  153. package/dist/translations/zh-cn.umd.js +1 -1
  154. package/dist/translations/zh.js +1 -1
  155. package/dist/translations/zh.umd.js +1 -1
  156. package/{src → dist}/ui/slashcommandbuttonview.d.ts +2 -2
  157. package/{src → dist}/utils/common-translations.d.ts +1 -1
  158. package/package.json +20 -43
  159. package/build/slash-command.js +0 -5
  160. package/build/translations/af.js +0 -1
  161. package/build/translations/ar.js +0 -1
  162. package/build/translations/ast.js +0 -1
  163. package/build/translations/az.js +0 -1
  164. package/build/translations/be.js +0 -1
  165. package/build/translations/bg.js +0 -1
  166. package/build/translations/bn.js +0 -1
  167. package/build/translations/bs.js +0 -1
  168. package/build/translations/ca.js +0 -1
  169. package/build/translations/cs.js +0 -1
  170. package/build/translations/da.js +0 -1
  171. package/build/translations/de-ch.js +0 -1
  172. package/build/translations/de.js +0 -1
  173. package/build/translations/el.js +0 -1
  174. package/build/translations/en-au.js +0 -1
  175. package/build/translations/en-gb.js +0 -1
  176. package/build/translations/eo.js +0 -1
  177. package/build/translations/es-co.js +0 -1
  178. package/build/translations/es.js +0 -1
  179. package/build/translations/et.js +0 -1
  180. package/build/translations/eu.js +0 -1
  181. package/build/translations/fa.js +0 -1
  182. package/build/translations/fi.js +0 -1
  183. package/build/translations/fr.js +0 -1
  184. package/build/translations/gl.js +0 -1
  185. package/build/translations/gu.js +0 -1
  186. package/build/translations/he.js +0 -1
  187. package/build/translations/hi.js +0 -1
  188. package/build/translations/hr.js +0 -1
  189. package/build/translations/hu.js +0 -1
  190. package/build/translations/hy.js +0 -1
  191. package/build/translations/id.js +0 -1
  192. package/build/translations/it.js +0 -1
  193. package/build/translations/ja.js +0 -1
  194. package/build/translations/jv.js +0 -1
  195. package/build/translations/kk.js +0 -1
  196. package/build/translations/km.js +0 -1
  197. package/build/translations/kn.js +0 -1
  198. package/build/translations/ko.js +0 -1
  199. package/build/translations/ku.js +0 -1
  200. package/build/translations/lt.js +0 -1
  201. package/build/translations/lv.js +0 -1
  202. package/build/translations/ms.js +0 -1
  203. package/build/translations/nb.js +0 -1
  204. package/build/translations/ne.js +0 -1
  205. package/build/translations/nl.js +0 -1
  206. package/build/translations/no.js +0 -1
  207. package/build/translations/oc.js +0 -1
  208. package/build/translations/pl.js +0 -1
  209. package/build/translations/pt-br.js +0 -1
  210. package/build/translations/pt.js +0 -1
  211. package/build/translations/ro.js +0 -1
  212. package/build/translations/ru.js +0 -1
  213. package/build/translations/si.js +0 -1
  214. package/build/translations/sk.js +0 -1
  215. package/build/translations/sl.js +0 -1
  216. package/build/translations/sq.js +0 -1
  217. package/build/translations/sr-latn.js +0 -1
  218. package/build/translations/sr.js +0 -1
  219. package/build/translations/sv.js +0 -1
  220. package/build/translations/th.js +0 -1
  221. package/build/translations/ti.js +0 -1
  222. package/build/translations/tk.js +0 -1
  223. package/build/translations/tr.js +0 -1
  224. package/build/translations/tt.js +0 -1
  225. package/build/translations/ug.js +0 -1
  226. package/build/translations/uk.js +0 -1
  227. package/build/translations/ur.js +0 -1
  228. package/build/translations/uz.js +0 -1
  229. package/build/translations/vi.js +0 -1
  230. package/build/translations/zh-cn.js +0 -1
  231. package/build/translations/zh.js +0 -1
  232. package/lang/contexts.json +0 -27
  233. package/lang/translations/af.po +0 -112
  234. package/lang/translations/ar.po +0 -112
  235. package/lang/translations/ast.po +0 -112
  236. package/lang/translations/az.po +0 -112
  237. package/lang/translations/be.po +0 -112
  238. package/lang/translations/bg.po +0 -112
  239. package/lang/translations/bn.po +0 -112
  240. package/lang/translations/bs.po +0 -112
  241. package/lang/translations/ca.po +0 -112
  242. package/lang/translations/cs.po +0 -112
  243. package/lang/translations/da.po +0 -112
  244. package/lang/translations/de-ch.po +0 -112
  245. package/lang/translations/de.po +0 -112
  246. package/lang/translations/el.po +0 -112
  247. package/lang/translations/en-au.po +0 -112
  248. package/lang/translations/en-gb.po +0 -112
  249. package/lang/translations/en.po +0 -112
  250. package/lang/translations/eo.po +0 -112
  251. package/lang/translations/es-co.po +0 -112
  252. package/lang/translations/es.po +0 -112
  253. package/lang/translations/et.po +0 -112
  254. package/lang/translations/eu.po +0 -112
  255. package/lang/translations/fa.po +0 -112
  256. package/lang/translations/fi.po +0 -112
  257. package/lang/translations/fr.po +0 -112
  258. package/lang/translations/gl.po +0 -112
  259. package/lang/translations/gu.po +0 -112
  260. package/lang/translations/he.po +0 -112
  261. package/lang/translations/hi.po +0 -112
  262. package/lang/translations/hr.po +0 -112
  263. package/lang/translations/hu.po +0 -112
  264. package/lang/translations/hy.po +0 -112
  265. package/lang/translations/id.po +0 -112
  266. package/lang/translations/it.po +0 -112
  267. package/lang/translations/ja.po +0 -112
  268. package/lang/translations/jv.po +0 -112
  269. package/lang/translations/kk.po +0 -112
  270. package/lang/translations/km.po +0 -112
  271. package/lang/translations/kn.po +0 -112
  272. package/lang/translations/ko.po +0 -112
  273. package/lang/translations/ku.po +0 -112
  274. package/lang/translations/lt.po +0 -112
  275. package/lang/translations/lv.po +0 -112
  276. package/lang/translations/ms.po +0 -112
  277. package/lang/translations/nb.po +0 -112
  278. package/lang/translations/ne.po +0 -112
  279. package/lang/translations/nl.po +0 -112
  280. package/lang/translations/no.po +0 -112
  281. package/lang/translations/oc.po +0 -112
  282. package/lang/translations/pl.po +0 -112
  283. package/lang/translations/pt-br.po +0 -112
  284. package/lang/translations/pt.po +0 -112
  285. package/lang/translations/ro.po +0 -112
  286. package/lang/translations/ru.po +0 -112
  287. package/lang/translations/si.po +0 -112
  288. package/lang/translations/sk.po +0 -112
  289. package/lang/translations/sl.po +0 -112
  290. package/lang/translations/sq.po +0 -112
  291. package/lang/translations/sr-latn.po +0 -112
  292. package/lang/translations/sr.po +0 -112
  293. package/lang/translations/sv.po +0 -112
  294. package/lang/translations/th.po +0 -112
  295. package/lang/translations/ti.po +0 -112
  296. package/lang/translations/tk.po +0 -112
  297. package/lang/translations/tr.po +0 -112
  298. package/lang/translations/tt.po +0 -112
  299. package/lang/translations/ug.po +0 -112
  300. package/lang/translations/uk.po +0 -112
  301. package/lang/translations/ur.po +0 -112
  302. package/lang/translations/uz.po +0 -112
  303. package/lang/translations/vi.po +0 -112
  304. package/lang/translations/zh-cn.po +0 -112
  305. package/lang/translations/zh.po +0 -112
  306. package/src/augmentation.js +0 -23
  307. package/src/index.js +0 -23
  308. package/src/legacyerrors.js +0 -23
  309. package/src/slashcommand.js +0 -23
  310. package/src/slashcommandconfig.js +0 -23
  311. package/src/slashcommandediting.js +0 -23
  312. package/src/slashcommandeditorconfig.js +0 -23
  313. package/src/slashcommandui.js +0 -23
  314. package/src/ui/slashcommandbuttonview.js +0 -23
  315. package/src/utils/common-translations.js +0 -23
  316. package/theme/slashcommand.css +0 -77
  317. /package/{src → dist}/augmentation.d.ts +0 -0
  318. /package/{src → dist}/index.d.ts +0 -0
  319. /package/{src → dist}/legacyerrors.d.ts +0 -0
@@ -5,7 +5,7 @@
5
5
  "className": "SlashCommand",
6
6
  "description": "Allows for easy access to a predefined list of editor commands by typing <kbd>/</kbd> inside the editor.",
7
7
  "docs": "features/slash-commands.html",
8
- "path": "src/slashcommand.js",
8
+ "path": "src/slashcommand.ts",
9
9
  "requires": [
10
10
  "Mention"
11
11
  ]
@@ -3,68 +3,67 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  :root{
6
- --ck-slash-command-button-width:250px;
7
- --ck-slash-command-description-width:200px;
6
+ --ck-slash-command-button-width:250px;
7
+ --ck-slash-command-description-width:200px;
8
8
  }
9
9
 
10
10
  .ck-mentions .ck.ck-button.ck-slash-command-button{
11
- display:flex;
12
- justify-content:flex-start;
13
- width:var(--ck-slash-command-button-width);
14
- padding:calc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base));
11
+ width:var(--ck-slash-command-button-width);
12
+ padding:calc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base));
13
+ justify-content:flex-start;
14
+ display:flex;
15
15
  }
16
16
 
17
17
  .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{
18
- flex-shrink:0;
19
- margin-left:0;
20
- padding:5px;
21
- color:var(--ck-color-base-text);
22
- background-color:var(--ck-color-base-background);
23
- border-radius:2px;
24
- box-sizing:initial;
25
- }
18
+ color:var(--ck-color-base-text);
19
+ background-color:var(--ck-color-base-background);
20
+ box-sizing:initial;
21
+ border-radius:2px;
22
+ flex-shrink:0;
23
+ margin-left:0;
24
+ padding:5px;
25
+ }
26
26
 
27
- [dir="ltr"] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{
28
- margin:0 var(--ck-spacing-small) 0 0;
29
- }
27
+ [dir="ltr"] :is(.ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon){
28
+ margin:0 var(--ck-spacing-small) 0 0;
29
+ }
30
30
 
31
- [dir="rtl"] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon{
32
- margin:0 0 0 var(--ck-spacing-small);
33
- }
31
+ [dir="rtl"] :is(.ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon){
32
+ margin:0 0 0 var(--ck-spacing-small);
33
+ }
34
34
 
35
35
  .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part{
36
- display:flex;
37
- flex-direction:column;
38
- }
36
+ flex-direction:column;
37
+ display:flex;
38
+ }
39
39
 
40
- [dir="ltr"] .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part{
41
- margin-left:var(--ck-spacing-small);
42
- }
40
+ [dir="ltr"] :is(.ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part){
41
+ margin-left:var(--ck-spacing-small);
42
+ }
43
43
 
44
- [dir="rtl"] .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part{
45
- margin-right:var(--ck-spacing-small);
46
- }
44
+ [dir="rtl"] :is(.ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part){
45
+ margin-right:var(--ck-spacing-small);
46
+ }
47
47
 
48
48
  .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > span{
49
- line-height:1.2em;
50
- }
49
+ line-height:1.2em;
50
+ }
51
51
 
52
- .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-button__label,
53
- .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-slash-command-button__description{
54
- width:var(--ck-slash-command-description-width);
55
- overflow:hidden;
56
- text-overflow:ellipsis;
57
- }
52
+ .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-button__label, .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-slash-command-button__description{
53
+ width:var(--ck-slash-command-description-width);
54
+ text-overflow:ellipsis;
55
+ overflow:hidden;
56
+ }
58
57
 
59
58
  .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-button__label{
60
- font-weight:bold;
61
- }
59
+ font-weight:bold;
60
+ }
62
61
 
63
62
  .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-slash-command-button__description{
64
- font-size:var(--ck-font-size-small);
65
- opacity:0.75;
66
- }
63
+ font-size:var(--ck-font-size-small);
64
+ opacity:.75;
65
+ }
67
66
 
68
67
  .ck-mentions .ck.ck-button.ck-slash-command-button.ck-on > .ck-slash-command-button__text-part > span{
69
- color:var(--ck-color-list-button-on-text);
70
- }
68
+ color:var(--ck-color-list-button-on-text);
69
+ }
package/dist/index.css CHANGED
@@ -2,83 +2,68 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /*
6
- * What you're currently looking at is the source code of a legally protected, proprietary software.
7
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
8
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
9
- *
10
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
11
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
12
- */
13
-
14
- /*
15
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
16
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
17
- */
18
-
19
5
  :root {
20
- --ck-slash-command-button-width: 250px;
21
- --ck-slash-command-description-width: 200px;
6
+ --ck-slash-command-button-width: 250px;
7
+ --ck-slash-command-description-width: 200px;
22
8
  }
23
9
 
24
10
  .ck-mentions .ck.ck-button.ck-slash-command-button {
25
- display: flex;
26
- justify-content: flex-start;
27
- width: var(--ck-slash-command-button-width);
28
- padding: calc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base));
11
+ width: var(--ck-slash-command-button-width);
12
+ padding: calc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base));
13
+ justify-content: flex-start;
14
+ display: flex;
29
15
  }
30
16
 
31
17
  .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon {
32
- flex-shrink: 0;
33
- margin-left: 0;
34
- padding: 5px;
35
- color: var(--ck-color-base-text);
36
- background-color: var(--ck-color-base-background);
37
- border-radius: 2px;
38
- box-sizing: initial;
39
- }
18
+ color: var(--ck-color-base-text);
19
+ background-color: var(--ck-color-base-background);
20
+ box-sizing: initial;
21
+ border-radius: 2px;
22
+ flex-shrink: 0;
23
+ margin-left: 0;
24
+ padding: 5px;
25
+ }
40
26
 
41
- [dir="ltr"] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon {
42
- margin: 0 var(--ck-spacing-small) 0 0;
43
- }
27
+ [dir="ltr"] :is(.ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon) {
28
+ margin: 0 var(--ck-spacing-small) 0 0;
29
+ }
44
30
 
45
- [dir="rtl"] .ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon {
46
- margin: 0 0 0 var(--ck-spacing-small);
47
- }
31
+ [dir="rtl"] :is(.ck-mentions .ck.ck-button.ck-slash-command-button .ck.ck-icon) {
32
+ margin: 0 0 0 var(--ck-spacing-small);
33
+ }
48
34
 
49
35
  .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part {
50
- display: flex;
51
- flex-direction: column;
52
- }
36
+ flex-direction: column;
37
+ display: flex;
38
+ }
53
39
 
54
- [dir="ltr"] .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part {
55
- margin-left: var(--ck-spacing-small);
56
- }
40
+ [dir="ltr"] :is(.ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part) {
41
+ margin-left: var(--ck-spacing-small);
42
+ }
57
43
 
58
- [dir="rtl"] .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part {
59
- margin-right: var(--ck-spacing-small);
60
- }
44
+ [dir="rtl"] :is(.ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part) {
45
+ margin-right: var(--ck-spacing-small);
46
+ }
61
47
 
62
48
  .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > span {
63
- line-height: 1.2em;
64
- }
49
+ line-height: 1.2em;
50
+ }
65
51
 
66
- .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-button__label,
67
- .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-slash-command-button__description {
68
- width: var(--ck-slash-command-description-width);
69
- overflow: hidden;
70
- text-overflow: ellipsis;
71
- }
52
+ .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-button__label, .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-slash-command-button__description {
53
+ width: var(--ck-slash-command-description-width);
54
+ text-overflow: ellipsis;
55
+ overflow: hidden;
56
+ }
72
57
 
73
58
  .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-button__label {
74
- font-weight: bold;
75
- }
59
+ font-weight: bold;
60
+ }
76
61
 
77
62
  .ck-mentions .ck.ck-button.ck-slash-command-button > .ck-slash-command-button__text-part > .ck-slash-command-button__description {
78
- font-size: var(--ck-font-size-small);
79
- opacity: 0.75;
80
- }
63
+ font-size: var(--ck-font-size-small);
64
+ opacity: .75;
65
+ }
81
66
 
82
67
  .ck-mentions .ck.ck-button.ck-slash-command-button.ck-on > .ck-slash-command-button__text-part > span {
83
- color: var(--ck-color-list-button-on-text);
84
- }
68
+ color: var(--ck-color-list-button-on-text);
69
+ }
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1db5e0}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x12d4ef,uid as _0xe05ccc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconRobotPencil as _0x21d7ff,IconQuote as _0x37aaff,IconBulletedList as _0x276464,IconCodeBlock as _0x380189,IconBrowseFiles as _0x1ceadd,IconEmoji as _0x161e94,IconHeading1 as _0x265b39,IconHeading2 as _0x238530,IconHeading3 as _0x351ea8,IconHeading4 as _0x4e0c72,IconHeading5 as _0x1e8262,IconHeading6 as _0x4c22cf,IconHorizontalLine as _0x40f1f8,IconHtml as _0x338474,IconIndent as _0x1be6a7,IconTable as _0x19e7fa,IconTableOfContents as _0x3f7ff1,IconNumberedList as _0x26ceea,IconOutdent as _0x34bc55,IconParagraph as _0x54d3c1,IconTodoList as _0x41d088,IconFootnote as _0x50ea17,IconPlay as _0x2fe7fc}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x10a7b3,View as _0x3e887a}from'@ckeditor/ckeditor5-ui/dist/index.js';class P extends _0x1db5e0{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47ad47){super(_0x47ad47),this['_allowedCommands']=null;}['afterInit'](){const _0x244e4a=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x52b566=function(_0x36fea8){let _0x470e3d=['heading4','heading5','heading6'];if(_0x36fea8){const _0xcd46a7=_0x36fea8['map'](_0x207c91=>_0x207c91['model']);_0x470e3d=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x3b3b03=>!_0xcd46a7['includes'](_0x3b3b03));}return _0x470e3d;}(this['editor']['config']['get']('heading.options'));let _0xa905a7=this['getDefaultCommands']()['filter'](_0x413c2b=>!_0x52b566['includes'](_0x413c2b['id']))['filter'](_0x37cd57=>!_0x244e4a['includes'](_0x37cd57['commandName']));const _0x519d1c=this['editor']['config']['get']('slashCommand.extraCommands');_0x519d1c&&_0x519d1c['length']&&(_0xa905a7=_0xa905a7['concat'](_0x519d1c));const _0x41978a=this['editor']['config']['get']('template.definitions');_0x41978a&&_0x41978a['length']&&(_0xa905a7=_0xa905a7['concat'](function(_0x47d3c2){return _0x47d3c2['map'](_0x5cb011=>{const {title:_0x56341f,icon:_0x4ed2ac,description:_0x13750a,data:_0xc1386a}=_0x5cb011,_0x1a405f={'id':H(_0x56341f,'template'),'commandName':'insertTemplate','execute':_0x260ec7=>{_0x260ec7['execute']('insertTemplate',_0xc1386a);},'description':_0x13750a,'icon':_0x4ed2ac,'title':_0x56341f};return _0x4ed2ac&&(_0x1a405f['isIconColorInherited']=!0x1),_0x1a405f;});}(_0x41978a)));const _0x525af0=this['editor']['config']['get']('style.definitions');_0x525af0&&_0x525af0['length']&&(_0xa905a7=_0xa905a7['concat'](function(_0x2ae951){return _0x2ae951['map'](_0x5ee196=>({'id':H(_0x5ee196['name'],'style'),'commandName':'style','execute':_0x33eb56=>{_0x33eb56['execute']('style',{'styleName':_0x5ee196['name']});},'isEnabled':_0x287ca1=>{const _0x374cd8=_0x287ca1['commands']['get']('style');return _0x374cd8['isEnabled']&&_0x374cd8['enabledStyles']['includes'](_0x5ee196['name']);},'title':_0x5ee196['name']}));}(_0x525af0)));const _0x448068=_0xa905a7['filter'](_0x142232=>!_0x142232['commandName']||void 0x0!==this['editor']['commands']['get'](_0x142232['commandName'])),_0x5888af=[];for(const _0x3352ba of _0x448068)_0x5888af['push']({'id':_0x3352ba['id'],'commandName':_0x3352ba['commandName'],'title':'function'==typeof _0x3352ba['title']?_0x3352ba['title'](this['editor']):_0x3352ba['title'],'description':_0x3352ba['description'],'icon':_0x3352ba['icon'],'isIconColorInherited':_0x3352ba['isIconColorInherited'],'aliases':_0x3352ba['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x3352ba),'execute':()=>this['_proxyExecute'](_0x3352ba)});this['_allowedCommands']=_0x5888af['sort'](L),async function(_0x9c4528){const _0x5a48ab=_0x486275([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x4f133f=0x305505ed,_0x54d66d=0x305281e5^_0x4f133f,_0x27ae6f=window[_0x486275([0x44,0x61,0x74,0x65])][_0x486275([0x6e,0x6f,0x77])](),_0x2be2a5=_0x9c4528[_0x486275([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17769a=new window[(_0x486275([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2adf87=>{_0x2be2a5[_0x486275([0x6f,0x6e,0x63,0x65])](_0x486275([0x72,0x65,0x61,0x64,0x79]),_0x2adf87);}),_0x376ce6={[_0x486275([0x6b,0x74,0x79])]:_0x486275([0x45,0x43]),[_0x486275([0x75,0x73,0x65])]:_0x486275([0x73,0x69,0x67]),[_0x486275([0x63,0x72,0x76])]:_0x486275([0x50,0x2d,0x32,0x35,0x36]),[_0x486275([0x78])]:_0x486275([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x486275([0x79])]:_0x486275([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x486275([0x61,0x6c,0x67])]:_0x486275([0x45,0x53,0x32,0x35,0x36])},_0x2fdf02=_0x2be2a5[_0x486275([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x486275([0x67,0x65,0x74])](_0x486275([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x402c61(){let _0x5d10df,_0x5dceaf=null,_0x2eb3b7=null;try{if(_0x2fdf02==_0x486275([0x47,0x50,0x4c]))return _0x486275([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d10df=_0x3aa74d(),!_0x5d10df)return _0x486275([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d10df[_0x486275([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2eb3b7=_0x496b41(_0x5d10df[_0x486275([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d10df[_0x486275([0x6a,0x74,0x69])])),await _0x58f023()?_0x523d38()?_0x3b30e0()?_0x486275([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x437e47()?(_0x5d10df[_0x486275([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x486275([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5dceaf=_0xfcc091(_0x486275([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42f4d2()):_0x486275([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x486275([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x486275([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x486275([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b30e0(){const _0x3a74db=[_0x486275([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x486275([0x74,0x72,0x69,0x61,0x6c])][_0x486275([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d10df[_0x486275([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27ae6f/0x3e8:0xe10*_0x54d66d;return _0x5d10df[_0x486275([0x65,0x78,0x70])]<_0x3a74db;}function _0x523d38(){const _0x45c5f4=_0x5d10df[_0x486275([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45c5f4&&(!!_0x45c5f4[_0x486275([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x486275([0x2a]))||(!!_0x45c5f4[_0x486275([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x486275([0x53,0x43]))||(!!_0x45c5f4[_0x486275([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x486275([0x50,0x50]))||!(!_0x45c5f4[_0x486275([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x486275([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x159824()))));}function _0x437e47(){const _0x35ef90=_0x5d10df[_0x486275([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35ef90||0x0==_0x35ef90[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1289e1}=new URL(window[_0x486275([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35ef90[_0x486275([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1289e1))return!0x0;const _0x35d343=_0x1289e1[_0x486275([0x73,0x70,0x6c,0x69,0x74])](_0x486275([0x2e]));return _0x35ef90[_0x486275([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59c6ae=>_0x59c6ae[_0x486275([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x486275([0x2a])))[_0x486275([0x6d,0x61,0x70])](_0x4e5374=>_0x4e5374[_0x486275([0x73,0x70,0x6c,0x69,0x74])](_0x486275([0x2e])))[_0x486275([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9e3bcb=>_0x9e3bcb[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35d343[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x486275([0x6d,0x61,0x70])](_0x308718=>Array(_0x35d343[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x308718[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x486275([0x66,0x69,0x6c,0x6c])](_0x308718[0x0]===_0x486275([0x2a])?_0x486275([0x2a]):'')[_0x486275([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x308718))[_0x486275([0x73,0x6f,0x6d,0x65])](_0x1e64ab=>_0x35d343[_0x486275([0x65,0x76,0x65,0x72,0x79])]((_0x107eae,_0x4acaa4)=>_0x1e64ab[_0x4acaa4]===_0x107eae||_0x1e64ab[_0x4acaa4]===_0x486275([0x2a])));}function _0x42f4d2(){return _0x5dceaf&&_0x2eb3b7?new window[(_0x486275([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24c32c,_0x305db6)=>{_0x5dceaf[_0x486275([0x74,0x68,0x65,0x6e])](_0x24c32c,_0x305db6),_0x2eb3b7[_0x486275([0x74,0x68,0x65,0x6e])](_0x4902b8=>{_0x4902b8!=_0x486275([0x56,0x61,0x6c,0x69,0x64])&&_0x24c32c(_0x4902b8);},_0x305db6);}):_0x5dceaf||_0x2eb3b7||_0x486275([0x56,0x61,0x6c,0x69,0x64]);}}function _0x496b41(_0x5a2926,_0x322901){return new window[(_0x486275([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fb2a2=>{if(_0x623b3d())return _0x4fb2a2(_0x486275([0x56,0x61,0x6c,0x69,0x64]));_0x38a999(),_0x2be2a5[_0x486275([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x486275([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bef6f=!0x1;const _0x1acd83=_0xe05ccc();function _0x306399(_0x43acb2){return!!_0x43acb2&&(typeof _0x43acb2===_0x486275([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43acb2===_0x486275([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43acb2[_0x486275([0x74,0x68,0x65,0x6e])]===_0x486275([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43acb2[_0x486275([0x63,0x61,0x74,0x63,0x68])]===_0x486275([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1088ae(_0x7398f4){_0x326516(_0x7398f4)[_0x486275([0x74,0x68,0x65,0x6e])](_0x2f48b2=>{if(!_0x2f48b2||_0x2f48b2[_0x486275([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x486275([0x6f,0x6b]))return _0x486275([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15276d(_0x13affe(_0x1acd83+_0x322901))!=_0x2f48b2[_0x486275([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x486275([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x486275([0x56,0x61,0x6c,0x69,0x64]);})[_0x486275([0x74,0x68,0x65,0x6e])](_0x522d68=>(_0x3ab53f(),_0x522d68),()=>{const _0x1298e8=_0x1ed083();return null==_0x1298e8?(_0x3ab53f(),_0x486275([0x56,0x61,0x6c,0x69,0x64])):_0x486275(_0x27ae6f-_0x1298e8>(0x145981ed^_0x4f133f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x486275([0x74,0x68,0x65,0x6e])](_0x4fb2a2)[_0x486275([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fb2a2(_0x486275([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x148471=0x3063eb6d^_0x4f133f;function _0x3ab53f(){const _0x1af78c=_0x486275([0x6c,0x6c,0x63,0x74,0x2d])+_0x15276d(_0x13affe(_0x5a2926)),_0x3d99a2=_0x2cb5f2(_0x15276d(window[_0x486275([0x4d,0x61,0x74,0x68])][_0x486275([0x63,0x65,0x69,0x6c])](_0x27ae6f/_0x148471)));window[_0x486275([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x486275([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1af78c,_0x3d99a2);}function _0x1ed083(){const _0x21d515=_0x486275([0x6c,0x6c,0x63,0x74,0x2d])+_0x15276d(_0x13affe(_0x5a2926)),_0x4c4ced=window[_0x486275([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x486275([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21d515);return _0x4c4ced?window[_0x486275([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cb5f2(_0x4c4ced),0x10)*_0x148471:null;}function _0x326516(_0x2476b9){return new window[(_0x486275([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302c56,_0x301f28)=>{_0x2476b9[_0x486275([0x74,0x68,0x65,0x6e])](_0x302c56,_0x301f28),window[_0x486275([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x301f28,0x3054d12d^_0x4f133f);});}}_0x2be2a5[_0x486275([0x6f,0x6e])](_0x486275([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48e3cd,_0x19a3fd)=>{if(_0x19a3fd[0x0]!=_0x5a2926)return _0x4fb2a2(_0x486275([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x19a3fd[0x1]={..._0x19a3fd[0x1],[_0x486275([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1acd83};},{[_0x486275([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x486275([0x68,0x69,0x67,0x68])}),_0x2be2a5[_0x486275([0x6f,0x6e])](_0x486275([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x143362=>{_0x306399(_0x143362[_0x486275([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bef6f=!0x0,_0x1088ae(_0x143362[_0x486275([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x486275([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x486275([0x6c,0x6f,0x77])}),_0x17769a[_0x486275([0x74,0x68,0x65,0x6e])](()=>{_0x4bef6f||_0x4fb2a2(_0x486275([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x623b3d(){return _0x2be2a5[_0x486275([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x486275([0x76,0x69,0x65,0x77])][_0x486275([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x486275([0x61,0x75,0x74,0x6f]);}function _0x38a999(){_0x2be2a5[_0x486275([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x486275([0x76,0x69,0x65,0x77])][_0x486275([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x486275([0x61,0x75,0x74,0x6f]);}}function _0xfcc091(_0x4964eb){const _0x29db8b=[new window[(_0x486275([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f70e1=>setTimeout(_0x2f70e1,0x305c3b21^_0x4f133f)),_0x17769a[_0x486275([0x74,0x68,0x65,0x6e])](()=>new window[(_0x486275([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e638d=>{let _0x2a3174=0x0;_0x2be2a5[_0x486275([0x6d,0x6f,0x64,0x65,0x6c])][_0x486275([0x6f,0x6e])](_0x486275([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10a348,_0x4a5339)=>{_0x4a5339[0x0][_0x486275([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a3174++,_0x2a3174==(0x30550005^_0x4f133f)&&(_0x4e638d(),_0x10a348[_0x486275([0x6f,0x66,0x66])]());});}))];return window[_0x486275([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x486275([0x72,0x61,0x63,0x65])](_0x29db8b)[_0x486275([0x74,0x68,0x65,0x6e])](()=>_0x4964eb);}async function _0x230811(){await _0x17769a,_0x2be2a5[_0x486275([0x6d,0x6f,0x64,0x65,0x6c])][_0x486275([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16fcdd,_0x2be2a5[_0x486275([0x6d,0x6f,0x64,0x65,0x6c])][_0x486275([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16fcdd,_0x2be2a5[_0x486275([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x486275([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x159824(){return window[_0x486275([0x67,0x6c,0x6f,0x62])]&&window[_0x486275([0x67,0x6c,0x6f,0x62])][_0x486275([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xe80847(_0x5544c1){const _0x1b476b=_0x12e8dc();_0x2be2a5[_0x1b476b]=_0x486275([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5544c1,_0x5544c1!=_0x486275([0x56,0x61,0x6c,0x69,0x64])&&_0x230811();}function _0x12e8dc(){const _0x5a3234=window[_0x486275([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x486275([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x486275([0x6e,0x6f,0x77])]())[_0x486275([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x486275([0x2e]),'');let _0x485258=_0x486275([0x75]);for(let _0x3e51bb=0x0;_0x3e51bb<_0x5a3234[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e51bb+=0x2){let _0x48eed2=window[_0x486275([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a3234[_0x486275([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e51bb,_0x3e51bb+0x2));_0x48eed2>=_0x5a48ab[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48eed2-=_0x5a48ab[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x485258+=_0x5a48ab[_0x48eed2];}return _0x485258;}function _0x3aa74d(){const _0xe58087=_0x2fdf02[_0x486275([0x73,0x70,0x6c,0x69,0x74])](_0x486275([0x2e]));if(0x3!=_0xe58087[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19c5d4(_0xe58087[0x1]);function _0x19c5d4(_0x3df8df){const _0x113e67=_0x557ebf(_0x3df8df);return _0x113e67&&_0x6e75b0()?_0x113e67:null;function _0x6e75b0(){const _0x57296c=_0x113e67[_0x486275([0x6a,0x74,0x69])],_0x32681e=window[_0x486275([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57296c[_0x486275([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57296c[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f282c={..._0x113e67,[_0x486275([0x6a,0x74,0x69])]:_0x57296c[_0x486275([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57296c[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f282c[_0x486275([0x76,0x63])],_0x13affe(_0x4f282c)==_0x32681e;}}}async function _0x58f023(){let _0x13728a=!0x0;try{const _0x6efc2d=_0x2fdf02[_0x486275([0x73,0x70,0x6c,0x69,0x74])](_0x486275([0x2e])),[_0x2991a9,_0x515d1f,_0x26097c]=_0x6efc2d;return _0x3f9450(_0x2991a9),await _0x4e9b28(_0x2991a9,_0x515d1f,_0x26097c),_0x13728a;}catch{return!0x1;}function _0x3f9450(_0x1ba93e){const _0x2d79aa=_0x557ebf(_0x1ba93e);_0x2d79aa&&_0x2d79aa[_0x486275([0x61,0x6c,0x67])]==_0x486275([0x45,0x53,0x32,0x35,0x36])||(_0x13728a=!0x1);}async function _0x4e9b28(_0x556a5e,_0x442487,_0x3995bf){const _0x45005c=window[_0x486275([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x486275([0x66,0x72,0x6f,0x6d])](_0x9fda52(_0x3995bf),_0x4542c0=>_0x4542c0[_0x486275([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x154b16=new window[(_0x486275([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x486275([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x556a5e+_0x486275([0x2e])+_0x442487),_0x4cb91b=window[_0x486275([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x486275([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cb91b)return;const _0x345b1d=await _0x4cb91b[_0x486275([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x486275([0x6a,0x77,0x6b]),_0x376ce6,{[_0x486275([0x6e,0x61,0x6d,0x65])]:_0x486275([0x45,0x43,0x44,0x53,0x41]),[_0x486275([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x486275([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x486275([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cb91b[_0x486275([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x486275([0x6e,0x61,0x6d,0x65])]:_0x486275([0x45,0x43,0x44,0x53,0x41]),[_0x486275([0x68,0x61,0x73,0x68])]:{[_0x486275([0x6e,0x61,0x6d,0x65])]:_0x486275([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x345b1d,_0x45005c,_0x154b16)||(_0x13728a=!0x1);}}function _0x557ebf(_0x8bc485){return _0x8bc485[_0x486275([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x486275([0x65,0x79]))?JSON[_0x486275([0x70,0x61,0x72,0x73,0x65])](_0x9fda52(_0x8bc485)):null;}function _0x9fda52(_0x50bec9){return window[_0x486275([0x61,0x74,0x6f,0x62])](_0x50bec9[_0x486275([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x486275([0x2b]))[_0x486275([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x486275([0x2f])));}function _0x13affe(_0x4cd38f){let _0x3fc68a=0x1505;function _0x1e642f(_0x11c222){for(let _0x5291e1=0x0;_0x5291e1<_0x11c222[_0x486275([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5291e1++){const _0x11769d=_0x11c222[_0x486275([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5291e1);_0x3fc68a=(_0x3fc68a<<0x5)+_0x3fc68a+_0x11769d,_0x3fc68a&=_0x3fc68a;}}function _0x4f1840(_0xc186c){Array[_0x486275([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc186c)?_0xc186c[_0x486275([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f1840):_0xc186c&&typeof _0xc186c==_0x486275([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x486275([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc186c)[_0x486275([0x73,0x6f,0x72,0x74])]()[_0x486275([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x160558,_0x5c1ab6])=>{_0x1e642f(_0x160558),_0x4f1840(_0x5c1ab6);}):_0x1e642f(window[_0x486275([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc186c));}return _0x4f1840(_0x4cd38f),_0x3fc68a>>>0x0;}function _0x15276d(_0x289a1b){return _0x289a1b[_0x486275([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x486275([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x486275([0x30]));}function _0x2cb5f2(_0x291675){return _0x291675[_0x486275([0x73,0x70,0x6c,0x69,0x74])]('')[_0x486275([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x486275([0x6a,0x6f,0x69,0x6e])]('');}function _0x16fcdd(){}function _0x486275(_0x490e00){return _0x490e00['map'](_0x474921=>String['fromCharCode'](_0x474921))['join']('');}_0xe80847(await _0x402c61());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x26c46c=_0x590710=>function(_0x3f694c,_0x543deb){const t=_0x3f694c['t'],_0xcc977f=_0x3f694c['t'];switch(_0x543deb){case'AI\x20Assistant':return _0xcc977f('AI\x20Assistant');case'Block\x20quote':return _0xcc977f('Block\x20quote');case'Bulleted\x20list':return _0xcc977f('Bulleted\x20list');case'Insert\x20code\x20block':return _0xcc977f('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0xcc977f('Open\x20file\x20manager');case'Insert\x20image':return _0xcc977f('Insert\x20image');case'Heading\x201':return _0xcc977f('Heading\x201');case'Heading\x202':return _0xcc977f('Heading\x202');case'Heading\x203':return _0xcc977f('Heading\x203');case'Heading\x204':return _0xcc977f('Heading\x204');case'Heading\x205':return _0xcc977f('Heading\x205');case'Heading\x206':return _0xcc977f('Heading\x206');case'Horizontal\x20line':return _0xcc977f('Horizontal\x20line');case'Insert\x20HTML':return _0xcc977f('Insert\x20HTML');case'Increase\x20indent':return _0xcc977f('Increase\x20indent');case'Insert\x20table':return _0xcc977f('Insert\x20table');case'Table\x20of\x20contents':return _0xcc977f('Table\x20of\x20contents');case'Numbered\x20list':return _0xcc977f('Numbered\x20list');case'Decrease\x20indent':return _0xcc977f('Decrease\x20indent');case'Paragraph':return _0xcc977f('Paragraph');case'To-do\x20list':return _0xcc977f('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');case'Insert\x20a\x20footnote':return t('Insert\x20a\x20footnote');default:return _0x543deb;}}(this['editor']['locale'],_0x590710);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x21d7ff,'title':_0x26c46c('AI\x20Assistant'),'description':_0x26c46c('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x152710=>{setTimeout(()=>_0x152710['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x37aaff,'title':_0x26c46c('Block\x20quote'),'description':_0x26c46c('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x276464,'title':_0x26c46c('Bulleted\x20list'),'description':_0x26c46c('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x380189,'title':_0x26c46c('Insert\x20code\x20block'),'description':_0x26c46c('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x1ceadd,'title':_0x26c46c('Open\x20file\x20manager'),'description':_0x26c46c('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x1ceadd,'title':_0x26c46c('Insert\x20image'),'description':_0x26c46c('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x161e94,'title':_0x26c46c('Emoji'),'description':_0x26c46c('Insert\x20an\x20emoji'),'execute':_0x13065b=>{setTimeout(()=>_0x13065b['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x265b39,'title':_0x26c46c('Heading\x201'),'description':_0x26c46c('Create\x20a\x20heading\x20level\x201'),'execute':_0x158ecc=>{_0x158ecc['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x238530,'title':_0x26c46c('Heading\x202'),'description':_0x26c46c('Create\x20a\x20heading\x20level\x202'),'execute':_0x265314=>{_0x265314['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x351ea8,'title':_0x26c46c('Heading\x203'),'description':_0x26c46c('Create\x20a\x20heading\x20level\x203'),'execute':_0x5e8427=>{_0x5e8427['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x4e0c72,'title':_0x26c46c('Heading\x204'),'description':_0x26c46c('Create\x20a\x20heading\x20level\x204'),'execute':_0x394283=>{_0x394283['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x1e8262,'title':_0x26c46c('Heading\x205'),'description':_0x26c46c('Create\x20a\x20heading\x20level\x205'),'execute':_0x3ea0ee=>{_0x3ea0ee['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x4c22cf,'title':_0x26c46c('Heading\x206'),'description':_0x26c46c('Create\x20a\x20heading\x20level\x206'),'execute':_0xab7942=>{_0xab7942['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x40f1f8,'title':_0x26c46c('Horizontal\x20line'),'description':_0x26c46c('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x338474,'title':_0x26c46c('Insert\x20HTML'),'description':_0x26c46c('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x1be6a7,'title':_0x26c46c('Increase\x20indent'),'description':_0x26c46c('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x26c46c('Insert\x20Mermaid\x20diagram'),'description':_0x26c46c('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x19e7fa,'title':_0x26c46c('Insert\x20table'),'description':_0x26c46c('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x3f7ff1,'title':_0x26c46c('Table\x20of\x20contents'),'description':_0x26c46c('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x26ceea,'title':_0x26c46c('Numbered\x20list'),'description':_0x26c46c('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x34bc55,'title':_0x26c46c('Decrease\x20indent'),'description':_0x26c46c('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x54d3c1,'title':_0x26c46c('Paragraph'),'description':_0x26c46c('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x41d088,'title':_0x26c46c('To-do\x20list'),'description':_0x26c46c('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x50ea17,'title':_0x26c46c('Footnote'),'description':_0x26c46c('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x59bdc4){return _0x59bdc4['isEnabled']?_0x59bdc4['isEnabled'](this['editor']):!_0x59bdc4['commandName']||this['editor']['commands']['get'](_0x59bdc4['commandName'])['isEnabled'];}['_proxyExecute'](_0x5519b6){if(_0x5519b6['execute'])_0x5519b6['execute'](this['editor']);else{if(!_0x5519b6['commandName'])throw new _0x12d4ef('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x5519b6});this['editor']['execute'](_0x5519b6['commandName']);}}}function L(_0x32c071,_0x143147){return _0x32c071['title']<_0x143147['title']?-0x1:_0x32c071['title']>_0x143147['title']?0x1:0x0;}function H(_0x473fa7,_0x14339b){return _0x14339b+'-'+_0x473fa7['toLowerCase']()['split']('\x20')['join']('-');}class s extends _0x1db5e0{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[P];}['getMatchingCommands'](_0x73f1c5){const _0x53ad79=_0x73f1c5&&_0x73f1c5['toLowerCase']();let _0x3df43e=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x3df43e=_0x3df43e['filter'](_0x422f46=>_0x422f46['isEnabled']()),_0x53ad79){const _0x227358=[],_0x2c235f=[],_0x361595=[],_0x264d65=[];for(const _0x133c7e of _0x3df43e)_0x133c7e['id']['toLowerCase']()['includes'](_0x53ad79)?_0x227358['push'](_0x133c7e):_0x133c7e['title']['toLowerCase']()['includes'](_0x53ad79)?_0x2c235f['push'](_0x133c7e):_0x133c7e['aliases']&&_0x133c7e['aliases']['some'](_0x45c579=>_0x45c579['toLowerCase']()['includes'](_0x53ad79))?_0x361595['push'](_0x133c7e):_0x133c7e['description']&&_0x133c7e['description']['toLowerCase']()['includes'](_0x53ad79)&&_0x264d65['push'](_0x133c7e);_0x3df43e=_0x227358['concat'](_0x2c235f,_0x361595,_0x264d65);}return _0x3df43e;}}class K extends _0x10a7b3{constructor(_0x47dcfc,_0x9dfea6){super(_0x47dcfc),this['textPartView']=this['_createTextPartView'](_0x47dcfc,_0x9dfea6),void 0x0!==_0x9dfea6['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x9dfea6['isIconColorInherited']),this['set']({'icon':_0x9dfea6['icon']||_0x2fe7fc,'withText':!0x0,'label':_0x9dfea6['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0xece988,_0x4df966){const _0x1dcc49=new _0x3e887a(_0xece988);return _0x1dcc49['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x4df966['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x4df966['description']}]}]:[this['labelView']]}),_0x1dcc49;}}class e extends _0x1db5e0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3710b3){super(_0x3710b3),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f2e6e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x7e264;for(const _0x3bf791 in _0x3f2e6e){const _0x13d147=_0x3bf791,_0x43d722=_0x3f2e6e[_0x13d147];if('slashCommandLicenseKeyValid'==_0x43d722||'slashCommandLicenseKeyInvalid'==_0x43d722||'slashCommandLicenseKeyExpired'==_0x43d722||'slashCommandLicenseKeyDomainLimit'==_0x43d722||'slashCommandLicenseKeyNotAllowed'==_0x43d722||'slashCommandLicenseKeyEvaluationLimit'==_0x43d722||'slashCommandLicenseKeyUsageLimit'==_0x43d722){delete _0x3f2e6e[_0x13d147],_0x7e264=_0x43d722,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x7e264&&_0x3f2e6e['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x7e264&&_0x3f2e6e['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x7e264&&_0x3f2e6e['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x7e264&&_0x3f2e6e['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x7e264&&_0x3f2e6e['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x7e264&&_0x3f2e6e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x163dc5=this['editor'],_0x53e696=this['editor']['plugins']['get']('SlashCommandEditing'),_0x3398ee=_0x163dc5['config']['get']('mention.feeds');_0x3398ee['push']({'marker':'/','feed':_0x540a1f=>_0x53e696['getMatchingCommands'](_0x540a1f),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x163dc5['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x163dc5['config']['set']('mention.feeds',_0x3398ee);}['_overrideMentionExecuteListener'](){const _0x5aa69a=this['editor'];_0x5aa69a['commands']['get']('mention')['on']('execute',(_0xb398a2,_0x474a8c)=>{const _0x50c90a=_0x474a8c[0x0],_0x16126f=_0x5aa69a['model'];'/'===_0x50c90a['marker']&&_0x16126f['change'](_0x330756=>{_0x330756['remove'](_0x50c90a['range']),_0x50c90a['mention']['execute'](),_0xb398a2['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x276f34){const _0x90824f=this['editor']['locale'],_0x35f00f=new K(_0x90824f,_0x276f34);return _0x35f00f['render'](),_0x35f00f['element'];}}class O extends _0x1db5e0{static get['requires'](){return['Mention',s,e];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{O as SlashCommand,P as SlashCommandConfig,s as SlashCommandEditing,e as SlashCommandUI};
23
+ import{Plugin as _0x1e6124}from'@ckeditor/ckeditor5-core/dist/index.js';import{Mention as _0x235890}from'@ckeditor/ckeditor5-mention/dist/index.js';import{CKEditorError as _0xedbd54,uid as _0x4cd44b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconRobotPencil as _0x11825f,IconQuote as _0x45034b,IconBulletedList as _0x20229b,IconCodeBlock as _0x33289c,IconBrowseFiles as _0x2d04f3,IconEmoji as _0x1a67af,IconHeading1 as _0x392f46,IconHeading2 as _0x53934e,IconHeading3 as _0x2d253c,IconHeading4 as _0x56487d,IconHeading5 as _0x5722b0,IconHeading6 as _0x34ca5d,IconHorizontalLine as _0x51d357,IconHtml as _0x225d07,IconIndent as _0x336bb4,IconTable as _0x2ecdef,IconTableOfContents as _0x3b1836,IconNumberedList as _0x5bc2be,IconOutdent as _0xc853ea,IconParagraph as _0x59ee36,IconTodoList as _0x43e192,IconFootnote as _0x1b025c,IconPlay as _0x3d183e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1cc912,View as _0x13b994}from'@ckeditor/ckeditor5-ui/dist/index.js';class O extends _0x1e6124{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x50b621){super(_0x50b621),this['_allowedCommands']=null;}['afterInit'](){const _0x107dac=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x418552=function(_0x2c20d1){let _0x18baaf=['heading4','heading5','heading6'];if(_0x2c20d1){const _0x27e730=_0x2c20d1['map'](_0x592d2f=>_0x592d2f['model']);_0x18baaf=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x201d89=>!_0x27e730['includes'](_0x201d89));}return _0x18baaf;}(this['editor']['config']['get']('heading.options'));let _0x44aa0a=this['getDefaultCommands']()['filter'](_0x233ec1=>!_0x418552['includes'](_0x233ec1['id']))['filter'](_0x136c69=>!_0x107dac['includes'](_0x136c69['commandName']));const _0x994213=this['editor']['config']['get']('slashCommand.extraCommands');_0x994213&&_0x994213['length']&&(_0x44aa0a=_0x44aa0a['concat'](_0x994213));const _0x535575=this['editor']['config']['get']('template.definitions');_0x535575&&_0x535575['length']&&(_0x44aa0a=_0x44aa0a['concat'](function(_0x2d1235){return _0x2d1235['map'](_0x310b1f=>{const {title:_0x52b719,icon:_0x5aad4f,description:_0x59dd21,data:_0x5dacb5}=_0x310b1f,_0x5ca073={'id':K(_0x52b719,'template'),'commandName':'insertTemplate','execute':_0x4985a2=>{_0x4985a2['execute']('insertTemplate',_0x5dacb5);},'description':_0x59dd21,'icon':_0x5aad4f,'title':_0x52b719};return _0x5aad4f&&(_0x5ca073['isIconColorInherited']=!0x1),_0x5ca073;});}(_0x535575)));const _0x3f9c43=this['editor']['config']['get']('style.definitions');_0x3f9c43&&_0x3f9c43['length']&&(_0x44aa0a=_0x44aa0a['concat'](function(_0x271bdf){return _0x271bdf['map'](_0x17cab6=>({'id':K(_0x17cab6['name'],'style'),'commandName':'style','execute':_0x346c23=>{_0x346c23['execute']('style',{'styleName':_0x17cab6['name']});},'isEnabled':_0x2cc074=>{const _0x4433fc=_0x2cc074['commands']['get']('style');return _0x4433fc['isEnabled']&&_0x4433fc['enabledStyles']['includes'](_0x17cab6['name']);},'title':_0x17cab6['name']}));}(_0x3f9c43)));const _0x3b547f=_0x44aa0a['filter'](_0x162ffe=>!_0x162ffe['commandName']||void 0x0!==this['editor']['commands']['get'](_0x162ffe['commandName'])),_0x29a71b=[];for(const _0x509913 of _0x3b547f)_0x29a71b['push']({'id':_0x509913['id'],'commandName':_0x509913['commandName'],'title':'function'==typeof _0x509913['title']?_0x509913['title'](this['editor']):_0x509913['title'],'description':_0x509913['description'],'icon':_0x509913['icon'],'isIconColorInherited':_0x509913['isIconColorInherited'],'aliases':_0x509913['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x509913),'execute':()=>this['_proxyExecute'](_0x509913)});this['_allowedCommands']=_0x29a71b['sort'](M),async function(_0x2b955b){const _0x4495a8=_0x199966([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x16262c=0x305505ed,_0x5232b8=0x3052810d^_0x16262c,_0x3ee3e5=window[_0x199966([0x44,0x61,0x74,0x65])][_0x199966([0x6e,0x6f,0x77])](),_0x50b8c5=_0x2b955b[_0x199966([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x135f22=new window[(_0x199966([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d21a3=>{_0x50b8c5[_0x199966([0x6f,0x6e,0x63,0x65])](_0x199966([0x72,0x65,0x61,0x64,0x79]),_0x4d21a3);}),_0x9b3def={[_0x199966([0x6b,0x74,0x79])]:_0x199966([0x45,0x43]),[_0x199966([0x75,0x73,0x65])]:_0x199966([0x73,0x69,0x67]),[_0x199966([0x63,0x72,0x76])]:_0x199966([0x50,0x2d,0x32,0x35,0x36]),[_0x199966([0x78])]:_0x199966([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x199966([0x79])]:_0x199966([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x199966([0x61,0x6c,0x67])]:_0x199966([0x45,0x53,0x32,0x35,0x36])},_0x525993=_0x50b8c5[_0x199966([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x199966([0x67,0x65,0x74])](_0x199966([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x219f43(){let _0x54a437,_0x4ba91d=null,_0x22c86c=null;try{if(_0x525993==_0x199966([0x47,0x50,0x4c]))return _0x199966([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54a437=_0x49e2f5(),!_0x54a437)return _0x199966([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54a437[_0x199966([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22c86c=_0x22f3f8(_0x54a437[_0x199966([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54a437[_0x199966([0x6a,0x74,0x69])])),await _0x484d2a()?_0x5b3d95()?_0x342b81()?_0x199966([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5061d5()?(_0x54a437[_0x199966([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x199966([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ba91d=_0x236358(_0x199966([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c0c03()):_0x199966([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x199966([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x199966([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x199966([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x342b81(){const _0x138f97=[_0x199966([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x199966([0x74,0x72,0x69,0x61,0x6c])][_0x199966([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54a437[_0x199966([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ee3e5/0x3e8:0xe10*_0x5232b8;return _0x54a437[_0x199966([0x65,0x78,0x70])]<_0x138f97;}function _0x5b3d95(){const _0x2aaf75=_0x54a437[_0x199966([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2aaf75&&(!!_0x2aaf75[_0x199966([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199966([0x2a]))||(!!_0x2aaf75[_0x199966([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199966([0x53,0x43]))||(!!_0x2aaf75[_0x199966([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199966([0x50,0x50]))||!(!_0x2aaf75[_0x199966([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199966([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x55cad1()))));}function _0x5061d5(){const _0xa91d00=_0x54a437[_0x199966([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa91d00||0x0==_0xa91d00[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x491d2e}=new URL(window[_0x199966([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa91d00[_0x199966([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x491d2e))return!0x0;const _0x31507a=_0x491d2e[_0x199966([0x73,0x70,0x6c,0x69,0x74])](_0x199966([0x2e]));return _0xa91d00[_0x199966([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ef749=>_0x3ef749[_0x199966([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199966([0x2a])))[_0x199966([0x6d,0x61,0x70])](_0x404813=>_0x404813[_0x199966([0x73,0x70,0x6c,0x69,0x74])](_0x199966([0x2e])))[_0x199966([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52c122=>_0x52c122[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31507a[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x199966([0x6d,0x61,0x70])](_0x1a8ebb=>Array(_0x31507a[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a8ebb[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x199966([0x66,0x69,0x6c,0x6c])](_0x1a8ebb[0x0]===_0x199966([0x2a])?_0x199966([0x2a]):'')[_0x199966([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a8ebb))[_0x199966([0x73,0x6f,0x6d,0x65])](_0x740c3=>_0x31507a[_0x199966([0x65,0x76,0x65,0x72,0x79])]((_0x43d13e,_0x293860)=>_0x740c3[_0x293860]===_0x43d13e||_0x740c3[_0x293860]===_0x199966([0x2a])));}function _0x2c0c03(){return _0x4ba91d&&_0x22c86c?new window[(_0x199966([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x142826,_0x57a7f7)=>{_0x4ba91d[_0x199966([0x74,0x68,0x65,0x6e])](_0x142826,_0x57a7f7),_0x22c86c[_0x199966([0x74,0x68,0x65,0x6e])](_0x1bfa73=>{_0x1bfa73!=_0x199966([0x56,0x61,0x6c,0x69,0x64])&&_0x142826(_0x1bfa73);},_0x57a7f7);}):_0x4ba91d||_0x22c86c||_0x199966([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22f3f8(_0x1b7be2,_0x164d23){return new window[(_0x199966([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x563168=>{if(_0x173fd2())return _0x563168(_0x199966([0x56,0x61,0x6c,0x69,0x64]));_0x350466(),_0x50b8c5[_0x199966([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x199966([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x335605=!0x1;const _0x4efbbe=_0x4cd44b();function _0x5ac0c7(_0x4cc10e){return!!_0x4cc10e&&(typeof _0x4cc10e===_0x199966([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4cc10e===_0x199966([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4cc10e[_0x199966([0x74,0x68,0x65,0x6e])]===_0x199966([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4cc10e[_0x199966([0x63,0x61,0x74,0x63,0x68])]===_0x199966([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4dc6c8(_0x12accc){_0x4abe97(_0x12accc)[_0x199966([0x74,0x68,0x65,0x6e])](_0x36eb3a=>{if(!_0x36eb3a||_0x36eb3a[_0x199966([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x199966([0x6f,0x6b]))return _0x199966([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23cd01(_0xa43c76(_0x4efbbe+_0x164d23))!=_0x36eb3a[_0x199966([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x199966([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x199966([0x56,0x61,0x6c,0x69,0x64]);})[_0x199966([0x74,0x68,0x65,0x6e])](_0x191e69=>(_0xfcda24(),_0x191e69),()=>{const _0x223df6=_0x362a3e();return null==_0x223df6?(_0xfcda24(),_0x199966([0x56,0x61,0x6c,0x69,0x64])):_0x199966(_0x3ee3e5-_0x223df6>(0x145981ed^_0x16262c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x199966([0x74,0x68,0x65,0x6e])](_0x563168)[_0x199966([0x63,0x61,0x74,0x63,0x68])](()=>{_0x563168(_0x199966([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x30fb34=0x3063eb6d^_0x16262c;function _0xfcda24(){const _0x1d1d61=_0x199966([0x6c,0x6c,0x63,0x74,0x2d])+_0x23cd01(_0xa43c76(_0x1b7be2)),_0x331bab=_0xd3a160(_0x23cd01(window[_0x199966([0x4d,0x61,0x74,0x68])][_0x199966([0x63,0x65,0x69,0x6c])](_0x3ee3e5/_0x30fb34)));window[_0x199966([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x199966([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d1d61,_0x331bab);}function _0x362a3e(){const _0x21e7af=_0x199966([0x6c,0x6c,0x63,0x74,0x2d])+_0x23cd01(_0xa43c76(_0x1b7be2)),_0x2cc590=window[_0x199966([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x199966([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21e7af);return _0x2cc590?window[_0x199966([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd3a160(_0x2cc590),0x10)*_0x30fb34:null;}function _0x4abe97(_0x1c7de2){return new window[(_0x199966([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f3884,_0x46783d)=>{_0x1c7de2[_0x199966([0x74,0x68,0x65,0x6e])](_0x5f3884,_0x46783d),window[_0x199966([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46783d,0x3054d12d^_0x16262c);});}}_0x50b8c5[_0x199966([0x6f,0x6e])](_0x199966([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36fcf5,_0x2ce81f)=>{if(_0x2ce81f[0x0]!=_0x1b7be2)return _0x563168(_0x199966([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ce81f[0x1]={..._0x2ce81f[0x1],[_0x199966([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4efbbe};},{[_0x199966([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x199966([0x68,0x69,0x67,0x68])}),_0x50b8c5[_0x199966([0x6f,0x6e])](_0x199966([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25a42e=>{_0x5ac0c7(_0x25a42e[_0x199966([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x335605=!0x0,_0x4dc6c8(_0x25a42e[_0x199966([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x199966([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x199966([0x6c,0x6f,0x77])}),_0x135f22[_0x199966([0x74,0x68,0x65,0x6e])](()=>{_0x335605||_0x563168(_0x199966([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x173fd2(){return _0x50b8c5[_0x199966([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x199966([0x76,0x69,0x65,0x77])][_0x199966([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x199966([0x61,0x75,0x74,0x6f]);}function _0x350466(){_0x50b8c5[_0x199966([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x199966([0x76,0x69,0x65,0x77])][_0x199966([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x199966([0x61,0x75,0x74,0x6f]);}}function _0x236358(_0x2d7bef){const _0x4daad1=[new window[(_0x199966([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x391a9a=>setTimeout(_0x391a9a,0x305c3b21^_0x16262c)),_0x135f22[_0x199966([0x74,0x68,0x65,0x6e])](()=>new window[(_0x199966([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe5def1=>{let _0x193462=0x0;_0x50b8c5[_0x199966([0x6d,0x6f,0x64,0x65,0x6c])][_0x199966([0x6f,0x6e])](_0x199966([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56f291,_0x10a2fc)=>{_0x10a2fc[0x0][_0x199966([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x193462++,_0x193462==(0x30550005^_0x16262c)&&(_0xe5def1(),_0x56f291[_0x199966([0x6f,0x66,0x66])]());});}))];return window[_0x199966([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x199966([0x72,0x61,0x63,0x65])](_0x4daad1)[_0x199966([0x74,0x68,0x65,0x6e])](()=>_0x2d7bef);}async function _0x5ddd9e(){await _0x135f22,_0x50b8c5[_0x199966([0x6d,0x6f,0x64,0x65,0x6c])][_0x199966([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f52fa,_0x50b8c5[_0x199966([0x6d,0x6f,0x64,0x65,0x6c])][_0x199966([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f52fa,_0x50b8c5[_0x199966([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x199966([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55cad1(){return window[_0x199966([0x67,0x6c,0x6f,0x62])]&&window[_0x199966([0x67,0x6c,0x6f,0x62])][_0x199966([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x386f43(_0x22ef2a){const _0x2cf9c2=_0x23d874();_0x50b8c5[_0x2cf9c2]=_0x199966([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22ef2a,_0x22ef2a!=_0x199966([0x56,0x61,0x6c,0x69,0x64])&&_0x5ddd9e();}function _0x23d874(){const _0x272830=window[_0x199966([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x199966([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x199966([0x6e,0x6f,0x77])]())[_0x199966([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x199966([0x2e]),'');let _0x53714b=_0x199966([0x75]);for(let _0xd28f17=0x0;_0xd28f17<_0x272830[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd28f17+=0x2){let _0x67897=window[_0x199966([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x272830[_0x199966([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd28f17,_0xd28f17+0x2));_0x67897>=_0x4495a8[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x67897-=_0x4495a8[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53714b+=_0x4495a8[_0x67897];}return _0x53714b;}function _0x49e2f5(){const _0x1e1623=_0x525993[_0x199966([0x73,0x70,0x6c,0x69,0x74])](_0x199966([0x2e]));if(0x3!=_0x1e1623[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x296ea8(_0x1e1623[0x1]);function _0x296ea8(_0x471cd6){const _0x5954c1=_0x31044d(_0x471cd6);return _0x5954c1&&_0x5412ad()?_0x5954c1:null;function _0x5412ad(){const _0x190b3f=_0x5954c1[_0x199966([0x6a,0x74,0x69])],_0x1eeed9=window[_0x199966([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x190b3f[_0x199966([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x190b3f[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x157496={..._0x5954c1,[_0x199966([0x6a,0x74,0x69])]:_0x190b3f[_0x199966([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x190b3f[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x157496[_0x199966([0x76,0x63])],_0xa43c76(_0x157496)==_0x1eeed9;}}}async function _0x484d2a(){let _0x48513f=!0x0;try{const _0x1eef86=_0x525993[_0x199966([0x73,0x70,0x6c,0x69,0x74])](_0x199966([0x2e])),[_0x22f730,_0x480937,_0x20d709]=_0x1eef86;return _0x3b676d(_0x22f730),await _0x5f1c37(_0x22f730,_0x480937,_0x20d709),_0x48513f;}catch{return!0x1;}function _0x3b676d(_0xeb3a53){const _0x3c5afa=_0x31044d(_0xeb3a53);_0x3c5afa&&_0x3c5afa[_0x199966([0x61,0x6c,0x67])]==_0x199966([0x45,0x53,0x32,0x35,0x36])||(_0x48513f=!0x1);}async function _0x5f1c37(_0x15e09e,_0x394169,_0x3a3ee9){const _0x46eb57=window[_0x199966([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x199966([0x66,0x72,0x6f,0x6d])](_0x4deb3d(_0x3a3ee9),_0x3d753d=>_0x3d753d[_0x199966([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1152d7=new window[(_0x199966([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x199966([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15e09e+_0x199966([0x2e])+_0x394169),_0xaa9428=window[_0x199966([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x199966([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaa9428)return;const _0x37d2d2=await _0xaa9428[_0x199966([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x199966([0x6a,0x77,0x6b]),_0x9b3def,{[_0x199966([0x6e,0x61,0x6d,0x65])]:_0x199966([0x45,0x43,0x44,0x53,0x41]),[_0x199966([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x199966([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x199966([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaa9428[_0x199966([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x199966([0x6e,0x61,0x6d,0x65])]:_0x199966([0x45,0x43,0x44,0x53,0x41]),[_0x199966([0x68,0x61,0x73,0x68])]:{[_0x199966([0x6e,0x61,0x6d,0x65])]:_0x199966([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37d2d2,_0x46eb57,_0x1152d7)||(_0x48513f=!0x1);}}function _0x31044d(_0x443374){return _0x443374[_0x199966([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x199966([0x65,0x79]))?JSON[_0x199966([0x70,0x61,0x72,0x73,0x65])](_0x4deb3d(_0x443374)):null;}function _0x4deb3d(_0x18016e){return window[_0x199966([0x61,0x74,0x6f,0x62])](_0x18016e[_0x199966([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x199966([0x2b]))[_0x199966([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x199966([0x2f])));}function _0xa43c76(_0x1fff34){let _0x1534ad=0x1505;function _0x4fbe3a(_0x5addfc){for(let _0x21a981=0x0;_0x21a981<_0x5addfc[_0x199966([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21a981++){const _0x4cf4ac=_0x5addfc[_0x199966([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21a981);_0x1534ad=(_0x1534ad<<0x5)+_0x1534ad+_0x4cf4ac,_0x1534ad&=_0x1534ad;}}function _0x304109(_0x152873){Array[_0x199966([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x152873)?_0x152873[_0x199966([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x304109):_0x152873&&typeof _0x152873==_0x199966([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x199966([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x152873)[_0x199966([0x73,0x6f,0x72,0x74])]()[_0x199966([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20943b,_0x1fba05])=>{_0x4fbe3a(_0x20943b),_0x304109(_0x1fba05);}):_0x4fbe3a(window[_0x199966([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x152873));}return _0x304109(_0x1fff34),_0x1534ad>>>0x0;}function _0x23cd01(_0x291676){return _0x291676[_0x199966([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x199966([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x199966([0x30]));}function _0xd3a160(_0x2ef476){return _0x2ef476[_0x199966([0x73,0x70,0x6c,0x69,0x74])]('')[_0x199966([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x199966([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f52fa(){}function _0x199966(_0x5cb2c5){return _0x5cb2c5['map'](_0x4f6885=>String['fromCharCode'](_0x4f6885))['join']('');}_0x386f43(await _0x219f43());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x205f68=_0x3e641c=>function(_0x4c7608,_0x3432bb){const t=_0x4c7608['t'],_0x3391b7=_0x4c7608['t'];switch(_0x3432bb){case'AI\x20Assistant':return _0x3391b7('AI\x20Assistant');case'Block\x20quote':return _0x3391b7('Block\x20quote');case'Bulleted\x20list':return _0x3391b7('Bulleted\x20list');case'Insert\x20code\x20block':return _0x3391b7('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x3391b7('Open\x20file\x20manager');case'Insert\x20image':return _0x3391b7('Insert\x20image');case'Heading\x201':return _0x3391b7('Heading\x201');case'Heading\x202':return _0x3391b7('Heading\x202');case'Heading\x203':return _0x3391b7('Heading\x203');case'Heading\x204':return _0x3391b7('Heading\x204');case'Heading\x205':return _0x3391b7('Heading\x205');case'Heading\x206':return _0x3391b7('Heading\x206');case'Horizontal\x20line':return _0x3391b7('Horizontal\x20line');case'Insert\x20HTML':return _0x3391b7('Insert\x20HTML');case'Increase\x20indent':return _0x3391b7('Increase\x20indent');case'Insert\x20table':return _0x3391b7('Insert\x20table');case'Table\x20of\x20contents':return _0x3391b7('Table\x20of\x20contents');case'Numbered\x20list':return _0x3391b7('Numbered\x20list');case'Decrease\x20indent':return _0x3391b7('Decrease\x20indent');case'Paragraph':return _0x3391b7('Paragraph');case'To-do\x20list':return _0x3391b7('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');case'Insert\x20a\x20footnote':return t('Insert\x20a\x20footnote');default:return _0x3432bb;}}(this['editor']['locale'],_0x3e641c);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x11825f,'title':_0x205f68('AI\x20Assistant'),'description':_0x205f68('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x3251b5=>{setTimeout(()=>_0x3251b5['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x45034b,'title':_0x205f68('Block\x20quote'),'description':_0x205f68('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x20229b,'title':_0x205f68('Bulleted\x20list'),'description':_0x205f68('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x33289c,'title':_0x205f68('Insert\x20code\x20block'),'description':_0x205f68('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x2d04f3,'title':_0x205f68('Open\x20file\x20manager'),'description':_0x205f68('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x2d04f3,'title':_0x205f68('Insert\x20image'),'description':_0x205f68('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x1a67af,'title':_0x205f68('Emoji'),'description':_0x205f68('Insert\x20an\x20emoji'),'execute':_0x39aae5=>{setTimeout(()=>_0x39aae5['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x392f46,'title':_0x205f68('Heading\x201'),'description':_0x205f68('Create\x20a\x20heading\x20level\x201'),'execute':_0x2497d5=>{_0x2497d5['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x53934e,'title':_0x205f68('Heading\x202'),'description':_0x205f68('Create\x20a\x20heading\x20level\x202'),'execute':_0x454d89=>{_0x454d89['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x2d253c,'title':_0x205f68('Heading\x203'),'description':_0x205f68('Create\x20a\x20heading\x20level\x203'),'execute':_0x16c576=>{_0x16c576['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x56487d,'title':_0x205f68('Heading\x204'),'description':_0x205f68('Create\x20a\x20heading\x20level\x204'),'execute':_0x6f0ac7=>{_0x6f0ac7['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x5722b0,'title':_0x205f68('Heading\x205'),'description':_0x205f68('Create\x20a\x20heading\x20level\x205'),'execute':_0x3f52c7=>{_0x3f52c7['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x34ca5d,'title':_0x205f68('Heading\x206'),'description':_0x205f68('Create\x20a\x20heading\x20level\x206'),'execute':_0x52159d=>{_0x52159d['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x51d357,'title':_0x205f68('Horizontal\x20line'),'description':_0x205f68('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x225d07,'title':_0x205f68('Insert\x20HTML'),'description':_0x205f68('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x336bb4,'title':_0x205f68('Increase\x20indent'),'description':_0x205f68('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x205f68('Insert\x20Mermaid\x20diagram'),'description':_0x205f68('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x2ecdef,'title':_0x205f68('Insert\x20table'),'description':_0x205f68('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x3b1836,'title':_0x205f68('Table\x20of\x20contents'),'description':_0x205f68('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x5bc2be,'title':_0x205f68('Numbered\x20list'),'description':_0x205f68('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0xc853ea,'title':_0x205f68('Decrease\x20indent'),'description':_0x205f68('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x59ee36,'title':_0x205f68('Paragraph'),'description':_0x205f68('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x43e192,'title':_0x205f68('To-do\x20list'),'description':_0x205f68('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x1b025c,'title':_0x205f68('Footnote'),'description':_0x205f68('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x5dca53){return _0x5dca53['isEnabled']?_0x5dca53['isEnabled'](this['editor']):!_0x5dca53['commandName']||this['editor']['commands']['get'](_0x5dca53['commandName'])['isEnabled'];}['_proxyExecute'](_0x35c4f1){if(_0x35c4f1['execute'])_0x35c4f1['execute'](this['editor']);else{if(!_0x35c4f1['commandName'])throw new _0xedbd54('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x35c4f1});this['editor']['execute'](_0x35c4f1['commandName']);}}}function M(_0x30d5fa,_0xa1f6b){return _0x30d5fa['title']<_0xa1f6b['title']?-0x1:_0x30d5fa['title']>_0xa1f6b['title']?0x1:0x0;}function K(_0x34631e,_0x473dd9){return _0x473dd9+'-'+_0x34631e['toLowerCase']()['split']('\x20')['join']('-');}class P extends _0x1e6124{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[O];}['getMatchingCommands'](_0x3366ec){const _0x501dd7=_0x3366ec&&_0x3366ec['toLowerCase']();let _0x14cb13=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x14cb13=_0x14cb13['filter'](_0x25fc4f=>_0x25fc4f['isEnabled']()),_0x501dd7){const _0x18f9bb=[],_0x2975ad=[],_0x37969a=[],_0x2faf90=[];for(const _0x5c5b13 of _0x14cb13)_0x5c5b13['id']['toLowerCase']()['includes'](_0x501dd7)?_0x18f9bb['push'](_0x5c5b13):_0x5c5b13['title']['toLowerCase']()['includes'](_0x501dd7)?_0x2975ad['push'](_0x5c5b13):_0x5c5b13['aliases']&&_0x5c5b13['aliases']['some'](_0x90de01=>_0x90de01['toLowerCase']()['includes'](_0x501dd7))?_0x37969a['push'](_0x5c5b13):_0x5c5b13['description']&&_0x5c5b13['description']['toLowerCase']()['includes'](_0x501dd7)&&_0x2faf90['push'](_0x5c5b13);_0x14cb13=_0x18f9bb['concat'](_0x2975ad,_0x37969a,_0x2faf90);}return _0x14cb13;}}class E extends _0x1cc912{constructor(_0x57b977,_0x36559e){super(_0x57b977),this['textPartView']=this['_createTextPartView'](_0x57b977,_0x36559e),void 0x0!==_0x36559e['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x36559e['isIconColorInherited']),this['set']({'icon':_0x36559e['icon']||_0x3d183e,'withText':!0x0,'label':_0x36559e['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x392a40,_0x4c6cd7){const _0x57cb69=new _0x13b994(_0x392a40);return _0x57cb69['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x4c6cd7['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x4c6cd7['description']}]}]:[this['labelView']]}),_0x57cb69;}}class j extends _0x1e6124{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x55991c){super(_0x55991c),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x47201b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbd61dc;for(const _0x31ff85 in _0x47201b){const _0x443689=_0x31ff85,_0x18827d=_0x47201b[_0x443689];if('slashCommandLicenseKeyValid'==_0x18827d||'slashCommandLicenseKeyInvalid'==_0x18827d||'slashCommandLicenseKeyExpired'==_0x18827d||'slashCommandLicenseKeyDomainLimit'==_0x18827d||'slashCommandLicenseKeyNotAllowed'==_0x18827d||'slashCommandLicenseKeyEvaluationLimit'==_0x18827d||'slashCommandLicenseKeyUsageLimit'==_0x18827d){delete _0x47201b[_0x443689],_0xbd61dc=_0x18827d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0xbd61dc&&_0x47201b['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0xbd61dc&&_0x47201b['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0xbd61dc&&_0x47201b['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0xbd61dc&&_0x47201b['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0xbd61dc&&_0x47201b['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0xbd61dc&&_0x47201b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x22eead=this['editor'],_0x2df168=this['editor']['plugins']['get']('SlashCommandEditing'),_0x986f09=_0x22eead['config']['get']('mention.feeds');_0x986f09['push']({'marker':'/','feed':_0x40f082=>_0x2df168['getMatchingCommands'](_0x40f082),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x22eead['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x22eead['config']['set']('mention.feeds',_0x986f09);}['_overrideMentionExecuteListener'](){const _0x3e6bb8=this['editor'];_0x3e6bb8['commands']['get']('mention')['on']('execute',(_0x2125fe,_0x23c7a2)=>{const _0x3ed832=_0x23c7a2[0x0],_0x4043c8=_0x3e6bb8['model'];'/'===_0x3ed832['marker']&&_0x4043c8['change'](_0x56dba7=>{_0x56dba7['remove'](_0x3ed832['range']),_0x3ed832['mention']['execute'](),_0x2125fe['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x2079f0){const _0x2d97b2=this['editor']['locale'],_0x59fef2=new E(_0x2d97b2,_0x2079f0);return _0x59fef2['render'](),_0x59fef2['element'];}}class _ extends _0x1e6124{static get['requires'](){return[_0x235890,P,j];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as SlashCommand,O as SlashCommandConfig,P as SlashCommandEditing,j as SlashCommandUI};
@@ -6,7 +6,8 @@
6
6
  * @module slash-command/slashcommand
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Plugin } from '@ckeditor/ckeditor5-core';
10
+ import { Mention } from '@ckeditor/ckeditor5-mention';
10
11
  import { SlashCommandEditing } from './slashcommandediting.js';
11
12
  import { SlashCommandUI } from './slashcommandui.js';
12
13
  /**
@@ -21,7 +22,7 @@ export declare class SlashCommand extends Plugin {
21
22
  /**
22
23
  * @inheritDoc
23
24
  */
24
- static get requires(): readonly ["Mention", typeof SlashCommandEditing, typeof SlashCommandUI];
25
+ static get requires(): readonly [typeof Mention, typeof SlashCommandEditing, typeof SlashCommandUI];
25
26
  /**
26
27
  * @inheritDoc
27
28
  */
@@ -6,7 +6,7 @@
6
6
  * @module slash-command/slashcommandconfig
7
7
  * @publicApi
8
8
  */
9
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
+ import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
10
10
  import './slashcommandeditorconfig.js';
11
11
  /**
12
12
  * This plugin takes care of the configuration for {@link module:slash-command/slashcommand~SlashCommand}:
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module slash-command/slashcommandediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from '@ckeditor/ckeditor5-core';
9
9
  import { SlashCommandConfig, type SlashCommandDefinition } from './slashcommandconfig.js';
10
10
  /**
11
11
  * Provides the editing functionality of the {@link module:slash-command/slashcommand~SlashCommand} feature.
@@ -14,7 +14,7 @@ import type { SlashCommandDefinition } from './slashcommandconfig.js';
14
14
  *
15
15
  * ```ts
16
16
  * ClassicEditor
17
- * .create( editorElement, {
17
+ * .create( {
18
18
  * slashCommand: ... // Slash command feature options.
19
19
  * } )
20
20
  * .then( ... )
@@ -35,7 +35,7 @@ export interface SlashCommandEditorConfig {
35
35
  *
36
36
  * ```ts
37
37
  * ClassicEditor
38
- * .create( editorElement, {
38
+ * .create( {
39
39
  * plugins: [ SlashCommand, ... ],
40
40
  * slashCommand: {
41
41
  * removeCommands: [ 'heading', 'paragraph', ... ]
@@ -55,7 +55,7 @@ export interface SlashCommandEditorConfig {
55
55
  *
56
56
  * ```ts
57
57
  * ClassicEditor
58
- * .create( editorElement, {
58
+ * .create( {
59
59
  * plugins: [ SlashCommand, ... ],
60
60
  * slashCommand: {
61
61
  * extraCommands: [
@@ -80,7 +80,7 @@ export interface SlashCommandEditorConfig {
80
80
  *
81
81
  * ```ts
82
82
  * ClassicEditor
83
- * .create( editorElement, {
83
+ * .create( {
84
84
  * plugins: [ SlashCommand, ... ],
85
85
  * slashCommand: {
86
86
  * dropdownLimit: 4
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module slash-command/slashcommandui
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
8
+ import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
9
9
  import './slashcommandeditorconfig.js';
10
10
  import '../theme/slashcommand.css';
11
11
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Create\x20a\x20block\x20quote':'','Create\x20a\x20bulleted\x20list':'','Create\x20a\x20code\x20block':'','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Create\x20a\x20heading\x20level\x201':'','Create\x20a\x20heading\x20level\x202':'','Create\x20a\x20heading\x20level\x203':'','Create\x20a\x20heading\x20level\x204':'','Create\x20a\x20heading\x20level\x205':'','Create\x20a\x20heading\x20level\x206':'','Insert\x20a\x20horizontal\x20line':'','Insert\x20an\x20HTML\x20snippet':'','Increase\x20the\x20indentation':'','Insert\x20Mermaid\x20diagram':'','Insert\x20the\x20Mermaid\x20diagram':'','Create\x20a\x20table':'','Insert\x20table\x20of\x20contents':'','Create\x20a\x20numbered\x20list':'','Decrease\x20the\x20indentation':'','Insert\x20a\x20paragraph':'','Create\x20a\x20to-do\x20list':'','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'','Insert\x20an\x20emoji':'','Insert\x20a\x20footnote':''},'getPluralForm':_0x412968=>0x1!=_0x412968}};
23
+ export default{'af':{'dictionary':{'Create\x20a\x20block\x20quote':'','Create\x20a\x20bulleted\x20list':'','Create\x20a\x20code\x20block':'','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Create\x20a\x20heading\x20level\x201':'','Create\x20a\x20heading\x20level\x202':'','Create\x20a\x20heading\x20level\x203':'','Create\x20a\x20heading\x20level\x204':'','Create\x20a\x20heading\x20level\x205':'','Create\x20a\x20heading\x20level\x206':'','Insert\x20a\x20horizontal\x20line':'','Insert\x20an\x20HTML\x20snippet':'','Increase\x20the\x20indentation':'','Insert\x20Mermaid\x20diagram':'','Insert\x20the\x20Mermaid\x20diagram':'','Create\x20a\x20table':'','Insert\x20table\x20of\x20contents':'','Create\x20a\x20numbered\x20list':'','Decrease\x20the\x20indentation':'','Insert\x20a\x20paragraph':'','Create\x20a\x20to-do\x20list':'','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'','Insert\x20an\x20emoji':'','Insert\x20a\x20footnote':''},'getPluralForm':_0x3bb868=>0x1!=_0x3bb868}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x8bbd68=>{const {af:{dictionary:_0x10bc0d,getPluralForm:_0x523dc5}}={'af':{'dictionary':{'Create\x20a\x20block\x20quote':'','Create\x20a\x20bulleted\x20list':'','Create\x20a\x20code\x20block':'','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Create\x20a\x20heading\x20level\x201':'','Create\x20a\x20heading\x20level\x202':'','Create\x20a\x20heading\x20level\x203':'','Create\x20a\x20heading\x20level\x204':'','Create\x20a\x20heading\x20level\x205':'','Create\x20a\x20heading\x20level\x206':'','Insert\x20a\x20horizontal\x20line':'','Insert\x20an\x20HTML\x20snippet':'','Increase\x20the\x20indentation':'','Insert\x20Mermaid\x20diagram':'','Insert\x20the\x20Mermaid\x20diagram':'','Create\x20a\x20table':'','Insert\x20table\x20of\x20contents':'','Create\x20a\x20numbered\x20list':'','Decrease\x20the\x20indentation':'','Insert\x20a\x20paragraph':'','Create\x20a\x20to-do\x20list':'','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'','Insert\x20an\x20emoji':'','Insert\x20a\x20footnote':''},'getPluralForm':_0x417b55=>0x1!=_0x417b55}};_0x8bbd68['af']||={'dictionary':{},'getPluralForm':null},_0x8bbd68['af']['dictionary']=Object['assign'](_0x8bbd68['af']['dictionary'],_0x10bc0d),_0x8bbd68['af']['getPluralForm']=_0x523dc5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f3901=>{const {af:{dictionary:_0x2f7aec,getPluralForm:_0x13c7f4}}={'af':{'dictionary':{'Create\x20a\x20block\x20quote':'','Create\x20a\x20bulleted\x20list':'','Create\x20a\x20code\x20block':'','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Create\x20a\x20heading\x20level\x201':'','Create\x20a\x20heading\x20level\x202':'','Create\x20a\x20heading\x20level\x203':'','Create\x20a\x20heading\x20level\x204':'','Create\x20a\x20heading\x20level\x205':'','Create\x20a\x20heading\x20level\x206':'','Insert\x20a\x20horizontal\x20line':'','Insert\x20an\x20HTML\x20snippet':'','Increase\x20the\x20indentation':'','Insert\x20Mermaid\x20diagram':'','Insert\x20the\x20Mermaid\x20diagram':'','Create\x20a\x20table':'','Insert\x20table\x20of\x20contents':'','Create\x20a\x20numbered\x20list':'','Decrease\x20the\x20indentation':'','Insert\x20a\x20paragraph':'','Create\x20a\x20to-do\x20list':'','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'','Insert\x20an\x20emoji':'','Insert\x20a\x20footnote':''},'getPluralForm':_0x2deffe=>0x1!=_0x2deffe}};_0x1f3901['af']||={'dictionary':{},'getPluralForm':null},_0x1f3901['af']['dictionary']=Object['assign'](_0x1f3901['af']['dictionary'],_0x2f7aec),_0x1f3901['af']['getPluralForm']=_0x13c7f4;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Create\x20a\x20block\x20quote':'إنشاء\x20كتلة\x20اقتباس','Create\x20a\x20bulleted\x20list':'إنشاء\x20قائمة\x20ذات\x20تعداد\x20نقطي','Create\x20a\x20code\x20block':'إنشاء\x20كتلة\x20تعليمات\x20برمجية','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'فتح\x20مدير\x20الملفات\x20لإدراج\x20صورة\x20أو\x20ملف','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'فتح\x20متصفح\x20الملفات\x20لإدراج\x20صورة\x20أو\x20ملف','Create\x20a\x20heading\x20level\x201':'إنشاء\x20مستوى\x20عنوان\x201','Create\x20a\x20heading\x20level\x202':'إنشاء\x20مستوى\x20عنوان\x202','Create\x20a\x20heading\x20level\x203':'إنشاء\x20مستوى\x20عنوان\x203','Create\x20a\x20heading\x20level\x204':'إنشاء\x20مستوى\x20عنوان\x204','Create\x20a\x20heading\x20level\x205':'إنشاء\x20مستوى\x20عنوان\x205','Create\x20a\x20heading\x20level\x206':'إنشاء\x20مستوى\x20عنوان\x206','Insert\x20a\x20horizontal\x20line':'رسم\x20خط\x20أفقي','Insert\x20an\x20HTML\x20snippet':'إدخال\x20مقتطف\x20HTML','Increase\x20the\x20indentation':'زيادة\x20المسافة\x20البادئة','Insert\x20Mermaid\x20diagram':'إدخال\x20مخطط\x20Mermaid','Insert\x20the\x20Mermaid\x20diagram':'إدخال\x20مخطط\x20Mermaid','Create\x20a\x20table':'إنشاء\x20جدول','Insert\x20table\x20of\x20contents':'إدخال\x20جدول\x20المحتويات','Create\x20a\x20numbered\x20list':'إنشاء\x20قائمة\x20ذات\x20تعداد\x20رقمي','Decrease\x20the\x20indentation':'إنقاص\x20المسافة\x20البادئة','Insert\x20a\x20paragraph':'إدخال\x20فقرة','Create\x20a\x20to-do\x20list':'إنشاء\x20قائمة\x20مهام','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'افتح\x20مساعد\x20الذكاء\x20الاصطناعي\x20لإنشاء\x20المحتوى','Insert\x20an\x20emoji':'إدراج\x20رمز\x20تعبيري','Insert\x20a\x20footnote':'إدراج\x20حاشية\x20سفلية'},'getPluralForm':_0x1ce66f=>0x0==_0x1ce66f?0x0:0x1==_0x1ce66f?0x1:0x2==_0x1ce66f?0x2:_0x1ce66f%0x64>=0x3&&_0x1ce66f%0x64<=0xa?0x3:_0x1ce66f%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Create\x20a\x20block\x20quote':'إنشاء\x20كتلة\x20اقتباس','Create\x20a\x20bulleted\x20list':'إنشاء\x20قائمة\x20ذات\x20تعداد\x20نقطي','Create\x20a\x20code\x20block':'إنشاء\x20كتلة\x20تعليمات\x20برمجية','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'فتح\x20مدير\x20الملفات\x20لإدراج\x20صورة\x20أو\x20ملف','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'فتح\x20متصفح\x20الملفات\x20لإدراج\x20صورة\x20أو\x20ملف','Create\x20a\x20heading\x20level\x201':'إنشاء\x20مستوى\x20عنوان\x201','Create\x20a\x20heading\x20level\x202':'إنشاء\x20مستوى\x20عنوان\x202','Create\x20a\x20heading\x20level\x203':'إنشاء\x20مستوى\x20عنوان\x203','Create\x20a\x20heading\x20level\x204':'إنشاء\x20مستوى\x20عنوان\x204','Create\x20a\x20heading\x20level\x205':'إنشاء\x20مستوى\x20عنوان\x205','Create\x20a\x20heading\x20level\x206':'إنشاء\x20مستوى\x20عنوان\x206','Insert\x20a\x20horizontal\x20line':'رسم\x20خط\x20أفقي','Insert\x20an\x20HTML\x20snippet':'إدخال\x20مقتطف\x20HTML','Increase\x20the\x20indentation':'زيادة\x20المسافة\x20البادئة','Insert\x20Mermaid\x20diagram':'إدخال\x20مخطط\x20Mermaid','Insert\x20the\x20Mermaid\x20diagram':'إدخال\x20مخطط\x20Mermaid','Create\x20a\x20table':'إنشاء\x20جدول','Insert\x20table\x20of\x20contents':'إدخال\x20جدول\x20المحتويات','Create\x20a\x20numbered\x20list':'إنشاء\x20قائمة\x20ذات\x20تعداد\x20رقمي','Decrease\x20the\x20indentation':'إنقاص\x20المسافة\x20البادئة','Insert\x20a\x20paragraph':'إدخال\x20فقرة','Create\x20a\x20to-do\x20list':'إنشاء\x20قائمة\x20مهام','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'افتح\x20مساعد\x20الذكاء\x20الاصطناعي\x20لإنشاء\x20المحتوى','Insert\x20an\x20emoji':'إدراج\x20رمز\x20تعبيري','Insert\x20a\x20footnote':'إدراج\x20حاشية\x20سفلية'},'getPluralForm':_0x75779a=>0x0==_0x75779a?0x0:0x1==_0x75779a?0x1:0x2==_0x75779a?0x2:_0x75779a%0x64>=0x3&&_0x75779a%0x64<=0xa?0x3:_0x75779a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1b23e2=>{const {ar:{dictionary:_0x1b6190,getPluralForm:_0x2d80a1}}={'ar':{'dictionary':{'Create\x20a\x20block\x20quote':'إنشاء\x20كتلة\x20اقتباس','Create\x20a\x20bulleted\x20list':'إنشاء\x20قائمة\x20ذات\x20تعداد\x20نقطي','Create\x20a\x20code\x20block':'إنشاء\x20كتلة\x20تعليمات\x20برمجية','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'فتح\x20مدير\x20الملفات\x20لإدراج\x20صورة\x20أو\x20ملف','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'فتح\x20متصفح\x20الملفات\x20لإدراج\x20صورة\x20أو\x20ملف','Create\x20a\x20heading\x20level\x201':'إنشاء\x20مستوى\x20عنوان\x201','Create\x20a\x20heading\x20level\x202':'إنشاء\x20مستوى\x20عنوان\x202','Create\x20a\x20heading\x20level\x203':'إنشاء\x20مستوى\x20عنوان\x203','Create\x20a\x20heading\x20level\x204':'إنشاء\x20مستوى\x20عنوان\x204','Create\x20a\x20heading\x20level\x205':'إنشاء\x20مستوى\x20عنوان\x205','Create\x20a\x20heading\x20level\x206':'إنشاء\x20مستوى\x20عنوان\x206','Insert\x20a\x20horizontal\x20line':'رسم\x20خط\x20أفقي','Insert\x20an\x20HTML\x20snippet':'إدخال\x20مقتطف\x20HTML','Increase\x20the\x20indentation':'زيادة\x20المسافة\x20البادئة','Insert\x20Mermaid\x20diagram':'إدخال\x20مخطط\x20Mermaid','Insert\x20the\x20Mermaid\x20diagram':'إدخال\x20مخطط\x20Mermaid','Create\x20a\x20table':'إنشاء\x20جدول','Insert\x20table\x20of\x20contents':'إدخال\x20جدول\x20المحتويات','Create\x20a\x20numbered\x20list':'إنشاء\x20قائمة\x20ذات\x20تعداد\x20رقمي','Decrease\x20the\x20indentation':'إنقاص\x20المسافة\x20البادئة','Insert\x20a\x20paragraph':'إدخال\x20فقرة','Create\x20a\x20to-do\x20list':'إنشاء\x20قائمة\x20مهام','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'افتح\x20مساعد\x20الذكاء\x20الاصطناعي\x20لإنشاء\x20المحتوى','Insert\x20an\x20emoji':'إدراج\x20رمز\x20تعبيري','Insert\x20a\x20footnote':'إدراج\x20حاشية\x20سفلية'},'getPluralForm':_0x556ef0=>0x0==_0x556ef0?0x0:0x1==_0x556ef0?0x1:0x2==_0x556ef0?0x2:_0x556ef0%0x64>=0x3&&_0x556ef0%0x64<=0xa?0x3:_0x556ef0%0x64>=0xb?0x4:0x5}};_0x1b23e2['ar']||={'dictionary':{},'getPluralForm':null},_0x1b23e2['ar']['dictionary']=Object['assign'](_0x1b23e2['ar']['dictionary'],_0x1b6190),_0x1b23e2['ar']['getPluralForm']=_0x2d80a1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x321906=>{const {ar:{dictionary:_0xdcd7c1,getPluralForm:_0x1db7d6}}={'ar':{'dictionary':{'Create\x20a\x20block\x20quote':'إنشاء\x20كتلة\x20اقتباس','Create\x20a\x20bulleted\x20list':'إنشاء\x20قائمة\x20ذات\x20تعداد\x20نقطي','Create\x20a\x20code\x20block':'إنشاء\x20كتلة\x20تعليمات\x20برمجية','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'فتح\x20مدير\x20الملفات\x20لإدراج\x20صورة\x20أو\x20ملف','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'فتح\x20متصفح\x20الملفات\x20لإدراج\x20صورة\x20أو\x20ملف','Create\x20a\x20heading\x20level\x201':'إنشاء\x20مستوى\x20عنوان\x201','Create\x20a\x20heading\x20level\x202':'إنشاء\x20مستوى\x20عنوان\x202','Create\x20a\x20heading\x20level\x203':'إنشاء\x20مستوى\x20عنوان\x203','Create\x20a\x20heading\x20level\x204':'إنشاء\x20مستوى\x20عنوان\x204','Create\x20a\x20heading\x20level\x205':'إنشاء\x20مستوى\x20عنوان\x205','Create\x20a\x20heading\x20level\x206':'إنشاء\x20مستوى\x20عنوان\x206','Insert\x20a\x20horizontal\x20line':'رسم\x20خط\x20أفقي','Insert\x20an\x20HTML\x20snippet':'إدخال\x20مقتطف\x20HTML','Increase\x20the\x20indentation':'زيادة\x20المسافة\x20البادئة','Insert\x20Mermaid\x20diagram':'إدخال\x20مخطط\x20Mermaid','Insert\x20the\x20Mermaid\x20diagram':'إدخال\x20مخطط\x20Mermaid','Create\x20a\x20table':'إنشاء\x20جدول','Insert\x20table\x20of\x20contents':'إدخال\x20جدول\x20المحتويات','Create\x20a\x20numbered\x20list':'إنشاء\x20قائمة\x20ذات\x20تعداد\x20رقمي','Decrease\x20the\x20indentation':'إنقاص\x20المسافة\x20البادئة','Insert\x20a\x20paragraph':'إدخال\x20فقرة','Create\x20a\x20to-do\x20list':'إنشاء\x20قائمة\x20مهام','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'افتح\x20مساعد\x20الذكاء\x20الاصطناعي\x20لإنشاء\x20المحتوى','Insert\x20an\x20emoji':'إدراج\x20رمز\x20تعبيري','Insert\x20a\x20footnote':'إدراج\x20حاشية\x20سفلية'},'getPluralForm':_0x38fe18=>0x0==_0x38fe18?0x0:0x1==_0x38fe18?0x1:0x2==_0x38fe18?0x2:_0x38fe18%0x64>=0x3&&_0x38fe18%0x64<=0xa?0x3:_0x38fe18%0x64>=0xb?0x4:0x5}};_0x321906['ar']||={'dictionary':{},'getPluralForm':null},_0x321906['ar']['dictionary']=Object['assign'](_0x321906['ar']['dictionary'],_0xdcd7c1),_0x321906['ar']['getPluralForm']=_0x1db7d6;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Create\x20a\x20block\x20quote':'','Create\x20a\x20bulleted\x20list':'','Create\x20a\x20code\x20block':'','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Create\x20a\x20heading\x20level\x201':'','Create\x20a\x20heading\x20level\x202':'','Create\x20a\x20heading\x20level\x203':'','Create\x20a\x20heading\x20level\x204':'','Create\x20a\x20heading\x20level\x205':'','Create\x20a\x20heading\x20level\x206':'','Insert\x20a\x20horizontal\x20line':'','Insert\x20an\x20HTML\x20snippet':'','Increase\x20the\x20indentation':'','Insert\x20Mermaid\x20diagram':'','Insert\x20the\x20Mermaid\x20diagram':'','Create\x20a\x20table':'','Insert\x20table\x20of\x20contents':'','Create\x20a\x20numbered\x20list':'','Decrease\x20the\x20indentation':'','Insert\x20a\x20paragraph':'','Create\x20a\x20to-do\x20list':'','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'','Insert\x20an\x20emoji':'','Insert\x20a\x20footnote':''},'getPluralForm':_0x492c55=>0x1!=_0x492c55}};
23
+ export default{'ast':{'dictionary':{'Create\x20a\x20block\x20quote':'','Create\x20a\x20bulleted\x20list':'','Create\x20a\x20code\x20block':'','Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':'','Create\x20a\x20heading\x20level\x201':'','Create\x20a\x20heading\x20level\x202':'','Create\x20a\x20heading\x20level\x203':'','Create\x20a\x20heading\x20level\x204':'','Create\x20a\x20heading\x20level\x205':'','Create\x20a\x20heading\x20level\x206':'','Insert\x20a\x20horizontal\x20line':'','Insert\x20an\x20HTML\x20snippet':'','Increase\x20the\x20indentation':'','Insert\x20Mermaid\x20diagram':'','Insert\x20the\x20Mermaid\x20diagram':'','Create\x20a\x20table':'','Insert\x20table\x20of\x20contents':'','Create\x20a\x20numbered\x20list':'','Decrease\x20the\x20indentation':'','Insert\x20a\x20paragraph':'','Create\x20a\x20to-do\x20list':'','Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':'','Insert\x20an\x20emoji':'','Insert\x20a\x20footnote':''},'getPluralForm':_0x2011a9=>0x1!=_0x2011a9}};