@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231012.0 → 0.0.0-nightly-20231014.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 (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.d.ts +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "0.0.0-nightly-20231012.0",
3
+ "version": "0.0.0-nightly-20231014.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "ckeditor5": "0.0.0-nightly-20231012.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231012.0",
42
+ "ckeditor5": "0.0.0-nightly-20231014.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231014.0",
44
44
  "lodash-es": "4.17.21"
45
45
  },
46
46
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2330=['model','_suggestions','getRanges','isEnabled','TrackChangesEditing','refresh','plugins','editor','track-changes-accept-suggestion-not-found','execute'];(function(_0x409839,_0x23308e){const _0x30beae=function(_0x53db11){while(--_0x53db11){_0x409839['push'](_0x409839['shift']());}};_0x30beae(++_0x23308e);}(_0x2330,0x173));const _0x30be=function(_0x409839,_0x23308e){_0x409839=_0x409839-0x0;let _0x30beae=_0x2330[_0x409839];return _0x30beae;};import{Command as _0x3cdcc6}from'ckeditor5/src/core';import{CKEditorError as _0x31823f}from'ckeditor5/src/utils';export default class M extends _0x3cdcc6{constructor(_0x3fabd5,_0x2c4c73){super(_0x3fabd5),this['_suggestions']=_0x2c4c73,this[_0x30be('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x30be('0x4')](){this[_0x30be('0x2')]=!0x0;}[_0x30be('0x8')](_0x140b0d){const _0x91d334=this[_0x30be('0x0')]['get'](_0x140b0d);if(!_0x91d334)throw new _0x31823f(_0x30be('0x7'),this);const _0x5bbb71=_0x91d334[_0x30be('0x1')]();this['editor'][_0x30be('0x9')]['canEditAt'](_0x5bbb71)&&this[_0x30be('0x6')][_0x30be('0x5')]['get'](_0x30be('0x3'))['acceptSuggestion'](_0x91d334);}}
23
+ const _0x15e4=['_isEnabledBasedOnSelection','_suggestions','plugins','TrackChangesEditing','track-changes-accept-suggestion-not-found','editor','execute','refresh','getRanges','get','acceptSuggestion','canEditAt','isEnabled'];(function(_0x167fc2,_0x15e437){const _0x3980d3=function(_0x2cce42){while(--_0x2cce42){_0x167fc2['push'](_0x167fc2['shift']());}};_0x3980d3(++_0x15e437);}(_0x15e4,0xc2));const _0x3980=function(_0x167fc2,_0x15e437){_0x167fc2=_0x167fc2-0x0;let _0x3980d3=_0x15e4[_0x167fc2];return _0x3980d3;};import{Command as _0x6d08d7}from'ckeditor5/src/core';import{CKEditorError as _0x1504be}from'ckeditor5/src/utils';export default class M extends _0x6d08d7{constructor(_0x2c15e1,_0x4d05f2){super(_0x2c15e1),this[_0x3980('0x2')]=_0x4d05f2,this[_0x3980('0x8')](),this[_0x3980('0x1')]=!0x1;}[_0x3980('0x8')](){this[_0x3980('0x0')]=!0x0;}[_0x3980('0x7')](_0x1643e9){const _0x469a7c=this['_suggestions'][_0x3980('0xa')](_0x1643e9);if(!_0x469a7c)throw new _0x1504be(_0x3980('0x5'),this);const _0x366a6d=_0x469a7c[_0x3980('0x9')]();this[_0x3980('0x6')]['model'][_0x3980('0xc')](_0x366a6d)&&this[_0x3980('0x6')][_0x3980('0x3')][_0x3980('0xa')](_0x3980('0x4'))[_0x3980('0xb')](_0x469a7c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48be=['plugins','execute','model','get','refresh','editor','_isEnabledBasedOnSelection','discardSuggestion','_suggestions','TrackChangesEditing','getRanges','isEnabled'];(function(_0x57890f,_0x48be58){const _0x160e34=function(_0x16dc61){while(--_0x16dc61){_0x57890f['push'](_0x57890f['shift']());}};_0x160e34(++_0x48be58);}(_0x48be,0x1d4));const _0x160e=function(_0x57890f,_0x48be58){_0x57890f=_0x57890f-0x0;let _0x160e34=_0x48be[_0x57890f];return _0x160e34;};import{Command as _0x92763b}from'ckeditor5/src/core';import{CKEditorError as _0x151f26}from'ckeditor5/src/utils';export default class $ extends _0x92763b{constructor(_0x3b45f9,_0x1b4168){super(_0x3b45f9),this[_0x160e('0x8')]=_0x1b4168,this['refresh'](),this[_0x160e('0x6')]=!0x1;}[_0x160e('0x4')](){this[_0x160e('0xb')]=!0x0;}[_0x160e('0x1')](_0x523645){const _0x3d84c9=this[_0x160e('0x8')][_0x160e('0x3')](_0x523645);if(!_0x3d84c9)throw new _0x151f26('track-changes-discard-suggestion-not-found',this);const _0x203e78=_0x3d84c9[_0x160e('0xa')]();this[_0x160e('0x5')][_0x160e('0x2')]['canEditAt'](_0x203e78)&&this['editor'][_0x160e('0x0')]['get'](_0x160e('0x9'))[_0x160e('0x7')](_0x3d84c9);}}
23
+ const _0x5d1f=['execute','isEnabled','discardSuggestion','_suggestions','getRanges','TrackChangesEditing','refresh','editor','plugins','canEditAt','get','model','_isEnabledBasedOnSelection'];(function(_0x1b649a,_0x5d1f22){const _0x5ac1f0=function(_0x146551){while(--_0x146551){_0x1b649a['push'](_0x1b649a['shift']());}};_0x5ac1f0(++_0x5d1f22);}(_0x5d1f,0xd7));const _0x5ac1=function(_0x1b649a,_0x5d1f22){_0x1b649a=_0x1b649a-0x0;let _0x5ac1f0=_0x5d1f[_0x1b649a];return _0x5ac1f0;};import{Command as _0x17f57b}from'ckeditor5/src/core';import{CKEditorError as _0x467c17}from'ckeditor5/src/utils';export default class $ extends _0x17f57b{constructor(_0x3020d0,_0x3b1322){super(_0x3020d0),this['_suggestions']=_0x3b1322,this['refresh'](),this[_0x5ac1('0x5')]=!0x1;}[_0x5ac1('0xc')](){this[_0x5ac1('0x7')]=!0x0;}[_0x5ac1('0x6')](_0x5e1c86){const _0x4ad1c5=this[_0x5ac1('0x9')][_0x5ac1('0x3')](_0x5e1c86);if(!_0x4ad1c5)throw new _0x467c17('track-changes-discard-suggestion-not-found',this);const _0x2e6cfd=_0x4ad1c5[_0x5ac1('0xa')]();this[_0x5ac1('0x0')][_0x5ac1('0x4')][_0x5ac1('0x2')](_0x2e6cfd)&&this[_0x5ac1('0x0')][_0x5ac1('0x1')][_0x5ac1('0x3')](_0x5ac1('0xb'))[_0x5ac1('0x8')](_0x4ad1c5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbb66=['_isEnabledBasedOnSelection','getRanges','_suggestions','from','refresh','some','_command','canEditAt','isEnabled','values','isInContent','editor'];(function(_0x539351,_0xbb665a){const _0x218fb6=function(_0xa31f9){while(--_0xa31f9){_0x539351['push'](_0x539351['shift']());}};_0x218fb6(++_0xbb665a);}(_0xbb66,0x1c3));const _0x218f=function(_0x539351,_0xbb665a){_0x539351=_0x539351-0x0;let _0x218fb6=_0xbb66[_0x539351];return _0x218fb6;};import{Command as _0x285a2b}from'ckeditor5/src/core';import{sortSuggestions as _0x391fcc,executeCommandForSuggestions as _0x409046}from'../utils/utils';export default class N extends _0x285a2b{constructor(_0x4a0eae,_0x25cab6,_0x4aa684){super(_0x4a0eae),this[_0x218f('0xb')]=_0x25cab6,this[_0x218f('0x7')]=_0x4aa684,this[_0x218f('0x9')](),this[_0x218f('0x5')]=!0x1;}[_0x218f('0x9')](){const _0x2cd52e=Array[_0x218f('0x8')](this['_suggestions'][_0x218f('0x2')]())[_0x218f('0xa')](_0x439141=>_0x439141[_0x218f('0x3')]);this[_0x218f('0x1')]=this[_0x218f('0xb')][_0x218f('0x1')]&&_0x2cd52e;}['execute'](){const _0x5c64dd=_0x391fcc(Array[_0x218f('0x8')](this[_0x218f('0x7')]['values']()));for(const _0x574319 of _0x5c64dd){const _0x300e0e=_0x574319[_0x218f('0x6')]();if(!this[_0x218f('0x4')]['model'][_0x218f('0x0')](_0x300e0e))return;}_0x409046(this[_0x218f('0x4')]['model'],this[_0x218f('0xb')],_0x5c64dd);}}
23
+ const _0x4957=['model','isEnabled','values','from','_command','some','_suggestions','editor','_isEnabledBasedOnSelection','execute','canEditAt'];(function(_0x2a97c9,_0x4957cf){const _0xb2372e=function(_0x1085de){while(--_0x1085de){_0x2a97c9['push'](_0x2a97c9['shift']());}};_0xb2372e(++_0x4957cf);}(_0x4957,0x117));const _0xb237=function(_0x2a97c9,_0x4957cf){_0x2a97c9=_0x2a97c9-0x0;let _0xb2372e=_0x4957[_0x2a97c9];return _0xb2372e;};import{Command as _0x20e136}from'ckeditor5/src/core';import{sortSuggestions as _0x2b055a,executeCommandForSuggestions as _0x369c40}from'../utils/utils';export default class N extends _0x20e136{constructor(_0x57294a,_0x4d1e7b,_0x2a5e37){super(_0x57294a),this[_0xb237('0x0')]=_0x4d1e7b,this[_0xb237('0x2')]=_0x2a5e37,this['refresh'](),this[_0xb237('0x4')]=!0x1;}['refresh'](){const _0x20ab37=Array[_0xb237('0xa')](this[_0xb237('0x2')][_0xb237('0x9')]())[_0xb237('0x1')](_0xd803c=>_0xd803c['isInContent']);this['isEnabled']=this[_0xb237('0x0')][_0xb237('0x8')]&&_0x20ab37;}[_0xb237('0x5')](){const _0x41d917=_0x2b055a(Array[_0xb237('0xa')](this[_0xb237('0x2')][_0xb237('0x9')]()));for(const _0x735d86 of _0x41d917){const _0x16efd8=_0x735d86['getRanges']();if(!this['editor'][_0xb237('0x7')][_0xb237('0x6')](_0x16efd8))return;}_0x369c40(this[_0xb237('0x3')]['model'],this['_command'],_0x41d917);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17ef=['_suggestions','_command','from','_selectedSuggestions','execute','size','selection','values','document','editor','_isEnabledBasedOnSelection','isEnabled','model'];(function(_0xbc46a7,_0x17ef3f){const _0x1038ef=function(_0x71c541){while(--_0x71c541){_0xbc46a7['push'](_0xbc46a7['shift']());}};_0x1038ef(++_0x17ef3f);}(_0x17ef,0x95));const _0x1038=function(_0xbc46a7,_0x17ef3f){_0xbc46a7=_0xbc46a7-0x0;let _0x1038ef=_0x17ef[_0xbc46a7];return _0x1038ef;};import{Command as _0x1939cf}from'ckeditor5/src/core';import{sortSuggestions as _0x16147b,getSelectedSuggestions as _0x350f39,executeCommandForSuggestions as _0x59159e}from'../utils/utils';export default class R extends _0x1939cf{constructor(_0x25a534,_0x142ed2,_0x42920c){super(_0x25a534),this['_command']=_0x142ed2,this[_0x1038('0x7')]=_0x42920c,this[_0x1038('0xa')]=new Set(),this['refresh'](),this[_0x1038('0x4')]=!0x1;}['refresh'](){const _0x47c813=this[_0x1038('0x3')][_0x1038('0x6')][_0x1038('0x2')][_0x1038('0x0')],_0x3e4c45=Array[_0x1038('0x9')](this['_suggestions'][_0x1038('0x1')]());this[_0x1038('0xa')]=_0x350f39(_0x47c813,_0x3e4c45),this[_0x1038('0x5')]=this[_0x1038('0x8')][_0x1038('0x5')]&&!!this[_0x1038('0xa')][_0x1038('0xc')];}[_0x1038('0xb')](){const _0x5614ba=_0x16147b(Array[_0x1038('0x9')](this[_0x1038('0xa')]));for(const _0x333bc8 of _0x5614ba){const _0x352443=_0x333bc8['getRanges']();if(!this[_0x1038('0x3')][_0x1038('0x6')]['canEditAt'](_0x352443))return;}_0x59159e(this[_0x1038('0x3')][_0x1038('0x6')],this[_0x1038('0x8')],_0x5614ba);}}
23
+ const _0x2b8b=['isEnabled','values','editor','execute','_selectedSuggestions','size','document','_isEnabledBasedOnSelection','from','model','refresh','_suggestions','_command'];(function(_0x8313eb,_0x2b8b4b){const _0x3336e6=function(_0x963f41){while(--_0x963f41){_0x8313eb['push'](_0x8313eb['shift']());}};_0x3336e6(++_0x2b8b4b);}(_0x2b8b,0x86));const _0x3336=function(_0x8313eb,_0x2b8b4b){_0x8313eb=_0x8313eb-0x0;let _0x3336e6=_0x2b8b[_0x8313eb];return _0x3336e6;};import{Command as _0x47fda9}from'ckeditor5/src/core';import{sortSuggestions as _0x264889,getSelectedSuggestions as _0x529e8e,executeCommandForSuggestions as _0x4bb07b}from'../utils/utils';export default class R extends _0x47fda9{constructor(_0x1ca056,_0x3a6fcc,_0x555482){super(_0x1ca056),this[_0x3336('0x8')]=_0x3a6fcc,this[_0x3336('0x7')]=_0x555482,this[_0x3336('0x0')]=new Set(),this[_0x3336('0x6')](),this[_0x3336('0x3')]=!0x1;}['refresh'](){const _0x5bf657=this[_0x3336('0xb')][_0x3336('0x5')][_0x3336('0x2')]['selection'],_0xa65b00=Array[_0x3336('0x4')](this[_0x3336('0x7')][_0x3336('0xa')]());this[_0x3336('0x0')]=_0x529e8e(_0x5bf657,_0xa65b00),this[_0x3336('0x9')]=this[_0x3336('0x8')]['isEnabled']&&!!this[_0x3336('0x0')][_0x3336('0x1')];}[_0x3336('0xc')](){const _0x389177=_0x264889(Array[_0x3336('0x4')](this['_selectedSuggestions']));for(const _0x5cac67 of _0x389177){const _0x2678c1=_0x5cac67['getRanges']();if(!this[_0x3336('0xb')][_0x3336('0x5')]['canEditAt'](_0x2678c1))return;}_0x4bb07b(this[_0x3336('0xb')][_0x3336('0x5')],this[_0x3336('0x8')],_0x389177);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b94=['clearForceDisabled','_disableUnsupportedCommands','_enableCommands','_isEnabledBasedOnSelection','refresh','editor','forceDisabled','value','TrackChangesCommand','commands','affectsData','execute','has','_enabledCommands'];(function(_0x1536b5,_0x4b946f){const _0x2fc62b=function(_0x3bf511){while(--_0x3bf511){_0x1536b5['push'](_0x1536b5['shift']());}};_0x2fc62b(++_0x4b946f);}(_0x4b94,0xbd));const _0x2fc6=function(_0x1536b5,_0x4b946f){_0x1536b5=_0x1536b5-0x0;let _0x2fc62b=_0x4b94[_0x1536b5];return _0x2fc62b;};import{Command as _0x5018d7}from'ckeditor5/src/core';export default class _ extends _0x5018d7{constructor(_0x57333d,_0x4ca852){super(_0x57333d),this[_0x2fc6('0x6')]=_0x4ca852,this[_0x2fc6('0x0')]=!0x1,this['refresh'](),this[_0x2fc6('0xa')]=!0x1;}[_0x2fc6('0xb')](){this['isEnabled']=!0x0;}[_0x2fc6('0x4')](){this[_0x2fc6('0x0')]=!this[_0x2fc6('0x0')],this[_0x2fc6('0x0')]?this[_0x2fc6('0x8')]():this[_0x2fc6('0x9')]();}[_0x2fc6('0x8')](){for(const _0x2be0a5 of this[_0x2fc6('0xc')]['commands'][_0x2fc6('0x2')]())_0x2be0a5[_0x2fc6('0x3')]&&!this[_0x2fc6('0x6')][_0x2fc6('0x5')](_0x2be0a5)&&_0x2be0a5[_0x2fc6('0xd')](_0x2fc6('0x1'));}[_0x2fc6('0x9')](){for(const _0xa7e93d of this[_0x2fc6('0xc')][_0x2fc6('0x2')][_0x2fc6('0x2')]())_0xa7e93d[_0x2fc6('0x3')]&&!this[_0x2fc6('0x6')][_0x2fc6('0x5')](_0xa7e93d)&&_0xa7e93d[_0x2fc6('0x7')](_0x2fc6('0x1'));}}
23
+ const _0x3f87=['has','editor','_isEnabledBasedOnSelection','forceDisabled','commands','_enableCommands','refresh','_disableUnsupportedCommands','value','isEnabled','TrackChangesCommand','_enabledCommands','affectsData','execute'];(function(_0x29dcb8,_0x3f872e){const _0x5dcb97=function(_0x49a44b){while(--_0x49a44b){_0x29dcb8['push'](_0x29dcb8['shift']());}};_0x5dcb97(++_0x3f872e);}(_0x3f87,0x113));const _0x5dcb=function(_0x29dcb8,_0x3f872e){_0x29dcb8=_0x29dcb8-0x0;let _0x5dcb97=_0x3f87[_0x29dcb8];return _0x5dcb97;};import{Command as _0x296336}from'ckeditor5/src/core';export default class _ extends _0x296336{constructor(_0x5145a5,_0x1401c2){super(_0x5145a5),this[_0x5dcb('0x2')]=_0x1401c2,this['value']=!0x1,this[_0x5dcb('0xb')](),this[_0x5dcb('0x7')]=!0x1;}[_0x5dcb('0xb')](){this[_0x5dcb('0x0')]=!0x0;}[_0x5dcb('0x4')](){this['value']=!this[_0x5dcb('0xd')],this[_0x5dcb('0xd')]?this['_disableUnsupportedCommands']():this[_0x5dcb('0xa')]();}[_0x5dcb('0xc')](){for(const _0x51fc1d of this[_0x5dcb('0x6')][_0x5dcb('0x9')][_0x5dcb('0x9')]())_0x51fc1d[_0x5dcb('0x3')]&&!this['_enabledCommands'][_0x5dcb('0x5')](_0x51fc1d)&&_0x51fc1d[_0x5dcb('0x8')](_0x5dcb('0x1'));}[_0x5dcb('0xa')](){for(const _0xf91931 of this[_0x5dcb('0x6')][_0x5dcb('0x9')][_0x5dcb('0x9')]())_0xf91931[_0x5dcb('0x3')]&&!this[_0x5dcb('0x2')][_0x5dcb('0x5')](_0xf91931)&&_0xf91931['clearForceDisabled'](_0x5dcb('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c39=['showAIAssistant','enableCommand','get','commands','editor','TrackChangesEditing','afterInit'];(function(_0x44c60a,_0x4c3939){const _0xdc2168=function(_0x14b64e){while(--_0x14b64e){_0x44c60a['push'](_0x44c60a['shift']());}};_0xdc2168(++_0x4c3939);}(_0x4c39,0x185));const _0xdc21=function(_0x44c60a,_0x4c3939){_0x44c60a=_0x44c60a-0x0;let _0xdc2168=_0x4c39[_0x44c60a];return _0xdc2168;};import{Plugin as _0xf1eb34}from'ckeditor5/src/core';export default class j extends _0xf1eb34{[_0xdc21('0x2')](){const _0x380f49=this[_0xdc21('0x0')],_0x1e8c42=_0x380f49['plugins'][_0xdc21('0x5')](_0xdc21('0x1'));_0x380f49[_0xdc21('0x6')][_0xdc21('0x5')](_0xdc21('0x3'))&&_0x1e8c42[_0xdc21('0x4')](_0xdc21('0x3'));}}
23
+ const _0xc177=['plugins','showAIAssistant','enableCommand','commands','editor','TrackChangesEditing','get','afterInit'];(function(_0x34b9ca,_0xc17790){const _0x2c942e=function(_0x48af03){while(--_0x48af03){_0x34b9ca['push'](_0x34b9ca['shift']());}};_0x2c942e(++_0xc17790);}(_0xc177,0x141));const _0x2c94=function(_0x34b9ca,_0xc17790){_0x34b9ca=_0x34b9ca-0x0;let _0x2c942e=_0xc177[_0x34b9ca];return _0x2c942e;};import{Plugin as _0x474384}from'ckeditor5/src/core';export default class j extends _0x474384{[_0x2c94('0x6')](){const _0x153e5b=this[_0x2c94('0x3')],_0x32ea0d=_0x153e5b[_0x2c94('0x7')][_0x2c94('0x5')](_0x2c94('0x4'));_0x153e5b[_0x2c94('0x2')]['get'](_0x2c94('0x0'))&&_0x32ea0d[_0x2c94('0x1')](_0x2c94('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3152=['commandName','afterInit','contentLanguageDirection','_descriptionFactory','value','FORMAT_ALIGN_TO_RIGHT','AlignmentEditing','alignment','commandParams','*Format:*\x20%0','schema','locale','editor','markBlockFormat','TrackChangesEditing','get','registerDescriptionCallback','checkAttribute','enableCommand','selection','filter','FORMAT_ALIGN_TO_LEFT','right','FORMAT_ALIGN_TO_CENTER','format','left','model','plugins','ltr'];(function(_0x1dd803,_0x3152bd){const _0x38c512=function(_0x207eb9){while(--_0x207eb9){_0x1dd803['push'](_0x1dd803['shift']());}};_0x38c512(++_0x3152bd);}(_0x3152,0x6b));const _0x38c5=function(_0x1dd803,_0x3152bd){_0x1dd803=_0x1dd803-0x0;let _0x38c512=_0x3152[_0x1dd803];return _0x38c512;};import{Plugin as _0x3020d5}from'ckeditor5/src/core';import{getTranslation as _0x1cc3c4}from'../utils/common-translations';export default class x extends _0x3020d5{[_0x38c5('0xa')](){const _0x1f04ca=this['editor'],_0x12a510=_0x1f04ca[_0x38c5('0x14')];if(!_0x1f04ca[_0x38c5('0x7')]['has'](_0x38c5('0xf')))return;const _0x40e6a1=_0x1f04ca[_0x38c5('0x7')][_0x38c5('0x18')](_0x38c5('0x17'));_0x40e6a1[_0x38c5('0x1b')](_0x38c5('0x10'),(_0x44474f,_0x30e90c={})=>{let _0x1079a0=_0x30e90c['value'];_0x30e90c[_0x38c5('0xd')]||(_0x1079a0=_0x38c5('0x8')===_0x1f04ca[_0x38c5('0x14')][_0x38c5('0xb')]?'left':_0x38c5('0x2'));const _0x60a6f=Array['from'](this[_0x38c5('0x15')]['model']['document'][_0x38c5('0x1c')]['getSelectedBlocks']())[_0x38c5('0x0')](_0x1e9dac=>function(_0x4cd787,_0x429da3,_0xa91653){const _0x17dd76=_0x4cd787['getAttribute']('alignment')||null;return _0x429da3[_0x38c5('0x1a')](_0x4cd787,_0x38c5('0x10'))&&_0xa91653!=_0x17dd76;}(_0x1e9dac,this['editor'][_0x38c5('0x6')][_0x38c5('0x13')],_0x1079a0));_0x1f04ca[_0x38c5('0x6')]['change'](()=>{for(const _0x52d6f4 of _0x60a6f)_0x40e6a1[_0x38c5('0x16')](_0x52d6f4,{'commandName':_0x38c5('0x10'),'commandParams':[{'value':_0x1079a0}]});});}),_0x40e6a1[_0x38c5('0xc')][_0x38c5('0x19')](_0x4d08ce=>{const {data:_0x478e4b}=_0x4d08ce;if(_0x478e4b&&_0x38c5('0x10')==_0x478e4b[_0x38c5('0x9')]){const _0x16bced=_0x478e4b[_0x38c5('0x11')][0x0][_0x38c5('0xd')];return{'type':_0x38c5('0x4'),'content':_0x1cc3c4(_0x12a510,_0x38c5('0x12'),function(_0x9443a7){switch(_0x9443a7){case _0x38c5('0x5'):return _0x1cc3c4(_0x12a510,_0x38c5('0x1'));case _0x38c5('0x2'):return _0x1cc3c4(_0x12a510,_0x38c5('0xe'));case'center':return _0x1cc3c4(_0x12a510,_0x38c5('0x3'));case'justify':return _0x1cc3c4(_0x12a510,'FORMAT_JUSTIFY_TEXT');}}(_0x16bced))};}});}}
23
+ const _0x58fe=['document','markBlockFormat','contentLanguageDirection','getAttribute','FORMAT_ALIGN_TO_CENTER','TrackChangesEditing','FORMAT_ALIGN_TO_LEFT','commandParams','editor','enableCommand','right','*Format:*\x20%0','filter','get','plugins','model','FORMAT_JUSTIFY_TEXT','center','justify','registerDescriptionCallback','selection','value','FORMAT_ALIGN_TO_RIGHT','has','ltr','left','commandName','checkAttribute','from','AlignmentEditing','alignment','locale','format','afterInit'];(function(_0x2f66c5,_0x58fe2b){const _0x2c911c=function(_0x2bcc65){while(--_0x2bcc65){_0x2f66c5['push'](_0x2f66c5['shift']());}};_0x2c911c(++_0x58fe2b);}(_0x58fe,0x12b));const _0x2c91=function(_0x2f66c5,_0x58fe2b){_0x2f66c5=_0x2f66c5-0x0;let _0x2c911c=_0x58fe[_0x2f66c5];return _0x2c911c;};import{Plugin as _0x2d613b}from'ckeditor5/src/core';import{getTranslation as _0x39622d}from'../utils/common-translations';export default class x extends _0x2d613b{[_0x2c91('0x6')](){const _0x5e6b81=this[_0x2c91('0xf')],_0x560339=_0x5e6b81[_0x2c91('0x4')];if(!_0x5e6b81[_0x2c91('0x15')][_0x2c91('0x1e')](_0x2c91('0x2')))return;const _0x10bc65=_0x5e6b81[_0x2c91('0x15')][_0x2c91('0x14')](_0x2c91('0xc'));_0x10bc65[_0x2c91('0x10')](_0x2c91('0x3'),(_0x5b2d00,_0x115220={})=>{let _0x2830f2=_0x115220[_0x2c91('0x1c')];_0x115220[_0x2c91('0x1c')]||(_0x2830f2=_0x2c91('0x1f')===_0x5e6b81['locale'][_0x2c91('0x9')]?_0x2c91('0x20'):_0x2c91('0x11'));const _0x51935d=Array[_0x2c91('0x1')](this[_0x2c91('0xf')][_0x2c91('0x16')][_0x2c91('0x7')][_0x2c91('0x1b')]['getSelectedBlocks']())[_0x2c91('0x13')](_0x252a37=>function(_0x3c5273,_0x225b7e,_0x5d8541){const _0x3058f0=_0x3c5273[_0x2c91('0xa')](_0x2c91('0x3'))||null;return _0x225b7e[_0x2c91('0x0')](_0x3c5273,_0x2c91('0x3'))&&_0x5d8541!=_0x3058f0;}(_0x252a37,this[_0x2c91('0xf')]['model']['schema'],_0x2830f2));_0x5e6b81[_0x2c91('0x16')]['change'](()=>{for(const _0x358b25 of _0x51935d)_0x10bc65[_0x2c91('0x8')](_0x358b25,{'commandName':_0x2c91('0x3'),'commandParams':[{'value':_0x2830f2}]});});}),_0x10bc65['_descriptionFactory'][_0x2c91('0x1a')](_0x15c1b7=>{const {data:_0x265468}=_0x15c1b7;if(_0x265468&&_0x2c91('0x3')==_0x265468[_0x2c91('0x21')]){const _0x14a555=_0x265468[_0x2c91('0xe')][0x0]['value'];return{'type':_0x2c91('0x5'),'content':_0x39622d(_0x560339,_0x2c91('0x12'),function(_0x4bbea2){switch(_0x4bbea2){case'left':return _0x39622d(_0x560339,_0x2c91('0xd'));case _0x2c91('0x11'):return _0x39622d(_0x560339,_0x2c91('0x1d'));case _0x2c91('0x18'):return _0x39622d(_0x560339,_0x2c91('0xb'));case _0x2c91('0x19'):return _0x39622d(_0x560339,_0x2c91('0x17'));}}(_0x14a555))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c64=['toLowerCase','FORMAT_ITALIC','FORMAT_UNDERLINE','superscript','format','CodeEditing','commandParams','getRanges','markInlineFormat','underline','forceValue','italic','FORMAT_CODE','code','registerDescriptionCallback','TrackChangesEditing','BoldEditing','commandName','subscript','*Format:*\x20%0','commands','change','FORMAT_SUPERSCRIPT','isCollapsed','slice','UnderlineEditing','ItalicEditing','FORMAT_STRIKETHROUGH','StrikethroughEditing','locale','get','from','model','_descriptionFactory','SubscriptEditing'];(function(_0xaa09e3,_0x1c64bc){const _0x528ed1=function(_0x4d9580){while(--_0x4d9580){_0xaa09e3['push'](_0xaa09e3['shift']());}};_0x528ed1(++_0x1c64bc);}(_0x1c64,0x90));const _0x528e=function(_0xaa09e3,_0x1c64bc){_0xaa09e3=_0xaa09e3-0x0;let _0x528ed1=_0x1c64[_0xaa09e3];return _0x528ed1;};import{Plugin as _0x2a73ae}from'ckeditor5/src/core';import{getTranslation as _0x3f2bcb}from'../utils/common-translations';import{getRangesWithAttribute as _0x380774}from'./utils';const Zt=[_0x528e('0xc'),_0x528e('0x16'),_0x528e('0x15'),_0x528e('0x1'),_0x528e('0x18'),_0x528e('0x1e'),'SuperscriptEditing'];export default class U extends _0x2a73ae{['afterInit'](){const _0x57e561=this['editor'],_0x789bd6=_0x57e561[_0x528e('0x1c')],_0x25764b=_0x57e561['plugins'][_0x528e('0x1a')](_0x528e('0xb')),_0x1ccdab=_0x57e561[_0x528e('0x19')];for(const _0x408b57 of Zt){if(!_0x57e561['plugins']['has'](_0x408b57))continue;const _0x4c103a=_0x408b57[_0x528e('0x14')](0x0,-0x7)[_0x528e('0x1f')](),_0x41ab52=_0x57e561[_0x528e('0x10')][_0x528e('0x1a')](_0x4c103a);_0x25764b['enableCommand'](_0x4c103a,(_0xd5e345,_0x5b9061={})=>{const _0xa256b=_0x789bd6['document']['selection'];if(_0xa256b[_0x528e('0x13')])return void _0xd5e345(_0x5b9061);const _0x5dd6f6=void 0x0!==_0x5b9061[_0x528e('0x6')]?_0x5b9061[_0x528e('0x6')]:!_0x41ab52['value'];_0x789bd6[_0x528e('0x11')](()=>{const _0x2aca5a=Array[_0x528e('0x1b')](_0xa256b[_0x528e('0x3')]());for(const _0x369b44 of _0x2aca5a){const _0x53d539=_0x5dd6f6?[_0x369b44]:_0x380774(_0x4c103a,_0x369b44,_0x789bd6);for(const _0x340ed4 of _0x53d539)_0x25764b[_0x528e('0x4')](_0x340ed4,{'commandName':_0x4c103a,'commandParams':[{'forceValue':_0x5dd6f6}]});}});});}function _0x2cd21a(_0x1f748c,_0x52f30f){_0x25764b[_0x528e('0x1d')][_0x528e('0xa')](_0x4747bc=>{const {data:_0x45e474}=_0x4747bc;if(_0x45e474&&_0x45e474[_0x528e('0xd')]===_0x1f748c)return _0x45e474[_0x528e('0x2')][0x0][_0x528e('0x6')]?{'type':_0x528e('0x0'),'content':_0x3f2bcb(_0x1ccdab,_0x528e('0xf'),_0x52f30f)}:{'type':_0x528e('0x0'),'content':_0x3f2bcb(_0x1ccdab,'*Remove\x20format:*\x20%0',_0x52f30f)};});}_0x2cd21a('bold',_0x3f2bcb(_0x1ccdab,'FORMAT_BOLD')),_0x2cd21a(_0x528e('0x7'),_0x3f2bcb(_0x1ccdab,_0x528e('0x20'))),_0x2cd21a(_0x528e('0x5'),_0x3f2bcb(_0x1ccdab,_0x528e('0x21'))),_0x2cd21a(_0x528e('0x9'),_0x3f2bcb(_0x1ccdab,_0x528e('0x8'))),_0x2cd21a('strikethrough',_0x3f2bcb(_0x1ccdab,_0x528e('0x17'))),_0x2cd21a(_0x528e('0xe'),_0x3f2bcb(_0x1ccdab,'FORMAT_SUBSCRIPT')),_0x2cd21a(_0x528e('0x22'),_0x3f2bcb(_0x1ccdab,_0x528e('0x12')));}}
23
+ const _0x5ac5=['change','underline','FORMAT_CODE','slice','get','subscript','isCollapsed','forceValue','commandName','FORMAT_BOLD','plugins','*Remove\x20format:*\x20%0','TrackChangesEditing','commands','code','FORMAT_SUPERSCRIPT','markInlineFormat','FORMAT_ITALIC','editor','has','StrikethroughEditing','document','strikethrough','SubscriptEditing','_descriptionFactory','bold','superscript','format','UnderlineEditing','FORMAT_UNDERLINE','FORMAT_STRIKETHROUGH','enableCommand','from','selection','*Format:*\x20%0','CodeEditing','getRanges','FORMAT_SUBSCRIPT','toLowerCase','BoldEditing','model','commandParams','value'];(function(_0x24b01b,_0x5ac5c8){const _0x3ea4ff=function(_0x578160){while(--_0x578160){_0x24b01b['push'](_0x24b01b['shift']());}};_0x3ea4ff(++_0x5ac5c8);}(_0x5ac5,0xfe));const _0x3ea4=function(_0x24b01b,_0x5ac5c8){_0x24b01b=_0x24b01b-0x0;let _0x3ea4ff=_0x5ac5[_0x24b01b];return _0x3ea4ff;};import{Plugin as _0x44b1be}from'ckeditor5/src/core';import{getTranslation as _0x4ea259}from'../utils/common-translations';import{getRangesWithAttribute as _0x39efad}from'./utils';const Zt=[_0x3ea4('0x0'),'ItalicEditing',_0x3ea4('0x20'),_0x3ea4('0x27'),_0x3ea4('0x18'),_0x3ea4('0x1b'),'SuperscriptEditing'];export default class U extends _0x44b1be{['afterInit'](){const _0x2d7379=this[_0x3ea4('0x16')],_0x1d3fcf=_0x2d7379[_0x3ea4('0x1')],_0x45e9d7=_0x2d7379[_0x3ea4('0xe')][_0x3ea4('0x8')](_0x3ea4('0x10')),_0x170273=_0x2d7379['locale'];for(const _0x42f1a7 of Zt){if(!_0x2d7379['plugins'][_0x3ea4('0x17')](_0x42f1a7))continue;const _0x41fada=_0x42f1a7[_0x3ea4('0x7')](0x0,-0x7)[_0x3ea4('0x2a')](),_0x4158a7=_0x2d7379[_0x3ea4('0x11')][_0x3ea4('0x8')](_0x41fada);_0x45e9d7[_0x3ea4('0x23')](_0x41fada,(_0x1d5d71,_0x38df68={})=>{const _0xc5898c=_0x1d3fcf[_0x3ea4('0x19')][_0x3ea4('0x25')];if(_0xc5898c[_0x3ea4('0xa')])return void _0x1d5d71(_0x38df68);const _0x458369=void 0x0!==_0x38df68[_0x3ea4('0xb')]?_0x38df68[_0x3ea4('0xb')]:!_0x4158a7[_0x3ea4('0x3')];_0x1d3fcf[_0x3ea4('0x4')](()=>{const _0x5026d7=Array[_0x3ea4('0x24')](_0xc5898c[_0x3ea4('0x28')]());for(const _0x2c7bee of _0x5026d7){const _0x274210=_0x458369?[_0x2c7bee]:_0x39efad(_0x41fada,_0x2c7bee,_0x1d3fcf);for(const _0x3f187f of _0x274210)_0x45e9d7[_0x3ea4('0x14')](_0x3f187f,{'commandName':_0x41fada,'commandParams':[{'forceValue':_0x458369}]});}});});}function _0x18acab(_0x31de8e,_0x310b63){_0x45e9d7[_0x3ea4('0x1c')]['registerDescriptionCallback'](_0x396837=>{const {data:_0xdf5272}=_0x396837;if(_0xdf5272&&_0xdf5272[_0x3ea4('0xc')]===_0x31de8e)return _0xdf5272[_0x3ea4('0x2')][0x0]['forceValue']?{'type':_0x3ea4('0x1f'),'content':_0x4ea259(_0x170273,_0x3ea4('0x26'),_0x310b63)}:{'type':_0x3ea4('0x1f'),'content':_0x4ea259(_0x170273,_0x3ea4('0xf'),_0x310b63)};});}_0x18acab(_0x3ea4('0x1d'),_0x4ea259(_0x170273,_0x3ea4('0xd'))),_0x18acab('italic',_0x4ea259(_0x170273,_0x3ea4('0x15'))),_0x18acab(_0x3ea4('0x5'),_0x4ea259(_0x170273,_0x3ea4('0x21'))),_0x18acab(_0x3ea4('0x12'),_0x4ea259(_0x170273,_0x3ea4('0x6'))),_0x18acab(_0x3ea4('0x1a'),_0x4ea259(_0x170273,_0x3ea4('0x22'))),_0x18acab(_0x3ea4('0x9'),_0x4ea259(_0x170273,_0x3ea4('0x29'))),_0x18acab(_0x3ea4('0x1e'),_0x4ea259(_0x170273,_0x3ea4('0x13')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ac9=['filter','TrackChangesEditing','forceValue','*Remove\x20format:*\x20%0','selection','getSelectedBlocks','plugins','get','format','checkChild','value','commands','locale','enableCommand','blockQuote','BlockQuoteEditing','parent','has','registerDescriptionCallback','editor','commandParams','afterInit','*Format:*\x20%0','commandName','name','model','markBlockFormat','from'];(function(_0x1f0d07,_0x1ac9ca){const _0x5e12e0=function(_0x13cc09){while(--_0x13cc09){_0x1f0d07['push'](_0x1f0d07['shift']());}};_0x5e12e0(++_0x1ac9ca);}(_0x1ac9,0xe6));const _0x5e12=function(_0x1f0d07,_0x1ac9ca){_0x1f0d07=_0x1f0d07-0x0;let _0x5e12e0=_0x1ac9[_0x1f0d07];return _0x5e12e0;};import{Plugin as _0x34a6df}from'ckeditor5/src/core';import{getTranslation as _0x59110e}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3c99e6}from'../utils/utils';export default class O extends _0x34a6df{[_0x5e12('0xf')](){const _0x261fbd=this['editor'],_0x35dab7=_0x261fbd[_0x5e12('0x6')];if(!_0x261fbd[_0x5e12('0x0')][_0x5e12('0xb')](_0x5e12('0x9')))return;const _0x50789f=_0x261fbd[_0x5e12('0x0')][_0x5e12('0x1')](_0x5e12('0x17')),_0x2a9585=this['editor'][_0x5e12('0x5')][_0x5e12('0x1')](_0x5e12('0x8'));_0x50789f[_0x5e12('0x7')](_0x5e12('0x8'),(_0x408297,_0x1f1c6e={})=>{const _0x369e16=this[_0x5e12('0xd')][_0x5e12('0x13')]['document'][_0x5e12('0x1a')],_0x51ccdc=_0x1f1c6e&&void 0x0!==_0x1f1c6e['forceValue']?_0x1f1c6e['forceValue']:!_0x2a9585[_0x5e12('0x4')];let _0x365285=[];if(_0x51ccdc){const _0x57c80b=Array[_0x5e12('0x15')](_0x369e16[_0x5e12('0x1b')]())[_0x5e12('0x16')](_0x3c23b2=>oo(_0x3c23b2)||function(_0x4b4813,_0x5a64c4){const _0x1f86d0=_0x5a64c4['checkChild'](_0x4b4813[_0x5e12('0xa')],_0x5e12('0x8')),_0x18a6c4=_0x5a64c4[_0x5e12('0x3')](['$root',_0x5e12('0x8')],_0x4b4813);return _0x1f86d0&&_0x18a6c4;}(_0x3c23b2,this[_0x5e12('0xd')][_0x5e12('0x13')]['schema']));_0x365285=_0x3c99e6(_0x57c80b,_0x261fbd[_0x5e12('0x13')]);}else{const _0x40cefb=Array[_0x5e12('0x15')](_0x369e16[_0x5e12('0x1b')]())[_0x5e12('0x16')](_0x4e161f=>oo(_0x4e161f));_0x365285=_0x3c99e6(_0x40cefb,_0x261fbd['model']);}_0x261fbd[_0x5e12('0x13')]['change'](()=>{for(const _0x1eb87a of _0x365285)_0x50789f[_0x5e12('0x14')](_0x1eb87a,{'commandName':_0x5e12('0x8'),'commandParams':[{'forceValue':_0x51ccdc}]});});}),_0x50789f['_descriptionFactory'][_0x5e12('0xc')](_0x3d433e=>{const {data:_0x340a7e}=_0x3d433e;if(_0x340a7e&&'blockQuote'==_0x340a7e[_0x5e12('0x11')]){const _0x53bd93=_0x59110e(_0x35dab7,'ELEMENT_BLOCK_QUOTE');return _0x340a7e[_0x5e12('0xe')][0x0][_0x5e12('0x18')]?{'type':_0x5e12('0x2'),'content':_0x59110e(_0x35dab7,_0x5e12('0x10'),_0x53bd93)}:{'type':_0x5e12('0x2'),'content':_0x59110e(_0x35dab7,_0x5e12('0x19'),_0x53bd93)};}});}}function oo(_0x51fb93){return'blockQuote'==_0x51fb93['parent'][_0x5e12('0x12')];}
23
+ const _0x36f7=['parent','*Format:*\x20%0','editor','schema','blockQuote','commands','registerDescriptionCallback','getSelectedBlocks','BlockQuoteEditing','has','TrackChangesEditing','filter','checkChild','get','forceValue','name','value','format','selection','locale','change','plugins','ELEMENT_BLOCK_QUOTE','enableCommand','model','_descriptionFactory','*Remove\x20format:*\x20%0','from','commandName'];(function(_0x32a96a,_0x36f7ef){const _0x49a0bf=function(_0x45c079){while(--_0x45c079){_0x32a96a['push'](_0x32a96a['shift']());}};_0x49a0bf(++_0x36f7ef);}(_0x36f7,0x139));const _0x49a0=function(_0x32a96a,_0x36f7ef){_0x32a96a=_0x32a96a-0x0;let _0x49a0bf=_0x36f7[_0x32a96a];return _0x49a0bf;};import{Plugin as _0x57c789}from'ckeditor5/src/core';import{getTranslation as _0x4fbbb0}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x42a696}from'../utils/utils';export default class O extends _0x57c789{['afterInit'](){const _0x49ad81=this[_0x49a0('0x8')],_0x574370=_0x49ad81[_0x49a0('0x19')];if(!_0x49ad81[_0x49a0('0x1b')][_0x49a0('0xf')](_0x49a0('0xe')))return;const _0x40da09=_0x49ad81[_0x49a0('0x1b')][_0x49a0('0x13')](_0x49a0('0x10')),_0x1a7149=this[_0x49a0('0x8')][_0x49a0('0xb')][_0x49a0('0x13')](_0x49a0('0xa'));_0x40da09[_0x49a0('0x0')](_0x49a0('0xa'),(_0x3389d3,_0x18b374={})=>{const _0x15fd36=this[_0x49a0('0x8')][_0x49a0('0x1')]['document'][_0x49a0('0x18')],_0x46f9f5=_0x18b374&&void 0x0!==_0x18b374[_0x49a0('0x14')]?_0x18b374['forceValue']:!_0x1a7149[_0x49a0('0x16')];let _0x4c1b85=[];if(_0x46f9f5){const _0x393969=Array[_0x49a0('0x4')](_0x15fd36[_0x49a0('0xd')]())['filter'](_0x21dc7d=>oo(_0x21dc7d)||function(_0x34eee2,_0x1e1efa){const _0x32cff1=_0x1e1efa[_0x49a0('0x12')](_0x34eee2['parent'],_0x49a0('0xa')),_0xe769ae=_0x1e1efa[_0x49a0('0x12')](['$root',_0x49a0('0xa')],_0x34eee2);return _0x32cff1&&_0xe769ae;}(_0x21dc7d,this['editor'][_0x49a0('0x1')][_0x49a0('0x9')]));_0x4c1b85=_0x42a696(_0x393969,_0x49ad81[_0x49a0('0x1')]);}else{const _0x56b9d0=Array[_0x49a0('0x4')](_0x15fd36[_0x49a0('0xd')]())[_0x49a0('0x11')](_0x5ebcf2=>oo(_0x5ebcf2));_0x4c1b85=_0x42a696(_0x56b9d0,_0x49ad81['model']);}_0x49ad81['model'][_0x49a0('0x1a')](()=>{for(const _0x5376f8 of _0x4c1b85)_0x40da09['markBlockFormat'](_0x5376f8,{'commandName':_0x49a0('0xa'),'commandParams':[{'forceValue':_0x46f9f5}]});});}),_0x40da09[_0x49a0('0x2')][_0x49a0('0xc')](_0x488279=>{const {data:_0x573033}=_0x488279;if(_0x573033&&_0x49a0('0xa')==_0x573033[_0x49a0('0x5')]){const _0x23cefb=_0x4fbbb0(_0x574370,_0x49a0('0x1c'));return _0x573033['commandParams'][0x0][_0x49a0('0x14')]?{'type':_0x49a0('0x17'),'content':_0x4fbbb0(_0x574370,_0x49a0('0x7'),_0x23cefb)}:{'type':_0x49a0('0x17'),'content':_0x4fbbb0(_0x574370,_0x49a0('0x3'),_0x23cefb)};}});}}function oo(_0x596862){return _0x49a0('0xa')==_0x596862[_0x49a0('0x6')][_0x49a0('0x15')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x115e=['plugins','enableCommand','ckbox','afterInit','get','editor'];(function(_0x3a541d,_0x115e91){const _0x1f4e27=function(_0x131afb){while(--_0x131afb){_0x3a541d['push'](_0x3a541d['shift']());}};_0x1f4e27(++_0x115e91);}(_0x115e,0x159));const _0x1f4e=function(_0x3a541d,_0x115e91){_0x3a541d=_0x3a541d-0x0;let _0x1f4e27=_0x115e[_0x3a541d];return _0x1f4e27;};import{Plugin as _0x20c826}from'ckeditor5/src/core';export default class E extends _0x20c826{[_0x1f4e('0x0')](){const _0x1d6cb6=this[_0x1f4e('0x2')];_0x1d6cb6['commands']['get'](_0x1f4e('0x5'))&&_0x1d6cb6[_0x1f4e('0x3')][_0x1f4e('0x1')]('TrackChangesEditing')[_0x1f4e('0x4')]('ckbox');}}
23
+ const _0x4c08=['plugins','enableCommand','ckbox','get','afterInit','TrackChangesEditing','commands','editor'];(function(_0x49481e,_0x4c08e5){const _0x3c71d1=function(_0x5f49f1){while(--_0x5f49f1){_0x49481e['push'](_0x49481e['shift']());}};_0x3c71d1(++_0x4c08e5);}(_0x4c08,0x198));const _0x3c71=function(_0x49481e,_0x4c08e5){_0x49481e=_0x49481e-0x0;let _0x3c71d1=_0x4c08[_0x49481e];return _0x3c71d1;};import{Plugin as _0x197d47}from'ckeditor5/src/core';export default class E extends _0x197d47{[_0x3c71('0x4')](){const _0x3fd35a=this[_0x3c71('0x7')];_0x3fd35a[_0x3c71('0x6')][_0x3c71('0x3')](_0x3c71('0x2'))&&_0x3fd35a[_0x3c71('0x0')][_0x3c71('0x3')](_0x3c71('0x5'))[_0x3c71('0x1')](_0x3c71('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23aa=['*Remove\x20format:*\x20%0','get','has','forceValue','filter','commandParams','*Format:*\x20%0','plugins','change','getSelectedBlocks','checkChild','language','TrackChangesEditing','_descriptionFactory','registerElementLabel','model','selection','afterInit','name','codeBlock','commandName','value','commands','label','locale','find','document','format','from','parent','ELEMENT_CODE_BLOCK','markBlockFormat','isLimit','outdentCodeBlock','enableCommand','formatBlock','languages','indentCodeBlock'];(function(_0x3bdea0,_0x23aad3){const _0x21f171=function(_0x3e0114){while(--_0x3e0114){_0x3bdea0['push'](_0x3bdea0['shift']());}};_0x21f171(++_0x23aad3);}(_0x23aa,0x15f));const _0x21f1=function(_0x3bdea0,_0x23aad3){_0x3bdea0=_0x3bdea0-0x0;let _0x21f171=_0x23aa[_0x3bdea0];return _0x21f171;};import{Plugin as _0x25a31c}from'ckeditor5/src/core';import{getTranslation as _0x54da67}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4f51f7}from'../utils/utils';export default class F extends _0x25a31c{[_0x21f1('0x8')](){const _0x5e4b70=this['editor'];if(!_0x5e4b70[_0x21f1('0x24')][_0x21f1('0x1f')]('CodeBlock'))return;const _0x772b0=_0x5e4b70[_0x21f1('0x24')]['get'](_0x21f1('0x3')),_0x3772ca=_0x5e4b70[_0x21f1('0xf')],_0xad3d73=_0x5e4b70['config'][_0x21f1('0x1e')](_0x21f1('0xa'))[_0x21f1('0x1b')],_0x5768f6=_0x5e4b70[_0x21f1('0xd')][_0x21f1('0x1e')](_0x21f1('0xa'));_0x772b0[_0x21f1('0x19')](_0x21f1('0x1c')),_0x772b0[_0x21f1('0x19')](_0x21f1('0x18')),_0x772b0[_0x21f1('0x19')]('codeBlock',(_0x3c6b5f,_0x25cdb3={})=>{const _0x52c5ce=_0x5e4b70[_0x21f1('0x6')],_0x2d78c9=_0x5e4b70[_0x21f1('0x6')][_0x21f1('0x11')][_0x21f1('0x7')],_0x57dae1=_0x25cdb3&&void 0x0!==_0x25cdb3['forceValue']?_0x25cdb3[_0x21f1('0x20')]:!_0x5768f6[_0x21f1('0xc')];let _0x34dd7a;_0x25cdb3['language']||(_0x25cdb3[_0x21f1('0x2')]=_0xad3d73[0x0][_0x21f1('0x2')]),_0x34dd7a=_0x57dae1?Array[_0x21f1('0x13')](_0x2d78c9[_0x21f1('0x0')]())[_0x21f1('0x21')](_0x155c3d=>co(_0x155c3d)||function(_0x1ab8e8,_0x44d43d){if(_0x1ab8e8['is']('rootElement')||_0x44d43d[_0x21f1('0x17')](_0x1ab8e8))return!0x1;return _0x44d43d[_0x21f1('0x1')](_0x1ab8e8[_0x21f1('0x14')],'codeBlock');}(_0x155c3d,_0x52c5ce['schema'])):Array[_0x21f1('0x13')](_0x2d78c9['getSelectedBlocks']())[_0x21f1('0x21')](_0x5c36d9=>co(_0x5c36d9));const _0x46f003=_0x4f51f7(_0x34dd7a,_0x52c5ce);_0x52c5ce[_0x21f1('0x25')](()=>{for(const _0xd0c5a2 of _0x46f003)_0x772b0[_0x21f1('0x16')](_0xd0c5a2,{'commandName':_0x21f1('0xa'),'commandParams':[{..._0x25cdb3,'forceValue':_0x57dae1}],'formatGroupId':'blockName'});});}),(_0x772b0[_0x21f1('0x4')][_0x21f1('0x5')](_0x21f1('0xa'),_0x4e5808=>_0x54da67(_0x3772ca,_0x21f1('0x15'),_0x4e5808)),_0x772b0[_0x21f1('0x4')]['registerDescriptionCallback'](_0x537de1=>{const _0x1e3740=_0x3772ca['t'],{type:_0x1cd249,data:_0x19c2e9}=_0x537de1;if(_0x21f1('0x1a')==_0x1cd249&&_0x19c2e9&&'codeBlock'==_0x19c2e9[_0x21f1('0xb')]){const _0xc6bdc5=_0x19c2e9['commandParams'][0x0][_0x21f1('0x2')],_0x1c7c51=_0x1e3740(_0xad3d73[_0x21f1('0x10')](_0x714c0=>_0x714c0[_0x21f1('0x2')]===_0xc6bdc5)[_0x21f1('0xe')]);return _0x19c2e9[_0x21f1('0x22')][0x0]['forceValue']?{'type':_0x21f1('0x12'),'content':_0x54da67(_0x3772ca,_0x21f1('0x23'),_0x54da67(_0x3772ca,_0x21f1('0x15'),0x1)+'\x20('+_0x1c7c51+')')}:{'type':_0x21f1('0x12'),'content':_0x54da67(_0x3772ca,_0x21f1('0x1d'),_0x54da67(_0x3772ca,_0x21f1('0x15'),0x1))};}}));}}function co(_0x48343c){return _0x21f1('0xa')==_0x48343c[_0x21f1('0x9')];}
23
+ const _0x10b1=['filter','enableCommand','*Format:*\x20%0','outdentCodeBlock','parent','afterInit','TrackChangesEditing','get','find','rootElement','commandName','name','locale','language','*Remove\x20format:*\x20%0','change','selection','model','value','has','getSelectedBlocks','label','checkChild','config','editor','codeBlock','markBlockFormat','forceValue','from','commands','isLimit','blockName','indentCodeBlock','ELEMENT_CODE_BLOCK','plugins','schema'];(function(_0x1d7c92,_0x10b1cf){const _0xdad329=function(_0x54bd55){while(--_0x54bd55){_0x1d7c92['push'](_0x1d7c92['shift']());}};_0xdad329(++_0x10b1cf);}(_0x10b1,0xdf));const _0xdad3=function(_0x1d7c92,_0x10b1cf){_0x1d7c92=_0x1d7c92-0x0;let _0xdad329=_0x10b1[_0x1d7c92];return _0xdad329;};import{Plugin as _0x2e6b8}from'ckeditor5/src/core';import{getTranslation as _0x5c5895}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x6fdf5a}from'../utils/utils';export default class F extends _0x2e6b8{[_0xdad3('0x22')](){const _0x16008d=this[_0xdad3('0x11')];if(!_0x16008d[_0xdad3('0x1b')][_0xdad3('0xc')]('CodeBlock'))return;const _0x12ad3f=_0x16008d[_0xdad3('0x1b')][_0xdad3('0x0')](_0xdad3('0x23')),_0x372c66=_0x16008d[_0xdad3('0x5')],_0xab6f8=_0x16008d[_0xdad3('0x10')][_0xdad3('0x0')](_0xdad3('0x12'))['languages'],_0x38a8a3=_0x16008d[_0xdad3('0x16')][_0xdad3('0x0')](_0xdad3('0x12'));_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x19')),_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x20')),_0x12ad3f[_0xdad3('0x1e')](_0xdad3('0x12'),(_0x49fa83,_0x2ccd6c={})=>{const _0x52d964=_0x16008d[_0xdad3('0xa')],_0x147e8a=_0x16008d[_0xdad3('0xa')]['document'][_0xdad3('0x9')],_0xa17082=_0x2ccd6c&&void 0x0!==_0x2ccd6c['forceValue']?_0x2ccd6c[_0xdad3('0x14')]:!_0x38a8a3[_0xdad3('0xb')];let _0x568cfe;_0x2ccd6c[_0xdad3('0x6')]||(_0x2ccd6c[_0xdad3('0x6')]=_0xab6f8[0x0][_0xdad3('0x6')]),_0x568cfe=_0xa17082?Array[_0xdad3('0x15')](_0x147e8a[_0xdad3('0xd')]())['filter'](_0x296c8c=>co(_0x296c8c)||function(_0x31a103,_0x80ce75){if(_0x31a103['is'](_0xdad3('0x2'))||_0x80ce75[_0xdad3('0x17')](_0x31a103))return!0x1;return _0x80ce75[_0xdad3('0xf')](_0x31a103[_0xdad3('0x21')],_0xdad3('0x12'));}(_0x296c8c,_0x52d964[_0xdad3('0x1c')])):Array[_0xdad3('0x15')](_0x147e8a['getSelectedBlocks']())[_0xdad3('0x1d')](_0x320cae=>co(_0x320cae));const _0x1c7afe=_0x6fdf5a(_0x568cfe,_0x52d964);_0x52d964[_0xdad3('0x8')](()=>{for(const _0x150b70 of _0x1c7afe)_0x12ad3f[_0xdad3('0x13')](_0x150b70,{'commandName':'codeBlock','commandParams':[{..._0x2ccd6c,'forceValue':_0xa17082}],'formatGroupId':_0xdad3('0x18')});});}),(_0x12ad3f['_descriptionFactory']['registerElementLabel'](_0xdad3('0x12'),_0x102cdf=>_0x5c5895(_0x372c66,_0xdad3('0x1a'),_0x102cdf)),_0x12ad3f['_descriptionFactory']['registerDescriptionCallback'](_0x8fa6ee=>{const _0x232721=_0x372c66['t'],{type:_0x2a9a7d,data:_0x4e5558}=_0x8fa6ee;if('formatBlock'==_0x2a9a7d&&_0x4e5558&&'codeBlock'==_0x4e5558[_0xdad3('0x3')]){const _0x292bed=_0x4e5558['commandParams'][0x0][_0xdad3('0x6')],_0x5c2f72=_0x232721(_0xab6f8[_0xdad3('0x1')](_0x5a0642=>_0x5a0642[_0xdad3('0x6')]===_0x292bed)[_0xdad3('0xe')]);return _0x4e5558['commandParams'][0x0][_0xdad3('0x14')]?{'type':'format','content':_0x5c5895(_0x372c66,_0xdad3('0x1f'),_0x5c5895(_0x372c66,_0xdad3('0x1a'),0x1)+'\x20('+_0x5c2f72+')')}:{'type':'format','content':_0x5c5895(_0x372c66,_0xdad3('0x7'),_0x5c5895(_0x372c66,_0xdad3('0x1a'),0x1))};}}));}}function co(_0x1a6a84){return'codeBlock'==_0x1a6a84[_0xdad3('0x4')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13ec=['TrackChangesEditing','afterInit','CommentsEditing','plugins','get','addCommentThread'];(function(_0x4c341f,_0x13ec24){const _0x5d6313=function(_0xc90ee3){while(--_0xc90ee3){_0x4c341f['push'](_0x4c341f['shift']());}};_0x5d6313(++_0x13ec24);}(_0x13ec,0x1a4));const _0x5d63=function(_0x4c341f,_0x13ec24){_0x4c341f=_0x4c341f-0x0;let _0x5d6313=_0x13ec[_0x4c341f];return _0x5d6313;};import{Plugin as _0x191427}from'ckeditor5/src/core';export default class G extends _0x191427{[_0x5d63('0x1')](){const _0x3d0e39=this['editor'];if(!_0x3d0e39[_0x5d63('0x3')]['has'](_0x5d63('0x2')))return;_0x3d0e39['plugins'][_0x5d63('0x4')](_0x5d63('0x0'))['enableCommand'](_0x5d63('0x5'));}}
23
+ const _0x5914=['plugins','has','TrackChangesEditing','CommentsEditing','addCommentThread','get'];(function(_0x2b7387,_0x591465){const _0x20f09f=function(_0x28681d){while(--_0x28681d){_0x2b7387['push'](_0x2b7387['shift']());}};_0x20f09f(++_0x591465);}(_0x5914,0x11a));const _0x20f0=function(_0x2b7387,_0x591465){_0x2b7387=_0x2b7387-0x0;let _0x20f09f=_0x5914[_0x2b7387];return _0x20f09f;};import{Plugin as _0x548be4}from'ckeditor5/src/core';export default class G extends _0x548be4{['afterInit'](){const _0x436618=this['editor'];if(!_0x436618['plugins'][_0x20f0('0x1')](_0x20f0('0x3')))return;_0x436618[_0x20f0('0x0')][_0x20f0('0x5')](_0x20f0('0x2'))['enableCommand'](_0x20f0('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d1d=['get','data','rootName','forward','showSuggestionHighlights','document','unit','deleteForward','downcastDispatcher','commands','removeMarker:suggestion:deletion','selection','isCollapsed','unlock','uiElement','delete','detach','createSelection','model','enableCommand','writer','buffer','editor','editing','addMarker:suggestion:deletion','TrackChangesEditing','mapper','markerName','requires','unbindElementFromMarkerName','init','enqueueChange','fromRange','merge','start','root','batch','end','high','createRange'];(function(_0x489a9a,_0x4d1d05){const _0x39e367=function(_0x304a5d){while(--_0x304a5d){_0x489a9a['push'](_0x489a9a['shift']());}};_0x39e367(++_0x4d1d05);}(_0x4d1d,0x195));const _0x39e3=function(_0x489a9a,_0x4d1d05){_0x489a9a=_0x489a9a-0x0;let _0x39e367=_0x4d1d[_0x489a9a];return _0x39e367;};import{Plugin as _0x24aa4f}from'ckeditor5/src/core';import{LiveRange as _0x32da47}from'ckeditor5/src/engine';import{Delete as _0x182a29}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x5b48af}from'./utils';export default class L extends _0x24aa4f{static get[_0x39e3('0x17')](){return[_0x182a29];}[_0x39e3('0x19')](){const _0x5990a9=this[_0x39e3('0x11')],_0x223a64=_0x5990a9['plugins'][_0x39e3('0x23')](_0x39e3('0x14'));_0x223a64[_0x39e3('0xe')](_0x39e3('0xa'));const _0x774dc0=_0x5990a9[_0x39e3('0x4')][_0x39e3('0x23')](_0x39e3('0x2'));_0x223a64['enableCommand'](_0x39e3('0x2'),(_0x3eae10,_0x4642c7={})=>{const _0x2a3e22=_0x5990a9['model'][_0x39e3('0xc')](_0x5990a9['model'][_0x39e3('0x0')][_0x39e3('0x6')]);_0x2a3e22[_0x39e3('0x7')]&&_0x5990a9[_0x39e3('0xd')]['modifySelection'](_0x2a3e22,{'direction':_0x39e3('0x26'),'unit':_0x4642c7[_0x39e3('0x1')]});const _0x92da6=_0x2a3e22['getFirstRange'](),_0x3db923=_0x32da47[_0x39e3('0x1b')](_0x92da6);let _0x429b4f;_0x3eae10(_0x4642c7),_0x429b4f='$graveyard'==_0x3db923[_0x39e3('0x1e')][_0x39e3('0x25')]?_0x5990a9['model'][_0x39e3('0x22')](_0x92da6[_0x39e3('0x1d')]):_0x5990a9[_0x39e3('0xd')][_0x39e3('0x22')](_0x3db923[_0x39e3('0x1d')],_0x3db923[_0x39e3('0x20')]),_0x3db923[_0x39e3('0xb')](),_0x5990a9[_0x39e3('0xd')][_0x39e3('0x1a')](_0x774dc0[_0x39e3('0x10')][_0x39e3('0x1f')],_0x57725d=>{_0x774dc0['buffer']['lock'](),_0x57725d['setSelection'](_0x57725d[_0x39e3('0x22')](_0x429b4f['end'])),_0x774dc0[_0x39e3('0x10')][_0x39e3('0x8')]();});}),_0x5990a9['editing'][_0x39e3('0x3')]['on'](_0x39e3('0x13'),_0x5b48af(_0x5990a9,_0x39e3('0x1c')),{'priority':_0x39e3('0x21')}),_0x5990a9[_0x39e3('0x24')][_0x39e3('0x3')]['on'](_0x39e3('0x13'),(_0x1c70f4,_0x2d9f10,_0x2db1d8)=>{_0x2db1d8['options'][_0x39e3('0x27')]&&_0x5b48af(_0x5990a9,_0x39e3('0x1c'),{'showActiveMarker':!0x1})['bind'](this)(_0x1c70f4,_0x2d9f10,_0x2db1d8);},{'priority':_0x39e3('0x21')}),_0x5990a9[_0x39e3('0x12')][_0x39e3('0x3')]['on'](_0x39e3('0x5'),(_0x36adde,_0x1e023f,_0x35d08c)=>{const _0x1a0cde=_0x35d08c[_0x39e3('0x15')]['markerNameToElements'](_0x1e023f[_0x39e3('0x16')]);if(_0x1a0cde)for(const _0x3d0ec0 of _0x1a0cde)_0x3d0ec0['is'](_0x39e3('0x9'))&&(_0x35d08c['mapper'][_0x39e3('0x18')](_0x3d0ec0,_0x1e023f['markerName']),_0x35d08c[_0x39e3('0xf')]['remove'](_0x3d0ec0));},{'priority':'high'});}}
23
+ const _0xadb0=['enqueueChange','editing','unit','document','root','delete','model','options','end','get','commands','unlock','modifySelection','TrackChangesEditing','start','bind','showSuggestionHighlights','createRange','editor','high','detach','markerName','requires','getFirstRange','writer','uiElement','markerNameToElements','setSelection','batch','mapper','createSelection','merge','downcastDispatcher','buffer','isCollapsed','lock','addMarker:suggestion:deletion','deleteForward'];(function(_0x3fbdf1,_0xadb0cd){const _0x18bc5d=function(_0x10a918){while(--_0x10a918){_0x3fbdf1['push'](_0x3fbdf1['shift']());}};_0x18bc5d(++_0xadb0cd);}(_0xadb0,0x74));const _0x18bc=function(_0x3fbdf1,_0xadb0cd){_0x3fbdf1=_0x3fbdf1-0x0;let _0x18bc5d=_0xadb0[_0x3fbdf1];return _0x18bc5d;};import{Plugin as _0x48c157}from'ckeditor5/src/core';import{LiveRange as _0x21aa55}from'ckeditor5/src/engine';import{Delete as _0x2230ed}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3d7f5b}from'./utils';export default class L extends _0x48c157{static get[_0x18bc('0x14')](){return[_0x2230ed];}['init'](){const _0x484327=this[_0x18bc('0x10')],_0x399ceb=_0x484327['plugins']['get'](_0x18bc('0xb'));_0x399ceb['enableCommand'](_0x18bc('0x3'));const _0x1cb624=_0x484327[_0x18bc('0x8')][_0x18bc('0x7')]('deleteForward');_0x399ceb['enableCommand'](_0x18bc('0x23'),(_0x3bf824,_0x1c50ee={})=>{const _0x10d7f4=_0x484327['model'][_0x18bc('0x1c')](_0x484327[_0x18bc('0x4')][_0x18bc('0x1')]['selection']);_0x10d7f4[_0x18bc('0x20')]&&_0x484327[_0x18bc('0x4')][_0x18bc('0xa')](_0x10d7f4,{'direction':'forward','unit':_0x1c50ee[_0x18bc('0x0')]});const _0x452e10=_0x10d7f4[_0x18bc('0x15')](),_0x37bc22=_0x21aa55['fromRange'](_0x452e10);let _0xd96015;_0x3bf824(_0x1c50ee),_0xd96015='$graveyard'==_0x37bc22[_0x18bc('0x2')]['rootName']?_0x484327[_0x18bc('0x4')][_0x18bc('0xf')](_0x452e10[_0x18bc('0xc')]):_0x484327[_0x18bc('0x4')][_0x18bc('0xf')](_0x37bc22[_0x18bc('0xc')],_0x37bc22[_0x18bc('0x6')]),_0x37bc22[_0x18bc('0x12')](),_0x484327['model'][_0x18bc('0x24')](_0x1cb624[_0x18bc('0x1f')][_0x18bc('0x1a')],_0x25afdb=>{_0x1cb624['buffer'][_0x18bc('0x21')](),_0x25afdb[_0x18bc('0x19')](_0x25afdb[_0x18bc('0xf')](_0xd96015[_0x18bc('0x6')])),_0x1cb624[_0x18bc('0x1f')][_0x18bc('0x9')]();});}),_0x484327[_0x18bc('0x25')][_0x18bc('0x1e')]['on'](_0x18bc('0x22'),_0x3d7f5b(_0x484327,_0x18bc('0x1d')),{'priority':_0x18bc('0x11')}),_0x484327['data'][_0x18bc('0x1e')]['on'](_0x18bc('0x22'),(_0x181363,_0x43e17c,_0x2cbb88)=>{_0x2cbb88[_0x18bc('0x5')][_0x18bc('0xe')]&&_0x3d7f5b(_0x484327,_0x18bc('0x1d'),{'showActiveMarker':!0x1})[_0x18bc('0xd')](this)(_0x181363,_0x43e17c,_0x2cbb88);},{'priority':'high'}),_0x484327[_0x18bc('0x25')][_0x18bc('0x1e')]['on']('removeMarker:suggestion:deletion',(_0x3ced3c,_0x4dedd0,_0x42ba37)=>{const _0x4505c2=_0x42ba37[_0x18bc('0x1b')][_0x18bc('0x18')](_0x4dedd0['markerName']);if(_0x4505c2)for(const _0x5c83b4 of _0x4505c2)_0x5c83b4['is'](_0x18bc('0x17'))&&(_0x42ba37[_0x18bc('0x1b')]['unbindElementFromMarkerName'](_0x5c83b4,_0x4dedd0[_0x18bc('0x13')]),_0x42ba37[_0x18bc('0x16')]['remove'](_0x5c83b4));},{'priority':_0x18bc('0x11')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54b6=['containsItem','*Format:*\x20remove\x20from\x20%0','detach','model','editor','_LIST','list.multiBlock','commandParams','selection','after','commandName','next','registerDescriptionCallback','listIndent','*Change\x20to:*\x20%0','*Format:*\x20insert\x20into\x20%0','_suggestionFactory','nodeAfter','isFirstBlockOfListItem','end','from','schema','createPositionAt','numberedList','commands','deletion','multipleBlocks','enableCommand','markMultiRangeBlockFormat','slice','add','setSelection','outdentList','parent','splitListItemAfter','listType','listItemId','get','DocumentListUtils','markBlockFormat','fromRange','config','push','ELEMENT_','getAttribute','splitListItemBefore','documentList','ELEMENT_BULLETED_LIST','bulletedList','accept','has','TrackChangesEditing','document','getSelectedBlocks','paragraph','nextSibling','getRanges','createRange','hasAttribute','length','mergeListItemForward','indentList','start','change','refresh','plugins','mergeListItemBackward','ELEMENT_LIST_ITEM','isObject','*Merge:*\x20%0','afterInit','execute','DocumentListEditing','registerElementLabel','expandListBlocksToCompleteList','previousSibling','value','toUpperCase','getFirstRange','*Indent:*\x20%0','formatBlock','format','forceValue','*Outdent:*\x20%0'];(function(_0x5d0edc,_0x54b62c){const _0x1a7cf0=function(_0x21abf7){while(--_0x21abf7){_0x5d0edc['push'](_0x5d0edc['shift']());}};_0x1a7cf0(++_0x54b62c);}(_0x54b6,0x7c));const _0x1a7c=function(_0x5d0edc,_0x54b62c){_0x5d0edc=_0x5d0edc-0x0;let _0x1a7cf0=_0x54b6[_0x5d0edc];return _0x1a7cf0;};import{Plugin as _0x59d406}from'ckeditor5/src/core';import{getTranslation as _0x602109}from'../utils/common-translations';import{LiveRange as _0x41ea51}from'ckeditor5/src/engine';export default class q extends _0x59d406{[_0x1a7c('0x1e')](){const _0x45f922=this[_0x1a7c('0x30')];if(!_0x45f922['plugins'][_0x1a7c('0xa')](_0x1a7c('0x20')))return;const _0x3dd1be=_0x45f922['locale'],_0x33409b=_0x45f922['plugins'][_0x1a7c('0x51')](_0x1a7c('0xb')),_0x1152b9=_0x45f922[_0x1a7c('0x19')][_0x1a7c('0x51')](_0x1a7c('0x52'));function _0x1134c3(_0x2849a3){return()=>{const _0x52c18a=_0x45f922['commands'][_0x1a7c('0x51')](_0x2849a3);if(_0x52c18a[_0x1a7c('0x24')]&&!_0x45f922[_0x1a7c('0x1')]['get']('list.multiBlock'))return void _0x45f922[_0x1a7c('0x1f')](_0x1a7c('0xe'),{});let _0x380526=Array[_0x1a7c('0x40')](_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0xc')][_0x1a7c('0x34')][_0x1a7c('0xd')]());if(_0x4fb1ec(_0x2849a3)){_0x380526=_0x1152b9[_0x1a7c('0x22')](_0x380526);const _0x429ad7=[];for(const _0x6592fa of _0x380526)_0x1152b9[_0x1a7c('0x3e')](_0x6592fa)&&_0x429ad7[_0x1a7c('0x2')](_0x6592fa);_0x380526=_0x429ad7;}_0x45f922[_0x1a7c('0x2f')]['change'](()=>{_0x33409b[_0x1a7c('0x48')](_0x380526,{'commandName':_0x2849a3,'commandParams':[{'forceValue':!_0x52c18a[_0x1a7c('0x24')]}],'formatGroupId':'listType'},[],_0x1a7c('0x6'));});};}function _0x16273b(_0x3331bd){return()=>{const _0x21b667=function(_0x51d2f2){let _0x1d3f91=Array['from'](_0x51d2f2);const _0x109fdf=_0x1d3f91['findIndex'](_0x3f1d99=>!_0x3f1d99[_0x1a7c('0x12')](_0x1a7c('0x50')));return _0x109fdf>-0x1&&(_0x1d3f91=_0x1d3f91[_0x1a7c('0x49')](0x0,_0x109fdf)),_0x1d3f91;}(_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0xc')][_0x1a7c('0x34')][_0x1a7c('0xd')]()),_0x756e6f=_0x21b667[_0x21b667[_0x1a7c('0x13')]-0x1],_0x1d6e1e=_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x41')][_0x1a7c('0x1c')](_0x756e6f)?_0x1a7c('0x35'):_0x1a7c('0x3f'),_0x27582c=_0x45f922[_0x1a7c('0x2f')]['createRange'](_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x21b667[0x0],'before'),_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x756e6f,_0x1d6e1e));_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x17')](()=>{_0x33409b[_0x1a7c('0x53')](_0x27582c,{'commandName':_0x3331bd,'commandParams':[],'formatGroupId':'listType'},function(_0x62f69d){const _0x5d0f6c=new Set();for(const _0x126a26 of _0x62f69d){let _0x5da120=_0x126a26[_0x1a7c('0xf')];for(;_0x5da120&&_0x5da120[_0x1a7c('0x4')](_0x1a7c('0x39'))>_0x126a26[_0x1a7c('0x4')](_0x1a7c('0x39'));)_0x5d0f6c[_0x1a7c('0x4a')](_0x5da120),_0x5da120=_0x5da120['nextSibling'];}return Array[_0x1a7c('0x40')](_0x5d0f6c);}(_0x21b667));});};}function _0x5e6abf(_0x3d6801){return()=>{const _0x5002cd=_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0xc')][_0x1a7c('0x34')][_0x1a7c('0xd')]()[_0x1a7c('0x37')]()[_0x1a7c('0x24')],_0x202fea=_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x5002cd,'before'),_0x412653=_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x5002cd,0x0),_0x976a74=_0x45f922[_0x1a7c('0x2f')]['createRange'](_0x202fea,_0x412653);_0x45f922[_0x1a7c('0x2f')]['change'](()=>{_0x33409b['markBlockFormat'](_0x976a74,{'commandName':_0x3d6801,'commandParams':[],'formatGroupId':'listType'});});};}function _0x4fb1ec(_0x119b19){const _0xe017cb=_0x45f922[_0x1a7c('0x44')][_0x1a7c('0x51')](_0x1a7c('0x8'))['value'],_0x43fedb=_0x45f922['commands'][_0x1a7c('0x51')](_0x1a7c('0x43'))[_0x1a7c('0x24')];return _0x1a7c('0x43')===_0x119b19?_0xe017cb:_0x43fedb;}_0x33409b['enableCommand'](_0x1a7c('0x43'),_0x1134c3('numberedList')),_0x33409b[_0x1a7c('0x47')](_0x1a7c('0x8'),_0x1134c3(_0x1a7c('0x8'))),_0x33409b[_0x1a7c('0x47')](_0x1a7c('0x15'),_0x16273b(_0x1a7c('0x15'))),_0x33409b[_0x1a7c('0x47')](_0x1a7c('0x4c'),_0x16273b(_0x1a7c('0x4c'))),_0x33409b[_0x1a7c('0x47')](_0x1a7c('0x4e'),_0x5e6abf(_0x1a7c('0x4e'))),_0x33409b['enableCommand'](_0x1a7c('0x5'),_0x5e6abf('splitListItemBefore')),_0x33409b['_descriptionFactory'][_0x1a7c('0x21')](function(_0x106209){const _0x2b9863=!_0x45f922['model'][_0x1a7c('0x41')]['isObject'](_0x106209),_0x1aed93=_0x106209[_0x1a7c('0x23')],_0xb11c80=_0x106209[_0x1a7c('0xf')],_0xc9623c=_0x106209['getAttribute']('listItemId'),_0x24d32d=!_0x1aed93||_0x1aed93[_0x1a7c('0x4')]('listItemId')!==_0xc9623c,_0x51d517=!_0xb11c80||_0xb11c80[_0x1a7c('0x4')]('listItemId')!==_0xc9623c;return _0x2b9863&&Boolean(_0xc9623c)&&_0x24d32d&&_0x51d517;},_0x153d50=>_0x602109(_0x3dd1be,'ELEMENT_LIST_ITEM',_0x153d50)),_0x33409b['_descriptionFactory'][_0x1a7c('0x38')](function(_0x553e90){const {data:_0x2bf1db}=_0x553e90;if(!_0x2bf1db)return;let _0x5d7ff0,_0x376f5a,_0x37b1a7,_0x13f52d;switch(_0x2bf1db[_0x1a7c('0x36')]){case'bulletedList':_0x37b1a7=_0x2bf1db[_0x1a7c('0x33')][0x0][_0x1a7c('0x2a')],_0x13f52d=_0x4fb1ec(_0x2bf1db[_0x1a7c('0x36')]),_0x5d7ff0=_0x37b1a7?_0x1a7c('0x3b'):'*Format:*\x20remove\x20from\x20%0',!_0x13f52d&&_0x45f922['config'][_0x1a7c('0x51')]('list.multiBlock')||(_0x5d7ff0=_0x1a7c('0x3a')),_0x376f5a={'type':'format','content':_0x602109(_0x3dd1be,_0x5d7ff0,_0x602109(_0x3dd1be,_0x1a7c('0x7')))};break;case _0x1a7c('0x43'):_0x37b1a7=_0x2bf1db[_0x1a7c('0x33')][0x0][_0x1a7c('0x2a')],_0x13f52d=_0x4fb1ec(_0x2bf1db['commandName']),_0x5d7ff0=_0x37b1a7?_0x1a7c('0x3b'):_0x1a7c('0x2d'),!_0x13f52d&&_0x45f922[_0x1a7c('0x1')]['get'](_0x1a7c('0x32'))||(_0x5d7ff0='*Change\x20to:*\x20%0'),_0x376f5a={'type':'format','content':_0x602109(_0x3dd1be,_0x5d7ff0,_0x602109(_0x3dd1be,'ELEMENT_NUMBERED_LIST'))};break;case _0x1a7c('0x15'):_0x5d7ff0=_0x1a7c('0x27'),_0x376f5a={'type':_0x1a7c('0x29'),'content':_0x602109(_0x3dd1be,_0x5d7ff0,_0x602109(_0x3dd1be,_0x1a7c('0x1b')))};break;case _0x1a7c('0x4c'):_0x5d7ff0=function(_0x1f062c){const _0x2e2f3a=_0x1f062c['getFirstRange']();let _0x3fae81=_0x2e2f3a['start'][_0x1a7c('0x3d')];for(;_0x3fae81&&_0x2e2f3a[_0x1a7c('0x2c')](_0x3fae81);){if(_0x3fae81[_0x1a7c('0x4')](_0x1a7c('0x39'))>0x0)return!0x1;_0x3fae81=_0x3fae81[_0x1a7c('0xf')];}return!0x0;}(_0x553e90)?_0x602109(_0x3dd1be,_0x1a7c('0x2d'),_0x602109(_0x3dd1be,function(_0x52fc1d){const _0x599b95=_0x52fc1d[_0x1a7c('0x26')]()[_0x1a7c('0x16')][_0x1a7c('0x3d')];return _0x1a7c('0x3')+_0x599b95[_0x1a7c('0x4')](_0x1a7c('0x4f'))[_0x1a7c('0x25')]()+_0x1a7c('0x31');}(_0x553e90))):_0x602109(_0x3dd1be,_0x1a7c('0x2b'),_0x602109(_0x3dd1be,'ELEMENT_LIST_ITEM')),_0x376f5a={'type':'format','content':_0x5d7ff0};break;case _0x1a7c('0x1a'):case _0x1a7c('0x14'):!0x1===_0x2bf1db[_0x1a7c('0x46')]&&(_0x5d7ff0=_0x1a7c('0x1d'),_0x376f5a={'type':_0x1a7c('0x45'),'content':_0x602109(_0x3dd1be,_0x5d7ff0,_0x602109(_0x3dd1be,_0x1a7c('0x1b')))});}return _0x376f5a;}),_0x33409b[_0x1a7c('0x3c')]['registerCustomCallback'](_0x1a7c('0x28'),_0x1a7c('0x6'),_0x1a7c('0x9'),function(_0x3214d2,_0x956519){const _0x354d83=[];for(let _0x5270ad of _0x3214d2)_0x5270ad['start']['nodeAfter']===_0x5270ad['end'][_0x1a7c('0x4d')]&&(_0x5270ad=_0x45f922['model'][_0x1a7c('0x11')](_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x42')](_0x5270ad[_0x1a7c('0x16')][_0x1a7c('0x3d')],0x0))),_0x354d83[_0x1a7c('0x2')](_0x5270ad);_0x45f922[_0x1a7c('0x2f')][_0x1a7c('0x17')](_0x435def=>{const _0x36ee08=_0x45f922[_0x1a7c('0x2f')]['document'][_0x1a7c('0x34')],_0x2ba889=Array[_0x1a7c('0x40')](_0x36ee08[_0x1a7c('0x10')]())['map'](_0x546264=>_0x41ea51[_0x1a7c('0x0')](_0x546264));_0x435def[_0x1a7c('0x4b')](_0x354d83),_0x45f922[_0x1a7c('0x44')][_0x1a7c('0x51')](_0x956519[_0x1a7c('0x36')])[_0x1a7c('0x18')](),_0x956519[_0x1a7c('0x33')][_0x1a7c('0x2')]({'forceDefaultExecution':!0x0}),_0x45f922['execute'](_0x956519[_0x1a7c('0x36')],..._0x956519[_0x1a7c('0x33')]),_0x435def['setSelection'](_0x2ba889);for(const _0x495e13 of _0x2ba889)_0x495e13[_0x1a7c('0x2e')]();});});}}
23
+ const _0x4e33=['listType','afterInit','markMultiRangeBlockFormat','hasAttribute','registerElementLabel','deletion','ELEMENT_LIST_ITEM','splitListItemAfter','setSelection','*Change\x20to:*\x20%0','toUpperCase','slice','nextSibling','*Format:*\x20insert\x20into\x20%0','DocumentListEditing','_suggestionFactory','getAttribute','*Indent:*\x20%0','getRanges','enableCommand','multipleBlocks','fromRange','containsItem','add','detach','_LIST','isObject','change','forceValue','before','map','end','document','*Merge:*\x20%0','has','from','commandParams','nodeAfter','schema','next','list.multiBlock','commands','formatBlock','selection','indentList','outdentList','*Format:*\x20remove\x20from\x20%0','listItemId','plugins','markBlockFormat','push','model','execute','format','get','mergeListItemForward','start','createPositionAt','createRange','getFirstRange','previousSibling','*Outdent:*\x20%0','ELEMENT_NUMBERED_LIST','documentList','DocumentListUtils','splitListItemBefore','TrackChangesEditing','after','accept','listIndent','value','registerCustomCallback','commandName','numberedList','findIndex','_descriptionFactory','bulletedList','config','editor','parent'];(function(_0x5c2d71,_0x4e3337){const _0xf67101=function(_0x2b8375){while(--_0x2b8375){_0x5c2d71['push'](_0x5c2d71['shift']());}};_0xf67101(++_0x4e3337);}(_0x4e33,0x1e7));const _0xf671=function(_0x5c2d71,_0x4e3337){_0x5c2d71=_0x5c2d71-0x0;let _0xf67101=_0x4e33[_0x5c2d71];return _0xf67101;};import{Plugin as _0x401f41}from'ckeditor5/src/core';import{getTranslation as _0xc721d2}from'../utils/common-translations';import{LiveRange as _0x44e981}from'ckeditor5/src/engine';export default class q extends _0x401f41{[_0xf671('0x4a')](){const _0x5e7abd=this[_0xf671('0x47')];if(!_0x5e7abd[_0xf671('0x29')][_0xf671('0x1b')](_0xf671('0x7')))return;const _0x2edaff=_0x5e7abd['locale'],_0x5605b3=_0x5e7abd[_0xf671('0x29')][_0xf671('0x2f')](_0xf671('0x3b')),_0x9ef214=_0x5e7abd[_0xf671('0x29')][_0xf671('0x2f')](_0xf671('0x39'));function _0x548f81(_0xfa39b6){return()=>{const _0x2a0c03=_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0xfa39b6);if(_0x2a0c03['value']&&!_0x5e7abd[_0xf671('0x46')][_0xf671('0x2f')](_0xf671('0x21')))return void _0x5e7abd[_0xf671('0x2d')]('paragraph',{});let _0x49b6bf=Array['from'](_0x5e7abd[_0xf671('0x2c')]['document'][_0xf671('0x24')]['getSelectedBlocks']());if(_0x39230b(_0xfa39b6)){_0x49b6bf=_0x9ef214['expandListBlocksToCompleteList'](_0x49b6bf);const _0x7209c7=[];for(const _0x3c48c5 of _0x49b6bf)_0x9ef214['isFirstBlockOfListItem'](_0x3c48c5)&&_0x7209c7['push'](_0x3c48c5);_0x49b6bf=_0x7209c7;}_0x5e7abd['model'][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x4b')](_0x49b6bf,{'commandName':_0xfa39b6,'commandParams':[{'forceValue':!_0x2a0c03[_0xf671('0x3f')]}],'formatGroupId':_0xf671('0x49')},[],_0xf671('0x38'));});};}function _0x1c93eb(_0x1d089d){return()=>{const _0x50e593=function(_0x3e40a5){let _0x124403=Array[_0xf671('0x1c')](_0x3e40a5);const _0x5e5c94=_0x124403[_0xf671('0x43')](_0x1058d5=>!_0x1058d5[_0xf671('0x4c')](_0xf671('0x28')));return _0x5e5c94>-0x1&&(_0x124403=_0x124403[_0xf671('0x4')](0x0,_0x5e5c94)),_0x124403;}(_0x5e7abd[_0xf671('0x2c')][_0xf671('0x19')]['selection']['getSelectedBlocks']()),_0x5cc6ec=_0x50e593[_0x50e593['length']-0x1],_0xdb197d=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x1f')][_0xf671('0x13')](_0x5cc6ec)?_0xf671('0x3c'):_0xf671('0x18'),_0x374003=_0x5e7abd['model']['createRange'](_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x50e593[0x0],_0xf671('0x16')),_0x5e7abd['model']['createPositionAt'](_0x5cc6ec,_0xdb197d));_0x5e7abd[_0xf671('0x2c')][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x2a')](_0x374003,{'commandName':_0x1d089d,'commandParams':[],'formatGroupId':_0xf671('0x49')},function(_0x3caae6){const _0x129b0f=new Set();for(const _0x2fcd20 of _0x3caae6){let _0xb2053f=_0x2fcd20[_0xf671('0x5')];for(;_0xb2053f&&_0xb2053f[_0xf671('0x9')]('listIndent')>_0x2fcd20['getAttribute'](_0xf671('0x3e'));)_0x129b0f[_0xf671('0x10')](_0xb2053f),_0xb2053f=_0xb2053f[_0xf671('0x5')];}return Array['from'](_0x129b0f);}(_0x50e593));});};}function _0x3de2c8(_0x4eeead){return()=>{const _0x5a342d=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x19')][_0xf671('0x24')]['getSelectedBlocks']()[_0xf671('0x20')]()[_0xf671('0x3f')],_0x421446=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x5a342d,_0xf671('0x16')),_0x2a0b85=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x32')](_0x5a342d,0x0),_0x36a7df=_0x5e7abd['model'][_0xf671('0x33')](_0x421446,_0x2a0b85);_0x5e7abd[_0xf671('0x2c')][_0xf671('0x14')](()=>{_0x5605b3[_0xf671('0x2a')](_0x36a7df,{'commandName':_0x4eeead,'commandParams':[],'formatGroupId':_0xf671('0x49')});});};}function _0x39230b(_0x574ff0){const _0x106bef=_0x5e7abd[_0xf671('0x22')]['get'](_0xf671('0x45'))[_0xf671('0x3f')],_0x5512cf=_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0xf671('0x42'))[_0xf671('0x3f')];return _0xf671('0x42')===_0x574ff0?_0x106bef:_0x5512cf;}_0x5605b3[_0xf671('0xc')](_0xf671('0x42'),_0x548f81(_0xf671('0x42'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x45'),_0x548f81(_0xf671('0x45'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x25'),_0x1c93eb(_0xf671('0x25'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x26'),_0x1c93eb(_0xf671('0x26'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x0'),_0x3de2c8(_0xf671('0x0'))),_0x5605b3[_0xf671('0xc')](_0xf671('0x3a'),_0x3de2c8(_0xf671('0x3a'))),_0x5605b3[_0xf671('0x44')][_0xf671('0x4d')](function(_0x4321f1){const _0x5abc4c=!_0x5e7abd['model'][_0xf671('0x1f')][_0xf671('0x13')](_0x4321f1),_0x1dac75=_0x4321f1[_0xf671('0x35')],_0x495b72=_0x4321f1[_0xf671('0x5')],_0x34de51=_0x4321f1[_0xf671('0x9')](_0xf671('0x28')),_0x5bca44=!_0x1dac75||_0x1dac75[_0xf671('0x9')]('listItemId')!==_0x34de51,_0x2841ad=!_0x495b72||_0x495b72['getAttribute']('listItemId')!==_0x34de51;return _0x5abc4c&&Boolean(_0x34de51)&&_0x5bca44&&_0x2841ad;},_0x522517=>_0xc721d2(_0x2edaff,_0xf671('0x4f'),_0x522517)),_0x5605b3['_descriptionFactory']['registerDescriptionCallback'](function(_0x4ed13d){const {data:_0x4b7413}=_0x4ed13d;if(!_0x4b7413)return;let _0x1d7fa3,_0x585e8c,_0x34d46b,_0xa37306;switch(_0x4b7413[_0xf671('0x41')]){case'bulletedList':_0x34d46b=_0x4b7413['commandParams'][0x0][_0xf671('0x15')],_0xa37306=_0x39230b(_0x4b7413[_0xf671('0x41')]),_0x1d7fa3=_0x34d46b?_0xf671('0x6'):_0xf671('0x27'),!_0xa37306&&_0x5e7abd['config'][_0xf671('0x2f')](_0xf671('0x21'))||(_0x1d7fa3=_0xf671('0x2')),_0x585e8c={'type':_0xf671('0x2e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,'ELEMENT_BULLETED_LIST'))};break;case _0xf671('0x42'):_0x34d46b=_0x4b7413[_0xf671('0x1d')][0x0]['forceValue'],_0xa37306=_0x39230b(_0x4b7413[_0xf671('0x41')]),_0x1d7fa3=_0x34d46b?_0xf671('0x6'):_0xf671('0x27'),!_0xa37306&&_0x5e7abd[_0xf671('0x46')][_0xf671('0x2f')]('list.multiBlock')||(_0x1d7fa3=_0xf671('0x2')),_0x585e8c={'type':_0xf671('0x2e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x37')))};break;case _0xf671('0x25'):_0x1d7fa3=_0xf671('0xa'),_0x585e8c={'type':'format','content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x4f')))};break;case _0xf671('0x26'):_0x1d7fa3=function(_0x2adbea){const _0x24d065=_0x2adbea[_0xf671('0x34')]();let _0x49b0f3=_0x24d065[_0xf671('0x31')][_0xf671('0x1e')];for(;_0x49b0f3&&_0x24d065[_0xf671('0xf')](_0x49b0f3);){if(_0x49b0f3['getAttribute'](_0xf671('0x3e'))>0x0)return!0x1;_0x49b0f3=_0x49b0f3[_0xf671('0x5')];}return!0x0;}(_0x4ed13d)?_0xc721d2(_0x2edaff,_0xf671('0x27'),_0xc721d2(_0x2edaff,function(_0x39554d){const _0x1e529a=_0x39554d[_0xf671('0x34')]()[_0xf671('0x31')][_0xf671('0x1e')];return'ELEMENT_'+_0x1e529a[_0xf671('0x9')](_0xf671('0x49'))[_0xf671('0x3')]()+_0xf671('0x12');}(_0x4ed13d))):_0xc721d2(_0x2edaff,_0xf671('0x36'),_0xc721d2(_0x2edaff,_0xf671('0x4f'))),_0x585e8c={'type':_0xf671('0x2e'),'content':_0x1d7fa3};break;case'mergeListItemBackward':case _0xf671('0x30'):!0x1===_0x4b7413[_0xf671('0xd')]&&(_0x1d7fa3=_0xf671('0x1a'),_0x585e8c={'type':_0xf671('0x4e'),'content':_0xc721d2(_0x2edaff,_0x1d7fa3,_0xc721d2(_0x2edaff,_0xf671('0x4f')))});}return _0x585e8c;}),_0x5605b3[_0xf671('0x8')][_0xf671('0x40')](_0xf671('0x23'),_0xf671('0x38'),_0xf671('0x3d'),function(_0x42c2c2,_0x51af88){const _0x590b0c=[];for(let _0x1a9653 of _0x42c2c2)_0x1a9653[_0xf671('0x31')]['nodeAfter']===_0x1a9653[_0xf671('0x18')][_0xf671('0x48')]&&(_0x1a9653=_0x5e7abd[_0xf671('0x2c')][_0xf671('0x33')](_0x5e7abd['model'][_0xf671('0x32')](_0x1a9653[_0xf671('0x31')][_0xf671('0x1e')],0x0))),_0x590b0c[_0xf671('0x2b')](_0x1a9653);_0x5e7abd['model'][_0xf671('0x14')](_0x4eb3ac=>{const _0x59632e=_0x5e7abd[_0xf671('0x2c')]['document']['selection'],_0x4318ae=Array[_0xf671('0x1c')](_0x59632e[_0xf671('0xb')]())[_0xf671('0x17')](_0x40efea=>_0x44e981[_0xf671('0xe')](_0x40efea));_0x4eb3ac[_0xf671('0x1')](_0x590b0c),_0x5e7abd[_0xf671('0x22')][_0xf671('0x2f')](_0x51af88[_0xf671('0x41')])['refresh'](),_0x51af88[_0xf671('0x1d')][_0xf671('0x2b')]({'forceDefaultExecution':!0x0}),_0x5e7abd[_0xf671('0x2d')](_0x51af88[_0xf671('0x41')],..._0x51af88[_0xf671('0x1d')]),_0x4eb3ac[_0xf671('0x1')](_0x4318ae);for(const _0x3affd9 of _0x4318ae)_0x3affd9[_0xf671('0x11')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f9d=['_LIST_','_getSuggestionBlocksForListStyle','enableCommand','expandListBlocksToCompleteList','DocumentListPropertiesEditing','config','reversed','listReversed','handleListStyleCommand','commandParams','getListTypeFromListStyleType','type','handleListReversedCommand','*Change\x20to:*\x20%0','from','format','afterInit','startIndex','model','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','DocumentListUtils','ELEMENT_','TrackChangesEditing','handleDescriptions','getAttribute','*Format:*\x20set\x20order\x20to\x20reversed','push','isFirstBlockOfListItem','bind','markMultiRangeBlockFormat','handleListStartCommand','document','locale','*Format:*\x20set\x20order\x20to\x20regular','replace','_getTranslationKeyForListStyle','plugins','isListItemBlock','toUpperCase','registerDescriptionCallback','listStyle','listStart','listType','list.properties','_descriptionFactory','editor','DocumentListPropertiesUtils','change','getSelectedBlocks','selection','length','commandName','styles'];(function(_0x2a27b1,_0x1f9dc5){const _0x1e1273=function(_0x50ae14){while(--_0x50ae14){_0x2a27b1['push'](_0x2a27b1['shift']());}};_0x1e1273(++_0x1f9dc5);}(_0x1f9d,0x115));const _0x1e12=function(_0x2a27b1,_0x1f9dc5){_0x2a27b1=_0x2a27b1-0x0;let _0x1e1273=_0x1f9d[_0x2a27b1];return _0x1e1273;};import{Plugin as _0x56f471}from'ckeditor5/src/core';import{getTranslation as _0x4007de}from'../utils/common-translations';export default class Ct extends _0x56f471{[_0x1e12('0xe')](){if(!this[_0x1e12('0x2d')][_0x1e12('0x24')]['has'](_0x1e12('0x2')))return;const _0x21f1ca=this[_0x1e12('0x2d')][_0x1e12('0x3')][_0x1e12('0x13')](_0x1e12('0x2b')),_0x3dcaa3=this['editor'][_0x1e12('0x24')]['get'](_0x1e12('0x16'));_0x21f1ca[_0x1e12('0x34')]&&_0x3dcaa3['enableCommand'](_0x1e12('0x28'),this['handleListStyleCommand'][_0x1e12('0x1c')](this)),_0x21f1ca['reversed']&&_0x3dcaa3[_0x1e12('0x0')](_0x1e12('0x5'),this[_0x1e12('0xa')][_0x1e12('0x1c')](this)),_0x21f1ca['startIndex']&&_0x3dcaa3['enableCommand'](_0x1e12('0x29'),this['handleListStartCommand']['bind'](this)),_0x3dcaa3[_0x1e12('0x2c')][_0x1e12('0x27')](this[_0x1e12('0x17')][_0x1e12('0x1c')](this));}[_0x1e12('0x6')](_0x3f0fc0,_0x199847={}){const _0x421aa5=this['editor'][_0x1e12('0x24')][_0x1e12('0x13')](_0x1e12('0x16')),_0x3fc564=this['_getSuggestionBlocksForListStyle']();this[_0x1e12('0x2d')][_0x1e12('0x10')][_0x1e12('0x2f')](()=>{_0x421aa5[_0x1e12('0x1d')](_0x3fc564,{'commandName':_0x1e12('0x28'),'commandParams':[{'type':_0x199847[_0x1e12('0x9')]}],'formatGroupId':_0x1e12('0x28')});});}[_0x1e12('0xa')](_0x2e0e52,_0x4d18df={}){const _0x229814=this[_0x1e12('0x2d')]['plugins']['get'](_0x1e12('0x16')),_0x408160=this['editor']['plugins'][_0x1e12('0x13')](_0x1e12('0x14')),_0x421c86=this['_getSuggestionBlocks'](_0x30fd7f=>_0x408160[_0x1e12('0x25')](_0x30fd7f)&&_0x1e12('0x11')===_0x30fd7f[_0x1e12('0x18')](_0x1e12('0x2a')));null!==_0x421c86&&this[_0x1e12('0x2d')][_0x1e12('0x10')]['change'](()=>{_0x229814[_0x1e12('0x1d')](_0x421c86,{'commandName':_0x1e12('0x5'),'commandParams':[{'reversed':_0x4d18df[_0x1e12('0x4')]}],'formatGroupId':'listReversed'});});}[_0x1e12('0x1e')](_0x2876fa,_0x483561={}){const _0x1a0cdd=this[_0x1e12('0x2d')]['plugins'][_0x1e12('0x13')]('TrackChangesEditing'),_0x1d8858=this[_0x1e12('0x2d')][_0x1e12('0x24')]['get']('DocumentListUtils'),_0x4ee0ff=this['_getSuggestionBlocks'](_0xd2d36c=>_0x1d8858[_0x1e12('0x25')](_0xd2d36c)&&_0x1e12('0x11')===_0xd2d36c['getAttribute'](_0x1e12('0x2a')));null!==_0x4ee0ff&&this['editor'][_0x1e12('0x10')][_0x1e12('0x2f')](()=>{_0x1a0cdd['markMultiRangeBlockFormat'](_0x4ee0ff,{'commandName':_0x1e12('0x29'),'commandParams':[{'startIndex':_0x483561[_0x1e12('0xf')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x2ff1a1){const _0x3f22aa=this[_0x1e12('0x2d')][_0x1e12('0x20')],{data:_0x406d4c}=_0x2ff1a1;if(!_0x406d4c)return;let _0x26df88,_0x1b4dfc;switch(_0x406d4c[_0x1e12('0x33')]){case _0x1e12('0x28'):_0x26df88=_0x1e12('0xb'),_0x1b4dfc={'type':_0x1e12('0xd'),'content':_0x4007de(_0x3f22aa,_0x26df88,_0x4007de(_0x3f22aa,this[_0x1e12('0x23')](_0x406d4c['commandParams'][0x0][_0x1e12('0x9')])))};break;case _0x1e12('0x5'):_0x26df88=_0x406d4c[_0x1e12('0x7')][0x0]['reversed']?_0x1e12('0x19'):_0x1e12('0x21'),_0x1b4dfc={'type':'format','content':_0x4007de(_0x3f22aa,_0x26df88)};break;case'listStart':_0x26df88=_0x1e12('0x12'),_0x1b4dfc={'type':_0x1e12('0xd'),'content':_0x4007de(_0x3f22aa,_0x26df88,_0x406d4c[_0x1e12('0x7')][0x0][_0x1e12('0xf')])};}return _0x1b4dfc;}[_0x1e12('0x36')](){const _0x4dacd9=this['editor']['plugins'][_0x1e12('0x13')](_0x1e12('0x14'));let _0x14e76b=Array[_0x1e12('0xc')](this[_0x1e12('0x2d')][_0x1e12('0x10')]['document'][_0x1e12('0x31')][_0x1e12('0x30')]());return _0x14e76b[_0x1e12('0x1a')](..._0x4dacd9[_0x1e12('0x1')](_0x14e76b)),_0x14e76b=[...new Set(_0x14e76b)],_0x14e76b;}['_getSuggestionBlocks'](_0x50862c){const _0x3613b0=this['editor'][_0x1e12('0x24')]['get']('DocumentListUtils');let _0x266ce3=Array[_0x1e12('0xc')](this[_0x1e12('0x2d')]['model'][_0x1e12('0x1f')][_0x1e12('0x31')][_0x1e12('0x30')]())['filter'](_0x50862c);if(!_0x266ce3[_0x1e12('0x32')])return null;_0x266ce3=_0x3613b0[_0x1e12('0x1')](_0x266ce3);const _0x1a5896=[];for(const _0xd1ac4a of _0x266ce3)_0x3613b0[_0x1e12('0x1b')](_0xd1ac4a)&&_0x1a5896['push'](_0xd1ac4a);return _0x1a5896;}['_getTranslationKeyForListStyle'](_0x4fb273){return _0x1e12('0x15')+this['editor'][_0x1e12('0x24')][_0x1e12('0x13')](_0x1e12('0x2e'))[_0x1e12('0x8')](_0x4fb273)[_0x1e12('0x26')]()+_0x1e12('0x35')+_0x4fb273[_0x1e12('0x26')]()[_0x1e12('0x22')](/-/g,'_');}}
23
+ const _0x3e25=['plugins','document','getAttribute','*Change\x20to:*\x20%0','_getSuggestionBlocksForListStyle','afterInit','getListTypeFromListStyleType','expandListBlocksToCompleteList','toUpperCase','_descriptionFactory','_getSuggestionBlocks','TrackChangesEditing','listStart','styles','*Format:*\x20set\x20order\x20to\x20reversed','from','get','push','markMultiRangeBlockFormat','config','DocumentListPropertiesUtils','bind','DocumentListUtils','filter','isFirstBlockOfListItem','handleListStyleCommand','ELEMENT_','length','getSelectedBlocks','_getTranslationKeyForListStyle','listType','listStyle','startIndex','format','_LIST_','selection','list.properties','DocumentListPropertiesEditing','*Format:*\x20set\x20start\x20index\x20to\x20%0','model','listReversed','commandParams','type','editor','isListItemBlock','enableCommand','numbered','handleListStartCommand','reversed','handleDescriptions','change'];(function(_0x186525,_0x3e25d2){const _0x15c5b8=function(_0x27aa83){while(--_0x27aa83){_0x186525['push'](_0x186525['shift']());}};_0x15c5b8(++_0x3e25d2);}(_0x3e25,0xca));const _0x15c5=function(_0x186525,_0x3e25d2){_0x186525=_0x186525-0x0;let _0x15c5b8=_0x3e25[_0x186525];return _0x15c5b8;};import{Plugin as _0x3f31f8}from'ckeditor5/src/core';import{getTranslation as _0x5a3792}from'../utils/common-translations';export default class Ct extends _0x3f31f8{[_0x15c5('0x7')](){if(!this[_0x15c5('0x2d')][_0x15c5('0x2')]['has'](_0x15c5('0x27')))return;const _0x3e6c03=this[_0x15c5('0x2d')][_0x15c5('0x15')][_0x15c5('0x12')](_0x15c5('0x26')),_0x18899f=this[_0x15c5('0x2d')]['plugins']['get'](_0x15c5('0xd'));_0x3e6c03[_0x15c5('0xf')]&&_0x18899f[_0x15c5('0x2f')](_0x15c5('0x21'),this[_0x15c5('0x1b')][_0x15c5('0x17')](this)),_0x3e6c03[_0x15c5('0x32')]&&_0x18899f['enableCommand'](_0x15c5('0x2a'),this['handleListReversedCommand']['bind'](this)),_0x3e6c03[_0x15c5('0x22')]&&_0x18899f[_0x15c5('0x2f')](_0x15c5('0xe'),this['handleListStartCommand'][_0x15c5('0x17')](this)),_0x18899f[_0x15c5('0xb')]['registerDescriptionCallback'](this[_0x15c5('0x0')][_0x15c5('0x17')](this));}[_0x15c5('0x1b')](_0x6b086c,_0x541e1c={}){const _0x129b95=this['editor']['plugins'][_0x15c5('0x12')]('TrackChangesEditing'),_0x3cfc6e=this[_0x15c5('0x6')]();this['editor']['model']['change'](()=>{_0x129b95[_0x15c5('0x14')](_0x3cfc6e,{'commandName':_0x15c5('0x21'),'commandParams':[{'type':_0x541e1c[_0x15c5('0x2c')]}],'formatGroupId':_0x15c5('0x21')});});}['handleListReversedCommand'](_0x5ab3c1,_0x3bb865={}){const _0x12741a=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')](_0x15c5('0xd')),_0xc8b8a5=this[_0x15c5('0x2d')][_0x15c5('0x2')]['get'](_0x15c5('0x18')),_0x144072=this[_0x15c5('0xc')](_0x53aea5=>_0xc8b8a5['isListItemBlock'](_0x53aea5)&&_0x15c5('0x30')===_0x53aea5[_0x15c5('0x4')](_0x15c5('0x20')));null!==_0x144072&&this[_0x15c5('0x2d')][_0x15c5('0x29')][_0x15c5('0x1')](()=>{_0x12741a[_0x15c5('0x14')](_0x144072,{'commandName':'listReversed','commandParams':[{'reversed':_0x3bb865[_0x15c5('0x32')]}],'formatGroupId':'listReversed'});});}[_0x15c5('0x31')](_0x260232,_0xca3dc0={}){const _0x2f4bb4=this['editor'][_0x15c5('0x2')]['get'](_0x15c5('0xd')),_0x3b4b73=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')](_0x15c5('0x18')),_0x5ca6b5=this[_0x15c5('0xc')](_0x1aa7d6=>_0x3b4b73[_0x15c5('0x2e')](_0x1aa7d6)&&_0x15c5('0x30')===_0x1aa7d6[_0x15c5('0x4')](_0x15c5('0x20')));null!==_0x5ca6b5&&this[_0x15c5('0x2d')][_0x15c5('0x29')]['change'](()=>{_0x2f4bb4[_0x15c5('0x14')](_0x5ca6b5,{'commandName':_0x15c5('0xe'),'commandParams':[{'startIndex':_0xca3dc0[_0x15c5('0x22')]}],'formatGroupId':_0x15c5('0xe')});});}['handleDescriptions'](_0x4ce44c){const _0x13123c=this[_0x15c5('0x2d')]['locale'],{data:_0x30c678}=_0x4ce44c;if(!_0x30c678)return;let _0x3c67a8,_0x39eaad;switch(_0x30c678['commandName']){case'listStyle':_0x3c67a8=_0x15c5('0x5'),_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8,_0x5a3792(_0x13123c,this[_0x15c5('0x1f')](_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x2c')])))};break;case _0x15c5('0x2a'):_0x3c67a8=_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x32')]?_0x15c5('0x10'):'*Format:*\x20set\x20order\x20to\x20regular',_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8)};break;case _0x15c5('0xe'):_0x3c67a8=_0x15c5('0x28'),_0x39eaad={'type':_0x15c5('0x23'),'content':_0x5a3792(_0x13123c,_0x3c67a8,_0x30c678[_0x15c5('0x2b')][0x0][_0x15c5('0x22')])};}return _0x39eaad;}[_0x15c5('0x6')](){const _0x340ae1=this[_0x15c5('0x2d')][_0x15c5('0x2')][_0x15c5('0x12')]('DocumentListUtils');let _0x5512dd=Array[_0x15c5('0x11')](this[_0x15c5('0x2d')]['model'][_0x15c5('0x3')][_0x15c5('0x25')]['getSelectedBlocks']());return _0x5512dd[_0x15c5('0x13')](..._0x340ae1[_0x15c5('0x9')](_0x5512dd)),_0x5512dd=[...new Set(_0x5512dd)],_0x5512dd;}[_0x15c5('0xc')](_0x34d9e1){const _0x520bd2=this[_0x15c5('0x2d')][_0x15c5('0x2')]['get'](_0x15c5('0x18'));let _0x361f01=Array[_0x15c5('0x11')](this[_0x15c5('0x2d')][_0x15c5('0x29')][_0x15c5('0x3')]['selection'][_0x15c5('0x1e')]())[_0x15c5('0x19')](_0x34d9e1);if(!_0x361f01[_0x15c5('0x1d')])return null;_0x361f01=_0x520bd2[_0x15c5('0x9')](_0x361f01);const _0x263e61=[];for(const _0x46e03e of _0x361f01)_0x520bd2[_0x15c5('0x1a')](_0x46e03e)&&_0x263e61[_0x15c5('0x13')](_0x46e03e);return _0x263e61;}[_0x15c5('0x1f')](_0x10d4ec){return _0x15c5('0x1c')+this['editor']['plugins'][_0x15c5('0x12')](_0x15c5('0x16'))[_0x15c5('0x8')](_0x10d4ec)['toUpperCase']()+_0x15c5('0x24')+_0x10d4ec[_0x15c5('0xa')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ab6=['createRange','enableCommand','document','ck-suggestion-marker-split','commands','hasClass','enterBlock','nextSibling','model','TrackChangesEditing','setSelection','fire','mapper','get','enter','markerName','writer','getFirstPosition','createPositionAt','bind','plugins','requires','parent','afterExecute','editing','selection','addMarker:suggestion:insertion','markInsertion','unbindElementFromMarkerName','init','data','showSuggestionHighlights','high','downcastDispatcher','removeMarker:suggestion:insertion','editor','end','split'];(function(_0x51aa92,_0x3ab696){const _0x46fdac=function(_0x2738db){while(--_0x2738db){_0x51aa92['push'](_0x51aa92['shift']());}};_0x46fdac(++_0x3ab696);}(_0x3ab6,0x1bb));const _0x46fd=function(_0x51aa92,_0x3ab696){_0x51aa92=_0x51aa92-0x0;let _0x46fdac=_0x3ab6[_0x51aa92];return _0x46fdac;};import{Plugin as _0x238b40}from'ckeditor5/src/core';import{Enter as _0x40d9ec}from'ckeditor5/src/enter';import{LiveRange as _0x125b9b}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2a78ff}from'./utils';export default class z extends _0x238b40{static get[_0x46fd('0x22')](){return[_0x40d9ec];}[_0x46fd('0x4')](){const _0x9ac017=this[_0x46fd('0xa')],_0x5ab9ff=_0x9ac017[_0x46fd('0x21')][_0x46fd('0x1a')](_0x46fd('0x16')),_0x3649bd=_0x9ac017[_0x46fd('0x11')][_0x46fd('0x1a')](_0x46fd('0x1b'));_0x5ab9ff[_0x46fd('0xe')]('enter',()=>{_0x9ac017[_0x46fd('0x15')]['change'](_0x210eaa=>{const _0x55e31c=_0x9ac017[_0x46fd('0x15')][_0x46fd('0xf')][_0x46fd('0x0')],_0x33b5a3=_0x55e31c[_0x46fd('0x1e')](),_0x5d328d=_0x125b9b['fromRange'](_0x55e31c['getFirstRange']());if(_0x3649bd[_0x46fd('0x13')](_0x210eaa)){const _0x2b1bb0=_0x9ac017[_0x46fd('0x15')][_0x46fd('0x1f')](_0x33b5a3[_0x46fd('0x23')][_0x46fd('0x14')],0x0),_0x46df92=_0x210eaa[_0x46fd('0xd')](_0x33b5a3,_0x2b1bb0);_0x5ab9ff[_0x46fd('0x2')](_0x46df92);}else _0x210eaa[_0x46fd('0x17')](_0x210eaa['createRange'](_0x5d328d[_0x46fd('0xb')]));_0x5d328d['detach'](),_0x3649bd[_0x46fd('0x18')](_0x46fd('0x24'),{'writer':_0x210eaa});});}),_0x9ac017[_0x46fd('0x25')]['downcastDispatcher']['on'](_0x46fd('0x1'),_0x2a78ff(_0x9ac017,_0x46fd('0xc')),{'priority':_0x46fd('0x7')}),_0x9ac017[_0x46fd('0x25')][_0x46fd('0x8')]['on'](_0x46fd('0x9'),(_0x58d897,_0x5f431e,_0x3bd365)=>{const _0x47cdbd=_0x3bd365['mapper']['markerNameToElements'](_0x5f431e[_0x46fd('0x1c')]);if(_0x47cdbd)for(const _0x3d9f08 of _0x47cdbd)_0x3d9f08[_0x46fd('0x12')](_0x46fd('0x10'))&&(_0x3bd365[_0x46fd('0x19')][_0x46fd('0x3')](_0x3d9f08,_0x5f431e[_0x46fd('0x1c')]),_0x3bd365[_0x46fd('0x1d')]['remove'](_0x3d9f08));},{'priority':_0x46fd('0x7')}),_0x9ac017[_0x46fd('0x5')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x23f9c7,_0x86e09,_0x3ad01b)=>{_0x3ad01b['options'][_0x46fd('0x6')]&&_0x2a78ff(_0x9ac017,_0x46fd('0xc'),{'showActiveMarker':!0x1})[_0x46fd('0x20')](this)(_0x23f9c7,_0x86e09,_0x3ad01b);},{'priority':_0x46fd('0x7')});}}
23
+ const _0x56d3=['editor','bind','fire','unbindElementFromMarkerName','enter','createPositionAt','afterExecute','remove','addMarker:suggestion:insertion','setSelection','split','fromRange','high','get','data','ck-suggestion-marker-split','TrackChangesEditing','enableCommand','selection','markerName','end','markInsertion','writer','editing','detach','change','removeMarker:suggestion:insertion','model','commands','createRange','document','downcastDispatcher','markerNameToElements','parent','options','plugins'];(function(_0x549a36,_0x56d370){const _0x519448=function(_0x2d3b69){while(--_0x2d3b69){_0x549a36['push'](_0x549a36['shift']());}};_0x519448(++_0x56d370);}(_0x56d3,0x1c7));const _0x5194=function(_0x549a36,_0x56d370){_0x549a36=_0x549a36-0x0;let _0x519448=_0x56d3[_0x549a36];return _0x519448;};import{Plugin as _0x113289}from'ckeditor5/src/core';import{Enter as _0x35b610}from'ckeditor5/src/enter';import{LiveRange as _0x2e55c6}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x44dd96}from'./utils';export default class z extends _0x113289{static get['requires'](){return[_0x35b610];}['init'](){const _0x48397d=this[_0x5194('0xd')],_0x3763e1=_0x48397d[_0x5194('0xc')][_0x5194('0x1a')](_0x5194('0x1d')),_0x3aaadb=_0x48397d[_0x5194('0x5')][_0x5194('0x1a')](_0x5194('0x11'));_0x3763e1[_0x5194('0x1e')](_0x5194('0x11'),()=>{_0x48397d[_0x5194('0x4')][_0x5194('0x2')](_0x591c8c=>{const _0x107a7a=_0x48397d[_0x5194('0x4')][_0x5194('0x7')][_0x5194('0x1f')],_0x3b99b2=_0x107a7a['getFirstPosition'](),_0x33d8d7=_0x2e55c6[_0x5194('0x18')](_0x107a7a['getFirstRange']());if(_0x3aaadb['enterBlock'](_0x591c8c)){const _0x1de3b8=_0x48397d['model'][_0x5194('0x12')](_0x3b99b2[_0x5194('0xa')]['nextSibling'],0x0),_0x1a5f93=_0x591c8c[_0x5194('0x6')](_0x3b99b2,_0x1de3b8);_0x3763e1[_0x5194('0x22')](_0x1a5f93);}else _0x591c8c[_0x5194('0x16')](_0x591c8c[_0x5194('0x6')](_0x33d8d7[_0x5194('0x21')]));_0x33d8d7[_0x5194('0x1')](),_0x3aaadb[_0x5194('0xf')](_0x5194('0x13'),{'writer':_0x591c8c});});}),_0x48397d[_0x5194('0x0')][_0x5194('0x8')]['on'](_0x5194('0x15'),_0x44dd96(_0x48397d,_0x5194('0x17')),{'priority':_0x5194('0x19')}),_0x48397d[_0x5194('0x0')][_0x5194('0x8')]['on'](_0x5194('0x3'),(_0x34211d,_0x1470f6,_0x4ca24d)=>{const _0x4fbccc=_0x4ca24d['mapper'][_0x5194('0x9')](_0x1470f6[_0x5194('0x20')]);if(_0x4fbccc)for(const _0x505d1b of _0x4fbccc)_0x505d1b['hasClass'](_0x5194('0x1c'))&&(_0x4ca24d['mapper'][_0x5194('0x10')](_0x505d1b,_0x1470f6['markerName']),_0x4ca24d[_0x5194('0x23')][_0x5194('0x14')](_0x505d1b));},{'priority':_0x5194('0x19')}),_0x48397d[_0x5194('0x1b')][_0x5194('0x8')]['on']('addMarker:suggestion:insertion',(_0x47cca1,_0x7f09c,_0x27fc44)=>{_0x27fc44[_0x5194('0xb')]['showSuggestionHighlights']&&_0x44dd96(_0x48397d,_0x5194('0x17'),{'showActiveMarker':!0x1})[_0x5194('0xe')](this)(_0x47cca1,_0x7f09c,_0x27fc44);},{'priority':_0x5194('0x19')});}}
@@ -17,5 +17,5 @@ export default class TrackChangesFindAndReplace extends Plugin {
17
17
  handleFindCommand(executeCommand: Function, callbackOrText: Function | string, options?: {
18
18
  matchCase?: boolean;
19
19
  wholeWords?: boolean;
20
- }): void;
20
+ }): unknown;
21
21
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cc5=['filter','editor','end','start','enableCommand','suggestion:deletion','item','findNext','get','findByTextCallback','getRange','model','handleFindCommand','_isInDeletionRange','findPrevious','plugins','getIntersection','getMarkersGroup','string','markers','FindAndReplaceUtils','createPositionAt','FindAndReplaceEditing','TrackChangesEditing'];(function(_0x28790b,_0x3cc56d){const _0x1391bd=function(_0x1135ab){while(--_0x1135ab){_0x28790b['push'](_0x28790b['shift']());}};_0x1391bd(++_0x3cc56d);}(_0x3cc5,0x10e));const _0x1391=function(_0x28790b,_0x3cc56d){_0x28790b=_0x28790b-0x0;let _0x1391bd=_0x3cc5[_0x28790b];return _0x1391bd;};import{Plugin as _0x146550}from'ckeditor5/src/core';export default class H extends _0x146550{['afterInit'](){if(!this['editor'][_0x1391('0x9')]['has'](_0x1391('0x10')))return;const _0x54d5d2=this['editor']['plugins'][_0x1391('0x2')](_0x1391('0x11'));_0x54d5d2[_0x1391('0x16')]('find',this[_0x1391('0x6')]['bind'](this)),_0x54d5d2[_0x1391('0x16')](_0x1391('0x1')),_0x54d5d2['enableCommand'](_0x1391('0x8')),_0x54d5d2[_0x1391('0x16')]('replace'),_0x54d5d2[_0x1391('0x16')]('replaceAll');}['handleFindCommand'](_0x12491a,_0x24e947,_0x34373f={}){const _0x34120a=this[_0x1391('0x13')]['plugins'][_0x1391('0x2')](_0x1391('0xe'));void 0x0!==_0x34373f&&_0x12491a(_0x4f9e5b=>(_0x1391('0xc')==typeof _0x24e947?_0x34120a[_0x1391('0x3')](_0x24e947,_0x34373f):_0x24e947)(_0x4f9e5b)[_0x1391('0x12')](_0x561752=>!0x1===this[_0x1391('0x7')](_0x561752,_0x4f9e5b[_0x1391('0x0')])),_0x34373f);}[_0x1391('0x7')](_0x51c492,_0x4cb13b){const _0x18900f=this[_0x1391('0x13')][_0x1391('0x5')]['createRange'](this[_0x1391('0x13')][_0x1391('0x5')][_0x1391('0xf')](_0x4cb13b,_0x51c492[_0x1391('0x15')]),this[_0x1391('0x13')][_0x1391('0x5')]['createPositionAt'](_0x4cb13b,_0x51c492[_0x1391('0x14')]));for(const _0x2e5863 of this[_0x1391('0x13')]['model'][_0x1391('0xd')][_0x1391('0xb')](_0x1391('0x17')))if(null!==_0x18900f[_0x1391('0xa')](_0x2e5863[_0x1391('0x4')]()))return!0x0;return!0x1;}}
23
+ const _0x460d=['createPositionAt','suggestion:deletion','end','filter','findPrevious','find','findNext','FindAndReplaceUtils','plugins','has','getRange','getMarkersGroup','getIntersection','replaceAll','markers','handleFindCommand','editor','string','model','afterInit','enableCommand','_isInDeletionRange','get'];(function(_0x1276f7,_0x460df3){const _0x4d7a0e=function(_0xc342b2){while(--_0xc342b2){_0x1276f7['push'](_0x1276f7['shift']());}};_0x4d7a0e(++_0x460df3);}(_0x460d,0xb1));const _0x4d7a=function(_0x1276f7,_0x460df3){_0x1276f7=_0x1276f7-0x0;let _0x4d7a0e=_0x460d[_0x1276f7];return _0x4d7a0e;};import{Plugin as _0xf9166a}from'ckeditor5/src/core';export default class H extends _0xf9166a{[_0x4d7a('0x3')](){if(!this[_0x4d7a('0x0')]['plugins'][_0x4d7a('0x10')]('FindAndReplaceEditing'))return;const _0x8849f7=this['editor'][_0x4d7a('0xf')][_0x4d7a('0x6')]('TrackChangesEditing');_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xc'),this[_0x4d7a('0x16')]['bind'](this)),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xd')),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0xb')),_0x8849f7[_0x4d7a('0x4')]('replace'),_0x8849f7[_0x4d7a('0x4')](_0x4d7a('0x14'));}[_0x4d7a('0x16')](_0x38404d,_0x3a5c8f,_0x16fe95={}){const _0x41c1c3=this['editor']['plugins']['get'](_0x4d7a('0xe'));if(void 0x0!==_0x16fe95)return _0x38404d(_0x198586=>(_0x4d7a('0x1')==typeof _0x3a5c8f?_0x41c1c3['findByTextCallback'](_0x3a5c8f,_0x16fe95):_0x3a5c8f)(_0x198586)[_0x4d7a('0xa')](_0x56a4d1=>!0x1===this['_isInDeletionRange'](_0x56a4d1,_0x198586['item'])),_0x16fe95);}[_0x4d7a('0x5')](_0x119382,_0xd538d2){const _0x406982=this[_0x4d7a('0x0')][_0x4d7a('0x2')]['createRange'](this[_0x4d7a('0x0')][_0x4d7a('0x2')]['createPositionAt'](_0xd538d2,_0x119382['start']),this[_0x4d7a('0x0')][_0x4d7a('0x2')][_0x4d7a('0x7')](_0xd538d2,_0x119382[_0x4d7a('0x9')]));for(const _0x1644ad of this[_0x4d7a('0x0')][_0x4d7a('0x2')][_0x4d7a('0x15')][_0x4d7a('0x12')](_0x4d7a('0x8')))if(null!==_0x406982[_0x4d7a('0x13')](_0x1644ad[_0x4d7a('0x11')]()))return!0x0;return!0x1;}}