@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230710.0 → 0.0.0-nightly-20230711.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/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.d.ts +12 -0
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.d.ts +2 -2
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "0.0.0-nightly-20230710.0",
3
+ "version": "0.0.0-nightly-20230711.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-20230710.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20230710.0",
42
+ "ckeditor5": "0.0.0-nightly-20230711.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20230711.0",
44
44
  "lodash-es": "^4.17.11"
45
45
  },
46
46
  "engines": {
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1054=['get','_suggestions','plugins','isEnabled','TrackChangesEditing','track-changes-accept-suggestion-not-found','refresh','execute','editor','canEditAt','model'];(function(_0x23bb45,_0x10541c){const _0x4253bb=function(_0x4bb045){while(--_0x4bb045){_0x23bb45['push'](_0x23bb45['shift']());}};_0x4253bb(++_0x10541c);}(_0x1054,0xfa));const _0x4253=function(_0x23bb45,_0x10541c){_0x23bb45=_0x23bb45-0x0;let _0x4253bb=_0x1054[_0x23bb45];return _0x4253bb;};import{Command as _0x4c16d7}from'ckeditor5/src/core';import{CKEditorError as _0x4beea0}from'ckeditor5/src/utils';export default class M extends _0x4c16d7{constructor(_0x5bc1cf,_0x5657b3){super(_0x5bc1cf),this[_0x4253('0x4')]=_0x5657b3,this[_0x4253('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this[_0x4253('0x6')]=!0x0;}[_0x4253('0xa')](_0x7466ef){const _0x53dac2=this[_0x4253('0x4')][_0x4253('0x3')](_0x7466ef);if(!_0x53dac2)throw new _0x4beea0(_0x4253('0x8'),this);const _0x4629f0=_0x53dac2['getRanges']();this['editor'][_0x4253('0x2')][_0x4253('0x1')](_0x4629f0)&&this[_0x4253('0x0')][_0x4253('0x5')][_0x4253('0x3')](_0x4253('0x7'))['acceptSuggestion'](_0x53dac2);}}
23
+ const _0x5794=['acceptSuggestion','_suggestions','execute','_isEnabledBasedOnSelection','get','isEnabled','refresh','editor','model','track-changes-accept-suggestion-not-found'];(function(_0x243527,_0x57949d){const _0xa81622=function(_0x5d0c7e){while(--_0x5d0c7e){_0x243527['push'](_0x243527['shift']());}};_0xa81622(++_0x57949d);}(_0x5794,0xfc));const _0xa816=function(_0x243527,_0x57949d){_0x243527=_0x243527-0x0;let _0xa81622=_0x5794[_0x243527];return _0xa81622;};import{Command as _0x1e2979}from'ckeditor5/src/core';import{CKEditorError as _0x3366a7}from'ckeditor5/src/utils';export default class M extends _0x1e2979{constructor(_0x20c2d4,_0x4ed037){super(_0x20c2d4),this[_0xa816('0x9')]=_0x4ed037,this[_0xa816('0x4')](),this[_0xa816('0x1')]=!0x1;}[_0xa816('0x4')](){this[_0xa816('0x3')]=!0x0;}[_0xa816('0x0')](_0x524f12){const _0x4be4dc=this[_0xa816('0x9')][_0xa816('0x2')](_0x524f12);if(!_0x4be4dc)throw new _0x3366a7(_0xa816('0x7'),this);const _0x3bc445=_0x4be4dc['getRanges']();this[_0xa816('0x5')][_0xa816('0x6')]['canEditAt'](_0x3bc445)&&this[_0xa816('0x5')]['plugins'][_0xa816('0x2')]('TrackChangesEditing')[_0xa816('0x8')](_0x4be4dc);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2881=['get','refresh','canEditAt','isEnabled','track-changes-discard-suggestion-not-found','_suggestions','model','plugins','execute','getRanges','editor','TrackChangesEditing'];(function(_0x4e2555,_0x28813c){const _0x317051=function(_0x6be512){while(--_0x6be512){_0x4e2555['push'](_0x4e2555['shift']());}};_0x317051(++_0x28813c);}(_0x2881,0x1ac));const _0x3170=function(_0x4e2555,_0x28813c){_0x4e2555=_0x4e2555-0x0;let _0x317051=_0x2881[_0x4e2555];return _0x317051;};import{Command as _0x45d1ec}from'ckeditor5/src/core';import{CKEditorError as _0x5af539}from'ckeditor5/src/utils';export default class $ extends _0x45d1ec{constructor(_0x3a45d0,_0x27010e){super(_0x3a45d0),this[_0x3170('0x9')]=_0x27010e,this[_0x3170('0x5')](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this[_0x3170('0x7')]=!0x0;}[_0x3170('0x0')](_0x3bb0b1){const _0x2a31df=this['_suggestions'][_0x3170('0x4')](_0x3bb0b1);if(!_0x2a31df)throw new _0x5af539(_0x3170('0x8'),this);const _0x1f3197=_0x2a31df[_0x3170('0x1')]();this[_0x3170('0x2')][_0x3170('0xa')][_0x3170('0x6')](_0x1f3197)&&this[_0x3170('0x2')][_0x3170('0xb')][_0x3170('0x4')](_0x3170('0x3'))['discardSuggestion'](_0x2a31df);}}
23
+ const _0x1068=['plugins','editor','discardSuggestion','refresh','_suggestions','getRanges','_isEnabledBasedOnSelection','execute','track-changes-discard-suggestion-not-found','isEnabled','get','TrackChangesEditing'];(function(_0x1094d8,_0x1068d3){const _0xb0742e=function(_0x32a854){while(--_0x32a854){_0x1094d8['push'](_0x1094d8['shift']());}};_0xb0742e(++_0x1068d3);}(_0x1068,0xa9));const _0xb074=function(_0x1094d8,_0x1068d3){_0x1094d8=_0x1094d8-0x0;let _0xb0742e=_0x1068[_0x1094d8];return _0xb0742e;};import{Command as _0x15b2f2}from'ckeditor5/src/core';import{CKEditorError as _0x358d78}from'ckeditor5/src/utils';export default class $ extends _0x15b2f2{constructor(_0x28375c,_0x21e5e3){super(_0x28375c),this[_0xb074('0x3')]=_0x21e5e3,this[_0xb074('0x2')](),this[_0xb074('0x5')]=!0x1;}[_0xb074('0x2')](){this[_0xb074('0x8')]=!0x0;}[_0xb074('0x6')](_0xc101c7){const _0x375576=this['_suggestions'][_0xb074('0x9')](_0xc101c7);if(!_0x375576)throw new _0x358d78(_0xb074('0x7'),this);const _0x2be794=_0x375576[_0xb074('0x4')]();this[_0xb074('0x0')]['model']['canEditAt'](_0x2be794)&&this[_0xb074('0x0')][_0xb074('0xb')]['get'](_0xb074('0xa'))[_0xb074('0x1')](_0x375576);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x597a=['isEnabled','from','values','editor','_command','_suggestions','refresh','isInContent','model'];(function(_0x13e024,_0x597acc){const _0x31a3e1=function(_0xd8744f){while(--_0xd8744f){_0x13e024['push'](_0x13e024['shift']());}};_0x31a3e1(++_0x597acc);}(_0x597a,0xb7));const _0x31a3=function(_0x13e024,_0x597acc){_0x13e024=_0x13e024-0x0;let _0x31a3e1=_0x597a[_0x13e024];return _0x31a3e1;};import{Command as _0x2ea1a8}from'ckeditor5/src/core';import{sortSuggestions as _0x115ba8,executeCommandForSuggestions as _0x2e8fd1}from'../utils/utils';export default class N extends _0x2ea1a8{constructor(_0x27d325,_0x199af9,_0xed47d7){super(_0x27d325),this[_0x31a3('0x1')]=_0x199af9,this['_suggestions']=_0xed47d7,this[_0x31a3('0x3')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x31a3('0x3')](){const _0x2027e3=Array['from'](this[_0x31a3('0x2')]['values']())['some'](_0xb73dcb=>_0xb73dcb[_0x31a3('0x4')]);this[_0x31a3('0x6')]=this[_0x31a3('0x1')][_0x31a3('0x6')]&&_0x2027e3;}['execute'](){const _0x354ff2=_0x115ba8(Array[_0x31a3('0x7')](this[_0x31a3('0x2')][_0x31a3('0x8')]()));for(const _0xf67fa6 of _0x354ff2){const _0x23ee67=_0xf67fa6['getRanges']();if(!this['editor'][_0x31a3('0x5')]['canEditAt'](_0x23ee67))return;}_0x2e8fd1(this[_0x31a3('0x0')][_0x31a3('0x5')],this[_0x31a3('0x1')],_0x354ff2);}}
23
+ const _0x56b3=['isInContent','canEditAt','model','isEnabled','some','_isEnabledBasedOnSelection','_suggestions','from','_command','refresh','getRanges','editor','values'];(function(_0x3c01b0,_0x56b3ac){const _0x28347f=function(_0x43ce63){while(--_0x43ce63){_0x3c01b0['push'](_0x3c01b0['shift']());}};_0x28347f(++_0x56b3ac);}(_0x56b3,0x160));const _0x2834=function(_0x3c01b0,_0x56b3ac){_0x3c01b0=_0x3c01b0-0x0;let _0x28347f=_0x56b3[_0x3c01b0];return _0x28347f;};import{Command as _0x38002a}from'ckeditor5/src/core';import{sortSuggestions as _0x3df8dc,executeCommandForSuggestions as _0x235eff}from'../utils/utils';export default class N extends _0x38002a{constructor(_0x19d702,_0x2a5ed1,_0x4c5905){super(_0x19d702),this['_command']=_0x2a5ed1,this[_0x2834('0x5')]=_0x4c5905,this[_0x2834('0x8')](),this[_0x2834('0x4')]=!0x1;}[_0x2834('0x8')](){const _0x12df50=Array['from'](this['_suggestions'][_0x2834('0xb')]())[_0x2834('0x3')](_0x404922=>_0x404922[_0x2834('0xc')]);this['isEnabled']=this[_0x2834('0x7')][_0x2834('0x2')]&&_0x12df50;}['execute'](){const _0x569378=_0x3df8dc(Array[_0x2834('0x6')](this[_0x2834('0x5')]['values']()));for(const _0x21ee78 of _0x569378){const _0x337bf7=_0x21ee78[_0x2834('0x9')]();if(!this[_0x2834('0xa')][_0x2834('0x1')][_0x2834('0x0')](_0x337bf7))return;}_0x235eff(this[_0x2834('0xa')]['model'],this[_0x2834('0x7')],_0x569378);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10f0=['_command','_selectedSuggestions','model','canEditAt','_isEnabledBasedOnSelection','from','editor','document','isEnabled','_suggestions','size','refresh','values','getRanges','selection'];(function(_0x85f073,_0x10f0be){const _0x41ab14=function(_0x2b828e){while(--_0x2b828e){_0x85f073['push'](_0x85f073['shift']());}};_0x41ab14(++_0x10f0be);}(_0x10f0,0x87));const _0x41ab=function(_0x85f073,_0x10f0be){_0x85f073=_0x85f073-0x0;let _0x41ab14=_0x10f0[_0x85f073];return _0x41ab14;};import{Command as _0x47e781}from'ckeditor5/src/core';import{sortSuggestions as _0x50b71f,getSelectedSuggestions as _0x4849ad,executeCommandForSuggestions as _0x3fbc40}from'../utils/utils';export default class R extends _0x47e781{constructor(_0x4d9611,_0x4743c9,_0x5caa14){super(_0x4d9611),this[_0x41ab('0x0')]=_0x4743c9,this[_0x41ab('0x9')]=_0x5caa14,this[_0x41ab('0x1')]=new Set(),this[_0x41ab('0xb')](),this[_0x41ab('0x4')]=!0x1;}[_0x41ab('0xb')](){const _0xb3b991=this[_0x41ab('0x6')][_0x41ab('0x2')][_0x41ab('0x7')][_0x41ab('0xe')],_0xe67a0d=Array[_0x41ab('0x5')](this[_0x41ab('0x9')][_0x41ab('0xc')]());this[_0x41ab('0x1')]=_0x4849ad(_0xb3b991,_0xe67a0d),this[_0x41ab('0x8')]=this[_0x41ab('0x0')][_0x41ab('0x8')]&&!!this[_0x41ab('0x1')][_0x41ab('0xa')];}['execute'](){const _0x1c22bb=_0x50b71f(Array[_0x41ab('0x5')](this[_0x41ab('0x1')]));for(const _0xe06a04 of _0x1c22bb){const _0x510e4a=_0xe06a04[_0x41ab('0xd')]();if(!this[_0x41ab('0x6')][_0x41ab('0x2')][_0x41ab('0x3')](_0x510e4a))return;}_0x3fbc40(this[_0x41ab('0x6')][_0x41ab('0x2')],this[_0x41ab('0x0')],_0x1c22bb);}}
23
+ const _0x22c5=['from','isEnabled','values','getRanges','selection','editor','_selectedSuggestions','document','model','refresh','size','_command','canEditAt'];(function(_0x3ed89a,_0x22c503){const _0x48fc19=function(_0xfcb356){while(--_0xfcb356){_0x3ed89a['push'](_0x3ed89a['shift']());}};_0x48fc19(++_0x22c503);}(_0x22c5,0x16c));const _0x48fc=function(_0x3ed89a,_0x22c503){_0x3ed89a=_0x3ed89a-0x0;let _0x48fc19=_0x22c5[_0x3ed89a];return _0x48fc19;};import{Command as _0x49b279}from'ckeditor5/src/core';import{sortSuggestions as _0x23ac3b,getSelectedSuggestions as _0x4b2700,executeCommandForSuggestions as _0x21dfca}from'../utils/utils';export default class R extends _0x49b279{constructor(_0x4efc7e,_0x2a3708,_0x242031){super(_0x4efc7e),this[_0x48fc('0xb')]=_0x2a3708,this['_suggestions']=_0x242031,this['_selectedSuggestions']=new Set(),this[_0x48fc('0x9')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x48fc('0x9')](){const _0x3954d8=this[_0x48fc('0x5')][_0x48fc('0x8')][_0x48fc('0x7')][_0x48fc('0x4')],_0x3bd564=Array[_0x48fc('0x0')](this['_suggestions'][_0x48fc('0x2')]());this[_0x48fc('0x6')]=_0x4b2700(_0x3954d8,_0x3bd564),this[_0x48fc('0x1')]=this[_0x48fc('0xb')][_0x48fc('0x1')]&&!!this[_0x48fc('0x6')][_0x48fc('0xa')];}['execute'](){const _0x22c3ae=_0x23ac3b(Array['from'](this[_0x48fc('0x6')]));for(const _0x4350db of _0x22c3ae){const _0x4f47d7=_0x4350db[_0x48fc('0x3')]();if(!this['editor']['model'][_0x48fc('0xc')](_0x4f47d7))return;}_0x21dfca(this[_0x48fc('0x5')]['model'],this[_0x48fc('0xb')],_0x22c3ae);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1abd=['commands','TrackChangesCommand','has','execute','_enableCommands','isEnabled','forceDisabled','clearForceDisabled','_isEnabledBasedOnSelection','_disableUnsupportedCommands','editor','refresh','_enabledCommands','value'];(function(_0x4f8977,_0x1abd85){const _0x17de7e=function(_0x17d1df){while(--_0x17d1df){_0x4f8977['push'](_0x4f8977['shift']());}};_0x17de7e(++_0x1abd85);}(_0x1abd,0x1b2));const _0x17de=function(_0x4f8977,_0x1abd85){_0x4f8977=_0x4f8977-0x0;let _0x17de7e=_0x1abd[_0x4f8977];return _0x17de7e;};import{Command as _0x4b7ac3}from'ckeditor5/src/core';export default class _ extends _0x4b7ac3{constructor(_0x2547a7,_0x5a2b7b){super(_0x2547a7),this['_enabledCommands']=_0x5a2b7b,this[_0x17de('0xd')]=!0x1,this[_0x17de('0xb')](),this[_0x17de('0x8')]=!0x1;}[_0x17de('0xb')](){this[_0x17de('0x5')]=!0x0;}[_0x17de('0x3')](){this[_0x17de('0xd')]=!this[_0x17de('0xd')],this[_0x17de('0xd')]?this[_0x17de('0x9')]():this[_0x17de('0x4')]();}['_disableUnsupportedCommands'](){for(const _0x2320e3 of this['editor']['commands']['commands']())_0x2320e3['affectsData']&&!this['_enabledCommands'][_0x17de('0x2')](_0x2320e3)&&_0x2320e3[_0x17de('0x6')](_0x17de('0x1'));}[_0x17de('0x4')](){for(const _0x3e5b5f of this[_0x17de('0xa')][_0x17de('0x0')][_0x17de('0x0')]())_0x3e5b5f['affectsData']&&!this[_0x17de('0xc')][_0x17de('0x2')](_0x3e5b5f)&&_0x3e5b5f[_0x17de('0x7')](_0x17de('0x1'));}}
23
+ const _0xd44e=['value','execute','clearForceDisabled','commands','TrackChangesCommand','affectsData','_isEnabledBasedOnSelection','_enableCommands','_disableUnsupportedCommands','editor','_enabledCommands','refresh','forceDisabled','has'];(function(_0xb26fec,_0xd44edf){const _0x42f797=function(_0x20462e){while(--_0x20462e){_0xb26fec['push'](_0xb26fec['shift']());}};_0x42f797(++_0xd44edf);}(_0xd44e,0x92));const _0x42f7=function(_0xb26fec,_0xd44edf){_0xb26fec=_0xb26fec-0x0;let _0x42f797=_0xd44e[_0xb26fec];return _0x42f797;};import{Command as _0x40a78}from'ckeditor5/src/core';export default class _ extends _0x40a78{constructor(_0x21e7cb,_0x486cf7){super(_0x21e7cb),this[_0x42f7('0x4')]=_0x486cf7,this[_0x42f7('0x8')]=!0x1,this['refresh'](),this[_0x42f7('0x0')]=!0x1;}[_0x42f7('0x5')](){this['isEnabled']=!0x0;}[_0x42f7('0x9')](){this['value']=!this['value'],this[_0x42f7('0x8')]?this[_0x42f7('0x2')]():this[_0x42f7('0x1')]();}[_0x42f7('0x2')](){for(const _0x39f04a of this[_0x42f7('0x3')][_0x42f7('0xb')]['commands']())_0x39f04a[_0x42f7('0xd')]&&!this['_enabledCommands'][_0x42f7('0x7')](_0x39f04a)&&_0x39f04a[_0x42f7('0x6')](_0x42f7('0xc'));}['_enableCommands'](){for(const _0x2e5b64 of this[_0x42f7('0x3')]['commands']['commands']())_0x2e5b64[_0x42f7('0xd')]&&!this[_0x42f7('0x4')][_0x42f7('0x7')](_0x2e5b64)&&_0x2e5b64[_0x42f7('0xa')](_0x42f7('0xc'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2abd=['commandName','has','get','value','locale','enableCommand','TrackChangesEditing','filter','center','_descriptionFactory','*Format:*\x20%0','contentLanguageDirection','document','getAttribute','alignment','selection','model','FORMAT_ALIGN_TO_RIGHT','commandParams','FORMAT_ALIGN_TO_LEFT','AlignmentEditing','from','change','plugins','right','afterInit','left','markBlockFormat','getSelectedBlocks','FORMAT_ALIGN_TO_CENTER','justify','editor','format','FORMAT_JUSTIFY_TEXT'];(function(_0x5a586e,_0x2abdfb){const _0x3ac2e8=function(_0x1d6981){while(--_0x1d6981){_0x5a586e['push'](_0x5a586e['shift']());}};_0x3ac2e8(++_0x2abdfb);}(_0x2abd,0x1df));const _0x3ac2=function(_0x5a586e,_0x2abdfb){_0x5a586e=_0x5a586e-0x0;let _0x3ac2e8=_0x2abd[_0x5a586e];return _0x3ac2e8;};import{Plugin as _0x56c3d1}from'ckeditor5/src/core';import{getTranslation as _0xca2d08}from'../utils/common-translations';export default class x extends _0x56c3d1{[_0x3ac2('0x16')](){const _0x3aefae=this[_0x3ac2('0x1c')],_0x214c8b=_0x3aefae[_0x3ac2('0x1')];if(!_0x3aefae[_0x3ac2('0x14')][_0x3ac2('0x20')](_0x3ac2('0x11')))return;const _0x33dbf6=_0x3aefae['plugins'][_0x3ac2('0x21')](_0x3ac2('0x3'));_0x33dbf6[_0x3ac2('0x2')]('alignment',(_0x58146c,_0x365214={})=>{let _0x1b86ce=_0x365214['value'];_0x365214['value']||(_0x1b86ce='ltr'===_0x3aefae[_0x3ac2('0x1')][_0x3ac2('0x8')]?'left':_0x3ac2('0x15'));const _0x417af5=Array[_0x3ac2('0x12')](this['editor'][_0x3ac2('0xd')][_0x3ac2('0x9')][_0x3ac2('0xc')][_0x3ac2('0x19')]())[_0x3ac2('0x4')](_0x38bcf6=>function(_0x2d166f,_0x5b0234,_0x154a37){const _0x4e2d54=_0x2d166f[_0x3ac2('0xa')](_0x3ac2('0xb'))||null;return _0x5b0234['checkAttribute'](_0x2d166f,_0x3ac2('0xb'))&&_0x154a37!=_0x4e2d54;}(_0x38bcf6,this[_0x3ac2('0x1c')][_0x3ac2('0xd')]['schema'],_0x1b86ce));_0x3aefae[_0x3ac2('0xd')][_0x3ac2('0x13')](()=>{for(const _0x360123 of _0x417af5)_0x33dbf6[_0x3ac2('0x18')](_0x360123,{'commandName':'alignment','commandParams':[{'value':_0x1b86ce}]});});}),_0x33dbf6[_0x3ac2('0x6')]['registerDescriptionCallback'](_0x203ade=>{const {data:_0x22a94f}=_0x203ade;if(_0x22a94f&&_0x3ac2('0xb')==_0x22a94f[_0x3ac2('0x1f')]){const _0x2f266a=_0x22a94f[_0x3ac2('0xf')][0x0][_0x3ac2('0x0')];return{'type':_0x3ac2('0x1d'),'content':_0xca2d08(_0x214c8b,_0x3ac2('0x7'),function(_0x119ca0){switch(_0x119ca0){case _0x3ac2('0x17'):return _0xca2d08(_0x214c8b,_0x3ac2('0x10'));case _0x3ac2('0x15'):return _0xca2d08(_0x214c8b,_0x3ac2('0xe'));case _0x3ac2('0x5'):return _0xca2d08(_0x214c8b,_0x3ac2('0x1a'));case _0x3ac2('0x1b'):return _0xca2d08(_0x214c8b,_0x3ac2('0x1e'));}}(_0x2f266a))};}});}}
23
+ const _0x4b1e=['*Format:*\x20%0','FORMAT_ALIGN_TO_RIGHT','AlignmentEditing','right','getAttribute','FORMAT_ALIGN_TO_LEFT','filter','model','alignment','locale','checkAttribute','format','from','has','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','plugins','value','markBlockFormat','registerDescriptionCallback','change','afterInit','editor','selection','left','ltr','justify','commandName','center','_descriptionFactory'];(function(_0x23b84c,_0x4b1e9f){const _0x3e5531=function(_0x32a1ad){while(--_0x32a1ad){_0x23b84c['push'](_0x23b84c['shift']());}};_0x3e5531(++_0x4b1e9f);}(_0x4b1e,0xfa));const _0x3e55=function(_0x23b84c,_0x4b1e9f){_0x23b84c=_0x23b84c-0x0;let _0x3e5531=_0x4b1e[_0x23b84c];return _0x3e5531;};import{Plugin as _0x6e322c}from'ckeditor5/src/core';import{getTranslation as _0x5e991d}from'../utils/common-translations';export default class x extends _0x6e322c{[_0x3e55('0xb')](){const _0x13e83d=this['editor'],_0x443dac=_0x13e83d[_0x3e55('0x1d')];if(!_0x13e83d[_0x3e55('0x6')][_0x3e55('0x3')](_0x3e55('0x16')))return;const _0x57592d=_0x13e83d[_0x3e55('0x6')]['get']('TrackChangesEditing');_0x57592d['enableCommand'](_0x3e55('0x1c'),(_0x4479ca,_0x462d68={})=>{let _0x13bbf1=_0x462d68[_0x3e55('0x7')];_0x462d68[_0x3e55('0x7')]||(_0x13bbf1=_0x3e55('0xf')===_0x13e83d[_0x3e55('0x1d')][_0x3e55('0x5')]?_0x3e55('0xe'):_0x3e55('0x17'));const _0xe74e21=Array[_0x3e55('0x2')](this[_0x3e55('0xc')][_0x3e55('0x1b')]['document'][_0x3e55('0xd')]['getSelectedBlocks']())[_0x3e55('0x1a')](_0x2ff8ef=>function(_0x4d6e84,_0x4e8fc3,_0x513529){const _0x481eed=_0x4d6e84[_0x3e55('0x18')]('alignment')||null;return _0x4e8fc3[_0x3e55('0x0')](_0x4d6e84,'alignment')&&_0x513529!=_0x481eed;}(_0x2ff8ef,this['editor'][_0x3e55('0x1b')]['schema'],_0x13bbf1));_0x13e83d[_0x3e55('0x1b')][_0x3e55('0xa')](()=>{for(const _0x4568c0 of _0xe74e21)_0x57592d[_0x3e55('0x8')](_0x4568c0,{'commandName':'alignment','commandParams':[{'value':_0x13bbf1}]});});}),_0x57592d[_0x3e55('0x13')][_0x3e55('0x9')](_0x4ee044=>{const {data:_0x404d2a}=_0x4ee044;if(_0x404d2a&&_0x3e55('0x1c')==_0x404d2a[_0x3e55('0x11')]){const _0x267cfe=_0x404d2a['commandParams'][0x0]['value'];return{'type':_0x3e55('0x1'),'content':_0x5e991d(_0x443dac,_0x3e55('0x14'),function(_0x1b719c){switch(_0x1b719c){case _0x3e55('0xe'):return _0x5e991d(_0x443dac,_0x3e55('0x19'));case'right':return _0x5e991d(_0x443dac,_0x3e55('0x15'));case _0x3e55('0x12'):return _0x5e991d(_0x443dac,_0x3e55('0x4'));case _0x3e55('0x10'):return _0x5e991d(_0x443dac,'FORMAT_JUSTIFY_TEXT');}}(_0x267cfe))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50cc=['forceValue','*Remove\x20format:*\x20%0','getRanges','afterInit','commands','plugins','SuperscriptEditing','from','StrikethroughEditing','FORMAT_STRIKETHROUGH','change','selection','get','model','ItalicEditing','document','subscript','underline','value','format','FORMAT_UNDERLINE','enableCommand','SubscriptEditing','slice','editor','commandParams','UnderlineEditing','code','strikethrough','*Format:*\x20%0','superscript','registerDescriptionCallback','BoldEditing','FORMAT_CODE','italic','TrackChangesEditing','CodeEditing','locale'];(function(_0x8ed299,_0x50cc11){const _0x16a804=function(_0x13c238){while(--_0x13c238){_0x8ed299['push'](_0x8ed299['shift']());}};_0x16a804(++_0x50cc11);}(_0x50cc,0x89));const _0x16a8=function(_0x8ed299,_0x50cc11){_0x8ed299=_0x8ed299-0x0;let _0x16a804=_0x50cc[_0x8ed299];return _0x16a804;};import{Plugin as _0x1c9e59}from'ckeditor5/src/core';import{getTranslation as _0x385122}from'../utils/common-translations';import{getRangesWithAttribute as _0x2fd161}from'./utils';const Kt=[_0x16a8('0x9'),_0x16a8('0x1d'),_0x16a8('0x3'),_0x16a8('0xd'),_0x16a8('0x17'),_0x16a8('0x25'),_0x16a8('0x15')];export default class U extends _0x1c9e59{[_0x16a8('0x12')](){const _0x2f6a7e=this[_0x16a8('0x1')],_0x35f0d8=_0x2f6a7e[_0x16a8('0x1c')],_0x1f6290=_0x2f6a7e[_0x16a8('0x14')][_0x16a8('0x1b')](_0x16a8('0xc')),_0x5128a0=_0x2f6a7e[_0x16a8('0xe')];for(const _0x39c2b4 of Kt){if(!_0x2f6a7e[_0x16a8('0x14')]['has'](_0x39c2b4))continue;const _0x9c5d49=_0x39c2b4[_0x16a8('0x0')](0x0,-0x7)['toLowerCase'](),_0x17aa62=_0x2f6a7e[_0x16a8('0x13')][_0x16a8('0x1b')](_0x9c5d49);_0x1f6290[_0x16a8('0x24')](_0x9c5d49,(_0x49e195,_0x1d84e4={})=>{const _0xde88f3=_0x35f0d8[_0x16a8('0x1e')][_0x16a8('0x1a')];if(_0xde88f3['isCollapsed'])return void _0x49e195(_0x1d84e4);const _0x3fe05e=void 0x0!==_0x1d84e4[_0x16a8('0xf')]?_0x1d84e4['forceValue']:!_0x17aa62[_0x16a8('0x21')];_0x35f0d8[_0x16a8('0x19')](()=>{const _0x143406=Array[_0x16a8('0x16')](_0xde88f3[_0x16a8('0x11')]());for(const _0x328f58 of _0x143406){const _0x4d059b=_0x3fe05e?[_0x328f58]:_0x2fd161(_0x9c5d49,_0x328f58,_0x35f0d8);for(const _0x4372a1 of _0x4d059b)_0x1f6290['markInlineFormat'](_0x4372a1,{'commandName':_0x9c5d49,'commandParams':[{'forceValue':_0x3fe05e}]});}});});}function _0x34ffe9(_0x14b2c3,_0x258cdc){_0x1f6290['_descriptionFactory'][_0x16a8('0x8')](_0x387b64=>{const {data:_0x3d7fe9}=_0x387b64;if(_0x3d7fe9&&_0x3d7fe9['commandName']===_0x14b2c3)return _0x3d7fe9[_0x16a8('0x2')][0x0]['forceValue']?{'type':'format','content':_0x385122(_0x5128a0,_0x16a8('0x6'),_0x258cdc)}:{'type':_0x16a8('0x22'),'content':_0x385122(_0x5128a0,_0x16a8('0x10'),_0x258cdc)};});}_0x34ffe9('bold',_0x385122(_0x5128a0,'FORMAT_BOLD')),_0x34ffe9(_0x16a8('0xb'),_0x385122(_0x5128a0,'FORMAT_ITALIC')),_0x34ffe9(_0x16a8('0x20'),_0x385122(_0x5128a0,_0x16a8('0x23'))),_0x34ffe9(_0x16a8('0x4'),_0x385122(_0x5128a0,_0x16a8('0xa'))),_0x34ffe9(_0x16a8('0x5'),_0x385122(_0x5128a0,_0x16a8('0x18'))),_0x34ffe9(_0x16a8('0x1f'),_0x385122(_0x5128a0,'FORMAT_SUBSCRIPT')),_0x34ffe9(_0x16a8('0x7'),_0x385122(_0x5128a0,'FORMAT_SUPERSCRIPT'));}}
23
+ const _0x3aea=['format','selection','value','FORMAT_SUPERSCRIPT','forceValue','markInlineFormat','get','SuperscriptEditing','slice','FORMAT_CODE','isCollapsed','document','ItalicEditing','commands','enableCommand','FORMAT_STRIKETHROUGH','bold','editor','getRanges','subscript','commandParams','SubscriptEditing','commandName','registerDescriptionCallback','plugins','FORMAT_BOLD','code','BoldEditing','*Remove\x20format:*\x20%0','CodeEditing','afterInit','FORMAT_SUBSCRIPT','FORMAT_UNDERLINE','*Format:*\x20%0','locale','_descriptionFactory','underline'];(function(_0x1e0334,_0x3aea60){const _0x21851=function(_0x422266){while(--_0x422266){_0x1e0334['push'](_0x1e0334['shift']());}};_0x21851(++_0x3aea60);}(_0x3aea,0xe2));const _0x2185=function(_0x1e0334,_0x3aea60){_0x1e0334=_0x1e0334-0x0;let _0x21851=_0x3aea[_0x1e0334];return _0x21851;};import{Plugin as _0x8d0dfa}from'ckeditor5/src/core';import{getTranslation as _0xfbd88c}from'../utils/common-translations';import{getRangesWithAttribute as _0x4efdd2}from'./utils';const Kt=[_0x2185('0x17'),_0x2185('0x8'),'UnderlineEditing',_0x2185('0x19'),'StrikethroughEditing',_0x2185('0x11'),_0x2185('0x3')];export default class U extends _0x8d0dfa{[_0x2185('0x1a')](){const _0x25222b=this[_0x2185('0xd')],_0x1eae42=_0x25222b['model'],_0x465a23=_0x25222b[_0x2185('0x14')][_0x2185('0x2')]('TrackChangesEditing'),_0x2af917=_0x25222b[_0x2185('0x1e')];for(const _0x559879 of Kt){if(!_0x25222b['plugins']['has'](_0x559879))continue;const _0x1e6d8f=_0x559879[_0x2185('0x4')](0x0,-0x7)['toLowerCase'](),_0x1f8570=_0x25222b[_0x2185('0x9')][_0x2185('0x2')](_0x1e6d8f);_0x465a23[_0x2185('0xa')](_0x1e6d8f,(_0x303b58,_0x2db2cc={})=>{const _0x170467=_0x1eae42[_0x2185('0x7')][_0x2185('0x22')];if(_0x170467[_0x2185('0x6')])return void _0x303b58(_0x2db2cc);const _0x143cb3=void 0x0!==_0x2db2cc[_0x2185('0x0')]?_0x2db2cc['forceValue']:!_0x1f8570[_0x2185('0x23')];_0x1eae42['change'](()=>{const _0x19c84d=Array['from'](_0x170467[_0x2185('0xe')]());for(const _0x3aadc9 of _0x19c84d){const _0x53673d=_0x143cb3?[_0x3aadc9]:_0x4efdd2(_0x1e6d8f,_0x3aadc9,_0x1eae42);for(const _0x4b8985 of _0x53673d)_0x465a23[_0x2185('0x1')](_0x4b8985,{'commandName':_0x1e6d8f,'commandParams':[{'forceValue':_0x143cb3}]});}});});}function _0x3982a4(_0x3c62fe,_0x455c0a){_0x465a23[_0x2185('0x1f')][_0x2185('0x13')](_0x408614=>{const {data:_0x4c9caf}=_0x408614;if(_0x4c9caf&&_0x4c9caf[_0x2185('0x12')]===_0x3c62fe)return _0x4c9caf[_0x2185('0x10')][0x0][_0x2185('0x0')]?{'type':_0x2185('0x21'),'content':_0xfbd88c(_0x2af917,_0x2185('0x1d'),_0x455c0a)}:{'type':_0x2185('0x21'),'content':_0xfbd88c(_0x2af917,_0x2185('0x18'),_0x455c0a)};});}_0x3982a4(_0x2185('0xc'),_0xfbd88c(_0x2af917,_0x2185('0x15'))),_0x3982a4('italic',_0xfbd88c(_0x2af917,'FORMAT_ITALIC')),_0x3982a4(_0x2185('0x20'),_0xfbd88c(_0x2af917,_0x2185('0x1c'))),_0x3982a4(_0x2185('0x16'),_0xfbd88c(_0x2af917,_0x2185('0x5'))),_0x3982a4('strikethrough',_0xfbd88c(_0x2af917,_0x2185('0xb'))),_0x3982a4(_0x2185('0xf'),_0xfbd88c(_0x2af917,_0x2185('0x1b'))),_0x3982a4('superscript',_0xfbd88c(_0x2af917,_0x2185('0x24')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x206c=['*Remove\x20format:*\x20%0','filter','schema','commandName','has','TrackChangesEditing','model','$root','locale','enableCommand','checkChild','document','blockQuote','selection','get','name','getSelectedBlocks','editor','*Format:*\x20%0','forceValue','markBlockFormat','afterInit','plugins','ELEMENT_BLOCK_QUOTE','format','_descriptionFactory','parent','BlockQuoteEditing'];(function(_0x27c93c,_0x206c1a){const _0x4452a1=function(_0x4a1af0){while(--_0x4a1af0){_0x27c93c['push'](_0x27c93c['shift']());}};_0x4452a1(++_0x206c1a);}(_0x206c,0x10b));const _0x4452=function(_0x27c93c,_0x206c1a){_0x27c93c=_0x27c93c-0x0;let _0x4452a1=_0x206c[_0x27c93c];return _0x4452a1;};import{Plugin as _0x11ff29}from'ckeditor5/src/core';import{getTranslation as _0x45fbbc}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2eaffe}from'../utils/utils';export default class j extends _0x11ff29{[_0x4452('0x6')](){const _0x5e81c8=this[_0x4452('0x2')],_0x4e6dce=_0x5e81c8[_0x4452('0x15')];if(!_0x5e81c8[_0x4452('0x7')][_0x4452('0x11')](_0x4452('0xc')))return;const _0x29eb9b=_0x5e81c8[_0x4452('0x7')][_0x4452('0x1b')](_0x4452('0x12')),_0x3589f2=this[_0x4452('0x2')]['commands']['get']('blockQuote');_0x29eb9b[_0x4452('0x16')](_0x4452('0x19'),(_0x1c91ae,_0x5bb111={})=>{const _0x10eb3e=this[_0x4452('0x2')][_0x4452('0x13')][_0x4452('0x18')][_0x4452('0x1a')],_0xc574d6=_0x5bb111&&void 0x0!==_0x5bb111['forceValue']?_0x5bb111[_0x4452('0x4')]:!_0x3589f2['value'];let _0x337e4c=[];if(_0xc574d6){const _0x17350d=Array['from'](_0x10eb3e[_0x4452('0x1')]())['filter'](_0x3c520a=>Xt(_0x3c520a)||function(_0xb8b29e,_0x2a6c6c){const _0x2c9a44=_0x2a6c6c[_0x4452('0x17')](_0xb8b29e[_0x4452('0xb')],'blockQuote'),_0x2fa8ca=_0x2a6c6c[_0x4452('0x17')]([_0x4452('0x14'),_0x4452('0x19')],_0xb8b29e);return _0x2c9a44&&_0x2fa8ca;}(_0x3c520a,this[_0x4452('0x2')][_0x4452('0x13')][_0x4452('0xf')]));_0x337e4c=_0x2eaffe(_0x17350d,_0x5e81c8[_0x4452('0x13')]);}else{const _0xc6d502=Array['from'](_0x10eb3e[_0x4452('0x1')]())[_0x4452('0xe')](_0x544676=>Xt(_0x544676));_0x337e4c=_0x2eaffe(_0xc6d502,_0x5e81c8[_0x4452('0x13')]);}_0x5e81c8['model']['change'](()=>{for(const _0x7b1475 of _0x337e4c)_0x29eb9b[_0x4452('0x5')](_0x7b1475,{'commandName':_0x4452('0x19'),'commandParams':[{'forceValue':_0xc574d6}]});});}),_0x29eb9b[_0x4452('0xa')]['registerDescriptionCallback'](_0xeed60d=>{const {data:_0x34c809}=_0xeed60d;if(_0x34c809&&_0x4452('0x19')==_0x34c809[_0x4452('0x10')]){const _0x270333=_0x45fbbc(_0x4e6dce,_0x4452('0x8'));return _0x34c809['commandParams'][0x0][_0x4452('0x4')]?{'type':_0x4452('0x9'),'content':_0x45fbbc(_0x4e6dce,_0x4452('0x3'),_0x270333)}:{'type':'format','content':_0x45fbbc(_0x4e6dce,_0x4452('0xd'),_0x270333)};}});}}function Xt(_0x454b40){return _0x4452('0x19')==_0x454b40[_0x4452('0xb')][_0x4452('0x0')];}
23
+ const _0x519b=['parent','checkChild','locale','name','ELEMENT_BLOCK_QUOTE','change','model','forceValue','get','plugins','commands','value','has','getSelectedBlocks','_descriptionFactory','blockQuote','afterInit','BlockQuoteEditing','$root','filter','TrackChangesEditing','schema','editor','*Format:*\x20%0','format','document','markBlockFormat','*Remove\x20format:*\x20%0','from','selection'];(function(_0x22f0fe,_0x519b1e){const _0x251fb6=function(_0x2fb2af){while(--_0x2fb2af){_0x22f0fe['push'](_0x22f0fe['shift']());}};_0x251fb6(++_0x519b1e);}(_0x519b,0xf6));const _0x251f=function(_0x22f0fe,_0x519b1e){_0x22f0fe=_0x22f0fe-0x0;let _0x251fb6=_0x519b[_0x22f0fe];return _0x251fb6;};import{Plugin as _0x106faa}from'ckeditor5/src/core';import{getTranslation as _0x3de38b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4eedf6}from'../utils/utils';export default class j extends _0x106faa{[_0x251f('0xa')](){const _0x592bb2=this[_0x251f('0x10')],_0x56fc30=_0x592bb2[_0x251f('0x1a')];if(!_0x592bb2[_0x251f('0x3')][_0x251f('0x6')](_0x251f('0xb')))return;const _0x47e722=_0x592bb2[_0x251f('0x3')][_0x251f('0x2')](_0x251f('0xe')),_0x28431b=this[_0x251f('0x10')][_0x251f('0x4')][_0x251f('0x2')]('blockQuote');_0x47e722['enableCommand'](_0x251f('0x9'),(_0x36e0f1,_0x4ffbb7={})=>{const _0xe9cdcd=this['editor']['model'][_0x251f('0x13')][_0x251f('0x17')],_0x65598d=_0x4ffbb7&&void 0x0!==_0x4ffbb7[_0x251f('0x1')]?_0x4ffbb7[_0x251f('0x1')]:!_0x28431b[_0x251f('0x5')];let _0x2da972=[];if(_0x65598d){const _0x2cee4f=Array[_0x251f('0x16')](_0xe9cdcd[_0x251f('0x7')]())[_0x251f('0xd')](_0x3019ad=>Xt(_0x3019ad)||function(_0x5bf4e6,_0x29d704){const _0x5e7596=_0x29d704['checkChild'](_0x5bf4e6[_0x251f('0x18')],_0x251f('0x9')),_0x339017=_0x29d704[_0x251f('0x19')]([_0x251f('0xc'),_0x251f('0x9')],_0x5bf4e6);return _0x5e7596&&_0x339017;}(_0x3019ad,this['editor'][_0x251f('0x0')][_0x251f('0xf')]));_0x2da972=_0x4eedf6(_0x2cee4f,_0x592bb2[_0x251f('0x0')]);}else{const _0x1ccd86=Array[_0x251f('0x16')](_0xe9cdcd[_0x251f('0x7')]())[_0x251f('0xd')](_0x30e727=>Xt(_0x30e727));_0x2da972=_0x4eedf6(_0x1ccd86,_0x592bb2[_0x251f('0x0')]);}_0x592bb2[_0x251f('0x0')][_0x251f('0x1d')](()=>{for(const _0xeb74ab of _0x2da972)_0x47e722[_0x251f('0x14')](_0xeb74ab,{'commandName':_0x251f('0x9'),'commandParams':[{'forceValue':_0x65598d}]});});}),_0x47e722[_0x251f('0x8')]['registerDescriptionCallback'](_0x16ac02=>{const {data:_0x76f00a}=_0x16ac02;if(_0x76f00a&&_0x251f('0x9')==_0x76f00a['commandName']){const _0x217d3d=_0x3de38b(_0x56fc30,_0x251f('0x1c'));return _0x76f00a['commandParams'][0x0][_0x251f('0x1')]?{'type':_0x251f('0x12'),'content':_0x3de38b(_0x56fc30,_0x251f('0x11'),_0x217d3d)}:{'type':_0x251f('0x12'),'content':_0x3de38b(_0x56fc30,_0x251f('0x15'),_0x217d3d)};}});}}function Xt(_0x12c2cf){return _0x251f('0x9')==_0x12c2cf[_0x251f('0x18')][_0x251f('0x1b')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51a0=['editor','ckbox','get','enableCommand','afterInit','plugins','TrackChangesEditing'];(function(_0x73dd73,_0x51a082){const _0x2f46a4=function(_0x15330b){while(--_0x15330b){_0x73dd73['push'](_0x73dd73['shift']());}};_0x2f46a4(++_0x51a082);}(_0x51a0,0x82));const _0x2f46=function(_0x73dd73,_0x51a082){_0x73dd73=_0x73dd73-0x0;let _0x2f46a4=_0x51a0[_0x73dd73];return _0x2f46a4;};import{Plugin as _0x553b8a}from'ckeditor5/src/core';export default class E extends _0x553b8a{[_0x2f46('0x0')](){const _0x448b06=this[_0x2f46('0x3')];_0x448b06['commands']['get'](_0x2f46('0x4'))&&_0x448b06[_0x2f46('0x1')][_0x2f46('0x5')](_0x2f46('0x2'))[_0x2f46('0x6')](_0x2f46('0x4'));}}
23
+ const _0x2d07=['ckbox','plugins','commands','afterInit','get','editor'];(function(_0x82144,_0x2d07d3){const _0x23c142=function(_0x442702){while(--_0x442702){_0x82144['push'](_0x82144['shift']());}};_0x23c142(++_0x2d07d3);}(_0x2d07,0x66));const _0x23c1=function(_0x82144,_0x2d07d3){_0x82144=_0x82144-0x0;let _0x23c142=_0x2d07[_0x82144];return _0x23c142;};import{Plugin as _0x4e0e3b}from'ckeditor5/src/core';export default class E extends _0x4e0e3b{[_0x23c1('0x3')](){const _0x16fdea=this[_0x23c1('0x5')];_0x16fdea[_0x23c1('0x2')][_0x23c1('0x4')]('ckbox')&&_0x16fdea[_0x23c1('0x1')][_0x23c1('0x4')]('TrackChangesEditing')['enableCommand'](_0x23c1('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5644=['blockName','commandParams','commandName','isLimit','filter','markBlockFormat','plugins','document','enableCommand','name','checkChild','format','ELEMENT_CODE_BLOCK','find','locale','registerDescriptionCallback','afterInit','parent','_descriptionFactory','outdentCodeBlock','*Remove\x20format:*\x20%0','languages','has','*Format:*\x20%0','from','forceValue','registerElementLabel','rootElement','get','selection','language','getSelectedBlocks','label','config','indentCodeBlock','codeBlock','change','model'];(function(_0x1d8ca7,_0x5644b9){const _0xc32771=function(_0x2898e8){while(--_0x2898e8){_0x1d8ca7['push'](_0x1d8ca7['shift']());}};_0xc32771(++_0x5644b9);}(_0x5644,0xe0));const _0xc327=function(_0x1d8ca7,_0x5644b9){_0x1d8ca7=_0x1d8ca7-0x0;let _0xc32771=_0x5644[_0x1d8ca7];return _0xc32771;};import{Plugin as _0x209e10}from'ckeditor5/src/core';import{getTranslation as _0x1c972d}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x4043b2}from'../utils/utils';export default class O extends _0x209e10{[_0xc327('0x14')](){const _0x55dcdf=this['editor'];if(!_0x55dcdf['plugins'][_0xc327('0x1a')]('CodeBlock'))return;const _0x45258a=_0x55dcdf[_0xc327('0xa')][_0xc327('0x20')]('TrackChangesEditing'),_0x2181dc=_0x55dcdf[_0xc327('0x12')],_0xf4168a=_0x55dcdf[_0xc327('0x25')][_0xc327('0x20')](_0xc327('0x1'))[_0xc327('0x19')],_0x35c58c=_0x55dcdf['commands'][_0xc327('0x20')](_0xc327('0x1'));_0x45258a[_0xc327('0xc')](_0xc327('0x0')),_0x45258a['enableCommand'](_0xc327('0x17')),_0x45258a['enableCommand'](_0xc327('0x1'),(_0x1ca14e,_0xe1fe42={})=>{const _0x2a837f=_0x55dcdf['model'],_0x43d302=_0x55dcdf[_0xc327('0x3')][_0xc327('0xb')][_0xc327('0x21')],_0x24ac9a=_0xe1fe42&&void 0x0!==_0xe1fe42[_0xc327('0x1d')]?_0xe1fe42[_0xc327('0x1d')]:!_0x35c58c['value'];let _0x16beaf;_0xe1fe42[_0xc327('0x22')]||(_0xe1fe42[_0xc327('0x22')]=_0xf4168a[0x0][_0xc327('0x22')]),_0x16beaf=_0x24ac9a?Array[_0xc327('0x1c')](_0x43d302[_0xc327('0x23')]())[_0xc327('0x8')](_0x1a446a=>oo(_0x1a446a)||function(_0x3c3931,_0x520009){if(_0x3c3931['is'](_0xc327('0x1f'))||_0x520009[_0xc327('0x7')](_0x3c3931))return!0x1;return _0x520009[_0xc327('0xe')](_0x3c3931[_0xc327('0x15')],_0xc327('0x1'));}(_0x1a446a,_0x2a837f['schema'])):Array['from'](_0x43d302[_0xc327('0x23')]())[_0xc327('0x8')](_0x19d5fb=>oo(_0x19d5fb));const _0x475057=_0x4043b2(_0x16beaf,_0x2a837f);_0x2a837f[_0xc327('0x2')](()=>{for(const _0x512376 of _0x475057)_0x45258a[_0xc327('0x9')](_0x512376,{'commandName':'codeBlock','commandParams':[{..._0xe1fe42,'forceValue':_0x24ac9a}],'formatGroupId':_0xc327('0x4')});});}),(_0x45258a[_0xc327('0x16')][_0xc327('0x1e')](_0xc327('0x1'),_0xa5290b=>_0x1c972d(_0x2181dc,_0xc327('0x10'),_0xa5290b)),_0x45258a[_0xc327('0x16')][_0xc327('0x13')](_0x1fd2da=>{const _0x1d68d1=_0x2181dc['t'],{type:_0x317a40,data:_0x482331}=_0x1fd2da;if('formatBlock'==_0x317a40&&_0x482331&&_0xc327('0x1')==_0x482331[_0xc327('0x6')]){const _0x33bbe0=_0x482331[_0xc327('0x5')][0x0][_0xc327('0x22')],_0x21d797=_0x1d68d1(_0xf4168a[_0xc327('0x11')](_0x16cf05=>_0x16cf05[_0xc327('0x22')]===_0x33bbe0)[_0xc327('0x24')]);return _0x482331[_0xc327('0x5')][0x0][_0xc327('0x1d')]?{'type':_0xc327('0xf'),'content':_0x1c972d(_0x2181dc,_0xc327('0x1b'),_0x1c972d(_0x2181dc,_0xc327('0x10'),0x1)+'\x20('+_0x21d797+')')}:{'type':_0xc327('0xf'),'content':_0x1c972d(_0x2181dc,_0xc327('0x18'),_0x1c972d(_0x2181dc,_0xc327('0x10'),0x1))};}}));}}function oo(_0x838e5f){return _0xc327('0x1')==_0x838e5f[_0xc327('0xd')];}
23
+ const _0x4f15=['registerElementLabel','editor','*Format:*\x20%0','language','filter','plugins','document','parent','format','rootElement','afterInit','commandParams','schema','ELEMENT_CODE_BLOCK','registerDescriptionCallback','value','checkChild','config','label','isLimit','commandName','enableCommand','getSelectedBlocks','name','codeBlock','model','indentCodeBlock','change','blockName','TrackChangesEditing','_descriptionFactory','has','get','find','from','commands','outdentCodeBlock','selection','forceValue','*Remove\x20format:*\x20%0'];(function(_0xc69750,_0x4f15b9){const _0x16532b=function(_0xb2dc4f){while(--_0xb2dc4f){_0xc69750['push'](_0xc69750['shift']());}};_0x16532b(++_0x4f15b9);}(_0x4f15,0x98));const _0x1653=function(_0xc69750,_0x4f15b9){_0xc69750=_0xc69750-0x0;let _0x16532b=_0x4f15[_0xc69750];return _0x16532b;};import{Plugin as _0x247972}from'ckeditor5/src/core';import{getTranslation as _0x34b987}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3f4527}from'../utils/utils';export default class O extends _0x247972{[_0x1653('0x12')](){const _0x1a0d5e=this[_0x1653('0x9')];if(!_0x1a0d5e[_0x1653('0xd')][_0x1653('0x27')]('CodeBlock'))return;const _0x59f8c1=_0x1a0d5e['plugins'][_0x1653('0x0')](_0x1653('0x25')),_0x5db5af=_0x1a0d5e['locale'],_0x51579d=_0x1a0d5e[_0x1653('0x19')][_0x1653('0x0')](_0x1653('0x20'))['languages'],_0x3a46d8=_0x1a0d5e[_0x1653('0x3')]['get'](_0x1653('0x20'));_0x59f8c1[_0x1653('0x1d')](_0x1653('0x22')),_0x59f8c1[_0x1653('0x1d')](_0x1653('0x4')),_0x59f8c1[_0x1653('0x1d')](_0x1653('0x20'),(_0x42a776,_0x4ffb7a={})=>{const _0x25fa5e=_0x1a0d5e['model'],_0x2e729c=_0x1a0d5e[_0x1653('0x21')][_0x1653('0xe')][_0x1653('0x5')],_0x25552f=_0x4ffb7a&&void 0x0!==_0x4ffb7a[_0x1653('0x6')]?_0x4ffb7a[_0x1653('0x6')]:!_0x3a46d8[_0x1653('0x17')];let _0x2fa2d5;_0x4ffb7a[_0x1653('0xb')]||(_0x4ffb7a[_0x1653('0xb')]=_0x51579d[0x0][_0x1653('0xb')]),_0x2fa2d5=_0x25552f?Array[_0x1653('0x2')](_0x2e729c[_0x1653('0x1e')]())[_0x1653('0xc')](_0x1e24e1=>oo(_0x1e24e1)||function(_0x11f762,_0x2ca4ad){if(_0x11f762['is'](_0x1653('0x11'))||_0x2ca4ad[_0x1653('0x1b')](_0x11f762))return!0x1;return _0x2ca4ad[_0x1653('0x18')](_0x11f762[_0x1653('0xf')],_0x1653('0x20'));}(_0x1e24e1,_0x25fa5e[_0x1653('0x14')])):Array[_0x1653('0x2')](_0x2e729c[_0x1653('0x1e')]())['filter'](_0x112e76=>oo(_0x112e76));const _0x5ec307=_0x3f4527(_0x2fa2d5,_0x25fa5e);_0x25fa5e[_0x1653('0x23')](()=>{for(const _0x5f1b16 of _0x5ec307)_0x59f8c1['markBlockFormat'](_0x5f1b16,{'commandName':_0x1653('0x20'),'commandParams':[{..._0x4ffb7a,'forceValue':_0x25552f}],'formatGroupId':_0x1653('0x24')});});}),(_0x59f8c1[_0x1653('0x26')][_0x1653('0x8')](_0x1653('0x20'),_0x41591f=>_0x34b987(_0x5db5af,_0x1653('0x15'),_0x41591f)),_0x59f8c1[_0x1653('0x26')][_0x1653('0x16')](_0x3e3efc=>{const _0xe7c894=_0x5db5af['t'],{type:_0x173a1c,data:_0x7bdd67}=_0x3e3efc;if('formatBlock'==_0x173a1c&&_0x7bdd67&&_0x1653('0x20')==_0x7bdd67[_0x1653('0x1c')]){const _0x6daed7=_0x7bdd67[_0x1653('0x13')][0x0]['language'],_0x10aa54=_0xe7c894(_0x51579d[_0x1653('0x1')](_0x2623b2=>_0x2623b2['language']===_0x6daed7)[_0x1653('0x1a')]);return _0x7bdd67['commandParams'][0x0][_0x1653('0x6')]?{'type':_0x1653('0x10'),'content':_0x34b987(_0x5db5af,_0x1653('0xa'),_0x34b987(_0x5db5af,_0x1653('0x15'),0x1)+'\x20('+_0x10aa54+')')}:{'type':_0x1653('0x10'),'content':_0x34b987(_0x5db5af,_0x1653('0x7'),_0x34b987(_0x5db5af,_0x1653('0x15'),0x1))};}}));}}function oo(_0xac44ea){return _0x1653('0x20')==_0xac44ea[_0x1653('0x1f')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xef28=['addCommentThread','editor','CommentsEditing','get','enableCommand','plugins','afterInit'];(function(_0x223a5c,_0xef2885){const _0x3294e7=function(_0x5527d1){while(--_0x5527d1){_0x223a5c['push'](_0x223a5c['shift']());}};_0x3294e7(++_0xef2885);}(_0xef28,0xf3));const _0x3294=function(_0x223a5c,_0xef2885){_0x223a5c=_0x223a5c-0x0;let _0x3294e7=_0xef28[_0x223a5c];return _0x3294e7;};import{Plugin as _0x581e82}from'ckeditor5/src/core';export default class F extends _0x581e82{[_0x3294('0x1')](){const _0x1d96f7=this[_0x3294('0x3')];if(!_0x1d96f7['plugins']['has'](_0x3294('0x4')))return;_0x1d96f7[_0x3294('0x0')][_0x3294('0x5')]('TrackChangesEditing')[_0x3294('0x6')](_0x3294('0x2'));}}
23
+ const _0x13d4=['plugins','CommentsEditing','editor','addCommentThread','enableCommand','TrackChangesEditing'];(function(_0xbed6b2,_0x13d480){const _0x11aae4=function(_0x449aeb){while(--_0x449aeb){_0xbed6b2['push'](_0xbed6b2['shift']());}};_0x11aae4(++_0x13d480);}(_0x13d4,0x96));const _0x11aa=function(_0xbed6b2,_0x13d480){_0xbed6b2=_0xbed6b2-0x0;let _0x11aae4=_0x13d4[_0xbed6b2];return _0x11aae4;};import{Plugin as _0x13d64d}from'ckeditor5/src/core';export default class F extends _0x13d64d{['afterInit'](){const _0x59e2ba=this[_0x11aa('0x2')];if(!_0x59e2ba['plugins']['has'](_0x11aa('0x1')))return;_0x59e2ba[_0x11aa('0x0')]['get'](_0x11aa('0x5'))[_0x11aa('0x4')](_0x11aa('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcfb9=['enqueueChange','buffer','high','writer','getFirstRange','start','model','init','createSelection','TrackChangesEditing','markerNameToElements','detach','$graveyard','addMarker:suggestion:deletion','isCollapsed','editor','fromRange','enableCommand','unlock','unit','mapper','setSelection','deleteForward','end','commands','merge','selection','remove','editing','downcastDispatcher','bind','batch','createRange','markerName','get','uiElement','data','root','requires','delete'];(function(_0x209c1d,_0xcfb986){const _0x54bd4c=function(_0x157077){while(--_0x157077){_0x209c1d['push'](_0x209c1d['shift']());}};_0x54bd4c(++_0xcfb986);}(_0xcfb9,0xed));const _0x54bd=function(_0x209c1d,_0xcfb986){_0x209c1d=_0x209c1d-0x0;let _0x54bd4c=_0xcfb9[_0x209c1d];return _0x54bd4c;};import{Plugin as _0x2bd59d}from'ckeditor5/src/core';import{LiveRange as _0x53cad5}from'ckeditor5/src/engine';import{Delete as _0xe79b94}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0xb5f117}from'./utils';export default class G extends _0x2bd59d{static get[_0x54bd('0x1')](){return[_0xe79b94];}[_0x54bd('0xa')](){const _0x51ac9b=this[_0x54bd('0x12')],_0x335e18=_0x51ac9b['plugins'][_0x54bd('0x25')](_0x54bd('0xc'));_0x335e18[_0x54bd('0x14')](_0x54bd('0x2'));const _0x375404=_0x51ac9b[_0x54bd('0x1b')][_0x54bd('0x25')](_0x54bd('0x19'));_0x335e18[_0x54bd('0x14')](_0x54bd('0x19'),(_0x28161e,_0x4924ef={})=>{const _0x47ff81=_0x51ac9b['model'][_0x54bd('0xb')](_0x51ac9b[_0x54bd('0x9')]['document'][_0x54bd('0x1d')]);_0x47ff81[_0x54bd('0x11')]&&_0x51ac9b[_0x54bd('0x9')]['modifySelection'](_0x47ff81,{'direction':'forward','unit':_0x4924ef[_0x54bd('0x16')]});const _0x51a90f=_0x47ff81[_0x54bd('0x7')](),_0x33ca40=_0x53cad5[_0x54bd('0x13')](_0x51a90f);let _0x5e1b88;_0x28161e(_0x4924ef),_0x5e1b88=_0x54bd('0xf')==_0x33ca40[_0x54bd('0x0')]['rootName']?_0x51ac9b['model'][_0x54bd('0x23')](_0x51a90f[_0x54bd('0x8')]):_0x51ac9b['model'][_0x54bd('0x23')](_0x33ca40[_0x54bd('0x8')],_0x33ca40[_0x54bd('0x1a')]),_0x33ca40[_0x54bd('0xe')](),_0x51ac9b[_0x54bd('0x9')][_0x54bd('0x3')](_0x375404[_0x54bd('0x4')][_0x54bd('0x22')],_0x4cf3a6=>{_0x375404['buffer']['lock'](),_0x4cf3a6[_0x54bd('0x18')](_0x4cf3a6['createRange'](_0x5e1b88[_0x54bd('0x1a')])),_0x375404[_0x54bd('0x4')][_0x54bd('0x15')]();});}),_0x51ac9b[_0x54bd('0x1f')][_0x54bd('0x20')]['on'](_0x54bd('0x10'),_0xb5f117(_0x51ac9b,_0x54bd('0x1c')),{'priority':'high'}),_0x51ac9b[_0x54bd('0x27')][_0x54bd('0x20')]['on'](_0x54bd('0x10'),(_0xd9c431,_0x457ac2,_0x381e7a)=>{_0x381e7a['options']['showSuggestionHighlights']&&_0xb5f117(_0x51ac9b,_0x54bd('0x1c'),{'showActiveMarker':!0x1})[_0x54bd('0x21')](this)(_0xd9c431,_0x457ac2,_0x381e7a);},{'priority':_0x54bd('0x5')}),_0x51ac9b['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x2799b3,_0xe9e2ce,_0x411163)=>{const _0x449ce1=_0x411163['mapper'][_0x54bd('0xd')](_0xe9e2ce['markerName']);if(_0x449ce1)for(const _0x1af3e9 of _0x449ce1)_0x1af3e9['is'](_0x54bd('0x26'))&&(_0x411163[_0x54bd('0x17')]['unbindElementFromMarkerName'](_0x1af3e9,_0xe9e2ce[_0x54bd('0x24')]),_0x411163[_0x54bd('0x6')][_0x54bd('0x1e')](_0x1af3e9));},{'priority':_0x54bd('0x5')});}}
23
+ const _0xaa3d=['addMarker:suggestion:deletion','enableCommand','unit','merge','mapper','detach','remove','modifySelection','options','plugins','editing','setSelection','$graveyard','document','downcastDispatcher','lock','TrackChangesEditing','batch','start','data','end','editor','get','commands','getFirstRange','root','model','writer','buffer','deleteForward','createSelection','selection','init','requires','fromRange','high','createRange'];(function(_0xc3d84f,_0xaa3d48){const _0x33d8d1=function(_0x481611){while(--_0x481611){_0xc3d84f['push'](_0xc3d84f['shift']());}};_0x33d8d1(++_0xaa3d48);}(_0xaa3d,0x97));const _0x33d8=function(_0xc3d84f,_0xaa3d48){_0xc3d84f=_0xc3d84f-0x0;let _0x33d8d1=_0xaa3d[_0xc3d84f];return _0x33d8d1;};import{Plugin as _0x1bc399}from'ckeditor5/src/core';import{LiveRange as _0xcfde1d}from'ckeditor5/src/engine';import{Delete as _0x50c151}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x40e74c}from'./utils';export default class G extends _0x1bc399{static get[_0x33d8('0x1e')](){return[_0x50c151];}[_0x33d8('0x1d')](){const _0x5f0e37=this[_0x33d8('0x12')],_0x4e42e1=_0x5f0e37[_0x33d8('0x6')]['get'](_0x33d8('0xd'));_0x4e42e1['enableCommand']('delete');const _0x1570c3=_0x5f0e37[_0x33d8('0x14')][_0x33d8('0x13')](_0x33d8('0x1a'));_0x4e42e1[_0x33d8('0x23')]('deleteForward',(_0x1d0016,_0xafa492={})=>{const _0x1027da=_0x5f0e37[_0x33d8('0x17')][_0x33d8('0x1b')](_0x5f0e37[_0x33d8('0x17')][_0x33d8('0xa')][_0x33d8('0x1c')]);_0x1027da['isCollapsed']&&_0x5f0e37[_0x33d8('0x17')][_0x33d8('0x4')](_0x1027da,{'direction':'forward','unit':_0xafa492[_0x33d8('0x24')]});const _0x422050=_0x1027da[_0x33d8('0x15')](),_0x592c0e=_0xcfde1d[_0x33d8('0x1f')](_0x422050);let _0x3e6b14;_0x1d0016(_0xafa492),_0x3e6b14=_0x33d8('0x9')==_0x592c0e[_0x33d8('0x16')]['rootName']?_0x5f0e37[_0x33d8('0x17')]['createRange'](_0x422050[_0x33d8('0xf')]):_0x5f0e37[_0x33d8('0x17')]['createRange'](_0x592c0e[_0x33d8('0xf')],_0x592c0e[_0x33d8('0x11')]),_0x592c0e[_0x33d8('0x2')](),_0x5f0e37[_0x33d8('0x17')]['enqueueChange'](_0x1570c3[_0x33d8('0x19')][_0x33d8('0xe')],_0x3cb109=>{_0x1570c3[_0x33d8('0x19')][_0x33d8('0xc')](),_0x3cb109[_0x33d8('0x8')](_0x3cb109[_0x33d8('0x21')](_0x3e6b14[_0x33d8('0x11')])),_0x1570c3[_0x33d8('0x19')]['unlock']();});}),_0x5f0e37['editing'][_0x33d8('0xb')]['on'](_0x33d8('0x22'),_0x40e74c(_0x5f0e37,_0x33d8('0x0')),{'priority':_0x33d8('0x20')}),_0x5f0e37[_0x33d8('0x10')][_0x33d8('0xb')]['on'](_0x33d8('0x22'),(_0x9db3d7,_0x45e240,_0x12700b)=>{_0x12700b[_0x33d8('0x5')]['showSuggestionHighlights']&&_0x40e74c(_0x5f0e37,_0x33d8('0x0'),{'showActiveMarker':!0x1})['bind'](this)(_0x9db3d7,_0x45e240,_0x12700b);},{'priority':_0x33d8('0x20')}),_0x5f0e37[_0x33d8('0x7')]['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x3e65e1,_0x294460,_0x1cadcb)=>{const _0x1bb966=_0x1cadcb[_0x33d8('0x1')]['markerNameToElements'](_0x294460['markerName']);if(_0x1bb966)for(const _0x36db48 of _0x1bb966)_0x36db48['is']('uiElement')&&(_0x1cadcb[_0x33d8('0x1')]['unbindElementFromMarkerName'](_0x36db48,_0x294460['markerName']),_0x1cadcb[_0x33d8('0x18')][_0x33d8('0x3')](_0x36db48));},{'priority':_0x33d8('0x20')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x105d=['isFirstBlockOfListItem','model','detach','ELEMENT_NUMBERED_LIST','setSelection','plugins','TrackChangesEditing','DocumentListUtils','fromRange','createPositionAt','document','slice','createRange','getFirstRange','*Change\x20to:*\x20%0','format','previousSibling','bulletedList','*Merge:*\x20%0','toUpperCase','selection','enableCommand','registerCustomCallback','length','listIndent','push','_LIST','ELEMENT_LIST_ITEM','add','from','schema','markMultiRangeBlockFormat','accept','get','mergeListItemForward','_descriptionFactory','splitListItemBefore','change','getRanges','listItemId','registerElementLabel','*Outdent:*\x20%0','multipleBlocks','getAttribute','commands','DocumentListEditing','refresh','containsItem','has','getSelectedBlocks','commandName','*Format:*\x20remove\x20from\x20%0','listType','forceValue','execute','markBlockFormat','formatBlock','editor','afterInit','parent','indentList','value','start','next','after','end','documentList','before','outdentList','locale','nextSibling','splitListItemAfter','isObject','*Format:*\x20insert\x20into\x20%0','*Indent:*\x20%0','hasAttribute','deletion','commandParams','numberedList','nodeAfter'];(function(_0xbf2e78,_0x105d82){const _0x3b81df=function(_0x3f17f7){while(--_0x3f17f7){_0xbf2e78['push'](_0xbf2e78['shift']());}};_0x3b81df(++_0x105d82);}(_0x105d,0x96));const _0x3b81=function(_0xbf2e78,_0x105d82){_0xbf2e78=_0xbf2e78-0x0;let _0x3b81df=_0x105d[_0xbf2e78];return _0x3b81df;};import{Plugin as _0xe79bac}from'ckeditor5/src/core';import{getTranslation as _0x1514ac}from'../utils/common-translations';import{LiveRange as _0x17c67a}from'ckeditor5/src/engine';export default class L extends _0xe79bac{[_0x3b81('0x44')](){const _0x4199c0=this[_0x3b81('0x43')];if(!_0x4199c0[_0x3b81('0xf')][_0x3b81('0x3a')](_0x3b81('0x37')))return;const _0x4f1070=_0x4199c0[_0x3b81('0x4f')],_0x31bde5=_0x4199c0[_0x3b81('0xf')]['get'](_0x3b81('0x10')),_0x26cf72=_0x4199c0[_0x3b81('0xf')]['get'](_0x3b81('0x11'));function _0x592674(_0x14fa38){return()=>{const _0x283bb9=_0x4199c0[_0x3b81('0x36')][_0x3b81('0x2b')](_0x14fa38);let _0x184938=Array[_0x3b81('0x27')](_0x4199c0['model'][_0x3b81('0x14')]['selection'][_0x3b81('0x3b')]());if(_0x594568(_0x14fa38)){_0x184938=_0x26cf72['expandListBlocksToCompleteList'](_0x184938);const _0xd77cc2=[];for(const _0x3a9830 of _0x184938)_0x26cf72[_0x3b81('0xa')](_0x3a9830)&&_0xd77cc2[_0x3b81('0x23')](_0x3a9830);_0x184938=_0xd77cc2;}_0x4199c0[_0x3b81('0xb')]['change'](()=>{_0x31bde5[_0x3b81('0x29')](_0x184938,{'commandName':_0x14fa38,'commandParams':[{'forceValue':!_0x283bb9['value']}],'formatGroupId':_0x3b81('0x3e')},[],_0x3b81('0x4c'));});};}function _0x4fa67a(_0x4de5c1){return()=>{const _0x42cf68=function(_0x42a190){let _0x2c85a7=Array[_0x3b81('0x27')](_0x42a190);const _0x34aabf=_0x2c85a7['findIndex'](_0x460be8=>!_0x460be8[_0x3b81('0x5')](_0x3b81('0x31')));return _0x34aabf>-0x1&&(_0x2c85a7=_0x2c85a7[_0x3b81('0x15')](0x0,_0x34aabf)),_0x2c85a7;}(_0x4199c0['model'][_0x3b81('0x14')][_0x3b81('0x1e')][_0x3b81('0x3b')]()),_0x23754d=_0x42cf68[_0x42cf68[_0x3b81('0x21')]-0x1],_0x31e64e=_0x4199c0['model'][_0x3b81('0x28')][_0x3b81('0x2')](_0x23754d)?_0x3b81('0x4a'):'end',_0x2452cb=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x16')](_0x4199c0[_0x3b81('0xb')][_0x3b81('0x13')](_0x42cf68[0x0],_0x3b81('0x4d')),_0x4199c0[_0x3b81('0xb')]['createPositionAt'](_0x23754d,_0x31e64e));_0x4199c0['model'][_0x3b81('0x2f')](()=>{_0x31bde5[_0x3b81('0x41')](_0x2452cb,{'commandName':_0x4de5c1,'commandParams':[],'formatGroupId':'listType'},function(_0x39972c){const _0xc3f877=new Set();for(const _0xa9868c of _0x39972c){let _0x492214=_0xa9868c[_0x3b81('0x0')];for(;_0x492214&&_0x492214[_0x3b81('0x35')](_0x3b81('0x22'))>_0xa9868c['getAttribute'](_0x3b81('0x22'));)_0xc3f877[_0x3b81('0x26')](_0x492214),_0x492214=_0x492214[_0x3b81('0x0')];}return Array[_0x3b81('0x27')](_0xc3f877);}(_0x42cf68));});};}function _0x4e277a(_0xedab09){return()=>{const _0x1cad12=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x14')]['selection']['getSelectedBlocks']()[_0x3b81('0x49')]()[_0x3b81('0x47')],_0x18256d=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x13')](_0x1cad12,_0x3b81('0x4d')),_0x50f381=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x13')](_0x1cad12,0x0),_0x4f9c9f=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x16')](_0x18256d,_0x50f381);_0x4199c0['model'][_0x3b81('0x2f')](()=>{_0x31bde5[_0x3b81('0x41')](_0x4f9c9f,{'commandName':_0xedab09,'commandParams':[],'formatGroupId':_0x3b81('0x3e')});});};}function _0x594568(_0x1b626d){const _0x17d8e3=_0x4199c0[_0x3b81('0x36')][_0x3b81('0x2b')](_0x3b81('0x1b'))[_0x3b81('0x47')],_0x1bb07a=_0x4199c0[_0x3b81('0x36')][_0x3b81('0x2b')]('numberedList')[_0x3b81('0x47')];return _0x3b81('0x8')===_0x1b626d?_0x17d8e3:_0x1bb07a;}_0x31bde5[_0x3b81('0x1f')]('numberedList',_0x592674(_0x3b81('0x8'))),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x1b'),_0x592674(_0x3b81('0x1b'))),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x46'),_0x4fa67a(_0x3b81('0x46'))),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x4e'),_0x4fa67a('outdentList')),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x1'),_0x4e277a(_0x3b81('0x1'))),_0x31bde5[_0x3b81('0x1f')](_0x3b81('0x2e'),_0x4e277a(_0x3b81('0x2e'))),_0x31bde5[_0x3b81('0x2d')][_0x3b81('0x32')](function(_0x305758){const _0x35cb5e=!_0x4199c0[_0x3b81('0xb')][_0x3b81('0x28')][_0x3b81('0x2')](_0x305758),_0x5818d0=_0x305758[_0x3b81('0x1a')],_0x27bca4=_0x305758[_0x3b81('0x0')],_0x30ccc1=_0x305758[_0x3b81('0x35')](_0x3b81('0x31')),_0x324637=!_0x5818d0||_0x5818d0[_0x3b81('0x35')](_0x3b81('0x31'))!==_0x30ccc1,_0xd45cc1=!_0x27bca4||_0x27bca4['getAttribute']('listItemId')!==_0x30ccc1;return _0x35cb5e&&Boolean(_0x30ccc1)&&_0x324637&&_0xd45cc1;},_0x288ad1=>_0x1514ac(_0x4f1070,_0x3b81('0x25'),_0x288ad1)),_0x31bde5[_0x3b81('0x2d')]['registerDescriptionCallback'](function(_0x9d823f){const {data:_0x6f1a99}=_0x9d823f;if(!_0x6f1a99)return;let _0x29c37a,_0x2244e7,_0x59a329,_0x51b278;switch(_0x6f1a99[_0x3b81('0x3c')]){case _0x3b81('0x1b'):_0x59a329=_0x6f1a99[_0x3b81('0x7')][0x0][_0x3b81('0x3f')],_0x51b278=_0x594568(_0x6f1a99['commandName']),_0x29c37a=_0x59a329?_0x3b81('0x3'):_0x3b81('0x3d'),_0x51b278&&(_0x29c37a=_0x3b81('0x18')),_0x2244e7={'type':'format','content':_0x1514ac(_0x4f1070,_0x29c37a,_0x1514ac(_0x4f1070,'ELEMENT_BULLETED_LIST'))};break;case _0x3b81('0x8'):_0x59a329=_0x6f1a99[_0x3b81('0x7')][0x0]['forceValue'],_0x51b278=_0x594568(_0x6f1a99[_0x3b81('0x3c')]),_0x29c37a=_0x59a329?_0x3b81('0x3'):'*Format:*\x20remove\x20from\x20%0',_0x51b278&&(_0x29c37a='*Change\x20to:*\x20%0'),_0x2244e7={'type':'format','content':_0x1514ac(_0x4f1070,_0x29c37a,_0x1514ac(_0x4f1070,_0x3b81('0xd')))};break;case _0x3b81('0x46'):_0x29c37a=_0x3b81('0x4'),_0x2244e7={'type':'format','content':_0x1514ac(_0x4f1070,_0x29c37a,_0x1514ac(_0x4f1070,_0x3b81('0x25')))};break;case _0x3b81('0x4e'):_0x29c37a=function(_0x235c19){const _0x5ce380=_0x235c19[_0x3b81('0x17')]();let _0x5a1a18=_0x5ce380[_0x3b81('0x48')][_0x3b81('0x9')];for(;_0x5a1a18&&_0x5ce380[_0x3b81('0x39')](_0x5a1a18);){if(_0x5a1a18['getAttribute'](_0x3b81('0x22'))>0x0)return!0x1;_0x5a1a18=_0x5a1a18[_0x3b81('0x0')];}return!0x0;}(_0x9d823f)?_0x1514ac(_0x4f1070,_0x3b81('0x3d'),_0x1514ac(_0x4f1070,function(_0x1dcba3){const _0x2a3acd=_0x1dcba3[_0x3b81('0x17')]()[_0x3b81('0x48')]['nodeAfter'];return'ELEMENT_'+_0x2a3acd[_0x3b81('0x35')](_0x3b81('0x3e'))[_0x3b81('0x1d')]()+_0x3b81('0x24');}(_0x9d823f))):_0x1514ac(_0x4f1070,_0x3b81('0x33'),_0x1514ac(_0x4f1070,_0x3b81('0x25'))),_0x2244e7={'type':_0x3b81('0x19'),'content':_0x29c37a};break;case'mergeListItemBackward':case _0x3b81('0x2c'):!0x1===_0x6f1a99[_0x3b81('0x34')]&&(_0x29c37a=_0x3b81('0x1c'),_0x2244e7={'type':_0x3b81('0x6'),'content':_0x1514ac(_0x4f1070,_0x29c37a,_0x1514ac(_0x4f1070,_0x3b81('0x25')))});}return _0x2244e7;}),_0x31bde5['_suggestionFactory'][_0x3b81('0x20')](_0x3b81('0x42'),_0x3b81('0x4c'),_0x3b81('0x2a'),function(_0x5afd57,_0x30b8fa){const _0x29f5d6=[];for(let _0x23b93d of _0x5afd57)_0x23b93d[_0x3b81('0x48')][_0x3b81('0x9')]===_0x23b93d[_0x3b81('0x4b')][_0x3b81('0x45')]&&(_0x23b93d=_0x4199c0[_0x3b81('0xb')][_0x3b81('0x16')](_0x4199c0[_0x3b81('0xb')][_0x3b81('0x13')](_0x23b93d['start'][_0x3b81('0x9')],0x0))),_0x29f5d6[_0x3b81('0x23')](_0x23b93d);_0x4199c0[_0x3b81('0xb')][_0x3b81('0x2f')](_0x3cffa8=>{const _0x575716=_0x4199c0['model'][_0x3b81('0x14')][_0x3b81('0x1e')],_0x46b89a=Array[_0x3b81('0x27')](_0x575716[_0x3b81('0x30')]())['map'](_0x49fad3=>_0x17c67a[_0x3b81('0x12')](_0x49fad3));_0x3cffa8[_0x3b81('0xe')](_0x29f5d6),_0x4199c0['commands'][_0x3b81('0x2b')](_0x30b8fa[_0x3b81('0x3c')])[_0x3b81('0x38')](),_0x30b8fa['commandParams'][_0x3b81('0x23')]({'forceDefaultExecution':!0x0}),_0x4199c0[_0x3b81('0x40')](_0x30b8fa['commandName'],..._0x30b8fa[_0x3b81('0x7')]),_0x3cffa8['setSelection'](_0x46b89a);for(const _0x59aa1e of _0x46b89a)_0x59aa1e[_0x3b81('0xc')]();});});}}
23
+ const _0x3c30=['end','enableCommand','get','getRanges','before','deletion','hasAttribute','getSelectedBlocks','listIndent','listType','indentList','formatBlock','format','refresh','has','commands','registerCustomCallback','createRange','change','add','toUpperCase','ELEMENT_NUMBERED_LIST','splitListItemBefore','detach','mergeListItemBackward','setSelection','*Indent:*\x20%0','*Change\x20to:*\x20%0','push','bulletedList','_descriptionFactory','slice','document','*Outdent:*\x20%0','start','getAttribute','documentList','markMultiRangeBlockFormat','ELEMENT_','afterInit','listItemId','nextSibling','commandName','from','getFirstRange','findIndex','locale','registerDescriptionCallback','TrackChangesEditing','value','*Format:*\x20insert\x20into\x20%0','parent','outdentList','execute','registerElementLabel','editor','nodeAfter','ELEMENT_LIST_ITEM','isObject','after','length','splitListItemAfter','multipleBlocks','DocumentListEditing','schema','_LIST','mergeListItemForward','*Merge:*\x20%0','_suggestionFactory','createPositionAt','commandParams','numberedList','*Format:*\x20remove\x20from\x20%0','accept','fromRange','isFirstBlockOfListItem','selection','plugins','model','forceValue'];(function(_0x328f6d,_0x3c3016){const _0x14cf82=function(_0x3fb07e){while(--_0x3fb07e){_0x328f6d['push'](_0x328f6d['shift']());}};_0x14cf82(++_0x3c3016);}(_0x3c30,0x138));const _0x14cf=function(_0x328f6d,_0x3c3016){_0x328f6d=_0x328f6d-0x0;let _0x14cf82=_0x3c30[_0x328f6d];return _0x14cf82;};import{Plugin as _0x15169b}from'ckeditor5/src/core';import{getTranslation as _0x25ce94}from'../utils/common-translations';import{LiveRange as _0xda6073}from'ckeditor5/src/engine';export default class L extends _0x15169b{[_0x14cf('0x2f')](){const _0x3904a2=this[_0x14cf('0x3f')];if(!_0x3904a2[_0x14cf('0x5')][_0x14cf('0x16')](_0x14cf('0x47')))return;const _0x1bbe76=_0x3904a2[_0x14cf('0x36')],_0x30ce01=_0x3904a2[_0x14cf('0x5')][_0x14cf('0xa')](_0x14cf('0x38')),_0x8a9b42=_0x3904a2[_0x14cf('0x5')][_0x14cf('0xa')]('DocumentListUtils');function _0x519791(_0x54e784){return()=>{const _0x4addc7=_0x3904a2[_0x14cf('0x17')]['get'](_0x54e784);let _0x393bf4=Array['from'](_0x3904a2['model'][_0x14cf('0x28')][_0x14cf('0x4')][_0x14cf('0xf')]());if(_0x1bce1b(_0x54e784)){_0x393bf4=_0x8a9b42['expandListBlocksToCompleteList'](_0x393bf4);const _0x5b7cfe=[];for(const _0x2bf552 of _0x393bf4)_0x8a9b42[_0x14cf('0x3')](_0x2bf552)&&_0x5b7cfe[_0x14cf('0x24')](_0x2bf552);_0x393bf4=_0x5b7cfe;}_0x3904a2[_0x14cf('0x6')][_0x14cf('0x1a')](()=>{_0x30ce01[_0x14cf('0x2d')](_0x393bf4,{'commandName':_0x54e784,'commandParams':[{'forceValue':!_0x4addc7[_0x14cf('0x39')]}],'formatGroupId':'listType'},[],_0x14cf('0x2c'));});};}function _0x318a9d(_0x554d64){return()=>{const _0xccd033=function(_0x2b7ff7){let _0x2c7879=Array['from'](_0x2b7ff7);const _0x280e72=_0x2c7879[_0x14cf('0x35')](_0x458c25=>!_0x458c25[_0x14cf('0xe')]('listItemId'));return _0x280e72>-0x1&&(_0x2c7879=_0x2c7879[_0x14cf('0x27')](0x0,_0x280e72)),_0x2c7879;}(_0x3904a2['model'][_0x14cf('0x28')][_0x14cf('0x4')]['getSelectedBlocks']()),_0x48bbe1=_0xccd033[_0xccd033[_0x14cf('0x44')]-0x1],_0x392fcb=_0x3904a2[_0x14cf('0x6')]['schema']['isObject'](_0x48bbe1)?_0x14cf('0x43'):_0x14cf('0x8'),_0x24ed23=_0x3904a2['model'][_0x14cf('0x19')](_0x3904a2[_0x14cf('0x6')]['createPositionAt'](_0xccd033[0x0],'before'),_0x3904a2[_0x14cf('0x6')][_0x14cf('0x4d')](_0x48bbe1,_0x392fcb));_0x3904a2[_0x14cf('0x6')][_0x14cf('0x1a')](()=>{_0x30ce01['markBlockFormat'](_0x24ed23,{'commandName':_0x554d64,'commandParams':[],'formatGroupId':_0x14cf('0x11')},function(_0x541ad9){const _0x59d44c=new Set();for(const _0x220613 of _0x541ad9){let _0x313286=_0x220613[_0x14cf('0x31')];for(;_0x313286&&_0x313286[_0x14cf('0x2b')](_0x14cf('0x10'))>_0x220613[_0x14cf('0x2b')]('listIndent');)_0x59d44c[_0x14cf('0x1b')](_0x313286),_0x313286=_0x313286['nextSibling'];}return Array[_0x14cf('0x33')](_0x59d44c);}(_0xccd033));});};}function _0x462f46(_0x421c5c){return()=>{const _0x5380e2=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x28')]['selection'][_0x14cf('0xf')]()['next']()[_0x14cf('0x39')],_0x34c7bd=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x4d')](_0x5380e2,_0x14cf('0xc')),_0x58233e=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x4d')](_0x5380e2,0x0),_0x1a62a9=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x19')](_0x34c7bd,_0x58233e);_0x3904a2[_0x14cf('0x6')]['change'](()=>{_0x30ce01['markBlockFormat'](_0x1a62a9,{'commandName':_0x421c5c,'commandParams':[],'formatGroupId':_0x14cf('0x11')});});};}function _0x1bce1b(_0x292bfa){const _0x5601fd=_0x3904a2[_0x14cf('0x17')][_0x14cf('0xa')](_0x14cf('0x25'))[_0x14cf('0x39')],_0x43681e=_0x3904a2[_0x14cf('0x17')][_0x14cf('0xa')](_0x14cf('0x4f'))[_0x14cf('0x39')];return _0x14cf('0x4f')===_0x292bfa?_0x5601fd:_0x43681e;}_0x30ce01[_0x14cf('0x9')](_0x14cf('0x4f'),_0x519791('numberedList')),_0x30ce01['enableCommand']('bulletedList',_0x519791(_0x14cf('0x25'))),_0x30ce01[_0x14cf('0x9')](_0x14cf('0x12'),_0x318a9d(_0x14cf('0x12'))),_0x30ce01[_0x14cf('0x9')](_0x14cf('0x3c'),_0x318a9d('outdentList')),_0x30ce01[_0x14cf('0x9')]('splitListItemAfter',_0x462f46(_0x14cf('0x45'))),_0x30ce01[_0x14cf('0x9')](_0x14cf('0x1e'),_0x462f46(_0x14cf('0x1e'))),_0x30ce01['_descriptionFactory'][_0x14cf('0x3e')](function(_0x40a116){const _0x211b3d=!_0x3904a2['model'][_0x14cf('0x48')][_0x14cf('0x42')](_0x40a116),_0x45dc6e=_0x40a116['previousSibling'],_0x3420b2=_0x40a116[_0x14cf('0x31')],_0x1b68eb=_0x40a116[_0x14cf('0x2b')]('listItemId'),_0x555383=!_0x45dc6e||_0x45dc6e['getAttribute'](_0x14cf('0x30'))!==_0x1b68eb,_0x175405=!_0x3420b2||_0x3420b2[_0x14cf('0x2b')](_0x14cf('0x30'))!==_0x1b68eb;return _0x211b3d&&Boolean(_0x1b68eb)&&_0x555383&&_0x175405;},_0x2d9d30=>_0x25ce94(_0x1bbe76,_0x14cf('0x41'),_0x2d9d30)),_0x30ce01[_0x14cf('0x26')][_0x14cf('0x37')](function(_0x146892){const {data:_0x25e14b}=_0x146892;if(!_0x25e14b)return;let _0xdcd738,_0x13e72b,_0x39e44b,_0x2d2ee8;switch(_0x25e14b[_0x14cf('0x32')]){case _0x14cf('0x25'):_0x39e44b=_0x25e14b[_0x14cf('0x4e')][0x0][_0x14cf('0x7')],_0x2d2ee8=_0x1bce1b(_0x25e14b['commandName']),_0xdcd738=_0x39e44b?'*Format:*\x20insert\x20into\x20%0':_0x14cf('0x0'),_0x2d2ee8&&(_0xdcd738=_0x14cf('0x23')),_0x13e72b={'type':'format','content':_0x25ce94(_0x1bbe76,_0xdcd738,_0x25ce94(_0x1bbe76,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x39e44b=_0x25e14b['commandParams'][0x0][_0x14cf('0x7')],_0x2d2ee8=_0x1bce1b(_0x25e14b[_0x14cf('0x32')]),_0xdcd738=_0x39e44b?_0x14cf('0x3a'):'*Format:*\x20remove\x20from\x20%0',_0x2d2ee8&&(_0xdcd738='*Change\x20to:*\x20%0'),_0x13e72b={'type':_0x14cf('0x14'),'content':_0x25ce94(_0x1bbe76,_0xdcd738,_0x25ce94(_0x1bbe76,_0x14cf('0x1d')))};break;case _0x14cf('0x12'):_0xdcd738=_0x14cf('0x22'),_0x13e72b={'type':_0x14cf('0x14'),'content':_0x25ce94(_0x1bbe76,_0xdcd738,_0x25ce94(_0x1bbe76,_0x14cf('0x41')))};break;case'outdentList':_0xdcd738=function(_0x10c632){const _0x1521cc=_0x10c632[_0x14cf('0x34')]();let _0x5256c3=_0x1521cc[_0x14cf('0x2a')][_0x14cf('0x40')];for(;_0x5256c3&&_0x1521cc['containsItem'](_0x5256c3);){if(_0x5256c3[_0x14cf('0x2b')](_0x14cf('0x10'))>0x0)return!0x1;_0x5256c3=_0x5256c3[_0x14cf('0x31')];}return!0x0;}(_0x146892)?_0x25ce94(_0x1bbe76,'*Format:*\x20remove\x20from\x20%0',_0x25ce94(_0x1bbe76,function(_0xeb885e){const _0x1957b1=_0xeb885e['getFirstRange']()['start'][_0x14cf('0x40')];return _0x14cf('0x2e')+_0x1957b1['getAttribute'](_0x14cf('0x11'))[_0x14cf('0x1c')]()+_0x14cf('0x49');}(_0x146892))):_0x25ce94(_0x1bbe76,_0x14cf('0x29'),_0x25ce94(_0x1bbe76,_0x14cf('0x41'))),_0x13e72b={'type':'format','content':_0xdcd738};break;case _0x14cf('0x20'):case _0x14cf('0x4a'):!0x1===_0x25e14b[_0x14cf('0x46')]&&(_0xdcd738=_0x14cf('0x4b'),_0x13e72b={'type':_0x14cf('0xd'),'content':_0x25ce94(_0x1bbe76,_0xdcd738,_0x25ce94(_0x1bbe76,_0x14cf('0x41')))});}return _0x13e72b;}),_0x30ce01[_0x14cf('0x4c')][_0x14cf('0x18')](_0x14cf('0x13'),_0x14cf('0x2c'),_0x14cf('0x1'),function(_0x2db194,_0x3b6f2e){const _0x432789=[];for(let _0x1bab3a of _0x2db194)_0x1bab3a[_0x14cf('0x2a')][_0x14cf('0x40')]===_0x1bab3a[_0x14cf('0x8')][_0x14cf('0x3b')]&&(_0x1bab3a=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x19')](_0x3904a2[_0x14cf('0x6')][_0x14cf('0x4d')](_0x1bab3a[_0x14cf('0x2a')]['nodeAfter'],0x0))),_0x432789[_0x14cf('0x24')](_0x1bab3a);_0x3904a2[_0x14cf('0x6')][_0x14cf('0x1a')](_0x3f2b47=>{const _0x307baa=_0x3904a2[_0x14cf('0x6')][_0x14cf('0x28')][_0x14cf('0x4')],_0x44a0bd=Array['from'](_0x307baa[_0x14cf('0xb')]())['map'](_0x332459=>_0xda6073[_0x14cf('0x2')](_0x332459));_0x3f2b47['setSelection'](_0x432789),_0x3904a2[_0x14cf('0x17')][_0x14cf('0xa')](_0x3b6f2e[_0x14cf('0x32')])[_0x14cf('0x15')](),_0x3b6f2e[_0x14cf('0x4e')][_0x14cf('0x24')]({'forceDefaultExecution':!0x0}),_0x3904a2[_0x14cf('0x3d')](_0x3b6f2e[_0x14cf('0x32')],..._0x3b6f2e['commandParams']),_0x3f2b47[_0x14cf('0x21')](_0x44a0bd);for(const _0x5a3be6 of _0x44a0bd)_0x5a3be6[_0x14cf('0x1f')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159f=['config','DocumentListUtils','listStart','TrackChangesEditing','styles','handleListReversedCommand','_getSuggestionBlocks','isFirstBlockOfListItem','getSelectedBlocks','has','model','filter','_descriptionFactory','listStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','handleListStartCommand','afterInit','*Format:*\x20set\x20order\x20to\x20regular','handleDescriptions','push','list.properties','handleListStyleCommand','selection','ELEMENT_','getListTypeFromListStyleType','from','reversed','document','markMultiRangeBlockFormat','startIndex','getAttribute','listReversed','enableCommand','_LIST_','registerDescriptionCallback','commandName','listType','format','editor','*Format:*\x20set\x20order\x20to\x20reversed','DocumentListPropertiesEditing','_getSuggestionBlocksForListStyle','isListItemBlock','expandListBlocksToCompleteList','numbered','commandParams','locale','toUpperCase','type','change','bind','plugins','DocumentListPropertiesUtils','replace','length','_getTranslationKeyForListStyle'];(function(_0x2586e1,_0x159f4d){const _0x356b24=function(_0x5166b3){while(--_0x5166b3){_0x2586e1['push'](_0x2586e1['shift']());}};_0x356b24(++_0x159f4d);}(_0x159f,0x101));const _0x356b=function(_0x2586e1,_0x159f4d){_0x2586e1=_0x2586e1-0x0;let _0x356b24=_0x159f[_0x2586e1];return _0x356b24;};import{Plugin as _0xd9c541}from'ckeditor5/src/core';import{getTranslation as _0x48efcd}from'../utils/common-translations';export default class At extends _0xd9c541{[_0x356b('0x2d')](){if(!this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x25')](_0x356b('0xc')))return;const _0xef1b1d=this[_0x356b('0xa')][_0x356b('0x1c')][_0x356b('0x2b')](_0x356b('0x31')),_0x186ad7=this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1f'));_0xef1b1d[_0x356b('0x20')]&&_0x186ad7['enableCommand'](_0x356b('0x29'),this['handleListStyleCommand'][_0x356b('0x16')](this)),_0xef1b1d[_0x356b('0x37')]&&_0x186ad7['enableCommand'](_0x356b('0x3'),this[_0x356b('0x21')][_0x356b('0x16')](this)),_0xef1b1d[_0x356b('0x1')]&&_0x186ad7[_0x356b('0x4')](_0x356b('0x1e'),this['handleListStartCommand'][_0x356b('0x16')](this)),_0x186ad7[_0x356b('0x28')][_0x356b('0x6')](this['handleDescriptions'][_0x356b('0x16')](this));}[_0x356b('0x32')](_0x309775,_0x1f34b1={}){const _0x228418=this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1f')),_0x58fa05=this['_getSuggestionBlocksForListStyle']();this[_0x356b('0xa')][_0x356b('0x26')][_0x356b('0x15')](()=>{_0x228418['markMultiRangeBlockFormat'](_0x58fa05,{'commandName':_0x356b('0x29'),'commandParams':[{'type':_0x1f34b1[_0x356b('0x14')]}],'formatGroupId':_0x356b('0x29')});});}[_0x356b('0x21')](_0x48c9bd,_0x12d780={}){const _0x4be446=this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1f')),_0x701001=this[_0x356b('0xa')]['plugins'][_0x356b('0x2b')](_0x356b('0x1d')),_0x12b979=this[_0x356b('0x22')](_0x26ff25=>_0x701001[_0x356b('0xe')](_0x26ff25)&&_0x356b('0x10')===_0x26ff25[_0x356b('0x2')](_0x356b('0x8')));null!==_0x12b979&&this[_0x356b('0xa')][_0x356b('0x26')]['change'](()=>{_0x4be446[_0x356b('0x0')](_0x12b979,{'commandName':_0x356b('0x3'),'commandParams':[{'reversed':_0x12d780['reversed']}],'formatGroupId':'listReversed'});});}[_0x356b('0x2c')](_0x34d970,_0x37972f={}){const _0x147ede=this[_0x356b('0xa')][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1f')),_0x31d08e=this[_0x356b('0xa')]['plugins'][_0x356b('0x2b')](_0x356b('0x1d')),_0x27aa1d=this['_getSuggestionBlocks'](_0x2d1b6f=>_0x31d08e[_0x356b('0xe')](_0x2d1b6f)&&_0x356b('0x10')===_0x2d1b6f[_0x356b('0x2')](_0x356b('0x8')));null!==_0x27aa1d&&this[_0x356b('0xa')][_0x356b('0x26')]['change'](()=>{_0x147ede[_0x356b('0x0')](_0x27aa1d,{'commandName':'listStart','commandParams':[{'startIndex':_0x37972f['startIndex']}],'formatGroupId':'listStart'});});}[_0x356b('0x2f')](_0x1cae78){const _0x32b428=this[_0x356b('0xa')][_0x356b('0x12')],{data:_0x154699}=_0x1cae78;if(!_0x154699)return;let _0x249b51,_0x4c2020;switch(_0x154699[_0x356b('0x7')]){case _0x356b('0x29'):_0x249b51='*Change\x20to:*\x20%0',_0x4c2020={'type':'format','content':_0x48efcd(_0x32b428,_0x249b51,_0x48efcd(_0x32b428,this['_getTranslationKeyForListStyle'](_0x154699['commandParams'][0x0][_0x356b('0x14')])))};break;case _0x356b('0x3'):_0x249b51=_0x154699['commandParams'][0x0]['reversed']?_0x356b('0xb'):_0x356b('0x2e'),_0x4c2020={'type':_0x356b('0x9'),'content':_0x48efcd(_0x32b428,_0x249b51)};break;case'listStart':_0x249b51=_0x356b('0x2a'),_0x4c2020={'type':_0x356b('0x9'),'content':_0x48efcd(_0x32b428,_0x249b51,_0x154699[_0x356b('0x11')][0x0][_0x356b('0x1')])};}return _0x4c2020;}[_0x356b('0xd')](){const _0x28a396=this['editor'][_0x356b('0x17')][_0x356b('0x2b')](_0x356b('0x1d'));let _0x10bcbe=Array[_0x356b('0x36')](this[_0x356b('0xa')][_0x356b('0x26')][_0x356b('0x38')][_0x356b('0x33')]['getSelectedBlocks']());return _0x10bcbe[_0x356b('0x30')](..._0x28a396[_0x356b('0xf')](_0x10bcbe)),_0x10bcbe=[...new Set(_0x10bcbe)],_0x10bcbe;}[_0x356b('0x22')](_0x585789){const _0x28e32d=this['editor'][_0x356b('0x17')]['get'](_0x356b('0x1d'));let _0x575ffc=Array['from'](this[_0x356b('0xa')][_0x356b('0x26')][_0x356b('0x38')][_0x356b('0x33')][_0x356b('0x24')]())[_0x356b('0x27')](_0x585789);if(!_0x575ffc[_0x356b('0x1a')])return null;_0x575ffc=_0x28e32d['expandListBlocksToCompleteList'](_0x575ffc);const _0x19ffa5=[];for(const _0x1d82a5 of _0x575ffc)_0x28e32d[_0x356b('0x23')](_0x1d82a5)&&_0x19ffa5[_0x356b('0x30')](_0x1d82a5);return _0x19ffa5;}[_0x356b('0x1b')](_0x495b07){return _0x356b('0x34')+this[_0x356b('0xa')]['plugins'][_0x356b('0x2b')](_0x356b('0x18'))[_0x356b('0x35')](_0x495b07)[_0x356b('0x13')]()+_0x356b('0x5')+_0x495b07[_0x356b('0x13')]()[_0x356b('0x19')](/-/g,'_');}}
23
+ const _0xb17f=['reversed','numbered','list.properties','bind','startIndex','type','selection','change','from','handleDescriptions','DocumentListPropertiesEditing','format','model','editor','expandListBlocksToCompleteList','config','has','replace','enableCommand','registerDescriptionCallback','TrackChangesEditing','handleListReversedCommand','handleListStyleCommand','_getSuggestionBlocks','push','styles','toUpperCase','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','isListItemBlock','*Format:*\x20set\x20order\x20to\x20reversed','locale','isFirstBlockOfListItem','DocumentListPropertiesUtils','_descriptionFactory','length','markMultiRangeBlockFormat','getAttribute','listStyle','handleListStartCommand','DocumentListUtils','commandParams','getListTypeFromListStyleType','commandName','getSelectedBlocks','document','ELEMENT_','plugins','afterInit','_getSuggestionBlocksForListStyle','_getTranslationKeyForListStyle','*Change\x20to:*\x20%0','listType','listReversed','filter','listStart'];(function(_0x5ea372,_0xb17f23){const _0xa7e73d=function(_0x12a914){while(--_0x12a914){_0x5ea372['push'](_0x5ea372['shift']());}};_0xa7e73d(++_0xb17f23);}(_0xb17f,0x1f1));const _0xa7e7=function(_0x5ea372,_0xb17f23){_0x5ea372=_0x5ea372-0x0;let _0xa7e73d=_0xb17f[_0x5ea372];return _0xa7e73d;};import{Plugin as _0xc7ab99}from'ckeditor5/src/core';import{getTranslation as _0x877c3}from'../utils/common-translations';export default class At extends _0xc7ab99{[_0xa7e7('0x37')](){if(!this['editor'][_0xa7e7('0x36')][_0xa7e7('0x17')](_0xa7e7('0x11')))return;const _0x48d35a=this[_0xa7e7('0x14')][_0xa7e7('0x16')][_0xa7e7('0x23')](_0xa7e7('0x9')),_0x38775a=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x1b'));_0x48d35a[_0xa7e7('0x20')]&&_0x38775a[_0xa7e7('0x19')](_0xa7e7('0x2d'),this[_0xa7e7('0x1d')]['bind'](this)),_0x48d35a[_0xa7e7('0x7')]&&_0x38775a[_0xa7e7('0x19')]('listReversed',this[_0xa7e7('0x1c')][_0xa7e7('0xa')](this)),_0x48d35a['startIndex']&&_0x38775a['enableCommand'](_0xa7e7('0x6'),this[_0xa7e7('0x2e')][_0xa7e7('0xa')](this)),_0x38775a[_0xa7e7('0x29')][_0xa7e7('0x1a')](this[_0xa7e7('0x10')][_0xa7e7('0xa')](this));}[_0xa7e7('0x1d')](_0x103199,_0x135eff={}){const _0x3073a4=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x1b')),_0x2f05af=this[_0xa7e7('0x0')]();this[_0xa7e7('0x14')][_0xa7e7('0x13')][_0xa7e7('0xe')](()=>{_0x3073a4[_0xa7e7('0x2b')](_0x2f05af,{'commandName':_0xa7e7('0x2d'),'commandParams':[{'type':_0x135eff['type']}],'formatGroupId':'listStyle'});});}[_0xa7e7('0x1c')](_0x5b5c21,_0x85228f={}){const _0xa87e62=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')]('TrackChangesEditing'),_0x5c296a=this[_0xa7e7('0x14')][_0xa7e7('0x36')]['get']('DocumentListUtils'),_0x4399ac=this[_0xa7e7('0x1e')](_0x182024=>_0x5c296a[_0xa7e7('0x24')](_0x182024)&&_0xa7e7('0x8')===_0x182024[_0xa7e7('0x2c')](_0xa7e7('0x3')));null!==_0x4399ac&&this[_0xa7e7('0x14')]['model'][_0xa7e7('0xe')](()=>{_0xa87e62[_0xa7e7('0x2b')](_0x4399ac,{'commandName':_0xa7e7('0x4'),'commandParams':[{'reversed':_0x85228f[_0xa7e7('0x7')]}],'formatGroupId':_0xa7e7('0x4')});});}[_0xa7e7('0x2e')](_0x163584,_0x57bffe={}){const _0x84edbb=this['editor'][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x1b')),_0x39507a=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x2f')),_0x11de66=this[_0xa7e7('0x1e')](_0x35afd2=>_0x39507a['isListItemBlock'](_0x35afd2)&&_0xa7e7('0x8')===_0x35afd2[_0xa7e7('0x2c')](_0xa7e7('0x3')));null!==_0x11de66&&this['editor'][_0xa7e7('0x13')][_0xa7e7('0xe')](()=>{_0x84edbb['markMultiRangeBlockFormat'](_0x11de66,{'commandName':_0xa7e7('0x6'),'commandParams':[{'startIndex':_0x57bffe[_0xa7e7('0xb')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x24bb81){const _0x50bc90=this[_0xa7e7('0x14')][_0xa7e7('0x26')],{data:_0x207bad}=_0x24bb81;if(!_0x207bad)return;let _0x489fe9,_0x5d2bf0;switch(_0x207bad[_0xa7e7('0x32')]){case'listStyle':_0x489fe9=_0xa7e7('0x2'),_0x5d2bf0={'type':_0xa7e7('0x12'),'content':_0x877c3(_0x50bc90,_0x489fe9,_0x877c3(_0x50bc90,this['_getTranslationKeyForListStyle'](_0x207bad['commandParams'][0x0][_0xa7e7('0xc')])))};break;case _0xa7e7('0x4'):_0x489fe9=_0x207bad['commandParams'][0x0][_0xa7e7('0x7')]?_0xa7e7('0x25'):'*Format:*\x20set\x20order\x20to\x20regular',_0x5d2bf0={'type':_0xa7e7('0x12'),'content':_0x877c3(_0x50bc90,_0x489fe9)};break;case _0xa7e7('0x6'):_0x489fe9=_0xa7e7('0x22'),_0x5d2bf0={'type':_0xa7e7('0x12'),'content':_0x877c3(_0x50bc90,_0x489fe9,_0x207bad[_0xa7e7('0x30')][0x0][_0xa7e7('0xb')])};}return _0x5d2bf0;}[_0xa7e7('0x0')](){const _0x3b069c=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x2f'));let _0x1c8180=Array[_0xa7e7('0xf')](this[_0xa7e7('0x14')][_0xa7e7('0x13')][_0xa7e7('0x34')][_0xa7e7('0xd')]['getSelectedBlocks']());return _0x1c8180[_0xa7e7('0x1f')](..._0x3b069c[_0xa7e7('0x15')](_0x1c8180)),_0x1c8180=[...new Set(_0x1c8180)],_0x1c8180;}[_0xa7e7('0x1e')](_0x57d8a2){const _0x3cadc8=this[_0xa7e7('0x14')][_0xa7e7('0x36')][_0xa7e7('0x23')](_0xa7e7('0x2f'));let _0x2fce61=Array['from'](this['editor'][_0xa7e7('0x13')][_0xa7e7('0x34')][_0xa7e7('0xd')][_0xa7e7('0x33')]())[_0xa7e7('0x5')](_0x57d8a2);if(!_0x2fce61[_0xa7e7('0x2a')])return null;_0x2fce61=_0x3cadc8[_0xa7e7('0x15')](_0x2fce61);const _0x458426=[];for(const _0x23649c of _0x2fce61)_0x3cadc8[_0xa7e7('0x27')](_0x23649c)&&_0x458426[_0xa7e7('0x1f')](_0x23649c);return _0x458426;}[_0xa7e7('0x1')](_0x344576){return _0xa7e7('0x35')+this[_0xa7e7('0x14')][_0xa7e7('0x36')]['get'](_0xa7e7('0x28'))[_0xa7e7('0x31')](_0x344576)[_0xa7e7('0x21')]()+'_LIST_'+_0x344576[_0xa7e7('0x21')]()[_0xa7e7('0x18')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e76=['createRange','split','commands','showSuggestionHighlights','downcastDispatcher','remove','change','data','nextSibling','ck-suggestion-marker-split','mapper','fromRange','end','model','requires','addMarker:suggestion:insertion','bind','high','markerNameToElements','editing','fire','options','writer','editor','detach','init','getFirstRange','markInsertion','removeMarker:suggestion:insertion','setSelection','createPositionAt','enter','markerName','unbindElementFromMarkerName','parent'];(function(_0x4438f9,_0x3e769c){const _0x54d0d8=function(_0x34c8ed){while(--_0x34c8ed){_0x4438f9['push'](_0x4438f9['shift']());}};_0x54d0d8(++_0x3e769c);}(_0x3e76,0x182));const _0x54d0=function(_0x4438f9,_0x3e769c){_0x4438f9=_0x4438f9-0x0;let _0x54d0d8=_0x3e76[_0x4438f9];return _0x54d0d8;};import{Plugin as _0x374785}from'ckeditor5/src/core';import{Enter as _0x110b83}from'ckeditor5/src/enter';import{LiveRange as _0x5be78c}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2e2bfc}from'./utils';export default class q extends _0x374785{static get[_0x54d0('0xd')](){return[_0x110b83];}[_0x54d0('0x18')](){const _0x3781aa=this[_0x54d0('0x16')],_0x586fcd=_0x3781aa['plugins']['get']('TrackChangesEditing'),_0x3f09fb=_0x3781aa[_0x54d0('0x1')]['get'](_0x54d0('0x1e'));_0x586fcd['enableCommand'](_0x54d0('0x1e'),()=>{_0x3781aa[_0x54d0('0xc')][_0x54d0('0x5')](_0x330481=>{const _0x55fa7a=_0x3781aa[_0x54d0('0xc')]['document']['selection'],_0x13bd72=_0x55fa7a['getFirstPosition'](),_0x10e6c9=_0x5be78c[_0x54d0('0xa')](_0x55fa7a[_0x54d0('0x19')]());if(_0x3f09fb['enterBlock'](_0x330481)){const _0x36048f=_0x3781aa[_0x54d0('0xc')][_0x54d0('0x1d')](_0x13bd72[_0x54d0('0x21')][_0x54d0('0x7')],0x0),_0x55c6d7=_0x330481[_0x54d0('0x22')](_0x13bd72,_0x36048f);_0x586fcd[_0x54d0('0x1a')](_0x55c6d7);}else _0x330481[_0x54d0('0x1c')](_0x330481[_0x54d0('0x22')](_0x10e6c9[_0x54d0('0xb')]));_0x10e6c9[_0x54d0('0x17')](),_0x3f09fb[_0x54d0('0x13')]('afterExecute',{'writer':_0x330481});});}),_0x3781aa['editing'][_0x54d0('0x3')]['on'](_0x54d0('0xe'),_0x2e2bfc(_0x3781aa,'split'),{'priority':_0x54d0('0x10')}),_0x3781aa[_0x54d0('0x12')][_0x54d0('0x3')]['on'](_0x54d0('0x1b'),(_0x3f494e,_0x2c45fa,_0x4ba95c)=>{const _0x568f54=_0x4ba95c[_0x54d0('0x9')][_0x54d0('0x11')](_0x2c45fa['markerName']);if(_0x568f54)for(const _0x175d81 of _0x568f54)_0x175d81['hasClass'](_0x54d0('0x8'))&&(_0x4ba95c[_0x54d0('0x9')][_0x54d0('0x20')](_0x175d81,_0x2c45fa[_0x54d0('0x1f')]),_0x4ba95c[_0x54d0('0x15')][_0x54d0('0x4')](_0x175d81));},{'priority':_0x54d0('0x10')}),_0x3781aa[_0x54d0('0x6')][_0x54d0('0x3')]['on'](_0x54d0('0xe'),(_0x5c1b3b,_0x1d0eb4,_0x42d830)=>{_0x42d830[_0x54d0('0x14')][_0x54d0('0x2')]&&_0x2e2bfc(_0x3781aa,_0x54d0('0x0'),{'showActiveMarker':!0x1})[_0x54d0('0xf')](this)(_0x5c1b3b,_0x1d0eb4,_0x42d830);},{'priority':_0x54d0('0x10')});}}
23
+ const _0x5453=['markerName','nextSibling','enter','showSuggestionHighlights','detach','get','parent','createPositionAt','requires','removeMarker:suggestion:insertion','editing','getFirstPosition','remove','change','addMarker:suggestion:insertion','split','editor','enterBlock','createRange','downcastDispatcher','fromRange','model','mapper','init','high','plugins','fire','end','getFirstRange','writer','bind','hasClass','document','data'];(function(_0x19fc24,_0x54530e){const _0x456439=function(_0x2c38e3){while(--_0x2c38e3){_0x19fc24['push'](_0x19fc24['shift']());}};_0x456439(++_0x54530e);}(_0x5453,0xd1));const _0x4564=function(_0x19fc24,_0x54530e){_0x19fc24=_0x19fc24-0x0;let _0x456439=_0x5453[_0x19fc24];return _0x456439;};import{Plugin as _0x1fc67a}from'ckeditor5/src/core';import{Enter as _0x1e7de3}from'ckeditor5/src/enter';import{LiveRange as _0x354c3a}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x51c90c}from'./utils';export default class q extends _0x1fc67a{static get[_0x4564('0x3')](){return[_0x1e7de3];}[_0x4564('0x12')](){const _0x5f3c4b=this[_0x4564('0xb')],_0x283148=_0x5f3c4b[_0x4564('0x14')][_0x4564('0x0')]('TrackChangesEditing'),_0x245279=_0x5f3c4b['commands'][_0x4564('0x0')](_0x4564('0x1f'));_0x283148['enableCommand']('enter',()=>{_0x5f3c4b['model'][_0x4564('0x8')](_0x30bbf9=>{const _0x9c7321=_0x5f3c4b['model'][_0x4564('0x1b')]['selection'],_0x5d9f29=_0x9c7321[_0x4564('0x6')](),_0x55cb1a=_0x354c3a[_0x4564('0xf')](_0x9c7321[_0x4564('0x17')]());if(_0x245279[_0x4564('0xc')](_0x30bbf9)){const _0x5eda8e=_0x5f3c4b[_0x4564('0x10')][_0x4564('0x2')](_0x5d9f29[_0x4564('0x1')][_0x4564('0x1e')],0x0),_0x76c5f1=_0x30bbf9[_0x4564('0xd')](_0x5d9f29,_0x5eda8e);_0x283148['markInsertion'](_0x76c5f1);}else _0x30bbf9['setSelection'](_0x30bbf9['createRange'](_0x55cb1a[_0x4564('0x16')]));_0x55cb1a[_0x4564('0x21')](),_0x245279[_0x4564('0x15')]('afterExecute',{'writer':_0x30bbf9});});}),_0x5f3c4b['editing']['downcastDispatcher']['on'](_0x4564('0x9'),_0x51c90c(_0x5f3c4b,_0x4564('0xa')),{'priority':_0x4564('0x13')}),_0x5f3c4b[_0x4564('0x5')][_0x4564('0xe')]['on'](_0x4564('0x4'),(_0x34153e,_0x5de65b,_0xf1d048)=>{const _0x24e85a=_0xf1d048[_0x4564('0x11')]['markerNameToElements'](_0x5de65b[_0x4564('0x1d')]);if(_0x24e85a)for(const _0x2ee850 of _0x24e85a)_0x2ee850[_0x4564('0x1a')]('ck-suggestion-marker-split')&&(_0xf1d048[_0x4564('0x11')]['unbindElementFromMarkerName'](_0x2ee850,_0x5de65b[_0x4564('0x1d')]),_0xf1d048[_0x4564('0x18')][_0x4564('0x7')](_0x2ee850));},{'priority':_0x4564('0x13')}),_0x5f3c4b[_0x4564('0x1c')][_0x4564('0xe')]['on'](_0x4564('0x9'),(_0x46e4b4,_0xc9ef67,_0x22fe84)=>{_0x22fe84['options'][_0x4564('0x20')]&&_0x51c90c(_0x5f3c4b,_0x4564('0xa'),{'showActiveMarker':!0x1})[_0x4564('0x19')](this)(_0x46e4b4,_0xc9ef67,_0x22fe84);},{'priority':_0x4564('0x13')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d52=['markers','get','has','replaceAll','createPositionAt','filter','enableCommand','findByTextCallback','_isInDeletionRange','FindAndReplaceEditing','getMarkersGroup','model','suggestion:deletion','plugins','bind','handleFindCommand','createRange','findPrevious','start','string','TrackChangesEditing','editor','find'];(function(_0x470de3,_0x2d52f1){const _0x1f8505=function(_0x3be95a){while(--_0x3be95a){_0x470de3['push'](_0x470de3['shift']());}};_0x1f8505(++_0x2d52f1);}(_0x2d52,0x18e));const _0x1f85=function(_0x470de3,_0x2d52f1){_0x470de3=_0x470de3-0x0;let _0x1f8505=_0x2d52[_0x470de3];return _0x1f8505;};import{Plugin as _0x53f565}from'ckeditor5/src/core';export default class z extends _0x53f565{['afterInit'](){if(!this[_0x1f85('0xe')][_0x1f85('0x6')][_0x1f85('0x12')](_0x1f85('0x2')))return;const _0x28410a=this[_0x1f85('0xe')][_0x1f85('0x6')][_0x1f85('0x11')](_0x1f85('0xd'));_0x28410a[_0x1f85('0x16')](_0x1f85('0xf'),this['handleFindCommand'][_0x1f85('0x7')](this)),_0x28410a[_0x1f85('0x16')]('findNext'),_0x28410a[_0x1f85('0x16')](_0x1f85('0xa')),_0x28410a[_0x1f85('0x16')]('replace'),_0x28410a[_0x1f85('0x16')](_0x1f85('0x13'));}[_0x1f85('0x8')](_0x2b41fa,_0x535542,_0x3a69a9={}){const _0x48335e=this['editor'][_0x1f85('0x6')][_0x1f85('0x11')]('FindAndReplaceUtils');void 0x0!==_0x3a69a9&&_0x2b41fa(_0xad9f46=>(_0x1f85('0xc')==typeof _0x535542?_0x48335e[_0x1f85('0x0')](_0x535542,_0x3a69a9):_0x535542)(_0xad9f46)[_0x1f85('0x15')](_0x5bccd7=>!0x1===this[_0x1f85('0x1')](_0x5bccd7,_0xad9f46['item'])),_0x3a69a9);}['_isInDeletionRange'](_0x66f108,_0x20693f){const _0x499d9c=this[_0x1f85('0xe')][_0x1f85('0x4')][_0x1f85('0x9')](this['editor']['model'][_0x1f85('0x14')](_0x20693f,_0x66f108[_0x1f85('0xb')]),this[_0x1f85('0xe')][_0x1f85('0x4')][_0x1f85('0x14')](_0x20693f,_0x66f108['end']));for(const _0x6afb9e of this[_0x1f85('0xe')]['model'][_0x1f85('0x10')][_0x1f85('0x3')](_0x1f85('0x5')))if(null!==_0x499d9c['getIntersection'](_0x6afb9e['getRange']()))return!0x0;return!0x1;}}
23
+ const _0x4cd2=['markers','getIntersection','find','TrackChangesEditing','item','replace','createPositionAt','end','bind','suggestion:deletion','string','afterInit','_isInDeletionRange','findPrevious','start','get','plugins','findByTextCallback','model','getMarkersGroup','FindAndReplaceUtils','createRange','editor','findNext','enableCommand','handleFindCommand'];(function(_0x28a423,_0x4cd2c0){const _0x63041d=function(_0x5ac93a){while(--_0x5ac93a){_0x28a423['push'](_0x28a423['shift']());}};_0x63041d(++_0x4cd2c0);}(_0x4cd2,0x10e));const _0x6304=function(_0x28a423,_0x4cd2c0){_0x28a423=_0x28a423-0x0;let _0x63041d=_0x4cd2[_0x28a423];return _0x63041d;};import{Plugin as _0x3d1a9a}from'ckeditor5/src/core';export default class z extends _0x3d1a9a{[_0x6304('0x1')](){if(!this['editor'][_0x6304('0x6')]['has']('FindAndReplaceEditing'))return;const _0x3b614a=this[_0x6304('0xc')]['plugins']['get'](_0x6304('0x13'));_0x3b614a[_0x6304('0xe')](_0x6304('0x12'),this['handleFindCommand'][_0x6304('0x18')](this)),_0x3b614a[_0x6304('0xe')](_0x6304('0xd')),_0x3b614a['enableCommand'](_0x6304('0x3')),_0x3b614a[_0x6304('0xe')](_0x6304('0x15')),_0x3b614a[_0x6304('0xe')]('replaceAll');}[_0x6304('0xf')](_0x2431bf,_0x59f7d4,_0x224a41={}){const _0x5a1a6d=this[_0x6304('0xc')][_0x6304('0x6')][_0x6304('0x5')](_0x6304('0xa'));void 0x0!==_0x224a41&&_0x2431bf(_0x2c915b=>(_0x6304('0x0')==typeof _0x59f7d4?_0x5a1a6d[_0x6304('0x7')](_0x59f7d4,_0x224a41):_0x59f7d4)(_0x2c915b)['filter'](_0x1f508a=>!0x1===this['_isInDeletionRange'](_0x1f508a,_0x2c915b[_0x6304('0x14')])),_0x224a41);}[_0x6304('0x2')](_0x30629f,_0x126640){const _0x22e1a8=this[_0x6304('0xc')][_0x6304('0x8')][_0x6304('0xb')](this['editor'][_0x6304('0x8')][_0x6304('0x16')](_0x126640,_0x30629f[_0x6304('0x4')]),this[_0x6304('0xc')][_0x6304('0x8')]['createPositionAt'](_0x126640,_0x30629f[_0x6304('0x17')]));for(const _0x576926 of this[_0x6304('0xc')][_0x6304('0x8')][_0x6304('0x10')][_0x6304('0x9')](_0x6304('0x19')))if(null!==_0x22e1a8[_0x6304('0x11')](_0x576926['getRange']()))return!0x0;return!0x1;}}