@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230904.0 → 0.0.0-nightly-20230906.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 (64) 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/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/importword.js +1 -1
  28. package/src/integrations/indent.js +1 -1
  29. package/src/integrations/inputcommand.js +1 -1
  30. package/src/integrations/link.js +1 -1
  31. package/src/integrations/list.js +1 -1
  32. package/src/integrations/listproperties.js +1 -1
  33. package/src/integrations/mediaembed.js +1 -1
  34. package/src/integrations/mention.js +1 -1
  35. package/src/integrations/pagebreak.js +1 -1
  36. package/src/integrations/paragraph.js +1 -1
  37. package/src/integrations/removeformat.js +1 -1
  38. package/src/integrations/restrictededitingmode.js +1 -1
  39. package/src/integrations/shiftentercommand.js +1 -1
  40. package/src/integrations/standardeditingmode.js +1 -1
  41. package/src/integrations/style.js +1 -1
  42. package/src/integrations/table.js +1 -1
  43. package/src/integrations/tablecaption.js +1 -1
  44. package/src/integrations/tableclipboard.js +1 -1
  45. package/src/integrations/tablecolumnresize.js +1 -1
  46. package/src/integrations/tableheadings.js +1 -1
  47. package/src/integrations/tablemergesplit.js +1 -1
  48. package/src/integrations/tableofcontents.js +1 -1
  49. package/src/integrations/tableproperties.js +1 -1
  50. package/src/integrations/template.js +1 -1
  51. package/src/integrations/title.js +1 -1
  52. package/src/integrations/undo.js +1 -1
  53. package/src/integrations/utils.js +1 -1
  54. package/src/suggestion.js +1 -1
  55. package/src/suggestiondescriptionfactory.js +1 -1
  56. package/src/trackchanges.js +1 -1
  57. package/src/trackchangesdata.js +1 -1
  58. package/src/trackchangesediting.js +1 -1
  59. package/src/trackchangesui.js +1 -1
  60. package/src/ui/suggestioncontroller.js +1 -1
  61. package/src/ui/view/basesuggestionthreadview.js +1 -1
  62. package/src/ui/view/suggestionthreadview.js +1 -1
  63. package/src/utils/common-translations.js +1 -1
  64. 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-20230904.0",
