@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230727.0 → 0.0.0-nightly-20230729.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 (68) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/gl.js +1 -1
  3. package/build/translations/sq.js +1 -0
  4. package/lang/translations/gl.po +23 -23
  5. package/lang/translations/sq.po +487 -0
  6. package/package.json +3 -3
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  11. package/src/commands/trackchangescommand.js +1 -1
  12. package/src/integrations/alignment.js +1 -1
  13. package/src/integrations/basicstyles.js +1 -1
  14. package/src/integrations/blockquote.js +1 -1
  15. package/src/integrations/ckbox.js +1 -1
  16. package/src/integrations/codeblock.js +1 -1
  17. package/src/integrations/comments.js +1 -1
  18. package/src/integrations/deletecommand.js +1 -1
  19. package/src/integrations/documentlist.js +1 -1
  20. package/src/integrations/documentlistproperties.js +1 -1
  21. package/src/integrations/entercommand.js +1 -1
  22. package/src/integrations/findandreplace.js +1 -1
  23. package/src/integrations/font.js +1 -1
  24. package/src/integrations/formatpainter.js +1 -1
  25. package/src/integrations/heading.js +1 -1
  26. package/src/integrations/highlight.js +1 -1
  27. package/src/integrations/horizontalline.js +1 -1
  28. package/src/integrations/htmlembed.js +1 -1
  29. package/src/integrations/image.js +1 -1
  30. package/src/integrations/imagereplace.js +1 -1
  31. package/src/integrations/importword.js +1 -1
  32. package/src/integrations/indent.js +1 -1
  33. package/src/integrations/inputcommand.js +1 -1
  34. package/src/integrations/link.js +1 -1
  35. package/src/integrations/list.js +1 -1
  36. package/src/integrations/listproperties.js +1 -1
  37. package/src/integrations/mediaembed.js +1 -1
  38. package/src/integrations/mention.js +1 -1
  39. package/src/integrations/pagebreak.js +1 -1
  40. package/src/integrations/paragraph.js +1 -1
  41. package/src/integrations/removeformat.js +1 -1
  42. package/src/integrations/restrictededitingmode.js +1 -1
  43. package/src/integrations/shiftentercommand.js +1 -1
  44. package/src/integrations/standardeditingmode.js +1 -1
  45. package/src/integrations/style.js +1 -1
  46. package/src/integrations/table.js +1 -1
  47. package/src/integrations/tablecaption.js +1 -1
  48. package/src/integrations/tableclipboard.js +1 -1
  49. package/src/integrations/tablecolumnresize.js +1 -1
  50. package/src/integrations/tableheadings.js +1 -1
  51. package/src/integrations/tablemergesplit.js +1 -1
  52. package/src/integrations/tableofcontents.js +1 -1
  53. package/src/integrations/tableproperties.js +1 -1
  54. package/src/integrations/template.js +1 -1
  55. package/src/integrations/title.js +1 -1
  56. package/src/integrations/undo.js +1 -1
  57. package/src/integrations/utils.js +1 -1
  58. package/src/suggestion.js +1 -1
  59. package/src/suggestiondescriptionfactory.js +1 -1
  60. package/src/trackchanges.js +1 -1
  61. package/src/trackchangesdata.js +1 -1
  62. package/src/trackchangesediting.js +1 -1
  63. package/src/trackchangesui.js +1 -1
  64. package/src/ui/suggestioncontroller.js +1 -1
  65. package/src/ui/view/basesuggestionthreadview.js +1 -1
  66. package/src/ui/view/suggestionthreadview.js +1 -1
  67. package/src/utils/common-translations.js +1 -1
  68. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d4a=['locale','join','find','model','toUpperCase','plugins','pasteFormat','createRange','keys','change','copyFormat','selection','push','format','FontSize','*Remove\x20all\x20formatting*','label','get','fontSize','document','editor','toLowerCase','fontSize.options','fontBackgroundColor','word','markInlineFormat','commandName','createSelection','getAttributes','*Set\x20format\x20to:*\x20%0','title','registerDescriptionCallback','enableCommand','length','getSelectedBlocks','_descriptionFactory','isCollapsed','forward','split','commands','afterInit','boolean','getLastPosition','config','isBlock','commandParams','from','slice','isFormatting','fontColor','entries','schema','modifySelection','getRanges','backward'];(function(_0x3f2135,_0x1d4a29){const _0x1a576d=function(_0x10f53e){while(--_0x10f53e){_0x3f2135['push'](_0x3f2135['shift']());}};_0x1a576d(++_0x1d4a29);}(_0x1d4a,0x16d));const _0x1a57=function(_0x3f2135,_0x1d4a29){_0x3f2135=_0x3f2135-0x0;let _0x1a576d=_0x1d4a[_0x3f2135];return _0x1a576d;};import{Plugin as _0x3fffd6}from'ckeditor5/src/core';import{normalizeColorOptions as _0x47aa63}from'ckeditor5/src/ui';import{first as _0xf18ce3}from'ckeditor5/src/utils';import{getTranslation as _0x542cfe}from'../utils/common-translations';export default class W extends _0x3fffd6{[_0x1a57('0x5')](){const _0x3362fe=this[_0x1a57('0x28')],_0x2cad9f=_0x3362fe[_0x1a57('0x17')],_0xad6de6=_0x2cad9f[_0x1a57('0x27')][_0x1a57('0x1f')],_0x1c63ca=_0x3362fe['plugins'][_0x1a57('0x25')]('TrackChangesEditing'),_0x42386f=_0x3362fe[_0x1a57('0x14')],_0x49a93c=_0x3362fe[_0x1a57('0x4')][_0x1a57('0x25')](_0x1a57('0x1e')),_0x289b66=_0x3362fe[_0x1a57('0x4')][_0x1a57('0x25')](_0x1a57('0x1a'));_0x49a93c&&_0x289b66&&(_0x1c63ca[_0x1a57('0x34')](_0x1a57('0x1a'),(_0x292b6d,_0x16dfd3={})=>{const _0x4a73db=_0x16dfd3;_0x2cad9f[_0x1a57('0x1d')](()=>{const _0xe3a0c0=Array[_0x1a57('0xb')](_0xad6de6[_0x1a57('0x12')]()),_0x287e04=_0xad6de6[_0x1a57('0x1')]?[ro(_0x2cad9f,_0xad6de6)]:_0xe3a0c0,_0x3f3176=!!_0xf18ce3(function*(_0x552128,_0x26e795){const _0x8b76c4=_0x17d1f3=>!!_0xf18ce3(function*(_0xcdf75a,_0xaf82d0){for(const [_0x138288]of _0xcdf75a[_0x1a57('0x30')]()){const _0x3fc8cc=_0xaf82d0['getAttributeProperties'](_0x138288);_0x3fc8cc&&_0x3fc8cc[_0x1a57('0xd')]&&(yield _0x138288);}}(_0x17d1f3,_0x26e795));for(const _0x28bf24 of _0x552128[_0x1a57('0x12')]())for(const _0x21ae99 of _0x28bf24['getItems']())!_0x26e795[_0x1a57('0x9')](_0x21ae99)&&_0x8b76c4(_0x21ae99)&&(yield _0x21ae99);for(const _0x22cf64 of _0x552128[_0x1a57('0x36')]())_0x8b76c4(_0x22cf64)&&(yield _0x22cf64);_0x8b76c4(_0x552128)&&(yield _0x552128);}(_0xad6de6,_0x2cad9f[_0x1a57('0x10')]));if(_0x3f3176||0x0!==Object[_0x1a57('0x1c')](_0x4a73db)[_0x1a57('0x35')])for(const _0xd971d0 of _0x287e04)_0x1c63ca[_0x1a57('0x2d')](_0xd971d0,{'commandName':'pasteFormat','commandParams':[_0x4a73db]});});}),_0x1c63ca[_0x1a57('0x0')][_0x1a57('0x33')](_0x43d365=>{const {data:_0x2755f6}=_0x43d365;if(_0x2755f6&&'pasteFormat'===_0x2755f6[_0x1a57('0x2e')]){const _0x463a4a=[],_0x18108c=_0x2755f6[_0x1a57('0xa')][0x0];for(const [_0x574c13,_0x2f105d]of Object[_0x1a57('0xf')](_0x18108c))_0x463a4a[_0x1a57('0x20')](no(_0x3362fe,_0x574c13,_0x2f105d));return _0x463a4a[_0x1a57('0x35')]?{'type':_0x1a57('0x21'),'content':_0x542cfe(_0x42386f,_0x1a57('0x31'),_0x463a4a['join'](',\x20'))}:{'type':'format','content':_0x542cfe(_0x42386f,_0x1a57('0x23'))};}}),_0x3362fe[_0x1a57('0x19')][_0x1a57('0x25')]('TrackChangesEditing')[_0x1a57('0x34')]('copyFormat'));}}function ro(_0x2f187e,_0x7b5a75){const _0x2c1266=_0x2f187e[_0x1a57('0x2f')](_0x7b5a75);_0x2f187e[_0x1a57('0x11')](_0x2c1266,{'unit':_0x1a57('0x2c'),'direction':_0x1a57('0x13')});const _0x4cde52=_0x2c1266['getFirstPosition']();_0x2f187e[_0x1a57('0x11')](_0x2c1266,{'unit':_0x1a57('0x2c'),'direction':_0x1a57('0x2')});const _0x4d21f7=_0x2c1266[_0x1a57('0x7')]();return _0x2f187e[_0x1a57('0x1b')](_0x4cde52,_0x4d21f7);}function no(_0x57c3c7,_0xd8ad98,_0x2f24fa){const _0x50c802=_0x57c3c7[_0x1a57('0x14')]['t'],_0x2ad211=_0xd8ad98[_0x1a57('0x3')](/(?=[A-Z])/)[_0x1a57('0x15')]('\x20'),_0x352234=_0x50c802(_0x2ad211['charAt'](0x0)[_0x1a57('0x18')]()+_0x2ad211[_0x1a57('0xc')](0x1))['toLowerCase']();if(_0x1a57('0x6')==typeof _0x2f24fa)return _0x352234;if(_0x1a57('0xe')===_0xd8ad98||_0x1a57('0x2b')===_0xd8ad98){const _0x4ea35c=_0x47aa63(_0x57c3c7[_0x1a57('0x8')]['get']('fontColor.colors'))[_0x1a57('0x16')](_0xf99fd8=>_0xf99fd8[_0x1a57('0x17')]==_0x2f24fa);return _0x352234+'\x20('+(_0x4ea35c?_0x50c802(_0x4ea35c[_0x1a57('0x24')])[_0x1a57('0x29')]():_0x2f24fa)+')';}if(_0x1a57('0x26')===_0xd8ad98&&isNaN(parseFloat(_0x2f24fa))){const _0x2a782e=_0x57c3c7['plugins'][_0x1a57('0x25')](_0x1a57('0x22'))['normalizeSizeOptions'](_0x57c3c7[_0x1a57('0x8')][_0x1a57('0x25')](_0x1a57('0x2a')))[_0x1a57('0x16')](_0x4d44c7=>_0x4d44c7[_0x1a57('0x17')]==_0x2f24fa);return _0x352234+'\x20('+(_0x2a782e?_0x50c802(_0x2a782e[_0x1a57('0x32')])[_0x1a57('0x29')]():_0x2f24fa)+')';}return _0x352234+'\x20('+_0x2f24fa+')';}
