@ckeditor/ckeditor5-track-changes 37.0.0-rc.0 → 37.0.1

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 +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/documentlistproperties.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/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 _0x82e3=['from','*Reset\x20font\x20color*','FontSizeEditing','*Reset\x20font\x20family*','fontSize.options','isCollapsed','*Reset\x20font\x20size*','has','toLowerCase','*Set\x20font\x20family:*\x20%0','locale','model','fontBackgroundColor','selection','_enableCommand','find','fontColor','*Reset\x20font\x20background\x20color*','format','TrackChangesEditing','editor','FontColorEditing','config','change','document','fontSize','normalizeSizeOptions','afterInit','markInlineFormat','commandName','FontFamilyEditing','registerDescriptionCallback','plugins','get','commandParams','title','value','trim','label','FontBackgroundColorEditing'];(function(_0x4c8598,_0x82e349){const _0x285eff=function(_0x4a5253){while(--_0x4a5253){_0x4c8598['push'](_0x4c8598['shift']());}};_0x285eff(++_0x82e349);}(_0x82e3,0x1a5));const _0x285e=function(_0x4c8598,_0x82e349){_0x4c8598=_0x4c8598-0x0;let _0x285eff=_0x82e3[_0x4c8598];return _0x285eff;};import{Plugin as _0x350928}from'ckeditor5/src/core';import{normalizeColorOptions as _0x23cf03}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x133022}from'./utils';import{getTranslation as _0x333cfd}from'../utils/common-translations';const Jt=[{'pluginName':_0x285e('0x15'),'commandName':'fontSize'},{'pluginName':_0x285e('0x9'),'commandName':'fontFamily'},{'pluginName':_0x285e('0x0'),'commandName':'fontColor'},{'pluginName':_0x285e('0x12'),'commandName':_0x285e('0x1f')}];export default class H extends _0x350928{[_0x285e('0x6')](){const _0x214d3f=this['editor'][_0x285e('0x1d')];for(const {pluginName:_0x3f8e94,commandName:_0x3e408e}of Jt)this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0x1a')](_0x3f8e94)&&this['_enableCommand'](_0x3e408e);this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0xc')]('TrackChangesEditing')['_descriptionFactory'][_0x285e('0xa')](_0x2390e7=>{const _0x5028ab=_0x214d3f['t'],{data:_0x5bc575}=_0x2390e7;if(null!=_0x5bc575){if(_0x285e('0x4')==_0x5bc575[_0x285e('0x8')]){const _0x4726f4=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];if(_0x4726f4){const _0x576e90=_0x5028ab(this[_0x285e('0x27')][_0x285e('0xb')][_0x285e('0xc')]('FontSize')[_0x285e('0x5')](this['editor'][_0x285e('0x1')]['get'](_0x285e('0x17')))[_0x285e('0x22')](_0x50d53e=>_0x50d53e[_0x285e('0x1e')]==_0x4726f4)[_0x285e('0xe')])[_0x285e('0x1b')]();return{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20size:*\x20%0',_0x576e90)};}return{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x19'))};}if('fontFamily'==_0x5bc575[_0x285e('0x8')]){const _0x48edae=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];return _0x48edae?{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x1c'),_0x48edae)}:{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,_0x285e('0x16'))};}if(_0x285e('0x23')==_0x5bc575[_0x285e('0x8')]){const _0xf0ff85=_0x5bc575[_0x285e('0xd')][0x0]['value'];if(_0xf0ff85){const _0x53bae3=_0x23cf03(this[_0x285e('0x27')][_0x285e('0x1')][_0x285e('0xc')]('fontColor.colors'))['find'](_0x2afb90=>_0x2afb90[_0x285e('0x1e')]==_0xf0ff85);let _0x383379=_0xf0ff85,_0x444b82='';return _0x53bae3&&(_0x383379=_0x53bae3['label'],_0x444b82=_0x5028ab(_0x383379)[_0x285e('0x1b')]()),{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20color:*\x20%0',_0x444b82)['trim'](),'color':{'value':_0xf0ff85,'title':_0x444b82||_0x383379}};}return{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,_0x285e('0x14'))};}if(_0x285e('0x1f')==_0x5bc575[_0x285e('0x8')]){const _0x4f26a0=_0x5bc575[_0x285e('0xd')][0x0][_0x285e('0xf')];if(_0x4f26a0){const _0x13ad34=_0x23cf03(this['editor'][_0x285e('0x1')][_0x285e('0xc')]('fontBackgroundColor.colors'))[_0x285e('0x22')](_0x5ea44a=>_0x5ea44a[_0x285e('0x1e')]==_0x4f26a0);let _0x15b12c=_0x4f26a0,_0x4a5766='';return _0x13ad34&&(_0x15b12c=_0x13ad34[_0x285e('0x11')],_0x4a5766=_0x5028ab(_0x15b12c)[_0x285e('0x1b')]()),{'type':_0x285e('0x25'),'content':_0x333cfd(_0x214d3f,'*Set\x20font\x20background\x20color:*\x20%0',_0x4a5766)[_0x285e('0x10')](),'color':{'value':_0x4f26a0,'title':_0x4a5766||_0x15b12c}};}return{'type':'format','content':_0x333cfd(_0x214d3f,_0x285e('0x24'))};}}});}[_0x285e('0x21')](_0x35dc8f){const _0xe23dd0=this[_0x285e('0x27')];_0xe23dd0[_0x285e('0xb')][_0x285e('0xc')](_0x285e('0x26'))['enableCommand'](_0x35dc8f,(_0x4976eb,_0x5e87b7={})=>{const _0x464e22=_0xe23dd0[_0x285e('0x1e')][_0x285e('0x3')][_0x285e('0x20')],_0x3b782d=_0x5e87b7[_0x285e('0xf')];_0x464e22[_0x285e('0x18')]?_0x4976eb(_0x5e87b7):_0xe23dd0[_0x285e('0x1e')][_0x285e('0x2')](()=>{const _0x464e76=Array[_0x285e('0x13')](_0x464e22['getRanges']());for(const _0xfd8741 of _0x464e76){const _0x4bfe8f=_0x3b782d?[_0xfd8741]:_0x133022(_0x35dc8f,_0xfd8741,_0xe23dd0[_0x285e('0x1e')]);for(const _0x52178c of _0x4bfe8f)_0xe23dd0[_0x285e('0xb')][_0x285e('0xc')](_0x285e('0x26'))[_0x285e('0x7')](_0x52178c,{'commandName':_0x35dc8f,'commandParams':[{'value':_0x3b782d}]});}});});}}
@@ -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 _0x4f74=['get','has','isObject','plugins','_descriptionFactory','value','selection','parent','model','match','registerDescriptionCallback','commandParams','name','checkChild','format','document','enableCommand','formatBlock','heading.options','commandName','change','editor','HeadingEditing','markBlockFormat','paragraph','heading','config','ELEMENT_HEADING','TrackChangesEditing','getSelectedBlocks','*Change\x20to:*\x20%0','locale'];(function(_0x1f2fad,_0x4f745e){const _0x308b3d=function(_0x48df0b){while(--_0x48df0b){_0x1f2fad['push'](_0x1f2fad['shift']());}};_0x308b3d(++_0x4f745e);}(_0x4f74,0xe7));const _0x308b=function(_0x1f2fad,_0x4f745e){_0x1f2fad=_0x1f2fad-0x0;let _0x308b3d=_0x4f74[_0x1f2fad];return _0x308b3d;};import{Plugin as _0x512bea}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xd47ca5}from'./utils';import{getTranslation as _0xa2258f}from'../utils/common-translations';export default class W extends _0x512bea{['afterInit'](){const _0x249ac2=this[_0x308b('0xe')],_0x56b2ca=_0x249ac2[_0x308b('0x18')],_0x4ddfc5=_0x249ac2[_0x308b('0x13')]['get'](_0x308b('0xb'));if(!_0x249ac2[_0x308b('0x1c')][_0x308b('0x1a')](_0x308b('0xf')))return;const _0x54c0de=_0x249ac2[_0x308b('0x1c')][_0x308b('0x19')](_0x308b('0x15'));_0x54c0de[_0x308b('0x9')]('heading',(_0x1e9ab,_0x1e0474)=>{const _0x350557=_0x1e0474[_0x308b('0x1e')],_0x390bfc=Array['from'](this[_0x308b('0xe')]['model'][_0x308b('0x8')][_0x308b('0x1f')][_0x308b('0x16')]())['filter'](_0x32fd3d=>function(_0x5d4faf,_0x48d5ec,_0x19dbdc){return _0x19dbdc[_0x308b('0x6')](_0x5d4faf[_0x308b('0x0')],_0x48d5ec)&&!_0x19dbdc[_0x308b('0x1b')](_0x5d4faf)&&_0x5d4faf[_0x308b('0x5')]!=_0x48d5ec;}(_0x32fd3d,_0x350557,this[_0x308b('0xe')]['model']['schema']));_0x249ac2['model'][_0x308b('0xd')](()=>{for(const _0xa7e98 of _0x390bfc)_0x54c0de[_0x308b('0x10')](_0xa7e98,{'commandName':'heading','commandParams':[_0x1e0474],'formatGroupId':'blockName'},_0xd47ca5(_0xa7e98));});});for(const _0x1233bf of _0x4ddfc5)_0x308b('0x11')!=_0x1233bf['model']&&_0x54c0de[_0x308b('0x1d')]['registerElementLabel'](_0x1233bf[_0x308b('0x1')],_0x4cc77b=>{const _0x21750f=Yt(_0x1233bf[_0x308b('0x1')]);return null!==_0x21750f?_0x2cbdba(_0x4cc77b,_0x21750f):_0x5d0d56(_0x4cc77b,_0x1233bf['title']);});function _0x2cbdba(_0x463b80,_0x6ff9fd){return _0xa2258f(_0x56b2ca,_0x308b('0x14'),[_0x463b80,_0x6ff9fd]);}function _0x5d0d56(_0x2bd18b,_0x39ed3e){return _0xa2258f(_0x56b2ca,'ELEMENT_HEADING_CUSTOM',[_0x2bd18b,_0x39ed3e]);}_0x54c0de[_0x308b('0x1d')][_0x308b('0x3')](_0x4b402c=>{const {type:_0x65d834,data:_0x2ffd8b}=_0x4b402c;if(_0x308b('0xa')==_0x65d834&&_0x2ffd8b&&_0x308b('0x12')==_0x2ffd8b[_0x308b('0xc')]){const _0x249387=_0x2ffd8b[_0x308b('0x4')][0x0][_0x308b('0x1e')],_0x52052a=Yt(_0x249387);if(null!==_0x52052a)return{'type':'format','content':_0xa2258f(_0x56b2ca,_0x308b('0x17'),_0x2cbdba(0x1,_0x52052a))};const _0x20deb2=_0x4ddfc5['find'](_0x1e8531=>_0x1e8531[_0x308b('0x1')]===_0x249387)['title'];return{'type':_0x308b('0x7'),'content':_0xa2258f(_0x56b2ca,_0x308b('0x17'),_0x5d0d56(0x1,_0x20deb2))};}});}}function Yt(_0xca7f31){const _0x388add=_0xca7f31[_0x308b('0x2')](/^heading(\d+)$/);return _0x388add?_0x388add[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 _0x1123=['plugins','get','getRanges','selection','title','getLastMatchingPosition','locale','_descriptionFactory','document','markInlineFormat','isCollapsed','backward','color','item','FORMAT_HIGHLIGHT','push','createRange','HighlightEditing','afterInit','commandName','TrackChangesEditing','format','formatInline','*Remove\x20highlight*','commandParams','registerDescriptionCallback','highlight','enableCommand','editor','getAttribute','model','value','toLowerCase','highlight.options'];(function(_0x7ce59f,_0x1123cc){const _0x1a1132=function(_0x59618b){while(--_0x59618b){_0x7ce59f['push'](_0x7ce59f['shift']());}};_0x1a1132(++_0x1123cc);}(_0x1123,0x84));const _0x1a11=function(_0x7ce59f,_0x1123cc){_0x7ce59f=_0x7ce59f-0x0;let _0x1a1132=_0x1123[_0x7ce59f];return _0x1a1132;};import{Plugin as _0x2d4567}from'ckeditor5/src/core';import{getTranslation as _0x512391}from'../utils/common-translations';import{getRangesWithAttribute as _0x536af7}from'./utils';export default class J extends _0x2d4567{[_0x1a11('0x16')](){const _0x13aff9=this[_0x1a11('0x20')];if(!_0x13aff9[_0x1a11('0x4')]['has'](_0x1a11('0x15')))return;const _0xcb6304=_0x13aff9['plugins']['get'](_0x1a11('0x18'));_0xcb6304[_0x1a11('0x1f')](_0x1a11('0x1e'),(_0x1a1fbe,_0x5e025c={})=>{const _0x4750a9=_0x13aff9[_0x1a11('0x0')][_0x1a11('0xc')][_0x1a11('0x7')],_0x24da18=_0x4750a9[_0x1a11('0x21')]('highlight');let _0x5a2fd1=_0x5e025c[_0x1a11('0x1')],_0x24281e=[];if(_0x4750a9[_0x1a11('0xe')]){const _0x2cff77=_0x4750a9['getFirstPosition']();if(!_0x4750a9['hasAttribute'](_0x1a11('0x1e')))return void _0x1a1fbe(_0x5e025c);{const _0x117abb=_0x35f5f1=>_0x35f5f1[_0x1a11('0x11')][_0x1a11('0x21')](_0x1a11('0x1e'))===_0x24da18,_0x5e6f7b=_0x2cff77[_0x1a11('0x9')](_0x117abb,{'direction':_0x1a11('0xf')}),_0x383084=_0x2cff77[_0x1a11('0x9')](_0x117abb);_0x24281e=[_0x13aff9[_0x1a11('0x0')][_0x1a11('0x14')](_0x5e6f7b,_0x383084)],_0x5a2fd1==_0x24da18&&(_0x5a2fd1=null);}}else for(const _0xb2855a of _0x4750a9[_0x1a11('0x6')]())_0x5a2fd1?_0x24281e[_0x1a11('0x13')](_0xb2855a):_0x24281e[_0x1a11('0x13')](..._0x536af7('highlight',_0xb2855a,_0x13aff9[_0x1a11('0x0')]));_0x13aff9[_0x1a11('0x0')]['change'](()=>{for(const _0x21064a of _0x24281e)_0xcb6304[_0x1a11('0xd')](_0x21064a,{'commandName':_0x1a11('0x1e'),'commandParams':[{'value':_0x5a2fd1}]});});});const _0x291610=_0x13aff9[_0x1a11('0xa')];_0xcb6304[_0x1a11('0xb')][_0x1a11('0x1d')](_0x473f93=>{const {type:_0x26f023,data:_0x142f59}=_0x473f93;if(_0x1a11('0x1a')==_0x26f023&&_0x142f59&&'highlight'==_0x142f59[_0x1a11('0x17')]){const _0x307d57=_0x291610['t'],_0x3dbf82=_0x142f59[_0x1a11('0x1c')][0x0]['value'];if(_0x3dbf82){const _0x16953d=_0x13aff9['config'][_0x1a11('0x5')](_0x1a11('0x3'))['find'](_0x459674=>_0x459674['model']==_0x3dbf82),_0xa1239e=_0x307d57(_0x16953d[_0x1a11('0x8')])[_0x1a11('0x2')]();return{'type':_0x1a11('0x19'),'content':_0x512391(_0x291610,'*Set\x20highlight:*\x20%0',_0xa1239e),'color':{'value':_0x16953d[_0x1a11('0x10')],'title':_0x16953d[_0x1a11('0x8')]}};}return{'type':_0x1a11('0x19'),'content':_0x512391(_0x291610,_0x1a11('0x1b'),_0x512391(_0x291610,_0x1a11('0x12')))};}});}}
@@ -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 _0x3279=['createPositionAt','div','for','registerElementLabel','locale','showSuggestionHighlights','addClass','ck-horizontal-line','insert','_descriptionFactory','get','HorizontalLineEditing','conversion','afterInit','horizontalLine','elementToStructure','TrackChangesEditing','createEmptyElement','plugins'];(function(_0x442ff5,_0x327988){const _0x5c7c4f=function(_0x518de1){while(--_0x518de1){_0x442ff5['push'](_0x442ff5['shift']());}};_0x5c7c4f(++_0x327988);}(_0x3279,0x182));const _0x5c7c=function(_0x442ff5,_0x327988){_0x442ff5=_0x442ff5-0x0;let _0x5c7c4f=_0x3279[_0x442ff5];return _0x5c7c4f;};import{Plugin as _0x5179d2}from'ckeditor5/src/core';import{getTranslation as _0x49e595}from'../utils/common-translations';export default class K extends _0x5179d2{[_0x5c7c('0x7')](){const _0x2408c3=this['editor'];if(!_0x2408c3['plugins']['has'](_0x5c7c('0x5')))return;_0x2408c3[_0x5c7c('0xc')][_0x5c7c('0x4')](_0x5c7c('0xa'))['enableCommand'](_0x5c7c('0x8'));const _0x2a1be6=_0x2408c3[_0x5c7c('0xc')][_0x5c7c('0x4')](_0x5c7c('0xa')),_0x85a836=_0x2408c3[_0x5c7c('0x11')];_0x2a1be6[_0x5c7c('0x3')][_0x5c7c('0x10')]('horizontalLine',_0x1aac6b=>_0x49e595(_0x85a836,'ELEMENT_HORIZONTAL_LINE',_0x1aac6b)),_0x2408c3[_0x5c7c('0x6')][_0x5c7c('0xf')]('dataDowncast')[_0x5c7c('0x9')]({'model':_0x5c7c('0x8'),'view':(_0x338192,{writer:_0x1ff232,options:_0x19a5c3})=>{if(!_0x19a5c3[_0x5c7c('0x12')])return null;const _0x311998=_0x1ff232['createContainerElement'](_0x5c7c('0xe')),_0x5e4e68=_0x1ff232[_0x5c7c('0xb')]('hr');return _0x1ff232[_0x5c7c('0x0')](_0x5c7c('0x1'),_0x311998),_0x1ff232[_0x5c7c('0x2')](_0x1ff232[_0x5c7c('0xd')](_0x311998,0x0),_0x5e4e68),_0x311998;},'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 _0x29f9=['format','editing','selection','change','markBlockFormat','*Change\x20%0\x20content*','get','registerDescriptionCallback','getSelectedElement','ELEMENT_HTML_EMBED','_descriptionFactory','getAttribute','commandName','registerElementLabel','plugins','getCustomProperty','htmlEmbed','locale','TrackChangesEditing','view','has','value','enableCommand','rawHtml','afterInit'];(function(_0x528457,_0x29f9ab){const _0xf586f2=function(_0x4464ad){while(--_0x4464ad){_0x528457['push'](_0x528457['shift']());}};_0xf586f2(++_0x29f9ab);}(_0x29f9,0x1be));const _0xf586=function(_0x528457,_0x29f9ab){_0x528457=_0x528457-0x0;let _0xf586f2=_0x29f9[_0x528457];return _0xf586f2;};import{Plugin as _0x5c7961}from'ckeditor5/src/core';import{getTranslation as _0x48358f}from'../utils/common-translations';export default class Q extends _0x5c7961{[_0xf586('0x3')](){const _0x33d79f=this['editor'];if(!_0x33d79f[_0xf586('0x12')][_0xf586('0x18')]('HtmlEmbed'))return;const _0x3765d1=_0x33d79f[_0xf586('0x12')][_0xf586('0xa')](_0xf586('0x16')),_0x487c2c=_0x33d79f[_0xf586('0x15')],_0x36dd41=_0x33d79f[_0xf586('0x5')][_0xf586('0x17')]['document'][_0xf586('0x6')];_0x3765d1[_0xf586('0xe')][_0xf586('0x11')](_0xf586('0x2'),_0x1b815c=>_0x48358f(_0x487c2c,_0xf586('0xd'),_0x1b815c)),_0x33d79f['plugins']['get'](_0xf586('0x16'))[_0xf586('0x1')]('htmlEmbed',(_0x127813,_0x3a13e7)=>{const _0x4f9f67=_0x33d79f['model'],_0x1ba25c=_0x4f9f67['document'][_0xf586('0x6')];_0x4f9f67[_0xf586('0x7')](()=>{const _0x3a1e9d=function(_0x402f2b){const _0x51330c=_0x402f2b[_0xf586('0xc')]();if(_0x51330c&&_0x51330c['is']('element',_0xf586('0x2')))return _0x402f2b[_0xf586('0xc')]();return null;}(_0x1ba25c);if(!_0x3a1e9d)return void _0x127813(null);const _0x46e831=_0x3a1e9d[_0xf586('0xf')](_0xf586('0x0'))||'';if(void 0x0===_0x3a13e7)return;if(_0x3a13e7===_0x46e831)return;_0x3765d1[_0xf586('0x8')](_0x3a1e9d,{'commandName':_0xf586('0x14'),'commandParams':[_0x3a13e7]}),_0x36dd41[_0xf586('0xc')]()[_0xf586('0x13')]('rawHtmlApi')['cancel']();});}),_0x3765d1[_0xf586('0xe')][_0xf586('0xb')](_0x5f5b8b=>{const {data:_0x47ba83}=_0x5f5b8b;if(_0x47ba83&&'htmlEmbed'==_0x47ba83[_0xf586('0x10')]){const _0x1bb2cd=_0x48358f(_0x487c2c,_0xf586('0xd'));return{'type':_0xf586('0x4'),'content':_0x48358f(_0x487c2c,_0xf586('0x9'),_0x1bb2cd)};}});}}
@@ -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 _0x1a22=['start','_splitMarkerName','_descriptionFactory','registerPostFixer','Users','value','refresh','toNext','Block\x20image\x20to\x20inline\x20image','backward','formatInline','change','fromPosition','end','*Remove\x20image\x20text\x20alternative*','imageStyle','hasSuggestion','createRangeOn','commands','enableCommand','resizeImage','markInlineFormat','document','differ','insertion','discardSuggestion','getNearestSelectionRange','next','getAttribute','newRange','forEach','accept','convertInlineImageToBlock','FORMAT_SIDE_IMAGE','detach','ImageEditing','isBlockImage','createRange','markInsertion','markBlockFormat','getContainedElement','toggleImageCaption','*Reset\x20image\x20width*','element','imageTypeInline','deletion','Inline\x20image\x20to\x20block\x20image','registerElementLabel','name','from','subType','editor','_suggestionFactory','registerDescriptionCallback','join','previous','format','find','chain','commandParams','getClosestSelectedImageElement','*Format:*\x20%0','author','width','model','getChangedMarkers','ImageUtils','isBefore','forward','locale','isInContent','title','*Set\x20image\x20text\x20alternative:*\x20%0','ImageBlockEditing','addObject','findIndex','imageTextAlternative','hasAttribute','formatBlock','*Set\x20image\x20width:*\x20%0','imageStylePreApply','ImageCaptionUtils','getSuggestion','ImageStyleEditing','selection','registerCustomCallback','getSuggestionCallback','suggestion','getFirstRange','commandName','isOwn','plugins','imageTypeBlock','ImageInlineEditing','imageBlock','ELEMENT_INLINE_IMAGE','type','commandReversedParams','ELEMENT_CAPTION','getSuggestions','imageStylePostApply','imageInline','get','convertBlockImageToInline','schema','_findSuggestions','isEqual','caption','isIntersecting','imageCaption','shouldConvertImageType','toPrevious','ImageCaptionEditing','getCaptionFromImageModelElement','side','has','isInlineImage','isCollapsed','filter','discard','length','uploadImage'];(function(_0x5881e9,_0x1a22ee){const _0xd62a61=function(_0x25a0ea){while(--_0x25a0ea){_0x5881e9['push'](_0x5881e9['shift']());}};_0xd62a61(++_0x1a22ee);}(_0x1a22,0x1d8));const _0xd62a=function(_0x5881e9,_0x1a22ee){_0x5881e9=_0x5881e9-0x0;let _0xd62a61=_0x1a22[_0x5881e9];return _0xd62a61;};import{Plugin as _0xfa4741}from'ckeditor5/src/core';import{LivePosition as _0x57bf7e}from'ckeditor5/src/engine';import{uid as _0x289e26}from'ckeditor5/src/utils';import{getTranslation as _0x326d54}from'../utils/common-translations';export default class V extends _0xfa4741{['afterInit'](){const _0xae0880=this[_0xd62a('0x43')];if(!_0xae0880['plugins']['has'](_0xd62a('0x33')))return;const _0x33f8b7=_0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')]('TrackChangesEditing'),_0x33eafd=_0xae0880['plugins'][_0xd62a('0x76')](_0xd62a('0x52')),_0x3a1f41={},_0xa59cfc=_0xae0880[_0xd62a('0x55')];if(_0x33f8b7[_0xd62a('0x23')]('insertImage'),_0x33f8b7[_0xd62a('0x12')]['registerElementLabel'](_0xd62a('0x6e'),_0x3fca11=>_0x326d54(_0xa59cfc,'ELEMENT_IMAGE',_0x3fca11)),_0x33f8b7[_0xd62a('0x12')]['registerElementLabel'](_0xd62a('0x75'),_0x4a6bda=>_0x326d54(_0xa59cfc,_0xd62a('0x6f'),_0x4a6bda)),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x3f')](_0xd62a('0x1'),()=>_0x326d54(_0xa59cfc,_0xd62a('0x72'))),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')]('ImageUploadEditing')&&_0x33f8b7[_0xd62a('0x23')](_0xd62a('0xf')),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')](_0xd62a('0x59'))&&_0xae0880['plugins'][_0xd62a('0x9')](_0xd62a('0x6d'))&&(_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x3c'),(_0x4ed82a,_0x5e1c00)=>{const _0x37c09e=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x64')]);_0xae0880['model'][_0xd62a('0x1b')](()=>{_0x33f8b7[_0xd62a('0x37')](_0x37c09e,{'commandName':_0xd62a('0x3c'),'commandParams':[_0x5e1c00]},[],_0xd62a('0x77'));});}),_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x6c'),(_0x2a923c,_0x33817e)=>{_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](_0x3c96db=>{let _0x12ff09=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x64')]),_0x1d5a9f=_0x3c96db[_0xd62a('0x21')](_0x12ff09);const _0x2602ba=_0x57bf7e[_0xd62a('0x1c')](_0x1d5a9f[_0xd62a('0x10')],_0xd62a('0x5')),_0x16d294=_0x57bf7e['fromPosition'](_0x1d5a9f['end'],_0xd62a('0x17'));_0x33f8b7['forceDefaultExecution'](()=>_0x2a923c(_0x33817e)),_0x12ff09=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x1d5a9f=_0x3c96db[_0xd62a('0x21')](_0x12ff09);const _0x13fe1c=_0x3c96db['createRange'](_0x2602ba,_0x16d294);_0x2602ba[_0xd62a('0x32')](),_0x16d294[_0xd62a('0x32')](),_0x33f8b7[_0xd62a('0x37')](_0x12ff09,{'commandName':_0xd62a('0x3c'),'commandParams':[]},[],_0xd62a('0x30')),_0x13fe1c[_0xd62a('0x10')][_0xd62a('0x53')](_0x1d5a9f[_0xd62a('0x10')])&&_0x33f8b7[_0xd62a('0x36')](_0x3c96db['createRange'](_0x13fe1c[_0xd62a('0x10')],_0x1d5a9f[_0xd62a('0x10')]),'convertInlineImageToBlock'),_0x1d5a9f[_0xd62a('0x1d')][_0xd62a('0x53')](_0x13fe1c[_0xd62a('0x1d')])&&_0x33f8b7[_0xd62a('0x36')](_0x3c96db[_0xd62a('0x35')](_0x1d5a9f[_0xd62a('0x1d')],_0x13fe1c[_0xd62a('0x1d')]),_0xd62a('0x30'));});}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),'convertInlineImageToBlock','join',()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x30'),_0xd62a('0x2f'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x30'),'discard',_0x33f8b7[_0xd62a('0x44')]['getSuggestionCallback'](_0xd62a('0x5e'),'','accept')),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')]('insertion',_0xd62a('0x30'),'join',()=>{}),_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x28'),_0xd62a('0x30'),_0xd62a('0xd'),([_0x1221e1])=>{const _0x1a52e3=_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x66')]('insertion','','discard');let _0x125180=_0x1221e1['start'],_0x3cd3b6=_0x1221e1[_0xd62a('0x1d')];const _0x5434d8=_0xae0880[_0xd62a('0x50')][_0xd62a('0x78')]['getNearestSelectionRange'](_0x125180,_0xd62a('0x19')),_0x2ceb54=_0xae0880['model'][_0xd62a('0x78')][_0xd62a('0x2a')](_0x3cd3b6,_0xd62a('0x54'));_0x5434d8[_0xd62a('0xb')]&&(_0x125180=_0x5434d8['start']),_0x2ceb54['isCollapsed']&&(_0x3cd3b6=_0x2ceb54[_0xd62a('0x1d')]),_0x1a52e3([_0xae0880[_0xd62a('0x50')][_0xd62a('0x35')](_0x125180,_0x3cd3b6)]);}),_0x33f8b7[_0xd62a('0x44')]['registerCustomCallback'](_0xd62a('0x5e'),_0xd62a('0x30'),'chain',_0x49ceda),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x28'),'convertInlineImageToBlock','chain',_0x49ceda)),_0xae0880['plugins'][_0xd62a('0x9')](_0xd62a('0x6'))&&(_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x39'),(_0x5e4705,_0x3e82f0)=>{const _0xd77d68=_0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')](_0xd62a('0x61'));let _0x157d14=_0x33eafd[_0xd62a('0x4c')](_0xae0880['model']['document']['selection']),_0x3b54f9=_0xd77d68[_0xd62a('0x7')](_0x157d14);_0xae0880[_0xd62a('0x50')]['change'](()=>{if(_0x3b54f9)return void _0x33f8b7['markDeletion'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x3b54f9));const _0x445f62=_0x33eafd[_0xd62a('0x34')](_0x157d14);_0x5e4705(_0x3e82f0),_0x157d14=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x3b54f9=_0xd77d68['getCaptionFromImageModelElement'](_0x157d14),_0x33f8b7['markInsertion'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x3b54f9),_0x445f62?null:_0xd62a('0x3'));});}),_0x33f8b7[_0xd62a('0x44')]['registerCustomCallback'](_0xd62a('0x28'),_0xd62a('0x3'),_0xd62a('0x4a'),_0x49ceda)),_0xae0880[_0xd62a('0x6b')][_0xd62a('0x9')](_0xd62a('0x63'))){_0x33f8b7['enableCommand']('imageStyle',(_0x4c1627,_0x419780)=>{const _0xe37d17=_0xae0880['plugins'][_0xd62a('0x76')](_0xd62a('0x14'))['me'],_0x3e2b81=_0xae0880[_0xd62a('0x22')][_0xd62a('0x76')](_0xd62a('0x1f'));let _0x35c42e=_0x33eafd[_0xd62a('0x4c')](_0xae0880['model'][_0xd62a('0x26')][_0xd62a('0x64')]),_0x506c69=_0xae0880[_0xd62a('0x50')][_0xd62a('0x21')](_0x35c42e),_0x2ec7e4=_0x3e2b81['value'];if(_0x2ec7e4==_0x419780[_0xd62a('0x15')])return;const _0x485965={'commandName':_0xd62a('0x1f'),'commandParams':[_0x419780],'formatGroupId':_0x289e26()};_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](()=>{if(_0x33f8b7[_0xd62a('0x73')]()[_0xd62a('0xc')](_0x1cc1a1=>_0x1cc1a1[_0xd62a('0x56')]&&_0xe37d17==_0x1cc1a1[_0xd62a('0x4e')]&&('formatBlock'==_0x1cc1a1['type']||_0xd62a('0x1a')==_0x1cc1a1['type'])&&('imageStylePreApply'==_0x1cc1a1[_0xd62a('0x42')]||_0xd62a('0x74')==_0x1cc1a1[_0xd62a('0x42')])&&_0x1cc1a1[_0xd62a('0x68')]()[_0xd62a('0x0')](_0x506c69))[_0xd62a('0x2e')](_0x6f1cf9=>_0x33f8b7[_0xd62a('0x29')](_0x6f1cf9['head'])),_0x35c42e=_0x33eafd['getClosestSelectedImageElement'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]),_0x506c69=_0xae0880['model'][_0xd62a('0x21')](_0x35c42e),_0x3e2b81[_0xd62a('0x16')](),_0xae0880[_0xd62a('0x22')][_0xd62a('0x76')](_0xd62a('0x3c'))['refresh'](),_0xae0880['commands'][_0xd62a('0x76')]('imageTypeBlock')[_0xd62a('0x16')](),_0x2ec7e4=_0x3e2b81['value'],_0x2ec7e4!=_0x419780['value'])return _0x33eafd[_0xd62a('0xa')](_0x35c42e)&&_0x3e2b81[_0xd62a('0x4')](_0x419780[_0xd62a('0x15')],_0x35c42e)?(_0x4c1627(_0x419780),_0x35c42e=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')]['selection']),void _0x33f8b7['markBlockFormat'](_0x35c42e,{..._0x485965,'commandReversedParams':[{'value':_0x2ec7e4||null}]},[],_0xd62a('0x60'))):void(_0x33eafd['isBlockImage'](_0x35c42e)?_0x33f8b7[_0xd62a('0x37')](_0x35c42e,_0x485965,[],'imageStylePostApply'):_0x33f8b7[_0xd62a('0x25')](_0x506c69,_0x485965,_0xd62a('0x74')));});});for(const _0x2ce382 of _0xae0880[_0xd62a('0x6b')][_0xd62a('0x76')](_0xd62a('0x63'))['normalizedStyles'])_0x3a1f41[_0x2ce382[_0xd62a('0x40')]]=_0x2ce382[_0xd62a('0x57')]['toLowerCase']();_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x46'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')]('formatBlock',_0xd62a('0x74'),_0xd62a('0x46'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x1a'),_0xd62a('0x74'),'join',()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x2f'),()=>{}),_0x33f8b7[_0xd62a('0x44')][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0xd'),(_0x5913d7,_0x54cf03)=>{_0x33f8b7[_0xd62a('0x44')]['getSuggestionCallback']('formatBlock','',_0xd62a('0x2f'))(_0x5913d7,{'commandName':_0x54cf03[_0xd62a('0x69')],'commandParams':_0x54cf03[_0xd62a('0x71')]});}),_0x33f8b7['_suggestionFactory'][_0xd62a('0x65')](_0xd62a('0x5e'),_0xd62a('0x60'),_0xd62a('0x4a'),_0x49ceda);}const _0x4b4902=[{'type':_0xd62a('0x5e'),'subType':_0xd62a('0x60')},{'type':_0xd62a('0x28'),'subType':_0xd62a('0x3')},{'type':_0xd62a('0x5e'),'subType':_0xd62a('0x30')},{'type':_0xd62a('0x28'),'subType':_0xd62a('0x30')}];function _0x1d9871(_0x379eed,_0x3ff347){const _0x2893d8=_0x4b4902[_0xd62a('0x5b')](({type:_0x2a2196,subType:_0x2a4c55})=>_0x379eed[_0xd62a('0x70')]==_0x2a2196&&_0x379eed[_0xd62a('0x42')]==_0x2a4c55),_0xaf8a25=_0x4b4902['findIndex'](({type:_0x236976,subType:_0x4cb517})=>_0x3ff347[_0xd62a('0x70')]==_0x236976&&_0x3ff347[_0xd62a('0x42')]==_0x4cb517);if(_0x2893d8<0x0||_0xaf8a25<0x0)return!0x1;const _0x5ee8ad=_0x379eed[_0xd62a('0x68')](),_0x1b6cee=_0x3ff347[_0xd62a('0x68')]();if((0x0==_0x2893d8||0x1==_0x2893d8)&&0x2==_0xaf8a25&&_0x5ee8ad[_0xd62a('0x2')](_0x1b6cee))return!0x0;if(0x2==_0x2893d8&&0x3==_0xaf8a25){const _0x55b9da=_0x33f8b7[_0xd62a('0x79')](_0x5ee8ad,_0xd62a('0x28'))[_0xd62a('0xc')](({suggestion:_0x496bfe,meta:_0x1e6035})=>_0x1e6035[_0xd62a('0x6a')]&&_0xd62a('0x30')==_0x496bfe[_0xd62a('0x42')]);if(_0x55b9da[_0xd62a('0xe')]>0x1&&_0x1b6cee[_0xd62a('0x1d')][_0xd62a('0x0')](_0x5ee8ad['start']))return!0x0;if(0x1==_0x55b9da['length']&&(_0x5ee8ad[_0xd62a('0x10')][_0xd62a('0x0')](_0x1b6cee[_0xd62a('0x1d')])||_0x5ee8ad[_0xd62a('0x1d')][_0xd62a('0x0')](_0x1b6cee[_0xd62a('0x10')])))return!0x0;}if(0x3==_0x2893d8&&0x3==_0xaf8a25&&_0x5ee8ad[_0xd62a('0x10')][_0xd62a('0x53')](_0x1b6cee[_0xd62a('0x10')])){const _0x521bcb=_0x5ee8ad[_0xd62a('0x1d')]['nodeAfter'],_0x2a4a6f=_0x1b6cee[_0xd62a('0x10')]['nodeBefore'];return _0x33eafd[_0xd62a('0x34')](_0x521bcb)&&_0x521bcb===_0x2a4a6f;}return!0x1;}function _0x49ceda(_0x42cda8,_0x42cc33){return _0x1d9871(_0x42cda8,_0x42cc33)?[_0x42cda8,_0x42cc33]:_0x1d9871(_0x42cc33,_0x42cda8)?[_0x42cc33,_0x42cda8]:null;}_0xae0880[_0xd62a('0x50')]['document'][_0xd62a('0x13')](()=>{let _0x17d286=!0x1;const _0x266f49=Array[_0xd62a('0x41')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x27')][_0xd62a('0x51')]());for(const {name:_0x2a19e2,data:_0x4b9633}of _0x266f49){const {group:_0x2e2d24,type:_0x134c5c,subType:_0x41f582,id:_0x3f0203}=_0x33f8b7[_0xd62a('0x11')](_0x2a19e2);if(_0xd62a('0x67')==_0x2e2d24&&_0x33f8b7[_0xd62a('0x20')](_0x3f0203)){if('formatBlock'==_0x134c5c&&(_0xd62a('0x60')==_0x41f582||'imageStylePostApply'==_0x41f582)){const _0x4a0e24=_0x33f8b7['getSuggestion'](_0x3f0203);if(_0x4b9633[_0xd62a('0x2d')]){const _0x5dd64b=_0x4a0e24[_0xd62a('0x68')]()['getContainedElement']();if(_0x33eafd['isBlockImage'](_0x5dd64b))continue;_0x33f8b7[_0xd62a('0x29')](_0x4a0e24),_0x17d286=!0x0;}}if(_0xd62a('0x28')==_0x134c5c&&_0xd62a('0x3')==_0x41f582&&!_0x4b9633[_0xd62a('0x2d')]){const _0x224278=_0x33f8b7[_0xd62a('0x62')](_0x3f0203);_0x224278[_0xd62a('0x2b')]&&_0x224278[_0xd62a('0x2b')][_0xd62a('0x56')]&&(_0x33f8b7[_0xd62a('0x29')](_0x224278[_0xd62a('0x2b')]),_0x17d286=!0x0);}}}return _0x17d286;}),_0xae0880[_0xd62a('0x6b')]['has']('ImageResize')&&_0x33f8b7[_0xd62a('0x23')](_0xd62a('0x24'),(_0x5469cb,_0x17319a)=>{const _0x42a528=_0x33eafd['getClosestSelectedImageElement'](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]);_0x42a528['getAttribute'](_0xd62a('0x4f'))!=_0x17319a['width']&&_0xae0880[_0xd62a('0x50')][_0xd62a('0x1b')](()=>{_0x33f8b7[_0xd62a('0x37')](_0x42a528,{'commandName':_0xd62a('0x24'),'commandParams':[_0x17319a]});});}),_0xae0880[_0xd62a('0x6b')]['has']('ImageTextAlternativeEditing')&&_0x33f8b7['enableCommand'](_0xd62a('0x5c'),(_0x2b94d6,_0x42244a)=>{const _0x2fd26f=_0x33eafd[_0xd62a('0x4c')](_0xae0880[_0xd62a('0x50')][_0xd62a('0x26')][_0xd62a('0x64')]);(_0x2fd26f[_0xd62a('0x5d')]('alt')?_0x2fd26f[_0xd62a('0x2c')]('alt'):'')!=_0x42244a['newValue']&&_0xae0880['model']['change'](()=>{_0x33f8b7[_0xd62a('0x37')](_0x2fd26f,{'commandName':_0xd62a('0x5c'),'commandParams':[_0x42244a]});});}),_0x33f8b7['_descriptionFactory']['registerDescriptionCallback'](_0x2d12d7=>{if(!!_0x4b4902[_0xd62a('0x49')](({type:_0x201911,subType:_0x2bbffd})=>_0x2d12d7[_0xd62a('0x70')]==_0x201911&&_0x2d12d7[_0xd62a('0x42')]==_0x2bbffd))return _0x2d12d7[_0xd62a('0x47')]?{}:void 0x0;}),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x45')](_0x1b24b2=>{if(_0xd62a('0x28')==_0x1b24b2[_0xd62a('0x70')]||_0xd62a('0x3d')==_0x1b24b2[_0xd62a('0x70')]){const _0x52e81e=_0x1b24b2[_0xd62a('0x38')]();if(_0x52e81e&&_0x52e81e['is'](_0xd62a('0x3b'),_0xd62a('0x1')))return{'type':_0xd62a('0x28')==_0x1b24b2[_0xd62a('0x70')]?_0xd62a('0x5a'):'removeObject','element':_0x52e81e,'quantity':0x1};}}),_0x33f8b7[_0xd62a('0x12')][_0xd62a('0x45')](_0x3574f1=>_0xd62a('0x5e')==_0x3574f1[_0xd62a('0x70')]&&_0xd62a('0x30')==_0x3574f1[_0xd62a('0x42')]?{'type':'format','content':_0xd62a('0x3e')}:_0xd62a('0x5e')==_0x3574f1['type']&&_0xd62a('0x77')==_0x3574f1[_0xd62a('0x42')]?{'type':_0xd62a('0x48'),'content':_0xd62a('0x18')}:void 0x0),_0x33f8b7['_descriptionFactory'][_0xd62a('0x45')](_0x18b019=>{const {data:_0x14818d}=_0x18b019;if(_0x14818d){if(_0xd62a('0x1f')==_0x14818d[_0xd62a('0x69')]){const _0x20edd1=_0x14818d[_0xd62a('0x4b')][0x0][_0xd62a('0x15')];return _0x1d1aab(_0xd62a('0x8')===_0x20edd1?_0x326d54(_0xa59cfc,_0xd62a('0x31')):_0x3a1f41[_0x20edd1]||_0x20edd1);}if('imageTextAlternative'==_0x14818d['commandName']){const _0x733692=_0x14818d[_0xd62a('0x4b')][0x0]['newValue'];return _0x733692?{'type':'format','content':_0x326d54(_0xa59cfc,_0xd62a('0x58'),'\x22'+_0x733692+'\x22')}:{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x1e'))};}if(_0xd62a('0x24')==_0x14818d[_0xd62a('0x69')]){const _0x5eb5e7=_0x14818d['commandParams'][0x0][_0xd62a('0x4f')];return _0x5eb5e7?{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x5f'),_0x5eb5e7)}:{'type':'format','content':_0x326d54(_0xa59cfc,_0xd62a('0x3a'))};}}function _0x1d1aab(_0x1f3e0a){return{'type':_0xd62a('0x48'),'content':_0x326d54(_0xa59cfc,_0xd62a('0x4d'),_0x1f3e0a)};}});}}
@@ -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 _0x1c14=['discard','replaceImageSource','registerDescriptionCallback','handleReplaceImageCommand','editor','enableCommand','accept','handleSuggestionDescription','format','afterInit','*Format:*\x20replace\x20image\x20URL','getAttribute','subType','formatBlock','Users','registerCustomCallback','document','plugins','getSuggestionCallback','source','has','getSuggestions','get','commandParams','TrackChangesEditing','selection','src','getContainedElement','data','markBlockFormat','_descriptionFactory','ImageEditing','locale','_suggestionFactory','model','getSelectedElement'];(function(_0x1b9b8e,_0x1c14fd){const _0x4457b2=function(_0x3b3982){while(--_0x3b3982){_0x1b9b8e['push'](_0x1b9b8e['shift']());}};_0x4457b2(++_0x1c14fd);}(_0x1c14,0xd8));const _0x4457=function(_0x1b9b8e,_0x1c14fd){_0x1b9b8e=_0x1b9b8e-0x0;let _0x4457b2=_0x1c14[_0x1b9b8e];return _0x4457b2;};import{Plugin as _0x48d9ed}from'ckeditor5/src/core';import{getTranslation as _0x5754e5}from'../utils/common-translations';export default class X extends _0x48d9ed{[_0x4457('0x9')](){if(!this['editor'][_0x4457('0x11')][_0x4457('0x14')](_0x4457('0x1f')))return;const _0x321370=this['editor'][_0x4457('0x11')][_0x4457('0x16')](_0x4457('0x18'));_0x321370[_0x4457('0x5')](_0x4457('0x1'),(_0x282097,_0x375909)=>this['handleReplaceImageCommand'](_0x282097,_0x375909)),_0x321370[_0x4457('0x21')][_0x4457('0xf')]('formatBlock','replaceImageSource',_0x4457('0x6'),_0x321370['_suggestionFactory']['getSuggestionCallback'](_0x4457('0xd'),null,'discard')),_0x321370[_0x4457('0x21')][_0x4457('0xf')](_0x4457('0xd'),_0x4457('0x1'),'discard',_0x321370[_0x4457('0x21')][_0x4457('0x12')]('formatBlock',null,_0x4457('0x6'))),_0x321370[_0x4457('0x1e')][_0x4457('0x2')](_0xb2642b=>this[_0x4457('0x7')](_0xb2642b));}[_0x4457('0x3')](_0x2249e2,_0x21c985){const _0x532dc4=this[_0x4457('0x4')]['plugins'][_0x4457('0x16')](_0x4457('0x18')),_0x59c50d=this[_0x4457('0x4')][_0x4457('0x22')][_0x4457('0x10')][_0x4457('0x19')][_0x4457('0x23')]();this['editor'][_0x4457('0x22')]['change'](()=>{let _0x29f5c0=_0x59c50d[_0x4457('0xb')](_0x4457('0x1a'));const _0x5d3890=this['editor'][_0x4457('0x11')][_0x4457('0x16')](_0x4457('0xe'))['me'];for(const _0xe90bef of _0x532dc4[_0x4457('0x15')]({'skipNotAttached':!0x0})){const _0x773c0b=_0xe90bef[_0x4457('0x1b')]();if(_0x4457('0x1')===_0xe90bef[_0x4457('0xc')]&&_0x773c0b===_0x59c50d){_0xe90bef['author']!==_0x5d3890&&_0xe90bef[_0x4457('0x0')](),_0x29f5c0=_0xe90bef[_0x4457('0x1c')][_0x4457('0x17')][0x0][_0x4457('0x13')];break;}}_0x2249e2(_0x21c985),_0x532dc4[_0x4457('0x1d')](_0x59c50d,{'commandName':'replaceImageSource','commandParams':[{'source':_0x29f5c0}]},[],'replaceImageSource');});}['handleSuggestionDescription'](_0x49d75c){const {data:_0x2cf5e4}=_0x49d75c;if(_0x2cf5e4&&'replaceImageSource'===_0x2cf5e4['commandName']){const _0x566b6a=_0x4457('0xa');return{'type':_0x4457('0x8'),'content':_0x5754e5(this[_0x4457('0x4')][_0x4457('0x20')],_0x566b6a)};}}}
@@ -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 _0x1781=['TrackChangesEditing','importWord','enableCommand','Users','_handleImportedData','editor','_setSuggestionData','dataInsert','value','high','get','collaboration_features','execute','listenTo','track_changes','afterInit','_trackChangesValueDuringImport','_trackChangesExecuted','plugins','commands','trackChanges'];(function(_0x475941,_0x178157){const _0x4079d4=function(_0x1ee633){while(--_0x1ee633){_0x475941['push'](_0x475941['shift']());}};_0x4079d4(++_0x178157);}(_0x1781,0x18f));const _0x4079=function(_0x475941,_0x178157){_0x475941=_0x475941-0x0;let _0x4079d4=_0x1781[_0x475941];return _0x4079d4;};import{Plugin as _0x2341c5}from'ckeditor5/src/core';export default class Y extends _0x2341c5{constructor(_0x79928d){super(_0x79928d),this[_0x4079('0x10')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4079('0xf')](){const _0x1394a2=this[_0x4079('0x5')],_0x94c97b=_0x1394a2[_0x4079('0x13')][_0x4079('0xa')](_0x4079('0x1')),_0x234638=_0x1394a2[_0x4079('0x13')][_0x4079('0xa')](_0x4079('0x14'));_0x94c97b&&(_0x94c97b['on'](_0x4079('0xc'),(_0x2a0140,[,_0x1741fa])=>{this[_0x4079('0x10')]=_0x234638[_0x4079('0x8')],_0x1741fa[_0x4079('0xb')][_0x4079('0xe')]=!this[_0x4079('0x10')];},{'priority':_0x4079('0x9')}),this[_0x4079('0xd')](_0x94c97b,_0x4079('0x7'),this[_0x4079('0x4')]['bind'](this)),this[_0x4079('0xd')](_0x94c97b,'dataInsert',()=>{this[_0x4079('0x11')]&&(_0x234638[_0x4079('0xc')](),this[_0x4079('0x11')]=!0x1);},{'priority':'lowest'}),_0x1394a2[_0x4079('0x12')][_0x4079('0xa')]('TrackChangesEditing')[_0x4079('0x2')](_0x4079('0x1')));}[_0x4079('0x4')](_0x56b178,_0x5341ac){const {suggestions:_0x52576b}=_0x5341ac,_0x4e0672=this[_0x4079('0x5')][_0x4079('0x13')][_0x4079('0xa')]('trackChanges'),_0x202aa8=_0x4e0672[_0x4079('0x8')];this['_trackChangesValueDuringImport']!==_0x202aa8&&(_0x4e0672[_0x4079('0xc')](),this['_trackChangesExecuted']=!0x0),_0x52576b&&_0x52576b['forEach'](({id:_0xc4da1a,type:_0x370241,author:_0x244474,created_at:_0x4031d2})=>{const _0x582f85={'id':_0xc4da1a,'type':_0x370241,'authorId':this[_0x4079('0x5')]['plugins'][_0x4079('0xa')](_0x4079('0x3'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x244474,'createdAt':_0x4031d2?new Date(_0x4031d2):new Date(),'source':_0x4079('0x1')}}};this[_0x4079('0x5')][_0x4079('0x12')][_0x4079('0xa')](_0x4079('0x0'))[_0x4079('0x6')](_0x582f85);});}}
@@ -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 _0x304c=['indent','getItems','plugins','afterInit','registerDescriptionCallback','getSelectedBlocks','document','checkAttribute','has','model','selection','_descriptionFactory','editor','IndentBlock','outdent','blockIndent','from','indentBlock','enableCommand','change','schema','TrackChangesEditing','getItemLabel','outdentBlock','commandName','IndentEditing'];(function(_0xf35d9c,_0x304c4b){const _0x3893d7=function(_0x1c9501){while(--_0x1c9501){_0xf35d9c['push'](_0xf35d9c['shift']());}};_0x3893d7(++_0x304c4b);}(_0x304c,0xa3));const _0x3893=function(_0xf35d9c,_0x304c4b){_0xf35d9c=_0xf35d9c-0x0;let _0x3893d7=_0x304c[_0xf35d9c];return _0x3893d7;};import{Plugin as _0x3746bc}from'ckeditor5/src/core';import{getTranslation as _0x18c4d2}from'../utils/common-translations';export default class Z extends _0x3746bc{[_0x3893('0x16')](){const _0x30926a=this[_0x3893('0x5')],_0x4d319f=_0x30926a[_0x3893('0x15')]['get'](_0x3893('0xe'));_0x30926a[_0x3893('0x15')][_0x3893('0x1')](_0x3893('0x12'))&&(_0x4d319f[_0x3893('0xb')](_0x3893('0x13')),_0x4d319f['enableCommand'](_0x3893('0x7')));const _0x2414d0=_0x30926a['locale'];if(_0x30926a[_0x3893('0x15')][_0x3893('0x1')](_0x3893('0x6'))){for(const _0x57266a of[_0x3893('0xa'),_0x3893('0x10')])_0x4d319f[_0x3893('0xb')](_0x57266a,()=>{const _0x4cf598=Array[_0x3893('0x9')](this[_0x3893('0x5')][_0x3893('0x2')][_0x3893('0x19')][_0x3893('0x3')][_0x3893('0x18')]())['filter'](_0x4c2aa4=>this['editor'][_0x3893('0x2')][_0x3893('0xd')][_0x3893('0x0')](_0x4c2aa4,_0x3893('0x8')));_0x30926a[_0x3893('0x2')][_0x3893('0xc')](()=>{for(const _0x81ec04 of _0x4cf598)_0x4d319f['markBlockFormat'](_0x81ec04,{'commandName':_0x57266a,'commandParams':[{'value':''}],'formatGroupId':_0x3893('0xa')});});});_0x4d319f[_0x3893('0x4')][_0x3893('0x17')](_0x1f2ced=>{const {data:_0x255a36}=_0x1f2ced;if(!_0x255a36)return;if(_0x3893('0xa')!=_0x255a36['commandName']&&_0x3893('0x10')!=_0x255a36['commandName'])return;const _0x21cd81=_0x1f2ced[_0x3893('0x14')]()[0x0],_0x500fc6=_0x4d319f[_0x3893('0x4')][_0x3893('0xf')](_0x21cd81);return _0x3893('0xa')==_0x255a36[_0x3893('0x11')]?{'type':'format','content':_0x18c4d2(_0x2414d0,'*Indent:*\x20%0',_0x500fc6)}:_0x3893('0x10')==_0x255a36[_0x3893('0x11')]?{'type':'format','content':_0x18c4d2(_0x2414d0,'*Outdent:*\x20%0',_0x500fc6)}: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 _0x2f52=['editor','requires','plugins','init','input','TrackChangesEditing'];(function(_0x3bde01,_0x2f5266){var _0x16d6b8=function(_0x15f07b){while(--_0x15f07b){_0x3bde01['push'](_0x3bde01['shift']());}};_0x16d6b8(++_0x2f5266);}(_0x2f52,0x73));var _0x16d6=function(_0x3bde01,_0x2f5266){_0x3bde01=_0x3bde01-0x0;var _0x16d6b8=_0x2f52[_0x3bde01];return _0x16d6b8;};import{Plugin as _0x4e0140}from'ckeditor5/src/core';import{Input as _0x4d85bd}from'ckeditor5/src/typing';export default class tt extends _0x4e0140{static get[_0x16d6('0x0')](){return[_0x4d85bd];}[_0x16d6('0x2')](){this[_0x16d6('0x5')][_0x16d6('0x1')]['get'](_0x16d6('0x4'))['enableCommand'](_0x16d6('0x3'));}}
@@ -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 _0x2d1c=['editor','commandParams','*Remove\x20link*','_descriptionFactory','getFirstRange','isCollapsed','commandName','get','link','getAttribute','selection','getRanges','document','format','getFirstPosition','enableCommand','markInlineFormat','LinkEditing','afterInit','linkHref','hasAttribute','unlink','plugins','TrackChangesEditing','locale','has','registerDescriptionCallback','change','model'];(function(_0x15a48f,_0x2d1c0a){const _0x4667f6=function(_0x7c5d27){while(--_0x7c5d27){_0x15a48f['push'](_0x15a48f['shift']());}};_0x4667f6(++_0x2d1c0a);}(_0x2d1c,0xbe));const _0x4667=function(_0x15a48f,_0x2d1c0a){_0x15a48f=_0x15a48f-0x0;let _0x4667f6=_0x2d1c[_0x15a48f];return _0x4667f6;};import{Plugin as _0x1783bd}from'ckeditor5/src/core';import{findAttributeRange as _0x40f047}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x5f08cf}from'./utils';import{getTranslation as _0x465b8b}from'../utils/common-translations';export default class it extends _0x1783bd{[_0x4667('0x2')](){const _0x22ead9=this[_0x4667('0xd')];if(!_0x22ead9[_0x4667('0x6')][_0x4667('0x9')](_0x4667('0x1')))return;const _0xc92d26=_0x22ead9[_0x4667('0x6')][_0x4667('0x14')](_0x4667('0x7'));_0xc92d26['enableCommand'](_0x4667('0x15'),(_0x5c5174,_0x298c74)=>{const _0xba7088=_0x22ead9[_0x4667('0xc')][_0x4667('0x19')]['selection'];let _0x24f1e2=[];if(_0xba7088[_0x4667('0x12')]){if(!_0xba7088[_0x4667('0x4')](_0x4667('0x3')))return void _0x5c5174(_0x298c74);{const _0x2648c5=_0x40f047(_0xba7088[_0x4667('0x1b')](),'linkHref',_0xba7088[_0x4667('0x16')](_0x4667('0x3')),_0x22ead9[_0x4667('0xc')]);_0x24f1e2=[_0x2648c5];}}else _0x24f1e2=Array['from'](_0xba7088[_0x4667('0x18')]());_0x22ead9[_0x4667('0xc')][_0x4667('0xb')](()=>{for(const _0x51b23c of _0x24f1e2)_0xc92d26[_0x4667('0x0')](_0x51b23c,{'commandName':_0x4667('0x15'),'commandParams':[_0x298c74]});});}),_0xc92d26[_0x4667('0x1c')](_0x4667('0x5'),()=>{const _0x54770=this[_0x4667('0xd')]['model'],_0x3b6c44=_0x54770[_0x4667('0x19')][_0x4667('0x17')];_0x54770[_0x4667('0xb')](()=>{let _0x47113a=[];if(_0x3b6c44[_0x4667('0x12')])_0x47113a=[_0x40f047(_0x3b6c44[_0x4667('0x1b')](),'linkHref',_0x3b6c44[_0x4667('0x16')](_0x4667('0x3')),_0x22ead9[_0x4667('0xc')])];else _0x47113a=_0x5f08cf('linkHref',_0x3b6c44[_0x4667('0x11')](),_0x22ead9[_0x4667('0xc')]);for(const _0x5195 of _0x47113a)_0xc92d26[_0x4667('0x0')](_0x5195,{'commandName':_0x4667('0x5'),'commandParams':[]});});}),_0xc92d26[_0x4667('0x10')][_0x4667('0xa')](_0x1cafec=>{const {data:_0x18d949}=_0x1cafec,_0x1957f0=_0x22ead9[_0x4667('0x8')];if(_0x18d949){if(_0x4667('0x15')==_0x18d949['commandName']){const _0xb8b6d=_0x18d949[_0x4667('0xe')][0x0];return{'type':'format','content':_0x465b8b(_0x1957f0,'*Set\x20link:*\x20%0','\x22'+_0xb8b6d+'\x22')};}return _0x4667('0x5')==_0x18d949[_0x4667('0x13')]?{'type':_0x4667('0x1a'),'content':_0x465b8b(_0x1957f0,_0x4667('0xf'))}: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 _0x95a5=['bulletedList','*Change\x20to:*\x20%0','listIndent','List','forceValue','name','todoList','_descriptionFactory','enableCommand','ListEditing','paragraph','selection','before','getAttribute','*Check\x20item*','execute','plugins','listItem','ELEMENT_TODO_LIST','value','TrackChangesEditing','createRange','locale','numberedList','*Outdent:*\x20%0','element','outdentList','get','checkTodoList','commands','nextSibling','blockName','ELEMENT_BULLETED_LIST','checkChild','previousSibling','from','parent','editor','end','todo','createPositionAt','registerElementLabel','registerDescriptionCallback','filter','add','afterInit','_selectedElements','format','slice','*Uncheck\x20item*','isObject','push','bulleted','commandName','indentList','ELEMENT_LIST_ITEM','model','getSelectedBlocks','document','schema','markBlockFormat','replace','change','findIndex','has'];(function(_0x1af03d,_0x95a505){const _0xd8206=function(_0x5efe55){while(--_0x5efe55){_0x1af03d['push'](_0x1af03d['shift']());}};_0xd8206(++_0x95a505);}(_0x95a5,0xd5));const _0xd820=function(_0x1af03d,_0x95a505){_0x1af03d=_0x1af03d-0x0;let _0xd8206=_0x95a5[_0x1af03d];return _0xd8206;};import{Plugin as _0xb62178}from'ckeditor5/src/core';import{getTranslation as _0x85b51b}from'../utils/common-translations';export default class st extends _0xb62178{[_0xd820('0x1b')](){const _0x4317d7=this[_0xd820('0x13')],_0x14a7c2=_0x4317d7[_0xd820('0x4')];if(!_0x4317d7[_0xd820('0x3f')][_0xd820('0x2e')](_0xd820('0x38')))return;const _0x27983a=_0x4317d7[_0xd820('0x3f')]['get'](_0xd820('0x2')),_0x189d23=_0x4317d7[_0xd820('0x3f')]['has']('TodoListEditing');function _0x483eaa(_0xde3927){return()=>{const _0x534cdd=_0x4317d7[_0xd820('0x26')][_0xd820('0x28')][_0xd820('0x3a')],_0x5be908=_0x4317d7[_0xd820('0xb')]['get'](_0xde3927);if(_0x5be908[_0xd820('0x1')])return void _0x4317d7[_0xd820('0x3e')](_0xd820('0x39'),{});const _0x12bfac=_0xde3927[_0xd820('0x1e')](0x0,-0x4),_0x19d4bd=function(_0x4cb926,_0x1251c1,_0xea15b0){let _0x3292e1=Array[_0xd820('0x11')](_0x4cb926)[_0xd820('0x19')](_0x5146b3=>function(_0xf84928,_0x228b3c){return _0x228b3c[_0xd820('0xf')](_0xf84928[_0xd820('0x12')],_0xd820('0x40'))&&!_0x228b3c[_0xd820('0x20')](_0xf84928);}(_0x5146b3,_0xea15b0));_0x3292e1=_0x3292e1['filter'](_0x24b615=>!_0x24b615['is'](_0xd820('0x7'),_0xd820('0x40'))||_0x24b615[_0xd820('0x3c')]('listType')!=_0x1251c1);const _0x97e07c=new Set();for(const _0x5c1d47 of _0x3292e1)_0x5c1d47['is']('element','listItem')?_0x97e07c[_0xd820('0x1a')](ne(_0x5c1d47)):_0x97e07c[_0xd820('0x1a')](_0x5c1d47);return Array[_0xd820('0x11')](_0x97e07c);}(_0x534cdd[_0xd820('0x27')](),_0x12bfac,_0x4317d7['model'][_0xd820('0x29')]);_0x4317d7[_0xd820('0x26')][_0xd820('0x2c')](()=>{for(const _0x516f1f of _0x19d4bd)_0x27983a['markBlockFormat'](_0x516f1f,{'commandName':_0xde3927,'commandParams':[{'forceValue':!_0x5be908[_0xd820('0x1')]}],'formatGroupId':_0xd820('0xd')},oe(_0x516f1f));});};}function _0x5bc137(_0x197e47){return()=>{const _0x511773=function(_0x36818f){let _0x3eda10=Array[_0xd820('0x11')](_0x36818f);const _0x514ece=_0x3eda10[_0xd820('0x2d')](_0x1258e8=>_0xd820('0x40')!=_0x1258e8[_0xd820('0x34')]);return _0x514ece>-0x1&&(_0x3eda10=_0x3eda10[_0xd820('0x1e')](0x0,_0x514ece)),_0x3eda10;}(_0x4317d7[_0xd820('0x26')][_0xd820('0x28')][_0xd820('0x3a')][_0xd820('0x27')]()),_0x8a45dd=_0x4317d7[_0xd820('0x26')][_0xd820('0x3')](_0x4317d7[_0xd820('0x26')][_0xd820('0x16')](_0x511773[0x0],_0xd820('0x3b')),_0x4317d7['model'][_0xd820('0x16')](_0x511773[_0x511773['length']-0x1],_0xd820('0x14')));_0x4317d7[_0xd820('0x26')][_0xd820('0x2c')](()=>{_0x27983a[_0xd820('0x2a')](_0x8a45dd,{'commandName':_0x197e47,'commandParams':[],'formatGroupId':'listIndent'},function(_0x206dd6){const _0x410c8a=new Set();for(const _0x17317c of _0x206dd6){let _0x5c41c3=_0x17317c[_0xd820('0xc')];for(;_0x5c41c3&&_0x5c41c3[_0xd820('0x3c')]('listIndent')>_0x17317c[_0xd820('0x3c')](_0xd820('0x31'));)_0x410c8a['add'](_0x5c41c3),_0x5c41c3=_0x5c41c3[_0xd820('0xc')];}return Array['from'](_0x410c8a);}(_0x511773));});};}_0x27983a[_0xd820('0x37')]('numberedList',_0x483eaa(_0xd820('0x5'))),_0x27983a[_0xd820('0x37')]('bulletedList',_0x483eaa('bulletedList')),_0x189d23&&_0x27983a['enableCommand'](_0xd820('0x35'),_0x483eaa(_0xd820('0x35'))),_0x27983a[_0xd820('0x37')]('indentList',_0x5bc137(_0xd820('0x24'))),_0x27983a[_0xd820('0x37')](_0xd820('0x8'),_0x5bc137(_0xd820('0x8'))),_0x189d23&&_0x27983a[_0xd820('0x37')](_0xd820('0xa'),()=>{const _0xb0d45=_0x4317d7[_0xd820('0xb')][_0xd820('0x9')]('checkTodoList'),_0x3d75f1=Array[_0xd820('0x11')](_0xb0d45[_0xd820('0x1c')]);_0x3d75f1[_0xd820('0x19')](_0x21ab89=>_0x21ab89[_0xd820('0x3c')]('todoListChecked')!=_0xb0d45[_0xd820('0x1')]),_0x4317d7[_0xd820('0x26')][_0xd820('0x2c')](()=>{for(const _0x237a8f of _0x3d75f1)_0x27983a[_0xd820('0x2a')](_0x237a8f,{'commandName':_0xd820('0xa'),'commandParams':[{'forceValue':!_0xb0d45[_0xd820('0x1')]}]});});}),_0x27983a[_0xd820('0x36')][_0xd820('0x17')](_0xd820('0x40'),_0x41fd3a=>_0x85b51b(_0x14a7c2,_0xd820('0x25'),_0x41fd3a)),_0x27983a[_0xd820('0x36')][_0xd820('0x18')](_0x23e4f1=>{const {data:_0x4641c6}=_0x23e4f1;if(_0x4641c6){if(_0xd820('0x5')==_0x4641c6[_0xd820('0x23')]||_0xd820('0x2f')==_0x4641c6[_0xd820('0x23')]||'todoList'==_0x4641c6[_0xd820('0x23')])switch(_0x4641c6[_0xd820('0x23')][_0xd820('0x2b')](_0xd820('0x32'),'')){case _0xd820('0x22'):return _0x55b506(_0x85b51b(_0x14a7c2,_0xd820('0xe')));case'numbered':return _0x55b506(_0x85b51b(_0x14a7c2,'ELEMENT_NUMBERED_LIST'));case _0xd820('0x15'):return _0x55b506(_0x85b51b(_0x14a7c2,_0xd820('0x0')));}if(_0xd820('0x24')==_0x4641c6[_0xd820('0x23')])return{'type':'format','content':_0x85b51b(_0x14a7c2,'*Indent:*\x20%0',_0x85b51b(_0x14a7c2,_0xd820('0x25')))};if(_0xd820('0x8')==_0x4641c6[_0xd820('0x23')])return{'type':_0xd820('0x1d'),'content':_0x85b51b(_0x14a7c2,_0xd820('0x6'),_0x85b51b(_0x14a7c2,_0xd820('0x25')))};if(_0xd820('0xa')==_0x4641c6['commandName'])return _0x4641c6['commandParams'][0x0][_0xd820('0x33')]?{'type':'format','content':_0x85b51b(_0x14a7c2,_0xd820('0x3d'))}:{'type':_0xd820('0x1d'),'content':_0x85b51b(_0x14a7c2,_0xd820('0x1f'))};}function _0x55b506(_0x3e0de2){return{'type':_0xd820('0x1d'),'content':_0x85b51b(_0x14a7c2,_0xd820('0x30'),_0x3e0de2)};}});}}function ne(_0x2b2851){const _0x700633=_0x2b2851[_0xd820('0x3c')]('listIndent');if(0x0==_0x700633)return _0x2b2851;let _0x268fc6=_0x2b2851;for(;_0x2b2851['previousSibling']&&_0x2b2851['previousSibling']['is'](_0xd820('0x7'),_0xd820('0x40'));){const _0x1b2a8d=_0x2b2851[_0xd820('0x10')][_0xd820('0x3c')](_0xd820('0x31'));if(_0x1b2a8d==_0x700633)_0x268fc6=_0x2b2851[_0xd820('0x10')];else{if(_0x1b2a8d<_0x700633)break;}_0x2b2851=_0x2b2851[_0xd820('0x10')];}return _0x268fc6;}function oe(_0x4e252b){const _0x3fa886=[];if(_0x4e252b['is'](_0xd820('0x7'),_0xd820('0x40'))&&_0x4e252b[_0xd820('0x3c')](_0xd820('0x31'))>0x0){let _0x1fe9b6=_0x4e252b[_0xd820('0xc')];for(;_0x1fe9b6&&_0xd820('0x40')==_0x1fe9b6[_0xd820('0x34')]&&_0x1fe9b6[_0xd820('0x3c')](_0xd820('0x31'))==_0x4e252b[_0xd820('0x3c')](_0xd820('0x31'));)_0x3fa886[_0xd820('0x21')](_0x1fe9b6),_0x1fe9b6=_0x1fe9b6[_0xd820('0xc')];}return _0x3fa886;}