@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231026.0 → 0.0.0-nightly-20231027.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/importword.js +1 -1
  29. package/src/integrations/indent.js +1 -1
  30. package/src/integrations/inputcommand.js +1 -1
  31. package/src/integrations/link.js +1 -1
  32. package/src/integrations/list.js +1 -1
  33. package/src/integrations/listproperties.js +1 -1
  34. package/src/integrations/mediaembed.js +1 -1
  35. package/src/integrations/mention.js +1 -1
  36. package/src/integrations/pagebreak.js +1 -1
  37. package/src/integrations/paragraph.js +1 -1
  38. package/src/integrations/removeformat.js +1 -1
  39. package/src/integrations/restrictededitingmode.js +1 -1
  40. package/src/integrations/shiftentercommand.js +1 -1
  41. package/src/integrations/standardeditingmode.js +1 -1
  42. package/src/integrations/style.js +1 -1
  43. package/src/integrations/table.js +1 -1
  44. package/src/integrations/tablecaption.js +1 -1
  45. package/src/integrations/tableclipboard.js +1 -1
  46. package/src/integrations/tablecolumnresize.js +1 -1
  47. package/src/integrations/tableheadings.js +1 -1
  48. package/src/integrations/tablemergesplit.js +1 -1
  49. package/src/integrations/tableofcontents.js +1 -1
  50. package/src/integrations/tableproperties.js +1 -1
  51. package/src/integrations/template.js +1 -1
  52. package/src/integrations/title.js +1 -1
  53. package/src/integrations/undo.js +1 -1
  54. package/src/integrations/utils.js +1 -1
  55. package/src/suggestion.js +1 -1
  56. package/src/suggestiondescriptionfactory.js +1 -1
  57. package/src/trackchanges.js +1 -1
  58. package/src/trackchangesdata.js +1 -1
  59. package/src/trackchangesediting.js +1 -1
  60. package/src/trackchangesui.js +1 -1
  61. package/src/ui/suggestioncontroller.js +1 -1
  62. package/src/ui/view/basesuggestionthreadview.js +1 -1
  63. package/src/ui/view/suggestionthreadview.js +1 -1
  64. package/src/utils/common-translations.js +1 -1
  65. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ee3=['change','TrackChangesEditing','get','config','_descriptionFactory','fontFamily','fontBackgroundColor.colors','commandParams','FontSizeEditing','*Reset\x20font\x20size*','markInlineFormat','plugins','FontFamilyEditing','*Set\x20font\x20color:*\x20%0','_enableCommand','*Set\x20font\x20size:*\x20%0','fontSize.options','value','commandName','fontColor','from','enableCommand','selection','fontSize','trim','format','*Reset\x20font\x20color*','toLowerCase','editor','FontBackgroundColorEditing','fontColor.colors','model','fontBackgroundColor','registerDescriptionCallback','FontColorEditing','find','isCollapsed','FontSize','*Set\x20font\x20background\x20color:*\x20%0'];(function(_0x31873a,_0x5ee372){const _0x415e9d=function(_0x280f42){while(--_0x280f42){_0x31873a['push'](_0x31873a['shift']());}};_0x415e9d(++_0x5ee372);}(_0x5ee3,0x134));const _0x415e=function(_0x31873a,_0x5ee372){_0x31873a=_0x31873a-0x0;let _0x415e9d=_0x5ee3[_0x31873a];return _0x415e9d;};import{Plugin as _0x164962}from'ckeditor5/src/core';import{normalizeColorOptions as _0x238a83}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0xf40336}from'./utils';import{getTranslation as _0x245748}from'../utils/common-translations';const eo=[{'pluginName':_0x415e('0xc'),'commandName':'fontSize'},{'pluginName':_0x415e('0x10'),'commandName':_0x415e('0x9')},{'pluginName':_0x415e('0x26'),'commandName':_0x415e('0x17')},{'pluginName':_0x415e('0x21'),'commandName':_0x415e('0x24')}];export default class W extends _0x164962{['afterInit'](){const _0x2441ac=this['editor']['locale'];for(const {pluginName:_0xc6f409,commandName:_0x1e1a51}of eo)this[_0x415e('0x20')][_0x415e('0xf')]['has'](_0xc6f409)&&this[_0x415e('0x12')](_0x1e1a51);this['editor'][_0x415e('0xf')]['get']('TrackChangesEditing')[_0x415e('0x8')][_0x415e('0x25')](_0x3f1bb9=>{const _0x40fe97=_0x2441ac['t'],{data:_0x3bd375}=_0x3f1bb9;if(null!=_0x3bd375){if(_0x415e('0x1b')==_0x3bd375[_0x415e('0x16')]){const _0x2dfa95=_0x3bd375[_0x415e('0xb')][0x0][_0x415e('0x15')];if(_0x2dfa95){const _0x141637=_0x40fe97(this[_0x415e('0x20')][_0x415e('0xf')]['get'](_0x415e('0x2'))['normalizeSizeOptions'](this[_0x415e('0x20')][_0x415e('0x7')]['get'](_0x415e('0x14')))['find'](_0x351e21=>_0x351e21[_0x415e('0x23')]==_0x2dfa95)['title'])[_0x415e('0x1f')]();return{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0x13'),_0x141637)};}return{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0xd'))};}if('fontFamily'==_0x3bd375[_0x415e('0x16')]){const _0x318562=_0x3bd375['commandParams'][0x0][_0x415e('0x15')];return _0x318562?{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,'*Set\x20font\x20family:*\x20%0',_0x318562)}:{'type':'format','content':_0x245748(_0x2441ac,'*Reset\x20font\x20family*')};}if(_0x415e('0x17')==_0x3bd375[_0x415e('0x16')]){const _0x5d3e26=_0x3bd375[_0x415e('0xb')][0x0][_0x415e('0x15')];if(_0x5d3e26){const _0x6a7087=_0x238a83(this[_0x415e('0x20')][_0x415e('0x7')][_0x415e('0x6')](_0x415e('0x22')))[_0x415e('0x0')](_0x48502f=>_0x48502f[_0x415e('0x23')]==_0x5d3e26);let _0x22db74=_0x5d3e26,_0x5d8e1e='';return _0x6a7087&&(_0x22db74=_0x6a7087['label'],_0x5d8e1e=_0x40fe97(_0x22db74)[_0x415e('0x1f')]()),{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0x11'),_0x5d8e1e)[_0x415e('0x1c')](),'color':{'value':_0x5d3e26,'title':_0x5d8e1e||_0x22db74}};}return{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0x1e'))};}if('fontBackgroundColor'==_0x3bd375[_0x415e('0x16')]){const _0x32f978=_0x3bd375[_0x415e('0xb')][0x0][_0x415e('0x15')];if(_0x32f978){const _0x4d96dc=_0x238a83(this[_0x415e('0x20')][_0x415e('0x7')][_0x415e('0x6')](_0x415e('0xa')))[_0x415e('0x0')](_0x20d31f=>_0x20d31f[_0x415e('0x23')]==_0x32f978);let _0x801b9a=_0x32f978,_0xbe774e='';return _0x4d96dc&&(_0x801b9a=_0x4d96dc['label'],_0xbe774e=_0x40fe97(_0x801b9a)['toLowerCase']()),{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,_0x415e('0x3'),_0xbe774e)[_0x415e('0x1c')](),'color':{'value':_0x32f978,'title':_0xbe774e||_0x801b9a}};}return{'type':_0x415e('0x1d'),'content':_0x245748(_0x2441ac,'*Reset\x20font\x20background\x20color*')};}}});}[_0x415e('0x12')](_0x2a58a9){const _0x86f235=this[_0x415e('0x20')];_0x86f235['plugins'][_0x415e('0x6')]('TrackChangesEditing')[_0x415e('0x19')](_0x2a58a9,(_0x2432cc,_0x472395={})=>{const _0x1493cd=_0x86f235['model']['document'][_0x415e('0x1a')],_0x1f8328=_0x472395['value'];_0x1493cd[_0x415e('0x1')]?_0x2432cc(_0x472395):_0x86f235[_0x415e('0x23')][_0x415e('0x4')](()=>{const _0x4de460=Array[_0x415e('0x18')](_0x1493cd['getRanges']());for(const _0x15fccf of _0x4de460){const _0x5f528a=_0x1f8328?[_0x15fccf]:_0xf40336(_0x2a58a9,_0x15fccf,_0x86f235['model']);for(const _0x62679b of _0x5f528a)_0x86f235[_0x415e('0xf')][_0x415e('0x6')](_0x415e('0x5'))[_0x415e('0xe')](_0x62679b,{'commandName':_0x2a58a9,'commandParams':[{'value':_0x1f8328}]});}});});}}