23
+ const _0x2f78=['length','selection','_descriptionFactory','copyFormat','boolean','getSelectedBlocks','normalizeSizeOptions','locale','pasteFormat','charAt','config','keys','isFormatting','fontSize.options','markInlineFormat','getRanges','toLowerCase','from','editor','fontColor','*Set\x20format\x20to:*\x20%0','isBlock','modifySelection','model','split','getAttributes','TrackChangesEditing','word','*Remove\x20all\x20formatting*','forward','commands','plugins','registerDescriptionCallback','title','fontBackgroundColor','getFirstPosition','afterInit','schema','createSelection','enableCommand','push','get','entries','toUpperCase','join','format','change'];(function(_0x499738,_0x2f7835){const _0x26570f=function(_0x322eda){while(--_0x322eda){_0x499738['push'](_0x499738['shift']());}};_0x26570f(++_0x2f7835);}(_0x2f78,0x199));const _0x2657=function(_0x499738,_0x2f7835){_0x499738=_0x499738-0x0;let _0x26570f=_0x2f78[_0x499738];return _0x26570f;};import{Plugin as _0x5e6649}from'ckeditor5/src/core';import{normalizeColorOptions as _0x47b042}from'ckeditor5/src/ui';import{first as _0x4a7280}from'ckeditor5/src/utils';import{getTranslation as _0x445aa3}from'../utils/common-translations';export default class W extends _0x5e6649{[_0x2657('0x3')](){const _0xb69e7e=this[_0x2657('0x20')],_0x1c65d5=_0xb69e7e[_0x2657('0x25')],_0x290834=_0x1c65d5['document'][_0x2657('0xf')],_0x8bcec8=_0xb69e7e[_0x2657('0x2d')][_0x2657('0x8')](_0x2657('0x28')),_0x141307=_0xb69e7e[_0x2657('0x15')],_0x4d90a3=_0xb69e7e[_0x2657('0x2c')]['get']('copyFormat'),_0x21bc33=_0xb69e7e[_0x2657('0x2c')][_0x2657('0x8')](_0x2657('0x16'));_0x4d90a3&&_0x21bc33&&(_0x8bcec8[_0x2657('0x6')](_0x2657('0x16'),(_0xfc323d,_0x24cc2b={})=>{const _0x5e6037=_0x24cc2b;_0x1c65d5[_0x2657('0xd')](()=>{const _0x20167d=Array[_0x2657('0x1f')](_0x290834[_0x2657('0x1d')]()),_0x30d44b=_0x290834['isCollapsed']?[ro(_0x1c65d5,_0x290834)]:_0x20167d,_0x2c89eb=!!_0x4a7280(function*(_0x2ce97c,_0x30729d){const _0x1bd5e6=_0x512833=>!!_0x4a7280(function*(_0x30953b,_0x5e95bb){for(const [_0x269388]of _0x30953b[_0x2657('0x27')]()){const _0x1da2d2=_0x5e95bb['getAttributeProperties'](_0x269388);_0x1da2d2&&_0x1da2d2[_0x2657('0x1a')]&&(yield _0x269388);}}(_0x512833,_0x30729d));for(const _0x27d297 of _0x2ce97c[_0x2657('0x1d')]())for(const _0x510389 of _0x27d297['getItems']())!_0x30729d[_0x2657('0x23')](_0x510389)&&_0x1bd5e6(_0x510389)&&(yield _0x510389);for(const _0x6d7b97 of _0x2ce97c[_0x2657('0x13')]())_0x1bd5e6(_0x6d7b97)&&(yield _0x6d7b97);_0x1bd5e6(_0x2ce97c)&&(yield _0x2ce97c);}(_0x290834,_0x1c65d5[_0x2657('0x4')]));if(_0x2c89eb||0x0!==Object[_0x2657('0x19')](_0x5e6037)[_0x2657('0xe')])for(const _0x55ba85 of _0x30d44b)_0x8bcec8[_0x2657('0x1c')](_0x55ba85,{'commandName':_0x2657('0x16'),'commandParams':[_0x5e6037]});});}),_0x8bcec8[_0x2657('0x10')][_0x2657('0x2e')](_0x57b081=>{const {data:_0x39f485}=_0x57b081;if(_0x39f485&&_0x2657('0x16')===_0x39f485['commandName']){const _0x206735=[],_0x14abf9=_0x39f485['commandParams'][0x0];for(const [_0x418868,_0x39a6fa]of Object[_0x2657('0x9')](_0x14abf9))_0x206735[_0x2657('0x7')](no(_0xb69e7e,_0x418868,_0x39a6fa));return _0x206735['length']?{'type':_0x2657('0xc'),'content':_0x445aa3(_0x141307,_0x2657('0x22'),_0x206735['join'](',\x20'))}:{'type':_0x2657('0xc'),'content':_0x445aa3(_0x141307,_0x2657('0x2a'))};}}),_0xb69e7e[_0x2657('0x2d')][_0x2657('0x8')](_0x2657('0x28'))[_0x2657('0x6')](_0x2657('0x11')));}}function ro(_0x1ba454,_0x4becb8){const _0x52a2f3=_0x1ba454[_0x2657('0x5')](_0x4becb8);_0x1ba454['modifySelection'](_0x52a2f3,{'unit':_0x2657('0x29'),'direction':'backward'});const _0x4a3e06=_0x52a2f3[_0x2657('0x2')]();_0x1ba454[_0x2657('0x24')](_0x52a2f3,{'unit':_0x2657('0x29'),'direction':_0x2657('0x2b')});const _0xf70c6e=_0x52a2f3['getLastPosition']();return _0x1ba454['createRange'](_0x4a3e06,_0xf70c6e);}function no(_0x22cde0,_0x1ca91b,_0x3d7436){const _0x81319=_0x22cde0[_0x2657('0x15')]['t'],_0x34dee5=_0x1ca91b[_0x2657('0x26')](/(?=[A-Z])/)[_0x2657('0xb')]('\x20'),_0x603732=_0x81319(_0x34dee5[_0x2657('0x17')](0x0)[_0x2657('0xa')]()+_0x34dee5['slice'](0x1))[_0x2657('0x1e')]();if(_0x2657('0x12')==typeof _0x3d7436)return _0x603732;if(_0x2657('0x21')===_0x1ca91b||_0x2657('0x1')===_0x1ca91b){const _0x12d3ed=_0x47b042(_0x22cde0[_0x2657('0x18')][_0x2657('0x8')]('fontColor.colors'))['find'](_0x3a3508=>_0x3a3508['model']==_0x3d7436);return _0x603732+'\x20('+(_0x12d3ed?_0x81319(_0x12d3ed['label'])[_0x2657('0x1e')]():_0x3d7436)+')';}if('fontSize'===_0x1ca91b&&isNaN(parseFloat(_0x3d7436))){const _0x41e90c=_0x22cde0[_0x2657('0x2d')][_0x2657('0x8')]('FontSize')[_0x2657('0x14')](_0x22cde0[_0x2657('0x18')][_0x2657('0x8')](_0x2657('0x1b')))['find'](_0x23d838=>_0x23d838[_0x2657('0x25')]==_0x3d7436);return _0x603732+'\x20('+(_0x41e90c?_0x81319(_0x41e90c[_0x2657('0x0')])[_0x2657('0x1e')]():_0x3d7436)+')';}return _0x603732+'\x20('+_0x3d7436+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3920=['format','registerDescriptionCallback','commandParams','config','registerElementLabel','checkChild','name','plugins','TrackChangesEditing','match','*Change\x20to:*\x20%0','heading.options','change','ELEMENT_HEADING_CUSTOM','heading','enableCommand','_descriptionFactory','commandName','markBlockFormat','get','model','title','find','selection','locale','has','filter','ELEMENT_HEADING','parent','editor','value','formatBlock','afterInit','paragraph'];(function(_0x5a114f,_0x3920f4){const _0x58ff41=function(_0x1ea556){while(--_0x1ea556){_0x5a114f['push'](_0x5a114f['shift']());}};_0x58ff41(++_0x3920f4);}(_0x3920,0x1de));const _0x58ff=function(_0x5a114f,_0x3920f4){_0x5a114f=_0x5a114f-0x0;let _0x58ff41=_0x3920[_0x5a114f];return _0x58ff41;};import{Plugin as _0x376446}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1c7446}from'./utils';import{getTranslation as _0x2f103f}from'../utils/common-translations';export default class J extends _0x376446{[_0x58ff('0x1e')](){const _0x38a94b=this[_0x58ff('0x1b')],_0x389c06=_0x38a94b[_0x58ff('0x16')],_0x2107d7=_0x38a94b[_0x58ff('0x1')][_0x58ff('0x11')](_0x58ff('0x9'));if(!_0x38a94b[_0x58ff('0x5')][_0x58ff('0x17')]('HeadingEditing'))return;const _0x2a2212=_0x38a94b['plugins'][_0x58ff('0x11')](_0x58ff('0x6'));_0x2a2212[_0x58ff('0xd')](_0x58ff('0xc'),(_0x2e365b,_0x2b60d7)=>{const _0x3e8f09=_0x2b60d7[_0x58ff('0x1c')],_0x3da8a7=Array['from'](this[_0x58ff('0x1b')][_0x58ff('0x12')]['document'][_0x58ff('0x15')]['getSelectedBlocks']())[_0x58ff('0x18')](_0x416bb1=>function(_0x192072,_0x15c0fc,_0x29b5c9){return _0x29b5c9[_0x58ff('0x3')](_0x192072[_0x58ff('0x1a')],_0x15c0fc)&&!_0x29b5c9['isObject'](_0x192072)&&_0x192072[_0x58ff('0x4')]!=_0x15c0fc;}(_0x416bb1,_0x3e8f09,this[_0x58ff('0x1b')][_0x58ff('0x12')]['schema']));_0x38a94b[_0x58ff('0x12')][_0x58ff('0xa')](()=>{for(const _0x1352be of _0x3da8a7)_0x2a2212[_0x58ff('0x10')](_0x1352be,{'commandName':_0x58ff('0xc'),'commandParams':[_0x2b60d7],'formatGroupId':'blockName'},_0x1c7446(_0x1352be));});});for(const _0x3f273b of _0x2107d7)_0x58ff('0x1f')!=_0x3f273b[_0x58ff('0x12')]&&_0x2a2212[_0x58ff('0xe')][_0x58ff('0x2')](_0x3f273b[_0x58ff('0x12')],_0x4a1964=>{const _0x535b56=nn(_0x3f273b[_0x58ff('0x12')]);return null!==_0x535b56?_0x14b1d2(_0x4a1964,_0x535b56):_0x2b067b(_0x4a1964,_0x3f273b[_0x58ff('0x13')]);});function _0x14b1d2(_0x4168dd,_0x3f9473){return _0x2f103f(_0x389c06,_0x58ff('0x19'),[_0x4168dd,_0x3f9473]);}function _0x2b067b(_0x30434a,_0x1fddf9){return _0x2f103f(_0x389c06,_0x58ff('0xb'),[_0x30434a,_0x1fddf9]);}_0x2a2212['_descriptionFactory'][_0x58ff('0x21')](_0x28205b=>{const {type:_0x2a6d42,data:_0x4c025}=_0x28205b;if(_0x58ff('0x1d')==_0x2a6d42&&_0x4c025&&_0x58ff('0xc')==_0x4c025[_0x58ff('0xf')]){const _0x164996=_0x4c025[_0x58ff('0x0')][0x0][_0x58ff('0x1c')],_0x3801ab=nn(_0x164996);if(null!==_0x3801ab)return{'type':_0x58ff('0x20'),'content':_0x2f103f(_0x389c06,_0x58ff('0x8'),_0x14b1d2(0x1,_0x3801ab))};const _0x569145=_0x2107d7[_0x58ff('0x14')](_0x51c423=>_0x51c423[_0x58ff('0x12')]===_0x164996)[_0x58ff('0x13')];return{'type':_0x58ff('0x20'),'content':_0x2f103f(_0x389c06,'*Change\x20to:*\x20%0',_0x2b067b(0x1,_0x569145))};}});}}function nn(_0x4bd665){const _0x4b163a=_0x4bd665[_0x58ff('0x7')](/^heading(\d+)$/);return _0x4b163a?_0x4b163a[0x1]:null;}
23
+ const _0x191d=['filter','selection','format','value','schema','TrackChangesEditing','registerDescriptionCallback','formatBlock','model','isObject','from','enableCommand','plugins','commandParams','registerElementLabel','document','get','_descriptionFactory','afterInit','blockName','match','name','*Change\x20to:*\x20%0','heading.options','getSelectedBlocks','title','paragraph','checkChild','find','heading','editor','config'];(function(_0x433156,_0x191ddb){const _0x2ee29e=function(_0x10ea67){while(--_0x10ea67){_0x433156['push'](_0x433156['shift']());}};_0x2ee29e(++_0x191ddb);}(_0x191d,0x17e));const _0x2ee2=function(_0x433156,_0x191ddb){_0x433156=_0x433156-0x0;let _0x2ee29e=_0x191d[_0x433156];return _0x2ee29e;};import{Plugin as _0x77ecff}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x15b868}from'./utils';import{getTranslation as _0x1384b9}from'../utils/common-translations';export default class J extends _0x77ecff{[_0x2ee2('0x14')](){const _0x1e5c43=this['editor'],_0x9bd746=_0x1e5c43['locale'],_0xc97340=_0x1e5c43[_0x2ee2('0x1')][_0x2ee2('0x12')](_0x2ee2('0x19'));if(!_0x1e5c43[_0x2ee2('0xe')]['has']('HeadingEditing'))return;const _0x35537b=_0x1e5c43['plugins']['get'](_0x2ee2('0x7'));_0x35537b[_0x2ee2('0xd')](_0x2ee2('0x1f'),(_0x5f27a4,_0x5afb37)=>{const _0x4ab4eb=_0x5afb37[_0x2ee2('0x5')],_0x193a87=Array[_0x2ee2('0xc')](this[_0x2ee2('0x0')]['model'][_0x2ee2('0x11')][_0x2ee2('0x3')][_0x2ee2('0x1a')]())[_0x2ee2('0x2')](_0x2626eb=>function(_0x415a30,_0xdce731,_0x48ba71){return _0x48ba71[_0x2ee2('0x1d')](_0x415a30['parent'],_0xdce731)&&!_0x48ba71[_0x2ee2('0xb')](_0x415a30)&&_0x415a30[_0x2ee2('0x17')]!=_0xdce731;}(_0x2626eb,_0x4ab4eb,this[_0x2ee2('0x0')][_0x2ee2('0xa')][_0x2ee2('0x6')]));_0x1e5c43[_0x2ee2('0xa')]['change'](()=>{for(const _0x5bf76e of _0x193a87)_0x35537b['markBlockFormat'](_0x5bf76e,{'commandName':'heading','commandParams':[_0x5afb37],'formatGroupId':_0x2ee2('0x15')},_0x15b868(_0x5bf76e));});});for(const _0x1b8828 of _0xc97340)_0x2ee2('0x1c')!=_0x1b8828[_0x2ee2('0xa')]&&_0x35537b[_0x2ee2('0x13')][_0x2ee2('0x10')](_0x1b8828[_0x2ee2('0xa')],_0x3ebdea=>{const _0x21f0a7=nn(_0x1b8828[_0x2ee2('0xa')]);return null!==_0x21f0a7?_0x2ce6c7(_0x3ebdea,_0x21f0a7):_0x13e374(_0x3ebdea,_0x1b8828[_0x2ee2('0x1b')]);});function _0x2ce6c7(_0xe1b8d9,_0x1efc50){return _0x1384b9(_0x9bd746,'ELEMENT_HEADING',[_0xe1b8d9,_0x1efc50]);}function _0x13e374(_0x1f13e2,_0x4183c6){return _0x1384b9(_0x9bd746,'ELEMENT_HEADING_CUSTOM',[_0x1f13e2,_0x4183c6]);}_0x35537b[_0x2ee2('0x13')][_0x2ee2('0x8')](_0x2cc45e=>{const {type:_0x2eba0f,data:_0x2237f2}=_0x2cc45e;if(_0x2ee2('0x9')==_0x2eba0f&&_0x2237f2&&'heading'==_0x2237f2['commandName']){const _0x262bec=_0x2237f2[_0x2ee2('0xf')][0x0][_0x2ee2('0x5')],_0x34cb50=nn(_0x262bec);if(null!==_0x34cb50)return{'type':_0x2ee2('0x4'),'content':_0x1384b9(_0x9bd746,'*Change\x20to:*\x20%0',_0x2ce6c7(0x1,_0x34cb50))};const _0x599478=_0xc97340[_0x2ee2('0x1e')](_0x3867b1=>_0x3867b1[_0x2ee2('0xa')]===_0x262bec)[_0x2ee2('0x1b')];return{'type':_0x2ee2('0x4'),'content':_0x1384b9(_0x9bd746,_0x2ee2('0x18'),_0x13e374(0x1,_0x599478))};}});}}function nn(_0x2b5b63){const _0xdb426=_0x2b5b63[_0x2ee2('0x16')](/^heading(\d+)$/);return _0xdb426?_0xdb426[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d18=['TrackChangesEditing','enableCommand','registerDescriptionCallback','locale','_descriptionFactory','color','push','value','getLastMatchingPosition','createRange','*Set\x20highlight:*\x20%0','commandParams','document','model','config','get','HighlightEditing','plugins','change','format','selection','isCollapsed','commandName','editor','formatInline','find','getAttribute','highlight','highlight.options','afterInit','toLowerCase','markInlineFormat'];(function(_0xc54479,_0x2d18c0){const _0x366649=function(_0x44b450){while(--_0x44b450){_0xc54479['push'](_0xc54479['shift']());}};_0x366649(++_0x2d18c0);}(_0x2d18,0x97));const _0x3666=function(_0xc54479,_0x2d18c0){_0xc54479=_0xc54479-0x0;let _0x366649=_0x2d18[_0xc54479];return _0x366649;};import{Plugin as _0x330db6}from'ckeditor5/src/core';import{getTranslation as _0x3525d7}from'../utils/common-translations';import{getRangesWithAttribute as _0x4e5cbe}from'./utils';export default class K extends _0x330db6{[_0x3666('0x6')](){const _0x4d63f5=this[_0x3666('0x0')];if(!_0x4d63f5[_0x3666('0x1a')]['has'](_0x3666('0x19')))return;const _0x1cf281=_0x4d63f5[_0x3666('0x1a')]['get'](_0x3666('0x9'));_0x1cf281[_0x3666('0xa')](_0x3666('0x4'),(_0x4432af,_0x1e36b5={})=>{const _0x1b1fce=_0x4d63f5[_0x3666('0x16')][_0x3666('0x15')][_0x3666('0x1d')],_0x49650f=_0x1b1fce[_0x3666('0x3')](_0x3666('0x4'));let _0x9ff7ef=_0x1e36b5[_0x3666('0x10')],_0x165afe=[];if(_0x1b1fce[_0x3666('0x1e')]){const _0x5b5680=_0x1b1fce['getFirstPosition']();if(!_0x1b1fce['hasAttribute']('highlight'))return void _0x4432af(_0x1e36b5);{const _0x508aff=_0x4b8c0d=>_0x4b8c0d['item'][_0x3666('0x3')](_0x3666('0x4'))===_0x49650f,_0x39e441=_0x5b5680[_0x3666('0x11')](_0x508aff,{'direction':'backward'}),_0x2a203b=_0x5b5680[_0x3666('0x11')](_0x508aff);_0x165afe=[_0x4d63f5[_0x3666('0x16')][_0x3666('0x12')](_0x39e441,_0x2a203b)],_0x9ff7ef==_0x49650f&&(_0x9ff7ef=null);}}else for(const _0x25469b of _0x1b1fce['getRanges']())_0x9ff7ef?_0x165afe['push'](_0x25469b):_0x165afe[_0x3666('0xf')](..._0x4e5cbe(_0x3666('0x4'),_0x25469b,_0x4d63f5[_0x3666('0x16')]));_0x4d63f5[_0x3666('0x16')][_0x3666('0x1b')](()=>{for(const _0x5ec261 of _0x165afe)_0x1cf281[_0x3666('0x8')](_0x5ec261,{'commandName':_0x3666('0x4'),'commandParams':[{'value':_0x9ff7ef}]});});});const _0x545e34=_0x4d63f5[_0x3666('0xc')];_0x1cf281[_0x3666('0xd')][_0x3666('0xb')](_0x4d2f17=>{const {type:_0x426759,data:_0x21465e}=_0x4d2f17;if(_0x3666('0x1')==_0x426759&&_0x21465e&&_0x3666('0x4')==_0x21465e[_0x3666('0x1f')]){const _0x1024e9=_0x545e34['t'],_0x50ca32=_0x21465e[_0x3666('0x14')][0x0][_0x3666('0x10')];if(_0x50ca32){const _0x290952=_0x4d63f5[_0x3666('0x17')][_0x3666('0x18')](_0x3666('0x5'))[_0x3666('0x2')](_0x4a25e9=>_0x4a25e9[_0x3666('0x16')]==_0x50ca32),_0x5e99a9=_0x1024e9(_0x290952['title'])[_0x3666('0x7')]();return{'type':_0x3666('0x1c'),'content':_0x3525d7(_0x545e34,_0x3666('0x13'),_0x5e99a9),'color':{'value':_0x290952[_0x3666('0xe')],'title':_0x290952['title']}};}return{'type':_0x3666('0x1c'),'content':_0x3525d7(_0x545e34,'*Remove\x20highlight*',_0x3525d7(_0x545e34,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x10c3=['*Set\x20highlight:*\x20%0','registerDescriptionCallback','document','change','getFirstPosition','plugins','highlight.options','has','highlight','value','FORMAT_HIGHLIGHT','getAttribute','item','editor','format','backward','afterInit','_descriptionFactory','color','formatInline','get','isCollapsed','getLastMatchingPosition','commandParams','config','selection','push','find','model','commandName','title','*Remove\x20highlight*','locale','createRange','markInlineFormat','hasAttribute'];(function(_0x75a3ce,_0x10c337){const _0x2a6351=function(_0x53814a){while(--_0x53814a){_0x75a3ce['push'](_0x75a3ce['shift']());}};_0x2a6351(++_0x10c337);}(_0x10c3,0x82));const _0x2a63=function(_0x75a3ce,_0x10c337){_0x75a3ce=_0x75a3ce-0x0;let _0x2a6351=_0x10c3[_0x75a3ce];return _0x2a6351;};import{Plugin as _0xe4f22f}from'ckeditor5/src/core';import{getTranslation as _0x123aab}from'../utils/common-translations';import{getRangesWithAttribute as _0x55c5bf}from'./utils';export default class K extends _0xe4f22f{[_0x2a63('0x1e')](){const _0x1b4da1=this[_0x2a63('0x1b')];if(!_0x1b4da1[_0x2a63('0x13')][_0x2a63('0x15')]('HighlightEditing'))return;const _0x43197c=_0x1b4da1[_0x2a63('0x13')][_0x2a63('0x22')]('TrackChangesEditing');_0x43197c['enableCommand'](_0x2a63('0x16'),(_0x193f4d,_0x3b7cfb={})=>{const _0x3ed812=_0x1b4da1[_0x2a63('0x6')][_0x2a63('0x10')][_0x2a63('0x3')],_0x2aad8a=_0x3ed812[_0x2a63('0x19')](_0x2a63('0x16'));let _0x242747=_0x3b7cfb[_0x2a63('0x17')],_0x26351c=[];if(_0x3ed812[_0x2a63('0x23')]){const _0x53ed29=_0x3ed812[_0x2a63('0x12')]();if(!_0x3ed812[_0x2a63('0xd')](_0x2a63('0x16')))return void _0x193f4d(_0x3b7cfb);{const _0x2fba23=_0x173d7c=>_0x173d7c[_0x2a63('0x1a')][_0x2a63('0x19')](_0x2a63('0x16'))===_0x2aad8a,_0xf5efac=_0x53ed29[_0x2a63('0x0')](_0x2fba23,{'direction':_0x2a63('0x1d')}),_0xbd6c07=_0x53ed29[_0x2a63('0x0')](_0x2fba23);_0x26351c=[_0x1b4da1[_0x2a63('0x6')][_0x2a63('0xb')](_0xf5efac,_0xbd6c07)],_0x242747==_0x2aad8a&&(_0x242747=null);}}else for(const _0xf7ac62 of _0x3ed812['getRanges']())_0x242747?_0x26351c['push'](_0xf7ac62):_0x26351c[_0x2a63('0x4')](..._0x55c5bf(_0x2a63('0x16'),_0xf7ac62,_0x1b4da1['model']));_0x1b4da1['model'][_0x2a63('0x11')](()=>{for(const _0x2d1372 of _0x26351c)_0x43197c[_0x2a63('0xc')](_0x2d1372,{'commandName':'highlight','commandParams':[{'value':_0x242747}]});});});const _0x58828c=_0x1b4da1[_0x2a63('0xa')];_0x43197c[_0x2a63('0x1f')][_0x2a63('0xf')](_0x175951=>{const {type:_0x422bf8,data:_0x2f030e}=_0x175951;if(_0x2a63('0x21')==_0x422bf8&&_0x2f030e&&_0x2a63('0x16')==_0x2f030e[_0x2a63('0x7')]){const _0x30be6c=_0x58828c['t'],_0x23ab1c=_0x2f030e[_0x2a63('0x1')][0x0][_0x2a63('0x17')];if(_0x23ab1c){const _0x4ddae6=_0x1b4da1[_0x2a63('0x2')][_0x2a63('0x22')](_0x2a63('0x14'))[_0x2a63('0x5')](_0x5dfab0=>_0x5dfab0[_0x2a63('0x6')]==_0x23ab1c),_0x37d885=_0x30be6c(_0x4ddae6['title'])['toLowerCase']();return{'type':_0x2a63('0x1c'),'content':_0x123aab(_0x58828c,_0x2a63('0xe'),_0x37d885),'color':{'value':_0x4ddae6[_0x2a63('0x20')],'title':_0x4ddae6[_0x2a63('0x8')]}};}return{'type':'format','content':_0x123aab(_0x58828c,_0x2a63('0x9'),_0x123aab(_0x58828c,_0x2a63('0x18')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20ff=['get','HorizontalLineEditing','ELEMENT_HORIZONTAL_LINE','conversion','editor','createContainerElement','createPositionAt','elementToStructure','locale','for','afterInit','registerElementLabel','horizontalLine','has','dataDowncast','_descriptionFactory','ck-horizontal-line','enableCommand','plugins','div','TrackChangesEditing','createEmptyElement'];(function(_0x64bb5a,_0x20ffa8){const _0x2d6fc9=function(_0x244703){while(--_0x244703){_0x64bb5a['push'](_0x64bb5a['shift']());}};_0x2d6fc9(++_0x20ffa8);}(_0x20ff,0x7e));const _0x2d6f=function(_0x64bb5a,_0x20ffa8){_0x64bb5a=_0x64bb5a-0x0;let _0x2d6fc9=_0x20ff[_0x64bb5a];return _0x2d6fc9;};import{Plugin as _0x20cb26}from'ckeditor5/src/core';import{getTranslation as _0xd3034c}from'../utils/common-translations';export default class Q extends _0x20cb26{[_0x2d6f('0x10')](){const _0x1c7ba3=this[_0x2d6f('0xa')];if(!_0x1c7ba3[_0x2d6f('0x2')][_0x2d6f('0x13')](_0x2d6f('0x7')))return;_0x1c7ba3[_0x2d6f('0x2')]['get'](_0x2d6f('0x4'))[_0x2d6f('0x1')]('horizontalLine');const _0x758aad=_0x1c7ba3[_0x2d6f('0x2')][_0x2d6f('0x6')](_0x2d6f('0x4')),_0x451ac0=_0x1c7ba3[_0x2d6f('0xe')];_0x758aad[_0x2d6f('0x15')][_0x2d6f('0x11')](_0x2d6f('0x12'),_0x1c46d5=>_0xd3034c(_0x451ac0,_0x2d6f('0x8'),_0x1c46d5)),_0x1c7ba3[_0x2d6f('0x9')][_0x2d6f('0xf')](_0x2d6f('0x14'))[_0x2d6f('0xd')]({'model':_0x2d6f('0x12'),'view':(_0x317702,{writer:_0x1f6ae3,options:_0x5b3f4d})=>{if(!_0x5b3f4d['showSuggestionHighlights'])return null;const _0x38fbc6=_0x1f6ae3[_0x2d6f('0xb')](_0x2d6f('0x3')),_0x5058d5=_0x1f6ae3[_0x2d6f('0x5')]('hr');return _0x1f6ae3['addClass'](_0x2d6f('0x0'),_0x38fbc6),_0x1f6ae3['insert'](_0x1f6ae3[_0x2d6f('0xc')](_0x38fbc6,0x0),_0x5058d5),_0x38fbc6;},'converterPriority':'high'});}}
23
+ const _0x25e6=['addClass','createEmptyElement','get','for','elementToStructure','showSuggestionHighlights','ck-horizontal-line','locale','insert','conversion','editor','high','horizontalLine','ELEMENT_HORIZONTAL_LINE','TrackChangesEditing','createPositionAt','plugins','createContainerElement','HorizontalLineEditing'];(function(_0x3dec08,_0x25e611){const _0x2f26ef=function(_0x43f6ca){while(--_0x43f6ca){_0x3dec08['push'](_0x3dec08['shift']());}};_0x2f26ef(++_0x25e611);}(_0x25e6,0x74));const _0x2f26=function(_0x3dec08,_0x25e611){_0x3dec08=_0x3dec08-0x0;let _0x2f26ef=_0x25e6[_0x3dec08];return _0x2f26ef;};import{Plugin as _0x494707}from'ckeditor5/src/core';import{getTranslation as _0x1b019b}from'../utils/common-translations';export default class Q extends _0x494707{['afterInit'](){const _0x32477f=this[_0x2f26('0x8')];if(!_0x32477f[_0x2f26('0xe')]['has'](_0x2f26('0x10')))return;_0x32477f[_0x2f26('0xe')]['get'](_0x2f26('0xc'))['enableCommand'](_0x2f26('0xa'));const _0xb99fcf=_0x32477f[_0x2f26('0xe')][_0x2f26('0x0')](_0x2f26('0xc')),_0x25066d=_0x32477f[_0x2f26('0x5')];_0xb99fcf['_descriptionFactory']['registerElementLabel'](_0x2f26('0xa'),_0x4a8cae=>_0x1b019b(_0x25066d,_0x2f26('0xb'),_0x4a8cae)),_0x32477f[_0x2f26('0x7')][_0x2f26('0x1')]('dataDowncast')[_0x2f26('0x2')]({'model':_0x2f26('0xa'),'view':(_0x57c378,{writer:_0x5b5049,options:_0x2cb245})=>{if(!_0x2cb245[_0x2f26('0x3')])return null;const _0x1e6bbc=_0x5b5049[_0x2f26('0xf')]('div'),_0x58955a=_0x5b5049[_0x2f26('0x12')]('hr');return _0x5b5049[_0x2f26('0x11')](_0x2f26('0x4'),_0x1e6bbc),_0x5b5049[_0x2f26('0x6')](_0x5b5049[_0x2f26('0xd')](_0x1e6bbc,0x0),_0x58955a),_0x1e6bbc;},'converterPriority':_0x2f26('0x9')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d63=['htmlEmbed','model','format','selection','editor','getAttribute','getCustomProperty','rawHtml','_descriptionFactory','rawHtmlApi','afterInit','value','commandName','*Change\x20%0\x20content*','TrackChangesEditing','registerElementLabel','ELEMENT_HTML_EMBED','markBlockFormat','enableCommand','document','HtmlEmbed','getSelectedElement','plugins','view','has','get','editing','change'];(function(_0x173d8a,_0x5d63d8){const _0x1f0472=function(_0x5c8329){while(--_0x5c8329){_0x173d8a['push'](_0x173d8a['shift']());}};_0x1f0472(++_0x5d63d8);}(_0x5d63,0x6a));const _0x1f04=function(_0x173d8a,_0x5d63d8){_0x173d8a=_0x173d8a-0x0;let _0x1f0472=_0x5d63[_0x173d8a];return _0x1f0472;};import{Plugin as _0xf37ff8}from'ckeditor5/src/core';import{getTranslation as _0x5d1fc4}from'../utils/common-translations';export default class V extends _0xf37ff8{[_0x1f04('0x10')](){const _0x1f4013=this[_0x1f04('0xa')];if(!_0x1f4013[_0x1f04('0x0')][_0x1f04('0x2')](_0x1f04('0x1a')))return;const _0x148417=_0x1f4013[_0x1f04('0x0')][_0x1f04('0x3')](_0x1f04('0x14')),_0x3f6ed5=_0x1f4013['locale'],_0x22ebaf=_0x1f4013[_0x1f04('0x4')][_0x1f04('0x1')][_0x1f04('0x19')]['selection'];_0x148417['_descriptionFactory'][_0x1f04('0x15')](_0x1f04('0xd'),_0x5459ef=>_0x5d1fc4(_0x3f6ed5,_0x1f04('0x16'),_0x5459ef)),_0x1f4013[_0x1f04('0x0')]['get'](_0x1f04('0x14'))[_0x1f04('0x18')](_0x1f04('0x6'),(_0x52b277,_0x4e3e88)=>{const _0x4bc8a4=_0x1f4013[_0x1f04('0x7')],_0x26b847=_0x4bc8a4[_0x1f04('0x19')][_0x1f04('0x9')];_0x4bc8a4[_0x1f04('0x5')](()=>{const _0x5db1e9=function(_0x14b1e5){const _0x5a5e2e=_0x14b1e5[_0x1f04('0x1b')]();if(_0x5a5e2e&&_0x5a5e2e['is']('element',_0x1f04('0xd')))return _0x14b1e5[_0x1f04('0x1b')]();return null;}(_0x26b847);if(!_0x5db1e9)return void _0x52b277(null);const _0x3feb07=_0x5db1e9[_0x1f04('0xb')](_0x1f04('0x11'))||'';if(void 0x0===_0x4e3e88)return;if(_0x4e3e88===_0x3feb07)return;_0x148417[_0x1f04('0x17')](_0x5db1e9,{'commandName':_0x1f04('0x6'),'commandParams':[_0x4e3e88]}),_0x22ebaf[_0x1f04('0x1b')]()[_0x1f04('0xc')](_0x1f04('0xf'))['cancel']();});}),_0x148417[_0x1f04('0xe')]['registerDescriptionCallback'](_0xbaa5ed=>{const {data:_0x1076f7}=_0xbaa5ed;if(_0x1076f7&&_0x1f04('0x6')==_0x1076f7[_0x1f04('0x12')]){const _0x4919f1=_0x5d1fc4(_0x3f6ed5,_0x1f04('0x16'));return{'type':_0x1f04('0x8'),'content':_0x5d1fc4(_0x3f6ed5,_0x1f04('0x13'),_0x4919f1)};}});}}
23
+ const _0x358a=['element','format','htmlEmbed','model','commandName','*Change\x20%0\x20content*','afterInit','locale','enableCommand','getCustomProperty','selection','rawHtml','editing','get','has','getSelectedElement','value','view','TrackChangesEditing','editor','ELEMENT_HTML_EMBED','_descriptionFactory','registerDescriptionCallback','plugins'];(function(_0x382ec6,_0x358ab5){const _0x2d1e2c=function(_0x58621e){while(--_0x58621e){_0x382ec6['push'](_0x382ec6['shift']());}};_0x2d1e2c(++_0x358ab5);}(_0x358a,0x150));const _0x2d1e=function(_0x382ec6,_0x358ab5){_0x382ec6=_0x382ec6-0x0;let _0x2d1e2c=_0x358a[_0x382ec6];return _0x2d1e2c;};import{Plugin as _0x598e17}from'ckeditor5/src/core';import{getTranslation as _0x315fd4}from'../utils/common-translations';export default class V extends _0x598e17{[_0x2d1e('0x6')](){const _0x3ed3fa=this[_0x2d1e('0x13')];if(!_0x3ed3fa[_0x2d1e('0x17')][_0x2d1e('0xe')]('HtmlEmbed'))return;const _0x1ce29b=_0x3ed3fa[_0x2d1e('0x17')][_0x2d1e('0xd')](_0x2d1e('0x12')),_0x5234a5=_0x3ed3fa[_0x2d1e('0x7')],_0xb5b40b=_0x3ed3fa[_0x2d1e('0xc')][_0x2d1e('0x11')]['document'][_0x2d1e('0xa')];_0x1ce29b['_descriptionFactory']['registerElementLabel'](_0x2d1e('0xb'),_0x294280=>_0x315fd4(_0x5234a5,_0x2d1e('0x14'),_0x294280)),_0x3ed3fa[_0x2d1e('0x17')][_0x2d1e('0xd')]('TrackChangesEditing')[_0x2d1e('0x8')](_0x2d1e('0x2'),(_0x5c6fa8,_0x66e85b)=>{const _0x4dd3ca=_0x3ed3fa[_0x2d1e('0x3')],_0x33fe34=_0x4dd3ca['document'][_0x2d1e('0xa')];_0x4dd3ca['change'](()=>{const _0x2b1edb=function(_0x367a77){const _0x262f64=_0x367a77['getSelectedElement']();if(_0x262f64&&_0x262f64['is'](_0x2d1e('0x0'),_0x2d1e('0xb')))return _0x367a77[_0x2d1e('0xf')]();return null;}(_0x33fe34);if(!_0x2b1edb)return void _0x5c6fa8(null);const _0x1c714a=_0x2b1edb['getAttribute'](_0x2d1e('0x10'))||'';if(void 0x0===_0x66e85b)return;if(_0x66e85b===_0x1c714a)return;_0x1ce29b['markBlockFormat'](_0x2b1edb,{'commandName':_0x2d1e('0x2'),'commandParams':[_0x66e85b]}),_0xb5b40b['getSelectedElement']()[_0x2d1e('0x9')]('rawHtmlApi')['cancel']();});}),_0x1ce29b[_0x2d1e('0x15')][_0x2d1e('0x16')](_0x484edd=>{const {data:_0x502f63}=_0x484edd;if(_0x502f63&&_0x2d1e('0x2')==_0x502f63[_0x2d1e('0x4')]){const _0x215c2d=_0x315fd4(_0x5234a5,'ELEMENT_HTML_EMBED');return{'type':_0x2d1e('0x1'),'content':_0x315fd4(_0x5234a5,_0x2d1e('0x5'),_0x215c2d)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d82=['registerDescriptionCallback','addObject','discard','toNext','has','side','Inline\x20image\x20to\x20block\x20image','caption','insertion','createRange','ImageCaptionEditing','getSuggestionCallback','commandName','isInContent','*Format:*\x20%0','deletion','refresh','getSuggestion','suggestion','nodeAfter','imageStylePostApply','next','Block\x20image\x20to\x20inline\x20image','discardSuggestion','toPrevious','*Remove\x20image\x20text\x20alternative*','differ','imageStyle','getClosestSelectedImageElement','title','*Reset\x20image\x20width*','isInlineImage','getAttribute','ImageResize','forceDefaultExecution','enableCommand','isBlockImage','afterInit','newRange','accept','formatInline','imageCaption','newValue','ImageBlockEditing','shouldConvertImageType','commandParams','getNearestSelectionRange','model','*Set\x20image\x20text\x20alternative:*\x20%0','imageBlock','isEqual','end','subType','_suggestionFactory','hasSuggestion','fromPosition','imageInline','backward','imageTextAlternative','ImageEditing','ELEMENT_INLINE_IMAGE','isBefore','plugins','author','registerElementLabel','markDeletion','normalizedStyles','registerCustomCallback','*Set\x20image\x20width:*\x20%0','imageTypeBlock','head','value','name','getContainedElement','resizeImage','convertBlockImageToInline','FORMAT_SIDE_IMAGE','getFirstRange','detach','convertInlineImageToBlock','insertImage','start','ELEMENT_IMAGE','format','from','_descriptionFactory','chain','Users','ImageInlineEditing','join','get','ELEMENT_CAPTION','selection','getCaptionFromImageModelElement','document','isCollapsed','findIndex','width','removeObject','markBlockFormat','type','alt','isIntersecting','createRangeOn','formatBlock','forEach','filter','change','getChangedMarkers','commands','_findSuggestions','imageTypeInline','element','_splitMarkerName','imageStylePreApply','nodeBefore','registerPostFixer','ImageStyleEditing'];(function(_0x377b0d,_0x4d8280){const _0x2fc7b2=function(_0x4d82b3){while(--_0x4d82b3){_0x377b0d['push'](_0x377b0d['shift']());}};_0x2fc7b2(++_0x4d8280);}(_0x4d82,0x14d));const _0x2fc7=function(_0x377b0d,_0x4d8280){_0x377b0d=_0x377b0d-0x0;let _0x2fc7b2=_0x4d82[_0x377b0d];return _0x2fc7b2;};import{Plugin as _0x5d2a3f}from'ckeditor5/src/core';import{LivePosition as _0x1bece3}from'ckeditor5/src/engine';import{uid as _0x5c66fa}from'ckeditor5/src/utils';import{getTranslation as _0x40b7f7}from'../utils/common-translations';export default class X extends _0x5d2a3f{[_0x2fc7('0x3a')](){const _0x15727b=this['editor'];if(!_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x19')](_0x2fc7('0x50')))return;const _0x2773da=_0x15727b[_0x2fc7('0x53')]['get']('TrackChangesEditing'),_0x437f58=_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x6f')]('ImageUtils'),_0x79f187={},_0x182dd1=_0x15727b['locale'];if(_0x2773da[_0x2fc7('0x38')](_0x2fc7('0x65')),_0x2773da[_0x2fc7('0x6a')][_0x2fc7('0x55')](_0x2fc7('0x46'),_0x3b2a81=>_0x40b7f7(_0x182dd1,_0x2fc7('0x67'),_0x3b2a81)),_0x2773da['_descriptionFactory']['registerElementLabel'](_0x2fc7('0x4d'),_0x39f54d=>_0x40b7f7(_0x182dd1,_0x2fc7('0x51'),_0x39f54d)),_0x2773da[_0x2fc7('0x6a')][_0x2fc7('0x55')]('caption',()=>_0x40b7f7(_0x182dd1,_0x2fc7('0x70'))),_0x15727b['plugins'][_0x2fc7('0x19')]('ImageUploadEditing')&&_0x2773da['enableCommand']('uploadImage'),_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x19')](_0x2fc7('0x40'))&&_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x19')](_0x2fc7('0x6d'))&&(_0x2773da[_0x2fc7('0x38')](_0x2fc7('0xe'),(_0x257b5f,_0x3e5fc9)=>{const _0x3b8d61=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]);_0x15727b[_0x2fc7('0x44')][_0x2fc7('0xa')](()=>{_0x2773da[_0x2fc7('0x2')](_0x3b8d61,{'commandName':_0x2fc7('0xe'),'commandParams':[_0x3e5fc9]},[],_0x2fc7('0x60'));});}),_0x2773da[_0x2fc7('0x38')](_0x2fc7('0x5a'),(_0x10f649,_0x33bbbf)=>{_0x15727b[_0x2fc7('0x44')]['change'](_0x3c8939=>{let _0x381931=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x3821bb=_0x3c8939['createRangeOn'](_0x381931);const _0x4e6b9d=_0x1bece3[_0x2fc7('0x4c')](_0x3821bb[_0x2fc7('0x66')],_0x2fc7('0x2d')),_0x1a412f=_0x1bece3[_0x2fc7('0x4c')](_0x3821bb['end'],_0x2fc7('0x18'));_0x2773da[_0x2fc7('0x37')](()=>_0x10f649(_0x33bbbf)),_0x381931=_0x437f58['getClosestSelectedImageElement'](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')]['selection']),_0x3821bb=_0x3c8939[_0x2fc7('0x6')](_0x381931);const _0x1deafd=_0x3c8939[_0x2fc7('0x1e')](_0x4e6b9d,_0x1a412f);_0x4e6b9d[_0x2fc7('0x63')](),_0x1a412f[_0x2fc7('0x63')](),_0x2773da[_0x2fc7('0x2')](_0x381931,{'commandName':_0x2fc7('0xe'),'commandParams':[]},[],_0x2fc7('0x64')),_0x1deafd[_0x2fc7('0x66')][_0x2fc7('0x52')](_0x3821bb[_0x2fc7('0x66')])&&_0x2773da['markInsertion'](_0x3c8939[_0x2fc7('0x1e')](_0x1deafd[_0x2fc7('0x66')],_0x3821bb[_0x2fc7('0x66')]),_0x2fc7('0x64')),_0x3821bb['end']['isBefore'](_0x1deafd['end'])&&_0x2773da['markInsertion'](_0x3c8939[_0x2fc7('0x1e')](_0x3821bb[_0x2fc7('0x48')],_0x1deafd[_0x2fc7('0x48')]),_0x2fc7('0x64'));});}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x7'),_0x2fc7('0x64'),_0x2fc7('0x6e'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x7'),_0x2fc7('0x64'),_0x2fc7('0x3c'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')]('formatBlock','convertInlineImageToBlock',_0x2fc7('0x17'),_0x2773da['_suggestionFactory']['getSuggestionCallback'](_0x2fc7('0x7'),'',_0x2fc7('0x3c'))),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x1d'),_0x2fc7('0x64'),_0x2fc7('0x6e'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')]('insertion',_0x2fc7('0x64'),'discard',([_0x40e4e0])=>{const _0x37ad61=_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x20')](_0x2fc7('0x1d'),'','discard');let _0x4448f0=_0x40e4e0[_0x2fc7('0x66')],_0x46a65d=_0x40e4e0[_0x2fc7('0x48')];const _0x13d616=_0x15727b[_0x2fc7('0x44')]['schema'][_0x2fc7('0x43')](_0x4448f0,_0x2fc7('0x4e')),_0x21d8fe=_0x15727b[_0x2fc7('0x44')]['schema'][_0x2fc7('0x43')](_0x46a65d,'forward');_0x13d616[_0x2fc7('0x74')]&&(_0x4448f0=_0x13d616[_0x2fc7('0x66')]),_0x21d8fe[_0x2fc7('0x74')]&&(_0x46a65d=_0x21d8fe[_0x2fc7('0x48')]),_0x37ad61([_0x15727b[_0x2fc7('0x44')]['createRange'](_0x4448f0,_0x46a65d)]);}),_0x2773da['_suggestionFactory'][_0x2fc7('0x58')](_0x2fc7('0x7'),_0x2fc7('0x64'),'chain',_0x26c7a9),_0x2773da['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock',_0x2fc7('0x6b'),_0x26c7a9)),_0x15727b['plugins'][_0x2fc7('0x19')](_0x2fc7('0x1f'))&&(_0x2773da[_0x2fc7('0x38')]('toggleImageCaption',(_0x5d25be,_0x1c0fde)=>{const _0x4ef467=_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x6f')]('ImageCaptionUtils');let _0x484975=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x298ba1=_0x4ef467[_0x2fc7('0x72')](_0x484975);_0x15727b[_0x2fc7('0x44')]['change'](()=>{if(_0x298ba1)return void _0x2773da[_0x2fc7('0x56')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x6')](_0x298ba1));const _0x33ea79=_0x437f58[_0x2fc7('0x39')](_0x484975);_0x5d25be(_0x1c0fde),_0x484975=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x298ba1=_0x4ef467[_0x2fc7('0x72')](_0x484975),_0x2773da['markInsertion'](_0x15727b['model'][_0x2fc7('0x6')](_0x298ba1),_0x33ea79?null:_0x2fc7('0x3e'));});}),_0x2773da['_suggestionFactory'][_0x2fc7('0x58')](_0x2fc7('0x1d'),_0x2fc7('0x3e'),_0x2fc7('0x6b'),_0x26c7a9)),_0x15727b['plugins']['has'](_0x2fc7('0x14'))){_0x2773da[_0x2fc7('0x38')]('imageStyle',(_0x4b043e,_0x2d6ac4)=>{const _0x317bcb=_0x15727b[_0x2fc7('0x53')][_0x2fc7('0x6f')](_0x2fc7('0x6c'))['me'],_0x50bb83=_0x15727b[_0x2fc7('0xc')][_0x2fc7('0x6f')]('imageStyle');let _0x129dc2=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x32e8b5=_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x6')](_0x129dc2),_0x52cba2=_0x50bb83[_0x2fc7('0x5c')];if(_0x52cba2==_0x2d6ac4[_0x2fc7('0x5c')])return;const _0x205755={'commandName':_0x2fc7('0x30'),'commandParams':[_0x2d6ac4],'formatGroupId':_0x5c66fa()};_0x15727b[_0x2fc7('0x44')]['change'](()=>{if(_0x2773da['getSuggestions']()[_0x2fc7('0x9')](_0x553c3d=>_0x553c3d[_0x2fc7('0x22')]&&_0x317bcb==_0x553c3d[_0x2fc7('0x54')]&&(_0x2fc7('0x7')==_0x553c3d[_0x2fc7('0x3')]||'formatInline'==_0x553c3d['type'])&&(_0x2fc7('0x11')==_0x553c3d[_0x2fc7('0x49')]||_0x2fc7('0x29')==_0x553c3d[_0x2fc7('0x49')])&&_0x553c3d[_0x2fc7('0x62')]()[_0x2fc7('0x47')](_0x32e8b5))[_0x2fc7('0x8')](_0x3a561f=>_0x2773da[_0x2fc7('0x2c')](_0x3a561f[_0x2fc7('0x5b')])),_0x129dc2=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x71')]),_0x32e8b5=_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x6')](_0x129dc2),_0x50bb83[_0x2fc7('0x25')](),_0x15727b['commands'][_0x2fc7('0x6f')](_0x2fc7('0xe'))[_0x2fc7('0x25')](),_0x15727b[_0x2fc7('0xc')][_0x2fc7('0x6f')]('imageTypeBlock')[_0x2fc7('0x25')](),_0x52cba2=_0x50bb83[_0x2fc7('0x5c')],_0x52cba2!=_0x2d6ac4[_0x2fc7('0x5c')])return _0x437f58[_0x2fc7('0x34')](_0x129dc2)&&_0x50bb83[_0x2fc7('0x41')](_0x2d6ac4['value'],_0x129dc2)?(_0x4b043e(_0x2d6ac4),_0x129dc2=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')]['selection']),void _0x2773da[_0x2fc7('0x2')](_0x129dc2,{..._0x205755,'commandReversedParams':[{'value':_0x52cba2||null}]},[],_0x2fc7('0x11'))):void(_0x437f58[_0x2fc7('0x39')](_0x129dc2)?_0x2773da['markBlockFormat'](_0x129dc2,_0x205755,[],_0x2fc7('0x29')):_0x2773da['markInlineFormat'](_0x32e8b5,_0x205755,'imageStylePostApply'));});});for(const _0x194b25 of _0x15727b[_0x2fc7('0x53')][_0x2fc7('0x6f')](_0x2fc7('0x14'))[_0x2fc7('0x57')])_0x79f187[_0x194b25[_0x2fc7('0x5d')]]=_0x194b25[_0x2fc7('0x32')]['toLowerCase']();_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x7'),_0x2fc7('0x11'),_0x2fc7('0x6e'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')]('formatBlock',_0x2fc7('0x29'),_0x2fc7('0x6e'),()=>{}),_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x58')](_0x2fc7('0x3d'),_0x2fc7('0x29'),_0x2fc7('0x6e'),()=>{}),_0x2773da['_suggestionFactory'][_0x2fc7('0x58')]('formatBlock','imageStylePreApply',_0x2fc7('0x3c'),()=>{}),_0x2773da['_suggestionFactory']['registerCustomCallback'](_0x2fc7('0x7'),_0x2fc7('0x11'),_0x2fc7('0x17'),(_0xbb0e1d,_0x297396)=>{_0x2773da[_0x2fc7('0x4a')][_0x2fc7('0x20')]('formatBlock','',_0x2fc7('0x3c'))(_0xbb0e1d,{'commandName':_0x297396[_0x2fc7('0x21')],'commandParams':_0x297396['commandReversedParams']});}),_0x2773da[_0x2fc7('0x4a')]['registerCustomCallback'](_0x2fc7('0x7'),'imageStylePreApply',_0x2fc7('0x6b'),_0x26c7a9);}const _0x5a01d2=[{'type':_0x2fc7('0x7'),'subType':_0x2fc7('0x11')},{'type':_0x2fc7('0x1d'),'subType':_0x2fc7('0x3e')},{'type':_0x2fc7('0x7'),'subType':_0x2fc7('0x64')},{'type':_0x2fc7('0x1d'),'subType':'convertInlineImageToBlock'}];function _0x982937(_0x2e2cc7,_0x4ac1a2){const _0x211adb=_0x5a01d2[_0x2fc7('0x75')](({type:_0x201e27,subType:_0x548ff1})=>_0x2e2cc7[_0x2fc7('0x3')]==_0x201e27&&_0x2e2cc7['subType']==_0x548ff1),_0x384ec7=_0x5a01d2[_0x2fc7('0x75')](({type:_0x3b0d12,subType:_0x4ff3ad})=>_0x4ac1a2[_0x2fc7('0x3')]==_0x3b0d12&&_0x4ac1a2[_0x2fc7('0x49')]==_0x4ff3ad);if(_0x211adb<0x0||_0x384ec7<0x0)return!0x1;const _0x18f172=_0x2e2cc7[_0x2fc7('0x62')](),_0x768f3=_0x4ac1a2['getFirstRange']();if((0x0==_0x211adb||0x1==_0x211adb)&&0x2==_0x384ec7&&_0x18f172[_0x2fc7('0x5')](_0x768f3))return!0x0;if(0x2==_0x211adb&&0x3==_0x384ec7){const _0x245ac7=_0x2773da[_0x2fc7('0xd')](_0x18f172,_0x2fc7('0x1d'))[_0x2fc7('0x9')](({suggestion:_0x2fad45,meta:_0x100e7f})=>_0x100e7f['isOwn']&&_0x2fc7('0x64')==_0x2fad45['subType']);if(_0x245ac7['length']>0x1&&_0x768f3[_0x2fc7('0x48')][_0x2fc7('0x47')](_0x18f172[_0x2fc7('0x66')]))return!0x0;if(0x1==_0x245ac7['length']&&(_0x18f172[_0x2fc7('0x66')][_0x2fc7('0x47')](_0x768f3[_0x2fc7('0x48')])||_0x18f172['end'][_0x2fc7('0x47')](_0x768f3['start'])))return!0x0;}if(0x3==_0x211adb&&0x3==_0x384ec7&&_0x18f172[_0x2fc7('0x66')]['isBefore'](_0x768f3[_0x2fc7('0x66')])){const _0x99160a=_0x18f172['end'][_0x2fc7('0x28')],_0x3d3ffa=_0x768f3[_0x2fc7('0x66')][_0x2fc7('0x12')];return _0x437f58[_0x2fc7('0x39')](_0x99160a)&&_0x99160a===_0x3d3ffa;}return!0x1;}function _0x26c7a9(_0x23ee50,_0x28d789){return _0x982937(_0x23ee50,_0x28d789)?[_0x23ee50,_0x28d789]:_0x982937(_0x28d789,_0x23ee50)?[_0x28d789,_0x23ee50]:null;}_0x15727b[_0x2fc7('0x44')][_0x2fc7('0x73')][_0x2fc7('0x13')](()=>{let _0x3920fb=!0x1;const _0x5cab9f=Array[_0x2fc7('0x69')](_0x15727b['model'][_0x2fc7('0x73')][_0x2fc7('0x2f')][_0x2fc7('0xb')]());for(const {name:_0x1e01c7,data:_0x2562d6}of _0x5cab9f){const {group:_0x2ae697,type:_0x29b787,subType:_0x36c9f6,id:_0x1c33cb}=_0x2773da[_0x2fc7('0x10')](_0x1e01c7);if(_0x2fc7('0x27')==_0x2ae697&&_0x2773da[_0x2fc7('0x4b')](_0x1c33cb)){if(_0x2fc7('0x7')==_0x29b787&&(_0x2fc7('0x11')==_0x36c9f6||_0x2fc7('0x29')==_0x36c9f6)){const _0xacd43f=_0x2773da[_0x2fc7('0x26')](_0x1c33cb);if(_0x2562d6[_0x2fc7('0x3b')]){const _0x3a2d19=_0xacd43f[_0x2fc7('0x62')]()[_0x2fc7('0x5e')]();if(_0x437f58['isBlockImage'](_0x3a2d19))continue;_0x2773da['discardSuggestion'](_0xacd43f),_0x3920fb=!0x0;}}if(_0x2fc7('0x1d')==_0x29b787&&_0x2fc7('0x3e')==_0x36c9f6&&!_0x2562d6[_0x2fc7('0x3b')]){const _0x386e97=_0x2773da['getSuggestion'](_0x1c33cb);_0x386e97['next']&&_0x386e97['next'][_0x2fc7('0x22')]&&(_0x2773da['discardSuggestion'](_0x386e97[_0x2fc7('0x2a')]),_0x3920fb=!0x0);}}}return _0x3920fb;}),_0x15727b['plugins'][_0x2fc7('0x19')](_0x2fc7('0x36'))&&_0x2773da[_0x2fc7('0x38')](_0x2fc7('0x5f'),(_0x409647,_0x4345c2)=>{const _0x1b1ffa=_0x437f58[_0x2fc7('0x31')](_0x15727b[_0x2fc7('0x44')]['document'][_0x2fc7('0x71')]);_0x1b1ffa[_0x2fc7('0x35')]('width')!=_0x4345c2[_0x2fc7('0x0')]&&_0x15727b[_0x2fc7('0x44')]['change'](()=>{_0x2773da[_0x2fc7('0x2')](_0x1b1ffa,{'commandName':_0x2fc7('0x5f'),'commandParams':[_0x4345c2]});});}),_0x15727b[_0x2fc7('0x53')]['has']('ImageTextAlternativeEditing')&&_0x2773da[_0x2fc7('0x38')](_0x2fc7('0x4f'),(_0x124e1b,_0x3279ab)=>{const _0x209756=_0x437f58[_0x2fc7('0x31')](_0x15727b['model'][_0x2fc7('0x73')]['selection']);(_0x209756['hasAttribute'](_0x2fc7('0x4'))?_0x209756['getAttribute'](_0x2fc7('0x4')):'')!=_0x3279ab[_0x2fc7('0x3f')]&&_0x15727b[_0x2fc7('0x44')]['change'](()=>{_0x2773da[_0x2fc7('0x2')](_0x209756,{'commandName':_0x2fc7('0x4f'),'commandParams':[_0x3279ab]});});}),_0x2773da[_0x2fc7('0x6a')][_0x2fc7('0x15')](_0x23be34=>{if(!!_0x5a01d2['find'](({type:_0x337d9b,subType:_0x5dd773})=>_0x23be34[_0x2fc7('0x3')]==_0x337d9b&&_0x23be34[_0x2fc7('0x49')]==_0x5dd773))return _0x23be34['previous']?{}:void 0x0;}),_0x2773da[_0x2fc7('0x6a')][_0x2fc7('0x15')](_0x5d12bf=>{if('insertion'==_0x5d12bf['type']||_0x2fc7('0x24')==_0x5d12bf[_0x2fc7('0x3')]){const _0x2413a4=_0x5d12bf['getContainedElement']();if(_0x2413a4&&_0x2413a4['is'](_0x2fc7('0xf'),_0x2fc7('0x1c')))return{'type':_0x2fc7('0x1d')==_0x5d12bf[_0x2fc7('0x3')]?_0x2fc7('0x16'):_0x2fc7('0x1'),'element':_0x2413a4,'quantity':0x1};}}),_0x2773da[_0x2fc7('0x6a')]['registerDescriptionCallback'](_0x44f4b5=>_0x2fc7('0x7')==_0x44f4b5[_0x2fc7('0x3')]&&'convertInlineImageToBlock'==_0x44f4b5[_0x2fc7('0x49')]?{'type':'format','content':_0x2fc7('0x1b')}:_0x2fc7('0x7')==_0x44f4b5[_0x2fc7('0x3')]&&_0x2fc7('0x60')==_0x44f4b5['subType']?{'type':'format','content':_0x2fc7('0x2b')}:void 0x0),_0x2773da[_0x2fc7('0x6a')]['registerDescriptionCallback'](_0x3af40f=>{const {data:_0x570611}=_0x3af40f;if(_0x570611){if('imageStyle'==_0x570611[_0x2fc7('0x21')]){const _0x4be0d9=_0x570611['commandParams'][0x0]['value'];return _0x2332b5(_0x2fc7('0x1a')===_0x4be0d9?_0x40b7f7(_0x182dd1,_0x2fc7('0x61')):_0x79f187[_0x4be0d9]||_0x4be0d9);}if(_0x2fc7('0x4f')==_0x570611[_0x2fc7('0x21')]){const _0x137cb7=_0x570611[_0x2fc7('0x42')][0x0][_0x2fc7('0x3f')];return _0x137cb7?{'type':'format','content':_0x40b7f7(_0x182dd1,_0x2fc7('0x45'),'\x22'+_0x137cb7+'\x22')}:{'type':_0x2fc7('0x68'),'content':_0x40b7f7(_0x182dd1,_0x2fc7('0x2e'))};}if(_0x2fc7('0x5f')==_0x570611[_0x2fc7('0x21')]){const _0x3d0e66=_0x570611[_0x2fc7('0x42')][0x0][_0x2fc7('0x0')];return _0x3d0e66?{'type':_0x2fc7('0x68'),'content':_0x40b7f7(_0x182dd1,_0x2fc7('0x59'),_0x3d0e66)}:{'type':_0x2fc7('0x68'),'content':_0x40b7f7(_0x182dd1,_0x2fc7('0x33'))};}}function _0x2332b5(_0xb1cbce){return{'type':_0x2fc7('0x68'),'content':_0x40b7f7(_0x182dd1,_0x2fc7('0x23'),_0xb1cbce)};}});}}
23
+ const _0x2d6e=['commandParams','imageStylePostApply','from','imageStyle','start','accept','value','convertBlockImageToInline','imageInline','ELEMENT_INLINE_IMAGE','editor','commandName','model','ImageBlockEditing','createRange','getSuggestions','getCaptionFromImageModelElement','afterInit','format','nodeBefore','hasSuggestion','resizeImage','get','createRangeOn','getNearestSelectionRange','imageCaption','*Reset\x20image\x20width*','find','chain','commands','width','isInlineImage','getContainedElement','removeObject','ImageEditing','subType','getChangedMarkers','_descriptionFactory','element','imageTextAlternative','registerElementLabel','type','getFirstRange','join','head','filter','*Remove\x20image\x20text\x20alternative*','alt','detach','imageStylePreApply','ImageUtils','isBlockImage','ImageUploadEditing','ImageCaptionEditing','markBlockFormat','discardSuggestion','formatInline','selection','uploadImage','change','registerCustomCallback','*Set\x20image\x20text\x20alternative:*\x20%0','imageTypeBlock','getClosestSelectedImageElement','ImageCaptionUtils','_findSuggestions','markDeletion','fromPosition','forward','length','getAttribute','addObject','document','plugins','_suggestionFactory','insertion','isBefore','newRange','forceDefaultExecution','locale','findIndex','imageBlock','caption','getSuggestion','forEach','insertImage','previous','formatBlock','_splitMarkerName','markInlineFormat','side','imageTypeInline','discard','TrackChangesEditing','isEqual','isInContent','*Format:*\x20%0','refresh','isCollapsed','registerPostFixer','newValue','nodeAfter','next','Users','isOwn','ELEMENT_IMAGE','Inline\x20image\x20to\x20block\x20image','markInsertion','toggleImageCaption','schema','toNext','author','hasAttribute','has','normalizedStyles','registerDescriptionCallback','ImageStyleEditing','ELEMENT_CAPTION','enableCommand','Block\x20image\x20to\x20inline\x20image','name','ImageResize','end','convertInlineImageToBlock','getSuggestionCallback'];(function(_0x3d5f71,_0x2d6ee7){const _0x2246c6=function(_0x202591){while(--_0x202591){_0x3d5f71['push'](_0x3d5f71['shift']());}};_0x2246c6(++_0x2d6ee7);}(_0x2d6e,0x166));const _0x2246=function(_0x3d5f71,_0x2d6ee7){_0x3d5f71=_0x3d5f71-0x0;let _0x2246c6=_0x2d6e[_0x3d5f71];return _0x2246c6;};import{Plugin as _0x4f1995}from'ckeditor5/src/core';import{LivePosition as _0x391dda}from'ckeditor5/src/engine';import{uid as _0xc67b00}from'ckeditor5/src/utils';import{getTranslation as _0x32febd}from'../utils/common-translations';export default class X extends _0x4f1995{[_0x2246('0x22')](){const _0x3728f8=this[_0x2246('0x1b')];if(!_0x3728f8[_0x2246('0x5a')][_0x2246('0x5')](_0x2246('0x33')))return;const _0x102ce0=_0x3728f8[_0x2246('0x5a')]['get'](_0x2246('0x6e')),_0x26bd56=_0x3728f8['plugins'][_0x2246('0x27')](_0x2246('0x43')),_0xb30955={},_0x7ca646=_0x3728f8[_0x2246('0x60')];if(_0x102ce0[_0x2246('0xa')](_0x2246('0x66')),_0x102ce0['_descriptionFactory'][_0x2246('0x39')](_0x2246('0x62'),_0x4de913=>_0x32febd(_0x7ca646,_0x2246('0x7a'),_0x4de913)),_0x102ce0[_0x2246('0x36')][_0x2246('0x39')](_0x2246('0x19'),_0x385f8c=>_0x32febd(_0x7ca646,_0x2246('0x1a'),_0x385f8c)),_0x102ce0[_0x2246('0x36')]['registerElementLabel'](_0x2246('0x63'),()=>_0x32febd(_0x7ca646,_0x2246('0x9'))),_0x3728f8['plugins'][_0x2246('0x5')](_0x2246('0x45'))&&_0x102ce0[_0x2246('0xa')](_0x2246('0x4b')),_0x3728f8[_0x2246('0x5a')][_0x2246('0x5')](_0x2246('0x1e'))&&_0x3728f8[_0x2246('0x5a')][_0x2246('0x5')]('ImageInlineEditing')&&(_0x102ce0[_0x2246('0xa')](_0x2246('0x6c'),(_0x30dfad,_0x134a21)=>{const _0x3ed0ab=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x4a')]);_0x3728f8[_0x2246('0x1d')][_0x2246('0x4c')](()=>{_0x102ce0[_0x2246('0x47')](_0x3ed0ab,{'commandName':_0x2246('0x6c'),'commandParams':[_0x134a21]},[],_0x2246('0x18'));});}),_0x102ce0[_0x2246('0xa')](_0x2246('0x4f'),(_0x32f14b,_0x30b1ad)=>{_0x3728f8[_0x2246('0x1d')][_0x2246('0x4c')](_0x4f42a4=>{let _0x1cf18a=_0x26bd56[_0x2246('0x50')](_0x3728f8['model'][_0x2246('0x59')][_0x2246('0x4a')]),_0x5e184f=_0x4f42a4[_0x2246('0x28')](_0x1cf18a);const _0x2132dd=_0x391dda['fromPosition'](_0x5e184f[_0x2246('0x15')],'toPrevious'),_0x1b530e=_0x391dda[_0x2246('0x54')](_0x5e184f[_0x2246('0xe')],_0x2246('0x2'));_0x102ce0[_0x2246('0x5f')](()=>_0x32f14b(_0x30b1ad)),_0x1cf18a=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x4a')]),_0x5e184f=_0x4f42a4[_0x2246('0x28')](_0x1cf18a);const _0x4b0ec0=_0x4f42a4[_0x2246('0x1f')](_0x2132dd,_0x1b530e);_0x2132dd[_0x2246('0x41')](),_0x1b530e[_0x2246('0x41')](),_0x102ce0[_0x2246('0x47')](_0x1cf18a,{'commandName':_0x2246('0x6c'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x4b0ec0[_0x2246('0x15')]['isBefore'](_0x5e184f[_0x2246('0x15')])&&_0x102ce0[_0x2246('0x7c')](_0x4f42a4[_0x2246('0x1f')](_0x4b0ec0[_0x2246('0x15')],_0x5e184f['start']),'convertInlineImageToBlock'),_0x5e184f['end'][_0x2246('0x5d')](_0x4b0ec0[_0x2246('0xe')])&&_0x102ce0[_0x2246('0x7c')](_0x4f42a4[_0x2246('0x1f')](_0x5e184f[_0x2246('0xe')],_0x4b0ec0[_0x2246('0xe')]),_0x2246('0xf'));});}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')]('formatBlock',_0x2246('0xf'),_0x2246('0x3c'),()=>{}),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback']('formatBlock',_0x2246('0xf'),_0x2246('0x16'),()=>{}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')](_0x2246('0x68'),_0x2246('0xf'),_0x2246('0x6d'),_0x102ce0[_0x2246('0x5b')][_0x2246('0x10')]('formatBlock','',_0x2246('0x16'))),_0x102ce0['_suggestionFactory']['registerCustomCallback'](_0x2246('0x5c'),_0x2246('0xf'),_0x2246('0x3c'),()=>{}),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback'](_0x2246('0x5c'),_0x2246('0xf'),_0x2246('0x6d'),([_0x54de83])=>{const _0x5c4359=_0x102ce0[_0x2246('0x5b')][_0x2246('0x10')](_0x2246('0x5c'),'','discard');let _0x23212f=_0x54de83['start'],_0x5eab19=_0x54de83['end'];const _0x48843f=_0x3728f8['model'][_0x2246('0x1')][_0x2246('0x29')](_0x23212f,'backward'),_0x231c38=_0x3728f8[_0x2246('0x1d')][_0x2246('0x1')][_0x2246('0x29')](_0x5eab19,_0x2246('0x55'));_0x48843f[_0x2246('0x73')]&&(_0x23212f=_0x48843f[_0x2246('0x15')]),_0x231c38[_0x2246('0x73')]&&(_0x5eab19=_0x231c38[_0x2246('0xe')]),_0x5c4359([_0x3728f8['model'][_0x2246('0x1f')](_0x23212f,_0x5eab19)]);}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')](_0x2246('0x68'),_0x2246('0xf'),'chain',_0x54966f),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback'](_0x2246('0x5c'),_0x2246('0xf'),'chain',_0x54966f)),_0x3728f8['plugins']['has'](_0x2246('0x46'))&&(_0x102ce0['enableCommand'](_0x2246('0x0'),(_0x409609,_0xaefdf8)=>{const _0x43bfb3=_0x3728f8['plugins'][_0x2246('0x27')](_0x2246('0x51'));let _0x24e876=_0x26bd56['getClosestSelectedImageElement'](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x4a')]),_0x1f37ca=_0x43bfb3[_0x2246('0x21')](_0x24e876);_0x3728f8['model'][_0x2246('0x4c')](()=>{if(_0x1f37ca)return void _0x102ce0[_0x2246('0x53')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x28')](_0x1f37ca));const _0x5541e1=_0x26bd56[_0x2246('0x44')](_0x24e876);_0x409609(_0xaefdf8),_0x24e876=_0x26bd56[_0x2246('0x50')](_0x3728f8['model'][_0x2246('0x59')][_0x2246('0x4a')]),_0x1f37ca=_0x43bfb3[_0x2246('0x21')](_0x24e876),_0x102ce0['markInsertion'](_0x3728f8[_0x2246('0x1d')][_0x2246('0x28')](_0x1f37ca),_0x5541e1?null:_0x2246('0x2a'));});}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')](_0x2246('0x5c'),_0x2246('0x2a'),_0x2246('0x2d'),_0x54966f)),_0x3728f8['plugins'][_0x2246('0x5')](_0x2246('0x8'))){_0x102ce0[_0x2246('0xa')]('imageStyle',(_0x571927,_0x49435c)=>{const _0x4f0011=_0x3728f8[_0x2246('0x5a')][_0x2246('0x27')](_0x2246('0x78'))['me'],_0x5bbcd2=_0x3728f8[_0x2246('0x2e')]['get'](_0x2246('0x14'));let _0x1e64d8=_0x26bd56[_0x2246('0x50')](_0x3728f8['model'][_0x2246('0x59')][_0x2246('0x4a')]),_0x59b620=_0x3728f8[_0x2246('0x1d')][_0x2246('0x28')](_0x1e64d8),_0x10e354=_0x5bbcd2[_0x2246('0x17')];if(_0x10e354==_0x49435c[_0x2246('0x17')])return;const _0x5f31c8={'commandName':_0x2246('0x14'),'commandParams':[_0x49435c],'formatGroupId':_0xc67b00()};_0x3728f8[_0x2246('0x1d')][_0x2246('0x4c')](()=>{if(_0x102ce0[_0x2246('0x20')]()[_0x2246('0x3e')](_0x566c7b=>_0x566c7b['isInContent']&&_0x4f0011==_0x566c7b[_0x2246('0x3')]&&(_0x2246('0x68')==_0x566c7b[_0x2246('0x3a')]||'formatInline'==_0x566c7b['type'])&&(_0x2246('0x42')==_0x566c7b[_0x2246('0x34')]||_0x2246('0x12')==_0x566c7b[_0x2246('0x34')])&&_0x566c7b[_0x2246('0x3b')]()[_0x2246('0x6f')](_0x59b620))[_0x2246('0x65')](_0x20065f=>_0x102ce0[_0x2246('0x48')](_0x20065f[_0x2246('0x3d')])),_0x1e64d8=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')]['selection']),_0x59b620=_0x3728f8[_0x2246('0x1d')][_0x2246('0x28')](_0x1e64d8),_0x5bbcd2[_0x2246('0x72')](),_0x3728f8[_0x2246('0x2e')][_0x2246('0x27')](_0x2246('0x6c'))[_0x2246('0x72')](),_0x3728f8[_0x2246('0x2e')]['get']('imageTypeBlock')[_0x2246('0x72')](),_0x10e354=_0x5bbcd2[_0x2246('0x17')],_0x10e354!=_0x49435c['value'])return _0x26bd56[_0x2246('0x30')](_0x1e64d8)&&_0x5bbcd2['shouldConvertImageType'](_0x49435c[_0x2246('0x17')],_0x1e64d8)?(_0x571927(_0x49435c),_0x1e64d8=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')]['document'][_0x2246('0x4a')]),void _0x102ce0['markBlockFormat'](_0x1e64d8,{..._0x5f31c8,'commandReversedParams':[{'value':_0x10e354||null}]},[],_0x2246('0x42'))):void(_0x26bd56[_0x2246('0x44')](_0x1e64d8)?_0x102ce0[_0x2246('0x47')](_0x1e64d8,_0x5f31c8,[],'imageStylePostApply'):_0x102ce0[_0x2246('0x6a')](_0x59b620,_0x5f31c8,'imageStylePostApply'));});});for(const _0x2e37c2 of _0x3728f8[_0x2246('0x5a')][_0x2246('0x27')](_0x2246('0x8'))[_0x2246('0x6')])_0xb30955[_0x2e37c2[_0x2246('0xc')]]=_0x2e37c2['title']['toLowerCase']();_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')]('formatBlock',_0x2246('0x42'),_0x2246('0x3c'),()=>{}),_0x102ce0['_suggestionFactory'][_0x2246('0x4d')]('formatBlock','imageStylePostApply',_0x2246('0x3c'),()=>{}),_0x102ce0['_suggestionFactory'][_0x2246('0x4d')](_0x2246('0x49'),_0x2246('0x12'),'join',()=>{}),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback'](_0x2246('0x68'),_0x2246('0x42'),_0x2246('0x16'),()=>{}),_0x102ce0[_0x2246('0x5b')]['registerCustomCallback'](_0x2246('0x68'),_0x2246('0x42'),_0x2246('0x6d'),(_0x1890dd,_0x5286a6)=>{_0x102ce0[_0x2246('0x5b')][_0x2246('0x10')](_0x2246('0x68'),'',_0x2246('0x16'))(_0x1890dd,{'commandName':_0x5286a6[_0x2246('0x1c')],'commandParams':_0x5286a6['commandReversedParams']});}),_0x102ce0[_0x2246('0x5b')][_0x2246('0x4d')](_0x2246('0x68'),_0x2246('0x42'),'chain',_0x54966f);}const _0x128098=[{'type':_0x2246('0x68'),'subType':'imageStylePreApply'},{'type':_0x2246('0x5c'),'subType':'imageCaption'},{'type':_0x2246('0x68'),'subType':'convertInlineImageToBlock'},{'type':_0x2246('0x5c'),'subType':_0x2246('0xf')}];function _0x337e87(_0x358b5f,_0x34b438){const _0x39257e=_0x128098[_0x2246('0x61')](({type:_0x45716c,subType:_0x4f765e})=>_0x358b5f[_0x2246('0x3a')]==_0x45716c&&_0x358b5f['subType']==_0x4f765e),_0x4cc933=_0x128098['findIndex'](({type:_0x341452,subType:_0x3d7e98})=>_0x34b438[_0x2246('0x3a')]==_0x341452&&_0x34b438['subType']==_0x3d7e98);if(_0x39257e<0x0||_0x4cc933<0x0)return!0x1;const _0x402afa=_0x358b5f[_0x2246('0x3b')](),_0x370a5a=_0x34b438[_0x2246('0x3b')]();if((0x0==_0x39257e||0x1==_0x39257e)&&0x2==_0x4cc933&&_0x402afa['isIntersecting'](_0x370a5a))return!0x0;if(0x2==_0x39257e&&0x3==_0x4cc933){const _0x46259b=_0x102ce0[_0x2246('0x52')](_0x402afa,'insertion')[_0x2246('0x3e')](({suggestion:_0x967ef4,meta:_0x3f38a2})=>_0x3f38a2[_0x2246('0x79')]&&_0x2246('0xf')==_0x967ef4[_0x2246('0x34')]);if(_0x46259b[_0x2246('0x56')]>0x1&&_0x370a5a[_0x2246('0xe')][_0x2246('0x6f')](_0x402afa['start']))return!0x0;if(0x1==_0x46259b[_0x2246('0x56')]&&(_0x402afa[_0x2246('0x15')][_0x2246('0x6f')](_0x370a5a[_0x2246('0xe')])||_0x402afa['end']['isEqual'](_0x370a5a[_0x2246('0x15')])))return!0x0;}if(0x3==_0x39257e&&0x3==_0x4cc933&&_0x402afa[_0x2246('0x15')][_0x2246('0x5d')](_0x370a5a[_0x2246('0x15')])){const _0x1a7957=_0x402afa[_0x2246('0xe')][_0x2246('0x76')],_0x456f2d=_0x370a5a[_0x2246('0x15')][_0x2246('0x24')];return _0x26bd56['isBlockImage'](_0x1a7957)&&_0x1a7957===_0x456f2d;}return!0x1;}function _0x54966f(_0x38d3e8,_0x59a40c){return _0x337e87(_0x38d3e8,_0x59a40c)?[_0x38d3e8,_0x59a40c]:_0x337e87(_0x59a40c,_0x38d3e8)?[_0x59a40c,_0x38d3e8]:null;}_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x74')](()=>{let _0x3ee9a5=!0x1;const _0x15ab0a=Array[_0x2246('0x13')](_0x3728f8['model']['document']['differ'][_0x2246('0x35')]());for(const {name:_0x3e4c8b,data:_0x2ba337}of _0x15ab0a){const {group:_0x34bddb,type:_0xfde5e1,subType:_0xcfc605,id:_0x5b25c5}=_0x102ce0[_0x2246('0x69')](_0x3e4c8b);if('suggestion'==_0x34bddb&&_0x102ce0[_0x2246('0x25')](_0x5b25c5)){if(_0x2246('0x68')==_0xfde5e1&&(_0x2246('0x42')==_0xcfc605||'imageStylePostApply'==_0xcfc605)){const _0x466669=_0x102ce0['getSuggestion'](_0x5b25c5);if(_0x2ba337[_0x2246('0x5e')]){const _0x361b19=_0x466669[_0x2246('0x3b')]()[_0x2246('0x31')]();if(_0x26bd56[_0x2246('0x44')](_0x361b19))continue;_0x102ce0[_0x2246('0x48')](_0x466669),_0x3ee9a5=!0x0;}}if(_0x2246('0x5c')==_0xfde5e1&&_0x2246('0x2a')==_0xcfc605&&!_0x2ba337[_0x2246('0x5e')]){const _0x58eb7b=_0x102ce0[_0x2246('0x64')](_0x5b25c5);_0x58eb7b['next']&&_0x58eb7b[_0x2246('0x77')][_0x2246('0x70')]&&(_0x102ce0[_0x2246('0x48')](_0x58eb7b[_0x2246('0x77')]),_0x3ee9a5=!0x0);}}}return _0x3ee9a5;}),_0x3728f8[_0x2246('0x5a')][_0x2246('0x5')](_0x2246('0xd'))&&_0x102ce0['enableCommand'](_0x2246('0x26'),(_0xbf85cb,_0x15d0f1)=>{const _0x178ac1=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')][_0x2246('0x59')][_0x2246('0x4a')]);_0x178ac1[_0x2246('0x57')](_0x2246('0x2f'))!=_0x15d0f1[_0x2246('0x2f')]&&_0x3728f8[_0x2246('0x1d')]['change'](()=>{_0x102ce0[_0x2246('0x47')](_0x178ac1,{'commandName':_0x2246('0x26'),'commandParams':[_0x15d0f1]});});}),_0x3728f8[_0x2246('0x5a')]['has']('ImageTextAlternativeEditing')&&_0x102ce0[_0x2246('0xa')](_0x2246('0x38'),(_0x4485c6,_0x38374e)=>{const _0x27613f=_0x26bd56[_0x2246('0x50')](_0x3728f8[_0x2246('0x1d')]['document'][_0x2246('0x4a')]);(_0x27613f[_0x2246('0x4')](_0x2246('0x40'))?_0x27613f[_0x2246('0x57')](_0x2246('0x40')):'')!=_0x38374e[_0x2246('0x75')]&&_0x3728f8[_0x2246('0x1d')]['change'](()=>{_0x102ce0['markBlockFormat'](_0x27613f,{'commandName':_0x2246('0x38'),'commandParams':[_0x38374e]});});}),_0x102ce0[_0x2246('0x36')]['registerDescriptionCallback'](_0x56bdc5=>{if(!!_0x128098[_0x2246('0x2c')](({type:_0x2ae4a6,subType:_0x4242ea})=>_0x56bdc5[_0x2246('0x3a')]==_0x2ae4a6&&_0x56bdc5[_0x2246('0x34')]==_0x4242ea))return _0x56bdc5[_0x2246('0x67')]?{}:void 0x0;}),_0x102ce0[_0x2246('0x36')][_0x2246('0x7')](_0x4576f3=>{if(_0x2246('0x5c')==_0x4576f3[_0x2246('0x3a')]||'deletion'==_0x4576f3[_0x2246('0x3a')]){const _0x52797b=_0x4576f3['getContainedElement']();if(_0x52797b&&_0x52797b['is'](_0x2246('0x37'),'caption'))return{'type':_0x2246('0x5c')==_0x4576f3[_0x2246('0x3a')]?_0x2246('0x58'):_0x2246('0x32'),'element':_0x52797b,'quantity':0x1};}}),_0x102ce0[_0x2246('0x36')][_0x2246('0x7')](_0x3ea86e=>'formatBlock'==_0x3ea86e[_0x2246('0x3a')]&&'convertInlineImageToBlock'==_0x3ea86e[_0x2246('0x34')]?{'type':'format','content':_0x2246('0x7b')}:_0x2246('0x68')==_0x3ea86e[_0x2246('0x3a')]&&_0x2246('0x18')==_0x3ea86e[_0x2246('0x34')]?{'type':_0x2246('0x23'),'content':_0x2246('0xb')}:void 0x0),_0x102ce0[_0x2246('0x36')][_0x2246('0x7')](_0x15c574=>{const {data:_0x22a296}=_0x15c574;if(_0x22a296){if(_0x2246('0x14')==_0x22a296[_0x2246('0x1c')]){const _0x4d4cdf=_0x22a296[_0x2246('0x11')][0x0]['value'];return _0x14dd62(_0x2246('0x6b')===_0x4d4cdf?_0x32febd(_0x7ca646,'FORMAT_SIDE_IMAGE'):_0xb30955[_0x4d4cdf]||_0x4d4cdf);}if(_0x2246('0x38')==_0x22a296[_0x2246('0x1c')]){const _0x15b75b=_0x22a296[_0x2246('0x11')][0x0]['newValue'];return _0x15b75b?{'type':_0x2246('0x23'),'content':_0x32febd(_0x7ca646,_0x2246('0x4e'),'\x22'+_0x15b75b+'\x22')}:{'type':_0x2246('0x23'),'content':_0x32febd(_0x7ca646,_0x2246('0x3f'))};}if(_0x2246('0x26')==_0x22a296[_0x2246('0x1c')]){const _0x406e3d=_0x22a296[_0x2246('0x11')][0x0][_0x2246('0x2f')];return _0x406e3d?{'type':'format','content':_0x32febd(_0x7ca646,'*Set\x20image\x20width:*\x20%0',_0x406e3d)}:{'type':_0x2246('0x23'),'content':_0x32febd(_0x7ca646,_0x2246('0x2b'))};}}function _0x14dd62(_0x34ec9f){return{'type':_0x2246('0x23'),'content':_0x32febd(_0x7ca646,_0x2246('0x71'),_0x34ec9f)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcb78=['plugins','data','author','editor','getContainedElement','getSuggestionCallback','has','handleSuggestionDescription','TrackChangesEditing','change','model','registerCustomCallback','handleReplaceImageCommand','ImageEditing','accept','registerDescriptionCallback','_suggestionFactory','src','discard','locale','replaceImageSource','markBlockFormat','enableCommand','source','commandParams','_descriptionFactory','get','formatBlock'];(function(_0x479fa2,_0xcb78c6){const _0x52ef81=function(_0x4a0731){while(--_0x4a0731){_0x479fa2['push'](_0x479fa2['shift']());}};_0x52ef81(++_0xcb78c6);}(_0xcb78,0x191));const _0x52ef=function(_0x479fa2,_0xcb78c6){_0x479fa2=_0x479fa2-0x0;let _0x52ef81=_0xcb78[_0x479fa2];return _0x52ef81;};import{Plugin as _0x710c78}from'ckeditor5/src/core';import{getTranslation as _0x1b5aac}from'../utils/common-translations';export default class Y extends _0x710c78{['afterInit'](){if(!this['editor']['plugins'][_0x52ef('0x19')](_0x52ef('0x4')))return;const _0x16cbc3=this[_0x52ef('0x16')][_0x52ef('0x13')]['get']('TrackChangesEditing');_0x16cbc3[_0x52ef('0xd')](_0x52ef('0xb'),(_0xfcbd3a,_0xf7aabc)=>this[_0x52ef('0x3')](_0xfcbd3a,_0xf7aabc)),_0x16cbc3[_0x52ef('0x7')][_0x52ef('0x2')](_0x52ef('0x12'),_0x52ef('0xb'),'accept',_0x16cbc3[_0x52ef('0x7')][_0x52ef('0x18')](_0x52ef('0x12'),null,_0x52ef('0x9'))),_0x16cbc3['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x16cbc3['_suggestionFactory'][_0x52ef('0x18')](_0x52ef('0x12'),null,_0x52ef('0x5'))),_0x16cbc3[_0x52ef('0x10')][_0x52ef('0x6')](_0x5be4c4=>this[_0x52ef('0x1a')](_0x5be4c4));}[_0x52ef('0x3')](_0x3eb745,_0x37e66e){const _0x416236=this[_0x52ef('0x16')]['plugins'][_0x52ef('0x11')](_0x52ef('0x1b')),_0x3597bb=this[_0x52ef('0x16')][_0x52ef('0x1')]['document']['selection']['getSelectedElement']();this[_0x52ef('0x16')]['model'][_0x52ef('0x0')](()=>{let _0x216ba7=_0x3597bb['getAttribute'](_0x52ef('0x8'));const _0x41b78f=this[_0x52ef('0x16')][_0x52ef('0x13')][_0x52ef('0x11')]('Users')['me'];for(const _0x5ee859 of _0x416236['getSuggestions']({'skipNotAttached':!0x0})){const _0x2f7d11=_0x5ee859[_0x52ef('0x17')]();if(_0x52ef('0xb')===_0x5ee859['subType']&&_0x2f7d11===_0x3597bb){_0x5ee859[_0x52ef('0x15')]!==_0x41b78f&&_0x5ee859[_0x52ef('0x9')](),_0x216ba7=_0x5ee859[_0x52ef('0x14')][_0x52ef('0xf')][0x0][_0x52ef('0xe')];break;}}_0x3eb745(_0x37e66e),_0x416236[_0x52ef('0xc')](_0x3597bb,{'commandName':_0x52ef('0xb'),'commandParams':[{'source':_0x216ba7}]},[],'replaceImageSource');});}[_0x52ef('0x1a')](_0x149bd3){const {data:_0x2cd018}=_0x149bd3;if(_0x2cd018&&'replaceImageSource'===_0x2cd018['commandName']){const _0x594c51='*Format:*\x20replace\x20image\x20URL';return{'type':'format','content':_0x1b5aac(this[_0x52ef('0x16')][_0x52ef('0xa')],_0x594c51)};}}}
23
+ const _0x4ebe=['model','markBlockFormat','_suggestionFactory','src','selection','discard','ImageEditing','*Format:*\x20replace\x20image\x20URL','handleReplaceImageCommand','_descriptionFactory','has','format','subType','document','change','getSuggestions','handleSuggestionDescription','TrackChangesEditing','data','author','editor','getSelectedElement','registerCustomCallback','commandName','afterInit','getSuggestionCallback','replaceImageSource','formatBlock','plugins','Users','getContainedElement','commandParams','enableCommand','locale','get','accept'];(function(_0x255ff8,_0x4ebe6f){const _0x5af9e1=function(_0x1e9f6b){while(--_0x1e9f6b){_0x255ff8['push'](_0x255ff8['shift']());}};_0x5af9e1(++_0x4ebe6f);}(_0x4ebe,0x101));const _0x5af9=function(_0x255ff8,_0x4ebe6f){_0x255ff8=_0x255ff8-0x0;let _0x5af9e1=_0x4ebe[_0x255ff8];return _0x5af9e1;};import{Plugin as _0x51ba79}from'ckeditor5/src/core';import{getTranslation as _0x5b74f7}from'../utils/common-translations';export default class Y extends _0x51ba79{[_0x5af9('0x13')](){if(!this[_0x5af9('0xf')]['plugins'][_0x5af9('0x5')](_0x5af9('0x1')))return;const _0x26e68c=this[_0x5af9('0xf')]['plugins']['get'](_0x5af9('0xc'));_0x26e68c[_0x5af9('0x1b')]('replaceImageSource',(_0x5c3deb,_0x52bd15)=>this[_0x5af9('0x3')](_0x5c3deb,_0x52bd15)),_0x26e68c['_suggestionFactory'][_0x5af9('0x11')](_0x5af9('0x16'),_0x5af9('0x15'),'accept',_0x26e68c[_0x5af9('0x21')][_0x5af9('0x14')]('formatBlock',null,'discard')),_0x26e68c[_0x5af9('0x21')][_0x5af9('0x11')]('formatBlock',_0x5af9('0x15'),_0x5af9('0x0'),_0x26e68c[_0x5af9('0x21')][_0x5af9('0x14')](_0x5af9('0x16'),null,_0x5af9('0x1e'))),_0x26e68c[_0x5af9('0x4')]['registerDescriptionCallback'](_0x3e4857=>this[_0x5af9('0xb')](_0x3e4857));}['handleReplaceImageCommand'](_0x316cbf,_0xfc22c3){const _0x58783d=this['editor'][_0x5af9('0x17')][_0x5af9('0x1d')](_0x5af9('0xc')),_0x385b12=this[_0x5af9('0xf')][_0x5af9('0x1f')][_0x5af9('0x8')][_0x5af9('0x23')][_0x5af9('0x10')]();this[_0x5af9('0xf')][_0x5af9('0x1f')][_0x5af9('0x9')](()=>{let _0x2bca96=_0x385b12['getAttribute'](_0x5af9('0x22'));const _0x2327f5=this[_0x5af9('0xf')]['plugins'][_0x5af9('0x1d')](_0x5af9('0x18'))['me'];for(const _0x3069ad of _0x58783d[_0x5af9('0xa')]({'skipNotAttached':!0x0})){const _0x3b3618=_0x3069ad[_0x5af9('0x19')]();if(_0x5af9('0x15')===_0x3069ad[_0x5af9('0x7')]&&_0x3b3618===_0x385b12){_0x3069ad[_0x5af9('0xe')]!==_0x2327f5&&_0x3069ad[_0x5af9('0x0')](),_0x2bca96=_0x3069ad[_0x5af9('0xd')][_0x5af9('0x1a')][0x0]['source'];break;}}_0x316cbf(_0xfc22c3),_0x58783d[_0x5af9('0x20')](_0x385b12,{'commandName':_0x5af9('0x15'),'commandParams':[{'source':_0x2bca96}]},[],_0x5af9('0x15'));});}[_0x5af9('0xb')](_0x7120b3){const {data:_0x58a4cc}=_0x7120b3;if(_0x58a4cc&&'replaceImageSource'===_0x58a4cc[_0x5af9('0x12')]){const _0x4100de=_0x5af9('0x2');return{'type':_0x5af9('0x6'),'content':_0x5b74f7(this[_0x5af9('0xf')][_0x5af9('0x1c')],_0x4100de)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cef=['dataInsert','get','editor','_trackChangesValueDuringImport','track_changes','execute','high','Users','TrackChangesEditing','commands','trackChanges','_handleImportedData','_trackChangesExecuted','value','afterInit','lowest','collaboration_features','importWord','plugins','listenTo'];(function(_0x4cfe02,_0x5cef2a){const _0x42d62d=function(_0x30775d){while(--_0x30775d){_0x4cfe02['push'](_0x4cfe02['shift']());}};_0x42d62d(++_0x5cef2a);}(_0x5cef,0x1a7));const _0x42d6=function(_0x4cfe02,_0x5cef2a){_0x4cfe02=_0x4cfe02-0x0;let _0x42d62d=_0x5cef[_0x4cfe02];return _0x42d62d;};import{Plugin as _0x17fed3}from'ckeditor5/src/core';export default class Z extends _0x17fed3{constructor(_0x2cb20a){super(_0x2cb20a),this[_0x42d6('0x0')]=!0x1,this[_0x42d6('0x9')]=!0x1;}[_0x42d6('0xb')](){const _0xd922f=this['editor'],_0x3283ce=_0xd922f[_0x42d6('0x6')][_0x42d6('0x12')](_0x42d6('0xe')),_0x3aaa15=_0xd922f[_0x42d6('0x6')][_0x42d6('0x12')](_0x42d6('0x7'));_0x3283ce&&(_0x3283ce['on'](_0x42d6('0x2'),(_0x3ff0b6,[,_0x155458])=>{this[_0x42d6('0x0')]=_0x3aaa15[_0x42d6('0xa')],_0x155458[_0x42d6('0xd')][_0x42d6('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x42d6('0x3')}),this[_0x42d6('0x10')](_0x3283ce,_0x42d6('0x11'),this['_handleImportedData']['bind'](this)),this[_0x42d6('0x10')](_0x3283ce,_0x42d6('0x11'),()=>{this[_0x42d6('0x9')]&&(_0x3aaa15[_0x42d6('0x2')](),this[_0x42d6('0x9')]=!0x1);},{'priority':_0x42d6('0xc')}),_0xd922f[_0x42d6('0xf')]['get'](_0x42d6('0x5'))['enableCommand']('importWord'));}[_0x42d6('0x8')](_0x1a48d4,_0x125f8f){const {suggestions:_0x24521a}=_0x125f8f,_0x3532a5=this[_0x42d6('0x13')][_0x42d6('0x6')][_0x42d6('0x12')](_0x42d6('0x7')),_0x507638=_0x3532a5[_0x42d6('0xa')];this[_0x42d6('0x0')]!==_0x507638&&(_0x3532a5['execute'](),this[_0x42d6('0x9')]=!0x0),_0x24521a&&_0x24521a['forEach'](({id:_0x100295,type:_0x3110e9,author:_0x1503e5,created_at:_0x5f5872})=>{const _0x1f2046={'id':_0x100295,'type':_0x3110e9,'authorId':this[_0x42d6('0x13')]['plugins'][_0x42d6('0x12')](_0x42d6('0x4'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1503e5,'createdAt':_0x5f5872?new Date(_0x5f5872):new Date(),'source':_0x42d6('0xe')}}};this[_0x42d6('0x13')][_0x42d6('0xf')]['get']('TrackChangesEditing')['_setSuggestionData'](_0x1f2046);});}}
23
+ const _0x192e=['bind','execute','collaboration_features','listenTo','commands','forEach','_trackChangesExecuted','get','importWord','trackChanges','Users','lowest','_trackChangesValueDuringImport','TrackChangesEditing','value','editor','plugins','track_changes','high','_handleImportedData','afterInit'];(function(_0x127be6,_0x192efc){const _0x15f1fc=function(_0x3a700c){while(--_0x3a700c){_0x127be6['push'](_0x127be6['shift']());}};_0x15f1fc(++_0x192efc);}(_0x192e,0xb1));const _0x15f1=function(_0x127be6,_0x192efc){_0x127be6=_0x127be6-0x0;let _0x15f1fc=_0x192e[_0x127be6];return _0x15f1fc;};import{Plugin as _0x5411d4}from'ckeditor5/src/core';export default class Z extends _0x5411d4{constructor(_0x3037c3){super(_0x3037c3),this[_0x15f1('0x3')]=!0x1,this[_0x15f1('0x12')]=!0x1;}[_0x15f1('0xb')](){const _0x9bc67d=this[_0x15f1('0x6')],_0x96046a=_0x9bc67d[_0x15f1('0x10')][_0x15f1('0x13')](_0x15f1('0x14')),_0x123e0e=_0x9bc67d[_0x15f1('0x10')]['get'](_0x15f1('0x0'));_0x96046a&&(_0x96046a['on'](_0x15f1('0xd'),(_0x50f527,[,_0x1f12b1])=>{this[_0x15f1('0x3')]=_0x123e0e['value'],_0x1f12b1[_0x15f1('0xe')][_0x15f1('0x8')]=!this[_0x15f1('0x3')];},{'priority':_0x15f1('0x9')}),this[_0x15f1('0xf')](_0x96046a,'dataInsert',this[_0x15f1('0xa')][_0x15f1('0xc')](this)),this['listenTo'](_0x96046a,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x123e0e[_0x15f1('0xd')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x15f1('0x2')}),_0x9bc67d['plugins'][_0x15f1('0x13')](_0x15f1('0x4'))['enableCommand'](_0x15f1('0x14')));}[_0x15f1('0xa')](_0x323855,_0xa88e51){const {suggestions:_0x4c1d69}=_0xa88e51,_0x4ae445=this[_0x15f1('0x6')][_0x15f1('0x10')][_0x15f1('0x13')](_0x15f1('0x0')),_0x302153=_0x4ae445[_0x15f1('0x5')];this['_trackChangesValueDuringImport']!==_0x302153&&(_0x4ae445[_0x15f1('0xd')](),this[_0x15f1('0x12')]=!0x0),_0x4c1d69&&_0x4c1d69[_0x15f1('0x11')](({id:_0x54204d,type:_0x732852,author:_0x4d0283,created_at:_0x4ad59c})=>{const _0x1eb69e={'id':_0x54204d,'type':_0x732852,'authorId':this[_0x15f1('0x6')][_0x15f1('0x7')]['get'](_0x15f1('0x1'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4d0283,'createdAt':_0x4ad59c?new Date(_0x4ad59c):new Date(),'source':_0x15f1('0x14')}}};this[_0x15f1('0x6')][_0x15f1('0x7')][_0x15f1('0x13')](_0x15f1('0x4'))['_setSuggestionData'](_0x1eb69e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4116=['IndentEditing','filter','document','indentBlock','IndentBlock','_descriptionFactory','from','outdentBlock','model','*Outdent:*\x20%0','get','indent','has','enableCommand','plugins','locale','outdent','commandName','format','schema','getSelectedBlocks','markBlockFormat','editor','blockIndent','getItemLabel'];(function(_0x53ed2b,_0x41166c){const _0x32b5fe=function(_0x58d592){while(--_0x58d592){_0x53ed2b['push'](_0x53ed2b['shift']());}};_0x32b5fe(++_0x41166c);}(_0x4116,0x1c4));const _0x32b5=function(_0x53ed2b,_0x41166c){_0x53ed2b=_0x53ed2b-0x0;let _0x32b5fe=_0x4116[_0x53ed2b];return _0x32b5fe;};import{Plugin as _0x1ea10a}from'ckeditor5/src/core';import{getTranslation as _0x54bbc4}from'../utils/common-translations';export default class tt extends _0x1ea10a{['afterInit'](){const _0x4becee=this[_0x32b5('0x14')],_0x2895a2=_0x4becee['plugins'][_0x32b5('0x8')]('TrackChangesEditing');_0x4becee[_0x32b5('0xc')]['has'](_0x32b5('0x17'))&&(_0x2895a2[_0x32b5('0xb')](_0x32b5('0x9')),_0x2895a2[_0x32b5('0xb')](_0x32b5('0xe')));const _0x37890f=_0x4becee[_0x32b5('0xd')];if(_0x4becee['plugins'][_0x32b5('0xa')](_0x32b5('0x2'))){for(const _0x92f0f of[_0x32b5('0x1'),_0x32b5('0x5')])_0x2895a2[_0x32b5('0xb')](_0x92f0f,()=>{const _0x153540=Array[_0x32b5('0x4')](this[_0x32b5('0x14')][_0x32b5('0x6')][_0x32b5('0x0')]['selection'][_0x32b5('0x12')]())[_0x32b5('0x18')](_0x39a458=>this[_0x32b5('0x14')]['model'][_0x32b5('0x11')]['checkAttribute'](_0x39a458,_0x32b5('0x15')));_0x4becee['model']['change'](()=>{for(const _0x4f3a02 of _0x153540)_0x2895a2[_0x32b5('0x13')](_0x4f3a02,{'commandName':_0x92f0f,'commandParams':[{'value':''}],'formatGroupId':_0x32b5('0x1')});});});_0x2895a2[_0x32b5('0x3')]['registerDescriptionCallback'](_0x4c4a96=>{const {data:_0x2ddbd3}=_0x4c4a96;if(!_0x2ddbd3)return;if('indentBlock'!=_0x2ddbd3[_0x32b5('0xf')]&&'outdentBlock'!=_0x2ddbd3[_0x32b5('0xf')])return;const _0x5cc749=_0x4c4a96['getItems']()[0x0],_0x13c10d=_0x2895a2[_0x32b5('0x3')][_0x32b5('0x16')](_0x5cc749);return _0x32b5('0x1')==_0x2ddbd3[_0x32b5('0xf')]?{'type':_0x32b5('0x10'),'content':_0x54bbc4(_0x37890f,'*Indent:*\x20%0',_0x13c10d)}:_0x32b5('0x5')==_0x2ddbd3[_0x32b5('0xf')]?{'type':_0x32b5('0x10'),'content':_0x54bbc4(_0x37890f,_0x32b5('0x7'),_0x13c10d)}:void 0x0;});}}}
23
+ const _0x4e72=['afterInit','format','getItemLabel','checkAttribute','indent','getItems','IndentBlock','from','locale','IndentEditing','selection','enableCommand','indentBlock','*Indent:*\x20%0','_descriptionFactory','plugins','getSelectedBlocks','blockIndent','document','TrackChangesEditing','editor','get','has','commandName','model','outdentBlock','schema','*Outdent:*\x20%0'];(function(_0x53d187,_0x4e721e){const _0x473458=function(_0x17078d){while(--_0x17078d){_0x53d187['push'](_0x53d187['shift']());}};_0x473458(++_0x4e721e);}(_0x4e72,0x1c4));const _0x4734=function(_0x53d187,_0x4e721e){_0x53d187=_0x53d187-0x0;let _0x473458=_0x4e72[_0x53d187];return _0x473458;};import{Plugin as _0x2bfdf5}from'ckeditor5/src/core';import{getTranslation as _0xca98d7}from'../utils/common-translations';export default class tt extends _0x2bfdf5{[_0x4734('0x18')](){const _0x2f8a80=this[_0x4734('0x10')],_0x34d7ba=_0x2f8a80[_0x4734('0xb')][_0x4734('0x11')](_0x4734('0xf'));_0x2f8a80[_0x4734('0xb')][_0x4734('0x12')](_0x4734('0x5'))&&(_0x34d7ba[_0x4734('0x7')](_0x4734('0x0')),_0x34d7ba[_0x4734('0x7')]('outdent'));const _0x2ef2e2=_0x2f8a80[_0x4734('0x4')];if(_0x2f8a80[_0x4734('0xb')][_0x4734('0x12')](_0x4734('0x2'))){for(const _0x4617ae of[_0x4734('0x8'),'outdentBlock'])_0x34d7ba[_0x4734('0x7')](_0x4617ae,()=>{const _0x53447c=Array[_0x4734('0x3')](this[_0x4734('0x10')]['model'][_0x4734('0xe')][_0x4734('0x6')][_0x4734('0xc')]())['filter'](_0x2ff9ae=>this[_0x4734('0x10')][_0x4734('0x14')][_0x4734('0x16')][_0x4734('0x1b')](_0x2ff9ae,_0x4734('0xd')));_0x2f8a80[_0x4734('0x14')]['change'](()=>{for(const _0x4c39aa of _0x53447c)_0x34d7ba['markBlockFormat'](_0x4c39aa,{'commandName':_0x4617ae,'commandParams':[{'value':''}],'formatGroupId':_0x4734('0x8')});});});_0x34d7ba[_0x4734('0xa')]['registerDescriptionCallback'](_0x348f99=>{const {data:_0x5d1c3e}=_0x348f99;if(!_0x5d1c3e)return;if(_0x4734('0x8')!=_0x5d1c3e[_0x4734('0x13')]&&_0x4734('0x15')!=_0x5d1c3e[_0x4734('0x13')])return;const _0x56c0dd=_0x348f99[_0x4734('0x1')]()[0x0],_0x5cee1d=_0x34d7ba[_0x4734('0xa')][_0x4734('0x1a')](_0x56c0dd);return'indentBlock'==_0x5d1c3e[_0x4734('0x13')]?{'type':_0x4734('0x19'),'content':_0xca98d7(_0x2ef2e2,_0x4734('0x9'),_0x5cee1d)}:_0x4734('0x15')==_0x5d1c3e[_0x4734('0x13')]?{'type':_0x4734('0x19'),'content':_0xca98d7(_0x2ef2e2,_0x4734('0x17'),_0x5cee1d)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1108=['get','requires','editor','enableCommand','TrackChangesEditing'];(function(_0x334db4,_0x110841){var _0x4ea0f5=function(_0x134d2f){while(--_0x134d2f){_0x334db4['push'](_0x334db4['shift']());}};_0x4ea0f5(++_0x110841);}(_0x1108,0x13b));var _0x4ea0=function(_0x334db4,_0x110841){_0x334db4=_0x334db4-0x0;var _0x4ea0f5=_0x1108[_0x334db4];return _0x4ea0f5;};import{Plugin as _0x3d43ec}from'ckeditor5/src/core';import{Input as _0x501684}from'ckeditor5/src/typing';export default class it extends _0x3d43ec{static get[_0x4ea0('0x1')](){return[_0x501684];}['init'](){this[_0x4ea0('0x2')]['plugins'][_0x4ea0('0x0')](_0x4ea0('0x4'))[_0x4ea0('0x3')]('input');}}
23
+ var _0x94c2=['get','requires','init','editor','TrackChangesEditing'];(function(_0x533139,_0x94c25b){var _0x3a506f=function(_0xab0d5){while(--_0xab0d5){_0x533139['push'](_0x533139['shift']());}};_0x3a506f(++_0x94c25b);}(_0x94c2,0x1c1));var _0x3a50=function(_0x533139,_0x94c25b){_0x533139=_0x533139-0x0;var _0x3a506f=_0x94c2[_0x533139];return _0x3a506f;};import{Plugin as _0x5a065d}from'ckeditor5/src/core';import{Input as _0x44d0e4}from'ckeditor5/src/typing';export default class it extends _0x5a065d{static get[_0x3a50('0x2')](){return[_0x44d0e4];}[_0x3a50('0x3')](){this[_0x3a50('0x4')]['plugins'][_0x3a50('0x1')](_0x3a50('0x0'))['enableCommand']('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e21=['unlink','commandParams','registerDescriptionCallback','has','locale','getFirstRange','editor','getFirstPosition','afterInit','plugins','selection','model','linkHref','getRanges','markInlineFormat','format','*Set\x20link:*\x20%0','commandName','hasAttribute','TrackChangesEditing','isCollapsed','link','_descriptionFactory','document','enableCommand','change'];(function(_0x4d3333,_0x4e2190){const _0x2ec5b3=function(_0x1af598){while(--_0x1af598){_0x4d3333['push'](_0x4d3333['shift']());}};_0x2ec5b3(++_0x4e2190);}(_0x4e21,0x1a8));const _0x2ec5=function(_0x4d3333,_0x4e2190){_0x4d3333=_0x4d3333-0x0;let _0x2ec5b3=_0x4e21[_0x4d3333];return _0x2ec5b3;};import{Plugin as _0x1ca32d}from'ckeditor5/src/core';import{findAttributeRange as _0x1ddb0e}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5e2c4f}from'./utils';import{getTranslation as _0x5523ea}from'../utils/common-translations';export default class et extends _0x1ca32d{[_0x2ec5('0x0')](){const _0x3db95c=this[_0x2ec5('0x18')];if(!_0x3db95c[_0x2ec5('0x1')][_0x2ec5('0x15')]('LinkEditing'))return;const _0x8eec9d=_0x3db95c[_0x2ec5('0x1')]['get'](_0x2ec5('0xb'));_0x8eec9d[_0x2ec5('0x10')](_0x2ec5('0xd'),(_0x26b6ef,_0x1f83c6)=>{const _0xf95323=_0x3db95c[_0x2ec5('0x3')][_0x2ec5('0xf')]['selection'];let _0x24234a=[];if(_0xf95323[_0x2ec5('0xc')]){if(!_0xf95323[_0x2ec5('0xa')](_0x2ec5('0x4')))return void _0x26b6ef(_0x1f83c6);{const _0x1cf05f=_0x1ddb0e(_0xf95323[_0x2ec5('0x19')](),_0x2ec5('0x4'),_0xf95323['getAttribute'](_0x2ec5('0x4')),_0x3db95c[_0x2ec5('0x3')]);_0x24234a=[_0x1cf05f];}}else _0x24234a=Array['from'](_0xf95323[_0x2ec5('0x5')]());_0x3db95c['model'][_0x2ec5('0x11')](()=>{for(const _0x55df9f of _0x24234a)_0x8eec9d[_0x2ec5('0x6')](_0x55df9f,{'commandName':_0x2ec5('0xd'),'commandParams':[_0x1f83c6]});});}),_0x8eec9d[_0x2ec5('0x10')](_0x2ec5('0x12'),()=>{const _0x3aee94=this[_0x2ec5('0x18')][_0x2ec5('0x3')],_0x4d3bd5=_0x3aee94[_0x2ec5('0xf')][_0x2ec5('0x2')];_0x3aee94['change'](()=>{let _0x17f053=[];if(_0x4d3bd5[_0x2ec5('0xc')])_0x17f053=[_0x1ddb0e(_0x4d3bd5[_0x2ec5('0x19')](),_0x2ec5('0x4'),_0x4d3bd5['getAttribute'](_0x2ec5('0x4')),_0x3db95c['model'])];else _0x17f053=_0x5e2c4f(_0x2ec5('0x4'),_0x4d3bd5[_0x2ec5('0x17')](),_0x3db95c[_0x2ec5('0x3')]);for(const _0x3592fe of _0x17f053)_0x8eec9d[_0x2ec5('0x6')](_0x3592fe,{'commandName':'unlink','commandParams':[]});});}),_0x8eec9d[_0x2ec5('0xe')][_0x2ec5('0x14')](_0x4b9a1e=>{const {data:_0x5cc7f3}=_0x4b9a1e,_0x54cbb3=_0x3db95c[_0x2ec5('0x16')];if(_0x5cc7f3){if('link'==_0x5cc7f3[_0x2ec5('0x9')]){const _0x48e84a=_0x5cc7f3[_0x2ec5('0x13')][0x0];return{'type':_0x2ec5('0x7'),'content':_0x5523ea(_0x54cbb3,_0x2ec5('0x8'),'\x22'+_0x48e84a+'\x22')};}return _0x2ec5('0x12')==_0x5cc7f3[_0x2ec5('0x9')]?{'type':'format','content':_0x5523ea(_0x54cbb3,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x4c00=['markInlineFormat','*Remove\x20link*','editor','afterInit','selection','change','LinkEditing','get','getAttribute','commandName','getFirstPosition','hasAttribute','locale','from','link','enableCommand','document','has','model','format','isCollapsed','unlink','linkHref','registerDescriptionCallback','plugins'];(function(_0x4c56e1,_0x4c001f){const _0x3de4cf=function(_0x41c300){while(--_0x41c300){_0x4c56e1['push'](_0x4c56e1['shift']());}};_0x3de4cf(++_0x4c001f);}(_0x4c00,0x1a4));const _0x3de4=function(_0x4c56e1,_0x4c001f){_0x4c56e1=_0x4c56e1-0x0;let _0x3de4cf=_0x4c00[_0x4c56e1];return _0x3de4cf;};import{Plugin as _0x4d4831}from'ckeditor5/src/core';import{findAttributeRange as _0x27d9d0}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x231785}from'./utils';import{getTranslation as _0x5eb7e1}from'../utils/common-translations';export default class et extends _0x4d4831{[_0x3de4('0x8')](){const _0x528e7f=this[_0x3de4('0x7')];if(!_0x528e7f[_0x3de4('0x4')][_0x3de4('0x16')](_0x3de4('0xb')))return;const _0x56e694=_0x528e7f[_0x3de4('0x4')][_0x3de4('0xc')]('TrackChangesEditing');_0x56e694[_0x3de4('0x14')]('link',(_0x2b83e6,_0x1416e4)=>{const _0x5cf9bc=_0x528e7f[_0x3de4('0x17')][_0x3de4('0x15')][_0x3de4('0x9')];let _0x26d531=[];if(_0x5cf9bc[_0x3de4('0x0')]){if(!_0x5cf9bc[_0x3de4('0x10')](_0x3de4('0x2')))return void _0x2b83e6(_0x1416e4);{const _0x34465d=_0x27d9d0(_0x5cf9bc[_0x3de4('0xf')](),_0x3de4('0x2'),_0x5cf9bc['getAttribute'](_0x3de4('0x2')),_0x528e7f['model']);_0x26d531=[_0x34465d];}}else _0x26d531=Array[_0x3de4('0x12')](_0x5cf9bc['getRanges']());_0x528e7f[_0x3de4('0x17')][_0x3de4('0xa')](()=>{for(const _0x2421eb of _0x26d531)_0x56e694[_0x3de4('0x5')](_0x2421eb,{'commandName':_0x3de4('0x13'),'commandParams':[_0x1416e4]});});}),_0x56e694[_0x3de4('0x14')](_0x3de4('0x1'),()=>{const _0x3414e8=this[_0x3de4('0x7')][_0x3de4('0x17')],_0x2e7dd0=_0x3414e8[_0x3de4('0x15')]['selection'];_0x3414e8[_0x3de4('0xa')](()=>{let _0x5b4953=[];if(_0x2e7dd0[_0x3de4('0x0')])_0x5b4953=[_0x27d9d0(_0x2e7dd0[_0x3de4('0xf')](),_0x3de4('0x2'),_0x2e7dd0[_0x3de4('0xd')](_0x3de4('0x2')),_0x528e7f['model'])];else _0x5b4953=_0x231785(_0x3de4('0x2'),_0x2e7dd0['getFirstRange'](),_0x528e7f[_0x3de4('0x17')]);for(const _0x22eb61 of _0x5b4953)_0x56e694[_0x3de4('0x5')](_0x22eb61,{'commandName':_0x3de4('0x1'),'commandParams':[]});});}),_0x56e694['_descriptionFactory'][_0x3de4('0x3')](_0xedae9=>{const {data:_0x512f25}=_0xedae9,_0x399ab9=_0x528e7f[_0x3de4('0x11')];if(_0x512f25){if('link'==_0x512f25[_0x3de4('0xe')]){const _0x2421b5=_0x512f25['commandParams'][0x0];return{'type':_0x3de4('0x18'),'content':_0x5eb7e1(_0x399ab9,'*Set\x20link:*\x20%0','\x22'+_0x2421b5+'\x22')};}return _0x3de4('0x1')==_0x512f25['commandName']?{'type':_0x3de4('0x18'),'content':_0x5eb7e1(_0x399ab9,_0x3de4('0x6'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cbb=['markBlockFormat','checkChild','ListEditing','listItem','slice','findIndex','getAttribute','get','listIndent','todoListChecked','*Change\x20to:*\x20%0','push','listType','_selectedElements','todoList','registerDescriptionCallback','ELEMENT_LIST_ITEM','plugins','commands','outdentList','locale','add','todo','selection','createPositionAt','before','TrackChangesEditing','checkTodoList','*Uncheck\x20item*','*Outdent:*\x20%0','replace','element','*Check\x20item*','ELEMENT_BULLETED_LIST','forceValue','ELEMENT_NUMBERED_LIST','registerElementLabel','format','model','isObject','TodoListEditing','document','has','indentList','_descriptionFactory','enableCommand','end','schema','commandName','change','getSelectedBlocks','filter','commandParams','numbered','paragraph','bulletedList','value','numberedList','ELEMENT_TODO_LIST','name','from','previousSibling','nextSibling','*Indent:*\x20%0'];(function(_0x4e11ac,_0x5cbba8){const _0xa1a7ae=function(_0x464365){while(--_0x464365){_0x4e11ac['push'](_0x4e11ac['shift']());}};_0xa1a7ae(++_0x5cbba8);}(_0x5cbb,0x1ac));const _0xa1a7=function(_0x4e11ac,_0x5cbba8){_0x4e11ac=_0x4e11ac-0x0;let _0xa1a7ae=_0x5cbb[_0x4e11ac];return _0xa1a7ae;};import{Plugin as _0x4d6b39}from'ckeditor5/src/core';import{getTranslation as _0x4c1cf1}from'../utils/common-translations';export default class st extends _0x4d6b39{['afterInit'](){const _0x39d8d6=this['editor'],_0x47bc88=_0x39d8d6[_0xa1a7('0x28')];if(!_0x39d8d6[_0xa1a7('0x25')][_0xa1a7('0x3e')](_0xa1a7('0x16')))return;const _0x54337b=_0x39d8d6[_0xa1a7('0x25')]['get'](_0xa1a7('0x2e')),_0x477055=_0x39d8d6[_0xa1a7('0x25')][_0xa1a7('0x3e')](_0xa1a7('0x3c'));function _0x2ce7b8(_0x1c815b){return()=>{const _0x450251=_0x39d8d6[_0xa1a7('0x3a')][_0xa1a7('0x3d')][_0xa1a7('0x2b')],_0x154509=_0x39d8d6['commands'][_0xa1a7('0x1b')](_0x1c815b);if(_0x154509['value'])return void _0x39d8d6['execute'](_0xa1a7('0xa'),{});const _0x192e8f=_0x1c815b[_0xa1a7('0x18')](0x0,-0x4),_0x143025=function(_0x489af,_0x3c8b3a,_0x1431f0){let _0x1b4036=Array[_0xa1a7('0x10')](_0x489af)['filter'](_0x5cfd96=>function(_0x1e908a,_0x511511){return _0x511511[_0xa1a7('0x15')](_0x1e908a['parent'],'listItem')&&!_0x511511[_0xa1a7('0x3b')](_0x1e908a);}(_0x5cfd96,_0x1431f0));_0x1b4036=_0x1b4036[_0xa1a7('0x7')](_0x49c28d=>!_0x49c28d['is'](_0xa1a7('0x33'),'listItem')||_0x49c28d[_0xa1a7('0x1a')](_0xa1a7('0x20'))!=_0x3c8b3a);const _0x258eaf=new Set();for(const _0xf43f4f of _0x1b4036)_0xf43f4f['is'](_0xa1a7('0x33'),_0xa1a7('0x17'))?_0x258eaf[_0xa1a7('0x29')](ne(_0xf43f4f)):_0x258eaf['add'](_0xf43f4f);return Array['from'](_0x258eaf);}(_0x450251[_0xa1a7('0x6')](),_0x192e8f,_0x39d8d6['model'][_0xa1a7('0x3')]);_0x39d8d6[_0xa1a7('0x3a')][_0xa1a7('0x5')](()=>{for(const _0x289dee of _0x143025)_0x54337b[_0xa1a7('0x14')](_0x289dee,{'commandName':_0x1c815b,'commandParams':[{'forceValue':!_0x154509['value']}],'formatGroupId':'blockName'},oe(_0x289dee));});};}function _0x1fbfb4(_0xd83dcf){return()=>{const _0x4bd4c6=function(_0x51e57e){let _0xfdb978=Array[_0xa1a7('0x10')](_0x51e57e);const _0x49c6e7=_0xfdb978[_0xa1a7('0x19')](_0xf0e65=>_0xa1a7('0x17')!=_0xf0e65[_0xa1a7('0xf')]);return _0x49c6e7>-0x1&&(_0xfdb978=_0xfdb978[_0xa1a7('0x18')](0x0,_0x49c6e7)),_0xfdb978;}(_0x39d8d6[_0xa1a7('0x3a')][_0xa1a7('0x3d')][_0xa1a7('0x2b')][_0xa1a7('0x6')]()),_0x21edfb=_0x39d8d6[_0xa1a7('0x3a')]['createRange'](_0x39d8d6['model']['createPositionAt'](_0x4bd4c6[0x0],_0xa1a7('0x2d')),_0x39d8d6['model'][_0xa1a7('0x2c')](_0x4bd4c6[_0x4bd4c6['length']-0x1],_0xa1a7('0x2')));_0x39d8d6[_0xa1a7('0x3a')]['change'](()=>{_0x54337b['markBlockFormat'](_0x21edfb,{'commandName':_0xd83dcf,'commandParams':[],'formatGroupId':_0xa1a7('0x1c')},function(_0x84e676){const _0x429f03=new Set();for(const _0x580617 of _0x84e676){let _0x47142f=_0x580617['nextSibling'];for(;_0x47142f&&_0x47142f[_0xa1a7('0x1a')](_0xa1a7('0x1c'))>_0x580617[_0xa1a7('0x1a')](_0xa1a7('0x1c'));)_0x429f03['add'](_0x47142f),_0x47142f=_0x47142f['nextSibling'];}return Array[_0xa1a7('0x10')](_0x429f03);}(_0x4bd4c6));});};}_0x54337b['enableCommand']('numberedList',_0x2ce7b8(_0xa1a7('0xd'))),_0x54337b[_0xa1a7('0x1')]('bulletedList',_0x2ce7b8(_0xa1a7('0xb'))),_0x477055&&_0x54337b[_0xa1a7('0x1')]('todoList',_0x2ce7b8(_0xa1a7('0x22'))),_0x54337b[_0xa1a7('0x1')]('indentList',_0x1fbfb4(_0xa1a7('0x3f'))),_0x54337b[_0xa1a7('0x1')](_0xa1a7('0x27'),_0x1fbfb4(_0xa1a7('0x27'))),_0x477055&&_0x54337b[_0xa1a7('0x1')](_0xa1a7('0x2f'),()=>{const _0xa39a81=_0x39d8d6[_0xa1a7('0x26')][_0xa1a7('0x1b')]('checkTodoList'),_0x138038=Array[_0xa1a7('0x10')](_0xa39a81[_0xa1a7('0x21')]);_0x138038[_0xa1a7('0x7')](_0x25a00f=>_0x25a00f[_0xa1a7('0x1a')](_0xa1a7('0x1d'))!=_0xa39a81[_0xa1a7('0xc')]),_0x39d8d6[_0xa1a7('0x3a')][_0xa1a7('0x5')](()=>{for(const _0x6c85ae of _0x138038)_0x54337b[_0xa1a7('0x14')](_0x6c85ae,{'commandName':_0xa1a7('0x2f'),'commandParams':[{'forceValue':!_0xa39a81['value']}]});});}),_0x54337b['_descriptionFactory'][_0xa1a7('0x38')](_0xa1a7('0x17'),_0xc87427=>_0x4c1cf1(_0x47bc88,_0xa1a7('0x24'),_0xc87427)),_0x54337b[_0xa1a7('0x0')][_0xa1a7('0x23')](_0x1ff5e9=>{const {data:_0xafb223}=_0x1ff5e9;if(_0xafb223){if(_0xa1a7('0xd')==_0xafb223[_0xa1a7('0x4')]||_0xa1a7('0xb')==_0xafb223[_0xa1a7('0x4')]||_0xa1a7('0x22')==_0xafb223[_0xa1a7('0x4')])switch(_0xafb223['commandName'][_0xa1a7('0x32')]('List','')){case'bulleted':return _0x376729(_0x4c1cf1(_0x47bc88,_0xa1a7('0x35')));case _0xa1a7('0x9'):return _0x376729(_0x4c1cf1(_0x47bc88,_0xa1a7('0x37')));case _0xa1a7('0x2a'):return _0x376729(_0x4c1cf1(_0x47bc88,_0xa1a7('0xe')));}if(_0xa1a7('0x3f')==_0xafb223['commandName'])return{'type':'format','content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x13'),_0x4c1cf1(_0x47bc88,'ELEMENT_LIST_ITEM'))};if(_0xa1a7('0x27')==_0xafb223[_0xa1a7('0x4')])return{'type':_0xa1a7('0x39'),'content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x31'),_0x4c1cf1(_0x47bc88,_0xa1a7('0x24')))};if(_0xa1a7('0x2f')==_0xafb223[_0xa1a7('0x4')])return _0xafb223[_0xa1a7('0x8')][0x0][_0xa1a7('0x36')]?{'type':_0xa1a7('0x39'),'content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x34'))}:{'type':_0xa1a7('0x39'),'content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x30'))};}function _0x376729(_0x5762fa){return{'type':'format','content':_0x4c1cf1(_0x47bc88,_0xa1a7('0x1e'),_0x5762fa)};}});}}function ne(_0x571284){const _0x2a2b68=_0x571284[_0xa1a7('0x1a')](_0xa1a7('0x1c'));if(0x0==_0x2a2b68)return _0x571284;let _0x1ae70f=_0x571284;for(;_0x571284[_0xa1a7('0x11')]&&_0x571284[_0xa1a7('0x11')]['is'](_0xa1a7('0x33'),_0xa1a7('0x17'));){const _0x4831d6=_0x571284[_0xa1a7('0x11')]['getAttribute'](_0xa1a7('0x1c'));if(_0x4831d6==_0x2a2b68)_0x1ae70f=_0x571284['previousSibling'];else{if(_0x4831d6<_0x2a2b68)break;}_0x571284=_0x571284[_0xa1a7('0x11')];}return _0x1ae70f;}function oe(_0x1b6f6f){const _0x2a1e3d=[];if(_0x1b6f6f['is']('element',_0xa1a7('0x17'))&&_0x1b6f6f['getAttribute'](_0xa1a7('0x1c'))>0x0){let _0x44ac11=_0x1b6f6f[_0xa1a7('0x12')];for(;_0x44ac11&&'listItem'==_0x44ac11[_0xa1a7('0xf')]&&_0x44ac11[_0xa1a7('0x1a')]('listIndent')==_0x1b6f6f['getAttribute'](_0xa1a7('0x1c'));)_0x2a1e3d[_0xa1a7('0x1f')](_0x44ac11),_0x44ac11=_0x44ac11[_0xa1a7('0x12')];}return _0x2a1e3d;}
23
+ const _0xdd7c=['from','commandName','nextSibling','TodoListEditing','end','checkTodoList','registerDescriptionCallback','listIndent','locale','markBlockFormat','add','previousSibling','has','bulletedList','commands','outdentList','todoList','indentList','element','model','getAttribute','*Outdent:*\x20%0','*Uncheck\x20item*','get','*Indent:*\x20%0','value','listType','forceValue','numberedList','schema','listItem','blockName','selection','*Check\x20item*','_descriptionFactory','isObject','name','afterInit','enableCommand','todoListChecked','format','createRange','*Change\x20to:*\x20%0','checkChild','filter','createPositionAt','plugins','slice','commandParams','editor','document','change','bulleted','ELEMENT_TODO_LIST','paragraph','push','_selectedElements','TrackChangesEditing','registerElementLabel','getSelectedBlocks'];(function(_0x190f0b,_0xdd7c4f){const _0x45790d=function(_0x1eeae1){while(--_0x1eeae1){_0x190f0b['push'](_0x190f0b['shift']());}};_0x45790d(++_0xdd7c4f);}(_0xdd7c,0xcd));const _0x4579=function(_0x190f0b,_0xdd7c4f){_0x190f0b=_0x190f0b-0x0;let _0x45790d=_0xdd7c[_0x190f0b];return _0x45790d;};import{Plugin as _0x4ab496}from'ckeditor5/src/core';import{getTranslation as _0x57c299}from'../utils/common-translations';export default class st extends _0x4ab496{[_0x4579('0xc')](){const _0x1a3f3d=this[_0x4579('0x18')],_0x714052=_0x1a3f3d[_0x4579('0x2b')];if(!_0x1a3f3d[_0x4579('0x15')][_0x4579('0x2f')]('ListEditing'))return;const _0x891aa2=_0x1a3f3d[_0x4579('0x15')][_0x4579('0x3a')](_0x4579('0x20')),_0x36737d=_0x1a3f3d[_0x4579('0x15')]['has'](_0x4579('0x26'));function _0x1af6b3(_0x32b553){return()=>{const _0x207bcc=_0x1a3f3d[_0x4579('0x36')][_0x4579('0x19')][_0x4579('0x7')],_0x1fbacc=_0x1a3f3d[_0x4579('0x31')][_0x4579('0x3a')](_0x32b553);if(_0x1fbacc['value'])return void _0x1a3f3d['execute'](_0x4579('0x1d'),{});const _0x520787=_0x32b553[_0x4579('0x16')](0x0,-0x4),_0x56bba2=function(_0x118584,_0x2f631d,_0x3c2701){let _0x1ff150=Array[_0x4579('0x23')](_0x118584)[_0x4579('0x13')](_0x2b1366=>function(_0x4e49da,_0x53b621){return _0x53b621[_0x4579('0x12')](_0x4e49da['parent'],_0x4579('0x5'))&&!_0x53b621[_0x4579('0xa')](_0x4e49da);}(_0x2b1366,_0x3c2701));_0x1ff150=_0x1ff150['filter'](_0x4447c1=>!_0x4447c1['is'](_0x4579('0x35'),_0x4579('0x5'))||_0x4447c1[_0x4579('0x37')](_0x4579('0x1'))!=_0x2f631d);const _0x3948a3=new Set();for(const _0x12ed05 of _0x1ff150)_0x12ed05['is'](_0x4579('0x35'),_0x4579('0x5'))?_0x3948a3[_0x4579('0x2d')](ne(_0x12ed05)):_0x3948a3[_0x4579('0x2d')](_0x12ed05);return Array[_0x4579('0x23')](_0x3948a3);}(_0x207bcc[_0x4579('0x22')](),_0x520787,_0x1a3f3d[_0x4579('0x36')][_0x4579('0x4')]);_0x1a3f3d['model'][_0x4579('0x1a')](()=>{for(const _0x1fd97a of _0x56bba2)_0x891aa2[_0x4579('0x2c')](_0x1fd97a,{'commandName':_0x32b553,'commandParams':[{'forceValue':!_0x1fbacc[_0x4579('0x0')]}],'formatGroupId':_0x4579('0x6')},oe(_0x1fd97a));});};}function _0x2d3586(_0x271d02){return()=>{const _0x13f42b=function(_0x1ad942){let _0x52fc41=Array[_0x4579('0x23')](_0x1ad942);const _0x14b620=_0x52fc41['findIndex'](_0x459f71=>_0x4579('0x5')!=_0x459f71[_0x4579('0xb')]);return _0x14b620>-0x1&&(_0x52fc41=_0x52fc41[_0x4579('0x16')](0x0,_0x14b620)),_0x52fc41;}(_0x1a3f3d[_0x4579('0x36')][_0x4579('0x19')][_0x4579('0x7')]['getSelectedBlocks']()),_0x1b755b=_0x1a3f3d['model'][_0x4579('0x10')](_0x1a3f3d[_0x4579('0x36')][_0x4579('0x14')](_0x13f42b[0x0],'before'),_0x1a3f3d[_0x4579('0x36')][_0x4579('0x14')](_0x13f42b[_0x13f42b['length']-0x1],_0x4579('0x27')));_0x1a3f3d[_0x4579('0x36')][_0x4579('0x1a')](()=>{_0x891aa2[_0x4579('0x2c')](_0x1b755b,{'commandName':_0x271d02,'commandParams':[],'formatGroupId':_0x4579('0x2a')},function(_0x2daffb){const _0x3f25bc=new Set();for(const _0x55515f of _0x2daffb){let _0x328d96=_0x55515f[_0x4579('0x25')];for(;_0x328d96&&_0x328d96[_0x4579('0x37')](_0x4579('0x2a'))>_0x55515f[_0x4579('0x37')](_0x4579('0x2a'));)_0x3f25bc[_0x4579('0x2d')](_0x328d96),_0x328d96=_0x328d96[_0x4579('0x25')];}return Array['from'](_0x3f25bc);}(_0x13f42b));});};}_0x891aa2['enableCommand'](_0x4579('0x3'),_0x1af6b3('numberedList')),_0x891aa2[_0x4579('0xd')](_0x4579('0x30'),_0x1af6b3('bulletedList')),_0x36737d&&_0x891aa2[_0x4579('0xd')](_0x4579('0x33'),_0x1af6b3('todoList')),_0x891aa2['enableCommand'](_0x4579('0x34'),_0x2d3586('indentList')),_0x891aa2[_0x4579('0xd')]('outdentList',_0x2d3586(_0x4579('0x32'))),_0x36737d&&_0x891aa2[_0x4579('0xd')]('checkTodoList',()=>{const _0x1898ad=_0x1a3f3d[_0x4579('0x31')][_0x4579('0x3a')](_0x4579('0x28')),_0x1a29ef=Array[_0x4579('0x23')](_0x1898ad[_0x4579('0x1f')]);_0x1a29ef['filter'](_0x519c30=>_0x519c30[_0x4579('0x37')](_0x4579('0xe'))!=_0x1898ad[_0x4579('0x0')]),_0x1a3f3d[_0x4579('0x36')][_0x4579('0x1a')](()=>{for(const _0xd6fe62 of _0x1a29ef)_0x891aa2[_0x4579('0x2c')](_0xd6fe62,{'commandName':_0x4579('0x28'),'commandParams':[{'forceValue':!_0x1898ad[_0x4579('0x0')]}]});});}),_0x891aa2[_0x4579('0x9')][_0x4579('0x21')](_0x4579('0x5'),_0x1b9b3e=>_0x57c299(_0x714052,'ELEMENT_LIST_ITEM',_0x1b9b3e)),_0x891aa2[_0x4579('0x9')][_0x4579('0x29')](_0x2a6bbb=>{const {data:_0x40fb7e}=_0x2a6bbb;if(_0x40fb7e){if(_0x4579('0x3')==_0x40fb7e[_0x4579('0x24')]||_0x4579('0x30')==_0x40fb7e[_0x4579('0x24')]||_0x4579('0x33')==_0x40fb7e[_0x4579('0x24')])switch(_0x40fb7e[_0x4579('0x24')]['replace']('List','')){case _0x4579('0x1b'):return _0x5c2a6d(_0x57c299(_0x714052,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x5c2a6d(_0x57c299(_0x714052,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x5c2a6d(_0x57c299(_0x714052,_0x4579('0x1c')));}if(_0x4579('0x34')==_0x40fb7e[_0x4579('0x24')])return{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x3b'),_0x57c299(_0x714052,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x40fb7e[_0x4579('0x24')])return{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x38'),_0x57c299(_0x714052,'ELEMENT_LIST_ITEM'))};if(_0x4579('0x28')==_0x40fb7e['commandName'])return _0x40fb7e[_0x4579('0x17')][0x0][_0x4579('0x2')]?{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x8'))}:{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x39'))};}function _0x5c2a6d(_0x33b831){return{'type':_0x4579('0xf'),'content':_0x57c299(_0x714052,_0x4579('0x11'),_0x33b831)};}});}}function ne(_0x314720){const _0x33fbfe=_0x314720[_0x4579('0x37')](_0x4579('0x2a'));if(0x0==_0x33fbfe)return _0x314720;let _0x519e99=_0x314720;for(;_0x314720['previousSibling']&&_0x314720[_0x4579('0x2e')]['is'](_0x4579('0x35'),_0x4579('0x5'));){const _0x4d9e0e=_0x314720[_0x4579('0x2e')][_0x4579('0x37')](_0x4579('0x2a'));if(_0x4d9e0e==_0x33fbfe)_0x519e99=_0x314720['previousSibling'];else{if(_0x4d9e0e<_0x33fbfe)break;}_0x314720=_0x314720['previousSibling'];}return _0x519e99;}function oe(_0x52d516){const _0x5a2b5c=[];if(_0x52d516['is'](_0x4579('0x35'),'listItem')&&_0x52d516['getAttribute'](_0x4579('0x2a'))>0x0){let _0x21b652=_0x52d516[_0x4579('0x25')];for(;_0x21b652&&_0x4579('0x5')==_0x21b652[_0x4579('0xb')]&&_0x21b652[_0x4579('0x37')](_0x4579('0x2a'))==_0x52d516[_0x4579('0x37')](_0x4579('0x2a'));)_0x5a2b5c[_0x4579('0x1e')](_0x21b652),_0x21b652=_0x21b652[_0x4579('0x25')];}return _0x5a2b5c;}