3
+ "version": "0.0.0-nightly-20230906.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-20230904.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20230904.0",
42
+ "ckeditor5": "0.0.0-nightly-20230906.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20230906.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 _0xb225=['get','acceptSuggestion','_suggestions','track-changes-accept-suggestion-not-found','plugins','isEnabled','editor','canEditAt','refresh','getRanges','execute','TrackChangesEditing'];(function(_0x42460d,_0xb225ab){const _0x5a4400=function(_0xa597b5){while(--_0xa597b5){_0x42460d['push'](_0x42460d['shift']());}};_0x5a4400(++_0xb225ab);}(_0xb225,0x17a));const _0x5a44=function(_0x42460d,_0xb225ab){_0x42460d=_0x42460d-0x0;let _0x5a4400=_0xb225[_0x42460d];return _0x5a4400;};import{Command as _0xedb521}from'ckeditor5/src/core';import{CKEditorError as _0x55adb8}from'ckeditor5/src/utils';export default class M extends _0xedb521{constructor(_0x8cf7bf,_0xc4aa6b){super(_0x8cf7bf),this[_0x5a44('0x8')]=_0xc4aa6b,this[_0x5a44('0x2')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5a44('0x2')](){this[_0x5a44('0xb')]=!0x0;}[_0x5a44('0x4')](_0x4bc94e){const _0x96dc88=this['_suggestions'][_0x5a44('0x6')](_0x4bc94e);if(!_0x96dc88)throw new _0x55adb8(_0x5a44('0x9'),this);const _0x5ac876=_0x96dc88[_0x5a44('0x3')]();this[_0x5a44('0x0')]['model'][_0x5a44('0x1')](_0x5ac876)&&this['editor'][_0x5a44('0xa')][_0x5a44('0x6')](_0x5a44('0x5'))[_0x5a44('0x7')](_0x96dc88);}}
23
+ const _0x299b=['execute','model','TrackChangesEditing','_suggestions','refresh','track-changes-accept-suggestion-not-found','canEditAt','editor','acceptSuggestion','get','getRanges'];(function(_0x340e20,_0x299ba6){const _0x41a54a=function(_0x2d4a54){while(--_0x2d4a54){_0x340e20['push'](_0x340e20['shift']());}};_0x41a54a(++_0x299ba6);}(_0x299b,0x13e));const _0x41a5=function(_0x340e20,_0x299ba6){_0x340e20=_0x340e20-0x0;let _0x41a54a=_0x299b[_0x340e20];return _0x41a54a;};import{Command as _0x30f46c}from'ckeditor5/src/core';import{CKEditorError as _0xc02def}from'ckeditor5/src/utils';export default class M extends _0x30f46c{constructor(_0x2dcc08,_0x4a5d69){super(_0x2dcc08),this[_0x41a5('0x4')]=_0x4a5d69,this[_0x41a5('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x41a5('0x5')](){this['isEnabled']=!0x0;}[_0x41a5('0x1')](_0x4ef479){const _0x4a73e1=this[_0x41a5('0x4')]['get'](_0x4ef479);if(!_0x4a73e1)throw new _0xc02def(_0x41a5('0x6'),this);const _0x42590c=_0x4a73e1[_0x41a5('0x0')]();this[_0x41a5('0x8')][_0x41a5('0x2')][_0x41a5('0x7')](_0x42590c)&&this[_0x41a5('0x8')]['plugins'][_0x41a5('0xa')](_0x41a5('0x3'))[_0x41a5('0x9')](_0x4a73e1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x179f=['get','editor','plugins','discardSuggestion','execute','track-changes-discard-suggestion-not-found','_isEnabledBasedOnSelection','canEditAt','TrackChangesEditing','getRanges','refresh','model','_suggestions'];(function(_0x2dfa99,_0x179f0b){const _0x4bc4b5=function(_0x524220){while(--_0x524220){_0x2dfa99['push'](_0x2dfa99['shift']());}};_0x4bc4b5(++_0x179f0b);}(_0x179f,0x125));const _0x4bc4=function(_0x2dfa99,_0x179f0b){_0x2dfa99=_0x2dfa99-0x0;let _0x4bc4b5=_0x179f[_0x2dfa99];return _0x4bc4b5;};import{Command as _0x180207}from'ckeditor5/src/core';import{CKEditorError as _0x18e16c}from'ckeditor5/src/utils';export default class $ extends _0x180207{constructor(_0x327d4c,_0x148952){super(_0x327d4c),this[_0x4bc4('0x5')]=_0x148952,this[_0x4bc4('0x3')](),this[_0x4bc4('0xc')]=!0x1;}[_0x4bc4('0x3')](){this['isEnabled']=!0x0;}[_0x4bc4('0xa')](_0x1c8efa){const _0x1cf56b=this[_0x4bc4('0x5')][_0x4bc4('0x6')](_0x1c8efa);if(!_0x1cf56b)throw new _0x18e16c(_0x4bc4('0xb'),this);const _0x175949=_0x1cf56b[_0x4bc4('0x2')]();this['editor'][_0x4bc4('0x4')][_0x4bc4('0x0')](_0x175949)&&this[_0x4bc4('0x7')][_0x4bc4('0x8')][_0x4bc4('0x6')](_0x4bc4('0x1'))[_0x4bc4('0x9')](_0x1cf56b);}}
23
+ const _0x54a8=['refresh','editor','model','track-changes-discard-suggestion-not-found','isEnabled','execute','discardSuggestion','TrackChangesEditing','plugins','get','_isEnabledBasedOnSelection'];(function(_0x5a4faa,_0x54a80c){const _0x9dae82=function(_0x555672){while(--_0x555672){_0x5a4faa['push'](_0x5a4faa['shift']());}};_0x9dae82(++_0x54a80c);}(_0x54a8,0x1df));const _0x9dae=function(_0x5a4faa,_0x54a80c){_0x5a4faa=_0x5a4faa-0x0;let _0x9dae82=_0x54a8[_0x5a4faa];return _0x9dae82;};import{Command as _0x3a4b6d}from'ckeditor5/src/core';import{CKEditorError as _0x4d99ad}from'ckeditor5/src/utils';export default class $ extends _0x3a4b6d{constructor(_0x221f6a,_0x389071){super(_0x221f6a),this['_suggestions']=_0x389071,this[_0x9dae('0x5')](),this[_0x9dae('0x4')]=!0x1;}[_0x9dae('0x5')](){this[_0x9dae('0x9')]=!0x0;}[_0x9dae('0xa')](_0x14163d){const _0x5fdd70=this['_suggestions'][_0x9dae('0x3')](_0x14163d);if(!_0x5fdd70)throw new _0x4d99ad(_0x9dae('0x8'),this);const _0x21d674=_0x5fdd70['getRanges']();this['editor'][_0x9dae('0x7')]['canEditAt'](_0x21d674)&&this[_0x9dae('0x6')][_0x9dae('0x2')][_0x9dae('0x3')](_0x9dae('0x1'))[_0x9dae('0x0')](_0x5fdd70);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x910a=['canEditAt','_isEnabledBasedOnSelection','_suggestions','editor','from','model','execute','isInContent','getRanges','refresh','isEnabled','values'];(function(_0x4a67cc,_0x910a7c){const _0x4e6e98=function(_0x5383ac){while(--_0x5383ac){_0x4a67cc['push'](_0x4a67cc['shift']());}};_0x4e6e98(++_0x910a7c);}(_0x910a,0x19c));const _0x4e6e=function(_0x4a67cc,_0x910a7c){_0x4a67cc=_0x4a67cc-0x0;let _0x4e6e98=_0x910a[_0x4a67cc];return _0x4e6e98;};import{Command as _0x39eafa}from'ckeditor5/src/core';import{sortSuggestions as _0x5da41e,executeCommandForSuggestions as _0x558b15}from'../utils/utils';export default class N extends _0x39eafa{constructor(_0x5382a1,_0xc7e044,_0x1de7d7){super(_0x5382a1),this['_command']=_0xc7e044,this[_0x4e6e('0xa')]=_0x1de7d7,this[_0x4e6e('0x5')](),this[_0x4e6e('0x9')]=!0x1;}['refresh'](){const _0x1c8dd9=Array['from'](this[_0x4e6e('0xa')][_0x4e6e('0x7')]())['some'](_0x2738a8=>_0x2738a8[_0x4e6e('0x3')]);this[_0x4e6e('0x6')]=this['_command'][_0x4e6e('0x6')]&&_0x1c8dd9;}[_0x4e6e('0x2')](){const _0x4b55b7=_0x5da41e(Array[_0x4e6e('0x0')](this[_0x4e6e('0xa')][_0x4e6e('0x7')]()));for(const _0x2a89ad of _0x4b55b7){const _0x4d40ea=_0x2a89ad[_0x4e6e('0x4')]();if(!this['editor'][_0x4e6e('0x1')][_0x4e6e('0x8')](_0x4d40ea))return;}_0x558b15(this[_0x4e6e('0xb')]['model'],this['_command'],_0x4b55b7);}}
23
+ const _0x1877=['isEnabled','model','refresh','canEditAt','_command','_isEnabledBasedOnSelection','from','isInContent','_suggestions','values','editor'];(function(_0x53b2a5,_0x1877e7){const _0x99b1fa=function(_0x441626){while(--_0x441626){_0x53b2a5['push'](_0x53b2a5['shift']());}};_0x99b1fa(++_0x1877e7);}(_0x1877,0x1c3));const _0x99b1=function(_0x53b2a5,_0x1877e7){_0x53b2a5=_0x53b2a5-0x0;let _0x99b1fa=_0x1877[_0x53b2a5];return _0x99b1fa;};import{Command as _0x4d7a97}from'ckeditor5/src/core';import{sortSuggestions as _0x15a774,executeCommandForSuggestions as _0x2257cb}from'../utils/utils';export default class N extends _0x4d7a97{constructor(_0x2b6eb3,_0x121081,_0x294298){super(_0x2b6eb3),this[_0x99b1('0x4')]=_0x121081,this['_suggestions']=_0x294298,this[_0x99b1('0x2')](),this[_0x99b1('0x5')]=!0x1;}['refresh'](){const _0x181c6b=Array['from'](this[_0x99b1('0x8')]['values']())['some'](_0x49e4f1=>_0x49e4f1[_0x99b1('0x7')]);this[_0x99b1('0x0')]=this[_0x99b1('0x4')]['isEnabled']&&_0x181c6b;}['execute'](){const _0x1fa41d=_0x15a774(Array[_0x99b1('0x6')](this[_0x99b1('0x8')][_0x99b1('0x9')]()));for(const _0xd4d408 of _0x1fa41d){const _0x29ba7b=_0xd4d408['getRanges']();if(!this[_0x99b1('0xa')][_0x99b1('0x1')][_0x99b1('0x3')](_0x29ba7b))return;}_0x2257cb(this[_0x99b1('0xa')]['model'],this[_0x99b1('0x4')],_0x1fa41d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4aa1=['editor','from','document','_command','selection','_selectedSuggestions','execute','model','isEnabled','canEditAt','refresh','values','_isEnabledBasedOnSelection','size','_suggestions'];(function(_0x5ebe90,_0x4aa196){const _0x416039=function(_0x478a61){while(--_0x478a61){_0x5ebe90['push'](_0x5ebe90['shift']());}};_0x416039(++_0x4aa196);}(_0x4aa1,0x1f2));const _0x4160=function(_0x5ebe90,_0x4aa196){_0x5ebe90=_0x5ebe90-0x0;let _0x416039=_0x4aa1[_0x5ebe90];return _0x416039;};import{Command as _0x277515}from'ckeditor5/src/core';import{sortSuggestions as _0x469189,getSelectedSuggestions as _0x14fa31,executeCommandForSuggestions as _0x4abb89}from'../utils/utils';export default class R extends _0x277515{constructor(_0x4132f8,_0x11531d,_0x12ad2a){super(_0x4132f8),this[_0x4160('0x0')]=_0x11531d,this[_0x4160('0xb')]=_0x12ad2a,this[_0x4160('0x2')]=new Set(),this['refresh'](),this[_0x4160('0x9')]=!0x1;}[_0x4160('0x7')](){const _0x110967=this[_0x4160('0xc')][_0x4160('0x4')][_0x4160('0xe')][_0x4160('0x1')],_0x269b2c=Array[_0x4160('0xd')](this[_0x4160('0xb')][_0x4160('0x8')]());this[_0x4160('0x2')]=_0x14fa31(_0x110967,_0x269b2c),this[_0x4160('0x5')]=this[_0x4160('0x0')][_0x4160('0x5')]&&!!this[_0x4160('0x2')][_0x4160('0xa')];}[_0x4160('0x3')](){const _0xde7b9=_0x469189(Array['from'](this[_0x4160('0x2')]));for(const _0x54af47 of _0xde7b9){const _0xb0e545=_0x54af47['getRanges']();if(!this[_0x4160('0xc')]['model'][_0x4160('0x6')](_0xb0e545))return;}_0x4abb89(this[_0x4160('0xc')][_0x4160('0x4')],this['_command'],_0xde7b9);}}
23
+ const _0x563e=['document','isEnabled','size','editor','_suggestions','values','refresh','getRanges','execute','model','_command','from','_selectedSuggestions'];(function(_0x5a404b,_0x563efa){const _0x8cbf77=function(_0x4591d4){while(--_0x4591d4){_0x5a404b['push'](_0x5a404b['shift']());}};_0x8cbf77(++_0x563efa);}(_0x563e,0x1df));const _0x8cbf=function(_0x5a404b,_0x563efa){_0x5a404b=_0x5a404b-0x0;let _0x8cbf77=_0x563e[_0x5a404b];return _0x8cbf77;};import{Command as _0x59ee71}from'ckeditor5/src/core';import{sortSuggestions as _0x3e0a9a,getSelectedSuggestions as _0x38a85d,executeCommandForSuggestions as _0x56ee1e}from'../utils/utils';export default class R extends _0x59ee71{constructor(_0x19465f,_0x4dd1b0,_0x12a430){super(_0x19465f),this[_0x8cbf('0xc')]=_0x4dd1b0,this['_suggestions']=_0x12a430,this[_0x8cbf('0x1')]=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x8cbf('0x8')](){const _0x504d73=this['editor'][_0x8cbf('0xb')][_0x8cbf('0x2')]['selection'],_0x5812a7=Array['from'](this[_0x8cbf('0x6')][_0x8cbf('0x7')]());this[_0x8cbf('0x1')]=_0x38a85d(_0x504d73,_0x5812a7),this[_0x8cbf('0x3')]=this['_command'][_0x8cbf('0x3')]&&!!this[_0x8cbf('0x1')][_0x8cbf('0x4')];}[_0x8cbf('0xa')](){const _0x424297=_0x3e0a9a(Array[_0x8cbf('0x0')](this[_0x8cbf('0x1')]));for(const _0x492317 of _0x424297){const _0x318f93=_0x492317[_0x8cbf('0x9')]();if(!this[_0x8cbf('0x5')][_0x8cbf('0xb')]['canEditAt'](_0x318f93))return;}_0x56ee1e(this['editor']['model'],this[_0x8cbf('0xc')],_0x424297);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b0a=['affectsData','_enabledCommands','isEnabled','TrackChangesCommand','editor','value','refresh','_disableUnsupportedCommands','commands','clearForceDisabled','_isEnabledBasedOnSelection','_enableCommands','has','forceDisabled'];(function(_0x4f5f27,_0x3b0acd){const _0x3a7c4d=function(_0x50403f){while(--_0x50403f){_0x4f5f27['push'](_0x4f5f27['shift']());}};_0x3a7c4d(++_0x3b0acd);}(_0x3b0a,0x78));const _0x3a7c=function(_0x4f5f27,_0x3b0acd){_0x4f5f27=_0x4f5f27-0x0;let _0x3a7c4d=_0x3b0a[_0x4f5f27];return _0x3a7c4d;};import{Command as _0x3f28bd}from'ckeditor5/src/core';export default class _ extends _0x3f28bd{constructor(_0xdbb866,_0x37d787){super(_0xdbb866),this[_0x3a7c('0x7')]=_0x37d787,this[_0x3a7c('0xb')]=!0x1,this[_0x3a7c('0xc')](),this[_0x3a7c('0x2')]=!0x1;}['refresh'](){this[_0x3a7c('0x8')]=!0x0;}['execute'](){this['value']=!this[_0x3a7c('0xb')],this[_0x3a7c('0xb')]?this[_0x3a7c('0xd')]():this['_enableCommands']();}[_0x3a7c('0xd')](){for(const _0x3ac4e4 of this[_0x3a7c('0xa')][_0x3a7c('0x0')][_0x3a7c('0x0')]())_0x3ac4e4[_0x3a7c('0x6')]&&!this['_enabledCommands'][_0x3a7c('0x4')](_0x3ac4e4)&&_0x3ac4e4[_0x3a7c('0x5')](_0x3a7c('0x9'));}[_0x3a7c('0x3')](){for(const _0x3e89b7 of this[_0x3a7c('0xa')]['commands'][_0x3a7c('0x0')]())_0x3e89b7['affectsData']&&!this[_0x3a7c('0x7')][_0x3a7c('0x4')](_0x3e89b7)&&_0x3e89b7[_0x3a7c('0x1')]('TrackChangesCommand');}}
23
+ const _0x16d9=['editor','forceDisabled','TrackChangesCommand','clearForceDisabled','commands','value','_isEnabledBasedOnSelection','_enabledCommands','isEnabled','execute','affectsData','refresh','_enableCommands','has','_disableUnsupportedCommands'];(function(_0x697791,_0x16d9a6){const _0x3003ab=function(_0x35a63c){while(--_0x35a63c){_0x697791['push'](_0x697791['shift']());}};_0x3003ab(++_0x16d9a6);}(_0x16d9,0x7f));const _0x3003=function(_0x697791,_0x16d9a6){_0x697791=_0x697791-0x0;let _0x3003ab=_0x16d9[_0x697791];return _0x3003ab;};import{Command as _0x9a04ee}from'ckeditor5/src/core';export default class _ extends _0x9a04ee{constructor(_0x4763c6,_0x73682a){super(_0x4763c6),this['_enabledCommands']=_0x73682a,this[_0x3003('0xd')]=!0x1,this['refresh'](),this[_0x3003('0xe')]=!0x1;}[_0x3003('0x4')](){this[_0x3003('0x1')]=!0x0;}[_0x3003('0x2')](){this[_0x3003('0xd')]=!this[_0x3003('0xd')],this[_0x3003('0xd')]?this[_0x3003('0x7')]():this[_0x3003('0x5')]();}[_0x3003('0x7')](){for(const _0x5eb46b of this[_0x3003('0x8')][_0x3003('0xc')][_0x3003('0xc')]())_0x5eb46b[_0x3003('0x3')]&&!this[_0x3003('0x0')]['has'](_0x5eb46b)&&_0x5eb46b[_0x3003('0x9')](_0x3003('0xa'));}[_0x3003('0x5')](){for(const _0x21b5bc of this['editor'][_0x3003('0xc')][_0x3003('0xc')]())_0x21b5bc[_0x3003('0x3')]&&!this[_0x3003('0x0')][_0x3003('0x6')](_0x21b5bc)&&_0x21b5bc[_0x3003('0xb')](_0x3003('0xa'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5aeb=['*Format:*\x20%0','value','AlignmentEditing','justify','from','afterInit','right','getSelectedBlocks','locale','alignment','TrackChangesEditing','editor','enableCommand','schema','change','contentLanguageDirection','left','format','plugins','markBlockFormat','get','getAttribute','model','FORMAT_ALIGN_TO_LEFT'];(function(_0x410294,_0x5aeb60){const _0x9e70e6=function(_0x4c8cb7){while(--_0x4c8cb7){_0x410294['push'](_0x410294['shift']());}};_0x9e70e6(++_0x5aeb60);}(_0x5aeb,0x175));const _0x9e70=function(_0x410294,_0x5aeb60){_0x410294=_0x410294-0x0;let _0x9e70e6=_0x5aeb[_0x410294];return _0x9e70e6;};import{Plugin as _0xcf2934}from'ckeditor5/src/core';import{getTranslation as _0xa27a1}from'../utils/common-translations';export default class j extends _0xcf2934{[_0x9e70('0x10')](){const _0x18ecca=this[_0x9e70('0x16')],_0xc6589c=_0x18ecca[_0x9e70('0x13')];if(!_0x18ecca[_0x9e70('0x5')]['has'](_0x9e70('0xd')))return;const _0x290c08=_0x18ecca[_0x9e70('0x5')][_0x9e70('0x7')](_0x9e70('0x15'));_0x290c08[_0x9e70('0x17')](_0x9e70('0x14'),(_0x3fdb13,_0x4479a5={})=>{let _0x14ef35=_0x4479a5[_0x9e70('0xc')];_0x4479a5[_0x9e70('0xc')]||(_0x14ef35='ltr'===_0x18ecca[_0x9e70('0x13')][_0x9e70('0x2')]?'left':_0x9e70('0x11'));const _0x390adb=Array[_0x9e70('0xf')](this[_0x9e70('0x16')][_0x9e70('0x9')]['document']['selection'][_0x9e70('0x12')]())['filter'](_0x476691=>function(_0xd3635f,_0x355b32,_0xbdf2cf){const _0x4c8e72=_0xd3635f[_0x9e70('0x8')](_0x9e70('0x14'))||null;return _0x355b32['checkAttribute'](_0xd3635f,_0x9e70('0x14'))&&_0xbdf2cf!=_0x4c8e72;}(_0x476691,this[_0x9e70('0x16')]['model'][_0x9e70('0x0')],_0x14ef35));_0x18ecca[_0x9e70('0x9')][_0x9e70('0x1')](()=>{for(const _0x2fdcbd of _0x390adb)_0x290c08[_0x9e70('0x6')](_0x2fdcbd,{'commandName':_0x9e70('0x14'),'commandParams':[{'value':_0x14ef35}]});});}),_0x290c08['_descriptionFactory']['registerDescriptionCallback'](_0x5ca4e0=>{const {data:_0x5a49e7}=_0x5ca4e0;if(_0x5a49e7&&_0x9e70('0x14')==_0x5a49e7['commandName']){const _0x4de43d=_0x5a49e7['commandParams'][0x0][_0x9e70('0xc')];return{'type':_0x9e70('0x4'),'content':_0xa27a1(_0xc6589c,_0x9e70('0xb'),function(_0xd3cfe5){switch(_0xd3cfe5){case _0x9e70('0x3'):return _0xa27a1(_0xc6589c,_0x9e70('0xa'));case _0x9e70('0x11'):return _0xa27a1(_0xc6589c,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0xa27a1(_0xc6589c,'FORMAT_ALIGN_TO_CENTER');case _0x9e70('0xe'):return _0xa27a1(_0xc6589c,'FORMAT_JUSTIFY_TEXT');}}(_0x4de43d))};}});}}
23
+ const _0x2860=['document','checkAttribute','AlignmentEditing','getAttribute','editor','justify','has','getSelectedBlocks','format','_descriptionFactory','center','right','model','markBlockFormat','locale','TrackChangesEditing','from','value','get','FORMAT_ALIGN_TO_CENTER','FORMAT_ALIGN_TO_LEFT','alignment','change'];(function(_0x2a1206,_0x286002){const _0x3dfe19=function(_0x580588){while(--_0x580588){_0x2a1206['push'](_0x2a1206['shift']());}};_0x3dfe19(++_0x286002);}(_0x2860,0x114));const _0x3dfe=function(_0x2a1206,_0x286002){_0x2a1206=_0x2a1206-0x0;let _0x3dfe19=_0x2860[_0x2a1206];return _0x3dfe19;};import{Plugin as _0x1a8e38}from'ckeditor5/src/core';import{getTranslation as _0x171e86}from'../utils/common-translations';export default class j extends _0x1a8e38{['afterInit'](){const _0x41fd41=this['editor'],_0x562b1f=_0x41fd41[_0x3dfe('0xe')];if(!_0x41fd41['plugins'][_0x3dfe('0x6')](_0x3dfe('0x2')))return;const _0x3e9f1b=_0x41fd41['plugins'][_0x3dfe('0x12')](_0x3dfe('0xf'));_0x3e9f1b['enableCommand'](_0x3dfe('0x15'),(_0x2cd506,_0x56d401={})=>{let _0x101d82=_0x56d401['value'];_0x56d401[_0x3dfe('0x11')]||(_0x101d82='ltr'===_0x41fd41['locale']['contentLanguageDirection']?'left':_0x3dfe('0xb'));const _0x51b21f=Array[_0x3dfe('0x10')](this[_0x3dfe('0x4')]['model'][_0x3dfe('0x0')]['selection'][_0x3dfe('0x7')]())['filter'](_0x44a11a=>function(_0x57fd0c,_0x3da021,_0x228b9e){const _0x50b1bb=_0x57fd0c[_0x3dfe('0x3')](_0x3dfe('0x15'))||null;return _0x3da021[_0x3dfe('0x1')](_0x57fd0c,'alignment')&&_0x228b9e!=_0x50b1bb;}(_0x44a11a,this[_0x3dfe('0x4')][_0x3dfe('0xc')]['schema'],_0x101d82));_0x41fd41['model'][_0x3dfe('0x16')](()=>{for(const _0x3cf345 of _0x51b21f)_0x3e9f1b[_0x3dfe('0xd')](_0x3cf345,{'commandName':_0x3dfe('0x15'),'commandParams':[{'value':_0x101d82}]});});}),_0x3e9f1b[_0x3dfe('0x9')]['registerDescriptionCallback'](_0x4f570e=>{const {data:_0x5bd75e}=_0x4f570e;if(_0x5bd75e&&_0x3dfe('0x15')==_0x5bd75e['commandName']){const _0xf7dae=_0x5bd75e['commandParams'][0x0][_0x3dfe('0x11')];return{'type':_0x3dfe('0x8'),'content':_0x171e86(_0x562b1f,'*Format:*\x20%0',function(_0x31fb0e){switch(_0x31fb0e){case'left':return _0x171e86(_0x562b1f,_0x3dfe('0x14'));case'right':return _0x171e86(_0x562b1f,'FORMAT_ALIGN_TO_RIGHT');case _0x3dfe('0xa'):return _0x171e86(_0x562b1f,_0x3dfe('0x13'));case _0x3dfe('0x5'):return _0x171e86(_0x562b1f,'FORMAT_JUSTIFY_TEXT');}}(_0xf7dae))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cc5=['FORMAT_UNDERLINE','*Format:*\x20%0','superscript','slice','bold','format','toLowerCase','commands','_descriptionFactory','*Remove\x20format:*\x20%0','locale','value','underline','get','CodeEditing','document','BoldEditing','forceValue','has','getRanges','isCollapsed','commandName','FORMAT_SUPERSCRIPT','afterInit','plugins','enableCommand','strikethrough','FORMAT_SUBSCRIPT','from','code','FORMAT_CODE','subscript','UnderlineEditing','markInlineFormat','FORMAT_STRIKETHROUGH','FORMAT_BOLD'];(function(_0x5d4ee5,_0x3cc544){const _0x450f5b=function(_0x2f25c2){while(--_0x2f25c2){_0x5d4ee5['push'](_0x5d4ee5['shift']());}};_0x450f5b(++_0x3cc544);}(_0x3cc5,0x1ec));const _0x450f=function(_0x5d4ee5,_0x3cc544){_0x5d4ee5=_0x5d4ee5-0x0;let _0x450f5b=_0x3cc5[_0x5d4ee5];return _0x450f5b;};import{Plugin as _0x257e32}from'ckeditor5/src/core';import{getTranslation as _0x7f65a7}from'../utils/common-translations';import{getRangesWithAttribute as _0x595979}from'./utils';const Yt=[_0x450f('0x1c'),'ItalicEditing',_0x450f('0x8'),_0x450f('0x1a'),'StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class x extends _0x257e32{[_0x450f('0x23')](){const _0xe8fe0=this['editor'],_0x43f5fd=_0xe8fe0['model'],_0x22c717=_0xe8fe0[_0x450f('0x0')]['get']('TrackChangesEditing'),_0x3f1af3=_0xe8fe0[_0x450f('0x16')];for(const _0x53fd01 of Yt){if(!_0xe8fe0[_0x450f('0x0')][_0x450f('0x1e')](_0x53fd01))continue;const _0x277f91=_0x53fd01[_0x450f('0xf')](0x0,-0x7)[_0x450f('0x12')](),_0xd87b68=_0xe8fe0[_0x450f('0x13')][_0x450f('0x19')](_0x277f91);_0x22c717[_0x450f('0x1')](_0x277f91,(_0x31ae82,_0x165565={})=>{const _0x4db1ee=_0x43f5fd[_0x450f('0x1b')]['selection'];if(_0x4db1ee[_0x450f('0x20')])return void _0x31ae82(_0x165565);const _0x57e0fe=void 0x0!==_0x165565[_0x450f('0x1d')]?_0x165565['forceValue']:!_0xd87b68[_0x450f('0x17')];_0x43f5fd['change'](()=>{const _0x570b0d=Array[_0x450f('0x4')](_0x4db1ee[_0x450f('0x1f')]());for(const _0x2c5295 of _0x570b0d){const _0x5ccbe5=_0x57e0fe?[_0x2c5295]:_0x595979(_0x277f91,_0x2c5295,_0x43f5fd);for(const _0x480903 of _0x5ccbe5)_0x22c717[_0x450f('0x9')](_0x480903,{'commandName':_0x277f91,'commandParams':[{'forceValue':_0x57e0fe}]});}});});}function _0x4f48f8(_0x13d6d9,_0x285173){_0x22c717[_0x450f('0x14')]['registerDescriptionCallback'](_0x27cb16=>{const {data:_0x732c5c}=_0x27cb16;if(_0x732c5c&&_0x732c5c[_0x450f('0x21')]===_0x13d6d9)return _0x732c5c['commandParams'][0x0][_0x450f('0x1d')]?{'type':_0x450f('0x11'),'content':_0x7f65a7(_0x3f1af3,_0x450f('0xd'),_0x285173)}:{'type':_0x450f('0x11'),'content':_0x7f65a7(_0x3f1af3,_0x450f('0x15'),_0x285173)};});}_0x4f48f8(_0x450f('0x10'),_0x7f65a7(_0x3f1af3,_0x450f('0xb'))),_0x4f48f8('italic',_0x7f65a7(_0x3f1af3,'FORMAT_ITALIC')),_0x4f48f8(_0x450f('0x18'),_0x7f65a7(_0x3f1af3,_0x450f('0xc'))),_0x4f48f8(_0x450f('0x5'),_0x7f65a7(_0x3f1af3,_0x450f('0x6'))),_0x4f48f8(_0x450f('0x2'),_0x7f65a7(_0x3f1af3,_0x450f('0xa'))),_0x4f48f8(_0x450f('0x7'),_0x7f65a7(_0x3f1af3,_0x450f('0x3'))),_0x4f48f8(_0x450f('0xe'),_0x7f65a7(_0x3f1af3,_0x450f('0x22')));}}
23
+ const _0xa38b=['*Remove\x20format:*\x20%0','FORMAT_SUBSCRIPT','BoldEditing','FORMAT_ITALIC','format','value','ItalicEditing','StrikethroughEditing','italic','from','isCollapsed','SubscriptEditing','slice','locale','*Format:*\x20%0','model','TrackChangesEditing','FORMAT_SUPERSCRIPT','superscript','document','markInlineFormat','registerDescriptionCallback','has','SuperscriptEditing','get','FORMAT_BOLD','FORMAT_UNDERLINE','CodeEditing','underline','commandParams','commands','forceValue','subscript','strikethrough','toLowerCase','_descriptionFactory','plugins','getRanges','selection'];(function(_0x58aa39,_0xa38ba6){const _0x2848b7=function(_0x47ca1e){while(--_0x47ca1e){_0x58aa39['push'](_0x58aa39['shift']());}};_0x2848b7(++_0xa38ba6);}(_0xa38b,0x1d8));const _0x2848=function(_0x58aa39,_0xa38ba6){_0x58aa39=_0x58aa39-0x0;let _0x2848b7=_0xa38b[_0x58aa39];return _0x2848b7;};import{Plugin as _0x3b8b77}from'ckeditor5/src/core';import{getTranslation as _0x540486}from'../utils/common-translations';import{getRangesWithAttribute as _0x5584bc}from'./utils';const Yt=[_0x2848('0x25'),_0x2848('0x2'),'UnderlineEditing',_0x2848('0x17'),_0x2848('0x3'),_0x2848('0x7'),_0x2848('0x13')];export default class x extends _0x3b8b77{['afterInit'](){const _0x2b1ce8=this['editor'],_0x504159=_0x2b1ce8[_0x2848('0xb')],_0x31426c=_0x2b1ce8[_0x2848('0x20')][_0x2848('0x14')](_0x2848('0xc')),_0x580227=_0x2b1ce8[_0x2848('0x9')];for(const _0x4f8a3a of Yt){if(!_0x2b1ce8[_0x2848('0x20')][_0x2848('0x12')](_0x4f8a3a))continue;const _0x3eaf64=_0x4f8a3a[_0x2848('0x8')](0x0,-0x7)[_0x2848('0x1e')](),_0x512e1d=_0x2b1ce8[_0x2848('0x1a')][_0x2848('0x14')](_0x3eaf64);_0x31426c['enableCommand'](_0x3eaf64,(_0x172073,_0x3e03e0={})=>{const _0x5c8f87=_0x504159[_0x2848('0xf')][_0x2848('0x22')];if(_0x5c8f87[_0x2848('0x6')])return void _0x172073(_0x3e03e0);const _0x4dbb98=void 0x0!==_0x3e03e0['forceValue']?_0x3e03e0[_0x2848('0x1b')]:!_0x512e1d[_0x2848('0x1')];_0x504159['change'](()=>{const _0x35886d=Array[_0x2848('0x5')](_0x5c8f87[_0x2848('0x21')]());for(const _0x38c821 of _0x35886d){const _0x1691e7=_0x4dbb98?[_0x38c821]:_0x5584bc(_0x3eaf64,_0x38c821,_0x504159);for(const _0x18f8b3 of _0x1691e7)_0x31426c[_0x2848('0x10')](_0x18f8b3,{'commandName':_0x3eaf64,'commandParams':[{'forceValue':_0x4dbb98}]});}});});}function _0x283ffd(_0x5aee83,_0x524290){_0x31426c[_0x2848('0x1f')][_0x2848('0x11')](_0x96ea32=>{const {data:_0x28dfd9}=_0x96ea32;if(_0x28dfd9&&_0x28dfd9['commandName']===_0x5aee83)return _0x28dfd9[_0x2848('0x19')][0x0]['forceValue']?{'type':_0x2848('0x0'),'content':_0x540486(_0x580227,_0x2848('0xa'),_0x524290)}:{'type':_0x2848('0x0'),'content':_0x540486(_0x580227,_0x2848('0x23'),_0x524290)};});}_0x283ffd('bold',_0x540486(_0x580227,_0x2848('0x15'))),_0x283ffd(_0x2848('0x4'),_0x540486(_0x580227,_0x2848('0x26'))),_0x283ffd(_0x2848('0x18'),_0x540486(_0x580227,_0x2848('0x16'))),_0x283ffd('code',_0x540486(_0x580227,'FORMAT_CODE')),_0x283ffd(_0x2848('0x1d'),_0x540486(_0x580227,'FORMAT_STRIKETHROUGH')),_0x283ffd(_0x2848('0x1c'),_0x540486(_0x580227,_0x2848('0x24'))),_0x283ffd(_0x2848('0xe'),_0x540486(_0x580227,_0x2848('0xd')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f04=['name','filter','model','enableCommand','TrackChangesEditing','commandName','format','editor','*Format:*\x20%0','from','parent','schema','value','plugins','forceValue','$root','getSelectedBlocks','ELEMENT_BLOCK_QUOTE','BlockQuoteEditing','locale','commandParams','checkChild','change','registerDescriptionCallback','get','blockQuote','afterInit','selection','*Remove\x20format:*\x20%0'];(function(_0x2133a8,_0x4f04e7){const _0x1f090e=function(_0x4fa8a3){while(--_0x4fa8a3){_0x2133a8['push'](_0x2133a8['shift']());}};_0x1f090e(++_0x4f04e7);}(_0x4f04,0xef));const _0x1f09=function(_0x2133a8,_0x4f04e7){_0x2133a8=_0x2133a8-0x0;let _0x1f090e=_0x4f04[_0x2133a8];return _0x1f090e;};import{Plugin as _0x2df48c}from'ckeditor5/src/core';import{getTranslation as _0xfd86ed}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4c442b}from'../utils/utils';export default class U extends _0x2df48c{[_0x1f09('0x13')](){const _0x4a81b6=this['editor'],_0x33b81e=_0x4a81b6[_0x1f09('0xc')];if(!_0x4a81b6[_0x1f09('0x6')]['has'](_0x1f09('0xb')))return;const _0x14dcb4=_0x4a81b6[_0x1f09('0x6')][_0x1f09('0x11')](_0x1f09('0x1a')),_0x2f2cb9=this[_0x1f09('0x0')]['commands'][_0x1f09('0x11')](_0x1f09('0x12'));_0x14dcb4[_0x1f09('0x19')](_0x1f09('0x12'),(_0x1cde0b,_0x3e656b={})=>{const _0xb7296a=this[_0x1f09('0x0')][_0x1f09('0x18')]['document'][_0x1f09('0x14')],_0x52e07e=_0x3e656b&&void 0x0!==_0x3e656b['forceValue']?_0x3e656b[_0x1f09('0x7')]:!_0x2f2cb9[_0x1f09('0x5')];let _0x23f7b5=[];if(_0x52e07e){const _0x15b903=Array['from'](_0xb7296a[_0x1f09('0x9')]())[_0x1f09('0x17')](_0x506ffd=>to(_0x506ffd)||function(_0x482257,_0x2219c3){const _0x3eba48=_0x2219c3['checkChild'](_0x482257[_0x1f09('0x3')],'blockQuote'),_0x12b23b=_0x2219c3[_0x1f09('0xe')]([_0x1f09('0x8'),_0x1f09('0x12')],_0x482257);return _0x3eba48&&_0x12b23b;}(_0x506ffd,this['editor'][_0x1f09('0x18')][_0x1f09('0x4')]));_0x23f7b5=_0x4c442b(_0x15b903,_0x4a81b6[_0x1f09('0x18')]);}else{const _0x593507=Array[_0x1f09('0x2')](_0xb7296a['getSelectedBlocks']())[_0x1f09('0x17')](_0x546459=>to(_0x546459));_0x23f7b5=_0x4c442b(_0x593507,_0x4a81b6[_0x1f09('0x18')]);}_0x4a81b6['model'][_0x1f09('0xf')](()=>{for(const _0x43a379 of _0x23f7b5)_0x14dcb4['markBlockFormat'](_0x43a379,{'commandName':_0x1f09('0x12'),'commandParams':[{'forceValue':_0x52e07e}]});});}),_0x14dcb4['_descriptionFactory'][_0x1f09('0x10')](_0x1a076a=>{const {data:_0xcc116e}=_0x1a076a;if(_0xcc116e&&'blockQuote'==_0xcc116e[_0x1f09('0x1b')]){const _0x302a4f=_0xfd86ed(_0x33b81e,_0x1f09('0xa'));return _0xcc116e[_0x1f09('0xd')][0x0][_0x1f09('0x7')]?{'type':_0x1f09('0x1c'),'content':_0xfd86ed(_0x33b81e,_0x1f09('0x1'),_0x302a4f)}:{'type':'format','content':_0xfd86ed(_0x33b81e,_0x1f09('0x15'),_0x302a4f)};}});}}function to(_0xe26701){return'blockQuote'==_0xe26701['parent'][_0x1f09('0x16')];}
23
+ const _0x5019=['from','getSelectedBlocks','editor','commands','document','name','$root','model','parent','TrackChangesEditing','value','checkChild','BlockQuoteEditing','change','filter','locale','schema','forceValue','get','registerDescriptionCallback','markBlockFormat','blockQuote','commandParams','*Remove\x20format:*\x20%0','afterInit','*Format:*\x20%0'];(function(_0x4d261f,_0x501943){const _0x3c743b=function(_0x2d6d78){while(--_0x2d6d78){_0x4d261f['push'](_0x4d261f['shift']());}};_0x3c743b(++_0x501943);}(_0x5019,0x1a8));const _0x3c74=function(_0x4d261f,_0x501943){_0x4d261f=_0x4d261f-0x0;let _0x3c743b=_0x5019[_0x4d261f];return _0x3c743b;};import{Plugin as _0x3d0369}from'ckeditor5/src/core';import{getTranslation as _0x219ee3}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x7185a}from'../utils/utils';export default class U extends _0x3d0369{[_0x3c74('0x10')](){const _0x4f6509=this[_0x3c74('0x14')],_0x5be60b=_0x4f6509[_0x3c74('0x7')];if(!_0x4f6509['plugins']['has'](_0x3c74('0x4')))return;const _0x1dc928=_0x4f6509['plugins'][_0x3c74('0xa')](_0x3c74('0x1')),_0x24b587=this[_0x3c74('0x14')][_0x3c74('0x15')][_0x3c74('0xa')](_0x3c74('0xd'));_0x1dc928['enableCommand'](_0x3c74('0xd'),(_0x36b641,_0xa01934={})=>{const _0x5c811c=this[_0x3c74('0x14')][_0x3c74('0x19')][_0x3c74('0x16')]['selection'],_0x4bbda3=_0xa01934&&void 0x0!==_0xa01934[_0x3c74('0x9')]?_0xa01934[_0x3c74('0x9')]:!_0x24b587[_0x3c74('0x2')];let _0x5e6787=[];if(_0x4bbda3){const _0x45104b=Array[_0x3c74('0x12')](_0x5c811c[_0x3c74('0x13')]())[_0x3c74('0x6')](_0x50b5aa=>to(_0x50b5aa)||function(_0x52dcae,_0x54fe0a){const _0x1e3582=_0x54fe0a['checkChild'](_0x52dcae['parent'],'blockQuote'),_0x438a3f=_0x54fe0a[_0x3c74('0x3')]([_0x3c74('0x18'),_0x3c74('0xd')],_0x52dcae);return _0x1e3582&&_0x438a3f;}(_0x50b5aa,this['editor']['model'][_0x3c74('0x8')]));_0x5e6787=_0x7185a(_0x45104b,_0x4f6509[_0x3c74('0x19')]);}else{const _0x2d13e1=Array[_0x3c74('0x12')](_0x5c811c[_0x3c74('0x13')]())['filter'](_0x4ef4ac=>to(_0x4ef4ac));_0x5e6787=_0x7185a(_0x2d13e1,_0x4f6509[_0x3c74('0x19')]);}_0x4f6509[_0x3c74('0x19')][_0x3c74('0x5')](()=>{for(const _0x36e735 of _0x5e6787)_0x1dc928[_0x3c74('0xc')](_0x36e735,{'commandName':_0x3c74('0xd'),'commandParams':[{'forceValue':_0x4bbda3}]});});}),_0x1dc928['_descriptionFactory'][_0x3c74('0xb')](_0x9fd060=>{const {data:_0x228ff4}=_0x9fd060;if(_0x228ff4&&_0x3c74('0xd')==_0x228ff4['commandName']){const _0x18c391=_0x219ee3(_0x5be60b,'ELEMENT_BLOCK_QUOTE');return _0x228ff4[_0x3c74('0xe')][0x0][_0x3c74('0x9')]?{'type':'format','content':_0x219ee3(_0x5be60b,_0x3c74('0x11'),_0x18c391)}:{'type':'format','content':_0x219ee3(_0x5be60b,_0x3c74('0xf'),_0x18c391)};}});}}function to(_0x954d41){return _0x3c74('0xd')==_0x954d41[_0x3c74('0x0')][_0x3c74('0x17')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9ac0=['editor','afterInit','enableCommand','get','ckbox','TrackChangesEditing','plugins'];(function(_0x356f5d,_0x9ac02a){const _0x552a77=function(_0x4a3b45){while(--_0x4a3b45){_0x356f5d['push'](_0x356f5d['shift']());}};_0x552a77(++_0x9ac02a);}(_0x9ac0,0x144));const _0x552a=function(_0x356f5d,_0x9ac02a){_0x356f5d=_0x356f5d-0x0;let _0x552a77=_0x9ac0[_0x356f5d];return _0x552a77;};import{Plugin as _0x1d3285}from'ckeditor5/src/core';export default class O extends _0x1d3285{[_0x552a('0x6')](){const _0x4a4ac0=this[_0x552a('0x5')];_0x4a4ac0['commands']['get'](_0x552a('0x2'))&&_0x4a4ac0[_0x552a('0x4')][_0x552a('0x1')](_0x552a('0x3'))[_0x552a('0x0')](_0x552a('0x2'));}}
23
+ const _0x354a=['enableCommand','get','TrackChangesEditing','ckbox','plugins','commands'];(function(_0x15dedf,_0x354af6){const _0x463ec2=function(_0x4b642a){while(--_0x4b642a){_0x15dedf['push'](_0x15dedf['shift']());}};_0x463ec2(++_0x354af6);}(_0x354a,0xbf));const _0x463e=function(_0x15dedf,_0x354af6){_0x15dedf=_0x15dedf-0x0;let _0x463ec2=_0x354a[_0x15dedf];return _0x463ec2;};import{Plugin as _0x2e7efb}from'ckeditor5/src/core';export default class O extends _0x2e7efb{['afterInit'](){const _0x1bfdaa=this['editor'];_0x1bfdaa[_0x463e('0x0')][_0x463e('0x2')](_0x463e('0x4'))&&_0x1bfdaa[_0x463e('0x5')]['get'](_0x463e('0x3'))[_0x463e('0x1')](_0x463e('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d25=['document','outdentCodeBlock','selection','rootElement','afterInit','markBlockFormat','commandName','indentCodeBlock','filter','parent','plugins','model','_descriptionFactory','forceValue','enableCommand','formatBlock','blockName','registerDescriptionCallback','getSelectedBlocks','format','codeBlock','editor','name','*Format:*\x20%0','value','language','label','schema','config','commands','checkChild','TrackChangesEditing','locale','from','CodeBlock','*Remove\x20format:*\x20%0','isLimit','find','commandParams','ELEMENT_CODE_BLOCK'];(function(_0x10288d,_0x3d25e3){const _0x5c8c4a=function(_0x5de664){while(--_0x5de664){_0x10288d['push'](_0x10288d['shift']());}};_0x5c8c4a(++_0x3d25e3);}(_0x3d25,0xa7));const _0x5c8c=function(_0x10288d,_0x3d25e3){_0x10288d=_0x10288d-0x0;let _0x5c8c4a=_0x3d25[_0x10288d];return _0x5c8c4a;};import{Plugin as _0x542b9a}from'ckeditor5/src/core';import{getTranslation as _0x50c8a6}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xda057f}from'../utils/utils';export default class E extends _0x542b9a{[_0x5c8c('0x25')](){const _0x1a51a9=this[_0x5c8c('0xe')];if(!_0x1a51a9[_0x5c8c('0x3')]['has'](_0x5c8c('0x1b')))return;const _0x3e38ad=_0x1a51a9['plugins']['get'](_0x5c8c('0x18')),_0x515d1b=_0x1a51a9[_0x5c8c('0x19')],_0x396988=_0x1a51a9[_0x5c8c('0x15')]['get']('codeBlock')['languages'],_0x1c1466=_0x1a51a9[_0x5c8c('0x16')]['get'](_0x5c8c('0xd'));_0x3e38ad[_0x5c8c('0x7')](_0x5c8c('0x0')),_0x3e38ad[_0x5c8c('0x7')](_0x5c8c('0x22')),_0x3e38ad[_0x5c8c('0x7')](_0x5c8c('0xd'),(_0x3fe5c8,_0x361a8c={})=>{const _0x111b8a=_0x1a51a9['model'],_0x2d4cc1=_0x1a51a9[_0x5c8c('0x4')][_0x5c8c('0x21')][_0x5c8c('0x23')],_0x388672=_0x361a8c&&void 0x0!==_0x361a8c[_0x5c8c('0x6')]?_0x361a8c[_0x5c8c('0x6')]:!_0x1c1466[_0x5c8c('0x11')];let _0x5664e2;_0x361a8c[_0x5c8c('0x12')]||(_0x361a8c[_0x5c8c('0x12')]=_0x396988[0x0]['language']),_0x5664e2=_0x388672?Array['from'](_0x2d4cc1[_0x5c8c('0xb')]())[_0x5c8c('0x1')](_0x15d655=>oo(_0x15d655)||function(_0x5d564c,_0x1934a9){if(_0x5d564c['is'](_0x5c8c('0x24'))||_0x1934a9[_0x5c8c('0x1d')](_0x5d564c))return!0x1;return _0x1934a9[_0x5c8c('0x17')](_0x5d564c[_0x5c8c('0x2')],_0x5c8c('0xd'));}(_0x15d655,_0x111b8a[_0x5c8c('0x14')])):Array[_0x5c8c('0x1a')](_0x2d4cc1[_0x5c8c('0xb')]())['filter'](_0x4caa54=>oo(_0x4caa54));const _0x5ec5e2=_0xda057f(_0x5664e2,_0x111b8a);_0x111b8a['change'](()=>{for(const _0x8e801 of _0x5ec5e2)_0x3e38ad[_0x5c8c('0x26')](_0x8e801,{'commandName':_0x5c8c('0xd'),'commandParams':[{..._0x361a8c,'forceValue':_0x388672}],'formatGroupId':_0x5c8c('0x9')});});}),(_0x3e38ad['_descriptionFactory']['registerElementLabel'](_0x5c8c('0xd'),_0x3036f1=>_0x50c8a6(_0x515d1b,_0x5c8c('0x20'),_0x3036f1)),_0x3e38ad[_0x5c8c('0x5')][_0x5c8c('0xa')](_0x27e18a=>{const _0x4047a4=_0x515d1b['t'],{type:_0x54e908,data:_0x351b0b}=_0x27e18a;if(_0x5c8c('0x8')==_0x54e908&&_0x351b0b&&_0x5c8c('0xd')==_0x351b0b[_0x5c8c('0x27')]){const _0x2eaa57=_0x351b0b[_0x5c8c('0x1f')][0x0]['language'],_0x2dfef3=_0x4047a4(_0x396988[_0x5c8c('0x1e')](_0x2f07b1=>_0x2f07b1['language']===_0x2eaa57)[_0x5c8c('0x13')]);return _0x351b0b['commandParams'][0x0][_0x5c8c('0x6')]?{'type':'format','content':_0x50c8a6(_0x515d1b,_0x5c8c('0x10'),_0x50c8a6(_0x515d1b,_0x5c8c('0x20'),0x1)+'\x20('+_0x2dfef3+')')}:{'type':_0x5c8c('0xc'),'content':_0x50c8a6(_0x515d1b,_0x5c8c('0x1c'),_0x50c8a6(_0x515d1b,_0x5c8c('0x20'),0x1))};}}));}}function oo(_0x37a2ae){return _0x5c8c('0xd')==_0x37a2ae[_0x5c8c('0xf')];}
23
+ const _0x53d2=['editor','commands','plugins','checkChild','registerDescriptionCallback','formatBlock','codeBlock','get','from','locale','model','TrackChangesEditing','format','registerElementLabel','blockName','_descriptionFactory','enableCommand','*Format:*\x20%0','label','language','languages','commandParams','markBlockFormat','indentCodeBlock','ELEMENT_CODE_BLOCK','afterInit','parent','name','value','find','getSelectedBlocks','config','CodeBlock','forceValue','*Remove\x20format:*\x20%0','isLimit'];(function(_0x2953e1,_0x53d2ae){const _0x33af9e=function(_0x57c3de){while(--_0x57c3de){_0x2953e1['push'](_0x2953e1['shift']());}};_0x33af9e(++_0x53d2ae);}(_0x53d2,0x111));const _0x33af=function(_0x2953e1,_0x53d2ae){_0x2953e1=_0x2953e1-0x0;let _0x33af9e=_0x53d2[_0x2953e1];return _0x33af9e;};import{Plugin as _0x4df47f}from'ckeditor5/src/core';import{getTranslation as _0x4cfd88}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x11ed1f}from'../utils/utils';export default class E extends _0x4df47f{[_0x33af('0x4')](){const _0x20a8f3=this[_0x33af('0xf')];if(!_0x20a8f3['plugins']['has'](_0x33af('0xb')))return;const _0x2520f2=_0x20a8f3[_0x33af('0x11')][_0x33af('0x16')](_0x33af('0x1a')),_0xf1cf70=_0x20a8f3[_0x33af('0x18')],_0x4246da=_0x20a8f3[_0x33af('0xa')][_0x33af('0x16')](_0x33af('0x15'))[_0x33af('0x23')],_0x51789c=_0x20a8f3[_0x33af('0x10')]['get'](_0x33af('0x15'));_0x2520f2['enableCommand'](_0x33af('0x2')),_0x2520f2[_0x33af('0x1f')]('outdentCodeBlock'),_0x2520f2[_0x33af('0x1f')]('codeBlock',(_0x30519c,_0xbe4866={})=>{const _0x3d87df=_0x20a8f3['model'],_0x486702=_0x20a8f3[_0x33af('0x19')]['document']['selection'],_0x70d9ca=_0xbe4866&&void 0x0!==_0xbe4866[_0x33af('0xc')]?_0xbe4866[_0x33af('0xc')]:!_0x51789c[_0x33af('0x7')];let _0x1d4bac;_0xbe4866[_0x33af('0x22')]||(_0xbe4866[_0x33af('0x22')]=_0x4246da[0x0][_0x33af('0x22')]),_0x1d4bac=_0x70d9ca?Array['from'](_0x486702[_0x33af('0x9')]())['filter'](_0x55fb2b=>oo(_0x55fb2b)||function(_0x54b103,_0x20bb2d){if(_0x54b103['is']('rootElement')||_0x20bb2d[_0x33af('0xe')](_0x54b103))return!0x1;return _0x20bb2d[_0x33af('0x12')](_0x54b103[_0x33af('0x5')],'codeBlock');}(_0x55fb2b,_0x3d87df['schema'])):Array[_0x33af('0x17')](_0x486702[_0x33af('0x9')]())['filter'](_0x58e0c9=>oo(_0x58e0c9));const _0xbc70ee=_0x11ed1f(_0x1d4bac,_0x3d87df);_0x3d87df['change'](()=>{for(const _0x365408 of _0xbc70ee)_0x2520f2[_0x33af('0x1')](_0x365408,{'commandName':'codeBlock','commandParams':[{..._0xbe4866,'forceValue':_0x70d9ca}],'formatGroupId':_0x33af('0x1d')});});}),(_0x2520f2[_0x33af('0x1e')][_0x33af('0x1c')](_0x33af('0x15'),_0x3a228f=>_0x4cfd88(_0xf1cf70,'ELEMENT_CODE_BLOCK',_0x3a228f)),_0x2520f2['_descriptionFactory'][_0x33af('0x13')](_0x3baf3c=>{const _0x13c54e=_0xf1cf70['t'],{type:_0x54a280,data:_0x1ba555}=_0x3baf3c;if(_0x33af('0x14')==_0x54a280&&_0x1ba555&&_0x33af('0x15')==_0x1ba555['commandName']){const _0x2990da=_0x1ba555[_0x33af('0x0')][0x0][_0x33af('0x22')],_0x4e1613=_0x13c54e(_0x4246da[_0x33af('0x8')](_0x4f0f47=>_0x4f0f47['language']===_0x2990da)[_0x33af('0x21')]);return _0x1ba555[_0x33af('0x0')][0x0]['forceValue']?{'type':_0x33af('0x1b'),'content':_0x4cfd88(_0xf1cf70,_0x33af('0x20'),_0x4cfd88(_0xf1cf70,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x4e1613+')')}:{'type':'format','content':_0x4cfd88(_0xf1cf70,_0x33af('0xd'),_0x4cfd88(_0xf1cf70,_0x33af('0x3'),0x1))};}}));}}function oo(_0xfa99fd){return _0x33af('0x15')==_0xfa99fd[_0x33af('0x6')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4752=['plugins','addCommentThread','enableCommand','CommentsEditing','has','editor','get'];(function(_0x11ff88,_0x475258){const _0x4523a4=function(_0x41e853){while(--_0x41e853){_0x11ff88['push'](_0x11ff88['shift']());}};_0x4523a4(++_0x475258);}(_0x4752,0xaf));const _0x4523=function(_0x11ff88,_0x475258){_0x11ff88=_0x11ff88-0x0;let _0x4523a4=_0x4752[_0x11ff88];return _0x4523a4;};import{Plugin as _0x308577}from'ckeditor5/src/core';export default class F extends _0x308577{['afterInit'](){const _0x4fabbd=this[_0x4523('0x5')];if(!_0x4fabbd[_0x4523('0x0')][_0x4523('0x4')](_0x4523('0x3')))return;_0x4fabbd[_0x4523('0x0')][_0x4523('0x6')]('TrackChangesEditing')[_0x4523('0x2')](_0x4523('0x1'));}}
23
+ const _0x19e5=['enableCommand','get','plugins','TrackChangesEditing','afterInit','editor','addCommentThread'];(function(_0x55fb79,_0x19e50f){const _0x1382ac=function(_0x3a7ae0){while(--_0x3a7ae0){_0x55fb79['push'](_0x55fb79['shift']());}};_0x1382ac(++_0x19e50f);}(_0x19e5,0x1cd));const _0x1382=function(_0x55fb79,_0x19e50f){_0x55fb79=_0x55fb79-0x0;let _0x1382ac=_0x19e5[_0x55fb79];return _0x1382ac;};import{Plugin as _0x4fea27}from'ckeditor5/src/core';export default class F extends _0x4fea27{[_0x1382('0x5')](){const _0xdcdbf1=this[_0x1382('0x6')];if(!_0xdcdbf1[_0x1382('0x3')]['has']('CommentsEditing'))return;_0xdcdbf1[_0x1382('0x3')][_0x1382('0x2')](_0x1382('0x4'))[_0x1382('0x1')](_0x1382('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d71=['bind','end','setSelection','data','lock','requires','createRange','mapper','removeMarker:suggestion:deletion','high','rootName','enqueueChange','showSuggestionHighlights','isCollapsed','options','writer','root','modifySelection','$graveyard','merge','model','downcastDispatcher','fromRange','batch','document','createSelection','plugins','uiElement','editing','buffer','enableCommand','markerName','getFirstRange','commands','deleteForward','start','forward','detach','addMarker:suggestion:deletion','get','remove','init'];(function(_0x36a1ff,_0x2d71e5){const _0x2bdc95=function(_0x25585a){while(--_0x25585a){_0x36a1ff['push'](_0x36a1ff['shift']());}};_0x2bdc95(++_0x2d71e5);}(_0x2d71,0x149));const _0x2bdc=function(_0x36a1ff,_0x2d71e5){_0x36a1ff=_0x36a1ff-0x0;let _0x2bdc95=_0x2d71[_0x36a1ff];return _0x2bdc95;};import{Plugin as _0x3ea219}from'ckeditor5/src/core';import{LiveRange as _0x1b1f2d}from'ckeditor5/src/engine';import{Delete as _0x59ea8c}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x59fddf}from'./utils';export default class G extends _0x3ea219{static get[_0x2bdc('0xc')](){return[_0x59ea8c];}[_0x2bdc('0x6')](){const _0x1cee9e=this['editor'],_0x11a8de=_0x1cee9e[_0x2bdc('0x21')]['get']('TrackChangesEditing');_0x11a8de[_0x2bdc('0x25')]('delete');const _0x33062c=_0x1cee9e[_0x2bdc('0x28')][_0x2bdc('0x4')]('deleteForward');_0x11a8de[_0x2bdc('0x25')](_0x2bdc('0x29'),(_0x2ff5b8,_0x2bb567={})=>{const _0x164c88=_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0x20')](_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0x1f')]['selection']);_0x164c88[_0x2bdc('0x14')]&&_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0x18')](_0x164c88,{'direction':_0x2bdc('0x1'),'unit':_0x2bb567['unit']});const _0x791a7d=_0x164c88[_0x2bdc('0x27')](),_0x556f87=_0x1b1f2d[_0x2bdc('0x1d')](_0x791a7d);let _0x57c6fb;_0x2ff5b8(_0x2bb567),_0x57c6fb=_0x2bdc('0x19')==_0x556f87[_0x2bdc('0x17')][_0x2bdc('0x11')]?_0x1cee9e['model'][_0x2bdc('0xd')](_0x791a7d[_0x2bdc('0x0')]):_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0xd')](_0x556f87['start'],_0x556f87['end']),_0x556f87[_0x2bdc('0x2')](),_0x1cee9e[_0x2bdc('0x1b')][_0x2bdc('0x12')](_0x33062c['buffer'][_0x2bdc('0x1e')],_0x2bddec=>{_0x33062c[_0x2bdc('0x24')][_0x2bdc('0xb')](),_0x2bddec[_0x2bdc('0x9')](_0x2bddec[_0x2bdc('0xd')](_0x57c6fb[_0x2bdc('0x8')])),_0x33062c[_0x2bdc('0x24')]['unlock']();});}),_0x1cee9e[_0x2bdc('0x23')][_0x2bdc('0x1c')]['on'](_0x2bdc('0x3'),_0x59fddf(_0x1cee9e,'merge'),{'priority':_0x2bdc('0x10')}),_0x1cee9e[_0x2bdc('0xa')]['downcastDispatcher']['on'](_0x2bdc('0x3'),(_0x1b91e2,_0x39822,_0x2452e8)=>{_0x2452e8[_0x2bdc('0x15')][_0x2bdc('0x13')]&&_0x59fddf(_0x1cee9e,_0x2bdc('0x1a'),{'showActiveMarker':!0x1})[_0x2bdc('0x7')](this)(_0x1b91e2,_0x39822,_0x2452e8);},{'priority':_0x2bdc('0x10')}),_0x1cee9e['editing'][_0x2bdc('0x1c')]['on'](_0x2bdc('0xf'),(_0x37b4e3,_0x4c5da8,_0x373f85)=>{const _0x55032f=_0x373f85[_0x2bdc('0xe')]['markerNameToElements'](_0x4c5da8['markerName']);if(_0x55032f)for(const _0x3d07f6 of _0x55032f)_0x3d07f6['is'](_0x2bdc('0x22'))&&(_0x373f85['mapper']['unbindElementFromMarkerName'](_0x3d07f6,_0x4c5da8[_0x2bdc('0x26')]),_0x373f85[_0x2bdc('0x16')][_0x2bdc('0x5')](_0x3d07f6));},{'priority':'high'});}}
23
+ const _0x2cdf=['showSuggestionHighlights','buffer','editing','isCollapsed','fromRange','enableCommand','forward','unbindElementFromMarkerName','commands','uiElement','merge','requires','unit','mapper','get','remove','high','end','bind','markerName','plugins','options','writer','setSelection','model','deleteForward','addMarker:suggestion:deletion','enqueueChange','removeMarker:suggestion:deletion','$graveyard','lock','start','batch','downcastDispatcher','rootName','createRange'];(function(_0x3c1a52,_0x2cdf09){const _0x1654e4=function(_0x44f981){while(--_0x44f981){_0x3c1a52['push'](_0x3c1a52['shift']());}};_0x1654e4(++_0x2cdf09);}(_0x2cdf,0x160));const _0x1654=function(_0x3c1a52,_0x2cdf09){_0x3c1a52=_0x3c1a52-0x0;let _0x1654e4=_0x2cdf[_0x3c1a52];return _0x1654e4;};import{Plugin as _0x1b1418}from'ckeditor5/src/core';import{LiveRange as _0x4753f7}from'ckeditor5/src/engine';import{Delete as _0x4276fb}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3fbc2a}from'./utils';export default class G extends _0x1b1418{static get[_0x1654('0x13')](){return[_0x4276fb];}['init'](){const _0x54b608=this['editor'],_0x3af535=_0x54b608[_0x1654('0x1c')][_0x1654('0x16')]('TrackChangesEditing');_0x3af535[_0x1654('0xd')]('delete');const _0x5579dd=_0x54b608[_0x1654('0x10')][_0x1654('0x16')]('deleteForward');_0x3af535[_0x1654('0xd')](_0x1654('0x21'),(_0x141d6c,_0x5e988c={})=>{const _0x1b1948=_0x54b608[_0x1654('0x20')]['createSelection'](_0x54b608[_0x1654('0x20')]['document']['selection']);_0x1b1948[_0x1654('0xb')]&&_0x54b608[_0x1654('0x20')]['modifySelection'](_0x1b1948,{'direction':_0x1654('0xe'),'unit':_0x5e988c[_0x1654('0x14')]});const _0x5a0e87=_0x1b1948['getFirstRange'](),_0x2e30ac=_0x4753f7[_0x1654('0xc')](_0x5a0e87);let _0x4099c7;_0x141d6c(_0x5e988c),_0x4099c7=_0x1654('0x1')==_0x2e30ac['root'][_0x1654('0x6')]?_0x54b608[_0x1654('0x20')]['createRange'](_0x5a0e87[_0x1654('0x3')]):_0x54b608[_0x1654('0x20')]['createRange'](_0x2e30ac[_0x1654('0x3')],_0x2e30ac[_0x1654('0x19')]),_0x2e30ac['detach'](),_0x54b608[_0x1654('0x20')][_0x1654('0x23')](_0x5579dd[_0x1654('0x9')][_0x1654('0x4')],_0x39f32c=>{_0x5579dd[_0x1654('0x9')][_0x1654('0x2')](),_0x39f32c[_0x1654('0x1f')](_0x39f32c[_0x1654('0x7')](_0x4099c7[_0x1654('0x19')])),_0x5579dd['buffer']['unlock']();});}),_0x54b608[_0x1654('0xa')][_0x1654('0x5')]['on'](_0x1654('0x22'),_0x3fbc2a(_0x54b608,'merge'),{'priority':_0x1654('0x18')}),_0x54b608['data'][_0x1654('0x5')]['on']('addMarker:suggestion:deletion',(_0x4df8eb,_0x9b6e19,_0x3770cb)=>{_0x3770cb[_0x1654('0x1d')][_0x1654('0x8')]&&_0x3fbc2a(_0x54b608,_0x1654('0x12'),{'showActiveMarker':!0x1})[_0x1654('0x1a')](this)(_0x4df8eb,_0x9b6e19,_0x3770cb);},{'priority':_0x1654('0x18')}),_0x54b608[_0x1654('0xa')][_0x1654('0x5')]['on'](_0x1654('0x0'),(_0x48b49d,_0x5e5074,_0x5e8546)=>{const _0x511123=_0x5e8546[_0x1654('0x15')]['markerNameToElements'](_0x5e5074[_0x1654('0x1b')]);if(_0x511123)for(const _0x364dc3 of _0x511123)_0x364dc3['is'](_0x1654('0x11'))&&(_0x5e8546[_0x1654('0x15')][_0x1654('0xf')](_0x364dc3,_0x5e5074[_0x1654('0x1b')]),_0x5e8546[_0x1654('0x1e')][_0x1654('0x17')](_0x364dc3));},{'priority':_0x1654('0x18')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32b7=['from','plugins','end','slice','ELEMENT_LIST_ITEM','model','ELEMENT_BULLETED_LIST','detach','documentList','getAttribute','createPositionAt','commandName','*Change\x20to:*\x20%0','listIndent','value','accept','createRange','listItemId','getRanges','execute','formatBlock','afterInit','listType','registerElementLabel','map','refresh','DocumentListEditing','forceValue','before','isObject','DocumentListUtils','fromRange','TrackChangesEditing','has','push','expandListBlocksToCompleteList','getSelectedBlocks','deletion','*Merge:*\x20%0','ELEMENT_NUMBERED_LIST','ELEMENT_','mergeListItemBackward','*Outdent:*\x20%0','indentList','commands','schema','previousSibling','_descriptionFactory','isFirstBlockOfListItem','bulletedList','after','start','splitListItemAfter','numberedList','setSelection','next','markMultiRangeBlockFormat','multipleBlocks','*Indent:*\x20%0','change','nextSibling','*Format:*\x20insert\x20into\x20%0','parent','getFirstRange','outdentList','_suggestionFactory','document','length','nodeAfter','markBlockFormat','commandParams','splitListItemBefore','enableCommand','format','selection','mergeListItemForward','get'];(function(_0x415bb2,_0x32b712){const _0x5ad922=function(_0xbf2d04){while(--_0xbf2d04){_0x415bb2['push'](_0x415bb2['shift']());}};_0x5ad922(++_0x32b712);}(_0x32b7,0x176));const _0x5ad9=function(_0x415bb2,_0x32b712){_0x415bb2=_0x415bb2-0x0;let _0x5ad922=_0x32b7[_0x415bb2];return _0x5ad922;};import{Plugin as _0x3a00ec}from'ckeditor5/src/core';import{getTranslation as _0x48ca0}from'../utils/common-translations';import{LiveRange as _0x47eb1e}from'ckeditor5/src/engine';export default class L extends _0x3a00ec{[_0x5ad9('0x20')](){const _0x1283fd=this['editor'];if(!_0x1283fd['plugins'][_0x5ad9('0x2c')](_0x5ad9('0x25')))return;const _0x591d3f=_0x1283fd['locale'],_0x26a644=_0x1283fd[_0x5ad9('0xc')][_0x5ad9('0xa')](_0x5ad9('0x2b')),_0x224ca1=_0x1283fd[_0x5ad9('0xc')][_0x5ad9('0xa')](_0x5ad9('0x29'));function _0x50038e(_0xfe5dd5){return()=>{const _0x300f89=_0x1283fd['commands'][_0x5ad9('0xa')](_0xfe5dd5);let _0x1dd370=Array['from'](_0x1283fd['model'][_0x5ad9('0x0')]['selection'][_0x5ad9('0x2f')]());if(_0x3ae5f5(_0xfe5dd5)){_0x1dd370=_0x224ca1[_0x5ad9('0x2e')](_0x1dd370);const _0x32974c=[];for(const _0x3d97ca of _0x1dd370)_0x224ca1[_0x5ad9('0x3b')](_0x3d97ca)&&_0x32974c[_0x5ad9('0x2d')](_0x3d97ca);_0x1dd370=_0x32974c;}_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x46')](()=>{_0x26a644[_0x5ad9('0x43')](_0x1dd370,{'commandName':_0xfe5dd5,'commandParams':[{'forceValue':!_0x300f89[_0x5ad9('0x19')]}],'formatGroupId':_0x5ad9('0x21')},[],_0x5ad9('0x13'));});};}function _0x2496f5(_0x267783){return()=>{const _0x4bb03e=function(_0x3d385e){let _0x364667=Array[_0x5ad9('0xb')](_0x3d385e);const _0x79723f=_0x364667['findIndex'](_0x5e663b=>!_0x5e663b['hasAttribute'](_0x5ad9('0x1c')));return _0x79723f>-0x1&&(_0x364667=_0x364667[_0x5ad9('0xe')](0x0,_0x79723f)),_0x364667;}(_0x1283fd[_0x5ad9('0x10')]['document'][_0x5ad9('0x8')][_0x5ad9('0x2f')]()),_0x316bc1=_0x4bb03e[_0x4bb03e[_0x5ad9('0x1')]-0x1],_0xd329de=_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x38')][_0x5ad9('0x28')](_0x316bc1)?_0x5ad9('0x3d'):_0x5ad9('0xd'),_0x243a02=_0x1283fd['model'][_0x5ad9('0x1b')](_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x15')](_0x4bb03e[0x0],_0x5ad9('0x27')),_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x15')](_0x316bc1,_0xd329de));_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x46')](()=>{_0x26a644[_0x5ad9('0x3')](_0x243a02,{'commandName':_0x267783,'commandParams':[],'formatGroupId':_0x5ad9('0x21')},function(_0x2d8601){const _0x548a84=new Set();for(const _0x404dbd of _0x2d8601){let _0x54c89a=_0x404dbd[_0x5ad9('0x47')];for(;_0x54c89a&&_0x54c89a[_0x5ad9('0x14')](_0x5ad9('0x18'))>_0x404dbd[_0x5ad9('0x14')](_0x5ad9('0x18'));)_0x548a84['add'](_0x54c89a),_0x54c89a=_0x54c89a[_0x5ad9('0x47')];}return Array[_0x5ad9('0xb')](_0x548a84);}(_0x4bb03e));});};}function _0x516ec7(_0x4336b8){return()=>{const _0x51abbc=_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x0')][_0x5ad9('0x8')][_0x5ad9('0x2f')]()[_0x5ad9('0x42')]()[_0x5ad9('0x19')],_0x4ea5de=_0x1283fd[_0x5ad9('0x10')]['createPositionAt'](_0x51abbc,'before'),_0x4817c6=_0x1283fd['model'][_0x5ad9('0x15')](_0x51abbc,0x0),_0x12951d=_0x1283fd[_0x5ad9('0x10')]['createRange'](_0x4ea5de,_0x4817c6);_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x46')](()=>{_0x26a644[_0x5ad9('0x3')](_0x12951d,{'commandName':_0x4336b8,'commandParams':[],'formatGroupId':'listType'});});};}function _0x3ae5f5(_0x5a75c1){const _0x590fa5=_0x1283fd['commands']['get']('bulletedList')[_0x5ad9('0x19')],_0x117ca4=_0x1283fd[_0x5ad9('0x37')]['get'](_0x5ad9('0x40'))['value'];return _0x5ad9('0x40')===_0x5a75c1?_0x590fa5:_0x117ca4;}_0x26a644['enableCommand'](_0x5ad9('0x40'),_0x50038e(_0x5ad9('0x40'))),_0x26a644['enableCommand'](_0x5ad9('0x3c'),_0x50038e(_0x5ad9('0x3c'))),_0x26a644[_0x5ad9('0x6')](_0x5ad9('0x36'),_0x2496f5(_0x5ad9('0x36'))),_0x26a644['enableCommand'](_0x5ad9('0x4b'),_0x2496f5(_0x5ad9('0x4b'))),_0x26a644[_0x5ad9('0x6')](_0x5ad9('0x3f'),_0x516ec7(_0x5ad9('0x3f'))),_0x26a644[_0x5ad9('0x6')](_0x5ad9('0x5'),_0x516ec7(_0x5ad9('0x5'))),_0x26a644[_0x5ad9('0x3a')][_0x5ad9('0x22')](function(_0x54c9bd){const _0x1c0c3e=!_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x38')][_0x5ad9('0x28')](_0x54c9bd),_0xda5128=_0x54c9bd[_0x5ad9('0x39')],_0x598967=_0x54c9bd[_0x5ad9('0x47')],_0x319b31=_0x54c9bd['getAttribute'](_0x5ad9('0x1c')),_0xf78c2b=!_0xda5128||_0xda5128[_0x5ad9('0x14')](_0x5ad9('0x1c'))!==_0x319b31,_0xc877df=!_0x598967||_0x598967[_0x5ad9('0x14')](_0x5ad9('0x1c'))!==_0x319b31;return _0x1c0c3e&&Boolean(_0x319b31)&&_0xf78c2b&&_0xc877df;},_0x52a114=>_0x48ca0(_0x591d3f,_0x5ad9('0xf'),_0x52a114)),_0x26a644[_0x5ad9('0x3a')]['registerDescriptionCallback'](function(_0x3c9bce){const {data:_0x887275}=_0x3c9bce;if(!_0x887275)return;let _0x1da3b2,_0x1e5905,_0x290f34,_0x564347;switch(_0x887275[_0x5ad9('0x16')]){case _0x5ad9('0x3c'):_0x290f34=_0x887275['commandParams'][0x0][_0x5ad9('0x26')],_0x564347=_0x3ae5f5(_0x887275[_0x5ad9('0x16')]),_0x1da3b2=_0x290f34?_0x5ad9('0x48'):'*Format:*\x20remove\x20from\x20%0',_0x564347&&(_0x1da3b2='*Change\x20to:*\x20%0'),_0x1e5905={'type':_0x5ad9('0x7'),'content':_0x48ca0(_0x591d3f,_0x1da3b2,_0x48ca0(_0x591d3f,_0x5ad9('0x11')))};break;case _0x5ad9('0x40'):_0x290f34=_0x887275[_0x5ad9('0x4')][0x0]['forceValue'],_0x564347=_0x3ae5f5(_0x887275[_0x5ad9('0x16')]),_0x1da3b2=_0x290f34?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x564347&&(_0x1da3b2=_0x5ad9('0x17')),_0x1e5905={'type':_0x5ad9('0x7'),'content':_0x48ca0(_0x591d3f,_0x1da3b2,_0x48ca0(_0x591d3f,_0x5ad9('0x32')))};break;case'indentList':_0x1da3b2=_0x5ad9('0x45'),_0x1e5905={'type':'format','content':_0x48ca0(_0x591d3f,_0x1da3b2,_0x48ca0(_0x591d3f,_0x5ad9('0xf')))};break;case _0x5ad9('0x4b'):_0x1da3b2=function(_0x596904){const _0xc815f5=_0x596904[_0x5ad9('0x4a')]();let _0x3ddce5=_0xc815f5[_0x5ad9('0x3e')]['nodeAfter'];for(;_0x3ddce5&&_0xc815f5['containsItem'](_0x3ddce5);){if(_0x3ddce5['getAttribute']('listIndent')>0x0)return!0x1;_0x3ddce5=_0x3ddce5[_0x5ad9('0x47')];}return!0x0;}(_0x3c9bce)?_0x48ca0(_0x591d3f,'*Format:*\x20remove\x20from\x20%0',_0x48ca0(_0x591d3f,function(_0x3b81f5){const _0x2bf6c3=_0x3b81f5['getFirstRange']()['start'][_0x5ad9('0x2')];return _0x5ad9('0x33')+_0x2bf6c3[_0x5ad9('0x14')](_0x5ad9('0x21'))['toUpperCase']()+'_LIST';}(_0x3c9bce))):_0x48ca0(_0x591d3f,_0x5ad9('0x35'),_0x48ca0(_0x591d3f,_0x5ad9('0xf'))),_0x1e5905={'type':_0x5ad9('0x7'),'content':_0x1da3b2};break;case _0x5ad9('0x34'):case _0x5ad9('0x9'):!0x1===_0x887275[_0x5ad9('0x44')]&&(_0x1da3b2=_0x5ad9('0x31'),_0x1e5905={'type':_0x5ad9('0x30'),'content':_0x48ca0(_0x591d3f,_0x1da3b2,_0x48ca0(_0x591d3f,_0x5ad9('0xf')))});}return _0x1e5905;}),_0x26a644[_0x5ad9('0x4c')]['registerCustomCallback'](_0x5ad9('0x1f'),'documentList',_0x5ad9('0x1a'),function(_0x1cd6e4,_0x4d9db9){const _0x2877a7=[];for(let _0x29d583 of _0x1cd6e4)_0x29d583[_0x5ad9('0x3e')][_0x5ad9('0x2')]===_0x29d583[_0x5ad9('0xd')][_0x5ad9('0x49')]&&(_0x29d583=_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x1b')](_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x15')](_0x29d583[_0x5ad9('0x3e')][_0x5ad9('0x2')],0x0))),_0x2877a7[_0x5ad9('0x2d')](_0x29d583);_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x46')](_0x26590d=>{const _0x2c5bf2=_0x1283fd[_0x5ad9('0x10')][_0x5ad9('0x0')][_0x5ad9('0x8')],_0x3da469=Array['from'](_0x2c5bf2[_0x5ad9('0x1d')]())[_0x5ad9('0x23')](_0x5de2cd=>_0x47eb1e[_0x5ad9('0x2a')](_0x5de2cd));_0x26590d['setSelection'](_0x2877a7),_0x1283fd[_0x5ad9('0x37')][_0x5ad9('0xa')](_0x4d9db9[_0x5ad9('0x16')])[_0x5ad9('0x24')](),_0x4d9db9[_0x5ad9('0x4')]['push']({'forceDefaultExecution':!0x0}),_0x1283fd[_0x5ad9('0x1e')](_0x4d9db9[_0x5ad9('0x16')],..._0x4d9db9['commandParams']),_0x26590d[_0x5ad9('0x41')](_0x3da469);for(const _0x3a8956 of _0x3da469)_0x3a8956[_0x5ad9('0x12')]();});});}}
23
+ const _0x53f6=['numberedList','getAttribute','forceValue','ELEMENT_LIST_ITEM','*Change\x20to:*\x20%0','mergeListItemForward','splitListItemBefore','registerCustomCallback','listItemId','commands','end','bulletedList','detach','_descriptionFactory','commandName','deletion','ELEMENT_NUMBERED_LIST','plugins','markBlockFormat','listIndent','has','getFirstRange','findIndex','commandParams','add','nextSibling','schema','map','registerElementLabel','before','value','createRange','toUpperCase','DocumentListUtils','get','locale','documentList','change','splitListItemAfter','isObject','parent','length','slice','model','indentList','start','format','from','TrackChangesEditing','ELEMENT_','fromRange','push','DocumentListEditing','expandListBlocksToCompleteList','nodeAfter','mergeListItemBackward','getSelectedBlocks','refresh','setSelection','document','markMultiRangeBlockFormat','createPositionAt','outdentList','registerDescriptionCallback','after','listType','hasAttribute','enableCommand','selection','execute','*Format:*\x20remove\x20from\x20%0','previousSibling'];(function(_0x3d923a,_0x53f67c){const _0x2d2c95=function(_0x1a1596){while(--_0x1a1596){_0x3d923a['push'](_0x3d923a['shift']());}};_0x2d2c95(++_0x53f67c);}(_0x53f6,0x166));const _0x2d2c=function(_0x3d923a,_0x53f67c){_0x3d923a=_0x3d923a-0x0;let _0x2d2c95=_0x53f6[_0x3d923a];return _0x2d2c95;};import{Plugin as _0x1b1281}from'ckeditor5/src/core';import{getTranslation as _0x155f31}from'../utils/common-translations';import{LiveRange as _0x258a64}from'ckeditor5/src/engine';export default class L extends _0x1b1281{['afterInit'](){const _0x586ab9=this['editor'];if(!_0x586ab9['plugins'][_0x2d2c('0x16')](_0x2d2c('0x36')))return;const _0x58d27d=_0x586ab9[_0x2d2c('0x25')],_0x719477=_0x586ab9[_0x2d2c('0x13')]['get'](_0x2d2c('0x32')),_0x57cb77=_0x586ab9[_0x2d2c('0x13')][_0x2d2c('0x24')](_0x2d2c('0x23'));function _0x1392a9(_0x12a091){return()=>{const _0x39ecec=_0x586ab9[_0x2d2c('0xb')][_0x2d2c('0x24')](_0x12a091);let _0x116ad4=Array[_0x2d2c('0x31')](_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x3d')][_0x2d2c('0x46')][_0x2d2c('0x3a')]());if(_0x1684b7(_0x12a091)){_0x116ad4=_0x57cb77[_0x2d2c('0x37')](_0x116ad4);const _0x4e652d=[];for(const _0x4a5bcb of _0x116ad4)_0x57cb77['isFirstBlockOfListItem'](_0x4a5bcb)&&_0x4e652d[_0x2d2c('0x35')](_0x4a5bcb);_0x116ad4=_0x4e652d;}_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x27')](()=>{_0x719477[_0x2d2c('0x3e')](_0x116ad4,{'commandName':_0x12a091,'commandParams':[{'forceValue':!_0x39ecec[_0x2d2c('0x20')]}],'formatGroupId':_0x2d2c('0x43')},[],_0x2d2c('0x26'));});};}function _0x5e05c4(_0x493e9e){return()=>{const _0x3ae582=function(_0x18d6e0){let _0x5dbac5=Array[_0x2d2c('0x31')](_0x18d6e0);const _0x28ccb5=_0x5dbac5[_0x2d2c('0x18')](_0x2ba4cc=>!_0x2ba4cc[_0x2d2c('0x44')]('listItemId'));return _0x28ccb5>-0x1&&(_0x5dbac5=_0x5dbac5[_0x2d2c('0x2c')](0x0,_0x28ccb5)),_0x5dbac5;}(_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x3d')][_0x2d2c('0x46')][_0x2d2c('0x3a')]()),_0x3229c3=_0x3ae582[_0x3ae582[_0x2d2c('0x2b')]-0x1],_0x56c99a=_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x1c')][_0x2d2c('0x29')](_0x3229c3)?_0x2d2c('0x42'):_0x2d2c('0xc'),_0x17470c=_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x21')](_0x586ab9['model'][_0x2d2c('0x3f')](_0x3ae582[0x0],'before'),_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x3f')](_0x3229c3,_0x56c99a));_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x27')](()=>{_0x719477[_0x2d2c('0x14')](_0x17470c,{'commandName':_0x493e9e,'commandParams':[],'formatGroupId':'listType'},function(_0x2af4c3){const _0x534573=new Set();for(const _0x57bc57 of _0x2af4c3){let _0x332cd2=_0x57bc57[_0x2d2c('0x1b')];for(;_0x332cd2&&_0x332cd2[_0x2d2c('0x3')](_0x2d2c('0x15'))>_0x57bc57[_0x2d2c('0x3')](_0x2d2c('0x15'));)_0x534573[_0x2d2c('0x1a')](_0x332cd2),_0x332cd2=_0x332cd2[_0x2d2c('0x1b')];}return Array[_0x2d2c('0x31')](_0x534573);}(_0x3ae582));});};}function _0x426add(_0x3ea7a5){return()=>{const _0x1c1f3f=_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x3d')][_0x2d2c('0x46')]['getSelectedBlocks']()['next']()[_0x2d2c('0x20')],_0x433260=_0x586ab9['model'][_0x2d2c('0x3f')](_0x1c1f3f,_0x2d2c('0x1f')),_0x303afc=_0x586ab9[_0x2d2c('0x2d')]['createPositionAt'](_0x1c1f3f,0x0),_0x1c05d7=_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x21')](_0x433260,_0x303afc);_0x586ab9[_0x2d2c('0x2d')]['change'](()=>{_0x719477[_0x2d2c('0x14')](_0x1c05d7,{'commandName':_0x3ea7a5,'commandParams':[],'formatGroupId':_0x2d2c('0x43')});});};}function _0x1684b7(_0x552390){const _0x77ca38=_0x586ab9[_0x2d2c('0xb')][_0x2d2c('0x24')](_0x2d2c('0xd'))['value'],_0x1095d0=_0x586ab9[_0x2d2c('0xb')][_0x2d2c('0x24')](_0x2d2c('0x2'))[_0x2d2c('0x20')];return _0x2d2c('0x2')===_0x552390?_0x77ca38:_0x1095d0;}_0x719477[_0x2d2c('0x45')](_0x2d2c('0x2'),_0x1392a9(_0x2d2c('0x2'))),_0x719477[_0x2d2c('0x45')](_0x2d2c('0xd'),_0x1392a9(_0x2d2c('0xd'))),_0x719477[_0x2d2c('0x45')](_0x2d2c('0x2e'),_0x5e05c4(_0x2d2c('0x2e'))),_0x719477[_0x2d2c('0x45')](_0x2d2c('0x40'),_0x5e05c4('outdentList')),_0x719477[_0x2d2c('0x45')](_0x2d2c('0x28'),_0x426add('splitListItemAfter')),_0x719477['enableCommand'](_0x2d2c('0x8'),_0x426add('splitListItemBefore')),_0x719477[_0x2d2c('0xf')][_0x2d2c('0x1e')](function(_0x347426){const _0x140941=!_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x1c')][_0x2d2c('0x29')](_0x347426),_0xf26b33=_0x347426[_0x2d2c('0x1')],_0x4a514f=_0x347426[_0x2d2c('0x1b')],_0xe1d200=_0x347426[_0x2d2c('0x3')](_0x2d2c('0xa')),_0x40f90a=!_0xf26b33||_0xf26b33[_0x2d2c('0x3')](_0x2d2c('0xa'))!==_0xe1d200,_0x12fe1d=!_0x4a514f||_0x4a514f[_0x2d2c('0x3')](_0x2d2c('0xa'))!==_0xe1d200;return _0x140941&&Boolean(_0xe1d200)&&_0x40f90a&&_0x12fe1d;},_0x36f86c=>_0x155f31(_0x58d27d,'ELEMENT_LIST_ITEM',_0x36f86c)),_0x719477[_0x2d2c('0xf')][_0x2d2c('0x41')](function(_0x2ecc5b){const {data:_0x235ac6}=_0x2ecc5b;if(!_0x235ac6)return;let _0xe39429,_0x3f407f,_0x106f31,_0xba8cd6;switch(_0x235ac6[_0x2d2c('0x10')]){case _0x2d2c('0xd'):_0x106f31=_0x235ac6[_0x2d2c('0x19')][0x0][_0x2d2c('0x4')],_0xba8cd6=_0x1684b7(_0x235ac6['commandName']),_0xe39429=_0x106f31?'*Format:*\x20insert\x20into\x20%0':_0x2d2c('0x0'),_0xba8cd6&&(_0xe39429=_0x2d2c('0x6')),_0x3f407f={'type':_0x2d2c('0x30'),'content':_0x155f31(_0x58d27d,_0xe39429,_0x155f31(_0x58d27d,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x106f31=_0x235ac6[_0x2d2c('0x19')][0x0][_0x2d2c('0x4')],_0xba8cd6=_0x1684b7(_0x235ac6[_0x2d2c('0x10')]),_0xe39429=_0x106f31?'*Format:*\x20insert\x20into\x20%0':_0x2d2c('0x0'),_0xba8cd6&&(_0xe39429=_0x2d2c('0x6')),_0x3f407f={'type':_0x2d2c('0x30'),'content':_0x155f31(_0x58d27d,_0xe39429,_0x155f31(_0x58d27d,_0x2d2c('0x12')))};break;case'indentList':_0xe39429='*Indent:*\x20%0',_0x3f407f={'type':_0x2d2c('0x30'),'content':_0x155f31(_0x58d27d,_0xe39429,_0x155f31(_0x58d27d,_0x2d2c('0x5')))};break;case'outdentList':_0xe39429=function(_0x50379f){const _0x3cc5ee=_0x50379f[_0x2d2c('0x17')]();let _0x45b529=_0x3cc5ee[_0x2d2c('0x2f')]['nodeAfter'];for(;_0x45b529&&_0x3cc5ee['containsItem'](_0x45b529);){if(_0x45b529['getAttribute'](_0x2d2c('0x15'))>0x0)return!0x1;_0x45b529=_0x45b529[_0x2d2c('0x1b')];}return!0x0;}(_0x2ecc5b)?_0x155f31(_0x58d27d,_0x2d2c('0x0'),_0x155f31(_0x58d27d,function(_0x39f467){const _0x38a810=_0x39f467[_0x2d2c('0x17')]()[_0x2d2c('0x2f')][_0x2d2c('0x38')];return _0x2d2c('0x33')+_0x38a810[_0x2d2c('0x3')](_0x2d2c('0x43'))[_0x2d2c('0x22')]()+'_LIST';}(_0x2ecc5b))):_0x155f31(_0x58d27d,'*Outdent:*\x20%0',_0x155f31(_0x58d27d,_0x2d2c('0x5'))),_0x3f407f={'type':_0x2d2c('0x30'),'content':_0xe39429};break;case _0x2d2c('0x39'):case _0x2d2c('0x7'):!0x1===_0x235ac6['multipleBlocks']&&(_0xe39429='*Merge:*\x20%0',_0x3f407f={'type':_0x2d2c('0x11'),'content':_0x155f31(_0x58d27d,_0xe39429,_0x155f31(_0x58d27d,'ELEMENT_LIST_ITEM'))});}return _0x3f407f;}),_0x719477['_suggestionFactory'][_0x2d2c('0x9')]('formatBlock',_0x2d2c('0x26'),'accept',function(_0x4ae589,_0x1f9eee){const _0x461cf8=[];for(let _0x3e875b of _0x4ae589)_0x3e875b[_0x2d2c('0x2f')][_0x2d2c('0x38')]===_0x3e875b[_0x2d2c('0xc')][_0x2d2c('0x2a')]&&(_0x3e875b=_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x21')](_0x586ab9['model'][_0x2d2c('0x3f')](_0x3e875b[_0x2d2c('0x2f')][_0x2d2c('0x38')],0x0))),_0x461cf8[_0x2d2c('0x35')](_0x3e875b);_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x27')](_0x4afb08=>{const _0x54c764=_0x586ab9[_0x2d2c('0x2d')][_0x2d2c('0x3d')]['selection'],_0x5a2d3b=Array[_0x2d2c('0x31')](_0x54c764['getRanges']())[_0x2d2c('0x1d')](_0x5576a0=>_0x258a64[_0x2d2c('0x34')](_0x5576a0));_0x4afb08[_0x2d2c('0x3c')](_0x461cf8),_0x586ab9['commands'][_0x2d2c('0x24')](_0x1f9eee[_0x2d2c('0x10')])[_0x2d2c('0x3b')](),_0x1f9eee[_0x2d2c('0x19')][_0x2d2c('0x35')]({'forceDefaultExecution':!0x0}),_0x586ab9[_0x2d2c('0x47')](_0x1f9eee['commandName'],..._0x1f9eee[_0x2d2c('0x19')]),_0x4afb08[_0x2d2c('0x3c')](_0x5a2d3b);for(const _0x3988d7 of _0x5a2d3b)_0x3988d7[_0x2d2c('0xe')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51bc=['isFirstBlockOfListItem','_getTranslationKeyForListStyle','*Format:*\x20set\x20order\x20to\x20reversed','listType','TrackChangesEditing','handleListStyleCommand','editor','replace','has','_getSuggestionBlocksForListStyle','plugins','commandName','get','startIndex','getSelectedBlocks','DocumentListPropertiesUtils','listReversed','getAttribute','toUpperCase','_getSuggestionBlocks','afterInit','*Format:*\x20set\x20start\x20index\x20to\x20%0','isListItemBlock','_LIST_','styles','change','document','from','handleDescriptions','bind','type','config','commandParams','listStart','DocumentListPropertiesEditing','markMultiRangeBlockFormat','enableCommand','push','locale','_descriptionFactory','handleListReversedCommand','format','reversed','*Change\x20to:*\x20%0','numbered','length','model','listStyle','list.properties','selection','filter','DocumentListUtils','registerDescriptionCallback','expandListBlocksToCompleteList'];(function(_0x194068,_0x51bce5){const _0x32e6a1=function(_0x3d4edd){while(--_0x3d4edd){_0x194068['push'](_0x194068['shift']());}};_0x32e6a1(++_0x51bce5);}(_0x51bc,0xce));const _0x32e6=function(_0x194068,_0x51bce5){_0x194068=_0x194068-0x0;let _0x32e6a1=_0x51bc[_0x194068];return _0x32e6a1;};import{Plugin as _0x17a336}from'ckeditor5/src/core';import{getTranslation as _0x5f2e08}from'../utils/common-translations';export default class At extends _0x17a336{[_0x32e6('0x1e')](){if(!this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x12')](_0x32e6('0x2c')))return;const _0x37ed68=this[_0x32e6('0x10')][_0x32e6('0x29')][_0x32e6('0x16')](_0x32e6('0x4')),_0x59d7f5=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')]('TrackChangesEditing');_0x37ed68[_0x32e6('0x22')]&&_0x59d7f5[_0x32e6('0x2e')](_0x32e6('0x3'),this[_0x32e6('0xf')][_0x32e6('0x27')](this)),_0x37ed68[_0x32e6('0x34')]&&_0x59d7f5[_0x32e6('0x2e')](_0x32e6('0x1a'),this[_0x32e6('0x32')][_0x32e6('0x27')](this)),_0x37ed68['startIndex']&&_0x59d7f5[_0x32e6('0x2e')](_0x32e6('0x2b'),this['handleListStartCommand'][_0x32e6('0x27')](this)),_0x59d7f5[_0x32e6('0x31')][_0x32e6('0x8')](this[_0x32e6('0x26')][_0x32e6('0x27')](this));}['handleListStyleCommand'](_0x287fb1,_0x58e150={}){const _0x20bbb0=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0xe')),_0x28f6f9=this[_0x32e6('0x13')]();this[_0x32e6('0x10')][_0x32e6('0x2')]['change'](()=>{_0x20bbb0[_0x32e6('0x2d')](_0x28f6f9,{'commandName':_0x32e6('0x3'),'commandParams':[{'type':_0x58e150[_0x32e6('0x28')]}],'formatGroupId':_0x32e6('0x3')});});}['handleListReversedCommand'](_0xc9c0db,_0x4cb32d={}){const _0x538b64=this['editor'][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0xe')),_0x17b01c=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')]('DocumentListUtils'),_0x22dcf1=this[_0x32e6('0x1d')](_0x1d05e5=>_0x17b01c[_0x32e6('0x20')](_0x1d05e5)&&_0x32e6('0x0')===_0x1d05e5[_0x32e6('0x1b')](_0x32e6('0xd')));null!==_0x22dcf1&&this[_0x32e6('0x10')][_0x32e6('0x2')][_0x32e6('0x23')](()=>{_0x538b64[_0x32e6('0x2d')](_0x22dcf1,{'commandName':_0x32e6('0x1a'),'commandParams':[{'reversed':_0x4cb32d[_0x32e6('0x34')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x2cca2e,_0x19579d={}){const _0x5b9767=this['editor'][_0x32e6('0x14')]['get'](_0x32e6('0xe')),_0x4a402b=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0x7')),_0x27b4f8=this[_0x32e6('0x1d')](_0x5d66d9=>_0x4a402b[_0x32e6('0x20')](_0x5d66d9)&&_0x32e6('0x0')===_0x5d66d9[_0x32e6('0x1b')](_0x32e6('0xd')));null!==_0x27b4f8&&this[_0x32e6('0x10')][_0x32e6('0x2')][_0x32e6('0x23')](()=>{_0x5b9767['markMultiRangeBlockFormat'](_0x27b4f8,{'commandName':_0x32e6('0x2b'),'commandParams':[{'startIndex':_0x19579d[_0x32e6('0x17')]}],'formatGroupId':'listStart'});});}[_0x32e6('0x26')](_0x85b014){const _0x40d670=this[_0x32e6('0x10')][_0x32e6('0x30')],{data:_0x45652b}=_0x85b014;if(!_0x45652b)return;let _0x5b6164,_0x247890;switch(_0x45652b[_0x32e6('0x15')]){case _0x32e6('0x3'):_0x5b6164=_0x32e6('0x35'),_0x247890={'type':'format','content':_0x5f2e08(_0x40d670,_0x5b6164,_0x5f2e08(_0x40d670,this[_0x32e6('0xb')](_0x45652b[_0x32e6('0x2a')][0x0][_0x32e6('0x28')])))};break;case _0x32e6('0x1a'):_0x5b6164=_0x45652b[_0x32e6('0x2a')][0x0][_0x32e6('0x34')]?_0x32e6('0xc'):'*Format:*\x20set\x20order\x20to\x20regular',_0x247890={'type':'format','content':_0x5f2e08(_0x40d670,_0x5b6164)};break;case'listStart':_0x5b6164=_0x32e6('0x1f'),_0x247890={'type':_0x32e6('0x33'),'content':_0x5f2e08(_0x40d670,_0x5b6164,_0x45652b[_0x32e6('0x2a')][0x0][_0x32e6('0x17')])};}return _0x247890;}[_0x32e6('0x13')](){const _0xe541ce=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0x7'));let _0x4c7c37=Array['from'](this[_0x32e6('0x10')][_0x32e6('0x2')][_0x32e6('0x24')][_0x32e6('0x5')][_0x32e6('0x18')]());return _0x4c7c37['push'](..._0xe541ce['expandListBlocksToCompleteList'](_0x4c7c37)),_0x4c7c37=[...new Set(_0x4c7c37)],_0x4c7c37;}['_getSuggestionBlocks'](_0x222286){const _0x1d3243=this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0x7'));let _0x3c82ca=Array[_0x32e6('0x25')](this[_0x32e6('0x10')]['model']['document'][_0x32e6('0x5')]['getSelectedBlocks']())[_0x32e6('0x6')](_0x222286);if(!_0x3c82ca[_0x32e6('0x1')])return null;_0x3c82ca=_0x1d3243[_0x32e6('0x9')](_0x3c82ca);const _0x378729=[];for(const _0x363a56 of _0x3c82ca)_0x1d3243[_0x32e6('0xa')](_0x363a56)&&_0x378729[_0x32e6('0x2f')](_0x363a56);return _0x378729;}[_0x32e6('0xb')](_0x4cfb77){return'ELEMENT_'+this[_0x32e6('0x10')][_0x32e6('0x14')][_0x32e6('0x16')](_0x32e6('0x19'))['getListTypeFromListStyleType'](_0x4cfb77)[_0x32e6('0x1c')]()+_0x32e6('0x21')+_0x4cfb77[_0x32e6('0x1c')]()[_0x32e6('0x11')](/-/g,'_');}}
23
+ const _0xfc6c=['change','_getTranslationKeyForListStyle','styles','get','toUpperCase','bind','_getSuggestionBlocksForListStyle','numbered','startIndex','isFirstBlockOfListItem','*Format:*\x20set\x20order\x20to\x20regular','replace','editor','TrackChangesEditing','*Format:*\x20set\x20order\x20to\x20reversed','listReversed','format','locale','commandParams','listStyle','handleListStyleCommand','has','expandListBlocksToCompleteList','_getSuggestionBlocks','length','model','getListTypeFromListStyleType','ELEMENT_','isListItemBlock','commandName','enableCommand','document','DocumentListPropertiesUtils','list.properties','getSelectedBlocks','getAttribute','reversed','handleListStartCommand','*Format:*\x20set\x20start\x20index\x20to\x20%0','selection','handleListReversedCommand','*Change\x20to:*\x20%0','listStart','markMultiRangeBlockFormat','DocumentListUtils','DocumentListPropertiesEditing','push','type','plugins','config','handleDescriptions'];(function(_0x4757ef,_0xfc6cdf){const _0xe0cded=function(_0x4a7f8b){while(--_0x4a7f8b){_0x4757ef['push'](_0x4757ef['shift']());}};_0xe0cded(++_0xfc6cdf);}(_0xfc6c,0x76));const _0xe0cd=function(_0x4757ef,_0xfc6cdf){_0x4757ef=_0x4757ef-0x0;let _0xe0cded=_0xfc6c[_0x4757ef];return _0xe0cded;};import{Plugin as _0x3b8b06}from'ckeditor5/src/core';import{getTranslation as _0x232ad5}from'../utils/common-translations';export default class At extends _0x3b8b06{['afterInit'](){if(!this['editor']['plugins'][_0xe0cd('0x5')](_0xe0cd('0x1d')))return;const _0x3b7dfa=this[_0xe0cd('0x2f')][_0xe0cd('0x21')]['get'](_0xe0cd('0x11')),_0x1450f6=this[_0xe0cd('0x2f')][_0xe0cd('0x20')][_0xe0cd('0x26')]('TrackChangesEditing');_0x3b7dfa[_0xe0cd('0x25')]&&_0x1450f6['enableCommand'](_0xe0cd('0x3'),this[_0xe0cd('0x4')]['bind'](this)),_0x3b7dfa[_0xe0cd('0x14')]&&_0x1450f6[_0xe0cd('0xe')](_0xe0cd('0x32'),this[_0xe0cd('0x18')][_0xe0cd('0x28')](this)),_0x3b7dfa[_0xe0cd('0x2b')]&&_0x1450f6[_0xe0cd('0xe')](_0xe0cd('0x1a'),this[_0xe0cd('0x15')][_0xe0cd('0x28')](this)),_0x1450f6['_descriptionFactory']['registerDescriptionCallback'](this[_0xe0cd('0x22')][_0xe0cd('0x28')](this));}['handleListStyleCommand'](_0x4ddb25,_0xcf036e={}){const _0x7dd7d8=this[_0xe0cd('0x2f')][_0xe0cd('0x20')][_0xe0cd('0x26')]('TrackChangesEditing'),_0x11af1d=this['_getSuggestionBlocksForListStyle']();this[_0xe0cd('0x2f')][_0xe0cd('0x9')]['change'](()=>{_0x7dd7d8[_0xe0cd('0x1b')](_0x11af1d,{'commandName':_0xe0cd('0x3'),'commandParams':[{'type':_0xcf036e['type']}],'formatGroupId':_0xe0cd('0x3')});});}[_0xe0cd('0x18')](_0x1ff0f1,_0x517fcd={}){const _0x289ed5=this[_0xe0cd('0x2f')]['plugins'][_0xe0cd('0x26')](_0xe0cd('0x30')),_0x1fe4f8=this['editor'][_0xe0cd('0x20')]['get'](_0xe0cd('0x1c')),_0x275891=this[_0xe0cd('0x7')](_0x1a93c2=>_0x1fe4f8[_0xe0cd('0xc')](_0x1a93c2)&&_0xe0cd('0x2a')===_0x1a93c2[_0xe0cd('0x13')]('listType'));null!==_0x275891&&this[_0xe0cd('0x2f')][_0xe0cd('0x9')][_0xe0cd('0x23')](()=>{_0x289ed5['markMultiRangeBlockFormat'](_0x275891,{'commandName':_0xe0cd('0x32'),'commandParams':[{'reversed':_0x517fcd[_0xe0cd('0x14')]}],'formatGroupId':_0xe0cd('0x32')});});}[_0xe0cd('0x15')](_0x1d2ecc,_0x3fb7e2={}){const _0x1a462b=this[_0xe0cd('0x2f')][_0xe0cd('0x20')][_0xe0cd('0x26')](_0xe0cd('0x30')),_0x23b254=this['editor'][_0xe0cd('0x20')][_0xe0cd('0x26')](_0xe0cd('0x1c')),_0x4ea72b=this[_0xe0cd('0x7')](_0x5372c6=>_0x23b254['isListItemBlock'](_0x5372c6)&&'numbered'===_0x5372c6[_0xe0cd('0x13')]('listType'));null!==_0x4ea72b&&this[_0xe0cd('0x2f')][_0xe0cd('0x9')]['change'](()=>{_0x1a462b[_0xe0cd('0x1b')](_0x4ea72b,{'commandName':_0xe0cd('0x1a'),'commandParams':[{'startIndex':_0x3fb7e2[_0xe0cd('0x2b')]}],'formatGroupId':_0xe0cd('0x1a')});});}[_0xe0cd('0x22')](_0x532274){const _0x68cfc9=this[_0xe0cd('0x2f')][_0xe0cd('0x1')],{data:_0x1a06ec}=_0x532274;if(!_0x1a06ec)return;let _0x3875fe,_0x1516ed;switch(_0x1a06ec[_0xe0cd('0xd')]){case'listStyle':_0x3875fe=_0xe0cd('0x19'),_0x1516ed={'type':_0xe0cd('0x0'),'content':_0x232ad5(_0x68cfc9,_0x3875fe,_0x232ad5(_0x68cfc9,this[_0xe0cd('0x24')](_0x1a06ec[_0xe0cd('0x2')][0x0][_0xe0cd('0x1f')])))};break;case _0xe0cd('0x32'):_0x3875fe=_0x1a06ec[_0xe0cd('0x2')][0x0][_0xe0cd('0x14')]?_0xe0cd('0x31'):_0xe0cd('0x2d'),_0x1516ed={'type':_0xe0cd('0x0'),'content':_0x232ad5(_0x68cfc9,_0x3875fe)};break;case _0xe0cd('0x1a'):_0x3875fe=_0xe0cd('0x16'),_0x1516ed={'type':'format','content':_0x232ad5(_0x68cfc9,_0x3875fe,_0x1a06ec[_0xe0cd('0x2')][0x0]['startIndex'])};}return _0x1516ed;}[_0xe0cd('0x29')](){const _0x526941=this[_0xe0cd('0x2f')][_0xe0cd('0x20')]['get'](_0xe0cd('0x1c'));let _0x215df9=Array['from'](this['editor']['model'][_0xe0cd('0xf')][_0xe0cd('0x17')][_0xe0cd('0x12')]());return _0x215df9['push'](..._0x526941[_0xe0cd('0x6')](_0x215df9)),_0x215df9=[...new Set(_0x215df9)],_0x215df9;}[_0xe0cd('0x7')](_0x4339d3){const _0x5f3b7b=this[_0xe0cd('0x2f')][_0xe0cd('0x20')][_0xe0cd('0x26')](_0xe0cd('0x1c'));let _0x45eff1=Array['from'](this['editor'][_0xe0cd('0x9')]['document']['selection'][_0xe0cd('0x12')]())['filter'](_0x4339d3);if(!_0x45eff1[_0xe0cd('0x8')])return null;_0x45eff1=_0x5f3b7b['expandListBlocksToCompleteList'](_0x45eff1);const _0x487177=[];for(const _0x3f24d8 of _0x45eff1)_0x5f3b7b[_0xe0cd('0x2c')](_0x3f24d8)&&_0x487177[_0xe0cd('0x1e')](_0x3f24d8);return _0x487177;}[_0xe0cd('0x24')](_0x1002a7){return _0xe0cd('0xb')+this[_0xe0cd('0x2f')]['plugins']['get'](_0xe0cd('0x10'))[_0xe0cd('0xa')](_0x1002a7)[_0xe0cd('0x27')]()+'_LIST_'+_0x1002a7[_0xe0cd('0x27')]()[_0xe0cd('0x2e')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x588c=['remove','split','addMarker:suggestion:insertion','writer','requires','removeMarker:suggestion:insertion','nextSibling','unbindElementFromMarkerName','model','data','mapper','bind','fire','ck-suggestion-marker-split','setSelection','hasClass','fromRange','options','commands','end','get','selection','markerNameToElements','document','downcastDispatcher','high','afterExecute','showSuggestionHighlights','getFirstPosition','createRange','enableCommand','editing','editor','enter','plugins','createPositionAt','parent'];(function(_0x495d83,_0x588c93){const _0x1f94c1=function(_0x50237d){while(--_0x50237d){_0x495d83['push'](_0x495d83['shift']());}};_0x1f94c1(++_0x588c93);}(_0x588c,0x198));const _0x1f94=function(_0x495d83,_0x588c93){_0x495d83=_0x495d83-0x0;let _0x1f94c1=_0x588c[_0x495d83];return _0x1f94c1;};import{Plugin as _0x18ae9b}from'ckeditor5/src/core';import{Enter as _0x328b6f}from'ckeditor5/src/enter';import{LiveRange as _0x48b172}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1e260a}from'./utils';export default class q extends _0x18ae9b{static get[_0x1f94('0x3')](){return[_0x328b6f];}['init'](){const _0x1dc7cb=this[_0x1f94('0x1f')],_0x140f2d=_0x1dc7cb[_0x1f94('0x21')][_0x1f94('0x13')]('TrackChangesEditing'),_0x3f6d88=_0x1dc7cb[_0x1f94('0x11')][_0x1f94('0x13')](_0x1f94('0x20'));_0x140f2d[_0x1f94('0x1d')](_0x1f94('0x20'),()=>{_0x1dc7cb['model']['change'](_0x34f823=>{const _0x5b1d64=_0x1dc7cb['model'][_0x1f94('0x16')][_0x1f94('0x14')],_0x5f03b4=_0x5b1d64[_0x1f94('0x1b')](),_0x577670=_0x48b172[_0x1f94('0xf')](_0x5b1d64['getFirstRange']());if(_0x3f6d88['enterBlock'](_0x34f823)){const _0x406252=_0x1dc7cb[_0x1f94('0x7')][_0x1f94('0x22')](_0x5f03b4[_0x1f94('0x23')][_0x1f94('0x5')],0x0),_0x4a09f4=_0x34f823[_0x1f94('0x1c')](_0x5f03b4,_0x406252);_0x140f2d['markInsertion'](_0x4a09f4);}else _0x34f823[_0x1f94('0xd')](_0x34f823[_0x1f94('0x1c')](_0x577670[_0x1f94('0x12')]));_0x577670['detach'](),_0x3f6d88[_0x1f94('0xb')](_0x1f94('0x19'),{'writer':_0x34f823});});}),_0x1dc7cb['editing'][_0x1f94('0x17')]['on'](_0x1f94('0x1'),_0x1e260a(_0x1dc7cb,'split'),{'priority':_0x1f94('0x18')}),_0x1dc7cb[_0x1f94('0x1e')][_0x1f94('0x17')]['on'](_0x1f94('0x4'),(_0x27d930,_0x2d334a,_0x328ed1)=>{const _0x28bed4=_0x328ed1[_0x1f94('0x9')][_0x1f94('0x15')](_0x2d334a['markerName']);if(_0x28bed4)for(const _0x31ae49 of _0x28bed4)_0x31ae49[_0x1f94('0xe')](_0x1f94('0xc'))&&(_0x328ed1[_0x1f94('0x9')][_0x1f94('0x6')](_0x31ae49,_0x2d334a['markerName']),_0x328ed1[_0x1f94('0x2')][_0x1f94('0x24')](_0x31ae49));},{'priority':_0x1f94('0x18')}),_0x1dc7cb[_0x1f94('0x8')]['downcastDispatcher']['on'](_0x1f94('0x1'),(_0x57a949,_0x30b0eb,_0x24015d)=>{_0x24015d[_0x1f94('0x10')][_0x1f94('0x1a')]&&_0x1e260a(_0x1dc7cb,_0x1f94('0x0'),{'showActiveMarker':!0x1})[_0x1f94('0xa')](this)(_0x57a949,_0x30b0eb,_0x24015d);},{'priority':_0x1f94('0x18')});}}
23
+ const _0x550b=['mapper','addMarker:suggestion:insertion','commands','init','editing','markerNameToElements','afterExecute','remove','createPositionAt','split','data','enableCommand','writer','high','model','removeMarker:suggestion:insertion','getFirstRange','unbindElementFromMarkerName','change','enter','document','markerName','plugins','ck-suggestion-marker-split','downcastDispatcher','fire','detach','getFirstPosition','fromRange','markInsertion','TrackChangesEditing','showSuggestionHighlights','setSelection'];(function(_0x1e0768,_0x550b9){const _0x1fccf4=function(_0x4f5fb0){while(--_0x4f5fb0){_0x1e0768['push'](_0x1e0768['shift']());}};_0x1fccf4(++_0x550b9);}(_0x550b,0xe2));const _0x1fcc=function(_0x1e0768,_0x550b9){_0x1e0768=_0x1e0768-0x0;let _0x1fccf4=_0x550b[_0x1e0768];return _0x1fccf4;};import{Plugin as _0x51754b}from'ckeditor5/src/core';import{Enter as _0x73e043}from'ckeditor5/src/enter';import{LiveRange as _0x23a9d6}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2a8578}from'./utils';export default class q extends _0x51754b{static get['requires'](){return[_0x73e043];}[_0x1fcc('0x8')](){const _0x358488=this['editor'],_0x54b1c1=_0x358488[_0x1fcc('0x1b')]['get'](_0x1fcc('0x2')),_0x42f4bf=_0x358488[_0x1fcc('0x7')]['get'](_0x1fcc('0x18'));_0x54b1c1[_0x1fcc('0x10')]('enter',()=>{_0x358488[_0x1fcc('0x13')][_0x1fcc('0x17')](_0x230524=>{const _0x3269a9=_0x358488[_0x1fcc('0x13')][_0x1fcc('0x19')]['selection'],_0x28b84d=_0x3269a9[_0x1fcc('0x20')](),_0x368ef9=_0x23a9d6[_0x1fcc('0x0')](_0x3269a9[_0x1fcc('0x15')]());if(_0x42f4bf['enterBlock'](_0x230524)){const _0x57d87c=_0x358488[_0x1fcc('0x13')][_0x1fcc('0xd')](_0x28b84d['parent']['nextSibling'],0x0),_0x326b3d=_0x230524['createRange'](_0x28b84d,_0x57d87c);_0x54b1c1[_0x1fcc('0x1')](_0x326b3d);}else _0x230524[_0x1fcc('0x4')](_0x230524['createRange'](_0x368ef9['end']));_0x368ef9[_0x1fcc('0x1f')](),_0x42f4bf[_0x1fcc('0x1e')](_0x1fcc('0xb'),{'writer':_0x230524});});}),_0x358488[_0x1fcc('0x9')][_0x1fcc('0x1d')]['on'](_0x1fcc('0x6'),_0x2a8578(_0x358488,'split'),{'priority':_0x1fcc('0x12')}),_0x358488[_0x1fcc('0x9')]['downcastDispatcher']['on'](_0x1fcc('0x14'),(_0x51fa2a,_0x1e90ac,_0x44f8d1)=>{const _0x361697=_0x44f8d1[_0x1fcc('0x5')][_0x1fcc('0xa')](_0x1e90ac['markerName']);if(_0x361697)for(const _0x4700be of _0x361697)_0x4700be['hasClass'](_0x1fcc('0x1c'))&&(_0x44f8d1[_0x1fcc('0x5')][_0x1fcc('0x16')](_0x4700be,_0x1e90ac[_0x1fcc('0x1a')]),_0x44f8d1[_0x1fcc('0x11')][_0x1fcc('0xc')](_0x4700be));},{'priority':_0x1fcc('0x12')}),_0x358488[_0x1fcc('0xf')][_0x1fcc('0x1d')]['on'](_0x1fcc('0x6'),(_0x5071ae,_0x91954c,_0xb51880)=>{_0xb51880['options'][_0x1fcc('0x3')]&&_0x2a8578(_0x358488,_0x1fcc('0xe'),{'showActiveMarker':!0x1})['bind'](this)(_0x5071ae,_0x91954c,_0xb51880);},{'priority':_0x1fcc('0x12')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cdb=['filter','enableCommand','FindAndReplaceUtils','findPrevious','handleFindCommand','model','editor','start','TrackChangesEditing','has','end','getMarkersGroup','createRange','replace','replaceAll','suggestion:deletion','_isInDeletionRange','createPositionAt','findNext','getRange','afterInit','FindAndReplaceEditing','find','get','bind','plugins'];(function(_0x166b0a,_0x4cdb1b){const _0x5e1f02=function(_0x5486fe){while(--_0x5486fe){_0x166b0a['push'](_0x166b0a['shift']());}};_0x5e1f02(++_0x4cdb1b);}(_0x4cdb,0xc2));const _0x5e1f=function(_0x166b0a,_0x4cdb1b){_0x166b0a=_0x166b0a-0x0;let _0x5e1f02=_0x4cdb[_0x166b0a];return _0x5e1f02;};import{Plugin as _0x3209fc}from'ckeditor5/src/core';export default class z extends _0x3209fc{[_0x5e1f('0x8')](){if(!this['editor'][_0x5e1f('0xd')][_0x5e1f('0x17')](_0x5e1f('0x9')))return;const _0x5ee081=this[_0x5e1f('0x14')][_0x5e1f('0xd')][_0x5e1f('0xb')](_0x5e1f('0x16'));_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0xa'),this[_0x5e1f('0x12')][_0x5e1f('0xc')](this)),_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0x6')),_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0x11')),_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0x1')),_0x5ee081[_0x5e1f('0xf')](_0x5e1f('0x2'));}['handleFindCommand'](_0x56af2e,_0x4136b9,_0x560e61={}){const _0x3564d6=this['editor'][_0x5e1f('0xd')][_0x5e1f('0xb')](_0x5e1f('0x10'));void 0x0!==_0x560e61&&_0x56af2e(_0x548545=>('string'==typeof _0x4136b9?_0x3564d6['findByTextCallback'](_0x4136b9,_0x560e61):_0x4136b9)(_0x548545)[_0x5e1f('0xe')](_0x323063=>!0x1===this['_isInDeletionRange'](_0x323063,_0x548545['item'])),_0x560e61);}[_0x5e1f('0x4')](_0x3c5fcd,_0x5d098c){const _0x517f6c=this[_0x5e1f('0x14')]['model'][_0x5e1f('0x0')](this[_0x5e1f('0x14')][_0x5e1f('0x13')][_0x5e1f('0x5')](_0x5d098c,_0x3c5fcd[_0x5e1f('0x15')]),this[_0x5e1f('0x14')][_0x5e1f('0x13')][_0x5e1f('0x5')](_0x5d098c,_0x3c5fcd[_0x5e1f('0x18')]));for(const _0x357d6c of this['editor'][_0x5e1f('0x13')]['markers'][_0x5e1f('0x19')](_0x5e1f('0x3')))if(null!==_0x517f6c['getIntersection'](_0x357d6c[_0x5e1f('0x7')]()))return!0x0;return!0x1;}}
23
+ const _0x556b=['_isInDeletionRange','replaceAll','end','TrackChangesEditing','enableCommand','string','findPrevious','createPositionAt','getMarkersGroup','find','replace','item','editor','findNext','createRange','findByTextCallback','get','suggestion:deletion','markers','handleFindCommand','model','plugins','start','getIntersection'];(function(_0x53b965,_0x556b28){const _0x1eaf20=function(_0x31c2e9){while(--_0x31c2e9){_0x53b965['push'](_0x53b965['shift']());}};_0x1eaf20(++_0x556b28);}(_0x556b,0x1c4));const _0x1eaf=function(_0x53b965,_0x556b28){_0x53b965=_0x53b965-0x0;let _0x1eaf20=_0x556b[_0x53b965];return _0x1eaf20;};import{Plugin as _0x5e62ca}from'ckeditor5/src/core';export default class z extends _0x5e62ca{['afterInit'](){if(!this[_0x1eaf('0x10')]['plugins']['has']('FindAndReplaceEditing'))return;const _0x2167ca=this[_0x1eaf('0x10')][_0x1eaf('0x1')]['get'](_0x1eaf('0x7'));_0x2167ca[_0x1eaf('0x8')](_0x1eaf('0xd'),this[_0x1eaf('0x17')]['bind'](this)),_0x2167ca['enableCommand'](_0x1eaf('0x11')),_0x2167ca[_0x1eaf('0x8')](_0x1eaf('0xa')),_0x2167ca[_0x1eaf('0x8')](_0x1eaf('0xe')),_0x2167ca[_0x1eaf('0x8')](_0x1eaf('0x5'));}[_0x1eaf('0x17')](_0x2d5387,_0x30c12c,_0x51131a={}){const _0x39ef65=this[_0x1eaf('0x10')][_0x1eaf('0x1')][_0x1eaf('0x14')]('FindAndReplaceUtils');void 0x0!==_0x51131a&&_0x2d5387(_0x182a1f=>(_0x1eaf('0x9')==typeof _0x30c12c?_0x39ef65[_0x1eaf('0x13')](_0x30c12c,_0x51131a):_0x30c12c)(_0x182a1f)['filter'](_0x48a246=>!0x1===this[_0x1eaf('0x4')](_0x48a246,_0x182a1f[_0x1eaf('0xf')])),_0x51131a);}[_0x1eaf('0x4')](_0x53a818,_0x24c70b){const _0x3b6ac1=this['editor'][_0x1eaf('0x0')][_0x1eaf('0x12')](this['editor']['model'][_0x1eaf('0xb')](_0x24c70b,_0x53a818[_0x1eaf('0x2')]),this[_0x1eaf('0x10')][_0x1eaf('0x0')][_0x1eaf('0xb')](_0x24c70b,_0x53a818[_0x1eaf('0x6')]));for(const _0x25c790 of this[_0x1eaf('0x10')][_0x1eaf('0x0')][_0x1eaf('0x16')][_0x1eaf('0xc')](_0x1eaf('0x15')))if(null!==_0x3b6ac1[_0x1eaf('0x3')](_0x25c790['getRange']()))return!0x0;return!0x1;}}