@ckeditor/ckeditor5-track-changes 37.0.0-rc.0 → 37.0.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 (61) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +2 -2
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/heading.js +1 -1
  21. package/src/integrations/highlight.js +1 -1
  22. package/src/integrations/horizontalline.js +1 -1
  23. package/src/integrations/htmlembed.js +1 -1
  24. package/src/integrations/image.js +1 -1
  25. package/src/integrations/imagereplace.js +1 -1
  26. package/src/integrations/importword.js +1 -1
  27. package/src/integrations/indent.js +1 -1
  28. package/src/integrations/inputcommand.js +1 -1
  29. package/src/integrations/link.js +1 -1
  30. package/src/integrations/list.js +1 -1
  31. package/src/integrations/listproperties.js +1 -1
  32. package/src/integrations/mediaembed.js +1 -1
  33. package/src/integrations/mention.js +1 -1
  34. package/src/integrations/pagebreak.js +1 -1
  35. package/src/integrations/paragraph.js +1 -1
  36. package/src/integrations/removeformat.js +1 -1
  37. package/src/integrations/restrictededitingmode.js +1 -1
  38. package/src/integrations/shiftentercommand.js +1 -1
  39. package/src/integrations/standardeditingmode.js +1 -1
  40. package/src/integrations/style.js +1 -1
  41. package/src/integrations/table.js +1 -1
  42. package/src/integrations/tablecaption.js +1 -1
  43. package/src/integrations/tableclipboard.js +1 -1
  44. package/src/integrations/tablecolumnresize.js +1 -1
  45. package/src/integrations/tableheadings.js +1 -1
  46. package/src/integrations/tablemergesplit.js +1 -1
  47. package/src/integrations/tableproperties.js +1 -1
  48. package/src/integrations/title.js +1 -1
  49. package/src/integrations/undo.js +1 -1
  50. package/src/integrations/utils.js +1 -1
  51. package/src/suggestion.js +1 -1
  52. package/src/suggestiondescriptionfactory.js +1 -1
  53. package/src/trackchanges.js +1 -1
  54. package/src/trackchangesdata.js +1 -1
  55. package/src/trackchangesediting.js +1 -1
  56. package/src/trackchangesui.js +1 -1
  57. package/src/ui/suggestioncontroller.js +1 -1
  58. package/src/ui/view/basesuggestionthreadview.js +1 -1
  59. package/src/ui/view/suggestionthreadview.js +1 -1
  60. package/src/utils/common-translations.js +1 -1
  61. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b37=['FontFamilyEditing','isCollapsed','*Set\x20font\x20family:*\x20%0','model','*Reset\x20font\x20size*','selection','get','fontColor','config','_enableCommand','fontColor.colors','commandParams','*Reset\x20font\x20background\x20color*','TrackChangesEditing','enableCommand','getRanges','value','registerDescriptionCallback','FontColorEditing','*Set\x20font\x20color:*\x20%0','normalizeSizeOptions','trim','has','from','change','fontBackgroundColor.colors','fontFamily','afterInit','editor','format','fontBackgroundColor','markInlineFormat','FontSizeEditing','*Reset\x20font\x20color*','toLowerCase','fontSize.options','_descriptionFactory','find','commandName','fontSize','plugins','FontSize','document','title','locale','FontBackgroundColorEditing','*Set\x20font\x20size:*\x20%0'];(function(_0x301801,_0x5b37ab){const _0x3293dd=function(_0x255c34){while(--_0x255c34){_0x301801['push'](_0x301801['shift']());}};_0x3293dd(++_0x5b37ab);}(_0x5b37,0x12e));const _0x3293=function(_0x301801,_0x5b37ab){_0x301801=_0x301801-0x0;let _0x3293dd=_0x5b37[_0x301801];return _0x3293dd;};import{Plugin as _0x5e292e}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4eddda}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0xc50b58}from'./utils';import{getTranslation as _0x418c27}from'../utils/common-translations';const Jt=[{'pluginName':_0x3293('0xc'),'commandName':_0x3293('0x13')},{'pluginName':_0x3293('0x1b'),'commandName':_0x3293('0x6')},{'pluginName':_0x3293('0x2d'),'commandName':'fontColor'},{'pluginName':_0x3293('0x19'),'commandName':'fontBackgroundColor'}];export default class H extends _0x5e292e{[_0x3293('0x7')](){const _0x30c059=this[_0x3293('0x8')][_0x3293('0x18')];for(const {pluginName:_0x5a9840,commandName:_0x5301e4}of Jt)this[_0x3293('0x8')]['plugins'][_0x3293('0x2')](_0x5a9840)&&this['_enableCommand'](_0x5301e4);this['editor'][_0x3293('0x14')][_0x3293('0x21')](_0x3293('0x28'))[_0x3293('0x10')][_0x3293('0x2c')](_0x47c23e=>{const _0x5a0cc5=_0x30c059['t'],{data:_0x8db5bd}=_0x47c23e;if(null!=_0x8db5bd){if(_0x3293('0x13')==_0x8db5bd[_0x3293('0x12')]){const _0x60b6a6=_0x8db5bd[_0x3293('0x26')][0x0][_0x3293('0x2b')];if(_0x60b6a6){const _0x4157d3=_0x5a0cc5(this[_0x3293('0x8')][_0x3293('0x14')][_0x3293('0x21')](_0x3293('0x15'))[_0x3293('0x0')](this[_0x3293('0x8')][_0x3293('0x23')]['get'](_0x3293('0xf')))[_0x3293('0x11')](_0x232f33=>_0x232f33[_0x3293('0x1e')]==_0x60b6a6)[_0x3293('0x17')])['toLowerCase']();return{'type':_0x3293('0x9'),'content':_0x418c27(_0x30c059,_0x3293('0x1a'),_0x4157d3)};}return{'type':_0x3293('0x9'),'content':_0x418c27(_0x30c059,_0x3293('0x1f'))};}if(_0x3293('0x6')==_0x8db5bd[_0x3293('0x12')]){const _0x8540cc=_0x8db5bd[_0x3293('0x26')][0x0][_0x3293('0x2b')];return _0x8540cc?{'type':'format','content':_0x418c27(_0x30c059,_0x3293('0x1d'),_0x8540cc)}:{'type':'format','content':_0x418c27(_0x30c059,'*Reset\x20font\x20family*')};}if(_0x3293('0x22')==_0x8db5bd['commandName']){const _0x3a1b54=_0x8db5bd['commandParams'][0x0]['value'];if(_0x3a1b54){const _0x1f6c0e=_0x4eddda(this[_0x3293('0x8')][_0x3293('0x23')]['get'](_0x3293('0x25')))[_0x3293('0x11')](_0x2607a5=>_0x2607a5['model']==_0x3a1b54);let _0x28e394=_0x3a1b54,_0x4f5d7e='';return _0x1f6c0e&&(_0x28e394=_0x1f6c0e['label'],_0x4f5d7e=_0x5a0cc5(_0x28e394)[_0x3293('0xe')]()),{'type':_0x3293('0x9'),'content':_0x418c27(_0x30c059,_0x3293('0x2e'),_0x4f5d7e)[_0x3293('0x1')](),'color':{'value':_0x3a1b54,'title':_0x4f5d7e||_0x28e394}};}return{'type':_0x3293('0x9'),'content':_0x418c27(_0x30c059,_0x3293('0xd'))};}if(_0x3293('0xa')==_0x8db5bd['commandName']){const _0x555384=_0x8db5bd[_0x3293('0x26')][0x0][_0x3293('0x2b')];if(_0x555384){const _0x77f2b4=_0x4eddda(this[_0x3293('0x8')][_0x3293('0x23')][_0x3293('0x21')](_0x3293('0x5')))[_0x3293('0x11')](_0x1d847e=>_0x1d847e['model']==_0x555384);let _0x3e097b=_0x555384,_0x2eeef7='';return _0x77f2b4&&(_0x3e097b=_0x77f2b4['label'],_0x2eeef7=_0x5a0cc5(_0x3e097b)[_0x3293('0xe')]()),{'type':'format','content':_0x418c27(_0x30c059,'*Set\x20font\x20background\x20color:*\x20%0',_0x2eeef7)[_0x3293('0x1')](),'color':{'value':_0x555384,'title':_0x2eeef7||_0x3e097b}};}return{'type':_0x3293('0x9'),'content':_0x418c27(_0x30c059,_0x3293('0x27'))};}}});}[_0x3293('0x24')](_0x295782){const _0x27097f=this[_0x3293('0x8')];_0x27097f[_0x3293('0x14')][_0x3293('0x21')](_0x3293('0x28'))[_0x3293('0x29')](_0x295782,(_0x10bc4d,_0x3e9a91={})=>{const _0x5b69f0=_0x27097f[_0x3293('0x1e')][_0x3293('0x16')][_0x3293('0x20')],_0xedd19c=_0x3e9a91['value'];_0x5b69f0[_0x3293('0x1c')]?_0x10bc4d(_0x3e9a91):_0x27097f['model'][_0x3293('0x4')](()=>{const _0x3dfc23=Array[_0x3293('0x3')](_0x5b69f0[_0x3293('0x2a')]());for(const _0x4190e3 of _0x3dfc23){const _0x255df8=_0xedd19c?[_0x4190e3]:_0xc50b58(_0x295782,_0x4190e3,_0x27097f[_0x3293('0x1e')]);for(const _0x4a10c7 of _0x255df8)_0x27097f[_0x3293('0x14')][_0x3293('0x21')](_0x3293('0x28'))[_0x3293('0xb')](_0x4a10c7,{'commandName':_0x295782,'commandParams':[{'value':_0xedd19c}]});}});});}}
