@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231004.0 → 0.0.0-nightly-20231006.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 (65) 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.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. 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-20231004.0",
3
+ "version": "0.0.0-nightly-20231006.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-20231004.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231004.0",
42
+ "ckeditor5": "0.0.0-nightly-20231006.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231006.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 _0xc488=['TrackChangesEditing','_isEnabledBasedOnSelection','canEditAt','execute','isEnabled','editor','get','acceptSuggestion','track-changes-accept-suggestion-not-found','_suggestions'];(function(_0x28a7ac,_0xc48835){const _0x883b03=function(_0x4ce1cf){while(--_0x4ce1cf){_0x28a7ac['push'](_0x28a7ac['shift']());}};_0x883b03(++_0xc48835);}(_0xc488,0x6e));const _0x883b=function(_0x28a7ac,_0xc48835){_0x28a7ac=_0x28a7ac-0x0;let _0x883b03=_0xc488[_0x28a7ac];return _0x883b03;};import{Command as _0x3b88db}from'ckeditor5/src/core';import{CKEditorError as _0x5da507}from'ckeditor5/src/utils';export default class M extends _0x3b88db{constructor(_0x51641a,_0xd93de6){super(_0x51641a),this['_suggestions']=_0xd93de6,this['refresh'](),this[_0x883b('0x1')]=!0x1;}['refresh'](){this[_0x883b('0x4')]=!0x0;}[_0x883b('0x3')](_0x29e7ef){const _0x290cab=this[_0x883b('0x9')][_0x883b('0x6')](_0x29e7ef);if(!_0x290cab)throw new _0x5da507(_0x883b('0x8'),this);const _0x51cc3e=_0x290cab['getRanges']();this[_0x883b('0x5')]['model'][_0x883b('0x2')](_0x51cc3e)&&this[_0x883b('0x5')]['plugins'][_0x883b('0x6')](_0x883b('0x0'))[_0x883b('0x7')](_0x290cab);}}
23
+ const _0x2846=['acceptSuggestion','canEditAt','get','_isEnabledBasedOnSelection','_suggestions','editor','isEnabled','refresh','execute'];(function(_0x20caa1,_0x284634){const _0xc31412=function(_0x412fca){while(--_0x412fca){_0x20caa1['push'](_0x20caa1['shift']());}};_0xc31412(++_0x284634);}(_0x2846,0xed));const _0xc314=function(_0x20caa1,_0x284634){_0x20caa1=_0x20caa1-0x0;let _0xc31412=_0x2846[_0x20caa1];return _0xc31412;};import{Command as _0x3725d0}from'ckeditor5/src/core';import{CKEditorError as _0x59140b}from'ckeditor5/src/utils';export default class M extends _0x3725d0{constructor(_0x500c9a,_0x526b39){super(_0x500c9a),this['_suggestions']=_0x526b39,this[_0xc314('0x4')](),this[_0xc314('0x0')]=!0x1;}[_0xc314('0x4')](){this[_0xc314('0x3')]=!0x0;}[_0xc314('0x5')](_0x13d590){const _0x3a1a3a=this[_0xc314('0x1')][_0xc314('0x8')](_0x13d590);if(!_0x3a1a3a)throw new _0x59140b('track-changes-accept-suggestion-not-found',this);const _0x2861c4=_0x3a1a3a['getRanges']();this[_0xc314('0x2')]['model'][_0xc314('0x7')](_0x2861c4)&&this[_0xc314('0x2')]['plugins'][_0xc314('0x8')]('TrackChangesEditing')[_0xc314('0x6')](_0x3a1a3a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1849=['_suggestions','execute','get','plugins','refresh','editor','track-changes-discard-suggestion-not-found','getRanges','TrackChangesEditing','model','discardSuggestion'];(function(_0xa9db49,_0x184938){const _0x21c52c=function(_0x4aefb5){while(--_0x4aefb5){_0xa9db49['push'](_0xa9db49['shift']());}};_0x21c52c(++_0x184938);}(_0x1849,0x90));const _0x21c5=function(_0xa9db49,_0x184938){_0xa9db49=_0xa9db49-0x0;let _0x21c52c=_0x1849[_0xa9db49];return _0x21c52c;};import{Command as _0x4781a4}from'ckeditor5/src/core';import{CKEditorError as _0x28bc20}from'ckeditor5/src/utils';export default class $ extends _0x4781a4{constructor(_0x48c073,_0x1c4213){super(_0x48c073),this[_0x21c5('0xa')]=_0x1c4213,this[_0x21c5('0x3')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x21c5('0x3')](){this['isEnabled']=!0x0;}[_0x21c5('0x0')](_0x5532e6){const _0x17903b=this[_0x21c5('0xa')][_0x21c5('0x1')](_0x5532e6);if(!_0x17903b)throw new _0x28bc20(_0x21c5('0x5'),this);const _0x3e595b=_0x17903b[_0x21c5('0x6')]();this['editor'][_0x21c5('0x8')]['canEditAt'](_0x3e595b)&&this[_0x21c5('0x4')][_0x21c5('0x2')][_0x21c5('0x1')](_0x21c5('0x7'))[_0x21c5('0x9')](_0x17903b);}}
23
+ const _0x46f0=['plugins','execute','model','discardSuggestion','_isEnabledBasedOnSelection','getRanges','canEditAt','editor','TrackChangesEditing','get','track-changes-discard-suggestion-not-found','refresh'];(function(_0x201511,_0x46f0f6){const _0x16a110=function(_0x11b073){while(--_0x11b073){_0x201511['push'](_0x201511['shift']());}};_0x16a110(++_0x46f0f6);}(_0x46f0,0xea));const _0x16a1=function(_0x201511,_0x46f0f6){_0x201511=_0x201511-0x0;let _0x16a110=_0x46f0[_0x201511];return _0x16a110;};import{Command as _0x520cd7}from'ckeditor5/src/core';import{CKEditorError as _0x1455a0}from'ckeditor5/src/utils';export default class $ extends _0x520cd7{constructor(_0x2c2c25,_0x25a4ac){super(_0x2c2c25),this['_suggestions']=_0x25a4ac,this[_0x16a1('0x5')](),this[_0x16a1('0xa')]=!0x1;}[_0x16a1('0x5')](){this['isEnabled']=!0x0;}[_0x16a1('0x7')](_0x3dcfb7){const _0xda8ac8=this['_suggestions'][_0x16a1('0x3')](_0x3dcfb7);if(!_0xda8ac8)throw new _0x1455a0(_0x16a1('0x4'),this);const _0x2315bb=_0xda8ac8[_0x16a1('0xb')]();this[_0x16a1('0x1')][_0x16a1('0x8')][_0x16a1('0x0')](_0x2315bb)&&this[_0x16a1('0x1')][_0x16a1('0x6')]['get'](_0x16a1('0x2'))[_0x16a1('0x9')](_0xda8ac8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3907=['isEnabled','model','_isEnabledBasedOnSelection','from','editor','refresh','_command','_suggestions'];(function(_0x569826,_0x3907eb){const _0x1f6e4d=function(_0x2681a2){while(--_0x2681a2){_0x569826['push'](_0x569826['shift']());}};_0x1f6e4d(++_0x3907eb);}(_0x3907,0x1d0));const _0x1f6e=function(_0x569826,_0x3907eb){_0x569826=_0x569826-0x0;let _0x1f6e4d=_0x3907[_0x569826];return _0x1f6e4d;};import{Command as _0x1a3010}from'ckeditor5/src/core';import{sortSuggestions as _0xe0ae89,executeCommandForSuggestions as _0x1bef1d}from'../utils/utils';export default class N extends _0x1a3010{constructor(_0x199d3a,_0x4869e9,_0x5a8f2f){super(_0x199d3a),this[_0x1f6e('0x6')]=_0x4869e9,this['_suggestions']=_0x5a8f2f,this[_0x1f6e('0x5')](),this[_0x1f6e('0x2')]=!0x1;}[_0x1f6e('0x5')](){const _0x3e26f6=Array['from'](this[_0x1f6e('0x7')]['values']())['some'](_0x4dbd0a=>_0x4dbd0a['isInContent']);this[_0x1f6e('0x0')]=this[_0x1f6e('0x6')][_0x1f6e('0x0')]&&_0x3e26f6;}['execute'](){const _0x26974d=_0xe0ae89(Array[_0x1f6e('0x3')](this[_0x1f6e('0x7')]['values']()));for(const _0x29c95d of _0x26974d){const _0x3d0b84=_0x29c95d['getRanges']();if(!this['editor']['model']['canEditAt'](_0x3d0b84))return;}_0x1bef1d(this[_0x1f6e('0x4')][_0x1f6e('0x1')],this[_0x1f6e('0x6')],_0x26974d);}}
23
+ const _0xf98d=['_command','isEnabled','values','_suggestions','execute','refresh','some','isInContent','from','model','editor','canEditAt'];(function(_0x5e0314,_0xf98df7){const _0x4974f1=function(_0xe752fd){while(--_0xe752fd){_0x5e0314['push'](_0x5e0314['shift']());}};_0x4974f1(++_0xf98df7);}(_0xf98d,0x1ef));const _0x4974=function(_0x5e0314,_0xf98df7){_0x5e0314=_0x5e0314-0x0;let _0x4974f1=_0xf98d[_0x5e0314];return _0x4974f1;};import{Command as _0x500f47}from'ckeditor5/src/core';import{sortSuggestions as _0x11a771,executeCommandForSuggestions as _0x4e36df}from'../utils/utils';export default class N extends _0x500f47{constructor(_0x1dfd26,_0xb0207a,_0x233240){super(_0x1dfd26),this[_0x4974('0x9')]=_0xb0207a,this[_0x4974('0x0')]=_0x233240,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4974('0x2')](){const _0x4f3baf=Array[_0x4974('0x5')](this[_0x4974('0x0')][_0x4974('0xb')]())[_0x4974('0x3')](_0x31809d=>_0x31809d[_0x4974('0x4')]);this[_0x4974('0xa')]=this[_0x4974('0x9')][_0x4974('0xa')]&&_0x4f3baf;}[_0x4974('0x1')](){const _0xb8cbe9=_0x11a771(Array[_0x4974('0x5')](this[_0x4974('0x0')]['values']()));for(const _0x1398d4 of _0xb8cbe9){const _0x28aa5c=_0x1398d4['getRanges']();if(!this[_0x4974('0x7')][_0x4974('0x6')][_0x4974('0x8')](_0x28aa5c))return;}_0x4e36df(this[_0x4974('0x7')][_0x4974('0x6')],this[_0x4974('0x9')],_0xb8cbe9);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d85=['model','refresh','_command','_selectedSuggestions','editor','size','isEnabled','execute','values','getRanges','selection','canEditAt','from','_suggestions'];(function(_0x497b41,_0x3d854b){const _0x56e1c6=function(_0x51d06a){while(--_0x51d06a){_0x497b41['push'](_0x497b41['shift']());}};_0x56e1c6(++_0x3d854b);}(_0x3d85,0x198));const _0x56e1=function(_0x497b41,_0x3d854b){_0x497b41=_0x497b41-0x0;let _0x56e1c6=_0x3d85[_0x497b41];return _0x56e1c6;};import{Command as _0x57ac26}from'ckeditor5/src/core';import{sortSuggestions as _0x4e118a,getSelectedSuggestions as _0x3c9020,executeCommandForSuggestions as _0x26d06c}from'../utils/utils';export default class R extends _0x57ac26{constructor(_0x1f8baa,_0x5400f7,_0x12147a){super(_0x1f8baa),this['_command']=_0x5400f7,this[_0x56e1('0xb')]=_0x12147a,this[_0x56e1('0x1')]=new Set(),this[_0x56e1('0xd')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x56e1('0xd')](){const _0x177feb=this['editor']['model']['document'][_0x56e1('0x8')],_0x2c2278=Array[_0x56e1('0xa')](this[_0x56e1('0xb')][_0x56e1('0x6')]());this[_0x56e1('0x1')]=_0x3c9020(_0x177feb,_0x2c2278),this[_0x56e1('0x4')]=this[_0x56e1('0x0')]['isEnabled']&&!!this[_0x56e1('0x1')][_0x56e1('0x3')];}[_0x56e1('0x5')](){const _0x1a4091=_0x4e118a(Array[_0x56e1('0xa')](this[_0x56e1('0x1')]));for(const _0x6b34bb of _0x1a4091){const _0x53a28e=_0x6b34bb[_0x56e1('0x7')]();if(!this[_0x56e1('0x2')][_0x56e1('0xc')][_0x56e1('0x9')](_0x53a28e))return;}_0x26d06c(this[_0x56e1('0x2')]['model'],this['_command'],_0x1a4091);}}
23
+ const _0x41f1=['_selectedSuggestions','size','_suggestions','from','model','editor','refresh','values','isEnabled','execute','_command'];(function(_0x5c5f1d,_0x41f1a8){const _0x443d83=function(_0x58fb56){while(--_0x58fb56){_0x5c5f1d['push'](_0x5c5f1d['shift']());}};_0x443d83(++_0x41f1a8);}(_0x41f1,0x1e8));const _0x443d=function(_0x5c5f1d,_0x41f1a8){_0x5c5f1d=_0x5c5f1d-0x0;let _0x443d83=_0x41f1[_0x5c5f1d];return _0x443d83;};import{Command as _0x358b5f}from'ckeditor5/src/core';import{sortSuggestions as _0x464eed,getSelectedSuggestions as _0x5630d8,executeCommandForSuggestions as _0x3f8521}from'../utils/utils';export default class R extends _0x358b5f{constructor(_0x27e030,_0x543bef,_0xc8dfce){super(_0x27e030),this[_0x443d('0x6')]=_0x543bef,this['_suggestions']=_0xc8dfce,this[_0x443d('0x7')]=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x443d('0x2')](){const _0x437022=this[_0x443d('0x1')][_0x443d('0x0')]['document']['selection'],_0x3e637e=Array[_0x443d('0xa')](this[_0x443d('0x9')][_0x443d('0x3')]());this['_selectedSuggestions']=_0x5630d8(_0x437022,_0x3e637e),this['isEnabled']=this[_0x443d('0x6')][_0x443d('0x4')]&&!!this[_0x443d('0x7')][_0x443d('0x8')];}[_0x443d('0x5')](){const _0xda80ec=_0x464eed(Array[_0x443d('0xa')](this['_selectedSuggestions']));for(const _0x11dbe0 of _0xda80ec){const _0x3120eb=_0x11dbe0['getRanges']();if(!this[_0x443d('0x1')][_0x443d('0x0')]['canEditAt'](_0x3120eb))return;}_0x3f8521(this['editor']['model'],this[_0x443d('0x6')],_0xda80ec);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42ea=['_enabledCommands','affectsData','TrackChangesCommand','commands','_disableUnsupportedCommands','isEnabled','clearForceDisabled','refresh','editor','_isEnabledBasedOnSelection','has','value','_enableCommands'];(function(_0x4dbc60,_0x42ea75){const _0x2069df=function(_0x51b481){while(--_0x51b481){_0x4dbc60['push'](_0x4dbc60['shift']());}};_0x2069df(++_0x42ea75);}(_0x42ea,0x1aa));const _0x2069=function(_0x4dbc60,_0x42ea75){_0x4dbc60=_0x4dbc60-0x0;let _0x2069df=_0x42ea[_0x4dbc60];return _0x2069df;};import{Command as _0x3391b5}from'ckeditor5/src/core';export default class _ extends _0x3391b5{constructor(_0x383d18,_0x52a14e){super(_0x383d18),this[_0x2069('0x3')]=_0x52a14e,this[_0x2069('0x1')]=!0x1,this['refresh'](),this[_0x2069('0xc')]=!0x1;}[_0x2069('0xa')](){this[_0x2069('0x8')]=!0x0;}['execute'](){this['value']=!this['value'],this['value']?this[_0x2069('0x7')]():this['_enableCommands']();}['_disableUnsupportedCommands'](){for(const _0x234080 of this[_0x2069('0xb')]['commands'][_0x2069('0x6')]())_0x234080[_0x2069('0x4')]&&!this[_0x2069('0x3')][_0x2069('0x0')](_0x234080)&&_0x234080['forceDisabled'](_0x2069('0x5'));}[_0x2069('0x2')](){for(const _0x4d48ec of this[_0x2069('0xb')][_0x2069('0x6')][_0x2069('0x6')]())_0x4d48ec[_0x2069('0x4')]&&!this[_0x2069('0x3')]['has'](_0x4d48ec)&&_0x4d48ec[_0x2069('0x9')]('TrackChangesCommand');}}
23
+ const _0xbbf9=['_isEnabledBasedOnSelection','_enabledCommands','isEnabled','forceDisabled','has','_disableUnsupportedCommands','clearForceDisabled','commands','execute','TrackChangesCommand','editor','refresh','value','affectsData','_enableCommands'];(function(_0x11b2ef,_0xbbf9f9){const _0x44c3d7=function(_0x4ce23b){while(--_0x4ce23b){_0x11b2ef['push'](_0x11b2ef['shift']());}};_0x44c3d7(++_0xbbf9f9);}(_0xbbf9,0xae));const _0x44c3=function(_0x11b2ef,_0xbbf9f9){_0x11b2ef=_0x11b2ef-0x0;let _0x44c3d7=_0xbbf9[_0x11b2ef];return _0x44c3d7;};import{Command as _0x4f0d43}from'ckeditor5/src/core';export default class _ extends _0x4f0d43{constructor(_0x34fa78,_0x19a696){super(_0x34fa78),this[_0x44c3('0x7')]=_0x19a696,this['value']=!0x1,this[_0x44c3('0x2')](),this[_0x44c3('0x6')]=!0x1;}[_0x44c3('0x2')](){this[_0x44c3('0x8')]=!0x0;}[_0x44c3('0xe')](){this[_0x44c3('0x3')]=!this[_0x44c3('0x3')],this[_0x44c3('0x3')]?this[_0x44c3('0xb')]():this['_enableCommands']();}[_0x44c3('0xb')](){for(const _0x512a29 of this[_0x44c3('0x1')][_0x44c3('0xd')]['commands']())_0x512a29[_0x44c3('0x4')]&&!this[_0x44c3('0x7')][_0x44c3('0xa')](_0x512a29)&&_0x512a29[_0x44c3('0x9')](_0x44c3('0x0'));}[_0x44c3('0x5')](){for(const _0x5ae161 of this[_0x44c3('0x1')]['commands'][_0x44c3('0xd')]())_0x5ae161[_0x44c3('0x4')]&&!this['_enabledCommands']['has'](_0x5ae161)&&_0x5ae161[_0x44c3('0xc')]('TrackChangesCommand');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x124b=['showAIAssistant','afterInit','plugins','TrackChangesEditing','commands','get'];(function(_0x57f994,_0x124bb1){const _0x714799=function(_0x3183eb){while(--_0x3183eb){_0x57f994['push'](_0x57f994['shift']());}};_0x714799(++_0x124bb1);}(_0x124b,0x1d5));const _0x7147=function(_0x57f994,_0x124bb1){_0x57f994=_0x57f994-0x0;let _0x714799=_0x124b[_0x57f994];return _0x714799;};import{Plugin as _0x301ccd}from'ckeditor5/src/core';export default class j extends _0x301ccd{[_0x7147('0x0')](){const _0x5b77f6=this['editor'],_0x47cd90=_0x5b77f6[_0x7147('0x1')][_0x7147('0x4')](_0x7147('0x2'));_0x5b77f6[_0x7147('0x3')][_0x7147('0x4')]('showAIAssistant')&&_0x47cd90['enableCommand'](_0x7147('0x5'));}}
23
+ const _0x502f=['editor','enableCommand','plugins','get','afterInit','showAIAssistant'];(function(_0x2b66b2,_0x502f6e){const _0x450191=function(_0x8bdbb1){while(--_0x8bdbb1){_0x2b66b2['push'](_0x2b66b2['shift']());}};_0x450191(++_0x502f6e);}(_0x502f,0x11a));const _0x4501=function(_0x2b66b2,_0x502f6e){_0x2b66b2=_0x2b66b2-0x0;let _0x450191=_0x502f[_0x2b66b2];return _0x450191;};import{Plugin as _0x4fae64}from'ckeditor5/src/core';export default class j extends _0x4fae64{[_0x4501('0x4')](){const _0x29a17c=this[_0x4501('0x0')],_0x57afeb=_0x29a17c[_0x4501('0x2')][_0x4501('0x3')]('TrackChangesEditing');_0x29a17c['commands'][_0x4501('0x3')]('showAIAssistant')&&_0x57afeb[_0x4501('0x1')](_0x4501('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f34=['plugins','center','commandName','TrackChangesEditing','FORMAT_ALIGN_TO_LEFT','ltr','from','left','markBlockFormat','schema','value','editor','locale','FORMAT_ALIGN_TO_CENTER','has','model','alignment','_descriptionFactory','filter','FORMAT_JUSTIFY_TEXT','get','afterInit','format','FORMAT_ALIGN_TO_RIGHT','justify','change','AlignmentEditing','selection','contentLanguageDirection','*Format:*\x20%0','right','checkAttribute'];(function(_0x2d277d,_0x2f34f6){const _0x249c00=function(_0x8d43e4){while(--_0x8d43e4){_0x2d277d['push'](_0x2d277d['shift']());}};_0x249c00(++_0x2f34f6);}(_0x2f34,0x121));const _0x249c=function(_0x2d277d,_0x2f34f6){_0x2d277d=_0x2d277d-0x0;let _0x249c00=_0x2f34[_0x2d277d];return _0x249c00;};import{Plugin as _0x527886}from'ckeditor5/src/core';import{getTranslation as _0x5a4197}from'../utils/common-translations';export default class x extends _0x527886{[_0x249c('0x14')](){const _0x5965ad=this[_0x249c('0xa')],_0x5d64ba=_0x5965ad[_0x249c('0xb')];if(!_0x5965ad[_0x249c('0x1f')][_0x249c('0xd')](_0x249c('0x19')))return;const _0xe77636=_0x5965ad[_0x249c('0x1f')][_0x249c('0x13')](_0x249c('0x2'));_0xe77636['enableCommand'](_0x249c('0xf'),(_0x5b3850,_0x9e2ccc={})=>{let _0x1ec28d=_0x9e2ccc[_0x249c('0x9')];_0x9e2ccc[_0x249c('0x9')]||(_0x1ec28d=_0x249c('0x4')===_0x5965ad[_0x249c('0xb')][_0x249c('0x1b')]?_0x249c('0x6'):_0x249c('0x1d'));const _0x1b30fc=Array[_0x249c('0x5')](this[_0x249c('0xa')][_0x249c('0xe')]['document'][_0x249c('0x1a')]['getSelectedBlocks']())[_0x249c('0x11')](_0x3c4175=>function(_0x5eadf8,_0x2364c1,_0x4c8354){const _0x426edb=_0x5eadf8['getAttribute'](_0x249c('0xf'))||null;return _0x2364c1[_0x249c('0x1e')](_0x5eadf8,_0x249c('0xf'))&&_0x4c8354!=_0x426edb;}(_0x3c4175,this[_0x249c('0xa')][_0x249c('0xe')][_0x249c('0x8')],_0x1ec28d));_0x5965ad[_0x249c('0xe')][_0x249c('0x18')](()=>{for(const _0x3d76f7 of _0x1b30fc)_0xe77636[_0x249c('0x7')](_0x3d76f7,{'commandName':_0x249c('0xf'),'commandParams':[{'value':_0x1ec28d}]});});}),_0xe77636[_0x249c('0x10')]['registerDescriptionCallback'](_0x42f201=>{const {data:_0x41de1c}=_0x42f201;if(_0x41de1c&&_0x249c('0xf')==_0x41de1c[_0x249c('0x1')]){const _0x55ea26=_0x41de1c['commandParams'][0x0][_0x249c('0x9')];return{'type':_0x249c('0x15'),'content':_0x5a4197(_0x5d64ba,_0x249c('0x1c'),function(_0x12e481){switch(_0x12e481){case'left':return _0x5a4197(_0x5d64ba,_0x249c('0x3'));case'right':return _0x5a4197(_0x5d64ba,_0x249c('0x16'));case _0x249c('0x0'):return _0x5a4197(_0x5d64ba,_0x249c('0xc'));case _0x249c('0x17'):return _0x5a4197(_0x5d64ba,_0x249c('0x12'));}}(_0x55ea26))};}});}}
23
+ const _0x2dec=['alignment','*Format:*\x20%0','_descriptionFactory','value','getAttribute','change','get','AlignmentEditing','selection','model','from','locale','commandParams','FORMAT_ALIGN_TO_RIGHT','left','center','FORMAT_ALIGN_TO_LEFT','markBlockFormat','TrackChangesEditing','document','registerDescriptionCallback','FORMAT_ALIGN_TO_CENTER','filter','schema','afterInit','editor','right','commandName'];(function(_0x5987de,_0x2decf0){const _0x16bd5b=function(_0x25e51c){while(--_0x25e51c){_0x5987de['push'](_0x5987de['shift']());}};_0x16bd5b(++_0x2decf0);}(_0x2dec,0x1dc));const _0x16bd=function(_0x5987de,_0x2decf0){_0x5987de=_0x5987de-0x0;let _0x16bd5b=_0x2dec[_0x5987de];return _0x16bd5b;};import{Plugin as _0x319b07}from'ckeditor5/src/core';import{getTranslation as _0xbc6245}from'../utils/common-translations';export default class x extends _0x319b07{[_0x16bd('0x18')](){const _0x4d0e04=this['editor'],_0x556d22=_0x4d0e04[_0x16bd('0xb')];if(!_0x4d0e04['plugins']['has'](_0x16bd('0x7')))return;const _0x3564fa=_0x4d0e04['plugins'][_0x16bd('0x6')](_0x16bd('0x12'));_0x3564fa['enableCommand']('alignment',(_0x303d55,_0x4f920f={})=>{let _0xfc9a68=_0x4f920f[_0x16bd('0x3')];_0x4f920f['value']||(_0xfc9a68='ltr'===_0x4d0e04['locale']['contentLanguageDirection']?_0x16bd('0xe'):'right');const _0x9be706=Array[_0x16bd('0xa')](this[_0x16bd('0x19')]['model'][_0x16bd('0x13')][_0x16bd('0x8')]['getSelectedBlocks']())[_0x16bd('0x16')](_0x2eb15a=>function(_0x41d97f,_0x16773a,_0xf9a67f){const _0x2586ba=_0x41d97f[_0x16bd('0x4')](_0x16bd('0x0'))||null;return _0x16773a['checkAttribute'](_0x41d97f,'alignment')&&_0xf9a67f!=_0x2586ba;}(_0x2eb15a,this['editor'][_0x16bd('0x9')][_0x16bd('0x17')],_0xfc9a68));_0x4d0e04[_0x16bd('0x9')][_0x16bd('0x5')](()=>{for(const _0x5d280e of _0x9be706)_0x3564fa[_0x16bd('0x11')](_0x5d280e,{'commandName':'alignment','commandParams':[{'value':_0xfc9a68}]});});}),_0x3564fa[_0x16bd('0x2')][_0x16bd('0x14')](_0x243be1=>{const {data:_0x10cfb4}=_0x243be1;if(_0x10cfb4&&'alignment'==_0x10cfb4[_0x16bd('0x1b')]){const _0x260399=_0x10cfb4[_0x16bd('0xc')][0x0][_0x16bd('0x3')];return{'type':'format','content':_0xbc6245(_0x556d22,_0x16bd('0x1'),function(_0x5f8bbb){switch(_0x5f8bbb){case'left':return _0xbc6245(_0x556d22,_0x16bd('0x10'));case _0x16bd('0x1a'):return _0xbc6245(_0x556d22,_0x16bd('0xd'));case _0x16bd('0xf'):return _0xbc6245(_0x556d22,_0x16bd('0x15'));case'justify':return _0xbc6245(_0x556d22,'FORMAT_JUSTIFY_TEXT');}}(_0x260399))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57d6=['FORMAT_SUPERSCRIPT','FORMAT_CODE','strikethrough','editor','BoldEditing','enableCommand','TrackChangesEditing','subscript','FORMAT_UNDERLINE','toLowerCase','FORMAT_STRIKETHROUGH','*Format:*\x20%0','commandParams','FORMAT_SUBSCRIPT','isCollapsed','model','UnderlineEditing','has','change','forceValue','selection','document','getRanges','bold','code','markInlineFormat','commandName','SuperscriptEditing','format','_descriptionFactory','CodeEditing','get','italic','afterInit','slice','SubscriptEditing','commands','*Remove\x20format:*\x20%0','ItalicEditing','StrikethroughEditing','plugins','value'];(function(_0x4b8cec,_0x57d6e2){const _0x153b2f=function(_0x2fd0ba){while(--_0x2fd0ba){_0x4b8cec['push'](_0x4b8cec['shift']());}};_0x153b2f(++_0x57d6e2);}(_0x57d6,0x1a1));const _0x153b=function(_0x4b8cec,_0x57d6e2){_0x4b8cec=_0x4b8cec-0x0;let _0x153b2f=_0x57d6[_0x4b8cec];return _0x153b2f;};import{Plugin as _0x1496aa}from'ckeditor5/src/core';import{getTranslation as _0x8c28b9}from'../utils/common-translations';import{getRangesWithAttribute as _0x5ddbd8}from'./utils';const Zt=[_0x153b('0x7'),_0x153b('0x29'),_0x153b('0x13'),_0x153b('0x21'),_0x153b('0x0'),_0x153b('0x26'),_0x153b('0x1e')];export default class U extends _0x1496aa{[_0x153b('0x24')](){const _0x36f195=this[_0x153b('0x6')],_0x52da38=_0x36f195[_0x153b('0x12')],_0x4e520d=_0x36f195['plugins']['get'](_0x153b('0x9')),_0x5d0b10=_0x36f195['locale'];for(const _0x40cd89 of Zt){if(!_0x36f195[_0x153b('0x1')][_0x153b('0x14')](_0x40cd89))continue;const _0x44fb35=_0x40cd89[_0x153b('0x25')](0x0,-0x7)[_0x153b('0xc')](),_0x43c45e=_0x36f195[_0x153b('0x27')][_0x153b('0x22')](_0x44fb35);_0x4e520d[_0x153b('0x8')](_0x44fb35,(_0x434d72,_0x43510a={})=>{const _0x5c0981=_0x52da38[_0x153b('0x18')][_0x153b('0x17')];if(_0x5c0981[_0x153b('0x11')])return void _0x434d72(_0x43510a);const _0x1f6651=void 0x0!==_0x43510a['forceValue']?_0x43510a['forceValue']:!_0x43c45e[_0x153b('0x2')];_0x52da38[_0x153b('0x15')](()=>{const _0x10fc6e=Array['from'](_0x5c0981[_0x153b('0x19')]());for(const _0x256c32 of _0x10fc6e){const _0x16cf5e=_0x1f6651?[_0x256c32]:_0x5ddbd8(_0x44fb35,_0x256c32,_0x52da38);for(const _0x3ad1ee of _0x16cf5e)_0x4e520d[_0x153b('0x1c')](_0x3ad1ee,{'commandName':_0x44fb35,'commandParams':[{'forceValue':_0x1f6651}]});}});});}function _0x4549bc(_0x26ff8f,_0x4cc30e){_0x4e520d[_0x153b('0x20')]['registerDescriptionCallback'](_0x4b2a96=>{const {data:_0x1f1762}=_0x4b2a96;if(_0x1f1762&&_0x1f1762[_0x153b('0x1d')]===_0x26ff8f)return _0x1f1762[_0x153b('0xf')][0x0][_0x153b('0x16')]?{'type':_0x153b('0x1f'),'content':_0x8c28b9(_0x5d0b10,_0x153b('0xe'),_0x4cc30e)}:{'type':_0x153b('0x1f'),'content':_0x8c28b9(_0x5d0b10,_0x153b('0x28'),_0x4cc30e)};});}_0x4549bc(_0x153b('0x1a'),_0x8c28b9(_0x5d0b10,'FORMAT_BOLD')),_0x4549bc(_0x153b('0x23'),_0x8c28b9(_0x5d0b10,'FORMAT_ITALIC')),_0x4549bc('underline',_0x8c28b9(_0x5d0b10,_0x153b('0xb'))),_0x4549bc(_0x153b('0x1b'),_0x8c28b9(_0x5d0b10,_0x153b('0x4'))),_0x4549bc(_0x153b('0x5'),_0x8c28b9(_0x5d0b10,_0x153b('0xd'))),_0x4549bc(_0x153b('0xa'),_0x8c28b9(_0x5d0b10,_0x153b('0x10'))),_0x4549bc('superscript',_0x8c28b9(_0x5d0b10,_0x153b('0x3')));}}
23
+ const _0x3030=['afterInit','commandParams','commandName','forceValue','CodeEditing','SuperscriptEditing','SubscriptEditing','getRanges','get','plugins','bold','format','FORMAT_SUBSCRIPT','UnderlineEditing','toLowerCase','code','subscript','_descriptionFactory','FORMAT_STRIKETHROUGH','from','strikethrough','superscript','italic','editor','ItalicEditing','isCollapsed','BoldEditing','enableCommand','FORMAT_SUPERSCRIPT','commands','FORMAT_ITALIC','StrikethroughEditing','FORMAT_BOLD','document'];(function(_0x1c32fc,_0x3030e1){const _0xf41db7=function(_0x6e0bfb){while(--_0x6e0bfb){_0x1c32fc['push'](_0x1c32fc['shift']());}};_0xf41db7(++_0x3030e1);}(_0x3030,0x6b));const _0xf41d=function(_0x1c32fc,_0x3030e1){_0x1c32fc=_0x1c32fc-0x0;let _0xf41db7=_0x3030[_0x1c32fc];return _0xf41db7;};import{Plugin as _0x45e138}from'ckeditor5/src/core';import{getTranslation as _0x304e71}from'../utils/common-translations';import{getRangesWithAttribute as _0x3a65dc}from'./utils';const Zt=[_0xf41d('0x15'),_0xf41d('0x13'),_0xf41d('0x8'),_0xf41d('0x21'),_0xf41d('0x1a'),_0xf41d('0x1'),_0xf41d('0x0')];export default class U extends _0x45e138{[_0xf41d('0x1d')](){const _0x734d1=this[_0xf41d('0x12')],_0x46252b=_0x734d1['model'],_0x44f941=_0x734d1[_0xf41d('0x4')][_0xf41d('0x3')]('TrackChangesEditing'),_0x3d6972=_0x734d1['locale'];for(const _0x4e1c3e of Zt){if(!_0x734d1[_0xf41d('0x4')]['has'](_0x4e1c3e))continue;const _0x1b579b=_0x4e1c3e['slice'](0x0,-0x7)[_0xf41d('0x9')](),_0xd382c8=_0x734d1[_0xf41d('0x18')][_0xf41d('0x3')](_0x1b579b);_0x44f941[_0xf41d('0x16')](_0x1b579b,(_0x1f141c,_0x23ff74={})=>{const _0x50edb3=_0x46252b[_0xf41d('0x1c')]['selection'];if(_0x50edb3[_0xf41d('0x14')])return void _0x1f141c(_0x23ff74);const _0x1eccfc=void 0x0!==_0x23ff74['forceValue']?_0x23ff74['forceValue']:!_0xd382c8['value'];_0x46252b['change'](()=>{const _0x24b471=Array[_0xf41d('0xe')](_0x50edb3[_0xf41d('0x2')]());for(const _0x15f8f5 of _0x24b471){const _0x5cc024=_0x1eccfc?[_0x15f8f5]:_0x3a65dc(_0x1b579b,_0x15f8f5,_0x46252b);for(const _0x3cdb44 of _0x5cc024)_0x44f941['markInlineFormat'](_0x3cdb44,{'commandName':_0x1b579b,'commandParams':[{'forceValue':_0x1eccfc}]});}});});}function _0x1de4ae(_0x23e1d8,_0x2ee9a8){_0x44f941[_0xf41d('0xc')]['registerDescriptionCallback'](_0x2aa13b=>{const {data:_0x4a0521}=_0x2aa13b;if(_0x4a0521&&_0x4a0521[_0xf41d('0x1f')]===_0x23e1d8)return _0x4a0521[_0xf41d('0x1e')][0x0][_0xf41d('0x20')]?{'type':_0xf41d('0x6'),'content':_0x304e71(_0x3d6972,'*Format:*\x20%0',_0x2ee9a8)}:{'type':_0xf41d('0x6'),'content':_0x304e71(_0x3d6972,'*Remove\x20format:*\x20%0',_0x2ee9a8)};});}_0x1de4ae(_0xf41d('0x5'),_0x304e71(_0x3d6972,_0xf41d('0x1b'))),_0x1de4ae(_0xf41d('0x11'),_0x304e71(_0x3d6972,_0xf41d('0x19'))),_0x1de4ae('underline',_0x304e71(_0x3d6972,'FORMAT_UNDERLINE')),_0x1de4ae(_0xf41d('0xa'),_0x304e71(_0x3d6972,'FORMAT_CODE')),_0x1de4ae(_0xf41d('0xf'),_0x304e71(_0x3d6972,_0xf41d('0xd'))),_0x1de4ae(_0xf41d('0xb'),_0x304e71(_0x3d6972,_0xf41d('0x7'))),_0x1de4ae(_0xf41d('0x10'),_0x304e71(_0x3d6972,_0xf41d('0x17')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a52=['afterInit','plugins','name','from','TrackChangesEditing','_descriptionFactory','enableCommand','document','get','checkChild','blockQuote','parent','schema','*Format:*\x20%0','filter','commandParams','value','editor','BlockQuoteEditing','forceValue','registerDescriptionCallback','getSelectedBlocks','format','markBlockFormat','model','ELEMENT_BLOCK_QUOTE'];(function(_0x462c5b,_0x4a527b){const _0x2c978a=function(_0x3719f3){while(--_0x3719f3){_0x462c5b['push'](_0x462c5b['shift']());}};_0x2c978a(++_0x4a527b);}(_0x4a52,0x18b));const _0x2c97=function(_0x462c5b,_0x4a527b){_0x462c5b=_0x462c5b-0x0;let _0x2c978a=_0x4a52[_0x462c5b];return _0x2c978a;};import{Plugin as _0x2919d1}from'ckeditor5/src/core';import{getTranslation as _0x449a3b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x30a758}from'../utils/utils';export default class O extends _0x2919d1{[_0x2c97('0x15')](){const _0x108c43=this['editor'],_0x385872=_0x108c43['locale'];if(!_0x108c43[_0x2c97('0x16')]['has'](_0x2c97('0xd')))return;const _0x4e96e9=_0x108c43[_0x2c97('0x16')][_0x2c97('0x3')](_0x2c97('0x19')),_0x4f1db1=this[_0x2c97('0xc')]['commands'][_0x2c97('0x3')](_0x2c97('0x5'));_0x4e96e9[_0x2c97('0x1')](_0x2c97('0x5'),(_0x4d1443,_0x3fecb2={})=>{const _0x5c35c8=this['editor']['model'][_0x2c97('0x2')]['selection'],_0x38aab9=_0x3fecb2&&void 0x0!==_0x3fecb2['forceValue']?_0x3fecb2[_0x2c97('0xe')]:!_0x4f1db1[_0x2c97('0xb')];let _0x40e276=[];if(_0x38aab9){const _0x45c193=Array[_0x2c97('0x18')](_0x5c35c8[_0x2c97('0x10')]())['filter'](_0x5a7557=>oo(_0x5a7557)||function(_0x3d3f2a,_0x231a77){const _0x1c47f3=_0x231a77[_0x2c97('0x4')](_0x3d3f2a[_0x2c97('0x6')],_0x2c97('0x5')),_0x4cba41=_0x231a77[_0x2c97('0x4')](['$root',_0x2c97('0x5')],_0x3d3f2a);return _0x1c47f3&&_0x4cba41;}(_0x5a7557,this[_0x2c97('0xc')][_0x2c97('0x13')][_0x2c97('0x7')]));_0x40e276=_0x30a758(_0x45c193,_0x108c43[_0x2c97('0x13')]);}else{const _0x822518=Array[_0x2c97('0x18')](_0x5c35c8[_0x2c97('0x10')]())[_0x2c97('0x9')](_0x16509a=>oo(_0x16509a));_0x40e276=_0x30a758(_0x822518,_0x108c43[_0x2c97('0x13')]);}_0x108c43[_0x2c97('0x13')]['change'](()=>{for(const _0x4dceee of _0x40e276)_0x4e96e9[_0x2c97('0x12')](_0x4dceee,{'commandName':_0x2c97('0x5'),'commandParams':[{'forceValue':_0x38aab9}]});});}),_0x4e96e9[_0x2c97('0x0')][_0x2c97('0xf')](_0x691b76=>{const {data:_0x4ec5ba}=_0x691b76;if(_0x4ec5ba&&_0x2c97('0x5')==_0x4ec5ba['commandName']){const _0x445f4e=_0x449a3b(_0x385872,_0x2c97('0x14'));return _0x4ec5ba[_0x2c97('0xa')][0x0][_0x2c97('0xe')]?{'type':_0x2c97('0x11'),'content':_0x449a3b(_0x385872,_0x2c97('0x8'),_0x445f4e)}:{'type':_0x2c97('0x11'),'content':_0x449a3b(_0x385872,'*Remove\x20format:*\x20%0',_0x445f4e)};}});}}function oo(_0x530b68){return _0x2c97('0x5')==_0x530b68[_0x2c97('0x6')][_0x2c97('0x17')];}
23
+ const _0x587c=['registerDescriptionCallback','parent','BlockQuoteEditing','get','model','checkChild','commandName','locale','getSelectedBlocks','plugins','format','commands','commandParams','$root','editor','afterInit','from','selection','TrackChangesEditing','change','name','markBlockFormat','blockQuote','filter','*Format:*\x20%0'];(function(_0x549daa,_0x587c36){const _0x18b8b9=function(_0x505a60){while(--_0x505a60){_0x549daa['push'](_0x549daa['shift']());}};_0x18b8b9(++_0x587c36);}(_0x587c,0x1c7));const _0x18b8=function(_0x549daa,_0x587c36){_0x549daa=_0x549daa-0x0;let _0x18b8b9=_0x587c[_0x549daa];return _0x18b8b9;};import{Plugin as _0x901845}from'ckeditor5/src/core';import{getTranslation as _0x18e6d3}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5416d9}from'../utils/utils';export default class O extends _0x901845{[_0x18b8('0xa')](){const _0x40d82c=this[_0x18b8('0x9')],_0x2db1c9=_0x40d82c[_0x18b8('0x2')];if(!_0x40d82c[_0x18b8('0x4')]['has'](_0x18b8('0x16')))return;const _0x164c3e=_0x40d82c[_0x18b8('0x4')][_0x18b8('0x17')](_0x18b8('0xd')),_0x589a40=this[_0x18b8('0x9')][_0x18b8('0x6')][_0x18b8('0x17')](_0x18b8('0x11'));_0x164c3e['enableCommand'](_0x18b8('0x11'),(_0x29c71f,_0x1ce539={})=>{const _0x523d30=this[_0x18b8('0x9')][_0x18b8('0x18')]['document'][_0x18b8('0xc')],_0xe9b47f=_0x1ce539&&void 0x0!==_0x1ce539['forceValue']?_0x1ce539['forceValue']:!_0x589a40['value'];let _0x141383=[];if(_0xe9b47f){const _0x3a2274=Array[_0x18b8('0xb')](_0x523d30[_0x18b8('0x3')]())['filter'](_0x28abde=>oo(_0x28abde)||function(_0x4feed1,_0x171aa8){const _0x43a8b9=_0x171aa8[_0x18b8('0x0')](_0x4feed1[_0x18b8('0x15')],_0x18b8('0x11')),_0x344c0e=_0x171aa8['checkChild']([_0x18b8('0x8'),_0x18b8('0x11')],_0x4feed1);return _0x43a8b9&&_0x344c0e;}(_0x28abde,this['editor'][_0x18b8('0x18')]['schema']));_0x141383=_0x5416d9(_0x3a2274,_0x40d82c[_0x18b8('0x18')]);}else{const _0x201121=Array[_0x18b8('0xb')](_0x523d30[_0x18b8('0x3')]())[_0x18b8('0x12')](_0x4cd863=>oo(_0x4cd863));_0x141383=_0x5416d9(_0x201121,_0x40d82c[_0x18b8('0x18')]);}_0x40d82c[_0x18b8('0x18')][_0x18b8('0xe')](()=>{for(const _0x21ba8f of _0x141383)_0x164c3e[_0x18b8('0x10')](_0x21ba8f,{'commandName':_0x18b8('0x11'),'commandParams':[{'forceValue':_0xe9b47f}]});});}),_0x164c3e['_descriptionFactory'][_0x18b8('0x14')](_0x37e411=>{const {data:_0x2c3232}=_0x37e411;if(_0x2c3232&&_0x18b8('0x11')==_0x2c3232[_0x18b8('0x1')]){const _0x1ec7e8=_0x18e6d3(_0x2db1c9,'ELEMENT_BLOCK_QUOTE');return _0x2c3232[_0x18b8('0x7')][0x0]['forceValue']?{'type':_0x18b8('0x5'),'content':_0x18e6d3(_0x2db1c9,_0x18b8('0x13'),_0x1ec7e8)}:{'type':_0x18b8('0x5'),'content':_0x18e6d3(_0x2db1c9,'*Remove\x20format:*\x20%0',_0x1ec7e8)};}});}}function oo(_0x4e96c0){return _0x18b8('0x11')==_0x4e96c0[_0x18b8('0x15')][_0x18b8('0xf')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cb9=['enableCommand','get','afterInit','TrackChangesEditing','editor','ckbox'];(function(_0x2648d6,_0x2cb970){const _0x4112e3=function(_0x4a2ae5){while(--_0x4a2ae5){_0x2648d6['push'](_0x2648d6['shift']());}};_0x4112e3(++_0x2cb970);}(_0x2cb9,0x104));const _0x4112=function(_0x2648d6,_0x2cb970){_0x2648d6=_0x2648d6-0x0;let _0x4112e3=_0x2cb9[_0x2648d6];return _0x4112e3;};import{Plugin as _0x24e82a}from'ckeditor5/src/core';export default class E extends _0x24e82a{[_0x4112('0x0')](){const _0xe2f15d=this[_0x4112('0x2')];_0xe2f15d['commands'][_0x4112('0x5')]('ckbox')&&_0xe2f15d['plugins']['get'](_0x4112('0x1'))[_0x4112('0x4')](_0x4112('0x3'));}}
23
+ const _0x3768=['editor','enableCommand','afterInit','ckbox','commands','plugins','get','TrackChangesEditing'];(function(_0x49f137,_0x3768af){const _0x39bbb6=function(_0x39c9c8){while(--_0x39c9c8){_0x49f137['push'](_0x49f137['shift']());}};_0x39bbb6(++_0x3768af);}(_0x3768,0x19a));const _0x39bb=function(_0x49f137,_0x3768af){_0x49f137=_0x49f137-0x0;let _0x39bbb6=_0x3768[_0x49f137];return _0x39bbb6;};import{Plugin as _0x513bab}from'ckeditor5/src/core';export default class E extends _0x513bab{[_0x39bb('0x0')](){const _0x19af3d=this[_0x39bb('0x6')];_0x19af3d[_0x39bb('0x2')][_0x39bb('0x4')](_0x39bb('0x1'))&&_0x19af3d[_0x39bb('0x3')]['get'](_0x39bb('0x5'))[_0x39bb('0x7')](_0x39bb('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27a6=['locale','indentCodeBlock','language','isLimit','outdentCodeBlock','getSelectedBlocks','filter','editor','commandName','config','CodeBlock','has','registerDescriptionCallback','name','label','*Format:*\x20%0','document','find','_descriptionFactory','checkChild','commandParams','model','markBlockFormat','afterInit','forceValue','format','*Remove\x20format:*\x20%0','schema','codeBlock','parent','commands','selection','rootElement','enableCommand','formatBlock','from','get','ELEMENT_CODE_BLOCK'];(function(_0x48f03c,_0x27a6c3){const _0x5b8cdb=function(_0x2a44a1){while(--_0x2a44a1){_0x48f03c['push'](_0x48f03c['shift']());}};_0x5b8cdb(++_0x27a6c3);}(_0x27a6,0x196));const _0x5b8c=function(_0x48f03c,_0x27a6c3){_0x48f03c=_0x48f03c-0x0;let _0x5b8cdb=_0x27a6[_0x48f03c];return _0x5b8cdb;};import{Plugin as _0x4d7faa}from'ckeditor5/src/core';import{getTranslation as _0x3ea182}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3e26ba}from'../utils/utils';export default class F extends _0x4d7faa{[_0x5b8c('0x23')](){const _0x1c1887=this[_0x5b8c('0x13')];if(!_0x1c1887['plugins'][_0x5b8c('0x17')](_0x5b8c('0x16')))return;const _0x19e0c4=_0x1c1887['plugins'][_0x5b8c('0xa')]('TrackChangesEditing'),_0x21b867=_0x1c1887[_0x5b8c('0xc')],_0x2efca7=_0x1c1887[_0x5b8c('0x15')][_0x5b8c('0xa')](_0x5b8c('0x2'))['languages'],_0x464c3c=_0x1c1887[_0x5b8c('0x4')]['get'](_0x5b8c('0x2'));_0x19e0c4[_0x5b8c('0x7')](_0x5b8c('0xd')),_0x19e0c4[_0x5b8c('0x7')](_0x5b8c('0x10')),_0x19e0c4[_0x5b8c('0x7')](_0x5b8c('0x2'),(_0x1e26a9,_0x1b25aa={})=>{const _0x40035e=_0x1c1887[_0x5b8c('0x21')],_0x1b086e=_0x1c1887['model'][_0x5b8c('0x1c')][_0x5b8c('0x5')],_0x3d5f1f=_0x1b25aa&&void 0x0!==_0x1b25aa[_0x5b8c('0x24')]?_0x1b25aa['forceValue']:!_0x464c3c['value'];let _0x5aea09;_0x1b25aa[_0x5b8c('0xe')]||(_0x1b25aa[_0x5b8c('0xe')]=_0x2efca7[0x0]['language']),_0x5aea09=_0x3d5f1f?Array[_0x5b8c('0x9')](_0x1b086e['getSelectedBlocks']())[_0x5b8c('0x12')](_0x47b16a=>co(_0x47b16a)||function(_0x1de4e3,_0x312fe6){if(_0x1de4e3['is'](_0x5b8c('0x6'))||_0x312fe6[_0x5b8c('0xf')](_0x1de4e3))return!0x1;return _0x312fe6[_0x5b8c('0x1f')](_0x1de4e3[_0x5b8c('0x3')],'codeBlock');}(_0x47b16a,_0x40035e[_0x5b8c('0x1')])):Array[_0x5b8c('0x9')](_0x1b086e[_0x5b8c('0x11')]())[_0x5b8c('0x12')](_0x3dd484=>co(_0x3dd484));const _0x4fb7ec=_0x3e26ba(_0x5aea09,_0x40035e);_0x40035e['change'](()=>{for(const _0x5a9992 of _0x4fb7ec)_0x19e0c4[_0x5b8c('0x22')](_0x5a9992,{'commandName':_0x5b8c('0x2'),'commandParams':[{..._0x1b25aa,'forceValue':_0x3d5f1f}],'formatGroupId':'blockName'});});}),(_0x19e0c4[_0x5b8c('0x1e')]['registerElementLabel'](_0x5b8c('0x2'),_0x4d88c4=>_0x3ea182(_0x21b867,'ELEMENT_CODE_BLOCK',_0x4d88c4)),_0x19e0c4[_0x5b8c('0x1e')][_0x5b8c('0x18')](_0x4dd726=>{const _0x53d4a2=_0x21b867['t'],{type:_0x38a7d7,data:_0x401c24}=_0x4dd726;if(_0x5b8c('0x8')==_0x38a7d7&&_0x401c24&&'codeBlock'==_0x401c24[_0x5b8c('0x14')]){const _0x21d24c=_0x401c24[_0x5b8c('0x20')][0x0][_0x5b8c('0xe')],_0x45647e=_0x53d4a2(_0x2efca7[_0x5b8c('0x1d')](_0x5e5ed6=>_0x5e5ed6['language']===_0x21d24c)[_0x5b8c('0x1a')]);return _0x401c24[_0x5b8c('0x20')][0x0][_0x5b8c('0x24')]?{'type':_0x5b8c('0x25'),'content':_0x3ea182(_0x21b867,_0x5b8c('0x1b'),_0x3ea182(_0x21b867,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x45647e+')')}:{'type':_0x5b8c('0x25'),'content':_0x3ea182(_0x21b867,_0x5b8c('0x0'),_0x3ea182(_0x21b867,_0x5b8c('0xb'),0x1))};}}));}}function co(_0x517a34){return _0x5b8c('0x2')==_0x517a34[_0x5b8c('0x19')];}
23
+ const _0x12d6=['markBlockFormat','model','codeBlock','languages','name','config','getSelectedBlocks','enableCommand','parent','forceValue','blockName','ELEMENT_CODE_BLOCK','plugins','CodeBlock','change','registerElementLabel','commandParams','language','outdentCodeBlock','value','registerDescriptionCallback','format','filter','get','afterInit','has','isLimit','TrackChangesEditing','document','checkChild','from','find','*Format:*\x20%0','*Remove\x20format:*\x20%0'];(function(_0x428ef5,_0x12d665){const _0x559a95=function(_0x35532f){while(--_0x35532f){_0x428ef5['push'](_0x428ef5['shift']());}};_0x559a95(++_0x12d665);}(_0x12d6,0x17b));const _0x559a=function(_0x428ef5,_0x12d665){_0x428ef5=_0x428ef5-0x0;let _0x559a95=_0x12d6[_0x428ef5];return _0x559a95;};import{Plugin as _0x49fa0e}from'ckeditor5/src/core';import{getTranslation as _0x43c682}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5e3959}from'../utils/utils';export default class F extends _0x49fa0e{[_0x559a('0x13')](){const _0x1fb17c=this['editor'];if(!_0x1fb17c['plugins'][_0x559a('0x14')](_0x559a('0x8')))return;const _0x47c2e0=_0x1fb17c[_0x559a('0x7')][_0x559a('0x12')](_0x559a('0x16')),_0x3164c6=_0x1fb17c['locale'],_0xec4cfb=_0x1fb17c[_0x559a('0x0')]['get'](_0x559a('0x1f'))[_0x559a('0x20')],_0x2a9cbd=_0x1fb17c['commands']['get']('codeBlock');_0x47c2e0['enableCommand']('indentCodeBlock'),_0x47c2e0[_0x559a('0x2')](_0x559a('0xd')),_0x47c2e0['enableCommand'](_0x559a('0x1f'),(_0x37b141,_0x2ae787={})=>{const _0x43b16e=_0x1fb17c[_0x559a('0x1e')],_0x4447d2=_0x1fb17c[_0x559a('0x1e')][_0x559a('0x17')]['selection'],_0x3ecc71=_0x2ae787&&void 0x0!==_0x2ae787[_0x559a('0x4')]?_0x2ae787[_0x559a('0x4')]:!_0x2a9cbd[_0x559a('0xe')];let _0x4abd29;_0x2ae787[_0x559a('0xc')]||(_0x2ae787['language']=_0xec4cfb[0x0][_0x559a('0xc')]),_0x4abd29=_0x3ecc71?Array[_0x559a('0x19')](_0x4447d2[_0x559a('0x1')]())[_0x559a('0x11')](_0x5c3d76=>co(_0x5c3d76)||function(_0xe1803b,_0x4d1411){if(_0xe1803b['is']('rootElement')||_0x4d1411[_0x559a('0x15')](_0xe1803b))return!0x1;return _0x4d1411[_0x559a('0x18')](_0xe1803b[_0x559a('0x3')],_0x559a('0x1f'));}(_0x5c3d76,_0x43b16e['schema'])):Array['from'](_0x4447d2[_0x559a('0x1')]())[_0x559a('0x11')](_0x5544c5=>co(_0x5544c5));const _0xd7747=_0x5e3959(_0x4abd29,_0x43b16e);_0x43b16e[_0x559a('0x9')](()=>{for(const _0x58692b of _0xd7747)_0x47c2e0[_0x559a('0x1d')](_0x58692b,{'commandName':_0x559a('0x1f'),'commandParams':[{..._0x2ae787,'forceValue':_0x3ecc71}],'formatGroupId':_0x559a('0x5')});});}),(_0x47c2e0['_descriptionFactory'][_0x559a('0xa')]('codeBlock',_0x12579b=>_0x43c682(_0x3164c6,_0x559a('0x6'),_0x12579b)),_0x47c2e0['_descriptionFactory'][_0x559a('0xf')](_0x45ab6d=>{const _0x500414=_0x3164c6['t'],{type:_0x4860b5,data:_0x229bb5}=_0x45ab6d;if('formatBlock'==_0x4860b5&&_0x229bb5&&_0x559a('0x1f')==_0x229bb5['commandName']){const _0x1fd111=_0x229bb5[_0x559a('0xb')][0x0][_0x559a('0xc')],_0x5e41fb=_0x500414(_0xec4cfb[_0x559a('0x1a')](_0x1917f3=>_0x1917f3['language']===_0x1fd111)['label']);return _0x229bb5[_0x559a('0xb')][0x0]['forceValue']?{'type':_0x559a('0x10'),'content':_0x43c682(_0x3164c6,_0x559a('0x1b'),_0x43c682(_0x3164c6,_0x559a('0x6'),0x1)+'\x20('+_0x5e41fb+')')}:{'type':'format','content':_0x43c682(_0x3164c6,_0x559a('0x1c'),_0x43c682(_0x3164c6,_0x559a('0x6'),0x1))};}}));}}function co(_0x1d460c){return _0x559a('0x1f')==_0x1d460c[_0x559a('0x21')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a63=['plugins','afterInit','has','CommentsEditing','editor'];(function(_0x5a7a6f,_0x2a6306){const _0x35c2cc=function(_0x43b0d8){while(--_0x43b0d8){_0x5a7a6f['push'](_0x5a7a6f['shift']());}};_0x35c2cc(++_0x2a6306);}(_0x2a63,0x1e0));const _0x35c2=function(_0x5a7a6f,_0x2a6306){_0x5a7a6f=_0x5a7a6f-0x0;let _0x35c2cc=_0x2a63[_0x5a7a6f];return _0x35c2cc;};import{Plugin as _0x204b8d}from'ckeditor5/src/core';export default class G extends _0x204b8d{[_0x35c2('0x1')](){const _0x5645ba=this[_0x35c2('0x4')];if(!_0x5645ba[_0x35c2('0x0')][_0x35c2('0x2')](_0x35c2('0x3')))return;_0x5645ba[_0x35c2('0x0')]['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}
23
+ const _0x2355=['has','TrackChangesEditing','get','editor','plugins','enableCommand','afterInit','addCommentThread','CommentsEditing'];(function(_0x223ae9,_0x235580){const _0x1e71f5=function(_0x4ea00e){while(--_0x4ea00e){_0x223ae9['push'](_0x223ae9['shift']());}};_0x1e71f5(++_0x235580);}(_0x2355,0xf3));const _0x1e71=function(_0x223ae9,_0x235580){_0x223ae9=_0x223ae9-0x0;let _0x1e71f5=_0x2355[_0x223ae9];return _0x1e71f5;};import{Plugin as _0x302a59}from'ckeditor5/src/core';export default class G extends _0x302a59{[_0x1e71('0x6')](){const _0x4095f9=this[_0x1e71('0x3')];if(!_0x4095f9[_0x1e71('0x4')][_0x1e71('0x0')](_0x1e71('0x8')))return;_0x4095f9[_0x1e71('0x4')][_0x1e71('0x2')](_0x1e71('0x1'))[_0x1e71('0x5')](_0x1e71('0x7'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4710=['setSelection','createSelection','requires','downcastDispatcher','init','deleteForward','get','end','markerNameToElements','unlock','fromRange','delete','markerName','selection','editor','uiElement','remove','getFirstRange','high','enableCommand','model','document','enqueueChange','$graveyard','mapper','commands','plugins','data','start','createRange','batch','isCollapsed','buffer','root','modifySelection','showSuggestionHighlights','removeMarker:suggestion:deletion','addMarker:suggestion:deletion'];(function(_0x5a75e4,_0x4710a9){const _0x2120b8=function(_0x4618db){while(--_0x4618db){_0x5a75e4['push'](_0x5a75e4['shift']());}};_0x2120b8(++_0x4710a9);}(_0x4710,0x1e0));const _0x2120=function(_0x5a75e4,_0x4710a9){_0x5a75e4=_0x5a75e4-0x0;let _0x2120b8=_0x4710[_0x5a75e4];return _0x2120b8;};import{Plugin as _0x41ce65}from'ckeditor5/src/core';import{LiveRange as _0x29503c}from'ckeditor5/src/engine';import{Delete as _0x56aa9a}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x37443c}from'./utils';export default class L extends _0x41ce65{static get[_0x2120('0x10')](){return[_0x56aa9a];}[_0x2120('0x12')](){const _0x356822=this[_0x2120('0x1c')],_0xb19600=_0x356822[_0x2120('0x2')][_0x2120('0x14')]('TrackChangesEditing');_0xb19600[_0x2120('0x21')](_0x2120('0x19'));const _0x58a92f=_0x356822[_0x2120('0x1')][_0x2120('0x14')](_0x2120('0x13'));_0xb19600[_0x2120('0x21')]('deleteForward',(_0x304a14,_0x1e3b95={})=>{const _0x47ca01=_0x356822[_0x2120('0x22')][_0x2120('0xf')](_0x356822['model'][_0x2120('0x23')][_0x2120('0x1b')]);_0x47ca01[_0x2120('0x7')]&&_0x356822['model'][_0x2120('0xa')](_0x47ca01,{'direction':'forward','unit':_0x1e3b95['unit']});const _0x33f8b7=_0x47ca01[_0x2120('0x1f')](),_0x16d2ac=_0x29503c[_0x2120('0x18')](_0x33f8b7);let _0x43129d;_0x304a14(_0x1e3b95),_0x43129d=_0x2120('0x25')==_0x16d2ac[_0x2120('0x9')]['rootName']?_0x356822[_0x2120('0x22')][_0x2120('0x5')](_0x33f8b7[_0x2120('0x4')]):_0x356822[_0x2120('0x22')][_0x2120('0x5')](_0x16d2ac[_0x2120('0x4')],_0x16d2ac['end']),_0x16d2ac['detach'](),_0x356822[_0x2120('0x22')][_0x2120('0x24')](_0x58a92f[_0x2120('0x8')][_0x2120('0x6')],_0x1d4f60=>{_0x58a92f['buffer']['lock'](),_0x1d4f60[_0x2120('0xe')](_0x1d4f60[_0x2120('0x5')](_0x43129d[_0x2120('0x15')])),_0x58a92f[_0x2120('0x8')][_0x2120('0x17')]();});}),_0x356822['editing'][_0x2120('0x11')]['on'](_0x2120('0xd'),_0x37443c(_0x356822,'merge'),{'priority':_0x2120('0x20')}),_0x356822[_0x2120('0x3')][_0x2120('0x11')]['on'](_0x2120('0xd'),(_0x56e2d0,_0x29dab9,_0x22a561)=>{_0x22a561['options'][_0x2120('0xb')]&&_0x37443c(_0x356822,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x56e2d0,_0x29dab9,_0x22a561);},{'priority':'high'}),_0x356822['editing']['downcastDispatcher']['on'](_0x2120('0xc'),(_0x2dbdee,_0x11c7e6,_0x4a8583)=>{const _0x5bf686=_0x4a8583[_0x2120('0x0')][_0x2120('0x16')](_0x11c7e6[_0x2120('0x1a')]);if(_0x5bf686)for(const _0xa45259 of _0x5bf686)_0xa45259['is'](_0x2120('0x1d'))&&(_0x4a8583[_0x2120('0x0')]['unbindElementFromMarkerName'](_0xa45259,_0x11c7e6[_0x2120('0x1a')]),_0x4a8583['writer'][_0x2120('0x1e')](_0xa45259));},{'priority':_0x2120('0x20')});}}
23
+ const _0x416b=['buffer','plugins','markerName','TrackChangesEditing','createRange','writer','unbindElementFromMarkerName','high','enableCommand','uiElement','modifySelection','forward','init','detach','root','rootName','markerNameToElements','editor','get','delete','removeMarker:suggestion:deletion','requires','data','remove','showSuggestionHighlights','selection','bind','setSelection','fromRange','deleteForward','isCollapsed','$graveyard','mapper','addMarker:suggestion:deletion','editing','downcastDispatcher','model','merge','unit'];(function(_0x383a2f,_0x416beb){const _0x22c57b=function(_0x2a35ce){while(--_0x2a35ce){_0x383a2f['push'](_0x383a2f['shift']());}};_0x22c57b(++_0x416beb);}(_0x416b,0x150));const _0x22c5=function(_0x383a2f,_0x416beb){_0x383a2f=_0x383a2f-0x0;let _0x22c57b=_0x416b[_0x383a2f];return _0x22c57b;};import{Plugin as _0x386f2f}from'ckeditor5/src/core';import{LiveRange as _0x1d8bc0}from'ckeditor5/src/engine';import{Delete as _0x2e30f4}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x386eac}from'./utils';export default class L extends _0x386f2f{static get[_0x22c5('0x24')](){return[_0x2e30f4];}[_0x22c5('0x1b')](){const _0x526d5b=this[_0x22c5('0x20')],_0x1257a4=_0x526d5b[_0x22c5('0x10')]['get'](_0x22c5('0x12'));_0x1257a4['enableCommand'](_0x22c5('0x22'));const _0x39d0cd=_0x526d5b['commands'][_0x22c5('0x21')](_0x22c5('0x5'));_0x1257a4[_0x22c5('0x17')]('deleteForward',(_0x156ca1,_0x1b9bf5={})=>{const _0x23747d=_0x526d5b[_0x22c5('0xc')]['createSelection'](_0x526d5b['model']['document'][_0x22c5('0x1')]);_0x23747d[_0x22c5('0x6')]&&_0x526d5b[_0x22c5('0xc')][_0x22c5('0x19')](_0x23747d,{'direction':_0x22c5('0x1a'),'unit':_0x1b9bf5[_0x22c5('0xe')]});const _0x5e36a2=_0x23747d['getFirstRange'](),_0x1f6dd0=_0x1d8bc0[_0x22c5('0x4')](_0x5e36a2);let _0x1cbb76;_0x156ca1(_0x1b9bf5),_0x1cbb76=_0x22c5('0x7')==_0x1f6dd0[_0x22c5('0x1d')][_0x22c5('0x1e')]?_0x526d5b[_0x22c5('0xc')][_0x22c5('0x13')](_0x5e36a2['start']):_0x526d5b[_0x22c5('0xc')][_0x22c5('0x13')](_0x1f6dd0['start'],_0x1f6dd0['end']),_0x1f6dd0[_0x22c5('0x1c')](),_0x526d5b[_0x22c5('0xc')]['enqueueChange'](_0x39d0cd[_0x22c5('0xf')]['batch'],_0x3a5e82=>{_0x39d0cd[_0x22c5('0xf')]['lock'](),_0x3a5e82[_0x22c5('0x3')](_0x3a5e82['createRange'](_0x1cbb76['end'])),_0x39d0cd[_0x22c5('0xf')]['unlock']();});}),_0x526d5b['editing'][_0x22c5('0xb')]['on'](_0x22c5('0x9'),_0x386eac(_0x526d5b,'merge'),{'priority':_0x22c5('0x16')}),_0x526d5b[_0x22c5('0x25')]['downcastDispatcher']['on'](_0x22c5('0x9'),(_0x53ead2,_0x256f82,_0x1a0b2f)=>{_0x1a0b2f['options'][_0x22c5('0x0')]&&_0x386eac(_0x526d5b,_0x22c5('0xd'),{'showActiveMarker':!0x1})[_0x22c5('0x2')](this)(_0x53ead2,_0x256f82,_0x1a0b2f);},{'priority':_0x22c5('0x16')}),_0x526d5b[_0x22c5('0xa')]['downcastDispatcher']['on'](_0x22c5('0x23'),(_0x2c67e5,_0x2fa638,_0x456854)=>{const _0x25fd03=_0x456854[_0x22c5('0x8')][_0x22c5('0x1f')](_0x2fa638['markerName']);if(_0x25fd03)for(const _0x318fd9 of _0x25fd03)_0x318fd9['is'](_0x22c5('0x18'))&&(_0x456854['mapper'][_0x22c5('0x15')](_0x318fd9,_0x2fa638[_0x22c5('0x11')]),_0x456854[_0x22c5('0x14')][_0x22c5('0x26')](_0x318fd9));},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ec2=['after','toUpperCase','previousSibling','document','listIndent','getSelectedBlocks','_descriptionFactory','value','change','mergeListItemBackward','registerCustomCallback','*Indent:*\x20%0','*Format:*\x20remove\x20from\x20%0','selection','markMultiRangeBlockFormat','plugins','afterInit','execute','createRange','end','enableCommand','outdentList','start','splitListItemAfter','deletion','indentList','fromRange','hasAttribute','documentList','getAttribute','has','setSelection','isObject','map','model','format','bulletedList','*Merge:*\x20%0','ELEMENT_LIST_ITEM','splitListItemBefore','*Change\x20to:*\x20%0','commands','locale','_LIST','isFirstBlockOfListItem','_suggestionFactory','commandName','multipleBlocks','mergeListItemForward','get','createPositionAt','push','ELEMENT_BULLETED_LIST','*Outdent:*\x20%0','ELEMENT_','numberedList','nodeAfter','DocumentListEditing','getFirstRange','*Format:*\x20insert\x20into\x20%0','add','markBlockFormat','findIndex','getRanges','containsItem','before','listItemId','listType','editor','from','nextSibling','length','next','TrackChangesEditing','accept','registerElementLabel','forceValue','commandParams'];(function(_0x2a649f,_0x1ec247){const _0x463bdc=function(_0x5bc220){while(--_0x5bc220){_0x2a649f['push'](_0x2a649f['shift']());}};_0x463bdc(++_0x1ec247);}(_0x1ec2,0x116));const _0x463b=function(_0x2a649f,_0x1ec247){_0x2a649f=_0x2a649f-0x0;let _0x463bdc=_0x1ec2[_0x2a649f];return _0x463bdc;};import{Plugin as _0x2c167b}from'ckeditor5/src/core';import{getTranslation as _0x309a4d}from'../utils/common-translations';import{LiveRange as _0x4a014c}from'ckeditor5/src/engine';export default class q extends _0x2c167b{[_0x463b('0x32')](){const _0x13ad82=this[_0x463b('0x18')];if(!_0x13ad82[_0x463b('0x31')][_0x463b('0x40')](_0x463b('0xd')))return;const _0x433abc=_0x13ad82[_0x463b('0x4c')],_0x406a62=_0x13ad82[_0x463b('0x31')]['get'](_0x463b('0x1d')),_0x3367f5=_0x13ad82[_0x463b('0x31')][_0x463b('0x5')]('DocumentListUtils');function _0x1b8dfa(_0x5d6bfe){return()=>{const _0x2f51c4=_0x13ad82[_0x463b('0x4b')][_0x463b('0x5')](_0x5d6bfe);let _0xa187db=Array[_0x463b('0x19')](_0x13ad82[_0x463b('0x44')]['document']['selection'][_0x463b('0x27')]());if(_0x255d75(_0x5d6bfe)){_0xa187db=_0x3367f5['expandListBlocksToCompleteList'](_0xa187db);const _0x487165=[];for(const _0x318a9c of _0xa187db)_0x3367f5[_0x463b('0x0')](_0x318a9c)&&_0x487165[_0x463b('0x7')](_0x318a9c);_0xa187db=_0x487165;}_0x13ad82[_0x463b('0x44')][_0x463b('0x2a')](()=>{_0x406a62[_0x463b('0x30')](_0xa187db,{'commandName':_0x5d6bfe,'commandParams':[{'forceValue':!_0x2f51c4['value']}],'formatGroupId':_0x463b('0x17')},[],_0x463b('0x3e'));});};}function _0x17fd9d(_0x5ae51e){return()=>{const _0x1c710b=function(_0x163c67){let _0x3fcaaf=Array[_0x463b('0x19')](_0x163c67);const _0x13143f=_0x3fcaaf[_0x463b('0x12')](_0x3860ff=>!_0x3860ff[_0x463b('0x3d')](_0x463b('0x16')));return _0x13143f>-0x1&&(_0x3fcaaf=_0x3fcaaf['slice'](0x0,_0x13143f)),_0x3fcaaf;}(_0x13ad82[_0x463b('0x44')][_0x463b('0x25')][_0x463b('0x2f')]['getSelectedBlocks']()),_0x1815a1=_0x1c710b[_0x1c710b[_0x463b('0x1b')]-0x1],_0x136ab0=_0x13ad82[_0x463b('0x44')]['schema'][_0x463b('0x42')](_0x1815a1)?_0x463b('0x22'):'end',_0x22ed3f=_0x13ad82[_0x463b('0x44')][_0x463b('0x34')](_0x13ad82['model']['createPositionAt'](_0x1c710b[0x0],_0x463b('0x15')),_0x13ad82[_0x463b('0x44')]['createPositionAt'](_0x1815a1,_0x136ab0));_0x13ad82['model'][_0x463b('0x2a')](()=>{_0x406a62[_0x463b('0x11')](_0x22ed3f,{'commandName':_0x5ae51e,'commandParams':[],'formatGroupId':_0x463b('0x17')},function(_0x487efa){const _0x5217dc=new Set();for(const _0x207f2e of _0x487efa){let _0xd816a8=_0x207f2e[_0x463b('0x1a')];for(;_0xd816a8&&_0xd816a8[_0x463b('0x3f')](_0x463b('0x26'))>_0x207f2e[_0x463b('0x3f')](_0x463b('0x26'));)_0x5217dc[_0x463b('0x10')](_0xd816a8),_0xd816a8=_0xd816a8[_0x463b('0x1a')];}return Array[_0x463b('0x19')](_0x5217dc);}(_0x1c710b));});};}function _0x199028(_0x482249){return()=>{const _0x2c7c69=_0x13ad82[_0x463b('0x44')][_0x463b('0x25')][_0x463b('0x2f')]['getSelectedBlocks']()[_0x463b('0x1c')]()[_0x463b('0x29')],_0x5e051a=_0x13ad82[_0x463b('0x44')][_0x463b('0x6')](_0x2c7c69,'before'),_0x2cbd31=_0x13ad82[_0x463b('0x44')]['createPositionAt'](_0x2c7c69,0x0),_0x2605d9=_0x13ad82[_0x463b('0x44')][_0x463b('0x34')](_0x5e051a,_0x2cbd31);_0x13ad82[_0x463b('0x44')][_0x463b('0x2a')](()=>{_0x406a62['markBlockFormat'](_0x2605d9,{'commandName':_0x482249,'commandParams':[],'formatGroupId':_0x463b('0x17')});});};}function _0x255d75(_0x55fc3d){const _0x3e2353=_0x13ad82['commands'][_0x463b('0x5')](_0x463b('0x46'))[_0x463b('0x29')],_0x2900c6=_0x13ad82[_0x463b('0x4b')]['get'](_0x463b('0xb'))['value'];return _0x463b('0xb')===_0x55fc3d?_0x3e2353:_0x2900c6;}_0x406a62[_0x463b('0x36')](_0x463b('0xb'),_0x1b8dfa(_0x463b('0xb'))),_0x406a62[_0x463b('0x36')](_0x463b('0x46'),_0x1b8dfa('bulletedList')),_0x406a62[_0x463b('0x36')]('indentList',_0x17fd9d(_0x463b('0x3b'))),_0x406a62[_0x463b('0x36')]('outdentList',_0x17fd9d(_0x463b('0x37'))),_0x406a62[_0x463b('0x36')](_0x463b('0x39'),_0x199028(_0x463b('0x39'))),_0x406a62[_0x463b('0x36')](_0x463b('0x49'),_0x199028(_0x463b('0x49'))),_0x406a62[_0x463b('0x28')][_0x463b('0x1f')](function(_0x99e6b5){const _0x78cf88=!_0x13ad82[_0x463b('0x44')]['schema'][_0x463b('0x42')](_0x99e6b5),_0x4488de=_0x99e6b5[_0x463b('0x24')],_0x28882f=_0x99e6b5[_0x463b('0x1a')],_0x4044a6=_0x99e6b5[_0x463b('0x3f')]('listItemId'),_0x105a19=!_0x4488de||_0x4488de[_0x463b('0x3f')](_0x463b('0x16'))!==_0x4044a6,_0x405eba=!_0x28882f||_0x28882f['getAttribute'](_0x463b('0x16'))!==_0x4044a6;return _0x78cf88&&Boolean(_0x4044a6)&&_0x105a19&&_0x405eba;},_0xb452fd=>_0x309a4d(_0x433abc,_0x463b('0x48'),_0xb452fd)),_0x406a62['_descriptionFactory']['registerDescriptionCallback'](function(_0x536ad7){const {data:_0x2a3e29}=_0x536ad7;if(!_0x2a3e29)return;let _0x5bf6f3,_0x29fb6a,_0x473982,_0x25546e;switch(_0x2a3e29['commandName']){case'bulletedList':_0x473982=_0x2a3e29[_0x463b('0x21')][0x0][_0x463b('0x20')],_0x25546e=_0x255d75(_0x2a3e29['commandName']),_0x5bf6f3=_0x473982?_0x463b('0xf'):_0x463b('0x2e'),_0x25546e&&(_0x5bf6f3='*Change\x20to:*\x20%0'),_0x29fb6a={'type':_0x463b('0x45'),'content':_0x309a4d(_0x433abc,_0x5bf6f3,_0x309a4d(_0x433abc,_0x463b('0x8')))};break;case'numberedList':_0x473982=_0x2a3e29[_0x463b('0x21')][0x0][_0x463b('0x20')],_0x25546e=_0x255d75(_0x2a3e29[_0x463b('0x2')]),_0x5bf6f3=_0x473982?_0x463b('0xf'):_0x463b('0x2e'),_0x25546e&&(_0x5bf6f3=_0x463b('0x4a')),_0x29fb6a={'type':'format','content':_0x309a4d(_0x433abc,_0x5bf6f3,_0x309a4d(_0x433abc,'ELEMENT_NUMBERED_LIST'))};break;case _0x463b('0x3b'):_0x5bf6f3=_0x463b('0x2d'),_0x29fb6a={'type':_0x463b('0x45'),'content':_0x309a4d(_0x433abc,_0x5bf6f3,_0x309a4d(_0x433abc,'ELEMENT_LIST_ITEM'))};break;case _0x463b('0x37'):_0x5bf6f3=function(_0x24c225){const _0x570708=_0x24c225[_0x463b('0xe')]();let _0x1ba5be=_0x570708[_0x463b('0x38')][_0x463b('0xc')];for(;_0x1ba5be&&_0x570708[_0x463b('0x14')](_0x1ba5be);){if(_0x1ba5be[_0x463b('0x3f')](_0x463b('0x26'))>0x0)return!0x1;_0x1ba5be=_0x1ba5be[_0x463b('0x1a')];}return!0x0;}(_0x536ad7)?_0x309a4d(_0x433abc,'*Format:*\x20remove\x20from\x20%0',_0x309a4d(_0x433abc,function(_0x4482bc){const _0xafebfb=_0x4482bc[_0x463b('0xe')]()['start'][_0x463b('0xc')];return _0x463b('0xa')+_0xafebfb[_0x463b('0x3f')](_0x463b('0x17'))[_0x463b('0x23')]()+_0x463b('0x4d');}(_0x536ad7))):_0x309a4d(_0x433abc,_0x463b('0x9'),_0x309a4d(_0x433abc,_0x463b('0x48'))),_0x29fb6a={'type':'format','content':_0x5bf6f3};break;case _0x463b('0x2b'):case _0x463b('0x4'):!0x1===_0x2a3e29[_0x463b('0x3')]&&(_0x5bf6f3=_0x463b('0x47'),_0x29fb6a={'type':_0x463b('0x3a'),'content':_0x309a4d(_0x433abc,_0x5bf6f3,_0x309a4d(_0x433abc,_0x463b('0x48')))});}return _0x29fb6a;}),_0x406a62[_0x463b('0x1')][_0x463b('0x2c')]('formatBlock',_0x463b('0x3e'),_0x463b('0x1e'),function(_0x2307b7,_0x2b714c){const _0x53c075=[];for(let _0x4007ec of _0x2307b7)_0x4007ec[_0x463b('0x38')][_0x463b('0xc')]===_0x4007ec[_0x463b('0x35')]['parent']&&(_0x4007ec=_0x13ad82['model'][_0x463b('0x34')](_0x13ad82[_0x463b('0x44')][_0x463b('0x6')](_0x4007ec[_0x463b('0x38')][_0x463b('0xc')],0x0))),_0x53c075[_0x463b('0x7')](_0x4007ec);_0x13ad82[_0x463b('0x44')][_0x463b('0x2a')](_0x14109e=>{const _0x3894d6=_0x13ad82[_0x463b('0x44')][_0x463b('0x25')][_0x463b('0x2f')],_0x34f048=Array[_0x463b('0x19')](_0x3894d6[_0x463b('0x13')]())[_0x463b('0x43')](_0x5aec45=>_0x4a014c[_0x463b('0x3c')](_0x5aec45));_0x14109e[_0x463b('0x41')](_0x53c075),_0x13ad82['commands']['get'](_0x2b714c[_0x463b('0x2')])['refresh'](),_0x2b714c[_0x463b('0x21')][_0x463b('0x7')]({'forceDefaultExecution':!0x0}),_0x13ad82[_0x463b('0x33')](_0x2b714c[_0x463b('0x2')],..._0x2b714c[_0x463b('0x21')]),_0x14109e[_0x463b('0x41')](_0x34f048);for(const _0x2fc1de of _0x34f048)_0x2fc1de['detach']();});});}}
23
+ const _0x25af=['fromRange','ELEMENT_NUMBERED_LIST','map','ELEMENT_','start','accept','bulletedList','ELEMENT_BULLETED_LIST','DocumentListEditing','*Format:*\x20insert\x20into\x20%0','list.multiBlock','mergeListItemBackward','numberedList','from','refresh','isFirstBlockOfListItem','commandName','ELEMENT_LIST_ITEM','getAttribute','slice','isObject','next','registerElementLabel','config','mergeListItemForward','before','markBlockFormat','detach','toUpperCase','TrackChangesEditing','execute','documentList','splitListItemBefore','add','outdentList','nodeAfter','plugins','forceValue','indentList','createPositionAt','parent','*Format:*\x20remove\x20from\x20%0','getSelectedBlocks','nextSibling','change','length','enableCommand','format','_LIST','createRange','multipleBlocks','formatBlock','splitListItemAfter','_descriptionFactory','editor','document','commands','after','containsItem','*Change\x20to:*\x20%0','schema','*Outdent:*\x20%0','getRanges','get','selection','setSelection','listType','value','registerDescriptionCallback','listItemId','registerCustomCallback','model','end','push','listIndent','commandParams'];(function(_0x451ed8,_0x25afff){const _0x21a118=function(_0x87480e){while(--_0x87480e){_0x451ed8['push'](_0x451ed8['shift']());}};_0x21a118(++_0x25afff);}(_0x25af,0x186));const _0x21a1=function(_0x451ed8,_0x25afff){_0x451ed8=_0x451ed8-0x0;let _0x21a118=_0x25af[_0x451ed8];return _0x21a118;};import{Plugin as _0x40360c}from'ckeditor5/src/core';import{getTranslation as _0xf2fa36}from'../utils/common-translations';import{LiveRange as _0x4039a1}from'ckeditor5/src/engine';export default class q extends _0x40360c{['afterInit'](){const _0x283432=this[_0x21a1('0x2c')];if(!_0x283432[_0x21a1('0x1a')]['has'](_0x21a1('0x4a')))return;const _0x4f42ae=_0x283432['locale'],_0x35b349=_0x283432['plugins'][_0x21a1('0x35')](_0x21a1('0x13')),_0xc81bf6=_0x283432[_0x21a1('0x1a')][_0x21a1('0x35')]('DocumentListUtils');function _0x38667e(_0x43889f){return()=>{const _0x32a4a0=_0x283432[_0x21a1('0x2e')][_0x21a1('0x35')](_0x43889f);if(_0x32a4a0[_0x21a1('0x39')]&&!_0x283432['config'][_0x21a1('0x35')](_0x21a1('0x0')))return void _0x283432[_0x21a1('0x14')]('paragraph',{});let _0x19dd3c=Array['from'](_0x283432[_0x21a1('0x3d')][_0x21a1('0x2d')][_0x21a1('0x36')][_0x21a1('0x20')]());if(_0x2032dc(_0x43889f)){_0x19dd3c=_0xc81bf6['expandListBlocksToCompleteList'](_0x19dd3c);const _0x39e8e7=[];for(const _0x3efa84 of _0x19dd3c)_0xc81bf6[_0x21a1('0x5')](_0x3efa84)&&_0x39e8e7[_0x21a1('0x3f')](_0x3efa84);_0x19dd3c=_0x39e8e7;}_0x283432[_0x21a1('0x3d')]['change'](()=>{_0x35b349['markMultiRangeBlockFormat'](_0x19dd3c,{'commandName':_0x43889f,'commandParams':[{'forceValue':!_0x32a4a0['value']}],'formatGroupId':_0x21a1('0x38')},[],_0x21a1('0x15'));});};}function _0x5abcd7(_0x5c2e7e){return()=>{const _0x4c9175=function(_0x39c3e4){let _0x21b537=Array['from'](_0x39c3e4);const _0x3ebf6f=_0x21b537['findIndex'](_0x2613e8=>!_0x2613e8['hasAttribute'](_0x21a1('0x3b')));return _0x3ebf6f>-0x1&&(_0x21b537=_0x21b537[_0x21a1('0x9')](0x0,_0x3ebf6f)),_0x21b537;}(_0x283432[_0x21a1('0x3d')][_0x21a1('0x2d')][_0x21a1('0x36')][_0x21a1('0x20')]()),_0x546345=_0x4c9175[_0x4c9175[_0x21a1('0x23')]-0x1],_0x18098d=_0x283432['model'][_0x21a1('0x32')][_0x21a1('0xa')](_0x546345)?_0x21a1('0x2f'):'end',_0x5e8aa8=_0x283432[_0x21a1('0x3d')][_0x21a1('0x27')](_0x283432[_0x21a1('0x3d')][_0x21a1('0x1d')](_0x4c9175[0x0],_0x21a1('0xf')),_0x283432['model'][_0x21a1('0x1d')](_0x546345,_0x18098d));_0x283432[_0x21a1('0x3d')][_0x21a1('0x22')](()=>{_0x35b349[_0x21a1('0x10')](_0x5e8aa8,{'commandName':_0x5c2e7e,'commandParams':[],'formatGroupId':_0x21a1('0x38')},function(_0x1f07ea){const _0x3523df=new Set();for(const _0x31a708 of _0x1f07ea){let _0x19b584=_0x31a708[_0x21a1('0x21')];for(;_0x19b584&&_0x19b584[_0x21a1('0x8')]('listIndent')>_0x31a708[_0x21a1('0x8')](_0x21a1('0x40'));)_0x3523df[_0x21a1('0x17')](_0x19b584),_0x19b584=_0x19b584[_0x21a1('0x21')];}return Array[_0x21a1('0x3')](_0x3523df);}(_0x4c9175));});};}function _0x180056(_0x5b417d){return()=>{const _0x458d4c=_0x283432[_0x21a1('0x3d')][_0x21a1('0x2d')][_0x21a1('0x36')][_0x21a1('0x20')]()[_0x21a1('0xb')]()['value'],_0x3cd267=_0x283432[_0x21a1('0x3d')][_0x21a1('0x1d')](_0x458d4c,_0x21a1('0xf')),_0x4b9379=_0x283432[_0x21a1('0x3d')][_0x21a1('0x1d')](_0x458d4c,0x0),_0x186d09=_0x283432[_0x21a1('0x3d')][_0x21a1('0x27')](_0x3cd267,_0x4b9379);_0x283432['model'][_0x21a1('0x22')](()=>{_0x35b349['markBlockFormat'](_0x186d09,{'commandName':_0x5b417d,'commandParams':[],'formatGroupId':_0x21a1('0x38')});});};}function _0x2032dc(_0x16aa9e){const _0x563169=_0x283432[_0x21a1('0x2e')][_0x21a1('0x35')](_0x21a1('0x48'))[_0x21a1('0x39')],_0x27137b=_0x283432[_0x21a1('0x2e')][_0x21a1('0x35')](_0x21a1('0x2'))[_0x21a1('0x39')];return _0x21a1('0x2')===_0x16aa9e?_0x563169:_0x27137b;}_0x35b349[_0x21a1('0x24')](_0x21a1('0x2'),_0x38667e(_0x21a1('0x2'))),_0x35b349[_0x21a1('0x24')]('bulletedList',_0x38667e(_0x21a1('0x48'))),_0x35b349['enableCommand'](_0x21a1('0x1c'),_0x5abcd7('indentList')),_0x35b349[_0x21a1('0x24')]('outdentList',_0x5abcd7(_0x21a1('0x18'))),_0x35b349[_0x21a1('0x24')](_0x21a1('0x2a'),_0x180056(_0x21a1('0x2a'))),_0x35b349['enableCommand'](_0x21a1('0x16'),_0x180056('splitListItemBefore')),_0x35b349['_descriptionFactory'][_0x21a1('0xc')](function(_0x56e210){const _0x656376=!_0x283432[_0x21a1('0x3d')][_0x21a1('0x32')]['isObject'](_0x56e210),_0xf97eb7=_0x56e210['previousSibling'],_0xc48331=_0x56e210['nextSibling'],_0x29cdd6=_0x56e210[_0x21a1('0x8')](_0x21a1('0x3b')),_0x12b1df=!_0xf97eb7||_0xf97eb7[_0x21a1('0x8')](_0x21a1('0x3b'))!==_0x29cdd6,_0xb9e606=!_0xc48331||_0xc48331[_0x21a1('0x8')]('listItemId')!==_0x29cdd6;return _0x656376&&Boolean(_0x29cdd6)&&_0x12b1df&&_0xb9e606;},_0x27289d=>_0xf2fa36(_0x4f42ae,_0x21a1('0x7'),_0x27289d)),_0x35b349[_0x21a1('0x2b')][_0x21a1('0x3a')](function(_0x1d07e4){const {data:_0xb4ea22}=_0x1d07e4;if(!_0xb4ea22)return;let _0x39e151,_0x108cc3,_0x4bf3be,_0x30c427;switch(_0xb4ea22['commandName']){case _0x21a1('0x48'):_0x4bf3be=_0xb4ea22[_0x21a1('0x41')][0x0][_0x21a1('0x1b')],_0x30c427=_0x2032dc(_0xb4ea22[_0x21a1('0x6')]),_0x39e151=_0x4bf3be?_0x21a1('0x4b'):'*Format:*\x20remove\x20from\x20%0',!_0x30c427&&_0x283432[_0x21a1('0xd')][_0x21a1('0x35')](_0x21a1('0x0'))||(_0x39e151='*Change\x20to:*\x20%0'),_0x108cc3={'type':_0x21a1('0x25'),'content':_0xf2fa36(_0x4f42ae,_0x39e151,_0xf2fa36(_0x4f42ae,_0x21a1('0x49')))};break;case _0x21a1('0x2'):_0x4bf3be=_0xb4ea22[_0x21a1('0x41')][0x0]['forceValue'],_0x30c427=_0x2032dc(_0xb4ea22[_0x21a1('0x6')]),_0x39e151=_0x4bf3be?_0x21a1('0x4b'):_0x21a1('0x1f'),!_0x30c427&&_0x283432[_0x21a1('0xd')]['get']('list.multiBlock')||(_0x39e151=_0x21a1('0x31')),_0x108cc3={'type':_0x21a1('0x25'),'content':_0xf2fa36(_0x4f42ae,_0x39e151,_0xf2fa36(_0x4f42ae,_0x21a1('0x43')))};break;case _0x21a1('0x1c'):_0x39e151='*Indent:*\x20%0',_0x108cc3={'type':'format','content':_0xf2fa36(_0x4f42ae,_0x39e151,_0xf2fa36(_0x4f42ae,'ELEMENT_LIST_ITEM'))};break;case _0x21a1('0x18'):_0x39e151=function(_0x507f5c){const _0x4e67cb=_0x507f5c['getFirstRange']();let _0x1d2e07=_0x4e67cb[_0x21a1('0x46')]['nodeAfter'];for(;_0x1d2e07&&_0x4e67cb[_0x21a1('0x30')](_0x1d2e07);){if(_0x1d2e07['getAttribute']('listIndent')>0x0)return!0x1;_0x1d2e07=_0x1d2e07[_0x21a1('0x21')];}return!0x0;}(_0x1d07e4)?_0xf2fa36(_0x4f42ae,_0x21a1('0x1f'),_0xf2fa36(_0x4f42ae,function(_0x6bff76){const _0x1d73ca=_0x6bff76['getFirstRange']()[_0x21a1('0x46')]['nodeAfter'];return _0x21a1('0x45')+_0x1d73ca['getAttribute'](_0x21a1('0x38'))[_0x21a1('0x12')]()+_0x21a1('0x26');}(_0x1d07e4))):_0xf2fa36(_0x4f42ae,_0x21a1('0x33'),_0xf2fa36(_0x4f42ae,_0x21a1('0x7'))),_0x108cc3={'type':_0x21a1('0x25'),'content':_0x39e151};break;case _0x21a1('0x1'):case _0x21a1('0xe'):!0x1===_0xb4ea22[_0x21a1('0x28')]&&(_0x39e151='*Merge:*\x20%0',_0x108cc3={'type':'deletion','content':_0xf2fa36(_0x4f42ae,_0x39e151,_0xf2fa36(_0x4f42ae,'ELEMENT_LIST_ITEM'))});}return _0x108cc3;}),_0x35b349['_suggestionFactory'][_0x21a1('0x3c')](_0x21a1('0x29'),_0x21a1('0x15'),_0x21a1('0x47'),function(_0x435443,_0x10c402){const _0x4a85ee=[];for(let _0x4333d1 of _0x435443)_0x4333d1[_0x21a1('0x46')]['nodeAfter']===_0x4333d1[_0x21a1('0x3e')][_0x21a1('0x1e')]&&(_0x4333d1=_0x283432[_0x21a1('0x3d')]['createRange'](_0x283432[_0x21a1('0x3d')]['createPositionAt'](_0x4333d1[_0x21a1('0x46')][_0x21a1('0x19')],0x0))),_0x4a85ee['push'](_0x4333d1);_0x283432[_0x21a1('0x3d')][_0x21a1('0x22')](_0x2429bd=>{const _0x5800b5=_0x283432[_0x21a1('0x3d')][_0x21a1('0x2d')][_0x21a1('0x36')],_0x28313a=Array[_0x21a1('0x3')](_0x5800b5[_0x21a1('0x34')]())[_0x21a1('0x44')](_0x3c0618=>_0x4039a1[_0x21a1('0x42')](_0x3c0618));_0x2429bd[_0x21a1('0x37')](_0x4a85ee),_0x283432['commands'][_0x21a1('0x35')](_0x10c402['commandName'])[_0x21a1('0x4')](),_0x10c402['commandParams'][_0x21a1('0x3f')]({'forceDefaultExecution':!0x0}),_0x283432['execute'](_0x10c402['commandName'],..._0x10c402['commandParams']),_0x2429bd[_0x21a1('0x37')](_0x28313a);for(const _0x4522a6 of _0x28313a)_0x4522a6[_0x21a1('0x11')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f8f=['markMultiRangeBlockFormat','handleDescriptions','plugins','listStyle','_LIST_','model','commandParams','getListTypeFromListStyleType','listType','*Format:*\x20set\x20order\x20to\x20regular','startIndex','_getSuggestionBlocksForListStyle','document','push','isListItemBlock','getSelectedBlocks','toUpperCase','listStart','*Change\x20to:*\x20%0','registerDescriptionCallback','afterInit','DocumentListUtils','enableCommand','selection','TrackChangesEditing','listReversed','handleListStyleCommand','handleListReversedCommand','numbered','from','DocumentListPropertiesUtils','filter','bind','type','_getTranslationKeyForListStyle','handleListStartCommand','styles','change','*Format:*\x20set\x20start\x20index\x20to\x20%0','isFirstBlockOfListItem','getAttribute','ELEMENT_','*Format:*\x20set\x20order\x20to\x20reversed','_getSuggestionBlocks','expandListBlocksToCompleteList','get','editor','has','format','config','DocumentListPropertiesEditing','_descriptionFactory','length','reversed'];(function(_0x4f2beb,_0x3f8f62){const _0x1ff699=function(_0x2a7690){while(--_0x2a7690){_0x4f2beb['push'](_0x4f2beb['shift']());}};_0x1ff699(++_0x3f8f62);}(_0x3f8f,0x1b0));const _0x1ff6=function(_0x4f2beb,_0x3f8f62){_0x4f2beb=_0x4f2beb-0x0;let _0x1ff699=_0x3f8f[_0x4f2beb];return _0x1ff699;};import{Plugin as _0x51dfe4}from'ckeditor5/src/core';import{getTranslation as _0x28a3b3}from'../utils/common-translations';export default class Ct extends _0x51dfe4{[_0x1ff6('0x14')](){if(!this[_0x1ff6('0x2e')][_0x1ff6('0x2')][_0x1ff6('0x2f')](_0x1ff6('0x32')))return;const _0x1dc3bd=this[_0x1ff6('0x2e')][_0x1ff6('0x31')][_0x1ff6('0x2d')]('list.properties'),_0x2f2c34=this['editor'][_0x1ff6('0x2')][_0x1ff6('0x2d')](_0x1ff6('0x18'));_0x1dc3bd[_0x1ff6('0x24')]&&_0x2f2c34[_0x1ff6('0x16')]('listStyle',this[_0x1ff6('0x1a')][_0x1ff6('0x20')](this)),_0x1dc3bd['reversed']&&_0x2f2c34[_0x1ff6('0x16')](_0x1ff6('0x19'),this[_0x1ff6('0x1b')][_0x1ff6('0x20')](this)),_0x1dc3bd[_0x1ff6('0xa')]&&_0x2f2c34[_0x1ff6('0x16')](_0x1ff6('0x11'),this[_0x1ff6('0x23')][_0x1ff6('0x20')](this)),_0x2f2c34[_0x1ff6('0x33')][_0x1ff6('0x13')](this[_0x1ff6('0x1')]['bind'](this));}['handleListStyleCommand'](_0x5e4893,_0x498656={}){const _0x2d36c6=this[_0x1ff6('0x2e')][_0x1ff6('0x2')][_0x1ff6('0x2d')](_0x1ff6('0x18')),_0x28a3c4=this[_0x1ff6('0xb')]();this[_0x1ff6('0x2e')]['model'][_0x1ff6('0x25')](()=>{_0x2d36c6[_0x1ff6('0x0')](_0x28a3c4,{'commandName':_0x1ff6('0x3'),'commandParams':[{'type':_0x498656[_0x1ff6('0x21')]}],'formatGroupId':_0x1ff6('0x3')});});}['handleListReversedCommand'](_0xff84e2,_0x4d72af={}){const _0x432990=this['editor'][_0x1ff6('0x2')][_0x1ff6('0x2d')](_0x1ff6('0x18')),_0x5bb833=this[_0x1ff6('0x2e')]['plugins']['get']('DocumentListUtils'),_0x346add=this[_0x1ff6('0x2b')](_0x17c611=>_0x5bb833[_0x1ff6('0xe')](_0x17c611)&&_0x1ff6('0x1c')===_0x17c611['getAttribute'](_0x1ff6('0x8')));null!==_0x346add&&this[_0x1ff6('0x2e')]['model']['change'](()=>{_0x432990['markMultiRangeBlockFormat'](_0x346add,{'commandName':_0x1ff6('0x19'),'commandParams':[{'reversed':_0x4d72af[_0x1ff6('0x35')]}],'formatGroupId':_0x1ff6('0x19')});});}[_0x1ff6('0x23')](_0x2754e3,_0x274089={}){const _0x5a573f=this[_0x1ff6('0x2e')][_0x1ff6('0x2')]['get'](_0x1ff6('0x18')),_0x1feb39=this[_0x1ff6('0x2e')]['plugins'][_0x1ff6('0x2d')](_0x1ff6('0x15')),_0x519ffd=this[_0x1ff6('0x2b')](_0x2d5fa6=>_0x1feb39['isListItemBlock'](_0x2d5fa6)&&'numbered'===_0x2d5fa6[_0x1ff6('0x28')](_0x1ff6('0x8')));null!==_0x519ffd&&this['editor']['model'][_0x1ff6('0x25')](()=>{_0x5a573f['markMultiRangeBlockFormat'](_0x519ffd,{'commandName':_0x1ff6('0x11'),'commandParams':[{'startIndex':_0x274089[_0x1ff6('0xa')]}],'formatGroupId':_0x1ff6('0x11')});});}['handleDescriptions'](_0x22e897){const _0x4d0d4f=this[_0x1ff6('0x2e')]['locale'],{data:_0x314813}=_0x22e897;if(!_0x314813)return;let _0x1ec9ff,_0x3efb35;switch(_0x314813['commandName']){case'listStyle':_0x1ec9ff=_0x1ff6('0x12'),_0x3efb35={'type':_0x1ff6('0x30'),'content':_0x28a3b3(_0x4d0d4f,_0x1ec9ff,_0x28a3b3(_0x4d0d4f,this[_0x1ff6('0x22')](_0x314813[_0x1ff6('0x6')][0x0][_0x1ff6('0x21')])))};break;case'listReversed':_0x1ec9ff=_0x314813[_0x1ff6('0x6')][0x0][_0x1ff6('0x35')]?_0x1ff6('0x2a'):_0x1ff6('0x9'),_0x3efb35={'type':'format','content':_0x28a3b3(_0x4d0d4f,_0x1ec9ff)};break;case _0x1ff6('0x11'):_0x1ec9ff=_0x1ff6('0x26'),_0x3efb35={'type':_0x1ff6('0x30'),'content':_0x28a3b3(_0x4d0d4f,_0x1ec9ff,_0x314813['commandParams'][0x0]['startIndex'])};}return _0x3efb35;}[_0x1ff6('0xb')](){const _0x4b433e=this[_0x1ff6('0x2e')][_0x1ff6('0x2')]['get'](_0x1ff6('0x15'));let _0x423c8f=Array[_0x1ff6('0x1d')](this[_0x1ff6('0x2e')][_0x1ff6('0x5')]['document'][_0x1ff6('0x17')][_0x1ff6('0xf')]());return _0x423c8f[_0x1ff6('0xd')](..._0x4b433e[_0x1ff6('0x2c')](_0x423c8f)),_0x423c8f=[...new Set(_0x423c8f)],_0x423c8f;}[_0x1ff6('0x2b')](_0x2bd50a){const _0x20fa45=this[_0x1ff6('0x2e')][_0x1ff6('0x2')][_0x1ff6('0x2d')](_0x1ff6('0x15'));let _0x2ae596=Array[_0x1ff6('0x1d')](this[_0x1ff6('0x2e')]['model'][_0x1ff6('0xc')][_0x1ff6('0x17')][_0x1ff6('0xf')]())[_0x1ff6('0x1f')](_0x2bd50a);if(!_0x2ae596[_0x1ff6('0x34')])return null;_0x2ae596=_0x20fa45[_0x1ff6('0x2c')](_0x2ae596);const _0xa23224=[];for(const _0x2869f0 of _0x2ae596)_0x20fa45[_0x1ff6('0x27')](_0x2869f0)&&_0xa23224[_0x1ff6('0xd')](_0x2869f0);return _0xa23224;}['_getTranslationKeyForListStyle'](_0x3ba862){return _0x1ff6('0x29')+this[_0x1ff6('0x2e')]['plugins'][_0x1ff6('0x2d')](_0x1ff6('0x1e'))[_0x1ff6('0x7')](_0x3ba862)[_0x1ff6('0x10')]()+_0x1ff6('0x4')+_0x3ba862[_0x1ff6('0x10')]()['replace'](/-/g,'_');}}
23
+ const _0x5266=['handleListReversedCommand','plugins','list.properties','DocumentListPropertiesUtils','toUpperCase','handleDescriptions','from','getSelectedBlocks','listStyle','numbered','*Format:*\x20set\x20order\x20to\x20reversed','config','enableCommand','format','model','change','commandParams','_LIST_','styles','_getTranslationKeyForListStyle','listStart','filter','DocumentListUtils','_descriptionFactory','getAttribute','startIndex','ELEMENT_','markMultiRangeBlockFormat','editor','_getSuggestionBlocks','type','get','bind','handleListStyleCommand','*Change\x20to:*\x20%0','replace','document','listType','DocumentListPropertiesEditing','has','TrackChangesEditing','_getSuggestionBlocksForListStyle','reversed','listReversed','length','handleListStartCommand','getListTypeFromListStyleType','expandListBlocksToCompleteList','push'];(function(_0x2a29da,_0x52663e){const _0x3e1fee=function(_0x1ac7fb){while(--_0x1ac7fb){_0x2a29da['push'](_0x2a29da['shift']());}};_0x3e1fee(++_0x52663e);}(_0x5266,0x115));const _0x3e1f=function(_0x2a29da,_0x52663e){_0x2a29da=_0x2a29da-0x0;let _0x3e1fee=_0x5266[_0x2a29da];return _0x3e1fee;};import{Plugin as _0x1e501a}from'ckeditor5/src/core';import{getTranslation as _0xbb246b}from'../utils/common-translations';export default class Ct extends _0x1e501a{['afterInit'](){if(!this[_0x3e1f('0x2d')][_0x3e1f('0x12')][_0x3e1f('0x7')](_0x3e1f('0x6')))return;const _0x3a6d67=this['editor'][_0x3e1f('0x1c')][_0x3e1f('0x30')](_0x3e1f('0x13')),_0x2122ae=this[_0x3e1f('0x2d')]['plugins']['get']('TrackChangesEditing');_0x3a6d67[_0x3e1f('0x23')]&&_0x2122ae[_0x3e1f('0x1d')]('listStyle',this[_0x3e1f('0x1')]['bind'](this)),_0x3a6d67[_0x3e1f('0xa')]&&_0x2122ae[_0x3e1f('0x1d')](_0x3e1f('0xb'),this[_0x3e1f('0x11')]['bind'](this)),_0x3a6d67[_0x3e1f('0x2a')]&&_0x2122ae[_0x3e1f('0x1d')](_0x3e1f('0x25'),this[_0x3e1f('0xd')][_0x3e1f('0x0')](this)),_0x2122ae[_0x3e1f('0x28')]['registerDescriptionCallback'](this['handleDescriptions'][_0x3e1f('0x0')](this));}[_0x3e1f('0x1')](_0xe6fda9,_0x10c7fd={}){const _0x3ee464=this[_0x3e1f('0x2d')]['plugins'][_0x3e1f('0x30')](_0x3e1f('0x8')),_0x49a227=this[_0x3e1f('0x9')]();this[_0x3e1f('0x2d')]['model'][_0x3e1f('0x20')](()=>{_0x3ee464[_0x3e1f('0x2c')](_0x49a227,{'commandName':_0x3e1f('0x19'),'commandParams':[{'type':_0x10c7fd[_0x3e1f('0x2f')]}],'formatGroupId':_0x3e1f('0x19')});});}[_0x3e1f('0x11')](_0xa85fb9,_0xc811a3={}){const _0x2dc490=this['editor'][_0x3e1f('0x12')]['get'](_0x3e1f('0x8')),_0x3c4cb8=this[_0x3e1f('0x2d')][_0x3e1f('0x12')][_0x3e1f('0x30')](_0x3e1f('0x27')),_0x579e46=this[_0x3e1f('0x2e')](_0x47bfa3=>_0x3c4cb8['isListItemBlock'](_0x47bfa3)&&'numbered'===_0x47bfa3[_0x3e1f('0x29')]('listType'));null!==_0x579e46&&this['editor'][_0x3e1f('0x1f')][_0x3e1f('0x20')](()=>{_0x2dc490['markMultiRangeBlockFormat'](_0x579e46,{'commandName':_0x3e1f('0xb'),'commandParams':[{'reversed':_0xc811a3[_0x3e1f('0xa')]}],'formatGroupId':_0x3e1f('0xb')});});}[_0x3e1f('0xd')](_0x43d0de,_0xbe8334={}){const _0x4c0cef=this[_0x3e1f('0x2d')][_0x3e1f('0x12')][_0x3e1f('0x30')](_0x3e1f('0x8')),_0x142579=this[_0x3e1f('0x2d')][_0x3e1f('0x12')][_0x3e1f('0x30')](_0x3e1f('0x27')),_0x47a218=this[_0x3e1f('0x2e')](_0x371961=>_0x142579['isListItemBlock'](_0x371961)&&_0x3e1f('0x1a')===_0x371961[_0x3e1f('0x29')](_0x3e1f('0x5')));null!==_0x47a218&&this['editor']['model']['change'](()=>{_0x4c0cef[_0x3e1f('0x2c')](_0x47a218,{'commandName':_0x3e1f('0x25'),'commandParams':[{'startIndex':_0xbe8334[_0x3e1f('0x2a')]}],'formatGroupId':_0x3e1f('0x25')});});}[_0x3e1f('0x16')](_0x389110){const _0x57db87=this[_0x3e1f('0x2d')]['locale'],{data:_0x275650}=_0x389110;if(!_0x275650)return;let _0x231157,_0x136b5b;switch(_0x275650['commandName']){case'listStyle':_0x231157=_0x3e1f('0x2'),_0x136b5b={'type':_0x3e1f('0x1e'),'content':_0xbb246b(_0x57db87,_0x231157,_0xbb246b(_0x57db87,this[_0x3e1f('0x24')](_0x275650[_0x3e1f('0x21')][0x0][_0x3e1f('0x2f')])))};break;case _0x3e1f('0xb'):_0x231157=_0x275650['commandParams'][0x0][_0x3e1f('0xa')]?_0x3e1f('0x1b'):'*Format:*\x20set\x20order\x20to\x20regular',_0x136b5b={'type':_0x3e1f('0x1e'),'content':_0xbb246b(_0x57db87,_0x231157)};break;case'listStart':_0x231157='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x136b5b={'type':_0x3e1f('0x1e'),'content':_0xbb246b(_0x57db87,_0x231157,_0x275650[_0x3e1f('0x21')][0x0][_0x3e1f('0x2a')])};}return _0x136b5b;}['_getSuggestionBlocksForListStyle'](){const _0x56e9d0=this[_0x3e1f('0x2d')][_0x3e1f('0x12')][_0x3e1f('0x30')](_0x3e1f('0x27'));let _0x1f25d0=Array[_0x3e1f('0x17')](this[_0x3e1f('0x2d')]['model']['document']['selection'][_0x3e1f('0x18')]());return _0x1f25d0[_0x3e1f('0x10')](..._0x56e9d0[_0x3e1f('0xf')](_0x1f25d0)),_0x1f25d0=[...new Set(_0x1f25d0)],_0x1f25d0;}['_getSuggestionBlocks'](_0x25192a){const _0x23d153=this[_0x3e1f('0x2d')][_0x3e1f('0x12')][_0x3e1f('0x30')](_0x3e1f('0x27'));let _0x305774=Array[_0x3e1f('0x17')](this[_0x3e1f('0x2d')][_0x3e1f('0x1f')][_0x3e1f('0x4')]['selection'][_0x3e1f('0x18')]())[_0x3e1f('0x26')](_0x25192a);if(!_0x305774[_0x3e1f('0xc')])return null;_0x305774=_0x23d153[_0x3e1f('0xf')](_0x305774);const _0x2038f1=[];for(const _0x2226b7 of _0x305774)_0x23d153['isFirstBlockOfListItem'](_0x2226b7)&&_0x2038f1[_0x3e1f('0x10')](_0x2226b7);return _0x2038f1;}[_0x3e1f('0x24')](_0x455005){return _0x3e1f('0x2b')+this[_0x3e1f('0x2d')]['plugins']['get'](_0x3e1f('0x14'))[_0x3e1f('0xe')](_0x455005)[_0x3e1f('0x15')]()+_0x3e1f('0x22')+_0x455005[_0x3e1f('0x15')]()[_0x3e1f('0x3')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf4fe=['ck-suggestion-marker-split','hasClass','writer','high','markerName','markInsertion','options','change','remove','createPositionAt','markerNameToElements','getFirstPosition','get','TrackChangesEditing','downcastDispatcher','model','requires','bind','addMarker:suggestion:insertion','enter','editor','createRange','removeMarker:suggestion:insertion','editing','showSuggestionHighlights','mapper','nextSibling','fromRange','getFirstRange','setSelection','fire','commands'];(function(_0x222c08,_0xf4fe6f){const _0x4f1864=function(_0xcbb3d8){while(--_0xcbb3d8){_0x222c08['push'](_0x222c08['shift']());}};_0x4f1864(++_0xf4fe6f);}(_0xf4fe,0xf3));const _0x4f18=function(_0x222c08,_0xf4fe6f){_0x222c08=_0x222c08-0x0;let _0x4f1864=_0xf4fe[_0x222c08];return _0x4f1864;};import{Plugin as _0x124de7}from'ckeditor5/src/core';import{Enter as _0x5bcdb3}from'ckeditor5/src/enter';import{LiveRange as _0xa7b0dc}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3e7488}from'./utils';export default class z extends _0x124de7{static get[_0x4f18('0x1d')](){return[_0x5bcdb3];}['init'](){const _0x43eb24=this[_0x4f18('0x1')],_0x31471a=_0x43eb24['plugins'][_0x4f18('0x19')](_0x4f18('0x1a')),_0x34db02=_0x43eb24[_0x4f18('0xc')][_0x4f18('0x19')](_0x4f18('0x0'));_0x31471a['enableCommand'](_0x4f18('0x0'),()=>{_0x43eb24['model'][_0x4f18('0x14')](_0x1aa77d=>{const _0x3ed619=_0x43eb24['model']['document']['selection'],_0x25339d=_0x3ed619[_0x4f18('0x18')](),_0x504587=_0xa7b0dc[_0x4f18('0x8')](_0x3ed619[_0x4f18('0x9')]());if(_0x34db02['enterBlock'](_0x1aa77d)){const _0x3e611a=_0x43eb24[_0x4f18('0x1c')][_0x4f18('0x16')](_0x25339d['parent'][_0x4f18('0x7')],0x0),_0x251157=_0x1aa77d['createRange'](_0x25339d,_0x3e611a);_0x31471a[_0x4f18('0x12')](_0x251157);}else _0x1aa77d[_0x4f18('0xa')](_0x1aa77d[_0x4f18('0x2')](_0x504587['end']));_0x504587['detach'](),_0x34db02[_0x4f18('0xb')]('afterExecute',{'writer':_0x1aa77d});});}),_0x43eb24['editing']['downcastDispatcher']['on'](_0x4f18('0x1f'),_0x3e7488(_0x43eb24,'split'),{'priority':_0x4f18('0x10')}),_0x43eb24[_0x4f18('0x4')][_0x4f18('0x1b')]['on'](_0x4f18('0x3'),(_0x37fd2a,_0x570163,_0x17f898)=>{const _0x597d62=_0x17f898[_0x4f18('0x6')][_0x4f18('0x17')](_0x570163[_0x4f18('0x11')]);if(_0x597d62)for(const _0xad39d1 of _0x597d62)_0xad39d1[_0x4f18('0xe')](_0x4f18('0xd'))&&(_0x17f898[_0x4f18('0x6')]['unbindElementFromMarkerName'](_0xad39d1,_0x570163[_0x4f18('0x11')]),_0x17f898[_0x4f18('0xf')][_0x4f18('0x15')](_0xad39d1));},{'priority':'high'}),_0x43eb24['data'][_0x4f18('0x1b')]['on'](_0x4f18('0x1f'),(_0x58ce63,_0x15da84,_0x427da4)=>{_0x427da4[_0x4f18('0x13')][_0x4f18('0x5')]&&_0x3e7488(_0x43eb24,'split',{'showActiveMarker':!0x1})[_0x4f18('0x1e')](this)(_0x58ce63,_0x15da84,_0x427da4);},{'priority':_0x4f18('0x10')});}}
23
+ const _0x37b9=['high','split','options','TrackChangesEditing','unbindElementFromMarkerName','fire','data','nextSibling','removeMarker:suggestion:insertion','createRange','enter','addMarker:suggestion:insertion','showSuggestionHighlights','enterBlock','markerName','editing','end','parent','remove','editor','document','init','downcastDispatcher','plugins','afterExecute','hasClass','markInsertion','commands','createPositionAt','mapper','selection','model','enableCommand','get'];(function(_0x54bdb0,_0x37b9af){const _0x7cf85f=function(_0x2b4a41){while(--_0x2b4a41){_0x54bdb0['push'](_0x54bdb0['shift']());}};_0x7cf85f(++_0x37b9af);}(_0x37b9,0x1c8));const _0x7cf8=function(_0x54bdb0,_0x37b9af){_0x54bdb0=_0x54bdb0-0x0;let _0x7cf85f=_0x37b9[_0x54bdb0];return _0x7cf85f;};import{Plugin as _0x36e04e}from'ckeditor5/src/core';import{Enter as _0x330f69}from'ckeditor5/src/enter';import{LiveRange as _0x34de7b}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x5d57ea}from'./utils';export default class z extends _0x36e04e{static get['requires'](){return[_0x330f69];}[_0x7cf8('0x7')](){const _0x450476=this[_0x7cf8('0x5')],_0x17da40=_0x450476[_0x7cf8('0x9')][_0x7cf8('0x13')](_0x7cf8('0x17')),_0x256964=_0x450476[_0x7cf8('0xd')][_0x7cf8('0x13')](_0x7cf8('0x1e'));_0x17da40[_0x7cf8('0x12')](_0x7cf8('0x1e'),()=>{_0x450476['model']['change'](_0x5a4d9e=>{const _0x406cb3=_0x450476[_0x7cf8('0x11')][_0x7cf8('0x6')][_0x7cf8('0x10')],_0x2eac65=_0x406cb3['getFirstPosition'](),_0x4aa235=_0x34de7b['fromRange'](_0x406cb3['getFirstRange']());if(_0x256964[_0x7cf8('0x21')](_0x5a4d9e)){const _0x345644=_0x450476['model'][_0x7cf8('0xe')](_0x2eac65[_0x7cf8('0x3')][_0x7cf8('0x1b')],0x0),_0x5537bb=_0x5a4d9e[_0x7cf8('0x1d')](_0x2eac65,_0x345644);_0x17da40[_0x7cf8('0xc')](_0x5537bb);}else _0x5a4d9e['setSelection'](_0x5a4d9e[_0x7cf8('0x1d')](_0x4aa235[_0x7cf8('0x2')]));_0x4aa235['detach'](),_0x256964[_0x7cf8('0x19')](_0x7cf8('0xa'),{'writer':_0x5a4d9e});});}),_0x450476[_0x7cf8('0x1')][_0x7cf8('0x8')]['on'](_0x7cf8('0x1f'),_0x5d57ea(_0x450476,_0x7cf8('0x15')),{'priority':_0x7cf8('0x14')}),_0x450476['editing']['downcastDispatcher']['on'](_0x7cf8('0x1c'),(_0x2f693d,_0x34cd9f,_0x548844)=>{const _0x148146=_0x548844[_0x7cf8('0xf')]['markerNameToElements'](_0x34cd9f[_0x7cf8('0x0')]);if(_0x148146)for(const _0x1a20cf of _0x148146)_0x1a20cf[_0x7cf8('0xb')]('ck-suggestion-marker-split')&&(_0x548844[_0x7cf8('0xf')][_0x7cf8('0x18')](_0x1a20cf,_0x34cd9f[_0x7cf8('0x0')]),_0x548844['writer'][_0x7cf8('0x4')](_0x1a20cf));},{'priority':'high'}),_0x450476[_0x7cf8('0x1a')][_0x7cf8('0x8')]['on'](_0x7cf8('0x1f'),(_0x2ebef2,_0x440014,_0x3cae50)=>{_0x3cae50[_0x7cf8('0x16')][_0x7cf8('0x20')]&&_0x5d57ea(_0x450476,'split',{'showActiveMarker':!0x1})['bind'](this)(_0x2ebef2,_0x440014,_0x3cae50);},{'priority':_0x7cf8('0x14')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a98=['getMarkersGroup','afterInit','suggestion:deletion','enableCommand','end','editor','createPositionAt','model','string','get','FindAndReplaceEditing','_isInDeletionRange','getIntersection','TrackChangesEditing','findPrevious','getRange','findNext','createRange','findByTextCallback','replace','bind','start','plugins','handleFindCommand','replaceAll','filter'];(function(_0xcf03d2,_0x2a98fe){const _0x2ed347=function(_0x564d74){while(--_0x564d74){_0xcf03d2['push'](_0xcf03d2['shift']());}};_0x2ed347(++_0x2a98fe);}(_0x2a98,0x9a));const _0x2ed3=function(_0xcf03d2,_0x2a98fe){_0xcf03d2=_0xcf03d2-0x0;let _0x2ed347=_0x2a98[_0xcf03d2];return _0x2ed347;};import{Plugin as _0x3c46e8}from'ckeditor5/src/core';export default class H extends _0x3c46e8{[_0x2ed3('0x3')](){if(!this[_0x2ed3('0x7')][_0x2ed3('0x18')]['has'](_0x2ed3('0xc')))return;const _0x4cb76a=this[_0x2ed3('0x7')][_0x2ed3('0x18')][_0x2ed3('0xb')](_0x2ed3('0xf'));_0x4cb76a['enableCommand']('find',this[_0x2ed3('0x19')][_0x2ed3('0x16')](this)),_0x4cb76a[_0x2ed3('0x5')](_0x2ed3('0x12')),_0x4cb76a['enableCommand'](_0x2ed3('0x10')),_0x4cb76a[_0x2ed3('0x5')](_0x2ed3('0x15')),_0x4cb76a[_0x2ed3('0x5')](_0x2ed3('0x0'));}[_0x2ed3('0x19')](_0x2e7184,_0x19f1fd,_0x51e838={}){const _0x20346a=this[_0x2ed3('0x7')]['plugins']['get']('FindAndReplaceUtils');void 0x0!==_0x51e838&&_0x2e7184(_0xdda28f=>(_0x2ed3('0xa')==typeof _0x19f1fd?_0x20346a[_0x2ed3('0x14')](_0x19f1fd,_0x51e838):_0x19f1fd)(_0xdda28f)[_0x2ed3('0x1')](_0xb77986=>!0x1===this[_0x2ed3('0xd')](_0xb77986,_0xdda28f['item'])),_0x51e838);}[_0x2ed3('0xd')](_0x2f0dd1,_0x3d208b){const _0x45664d=this[_0x2ed3('0x7')]['model'][_0x2ed3('0x13')](this['editor'][_0x2ed3('0x9')][_0x2ed3('0x8')](_0x3d208b,_0x2f0dd1[_0x2ed3('0x17')]),this[_0x2ed3('0x7')][_0x2ed3('0x9')][_0x2ed3('0x8')](_0x3d208b,_0x2f0dd1[_0x2ed3('0x6')]));for(const _0x4abb0a of this['editor'][_0x2ed3('0x9')]['markers'][_0x2ed3('0x2')](_0x2ed3('0x4')))if(null!==_0x45664d[_0x2ed3('0xe')](_0x4abb0a[_0x2ed3('0x11')]()))return!0x0;return!0x1;}}
23
+ const _0xb793=['start','findPrevious','item','afterInit','handleFindCommand','editor','enableCommand','getRange','plugins','getIntersection','FindAndReplaceEditing','FindAndReplaceUtils','replace','end','findByTextCallback','bind','markers','createPositionAt','string','findNext','getMarkersGroup','filter','_isInDeletionRange','has','model','TrackChangesEditing'];(function(_0x1e8f46,_0xb793ee){const _0x2a6fcc=function(_0x14e06b){while(--_0x14e06b){_0x1e8f46['push'](_0x1e8f46['shift']());}};_0x2a6fcc(++_0xb793ee);}(_0xb793,0xe4));const _0x2a6f=function(_0x1e8f46,_0xb793ee){_0x1e8f46=_0x1e8f46-0x0;let _0x2a6fcc=_0xb793[_0x1e8f46];return _0x2a6fcc;};import{Plugin as _0x398563}from'ckeditor5/src/core';export default class H extends _0x398563{[_0x2a6f('0x9')](){if(!this[_0x2a6f('0xb')][_0x2a6f('0xe')][_0x2a6f('0x3')](_0x2a6f('0x10')))return;const _0x57dffa=this[_0x2a6f('0xb')][_0x2a6f('0xe')]['get'](_0x2a6f('0x5'));_0x57dffa['enableCommand']('find',this[_0x2a6f('0xa')][_0x2a6f('0x15')](this)),_0x57dffa['enableCommand'](_0x2a6f('0x19')),_0x57dffa[_0x2a6f('0xc')](_0x2a6f('0x7')),_0x57dffa[_0x2a6f('0xc')](_0x2a6f('0x12')),_0x57dffa[_0x2a6f('0xc')]('replaceAll');}[_0x2a6f('0xa')](_0x4f0844,_0x4f408c,_0x3dcc8a={}){const _0x362c2d=this[_0x2a6f('0xb')][_0x2a6f('0xe')]['get'](_0x2a6f('0x11'));void 0x0!==_0x3dcc8a&&_0x4f0844(_0x3cc2be=>(_0x2a6f('0x18')==typeof _0x4f408c?_0x362c2d[_0x2a6f('0x14')](_0x4f408c,_0x3dcc8a):_0x4f408c)(_0x3cc2be)[_0x2a6f('0x1')](_0x2d4822=>!0x1===this['_isInDeletionRange'](_0x2d4822,_0x3cc2be[_0x2a6f('0x8')])),_0x3dcc8a);}[_0x2a6f('0x2')](_0x24ed5d,_0x270870){const _0x5b48af=this[_0x2a6f('0xb')][_0x2a6f('0x4')]['createRange'](this[_0x2a6f('0xb')][_0x2a6f('0x4')][_0x2a6f('0x17')](_0x270870,_0x24ed5d[_0x2a6f('0x6')]),this[_0x2a6f('0xb')]['model'][_0x2a6f('0x17')](_0x270870,_0x24ed5d[_0x2a6f('0x13')]));for(const _0x51a3f3 of this[_0x2a6f('0xb')][_0x2a6f('0x4')][_0x2a6f('0x16')][_0x2a6f('0x0')]('suggestion:deletion'))if(null!==_0x5b48af[_0x2a6f('0xf')](_0x51a3f3[_0x2a6f('0xd')]()))return!0x0;return!0x1;}}