23
+ const _0x4e3e=['FontFamilyEditing','afterInit','get','getRanges','_enableCommand','*Set\x20font\x20family:*\x20%0','document','change','fontBackgroundColor','value','trim','toLowerCase','*Reset\x20font\x20color*','fontSize','FontColorEditing','isCollapsed','has','locale','commandName','fontColor.colors','*Set\x20font\x20background\x20color:*\x20%0','_descriptionFactory','from','*Set\x20font\x20color:*\x20%0','fontBackgroundColor.colors','TrackChangesEditing','plugins','*Reset\x20font\x20family*','find','label','format','enableCommand','*Set\x20font\x20size:*\x20%0','FontSize','*Reset\x20font\x20size*','fontColor','model','commandParams','editor','config'];(function(_0x1553cc,_0x4e3e4b){const _0x5cc793=function(_0x3b3a86){while(--_0x3b3a86){_0x1553cc['push'](_0x1553cc['shift']());}};_0x5cc793(++_0x4e3e4b);}(_0x4e3e,0xbd));const _0x5cc7=function(_0x1553cc,_0x4e3e4b){_0x1553cc=_0x1553cc-0x0;let _0x5cc793=_0x4e3e[_0x1553cc];return _0x5cc793;};import{Plugin as _0x78603d}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4d0f97}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x2cddba}from'./utils';import{getTranslation as _0x3d1c49}from'../utils/common-translations';const eo=[{'pluginName':'FontSizeEditing','commandName':_0x5cc7('0x18')},{'pluginName':_0x5cc7('0xb'),'commandName':'fontFamily'},{'pluginName':_0x5cc7('0x19'),'commandName':_0x5cc7('0x6')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x5cc7('0x13')}];export default class W extends _0x78603d{[_0x5cc7('0xc')](){const _0x147e55=this[_0x5cc7('0x9')][_0x5cc7('0x1c')];for(const {pluginName:_0x1bd87c,commandName:_0xee206}of eo)this[_0x5cc7('0x9')]['plugins'][_0x5cc7('0x1b')](_0x1bd87c)&&this[_0x5cc7('0xf')](_0xee206);this[_0x5cc7('0x9')][_0x5cc7('0x25')][_0x5cc7('0xd')](_0x5cc7('0x24'))[_0x5cc7('0x20')]['registerDescriptionCallback'](_0x19425e=>{const _0xbf17e0=_0x147e55['t'],{data:_0x5a657f}=_0x19425e;if(null!=_0x5a657f){if(_0x5cc7('0x18')==_0x5a657f[_0x5cc7('0x1d')]){const _0xe7a3f5=_0x5a657f[_0x5cc7('0x8')][0x0]['value'];if(_0xe7a3f5){const _0x509e5a=_0xbf17e0(this[_0x5cc7('0x9')]['plugins'][_0x5cc7('0xd')](_0x5cc7('0x4'))['normalizeSizeOptions'](this[_0x5cc7('0x9')]['config'][_0x5cc7('0xd')]('fontSize.options'))[_0x5cc7('0x27')](_0x510b76=>_0x510b76[_0x5cc7('0x7')]==_0xe7a3f5)['title'])[_0x5cc7('0x16')]();return{'type':_0x5cc7('0x1'),'content':_0x3d1c49(_0x147e55,_0x5cc7('0x3'),_0x509e5a)};}return{'type':_0x5cc7('0x1'),'content':_0x3d1c49(_0x147e55,_0x5cc7('0x5'))};}if('fontFamily'==_0x5a657f[_0x5cc7('0x1d')]){const _0x2c3490=_0x5a657f['commandParams'][0x0][_0x5cc7('0x14')];return _0x2c3490?{'type':_0x5cc7('0x1'),'content':_0x3d1c49(_0x147e55,_0x5cc7('0x10'),_0x2c3490)}:{'type':_0x5cc7('0x1'),'content':_0x3d1c49(_0x147e55,_0x5cc7('0x26'))};}if(_0x5cc7('0x6')==_0x5a657f[_0x5cc7('0x1d')]){const _0x19441c=_0x5a657f[_0x5cc7('0x8')][0x0][_0x5cc7('0x14')];if(_0x19441c){const _0xa3c6c7=_0x4d0f97(this[_0x5cc7('0x9')][_0x5cc7('0xa')]['get'](_0x5cc7('0x1e')))[_0x5cc7('0x27')](_0x595326=>_0x595326[_0x5cc7('0x7')]==_0x19441c);let _0x20fd2a=_0x19441c,_0x4553f5='';return _0xa3c6c7&&(_0x20fd2a=_0xa3c6c7[_0x5cc7('0x0')],_0x4553f5=_0xbf17e0(_0x20fd2a)['toLowerCase']()),{'type':_0x5cc7('0x1'),'content':_0x3d1c49(_0x147e55,_0x5cc7('0x22'),_0x4553f5)[_0x5cc7('0x15')](),'color':{'value':_0x19441c,'title':_0x4553f5||_0x20fd2a}};}return{'type':_0x5cc7('0x1'),'content':_0x3d1c49(_0x147e55,_0x5cc7('0x17'))};}if('fontBackgroundColor'==_0x5a657f[_0x5cc7('0x1d')]){const _0x58a182=_0x5a657f['commandParams'][0x0][_0x5cc7('0x14')];if(_0x58a182){const _0x510046=_0x4d0f97(this['editor'][_0x5cc7('0xa')]['get'](_0x5cc7('0x23')))[_0x5cc7('0x27')](_0x13c0c9=>_0x13c0c9[_0x5cc7('0x7')]==_0x58a182);let _0x509bdc=_0x58a182,_0x2a8c70='';return _0x510046&&(_0x509bdc=_0x510046[_0x5cc7('0x0')],_0x2a8c70=_0xbf17e0(_0x509bdc)[_0x5cc7('0x16')]()),{'type':_0x5cc7('0x1'),'content':_0x3d1c49(_0x147e55,_0x5cc7('0x1f'),_0x2a8c70)[_0x5cc7('0x15')](),'color':{'value':_0x58a182,'title':_0x2a8c70||_0x509bdc}};}return{'type':_0x5cc7('0x1'),'content':_0x3d1c49(_0x147e55,'*Reset\x20font\x20background\x20color*')};}}});}[_0x5cc7('0xf')](_0x20e6a0){const _0x378b7c=this['editor'];_0x378b7c[_0x5cc7('0x25')]['get']('TrackChangesEditing')[_0x5cc7('0x2')](_0x20e6a0,(_0x798a7a,_0x2250e9={})=>{const _0x47ed19=_0x378b7c[_0x5cc7('0x7')][_0x5cc7('0x11')]['selection'],_0xa09a06=_0x2250e9[_0x5cc7('0x14')];_0x47ed19[_0x5cc7('0x1a')]?_0x798a7a(_0x2250e9):_0x378b7c[_0x5cc7('0x7')][_0x5cc7('0x12')](()=>{const _0x4e5ede=Array[_0x5cc7('0x21')](_0x47ed19[_0x5cc7('0xe')]());for(const _0x35ae0c of _0x4e5ede){const _0x4f343d=_0xa09a06?[_0x35ae0c]:_0x2cddba(_0x20e6a0,_0x35ae0c,_0x378b7c[_0x5cc7('0x7')]);for(const _0x5a0cdf of _0x4f343d)_0x378b7c[_0x5cc7('0x25')]['get'](_0x5cc7('0x24'))['markInlineFormat'](_0x5a0cdf,{'commandName':_0x20e6a0,'commandParams':[{'value':_0xa09a06}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdffa=['TrackChangesEditing','title','join','change','from','slice','forward','fontColor.colors','getSelectedBlocks','locale','getLastPosition','pasteFormat','_descriptionFactory','charAt','getRanges','fontSize','copyFormat','enableCommand','plugins','toUpperCase','*Set\x20format\x20to:*\x20%0','afterInit','commands','createSelection','isBlock','FontSize','get','createRange','getFirstPosition','model','schema','boolean','entries','*Remove\x20all\x20formatting*','getAttributeProperties','config','fontBackgroundColor','toLowerCase','registerDescriptionCallback','format','length','label','word','keys','document','isFormatting','find','split','fontColor','normalizeSizeOptions','getAttributes','modifySelection','backward','selection','isCollapsed','getItems','editor'];(function(_0x488d0d,_0xdffa54){const _0x5d6e10=function(_0x1712dd){while(--_0x1712dd){_0x488d0d['push'](_0x488d0d['shift']());}};_0x5d6e10(++_0xdffa54);}(_0xdffa,0x195));const _0x5d6e=function(_0x488d0d,_0xdffa54){_0x488d0d=_0x488d0d-0x0;let _0x5d6e10=_0xdffa[_0x488d0d];return _0x5d6e10;};import{Plugin as _0x5737f4}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1ed576}from'ckeditor5/src/ui';import{first as _0x53d5ef}from'ckeditor5/src/utils';import{getTranslation as _0x269031}from'../utils/common-translations';export default class J extends _0x5737f4{[_0x5d6e('0xf')](){const _0x41ae60=this[_0x5d6e('0x32')],_0x505a6d=_0x41ae60[_0x5d6e('0x17')],_0x4fd766=_0x505a6d[_0x5d6e('0x26')][_0x5d6e('0x2f')],_0x5edffd=_0x41ae60['plugins'][_0x5d6e('0x14')](_0x5d6e('0x33')),_0x41ae9c=_0x41ae60['locale'],_0x52c43d=_0x41ae60[_0x5d6e('0x10')][_0x5d6e('0x14')](_0x5d6e('0xa')),_0xa5a726=_0x41ae60[_0x5d6e('0x10')]['get'](_0x5d6e('0x5'));_0x52c43d&&_0xa5a726&&(_0x5edffd[_0x5d6e('0xb')](_0x5d6e('0x5'),(_0x3d3618,_0x4d5ae6={})=>{const _0x2f8794=_0x4d5ae6;_0x505a6d[_0x5d6e('0x36')](()=>{const _0x33ceae=Array[_0x5d6e('0x37')](_0x4fd766['getRanges']()),_0x2e9f86=_0x4fd766[_0x5d6e('0x30')]?[io(_0x505a6d,_0x4fd766)]:_0x33ceae,_0x23501e=!!_0x53d5ef(function*(_0x3dc5c5,_0x3ee2c5){const _0xb920b2=_0x143412=>!!_0x53d5ef(function*(_0x1c12f5,_0x5f06df){for(const [_0x2dee91]of _0x1c12f5[_0x5d6e('0x2c')]()){const _0x547fd7=_0x5f06df[_0x5d6e('0x1c')](_0x2dee91);_0x547fd7&&_0x547fd7[_0x5d6e('0x27')]&&(yield _0x2dee91);}}(_0x143412,_0x3ee2c5));for(const _0x2a2314 of _0x3dc5c5[_0x5d6e('0x8')]())for(const _0x2bf824 of _0x2a2314[_0x5d6e('0x31')]())!_0x3ee2c5[_0x5d6e('0x12')](_0x2bf824)&&_0xb920b2(_0x2bf824)&&(yield _0x2bf824);for(const _0x5d21c0 of _0x3dc5c5[_0x5d6e('0x2')]())_0xb920b2(_0x5d21c0)&&(yield _0x5d21c0);_0xb920b2(_0x3dc5c5)&&(yield _0x3dc5c5);}(_0x4fd766,_0x505a6d[_0x5d6e('0x18')]));if(_0x23501e||0x0!==Object[_0x5d6e('0x25')](_0x2f8794)[_0x5d6e('0x22')])for(const _0x3b0e12 of _0x2e9f86)_0x5edffd['markInlineFormat'](_0x3b0e12,{'commandName':_0x5d6e('0x5'),'commandParams':[_0x2f8794]});});}),_0x5edffd[_0x5d6e('0x6')][_0x5d6e('0x20')](_0x3fed00=>{const {data:_0x7f9871}=_0x3fed00;if(_0x7f9871&&_0x5d6e('0x5')===_0x7f9871['commandName']){const _0x339055=[],_0x3ce2f9=_0x7f9871['commandParams'][0x0];for(const [_0x184ee6,_0x241702]of Object[_0x5d6e('0x1a')](_0x3ce2f9))_0x339055['push'](so(_0x41ae60,_0x184ee6,_0x241702));return _0x339055['length']?{'type':_0x5d6e('0x21'),'content':_0x269031(_0x41ae9c,_0x5d6e('0xe'),_0x339055[_0x5d6e('0x35')](',\x20'))}:{'type':_0x5d6e('0x21'),'content':_0x269031(_0x41ae9c,_0x5d6e('0x1b'))};}}),_0x41ae60[_0x5d6e('0xc')]['get'](_0x5d6e('0x33'))[_0x5d6e('0xb')](_0x5d6e('0xa')));}}function io(_0x5778e2,_0x403ee4){const _0x355846=_0x5778e2[_0x5d6e('0x11')](_0x403ee4);_0x5778e2[_0x5d6e('0x2d')](_0x355846,{'unit':_0x5d6e('0x24'),'direction':_0x5d6e('0x2e')});const _0x5bb01d=_0x355846[_0x5d6e('0x16')]();_0x5778e2[_0x5d6e('0x2d')](_0x355846,{'unit':'word','direction':_0x5d6e('0x0')});const _0x120d5b=_0x355846[_0x5d6e('0x4')]();return _0x5778e2[_0x5d6e('0x15')](_0x5bb01d,_0x120d5b);}function so(_0x46ba83,_0x166961,_0x4b804e){const _0x4f6296=_0x46ba83[_0x5d6e('0x3')]['t'],_0x410b15=_0x166961[_0x5d6e('0x29')](/(?=[A-Z])/)[_0x5d6e('0x35')]('\x20'),_0x471bae=_0x4f6296(_0x410b15[_0x5d6e('0x7')](0x0)[_0x5d6e('0xd')]()+_0x410b15[_0x5d6e('0x38')](0x1))[_0x5d6e('0x1f')]();if(_0x5d6e('0x19')==typeof _0x4b804e)return _0x471bae;if(_0x5d6e('0x2a')===_0x166961||_0x5d6e('0x1e')===_0x166961){const _0x5966f8=_0x1ed576(_0x46ba83[_0x5d6e('0x1d')][_0x5d6e('0x14')](_0x5d6e('0x1')))[_0x5d6e('0x28')](_0x42ec67=>_0x42ec67['model']==_0x4b804e);return _0x471bae+'\x20('+(_0x5966f8?_0x4f6296(_0x5966f8[_0x5d6e('0x23')])[_0x5d6e('0x1f')]():_0x4b804e)+')';}if(_0x5d6e('0x9')===_0x166961&&isNaN(parseFloat(_0x4b804e))){const _0x291fed=_0x46ba83[_0x5d6e('0xc')][_0x5d6e('0x14')](_0x5d6e('0x13'))[_0x5d6e('0x2b')](_0x46ba83[_0x5d6e('0x1d')]['get']('fontSize.options'))[_0x5d6e('0x28')](_0x529a1a=>_0x529a1a[_0x5d6e('0x17')]==_0x4b804e);return _0x471bae+'\x20('+(_0x291fed?_0x4f6296(_0x291fed[_0x5d6e('0x34')])[_0x5d6e('0x1f')]():_0x4b804e)+')';}return _0x471bae+'\x20('+_0x4b804e+')';}
23
+ const _0x19d9=['*Remove\x20all\x20formatting*','getLastPosition','commandParams','fontBackgroundColor','getSelectedBlocks','slice','find','enableCommand','backward','change','from','plugins','registerDescriptionCallback','word','fontColor.colors','format','title','getFirstPosition','normalizeSizeOptions','document','commands','length','editor','schema','markInlineFormat','fontColor','selection','toLowerCase','getRanges','FontSize','copyFormat','modifySelection','config','pasteFormat','boolean','fontSize','afterInit','_descriptionFactory','commandName','entries','get','isFormatting','join','createSelection','toUpperCase','model','locale','getAttributeProperties','forward','getItems','*Set\x20format\x20to:*\x20%0'];(function(_0x340559,_0x19d9fb){const _0x5959f2=function(_0x13bfeb){while(--_0x13bfeb){_0x340559['push'](_0x340559['shift']());}};_0x5959f2(++_0x19d9fb);}(_0x19d9,0x13e));const _0x5959=function(_0x340559,_0x19d9fb){_0x340559=_0x340559-0x0;let _0x5959f2=_0x19d9[_0x340559];return _0x5959f2;};import{Plugin as _0x39fcc3}from'ckeditor5/src/core';import{normalizeColorOptions as _0x534e0b}from'ckeditor5/src/ui';import{first as _0x7f2141}from'ckeditor5/src/utils';import{getTranslation as _0x321b01}from'../utils/common-translations';export default class J extends _0x39fcc3{[_0x5959('0x18')](){const _0xb60534=this[_0x5959('0xa')],_0x4fc071=_0xb60534[_0x5959('0x21')],_0x5cec89=_0x4fc071[_0x5959('0x7')][_0x5959('0xe')],_0x36de6a=_0xb60534['plugins']['get']('TrackChangesEditing'),_0x51b9ef=_0xb60534[_0x5959('0x22')],_0x45c613=_0xb60534[_0x5959('0x8')][_0x5959('0x1c')](_0x5959('0x12')),_0x2c6c8e=_0xb60534[_0x5959('0x8')][_0x5959('0x1c')](_0x5959('0x15'));_0x45c613&&_0x2c6c8e&&(_0x36de6a[_0x5959('0x2e')]('pasteFormat',(_0x5cd40c,_0x5cd3e3={})=>{const _0x8a55f5=_0x5cd3e3;_0x4fc071[_0x5959('0x30')](()=>{const _0x3a6bf5=Array[_0x5959('0x31')](_0x5cec89[_0x5959('0x10')]()),_0xeee0b6=_0x5cec89['isCollapsed']?[io(_0x4fc071,_0x5cec89)]:_0x3a6bf5,_0x4f8df4=!!_0x7f2141(function*(_0x7bf3e7,_0x3bb042){const _0x4227ee=_0x371409=>!!_0x7f2141(function*(_0x273643,_0x1c2a5e){for(const [_0x54a4c6]of _0x273643['getAttributes']()){const _0x53725f=_0x1c2a5e[_0x5959('0x23')](_0x54a4c6);_0x53725f&&_0x53725f[_0x5959('0x1d')]&&(yield _0x54a4c6);}}(_0x371409,_0x3bb042));for(const _0x1e58cc of _0x7bf3e7[_0x5959('0x10')]())for(const _0x244780 of _0x1e58cc[_0x5959('0x25')]())!_0x3bb042['isBlock'](_0x244780)&&_0x4227ee(_0x244780)&&(yield _0x244780);for(const _0xfccec8 of _0x7bf3e7[_0x5959('0x2b')]())_0x4227ee(_0xfccec8)&&(yield _0xfccec8);_0x4227ee(_0x7bf3e7)&&(yield _0x7bf3e7);}(_0x5cec89,_0x4fc071[_0x5959('0xb')]));if(_0x4f8df4||0x0!==Object['keys'](_0x8a55f5)[_0x5959('0x9')])for(const _0x160b37 of _0xeee0b6)_0x36de6a[_0x5959('0xc')](_0x160b37,{'commandName':_0x5959('0x15'),'commandParams':[_0x8a55f5]});});}),_0x36de6a[_0x5959('0x19')][_0x5959('0x0')](_0x4b9980=>{const {data:_0x34f49c}=_0x4b9980;if(_0x34f49c&&_0x5959('0x15')===_0x34f49c[_0x5959('0x1a')]){const _0x1597e9=[],_0x3c9599=_0x34f49c[_0x5959('0x29')][0x0];for(const [_0x260951,_0xbb7cc8]of Object[_0x5959('0x1b')](_0x3c9599))_0x1597e9['push'](so(_0xb60534,_0x260951,_0xbb7cc8));return _0x1597e9['length']?{'type':'format','content':_0x321b01(_0x51b9ef,_0x5959('0x26'),_0x1597e9['join'](',\x20'))}:{'type':_0x5959('0x3'),'content':_0x321b01(_0x51b9ef,_0x5959('0x27'))};}}),_0xb60534[_0x5959('0x32')][_0x5959('0x1c')]('TrackChangesEditing')[_0x5959('0x2e')](_0x5959('0x12')));}}function io(_0x229a81,_0x3990e5){const _0x3e36e7=_0x229a81[_0x5959('0x1f')](_0x3990e5);_0x229a81[_0x5959('0x13')](_0x3e36e7,{'unit':'word','direction':_0x5959('0x2f')});const _0x4061a1=_0x3e36e7[_0x5959('0x5')]();_0x229a81['modifySelection'](_0x3e36e7,{'unit':_0x5959('0x1'),'direction':_0x5959('0x24')});const _0x4ef5a8=_0x3e36e7[_0x5959('0x28')]();return _0x229a81['createRange'](_0x4061a1,_0x4ef5a8);}function so(_0x11c5a7,_0x3e33b6,_0x39c509){const _0x1c803a=_0x11c5a7[_0x5959('0x22')]['t'],_0x1fba23=_0x3e33b6['split'](/(?=[A-Z])/)[_0x5959('0x1e')]('\x20'),_0x556624=_0x1c803a(_0x1fba23['charAt'](0x0)[_0x5959('0x20')]()+_0x1fba23[_0x5959('0x2c')](0x1))['toLowerCase']();if(_0x5959('0x16')==typeof _0x39c509)return _0x556624;if(_0x5959('0xd')===_0x3e33b6||_0x5959('0x2a')===_0x3e33b6){const _0x5cf77d=_0x534e0b(_0x11c5a7['config'][_0x5959('0x1c')](_0x5959('0x2')))['find'](_0x2d5354=>_0x2d5354[_0x5959('0x21')]==_0x39c509);return _0x556624+'\x20('+(_0x5cf77d?_0x1c803a(_0x5cf77d['label'])[_0x5959('0xf')]():_0x39c509)+')';}if(_0x5959('0x17')===_0x3e33b6&&isNaN(parseFloat(_0x39c509))){const _0x4ea69e=_0x11c5a7[_0x5959('0x32')][_0x5959('0x1c')](_0x5959('0x11'))[_0x5959('0x6')](_0x11c5a7[_0x5959('0x14')][_0x5959('0x1c')]('fontSize.options'))[_0x5959('0x2d')](_0x39b923=>_0x39b923['model']==_0x39c509);return _0x556624+'\x20('+(_0x4ea69e?_0x1c803a(_0x4ea69e[_0x5959('0x4')])[_0x5959('0xf')]():_0x39c509)+')';}return _0x556624+'\x20('+_0x39c509+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ea1=['document','getSelectedBlocks','parent','registerElementLabel','format','paragraph','commandParams','match','heading','name','find','HeadingEditing','value','has','get','enableCommand','markBlockFormat','heading.options','filter','config','model','editor','checkChild','plugins','selection','blockName','ELEMENT_HEADING_CUSTOM','_descriptionFactory','formatBlock','title','isObject','locale'];(function(_0x231f63,_0x2ea11d){const _0x37fe19=function(_0x26df9c){while(--_0x26df9c){_0x231f63['push'](_0x231f63['shift']());}};_0x37fe19(++_0x2ea11d);}(_0x2ea1,0xf7));const _0x37fe=function(_0x231f63,_0x2ea11d){_0x231f63=_0x231f63-0x0;let _0x37fe19=_0x2ea1[_0x231f63];return _0x37fe19;};import{Plugin as _0x4689ac}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3104c8}from'./utils';import{getTranslation as _0x3990a9}from'../utils/common-translations';export default class K extends _0x4689ac{['afterInit'](){const _0x1139fb=this[_0x37fe('0x1e')],_0x3250e8=_0x1139fb[_0x37fe('0x8')],_0x555d44=_0x1139fb[_0x37fe('0x1c')]['get'](_0x37fe('0x1a'));if(!_0x1139fb[_0x37fe('0x0')][_0x37fe('0x16')](_0x37fe('0x14')))return;const _0x24408d=_0x1139fb[_0x37fe('0x0')][_0x37fe('0x17')]('TrackChangesEditing');_0x24408d[_0x37fe('0x18')](_0x37fe('0x11'),(_0x2ee351,_0xccb487)=>{const _0x3f0079=_0xccb487[_0x37fe('0x15')],_0x3ba1f3=Array['from'](this[_0x37fe('0x1e')][_0x37fe('0x1d')][_0x37fe('0x9')][_0x37fe('0x1')][_0x37fe('0xa')]())[_0x37fe('0x1b')](_0x2d9cc2=>function(_0x1a1243,_0x206b36,_0x3d262f){return _0x3d262f[_0x37fe('0x1f')](_0x1a1243[_0x37fe('0xb')],_0x206b36)&&!_0x3d262f[_0x37fe('0x7')](_0x1a1243)&&_0x1a1243[_0x37fe('0x12')]!=_0x206b36;}(_0x2d9cc2,_0x3f0079,this[_0x37fe('0x1e')]['model']['schema']));_0x1139fb[_0x37fe('0x1d')]['change'](()=>{for(const _0x2c671a of _0x3ba1f3)_0x24408d[_0x37fe('0x19')](_0x2c671a,{'commandName':'heading','commandParams':[_0xccb487],'formatGroupId':_0x37fe('0x2')},_0x3104c8(_0x2c671a));});});for(const _0x1b1864 of _0x555d44)_0x37fe('0xe')!=_0x1b1864[_0x37fe('0x1d')]&&_0x24408d[_0x37fe('0x4')][_0x37fe('0xc')](_0x1b1864[_0x37fe('0x1d')],_0x23745c=>{const _0x1f13d3=nn(_0x1b1864[_0x37fe('0x1d')]);return null!==_0x1f13d3?_0x2894c4(_0x23745c,_0x1f13d3):_0x411f34(_0x23745c,_0x1b1864[_0x37fe('0x6')]);});function _0x2894c4(_0x18635e,_0xeaad61){return _0x3990a9(_0x3250e8,'ELEMENT_HEADING',[_0x18635e,_0xeaad61]);}function _0x411f34(_0x2194c9,_0x12f42b){return _0x3990a9(_0x3250e8,_0x37fe('0x3'),[_0x2194c9,_0x12f42b]);}_0x24408d[_0x37fe('0x4')]['registerDescriptionCallback'](_0x4b51cb=>{const {type:_0x58b1ee,data:_0x5e0f0}=_0x4b51cb;if(_0x37fe('0x5')==_0x58b1ee&&_0x5e0f0&&_0x37fe('0x11')==_0x5e0f0['commandName']){const _0x4a1764=_0x5e0f0[_0x37fe('0xf')][0x0][_0x37fe('0x15')],_0x51a050=nn(_0x4a1764);if(null!==_0x51a050)return{'type':_0x37fe('0xd'),'content':_0x3990a9(_0x3250e8,'*Change\x20to:*\x20%0',_0x2894c4(0x1,_0x51a050))};const _0x38f981=_0x555d44[_0x37fe('0x13')](_0x36fe09=>_0x36fe09[_0x37fe('0x1d')]===_0x4a1764)[_0x37fe('0x6')];return{'type':_0x37fe('0xd'),'content':_0x3990a9(_0x3250e8,'*Change\x20to:*\x20%0',_0x411f34(0x1,_0x38f981))};}});}}function nn(_0x5636f6){const _0x172cb1=_0x5636f6[_0x37fe('0x10')](/^heading(\d+)$/);return _0x172cb1?_0x172cb1[0x1]:null;}
23
+ const _0x5c77=['isObject','getSelectedBlocks','heading','markBlockFormat','formatBlock','checkChild','model','get','HeadingEditing','ELEMENT_HEADING_CUSTOM','*Change\x20to:*\x20%0','filter','title','commandParams','enableCommand','paragraph','name','has','plugins','match','heading.options','format','blockName','editor','ELEMENT_HEADING','_descriptionFactory','registerDescriptionCallback','selection','value','find','document','parent','schema'];(function(_0x40f49c,_0x5c7709){const _0x48f770=function(_0x22ef19){while(--_0x22ef19){_0x40f49c['push'](_0x40f49c['shift']());}};_0x48f770(++_0x5c7709);}(_0x5c77,0x175));const _0x48f7=function(_0x40f49c,_0x5c7709){_0x40f49c=_0x40f49c-0x0;let _0x48f770=_0x5c77[_0x40f49c];return _0x48f770;};import{Plugin as _0x1a9f18}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x10a508}from'./utils';import{getTranslation as _0x5d19df}from'../utils/common-translations';export default class K extends _0x1a9f18{['afterInit'](){const _0x5a2c1f=this[_0x48f7('0xd')],_0xe957ac=_0x5a2c1f['locale'],_0x50de05=_0x5a2c1f['config'][_0x48f7('0x1e')](_0x48f7('0xa'));if(!_0x5a2c1f[_0x48f7('0x8')][_0x48f7('0x7')](_0x48f7('0x1f')))return;const _0x1a567a=_0x5a2c1f['plugins'][_0x48f7('0x1e')]('TrackChangesEditing');_0x1a567a[_0x48f7('0x4')](_0x48f7('0x19'),(_0x5e135f,_0x140e60)=>{const _0x319e24=_0x140e60[_0x48f7('0x12')],_0x4d6469=Array['from'](this[_0x48f7('0xd')]['model'][_0x48f7('0x14')][_0x48f7('0x11')][_0x48f7('0x18')]())[_0x48f7('0x1')](_0x5cf44f=>function(_0x220a0f,_0x50db41,_0x561c94){return _0x561c94[_0x48f7('0x1c')](_0x220a0f[_0x48f7('0x15')],_0x50db41)&&!_0x561c94[_0x48f7('0x17')](_0x220a0f)&&_0x220a0f[_0x48f7('0x6')]!=_0x50db41;}(_0x5cf44f,_0x319e24,this['editor'][_0x48f7('0x1d')][_0x48f7('0x16')]));_0x5a2c1f[_0x48f7('0x1d')]['change'](()=>{for(const _0x2287e1 of _0x4d6469)_0x1a567a[_0x48f7('0x1a')](_0x2287e1,{'commandName':_0x48f7('0x19'),'commandParams':[_0x140e60],'formatGroupId':_0x48f7('0xc')},_0x10a508(_0x2287e1));});});for(const _0xb94cde of _0x50de05)_0x48f7('0x5')!=_0xb94cde[_0x48f7('0x1d')]&&_0x1a567a[_0x48f7('0xf')]['registerElementLabel'](_0xb94cde[_0x48f7('0x1d')],_0x13cac7=>{const _0x98c5c8=nn(_0xb94cde[_0x48f7('0x1d')]);return null!==_0x98c5c8?_0x2f2f2a(_0x13cac7,_0x98c5c8):_0x431b54(_0x13cac7,_0xb94cde[_0x48f7('0x2')]);});function _0x2f2f2a(_0x3adf04,_0x318833){return _0x5d19df(_0xe957ac,_0x48f7('0xe'),[_0x3adf04,_0x318833]);}function _0x431b54(_0x285a6d,_0x100677){return _0x5d19df(_0xe957ac,_0x48f7('0x20'),[_0x285a6d,_0x100677]);}_0x1a567a[_0x48f7('0xf')][_0x48f7('0x10')](_0x41143b=>{const {type:_0x15abb0,data:_0x18abf8}=_0x41143b;if(_0x48f7('0x1b')==_0x15abb0&&_0x18abf8&&_0x48f7('0x19')==_0x18abf8['commandName']){const _0x4d3d6b=_0x18abf8[_0x48f7('0x3')][0x0][_0x48f7('0x12')],_0x4fa7a4=nn(_0x4d3d6b);if(null!==_0x4fa7a4)return{'type':_0x48f7('0xb'),'content':_0x5d19df(_0xe957ac,_0x48f7('0x0'),_0x2f2f2a(0x1,_0x4fa7a4))};const _0x2f7999=_0x50de05[_0x48f7('0x13')](_0x403a48=>_0x403a48[_0x48f7('0x1d')]===_0x4d3d6b)[_0x48f7('0x2')];return{'type':_0x48f7('0xb'),'content':_0x5d19df(_0xe957ac,_0x48f7('0x0'),_0x431b54(0x1,_0x2f7999))};}});}}function nn(_0x27e96e){const _0x187844=_0x27e96e[_0x48f7('0x9')](/^heading(\d+)$/);return _0x187844?_0x187844[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5af3=['editor','push','item','hasAttribute','title','getAttribute','TrackChangesEditing','highlight','registerDescriptionCallback','getFirstPosition','backward','change','createRange','toLowerCase','find','plugins','formatInline','has','afterInit','model','enableCommand','commandName','HighlightEditing','format','selection','isCollapsed','getRanges','get','commandParams','_descriptionFactory','document','FORMAT_HIGHLIGHT','*Remove\x20highlight*','markInlineFormat','value','color','locale'];(function(_0x33189b,_0x5af309){const _0x2c15a6=function(_0x5c9a99){while(--_0x5c9a99){_0x33189b['push'](_0x33189b['shift']());}};_0x2c15a6(++_0x5af309);}(_0x5af3,0x13a));const _0x2c15=function(_0x33189b,_0x5af309){_0x33189b=_0x33189b-0x0;let _0x2c15a6=_0x5af3[_0x33189b];return _0x2c15a6;};import{Plugin as _0x5b1d93}from'ckeditor5/src/core';import{getTranslation as _0x188df9}from'../utils/common-translations';import{getRangesWithAttribute as _0x4dfa56}from'./utils';export default class Q extends _0x5b1d93{[_0x2c15('0x0')](){const _0x1203d5=this[_0x2c15('0x13')];if(!_0x1203d5[_0x2c15('0x22')][_0x2c15('0x24')](_0x2c15('0x4')))return;const _0x468864=_0x1203d5[_0x2c15('0x22')][_0x2c15('0x9')](_0x2c15('0x19'));_0x468864[_0x2c15('0x2')]('highlight',(_0x3d25fa,_0x6d59d4={})=>{const _0x5e7849=_0x1203d5[_0x2c15('0x1')][_0x2c15('0xc')][_0x2c15('0x6')],_0x1b4329=_0x5e7849['getAttribute'](_0x2c15('0x1a'));let _0x21f277=_0x6d59d4[_0x2c15('0x10')],_0xbc3374=[];if(_0x5e7849[_0x2c15('0x7')]){const _0x5547d1=_0x5e7849[_0x2c15('0x1c')]();if(!_0x5e7849[_0x2c15('0x16')](_0x2c15('0x1a')))return void _0x3d25fa(_0x6d59d4);{const _0x53c4c9=_0x58212b=>_0x58212b[_0x2c15('0x15')][_0x2c15('0x18')](_0x2c15('0x1a'))===_0x1b4329,_0x130488=_0x5547d1['getLastMatchingPosition'](_0x53c4c9,{'direction':_0x2c15('0x1d')}),_0x266a65=_0x5547d1['getLastMatchingPosition'](_0x53c4c9);_0xbc3374=[_0x1203d5[_0x2c15('0x1')][_0x2c15('0x1f')](_0x130488,_0x266a65)],_0x21f277==_0x1b4329&&(_0x21f277=null);}}else for(const _0x36d880 of _0x5e7849[_0x2c15('0x8')]())_0x21f277?_0xbc3374[_0x2c15('0x14')](_0x36d880):_0xbc3374[_0x2c15('0x14')](..._0x4dfa56(_0x2c15('0x1a'),_0x36d880,_0x1203d5[_0x2c15('0x1')]));_0x1203d5['model'][_0x2c15('0x1e')](()=>{for(const _0x34593d of _0xbc3374)_0x468864[_0x2c15('0xf')](_0x34593d,{'commandName':_0x2c15('0x1a'),'commandParams':[{'value':_0x21f277}]});});});const _0x1f0d5c=_0x1203d5[_0x2c15('0x12')];_0x468864[_0x2c15('0xb')][_0x2c15('0x1b')](_0x406cfc=>{const {type:_0x10220b,data:_0x5960b8}=_0x406cfc;if(_0x2c15('0x23')==_0x10220b&&_0x5960b8&&'highlight'==_0x5960b8[_0x2c15('0x3')]){const _0x35e31f=_0x1f0d5c['t'],_0xe0dc99=_0x5960b8[_0x2c15('0xa')][0x0][_0x2c15('0x10')];if(_0xe0dc99){const _0x112cf6=_0x1203d5['config'][_0x2c15('0x9')]('highlight.options')[_0x2c15('0x21')](_0x61ad06=>_0x61ad06[_0x2c15('0x1')]==_0xe0dc99),_0x36e915=_0x35e31f(_0x112cf6[_0x2c15('0x17')])[_0x2c15('0x20')]();return{'type':_0x2c15('0x5'),'content':_0x188df9(_0x1f0d5c,'*Set\x20highlight:*\x20%0',_0x36e915),'color':{'value':_0x112cf6[_0x2c15('0x11')],'title':_0x112cf6['title']}};}return{'type':_0x2c15('0x5'),'content':_0x188df9(_0x1f0d5c,_0x2c15('0xe'),_0x188df9(_0x1f0d5c,_0x2c15('0xd')))};}});}}
23
+ const _0x29cb=['backward','registerDescriptionCallback','editor','*Remove\x20highlight*','createRange','config','selection','highlight','item','plugins','format','value','_descriptionFactory','TrackChangesEditing','getAttribute','markInlineFormat','model','*Set\x20highlight:*\x20%0','commandName','find','push','getLastMatchingPosition','FORMAT_HIGHLIGHT','isCollapsed','color','afterInit','has','toLowerCase','title'];(function(_0x213ffe,_0x29cb52){const _0x4f0b40=function(_0x547a3c){while(--_0x547a3c){_0x213ffe['push'](_0x213ffe['shift']());}};_0x4f0b40(++_0x29cb52);}(_0x29cb,0xef));const _0x4f0b=function(_0x213ffe,_0x29cb52){_0x213ffe=_0x213ffe-0x0;let _0x4f0b40=_0x29cb[_0x213ffe];return _0x4f0b40;};import{Plugin as _0x203517}from'ckeditor5/src/core';import{getTranslation as _0x43cfa7}from'../utils/common-translations';import{getRangesWithAttribute as _0x54adfa}from'./utils';export default class Q extends _0x203517{[_0x4f0b('0x12')](){const _0x24b603=this[_0x4f0b('0x18')];if(!_0x24b603[_0x4f0b('0x2')][_0x4f0b('0x13')]('HighlightEditing'))return;const _0x24db7c=_0x24b603[_0x4f0b('0x2')]['get'](_0x4f0b('0x6'));_0x24db7c['enableCommand'](_0x4f0b('0x0'),(_0x4fb0ec,_0x2c339d={})=>{const _0x6d5578=_0x24b603[_0x4f0b('0x9')]['document'][_0x4f0b('0x1c')],_0x3b078f=_0x6d5578[_0x4f0b('0x7')](_0x4f0b('0x0'));let _0x176d62=_0x2c339d['value'],_0x215ff9=[];if(_0x6d5578[_0x4f0b('0x10')]){const _0x2acb0e=_0x6d5578['getFirstPosition']();if(!_0x6d5578['hasAttribute'](_0x4f0b('0x0')))return void _0x4fb0ec(_0x2c339d);{const _0x138e93=_0x547683=>_0x547683[_0x4f0b('0x1')][_0x4f0b('0x7')]('highlight')===_0x3b078f,_0x176100=_0x2acb0e[_0x4f0b('0xe')](_0x138e93,{'direction':_0x4f0b('0x16')}),_0x3c9b5e=_0x2acb0e[_0x4f0b('0xe')](_0x138e93);_0x215ff9=[_0x24b603[_0x4f0b('0x9')][_0x4f0b('0x1a')](_0x176100,_0x3c9b5e)],_0x176d62==_0x3b078f&&(_0x176d62=null);}}else for(const _0x22543f of _0x6d5578['getRanges']())_0x176d62?_0x215ff9[_0x4f0b('0xd')](_0x22543f):_0x215ff9[_0x4f0b('0xd')](..._0x54adfa(_0x4f0b('0x0'),_0x22543f,_0x24b603[_0x4f0b('0x9')]));_0x24b603[_0x4f0b('0x9')]['change'](()=>{for(const _0x9d8afd of _0x215ff9)_0x24db7c[_0x4f0b('0x8')](_0x9d8afd,{'commandName':_0x4f0b('0x0'),'commandParams':[{'value':_0x176d62}]});});});const _0x1aba4e=_0x24b603['locale'];_0x24db7c[_0x4f0b('0x5')][_0x4f0b('0x17')](_0x3b8901=>{const {type:_0x31d9d9,data:_0x4ec2fd}=_0x3b8901;if('formatInline'==_0x31d9d9&&_0x4ec2fd&&_0x4f0b('0x0')==_0x4ec2fd[_0x4f0b('0xb')]){const _0xca1d41=_0x1aba4e['t'],_0x120398=_0x4ec2fd['commandParams'][0x0][_0x4f0b('0x4')];if(_0x120398){const _0x8aafb6=_0x24b603[_0x4f0b('0x1b')]['get']('highlight.options')[_0x4f0b('0xc')](_0x126c39=>_0x126c39[_0x4f0b('0x9')]==_0x120398),_0x15f380=_0xca1d41(_0x8aafb6[_0x4f0b('0x15')])[_0x4f0b('0x14')]();return{'type':_0x4f0b('0x3'),'content':_0x43cfa7(_0x1aba4e,_0x4f0b('0xa'),_0x15f380),'color':{'value':_0x8aafb6[_0x4f0b('0x11')],'title':_0x8aafb6[_0x4f0b('0x15')]}};}return{'type':_0x4f0b('0x3'),'content':_0x43cfa7(_0x1aba4e,_0x4f0b('0x19'),_0x43cfa7(_0x1aba4e,_0x4f0b('0xf')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3510=['conversion','horizontalLine','HorizontalLineEditing','locale','enableCommand','addClass','afterInit','get','ELEMENT_HORIZONTAL_LINE','registerElementLabel','plugins','_descriptionFactory','createPositionAt','createEmptyElement','TrackChangesEditing','editor','createContainerElement','dataDowncast','insert'];(function(_0xbe0296,_0x351026){const _0x30a9dc=function(_0x111d65){while(--_0x111d65){_0xbe0296['push'](_0xbe0296['shift']());}};_0x30a9dc(++_0x351026);}(_0x3510,0x95));const _0x30a9=function(_0xbe0296,_0x351026){_0xbe0296=_0xbe0296-0x0;let _0x30a9dc=_0x3510[_0xbe0296];return _0x30a9dc;};import{Plugin as _0x4959be}from'ckeditor5/src/core';import{getTranslation as _0x3d24f7}from'../utils/common-translations';export default class V extends _0x4959be{[_0x30a9('0x9')](){const _0xe3eb30=this[_0x30a9('0x12')];if(!_0xe3eb30[_0x30a9('0xd')]['has'](_0x30a9('0x5')))return;_0xe3eb30[_0x30a9('0xd')][_0x30a9('0xa')]('TrackChangesEditing')[_0x30a9('0x7')](_0x30a9('0x4'));const _0x23dbdc=_0xe3eb30[_0x30a9('0xd')][_0x30a9('0xa')](_0x30a9('0x11')),_0x497cad=_0xe3eb30[_0x30a9('0x6')];_0x23dbdc[_0x30a9('0xe')][_0x30a9('0xc')](_0x30a9('0x4'),_0x7f39f6=>_0x3d24f7(_0x497cad,_0x30a9('0xb'),_0x7f39f6)),_0xe3eb30[_0x30a9('0x3')]['for'](_0x30a9('0x1'))['elementToStructure']({'model':'horizontalLine','view':(_0x257172,{writer:_0x51df73,options:_0x306f03})=>{if(!_0x306f03['showSuggestionHighlights'])return null;const _0x46e78b=_0x51df73[_0x30a9('0x0')]('div'),_0x17128f=_0x51df73[_0x30a9('0x10')]('hr');return _0x51df73[_0x30a9('0x8')]('ck-horizontal-line',_0x46e78b),_0x51df73[_0x30a9('0x2')](_0x51df73[_0x30a9('0xf')](_0x46e78b,0x0),_0x17128f),_0x46e78b;},'converterPriority':'high'});}}
23
+ const _0x32a7=['ELEMENT_HORIZONTAL_LINE','dataDowncast','_descriptionFactory','for','high','has','afterInit','createContainerElement','horizontalLine','elementToStructure','showSuggestionHighlights','conversion','get','div','plugins','TrackChangesEditing','editor','registerElementLabel','HorizontalLineEditing'];(function(_0x2d5df5,_0x32a7e7){const _0xd2145a=function(_0x3d8d50){while(--_0x3d8d50){_0x2d5df5['push'](_0x2d5df5['shift']());}};_0xd2145a(++_0x32a7e7);}(_0x32a7,0x122));const _0xd214=function(_0x2d5df5,_0x32a7e7){_0x2d5df5=_0x2d5df5-0x0;let _0xd2145a=_0x32a7[_0x2d5df5];return _0xd2145a;};import{Plugin as _0x19a263}from'ckeditor5/src/core';import{getTranslation as _0x4ad634}from'../utils/common-translations';export default class V extends _0x19a263{[_0xd214('0x1')](){const _0x191244=this[_0xd214('0xb')];if(!_0x191244['plugins'][_0xd214('0x0')](_0xd214('0xd')))return;_0x191244[_0xd214('0x9')][_0xd214('0x7')]('TrackChangesEditing')['enableCommand'](_0xd214('0x3'));const _0x56f4e0=_0x191244[_0xd214('0x9')][_0xd214('0x7')](_0xd214('0xa')),_0x4cbbe3=_0x191244['locale'];_0x56f4e0[_0xd214('0x10')][_0xd214('0xc')](_0xd214('0x3'),_0x2c12a9=>_0x4ad634(_0x4cbbe3,_0xd214('0xe'),_0x2c12a9)),_0x191244[_0xd214('0x6')][_0xd214('0x11')](_0xd214('0xf'))[_0xd214('0x4')]({'model':_0xd214('0x3'),'view':(_0xe52d97,{writer:_0x2ef5eb,options:_0x4d53c9})=>{if(!_0x4d53c9[_0xd214('0x5')])return null;const _0x16ba2d=_0x2ef5eb[_0xd214('0x2')](_0xd214('0x8')),_0x2e07b4=_0x2ef5eb['createEmptyElement']('hr');return _0x2ef5eb['addClass']('ck-horizontal-line',_0x16ba2d),_0x2ef5eb['insert'](_0x2ef5eb['createPositionAt'](_0x16ba2d,0x0),_0x2e07b4),_0x16ba2d;},'converterPriority':_0xd214('0x12')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ce5=['enableCommand','selection','HtmlEmbed','rawHtmlApi','editing','document','value','plugins','cancel','htmlEmbed','commandName','ELEMENT_HTML_EMBED','TrackChangesEditing','change','getSelectedElement','markBlockFormat','model','afterInit','rawHtml','registerDescriptionCallback','_descriptionFactory','*Change\x20%0\x20content*','element','get','locale'];(function(_0x730ec8,_0x4ce559){const _0xefccbd=function(_0x5c524c){while(--_0x5c524c){_0x730ec8['push'](_0x730ec8['shift']());}};_0xefccbd(++_0x4ce559);}(_0x4ce5,0x82));const _0xefcc=function(_0x730ec8,_0x4ce559){_0x730ec8=_0x730ec8-0x0;let _0xefccbd=_0x4ce5[_0x730ec8];return _0xefccbd;};import{Plugin as _0x4cdd14}from'ckeditor5/src/core';import{getTranslation as _0x475519}from'../utils/common-translations';export default class X extends _0x4cdd14{[_0xefcc('0xc')](){const _0x3bceaf=this['editor'];if(!_0x3bceaf[_0xefcc('0x2')]['has'](_0xefcc('0x16')))return;const _0x571fe2=_0x3bceaf['plugins']['get'](_0xefcc('0x7')),_0x5ec376=_0x3bceaf[_0xefcc('0x13')],_0x2ab6bc=_0x3bceaf[_0xefcc('0x18')]['view']['document'][_0xefcc('0x15')];_0x571fe2[_0xefcc('0xf')]['registerElementLabel'](_0xefcc('0xd'),_0x4926dd=>_0x475519(_0x5ec376,_0xefcc('0x6'),_0x4926dd)),_0x3bceaf[_0xefcc('0x2')][_0xefcc('0x12')]('TrackChangesEditing')[_0xefcc('0x14')](_0xefcc('0x4'),(_0x2e3078,_0x585e78)=>{const _0x1dccdd=_0x3bceaf[_0xefcc('0xb')],_0x3a3beb=_0x1dccdd[_0xefcc('0x0')][_0xefcc('0x15')];_0x1dccdd[_0xefcc('0x8')](()=>{const _0x3f0869=function(_0x15fa75){const _0xb2e1a6=_0x15fa75['getSelectedElement']();if(_0xb2e1a6&&_0xb2e1a6['is'](_0xefcc('0x11'),_0xefcc('0xd')))return _0x15fa75[_0xefcc('0x9')]();return null;}(_0x3a3beb);if(!_0x3f0869)return void _0x2e3078(null);const _0x308a15=_0x3f0869['getAttribute'](_0xefcc('0x1'))||'';if(void 0x0===_0x585e78)return;if(_0x585e78===_0x308a15)return;_0x571fe2[_0xefcc('0xa')](_0x3f0869,{'commandName':_0xefcc('0x4'),'commandParams':[_0x585e78]}),_0x2ab6bc[_0xefcc('0x9')]()['getCustomProperty'](_0xefcc('0x17'))[_0xefcc('0x3')]();});}),_0x571fe2[_0xefcc('0xf')][_0xefcc('0xe')](_0x52266a=>{const {data:_0x37920f}=_0x52266a;if(_0x37920f&&_0xefcc('0x4')==_0x37920f[_0xefcc('0x5')]){const _0x5a4942=_0x475519(_0x5ec376,_0xefcc('0x6'));return{'type':'format','content':_0x475519(_0x5ec376,_0xefcc('0x10'),_0x5a4942)};}});}}
23
+ const _0x4028=['change','TrackChangesEditing','htmlEmbed','getSelectedElement','has','model','cancel','value','enableCommand','ELEMENT_HTML_EMBED','editing','registerElementLabel','markBlockFormat','view','rawHtml','locale','*Change\x20%0\x20content*','getAttribute','commandName','getCustomProperty','rawHtmlApi','get','plugins','_descriptionFactory','document','element'];(function(_0x254d1b,_0x40286e){const _0x39dacb=function(_0x43f8ec){while(--_0x43f8ec){_0x254d1b['push'](_0x254d1b['shift']());}};_0x39dacb(++_0x40286e);}(_0x4028,0x100));const _0x39da=function(_0x254d1b,_0x40286e){_0x254d1b=_0x254d1b-0x0;let _0x39dacb=_0x4028[_0x254d1b];return _0x39dacb;};import{Plugin as _0xf3542e}from'ckeditor5/src/core';import{getTranslation as _0xab4036}from'../utils/common-translations';export default class X extends _0xf3542e{['afterInit'](){const _0x355af6=this['editor'];if(!_0x355af6[_0x39da('0x0')][_0x39da('0x8')]('HtmlEmbed'))return;const _0x218b98=_0x355af6['plugins'][_0x39da('0x19')](_0x39da('0x5')),_0x21710c=_0x355af6[_0x39da('0x13')],_0x343cc6=_0x355af6[_0x39da('0xe')][_0x39da('0x11')][_0x39da('0x2')]['selection'];_0x218b98[_0x39da('0x1')][_0x39da('0xf')](_0x39da('0x12'),_0x17230c=>_0xab4036(_0x21710c,_0x39da('0xd'),_0x17230c)),_0x355af6['plugins'][_0x39da('0x19')](_0x39da('0x5'))[_0x39da('0xc')](_0x39da('0x6'),(_0x8e7c47,_0x4e42bc)=>{const _0x35c60f=_0x355af6[_0x39da('0x9')],_0x187678=_0x35c60f[_0x39da('0x2')]['selection'];_0x35c60f[_0x39da('0x4')](()=>{const _0x479473=function(_0x5635c4){const _0x49ba37=_0x5635c4['getSelectedElement']();if(_0x49ba37&&_0x49ba37['is'](_0x39da('0x3'),_0x39da('0x12')))return _0x5635c4['getSelectedElement']();return null;}(_0x187678);if(!_0x479473)return void _0x8e7c47(null);const _0x3e1243=_0x479473[_0x39da('0x15')](_0x39da('0xb'))||'';if(void 0x0===_0x4e42bc)return;if(_0x4e42bc===_0x3e1243)return;_0x218b98[_0x39da('0x10')](_0x479473,{'commandName':'htmlEmbed','commandParams':[_0x4e42bc]}),_0x343cc6[_0x39da('0x7')]()[_0x39da('0x17')](_0x39da('0x18'))[_0x39da('0xa')]();});}),_0x218b98[_0x39da('0x1')]['registerDescriptionCallback'](_0x43743b=>{const {data:_0x4f92a1}=_0x43743b;if(_0x4f92a1&&_0x39da('0x6')==_0x4f92a1[_0x39da('0x16')]){const _0x1e6ec1=_0xab4036(_0x21710c,_0x39da('0xd'));return{'type':'format','content':_0xab4036(_0x21710c,_0x39da('0x14'),_0x1e6ec1)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3be5=['imageCaption','schema','toggleImageCaption','hasAttribute','formatBlock','subType','Users','join','ImageTextAlternativeEditing','ImageUploadEditing','refresh','resizedWidth','_suggestionFactory','isBlockImage','imageTextAlternative','toLowerCase','chain','createRange','registerPostFixer','hasSuggestion','differ','author','discard','shouldConvertImageType','side','name','imageTypeInline','ImageCaptionEditing','start','Inline\x20image\x20to\x20block\x20image','has','getSuggestions','removeObject','nodeAfter','isInContent','imageStylePreApply','_descriptionFactory','imageStyle','getClosestSelectedImageElement','change','previous','formatInline','element','format','_splitMarkerName','getChangedMarkers','getCaptionFromImageModelElement','registerDescriptionCallback','commands','suggestion','editor','registerCustomCallback','imageInline','backward','normalizedStyles','get','markBlockFormat','alt','ImageUtils','*Reset\x20image\x20width*','*Format:*\x20%0','deletion','getNearestSelectionRange','setImageNaturalSizeAttributes','findIndex','getSuggestionCallback','*Remove\x20image\x20text\x20alternative*','forceDefaultExecution','markInlineFormat','end','caption','value','toPrevious','getContainedElement','insertion','commandReversedParams','addObject','insertImage','ELEMENT_CAPTION','ImageBlockEditing','getFirstRange','markDeletion','*Set\x20image\x20width:*\x20%0','isIntersecting','imageBlock','convertInlineImageToBlock','accept','imageStylePostApply','getAttribute','newRange','isCollapsed','isEqual','registerElementLabel','discardSuggestion','ImageStyleEditing','type','createRangeOn','plugins','title','imageTypeBlock','ELEMENT_IMAGE','convertBlockImageToInline','length','next','newValue','find','enableCommand','head','document','markInsertion','forward','ImageInlineEditing','filter','commandParams','isBefore','nodeBefore','getSuggestion','resizeImage','model','selection','commandName','ImageCaptionUtils'];(function(_0x4e41b5,_0x3be5dd){const _0x3e8afb=function(_0x23b3a6){while(--_0x23b3a6){_0x4e41b5['push'](_0x4e41b5['shift']());}};_0x3e8afb(++_0x3be5dd);}(_0x3be5,0x1ad));const _0x3e8a=function(_0x4e41b5,_0x3be5dd){_0x4e41b5=_0x4e41b5-0x0;let _0x3e8afb=_0x3be5[_0x4e41b5];return _0x3e8afb;};import{Plugin as _0x19e7c0}from'ckeditor5/src/core';import{LivePosition as _0x18aa65}from'ckeditor5/src/engine';import{uid as _0x21683c}from'ckeditor5/src/utils';import{getTranslation as _0x3d6da2}from'../utils/common-translations';export default class Y extends _0x19e7c0{['afterInit'](){const _0x133651=this[_0x3e8a('0x6d')];if(!_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')]('ImageEditing'))return;const _0xbe27cd=_0x133651['plugins'][_0x3e8a('0x72')]('TrackChangesEditing'),_0x448f1f=_0x133651['plugins'][_0x3e8a('0x72')](_0x3e8a('0x75')),_0x1d20ff={},_0xc834c5=_0x133651['locale'];if(_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0xe')),_0xbe27cd[_0x3e8a('0x5f')][_0x3e8a('0x1d')](_0x3e8a('0x15'),_0x5eada1=>_0x3d6da2(_0xc834c5,_0x3e8a('0x25'),_0x5eada1)),_0xbe27cd[_0x3e8a('0x5f')][_0x3e8a('0x1d')](_0x3e8a('0x6f'),_0x4b7334=>_0x3d6da2(_0xc834c5,'ELEMENT_INLINE_IMAGE',_0x4b7334)),_0xbe27cd[_0x3e8a('0x5f')]['registerElementLabel'](_0x3e8a('0x7'),()=>_0x3d6da2(_0xc834c5,_0x3e8a('0xf'))),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')](_0x3e8a('0x44'))&&_0xbe27cd[_0x3e8a('0x2b')]('uploadImage'),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')](_0x3e8a('0x10'))&&_0x133651[_0x3e8a('0x22')]['has'](_0x3e8a('0x30'))&&(_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x55'),(_0x266e8c,_0x5276f6)=>{const _0x353bb6=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x38')]);_0x133651[_0x3e8a('0x37')][_0x3e8a('0x62')](()=>{_0xbe27cd[_0x3e8a('0x73')](_0x353bb6,{'commandName':'imageTypeInline','commandParams':[_0x5276f6]},[],_0x3e8a('0x26'));});}),_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x24'),(_0x41f45d,_0x416d73)=>{_0x133651['model'][_0x3e8a('0x62')](_0x34baff=>{let _0x23f933=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x38')]),_0x36a84b=_0x34baff[_0x3e8a('0x21')](_0x23f933);const _0x371873=_0x18aa65['fromPosition'](_0x36a84b[_0x3e8a('0x57')],_0x3e8a('0x9')),_0x128414=_0x18aa65['fromPosition'](_0x36a84b['end'],'toNext');_0xbe27cd[_0x3e8a('0x4')](()=>_0x41f45d(_0x416d73)),_0x23f933=_0x448f1f[_0x3e8a('0x61')](_0x133651[_0x3e8a('0x37')]['document']['selection']),_0x36a84b=_0x34baff[_0x3e8a('0x21')](_0x23f933);const _0x3edfb6=_0x34baff[_0x3e8a('0x4c')](_0x371873,_0x128414);_0x371873['detach'](),_0x128414['detach'](),_0xbe27cd[_0x3e8a('0x73')](_0x23f933,{'commandName':_0x3e8a('0x55'),'commandParams':[_0x416d73]},[],_0x3e8a('0x16')),_0x3edfb6['start'][_0x3e8a('0x33')](_0x36a84b['start'])&&_0xbe27cd[_0x3e8a('0x2e')](_0x34baff[_0x3e8a('0x4c')](_0x3edfb6[_0x3e8a('0x57')],_0x36a84b[_0x3e8a('0x57')]),_0x3e8a('0x16')),_0x36a84b[_0x3e8a('0x6')]['isBefore'](_0x3edfb6[_0x3e8a('0x6')])&&_0xbe27cd[_0x3e8a('0x2e')](_0x34baff[_0x3e8a('0x4c')](_0x36a84b[_0x3e8a('0x6')],_0x3edfb6[_0x3e8a('0x6')]),'convertInlineImageToBlock');});}),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0x3f'),_0x3e8a('0x16'),'join',()=>!0x1),_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback'](_0x3e8a('0x3f'),_0x3e8a('0x16'),_0x3e8a('0x17'),()=>!0x1),_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback'](_0x3e8a('0x3f'),_0x3e8a('0x16'),_0x3e8a('0x51'),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x2')](_0x3e8a('0x3f'),'',_0x3e8a('0x17'))),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')]('insertion','convertInlineImageToBlock',_0x3e8a('0x42'),()=>!0x1),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0xb'),_0x3e8a('0x16'),_0x3e8a('0x51'),([_0x228d66])=>{const _0x135894=_0xbe27cd['_suggestionFactory'][_0x3e8a('0x2')](_0x3e8a('0xb'),'','discard');let _0x42fa81=_0x228d66[_0x3e8a('0x57')],_0x46334f=_0x228d66[_0x3e8a('0x6')];const _0x49c978=_0x133651['model'][_0x3e8a('0x3c')][_0x3e8a('0x79')](_0x42fa81,_0x3e8a('0x70')),_0x361a6e=_0x133651[_0x3e8a('0x37')][_0x3e8a('0x3c')][_0x3e8a('0x79')](_0x46334f,_0x3e8a('0x2f'));_0x49c978[_0x3e8a('0x1b')]&&(_0x42fa81=_0x49c978[_0x3e8a('0x57')]),_0x361a6e[_0x3e8a('0x1b')]&&(_0x46334f=_0x361a6e[_0x3e8a('0x6')]),_0x135894([_0x133651[_0x3e8a('0x37')][_0x3e8a('0x4c')](_0x42fa81,_0x46334f)]);}),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0x3f'),_0x3e8a('0x16'),'chain',_0x4dd590),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0xb'),_0x3e8a('0x16'),_0x3e8a('0x4b'),_0x4dd590)),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')](_0x3e8a('0x56'))&&(_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x3d'),(_0x4c8113,_0x24d6bc)=>{const _0x36b033=_0x133651[_0x3e8a('0x22')][_0x3e8a('0x72')](_0x3e8a('0x3a'));let _0x38a7b3=_0x448f1f[_0x3e8a('0x61')](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')]['selection']),_0x41edb2=_0x36b033[_0x3e8a('0x69')](_0x38a7b3);_0x133651[_0x3e8a('0x37')]['change'](()=>{if(_0x41edb2)return void _0xbe27cd[_0x3e8a('0x12')](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x21')](_0x41edb2));const _0x50b633=_0x448f1f[_0x3e8a('0x48')](_0x38a7b3);_0x4c8113(_0x24d6bc),_0x38a7b3=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')]['document'][_0x3e8a('0x38')]),_0x41edb2=_0x36b033[_0x3e8a('0x69')](_0x38a7b3),_0xbe27cd[_0x3e8a('0x2e')](_0x133651[_0x3e8a('0x37')]['createRangeOn'](_0x41edb2),_0x50b633?null:_0x3e8a('0x3b'));});}),_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback']('insertion','imageCaption',_0x3e8a('0x4b'),_0x4dd590)),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')]('ImageStyleEditing')){_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x60'),(_0x17458e,_0x387262)=>{const _0x574a45=_0x133651[_0x3e8a('0x22')]['get'](_0x3e8a('0x41'))['me'],_0x56bf8f=_0x133651[_0x3e8a('0x6b')][_0x3e8a('0x72')](_0x3e8a('0x60'));let _0x69ea87=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x38')]),_0x2e7fb1=_0x133651['model'][_0x3e8a('0x21')](_0x69ea87),_0x5e230f=_0x56bf8f[_0x3e8a('0x8')];if(_0x5e230f==_0x387262[_0x3e8a('0x8')])return;const _0x42eb2e={'commandName':'imageStyle','commandParams':[_0x387262],'formatGroupId':_0x21683c()};_0x133651[_0x3e8a('0x37')][_0x3e8a('0x62')](()=>{if(_0xbe27cd[_0x3e8a('0x5a')]()[_0x3e8a('0x31')](_0x142197=>_0x142197[_0x3e8a('0x5d')]&&_0x574a45==_0x142197[_0x3e8a('0x50')]&&(_0x3e8a('0x3f')==_0x142197['type']||_0x3e8a('0x64')==_0x142197[_0x3e8a('0x20')])&&(_0x3e8a('0x5e')==_0x142197[_0x3e8a('0x40')]||_0x3e8a('0x18')==_0x142197[_0x3e8a('0x40')])&&_0x142197[_0x3e8a('0x11')]()['isEqual'](_0x2e7fb1))['forEach'](_0x32e417=>_0xbe27cd['discardSuggestion'](_0x32e417[_0x3e8a('0x2c')])),_0x69ea87=_0x448f1f[_0x3e8a('0x61')](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x38')]),_0x2e7fb1=_0x133651[_0x3e8a('0x37')]['createRangeOn'](_0x69ea87),_0x56bf8f[_0x3e8a('0x45')](),_0x133651[_0x3e8a('0x6b')][_0x3e8a('0x72')](_0x3e8a('0x55'))[_0x3e8a('0x45')](),_0x133651[_0x3e8a('0x6b')][_0x3e8a('0x72')](_0x3e8a('0x24'))['refresh'](),_0x5e230f=_0x56bf8f['value'],_0x5e230f!=_0x387262[_0x3e8a('0x8')])return _0x448f1f['isInlineImage'](_0x69ea87)&&_0x56bf8f[_0x3e8a('0x52')](_0x387262[_0x3e8a('0x8')],_0x69ea87)?(_0x17458e({..._0x387262,'setImageSizes':!0x1}),_0x69ea87=_0x448f1f[_0x3e8a('0x61')](_0x133651['model'][_0x3e8a('0x2d')][_0x3e8a('0x38')]),void _0xbe27cd['markBlockFormat'](_0x69ea87,{..._0x42eb2e,'commandReversedParams':[{'value':_0x5e230f||null,'setImageSizes':!0x1}]},[],_0x3e8a('0x5e'))):void(_0x448f1f[_0x3e8a('0x48')](_0x69ea87)?_0xbe27cd[_0x3e8a('0x73')](_0x69ea87,_0x42eb2e,[],'imageStylePostApply'):_0xbe27cd[_0x3e8a('0x5')](_0x2e7fb1,_0x42eb2e,'imageStylePostApply'));});});for(const _0x6e5e2f of _0x133651['plugins'][_0x3e8a('0x72')](_0x3e8a('0x1f'))[_0x3e8a('0x71')])_0x1d20ff[_0x6e5e2f[_0x3e8a('0x54')]]=_0x6e5e2f[_0x3e8a('0x23')][_0x3e8a('0x4a')]();_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback'](_0x3e8a('0x3f'),_0x3e8a('0x5e'),_0x3e8a('0x42'),()=>!0x1),_0xbe27cd[_0x3e8a('0x47')]['registerCustomCallback'](_0x3e8a('0x3f'),_0x3e8a('0x18'),_0x3e8a('0x42'),()=>!0x1),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0x64'),'imageStylePostApply',_0x3e8a('0x42'),()=>!0x1),_0xbe27cd['_suggestionFactory'][_0x3e8a('0x6e')](_0x3e8a('0x3f'),'imageStylePreApply',_0x3e8a('0x17'),([_0x2d251c])=>{_0x448f1f[_0x3e8a('0x0')](_0x2d251c['getContainedElement']());}),_0xbe27cd[_0x3e8a('0x47')][_0x3e8a('0x6e')](_0x3e8a('0x3f'),_0x3e8a('0x5e'),_0x3e8a('0x51'),(_0x2d01e5,_0x1bc3bc)=>{_0xbe27cd[_0x3e8a('0x47')]['getSuggestionCallback'](_0x3e8a('0x3f'),'',_0x3e8a('0x17'))(_0x2d01e5,{'commandName':_0x1bc3bc[_0x3e8a('0x39')],'commandParams':_0x1bc3bc[_0x3e8a('0xc')]});}),_0xbe27cd['_suggestionFactory'][_0x3e8a('0x6e')](_0x3e8a('0x3f'),_0x3e8a('0x5e'),_0x3e8a('0x4b'),_0x4dd590);}const _0x3f8b8f=[{'type':_0x3e8a('0x3f'),'subType':_0x3e8a('0x5e')},{'type':'insertion','subType':_0x3e8a('0x3b')},{'type':'formatBlock','subType':_0x3e8a('0x16')},{'type':_0x3e8a('0xb'),'subType':_0x3e8a('0x16')}];function _0x2eb165(_0x477f4c,_0x19bfb9){const _0x16cadd=_0x3f8b8f[_0x3e8a('0x1')](({type:_0x4d4928,subType:_0x4d346b})=>_0x477f4c[_0x3e8a('0x20')]==_0x4d4928&&_0x477f4c[_0x3e8a('0x40')]==_0x4d346b),_0x2aeade=_0x3f8b8f[_0x3e8a('0x1')](({type:_0x4c16aa,subType:_0xb34e07})=>_0x19bfb9[_0x3e8a('0x20')]==_0x4c16aa&&_0x19bfb9[_0x3e8a('0x40')]==_0xb34e07);if(_0x16cadd<0x0||_0x2aeade<0x0)return!0x1;const _0x5be198=_0x477f4c[_0x3e8a('0x11')](),_0x56c688=_0x19bfb9[_0x3e8a('0x11')]();if((0x0==_0x16cadd||0x1==_0x16cadd)&&0x2==_0x2aeade&&_0x5be198[_0x3e8a('0x14')](_0x56c688))return!0x0;if(0x2==_0x16cadd&&0x3==_0x2aeade){const _0x368e02=_0xbe27cd['_findSuggestions'](_0x5be198,_0x3e8a('0xb'))['filter'](({suggestion:_0x1cf0d0,meta:_0x3a1b65})=>_0x3a1b65['isOwn']&&'convertInlineImageToBlock'==_0x1cf0d0[_0x3e8a('0x40')]);if(_0x368e02[_0x3e8a('0x27')]>0x1&&_0x56c688[_0x3e8a('0x6')][_0x3e8a('0x1c')](_0x5be198[_0x3e8a('0x57')]))return!0x0;if(0x1==_0x368e02['length']&&(_0x5be198[_0x3e8a('0x57')][_0x3e8a('0x1c')](_0x56c688[_0x3e8a('0x6')])||_0x5be198[_0x3e8a('0x6')][_0x3e8a('0x1c')](_0x56c688[_0x3e8a('0x57')])))return!0x0;}if(0x3==_0x16cadd&&0x3==_0x2aeade&&_0x5be198[_0x3e8a('0x57')][_0x3e8a('0x33')](_0x56c688['start'])){const _0x44e1f1=_0x5be198[_0x3e8a('0x6')][_0x3e8a('0x5c')],_0x5cfbe1=_0x56c688[_0x3e8a('0x57')][_0x3e8a('0x34')];return _0x448f1f[_0x3e8a('0x48')](_0x44e1f1)&&_0x44e1f1===_0x5cfbe1;}return!0x1;}function _0x4dd590(_0x395fab,_0x32291b){return _0x2eb165(_0x395fab,_0x32291b)?[_0x395fab,_0x32291b]:_0x2eb165(_0x32291b,_0x395fab)?[_0x32291b,_0x395fab]:null;}_0x133651[_0x3e8a('0x37')]['document'][_0x3e8a('0x4d')](()=>{let _0x5e9fd7=!0x1;const _0x4e0874=Array['from'](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')][_0x3e8a('0x4f')][_0x3e8a('0x68')]());for(const {name:_0x30b503,data:_0x177bc9}of _0x4e0874){const {group:_0x4ea926,type:_0x587c8a,subType:_0x56fda4,id:_0x542c78}=_0xbe27cd[_0x3e8a('0x67')](_0x30b503);if(_0x3e8a('0x6c')==_0x4ea926&&_0xbe27cd[_0x3e8a('0x4e')](_0x542c78)){if('formatBlock'==_0x587c8a&&('imageStylePreApply'==_0x56fda4||'imageStylePostApply'==_0x56fda4)){const _0x3b0d22=_0xbe27cd[_0x3e8a('0x35')](_0x542c78);if(_0x177bc9[_0x3e8a('0x1a')]){const _0x4d9fb3=_0x3b0d22[_0x3e8a('0x11')]()[_0x3e8a('0xa')]();if(_0x448f1f[_0x3e8a('0x48')](_0x4d9fb3))continue;_0xbe27cd[_0x3e8a('0x1e')](_0x3b0d22),_0x5e9fd7=!0x0;}}if(_0x3e8a('0xb')==_0x587c8a&&'imageCaption'==_0x56fda4&&!_0x177bc9[_0x3e8a('0x1a')]){const _0x52ac4d=_0xbe27cd[_0x3e8a('0x35')](_0x542c78);_0x52ac4d['next']&&_0x52ac4d[_0x3e8a('0x28')][_0x3e8a('0x5d')]&&(_0xbe27cd[_0x3e8a('0x1e')](_0x52ac4d[_0x3e8a('0x28')]),_0x5e9fd7=!0x0);}}}return _0x5e9fd7;}),_0x133651[_0x3e8a('0x22')][_0x3e8a('0x59')]('ImageResize')&&_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x36'),(_0x4da78d,_0x43f106)=>{const _0x4d62e9=_0x448f1f['getClosestSelectedImageElement'](_0x133651[_0x3e8a('0x37')]['document']['selection']);_0x4d62e9['getAttribute'](_0x3e8a('0x46'))!=_0x43f106['width']&&_0x133651[_0x3e8a('0x37')][_0x3e8a('0x62')](()=>{_0xbe27cd[_0x3e8a('0x73')](_0x4d62e9,{'commandName':_0x3e8a('0x36'),'commandParams':[_0x43f106]});});}),_0x133651[_0x3e8a('0x22')]['has'](_0x3e8a('0x43'))&&_0xbe27cd[_0x3e8a('0x2b')](_0x3e8a('0x49'),(_0xfe8447,_0x3973a0)=>{const _0xc0b9e6=_0x448f1f[_0x3e8a('0x61')](_0x133651[_0x3e8a('0x37')][_0x3e8a('0x2d')]['selection']);(_0xc0b9e6[_0x3e8a('0x3e')](_0x3e8a('0x74'))?_0xc0b9e6[_0x3e8a('0x19')](_0x3e8a('0x74')):'')!=_0x3973a0[_0x3e8a('0x29')]&&_0x133651['model'][_0x3e8a('0x62')](()=>{_0xbe27cd[_0x3e8a('0x73')](_0xc0b9e6,{'commandName':_0x3e8a('0x49'),'commandParams':[_0x3973a0]});});}),_0xbe27cd['_descriptionFactory'][_0x3e8a('0x6a')](_0x2963d0=>{if(!!_0x3f8b8f[_0x3e8a('0x2a')](({type:_0x16eb30,subType:_0xd671e0})=>_0x2963d0[_0x3e8a('0x20')]==_0x16eb30&&_0x2963d0[_0x3e8a('0x40')]==_0xd671e0))return _0x2963d0[_0x3e8a('0x63')]?{}:void 0x0;}),_0xbe27cd['_descriptionFactory'][_0x3e8a('0x6a')](_0x4ecdcd=>{if(_0x3e8a('0xb')==_0x4ecdcd[_0x3e8a('0x20')]||_0x3e8a('0x78')==_0x4ecdcd['type']){const _0x39be7f=_0x4ecdcd[_0x3e8a('0xa')]();if(_0x39be7f&&_0x39be7f['is'](_0x3e8a('0x65'),_0x3e8a('0x7')))return{'type':_0x3e8a('0xb')==_0x4ecdcd[_0x3e8a('0x20')]?_0x3e8a('0xd'):_0x3e8a('0x5b'),'element':_0x39be7f,'quantity':0x1};}}),_0xbe27cd['_descriptionFactory'][_0x3e8a('0x6a')](_0x21db9b=>_0x3e8a('0x3f')==_0x21db9b[_0x3e8a('0x20')]&&_0x3e8a('0x16')==_0x21db9b[_0x3e8a('0x40')]?{'type':_0x3e8a('0x66'),'content':_0x3e8a('0x58')}:_0x3e8a('0x3f')==_0x21db9b[_0x3e8a('0x20')]&&_0x3e8a('0x26')==_0x21db9b[_0x3e8a('0x40')]?{'type':_0x3e8a('0x66'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0xbe27cd[_0x3e8a('0x5f')][_0x3e8a('0x6a')](_0xe093cb=>{const {data:_0x1fda5e}=_0xe093cb;if(_0x1fda5e){if(_0x3e8a('0x60')==_0x1fda5e[_0x3e8a('0x39')]){const _0x51a588=_0x1fda5e[_0x3e8a('0x32')][0x0][_0x3e8a('0x8')];return _0x245acd(_0x3e8a('0x53')===_0x51a588?_0x3d6da2(_0xc834c5,'FORMAT_SIDE_IMAGE'):_0x1d20ff[_0x51a588]||_0x51a588);}if(_0x3e8a('0x49')==_0x1fda5e[_0x3e8a('0x39')]){const _0x5ea2a1=_0x1fda5e['commandParams'][0x0][_0x3e8a('0x29')];return _0x5ea2a1?{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x5ea2a1+'\x22')}:{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,_0x3e8a('0x3'))};}if(_0x3e8a('0x36')==_0x1fda5e[_0x3e8a('0x39')]){const _0x474652=_0x1fda5e[_0x3e8a('0x32')][0x0]['width'];return _0x474652?{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,_0x3e8a('0x13'),_0x474652)}:{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,_0x3e8a('0x76'))};}}function _0x245acd(_0x214144){return{'type':_0x3e8a('0x66'),'content':_0x3d6da2(_0xc834c5,_0x3e8a('0x77'),_0x214144)};}});}}
23
+ const _0x3c87=['getContainedElement','accept','fromPosition','imageTypeInline','commandName','schema','formatInline','isCollapsed','registerDescriptionCallback','*Set\x20image\x20text\x20alternative:*\x20%0','hasAttribute','nodeAfter','shouldConvertImageType','side','markInsertion','length','has','ImageResize','imageTypeBlock','imageStyle','value','getClosestSelectedImageElement','join','ImageEditing','alt','next','insertion','ImageTextAlternativeEditing','*Format:*\x20%0','filter','createRangeOn','suggestion','toNext','detach','registerElementLabel','model','getCaptionFromImageModelElement','caption','backward','selection','*Remove\x20image\x20text\x20alternative*','_suggestionFactory','getAttribute','imageStylePreApply','imageInline','commandReversedParams','ELEMENT_INLINE_IMAGE','getSuggestionCallback','toggleImageCaption','format','findIndex','editor','uploadImage','_splitMarkerName','ELEMENT_IMAGE','commandParams','ImageUploadEditing','type','document','ImageInlineEditing','discardSuggestion','subType','getChangedMarkers','enableCommand','change','author','_findSuggestions','hasSuggestion','convertInlineImageToBlock','convertBlockImageToInline','toLowerCase','imageStylePostApply','createRange','markBlockFormat','_descriptionFactory','refresh','ImageBlockEditing','newRange','getNearestSelectionRange','width','normalizedStyles','*Set\x20image\x20width:*\x20%0','ImageStyleEditing','start','isBefore','forceDefaultExecution','get','ELEMENT_CAPTION','plugins','isBlockImage','find','*Reset\x20image\x20width*','previous','ImageCaptionUtils','afterInit','head','isOwn','commands','isEqual','formatBlock','imageCaption','markInlineFormat','element','getFirstRange','Users','imageTextAlternative','isInContent','registerPostFixer','insertImage','end','discard','name','setImageNaturalSizeAttributes','FORMAT_SIDE_IMAGE','chain','resizeImage','newValue','forward','imageBlock','registerCustomCallback'];(function(_0x4d1a50,_0x3c87d3){const _0x2d3764=function(_0x5d3b4b){while(--_0x5d3b4b){_0x4d1a50['push'](_0x4d1a50['shift']());}};_0x2d3764(++_0x3c87d3);}(_0x3c87,0x1a8));const _0x2d37=function(_0x4d1a50,_0x3c87d3){_0x4d1a50=_0x4d1a50-0x0;let _0x2d3764=_0x3c87[_0x4d1a50];return _0x2d3764;};import{Plugin as _0x3e2d20}from'ckeditor5/src/core';import{LivePosition as _0x180d8f}from'ckeditor5/src/engine';import{uid as _0x1f06d8}from'ckeditor5/src/utils';import{getTranslation as _0x27ebeb}from'../utils/common-translations';export default class Y extends _0x3e2d20{[_0x2d37('0x1e')](){const _0x32d57b=this[_0x2d37('0x6b')];if(!_0x32d57b[_0x2d37('0x18')][_0x2d37('0x48')](_0x2d37('0x4f')))return;const _0x23ec92=_0x32d57b[_0x2d37('0x18')]['get']('TrackChangesEditing'),_0x46bc69=_0x32d57b[_0x2d37('0x18')]['get']('ImageUtils'),_0x3829dc={},_0x17c63a=_0x32d57b['locale'];if(_0x23ec92[_0x2d37('0x77')](_0x2d37('0x2c')),_0x23ec92['_descriptionFactory'][_0x2d37('0x5a')](_0x2d37('0x36'),_0x960e87=>_0x27ebeb(_0x17c63a,_0x2d37('0x6e'),_0x960e87)),_0x23ec92[_0x2d37('0xa')][_0x2d37('0x5a')](_0x2d37('0x64'),_0x1ba8ab=>_0x27ebeb(_0x17c63a,_0x2d37('0x66'),_0x1ba8ab)),_0x23ec92[_0x2d37('0xa')][_0x2d37('0x5a')](_0x2d37('0x5d'),()=>_0x27ebeb(_0x17c63a,_0x2d37('0x17'))),_0x32d57b[_0x2d37('0x18')][_0x2d37('0x48')](_0x2d37('0x70'))&&_0x23ec92[_0x2d37('0x77')](_0x2d37('0x6c')),_0x32d57b[_0x2d37('0x18')][_0x2d37('0x48')](_0x2d37('0xc'))&&_0x32d57b[_0x2d37('0x18')][_0x2d37('0x48')](_0x2d37('0x73'))&&(_0x23ec92[_0x2d37('0x77')](_0x2d37('0x3b'),(_0x1091a7,_0x546e0b)=>{const _0x170ee4=_0x46bc69[_0x2d37('0x4d')](_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x72')][_0x2d37('0x5f')]);_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x0')](()=>{_0x23ec92[_0x2d37('0x9')](_0x170ee4,{'commandName':_0x2d37('0x3b'),'commandParams':[_0x546e0b]},[],'convertBlockImageToInline');});}),_0x23ec92[_0x2d37('0x77')](_0x2d37('0x4a'),(_0x2161ce,_0x5ce15d)=>{_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x0')](_0x51decd=>{let _0x229492=_0x46bc69[_0x2d37('0x4d')](_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x72')][_0x2d37('0x5f')]),_0xf56540=_0x51decd[_0x2d37('0x56')](_0x229492);const _0x595006=_0x180d8f['fromPosition'](_0xf56540[_0x2d37('0x13')],'toPrevious'),_0x5658ae=_0x180d8f[_0x2d37('0x3a')](_0xf56540[_0x2d37('0x2d')],_0x2d37('0x58'));_0x23ec92[_0x2d37('0x15')](()=>_0x2161ce(_0x5ce15d)),_0x229492=_0x46bc69[_0x2d37('0x4d')](_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x72')]['selection']),_0xf56540=_0x51decd[_0x2d37('0x56')](_0x229492);const _0x4e15fc=_0x51decd['createRange'](_0x595006,_0x5658ae);_0x595006[_0x2d37('0x59')](),_0x5658ae['detach'](),_0x23ec92[_0x2d37('0x9')](_0x229492,{'commandName':_0x2d37('0x3b'),'commandParams':[_0x5ce15d]},[],_0x2d37('0x4')),_0x4e15fc[_0x2d37('0x13')]['isBefore'](_0xf56540['start'])&&_0x23ec92[_0x2d37('0x46')](_0x51decd[_0x2d37('0x8')](_0x4e15fc['start'],_0xf56540['start']),_0x2d37('0x4')),_0xf56540[_0x2d37('0x2d')][_0x2d37('0x14')](_0x4e15fc['end'])&&_0x23ec92['markInsertion'](_0x51decd[_0x2d37('0x8')](_0xf56540[_0x2d37('0x2d')],_0x4e15fc['end']),_0x2d37('0x4'));});}),_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')](_0x2d37('0x23'),'convertInlineImageToBlock',_0x2d37('0x4e'),()=>!0x1),_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')](_0x2d37('0x23'),_0x2d37('0x4'),_0x2d37('0x39'),()=>!0x1),_0x23ec92['_suggestionFactory']['registerCustomCallback'](_0x2d37('0x23'),_0x2d37('0x4'),'discard',_0x23ec92[_0x2d37('0x61')]['getSuggestionCallback'](_0x2d37('0x23'),'',_0x2d37('0x39'))),_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')](_0x2d37('0x52'),_0x2d37('0x4'),_0x2d37('0x4e'),()=>!0x1),_0x23ec92['_suggestionFactory'][_0x2d37('0x37')](_0x2d37('0x52'),_0x2d37('0x4'),_0x2d37('0x2e'),([_0xf1ba66])=>{const _0x3717cb=_0x23ec92['_suggestionFactory'][_0x2d37('0x67')](_0x2d37('0x52'),'',_0x2d37('0x2e'));let _0x5d36c9=_0xf1ba66[_0x2d37('0x13')],_0x21aa83=_0xf1ba66[_0x2d37('0x2d')];const _0x34c38e=_0x32d57b['model']['schema']['getNearestSelectionRange'](_0x5d36c9,_0x2d37('0x5e')),_0x446dd4=_0x32d57b['model'][_0x2d37('0x3d')][_0x2d37('0xe')](_0x21aa83,_0x2d37('0x35'));_0x34c38e['isCollapsed']&&(_0x5d36c9=_0x34c38e[_0x2d37('0x13')]),_0x446dd4[_0x2d37('0x3f')]&&(_0x21aa83=_0x446dd4[_0x2d37('0x2d')]),_0x3717cb([_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x8')](_0x5d36c9,_0x21aa83)]);}),_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')](_0x2d37('0x23'),_0x2d37('0x4'),_0x2d37('0x32'),_0xfd95ed),_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')]('insertion',_0x2d37('0x4'),'chain',_0xfd95ed)),_0x32d57b[_0x2d37('0x18')][_0x2d37('0x48')]('ImageCaptionEditing')&&(_0x23ec92[_0x2d37('0x77')](_0x2d37('0x68'),(_0x170a1b,_0x32f98b)=>{const _0xa43f00=_0x32d57b['plugins'][_0x2d37('0x16')](_0x2d37('0x1d'));let _0x2f86ed=_0x46bc69[_0x2d37('0x4d')](_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x72')][_0x2d37('0x5f')]),_0x61bec9=_0xa43f00[_0x2d37('0x5c')](_0x2f86ed);_0x32d57b['model'][_0x2d37('0x0')](()=>{if(_0x61bec9)return void _0x23ec92['markDeletion'](_0x32d57b['model'][_0x2d37('0x56')](_0x61bec9));const _0x135b40=_0x46bc69[_0x2d37('0x19')](_0x2f86ed);_0x170a1b(_0x32f98b),_0x2f86ed=_0x46bc69[_0x2d37('0x4d')](_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x72')]['selection']),_0x61bec9=_0xa43f00[_0x2d37('0x5c')](_0x2f86ed),_0x23ec92[_0x2d37('0x46')](_0x32d57b[_0x2d37('0x5b')]['createRangeOn'](_0x61bec9),_0x135b40?null:_0x2d37('0x24'));});}),_0x23ec92[_0x2d37('0x61')]['registerCustomCallback'](_0x2d37('0x52'),_0x2d37('0x24'),_0x2d37('0x32'),_0xfd95ed)),_0x32d57b[_0x2d37('0x18')][_0x2d37('0x48')](_0x2d37('0x12'))){_0x23ec92[_0x2d37('0x77')]('imageStyle',(_0x53bd3b,_0x290ed4)=>{const _0x15c58a=_0x32d57b[_0x2d37('0x18')]['get'](_0x2d37('0x28'))['me'],_0x54375e=_0x32d57b['commands'][_0x2d37('0x16')]('imageStyle');let _0x1876d0=_0x46bc69['getClosestSelectedImageElement'](_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x72')][_0x2d37('0x5f')]),_0x489779=_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x56')](_0x1876d0),_0x16c265=_0x54375e[_0x2d37('0x4c')];if(_0x16c265==_0x290ed4[_0x2d37('0x4c')])return;const _0x14dffb={'commandName':_0x2d37('0x4b'),'commandParams':[_0x290ed4],'formatGroupId':_0x1f06d8()};_0x32d57b['model'][_0x2d37('0x0')](()=>{if(_0x23ec92['getSuggestions']()['filter'](_0x310b55=>_0x310b55['isInContent']&&_0x15c58a==_0x310b55[_0x2d37('0x1')]&&(_0x2d37('0x23')==_0x310b55[_0x2d37('0x71')]||_0x2d37('0x3e')==_0x310b55[_0x2d37('0x71')])&&(_0x2d37('0x63')==_0x310b55['subType']||'imageStylePostApply'==_0x310b55[_0x2d37('0x75')])&&_0x310b55[_0x2d37('0x27')]()['isEqual'](_0x489779))['forEach'](_0x52bf1b=>_0x23ec92['discardSuggestion'](_0x52bf1b[_0x2d37('0x1f')])),_0x1876d0=_0x46bc69['getClosestSelectedImageElement'](_0x32d57b['model']['document'][_0x2d37('0x5f')]),_0x489779=_0x32d57b['model'][_0x2d37('0x56')](_0x1876d0),_0x54375e[_0x2d37('0xb')](),_0x32d57b[_0x2d37('0x21')][_0x2d37('0x16')]('imageTypeInline')['refresh'](),_0x32d57b[_0x2d37('0x21')][_0x2d37('0x16')]('imageTypeBlock')[_0x2d37('0xb')](),_0x16c265=_0x54375e[_0x2d37('0x4c')],_0x16c265!=_0x290ed4[_0x2d37('0x4c')])return _0x46bc69['isInlineImage'](_0x1876d0)&&_0x54375e[_0x2d37('0x44')](_0x290ed4[_0x2d37('0x4c')],_0x1876d0)?(_0x53bd3b({..._0x290ed4,'setImageSizes':!0x1}),_0x1876d0=_0x46bc69['getClosestSelectedImageElement'](_0x32d57b['model'][_0x2d37('0x72')]['selection']),void _0x23ec92['markBlockFormat'](_0x1876d0,{..._0x14dffb,'commandReversedParams':[{'value':_0x16c265||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x46bc69[_0x2d37('0x19')](_0x1876d0)?_0x23ec92['markBlockFormat'](_0x1876d0,_0x14dffb,[],_0x2d37('0x7')):_0x23ec92[_0x2d37('0x25')](_0x489779,_0x14dffb,'imageStylePostApply'));});});for(const _0x42dcba of _0x32d57b[_0x2d37('0x18')][_0x2d37('0x16')](_0x2d37('0x12'))[_0x2d37('0x10')])_0x3829dc[_0x42dcba[_0x2d37('0x2f')]]=_0x42dcba['title'][_0x2d37('0x6')]();_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')](_0x2d37('0x23'),_0x2d37('0x63'),_0x2d37('0x4e'),()=>!0x1),_0x23ec92[_0x2d37('0x61')]['registerCustomCallback'](_0x2d37('0x23'),_0x2d37('0x7'),_0x2d37('0x4e'),()=>!0x1),_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')](_0x2d37('0x3e'),_0x2d37('0x7'),'join',()=>!0x1),_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')](_0x2d37('0x23'),_0x2d37('0x63'),'accept',([_0x121277])=>{_0x46bc69[_0x2d37('0x30')](_0x121277[_0x2d37('0x38')]());}),_0x23ec92['_suggestionFactory'][_0x2d37('0x37')](_0x2d37('0x23'),'imageStylePreApply','discard',(_0x1b7b4a,_0x284d13)=>{_0x23ec92['_suggestionFactory'][_0x2d37('0x67')](_0x2d37('0x23'),'',_0x2d37('0x39'))(_0x1b7b4a,{'commandName':_0x284d13[_0x2d37('0x3c')],'commandParams':_0x284d13[_0x2d37('0x65')]});}),_0x23ec92[_0x2d37('0x61')][_0x2d37('0x37')](_0x2d37('0x23'),_0x2d37('0x63'),_0x2d37('0x32'),_0xfd95ed);}const _0x1da55c=[{'type':_0x2d37('0x23'),'subType':'imageStylePreApply'},{'type':'insertion','subType':_0x2d37('0x24')},{'type':_0x2d37('0x23'),'subType':_0x2d37('0x4')},{'type':'insertion','subType':_0x2d37('0x4')}];function _0x2e97d4(_0x5a9677,_0x4d7d34){const _0x3895c4=_0x1da55c[_0x2d37('0x6a')](({type:_0x3627c1,subType:_0x24e05f})=>_0x5a9677[_0x2d37('0x71')]==_0x3627c1&&_0x5a9677[_0x2d37('0x75')]==_0x24e05f),_0x16e231=_0x1da55c['findIndex'](({type:_0x2866ad,subType:_0x463f78})=>_0x4d7d34[_0x2d37('0x71')]==_0x2866ad&&_0x4d7d34['subType']==_0x463f78);if(_0x3895c4<0x0||_0x16e231<0x0)return!0x1;const _0x2f1f53=_0x5a9677[_0x2d37('0x27')](),_0x16e5ec=_0x4d7d34[_0x2d37('0x27')]();if((0x0==_0x3895c4||0x1==_0x3895c4)&&0x2==_0x16e231&&_0x2f1f53['isIntersecting'](_0x16e5ec))return!0x0;if(0x2==_0x3895c4&&0x3==_0x16e231){const _0x9c4d3c=_0x23ec92[_0x2d37('0x2')](_0x2f1f53,'insertion')[_0x2d37('0x55')](({suggestion:_0x16f6bf,meta:_0x47ec68})=>_0x47ec68[_0x2d37('0x20')]&&_0x2d37('0x4')==_0x16f6bf[_0x2d37('0x75')]);if(_0x9c4d3c[_0x2d37('0x47')]>0x1&&_0x16e5ec[_0x2d37('0x2d')]['isEqual'](_0x2f1f53['start']))return!0x0;if(0x1==_0x9c4d3c[_0x2d37('0x47')]&&(_0x2f1f53['start'][_0x2d37('0x22')](_0x16e5ec['end'])||_0x2f1f53[_0x2d37('0x2d')][_0x2d37('0x22')](_0x16e5ec['start'])))return!0x0;}if(0x3==_0x3895c4&&0x3==_0x16e231&&_0x2f1f53[_0x2d37('0x13')][_0x2d37('0x14')](_0x16e5ec[_0x2d37('0x13')])){const _0x4c8ed5=_0x2f1f53[_0x2d37('0x2d')][_0x2d37('0x43')],_0x43596e=_0x16e5ec[_0x2d37('0x13')]['nodeBefore'];return _0x46bc69[_0x2d37('0x19')](_0x4c8ed5)&&_0x4c8ed5===_0x43596e;}return!0x1;}function _0xfd95ed(_0x5e272d,_0x398823){return _0x2e97d4(_0x5e272d,_0x398823)?[_0x5e272d,_0x398823]:_0x2e97d4(_0x398823,_0x5e272d)?[_0x398823,_0x5e272d]:null;}_0x32d57b[_0x2d37('0x5b')]['document'][_0x2d37('0x2b')](()=>{let _0x1fc1e2=!0x1;const _0x2f1a0c=Array['from'](_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x72')]['differ'][_0x2d37('0x76')]());for(const {name:_0x3e0eda,data:_0xd31829}of _0x2f1a0c){const {group:_0x165195,type:_0x3020d9,subType:_0x42aacd,id:_0x1fbe53}=_0x23ec92[_0x2d37('0x6d')](_0x3e0eda);if(_0x2d37('0x57')==_0x165195&&_0x23ec92[_0x2d37('0x3')](_0x1fbe53)){if(_0x2d37('0x23')==_0x3020d9&&(_0x2d37('0x63')==_0x42aacd||_0x2d37('0x7')==_0x42aacd)){const _0x584541=_0x23ec92['getSuggestion'](_0x1fbe53);if(_0xd31829[_0x2d37('0xd')]){const _0x4a56fd=_0x584541[_0x2d37('0x27')]()['getContainedElement']();if(_0x46bc69[_0x2d37('0x19')](_0x4a56fd))continue;_0x23ec92[_0x2d37('0x74')](_0x584541),_0x1fc1e2=!0x0;}}if(_0x2d37('0x52')==_0x3020d9&&'imageCaption'==_0x42aacd&&!_0xd31829[_0x2d37('0xd')]){const _0x1625c8=_0x23ec92['getSuggestion'](_0x1fbe53);_0x1625c8[_0x2d37('0x51')]&&_0x1625c8[_0x2d37('0x51')][_0x2d37('0x2a')]&&(_0x23ec92[_0x2d37('0x74')](_0x1625c8[_0x2d37('0x51')]),_0x1fc1e2=!0x0);}}}return _0x1fc1e2;}),_0x32d57b[_0x2d37('0x18')][_0x2d37('0x48')](_0x2d37('0x49'))&&_0x23ec92[_0x2d37('0x77')]('resizeImage',(_0x5b88fa,_0x5320ca)=>{const _0x34a046=_0x46bc69[_0x2d37('0x4d')](_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x72')][_0x2d37('0x5f')]);_0x34a046[_0x2d37('0x62')]('resizedWidth')!=_0x5320ca[_0x2d37('0xf')]&&_0x32d57b[_0x2d37('0x5b')]['change'](()=>{_0x23ec92[_0x2d37('0x9')](_0x34a046,{'commandName':'resizeImage','commandParams':[_0x5320ca]});});}),_0x32d57b['plugins'][_0x2d37('0x48')](_0x2d37('0x53'))&&_0x23ec92[_0x2d37('0x77')](_0x2d37('0x29'),(_0x555329,_0xad3537)=>{const _0x3a4096=_0x46bc69[_0x2d37('0x4d')](_0x32d57b['model'][_0x2d37('0x72')]['selection']);(_0x3a4096[_0x2d37('0x42')](_0x2d37('0x50'))?_0x3a4096['getAttribute']('alt'):'')!=_0xad3537[_0x2d37('0x34')]&&_0x32d57b[_0x2d37('0x5b')][_0x2d37('0x0')](()=>{_0x23ec92[_0x2d37('0x9')](_0x3a4096,{'commandName':'imageTextAlternative','commandParams':[_0xad3537]});});}),_0x23ec92[_0x2d37('0xa')][_0x2d37('0x40')](_0x5f557b=>{if(!!_0x1da55c[_0x2d37('0x1a')](({type:_0x3341ad,subType:_0x27c738})=>_0x5f557b[_0x2d37('0x71')]==_0x3341ad&&_0x5f557b['subType']==_0x27c738))return _0x5f557b[_0x2d37('0x1c')]?{}:void 0x0;}),_0x23ec92[_0x2d37('0xa')][_0x2d37('0x40')](_0x39574c=>{if('insertion'==_0x39574c[_0x2d37('0x71')]||'deletion'==_0x39574c[_0x2d37('0x71')]){const _0x3df349=_0x39574c[_0x2d37('0x38')]();if(_0x3df349&&_0x3df349['is'](_0x2d37('0x26'),_0x2d37('0x5d')))return{'type':'insertion'==_0x39574c[_0x2d37('0x71')]?'addObject':'removeObject','element':_0x3df349,'quantity':0x1};}}),_0x23ec92['_descriptionFactory'][_0x2d37('0x40')](_0x2d418d=>_0x2d37('0x23')==_0x2d418d[_0x2d37('0x71')]&&'convertInlineImageToBlock'==_0x2d418d['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:_0x2d37('0x23')==_0x2d418d['type']&&_0x2d37('0x5')==_0x2d418d['subType']?{'type':_0x2d37('0x69'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x23ec92[_0x2d37('0xa')][_0x2d37('0x40')](_0x41f043=>{const {data:_0x2a946b}=_0x41f043;if(_0x2a946b){if(_0x2d37('0x4b')==_0x2a946b[_0x2d37('0x3c')]){const _0x57f631=_0x2a946b[_0x2d37('0x6f')][0x0]['value'];return _0x335a56(_0x2d37('0x45')===_0x57f631?_0x27ebeb(_0x17c63a,_0x2d37('0x31')):_0x3829dc[_0x57f631]||_0x57f631);}if(_0x2d37('0x29')==_0x2a946b[_0x2d37('0x3c')]){const _0x3e8b78=_0x2a946b['commandParams'][0x0]['newValue'];return _0x3e8b78?{'type':_0x2d37('0x69'),'content':_0x27ebeb(_0x17c63a,_0x2d37('0x41'),'\x22'+_0x3e8b78+'\x22')}:{'type':_0x2d37('0x69'),'content':_0x27ebeb(_0x17c63a,_0x2d37('0x60'))};}if(_0x2d37('0x33')==_0x2a946b[_0x2d37('0x3c')]){const _0xa074ad=_0x2a946b['commandParams'][0x0][_0x2d37('0xf')];return _0xa074ad?{'type':'format','content':_0x27ebeb(_0x17c63a,_0x2d37('0x11'),_0xa074ad)}:{'type':_0x2d37('0x69'),'content':_0x27ebeb(_0x17c63a,_0x2d37('0x1b'))};}}function _0x335a56(_0x5be5de){return{'type':'format','content':_0x27ebeb(_0x17c63a,_0x2d37('0x54'),_0x5be5de)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14cf=['enableCommand','getAttribute','markBlockFormat','get','replaceImageSource','src','handleReplaceImageCommand','handleSuggestionDescription','afterInit','selection','locale','discard','formatBlock','*Format:*\x20replace\x20image\x20URL','_suggestionFactory','getSuggestionCallback','commandName','plugins','_descriptionFactory','accept','editor','getSuggestions','Users','model','change','getSelectedElement','registerCustomCallback','registerDescriptionCallback','TrackChangesEditing','source'];(function(_0x3abd95,_0x14cf02){const _0x90a860=function(_0x4e6dd1){while(--_0x4e6dd1){_0x3abd95['push'](_0x3abd95['shift']());}};_0x90a860(++_0x14cf02);}(_0x14cf,0x15a));const _0x90a8=function(_0x3abd95,_0x14cf02){_0x3abd95=_0x3abd95-0x0;let _0x90a860=_0x14cf[_0x3abd95];return _0x90a860;};import{Plugin as _0x1f02ab}from'ckeditor5/src/core';import{getTranslation as _0x1e274e}from'../utils/common-translations';export default class Z extends _0x1f02ab{[_0x90a8('0x16')](){if(!this[_0x90a8('0x4')]['plugins']['has']('ImageEditing'))return;const _0x1712f2=this[_0x90a8('0x4')][_0x90a8('0x1')][_0x90a8('0x11')](_0x90a8('0xc'));_0x1712f2[_0x90a8('0xe')](_0x90a8('0x12'),(_0x4f6da4,_0x2bf26d)=>this['handleReplaceImageCommand'](_0x4f6da4,_0x2bf26d)),_0x1712f2['_suggestionFactory'][_0x90a8('0xa')](_0x90a8('0x1a'),'replaceImageSource',_0x90a8('0x3'),_0x1712f2['_suggestionFactory']['getSuggestionCallback'](_0x90a8('0x1a'),null,'discard')),_0x1712f2[_0x90a8('0x1c')][_0x90a8('0xa')](_0x90a8('0x1a'),_0x90a8('0x12'),_0x90a8('0x19'),_0x1712f2['_suggestionFactory'][_0x90a8('0x1d')](_0x90a8('0x1a'),null,_0x90a8('0x3'))),_0x1712f2[_0x90a8('0x2')][_0x90a8('0xb')](_0x5f90c=>this[_0x90a8('0x15')](_0x5f90c));}[_0x90a8('0x14')](_0x339999,_0x5eab37){const _0x32406e=this[_0x90a8('0x4')][_0x90a8('0x1')][_0x90a8('0x11')](_0x90a8('0xc')),_0x1daa8f=this['editor'][_0x90a8('0x7')]['document'][_0x90a8('0x17')][_0x90a8('0x9')]();this[_0x90a8('0x4')][_0x90a8('0x7')][_0x90a8('0x8')](()=>{let _0x54b96c=_0x1daa8f[_0x90a8('0xf')](_0x90a8('0x13'));const _0x1f725f=this['editor']['plugins'][_0x90a8('0x11')](_0x90a8('0x6'))['me'];for(const _0x5dbd03 of _0x32406e[_0x90a8('0x5')]({'skipNotAttached':!0x0})){const _0xd63a46=_0x5dbd03['getContainedElement']();if(_0x90a8('0x12')===_0x5dbd03['subType']&&_0xd63a46===_0x1daa8f){_0x5dbd03['author']!==_0x1f725f&&_0x5dbd03['discard'](),_0x54b96c=_0x5dbd03['data']['commandParams'][0x0][_0x90a8('0xd')];break;}}_0x339999(_0x5eab37),_0x32406e[_0x90a8('0x10')](_0x1daa8f,{'commandName':'replaceImageSource','commandParams':[{'source':_0x54b96c}]},[],'replaceImageSource');});}[_0x90a8('0x15')](_0x276b4a){const {data:_0x5f1281}=_0x276b4a;if(_0x5f1281&&_0x90a8('0x12')===_0x5f1281[_0x90a8('0x0')]){const _0x289635=_0x90a8('0x1b');return{'type':'format','content':_0x1e274e(this[_0x90a8('0x4')][_0x90a8('0x18')],_0x289635)};}}}
23
+ const _0x30ec=['document','ImageEditing','registerCustomCallback','commandName','locale','get','author','model','replaceImageSource','editor','format','subType','discard','handleReplaceImageCommand','commandParams','formatBlock','src','plugins','registerDescriptionCallback','TrackChangesEditing','accept','getSuggestions','selection','getSuggestionCallback','getContainedElement','enableCommand','has','markBlockFormat','_descriptionFactory','getAttribute','_suggestionFactory','handleSuggestionDescription','change'];(function(_0x2e66c6,_0x30eca8){const _0x5daa5c=function(_0x490d45){while(--_0x490d45){_0x2e66c6['push'](_0x2e66c6['shift']());}};_0x5daa5c(++_0x30eca8);}(_0x30ec,0x127));const _0x5daa=function(_0x2e66c6,_0x30eca8){_0x2e66c6=_0x2e66c6-0x0;let _0x5daa5c=_0x30ec[_0x2e66c6];return _0x5daa5c;};import{Plugin as _0x525731}from'ckeditor5/src/core';import{getTranslation as _0x2d1b0d}from'../utils/common-translations';export default class Z extends _0x525731{['afterInit'](){if(!this[_0x5daa('0xb')][_0x5daa('0x13')][_0x5daa('0x1c')](_0x5daa('0x3')))return;const _0x549a52=this['editor'][_0x5daa('0x13')][_0x5daa('0x7')](_0x5daa('0x15'));_0x549a52[_0x5daa('0x1b')](_0x5daa('0xa'),(_0x4d6071,_0x5991d2)=>this[_0x5daa('0xf')](_0x4d6071,_0x5991d2)),_0x549a52['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource',_0x5daa('0x16'),_0x549a52[_0x5daa('0x20')]['getSuggestionCallback'](_0x5daa('0x11'),null,_0x5daa('0xe'))),_0x549a52['_suggestionFactory'][_0x5daa('0x4')]('formatBlock',_0x5daa('0xa'),_0x5daa('0xe'),_0x549a52[_0x5daa('0x20')][_0x5daa('0x19')](_0x5daa('0x11'),null,_0x5daa('0x16'))),_0x549a52[_0x5daa('0x1e')][_0x5daa('0x14')](_0x487510=>this['handleSuggestionDescription'](_0x487510));}[_0x5daa('0xf')](_0x260d96,_0x1f81f9){const _0x21dffa=this[_0x5daa('0xb')]['plugins'][_0x5daa('0x7')](_0x5daa('0x15')),_0x58045a=this[_0x5daa('0xb')][_0x5daa('0x9')][_0x5daa('0x2')][_0x5daa('0x18')]['getSelectedElement']();this[_0x5daa('0xb')][_0x5daa('0x9')][_0x5daa('0x1')](()=>{let _0x4e1eef=_0x58045a[_0x5daa('0x1f')](_0x5daa('0x12'));const _0xdbf399=this[_0x5daa('0xb')][_0x5daa('0x13')][_0x5daa('0x7')]('Users')['me'];for(const _0x5254ad of _0x21dffa[_0x5daa('0x17')]({'skipNotAttached':!0x0})){const _0x42d3ec=_0x5254ad[_0x5daa('0x1a')]();if(_0x5daa('0xa')===_0x5254ad[_0x5daa('0xd')]&&_0x42d3ec===_0x58045a){_0x5254ad[_0x5daa('0x8')]!==_0xdbf399&&_0x5254ad[_0x5daa('0xe')](),_0x4e1eef=_0x5254ad['data'][_0x5daa('0x10')][0x0]['source'];break;}}_0x260d96(_0x1f81f9),_0x21dffa[_0x5daa('0x1d')](_0x58045a,{'commandName':_0x5daa('0xa'),'commandParams':[{'source':_0x4e1eef}]},[],'replaceImageSource');});}[_0x5daa('0x0')](_0xa4f30c){const {data:_0x1c98bb}=_0xa4f30c;if(_0x1c98bb&&_0x5daa('0xa')===_0x1c98bb[_0x5daa('0x5')]){const _0x2de06c='*Format:*\x20replace\x20image\x20URL';return{'type':_0x5daa('0xc'),'content':_0x2d1b0d(this[_0x5daa('0xb')][_0x5daa('0x6')],_0x2de06c)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2121=['forEach','enableCommand','_trackChangesValueDuringImport','get','execute','_trackChangesExecuted','_setSuggestionData','commands','value','dataInsert','lowest','listenTo','afterInit','editor','importWord','collaboration_features','high','_handleImportedData','plugins','trackChanges','TrackChangesEditing'];(function(_0x245f30,_0x21214d){const _0x1e01ae=function(_0x2df7da){while(--_0x2df7da){_0x245f30['push'](_0x245f30['shift']());}};_0x1e01ae(++_0x21214d);}(_0x2121,0xfc));const _0x1e01=function(_0x245f30,_0x21214d){_0x245f30=_0x245f30-0x0;let _0x1e01ae=_0x2121[_0x245f30];return _0x1e01ae;};import{Plugin as _0x300b23}from'ckeditor5/src/core';export default class tt extends _0x300b23{constructor(_0x419892){super(_0x419892),this[_0x1e01('0x2')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x1e01('0xc')](){const _0x34694e=this[_0x1e01('0xd')],_0x16f9e0=_0x34694e[_0x1e01('0x7')]['get']('importWord'),_0x177649=_0x34694e[_0x1e01('0x7')][_0x1e01('0x3')](_0x1e01('0x13'));_0x16f9e0&&(_0x16f9e0['on']('execute',(_0x5233ab,[,_0x3b4f23])=>{this[_0x1e01('0x2')]=_0x177649[_0x1e01('0x8')],_0x3b4f23[_0x1e01('0xf')]['track_changes']=!this[_0x1e01('0x2')];},{'priority':_0x1e01('0x10')}),this[_0x1e01('0xb')](_0x16f9e0,_0x1e01('0x9'),this[_0x1e01('0x11')]['bind'](this)),this['listenTo'](_0x16f9e0,_0x1e01('0x9'),()=>{this[_0x1e01('0x5')]&&(_0x177649['execute'](),this[_0x1e01('0x5')]=!0x1);},{'priority':_0x1e01('0xa')}),_0x34694e[_0x1e01('0x12')][_0x1e01('0x3')]('TrackChangesEditing')[_0x1e01('0x1')]('importWord'));}[_0x1e01('0x11')](_0x155a83,_0x237b59){const {suggestions:_0xe527c}=_0x237b59,_0x599087=this[_0x1e01('0xd')][_0x1e01('0x7')][_0x1e01('0x3')](_0x1e01('0x13')),_0x32c8e1=_0x599087[_0x1e01('0x8')];this['_trackChangesValueDuringImport']!==_0x32c8e1&&(_0x599087[_0x1e01('0x4')](),this[_0x1e01('0x5')]=!0x0),_0xe527c&&_0xe527c[_0x1e01('0x0')](({id:_0x4e0dbe,type:_0x3726a6,author:_0x5df7e0,created_at:_0x1196a6})=>{const _0x33ed14={'id':_0x4e0dbe,'type':_0x3726a6,'authorId':this[_0x1e01('0xd')][_0x1e01('0x12')][_0x1e01('0x3')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5df7e0,'createdAt':_0x1196a6?new Date(_0x1196a6):new Date(),'source':_0x1e01('0xe')}}};this[_0x1e01('0xd')]['plugins'][_0x1e01('0x3')](_0x1e01('0x14'))[_0x1e01('0x6')](_0x33ed14);});}}
23
+ const _0x366c=['TrackChangesEditing','dataInsert','_trackChangesValueDuringImport','high','plugins','get','value','trackChanges','Users','commands','listenTo','_handleImportedData','forEach','_setSuggestionData','enableCommand','editor','bind','_trackChangesExecuted','importWord','lowest','execute','track_changes'];(function(_0x4491db,_0x366ca8){const _0x45ad50=function(_0x2a1a4c){while(--_0x2a1a4c){_0x4491db['push'](_0x4491db['shift']());}};_0x45ad50(++_0x366ca8);}(_0x366c,0x184));const _0x45ad=function(_0x4491db,_0x366ca8){_0x4491db=_0x4491db-0x0;let _0x45ad50=_0x366c[_0x4491db];return _0x45ad50;};import{Plugin as _0x2de5d2}from'ckeditor5/src/core';export default class tt extends _0x2de5d2{constructor(_0x58eac3){super(_0x58eac3),this['_trackChangesValueDuringImport']=!0x1,this[_0x45ad('0x3')]=!0x1;}['afterInit'](){const _0x2c19bf=this[_0x45ad('0x1')],_0x39f8dd=_0x2c19bf['commands'][_0x45ad('0xd')](_0x45ad('0x4')),_0x65fa5b=_0x2c19bf[_0x45ad('0x11')][_0x45ad('0xd')](_0x45ad('0xf'));_0x39f8dd&&(_0x39f8dd['on'](_0x45ad('0x6'),(_0x856ef5,[,_0x1b40ce])=>{this[_0x45ad('0xa')]=_0x65fa5b['value'],_0x1b40ce['collaboration_features'][_0x45ad('0x7')]=!this[_0x45ad('0xa')];},{'priority':_0x45ad('0xb')}),this['listenTo'](_0x39f8dd,_0x45ad('0x9'),this['_handleImportedData'][_0x45ad('0x2')](this)),this[_0x45ad('0x12')](_0x39f8dd,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x65fa5b['execute'](),this[_0x45ad('0x3')]=!0x1);},{'priority':_0x45ad('0x5')}),_0x2c19bf[_0x45ad('0xc')][_0x45ad('0xd')](_0x45ad('0x8'))[_0x45ad('0x0')](_0x45ad('0x4')));}[_0x45ad('0x13')](_0x5f2b7a,_0x52762b){const {suggestions:_0x3355f6}=_0x52762b,_0x1a63e9=this[_0x45ad('0x1')][_0x45ad('0x11')]['get'](_0x45ad('0xf')),_0x5851ae=_0x1a63e9[_0x45ad('0xe')];this[_0x45ad('0xa')]!==_0x5851ae&&(_0x1a63e9[_0x45ad('0x6')](),this[_0x45ad('0x3')]=!0x0),_0x3355f6&&_0x3355f6[_0x45ad('0x14')](({id:_0xb8abab,type:_0x43c093,author:_0x13a89c,created_at:_0x4c11e9})=>{const _0x16721a={'id':_0xb8abab,'type':_0x43c093,'authorId':this[_0x45ad('0x1')]['plugins'][_0x45ad('0xd')](_0x45ad('0x10'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x13a89c,'createdAt':_0x4c11e9?new Date(_0x4c11e9):new Date(),'source':'importWord'}}};this[_0x45ad('0x1')][_0x45ad('0xc')][_0x45ad('0xd')](_0x45ad('0x8'))[_0x45ad('0x15')](_0x16721a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dc2=['outdent','has','get','commandName','_descriptionFactory','filter','*Outdent:*\x20%0','plugins','indentBlock','change','afterInit','document','blockIndent','registerDescriptionCallback','enableCommand','format','indent','locale','TrackChangesEditing','outdentBlock','markBlockFormat','getItemLabel','*Indent:*\x20%0','editor','from','model','getItems'];(function(_0x2e912a,_0x4dc226){const _0x8f254f=function(_0x111a6b){while(--_0x111a6b){_0x2e912a['push'](_0x2e912a['shift']());}};_0x8f254f(++_0x4dc226);}(_0x4dc2,0x127));const _0x8f25=function(_0x2e912a,_0x4dc226){_0x2e912a=_0x2e912a-0x0;let _0x8f254f=_0x4dc2[_0x2e912a];return _0x8f254f;};import{Plugin as _0x3723fb}from'ckeditor5/src/core';import{getTranslation as _0x13e383}from'../utils/common-translations';export default class it extends _0x3723fb{[_0x8f25('0xc')](){const _0x3ceb4c=this[_0x8f25('0x19')],_0x5af2cd=_0x3ceb4c[_0x8f25('0x9')][_0x8f25('0x4')](_0x8f25('0x14'));_0x3ceb4c[_0x8f25('0x9')][_0x8f25('0x3')]('IndentEditing')&&(_0x5af2cd[_0x8f25('0x10')](_0x8f25('0x12')),_0x5af2cd['enableCommand'](_0x8f25('0x2')));const _0x2ad7ad=_0x3ceb4c[_0x8f25('0x13')];if(_0x3ceb4c['plugins'][_0x8f25('0x3')]('IndentBlock')){for(const _0x3b9bf6 of[_0x8f25('0xa'),'outdentBlock'])_0x5af2cd[_0x8f25('0x10')](_0x3b9bf6,()=>{const _0xb22d64=Array[_0x8f25('0x1a')](this[_0x8f25('0x19')]['model'][_0x8f25('0xd')]['selection']['getSelectedBlocks']())[_0x8f25('0x7')](_0x3aa60b=>this[_0x8f25('0x19')][_0x8f25('0x0')]['schema']['checkAttribute'](_0x3aa60b,_0x8f25('0xe')));_0x3ceb4c[_0x8f25('0x0')][_0x8f25('0xb')](()=>{for(const _0x32940a of _0xb22d64)_0x5af2cd[_0x8f25('0x16')](_0x32940a,{'commandName':_0x3b9bf6,'commandParams':[{'value':''}],'formatGroupId':_0x8f25('0xa')});});});_0x5af2cd[_0x8f25('0x6')][_0x8f25('0xf')](_0x39cc6a=>{const {data:_0x2587c9}=_0x39cc6a;if(!_0x2587c9)return;if(_0x8f25('0xa')!=_0x2587c9[_0x8f25('0x5')]&&_0x8f25('0x15')!=_0x2587c9[_0x8f25('0x5')])return;const _0x453584=_0x39cc6a[_0x8f25('0x1')]()[0x0],_0x4abaa6=_0x5af2cd['_descriptionFactory'][_0x8f25('0x17')](_0x453584);return'indentBlock'==_0x2587c9['commandName']?{'type':_0x8f25('0x11'),'content':_0x13e383(_0x2ad7ad,_0x8f25('0x18'),_0x4abaa6)}:_0x8f25('0x15')==_0x2587c9[_0x8f25('0x5')]?{'type':_0x8f25('0x11'),'content':_0x13e383(_0x2ad7ad,_0x8f25('0x8'),_0x4abaa6)}:void 0x0;});}}}
23
+ const _0x3371=['indent','afterInit','enableCommand','commandName','model','from','getSelectedBlocks','_descriptionFactory','*Outdent:*\x20%0','markBlockFormat','indentBlock','*Indent:*\x20%0','document','format','registerDescriptionCallback','locale','get','editor','plugins','getItems','outdentBlock','has','getItemLabel','change','checkAttribute','filter','IndentEditing'];(function(_0x36d65a,_0x337150){const _0x580a2d=function(_0x5bed28){while(--_0x5bed28){_0x36d65a['push'](_0x36d65a['shift']());}};_0x580a2d(++_0x337150);}(_0x3371,0x14a));const _0x580a=function(_0x36d65a,_0x337150){_0x36d65a=_0x36d65a-0x0;let _0x580a2d=_0x3371[_0x36d65a];return _0x580a2d;};import{Plugin as _0x4d82c2}from'ckeditor5/src/core';import{getTranslation as _0x420a5d}from'../utils/common-translations';export default class it extends _0x4d82c2{[_0x580a('0x16')](){const _0x5b7d31=this['editor'],_0x465b60=_0x5b7d31['plugins'][_0x580a('0xa')]('TrackChangesEditing');_0x5b7d31[_0x580a('0xc')][_0x580a('0xf')](_0x580a('0x14'))&&(_0x465b60[_0x580a('0x17')](_0x580a('0x15')),_0x465b60['enableCommand']('outdent'));const _0x2a0069=_0x5b7d31[_0x580a('0x9')];if(_0x5b7d31[_0x580a('0xc')][_0x580a('0xf')]('IndentBlock')){for(const _0x401b51 of[_0x580a('0x4'),_0x580a('0xe')])_0x465b60['enableCommand'](_0x401b51,()=>{const _0x2feb14=Array[_0x580a('0x1a')](this[_0x580a('0xb')][_0x580a('0x19')][_0x580a('0x6')]['selection'][_0x580a('0x0')]())[_0x580a('0x13')](_0x26a8e3=>this[_0x580a('0xb')][_0x580a('0x19')]['schema'][_0x580a('0x12')](_0x26a8e3,'blockIndent'));_0x5b7d31[_0x580a('0x19')][_0x580a('0x11')](()=>{for(const _0x217d87 of _0x2feb14)_0x465b60[_0x580a('0x3')](_0x217d87,{'commandName':_0x401b51,'commandParams':[{'value':''}],'formatGroupId':_0x580a('0x4')});});});_0x465b60['_descriptionFactory'][_0x580a('0x8')](_0x1ea7c7=>{const {data:_0x50cd89}=_0x1ea7c7;if(!_0x50cd89)return;if(_0x580a('0x4')!=_0x50cd89[_0x580a('0x18')]&&_0x580a('0xe')!=_0x50cd89[_0x580a('0x18')])return;const _0x1a9cb5=_0x1ea7c7[_0x580a('0xd')]()[0x0],_0x4843a4=_0x465b60[_0x580a('0x1')][_0x580a('0x10')](_0x1a9cb5);return _0x580a('0x4')==_0x50cd89[_0x580a('0x18')]?{'type':_0x580a('0x7'),'content':_0x420a5d(_0x2a0069,_0x580a('0x5'),_0x4843a4)}:_0x580a('0xe')==_0x50cd89['commandName']?{'type':_0x580a('0x7'),'content':_0x420a5d(_0x2a0069,_0x580a('0x2'),_0x4843a4)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f0d=['TrackChangesEditing','requires','enableCommand','get','plugins','init','editor'];(function(_0x59f4ea,_0x3f0d8e){var _0x2efbf1=function(_0x287dbd){while(--_0x287dbd){_0x59f4ea['push'](_0x59f4ea['shift']());}};_0x2efbf1(++_0x3f0d8e);}(_0x3f0d,0x1de));var _0x2efb=function(_0x59f4ea,_0x3f0d8e){_0x59f4ea=_0x59f4ea-0x0;var _0x2efbf1=_0x3f0d[_0x59f4ea];return _0x2efbf1;};import{Plugin as _0x29659d}from'ckeditor5/src/core';import{Input as _0x365d61}from'ckeditor5/src/typing';export default class et extends _0x29659d{static get[_0x2efb('0x6')](){return[_0x365d61];}[_0x2efb('0x3')](){this[_0x2efb('0x4')][_0x2efb('0x2')][_0x2efb('0x1')](_0x2efb('0x5'))[_0x2efb('0x0')]('input');}}
23
+ var _0x2824=['TrackChangesEditing','plugins','input','init','get','requires'];(function(_0x56c0c2,_0x28243d){var _0x60395=function(_0x5027a1){while(--_0x5027a1){_0x56c0c2['push'](_0x56c0c2['shift']());}};_0x60395(++_0x28243d);}(_0x2824,0x1d0));var _0x6039=function(_0x56c0c2,_0x28243d){_0x56c0c2=_0x56c0c2-0x0;var _0x60395=_0x2824[_0x56c0c2];return _0x60395;};import{Plugin as _0x11f018}from'ckeditor5/src/core';import{Input as _0x414ae0}from'ckeditor5/src/typing';export default class et extends _0x11f018{static get[_0x6039('0x3')](){return[_0x414ae0];}[_0x6039('0x1')](){this['editor'][_0x6039('0x5')][_0x6039('0x2')](_0x6039('0x4'))['enableCommand'](_0x6039('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fc8=['afterInit','editor','*Set\x20link:*\x20%0','LinkEditing','link','_descriptionFactory','format','model','locale','change','getRanges','markInlineFormat','registerDescriptionCallback','from','document','plugins','linkHref','getFirstRange','has','getAttribute','enableCommand','commandName','commandParams','get','TrackChangesEditing','selection','*Remove\x20link*','unlink','getFirstPosition'];(function(_0x593721,_0x2fc8bd){const _0x5ac997=function(_0x3433a4){while(--_0x3433a4){_0x593721['push'](_0x593721['shift']());}};_0x5ac997(++_0x2fc8bd);}(_0x2fc8,0x1db));const _0x5ac9=function(_0x593721,_0x2fc8bd){_0x593721=_0x593721-0x0;let _0x5ac997=_0x2fc8[_0x593721];return _0x5ac997;};import{Plugin as _0x1d2ac1}from'ckeditor5/src/core';import{findAttributeRange as _0x533fb9}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x33307d}from'./utils';import{getTranslation as _0x43e47a}from'../utils/common-translations';export default class nt extends _0x1d2ac1{[_0x5ac9('0x12')](){const _0x2c64ba=this[_0x5ac9('0x13')];if(!_0x2c64ba[_0x5ac9('0x4')][_0x5ac9('0x7')](_0x5ac9('0x15')))return;const _0x112e3b=_0x2c64ba[_0x5ac9('0x4')][_0x5ac9('0xc')](_0x5ac9('0xd'));_0x112e3b[_0x5ac9('0x9')]('link',(_0x5ceba5,_0x2c555e)=>{const _0x13976c=_0x2c64ba[_0x5ac9('0x19')][_0x5ac9('0x3')][_0x5ac9('0xe')];let _0x333ce6=[];if(_0x13976c['isCollapsed']){if(!_0x13976c['hasAttribute'](_0x5ac9('0x5')))return void _0x5ceba5(_0x2c555e);{const _0x37d1c3=_0x533fb9(_0x13976c[_0x5ac9('0x11')](),_0x5ac9('0x5'),_0x13976c[_0x5ac9('0x8')](_0x5ac9('0x5')),_0x2c64ba[_0x5ac9('0x19')]);_0x333ce6=[_0x37d1c3];}}else _0x333ce6=Array[_0x5ac9('0x2')](_0x13976c[_0x5ac9('0x1c')]());_0x2c64ba[_0x5ac9('0x19')][_0x5ac9('0x1b')](()=>{for(const _0x105e77 of _0x333ce6)_0x112e3b[_0x5ac9('0x0')](_0x105e77,{'commandName':_0x5ac9('0x16'),'commandParams':[_0x2c555e]});});}),_0x112e3b[_0x5ac9('0x9')](_0x5ac9('0x10'),()=>{const _0xcfe6db=this[_0x5ac9('0x13')][_0x5ac9('0x19')],_0x43a138=_0xcfe6db[_0x5ac9('0x3')][_0x5ac9('0xe')];_0xcfe6db['change'](()=>{let _0x5ababd=[];if(_0x43a138['isCollapsed'])_0x5ababd=[_0x533fb9(_0x43a138['getFirstPosition'](),'linkHref',_0x43a138[_0x5ac9('0x8')](_0x5ac9('0x5')),_0x2c64ba[_0x5ac9('0x19')])];else _0x5ababd=_0x33307d(_0x5ac9('0x5'),_0x43a138[_0x5ac9('0x6')](),_0x2c64ba[_0x5ac9('0x19')]);for(const _0x2ca37f of _0x5ababd)_0x112e3b[_0x5ac9('0x0')](_0x2ca37f,{'commandName':_0x5ac9('0x10'),'commandParams':[]});});}),_0x112e3b[_0x5ac9('0x17')][_0x5ac9('0x1')](_0x8fcf2f=>{const {data:_0x361619}=_0x8fcf2f,_0x14c13a=_0x2c64ba[_0x5ac9('0x1a')];if(_0x361619){if(_0x5ac9('0x16')==_0x361619[_0x5ac9('0xa')]){const _0x2cdf3=_0x361619[_0x5ac9('0xb')][0x0];return{'type':_0x5ac9('0x18'),'content':_0x43e47a(_0x14c13a,_0x5ac9('0x14'),'\x22'+_0x2cdf3+'\x22')};}return _0x5ac9('0x10')==_0x361619[_0x5ac9('0xa')]?{'type':_0x5ac9('0x18'),'content':_0x43e47a(_0x14c13a,_0x5ac9('0xf'))}:void 0x0;}});}}
23
+ const _0xa76a=['getRanges','enableCommand','link','commandName','locale','format','plugins','document','markInlineFormat','isCollapsed','get','*Set\x20link:*\x20%0','getAttribute','TrackChangesEditing','change','selection','commandParams','from','getFirstPosition','_descriptionFactory','unlink','linkHref','model','editor','LinkEditing'];(function(_0x48d697,_0xa76aee){const _0x2312a8=function(_0xfdd7ef){while(--_0xfdd7ef){_0x48d697['push'](_0x48d697['shift']());}};_0x2312a8(++_0xa76aee);}(_0xa76a,0x196));const _0x2312=function(_0x48d697,_0xa76aee){_0x48d697=_0x48d697-0x0;let _0x2312a8=_0xa76a[_0x48d697];return _0x2312a8;};import{Plugin as _0x46546a}from'ckeditor5/src/core';import{findAttributeRange as _0xf0738c}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xa0c2bd}from'./utils';import{getTranslation as _0x5af7fe}from'../utils/common-translations';export default class nt extends _0x46546a{['afterInit'](){const _0x8255b1=this['editor'];if(!_0x8255b1[_0x2312('0x0')]['has'](_0x2312('0x12')))return;const _0x187a8b=_0x8255b1[_0x2312('0x0')][_0x2312('0x4')](_0x2312('0x7'));_0x187a8b[_0x2312('0x14')]('link',(_0x4f973f,_0x2b1142)=>{const _0xf24ebe=_0x8255b1['model']['document'][_0x2312('0x9')];let _0x4c397c=[];if(_0xf24ebe[_0x2312('0x3')]){if(!_0xf24ebe['hasAttribute'](_0x2312('0xf')))return void _0x4f973f(_0x2b1142);{const _0x57b247=_0xf0738c(_0xf24ebe[_0x2312('0xc')](),_0x2312('0xf'),_0xf24ebe['getAttribute'](_0x2312('0xf')),_0x8255b1[_0x2312('0x10')]);_0x4c397c=[_0x57b247];}}else _0x4c397c=Array[_0x2312('0xb')](_0xf24ebe[_0x2312('0x13')]());_0x8255b1[_0x2312('0x10')][_0x2312('0x8')](()=>{for(const _0x14caea of _0x4c397c)_0x187a8b[_0x2312('0x2')](_0x14caea,{'commandName':'link','commandParams':[_0x2b1142]});});}),_0x187a8b['enableCommand'](_0x2312('0xe'),()=>{const _0x26df34=this[_0x2312('0x11')][_0x2312('0x10')],_0xd9fcbb=_0x26df34[_0x2312('0x1')]['selection'];_0x26df34[_0x2312('0x8')](()=>{let _0x1b9e8e=[];if(_0xd9fcbb['isCollapsed'])_0x1b9e8e=[_0xf0738c(_0xd9fcbb[_0x2312('0xc')](),_0x2312('0xf'),_0xd9fcbb[_0x2312('0x6')]('linkHref'),_0x8255b1[_0x2312('0x10')])];else _0x1b9e8e=_0xa0c2bd(_0x2312('0xf'),_0xd9fcbb['getFirstRange'](),_0x8255b1[_0x2312('0x10')]);for(const _0x419ea7 of _0x1b9e8e)_0x187a8b[_0x2312('0x2')](_0x419ea7,{'commandName':_0x2312('0xe'),'commandParams':[]});});}),_0x187a8b[_0x2312('0xd')]['registerDescriptionCallback'](_0x580ce6=>{const {data:_0x208128}=_0x580ce6,_0x4862fb=_0x8255b1[_0x2312('0x17')];if(_0x208128){if(_0x2312('0x15')==_0x208128[_0x2312('0x16')]){const _0x1b0494=_0x208128[_0x2312('0xa')][0x0];return{'type':_0x2312('0x18'),'content':_0x5af7fe(_0x4862fb,_0x2312('0x5'),'\x22'+_0x1b0494+'\x22')};}return _0x2312('0xe')==_0x208128[_0x2312('0x16')]?{'type':'format','content':_0x5af7fe(_0x4862fb,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb8f4=['paragraph','execute','todoListChecked','registerDescriptionCallback','_descriptionFactory','element','TodoListEditing','findIndex','afterInit','nextSibling','numberedList','name','model','parent','ELEMENT_TODO_LIST','List','get','filter','TrackChangesEditing','commands','change','getAttribute','commandParams','*Change\x20to:*\x20%0','markBlockFormat','slice','bulletedList','todo','listItem','bulleted','add','*Indent:*\x20%0','length','listIndent','locale','document','getSelectedBlocks','selection','push','_selectedElements','editor','before','replace','ELEMENT_LIST_ITEM','outdentList','ListEditing','end','checkChild','checkTodoList','createRange','createPositionAt','previousSibling','has','todoList','*Outdent:*\x20%0','plugins','enableCommand','commandName','value','format','from'];(function(_0x10b0ba,_0xb8f4ce){const _0x19d3bf=function(_0x483697){while(--_0x483697){_0x10b0ba['push'](_0x10b0ba['shift']());}};_0x19d3bf(++_0xb8f4ce);}(_0xb8f4,0x68));const _0x19d3=function(_0x10b0ba,_0xb8f4ce){_0x10b0ba=_0x10b0ba-0x0;let _0x19d3bf=_0xb8f4[_0x10b0ba];return _0x19d3bf;};import{Plugin as _0x5cff73}from'ckeditor5/src/core';import{getTranslation as _0x1b9d2c}from'../utils/common-translations';export default class st extends _0x5cff73{[_0x19d3('0x1a')](){const _0x15261f=this[_0x19d3('0x3a')],_0xc3de9b=_0x15261f[_0x19d3('0x34')];if(!_0x15261f[_0x19d3('0xc')]['has'](_0x19d3('0x2')))return;const _0x59dc04=_0x15261f[_0x19d3('0xc')]['get'](_0x19d3('0x24')),_0xcd8c78=_0x15261f['plugins'][_0x19d3('0x9')](_0x19d3('0x18'));function _0x5ebcfd(_0x2f5b1e){return()=>{const _0x13d96e=_0x15261f[_0x19d3('0x1e')][_0x19d3('0x35')][_0x19d3('0x37')],_0x4999cd=_0x15261f[_0x19d3('0x25')][_0x19d3('0x22')](_0x2f5b1e);if(_0x4999cd[_0x19d3('0xf')])return void _0x15261f[_0x19d3('0x13')](_0x19d3('0x12'),{});const _0x180cf5=_0x2f5b1e[_0x19d3('0x2b')](0x0,-0x4),_0x4868eb=function(_0x1e7349,_0x23afbc,_0x3c79d2){let _0x4fcc81=Array[_0x19d3('0x11')](_0x1e7349)['filter'](_0x84fcfc=>function(_0xa3e9e,_0x4e5003){return _0x4e5003[_0x19d3('0x4')](_0xa3e9e[_0x19d3('0x1f')],_0x19d3('0x2e'))&&!_0x4e5003['isObject'](_0xa3e9e);}(_0x84fcfc,_0x3c79d2));_0x4fcc81=_0x4fcc81[_0x19d3('0x23')](_0x5003f9=>!_0x5003f9['is'](_0x19d3('0x17'),_0x19d3('0x2e'))||_0x5003f9['getAttribute']('listType')!=_0x23afbc);const _0x2e85ae=new Set();for(const _0x1023d2 of _0x4fcc81)_0x1023d2['is'](_0x19d3('0x17'),_0x19d3('0x2e'))?_0x2e85ae['add'](ne(_0x1023d2)):_0x2e85ae[_0x19d3('0x30')](_0x1023d2);return Array[_0x19d3('0x11')](_0x2e85ae);}(_0x13d96e[_0x19d3('0x36')](),_0x180cf5,_0x15261f['model']['schema']);_0x15261f[_0x19d3('0x1e')][_0x19d3('0x26')](()=>{for(const _0x4c6318 of _0x4868eb)_0x59dc04[_0x19d3('0x2a')](_0x4c6318,{'commandName':_0x2f5b1e,'commandParams':[{'forceValue':!_0x4999cd[_0x19d3('0xf')]}],'formatGroupId':'blockName'},oe(_0x4c6318));});};}function _0x4852f5(_0x4cddf5){return()=>{const _0x1cf067=function(_0x6f2a31){let _0x1bbac8=Array[_0x19d3('0x11')](_0x6f2a31);const _0x1f8298=_0x1bbac8[_0x19d3('0x19')](_0x34ab75=>_0x19d3('0x2e')!=_0x34ab75[_0x19d3('0x1d')]);return _0x1f8298>-0x1&&(_0x1bbac8=_0x1bbac8[_0x19d3('0x2b')](0x0,_0x1f8298)),_0x1bbac8;}(_0x15261f[_0x19d3('0x1e')][_0x19d3('0x35')][_0x19d3('0x37')][_0x19d3('0x36')]()),_0x2d9be0=_0x15261f[_0x19d3('0x1e')][_0x19d3('0x6')](_0x15261f[_0x19d3('0x1e')][_0x19d3('0x7')](_0x1cf067[0x0],_0x19d3('0x3b')),_0x15261f['model']['createPositionAt'](_0x1cf067[_0x1cf067[_0x19d3('0x32')]-0x1],_0x19d3('0x3')));_0x15261f['model'][_0x19d3('0x26')](()=>{_0x59dc04[_0x19d3('0x2a')](_0x2d9be0,{'commandName':_0x4cddf5,'commandParams':[],'formatGroupId':_0x19d3('0x33')},function(_0x2d3728){const _0x35d93e=new Set();for(const _0xcc380b of _0x2d3728){let _0x1bb76b=_0xcc380b['nextSibling'];for(;_0x1bb76b&&_0x1bb76b[_0x19d3('0x27')]('listIndent')>_0xcc380b[_0x19d3('0x27')]('listIndent');)_0x35d93e['add'](_0x1bb76b),_0x1bb76b=_0x1bb76b[_0x19d3('0x1b')];}return Array[_0x19d3('0x11')](_0x35d93e);}(_0x1cf067));});};}_0x59dc04[_0x19d3('0xd')](_0x19d3('0x1c'),_0x5ebcfd(_0x19d3('0x1c'))),_0x59dc04[_0x19d3('0xd')](_0x19d3('0x2c'),_0x5ebcfd(_0x19d3('0x2c'))),_0xcd8c78&&_0x59dc04[_0x19d3('0xd')]('todoList',_0x5ebcfd(_0x19d3('0xa'))),_0x59dc04['enableCommand']('indentList',_0x4852f5('indentList')),_0x59dc04[_0x19d3('0xd')](_0x19d3('0x1'),_0x4852f5('outdentList')),_0xcd8c78&&_0x59dc04[_0x19d3('0xd')]('checkTodoList',()=>{const _0xf77391=_0x15261f[_0x19d3('0x25')][_0x19d3('0x22')](_0x19d3('0x5')),_0xd45aac=Array[_0x19d3('0x11')](_0xf77391[_0x19d3('0x39')]);_0xd45aac['filter'](_0x257a81=>_0x257a81['getAttribute'](_0x19d3('0x14'))!=_0xf77391[_0x19d3('0xf')]),_0x15261f['model'][_0x19d3('0x26')](()=>{for(const _0x46e7bc of _0xd45aac)_0x59dc04['markBlockFormat'](_0x46e7bc,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0xf77391['value']}]});});}),_0x59dc04[_0x19d3('0x16')]['registerElementLabel'](_0x19d3('0x2e'),_0x593c9f=>_0x1b9d2c(_0xc3de9b,'ELEMENT_LIST_ITEM',_0x593c9f)),_0x59dc04[_0x19d3('0x16')][_0x19d3('0x15')](_0x2ad35d=>{const {data:_0x3d3214}=_0x2ad35d;if(_0x3d3214){if(_0x19d3('0x1c')==_0x3d3214[_0x19d3('0xe')]||_0x19d3('0x2c')==_0x3d3214[_0x19d3('0xe')]||_0x19d3('0xa')==_0x3d3214[_0x19d3('0xe')])switch(_0x3d3214['commandName'][_0x19d3('0x3c')](_0x19d3('0x21'),'')){case _0x19d3('0x2f'):return _0x2ac95c(_0x1b9d2c(_0xc3de9b,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x2ac95c(_0x1b9d2c(_0xc3de9b,'ELEMENT_NUMBERED_LIST'));case _0x19d3('0x2d'):return _0x2ac95c(_0x1b9d2c(_0xc3de9b,_0x19d3('0x20')));}if('indentList'==_0x3d3214['commandName'])return{'type':_0x19d3('0x10'),'content':_0x1b9d2c(_0xc3de9b,_0x19d3('0x31'),_0x1b9d2c(_0xc3de9b,'ELEMENT_LIST_ITEM'))};if(_0x19d3('0x1')==_0x3d3214['commandName'])return{'type':_0x19d3('0x10'),'content':_0x1b9d2c(_0xc3de9b,_0x19d3('0xb'),_0x1b9d2c(_0xc3de9b,_0x19d3('0x0')))};if('checkTodoList'==_0x3d3214[_0x19d3('0xe')])return _0x3d3214[_0x19d3('0x28')][0x0]['forceValue']?{'type':_0x19d3('0x10'),'content':_0x1b9d2c(_0xc3de9b,'*Check\x20item*')}:{'type':_0x19d3('0x10'),'content':_0x1b9d2c(_0xc3de9b,'*Uncheck\x20item*')};}function _0x2ac95c(_0x1993b4){return{'type':'format','content':_0x1b9d2c(_0xc3de9b,_0x19d3('0x29'),_0x1993b4)};}});}}function ne(_0x15bc11){const _0x2e3a7b=_0x15bc11[_0x19d3('0x27')](_0x19d3('0x33'));if(0x0==_0x2e3a7b)return _0x15bc11;let _0x20de3f=_0x15bc11;for(;_0x15bc11[_0x19d3('0x8')]&&_0x15bc11[_0x19d3('0x8')]['is'](_0x19d3('0x17'),_0x19d3('0x2e'));){const _0x48d553=_0x15bc11[_0x19d3('0x8')][_0x19d3('0x27')](_0x19d3('0x33'));if(_0x48d553==_0x2e3a7b)_0x20de3f=_0x15bc11['previousSibling'];else{if(_0x48d553<_0x2e3a7b)break;}_0x15bc11=_0x15bc11[_0x19d3('0x8')];}return _0x20de3f;}function oe(_0x19aadc){const _0x1c6c17=[];if(_0x19aadc['is']('element',_0x19d3('0x2e'))&&_0x19aadc[_0x19d3('0x27')](_0x19d3('0x33'))>0x0){let _0x318461=_0x19aadc[_0x19d3('0x1b')];for(;_0x318461&&_0x19d3('0x2e')==_0x318461['name']&&_0x318461[_0x19d3('0x27')](_0x19d3('0x33'))==_0x19aadc[_0x19d3('0x27')](_0x19d3('0x33'));)_0x1c6c17[_0x19d3('0x38')](_0x318461),_0x318461=_0x318461[_0x19d3('0x1b')];}return _0x1c6c17;}
23
+ const _0xecf2=['name','numberedList','before','todoList','previousSibling','add','slice','isObject','listIndent','ELEMENT_NUMBERED_LIST','TrackChangesEditing','document','filter','change','indentList','end','ELEMENT_TODO_LIST','commandName','value','selection','getSelectedBlocks','has','plugins','listType','replace','checkTodoList','enableCommand','bulletedList','ELEMENT_LIST_ITEM','checkChild','parent','*Check\x20item*','nextSibling','element','bulleted','model','editor','format','List','get','_selectedElements','_descriptionFactory','push','TodoListEditing','afterInit','length','todoListChecked','findIndex','forceValue','paragraph','outdentList','from','commands','registerElementLabel','createRange','ListEditing','commandParams','numbered','*Indent:*\x20%0','execute','registerDescriptionCallback','createPositionAt','*Outdent:*\x20%0','getAttribute','listItem','markBlockFormat','*Change\x20to:*\x20%0'];(function(_0x4e26da,_0xecf20){const _0x1cfd5a=function(_0x3bf7de){while(--_0x3bf7de){_0x4e26da['push'](_0x4e26da['shift']());}};_0x1cfd5a(++_0xecf20);}(_0xecf2,0x1ac));const _0x1cfd=function(_0x4e26da,_0xecf20){_0x4e26da=_0x4e26da-0x0;let _0x1cfd5a=_0xecf2[_0x4e26da];return _0x1cfd5a;};import{Plugin as _0x213cb5}from'ckeditor5/src/core';import{getTranslation as _0x36d915}from'../utils/common-translations';export default class st extends _0x213cb5{[_0x1cfd('0x12')](){const _0x59219e=this[_0x1cfd('0xa')],_0x2be714=_0x59219e['locale'];if(!_0x59219e[_0x1cfd('0x3f')][_0x1cfd('0x3e')](_0x1cfd('0x1d')))return;const _0x14f0c8=_0x59219e[_0x1cfd('0x3f')][_0x1cfd('0xd')](_0x1cfd('0x33')),_0x297d7d=_0x59219e[_0x1cfd('0x3f')][_0x1cfd('0x3e')](_0x1cfd('0x11'));function _0x4043d8(_0x3748f9){return()=>{const _0x67e2a9=_0x59219e[_0x1cfd('0x9')][_0x1cfd('0x34')][_0x1cfd('0x3c')],_0x2d1303=_0x59219e[_0x1cfd('0x1a')][_0x1cfd('0xd')](_0x3748f9);if(_0x2d1303[_0x1cfd('0x3b')])return void _0x59219e[_0x1cfd('0x21')](_0x1cfd('0x17'),{});const _0x2f07b8=_0x3748f9[_0x1cfd('0x2f')](0x0,-0x4),_0x43fc49=function(_0x324b57,_0x2ef0a5,_0x12eb58){let _0x5a3711=Array['from'](_0x324b57)['filter'](_0x118a6a=>function(_0x11c096,_0x2538d2){return _0x2538d2[_0x1cfd('0x3')](_0x11c096[_0x1cfd('0x4')],_0x1cfd('0x26'))&&!_0x2538d2[_0x1cfd('0x30')](_0x11c096);}(_0x118a6a,_0x12eb58));_0x5a3711=_0x5a3711['filter'](_0x3ed430=>!_0x3ed430['is']('element','listItem')||_0x3ed430['getAttribute'](_0x1cfd('0x40'))!=_0x2ef0a5);const _0x681090=new Set();for(const _0x3f47ec of _0x5a3711)_0x3f47ec['is'](_0x1cfd('0x7'),_0x1cfd('0x26'))?_0x681090[_0x1cfd('0x2e')](ne(_0x3f47ec)):_0x681090[_0x1cfd('0x2e')](_0x3f47ec);return Array[_0x1cfd('0x19')](_0x681090);}(_0x67e2a9[_0x1cfd('0x3d')](),_0x2f07b8,_0x59219e[_0x1cfd('0x9')]['schema']);_0x59219e[_0x1cfd('0x9')][_0x1cfd('0x36')](()=>{for(const _0x3bd266 of _0x43fc49)_0x14f0c8['markBlockFormat'](_0x3bd266,{'commandName':_0x3748f9,'commandParams':[{'forceValue':!_0x2d1303['value']}],'formatGroupId':'blockName'},oe(_0x3bd266));});};}function _0x498e31(_0x2a1e80){return()=>{const _0x5d373d=function(_0x5adf9a){let _0x2172a7=Array[_0x1cfd('0x19')](_0x5adf9a);const _0x2074a5=_0x2172a7[_0x1cfd('0x15')](_0x5e6483=>'listItem'!=_0x5e6483[_0x1cfd('0x29')]);return _0x2074a5>-0x1&&(_0x2172a7=_0x2172a7[_0x1cfd('0x2f')](0x0,_0x2074a5)),_0x2172a7;}(_0x59219e[_0x1cfd('0x9')]['document'][_0x1cfd('0x3c')][_0x1cfd('0x3d')]()),_0x5dd599=_0x59219e[_0x1cfd('0x9')][_0x1cfd('0x1c')](_0x59219e[_0x1cfd('0x9')][_0x1cfd('0x23')](_0x5d373d[0x0],_0x1cfd('0x2b')),_0x59219e['model'][_0x1cfd('0x23')](_0x5d373d[_0x5d373d[_0x1cfd('0x13')]-0x1],_0x1cfd('0x38')));_0x59219e[_0x1cfd('0x9')][_0x1cfd('0x36')](()=>{_0x14f0c8[_0x1cfd('0x27')](_0x5dd599,{'commandName':_0x2a1e80,'commandParams':[],'formatGroupId':_0x1cfd('0x31')},function(_0x55a4fa){const _0x130269=new Set();for(const _0x221d75 of _0x55a4fa){let _0x464071=_0x221d75[_0x1cfd('0x6')];for(;_0x464071&&_0x464071['getAttribute'](_0x1cfd('0x31'))>_0x221d75[_0x1cfd('0x25')](_0x1cfd('0x31'));)_0x130269[_0x1cfd('0x2e')](_0x464071),_0x464071=_0x464071[_0x1cfd('0x6')];}return Array['from'](_0x130269);}(_0x5d373d));});};}_0x14f0c8['enableCommand']('numberedList',_0x4043d8(_0x1cfd('0x2a'))),_0x14f0c8[_0x1cfd('0x0')]('bulletedList',_0x4043d8(_0x1cfd('0x1'))),_0x297d7d&&_0x14f0c8[_0x1cfd('0x0')]('todoList',_0x4043d8(_0x1cfd('0x2c'))),_0x14f0c8[_0x1cfd('0x0')](_0x1cfd('0x37'),_0x498e31(_0x1cfd('0x37'))),_0x14f0c8['enableCommand'](_0x1cfd('0x18'),_0x498e31('outdentList')),_0x297d7d&&_0x14f0c8['enableCommand'](_0x1cfd('0x42'),()=>{const _0x5c6b63=_0x59219e['commands'][_0x1cfd('0xd')](_0x1cfd('0x42')),_0x520790=Array[_0x1cfd('0x19')](_0x5c6b63[_0x1cfd('0xe')]);_0x520790[_0x1cfd('0x35')](_0x55a828=>_0x55a828[_0x1cfd('0x25')](_0x1cfd('0x14'))!=_0x5c6b63['value']),_0x59219e[_0x1cfd('0x9')][_0x1cfd('0x36')](()=>{for(const _0x1488e0 of _0x520790)_0x14f0c8[_0x1cfd('0x27')](_0x1488e0,{'commandName':_0x1cfd('0x42'),'commandParams':[{'forceValue':!_0x5c6b63[_0x1cfd('0x3b')]}]});});}),_0x14f0c8['_descriptionFactory'][_0x1cfd('0x1b')](_0x1cfd('0x26'),_0x5ae22d=>_0x36d915(_0x2be714,_0x1cfd('0x2'),_0x5ae22d)),_0x14f0c8[_0x1cfd('0xf')][_0x1cfd('0x22')](_0x1fb8dd=>{const {data:_0x87157c}=_0x1fb8dd;if(_0x87157c){if(_0x1cfd('0x2a')==_0x87157c[_0x1cfd('0x3a')]||_0x1cfd('0x1')==_0x87157c[_0x1cfd('0x3a')]||_0x1cfd('0x2c')==_0x87157c['commandName'])switch(_0x87157c[_0x1cfd('0x3a')][_0x1cfd('0x41')](_0x1cfd('0xc'),'')){case _0x1cfd('0x8'):return _0xf8082e(_0x36d915(_0x2be714,'ELEMENT_BULLETED_LIST'));case _0x1cfd('0x1f'):return _0xf8082e(_0x36d915(_0x2be714,_0x1cfd('0x32')));case'todo':return _0xf8082e(_0x36d915(_0x2be714,_0x1cfd('0x39')));}if('indentList'==_0x87157c[_0x1cfd('0x3a')])return{'type':'format','content':_0x36d915(_0x2be714,_0x1cfd('0x20'),_0x36d915(_0x2be714,'ELEMENT_LIST_ITEM'))};if(_0x1cfd('0x18')==_0x87157c[_0x1cfd('0x3a')])return{'type':_0x1cfd('0xb'),'content':_0x36d915(_0x2be714,_0x1cfd('0x24'),_0x36d915(_0x2be714,_0x1cfd('0x2')))};if('checkTodoList'==_0x87157c[_0x1cfd('0x3a')])return _0x87157c[_0x1cfd('0x1e')][0x0][_0x1cfd('0x16')]?{'type':'format','content':_0x36d915(_0x2be714,_0x1cfd('0x5'))}:{'type':_0x1cfd('0xb'),'content':_0x36d915(_0x2be714,'*Uncheck\x20item*')};}function _0xf8082e(_0x10fa3a){return{'type':_0x1cfd('0xb'),'content':_0x36d915(_0x2be714,_0x1cfd('0x28'),_0x10fa3a)};}});}}function ne(_0x15c83){const _0xc47cc7=_0x15c83[_0x1cfd('0x25')](_0x1cfd('0x31'));if(0x0==_0xc47cc7)return _0x15c83;let _0x3f0ed2=_0x15c83;for(;_0x15c83[_0x1cfd('0x2d')]&&_0x15c83['previousSibling']['is'](_0x1cfd('0x7'),'listItem');){const _0x440f38=_0x15c83[_0x1cfd('0x2d')][_0x1cfd('0x25')](_0x1cfd('0x31'));if(_0x440f38==_0xc47cc7)_0x3f0ed2=_0x15c83[_0x1cfd('0x2d')];else{if(_0x440f38<_0xc47cc7)break;}_0x15c83=_0x15c83[_0x1cfd('0x2d')];}return _0x3f0ed2;}function oe(_0x1eef36){const _0x170ca8=[];if(_0x1eef36['is'](_0x1cfd('0x7'),_0x1cfd('0x26'))&&_0x1eef36[_0x1cfd('0x25')](_0x1cfd('0x31'))>0x0){let _0x1b6a41=_0x1eef36[_0x1cfd('0x6')];for(;_0x1b6a41&&'listItem'==_0x1b6a41[_0x1cfd('0x29')]&&_0x1b6a41['getAttribute'](_0x1cfd('0x31'))==_0x1eef36['getAttribute']('listIndent');)_0x170ca8[_0x1cfd('0x10')](_0x1b6a41),_0x1b6a41=_0x1b6a41['nextSibling'];}return _0x170ca8;}