23
+ const _0x8375=['getRanges','*Reset\x20font\x20color*','toLowerCase','afterInit','*Set\x20font\x20size:*\x20%0','fontFamily','trim','format','fontSize.options','config','get','model','FontBackgroundColorEditing','fontBackgroundColor','*Set\x20font\x20family:*\x20%0','FontSizeEditing','editor','FontFamilyEditing','fontSize','from','locale','registerDescriptionCallback','find','fontColor.colors','commandParams','plugins','TrackChangesEditing','markInlineFormat','FontColorEditing','selection','commandName','label','change','value','title','_enableCommand','*Reset\x20font\x20size*','FontSize','*Set\x20font\x20background\x20color:*\x20%0','_descriptionFactory','document','*Reset\x20font\x20family*','fontBackgroundColor.colors'];(function(_0x3236aa,_0x837510){const _0x234d71=function(_0x447a17){while(--_0x447a17){_0x3236aa['push'](_0x3236aa['shift']());}};_0x234d71(++_0x837510);}(_0x8375,0x137));const _0x234d=function(_0x3236aa,_0x837510){_0x3236aa=_0x3236aa-0x0;let _0x234d71=_0x8375[_0x3236aa];return _0x234d71;};import{Plugin as _0x411ed5}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1bd4d0}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x2ed2ac}from'./utils';import{getTranslation as _0x54def9}from'../utils/common-translations';const Jt=[{'pluginName':_0x234d('0x5'),'commandName':_0x234d('0x8')},{'pluginName':_0x234d('0x7'),'commandName':_0x234d('0x26')},{'pluginName':_0x234d('0x12'),'commandName':'fontColor'},{'pluginName':_0x234d('0x2'),'commandName':_0x234d('0x3')}];export default class H extends _0x411ed5{[_0x234d('0x24')](){const _0x360084=this[_0x234d('0x6')][_0x234d('0xa')];for(const {pluginName:_0x43ae6f,commandName:_0x2ea4e0}of Jt)this[_0x234d('0x6')][_0x234d('0xf')]['has'](_0x43ae6f)&&this[_0x234d('0x19')](_0x2ea4e0);this[_0x234d('0x6')][_0x234d('0xf')][_0x234d('0x0')](_0x234d('0x10'))[_0x234d('0x1d')][_0x234d('0xb')](_0x54639f=>{const _0x5bbe29=_0x360084['t'],{data:_0x228c50}=_0x54639f;if(null!=_0x228c50){if(_0x234d('0x8')==_0x228c50[_0x234d('0x14')]){const _0x2ce6f7=_0x228c50[_0x234d('0xe')][0x0][_0x234d('0x17')];if(_0x2ce6f7){const _0x33bf2e=_0x5bbe29(this[_0x234d('0x6')][_0x234d('0xf')]['get'](_0x234d('0x1b'))['normalizeSizeOptions'](this[_0x234d('0x6')][_0x234d('0x2a')]['get'](_0x234d('0x29')))[_0x234d('0xc')](_0x29b29f=>_0x29b29f[_0x234d('0x1')]==_0x2ce6f7)[_0x234d('0x18')])[_0x234d('0x23')]();return{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x25'),_0x33bf2e)};}return{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x1a'))};}if(_0x234d('0x26')==_0x228c50[_0x234d('0x14')]){const _0x564d87=_0x228c50[_0x234d('0xe')][0x0][_0x234d('0x17')];return _0x564d87?{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x4'),_0x564d87)}:{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x1f'))};}if('fontColor'==_0x228c50[_0x234d('0x14')]){const _0x4cf8bb=_0x228c50[_0x234d('0xe')][0x0][_0x234d('0x17')];if(_0x4cf8bb){const _0x1f2461=_0x1bd4d0(this['editor'][_0x234d('0x2a')][_0x234d('0x0')](_0x234d('0xd')))[_0x234d('0xc')](_0x54bc26=>_0x54bc26[_0x234d('0x1')]==_0x4cf8bb);let _0x44c418=_0x4cf8bb,_0x37b697='';return _0x1f2461&&(_0x44c418=_0x1f2461[_0x234d('0x15')],_0x37b697=_0x5bbe29(_0x44c418)['toLowerCase']()),{'type':'format','content':_0x54def9(_0x360084,'*Set\x20font\x20color:*\x20%0',_0x37b697)[_0x234d('0x27')](),'color':{'value':_0x4cf8bb,'title':_0x37b697||_0x44c418}};}return{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x22'))};}if(_0x234d('0x3')==_0x228c50[_0x234d('0x14')]){const _0x5729dc=_0x228c50['commandParams'][0x0]['value'];if(_0x5729dc){const _0x507150=_0x1bd4d0(this[_0x234d('0x6')][_0x234d('0x2a')][_0x234d('0x0')](_0x234d('0x20')))[_0x234d('0xc')](_0x6bbbbb=>_0x6bbbbb[_0x234d('0x1')]==_0x5729dc);let _0x5a282e=_0x5729dc,_0x13dd6d='';return _0x507150&&(_0x5a282e=_0x507150[_0x234d('0x15')],_0x13dd6d=_0x5bbe29(_0x5a282e)[_0x234d('0x23')]()),{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,_0x234d('0x1c'),_0x13dd6d)[_0x234d('0x27')](),'color':{'value':_0x5729dc,'title':_0x13dd6d||_0x5a282e}};}return{'type':_0x234d('0x28'),'content':_0x54def9(_0x360084,'*Reset\x20font\x20background\x20color*')};}}});}[_0x234d('0x19')](_0x1d3cf6){const _0x1fcd3e=this[_0x234d('0x6')];_0x1fcd3e[_0x234d('0xf')][_0x234d('0x0')](_0x234d('0x10'))['enableCommand'](_0x1d3cf6,(_0x4a26f3,_0x58e183={})=>{const _0x463681=_0x1fcd3e[_0x234d('0x1')][_0x234d('0x1e')][_0x234d('0x13')],_0x3301de=_0x58e183[_0x234d('0x17')];_0x463681['isCollapsed']?_0x4a26f3(_0x58e183):_0x1fcd3e[_0x234d('0x1')][_0x234d('0x16')](()=>{const _0x332059=Array[_0x234d('0x9')](_0x463681[_0x234d('0x21')]());for(const _0x419e21 of _0x332059){const _0x1dc825=_0x3301de?[_0x419e21]:_0x2ed2ac(_0x1d3cf6,_0x419e21,_0x1fcd3e[_0x234d('0x1')]);for(const _0x360c84 of _0x1dc825)_0x1fcd3e['plugins'][_0x234d('0x0')](_0x234d('0x10'))[_0x234d('0x11')](_0x360c84,{'commandName':_0x1d3cf6,'commandParams':[{'value':_0x3301de}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc426=['get','value','document','commandParams','heading.options','registerDescriptionCallback','filter','afterInit','heading','has','markBlockFormat','title','plugins','from','*Change\x20to:*\x20%0','name','ELEMENT_HEADING_CUSTOM','HeadingEditing','selection','ELEMENT_HEADING','change','enableCommand','config','checkChild','format','getSelectedBlocks','find','blockName','_descriptionFactory','editor','model','parent'];(function(_0x294a70,_0xc4264f){const _0x202e5d=function(_0x59ad7f){while(--_0x59ad7f){_0x294a70['push'](_0x294a70['shift']());}};_0x202e5d(++_0xc4264f);}(_0xc426,0x111));const _0x202e=function(_0x294a70,_0xc4264f){_0x294a70=_0x294a70-0x0;let _0x202e5d=_0xc426[_0x294a70];return _0x202e5d;};import{Plugin as _0x2b3512}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x46483d}from'./utils';import{getTranslation as _0x29d7c2}from'../utils/common-translations';export default class W extends _0x2b3512{[_0x202e('0x16')](){const _0x4d84d1=this['editor'],_0x542b96=_0x4d84d1['locale'],_0x227b52=_0x4d84d1[_0x202e('0x5')]['get'](_0x202e('0x13'));if(!_0x4d84d1[_0x202e('0x1b')][_0x202e('0x18')](_0x202e('0x0')))return;const _0x21a22b=_0x4d84d1[_0x202e('0x1b')][_0x202e('0xf')]('TrackChangesEditing');_0x21a22b[_0x202e('0x4')](_0x202e('0x17'),(_0xe50ecb,_0x3145bc)=>{const _0x3d4573=_0x3145bc[_0x202e('0x10')],_0x28db5f=Array[_0x202e('0x1c')](this[_0x202e('0xc')]['model'][_0x202e('0x11')][_0x202e('0x1')][_0x202e('0x8')]())[_0x202e('0x15')](_0x2b646e=>function(_0x213147,_0x9a5ec9,_0x4dcfb1){return _0x4dcfb1[_0x202e('0x6')](_0x213147[_0x202e('0xe')],_0x9a5ec9)&&!_0x4dcfb1['isObject'](_0x213147)&&_0x213147[_0x202e('0x1e')]!=_0x9a5ec9;}(_0x2b646e,_0x3d4573,this['editor']['model']['schema']));_0x4d84d1[_0x202e('0xd')][_0x202e('0x3')](()=>{for(const _0xf31c16 of _0x28db5f)_0x21a22b[_0x202e('0x19')](_0xf31c16,{'commandName':_0x202e('0x17'),'commandParams':[_0x3145bc],'formatGroupId':_0x202e('0xa')},_0x46483d(_0xf31c16));});});for(const _0x24db90 of _0x227b52)'paragraph'!=_0x24db90[_0x202e('0xd')]&&_0x21a22b[_0x202e('0xb')]['registerElementLabel'](_0x24db90[_0x202e('0xd')],_0x44ba0a=>{const _0x245f1a=Yt(_0x24db90[_0x202e('0xd')]);return null!==_0x245f1a?_0x502790(_0x44ba0a,_0x245f1a):_0x55f248(_0x44ba0a,_0x24db90[_0x202e('0x1a')]);});function _0x502790(_0x149ca1,_0x1714a9){return _0x29d7c2(_0x542b96,_0x202e('0x2'),[_0x149ca1,_0x1714a9]);}function _0x55f248(_0x599dea,_0x5c99f1){return _0x29d7c2(_0x542b96,_0x202e('0x1f'),[_0x599dea,_0x5c99f1]);}_0x21a22b[_0x202e('0xb')][_0x202e('0x14')](_0x285600=>{const {type:_0x20a3dc,data:_0x40bd15}=_0x285600;if('formatBlock'==_0x20a3dc&&_0x40bd15&&'heading'==_0x40bd15['commandName']){const _0x1c82dd=_0x40bd15[_0x202e('0x12')][0x0][_0x202e('0x10')],_0x4e9903=Yt(_0x1c82dd);if(null!==_0x4e9903)return{'type':'format','content':_0x29d7c2(_0x542b96,'*Change\x20to:*\x20%0',_0x502790(0x1,_0x4e9903))};const _0x4b7a63=_0x227b52[_0x202e('0x9')](_0x5b6d0c=>_0x5b6d0c[_0x202e('0xd')]===_0x1c82dd)[_0x202e('0x1a')];return{'type':_0x202e('0x7'),'content':_0x29d7c2(_0x542b96,_0x202e('0x1d'),_0x55f248(0x1,_0x4b7a63))};}});}}function Yt(_0x26f522){const _0x1436cd=_0x26f522['match'](/^heading(\d+)$/);return _0x1436cd?_0x1436cd[0x1]:null;}
23
+ const _0x1c11=['ELEMENT_HEADING_CUSTOM','_descriptionFactory','markBlockFormat','*Change\x20to:*\x20%0','editor','get','change','afterInit','selection','isObject','heading','has','TrackChangesEditing','registerElementLabel','schema','registerDescriptionCallback','format','heading.options','document','ELEMENT_HEADING','formatBlock','blockName','find','locale','config','commandName','filter','title','from','paragraph','value','name','model','match','commandParams','HeadingEditing','checkChild'];(function(_0x5a6175,_0x1c1117){const _0x4c07c5=function(_0x490e4f){while(--_0x490e4f){_0x5a6175['push'](_0x5a6175['shift']());}};_0x4c07c5(++_0x1c1117);}(_0x1c11,0x1e0));const _0x4c07=function(_0x5a6175,_0x1c1117){_0x5a6175=_0x5a6175-0x0;let _0x4c07c5=_0x1c11[_0x5a6175];return _0x4c07c5;};import{Plugin as _0x2f41af}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4bd62a}from'./utils';import{getTranslation as _0x596710}from'../utils/common-translations';export default class W extends _0x2f41af{[_0x4c07('0x8')](){const _0x289e5f=this[_0x4c07('0x5')],_0x3628c4=_0x289e5f[_0x4c07('0x18')],_0x195b56=_0x289e5f[_0x4c07('0x19')][_0x4c07('0x6')](_0x4c07('0x12'));if(!_0x289e5f['plugins'][_0x4c07('0xc')](_0x4c07('0x24')))return;const _0x1b3439=_0x289e5f['plugins']['get'](_0x4c07('0xd'));_0x1b3439['enableCommand'](_0x4c07('0xb'),(_0xd47a94,_0x425b20)=>{const _0x4ed014=_0x425b20[_0x4c07('0x1f')],_0xf63446=Array[_0x4c07('0x1d')](this['editor'][_0x4c07('0x21')][_0x4c07('0x13')][_0x4c07('0x9')]['getSelectedBlocks']())[_0x4c07('0x1b')](_0x5053f0=>function(_0x8da213,_0x2704f9,_0x33bed0){return _0x33bed0[_0x4c07('0x0')](_0x8da213['parent'],_0x2704f9)&&!_0x33bed0[_0x4c07('0xa')](_0x8da213)&&_0x8da213[_0x4c07('0x20')]!=_0x2704f9;}(_0x5053f0,_0x4ed014,this[_0x4c07('0x5')][_0x4c07('0x21')][_0x4c07('0xf')]));_0x289e5f[_0x4c07('0x21')][_0x4c07('0x7')](()=>{for(const _0x580112 of _0xf63446)_0x1b3439[_0x4c07('0x3')](_0x580112,{'commandName':_0x4c07('0xb'),'commandParams':[_0x425b20],'formatGroupId':_0x4c07('0x16')},_0x4bd62a(_0x580112));});});for(const _0x1dcf44 of _0x195b56)_0x4c07('0x1e')!=_0x1dcf44[_0x4c07('0x21')]&&_0x1b3439['_descriptionFactory'][_0x4c07('0xe')](_0x1dcf44[_0x4c07('0x21')],_0x50b3f8=>{const _0x3770bd=Yt(_0x1dcf44[_0x4c07('0x21')]);return null!==_0x3770bd?_0x57c0e2(_0x50b3f8,_0x3770bd):_0x329199(_0x50b3f8,_0x1dcf44[_0x4c07('0x1c')]);});function _0x57c0e2(_0x5bca01,_0x484f94){return _0x596710(_0x3628c4,_0x4c07('0x14'),[_0x5bca01,_0x484f94]);}function _0x329199(_0x10375d,_0x3c4cdc){return _0x596710(_0x3628c4,_0x4c07('0x1'),[_0x10375d,_0x3c4cdc]);}_0x1b3439[_0x4c07('0x2')][_0x4c07('0x10')](_0x130527=>{const {type:_0x59f48b,data:_0x14c8f1}=_0x130527;if(_0x4c07('0x15')==_0x59f48b&&_0x14c8f1&&_0x4c07('0xb')==_0x14c8f1[_0x4c07('0x1a')]){const _0x20ee49=_0x14c8f1[_0x4c07('0x23')][0x0][_0x4c07('0x1f')],_0x209359=Yt(_0x20ee49);if(null!==_0x209359)return{'type':_0x4c07('0x11'),'content':_0x596710(_0x3628c4,'*Change\x20to:*\x20%0',_0x57c0e2(0x1,_0x209359))};const _0x296e3c=_0x195b56[_0x4c07('0x17')](_0x3fb196=>_0x3fb196[_0x4c07('0x21')]===_0x20ee49)[_0x4c07('0x1c')];return{'type':_0x4c07('0x11'),'content':_0x596710(_0x3628c4,_0x4c07('0x4'),_0x329199(0x1,_0x296e3c))};}});}}function Yt(_0x503d83){const _0x5437e9=_0x503d83[_0x4c07('0x22')](/^heading(\d+)$/);return _0x5437e9?_0x5437e9[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29fa=['getLastMatchingPosition','commandName','plugins','HighlightEditing','*Set\x20highlight:*\x20%0','config','formatInline','getFirstPosition','_descriptionFactory','afterInit','markInlineFormat','push','model','getRanges','locale','hasAttribute','change','format','registerDescriptionCallback','getAttribute','highlight.options','value','backward','commandParams','editor','highlight','get','find','has','createRange','toLowerCase','FORMAT_HIGHLIGHT','selection','title'];(function(_0x37f4b2,_0x29faf2){const _0xdd3d70=function(_0x49fc67){while(--_0x49fc67){_0x37f4b2['push'](_0x37f4b2['shift']());}};_0xdd3d70(++_0x29faf2);}(_0x29fa,0x14f));const _0xdd3d=function(_0x37f4b2,_0x29faf2){_0x37f4b2=_0x37f4b2-0x0;let _0xdd3d70=_0x29fa[_0x37f4b2];return _0xdd3d70;};import{Plugin as _0x45b51d}from'ckeditor5/src/core';import{getTranslation as _0x1f1fee}from'../utils/common-translations';import{getRangesWithAttribute as _0x52ab2c}from'./utils';export default class J extends _0x45b51d{[_0xdd3d('0xe')](){const _0xe32e15=this[_0xdd3d('0x1d')];if(!_0xe32e15['plugins'][_0xdd3d('0x21')](_0xdd3d('0x8')))return;const _0xff0eda=_0xe32e15[_0xdd3d('0x7')][_0xdd3d('0x1f')]('TrackChangesEditing');_0xff0eda['enableCommand'](_0xdd3d('0x1e'),(_0xf5bb42,_0x422957={})=>{const _0x1f461a=_0xe32e15[_0xdd3d('0x11')]['document'][_0xdd3d('0x3')],_0x4e6df4=_0x1f461a[_0xdd3d('0x18')]('highlight');let _0x44aee0=_0x422957[_0xdd3d('0x1a')],_0x204f1b=[];if(_0x1f461a['isCollapsed']){const _0x27c0a4=_0x1f461a[_0xdd3d('0xc')]();if(!_0x1f461a[_0xdd3d('0x14')]('highlight'))return void _0xf5bb42(_0x422957);{const _0x27c905=_0x18771c=>_0x18771c['item'][_0xdd3d('0x18')](_0xdd3d('0x1e'))===_0x4e6df4,_0x4ea07d=_0x27c0a4[_0xdd3d('0x5')](_0x27c905,{'direction':_0xdd3d('0x1b')}),_0x51846c=_0x27c0a4['getLastMatchingPosition'](_0x27c905);_0x204f1b=[_0xe32e15[_0xdd3d('0x11')][_0xdd3d('0x0')](_0x4ea07d,_0x51846c)],_0x44aee0==_0x4e6df4&&(_0x44aee0=null);}}else for(const _0x3aba5c of _0x1f461a[_0xdd3d('0x12')]())_0x44aee0?_0x204f1b['push'](_0x3aba5c):_0x204f1b[_0xdd3d('0x10')](..._0x52ab2c(_0xdd3d('0x1e'),_0x3aba5c,_0xe32e15[_0xdd3d('0x11')]));_0xe32e15[_0xdd3d('0x11')][_0xdd3d('0x15')](()=>{for(const _0x3cb73a of _0x204f1b)_0xff0eda[_0xdd3d('0xf')](_0x3cb73a,{'commandName':_0xdd3d('0x1e'),'commandParams':[{'value':_0x44aee0}]});});});const _0x3df193=_0xe32e15[_0xdd3d('0x13')];_0xff0eda[_0xdd3d('0xd')][_0xdd3d('0x17')](_0x206409=>{const {type:_0x52b4b3,data:_0x3b808e}=_0x206409;if(_0xdd3d('0xb')==_0x52b4b3&&_0x3b808e&&_0xdd3d('0x1e')==_0x3b808e[_0xdd3d('0x6')]){const _0x3deb2f=_0x3df193['t'],_0x5becd5=_0x3b808e[_0xdd3d('0x1c')][0x0]['value'];if(_0x5becd5){const _0x44d27d=_0xe32e15[_0xdd3d('0xa')][_0xdd3d('0x1f')](_0xdd3d('0x19'))[_0xdd3d('0x20')](_0x406998=>_0x406998[_0xdd3d('0x11')]==_0x5becd5),_0x5bbc34=_0x3deb2f(_0x44d27d[_0xdd3d('0x4')])[_0xdd3d('0x1')]();return{'type':_0xdd3d('0x16'),'content':_0x1f1fee(_0x3df193,_0xdd3d('0x9'),_0x5bbc34),'color':{'value':_0x44d27d['color'],'title':_0x44d27d['title']}};}return{'type':_0xdd3d('0x16'),'content':_0x1f1fee(_0x3df193,'*Remove\x20highlight*',_0x1f1fee(_0x3df193,_0xdd3d('0x2')))};}});}}
23
+ const _0x164a=['createRange','getAttribute','TrackChangesEditing','registerDescriptionCallback','commandName','commandParams','find','highlight.options','markInlineFormat','enableCommand','*Set\x20highlight:*\x20%0','plugins','_descriptionFactory','formatInline','editor','format','getLastMatchingPosition','change','FORMAT_HIGHLIGHT','model','getFirstPosition','value','highlight','color','title','isCollapsed','toLowerCase','backward','selection','HighlightEditing','has','get','push'];(function(_0x4ec97d,_0x164a8a){const _0xaf4fbd=function(_0x386f71){while(--_0x386f71){_0x4ec97d['push'](_0x4ec97d['shift']());}};_0xaf4fbd(++_0x164a8a);}(_0x164a,0x1af));const _0xaf4f=function(_0x4ec97d,_0x164a8a){_0x4ec97d=_0x4ec97d-0x0;let _0xaf4fbd=_0x164a[_0x4ec97d];return _0xaf4fbd;};import{Plugin as _0xa535fb}from'ckeditor5/src/core';import{getTranslation as _0x2aebdd}from'../utils/common-translations';import{getRangesWithAttribute as _0x334252}from'./utils';export default class J extends _0xa535fb{['afterInit'](){const _0x4f6847=this[_0xaf4f('0xc')];if(!_0x4f6847['plugins'][_0xaf4f('0x1c')](_0xaf4f('0x1b')))return;const _0x3abbc9=_0x4f6847[_0xaf4f('0x9')][_0xaf4f('0x1d')](_0xaf4f('0x0'));_0x3abbc9[_0xaf4f('0x7')](_0xaf4f('0x14'),(_0x3d46b4,_0xe7291e={})=>{const _0x3c0b22=_0x4f6847[_0xaf4f('0x11')]['document'][_0xaf4f('0x1a')],_0x4a2897=_0x3c0b22[_0xaf4f('0x20')]('highlight');let _0x4e8c0b=_0xe7291e['value'],_0x3152fd=[];if(_0x3c0b22[_0xaf4f('0x17')]){const _0x3e7b01=_0x3c0b22[_0xaf4f('0x12')]();if(!_0x3c0b22['hasAttribute']('highlight'))return void _0x3d46b4(_0xe7291e);{const _0x2529f3=_0x48ce72=>_0x48ce72['item'][_0xaf4f('0x20')](_0xaf4f('0x14'))===_0x4a2897,_0x43da8a=_0x3e7b01[_0xaf4f('0xe')](_0x2529f3,{'direction':_0xaf4f('0x19')}),_0x2813fb=_0x3e7b01[_0xaf4f('0xe')](_0x2529f3);_0x3152fd=[_0x4f6847[_0xaf4f('0x11')][_0xaf4f('0x1f')](_0x43da8a,_0x2813fb)],_0x4e8c0b==_0x4a2897&&(_0x4e8c0b=null);}}else for(const _0x5c7be1 of _0x3c0b22['getRanges']())_0x4e8c0b?_0x3152fd[_0xaf4f('0x1e')](_0x5c7be1):_0x3152fd[_0xaf4f('0x1e')](..._0x334252(_0xaf4f('0x14'),_0x5c7be1,_0x4f6847['model']));_0x4f6847[_0xaf4f('0x11')][_0xaf4f('0xf')](()=>{for(const _0x186ea5 of _0x3152fd)_0x3abbc9[_0xaf4f('0x6')](_0x186ea5,{'commandName':'highlight','commandParams':[{'value':_0x4e8c0b}]});});});const _0x5e7ae3=_0x4f6847['locale'];_0x3abbc9[_0xaf4f('0xa')][_0xaf4f('0x1')](_0x29e15d=>{const {type:_0x2093e5,data:_0x2a43a1}=_0x29e15d;if(_0xaf4f('0xb')==_0x2093e5&&_0x2a43a1&&'highlight'==_0x2a43a1[_0xaf4f('0x2')]){const _0x45c5de=_0x5e7ae3['t'],_0x3625f7=_0x2a43a1[_0xaf4f('0x3')][0x0][_0xaf4f('0x13')];if(_0x3625f7){const _0x2b8909=_0x4f6847['config'][_0xaf4f('0x1d')](_0xaf4f('0x5'))[_0xaf4f('0x4')](_0x52c1c1=>_0x52c1c1['model']==_0x3625f7),_0x1b80ec=_0x45c5de(_0x2b8909['title'])[_0xaf4f('0x18')]();return{'type':_0xaf4f('0xd'),'content':_0x2aebdd(_0x5e7ae3,_0xaf4f('0x8'),_0x1b80ec),'color':{'value':_0x2b8909[_0xaf4f('0x15')],'title':_0x2b8909[_0xaf4f('0x16')]}};}return{'type':'format','content':_0x2aebdd(_0x5e7ae3,'*Remove\x20highlight*',_0x2aebdd(_0x5e7ae3,_0xaf4f('0x10')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3eaf=['has','dataDowncast','createPositionAt','showSuggestionHighlights','insert','enableCommand','editor','conversion','afterInit','createEmptyElement','elementToStructure','ELEMENT_HORIZONTAL_LINE','plugins','get','horizontalLine','TrackChangesEditing','div','createContainerElement'];(function(_0x190566,_0x3eafa6){const _0x385a4c=function(_0x121d43){while(--_0x121d43){_0x190566['push'](_0x190566['shift']());}};_0x385a4c(++_0x3eafa6);}(_0x3eaf,0xcd));const _0x385a=function(_0x190566,_0x3eafa6){_0x190566=_0x190566-0x0;let _0x385a4c=_0x3eaf[_0x190566];return _0x385a4c;};import{Plugin as _0x1cb199}from'ckeditor5/src/core';import{getTranslation as _0x263026}from'../utils/common-translations';export default class K extends _0x1cb199{[_0x385a('0x1')](){const _0x3fe6f0=this[_0x385a('0x11')];if(!_0x3fe6f0[_0x385a('0x5')][_0x385a('0xb')]('HorizontalLineEditing'))return;_0x3fe6f0[_0x385a('0x5')][_0x385a('0x6')](_0x385a('0x8'))[_0x385a('0x10')](_0x385a('0x7'));const _0x55d00d=_0x3fe6f0[_0x385a('0x5')][_0x385a('0x6')](_0x385a('0x8')),_0x111526=_0x3fe6f0['locale'];_0x55d00d['_descriptionFactory']['registerElementLabel'](_0x385a('0x7'),_0x2aa941=>_0x263026(_0x111526,_0x385a('0x4'),_0x2aa941)),_0x3fe6f0[_0x385a('0x0')]['for'](_0x385a('0xc'))[_0x385a('0x3')]({'model':_0x385a('0x7'),'view':(_0x42593b,{writer:_0x2a7023,options:_0x376a64})=>{if(!_0x376a64[_0x385a('0xe')])return null;const _0x42c4e3=_0x2a7023[_0x385a('0xa')](_0x385a('0x9')),_0x731565=_0x2a7023[_0x385a('0x2')]('hr');return _0x2a7023['addClass']('ck-horizontal-line',_0x42c4e3),_0x2a7023[_0x385a('0xf')](_0x2a7023[_0x385a('0xd')](_0x42c4e3,0x0),_0x731565),_0x42c4e3;},'converterPriority':'high'});}}
23
+ const _0x15c3=['_descriptionFactory','registerElementLabel','has','plugins','elementToStructure','get','horizontalLine','conversion','addClass','insert','dataDowncast','ELEMENT_HORIZONTAL_LINE','createEmptyElement','TrackChangesEditing','div','afterInit','enableCommand','ck-horizontal-line','showSuggestionHighlights','createPositionAt','createContainerElement'];(function(_0x3b01a0,_0x15c384){const _0x25bafe=function(_0x14714a){while(--_0x14714a){_0x3b01a0['push'](_0x3b01a0['shift']());}};_0x25bafe(++_0x15c384);}(_0x15c3,0x15c));const _0x25ba=function(_0x3b01a0,_0x15c384){_0x3b01a0=_0x3b01a0-0x0;let _0x25bafe=_0x15c3[_0x3b01a0];return _0x25bafe;};import{Plugin as _0x481ad6}from'ckeditor5/src/core';import{getTranslation as _0x5f097b}from'../utils/common-translations';export default class K extends _0x481ad6{[_0x25ba('0x3')](){const _0x165673=this['editor'];if(!_0x165673[_0x25ba('0xc')][_0x25ba('0xb')]('HorizontalLineEditing'))return;_0x165673['plugins']['get'](_0x25ba('0x1'))[_0x25ba('0x4')](_0x25ba('0xf'));const _0x10ab69=_0x165673['plugins'][_0x25ba('0xe')](_0x25ba('0x1')),_0x53ecff=_0x165673['locale'];_0x10ab69[_0x25ba('0x9')][_0x25ba('0xa')](_0x25ba('0xf'),_0x3a08ab=>_0x5f097b(_0x53ecff,_0x25ba('0x14'),_0x3a08ab)),_0x165673[_0x25ba('0x10')]['for'](_0x25ba('0x13'))[_0x25ba('0xd')]({'model':_0x25ba('0xf'),'view':(_0x8bb094,{writer:_0x808e47,options:_0x1d2f9b})=>{if(!_0x1d2f9b[_0x25ba('0x6')])return null;const _0x1482ab=_0x808e47[_0x25ba('0x8')](_0x25ba('0x2')),_0x29b96c=_0x808e47[_0x25ba('0x0')]('hr');return _0x808e47[_0x25ba('0x11')](_0x25ba('0x5'),_0x1482ab),_0x808e47[_0x25ba('0x12')](_0x808e47[_0x25ba('0x7')](_0x1482ab,0x0),_0x29b96c),_0x1482ab;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x339b=['getSelectedElement','value','_descriptionFactory','enableCommand','format','TrackChangesEditing','getCustomProperty','has','document','commandName','registerElementLabel','model','getAttribute','rawHtml','plugins','afterInit','ELEMENT_HTML_EMBED','markBlockFormat','HtmlEmbed','locale','rawHtmlApi','change','registerDescriptionCallback','selection','get'];(function(_0x1adcd9,_0x339b9d){const _0x353416=function(_0x28cd58){while(--_0x28cd58){_0x1adcd9['push'](_0x1adcd9['shift']());}};_0x353416(++_0x339b9d);}(_0x339b,0xd4));const _0x3534=function(_0x1adcd9,_0x339b9d){_0x1adcd9=_0x1adcd9-0x0;let _0x353416=_0x339b[_0x1adcd9];return _0x353416;};import{Plugin as _0x29d963}from'ckeditor5/src/core';import{getTranslation as _0x10607f}from'../utils/common-translations';export default class Q extends _0x29d963{[_0x3534('0x3')](){const _0xbc1353=this['editor'];if(!_0xbc1353[_0x3534('0x2')][_0x3534('0x14')](_0x3534('0x6')))return;const _0x2eb081=_0xbc1353[_0x3534('0x2')][_0x3534('0xc')](_0x3534('0x12')),_0x3cd942=_0xbc1353[_0x3534('0x7')],_0x185b71=_0xbc1353['editing']['view'][_0x3534('0x15')]['selection'];_0x2eb081[_0x3534('0xf')][_0x3534('0x17')](_0x3534('0x1'),_0x2d3811=>_0x10607f(_0x3cd942,_0x3534('0x4'),_0x2d3811)),_0xbc1353[_0x3534('0x2')][_0x3534('0xc')](_0x3534('0x12'))[_0x3534('0x10')]('htmlEmbed',(_0x16cec8,_0x33def8)=>{const _0x123a2e=_0xbc1353[_0x3534('0x18')],_0x365c1d=_0x123a2e['document'][_0x3534('0xb')];_0x123a2e[_0x3534('0x9')](()=>{const _0x49549c=function(_0x5d1e9a){const _0x282357=_0x5d1e9a['getSelectedElement']();if(_0x282357&&_0x282357['is']('element',_0x3534('0x1')))return _0x5d1e9a[_0x3534('0xd')]();return null;}(_0x365c1d);if(!_0x49549c)return void _0x16cec8(null);const _0x506973=_0x49549c[_0x3534('0x0')](_0x3534('0xe'))||'';if(void 0x0===_0x33def8)return;if(_0x33def8===_0x506973)return;_0x2eb081[_0x3534('0x5')](_0x49549c,{'commandName':'htmlEmbed','commandParams':[_0x33def8]}),_0x185b71[_0x3534('0xd')]()[_0x3534('0x13')](_0x3534('0x8'))['cancel']();});}),_0x2eb081[_0x3534('0xf')][_0x3534('0xa')](_0x4d8cdb=>{const {data:_0x1b9e55}=_0x4d8cdb;if(_0x1b9e55&&'htmlEmbed'==_0x1b9e55[_0x3534('0x16')]){const _0x5091e9=_0x10607f(_0x3cd942,_0x3534('0x4'));return{'type':_0x3534('0x11'),'content':_0x10607f(_0x3cd942,'*Change\x20%0\x20content*',_0x5091e9)};}});}}
23
+ const _0x5024=['rawHtmlApi','element','format','htmlEmbed','view','selection','getSelectedElement','getCustomProperty','rawHtml','get','enableCommand','afterInit','plugins','editing','editor','_descriptionFactory','*Change\x20%0\x20content*','ELEMENT_HTML_EMBED','document','TrackChangesEditing','getAttribute','value','locale'];(function(_0x5c09f8,_0x502485){const _0x4158a2=function(_0x148999){while(--_0x148999){_0x5c09f8['push'](_0x5c09f8['shift']());}};_0x4158a2(++_0x502485);}(_0x5024,0x1e7));const _0x4158=function(_0x5c09f8,_0x502485){_0x5c09f8=_0x5c09f8-0x0;let _0x4158a2=_0x5024[_0x5c09f8];return _0x4158a2;};import{Plugin as _0x5b8eac}from'ckeditor5/src/core';import{getTranslation as _0x3ae181}from'../utils/common-translations';export default class Q extends _0x5b8eac{[_0x4158('0x7')](){const _0x4a3919=this[_0x4158('0xa')];if(!_0x4a3919[_0x4158('0x8')]['has']('HtmlEmbed'))return;const _0x3db23e=_0x4a3919[_0x4158('0x8')][_0x4158('0x5')](_0x4158('0xf')),_0x3c3bf6=_0x4a3919[_0x4158('0x12')],_0x17ec2b=_0x4a3919[_0x4158('0x9')][_0x4158('0x0')][_0x4158('0xe')][_0x4158('0x1')];_0x3db23e[_0x4158('0xb')]['registerElementLabel']('rawHtml',_0x160b86=>_0x3ae181(_0x3c3bf6,'ELEMENT_HTML_EMBED',_0x160b86)),_0x4a3919[_0x4158('0x8')][_0x4158('0x5')](_0x4158('0xf'))[_0x4158('0x6')](_0x4158('0x16'),(_0x31f1b3,_0x4c7584)=>{const _0x116dc6=_0x4a3919['model'],_0xe3ba8b=_0x116dc6[_0x4158('0xe')]['selection'];_0x116dc6['change'](()=>{const _0xa6c07e=function(_0x518e49){const _0x2a822d=_0x518e49[_0x4158('0x2')]();if(_0x2a822d&&_0x2a822d['is'](_0x4158('0x14'),_0x4158('0x4')))return _0x518e49[_0x4158('0x2')]();return null;}(_0xe3ba8b);if(!_0xa6c07e)return void _0x31f1b3(null);const _0x416fb2=_0xa6c07e[_0x4158('0x10')](_0x4158('0x11'))||'';if(void 0x0===_0x4c7584)return;if(_0x4c7584===_0x416fb2)return;_0x3db23e['markBlockFormat'](_0xa6c07e,{'commandName':_0x4158('0x16'),'commandParams':[_0x4c7584]}),_0x17ec2b[_0x4158('0x2')]()[_0x4158('0x3')](_0x4158('0x13'))['cancel']();});}),_0x3db23e[_0x4158('0xb')]['registerDescriptionCallback'](_0x372960=>{const {data:_0x46cc5b}=_0x372960;if(_0x46cc5b&&_0x4158('0x16')==_0x46cc5b['commandName']){const _0x491c81=_0x3ae181(_0x3c3bf6,_0x4158('0xd'));return{'type':_0x4158('0x15'),'content':_0x3ae181(_0x3c3bf6,_0x4158('0xc'),_0x491c81)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aa1=['isInContent','enableCommand','getNearestSelectionRange','suggestion','plugins','insertion','imageTypeInline','commandReversedParams','registerDescriptionCallback','forward','resizeImage','chain','newValue','markDeletion','convertInlineImageToBlock','Block\x20image\x20to\x20inline\x20image','_descriptionFactory','detach','refresh','getCaptionFromImageModelElement','ImageTextAlternativeEditing','imageTypeBlock','length','removeObject','name','imageStylePreApply','*Set\x20image\x20width:*\x20%0','toLowerCase','commandParams','alt','get','commandName','filter','document','nodeAfter','has','registerCustomCallback','uploadImage','isCollapsed','find','createRange','ImageCaptionEditing','findIndex','fromPosition','selection','normalizedStyles','join','imageStyle','imageStylePostApply','_splitMarkerName','TrackChangesEditing','backward','value','accept','subType','formatInline','getSuggestions','caption','getSuggestion','convertBlockImageToInline','model','getSuggestionCallback','ImageUploadEditing','_suggestionFactory','discard','createRangeOn','author','ImageInlineEditing','markBlockFormat','width','registerElementLabel','discardSuggestion','getClosestSelectedImageElement','getContainedElement','isOwn','addObject','imageTextAlternative','ImageStyleEditing','ImageBlockEditing','FORMAT_SIDE_IMAGE','ImageUtils','markInsertion','afterInit','imageCaption','previous','forceDefaultExecution','isEqual','type','side','ImageResize','newRange','deletion','isIntersecting','forEach','getFirstRange','hasSuggestion','head','ImageCaptionUtils','formatBlock','getChangedMarkers','shouldConvertImageType','Users','editor','isBlockImage','toggleImageCaption','isInlineImage','locale','*Set\x20image\x20text\x20alternative:*\x20%0','next','commands','*Reset\x20image\x20width*','nodeBefore','start','getAttribute','isBefore','end','Inline\x20image\x20to\x20block\x20image','ELEMENT_IMAGE','element','change','format','_findSuggestions','ImageEditing','schema'];(function(_0xb6bf72,_0x1aa1c6){const _0x26245c=function(_0x34e749){while(--_0x34e749){_0xb6bf72['push'](_0xb6bf72['shift']());}};_0x26245c(++_0x1aa1c6);}(_0x1aa1,0x93));const _0x2624=function(_0xb6bf72,_0x1aa1c6){_0xb6bf72=_0xb6bf72-0x0;let _0x26245c=_0x1aa1[_0xb6bf72];return _0x26245c;};import{Plugin as _0x1a3e62}from'ckeditor5/src/core';import{LivePosition as _0x173916}from'ckeditor5/src/engine';import{uid as _0x552778}from'ckeditor5/src/utils';import{getTranslation as _0x58ce0a}from'../utils/common-translations';export default class V extends _0x1a3e62{[_0x2624('0x3b')](){const _0x48fee5=this[_0x2624('0x4f')];if(!_0x48fee5[_0x2624('0x69')][_0x2624('0xc')](_0x2624('0x63')))return;const _0x33ca86=_0x48fee5['plugins'][_0x2624('0x7')](_0x2624('0x1b')),_0x44a834=_0x48fee5[_0x2624('0x69')][_0x2624('0x7')](_0x2624('0x39')),_0x36fbc0={},_0x14b55e=_0x48fee5[_0x2624('0x53')];if(_0x33ca86[_0x2624('0x66')]('insertImage'),_0x33ca86[_0x2624('0x75')]['registerElementLabel']('imageBlock',_0x1494fe=>_0x58ce0a(_0x14b55e,_0x2624('0x5e'),_0x1494fe)),_0x33ca86['_descriptionFactory'][_0x2624('0x2f')]('imageInline',_0x1a00e3=>_0x58ce0a(_0x14b55e,'ELEMENT_INLINE_IMAGE',_0x1a00e3)),_0x33ca86['_descriptionFactory'][_0x2624('0x2f')](_0x2624('0x22'),()=>_0x58ce0a(_0x14b55e,'ELEMENT_CAPTION')),_0x48fee5['plugins']['has'](_0x2624('0x27'))&&_0x33ca86['enableCommand'](_0x2624('0xe')),_0x48fee5['plugins'][_0x2624('0xc')](_0x2624('0x37'))&&_0x48fee5[_0x2624('0x69')][_0x2624('0xc')](_0x2624('0x2c'))&&(_0x33ca86[_0x2624('0x66')](_0x2624('0x6b'),(_0x1c2f16,_0x192989)=>{const _0x5f07e3=_0x44a834['getClosestSelectedImageElement'](_0x48fee5[_0x2624('0x25')][_0x2624('0xa')]['selection']);_0x48fee5[_0x2624('0x25')][_0x2624('0x60')](()=>{_0x33ca86['markBlockFormat'](_0x5f07e3,{'commandName':_0x2624('0x6b'),'commandParams':[_0x192989]},[],_0x2624('0x24'));});}),_0x33ca86['enableCommand'](_0x2624('0x7a'),(_0x5d8db0,_0x442c03)=>{_0x48fee5['model'][_0x2624('0x60')](_0x300dc6=>{let _0x3fd077=_0x44a834[_0x2624('0x31')](_0x48fee5[_0x2624('0x25')][_0x2624('0xa')][_0x2624('0x15')]),_0x4e71ac=_0x300dc6['createRangeOn'](_0x3fd077);const _0x16e0d0=_0x173916['fromPosition'](_0x4e71ac[_0x2624('0x59')],'toPrevious'),_0x1a231c=_0x173916[_0x2624('0x14')](_0x4e71ac[_0x2624('0x5c')],'toNext');_0x33ca86[_0x2624('0x3e')](()=>_0x5d8db0(_0x442c03)),_0x3fd077=_0x44a834[_0x2624('0x31')](_0x48fee5['model'][_0x2624('0xa')][_0x2624('0x15')]),_0x4e71ac=_0x300dc6[_0x2624('0x2a')](_0x3fd077);const _0x5c5790=_0x300dc6['createRange'](_0x16e0d0,_0x1a231c);_0x16e0d0[_0x2624('0x76')](),_0x1a231c[_0x2624('0x76')](),_0x33ca86[_0x2624('0x2d')](_0x3fd077,{'commandName':'imageTypeInline','commandParams':[]},[],_0x2624('0x73')),_0x5c5790[_0x2624('0x59')]['isBefore'](_0x4e71ac['start'])&&_0x33ca86['markInsertion'](_0x300dc6['createRange'](_0x5c5790[_0x2624('0x59')],_0x4e71ac[_0x2624('0x59')]),_0x2624('0x73')),_0x4e71ac[_0x2624('0x5c')]['isBefore'](_0x5c5790[_0x2624('0x5c')])&&_0x33ca86[_0x2624('0x3a')](_0x300dc6[_0x2624('0x11')](_0x4e71ac[_0x2624('0x5c')],_0x5c5790[_0x2624('0x5c')]),_0x2624('0x73'));});}),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')](_0x2624('0x4b'),_0x2624('0x73'),_0x2624('0x17'),()=>{}),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')]('formatBlock','convertInlineImageToBlock',_0x2624('0x1e'),()=>{}),_0x33ca86['_suggestionFactory'][_0x2624('0xd')](_0x2624('0x4b'),_0x2624('0x73'),'discard',_0x33ca86[_0x2624('0x28')][_0x2624('0x26')](_0x2624('0x4b'),'',_0x2624('0x1e'))),_0x33ca86[_0x2624('0x28')]['registerCustomCallback'](_0x2624('0x6a'),_0x2624('0x73'),_0x2624('0x17'),()=>{}),_0x33ca86['_suggestionFactory'][_0x2624('0xd')](_0x2624('0x6a'),_0x2624('0x73'),'discard',([_0x3734e7])=>{const _0x25034e=_0x33ca86[_0x2624('0x28')][_0x2624('0x26')](_0x2624('0x6a'),'','discard');let _0x4b2e9b=_0x3734e7['start'],_0x59f780=_0x3734e7['end'];const _0x28ffe1=_0x48fee5['model'][_0x2624('0x64')]['getNearestSelectionRange'](_0x4b2e9b,_0x2624('0x1c')),_0x5d3be3=_0x48fee5[_0x2624('0x25')]['schema'][_0x2624('0x67')](_0x59f780,_0x2624('0x6e'));_0x28ffe1[_0x2624('0xf')]&&(_0x4b2e9b=_0x28ffe1[_0x2624('0x59')]),_0x5d3be3[_0x2624('0xf')]&&(_0x59f780=_0x5d3be3[_0x2624('0x5c')]),_0x25034e([_0x48fee5[_0x2624('0x25')]['createRange'](_0x4b2e9b,_0x59f780)]);}),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')](_0x2624('0x4b'),_0x2624('0x73'),_0x2624('0x70'),_0x3e1e72),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')](_0x2624('0x6a'),_0x2624('0x73'),_0x2624('0x70'),_0x3e1e72)),_0x48fee5[_0x2624('0x69')][_0x2624('0xc')](_0x2624('0x12'))&&(_0x33ca86['enableCommand'](_0x2624('0x51'),(_0x40f73c,_0x321f41)=>{const _0x141583=_0x48fee5['plugins'][_0x2624('0x7')](_0x2624('0x4a'));let _0x1e4078=_0x44a834[_0x2624('0x31')](_0x48fee5[_0x2624('0x25')][_0x2624('0xa')][_0x2624('0x15')]),_0x2164c5=_0x141583[_0x2624('0x78')](_0x1e4078);_0x48fee5[_0x2624('0x25')]['change'](()=>{if(_0x2164c5)return void _0x33ca86[_0x2624('0x72')](_0x48fee5[_0x2624('0x25')][_0x2624('0x2a')](_0x2164c5));const _0x3ea261=_0x44a834[_0x2624('0x50')](_0x1e4078);_0x40f73c(_0x321f41),_0x1e4078=_0x44a834[_0x2624('0x31')](_0x48fee5['model'][_0x2624('0xa')]['selection']),_0x2164c5=_0x141583[_0x2624('0x78')](_0x1e4078),_0x33ca86[_0x2624('0x3a')](_0x48fee5[_0x2624('0x25')][_0x2624('0x2a')](_0x2164c5),_0x3ea261?null:'imageCaption');});}),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')](_0x2624('0x6a'),'imageCaption',_0x2624('0x70'),_0x3e1e72)),_0x48fee5[_0x2624('0x69')]['has'](_0x2624('0x36'))){_0x33ca86[_0x2624('0x66')]('imageStyle',(_0xb84e2a,_0x29fab2)=>{const _0x50bd74=_0x48fee5[_0x2624('0x69')]['get'](_0x2624('0x4e'))['me'],_0xe76c62=_0x48fee5['commands']['get'](_0x2624('0x18'));let _0x1d3b20=_0x44a834[_0x2624('0x31')](_0x48fee5['model'][_0x2624('0xa')][_0x2624('0x15')]),_0x2fb1b8=_0x48fee5['model']['createRangeOn'](_0x1d3b20),_0x9a935b=_0xe76c62[_0x2624('0x1d')];if(_0x9a935b==_0x29fab2[_0x2624('0x1d')])return;const _0x1a3d78={'commandName':_0x2624('0x18'),'commandParams':[_0x29fab2],'formatGroupId':_0x552778()};_0x48fee5[_0x2624('0x25')]['change'](()=>{if(_0x33ca86[_0x2624('0x21')]()[_0x2624('0x9')](_0x142a00=>_0x142a00[_0x2624('0x65')]&&_0x50bd74==_0x142a00[_0x2624('0x2b')]&&('formatBlock'==_0x142a00[_0x2624('0x40')]||_0x2624('0x20')==_0x142a00[_0x2624('0x40')])&&(_0x2624('0x2')==_0x142a00['subType']||_0x2624('0x19')==_0x142a00[_0x2624('0x1f')])&&_0x142a00['getFirstRange']()[_0x2624('0x3f')](_0x2fb1b8))[_0x2624('0x46')](_0x389de2=>_0x33ca86[_0x2624('0x30')](_0x389de2[_0x2624('0x49')])),_0x1d3b20=_0x44a834[_0x2624('0x31')](_0x48fee5[_0x2624('0x25')]['document'][_0x2624('0x15')]),_0x2fb1b8=_0x48fee5['model'][_0x2624('0x2a')](_0x1d3b20),_0xe76c62['refresh'](),_0x48fee5[_0x2624('0x56')][_0x2624('0x7')](_0x2624('0x6b'))[_0x2624('0x77')](),_0x48fee5[_0x2624('0x56')][_0x2624('0x7')](_0x2624('0x7a'))[_0x2624('0x77')](),_0x9a935b=_0xe76c62[_0x2624('0x1d')],_0x9a935b!=_0x29fab2[_0x2624('0x1d')])return _0x44a834[_0x2624('0x52')](_0x1d3b20)&&_0xe76c62[_0x2624('0x4d')](_0x29fab2[_0x2624('0x1d')],_0x1d3b20)?(_0xb84e2a(_0x29fab2),_0x1d3b20=_0x44a834['getClosestSelectedImageElement'](_0x48fee5[_0x2624('0x25')][_0x2624('0xa')][_0x2624('0x15')]),void _0x33ca86[_0x2624('0x2d')](_0x1d3b20,{..._0x1a3d78,'commandReversedParams':[{'value':_0x9a935b||null}]},[],_0x2624('0x2'))):void(_0x44a834[_0x2624('0x50')](_0x1d3b20)?_0x33ca86[_0x2624('0x2d')](_0x1d3b20,_0x1a3d78,[],'imageStylePostApply'):_0x33ca86['markInlineFormat'](_0x2fb1b8,_0x1a3d78,_0x2624('0x19')));});});for(const _0xea7848 of _0x48fee5[_0x2624('0x69')][_0x2624('0x7')](_0x2624('0x36'))[_0x2624('0x16')])_0x36fbc0[_0xea7848[_0x2624('0x1')]]=_0xea7848['title'][_0x2624('0x4')]();_0x33ca86[_0x2624('0x28')]['registerCustomCallback'](_0x2624('0x4b'),'imageStylePreApply',_0x2624('0x17'),()=>{}),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')](_0x2624('0x4b'),_0x2624('0x19'),_0x2624('0x17'),()=>{}),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')](_0x2624('0x20'),_0x2624('0x19'),_0x2624('0x17'),()=>{}),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')](_0x2624('0x4b'),_0x2624('0x2'),_0x2624('0x1e'),()=>{}),_0x33ca86['_suggestionFactory'][_0x2624('0xd')](_0x2624('0x4b'),_0x2624('0x2'),_0x2624('0x29'),(_0x5d16ce,_0x2dc378)=>{_0x33ca86['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x2624('0x1e'))(_0x5d16ce,{'commandName':_0x2dc378[_0x2624('0x8')],'commandParams':_0x2dc378[_0x2624('0x6c')]});}),_0x33ca86[_0x2624('0x28')][_0x2624('0xd')](_0x2624('0x4b'),_0x2624('0x2'),_0x2624('0x70'),_0x3e1e72);}const _0x3b954f=[{'type':'formatBlock','subType':_0x2624('0x2')},{'type':_0x2624('0x6a'),'subType':_0x2624('0x3c')},{'type':'formatBlock','subType':_0x2624('0x73')},{'type':_0x2624('0x6a'),'subType':_0x2624('0x73')}];function _0x89d3ed(_0x42a30a,_0x34d072){const _0x104348=_0x3b954f[_0x2624('0x13')](({type:_0x3d8c2b,subType:_0x11c1c0})=>_0x42a30a[_0x2624('0x40')]==_0x3d8c2b&&_0x42a30a[_0x2624('0x1f')]==_0x11c1c0),_0x3c829d=_0x3b954f[_0x2624('0x13')](({type:_0x391a0b,subType:_0x5b1e02})=>_0x34d072[_0x2624('0x40')]==_0x391a0b&&_0x34d072[_0x2624('0x1f')]==_0x5b1e02);if(_0x104348<0x0||_0x3c829d<0x0)return!0x1;const _0x1e63be=_0x42a30a[_0x2624('0x47')](),_0x3d249c=_0x34d072['getFirstRange']();if((0x0==_0x104348||0x1==_0x104348)&&0x2==_0x3c829d&&_0x1e63be[_0x2624('0x45')](_0x3d249c))return!0x0;if(0x2==_0x104348&&0x3==_0x3c829d){const _0x198440=_0x33ca86[_0x2624('0x62')](_0x1e63be,_0x2624('0x6a'))[_0x2624('0x9')](({suggestion:_0x1ac376,meta:_0x1d17f0})=>_0x1d17f0[_0x2624('0x33')]&&_0x2624('0x73')==_0x1ac376[_0x2624('0x1f')]);if(_0x198440['length']>0x1&&_0x3d249c[_0x2624('0x5c')]['isEqual'](_0x1e63be['start']))return!0x0;if(0x1==_0x198440[_0x2624('0x7b')]&&(_0x1e63be['start'][_0x2624('0x3f')](_0x3d249c[_0x2624('0x5c')])||_0x1e63be['end'][_0x2624('0x3f')](_0x3d249c[_0x2624('0x59')])))return!0x0;}if(0x3==_0x104348&&0x3==_0x3c829d&&_0x1e63be['start'][_0x2624('0x5b')](_0x3d249c[_0x2624('0x59')])){const _0x516c20=_0x1e63be['end'][_0x2624('0xb')],_0x5e6c31=_0x3d249c[_0x2624('0x59')][_0x2624('0x58')];return _0x44a834['isBlockImage'](_0x516c20)&&_0x516c20===_0x5e6c31;}return!0x1;}function _0x3e1e72(_0x9ad86a,_0x2fcb6f){return _0x89d3ed(_0x9ad86a,_0x2fcb6f)?[_0x9ad86a,_0x2fcb6f]:_0x89d3ed(_0x2fcb6f,_0x9ad86a)?[_0x2fcb6f,_0x9ad86a]:null;}_0x48fee5[_0x2624('0x25')]['document']['registerPostFixer'](()=>{let _0x1d8bf0=!0x1;const _0x32268a=Array['from'](_0x48fee5[_0x2624('0x25')][_0x2624('0xa')]['differ'][_0x2624('0x4c')]());for(const {name:_0x3162ad,data:_0x349e59}of _0x32268a){const {group:_0x1f8700,type:_0x5d8a78,subType:_0x8d65ac,id:_0x3fedec}=_0x33ca86[_0x2624('0x1a')](_0x3162ad);if(_0x2624('0x68')==_0x1f8700&&_0x33ca86[_0x2624('0x48')](_0x3fedec)){if(_0x2624('0x4b')==_0x5d8a78&&(_0x2624('0x2')==_0x8d65ac||_0x2624('0x19')==_0x8d65ac)){const _0x2f1628=_0x33ca86[_0x2624('0x23')](_0x3fedec);if(_0x349e59[_0x2624('0x43')]){const _0x82c1e4=_0x2f1628[_0x2624('0x47')]()['getContainedElement']();if(_0x44a834['isBlockImage'](_0x82c1e4))continue;_0x33ca86[_0x2624('0x30')](_0x2f1628),_0x1d8bf0=!0x0;}}if(_0x2624('0x6a')==_0x5d8a78&&'imageCaption'==_0x8d65ac&&!_0x349e59[_0x2624('0x43')]){const _0x25b524=_0x33ca86['getSuggestion'](_0x3fedec);_0x25b524['next']&&_0x25b524[_0x2624('0x55')][_0x2624('0x65')]&&(_0x33ca86['discardSuggestion'](_0x25b524[_0x2624('0x55')]),_0x1d8bf0=!0x0);}}}return _0x1d8bf0;}),_0x48fee5[_0x2624('0x69')][_0x2624('0xc')](_0x2624('0x42'))&&_0x33ca86['enableCommand'](_0x2624('0x6f'),(_0x2821ff,_0x1d6831)=>{const _0x5c73b4=_0x44a834[_0x2624('0x31')](_0x48fee5[_0x2624('0x25')][_0x2624('0xa')][_0x2624('0x15')]);_0x5c73b4[_0x2624('0x5a')](_0x2624('0x2e'))!=_0x1d6831[_0x2624('0x2e')]&&_0x48fee5[_0x2624('0x25')][_0x2624('0x60')](()=>{_0x33ca86[_0x2624('0x2d')](_0x5c73b4,{'commandName':_0x2624('0x6f'),'commandParams':[_0x1d6831]});});}),_0x48fee5[_0x2624('0x69')][_0x2624('0xc')](_0x2624('0x79'))&&_0x33ca86[_0x2624('0x66')](_0x2624('0x35'),(_0x5a9cf2,_0x255906)=>{const _0x1d535b=_0x44a834['getClosestSelectedImageElement'](_0x48fee5[_0x2624('0x25')][_0x2624('0xa')][_0x2624('0x15')]);(_0x1d535b['hasAttribute'](_0x2624('0x6'))?_0x1d535b['getAttribute'](_0x2624('0x6')):'')!=_0x255906[_0x2624('0x71')]&&_0x48fee5[_0x2624('0x25')][_0x2624('0x60')](()=>{_0x33ca86['markBlockFormat'](_0x1d535b,{'commandName':_0x2624('0x35'),'commandParams':[_0x255906]});});}),_0x33ca86[_0x2624('0x75')]['registerDescriptionCallback'](_0x22b896=>{if(!!_0x3b954f[_0x2624('0x10')](({type:_0x4659b2,subType:_0x548a95})=>_0x22b896[_0x2624('0x40')]==_0x4659b2&&_0x22b896[_0x2624('0x1f')]==_0x548a95))return _0x22b896[_0x2624('0x3d')]?{}:void 0x0;}),_0x33ca86['_descriptionFactory'][_0x2624('0x6d')](_0x276064=>{if(_0x2624('0x6a')==_0x276064[_0x2624('0x40')]||_0x2624('0x44')==_0x276064[_0x2624('0x40')]){const _0x4df61a=_0x276064[_0x2624('0x32')]();if(_0x4df61a&&_0x4df61a['is'](_0x2624('0x5f'),_0x2624('0x22')))return{'type':_0x2624('0x6a')==_0x276064[_0x2624('0x40')]?_0x2624('0x34'):_0x2624('0x0'),'element':_0x4df61a,'quantity':0x1};}}),_0x33ca86['_descriptionFactory'][_0x2624('0x6d')](_0x171d7e=>_0x2624('0x4b')==_0x171d7e[_0x2624('0x40')]&&'convertInlineImageToBlock'==_0x171d7e['subType']?{'type':_0x2624('0x61'),'content':_0x2624('0x5d')}:_0x2624('0x4b')==_0x171d7e['type']&&_0x2624('0x24')==_0x171d7e[_0x2624('0x1f')]?{'type':'format','content':_0x2624('0x74')}:void 0x0),_0x33ca86[_0x2624('0x75')][_0x2624('0x6d')](_0xfa55c0=>{const {data:_0x35f43c}=_0xfa55c0;if(_0x35f43c){if(_0x2624('0x18')==_0x35f43c[_0x2624('0x8')]){const _0x3cca0e=_0x35f43c[_0x2624('0x5')][0x0][_0x2624('0x1d')];return _0x4698e7(_0x2624('0x41')===_0x3cca0e?_0x58ce0a(_0x14b55e,_0x2624('0x38')):_0x36fbc0[_0x3cca0e]||_0x3cca0e);}if(_0x2624('0x35')==_0x35f43c[_0x2624('0x8')]){const _0x5bd68f=_0x35f43c[_0x2624('0x5')][0x0][_0x2624('0x71')];return _0x5bd68f?{'type':_0x2624('0x61'),'content':_0x58ce0a(_0x14b55e,_0x2624('0x54'),'\x22'+_0x5bd68f+'\x22')}:{'type':'format','content':_0x58ce0a(_0x14b55e,'*Remove\x20image\x20text\x20alternative*')};}if(_0x2624('0x6f')==_0x35f43c['commandName']){const _0x1fe59b=_0x35f43c['commandParams'][0x0]['width'];return _0x1fe59b?{'type':_0x2624('0x61'),'content':_0x58ce0a(_0x14b55e,_0x2624('0x3'),_0x1fe59b)}:{'type':'format','content':_0x58ce0a(_0x14b55e,_0x2624('0x57'))};}}function _0x4698e7(_0x451fd6){return{'type':_0x2624('0x61'),'content':_0x58ce0a(_0x14b55e,'*Format:*\x20%0',_0x451fd6)};}});}}
23
+ const _0x2b80=['registerElementLabel','markBlockFormat','ELEMENT_CAPTION','imageBlock','_descriptionFactory','plugins','element','getNearestSelectionRange','ImageUtils','chain','imageInline','isIntersecting','suggestion','deletion','selection','registerDescriptionCallback','*Format:*\x20%0','getSuggestions','isBlockImage','isCollapsed','formatBlock','has','getClosestSelectedImageElement','_findSuggestions','insertImage','registerCustomCallback','isEqual','isInContent','schema','getSuggestionCallback','registerPostFixer','getFirstRange','commands','imageStyle','start','forEach','imageTextAlternative','formatInline','shouldConvertImageType','author','accept','isBefore','discard','newValue','nodeBefore','convertBlockImageToInline','forceDefaultExecution','document','convertInlineImageToBlock','width','imageTypeInline','uploadImage','createRange','getAttribute','markDeletion','fromPosition','isOwn','_suggestionFactory','value','change','*Remove\x20image\x20text\x20alternative*','previous','commandReversedParams','get','detach','title','model','*Set\x20image\x20text\x20alternative:*\x20%0','createRangeOn','nodeAfter','removeObject','addObject','forward','getSuggestion','ImageCaptionUtils','discardSuggestion','findIndex','newRange','next','toNext','locale','ImageInlineEditing','toLowerCase','FORMAT_SIDE_IMAGE','join','format','imageStylePreApply','ImageCaptionEditing','imageStylePostApply','imageCaption','toggleImageCaption','commandName','subType','from','caption','hasSuggestion','ImageStyleEditing','refresh','filter','ImageEditing','differ','end','backward','ImageTextAlternativeEditing','type','Block\x20image\x20to\x20inline\x20image','*Set\x20image\x20width:*\x20%0','find','resizeImage','markInsertion','enableCommand','insertion','*Reset\x20image\x20width*','editor','Users','getCaptionFromImageModelElement','getContainedElement','isInlineImage','ELEMENT_INLINE_IMAGE','ImageBlockEditing','commandParams','alt'];(function(_0x416af0,_0x2b8064){const _0x54c8e9=function(_0x24bb82){while(--_0x24bb82){_0x416af0['push'](_0x416af0['shift']());}};_0x54c8e9(++_0x2b8064);}(_0x2b80,0x177));const _0x54c8=function(_0x416af0,_0x2b8064){_0x416af0=_0x416af0-0x0;let _0x54c8e9=_0x2b80[_0x416af0];return _0x54c8e9;};import{Plugin as _0x9792ef}from'ckeditor5/src/core';import{LivePosition as _0x1fbe81}from'ckeditor5/src/engine';import{uid as _0x4425b3}from'ckeditor5/src/utils';import{getTranslation as _0x30de74}from'../utils/common-translations';export default class V extends _0x9792ef{['afterInit'](){const _0x50bb80=this[_0x54c8('0x68')];if(!_0x50bb80['plugins'][_0x54c8('0xc')](_0x54c8('0x5a')))return;const _0x320d45=_0x50bb80[_0x54c8('0x76')][_0x54c8('0x36')]('TrackChangesEditing'),_0x10b610=_0x50bb80[_0x54c8('0x76')][_0x54c8('0x36')](_0x54c8('0x79')),_0x267b86={},_0x215686=_0x50bb80[_0x54c8('0x47')];if(_0x320d45[_0x54c8('0x65')](_0x54c8('0xf')),_0x320d45[_0x54c8('0x75')][_0x54c8('0x71')](_0x54c8('0x74'),_0x42706f=>_0x30de74(_0x215686,'ELEMENT_IMAGE',_0x42706f)),_0x320d45[_0x54c8('0x75')][_0x54c8('0x71')](_0x54c8('0x1'),_0x417ca6=>_0x30de74(_0x215686,_0x54c8('0x6d'),_0x417ca6)),_0x320d45[_0x54c8('0x75')][_0x54c8('0x71')](_0x54c8('0x55'),()=>_0x30de74(_0x215686,_0x54c8('0x73'))),_0x50bb80['plugins'][_0x54c8('0xc')]('ImageUploadEditing')&&_0x320d45[_0x54c8('0x65')](_0x54c8('0x2a')),_0x50bb80[_0x54c8('0x76')][_0x54c8('0xc')](_0x54c8('0x6e'))&&_0x50bb80[_0x54c8('0x76')]['has'](_0x54c8('0x48'))&&(_0x320d45[_0x54c8('0x65')](_0x54c8('0x29'),(_0x9f79fd,_0x5f417d)=>{const _0x40f555=_0x10b610[_0x54c8('0xd')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')]['selection']);_0x50bb80['model']['change'](()=>{_0x320d45[_0x54c8('0x72')](_0x40f555,{'commandName':_0x54c8('0x29'),'commandParams':[_0x5f417d]},[],_0x54c8('0x24'));});}),_0x320d45['enableCommand']('imageTypeBlock',(_0x5008fb,_0x4b07a6)=>{_0x50bb80['model'][_0x54c8('0x32')](_0xea94a7=>{let _0x10153c=_0x10b610[_0x54c8('0xd')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')]['selection']),_0x3d3fb6=_0xea94a7[_0x54c8('0x3b')](_0x10153c);const _0x368312=_0x1fbe81[_0x54c8('0x2e')](_0x3d3fb6[_0x54c8('0x19')],'toPrevious'),_0x178449=_0x1fbe81['fromPosition'](_0x3d3fb6[_0x54c8('0x5c')],_0x54c8('0x46'));_0x320d45[_0x54c8('0x25')](()=>_0x5008fb(_0x4b07a6)),_0x10153c=_0x10b610[_0x54c8('0xd')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')][_0x54c8('0x5')]),_0x3d3fb6=_0xea94a7[_0x54c8('0x3b')](_0x10153c);const _0x2d9d5b=_0xea94a7['createRange'](_0x368312,_0x178449);_0x368312[_0x54c8('0x37')](),_0x178449[_0x54c8('0x37')](),_0x320d45[_0x54c8('0x72')](_0x10153c,{'commandName':_0x54c8('0x29'),'commandParams':[]},[],_0x54c8('0x27')),_0x2d9d5b['start'][_0x54c8('0x20')](_0x3d3fb6[_0x54c8('0x19')])&&_0x320d45['markInsertion'](_0xea94a7[_0x54c8('0x2b')](_0x2d9d5b[_0x54c8('0x19')],_0x3d3fb6[_0x54c8('0x19')]),_0x54c8('0x27')),_0x3d3fb6[_0x54c8('0x5c')][_0x54c8('0x20')](_0x2d9d5b[_0x54c8('0x5c')])&&_0x320d45[_0x54c8('0x64')](_0xea94a7[_0x54c8('0x2b')](_0x3d3fb6[_0x54c8('0x5c')],_0x2d9d5b[_0x54c8('0x5c')]),_0x54c8('0x27'));});}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')](_0x54c8('0xb'),_0x54c8('0x27'),'join',()=>{}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')]('formatBlock',_0x54c8('0x27'),_0x54c8('0x1f'),()=>{}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')](_0x54c8('0xb'),_0x54c8('0x27'),_0x54c8('0x21'),_0x320d45['_suggestionFactory'][_0x54c8('0x14')](_0x54c8('0xb'),'',_0x54c8('0x1f'))),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')]('insertion','convertInlineImageToBlock',_0x54c8('0x4b'),()=>{}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')](_0x54c8('0x66'),_0x54c8('0x27'),'discard',([_0x41ef82])=>{const _0x63148c=_0x320d45['_suggestionFactory'][_0x54c8('0x14')](_0x54c8('0x66'),'',_0x54c8('0x21'));let _0xdd5789=_0x41ef82['start'],_0x51851d=_0x41ef82[_0x54c8('0x5c')];const _0x2839be=_0x50bb80[_0x54c8('0x39')][_0x54c8('0x13')][_0x54c8('0x78')](_0xdd5789,_0x54c8('0x5d')),_0x5a1f82=_0x50bb80['model'][_0x54c8('0x13')][_0x54c8('0x78')](_0x51851d,_0x54c8('0x3f'));_0x2839be[_0x54c8('0xa')]&&(_0xdd5789=_0x2839be[_0x54c8('0x19')]),_0x5a1f82[_0x54c8('0xa')]&&(_0x51851d=_0x5a1f82['end']),_0x63148c([_0x50bb80['model'][_0x54c8('0x2b')](_0xdd5789,_0x51851d)]);}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')]('formatBlock',_0x54c8('0x27'),_0x54c8('0x0'),_0x46b9cf),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')](_0x54c8('0x66'),_0x54c8('0x27'),_0x54c8('0x0'),_0x46b9cf)),_0x50bb80['plugins'][_0x54c8('0xc')](_0x54c8('0x4e'))&&(_0x320d45[_0x54c8('0x65')](_0x54c8('0x51'),(_0x4e5f6b,_0xae7be0)=>{const _0x41a4e0=_0x50bb80[_0x54c8('0x76')][_0x54c8('0x36')](_0x54c8('0x41'));let _0x1c1e3e=_0x10b610[_0x54c8('0xd')](_0x50bb80['model'][_0x54c8('0x26')]['selection']),_0x325d39=_0x41a4e0['getCaptionFromImageModelElement'](_0x1c1e3e);_0x50bb80['model'][_0x54c8('0x32')](()=>{if(_0x325d39)return void _0x320d45[_0x54c8('0x2d')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x3b')](_0x325d39));const _0x221942=_0x10b610['isBlockImage'](_0x1c1e3e);_0x4e5f6b(_0xae7be0),_0x1c1e3e=_0x10b610[_0x54c8('0xd')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')][_0x54c8('0x5')]),_0x325d39=_0x41a4e0[_0x54c8('0x6a')](_0x1c1e3e),_0x320d45[_0x54c8('0x64')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x3b')](_0x325d39),_0x221942?null:_0x54c8('0x50'));});}),_0x320d45['_suggestionFactory'][_0x54c8('0x10')](_0x54c8('0x66'),_0x54c8('0x50'),_0x54c8('0x0'),_0x46b9cf)),_0x50bb80[_0x54c8('0x76')][_0x54c8('0xc')](_0x54c8('0x57'))){_0x320d45[_0x54c8('0x65')](_0x54c8('0x18'),(_0x3df022,_0x182539)=>{const _0x19cf9a=_0x50bb80[_0x54c8('0x76')][_0x54c8('0x36')](_0x54c8('0x69'))['me'],_0x481414=_0x50bb80[_0x54c8('0x17')][_0x54c8('0x36')]('imageStyle');let _0xe45a0d=_0x10b610[_0x54c8('0xd')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')][_0x54c8('0x5')]),_0x44d364=_0x50bb80[_0x54c8('0x39')]['createRangeOn'](_0xe45a0d),_0x2adc79=_0x481414['value'];if(_0x2adc79==_0x182539[_0x54c8('0x31')])return;const _0x38f053={'commandName':_0x54c8('0x18'),'commandParams':[_0x182539],'formatGroupId':_0x4425b3()};_0x50bb80[_0x54c8('0x39')][_0x54c8('0x32')](()=>{if(_0x320d45[_0x54c8('0x8')]()[_0x54c8('0x59')](_0x5a1b0d=>_0x5a1b0d[_0x54c8('0x12')]&&_0x19cf9a==_0x5a1b0d[_0x54c8('0x1e')]&&(_0x54c8('0xb')==_0x5a1b0d[_0x54c8('0x5f')]||_0x54c8('0x1c')==_0x5a1b0d['type'])&&(_0x54c8('0x4d')==_0x5a1b0d[_0x54c8('0x53')]||_0x54c8('0x4f')==_0x5a1b0d[_0x54c8('0x53')])&&_0x5a1b0d[_0x54c8('0x16')]()[_0x54c8('0x11')](_0x44d364))[_0x54c8('0x1a')](_0x4d42ff=>_0x320d45[_0x54c8('0x42')](_0x4d42ff['head'])),_0xe45a0d=_0x10b610['getClosestSelectedImageElement'](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')][_0x54c8('0x5')]),_0x44d364=_0x50bb80[_0x54c8('0x39')][_0x54c8('0x3b')](_0xe45a0d),_0x481414['refresh'](),_0x50bb80[_0x54c8('0x17')]['get'](_0x54c8('0x29'))[_0x54c8('0x58')](),_0x50bb80[_0x54c8('0x17')][_0x54c8('0x36')]('imageTypeBlock')[_0x54c8('0x58')](),_0x2adc79=_0x481414['value'],_0x2adc79!=_0x182539[_0x54c8('0x31')])return _0x10b610[_0x54c8('0x6c')](_0xe45a0d)&&_0x481414[_0x54c8('0x1d')](_0x182539['value'],_0xe45a0d)?(_0x3df022(_0x182539),_0xe45a0d=_0x10b610[_0x54c8('0xd')](_0x50bb80[_0x54c8('0x39')]['document'][_0x54c8('0x5')]),void _0x320d45['markBlockFormat'](_0xe45a0d,{..._0x38f053,'commandReversedParams':[{'value':_0x2adc79||null}]},[],'imageStylePreApply')):void(_0x10b610['isBlockImage'](_0xe45a0d)?_0x320d45[_0x54c8('0x72')](_0xe45a0d,_0x38f053,[],_0x54c8('0x4f')):_0x320d45['markInlineFormat'](_0x44d364,_0x38f053,_0x54c8('0x4f')));});});for(const _0x494fea of _0x50bb80[_0x54c8('0x76')][_0x54c8('0x36')](_0x54c8('0x57'))['normalizedStyles'])_0x267b86[_0x494fea['name']]=_0x494fea[_0x54c8('0x38')][_0x54c8('0x49')]();_0x320d45[_0x54c8('0x30')]['registerCustomCallback']('formatBlock',_0x54c8('0x4d'),_0x54c8('0x4b'),()=>{}),_0x320d45['_suggestionFactory'][_0x54c8('0x10')](_0x54c8('0xb'),_0x54c8('0x4f'),_0x54c8('0x4b'),()=>{}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')]('formatInline',_0x54c8('0x4f'),'join',()=>{}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')]('formatBlock',_0x54c8('0x4d'),_0x54c8('0x1f'),()=>{}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')](_0x54c8('0xb'),_0x54c8('0x4d'),'discard',(_0x482b74,_0x488a10)=>{_0x320d45['_suggestionFactory']['getSuggestionCallback'](_0x54c8('0xb'),'',_0x54c8('0x1f'))(_0x482b74,{'commandName':_0x488a10['commandName'],'commandParams':_0x488a10[_0x54c8('0x35')]});}),_0x320d45[_0x54c8('0x30')][_0x54c8('0x10')]('formatBlock',_0x54c8('0x4d'),_0x54c8('0x0'),_0x46b9cf);}const _0xb4f1f5=[{'type':_0x54c8('0xb'),'subType':_0x54c8('0x4d')},{'type':_0x54c8('0x66'),'subType':_0x54c8('0x50')},{'type':_0x54c8('0xb'),'subType':_0x54c8('0x27')},{'type':_0x54c8('0x66'),'subType':_0x54c8('0x27')}];function _0x4c6ad1(_0xe5728b,_0x1fe723){const _0x56cee6=_0xb4f1f5[_0x54c8('0x43')](({type:_0xd5c3c6,subType:_0x8cf4aa})=>_0xe5728b[_0x54c8('0x5f')]==_0xd5c3c6&&_0xe5728b[_0x54c8('0x53')]==_0x8cf4aa),_0xc64334=_0xb4f1f5[_0x54c8('0x43')](({type:_0x4d07c8,subType:_0x6718e0})=>_0x1fe723[_0x54c8('0x5f')]==_0x4d07c8&&_0x1fe723[_0x54c8('0x53')]==_0x6718e0);if(_0x56cee6<0x0||_0xc64334<0x0)return!0x1;const _0x1bcf43=_0xe5728b[_0x54c8('0x16')](),_0x54113a=_0x1fe723['getFirstRange']();if((0x0==_0x56cee6||0x1==_0x56cee6)&&0x2==_0xc64334&&_0x1bcf43[_0x54c8('0x2')](_0x54113a))return!0x0;if(0x2==_0x56cee6&&0x3==_0xc64334){const _0x296716=_0x320d45[_0x54c8('0xe')](_0x1bcf43,_0x54c8('0x66'))[_0x54c8('0x59')](({suggestion:_0x33c9a1,meta:_0x4cdd4c})=>_0x4cdd4c[_0x54c8('0x2f')]&&_0x54c8('0x27')==_0x33c9a1['subType']);if(_0x296716['length']>0x1&&_0x54113a[_0x54c8('0x5c')]['isEqual'](_0x1bcf43['start']))return!0x0;if(0x1==_0x296716['length']&&(_0x1bcf43['start'][_0x54c8('0x11')](_0x54113a[_0x54c8('0x5c')])||_0x1bcf43['end'][_0x54c8('0x11')](_0x54113a[_0x54c8('0x19')])))return!0x0;}if(0x3==_0x56cee6&&0x3==_0xc64334&&_0x1bcf43['start']['isBefore'](_0x54113a['start'])){const _0x2234e0=_0x1bcf43[_0x54c8('0x5c')][_0x54c8('0x3c')],_0x4f07cf=_0x54113a[_0x54c8('0x19')][_0x54c8('0x23')];return _0x10b610['isBlockImage'](_0x2234e0)&&_0x2234e0===_0x4f07cf;}return!0x1;}function _0x46b9cf(_0x3b74f2,_0xe99a55){return _0x4c6ad1(_0x3b74f2,_0xe99a55)?[_0x3b74f2,_0xe99a55]:_0x4c6ad1(_0xe99a55,_0x3b74f2)?[_0xe99a55,_0x3b74f2]:null;}_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')][_0x54c8('0x15')](()=>{let _0x391bcf=!0x1;const _0x354f1d=Array[_0x54c8('0x54')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')][_0x54c8('0x5b')]['getChangedMarkers']());for(const {name:_0x297393,data:_0x5a684b}of _0x354f1d){const {group:_0xc2f9a9,type:_0x282072,subType:_0x128143,id:_0x1a553b}=_0x320d45['_splitMarkerName'](_0x297393);if(_0x54c8('0x3')==_0xc2f9a9&&_0x320d45[_0x54c8('0x56')](_0x1a553b)){if(_0x54c8('0xb')==_0x282072&&(_0x54c8('0x4d')==_0x128143||_0x54c8('0x4f')==_0x128143)){const _0x2c0961=_0x320d45[_0x54c8('0x40')](_0x1a553b);if(_0x5a684b[_0x54c8('0x44')]){const _0x73a8d5=_0x2c0961[_0x54c8('0x16')]()['getContainedElement']();if(_0x10b610[_0x54c8('0x9')](_0x73a8d5))continue;_0x320d45['discardSuggestion'](_0x2c0961),_0x391bcf=!0x0;}}if(_0x54c8('0x66')==_0x282072&&'imageCaption'==_0x128143&&!_0x5a684b[_0x54c8('0x44')]){const _0x40ea1a=_0x320d45['getSuggestion'](_0x1a553b);_0x40ea1a[_0x54c8('0x45')]&&_0x40ea1a['next'][_0x54c8('0x12')]&&(_0x320d45[_0x54c8('0x42')](_0x40ea1a[_0x54c8('0x45')]),_0x391bcf=!0x0);}}}return _0x391bcf;}),_0x50bb80['plugins'][_0x54c8('0xc')]('ImageResize')&&_0x320d45['enableCommand'](_0x54c8('0x63'),(_0x27fd6e,_0x4f4219)=>{const _0x933e2=_0x10b610[_0x54c8('0xd')](_0x50bb80[_0x54c8('0x39')]['document'][_0x54c8('0x5')]);_0x933e2[_0x54c8('0x2c')](_0x54c8('0x28'))!=_0x4f4219[_0x54c8('0x28')]&&_0x50bb80['model'][_0x54c8('0x32')](()=>{_0x320d45[_0x54c8('0x72')](_0x933e2,{'commandName':'resizeImage','commandParams':[_0x4f4219]});});}),_0x50bb80[_0x54c8('0x76')]['has'](_0x54c8('0x5e'))&&_0x320d45[_0x54c8('0x65')](_0x54c8('0x1b'),(_0x24f2d6,_0x6f296c)=>{const _0x158666=_0x10b610[_0x54c8('0xd')](_0x50bb80[_0x54c8('0x39')][_0x54c8('0x26')][_0x54c8('0x5')]);(_0x158666['hasAttribute'](_0x54c8('0x70'))?_0x158666[_0x54c8('0x2c')](_0x54c8('0x70')):'')!=_0x6f296c['newValue']&&_0x50bb80[_0x54c8('0x39')]['change'](()=>{_0x320d45['markBlockFormat'](_0x158666,{'commandName':_0x54c8('0x1b'),'commandParams':[_0x6f296c]});});}),_0x320d45['_descriptionFactory'][_0x54c8('0x6')](_0x1dc282=>{if(!!_0xb4f1f5[_0x54c8('0x62')](({type:_0x2dedae,subType:_0x20b1a2})=>_0x1dc282['type']==_0x2dedae&&_0x1dc282['subType']==_0x20b1a2))return _0x1dc282[_0x54c8('0x34')]?{}:void 0x0;}),_0x320d45[_0x54c8('0x75')][_0x54c8('0x6')](_0x294bd9=>{if(_0x54c8('0x66')==_0x294bd9['type']||_0x54c8('0x4')==_0x294bd9['type']){const _0x2b6fe5=_0x294bd9[_0x54c8('0x6b')]();if(_0x2b6fe5&&_0x2b6fe5['is'](_0x54c8('0x77'),_0x54c8('0x55')))return{'type':'insertion'==_0x294bd9['type']?_0x54c8('0x3e'):_0x54c8('0x3d'),'element':_0x2b6fe5,'quantity':0x1};}}),_0x320d45['_descriptionFactory']['registerDescriptionCallback'](_0xbecea3=>_0x54c8('0xb')==_0xbecea3[_0x54c8('0x5f')]&&_0x54c8('0x27')==_0xbecea3['subType']?{'type':_0x54c8('0x4c'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x54c8('0xb')==_0xbecea3[_0x54c8('0x5f')]&&_0x54c8('0x24')==_0xbecea3[_0x54c8('0x53')]?{'type':_0x54c8('0x4c'),'content':_0x54c8('0x60')}:void 0x0),_0x320d45[_0x54c8('0x75')][_0x54c8('0x6')](_0x2ab73c=>{const {data:_0x45de22}=_0x2ab73c;if(_0x45de22){if(_0x54c8('0x18')==_0x45de22['commandName']){const _0x290d08=_0x45de22[_0x54c8('0x6f')][0x0][_0x54c8('0x31')];return _0xc26d98('side'===_0x290d08?_0x30de74(_0x215686,_0x54c8('0x4a')):_0x267b86[_0x290d08]||_0x290d08);}if(_0x54c8('0x1b')==_0x45de22[_0x54c8('0x52')]){const _0x52347c=_0x45de22[_0x54c8('0x6f')][0x0][_0x54c8('0x22')];return _0x52347c?{'type':'format','content':_0x30de74(_0x215686,_0x54c8('0x3a'),'\x22'+_0x52347c+'\x22')}:{'type':_0x54c8('0x4c'),'content':_0x30de74(_0x215686,_0x54c8('0x33'))};}if('resizeImage'==_0x45de22[_0x54c8('0x52')]){const _0x3afa00=_0x45de22[_0x54c8('0x6f')][0x0]['width'];return _0x3afa00?{'type':_0x54c8('0x4c'),'content':_0x30de74(_0x215686,_0x54c8('0x61'),_0x3afa00)}:{'type':'format','content':_0x30de74(_0x215686,_0x54c8('0x67'))};}}function _0xc26d98(_0x374682){return{'type':_0x54c8('0x4c'),'content':_0x30de74(_0x215686,_0x54c8('0x7'),_0x374682)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3154=['accept','getSuggestionCallback','model','getSuggestions','getSelectedElement','change','replaceImageSource','source','discard','selection','getContainedElement','TrackChangesEditing','format','src','handleReplaceImageCommand','registerDescriptionCallback','commandParams','document','_descriptionFactory','data','markBlockFormat','*Format:*\x20replace\x20image\x20URL','plugins','formatBlock','_suggestionFactory','enableCommand','get','handleSuggestionDescription','has','Users','subType','ImageEditing','editor'];(function(_0x24a503,_0x315417){const _0x16626d=function(_0x458104){while(--_0x458104){_0x24a503['push'](_0x24a503['shift']());}};_0x16626d(++_0x315417);}(_0x3154,0xfe));const _0x1662=function(_0x24a503,_0x315417){_0x24a503=_0x24a503-0x0;let _0x16626d=_0x3154[_0x24a503];return _0x16626d;};import{Plugin as _0x169fb2}from'ckeditor5/src/core';import{getTranslation as _0x21ed21}from'../utils/common-translations';export default class X extends _0x169fb2{['afterInit'](){if(!this['editor'][_0x1662('0x20')][_0x1662('0x5')](_0x1662('0x8')))return;const _0x5c657f=this['editor']['plugins']['get']('TrackChangesEditing');_0x5c657f[_0x1662('0x2')](_0x1662('0x10'),(_0x1a1d78,_0xafb57f)=>this[_0x1662('0x18')](_0x1a1d78,_0xafb57f)),_0x5c657f[_0x1662('0x1')]['registerCustomCallback'](_0x1662('0x0'),_0x1662('0x10'),_0x1662('0xa'),_0x5c657f[_0x1662('0x1')]['getSuggestionCallback'](_0x1662('0x0'),null,'discard')),_0x5c657f[_0x1662('0x1')]['registerCustomCallback']('formatBlock','replaceImageSource',_0x1662('0x12'),_0x5c657f[_0x1662('0x1')][_0x1662('0xb')]('formatBlock',null,'accept')),_0x5c657f[_0x1662('0x1c')][_0x1662('0x19')](_0x4946fa=>this[_0x1662('0x4')](_0x4946fa));}[_0x1662('0x18')](_0x571926,_0x5e9d43){const _0x4a0d3c=this[_0x1662('0x9')]['plugins']['get'](_0x1662('0x15')),_0x23bcd4=this['editor'][_0x1662('0xc')][_0x1662('0x1b')][_0x1662('0x13')][_0x1662('0xe')]();this[_0x1662('0x9')][_0x1662('0xc')][_0x1662('0xf')](()=>{let _0x2e8232=_0x23bcd4['getAttribute'](_0x1662('0x17'));const _0x2b0054=this[_0x1662('0x9')]['plugins'][_0x1662('0x3')](_0x1662('0x6'))['me'];for(const _0x4b52c0 of _0x4a0d3c[_0x1662('0xd')]({'skipNotAttached':!0x0})){const _0x47326b=_0x4b52c0[_0x1662('0x14')]();if(_0x1662('0x10')===_0x4b52c0[_0x1662('0x7')]&&_0x47326b===_0x23bcd4){_0x4b52c0['author']!==_0x2b0054&&_0x4b52c0[_0x1662('0x12')](),_0x2e8232=_0x4b52c0[_0x1662('0x1d')][_0x1662('0x1a')][0x0][_0x1662('0x11')];break;}}_0x571926(_0x5e9d43),_0x4a0d3c[_0x1662('0x1e')](_0x23bcd4,{'commandName':_0x1662('0x10'),'commandParams':[{'source':_0x2e8232}]},[],_0x1662('0x10'));});}[_0x1662('0x4')](_0x26d8f8){const {data:_0x548e60}=_0x26d8f8;if(_0x548e60&&'replaceImageSource'===_0x548e60['commandName']){const _0x504c0c=_0x1662('0x1f');return{'type':_0x1662('0x16'),'content':_0x21ed21(this[_0x1662('0x9')]['locale'],_0x504c0c)};}}}
23
+ const _0x5811=['discard','getSelectedElement','handleReplaceImageCommand','src','subType','*Format:*\x20replace\x20image\x20URL','source','afterInit','document','TrackChangesEditing','editor','data','_descriptionFactory','enableCommand','getSuggestionCallback','handleSuggestionDescription','change','model','accept','replaceImageSource','Users','locale','format','plugins','ImageEditing','_suggestionFactory','commandParams','commandName','getAttribute','formatBlock','get','getSuggestions','markBlockFormat','author'];(function(_0x1a40ab,_0x5811bd){const _0x47cdc8=function(_0x3958c2){while(--_0x3958c2){_0x1a40ab['push'](_0x1a40ab['shift']());}};_0x47cdc8(++_0x5811bd);}(_0x5811,0xd2));const _0x47cd=function(_0x1a40ab,_0x5811bd){_0x1a40ab=_0x1a40ab-0x0;let _0x47cdc8=_0x5811[_0x1a40ab];return _0x47cdc8;};import{Plugin as _0x33d916}from'ckeditor5/src/core';import{getTranslation as _0x178edb}from'../utils/common-translations';export default class X extends _0x33d916{[_0x47cd('0x1')](){if(!this[_0x47cd('0x4')][_0x47cd('0x11')]['has'](_0x47cd('0x12')))return;const _0x578d01=this['editor']['plugins']['get'](_0x47cd('0x3'));_0x578d01[_0x47cd('0x7')](_0x47cd('0xd'),(_0x4fe564,_0x179bcc)=>this[_0x47cd('0x1e')](_0x4fe564,_0x179bcc)),_0x578d01[_0x47cd('0x13')]['registerCustomCallback']('formatBlock','replaceImageSource',_0x47cd('0xc'),_0x578d01[_0x47cd('0x13')][_0x47cd('0x8')](_0x47cd('0x17'),null,'discard')),_0x578d01['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x47cd('0xd'),_0x47cd('0x1c'),_0x578d01[_0x47cd('0x13')][_0x47cd('0x8')]('formatBlock',null,_0x47cd('0xc'))),_0x578d01[_0x47cd('0x6')]['registerDescriptionCallback'](_0x332f1f=>this[_0x47cd('0x9')](_0x332f1f));}[_0x47cd('0x1e')](_0x4d315f,_0x57b762){const _0x6408e9=this['editor']['plugins'][_0x47cd('0x18')](_0x47cd('0x3')),_0x297a8f=this[_0x47cd('0x4')][_0x47cd('0xb')][_0x47cd('0x2')]['selection'][_0x47cd('0x1d')]();this[_0x47cd('0x4')][_0x47cd('0xb')][_0x47cd('0xa')](()=>{let _0x4d5dcf=_0x297a8f[_0x47cd('0x16')](_0x47cd('0x1f'));const _0x1fad49=this[_0x47cd('0x4')][_0x47cd('0x11')][_0x47cd('0x18')](_0x47cd('0xe'))['me'];for(const _0x465ca0 of _0x6408e9[_0x47cd('0x19')]({'skipNotAttached':!0x0})){const _0x2999e8=_0x465ca0['getContainedElement']();if(_0x47cd('0xd')===_0x465ca0[_0x47cd('0x20')]&&_0x2999e8===_0x297a8f){_0x465ca0[_0x47cd('0x1b')]!==_0x1fad49&&_0x465ca0['discard'](),_0x4d5dcf=_0x465ca0[_0x47cd('0x5')][_0x47cd('0x14')][0x0][_0x47cd('0x0')];break;}}_0x4d315f(_0x57b762),_0x6408e9[_0x47cd('0x1a')](_0x297a8f,{'commandName':'replaceImageSource','commandParams':[{'source':_0x4d5dcf}]},[],'replaceImageSource');});}['handleSuggestionDescription'](_0x1534d0){const {data:_0xf95fe9}=_0x1534d0;if(_0xf95fe9&&_0x47cd('0xd')===_0xf95fe9[_0x47cd('0x15')]){const _0x5128b4=_0x47cd('0x21');return{'type':_0x47cd('0x10'),'content':_0x178edb(this[_0x47cd('0x4')][_0x47cd('0xf')],_0x5128b4)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53cc=['_trackChangesExecuted','collaboration_features','importWord','editor','value','execute','_setSuggestionData','_handleImportedData','listenTo','bind','plugins','forEach','_trackChangesValueDuringImport','dataInsert','commands','get','TrackChangesEditing','trackChanges','high','lowest','afterInit'];(function(_0x13ecef,_0x53cc86){const _0x46c34e=function(_0x8111ec){while(--_0x8111ec){_0x13ecef['push'](_0x13ecef['shift']());}};_0x46c34e(++_0x53cc86);}(_0x53cc,0xb7));const _0x46c3=function(_0x13ecef,_0x53cc86){_0x13ecef=_0x13ecef-0x0;let _0x46c34e=_0x53cc[_0x13ecef];return _0x46c34e;};import{Plugin as _0x4fbd30}from'ckeditor5/src/core';export default class Y extends _0x4fbd30{constructor(_0x2cbdd1){super(_0x2cbdd1),this[_0x46c3('0x12')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x46c3('0x5')](){const _0x39b497=this[_0x46c3('0x9')],_0x39224c=_0x39b497[_0x46c3('0x14')][_0x46c3('0x0')](_0x46c3('0x8')),_0x1e0590=_0x39b497[_0x46c3('0x14')][_0x46c3('0x0')](_0x46c3('0x2'));_0x39224c&&(_0x39224c['on'](_0x46c3('0xb'),(_0x25e618,[,_0x55e3af])=>{this['_trackChangesValueDuringImport']=_0x1e0590[_0x46c3('0xa')],_0x55e3af[_0x46c3('0x7')]['track_changes']=!this[_0x46c3('0x12')];},{'priority':_0x46c3('0x3')}),this['listenTo'](_0x39224c,_0x46c3('0x13'),this[_0x46c3('0xd')][_0x46c3('0xf')](this)),this[_0x46c3('0xe')](_0x39224c,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x1e0590[_0x46c3('0xb')](),this[_0x46c3('0x6')]=!0x1);},{'priority':_0x46c3('0x4')}),_0x39b497[_0x46c3('0x10')][_0x46c3('0x0')](_0x46c3('0x1'))['enableCommand'](_0x46c3('0x8')));}[_0x46c3('0xd')](_0x52a055,_0x4937ce){const {suggestions:_0x3620e0}=_0x4937ce,_0x58667f=this[_0x46c3('0x9')][_0x46c3('0x14')]['get']('trackChanges'),_0x3d943a=_0x58667f[_0x46c3('0xa')];this[_0x46c3('0x12')]!==_0x3d943a&&(_0x58667f[_0x46c3('0xb')](),this[_0x46c3('0x6')]=!0x0),_0x3620e0&&_0x3620e0[_0x46c3('0x11')](({id:_0x716e8a,type:_0x29a3e1,author:_0x509c05,created_at:_0x5eba73})=>{const _0x4092bd={'id':_0x716e8a,'type':_0x29a3e1,'authorId':this['editor'][_0x46c3('0x10')][_0x46c3('0x0')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x509c05,'createdAt':_0x5eba73?new Date(_0x5eba73):new Date(),'source':_0x46c3('0x8')}}};this[_0x46c3('0x9')][_0x46c3('0x10')]['get'](_0x46c3('0x1'))[_0x46c3('0xc')](_0x4092bd);});}}
23
+ const _0x3f5f=['_setSuggestionData','TrackChangesEditing','Users','_trackChangesValueDuringImport','editor','execute','commands','forEach','trackChanges','_handleImportedData','plugins','get','dataInsert','listenTo','bind','lowest','_trackChangesExecuted','collaboration_features','high','importWord','track_changes'];(function(_0x361345,_0x3f5f25){const _0x4cbf14=function(_0x3e7773){while(--_0x3e7773){_0x361345['push'](_0x361345['shift']());}};_0x4cbf14(++_0x3f5f25);}(_0x3f5f,0x147));const _0x4cbf=function(_0x361345,_0x3f5f25){_0x361345=_0x361345-0x0;let _0x4cbf14=_0x3f5f[_0x361345];return _0x4cbf14;};import{Plugin as _0x5913fc}from'ckeditor5/src/core';export default class Y extends _0x5913fc{constructor(_0x593d19){super(_0x593d19),this[_0x4cbf('0xc')]=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x59a6d7=this[_0x4cbf('0xd')],_0x9c5533=_0x59a6d7[_0x4cbf('0xf')]['get'](_0x4cbf('0x7')),_0x2146d9=_0x59a6d7['commands'][_0x4cbf('0x14')](_0x4cbf('0x11'));_0x9c5533&&(_0x9c5533['on'](_0x4cbf('0xe'),(_0x597e26,[,_0x12e696])=>{this['_trackChangesValueDuringImport']=_0x2146d9['value'],_0x12e696[_0x4cbf('0x5')][_0x4cbf('0x8')]=!this[_0x4cbf('0xc')];},{'priority':_0x4cbf('0x6')}),this[_0x4cbf('0x1')](_0x9c5533,_0x4cbf('0x0'),this['_handleImportedData'][_0x4cbf('0x2')](this)),this[_0x4cbf('0x1')](_0x9c5533,_0x4cbf('0x0'),()=>{this[_0x4cbf('0x4')]&&(_0x2146d9[_0x4cbf('0xe')](),this[_0x4cbf('0x4')]=!0x1);},{'priority':_0x4cbf('0x3')}),_0x59a6d7['plugins'][_0x4cbf('0x14')](_0x4cbf('0xa'))['enableCommand']('importWord'));}[_0x4cbf('0x12')](_0x4ae6f5,_0x769f33){const {suggestions:_0x15a8df}=_0x769f33,_0x1814c5=this[_0x4cbf('0xd')][_0x4cbf('0xf')][_0x4cbf('0x14')]('trackChanges'),_0x8ea937=_0x1814c5['value'];this[_0x4cbf('0xc')]!==_0x8ea937&&(_0x1814c5[_0x4cbf('0xe')](),this[_0x4cbf('0x4')]=!0x0),_0x15a8df&&_0x15a8df[_0x4cbf('0x10')](({id:_0x55c04b,type:_0x2f26d5,author:_0x4fd5ca,created_at:_0x546692})=>{const _0x1fdee4={'id':_0x55c04b,'type':_0x2f26d5,'authorId':this['editor'][_0x4cbf('0x13')][_0x4cbf('0x14')](_0x4cbf('0xb'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4fd5ca,'createdAt':_0x546692?new Date(_0x546692):new Date(),'source':_0x4cbf('0x7')}}};this[_0x4cbf('0xd')][_0x4cbf('0x13')][_0x4cbf('0x14')](_0x4cbf('0xa'))[_0x4cbf('0x9')](_0x1fdee4);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x290f=['*Outdent:*\x20%0','getSelectedBlocks','markBlockFormat','schema','editor','change','selection','commandName','_descriptionFactory','format','from','has','locale','registerDescriptionCallback','IndentEditing','getItems','enableCommand','IndentBlock','plugins','checkAttribute','document','getItemLabel','model','indentBlock','*Indent:*\x20%0','outdentBlock','get'];(function(_0xb9be5d,_0x290fc0){const _0x42b6b9=function(_0x3ef586){while(--_0x3ef586){_0xb9be5d['push'](_0xb9be5d['shift']());}};_0x42b6b9(++_0x290fc0);}(_0x290f,0x94));const _0x42b6=function(_0xb9be5d,_0x290fc0){_0xb9be5d=_0xb9be5d-0x0;let _0x42b6b9=_0x290f[_0xb9be5d];return _0x42b6b9;};import{Plugin as _0x1c80e4}from'ckeditor5/src/core';import{getTranslation as _0x52aa41}from'../utils/common-translations';export default class Z extends _0x1c80e4{['afterInit'](){const _0x36196e=this[_0x42b6('0x12')],_0x145d8a=_0x36196e[_0x42b6('0x5')][_0x42b6('0xd')]('TrackChangesEditing');_0x36196e[_0x42b6('0x5')][_0x42b6('0x19')](_0x42b6('0x1'))&&(_0x145d8a[_0x42b6('0x3')]('indent'),_0x145d8a[_0x42b6('0x3')]('outdent'));const _0x4d25df=_0x36196e[_0x42b6('0x1a')];if(_0x36196e[_0x42b6('0x5')][_0x42b6('0x19')](_0x42b6('0x4'))){for(const _0x240003 of['indentBlock',_0x42b6('0xc')])_0x145d8a['enableCommand'](_0x240003,()=>{const _0x551019=Array[_0x42b6('0x18')](this[_0x42b6('0x12')][_0x42b6('0x9')][_0x42b6('0x7')][_0x42b6('0x14')][_0x42b6('0xf')]())['filter'](_0x1c077a=>this[_0x42b6('0x12')][_0x42b6('0x9')][_0x42b6('0x11')][_0x42b6('0x6')](_0x1c077a,'blockIndent'));_0x36196e[_0x42b6('0x9')][_0x42b6('0x13')](()=>{for(const _0x19cc45 of _0x551019)_0x145d8a[_0x42b6('0x10')](_0x19cc45,{'commandName':_0x240003,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x145d8a[_0x42b6('0x16')][_0x42b6('0x0')](_0x5fa6a3=>{const {data:_0x813b2e}=_0x5fa6a3;if(!_0x813b2e)return;if(_0x42b6('0xa')!=_0x813b2e['commandName']&&_0x42b6('0xc')!=_0x813b2e[_0x42b6('0x15')])return;const _0xddea0c=_0x5fa6a3[_0x42b6('0x2')]()[0x0],_0x2b78d1=_0x145d8a['_descriptionFactory'][_0x42b6('0x8')](_0xddea0c);return _0x42b6('0xa')==_0x813b2e[_0x42b6('0x15')]?{'type':_0x42b6('0x17'),'content':_0x52aa41(_0x4d25df,_0x42b6('0xb'),_0x2b78d1)}:'outdentBlock'==_0x813b2e[_0x42b6('0x15')]?{'type':_0x42b6('0x17'),'content':_0x52aa41(_0x4d25df,_0x42b6('0xe'),_0x2b78d1)}:void 0x0;});}}}
23
+ const _0x3a8e=['model','from','getItemLabel','checkAttribute','has','markBlockFormat','schema','selection','document','change','plugins','*Indent:*\x20%0','locale','indent','editor','registerDescriptionCallback','afterInit','outdentBlock','IndentEditing','enableCommand','blockIndent','indentBlock','filter','IndentBlock','get','*Outdent:*\x20%0','_descriptionFactory','TrackChangesEditing','commandName','format'];(function(_0x29d71f,_0x3a8e0c){const _0x2657f1=function(_0x1e27dd){while(--_0x1e27dd){_0x29d71f['push'](_0x29d71f['shift']());}};_0x2657f1(++_0x3a8e0c);}(_0x3a8e,0x113));const _0x2657=function(_0x29d71f,_0x3a8e0c){_0x29d71f=_0x29d71f-0x0;let _0x2657f1=_0x3a8e[_0x29d71f];return _0x2657f1;};import{Plugin as _0x6c418b}from'ckeditor5/src/core';import{getTranslation as _0x168714}from'../utils/common-translations';export default class Z extends _0x6c418b{[_0x2657('0xb')](){const _0x5abab2=this['editor'],_0x124644=_0x5abab2[_0x2657('0x5')][_0x2657('0x13')](_0x2657('0x16'));_0x5abab2[_0x2657('0x5')][_0x2657('0x1d')](_0x2657('0xd'))&&(_0x124644[_0x2657('0xe')](_0x2657('0x8')),_0x124644[_0x2657('0xe')]('outdent'));const _0x4ac5ff=_0x5abab2[_0x2657('0x7')];if(_0x5abab2[_0x2657('0x5')][_0x2657('0x1d')](_0x2657('0x12'))){for(const _0x406dcc of[_0x2657('0x10'),_0x2657('0xc')])_0x124644['enableCommand'](_0x406dcc,()=>{const _0x2637b3=Array[_0x2657('0x1a')](this[_0x2657('0x9')][_0x2657('0x19')][_0x2657('0x3')][_0x2657('0x2')]['getSelectedBlocks']())[_0x2657('0x11')](_0x84c811=>this[_0x2657('0x9')][_0x2657('0x19')][_0x2657('0x1')][_0x2657('0x1c')](_0x84c811,_0x2657('0xf')));_0x5abab2[_0x2657('0x19')][_0x2657('0x4')](()=>{for(const _0x4bdf76 of _0x2637b3)_0x124644[_0x2657('0x0')](_0x4bdf76,{'commandName':_0x406dcc,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x124644[_0x2657('0x15')][_0x2657('0xa')](_0x2524c7=>{const {data:_0x1eaf84}=_0x2524c7;if(!_0x1eaf84)return;if(_0x2657('0x10')!=_0x1eaf84['commandName']&&'outdentBlock'!=_0x1eaf84[_0x2657('0x17')])return;const _0x32e64e=_0x2524c7['getItems']()[0x0],_0x38a5be=_0x124644['_descriptionFactory'][_0x2657('0x1b')](_0x32e64e);return _0x2657('0x10')==_0x1eaf84[_0x2657('0x17')]?{'type':_0x2657('0x18'),'content':_0x168714(_0x4ac5ff,_0x2657('0x6'),_0x38a5be)}:_0x2657('0xc')==_0x1eaf84['commandName']?{'type':_0x2657('0x18'),'content':_0x168714(_0x4ac5ff,_0x2657('0x14'),_0x38a5be)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3ca2=['editor','enableCommand','input','requires','plugins','TrackChangesEditing','init'];(function(_0x143a4a,_0x3ca252){var _0x507702=function(_0x397cf6){while(--_0x397cf6){_0x143a4a['push'](_0x143a4a['shift']());}};_0x507702(++_0x3ca252);}(_0x3ca2,0xb9));var _0x5077=function(_0x143a4a,_0x3ca252){_0x143a4a=_0x143a4a-0x0;var _0x507702=_0x3ca2[_0x143a4a];return _0x507702;};import{Plugin as _0x1e343b}from'ckeditor5/src/core';import{Input as _0x27efd6}from'ckeditor5/src/typing';export default class tt extends _0x1e343b{static get[_0x5077('0x0')](){return[_0x27efd6];}[_0x5077('0x3')](){this[_0x5077('0x4')][_0x5077('0x1')]['get'](_0x5077('0x2'))[_0x5077('0x5')](_0x5077('0x6'));}}
23
+ var _0x7d16=['editor','input','TrackChangesEditing','enableCommand','plugins','init','requires'];(function(_0x2cb65f,_0x7d1638){var _0x591ed0=function(_0x5eeaa8){while(--_0x5eeaa8){_0x2cb65f['push'](_0x2cb65f['shift']());}};_0x591ed0(++_0x7d1638);}(_0x7d16,0x11f));var _0x591e=function(_0x2cb65f,_0x7d1638){_0x2cb65f=_0x2cb65f-0x0;var _0x591ed0=_0x7d16[_0x2cb65f];return _0x591ed0;};import{Plugin as _0x586212}from'ckeditor5/src/core';import{Input as _0x1f548b}from'ckeditor5/src/typing';export default class tt extends _0x586212{static get[_0x591e('0x6')](){return[_0x1f548b];}[_0x591e('0x5')](){this[_0x591e('0x0')][_0x591e('0x4')]['get'](_0x591e('0x2'))[_0x591e('0x3')](_0x591e('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ac8=['registerDescriptionCallback','get','LinkEditing','*Remove\x20link*','change','linkHref','*Set\x20link:*\x20%0','isCollapsed','has','from','getRanges','afterInit','model','link','unlink','format','hasAttribute','selection','getFirstRange','document','getAttribute','plugins','commandName','commandParams','getFirstPosition','enableCommand'];(function(_0x29c323,_0x2ac8d3){const _0x396060=function(_0x517e59){while(--_0x517e59){_0x29c323['push'](_0x29c323['shift']());}};_0x396060(++_0x2ac8d3);}(_0x2ac8,0x113));const _0x3960=function(_0x29c323,_0x2ac8d3){_0x29c323=_0x29c323-0x0;let _0x396060=_0x2ac8[_0x29c323];return _0x396060;};import{Plugin as _0x59ec10}from'ckeditor5/src/core';import{findAttributeRange as _0x2d1f00}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2ca3d}from'./utils';import{getTranslation as _0x4c3f99}from'../utils/common-translations';export default class it extends _0x59ec10{[_0x3960('0x16')](){const _0x5ce961=this['editor'];if(!_0x5ce961[_0x3960('0x6')][_0x3960('0x13')](_0x3960('0xd')))return;const _0x50017e=_0x5ce961[_0x3960('0x6')][_0x3960('0xc')]('TrackChangesEditing');_0x50017e[_0x3960('0xa')](_0x3960('0x18'),(_0x4f3573,_0x5f26e6)=>{const _0x5d1186=_0x5ce961[_0x3960('0x17')][_0x3960('0x4')]['selection'];let _0x5edc77=[];if(_0x5d1186[_0x3960('0x12')]){if(!_0x5d1186[_0x3960('0x1')](_0x3960('0x10')))return void _0x4f3573(_0x5f26e6);{const _0x3f8680=_0x2d1f00(_0x5d1186[_0x3960('0x9')](),_0x3960('0x10'),_0x5d1186[_0x3960('0x5')]('linkHref'),_0x5ce961[_0x3960('0x17')]);_0x5edc77=[_0x3f8680];}}else _0x5edc77=Array[_0x3960('0x14')](_0x5d1186[_0x3960('0x15')]());_0x5ce961[_0x3960('0x17')]['change'](()=>{for(const _0x4f4489 of _0x5edc77)_0x50017e['markInlineFormat'](_0x4f4489,{'commandName':_0x3960('0x18'),'commandParams':[_0x5f26e6]});});}),_0x50017e[_0x3960('0xa')](_0x3960('0x19'),()=>{const _0x5d80da=this['editor']['model'],_0x2cd394=_0x5d80da[_0x3960('0x4')][_0x3960('0x2')];_0x5d80da[_0x3960('0xf')](()=>{let _0x56839a=[];if(_0x2cd394[_0x3960('0x12')])_0x56839a=[_0x2d1f00(_0x2cd394[_0x3960('0x9')](),_0x3960('0x10'),_0x2cd394[_0x3960('0x5')](_0x3960('0x10')),_0x5ce961[_0x3960('0x17')])];else _0x56839a=_0x2ca3d('linkHref',_0x2cd394[_0x3960('0x3')](),_0x5ce961['model']);for(const _0x2b6e45 of _0x56839a)_0x50017e['markInlineFormat'](_0x2b6e45,{'commandName':'unlink','commandParams':[]});});}),_0x50017e['_descriptionFactory'][_0x3960('0xb')](_0x26c563=>{const {data:_0x13cc90}=_0x26c563,_0x2d2c6b=_0x5ce961['locale'];if(_0x13cc90){if(_0x3960('0x18')==_0x13cc90[_0x3960('0x7')]){const _0x28b08c=_0x13cc90[_0x3960('0x8')][0x0];return{'type':'format','content':_0x4c3f99(_0x2d2c6b,_0x3960('0x11'),'\x22'+_0x28b08c+'\x22')};}return _0x3960('0x19')==_0x13cc90['commandName']?{'type':_0x3960('0x0'),'content':_0x4c3f99(_0x2d2c6b,_0x3960('0xe'))}:void 0x0;}});}}
23
+ const _0x3113=['afterInit','getFirstPosition','isCollapsed','getRanges','registerDescriptionCallback','model','enableCommand','*Remove\x20link*','TrackChangesEditing','format','*Set\x20link:*\x20%0','linkHref','editor','LinkEditing','unlink','getAttribute','markInlineFormat','from','hasAttribute','link','locale','getFirstRange','selection','commandName','change','plugins','document','_descriptionFactory'];(function(_0x2a4d2c,_0x3113fe){const _0x1a6041=function(_0x140f28){while(--_0x140f28){_0x2a4d2c['push'](_0x2a4d2c['shift']());}};_0x1a6041(++_0x3113fe);}(_0x3113,0x115));const _0x1a60=function(_0x2a4d2c,_0x3113fe){_0x2a4d2c=_0x2a4d2c-0x0;let _0x1a6041=_0x3113[_0x2a4d2c];return _0x1a6041;};import{Plugin as _0x596441}from'ckeditor5/src/core';import{findAttributeRange as _0x1196c7}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x52c627}from'./utils';import{getTranslation as _0x7a868}from'../utils/common-translations';export default class it extends _0x596441{[_0x1a60('0x3')](){const _0x209c55=this['editor'];if(!_0x209c55[_0x1a60('0x0')]['has'](_0x1a60('0x10')))return;const _0x3d30b4=_0x209c55[_0x1a60('0x0')]['get'](_0x1a60('0xb'));_0x3d30b4[_0x1a60('0x9')](_0x1a60('0x16'),(_0xdf2cc4,_0x55b2b7)=>{const _0x59bc20=_0x209c55[_0x1a60('0x8')][_0x1a60('0x1')][_0x1a60('0x19')];let _0x5e7b3b=[];if(_0x59bc20[_0x1a60('0x5')]){if(!_0x59bc20[_0x1a60('0x15')](_0x1a60('0xe')))return void _0xdf2cc4(_0x55b2b7);{const _0x244671=_0x1196c7(_0x59bc20[_0x1a60('0x4')](),_0x1a60('0xe'),_0x59bc20[_0x1a60('0x12')]('linkHref'),_0x209c55[_0x1a60('0x8')]);_0x5e7b3b=[_0x244671];}}else _0x5e7b3b=Array[_0x1a60('0x14')](_0x59bc20[_0x1a60('0x6')]());_0x209c55[_0x1a60('0x8')][_0x1a60('0x1b')](()=>{for(const _0x52782f of _0x5e7b3b)_0x3d30b4['markInlineFormat'](_0x52782f,{'commandName':_0x1a60('0x16'),'commandParams':[_0x55b2b7]});});}),_0x3d30b4['enableCommand'](_0x1a60('0x11'),()=>{const _0x120c20=this[_0x1a60('0xf')][_0x1a60('0x8')],_0x54ab4a=_0x120c20[_0x1a60('0x1')][_0x1a60('0x19')];_0x120c20[_0x1a60('0x1b')](()=>{let _0x51784e=[];if(_0x54ab4a[_0x1a60('0x5')])_0x51784e=[_0x1196c7(_0x54ab4a[_0x1a60('0x4')](),'linkHref',_0x54ab4a[_0x1a60('0x12')](_0x1a60('0xe')),_0x209c55[_0x1a60('0x8')])];else _0x51784e=_0x52c627(_0x1a60('0xe'),_0x54ab4a[_0x1a60('0x18')](),_0x209c55['model']);for(const _0x24781c of _0x51784e)_0x3d30b4[_0x1a60('0x13')](_0x24781c,{'commandName':_0x1a60('0x11'),'commandParams':[]});});}),_0x3d30b4[_0x1a60('0x2')][_0x1a60('0x7')](_0x1e902e=>{const {data:_0x41f015}=_0x1e902e,_0x5e1fdf=_0x209c55[_0x1a60('0x17')];if(_0x41f015){if(_0x1a60('0x16')==_0x41f015[_0x1a60('0x1a')]){const _0x3b5345=_0x41f015['commandParams'][0x0];return{'type':_0x1a60('0xc'),'content':_0x7a868(_0x5e1fdf,_0x1a60('0xd'),'\x22'+_0x3b5345+'\x22')};}return _0x1a60('0x11')==_0x41f015[_0x1a60('0x1a')]?{'type':_0x1a60('0xc'),'content':_0x7a868(_0x5e1fdf,_0x1a60('0xa'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x509f=['TodoListEditing','todoListChecked','isObject','slice','filter','listType','todo','*Outdent:*\x20%0','from','listItem','length','commandName','nextSibling','execute','plugins','List','*Change\x20to:*\x20%0','numberedList','markBlockFormat','listIndent','ListEditing','end','add','TrackChangesEditing','createPositionAt','model','element','ELEMENT_LIST_ITEM','getSelectedBlocks','before','change','indentList','registerElementLabel','commandParams','_descriptionFactory','enableCommand','ELEMENT_TODO_LIST','ELEMENT_BULLETED_LIST','format','todoList','registerDescriptionCallback','selection','push','parent','document','getAttribute','value','locale','replace','*Uncheck\x20item*','commands','has','get','*Check\x20item*','forceValue','schema','outdentList','editor','blockName','checkTodoList','previousSibling','bulletedList','checkChild','name','afterInit','ELEMENT_NUMBERED_LIST'];(function(_0x47ee56,_0x509f86){const _0x19d940=function(_0x3b302){while(--_0x3b302){_0x47ee56['push'](_0x47ee56['shift']());}};_0x19d940(++_0x509f86);}(_0x509f,0x192));const _0x19d9=function(_0x47ee56,_0x509f86){_0x47ee56=_0x47ee56-0x0;let _0x19d940=_0x509f[_0x47ee56];return _0x19d940;};import{Plugin as _0x1c2dcf}from'ckeditor5/src/core';import{getTranslation as _0x2ac641}from'../utils/common-translations';export default class st extends _0x1c2dcf{[_0x19d9('0x3a')](){const _0x248459=this[_0x19d9('0x33')],_0xc8fed7=_0x248459[_0x19d9('0x29')];if(!_0x248459[_0x19d9('0x8')][_0x19d9('0x2d')](_0x19d9('0xe')))return;const _0x4c36e0=_0x248459[_0x19d9('0x8')][_0x19d9('0x2e')](_0x19d9('0x11')),_0x1a6e3b=_0x248459['plugins'][_0x19d9('0x2d')](_0x19d9('0x3c'));function _0x2950e8(_0x336d9e){return()=>{const _0x501508=_0x248459['model'][_0x19d9('0x26')][_0x19d9('0x23')],_0x536d51=_0x248459[_0x19d9('0x2c')][_0x19d9('0x2e')](_0x336d9e);if(_0x536d51['value'])return void _0x248459[_0x19d9('0x7')]('paragraph',{});const _0x649074=_0x336d9e[_0x19d9('0x3f')](0x0,-0x4),_0x2c8bcf=function(_0x1bea52,_0x26cd56,_0x1b3cf6){let _0x429634=Array[_0x19d9('0x2')](_0x1bea52)['filter'](_0x5c9b89=>function(_0x16c210,_0x41f8c3){return _0x41f8c3[_0x19d9('0x38')](_0x16c210[_0x19d9('0x25')],'listItem')&&!_0x41f8c3[_0x19d9('0x3e')](_0x16c210);}(_0x5c9b89,_0x1b3cf6));_0x429634=_0x429634['filter'](_0x2d5a79=>!_0x2d5a79['is'](_0x19d9('0x14'),'listItem')||_0x2d5a79[_0x19d9('0x27')](_0x19d9('0x41'))!=_0x26cd56);const _0xc31b0d=new Set();for(const _0x3a99a4 of _0x429634)_0x3a99a4['is'](_0x19d9('0x14'),_0x19d9('0x3'))?_0xc31b0d[_0x19d9('0x10')](ne(_0x3a99a4)):_0xc31b0d[_0x19d9('0x10')](_0x3a99a4);return Array[_0x19d9('0x2')](_0xc31b0d);}(_0x501508[_0x19d9('0x16')](),_0x649074,_0x248459[_0x19d9('0x13')][_0x19d9('0x31')]);_0x248459[_0x19d9('0x13')][_0x19d9('0x18')](()=>{for(const _0x42a46d of _0x2c8bcf)_0x4c36e0['markBlockFormat'](_0x42a46d,{'commandName':_0x336d9e,'commandParams':[{'forceValue':!_0x536d51[_0x19d9('0x28')]}],'formatGroupId':_0x19d9('0x34')},oe(_0x42a46d));});};}function _0x26eec8(_0x16ae24){return()=>{const _0x2e9dcc=function(_0x37e60f){let _0x22da65=Array[_0x19d9('0x2')](_0x37e60f);const _0x4df7df=_0x22da65['findIndex'](_0x53dd8a=>_0x19d9('0x3')!=_0x53dd8a[_0x19d9('0x39')]);return _0x4df7df>-0x1&&(_0x22da65=_0x22da65[_0x19d9('0x3f')](0x0,_0x4df7df)),_0x22da65;}(_0x248459[_0x19d9('0x13')][_0x19d9('0x26')][_0x19d9('0x23')][_0x19d9('0x16')]()),_0x37bf3a=_0x248459[_0x19d9('0x13')]['createRange'](_0x248459[_0x19d9('0x13')][_0x19d9('0x12')](_0x2e9dcc[0x0],_0x19d9('0x17')),_0x248459[_0x19d9('0x13')][_0x19d9('0x12')](_0x2e9dcc[_0x2e9dcc[_0x19d9('0x4')]-0x1],_0x19d9('0xf')));_0x248459['model'][_0x19d9('0x18')](()=>{_0x4c36e0[_0x19d9('0xc')](_0x37bf3a,{'commandName':_0x16ae24,'commandParams':[],'formatGroupId':_0x19d9('0xd')},function(_0x2bd25d){const _0x6eb6ff=new Set();for(const _0x5051d1 of _0x2bd25d){let _0x6beb57=_0x5051d1[_0x19d9('0x6')];for(;_0x6beb57&&_0x6beb57['getAttribute'](_0x19d9('0xd'))>_0x5051d1[_0x19d9('0x27')]('listIndent');)_0x6eb6ff[_0x19d9('0x10')](_0x6beb57),_0x6beb57=_0x6beb57[_0x19d9('0x6')];}return Array['from'](_0x6eb6ff);}(_0x2e9dcc));});};}_0x4c36e0['enableCommand'](_0x19d9('0xb'),_0x2950e8('numberedList')),_0x4c36e0[_0x19d9('0x1d')]('bulletedList',_0x2950e8(_0x19d9('0x37'))),_0x1a6e3b&&_0x4c36e0[_0x19d9('0x1d')]('todoList',_0x2950e8(_0x19d9('0x21'))),_0x4c36e0[_0x19d9('0x1d')](_0x19d9('0x19'),_0x26eec8('indentList')),_0x4c36e0[_0x19d9('0x1d')](_0x19d9('0x32'),_0x26eec8(_0x19d9('0x32'))),_0x1a6e3b&&_0x4c36e0[_0x19d9('0x1d')]('checkTodoList',()=>{const _0x20a3c7=_0x248459[_0x19d9('0x2c')][_0x19d9('0x2e')](_0x19d9('0x35')),_0x3dec6b=Array[_0x19d9('0x2')](_0x20a3c7['_selectedElements']);_0x3dec6b[_0x19d9('0x40')](_0x299d14=>_0x299d14[_0x19d9('0x27')](_0x19d9('0x3d'))!=_0x20a3c7[_0x19d9('0x28')]),_0x248459[_0x19d9('0x13')][_0x19d9('0x18')](()=>{for(const _0x1e8415 of _0x3dec6b)_0x4c36e0[_0x19d9('0xc')](_0x1e8415,{'commandName':_0x19d9('0x35'),'commandParams':[{'forceValue':!_0x20a3c7[_0x19d9('0x28')]}]});});}),_0x4c36e0[_0x19d9('0x1c')][_0x19d9('0x1a')]('listItem',_0x541df2=>_0x2ac641(_0xc8fed7,_0x19d9('0x15'),_0x541df2)),_0x4c36e0[_0x19d9('0x1c')][_0x19d9('0x22')](_0xb46207=>{const {data:_0x206b33}=_0xb46207;if(_0x206b33){if('numberedList'==_0x206b33[_0x19d9('0x5')]||_0x19d9('0x37')==_0x206b33['commandName']||_0x19d9('0x21')==_0x206b33[_0x19d9('0x5')])switch(_0x206b33[_0x19d9('0x5')][_0x19d9('0x2a')](_0x19d9('0x9'),'')){case'bulleted':return _0x17864d(_0x2ac641(_0xc8fed7,_0x19d9('0x1f')));case'numbered':return _0x17864d(_0x2ac641(_0xc8fed7,_0x19d9('0x3b')));case _0x19d9('0x0'):return _0x17864d(_0x2ac641(_0xc8fed7,_0x19d9('0x1e')));}if('indentList'==_0x206b33['commandName'])return{'type':'format','content':_0x2ac641(_0xc8fed7,'*Indent:*\x20%0',_0x2ac641(_0xc8fed7,_0x19d9('0x15')))};if('outdentList'==_0x206b33[_0x19d9('0x5')])return{'type':_0x19d9('0x20'),'content':_0x2ac641(_0xc8fed7,_0x19d9('0x1'),_0x2ac641(_0xc8fed7,'ELEMENT_LIST_ITEM'))};if(_0x19d9('0x35')==_0x206b33[_0x19d9('0x5')])return _0x206b33[_0x19d9('0x1b')][0x0][_0x19d9('0x30')]?{'type':_0x19d9('0x20'),'content':_0x2ac641(_0xc8fed7,_0x19d9('0x2f'))}:{'type':_0x19d9('0x20'),'content':_0x2ac641(_0xc8fed7,_0x19d9('0x2b'))};}function _0x17864d(_0x38c404){return{'type':_0x19d9('0x20'),'content':_0x2ac641(_0xc8fed7,_0x19d9('0xa'),_0x38c404)};}});}}function ne(_0xc17bb0){const _0x5a05cc=_0xc17bb0[_0x19d9('0x27')](_0x19d9('0xd'));if(0x0==_0x5a05cc)return _0xc17bb0;let _0x43a0d1=_0xc17bb0;for(;_0xc17bb0['previousSibling']&&_0xc17bb0[_0x19d9('0x36')]['is'](_0x19d9('0x14'),'listItem');){const _0x43b3ee=_0xc17bb0[_0x19d9('0x36')][_0x19d9('0x27')](_0x19d9('0xd'));if(_0x43b3ee==_0x5a05cc)_0x43a0d1=_0xc17bb0[_0x19d9('0x36')];else{if(_0x43b3ee<_0x5a05cc)break;}_0xc17bb0=_0xc17bb0[_0x19d9('0x36')];}return _0x43a0d1;}function oe(_0x234e5c){const _0x3110fb=[];if(_0x234e5c['is'](_0x19d9('0x14'),_0x19d9('0x3'))&&_0x234e5c[_0x19d9('0x27')]('listIndent')>0x0){let _0x51d563=_0x234e5c[_0x19d9('0x6')];for(;_0x51d563&&_0x19d9('0x3')==_0x51d563[_0x19d9('0x39')]&&_0x51d563[_0x19d9('0x27')](_0x19d9('0xd'))==_0x234e5c[_0x19d9('0x27')](_0x19d9('0xd'));)_0x3110fb[_0x19d9('0x24')](_0x51d563),_0x51d563=_0x51d563[_0x19d9('0x6')];}return _0x3110fb;}
23
+ const _0x537b=['editor','checkChild','ELEMENT_LIST_ITEM','listType','checkTodoList','value','model','from','push','*Uncheck\x20item*','execute','createRange','numbered','getSelectedBlocks','*Change\x20to:*\x20%0','ELEMENT_TODO_LIST','ListEditing','has','todo','format','listItem','element','bulleted','indentList','*Check\x20item*','numberedList','todoList','bulletedList','blockName','commands','List','name','slice','getAttribute','todoListChecked','TrackChangesEditing','*Indent:*\x20%0','add','plugins','listIndent','nextSibling','_descriptionFactory','enableCommand','get','commandName','ELEMENT_NUMBERED_LIST','previousSibling','filter','parent','outdentList','createPositionAt','registerDescriptionCallback','paragraph','commandParams','forceValue','document','afterInit','_selectedElements','isObject','length','before','replace','change','schema','TodoListEditing'];(function(_0x4a84bf,_0x537b5d){const _0x3d60d4=function(_0x372adc){while(--_0x372adc){_0x4a84bf['push'](_0x4a84bf['shift']());}};_0x3d60d4(++_0x537b5d);}(_0x537b,0x19d));const _0x3d60=function(_0x4a84bf,_0x537b5d){_0x4a84bf=_0x4a84bf-0x0;let _0x3d60d4=_0x537b[_0x4a84bf];return _0x3d60d4;};import{Plugin as _0x5e31e1}from'ckeditor5/src/core';import{getTranslation as _0x45b230}from'../utils/common-translations';export default class st extends _0x5e31e1{[_0x3d60('0x21')](){const _0x48ec27=this[_0x3d60('0x2a')],_0x12019c=_0x48ec27['locale'];if(!_0x48ec27[_0x3d60('0xf')][_0x3d60('0x3b')](_0x3d60('0x3a')))return;const _0x5eebe3=_0x48ec27[_0x3d60('0xf')][_0x3d60('0x14')](_0x3d60('0xc')),_0x11d25c=_0x48ec27[_0x3d60('0xf')][_0x3d60('0x3b')](_0x3d60('0x29'));function _0xbe1251(_0x2959f4){return()=>{const _0x2087ca=_0x48ec27['model']['document']['selection'],_0x99a02c=_0x48ec27[_0x3d60('0x6')][_0x3d60('0x14')](_0x2959f4);if(_0x99a02c[_0x3d60('0x2f')])return void _0x48ec27[_0x3d60('0x34')](_0x3d60('0x1d'),{});const _0x4c6a58=_0x2959f4['slice'](0x0,-0x4),_0xcbdb8a=function(_0x1c6ac2,_0x141f50,_0x556d31){let _0x4175b9=Array['from'](_0x1c6ac2)[_0x3d60('0x18')](_0x4f9ace=>function(_0x59f449,_0x1cd1d1){return _0x1cd1d1[_0x3d60('0x2b')](_0x59f449[_0x3d60('0x19')],_0x3d60('0x3e'))&&!_0x1cd1d1[_0x3d60('0x23')](_0x59f449);}(_0x4f9ace,_0x556d31));_0x4175b9=_0x4175b9[_0x3d60('0x18')](_0x3b7340=>!_0x3b7340['is'](_0x3d60('0x3f'),'listItem')||_0x3b7340[_0x3d60('0xa')](_0x3d60('0x2d'))!=_0x141f50);const _0x138698=new Set();for(const _0x3dc310 of _0x4175b9)_0x3dc310['is'](_0x3d60('0x3f'),'listItem')?_0x138698['add'](ne(_0x3dc310)):_0x138698[_0x3d60('0xe')](_0x3dc310);return Array[_0x3d60('0x31')](_0x138698);}(_0x2087ca[_0x3d60('0x37')](),_0x4c6a58,_0x48ec27[_0x3d60('0x30')][_0x3d60('0x28')]);_0x48ec27[_0x3d60('0x30')][_0x3d60('0x27')](()=>{for(const _0x61da77 of _0xcbdb8a)_0x5eebe3['markBlockFormat'](_0x61da77,{'commandName':_0x2959f4,'commandParams':[{'forceValue':!_0x99a02c[_0x3d60('0x2f')]}],'formatGroupId':_0x3d60('0x5')},oe(_0x61da77));});};}function _0x3fa97e(_0x2136f1){return()=>{const _0x30b977=function(_0x199add){let _0x26f642=Array[_0x3d60('0x31')](_0x199add);const _0x394025=_0x26f642['findIndex'](_0x33e549=>_0x3d60('0x3e')!=_0x33e549[_0x3d60('0x8')]);return _0x394025>-0x1&&(_0x26f642=_0x26f642[_0x3d60('0x9')](0x0,_0x394025)),_0x26f642;}(_0x48ec27['model'][_0x3d60('0x20')]['selection'][_0x3d60('0x37')]()),_0x5cfbec=_0x48ec27[_0x3d60('0x30')][_0x3d60('0x35')](_0x48ec27['model']['createPositionAt'](_0x30b977[0x0],_0x3d60('0x25')),_0x48ec27[_0x3d60('0x30')][_0x3d60('0x1b')](_0x30b977[_0x30b977[_0x3d60('0x24')]-0x1],'end'));_0x48ec27[_0x3d60('0x30')][_0x3d60('0x27')](()=>{_0x5eebe3['markBlockFormat'](_0x5cfbec,{'commandName':_0x2136f1,'commandParams':[],'formatGroupId':'listIndent'},function(_0x4b5e57){const _0x4dd123=new Set();for(const _0x56128e of _0x4b5e57){let _0x512a7e=_0x56128e['nextSibling'];for(;_0x512a7e&&_0x512a7e['getAttribute'](_0x3d60('0x10'))>_0x56128e[_0x3d60('0xa')](_0x3d60('0x10'));)_0x4dd123['add'](_0x512a7e),_0x512a7e=_0x512a7e[_0x3d60('0x11')];}return Array[_0x3d60('0x31')](_0x4dd123);}(_0x30b977));});};}_0x5eebe3[_0x3d60('0x13')](_0x3d60('0x2'),_0xbe1251(_0x3d60('0x2'))),_0x5eebe3[_0x3d60('0x13')](_0x3d60('0x4'),_0xbe1251('bulletedList')),_0x11d25c&&_0x5eebe3[_0x3d60('0x13')]('todoList',_0xbe1251(_0x3d60('0x3'))),_0x5eebe3[_0x3d60('0x13')](_0x3d60('0x0'),_0x3fa97e(_0x3d60('0x0'))),_0x5eebe3[_0x3d60('0x13')](_0x3d60('0x1a'),_0x3fa97e(_0x3d60('0x1a'))),_0x11d25c&&_0x5eebe3['enableCommand']('checkTodoList',()=>{const _0x4a6869=_0x48ec27[_0x3d60('0x6')][_0x3d60('0x14')](_0x3d60('0x2e')),_0x4679a8=Array['from'](_0x4a6869[_0x3d60('0x22')]);_0x4679a8['filter'](_0x21177a=>_0x21177a['getAttribute'](_0x3d60('0xb'))!=_0x4a6869[_0x3d60('0x2f')]),_0x48ec27[_0x3d60('0x30')][_0x3d60('0x27')](()=>{for(const _0x18246a of _0x4679a8)_0x5eebe3['markBlockFormat'](_0x18246a,{'commandName':_0x3d60('0x2e'),'commandParams':[{'forceValue':!_0x4a6869[_0x3d60('0x2f')]}]});});}),_0x5eebe3[_0x3d60('0x12')]['registerElementLabel'](_0x3d60('0x3e'),_0x37341c=>_0x45b230(_0x12019c,_0x3d60('0x2c'),_0x37341c)),_0x5eebe3[_0x3d60('0x12')][_0x3d60('0x1c')](_0x55a975=>{const {data:_0x4f5d24}=_0x55a975;if(_0x4f5d24){if('numberedList'==_0x4f5d24[_0x3d60('0x15')]||_0x3d60('0x4')==_0x4f5d24[_0x3d60('0x15')]||_0x3d60('0x3')==_0x4f5d24[_0x3d60('0x15')])switch(_0x4f5d24[_0x3d60('0x15')][_0x3d60('0x26')](_0x3d60('0x7'),'')){case _0x3d60('0x40'):return _0x4a3f24(_0x45b230(_0x12019c,'ELEMENT_BULLETED_LIST'));case _0x3d60('0x36'):return _0x4a3f24(_0x45b230(_0x12019c,_0x3d60('0x16')));case _0x3d60('0x3c'):return _0x4a3f24(_0x45b230(_0x12019c,_0x3d60('0x39')));}if(_0x3d60('0x0')==_0x4f5d24[_0x3d60('0x15')])return{'type':_0x3d60('0x3d'),'content':_0x45b230(_0x12019c,_0x3d60('0xd'),_0x45b230(_0x12019c,_0x3d60('0x2c')))};if(_0x3d60('0x1a')==_0x4f5d24['commandName'])return{'type':_0x3d60('0x3d'),'content':_0x45b230(_0x12019c,'*Outdent:*\x20%0',_0x45b230(_0x12019c,_0x3d60('0x2c')))};if(_0x3d60('0x2e')==_0x4f5d24['commandName'])return _0x4f5d24[_0x3d60('0x1e')][0x0][_0x3d60('0x1f')]?{'type':_0x3d60('0x3d'),'content':_0x45b230(_0x12019c,_0x3d60('0x1'))}:{'type':_0x3d60('0x3d'),'content':_0x45b230(_0x12019c,_0x3d60('0x33'))};}function _0x4a3f24(_0x3bd46e){return{'type':_0x3d60('0x3d'),'content':_0x45b230(_0x12019c,_0x3d60('0x38'),_0x3bd46e)};}});}}function ne(_0x444832){const _0x46bbf4=_0x444832[_0x3d60('0xa')]('listIndent');if(0x0==_0x46bbf4)return _0x444832;let _0x323b51=_0x444832;for(;_0x444832['previousSibling']&&_0x444832[_0x3d60('0x17')]['is'](_0x3d60('0x3f'),'listItem');){const _0x39b65f=_0x444832[_0x3d60('0x17')][_0x3d60('0xa')](_0x3d60('0x10'));if(_0x39b65f==_0x46bbf4)_0x323b51=_0x444832['previousSibling'];else{if(_0x39b65f<_0x46bbf4)break;}_0x444832=_0x444832[_0x3d60('0x17')];}return _0x323b51;}function oe(_0x49ad8a){const _0x2fde4c=[];if(_0x49ad8a['is'](_0x3d60('0x3f'),_0x3d60('0x3e'))&&_0x49ad8a[_0x3d60('0xa')]('listIndent')>0x0){let _0x4d2cff=_0x49ad8a[_0x3d60('0x11')];for(;_0x4d2cff&&_0x3d60('0x3e')==_0x4d2cff['name']&&_0x4d2cff[_0x3d60('0xa')]('listIndent')==_0x49ad8a[_0x3d60('0xa')](_0x3d60('0x10'));)_0x2fde4c[_0x3d60('0x32')](_0x4d2cff),_0x4d2cff=_0x4d2cff[_0x3d60('0x11')];}return _0x2fde4c;}