@ckeditor/ckeditor5-slash-command 48.2.0 → 48.3.0-alpha.0

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 (158) hide show
  1. package/dist/augmentation.d.ts +19 -19
  2. package/dist/index.d.ts +12 -12
  3. package/dist/index.js +1 -1
  4. package/dist/legacyerrors.d.ts +0 -4
  5. package/dist/slashcommand.d.ts +33 -33
  6. package/dist/slashcommandconfig.d.ts +248 -248
  7. package/dist/slashcommandediting.d.ts +31 -31
  8. package/dist/slashcommandeditorconfig.d.ts +91 -91
  9. package/dist/slashcommandui.d.ts +36 -36
  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/dist/ui/slashcommandbuttonview.d.ts +26 -26
  157. package/dist/utils/common-translations.d.ts +6 -6
  158. package/package.json +9 -9
@@ -1,21 +1,21 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { SlashCommand, SlashCommandConfig, SlashCommandEditing, SlashCommandUI, SlashCommandEditorConfig } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface EditorConfig {
8
- /**
9
- * The configuration of the {@link module:slash-command/slashcommand~SlashCommand} feature.
10
- *
11
- * Read more in {@link module:slash-command/slashcommandeditorconfig~SlashCommandEditorConfig}.
12
- */
13
- slashCommand?: SlashCommandEditorConfig;
14
- }
15
- interface PluginsMap {
16
- [SlashCommand.pluginName]: SlashCommand;
17
- [SlashCommandConfig.pluginName]: SlashCommandConfig;
18
- [SlashCommandEditing.pluginName]: SlashCommandEditing;
19
- [SlashCommandUI.pluginName]: SlashCommandUI;
20
- }
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import type { SlashCommand, SlashCommandConfig, SlashCommandEditing, SlashCommandUI, SlashCommandEditorConfig } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the {@link module:slash-command/slashcommand~SlashCommand} feature.
10
+ *
11
+ * Read more in {@link module:slash-command/slashcommandeditorconfig~SlashCommandEditorConfig}.
12
+ */
13
+ slashCommand?: SlashCommandEditorConfig;
14
+ }
15
+ interface PluginsMap {
16
+ [SlashCommand.pluginName]: SlashCommand;
17
+ [SlashCommandConfig.pluginName]: SlashCommandConfig;
18
+ [SlashCommandEditing.pluginName]: SlashCommandEditing;
19
+ [SlashCommandUI.pluginName]: SlashCommandUI;
20
+ }
21
21
  }
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module slash-command
7
- */
8
- export { SlashCommand } from './slashcommand.js';
9
- export { SlashCommandConfig } from './slashcommandconfig.js';
10
- export { SlashCommandEditing } from './slashcommandediting.js';
11
- export { SlashCommandUI } from './slashcommandui.js';
12
- export type { SlashCommandEditorConfig } from './slashcommandeditorconfig.js';
13
- export type { SlashCommandDefinition } from './slashcommandconfig.js';
14
- import './augmentation.js';
6
+ * @module slash-command
7
+ */
8
+ export { SlashCommand } from "./slashcommand.js";
9
+ export { SlashCommandConfig } from "./slashcommandconfig.js";
10
+ export { SlashCommandEditing } from "./slashcommandediting.js";
11
+ export { SlashCommandUI } from "./slashcommandui.js";
12
+ export type { SlashCommandEditorConfig } from "./slashcommandeditorconfig.js";
13
+ export type { SlashCommandDefinition } from "./slashcommandconfig.js";
14
+ import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4989a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{Mention as _0x10ef34}from'@ckeditor/ckeditor5-mention/dist/index.js';import{CKEditorError as _0x412f9a,uid as _0x121f0e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{IconRobotPencil as _0x126756,IconQuote as _0x30951a,IconBulletedList as _0x74b1c6,IconCodeBlock as _0x1bb1a2,IconBrowseFiles as _0x91c387,IconEmoji as _0x3939d2,IconHeading1 as _0x28ae1f,IconHeading2 as _0x3d54be,IconHeading3 as _0x15a596,IconHeading4 as _0x162536,IconHeading5 as _0x2d9641,IconHeading6 as _0x22f9df,IconHorizontalLine as _0x3e509f,IconHtml as _0x3d3b72,IconIndent as _0x2122da,IconTable as _0x40643a,IconTableOfContents as _0x21bff9,IconNumberedList as _0x34d17c,IconOutdent as _0x56321d,IconParagraph as _0xfec976,IconTodoList as _0x4e417e,IconFootnote as _0x51c582,IconPlay as _0x2c0cb2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x55dc90,View as _0x324ddb}from'@ckeditor/ckeditor5-ui/dist/index.js';class SlashCommandConfig extends _0x4989a0{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x219fd5){super(_0x219fd5),this['_allowedCommands']=null;}['afterInit'](){const _0x566e35=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x6fd775=function(_0x52be4d){let _0x3baabb=['heading4','heading5','heading6'];if(_0x52be4d){const _0x3a7fc4=_0x52be4d['map'](_0x6ae010=>_0x6ae010['model']);_0x3baabb=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x470015=>!_0x3a7fc4['includes'](_0x470015));}return _0x3baabb;}(this['editor']['config']['get']('heading.options'));let _0x4a57b0=this['getDefaultCommands']()['filter'](_0x35be0a=>!_0x6fd775['includes'](_0x35be0a['id']))['filter'](_0x58ecae=>!_0x566e35['includes'](_0x58ecae['commandName']));const _0x4962dd=this['editor']['config']['get']('slashCommand.extraCommands');_0x4962dd&&_0x4962dd['length']&&(_0x4a57b0=_0x4a57b0['concat'](_0x4962dd));const _0x2c68ca=this['editor']['config']['get']('template.definitions');_0x2c68ca&&_0x2c68ca['length']&&(_0x4a57b0=_0x4a57b0['concat'](function(_0x14b934){return _0x14b934['map'](_0xf99ecf=>{const {title:_0x50738d,icon:_0xbe20ec,description:_0x309e23,data:_0x2ece78}=_0xf99ecf,_0x46f70c={'id':O(_0x50738d,'template'),'commandName':'insertTemplate','execute':_0x484e0f=>{_0x484e0f['execute']('insertTemplate',_0x2ece78);},'description':_0x309e23,'icon':_0xbe20ec,'title':_0x50738d};return _0xbe20ec&&(_0x46f70c['isIconColorInherited']=!0x1),_0x46f70c;});}(_0x2c68ca)));const _0x44ade2=this['editor']['config']['get']('style.definitions');_0x44ade2&&_0x44ade2['length']&&(_0x4a57b0=_0x4a57b0['concat'](function(_0x19011e){return _0x19011e['map'](_0x43743d=>({'id':O(_0x43743d['name'],'style'),'commandName':'style','execute':_0x1ea809=>{_0x1ea809['execute']('style',{'styleName':_0x43743d['name']});},'isEnabled':_0x131e92=>{const _0x1441a2=_0x131e92['commands']['get']('style');return _0x1441a2['isEnabled']&&_0x1441a2['enabledStyles']['includes'](_0x43743d['name']);},'title':_0x43743d['name']}));}(_0x44ade2)));const _0x413501=_0x4a57b0['filter'](_0x5bee86=>!_0x5bee86['commandName']||void 0x0!==this['editor']['commands']['get'](_0x5bee86['commandName'])),_0x28b8d3=[];for(const _0xe2df4d of _0x413501)_0x28b8d3['push']({'id':_0xe2df4d['id'],'commandName':_0xe2df4d['commandName'],'title':'function'==typeof _0xe2df4d['title']?_0xe2df4d['title'](this['editor']):_0xe2df4d['title'],'description':_0xe2df4d['description'],'icon':_0xe2df4d['icon'],'isIconColorInherited':_0xe2df4d['isIconColorInherited'],'aliases':_0xe2df4d['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0xe2df4d),'execute':()=>this['_proxyExecute'](_0xe2df4d)});this['_allowedCommands']=_0x28b8d3['sort'](S),async function(_0x378ab5){const _0x252361=_0x8a922f([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]),_0x40a6aa=0x305505ed,_0x3a9c60=0x30528e3d^_0x40a6aa,_0x233724=window[_0x8a922f([0x44,0x61,0x74,0x65])][_0x8a922f([0x6e,0x6f,0x77])](),_0x4bd4fd=_0x378ab5[_0x8a922f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b1490=new window[(_0x8a922f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x623bdc=>{_0x4bd4fd[_0x8a922f([0x6f,0x6e,0x63,0x65])](_0x8a922f([0x72,0x65,0x61,0x64,0x79]),_0x623bdc);}),_0x57cad1={[_0x8a922f([0x6b,0x74,0x79])]:_0x8a922f([0x45,0x43]),[_0x8a922f([0x75,0x73,0x65])]:_0x8a922f([0x73,0x69,0x67]),[_0x8a922f([0x63,0x72,0x76])]:_0x8a922f([0x50,0x2d,0x32,0x35,0x36]),[_0x8a922f([0x78])]:_0x8a922f([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]),[_0x8a922f([0x79])]:_0x8a922f([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]),[_0x8a922f([0x61,0x6c,0x67])]:_0x8a922f([0x45,0x53,0x32,0x35,0x36])},_0x5392f4=_0x4bd4fd[_0x8a922f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8a922f([0x67,0x65,0x74])](_0x8a922f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xcc4b28(){let _0x2d9bdd,_0x16d24e=null,_0x27c89a=null;try{if(_0x5392f4==_0x8a922f([0x47,0x50,0x4c]))return _0x8a922f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d9bdd=_0xa7712c(),!_0x2d9bdd)return _0x8a922f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d9bdd[_0x8a922f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27c89a=_0x1314ea(_0x2d9bdd[_0x8a922f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d9bdd[_0x8a922f([0x6a,0x74,0x69])])),await _0x38e769()?_0x2b1abe()?_0x28befc()?_0x8a922f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31fcc2()?(_0x2d9bdd[_0x8a922f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8a922f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16d24e=_0x4f7961(_0x8a922f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x158589()):_0x8a922f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8a922f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8a922f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8a922f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x28befc(){const _0x23d391=[_0x8a922f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8a922f([0x74,0x72,0x69,0x61,0x6c])][_0x8a922f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9bdd[_0x8a922f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x233724/0x3e8:0xe10*_0x3a9c60;return _0x2d9bdd[_0x8a922f([0x65,0x78,0x70])]<_0x23d391;}function _0x2b1abe(){const _0x5f4be6=_0x2d9bdd[_0x8a922f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f4be6&&(!!_0x5f4be6[_0x8a922f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8a922f([0x2a]))||(!!_0x5f4be6[_0x8a922f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8a922f([0x53,0x43]))||(!!_0x5f4be6[_0x8a922f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8a922f([0x50,0x50]))||!(!_0x5f4be6[_0x8a922f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8a922f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x55ed1f()))));}function _0x31fcc2(){const _0x3be0ce=_0x2d9bdd[_0x8a922f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3be0ce||0x0==_0x3be0ce[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5603d7}=new URL(window[_0x8a922f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3be0ce[_0x8a922f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5603d7))return!0x0;const _0x43fa13=_0x5603d7[_0x8a922f([0x73,0x70,0x6c,0x69,0x74])](_0x8a922f([0x2e]));return _0x3be0ce[_0x8a922f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15e8de=>_0x15e8de[_0x8a922f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8a922f([0x2a])))[_0x8a922f([0x6d,0x61,0x70])](_0x2187ae=>_0x2187ae[_0x8a922f([0x73,0x70,0x6c,0x69,0x74])](_0x8a922f([0x2e])))[_0x8a922f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dfd7d=>_0x1dfd7d[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x43fa13[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8a922f([0x6d,0x61,0x70])](_0x1bb3e3=>Array(_0x43fa13[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1bb3e3[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8a922f([0x66,0x69,0x6c,0x6c])](_0x1bb3e3[0x0]===_0x8a922f([0x2a])?_0x8a922f([0x2a]):'')[_0x8a922f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1bb3e3))[_0x8a922f([0x73,0x6f,0x6d,0x65])](_0x3c25a2=>_0x43fa13[_0x8a922f([0x65,0x76,0x65,0x72,0x79])]((_0x58e6e0,_0x3e2b70)=>_0x3c25a2[_0x3e2b70]===_0x58e6e0||_0x3c25a2[_0x3e2b70]===_0x8a922f([0x2a])));}function _0x158589(){return _0x16d24e&&_0x27c89a?new window[(_0x8a922f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54effe,_0x2a75c0)=>{_0x16d24e[_0x8a922f([0x74,0x68,0x65,0x6e])](_0x54effe,_0x2a75c0),_0x27c89a[_0x8a922f([0x74,0x68,0x65,0x6e])](_0x276ec1=>{_0x276ec1!=_0x8a922f([0x56,0x61,0x6c,0x69,0x64])&&_0x54effe(_0x276ec1);},_0x2a75c0);}):_0x16d24e||_0x27c89a||_0x8a922f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1314ea(_0x5b269d,_0x16e1ec){return new window[(_0x8a922f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f6ed3=>{if(_0x2442ec())return _0x4f6ed3(_0x8a922f([0x56,0x61,0x6c,0x69,0x64]));_0x22cb10(),_0x4bd4fd[_0x8a922f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8a922f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e4111=!0x1;const _0x254575=_0x121f0e();function _0x438023(_0x249e51){return!!_0x249e51&&(typeof _0x249e51===_0x8a922f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x249e51===_0x8a922f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x249e51[_0x8a922f([0x74,0x68,0x65,0x6e])]===_0x8a922f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x249e51[_0x8a922f([0x63,0x61,0x74,0x63,0x68])]===_0x8a922f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e32de(_0x162b29){_0x1ef758(_0x162b29)[_0x8a922f([0x74,0x68,0x65,0x6e])](_0xd9ff47=>{if(!_0xd9ff47||_0xd9ff47[_0x8a922f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8a922f([0x6f,0x6b]))return _0x8a922f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x449f17(_0x2ec351(_0x254575+_0x16e1ec))!=_0xd9ff47[_0x8a922f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8a922f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8a922f([0x56,0x61,0x6c,0x69,0x64]);})[_0x8a922f([0x74,0x68,0x65,0x6e])](_0x488c41=>(_0x239efd(),_0x488c41),()=>{const _0x1d4439=_0x13843b();return null==_0x1d4439?(_0x239efd(),_0x8a922f([0x56,0x61,0x6c,0x69,0x64])):_0x8a922f(_0x233724-_0x1d4439>(0x145981ed^_0x40a6aa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8a922f([0x74,0x68,0x65,0x6e])](_0x4f6ed3)[_0x8a922f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f6ed3(_0x8a922f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40d183=0x3063eb6d^_0x40a6aa;function _0x239efd(){const _0x2123bb=_0x8a922f([0x6c,0x6c,0x63,0x74,0x2d])+_0x449f17(_0x2ec351(_0x5b269d)),_0xf68602=_0x1e9125(_0x449f17(window[_0x8a922f([0x4d,0x61,0x74,0x68])][_0x8a922f([0x63,0x65,0x69,0x6c])](_0x233724/_0x40d183)));window[_0x8a922f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8a922f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2123bb,_0xf68602);}function _0x13843b(){const _0x253647=_0x8a922f([0x6c,0x6c,0x63,0x74,0x2d])+_0x449f17(_0x2ec351(_0x5b269d)),_0xaa9906=window[_0x8a922f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8a922f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x253647);return _0xaa9906?window[_0x8a922f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e9125(_0xaa9906),0x10)*_0x40d183:null;}function _0x1ef758(_0x3bfd50){return new window[(_0x8a922f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4419fc,_0x1d1c0a)=>{_0x3bfd50[_0x8a922f([0x74,0x68,0x65,0x6e])](_0x4419fc,_0x1d1c0a),window[_0x8a922f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d1c0a,0x3054d12d^_0x40a6aa);});}}_0x4bd4fd[_0x8a922f([0x6f,0x6e])](_0x8a922f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15185e,_0x89ab1b)=>{if(_0x89ab1b[0x0]!=_0x5b269d)return _0x4f6ed3(_0x8a922f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x89ab1b[0x1]={..._0x89ab1b[0x1],[_0x8a922f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x254575};},{[_0x8a922f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8a922f([0x68,0x69,0x67,0x68])}),_0x4bd4fd[_0x8a922f([0x6f,0x6e])](_0x8a922f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x542165=>{_0x438023(_0x542165[_0x8a922f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e4111=!0x0,_0x1e32de(_0x542165[_0x8a922f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8a922f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8a922f([0x6c,0x6f,0x77])}),_0x1b1490[_0x8a922f([0x74,0x68,0x65,0x6e])](()=>{_0x3e4111||_0x4f6ed3(_0x8a922f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2442ec(){return _0x4bd4fd[_0x8a922f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8a922f([0x76,0x69,0x65,0x77])][_0x8a922f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8a922f([0x61,0x75,0x74,0x6f]);}function _0x22cb10(){_0x4bd4fd[_0x8a922f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8a922f([0x76,0x69,0x65,0x77])][_0x8a922f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8a922f([0x61,0x75,0x74,0x6f]);}}function _0x4f7961(_0x2f955d){const _0x50f263=[new window[(_0x8a922f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x235f02=>setTimeout(_0x235f02,0x305c3b21^_0x40a6aa)),_0x1b1490[_0x8a922f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8a922f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591117=>{let _0x3a8933=0x0;_0x4bd4fd[_0x8a922f([0x6d,0x6f,0x64,0x65,0x6c])][_0x8a922f([0x6f,0x6e])](_0x8a922f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x526c4c,_0x4c13c1)=>{_0x4c13c1[0x0][_0x8a922f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a8933++,_0x3a8933==(0x30550005^_0x40a6aa)&&(_0x591117(),_0x526c4c[_0x8a922f([0x6f,0x66,0x66])]());});}))];return window[_0x8a922f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8a922f([0x72,0x61,0x63,0x65])](_0x50f263)[_0x8a922f([0x74,0x68,0x65,0x6e])](()=>_0x2f955d);}async function _0x2412e8(){await _0x1b1490,_0x4bd4fd[_0x8a922f([0x6d,0x6f,0x64,0x65,0x6c])][_0x8a922f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5870cc,_0x4bd4fd[_0x8a922f([0x6d,0x6f,0x64,0x65,0x6c])][_0x8a922f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5870cc,_0x4bd4fd[_0x8a922f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8a922f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55ed1f(){return window[_0x8a922f([0x67,0x6c,0x6f,0x62])]&&window[_0x8a922f([0x67,0x6c,0x6f,0x62])][_0x8a922f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xf615f4(_0x3f9c4e){const _0x54e015=_0x24bd2a();_0x4bd4fd[_0x54e015]=_0x8a922f([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f9c4e,_0x3f9c4e!=_0x8a922f([0x56,0x61,0x6c,0x69,0x64])&&_0x2412e8();}function _0x24bd2a(){const _0x398b1a=window[_0x8a922f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8a922f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8a922f([0x6e,0x6f,0x77])]())[_0x8a922f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8a922f([0x2e]),'');let _0x1437ef=_0x8a922f([0x75]);for(let _0x8e634d=0x0;_0x8e634d<_0x398b1a[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8e634d+=0x2){let _0x1c8958=window[_0x8a922f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x398b1a[_0x8a922f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8e634d,_0x8e634d+0x2));_0x1c8958>=_0x252361[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c8958-=_0x252361[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1437ef+=_0x252361[_0x1c8958];}return _0x1437ef;}function _0xa7712c(){const _0x2d658d=_0x5392f4[_0x8a922f([0x73,0x70,0x6c,0x69,0x74])](_0x8a922f([0x2e]));if(0x3!=_0x2d658d[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20b810(_0x2d658d[0x1]);function _0x20b810(_0x37580f){const _0x17b957=_0x20274c(_0x37580f);return _0x17b957&&_0x1ae76c()?_0x17b957:null;function _0x1ae76c(){const _0x21af08=_0x17b957[_0x8a922f([0x6a,0x74,0x69])],_0x2dc99a=window[_0x8a922f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21af08[_0x8a922f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21af08[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x505416={..._0x17b957,[_0x8a922f([0x6a,0x74,0x69])]:_0x21af08[_0x8a922f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21af08[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x505416[_0x8a922f([0x76,0x63])],_0x2ec351(_0x505416)==_0x2dc99a;}}}async function _0x38e769(){let _0x3b4b4d=!0x0;try{const _0x3a39d6=_0x5392f4[_0x8a922f([0x73,0x70,0x6c,0x69,0x74])](_0x8a922f([0x2e])),[_0x462fd3,_0x31d0e8,_0x292ac3]=_0x3a39d6;return _0x5aebe8(_0x462fd3),await _0x37c5ef(_0x462fd3,_0x31d0e8,_0x292ac3),_0x3b4b4d;}catch{return!0x1;}function _0x5aebe8(_0x9a32e3){const _0x4d73f2=_0x20274c(_0x9a32e3);_0x4d73f2&&_0x4d73f2[_0x8a922f([0x61,0x6c,0x67])]==_0x8a922f([0x45,0x53,0x32,0x35,0x36])||(_0x3b4b4d=!0x1);}async function _0x37c5ef(_0x36d1eb,_0x36f3d4,_0x5ba284){const _0x341db5=window[_0x8a922f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8a922f([0x66,0x72,0x6f,0x6d])](_0x32f89b(_0x5ba284),_0x57d155=>_0x57d155[_0x8a922f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x81e3fb=new window[(_0x8a922f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8a922f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36d1eb+_0x8a922f([0x2e])+_0x36f3d4),_0x2b2ea1=window[_0x8a922f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8a922f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b2ea1)return;const _0x31a441=await _0x2b2ea1[_0x8a922f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8a922f([0x6a,0x77,0x6b]),_0x57cad1,{[_0x8a922f([0x6e,0x61,0x6d,0x65])]:_0x8a922f([0x45,0x43,0x44,0x53,0x41]),[_0x8a922f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8a922f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8a922f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b2ea1[_0x8a922f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8a922f([0x6e,0x61,0x6d,0x65])]:_0x8a922f([0x45,0x43,0x44,0x53,0x41]),[_0x8a922f([0x68,0x61,0x73,0x68])]:{[_0x8a922f([0x6e,0x61,0x6d,0x65])]:_0x8a922f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31a441,_0x341db5,_0x81e3fb)||(_0x3b4b4d=!0x1);}}function _0x20274c(_0x57a772){return _0x57a772[_0x8a922f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8a922f([0x65,0x79]))?JSON[_0x8a922f([0x70,0x61,0x72,0x73,0x65])](_0x32f89b(_0x57a772)):null;}function _0x32f89b(_0x4f72ee){return window[_0x8a922f([0x61,0x74,0x6f,0x62])](_0x4f72ee[_0x8a922f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8a922f([0x2b]))[_0x8a922f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8a922f([0x2f])));}function _0x2ec351(_0x18347e){let _0x11461e=0x1505;function _0x420b7d(_0x39e122){for(let _0x3d42de=0x0;_0x3d42de<_0x39e122[_0x8a922f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d42de++){const _0x4710be=_0x39e122[_0x8a922f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d42de);_0x11461e=(_0x11461e<<0x5)+_0x11461e+_0x4710be,_0x11461e&=_0x11461e;}}function _0x444d57(_0x1b938d){Array[_0x8a922f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b938d)?_0x1b938d[_0x8a922f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x444d57):_0x1b938d&&typeof _0x1b938d==_0x8a922f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8a922f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b938d)[_0x8a922f([0x73,0x6f,0x72,0x74])]()[_0x8a922f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e3e7f,_0x1e404c])=>{_0x420b7d(_0x5e3e7f),_0x444d57(_0x1e404c);}):_0x420b7d(window[_0x8a922f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b938d));}return _0x444d57(_0x18347e),_0x11461e>>>0x0;}function _0x449f17(_0x382303){return _0x382303[_0x8a922f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8a922f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8a922f([0x30]));}function _0x1e9125(_0x18219f){return _0x18219f[_0x8a922f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8a922f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8a922f([0x6a,0x6f,0x69,0x6e])]('');}function _0x5870cc(){}function _0x8a922f(_0x586152){return _0x586152['map'](_0x482176=>String['fromCharCode'](_0x482176))['join']('');}_0xf615f4(await _0xcc4b28());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x4b0e1e=_0x43ab4e=>function(_0x1af38a,_0x28add8){const t=_0x1af38a['t'],_0x43cacd=_0x1af38a['t'];switch(_0x28add8){case'AI\x20Assistant':return _0x43cacd('AI\x20Assistant');case'Block\x20quote':return _0x43cacd('Block\x20quote');case'Bulleted\x20List':return _0x43cacd('Bulleted\x20List');case'Insert\x20code\x20block':return _0x43cacd('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x43cacd('Open\x20file\x20manager');case'Insert\x20image':return _0x43cacd('Insert\x20image');case'Heading\x201':return _0x43cacd('Heading\x201');case'Heading\x202':return _0x43cacd('Heading\x202');case'Heading\x203':return _0x43cacd('Heading\x203');case'Heading\x204':return _0x43cacd('Heading\x204');case'Heading\x205':return _0x43cacd('Heading\x205');case'Heading\x206':return _0x43cacd('Heading\x206');case'Horizontal\x20line':return _0x43cacd('Horizontal\x20line');case'Insert\x20HTML':return _0x43cacd('Insert\x20HTML');case'Increase\x20indent':return _0x43cacd('Increase\x20indent');case'Insert\x20table':return _0x43cacd('Insert\x20table');case'Table\x20of\x20contents':return _0x43cacd('Table\x20of\x20contents');case'Numbered\x20List':return _0x43cacd('Numbered\x20List');case'Decrease\x20indent':return _0x43cacd('Decrease\x20indent');case'Paragraph':return _0x43cacd('Paragraph');case'To-do\x20List':return _0x43cacd('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 _0x28add8;}}(this['editor']['locale'],_0x43ab4e);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x126756,'title':_0x4b0e1e('AI\x20Assistant'),'description':_0x4b0e1e('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x5ce676=>{setTimeout(()=>_0x5ce676['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x30951a,'title':_0x4b0e1e('Block\x20quote'),'description':_0x4b0e1e('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x74b1c6,'title':_0x4b0e1e('Bulleted\x20List'),'description':_0x4b0e1e('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x1bb1a2,'title':_0x4b0e1e('Insert\x20code\x20block'),'description':_0x4b0e1e('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x91c387,'title':_0x4b0e1e('Open\x20file\x20manager'),'description':_0x4b0e1e('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x91c387,'title':_0x4b0e1e('Insert\x20image'),'description':_0x4b0e1e('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x3939d2,'title':_0x4b0e1e('Emoji'),'description':_0x4b0e1e('Insert\x20an\x20emoji'),'execute':_0x39f7f2=>{setTimeout(()=>_0x39f7f2['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x28ae1f,'title':_0x4b0e1e('Heading\x201'),'description':_0x4b0e1e('Create\x20a\x20heading\x20level\x201'),'execute':_0x1a02b6=>{_0x1a02b6['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x3d54be,'title':_0x4b0e1e('Heading\x202'),'description':_0x4b0e1e('Create\x20a\x20heading\x20level\x202'),'execute':_0x30e27a=>{_0x30e27a['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x15a596,'title':_0x4b0e1e('Heading\x203'),'description':_0x4b0e1e('Create\x20a\x20heading\x20level\x203'),'execute':_0x44c6ec=>{_0x44c6ec['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x162536,'title':_0x4b0e1e('Heading\x204'),'description':_0x4b0e1e('Create\x20a\x20heading\x20level\x204'),'execute':_0x4c8fca=>{_0x4c8fca['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x2d9641,'title':_0x4b0e1e('Heading\x205'),'description':_0x4b0e1e('Create\x20a\x20heading\x20level\x205'),'execute':_0xab1768=>{_0xab1768['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x22f9df,'title':_0x4b0e1e('Heading\x206'),'description':_0x4b0e1e('Create\x20a\x20heading\x20level\x206'),'execute':_0x590840=>{_0x590840['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x3e509f,'title':_0x4b0e1e('Horizontal\x20line'),'description':_0x4b0e1e('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x3d3b72,'title':_0x4b0e1e('Insert\x20HTML'),'description':_0x4b0e1e('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x2122da,'title':_0x4b0e1e('Increase\x20indent'),'description':_0x4b0e1e('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x4b0e1e('Insert\x20Mermaid\x20diagram'),'description':_0x4b0e1e('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x40643a,'title':_0x4b0e1e('Insert\x20table'),'description':_0x4b0e1e('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x21bff9,'title':_0x4b0e1e('Table\x20of\x20contents'),'description':_0x4b0e1e('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x34d17c,'title':_0x4b0e1e('Numbered\x20List'),'description':_0x4b0e1e('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x56321d,'title':_0x4b0e1e('Decrease\x20indent'),'description':_0x4b0e1e('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0xfec976,'title':_0x4b0e1e('Paragraph'),'description':_0x4b0e1e('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x4e417e,'title':_0x4b0e1e('To-do\x20List'),'description':_0x4b0e1e('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x51c582,'title':_0x4b0e1e('Footnote'),'description':_0x4b0e1e('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x12486a){return _0x12486a['isEnabled']?_0x12486a['isEnabled'](this['editor']):!_0x12486a['commandName']||this['editor']['commands']['get'](_0x12486a['commandName'])['isEnabled'];}['_proxyExecute'](_0x48f722){if(_0x48f722['execute'])_0x48f722['execute'](this['editor']);else{if(!_0x48f722['commandName'])throw new _0x412f9a('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x48f722});this['editor']['execute'](_0x48f722['commandName']);}}}function S(_0x2c662f,_0x241836){return _0x2c662f['title']<_0x241836['title']?-0x1:_0x2c662f['title']>_0x241836['title']?0x1:0x0;}function O(_0x280df8,_0x2b83e1){return _0x2b83e1+'-'+_0x280df8['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0x4989a0{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SlashCommandConfig];}['getMatchingCommands'](_0x500293){const _0x37fae2=_0x500293&&_0x500293['toLowerCase']();let _0x36748b=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x36748b=_0x36748b['filter'](_0x27692f=>_0x27692f['isEnabled']()),_0x37fae2){const _0x32ba4e=[],_0x191c3c=[],_0x1e8c54=[],_0x4ee6ee=[];for(const _0x74a764 of _0x36748b)_0x74a764['id']['toLowerCase']()['includes'](_0x37fae2)?_0x32ba4e['push'](_0x74a764):_0x74a764['title']['toLowerCase']()['includes'](_0x37fae2)?_0x191c3c['push'](_0x74a764):_0x74a764['aliases']&&_0x74a764['aliases']['some'](_0xcd5db6=>_0xcd5db6['toLowerCase']()['includes'](_0x37fae2))?_0x1e8c54['push'](_0x74a764):_0x74a764['description']&&_0x74a764['description']['toLowerCase']()['includes'](_0x37fae2)&&_0x4ee6ee['push'](_0x74a764);_0x36748b=_0x32ba4e['concat'](_0x191c3c,_0x1e8c54,_0x4ee6ee);}return _0x36748b;}}class SlashCommandButtonView extends _0x55dc90{constructor(_0x5a02cd,_0x2bfef9){super(_0x5a02cd),this['textPartView']=this['_createTextPartView'](_0x5a02cd,_0x2bfef9),void 0x0!==_0x2bfef9['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x2bfef9['isIconColorInherited']),this['set']({'icon':_0x2bfef9['icon']||_0x2c0cb2,'withText':!0x0,'label':_0x2bfef9['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0xebe058,_0x574a94){const _0x40ea2d=new _0x324ddb(_0xebe058);return _0x40ea2d['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x574a94['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x574a94['description']}]}]:[this['labelView']]}),_0x40ea2d;}}class SlashCommandUI extends _0x4989a0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd3f773){super(_0xd3f773),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2546b6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2a781d;for(const _0x3b8500 in _0x2546b6){const _0x19512e=_0x3b8500,_0x1f7b7b=_0x2546b6[_0x19512e];if('slashCommandLicenseKeyValid'==_0x1f7b7b||'slashCommandLicenseKeyInvalid'==_0x1f7b7b||'slashCommandLicenseKeyExpired'==_0x1f7b7b||'slashCommandLicenseKeyDomainLimit'==_0x1f7b7b||'slashCommandLicenseKeyNotAllowed'==_0x1f7b7b||'slashCommandLicenseKeyEvaluationLimit'==_0x1f7b7b||'slashCommandLicenseKeyUsageLimit'==_0x1f7b7b){delete _0x2546b6[_0x19512e],_0x2a781d=_0x1f7b7b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x2a781d&&_0x2546b6['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x2a781d&&_0x2546b6['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x2a781d&&_0x2546b6['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x2a781d&&_0x2546b6['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x2a781d&&_0x2546b6['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x2a781d&&_0x2546b6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x3d99d7=this['editor'],_0x1379bf=this['editor']['plugins']['get']('SlashCommandEditing'),_0x1380a7=_0x3d99d7['config']['get']('mention.feeds');_0x1380a7['push']({'marker':'/','feed':_0x4cceaf=>_0x1379bf['getMatchingCommands'](_0x4cceaf),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x3d99d7['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x3d99d7['config']['set']('mention.feeds',_0x1380a7);}['_overrideMentionExecuteListener'](){const _0x34fd45=this['editor'];_0x34fd45['commands']['get']('mention')['on']('execute',(_0x37eea1,_0x356fd1)=>{const _0x2be599=_0x356fd1[0x0],_0x222105=_0x34fd45['model'];'/'===_0x2be599['marker']&&_0x222105['change'](_0x94222d=>{_0x94222d['remove'](_0x2be599['range']),_0x2be599['mention']['execute'](),_0x37eea1['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x5808b4){const _0x3fb050=this['editor']['locale'],_0x4d90b3=new SlashCommandButtonView(_0x3fb050,_0x5808b4);return _0x4d90b3['render'](),_0x4d90b3['element'];}}class SlashCommand extends _0x4989a0{static get['requires'](){return[_0x10ef34,SlashCommandEditing,SlashCommandUI];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{SlashCommand,SlashCommandConfig,SlashCommandEditing,SlashCommandUI};
23
+ import{Plugin as _0x1791db}from'@ckeditor/ckeditor5-core';import{Mention as _0x437adc}from'@ckeditor/ckeditor5-mention';import{CKEditorError as _0x524e56,uid as _0x1a3fe8}from'@ckeditor/ckeditor5-utils';import{IconBrowseFiles as _0x469ff8,IconBulletedList as _0x1639b3,IconCodeBlock as _0x9d8de7,IconEmoji as _0x2cd4ed,IconFootnote as _0x58eb65,IconHeading1 as _0x1da821,IconHeading2 as _0x1c81b8,IconHeading3 as _0x2c6090,IconHeading4 as _0x383cc0,IconHeading5 as _0x830da,IconHeading6 as _0x42c71f,IconHorizontalLine as _0x2b6a9c,IconHtml as _0x53842a,IconIndent as _0x446e36,IconNumberedList as _0x5ea723,IconOutdent as _0x50cedf,IconParagraph as _0x3eae88,IconPlay as _0x4005e7,IconQuote as _0x288ec1,IconRobotPencil as _0x6daf74,IconTable as _0x16fe3e,IconTableOfContents as _0x5bf635,IconTodoList as _0x47e603}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x177d55,View as _0x56dd9b}from'@ckeditor/ckeditor5-ui';var O=class extends _0x1791db{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x42232c){super(_0x42232c),this['_allowedCommands']=null;}['afterInit'](){const _0x4f0303=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x678c1c=function(_0xb89cf9){let _0xca8471=['heading4','heading5','heading6'];if(_0xb89cf9){const _0xeedee0=_0xb89cf9['map'](_0x4e85ac=>_0x4e85ac['model']);_0xca8471=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x13c315=>!_0xeedee0['includes'](_0x13c315));}return _0xca8471;}(this['editor']['config']['get']('heading.options'));let _0x257b1a=this['getDefaultCommands']()['filter'](_0x2a0aef=>!_0x678c1c['includes'](_0x2a0aef['id']))['filter'](_0x20f316=>!_0x4f0303['includes'](_0x20f316['commandName']));const _0x39cebd=this['editor']['config']['get']('slashCommand.extraCommands');_0x39cebd&&_0x39cebd['length']&&(_0x257b1a=_0x257b1a['concat'](_0x39cebd));const _0x2b40c4=this['editor']['config']['get']('template.definitions');_0x2b40c4&&_0x2b40c4['length']&&(_0x257b1a=_0x257b1a['concat'](function(_0x4a0806){return _0x4a0806['map'](_0x115926=>{const {title:_0x3547bb,icon:_0x4d1665,description:_0x420218,data:_0x1ee989}=_0x115926,_0x4b70c1={'id':P(_0x3547bb,'template'),'commandName':'insertTemplate','execute':_0x5c0373=>{_0x5c0373['execute']('insertTemplate',_0x1ee989);},'description':_0x420218,'icon':_0x4d1665,'title':_0x3547bb};return _0x4d1665&&(_0x4b70c1['isIconColorInherited']=!0x1),_0x4b70c1;});}(_0x2b40c4)));const _0x390fa7=this['editor']['config']['get']('style.definitions');_0x390fa7&&_0x390fa7['length']&&(_0x257b1a=_0x257b1a['concat'](function(_0x4eb8ed){return _0x4eb8ed['map'](_0x15311d=>({'id':P(_0x15311d['name'],'style'),'commandName':'style','execute':_0x30eb76=>{_0x30eb76['execute']('style',{'styleName':_0x15311d['name']});},'isEnabled':_0x36a4bf=>{const _0x102549=_0x36a4bf['commands']['get']('style');return _0x102549['isEnabled']&&_0x102549['enabledStyles']['includes'](_0x15311d['name']);},'title':_0x15311d['name']}));}(_0x390fa7)));const _0x25a38d=_0x257b1a['filter'](_0x494c68=>!_0x494c68['commandName']||void 0x0!==this['editor']['commands']['get'](_0x494c68['commandName'])),_0x31405f=[];for(const _0x5b2ae4 of _0x25a38d)_0x31405f['push']({'id':_0x5b2ae4['id'],'commandName':_0x5b2ae4['commandName'],'title':'function'==typeof _0x5b2ae4['title']?_0x5b2ae4['title'](this['editor']):_0x5b2ae4['title'],'description':_0x5b2ae4['description'],'icon':_0x5b2ae4['icon'],'isIconColorInherited':_0x5b2ae4['isIconColorInherited'],'aliases':_0x5b2ae4['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x5b2ae4),'execute':()=>this['_proxyExecute'](_0x5b2ae4)});this['_allowedCommands']=_0x31405f['sort'](E),async function(_0x4e67fc){const _0x37c092='umgl1F4YkAVEtv0TcN6nKiXCrhODd2PaGMSIJbspyz9QLBoWxUfj5HZew738Rq',_0x55647a=0x78de0,_0x43354b=window['Date']['now'](),_0x3c8ed=_0x4e67fc['editor'],_0x37151b=new window['Promise'](_0xb01382=>{_0x3c8ed['once']('ready',_0xb01382);}),_0x40c6aa={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2360e0=_0x3c8ed['config']['get']('licenseKey');async function _0x517727(){let _0x2ae86a,_0x5cb3e2=null,_0x3d418c=null;try{return'GPL'==_0x2360e0?'NotAllowed':(_0x2ae86a=_0x44500c(),_0x2ae86a?(_0x2ae86a['usageEndpoint']&&(_0x3d418c=_0x53371e(_0x2ae86a['usageEndpoint'],_0x2ae86a['jti'])),await _0x3b8add()?_0x53eca6()?_0x4b21fb()?'Expired':_0x1d3df2()?('evaluation'==_0x2ae86a['licenseType']&&(_0x5cb3e2=_0x53df0e('EvaluationLimit')),await _0x7ae514()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4b21fb(){const _0x3abd4c=['evaluation','trial']['includes'](_0x2ae86a['licenseType'])?_0x43354b/0x3e8:0xe10*_0x55647a;return _0x2ae86a['exp']<_0x3abd4c;}function _0x53eca6(){const _0x26e0ad=_0x2ae86a['features'];return!!_0x26e0ad&&(!!_0x26e0ad['includes']('*')||(!!_0x26e0ad['includes']('SC')||(!!_0x26e0ad['includes']('PP')||!(!_0x26e0ad['includes']('TRILIUM')||!_0x3f64b8()))));}function _0x1d3df2(){const _0x43dac2=_0x2ae86a['licensedHosts'];if(!_0x43dac2||0x0==_0x43dac2['length'])return!0x0;const {hostname:_0x1af02c}=new URL(window['location']['href']);if(_0x43dac2['includes'](_0x1af02c))return!0x0;const _0x3e9f5d=_0x1af02c['split']('.');return _0x43dac2['filter'](_0xf4ec7=>_0xf4ec7['includes']('*'))['map'](_0xaf7a3e=>_0xaf7a3e['split']('.'))['filter'](_0x23b772=>_0x23b772['length']<=_0x3e9f5d['length'])['map'](_0x1aafd8=>Array(_0x3e9f5d['length']-_0x1aafd8['length'])['fill']('*'===_0x1aafd8[0x0]?'*':'')['concat'](_0x1aafd8))['some'](_0x1f458d=>_0x3e9f5d['every']((_0x60a84,_0xb55463)=>_0x1f458d[_0xb55463]===_0x60a84||'*'===_0x1f458d[_0xb55463]));}function _0x7ae514(){return _0x5cb3e2&&_0x3d418c?new window['Promise']((_0x4da04b,_0x2e3f86)=>{_0x5cb3e2['then'](_0x4da04b,_0x2e3f86),_0x3d418c['then'](_0x4a23b7=>{'Valid'!=_0x4a23b7&&_0x4da04b(_0x4a23b7);},_0x2e3f86);}):_0x5cb3e2||_0x3d418c||'Valid';}}function _0x53371e(_0x23b44f,_0x494d28){return new window['Promise'](_0x247a1b=>{if(_0x10a56e())return _0x247a1b('Valid');_0x1e5aa5(),_0x3c8ed['decorate']('_sendUsageRequest');let _0x24b904=!0x1;const _0x338c45=_0x1a3fe8();function _0xe0afda(_0x5efe9e){return!!_0x5efe9e&&('object'==typeof _0x5efe9e||'function'==typeof _0x5efe9e)&&'function'==typeof _0x5efe9e['then']&&'function'==typeof _0x5efe9e['catch'];}function _0x1056bf(_0x2c3d5f){_0x3a6fdd(_0x2c3d5f)['then'](_0x5e728b=>_0x5e728b&&'ok'==_0x5e728b['status']?_0x47507c(_0x5f2e73(_0x338c45+_0x494d28))!=_0x5e728b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2c1bae=>(_0x5c5f03(),_0x2c1bae),()=>{const _0x1afc8d=_0x9b7ac7();return null==_0x1afc8d?(_0x5c5f03(),'Valid'):_0x43354b-_0x1afc8d>0x240c8400?'UsageLimit':'Valid';})['then'](_0x247a1b)['catch'](()=>{_0x247a1b('UsageLimit');});const _0x588d43=0x36ee80;function _0x5c5f03(){const _0x31f6be='llct-'+_0x47507c(_0x5f2e73(_0x23b44f)),_0x17e362=_0x27cfac(_0x47507c(window['Math']['ceil'](_0x43354b/_0x588d43)));window['localStorage']['setItem'](_0x31f6be,_0x17e362);}function _0x9b7ac7(){const _0x5f5036='llct-'+_0x47507c(_0x5f2e73(_0x23b44f)),_0x2d4101=window['localStorage']['getItem'](_0x5f5036);return _0x2d4101?window['parseInt'](_0x27cfac(_0x2d4101),0x10)*_0x588d43:null;}function _0x3a6fdd(_0x5b7bdf){return new window['Promise']((_0x22ab3a,_0x18df35)=>{_0x5b7bdf['then'](_0x22ab3a,_0x18df35),window['setTimeout'](_0x18df35,0x1d4c0);});}}_0x3c8ed['on']('_sendUsageRequest',(_0x1abd2c,_0x111ad6)=>{if(_0x111ad6[0x0]!=_0x23b44f)return _0x247a1b('UsageLimit');_0x111ad6[0x1]={..._0x111ad6[0x1],'requestId':_0x338c45};},{'priority':'high'}),_0x3c8ed['on']('_sendUsageRequest',_0x2125fc=>{_0xe0afda(_0x2125fc['return'])&&(_0x24b904=!0x0,_0x1056bf(_0x2125fc['return']));},{'priority':'low'}),_0x37151b['then'](()=>{_0x24b904||_0x247a1b('UsageLimit');});});function _0x10a56e(){return'auto'==_0x3c8ed['editing']['view']['_overlayModeHint'];}function _0x1e5aa5(){_0x3c8ed['editing']['view']['_overlayModeHint']='auto';}}function _0x53df0e(_0x474f8a){const _0x53b06f=[new window['Promise'](_0x36f0d0=>setTimeout(_0x36f0d0,0x93ecc)),_0x37151b['then'](()=>new window['Promise'](_0x139bb0=>{let _0x1de43e=0x0;_0x3c8ed['model']['on']('applyOperation',(_0x509285,_0x344399)=>{_0x344399[0x0]['isDocumentOperation']&&_0x1de43e++,0x5e8==_0x1de43e&&(_0x139bb0(),_0x509285['off']());});}))];return window['Promise']['race'](_0x53b06f)['then'](()=>_0x474f8a);}async function _0x394434(){await _0x37151b,_0x3c8ed['model']['change']=_0x2bbf43,_0x3c8ed['model']['enqueueChange']=_0x2bbf43,_0x3c8ed['enableReadOnlyMode']('model');}function _0x3f64b8(){return window['glob']&&window['glob']['triliumVersion'];}function _0x2def4b(_0x136417){const _0x4a199f=_0x261900();_0x3c8ed[_0x4a199f]='slashCommandLicenseKey'+_0x136417,'Valid'!=_0x136417&&_0x394434();}function _0x261900(){const _0x794882=window['String'](window['performance']['now']())['replace']('.','');let _0x434a0e='u';for(let _0x18c07c=0x0;_0x18c07c<_0x794882['length'];_0x18c07c+=0x2){let _0x3bd5fd=window['parseInt'](_0x794882['substring'](_0x18c07c,_0x18c07c+0x2));_0x3bd5fd>=0x3e&&(_0x3bd5fd-=0x3e),_0x434a0e+=_0x37c092[_0x3bd5fd];}return _0x434a0e;}function _0x44500c(){const _0x52566a=_0x2360e0['split']('.');if(0x3!=_0x52566a['length'])return null;return _0x4f7dd7(_0x52566a[0x1]);function _0x4f7dd7(_0x71c843){const _0x2eeef4=_0x3b099c(_0x71c843);return _0x2eeef4&&_0x21e8c4()?_0x2eeef4:null;function _0x21e8c4(){const _0x225d79=_0x2eeef4['jti'],_0x315ba3=window['parseInt'](_0x225d79['substring'](_0x225d79['length']-0x8),0x10),_0x346c2f={..._0x2eeef4,'jti':_0x225d79['substring'](0x0,_0x225d79['length']-0x8)};return delete _0x346c2f['vc'],_0x5f2e73(_0x346c2f)==_0x315ba3;}}}async function _0x3b8add(){let _0x57f7b1=!0x0;try{const [_0x50477a,_0x55042d,_0x44a681]=_0x2360e0['split']('.');return _0x36458b(_0x50477a),await _0x44227b(_0x50477a,_0x55042d,_0x44a681),_0x57f7b1;}catch{return!0x1;}function _0x36458b(_0x1b7384){const _0x409369=_0x3b099c(_0x1b7384);_0x409369&&'ES256'==_0x409369['alg']||(_0x57f7b1=!0x1);}async function _0x44227b(_0xd0ae9f,_0x2865cb,_0x5213d6){const _0x3d528c=window['Uint8Array']['from'](_0x39e04e(_0x5213d6),_0x2fa9ff=>_0x2fa9ff['charCodeAt'](0x0)),_0x2506a6=new window['TextEncoder']()['encode'](_0xd0ae9f+'.'+_0x2865cb),_0x53f775=window['crypto']['subtle'];if(!_0x53f775)return;const _0xa52eb0=await _0x53f775['importKey']('jwk',_0x40c6aa,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x53f775['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0xa52eb0,_0x3d528c,_0x2506a6)||(_0x57f7b1=!0x1);}}function _0x3b099c(_0x2dfc9a){return _0x2dfc9a['startsWith']('ey')?JSON['parse'](_0x39e04e(_0x2dfc9a)):null;}function _0x39e04e(_0xcc26c0){return window['atob'](_0xcc26c0['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5f2e73(_0x3aac19){let _0x4110ca=0x1505;function _0x38df8c(_0x1158b0){for(let _0x465e7f=0x0;_0x465e7f<_0x1158b0['length'];_0x465e7f++){const _0x1b3ec6=_0x1158b0['charCodeAt'](_0x465e7f);_0x4110ca=(_0x4110ca<<0x5)+_0x4110ca+_0x1b3ec6,_0x4110ca&=_0x4110ca;}}function _0x1b26b7(_0x4391d9){Array['isArray'](_0x4391d9)?_0x4391d9['forEach'](_0x1b26b7):_0x4391d9&&'object'==typeof _0x4391d9?Object['entries'](_0x4391d9)['sort']()['forEach'](([_0x2115dc,_0x2bc85e])=>{_0x38df8c(_0x2115dc),_0x1b26b7(_0x2bc85e);}):_0x38df8c(window['String'](_0x4391d9));}return _0x1b26b7(_0x3aac19),_0x4110ca>>>0x0;}function _0x47507c(_0x27b9d5){return _0x27b9d5['toString'](0x10)['padStart'](0x8,'0');}function _0x27cfac(_0x5eb3d6){return _0x5eb3d6['split']('')['reverse']()['join']('');}function _0x2bbf43(){}_0x2def4b(await _0x517727());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x16ad36=_0xee48ab=>function(_0x340e6c,_0x1491da){const t=_0x340e6c['t'],_0x35929a=_0x340e6c['t'];switch(_0x1491da){case'AI\x20Assistant':return _0x35929a('AI\x20Assistant');case'Block\x20quote':return _0x35929a('Block\x20quote');case'Bulleted\x20List':return _0x35929a('Bulleted\x20List');case'Insert\x20code\x20block':return _0x35929a('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x35929a('Open\x20file\x20manager');case'Insert\x20image':return _0x35929a('Insert\x20image');case'Heading\x201':return _0x35929a('Heading\x201');case'Heading\x202':return _0x35929a('Heading\x202');case'Heading\x203':return _0x35929a('Heading\x203');case'Heading\x204':return _0x35929a('Heading\x204');case'Heading\x205':return _0x35929a('Heading\x205');case'Heading\x206':return _0x35929a('Heading\x206');case'Horizontal\x20line':return _0x35929a('Horizontal\x20line');case'Insert\x20HTML':return _0x35929a('Insert\x20HTML');case'Increase\x20indent':return _0x35929a('Increase\x20indent');case'Insert\x20table':return _0x35929a('Insert\x20table');case'Table\x20of\x20contents':return _0x35929a('Table\x20of\x20contents');case'Numbered\x20List':return _0x35929a('Numbered\x20List');case'Decrease\x20indent':return _0x35929a('Decrease\x20indent');case'Paragraph':return _0x35929a('Paragraph');case'To-do\x20List':return _0x35929a('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 _0x1491da;}}(this['editor']['locale'],_0xee48ab);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x6daf74,'title':_0x16ad36('AI\x20Assistant'),'description':_0x16ad36('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0xa0da50=>{setTimeout(()=>_0xa0da50['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x288ec1,'title':_0x16ad36('Block\x20quote'),'description':_0x16ad36('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x1639b3,'title':_0x16ad36('Bulleted\x20List'),'description':_0x16ad36('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x9d8de7,'title':_0x16ad36('Insert\x20code\x20block'),'description':_0x16ad36('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x469ff8,'title':_0x16ad36('Open\x20file\x20manager'),'description':_0x16ad36('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x469ff8,'title':_0x16ad36('Insert\x20image'),'description':_0x16ad36('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x2cd4ed,'title':_0x16ad36('Emoji'),'description':_0x16ad36('Insert\x20an\x20emoji'),'execute':_0x51033e=>{setTimeout(()=>_0x51033e['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x1da821,'title':_0x16ad36('Heading\x201'),'description':_0x16ad36('Create\x20a\x20heading\x20level\x201'),'execute':_0x5cbace=>{_0x5cbace['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x1c81b8,'title':_0x16ad36('Heading\x202'),'description':_0x16ad36('Create\x20a\x20heading\x20level\x202'),'execute':_0x4a3677=>{_0x4a3677['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x2c6090,'title':_0x16ad36('Heading\x203'),'description':_0x16ad36('Create\x20a\x20heading\x20level\x203'),'execute':_0x2fa3b3=>{_0x2fa3b3['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x383cc0,'title':_0x16ad36('Heading\x204'),'description':_0x16ad36('Create\x20a\x20heading\x20level\x204'),'execute':_0x41410a=>{_0x41410a['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x830da,'title':_0x16ad36('Heading\x205'),'description':_0x16ad36('Create\x20a\x20heading\x20level\x205'),'execute':_0x5661cb=>{_0x5661cb['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x42c71f,'title':_0x16ad36('Heading\x206'),'description':_0x16ad36('Create\x20a\x20heading\x20level\x206'),'execute':_0x494377=>{_0x494377['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x2b6a9c,'title':_0x16ad36('Horizontal\x20line'),'description':_0x16ad36('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x53842a,'title':_0x16ad36('Insert\x20HTML'),'description':_0x16ad36('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x446e36,'title':_0x16ad36('Increase\x20indent'),'description':_0x16ad36('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x16ad36('Insert\x20Mermaid\x20diagram'),'description':_0x16ad36('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x16fe3e,'title':_0x16ad36('Insert\x20table'),'description':_0x16ad36('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x5bf635,'title':_0x16ad36('Table\x20of\x20contents'),'description':_0x16ad36('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x5ea723,'title':_0x16ad36('Numbered\x20List'),'description':_0x16ad36('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x50cedf,'title':_0x16ad36('Decrease\x20indent'),'description':_0x16ad36('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x3eae88,'title':_0x16ad36('Paragraph'),'description':_0x16ad36('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x47e603,'title':_0x16ad36('To-do\x20List'),'description':_0x16ad36('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x58eb65,'title':_0x16ad36('Footnote'),'description':_0x16ad36('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x288f2f){return _0x288f2f['isEnabled']?_0x288f2f['isEnabled'](this['editor']):!_0x288f2f['commandName']||this['editor']['commands']['get'](_0x288f2f['commandName'])['isEnabled'];}['_proxyExecute'](_0x349ba1){if(_0x349ba1['execute'])_0x349ba1['execute'](this['editor']);else{if(!_0x349ba1['commandName'])throw new _0x524e56('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x349ba1});this['editor']['execute'](_0x349ba1['commandName']);}}};function E(_0x5aff05,_0x4f43ec){return _0x5aff05['title']<_0x4f43ec['title']?-0x1:_0x5aff05['title']>_0x4f43ec['title']?0x1:0x0;}function P(_0x4c2451,_0x10e3df){return _0x10e3df+'-'+_0x4c2451['toLowerCase']()['split']('\x20')['join']('-');}var K=class extends _0x1791db{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[O];}['getMatchingCommands'](_0x4af0a2){const _0x26bed5=_0x4af0a2&&_0x4af0a2['toLowerCase']();let _0x2986d7=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x2986d7=_0x2986d7['filter'](_0x2963aa=>_0x2963aa['isEnabled']()),_0x26bed5){const _0x47cbdb=[],_0x4d1402=[],_0x32ab24=[],_0x2a3637=[];for(const _0xc996c3 of _0x2986d7)_0xc996c3['id']['toLowerCase']()['includes'](_0x26bed5)?_0x47cbdb['push'](_0xc996c3):_0xc996c3['title']['toLowerCase']()['includes'](_0x26bed5)?_0x4d1402['push'](_0xc996c3):_0xc996c3['aliases']&&_0xc996c3['aliases']['some'](_0x53474e=>_0x53474e['toLowerCase']()['includes'](_0x26bed5))?_0x32ab24['push'](_0xc996c3):_0xc996c3['description']&&_0xc996c3['description']['toLowerCase']()['includes'](_0x26bed5)&&_0x2a3637['push'](_0xc996c3);_0x2986d7=_0x47cbdb['concat'](_0x4d1402,_0x32ab24,_0x2a3637);}return _0x2986d7;}},M=class extends _0x177d55{constructor(_0x15edd4,_0x2b1fab){super(_0x15edd4),this['textPartView']=this['_createTextPartView'](_0x15edd4,_0x2b1fab),void 0x0!==_0x2b1fab['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x2b1fab['isIconColorInherited']),this['set']({'icon':_0x2b1fab['icon']||_0x4005e7,'withText':!0x0,'label':_0x2b1fab['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x2c50c6,_0x1f7b12){const _0x26c8a8=new _0x56dd9b(_0x2c50c6);return _0x26c8a8['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x1f7b12['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x1f7b12['description']}]}]:[this['labelView']]}),_0x26c8a8;}},S=class extends _0x1791db{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b4df6){super(_0x1b4df6),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x124cc2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4797c1;for(const _0x5d43d9 in _0x124cc2){const _0x4dc226=_0x5d43d9,_0x229e7b=_0x124cc2[_0x4dc226];if('slashCommandLicenseKeyValid'==_0x229e7b||'slashCommandLicenseKeyInvalid'==_0x229e7b||'slashCommandLicenseKeyExpired'==_0x229e7b||'slashCommandLicenseKeyDomainLimit'==_0x229e7b||'slashCommandLicenseKeyNotAllowed'==_0x229e7b||'slashCommandLicenseKeyEvaluationLimit'==_0x229e7b||'slashCommandLicenseKeyUsageLimit'==_0x229e7b){delete _0x124cc2[_0x4dc226],_0x4797c1=_0x229e7b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x4797c1&&_0x124cc2['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x4797c1&&_0x124cc2['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x4797c1&&_0x124cc2['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x4797c1&&_0x124cc2['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x4797c1&&_0x124cc2['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x4797c1&&_0x124cc2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x4cc317=this['editor'],_0x30b2a5=this['editor']['plugins']['get']('SlashCommandEditing'),_0x540a85=_0x4cc317['config']['get']('mention.feeds');_0x540a85['push']({'marker':'/','feed':_0x131a67=>_0x30b2a5['getMatchingCommands'](_0x131a67),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x4cc317['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x4cc317['config']['set']('mention.feeds',_0x540a85);}['_overrideMentionExecuteListener'](){const _0x42a411=this['editor'];_0x42a411['commands']['get']('mention')['on']('execute',(_0x43e640,_0x1e85ec)=>{const _0x48d4c0=_0x1e85ec[0x0],_0x142bba=_0x42a411['model'];'/'===_0x48d4c0['marker']&&_0x142bba['change'](_0x101767=>{_0x101767['remove'](_0x48d4c0['range']),_0x48d4c0['mention']['execute'](),_0x43e640['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x58af03){const _0x188a00=this['editor']['locale'],_0x2e109d=new M(_0x188a00,_0x58af03);return _0x2e109d['render'](),_0x2e109d['element'];}},D=class extends _0x1791db{static get['requires'](){return[_0x437adc,K,S];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{D as SlashCommand,O as SlashCommandConfig,K as SlashCommandEditing,S as SlashCommandUI};
@@ -1,5 +1 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  export {};
@@ -1,38 +1,38 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module slash-command/slashcommand
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { Mention } from '@ckeditor/ckeditor5-mention';
11
- import { SlashCommandEditing } from './slashcommandediting.js';
12
- import { SlashCommandUI } from './slashcommandui.js';
6
+ * @module slash-command/slashcommand
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { Mention } from "@ckeditor/ckeditor5-mention";
11
+ import { SlashCommandEditing } from "./slashcommandediting.js";
12
+ import { SlashCommandUI } from "./slashcommandui.js";
13
13
  /**
14
- * The slash command feature.
15
- * It allows for an easy access to a predefined list of editor commands by typing `/` inside the editor.
16
- *
17
- * For a detailed overview, check the {@glink features/slash-commands Slash command} feature guide.
18
- *
19
- * @extends module:core/plugin~Plugin
20
- */
14
+ * The slash command feature.
15
+ * It allows for an easy access to a predefined list of editor commands by typing `/` inside the editor.
16
+ *
17
+ * For a detailed overview, check the {@glink features/slash-commands Slash command} feature guide.
18
+ *
19
+ * @extends module:core/plugin~Plugin
20
+ */
21
21
  export declare class SlashCommand extends Plugin {
22
- /**
23
- * @inheritDoc
24
- */
25
- static get requires(): readonly [typeof Mention, typeof SlashCommandEditing, typeof SlashCommandUI];
26
- /**
27
- * @inheritDoc
28
- */
29
- static get pluginName(): "SlashCommand";
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isOfficialPlugin(): true;
34
- /**
35
- * @inheritDoc
36
- */
37
- static get isPremiumPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): PluginDependenciesOf<[Mention, SlashCommandEditing, SlashCommandUI]>;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get pluginName(): "SlashCommand";
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static override get isOfficialPlugin(): true;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ static override get isPremiumPlugin(): true;
38
38
  }