@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240128.0 → 0.0.0-nightly-20240130.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 (67) 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/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/entercommand.js +1 -1
  18. package/src/integrations/findandreplace.js +1 -1
  19. package/src/integrations/font.js +1 -1
  20. package/src/integrations/formatpainter.js +1 -1
  21. package/src/integrations/heading.js +1 -1
  22. package/src/integrations/highlight.js +1 -1
  23. package/src/integrations/horizontalline.js +1 -1
  24. package/src/integrations/htmlembed.js +1 -1
  25. package/src/integrations/image.js +1 -1
  26. package/src/integrations/imagereplace.js +1 -1
  27. package/src/integrations/imagestyle.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/legacylist.js +1 -1
  32. package/src/integrations/legacylistproperties.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c3e=['elementToStructure','get','horizontalLine','for','_descriptionFactory','createPositionAt','TrackChangesEditing','locale','enableCommand','editor','ck-horizontal-line','HorizontalLineEditing','plugins','showSuggestionHighlights','insert','createContainerElement','ELEMENT_HORIZONTAL_LINE','registerElementLabel'];(function(_0x290387,_0x4c3e1d){const _0x23d08e=function(_0x254bbc){while(--_0x254bbc){_0x290387['push'](_0x290387['shift']());}};_0x23d08e(++_0x4c3e1d);}(_0x4c3e,0x110));const _0x23d0=function(_0x290387,_0x4c3e1d){_0x290387=_0x290387-0x0;let _0x23d08e=_0x4c3e[_0x290387];return _0x23d08e;};import{Plugin as _0x22cd33}from'ckeditor5/src/core.js';import{getTranslation as _0x2f6176}from'../utils/common-translations.js';export default class tt extends _0x22cd33{['afterInit'](){const _0x505326=this[_0x23d0('0x7')];if(!_0x505326[_0x23d0('0xa')]['has'](_0x23d0('0x9')))return;_0x505326[_0x23d0('0xa')][_0x23d0('0x11')](_0x23d0('0x4'))[_0x23d0('0x6')](_0x23d0('0x0'));const _0x71ac52=_0x505326['plugins'][_0x23d0('0x11')](_0x23d0('0x4')),_0x533c8b=_0x505326[_0x23d0('0x5')];_0x71ac52[_0x23d0('0x2')][_0x23d0('0xf')](_0x23d0('0x0'),_0x3d2acd=>_0x2f6176(_0x533c8b,_0x23d0('0xe'),_0x3d2acd)),_0x505326['conversion'][_0x23d0('0x1')]('dataDowncast')[_0x23d0('0x10')]({'model':_0x23d0('0x0'),'view':(_0x5b57be,{writer:_0x21490f,options:_0x11d1af})=>{if(!_0x11d1af[_0x23d0('0xb')])return null;const _0x4c42b1=_0x21490f[_0x23d0('0xd')]('div'),_0x283082=_0x21490f['createEmptyElement']('hr');return _0x21490f['addClass'](_0x23d0('0x8'),_0x4c42b1),_0x21490f[_0x23d0('0xc')](_0x21490f[_0x23d0('0x3')](_0x4c42b1,0x0),_0x283082),_0x4c42b1;},'converterPriority':'high'});}}
23
+ const _0x2709=['horizontalLine','createEmptyElement','createContainerElement','registerElementLabel','dataDowncast','conversion','div','for','HorizontalLineEditing','insert','editor','ck-horizontal-line','showSuggestionHighlights','plugins','locale','TrackChangesEditing','enableCommand','addClass','high','get','_descriptionFactory'];(function(_0x2cd8da,_0x2709e0){const _0x25aef8=function(_0x268922){while(--_0x268922){_0x2cd8da['push'](_0x2cd8da['shift']());}};_0x25aef8(++_0x2709e0);}(_0x2709,0x120));const _0x25ae=function(_0x2cd8da,_0x2709e0){_0x2cd8da=_0x2cd8da-0x0;let _0x25aef8=_0x2709[_0x2cd8da];return _0x25aef8;};import{Plugin as _0x1b6e22}from'ckeditor5/src/core.js';import{getTranslation as _0x4488fe}from'../utils/common-translations.js';export default class tt extends _0x1b6e22{['afterInit'](){const _0x325616=this[_0x25ae('0x10')];if(!_0x325616[_0x25ae('0x13')]['has'](_0x25ae('0xe')))return;_0x325616[_0x25ae('0x13')][_0x25ae('0x4')](_0x25ae('0x0'))[_0x25ae('0x1')](_0x25ae('0x6'));const _0x3d5096=_0x325616[_0x25ae('0x13')][_0x25ae('0x4')](_0x25ae('0x0')),_0x334265=_0x325616[_0x25ae('0x14')];_0x3d5096[_0x25ae('0x5')][_0x25ae('0x9')](_0x25ae('0x6'),_0x5b39ab=>_0x4488fe(_0x334265,'ELEMENT_HORIZONTAL_LINE',_0x5b39ab)),_0x325616[_0x25ae('0xb')][_0x25ae('0xd')](_0x25ae('0xa'))['elementToStructure']({'model':_0x25ae('0x6'),'view':(_0xaaadba,{writer:_0x7810dc,options:_0x11fcd7})=>{if(!_0x11fcd7[_0x25ae('0x12')])return null;const _0x49b817=_0x7810dc[_0x25ae('0x8')](_0x25ae('0xc')),_0x2d409f=_0x7810dc[_0x25ae('0x7')]('hr');return _0x7810dc[_0x25ae('0x2')](_0x25ae('0x11'),_0x49b817),_0x7810dc[_0x25ae('0xf')](_0x7810dc['createPositionAt'](_0x49b817,0x0),_0x2d409f),_0x49b817;},'converterPriority':_0x25ae('0x3')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x580b=['registerDescriptionCallback','_descriptionFactory','editor','TrackChangesEditing','get','HtmlEmbed','value','ELEMENT_HTML_EMBED','type','nodeAfter','plugins','commandName','htmlEmbed','rawHtml','element','key','*Change\x20%0\x20content*','_enableDefaultAttributesIntegration','_registerLegacyDescription','format','locale'];(function(_0x4d6e88,_0x580b39){const _0x27b4c9=function(_0x4d53a2){while(--_0x4d53a2){_0x4d6e88['push'](_0x4d6e88['shift']());}};_0x27b4c9(++_0x580b39);}(_0x580b,0x1a9));const _0x27b4=function(_0x4d6e88,_0x580b39){_0x4d6e88=_0x4d6e88-0x0;let _0x27b4c9=_0x580b[_0x4d6e88];return _0x27b4c9;};import{Plugin as _0x3fde1e}from'ckeditor5/src/core.js';import{getTranslation as _0x44d9da}from'../utils/common-translations.js';export default class et extends _0x3fde1e{['afterInit'](){const _0x3b4ed=this[_0x27b4('0x12')];if(!_0x3b4ed[_0x27b4('0x5')]['has'](_0x27b4('0x0')))return;const _0x2a1746=_0x3b4ed[_0x27b4('0x5')][_0x27b4('0x14')]('TrackChangesEditing'),_0xe20ee3=_0x3b4ed[_0x27b4('0xf')];_0x2a1746['_descriptionFactory']['registerElementLabel'](_0x27b4('0x8'),_0x499b5d=>_0x44d9da(_0xe20ee3,_0x27b4('0x2'),_0x499b5d)),_0x2a1746[_0x27b4('0xc')](_0x27b4('0x7'),[],[_0x27b4('0x1')]),_0x2a1746[_0x27b4('0x11')][_0x27b4('0x10')](_0x1e949c=>{if('attribute'!=_0x1e949c[_0x27b4('0x3')])return;const {data:_0x16cf69}=_0x1e949c;if(_0x16cf69&&_0x27b4('0x1')==_0x16cf69[_0x27b4('0xa')]&&_0x1e949c['getFirstRange']()['start'][_0x27b4('0x4')]['is'](_0x27b4('0x9'),'rawHtml')){const _0x418a88=_0x44d9da(_0xe20ee3,_0x27b4('0x2'));return{'type':_0x27b4('0xe'),'content':_0x44d9da(_0xe20ee3,_0x27b4('0xb'),_0x418a88)};}}),this[_0x27b4('0xd')]();}[_0x27b4('0xd')](){const _0xb8eacf=this[_0x27b4('0x12')],_0x480109=_0xb8eacf[_0x27b4('0xf')];_0xb8eacf['plugins']['get'](_0x27b4('0x13'))[_0x27b4('0x11')][_0x27b4('0x10')](_0x2f480e=>{if('formatBlock'!=_0x2f480e[_0x27b4('0x3')])return;const {data:_0x7665ea}=_0x2f480e;if(_0x7665ea&&_0x27b4('0x7')==_0x7665ea[_0x27b4('0x6')]){const _0x22941d=_0x44d9da(_0x480109,_0x27b4('0x2'));return{'type':_0x27b4('0xe'),'content':_0x44d9da(_0x480109,_0x27b4('0xb'),_0x22941d)};}});}}
23
+ const _0x4db8=['*Change\x20%0\x20content*','type','locale','_descriptionFactory','TrackChangesEditing','registerElementLabel','registerDescriptionCallback','value','key','start','commandName','nodeAfter','HtmlEmbed','ELEMENT_HTML_EMBED','getFirstRange','rawHtml','htmlEmbed','format','plugins','_registerLegacyDescription'];(function(_0x4b159d,_0x4db800){const _0x3a34ec=function(_0x598398){while(--_0x598398){_0x4b159d['push'](_0x4b159d['shift']());}};_0x3a34ec(++_0x4db800);}(_0x4db8,0x19f));const _0x3a34=function(_0x4b159d,_0x4db800){_0x4b159d=_0x4b159d-0x0;let _0x3a34ec=_0x4db8[_0x4b159d];return _0x3a34ec;};import{Plugin as _0x587e10}from'ckeditor5/src/core.js';import{getTranslation as _0x139d92}from'../utils/common-translations.js';export default class et extends _0x587e10{['afterInit'](){const _0x5f1df2=this['editor'];if(!_0x5f1df2[_0x3a34('0x3')]['has'](_0x3a34('0x11')))return;const _0x41745a=_0x5f1df2[_0x3a34('0x3')]['get']('TrackChangesEditing'),_0x5a04c9=_0x5f1df2['locale'];_0x41745a[_0x3a34('0x8')][_0x3a34('0xa')](_0x3a34('0x0'),_0x2714b6=>_0x139d92(_0x5a04c9,_0x3a34('0x12'),_0x2714b6)),_0x41745a['_enableDefaultAttributesIntegration'](_0x3a34('0x1'),[],[_0x3a34('0xc')]),_0x41745a[_0x3a34('0x8')]['registerDescriptionCallback'](_0x18444a=>{if('attribute'!=_0x18444a[_0x3a34('0x6')])return;const {data:_0x2e0868}=_0x18444a;if(_0x2e0868&&_0x3a34('0xc')==_0x2e0868[_0x3a34('0xd')]&&_0x18444a[_0x3a34('0x13')]()[_0x3a34('0xe')][_0x3a34('0x10')]['is']('element',_0x3a34('0x0'))){const _0x20a5eb=_0x139d92(_0x5a04c9,_0x3a34('0x12'));return{'type':'format','content':_0x139d92(_0x5a04c9,'*Change\x20%0\x20content*',_0x20a5eb)};}}),this[_0x3a34('0x4')]();}[_0x3a34('0x4')](){const _0x206500=this['editor'],_0x105b41=_0x206500[_0x3a34('0x7')];_0x206500[_0x3a34('0x3')]['get'](_0x3a34('0x9'))[_0x3a34('0x8')][_0x3a34('0xb')](_0x3fe1f7=>{if('formatBlock'!=_0x3fe1f7['type'])return;const {data:_0x1d9b66}=_0x3fe1f7;if(_0x1d9b66&&_0x3a34('0x1')==_0x1d9b66[_0x3a34('0xf')]){const _0x5a4a51=_0x139d92(_0x105b41,_0x3a34('0x12'));return{'type':_0x3a34('0x2'),'content':_0x139d92(_0x105b41,_0x3a34('0x5'),_0x5a4a51)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf3b8=['subType','ImageInlineEditing','TrackChangesEditing','imageBlock','imageInline','newValue','*Set\x20image\x20text\x20alternative:*\x20%0','selection','createRangeOn','backward','schema','ImageTextAlternativeEditing','markInsertion','find','width','ImageEditing','commandParams','ELEMENT_IMAGE','document','Inline\x20image\x20to\x20block\x20image','getCaptionFromImageModelElement','end','editor','_enableDefaultAttributesIntegration','change','resizedWidth','getFirstRange','findIndex','resizeImage','forward','ImageUploadEditing','imageTypeInline','ImageCaptionUtils','registerDescriptionCallback','imageTypeBlock','*Reset\x20image\x20width*','insertImage','getClosestSelectedImageElement','markBlockFormat','ImageBlockEditing','FORMAT_IMAGE_SIZE','attribute','toggleImageCaption','_descriptionFactory','accept','toNext','uploadImage','addObject','formatBlock','get','length','insertion','imageCaption','type','plugins','Block\x20image\x20to\x20inline\x20image','formatInline','start','afterInit','_findSuggestions','_registerLegacyDescription','format','discard','has','_suggestionFactory','chain','deletion','nodeAfter','ELEMENT_INLINE_IMAGE','createRange','isCollapsed','alt','registerElementLabel','detach','getNearestSelectionRange','isEqual','registerCustomCallback','join','model','convertInlineImageToBlock','enableCommand','isBlockImage','key','*Remove\x20image\x20text\x20alternative*','previous','caption','getContainedElement','fromPosition','convertBlockImageToInline','getSuggestionCallback','isBefore','nodeBefore','isOwn'];(function(_0xf35ed7,_0xf3b8ec){const _0xb27679=function(_0x3f1b59){while(--_0x3f1b59){_0xf35ed7['push'](_0xf35ed7['shift']());}};_0xb27679(++_0xf3b8ec);}(_0xf3b8,0xa3));const _0xb276=function(_0xf35ed7,_0xf3b8ec){_0xf35ed7=_0xf35ed7-0x0;let _0xb27679=_0xf3b8[_0xf35ed7];return _0xb27679;};import{Plugin as _0x3e68ae}from'ckeditor5/src/core.js';import{LivePosition as _0x194c40}from'ckeditor5/src/engine.js';import{getTranslation as _0x3f66ec}from'../utils/common-translations.js';export default class it extends _0x3e68ae{[_0xb276('0x51')](){const _0x6fb66b=this[_0xb276('0x2d')];if(!_0x6fb66b[_0xb276('0x4d')][_0xb276('0x56')](_0xb276('0x26')))return;const _0x79509d=_0x6fb66b[_0xb276('0x4d')][_0xb276('0x48')](_0xb276('0x19')),_0x340d45=_0x6fb66b[_0xb276('0x4d')]['get']('ImageUtils'),_0xeafd94=_0x6fb66b['locale'];_0x79509d[_0xb276('0xa')](_0xb276('0x3b')),_0x79509d[_0xb276('0x42')][_0xb276('0x2')](_0xb276('0x1a'),_0x102bf4=>_0x3f66ec(_0xeafd94,_0xb276('0x28'),_0x102bf4)),_0x79509d[_0xb276('0x42')][_0xb276('0x2')](_0xb276('0x1b'),_0xe510e=>_0x3f66ec(_0xeafd94,_0xb276('0x5b'),_0xe510e)),_0x79509d[_0xb276('0x42')][_0xb276('0x2')]('caption',()=>_0x3f66ec(_0xeafd94,'ELEMENT_CAPTION')),_0x6fb66b[_0xb276('0x4d')]['has'](_0xb276('0x35'))&&_0x79509d[_0xb276('0xa')](_0xb276('0x45')),_0x6fb66b[_0xb276('0x4d')]['has'](_0xb276('0x3e'))&&_0x6fb66b[_0xb276('0x4d')][_0xb276('0x56')](_0xb276('0x18'))&&(_0x79509d['enableCommand'](_0xb276('0x36'),(_0x365d97,_0x312e78)=>{const _0x30462e=_0x340d45[_0xb276('0x3c')](_0x6fb66b['model'][_0xb276('0x29')][_0xb276('0x1e')]);_0x6fb66b[_0xb276('0x8')][_0xb276('0x2f')](()=>{_0x79509d[_0xb276('0x3d')](_0x30462e,{'commandName':_0xb276('0x36'),'commandParams':[_0x312e78]},[],_0xb276('0x12'));});}),_0x79509d[_0xb276('0xa')](_0xb276('0x39'),(_0xf43fbb,_0x32b472)=>{_0x6fb66b['model'][_0xb276('0x2f')](_0x565625=>{let _0x66b27d=_0x340d45[_0xb276('0x3c')](_0x6fb66b[_0xb276('0x8')][_0xb276('0x29')][_0xb276('0x1e')]),_0x596290=_0x565625['createRangeOn'](_0x66b27d);const _0xd34d76=_0x194c40[_0xb276('0x11')](_0x596290[_0xb276('0x50')],'toPrevious'),_0x1fb2ca=_0x194c40[_0xb276('0x11')](_0x596290[_0xb276('0x2c')],_0xb276('0x44'));_0x79509d['forceDefaultExecution'](()=>_0xf43fbb(_0x32b472)),_0x66b27d=_0x340d45[_0xb276('0x3c')](_0x6fb66b[_0xb276('0x8')][_0xb276('0x29')][_0xb276('0x1e')]),_0x596290=_0x565625[_0xb276('0x1f')](_0x66b27d);const _0x7a034e=_0x565625[_0xb276('0x5c')](_0xd34d76,_0x1fb2ca);_0xd34d76[_0xb276('0x3')](),_0x1fb2ca[_0xb276('0x3')](),_0x79509d[_0xb276('0x3d')](_0x66b27d,{'commandName':_0xb276('0x36'),'commandParams':[_0x32b472]},[],_0xb276('0x9')),_0x7a034e[_0xb276('0x50')]['isBefore'](_0x596290[_0xb276('0x50')])&&_0x79509d[_0xb276('0x23')](_0x565625[_0xb276('0x5c')](_0x7a034e[_0xb276('0x50')],_0x596290[_0xb276('0x50')]),_0xb276('0x9')),_0x596290[_0xb276('0x2c')]['isBefore'](_0x7a034e['end'])&&_0x79509d['markInsertion'](_0x565625[_0xb276('0x5c')](_0x596290[_0xb276('0x2c')],_0x7a034e[_0xb276('0x2c')]),'convertInlineImageToBlock');});}),_0x79509d[_0xb276('0x57')][_0xb276('0x6')](_0xb276('0x47'),_0xb276('0x9'),_0xb276('0x7'),()=>!0x1),_0x79509d[_0xb276('0x57')][_0xb276('0x6')]('formatBlock',_0xb276('0x9'),_0xb276('0x43'),()=>!0x1),_0x79509d['_suggestionFactory'][_0xb276('0x6')]('formatBlock',_0xb276('0x9'),_0xb276('0x55'),_0x79509d[_0xb276('0x57')][_0xb276('0x13')](_0xb276('0x47'),'',_0xb276('0x43'))),_0x79509d[_0xb276('0x57')][_0xb276('0x6')](_0xb276('0x4a'),_0xb276('0x9'),'join',()=>!0x1),_0x79509d[_0xb276('0x57')][_0xb276('0x6')](_0xb276('0x4a'),_0xb276('0x9'),_0xb276('0x55'),([_0x541417])=>{const _0x3c0881=_0x79509d[_0xb276('0x57')]['getSuggestionCallback'](_0xb276('0x4a'),'','discard');let _0x5df113=_0x541417[_0xb276('0x50')],_0x215194=_0x541417['end'];const _0x21ba56=_0x6fb66b[_0xb276('0x8')]['schema'][_0xb276('0x4')](_0x5df113,_0xb276('0x20')),_0x45eb04=_0x6fb66b[_0xb276('0x8')][_0xb276('0x21')]['getNearestSelectionRange'](_0x215194,_0xb276('0x34'));_0x21ba56[_0xb276('0x0')]&&(_0x5df113=_0x21ba56['start']),_0x45eb04[_0xb276('0x0')]&&(_0x215194=_0x45eb04[_0xb276('0x2c')]),_0x3c0881([_0x6fb66b[_0xb276('0x8')][_0xb276('0x5c')](_0x5df113,_0x215194)]);}),_0x79509d[_0xb276('0x57')][_0xb276('0x6')](_0xb276('0x47'),_0xb276('0x9'),_0xb276('0x58'),_0x46fa50),_0x79509d[_0xb276('0x57')][_0xb276('0x6')](_0xb276('0x4a'),'convertInlineImageToBlock','chain',_0x46fa50)),_0x6fb66b[_0xb276('0x4d')][_0xb276('0x56')]('ImageCaptionEditing')&&(_0x79509d['enableCommand'](_0xb276('0x41'),(_0x4dfd09,_0x659689)=>{const _0x58d6c9=_0x6fb66b['plugins'][_0xb276('0x48')](_0xb276('0x37'));let _0x4a1d45=_0x340d45[_0xb276('0x3c')](_0x6fb66b[_0xb276('0x8')]['document'][_0xb276('0x1e')]),_0x9191dc=_0x58d6c9[_0xb276('0x2b')](_0x4a1d45);_0x6fb66b[_0xb276('0x8')][_0xb276('0x2f')](()=>{if(_0x9191dc)return void _0x79509d['markDeletion'](_0x6fb66b[_0xb276('0x8')][_0xb276('0x1f')](_0x9191dc));const _0x2b9121=_0x340d45[_0xb276('0xb')](_0x4a1d45);_0x4dfd09(_0x659689),_0x4a1d45=_0x340d45[_0xb276('0x3c')](_0x6fb66b[_0xb276('0x8')][_0xb276('0x29')][_0xb276('0x1e')]),_0x9191dc=_0x58d6c9[_0xb276('0x2b')](_0x4a1d45),_0x79509d[_0xb276('0x23')](_0x6fb66b[_0xb276('0x8')][_0xb276('0x1f')](_0x9191dc),_0x2b9121?null:_0xb276('0x4b'));});}),_0x79509d['_suggestionFactory'][_0xb276('0x6')]('insertion',_0xb276('0x4b'),'chain',_0x46fa50));const _0x2fa290=[{'type':_0xb276('0x47'),'subType':'imageStylePreApply'},{'type':_0xb276('0x4a'),'subType':_0xb276('0x4b')},{'type':'formatBlock','subType':_0xb276('0x9')},{'type':_0xb276('0x4a'),'subType':_0xb276('0x9')}];function _0x38afdd(_0x34d196,_0x21a01a){const _0x349426=_0x2fa290[_0xb276('0x32')](({type:_0x3f0bb2,subType:_0x89f28})=>_0x34d196[_0xb276('0x4c')]==_0x3f0bb2&&_0x34d196['subType']==_0x89f28),_0x4c901c=_0x2fa290[_0xb276('0x32')](({type:_0x1ca5a1,subType:_0x1e82b0})=>_0x21a01a[_0xb276('0x4c')]==_0x1ca5a1&&_0x21a01a['subType']==_0x1e82b0);if(_0x349426<0x0||_0x4c901c<0x0)return!0x1;const _0x382951=_0x34d196[_0xb276('0x31')](),_0x3ecb1b=_0x21a01a['getFirstRange']();if((0x0==_0x349426||0x1==_0x349426)&&0x2==_0x4c901c&&_0x382951['isIntersecting'](_0x3ecb1b))return!0x0;if(0x2==_0x349426&&0x3==_0x4c901c){const _0x243e34=_0x79509d[_0xb276('0x52')](_0x382951,_0xb276('0x4a'))['filter'](({suggestion:_0x40830b,meta:_0x2d667c})=>_0x2d667c[_0xb276('0x16')]&&'convertInlineImageToBlock'==_0x40830b[_0xb276('0x17')]);if(_0x243e34[_0xb276('0x49')]>0x1&&_0x3ecb1b[_0xb276('0x2c')]['isEqual'](_0x382951[_0xb276('0x50')]))return!0x0;if(0x1==_0x243e34[_0xb276('0x49')]&&(_0x382951[_0xb276('0x50')][_0xb276('0x5')](_0x3ecb1b[_0xb276('0x2c')])||_0x382951[_0xb276('0x2c')][_0xb276('0x5')](_0x3ecb1b[_0xb276('0x50')])))return!0x0;}if(0x3==_0x349426&&0x3==_0x4c901c&&_0x382951[_0xb276('0x50')][_0xb276('0x14')](_0x3ecb1b['start'])){const _0x671b3e=_0x382951[_0xb276('0x2c')][_0xb276('0x5a')],_0x5e9846=_0x3ecb1b['start'][_0xb276('0x15')];return _0x340d45['isBlockImage'](_0x671b3e)&&_0x671b3e===_0x5e9846;}return!0x1;}function _0x46fa50(_0x5e5b83,_0xf8f68c){return _0x38afdd(_0x5e5b83,_0xf8f68c)?[_0x5e5b83,_0xf8f68c]:_0x38afdd(_0xf8f68c,_0x5e5b83)?[_0xf8f68c,_0x5e5b83]:null;}_0x6fb66b[_0xb276('0x4d')][_0xb276('0x56')]('ImageResize')&&(_0x79509d['_enableDefaultAttributesIntegration']('resizeImage',[],[_0xb276('0x30')]),_0x79509d[_0xb276('0x42')]['registerAttributeLabel']('resizedWidth',_0x3f66ec(_0xeafd94,_0xb276('0x3f')))),_0x6fb66b[_0xb276('0x4d')][_0xb276('0x56')](_0xb276('0x22'))&&_0x79509d[_0xb276('0x2e')]('imageTextAlternative',[],[_0xb276('0x1')]),_0x79509d[_0xb276('0x42')]['registerDescriptionCallback'](_0x3c730d=>{if(!!_0x2fa290[_0xb276('0x24')](({type:_0x234c00,subType:_0x44a077})=>_0x3c730d[_0xb276('0x4c')]==_0x234c00&&_0x3c730d[_0xb276('0x17')]==_0x44a077))return _0x3c730d[_0xb276('0xe')]?{}:void 0x0;}),_0x79509d[_0xb276('0x42')][_0xb276('0x38')](_0x1f5c1d=>{if(_0xb276('0x4a')==_0x1f5c1d[_0xb276('0x4c')]||_0xb276('0x59')==_0x1f5c1d[_0xb276('0x4c')]){const _0x51276f=_0x1f5c1d[_0xb276('0x10')]();if(_0x51276f&&_0x51276f['is']('element',_0xb276('0xf')))return{'type':_0xb276('0x4a')==_0x1f5c1d[_0xb276('0x4c')]?_0xb276('0x46'):'removeObject','element':_0x51276f,'quantity':0x1};}}),_0x79509d[_0xb276('0x42')][_0xb276('0x38')](_0x2d449d=>_0xb276('0x47')==_0x2d449d[_0xb276('0x4c')]&&_0xb276('0x9')==_0x2d449d[_0xb276('0x17')]?{'type':_0xb276('0x54'),'content':_0xb276('0x2a')}:_0xb276('0x47')==_0x2d449d[_0xb276('0x4c')]&&'convertBlockImageToInline'==_0x2d449d['subType']?{'type':_0xb276('0x54'),'content':_0xb276('0x4e')}:void 0x0),_0x79509d[_0xb276('0x42')][_0xb276('0x38')](_0x4a47b4=>{if(_0xb276('0x40')!=_0x4a47b4[_0xb276('0x4c')])return;const {data:_0x1bbc31}=_0x4a47b4;if(!_0x1bbc31||'alt'!=_0x1bbc31[_0xb276('0xc')])return;const _0x26236f=_0x1bbc31[_0xb276('0x1c')];return _0x26236f?{'type':_0xb276('0x54'),'content':_0x3f66ec(_0xeafd94,_0xb276('0x1d'),'\x22'+_0x26236f+'\x22')}:{'type':_0xb276('0x54'),'content':_0x3f66ec(_0xeafd94,_0xb276('0xd'))};}),this['_registerLegacyDescription']();}[_0xb276('0x53')](){const _0x3791be=this[_0xb276('0x2d')],_0x372b5d=_0x3791be['locale'];_0x3791be[_0xb276('0x4d')]['get'](_0xb276('0x19'))[_0xb276('0x42')][_0xb276('0x38')](_0x1ef8c3=>{if(_0xb276('0x47')!=_0x1ef8c3[_0xb276('0x4c')]&&_0xb276('0x4f')!=_0x1ef8c3['type'])return;const {data:_0x323406}=_0x1ef8c3;if(_0x323406){if('imageTextAlternative'==_0x323406['commandName']){const _0x26c942=_0x323406[_0xb276('0x27')][0x0]['newValue'];return _0x26c942?{'type':'format','content':_0x3f66ec(_0x372b5d,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x26c942+'\x22')}:{'type':_0xb276('0x54'),'content':_0x3f66ec(_0x372b5d,_0xb276('0xd'))};}if(_0xb276('0x33')==_0x323406['commandName']){const _0x1ac1e6=_0x323406[_0xb276('0x27')][0x0][_0xb276('0x25')];return _0x1ac1e6?{'type':'format','content':_0x3f66ec(_0x372b5d,'*Set\x20image\x20width:*\x20%0',_0x1ac1e6)}:{'type':_0xb276('0x54'),'content':_0x3f66ec(_0x372b5d,_0xb276('0x3a'))};}}});}}
23
+ const _0x4e9c=['resizeImage','*Set\x20image\x20text\x20alternative:*\x20%0','registerDescriptionCallback','nodeBefore','ImageUtils','ImageUploadEditing','registerCustomCallback','type','Inline\x20image\x20to\x20block\x20image','format','get','getNearestSelectionRange','findIndex','ImageEditing','ImageInlineEditing','formatBlock','imageCaption','forward','discard','_descriptionFactory','imageTypeInline','isEqual','join','convertBlockImageToInline','getContainedElement','isCollapsed','commandName','imageInline','plugins','getCaptionFromImageModelElement','imageStylePreApply','change','find','imageBlock','insertion','start','attribute','previous','toNext','_findSuggestions','chain','newValue','model','detach','caption','enableCommand','backward','getFirstRange','getClosestSelectedImageElement','createRangeOn','selection','fromPosition','uploadImage','*Remove\x20image\x20text\x20alternative*','editor','imageTextAlternative','resizedWidth','has','_registerLegacyDescription','*Set\x20image\x20width:*\x20%0','isBefore','isBlockImage','removeObject','subType','ImageResize','forceDefaultExecution','width','createRange','locale','formatInline','toggleImageCaption','TrackChangesEditing','registerElementLabel','document','commandParams','nodeAfter','filter','imageTypeBlock','schema','isIntersecting','ImageTextAlternativeEditing','end','length','markInsertion','deletion','_enableDefaultAttributesIntegration','ImageBlockEditing','convertInlineImageToBlock','_suggestionFactory','*Reset\x20image\x20width*','getSuggestionCallback','ImageCaptionEditing','insertImage'];(function(_0x3739d7,_0x4e9c06){const _0xb99f0a=function(_0x3f360a){while(--_0x3f360a){_0x3739d7['push'](_0x3739d7['shift']());}};_0xb99f0a(++_0x4e9c06);}(_0x4e9c,0x14c));const _0xb99f=function(_0x3739d7,_0x4e9c06){_0x3739d7=_0x3739d7-0x0;let _0xb99f0a=_0x4e9c[_0x3739d7];return _0xb99f0a;};import{Plugin as _0x46bbd8}from'ckeditor5/src/core.js';import{LivePosition as _0x43e68f}from'ckeditor5/src/engine.js';import{getTranslation as _0x326492}from'../utils/common-translations.js';export default class it extends _0x46bbd8{['afterInit'](){const _0x1b4522=this[_0xb99f('0x1')];if(!_0x1b4522[_0xb99f('0x44')][_0xb99f('0x4')](_0xb99f('0x35')))return;const _0x5cfd7c=_0x1b4522[_0xb99f('0x44')][_0xb99f('0x32')](_0xb99f('0x12')),_0x17f045=_0x1b4522[_0xb99f('0x44')][_0xb99f('0x32')](_0xb99f('0x2c')),_0x51bcf5=_0x1b4522['locale'];_0x5cfd7c['enableCommand'](_0xb99f('0x27')),_0x5cfd7c[_0xb99f('0x3b')][_0xb99f('0x13')](_0xb99f('0x49'),_0x544fe7=>_0x326492(_0x51bcf5,'ELEMENT_IMAGE',_0x544fe7)),_0x5cfd7c['_descriptionFactory'][_0xb99f('0x13')](_0xb99f('0x43'),_0x2e49eb=>_0x326492(_0x51bcf5,'ELEMENT_INLINE_IMAGE',_0x2e49eb)),_0x5cfd7c[_0xb99f('0x3b')][_0xb99f('0x13')](_0xb99f('0x54'),()=>_0x326492(_0x51bcf5,'ELEMENT_CAPTION')),_0x1b4522[_0xb99f('0x44')][_0xb99f('0x4')](_0xb99f('0x2d'))&&_0x5cfd7c[_0xb99f('0x55')](_0xb99f('0x5c')),_0x1b4522[_0xb99f('0x44')][_0xb99f('0x4')](_0xb99f('0x21'))&&_0x1b4522[_0xb99f('0x44')]['has'](_0xb99f('0x36'))&&(_0x5cfd7c[_0xb99f('0x55')]('imageTypeInline',(_0x5902eb,_0x43c5e4)=>{const _0x5f0955=_0x17f045[_0xb99f('0x58')](_0x1b4522[_0xb99f('0x52')][_0xb99f('0x14')][_0xb99f('0x5a')]);_0x1b4522['model'][_0xb99f('0x47')](()=>{_0x5cfd7c['markBlockFormat'](_0x5f0955,{'commandName':'imageTypeInline','commandParams':[_0x43c5e4]},[],_0xb99f('0x3f'));});}),_0x5cfd7c[_0xb99f('0x55')](_0xb99f('0x18'),(_0xb628ea,_0x3d261a)=>{_0x1b4522['model']['change'](_0x3dea17=>{let _0x422494=_0x17f045['getClosestSelectedImageElement'](_0x1b4522[_0xb99f('0x52')][_0xb99f('0x14')][_0xb99f('0x5a')]),_0x47eb30=_0x3dea17[_0xb99f('0x59')](_0x422494);const _0x1dda58=_0x43e68f[_0xb99f('0x5b')](_0x47eb30['start'],'toPrevious'),_0x4d10ad=_0x43e68f['fromPosition'](_0x47eb30[_0xb99f('0x1c')],_0xb99f('0x4e'));_0x5cfd7c[_0xb99f('0xc')](()=>_0xb628ea(_0x3d261a)),_0x422494=_0x17f045[_0xb99f('0x58')](_0x1b4522[_0xb99f('0x52')][_0xb99f('0x14')][_0xb99f('0x5a')]),_0x47eb30=_0x3dea17[_0xb99f('0x59')](_0x422494);const _0x470980=_0x3dea17[_0xb99f('0xe')](_0x1dda58,_0x4d10ad);_0x1dda58[_0xb99f('0x53')](),_0x4d10ad[_0xb99f('0x53')](),_0x5cfd7c['markBlockFormat'](_0x422494,{'commandName':_0xb99f('0x3c'),'commandParams':[_0x3d261a]},[],_0xb99f('0x22')),_0x470980[_0xb99f('0x4b')][_0xb99f('0x7')](_0x47eb30[_0xb99f('0x4b')])&&_0x5cfd7c['markInsertion'](_0x3dea17[_0xb99f('0xe')](_0x470980[_0xb99f('0x4b')],_0x47eb30['start']),'convertInlineImageToBlock'),_0x47eb30[_0xb99f('0x1c')][_0xb99f('0x7')](_0x470980['end'])&&_0x5cfd7c[_0xb99f('0x1e')](_0x3dea17['createRange'](_0x47eb30[_0xb99f('0x1c')],_0x470980[_0xb99f('0x1c')]),_0xb99f('0x22'));});}),_0x5cfd7c[_0xb99f('0x23')]['registerCustomCallback'](_0xb99f('0x37'),'convertInlineImageToBlock',_0xb99f('0x3e'),()=>!0x1),_0x5cfd7c[_0xb99f('0x23')]['registerCustomCallback'](_0xb99f('0x37'),_0xb99f('0x22'),'accept',()=>!0x1),_0x5cfd7c['_suggestionFactory'][_0xb99f('0x2e')](_0xb99f('0x37'),_0xb99f('0x22'),_0xb99f('0x3a'),_0x5cfd7c[_0xb99f('0x23')][_0xb99f('0x25')](_0xb99f('0x37'),'','accept')),_0x5cfd7c['_suggestionFactory']['registerCustomCallback'](_0xb99f('0x4a'),_0xb99f('0x22'),_0xb99f('0x3e'),()=>!0x1),_0x5cfd7c[_0xb99f('0x23')][_0xb99f('0x2e')](_0xb99f('0x4a'),_0xb99f('0x22'),'discard',([_0x45d8be])=>{const _0x578edd=_0x5cfd7c[_0xb99f('0x23')][_0xb99f('0x25')]('insertion','',_0xb99f('0x3a'));let _0x1f02af=_0x45d8be[_0xb99f('0x4b')],_0x257b93=_0x45d8be['end'];const _0x297a4d=_0x1b4522[_0xb99f('0x52')][_0xb99f('0x19')][_0xb99f('0x33')](_0x1f02af,_0xb99f('0x56')),_0x492e29=_0x1b4522[_0xb99f('0x52')]['schema'][_0xb99f('0x33')](_0x257b93,_0xb99f('0x39'));_0x297a4d[_0xb99f('0x41')]&&(_0x1f02af=_0x297a4d[_0xb99f('0x4b')]),_0x492e29[_0xb99f('0x41')]&&(_0x257b93=_0x492e29[_0xb99f('0x1c')]),_0x578edd([_0x1b4522[_0xb99f('0x52')][_0xb99f('0xe')](_0x1f02af,_0x257b93)]);}),_0x5cfd7c[_0xb99f('0x23')][_0xb99f('0x2e')](_0xb99f('0x37'),'convertInlineImageToBlock','chain',_0x36a1e2),_0x5cfd7c['_suggestionFactory'][_0xb99f('0x2e')](_0xb99f('0x4a'),_0xb99f('0x22'),'chain',_0x36a1e2)),_0x1b4522['plugins'][_0xb99f('0x4')](_0xb99f('0x26'))&&(_0x5cfd7c[_0xb99f('0x55')](_0xb99f('0x11'),(_0x48c869,_0x519a8c)=>{const _0x16e987=_0x1b4522['plugins'][_0xb99f('0x32')]('ImageCaptionUtils');let _0x3a6366=_0x17f045['getClosestSelectedImageElement'](_0x1b4522[_0xb99f('0x52')][_0xb99f('0x14')][_0xb99f('0x5a')]),_0x360a01=_0x16e987[_0xb99f('0x45')](_0x3a6366);_0x1b4522[_0xb99f('0x52')]['change'](()=>{if(_0x360a01)return void _0x5cfd7c['markDeletion'](_0x1b4522[_0xb99f('0x52')][_0xb99f('0x59')](_0x360a01));const _0x25c676=_0x17f045[_0xb99f('0x8')](_0x3a6366);_0x48c869(_0x519a8c),_0x3a6366=_0x17f045['getClosestSelectedImageElement'](_0x1b4522['model'][_0xb99f('0x14')][_0xb99f('0x5a')]),_0x360a01=_0x16e987['getCaptionFromImageModelElement'](_0x3a6366),_0x5cfd7c[_0xb99f('0x1e')](_0x1b4522[_0xb99f('0x52')][_0xb99f('0x59')](_0x360a01),_0x25c676?null:'imageCaption');});}),_0x5cfd7c[_0xb99f('0x23')][_0xb99f('0x2e')](_0xb99f('0x4a'),_0xb99f('0x38'),_0xb99f('0x50'),_0x36a1e2));const _0x4108d7=[{'type':'formatBlock','subType':_0xb99f('0x46')},{'type':_0xb99f('0x4a'),'subType':_0xb99f('0x38')},{'type':_0xb99f('0x37'),'subType':_0xb99f('0x22')},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x267152(_0x57ff0a,_0x958a70){const _0x30f7da=_0x4108d7[_0xb99f('0x34')](({type:_0x4e4847,subType:_0xf47a4f})=>_0x57ff0a[_0xb99f('0x2f')]==_0x4e4847&&_0x57ff0a[_0xb99f('0xa')]==_0xf47a4f),_0x4b6cc2=_0x4108d7[_0xb99f('0x34')](({type:_0x3be82a,subType:_0x5e9263})=>_0x958a70['type']==_0x3be82a&&_0x958a70[_0xb99f('0xa')]==_0x5e9263);if(_0x30f7da<0x0||_0x4b6cc2<0x0)return!0x1;const _0x376edb=_0x57ff0a[_0xb99f('0x57')](),_0x53dade=_0x958a70[_0xb99f('0x57')]();if((0x0==_0x30f7da||0x1==_0x30f7da)&&0x2==_0x4b6cc2&&_0x376edb[_0xb99f('0x1a')](_0x53dade))return!0x0;if(0x2==_0x30f7da&&0x3==_0x4b6cc2){const _0x5000f7=_0x5cfd7c[_0xb99f('0x4f')](_0x376edb,_0xb99f('0x4a'))[_0xb99f('0x17')](({suggestion:_0x10acff,meta:_0x3d50ce})=>_0x3d50ce['isOwn']&&'convertInlineImageToBlock'==_0x10acff[_0xb99f('0xa')]);if(_0x5000f7[_0xb99f('0x1d')]>0x1&&_0x53dade[_0xb99f('0x1c')][_0xb99f('0x3d')](_0x376edb[_0xb99f('0x4b')]))return!0x0;if(0x1==_0x5000f7[_0xb99f('0x1d')]&&(_0x376edb[_0xb99f('0x4b')][_0xb99f('0x3d')](_0x53dade[_0xb99f('0x1c')])||_0x376edb[_0xb99f('0x1c')][_0xb99f('0x3d')](_0x53dade[_0xb99f('0x4b')])))return!0x0;}if(0x3==_0x30f7da&&0x3==_0x4b6cc2&&_0x376edb[_0xb99f('0x4b')][_0xb99f('0x7')](_0x53dade['start'])){const _0x6452e8=_0x376edb[_0xb99f('0x1c')][_0xb99f('0x16')],_0x5418ca=_0x53dade['start'][_0xb99f('0x2b')];return _0x17f045['isBlockImage'](_0x6452e8)&&_0x6452e8===_0x5418ca;}return!0x1;}function _0x36a1e2(_0x34c298,_0x705263){return _0x267152(_0x34c298,_0x705263)?[_0x34c298,_0x705263]:_0x267152(_0x705263,_0x34c298)?[_0x705263,_0x34c298]:null;}_0x1b4522[_0xb99f('0x44')]['has'](_0xb99f('0xb'))&&(_0x5cfd7c[_0xb99f('0x20')](_0xb99f('0x28'),[],[_0xb99f('0x3')]),_0x5cfd7c['_descriptionFactory']['registerAttributeLabel'](_0xb99f('0x3'),_0x326492(_0x51bcf5,'FORMAT_IMAGE_SIZE'))),_0x1b4522['plugins']['has'](_0xb99f('0x1b'))&&_0x5cfd7c['_enableDefaultAttributesIntegration'](_0xb99f('0x2'),[],['alt']),_0x5cfd7c['_descriptionFactory'][_0xb99f('0x2a')](_0x1095f1=>{if(!!_0x4108d7[_0xb99f('0x48')](({type:_0x36effb,subType:_0x193ff2})=>_0x1095f1[_0xb99f('0x2f')]==_0x36effb&&_0x1095f1[_0xb99f('0xa')]==_0x193ff2))return _0x1095f1[_0xb99f('0x4d')]?{}:void 0x0;}),_0x5cfd7c[_0xb99f('0x3b')][_0xb99f('0x2a')](_0x542502=>{if('insertion'==_0x542502['type']||_0xb99f('0x1f')==_0x542502['type']){const _0x35fadc=_0x542502[_0xb99f('0x40')]();if(_0x35fadc&&_0x35fadc['is']('element','caption'))return{'type':'insertion'==_0x542502[_0xb99f('0x2f')]?'addObject':_0xb99f('0x9'),'element':_0x35fadc,'quantity':0x1};}}),_0x5cfd7c[_0xb99f('0x3b')][_0xb99f('0x2a')](_0x5cc1a4=>_0xb99f('0x37')==_0x5cc1a4[_0xb99f('0x2f')]&&_0xb99f('0x22')==_0x5cc1a4[_0xb99f('0xa')]?{'type':_0xb99f('0x31'),'content':_0xb99f('0x30')}:_0xb99f('0x37')==_0x5cc1a4[_0xb99f('0x2f')]&&_0xb99f('0x3f')==_0x5cc1a4['subType']?{'type':_0xb99f('0x31'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x5cfd7c[_0xb99f('0x3b')][_0xb99f('0x2a')](_0x4c685a=>{if(_0xb99f('0x4c')!=_0x4c685a['type'])return;const {data:_0x5cb50e}=_0x4c685a;if(!_0x5cb50e||'alt'!=_0x5cb50e['key'])return;const _0x1f9318=_0x5cb50e[_0xb99f('0x51')];return _0x1f9318?{'type':_0xb99f('0x31'),'content':_0x326492(_0x51bcf5,_0xb99f('0x29'),'\x22'+_0x1f9318+'\x22')}:{'type':_0xb99f('0x31'),'content':_0x326492(_0x51bcf5,_0xb99f('0x0'))};}),this[_0xb99f('0x5')]();}[_0xb99f('0x5')](){const _0x2a176a=this[_0xb99f('0x1')],_0x48adf6=_0x2a176a[_0xb99f('0xf')];_0x2a176a[_0xb99f('0x44')][_0xb99f('0x32')](_0xb99f('0x12'))['_descriptionFactory'][_0xb99f('0x2a')](_0x3b43cd=>{if(_0xb99f('0x37')!=_0x3b43cd[_0xb99f('0x2f')]&&_0xb99f('0x10')!=_0x3b43cd[_0xb99f('0x2f')])return;const {data:_0x34590f}=_0x3b43cd;if(_0x34590f){if(_0xb99f('0x2')==_0x34590f[_0xb99f('0x42')]){const _0x5d2f1f=_0x34590f[_0xb99f('0x15')][0x0][_0xb99f('0x51')];return _0x5d2f1f?{'type':_0xb99f('0x31'),'content':_0x326492(_0x48adf6,_0xb99f('0x29'),'\x22'+_0x5d2f1f+'\x22')}:{'type':_0xb99f('0x31'),'content':_0x326492(_0x48adf6,_0xb99f('0x0'))};}if('resizeImage'==_0x34590f[_0xb99f('0x42')]){const _0x195d57=_0x34590f[_0xb99f('0x15')][0x0][_0xb99f('0xd')];return _0x195d57?{'type':_0xb99f('0x31'),'content':_0x326492(_0x48adf6,_0xb99f('0x6'),_0x195d57)}:{'type':_0xb99f('0x31'),'content':_0x326492(_0x48adf6,_0xb99f('0x24'))};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52a6=['has','afterInit','*Format:*\x20replace\x20image\x20URL','registerCustomCallback','src','_registerLegacyDescription','_suggestionFactory','_handleLegacySuggestions','newValue','*Replace\x20image\x20URL*','formatBlock','get','_enableDefaultAttributesIntegration','format','accept','formatInline','discard','type','getSuggestionCallback','ImageEditing','registerDescriptionCallback','locale','_descriptionFactory','attribute','editor','plugins','TrackChangesEditing','replaceImageSource','oldValue'];(function(_0x576333,_0x52a69f){const _0x2d452f=function(_0x22ef12){while(--_0x22ef12){_0x576333['push'](_0x576333['shift']());}};_0x2d452f(++_0x52a69f);}(_0x52a6,0x1d3));const _0x2d45=function(_0x576333,_0x52a69f){_0x576333=_0x576333-0x0;let _0x2d452f=_0x52a6[_0x576333];return _0x2d452f;};import{Plugin as _0x287e82}from'ckeditor5/src/core.js';import{getTranslation as _0x482a28}from'../utils/common-translations.js';export default class st extends _0x287e82{[_0x2d45('0x1b')](){if(!this[_0x2d45('0x15')][_0x2d45('0x16')][_0x2d45('0x1a')](_0x2d45('0x10')))return;const _0x5dfc14=this[_0x2d45('0x15')][_0x2d45('0x12')],_0x1167f0=this[_0x2d45('0x15')][_0x2d45('0x16')]['get'](_0x2d45('0x17'));_0x1167f0[_0x2d45('0x9')](_0x2d45('0x18'),[],[_0x2d45('0x1')]),_0x1167f0[_0x2d45('0x13')][_0x2d45('0x11')](_0x34b7b7=>{if(_0x2d45('0x14')!=_0x34b7b7[_0x2d45('0xe')])return;const {data:_0x568b26}=_0x34b7b7;return _0x568b26&&_0x2d45('0x1')==_0x568b26['key']?_0x568b26[_0x2d45('0x5')]&&_0x568b26[_0x2d45('0x19')]?{'type':_0x2d45('0xa'),'content':_0x482a28(_0x5dfc14,_0x2d45('0x6'))}:{'type':_0x2d45('0xa'),'content':''}:void 0x0;}),this[_0x2d45('0x4')]();}[_0x2d45('0x4')](){const _0x4f1a4c=this[_0x2d45('0x15')]['plugins'][_0x2d45('0x8')](_0x2d45('0x17'));_0x4f1a4c[_0x2d45('0x3')][_0x2d45('0x0')]('formatBlock','replaceImageSource','accept',_0x4f1a4c[_0x2d45('0x3')][_0x2d45('0xf')](_0x2d45('0x7'),null,_0x2d45('0xd'))),_0x4f1a4c[_0x2d45('0x3')][_0x2d45('0x0')]('formatBlock','replaceImageSource',_0x2d45('0xd'),_0x4f1a4c[_0x2d45('0x3')][_0x2d45('0xf')](_0x2d45('0x7'),null,_0x2d45('0xb'))),this[_0x2d45('0x2')]();}[_0x2d45('0x2')](){const _0x423d5f=this['editor'],_0x38da98=_0x423d5f['locale'];_0x423d5f[_0x2d45('0x16')]['get']('TrackChangesEditing')[_0x2d45('0x13')]['registerDescriptionCallback'](_0x5d4999=>{if(_0x2d45('0x7')!=_0x5d4999[_0x2d45('0xe')]&&_0x2d45('0xc')!=_0x5d4999[_0x2d45('0xe')])return;const {data:_0x37f734}=_0x5d4999;if(!_0x37f734||_0x2d45('0x18')!=_0x37f734['commandName'])return;return{'type':_0x2d45('0xa'),'content':_0x482a28(_0x38da98,_0x2d45('0x1c'))};});}}
23
+ const _0x5953=['key','afterInit','oldValue','editor','_descriptionFactory','type','replaceImageSource','accept','registerCustomCallback','TrackChangesEditing','getSuggestionCallback','get','discard','_enableDefaultAttributesIntegration','src','formatBlock','locale','_handleLegacySuggestions','ImageEditing','newValue','registerDescriptionCallback','_registerLegacyDescription','commandName','format','_suggestionFactory','plugins'];(function(_0x1d061b,_0x595316){const _0x38c51c=function(_0x149d31){while(--_0x149d31){_0x1d061b['push'](_0x1d061b['shift']());}};_0x38c51c(++_0x595316);}(_0x5953,0xde));const _0x38c5=function(_0x1d061b,_0x595316){_0x1d061b=_0x1d061b-0x0;let _0x38c51c=_0x5953[_0x1d061b];return _0x38c51c;};import{Plugin as _0x5199a4}from'ckeditor5/src/core.js';import{getTranslation as _0x547a27}from'../utils/common-translations.js';export default class st extends _0x5199a4{[_0x38c5('0xd')](){if(!this[_0x38c5('0xf')][_0x38c5('0xb')]['has'](_0x38c5('0x4')))return;const _0x579359=this[_0x38c5('0xf')][_0x38c5('0x2')],_0x329cb9=this[_0x38c5('0xf')]['plugins'][_0x38c5('0x17')](_0x38c5('0x15'));_0x329cb9[_0x38c5('0x19')](_0x38c5('0x12'),[],[_0x38c5('0x0')]),_0x329cb9['_descriptionFactory'][_0x38c5('0x6')](_0x1b0b41=>{if('attribute'!=_0x1b0b41[_0x38c5('0x11')])return;const {data:_0x59dfdd}=_0x1b0b41;return _0x59dfdd&&'src'==_0x59dfdd[_0x38c5('0xc')]?_0x59dfdd[_0x38c5('0x5')]&&_0x59dfdd[_0x38c5('0xe')]?{'type':_0x38c5('0x9'),'content':_0x547a27(_0x579359,'*Replace\x20image\x20URL*')}:{'type':'format','content':''}:void 0x0;}),this[_0x38c5('0x3')]();}[_0x38c5('0x3')](){const _0x2d2fe3=this[_0x38c5('0xf')][_0x38c5('0xb')][_0x38c5('0x17')](_0x38c5('0x15'));_0x2d2fe3['_suggestionFactory']['registerCustomCallback'](_0x38c5('0x1'),_0x38c5('0x12'),'accept',_0x2d2fe3[_0x38c5('0xa')][_0x38c5('0x16')]('formatBlock',null,_0x38c5('0x18'))),_0x2d2fe3[_0x38c5('0xa')][_0x38c5('0x14')](_0x38c5('0x1'),_0x38c5('0x12'),_0x38c5('0x18'),_0x2d2fe3[_0x38c5('0xa')][_0x38c5('0x16')]('formatBlock',null,_0x38c5('0x13'))),this[_0x38c5('0x7')]();}[_0x38c5('0x7')](){const _0x477af0=this[_0x38c5('0xf')],_0x3823e4=_0x477af0[_0x38c5('0x2')];_0x477af0[_0x38c5('0xb')][_0x38c5('0x17')](_0x38c5('0x15'))[_0x38c5('0x10')][_0x38c5('0x6')](_0x382582=>{if(_0x38c5('0x1')!=_0x382582['type']&&'formatInline'!=_0x382582[_0x38c5('0x11')])return;const {data:_0x58d8f1}=_0x382582;if(!_0x58d8f1||_0x38c5('0x12')!=_0x58d8f1[_0x38c5('0x8')])return;return{'type':'format','content':_0x547a27(_0x3823e4,'*Format:*\x20replace\x20image\x20URL')};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35b4=['registerCustomCallback','start','get','model','differ','ImageUtils','registerPostFixer','shouldConvertImageType','insertion','isIntersecting','_findSuggestions','refresh','nodeAfter','_descriptionFactory','*Format:*\x20%0','imageStylePreApply','suggestion','accept','getClosestSelectedImageElement','markBlockFormat','convertInlineImageToBlock','findIndex','imageTypeInline','getFirstRange','document','getContainedElement','isBlockImage','_suggestionFactory','isInContent','editor','createRangeOn','commands','getSuggestions','imageStyle','join','setImageNaturalSizeAttributes','registerDescriptionCallback','subType','imageTypeBlock','enableCommand','discard','selection','normalizedStyles','hasSuggestion','getSuggestion','Users','change','newRange','plugins','imageCaption','ImageStyleEditing','commandParams','_registerLegacyDescription','isOwn','author','side','value','FORMAT_SIDE_IMAGE','end','markInlineFormat','filter','from','type','length','formatBlock','imageStylePostApply','next','commandName','title','isEqual','formatInline','_splitMarkerName','name','TrackChangesEditing'];(function(_0x40735d,_0x35b449){const _0x4ab57e=function(_0x284980){while(--_0x284980){_0x40735d['push'](_0x40735d['shift']());}};_0x4ab57e(++_0x35b449);}(_0x35b4,0x172));const _0x4ab5=function(_0x40735d,_0x35b449){_0x40735d=_0x40735d-0x0;let _0x4ab57e=_0x35b4[_0x40735d];return _0x4ab57e;};import{Plugin as _0x1e43a8}from'ckeditor5/src/core.js';import{uid as _0x117681}from'ckeditor5/src/utils.js';import{getTranslation as _0x5193b0}from'../utils/common-translations.js';export default class nt extends _0x1e43a8{['afterInit'](){const _0x3f2149=this[_0x4ab5('0x1d')];if(!_0x3f2149['plugins']['has'](_0x4ab5('0x32')))return;const _0x50517f=_0x3f2149['plugins'][_0x4ab5('0x2')](_0x4ab5('0x49')),_0x206bcc=_0x3f2149['plugins'][_0x4ab5('0x2')](_0x4ab5('0x5')),_0x6dafe5={};_0x50517f[_0x4ab5('0x27')](_0x4ab5('0x21'),(_0x1b372b,_0x43f94c)=>{const _0xe4dae6=_0x3f2149[_0x4ab5('0x30')][_0x4ab5('0x2')](_0x4ab5('0x2d'))['me'],_0x4e0b05=_0x3f2149[_0x4ab5('0x1f')][_0x4ab5('0x2')]('imageStyle');let _0x2e14e5=_0x206bcc[_0x4ab5('0x12')](_0x3f2149[_0x4ab5('0x3')][_0x4ab5('0x18')][_0x4ab5('0x29')]),_0x243369=_0x3f2149[_0x4ab5('0x3')][_0x4ab5('0x1e')](_0x2e14e5),_0x488bd2=_0x4e0b05[_0x4ab5('0x38')];if(_0x488bd2==_0x43f94c[_0x4ab5('0x38')])return;const _0x36c236={'commandName':_0x4ab5('0x21'),'commandParams':[_0x43f94c],'formatGroupId':_0x117681()};_0x3f2149['model'][_0x4ab5('0x2e')](()=>{if(_0x50517f[_0x4ab5('0x20')]()[_0x4ab5('0x3c')](_0x213326=>_0x213326[_0x4ab5('0x1c')]&&_0xe4dae6==_0x213326[_0x4ab5('0x36')]&&(_0x4ab5('0x40')==_0x213326['type']||_0x4ab5('0x46')==_0x213326[_0x4ab5('0x3e')])&&(_0x4ab5('0xf')==_0x213326[_0x4ab5('0x25')]||'imageStylePostApply'==_0x213326['subType'])&&_0x213326[_0x4ab5('0x17')]()['isEqual'](_0x243369))['forEach'](_0x58ebdb=>_0x50517f['discardSuggestion'](_0x58ebdb['head'])),_0x2e14e5=_0x206bcc['getClosestSelectedImageElement'](_0x3f2149[_0x4ab5('0x3')][_0x4ab5('0x18')][_0x4ab5('0x29')]),_0x243369=_0x3f2149['model'][_0x4ab5('0x1e')](_0x2e14e5),_0x4e0b05[_0x4ab5('0xb')](),_0x3f2149[_0x4ab5('0x1f')][_0x4ab5('0x2')](_0x4ab5('0x16'))[_0x4ab5('0xb')](),_0x3f2149['commands'][_0x4ab5('0x2')](_0x4ab5('0x26'))[_0x4ab5('0xb')](),_0x488bd2=_0x4e0b05[_0x4ab5('0x38')],_0x488bd2!=_0x43f94c[_0x4ab5('0x38')])return _0x206bcc['isInlineImage'](_0x2e14e5)&&_0x4e0b05[_0x4ab5('0x7')](_0x43f94c[_0x4ab5('0x38')],_0x2e14e5)?(_0x1b372b({..._0x43f94c,'setImageSizes':!0x1}),_0x2e14e5=_0x206bcc[_0x4ab5('0x12')](_0x3f2149['model'][_0x4ab5('0x18')][_0x4ab5('0x29')]),void _0x50517f['markBlockFormat'](_0x2e14e5,{..._0x36c236,'commandReversedParams':[{'value':_0x488bd2||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x206bcc[_0x4ab5('0x1a')](_0x2e14e5)?_0x50517f[_0x4ab5('0x13')](_0x2e14e5,_0x36c236,[],'imageStylePostApply'):_0x50517f[_0x4ab5('0x3b')](_0x243369,_0x36c236,'imageStylePostApply'));});});for(const _0x4f258b of _0x3f2149[_0x4ab5('0x30')][_0x4ab5('0x2')](_0x4ab5('0x32'))[_0x4ab5('0x2a')])_0x6dafe5[_0x4f258b[_0x4ab5('0x48')]]=_0x4f258b[_0x4ab5('0x44')]['toLowerCase']();_0x50517f[_0x4ab5('0x1b')][_0x4ab5('0x0')](_0x4ab5('0x40'),_0x4ab5('0xf'),'join',()=>!0x1),_0x50517f['_suggestionFactory'][_0x4ab5('0x0')](_0x4ab5('0x40'),_0x4ab5('0x41'),_0x4ab5('0x22'),()=>!0x1),_0x50517f[_0x4ab5('0x1b')][_0x4ab5('0x0')](_0x4ab5('0x46'),_0x4ab5('0x41'),_0x4ab5('0x22'),()=>!0x1),_0x50517f['_suggestionFactory'][_0x4ab5('0x0')](_0x4ab5('0x40'),_0x4ab5('0xf'),_0x4ab5('0x11'),([_0xcf93e9])=>{_0x206bcc[_0x4ab5('0x23')](_0xcf93e9[_0x4ab5('0x19')]());}),_0x50517f['_suggestionFactory'][_0x4ab5('0x0')](_0x4ab5('0x40'),_0x4ab5('0xf'),_0x4ab5('0x28'),(_0x412f6f,_0x18045c)=>{_0x50517f[_0x4ab5('0x1b')]['getSuggestionCallback'](_0x4ab5('0x40'),'',_0x4ab5('0x11'))(_0x412f6f,{'commandName':_0x18045c[_0x4ab5('0x43')],'commandParams':_0x18045c['commandReversedParams']});}),_0x50517f['_suggestionFactory'][_0x4ab5('0x0')]('formatBlock',_0x4ab5('0xf'),'chain',function(_0x43fe48,_0x39347d){if(_0xdc9e66(_0x43fe48,_0x39347d))return[_0x43fe48,_0x39347d];if(_0xdc9e66(_0x39347d,_0x43fe48))return[_0x39347d,_0x43fe48];return null;});const _0x294359=[{'type':_0x4ab5('0x40'),'subType':_0x4ab5('0xf')},{'type':'insertion','subType':_0x4ab5('0x31')},{'type':_0x4ab5('0x40'),'subType':_0x4ab5('0x14')},{'type':_0x4ab5('0x8'),'subType':'convertInlineImageToBlock'}];function _0xdc9e66(_0x49266e,_0x464a08){const _0x263a23=_0x294359[_0x4ab5('0x15')](({type:_0x4bd459,subType:_0x7bd503})=>_0x49266e[_0x4ab5('0x3e')]==_0x4bd459&&_0x49266e[_0x4ab5('0x25')]==_0x7bd503),_0x7b1922=_0x294359[_0x4ab5('0x15')](({type:_0x5ab4f1,subType:_0x45c656})=>_0x464a08[_0x4ab5('0x3e')]==_0x5ab4f1&&_0x464a08[_0x4ab5('0x25')]==_0x45c656);if(_0x263a23<0x0||_0x7b1922<0x0)return!0x1;const _0xde58e6=_0x49266e[_0x4ab5('0x17')](),_0x515f55=_0x464a08[_0x4ab5('0x17')]();if((0x0==_0x263a23||0x1==_0x263a23)&&0x2==_0x7b1922&&_0xde58e6[_0x4ab5('0x9')](_0x515f55))return!0x0;if(0x2==_0x263a23&&0x3==_0x7b1922){const _0x3f2d40=_0x50517f[_0x4ab5('0xa')](_0xde58e6,'insertion')[_0x4ab5('0x3c')](({suggestion:_0x75c6e6,meta:_0x218fa3})=>_0x218fa3[_0x4ab5('0x35')]&&_0x4ab5('0x14')==_0x75c6e6['subType']);if(_0x3f2d40[_0x4ab5('0x3f')]>0x1&&_0x515f55['end'][_0x4ab5('0x45')](_0xde58e6[_0x4ab5('0x1')]))return!0x0;if(0x1==_0x3f2d40['length']&&(_0xde58e6['start'][_0x4ab5('0x45')](_0x515f55[_0x4ab5('0x3a')])||_0xde58e6['end']['isEqual'](_0x515f55[_0x4ab5('0x1')])))return!0x0;}if(0x3==_0x263a23&&0x3==_0x7b1922&&_0xde58e6[_0x4ab5('0x1')]['isBefore'](_0x515f55[_0x4ab5('0x1')])){const _0x585471=_0xde58e6[_0x4ab5('0x3a')][_0x4ab5('0xc')],_0x50a344=_0x515f55[_0x4ab5('0x1')]['nodeBefore'];return _0x206bcc['isBlockImage'](_0x585471)&&_0x585471===_0x50a344;}return!0x1;}_0x3f2149[_0x4ab5('0x3')][_0x4ab5('0x18')][_0x4ab5('0x6')](()=>{let _0x2bf156=!0x1;const _0x5281ac=Array[_0x4ab5('0x3d')](_0x3f2149[_0x4ab5('0x3')]['document'][_0x4ab5('0x4')]['getChangedMarkers']());for(const {name:_0x5cf12c,data:_0x4c8156}of _0x5281ac){const {group:_0xc0b2d,type:_0x28b144,subType:_0x267949,id:_0x450b65}=_0x50517f[_0x4ab5('0x47')](_0x5cf12c);if(_0x4ab5('0x10')==_0xc0b2d&&_0x50517f[_0x4ab5('0x2b')](_0x450b65)){if(_0x4ab5('0x40')==_0x28b144&&(_0x4ab5('0xf')==_0x267949||'imageStylePostApply'==_0x267949)){const _0x5cf7f4=_0x50517f[_0x4ab5('0x2c')](_0x450b65);if(_0x4c8156[_0x4ab5('0x2f')]){const _0x3d2647=_0x5cf7f4['getFirstRange']()['getContainedElement']();if(_0x206bcc['isBlockImage'](_0x3d2647))continue;_0x50517f['discardSuggestion'](_0x5cf7f4),_0x2bf156=!0x0;}}if(_0x4ab5('0x8')==_0x28b144&&'imageCaption'==_0x267949&&!_0x4c8156[_0x4ab5('0x2f')]){const _0x20ef10=_0x50517f['getSuggestion'](_0x450b65);_0x20ef10['next']&&_0x20ef10[_0x4ab5('0x42')]['isInContent']&&(_0x50517f['discardSuggestion'](_0x20ef10[_0x4ab5('0x42')]),_0x2bf156=!0x0);}}}return _0x2bf156;}),this['_registerLegacyDescription'](_0x6dafe5);}[_0x4ab5('0x34')](_0x1f3f6f){const _0x3c2d22=this[_0x4ab5('0x1d')],_0x4e0cf4=_0x3c2d22['locale'];_0x3c2d22[_0x4ab5('0x30')][_0x4ab5('0x2')](_0x4ab5('0x49'))[_0x4ab5('0xd')][_0x4ab5('0x24')](_0xb282b0=>{if('formatBlock'!=_0xb282b0['type']&&'formatInline'!=_0xb282b0[_0x4ab5('0x3e')])return;const {data:_0xada73}=_0xb282b0;if(!_0xada73||_0x4ab5('0x21')!=_0xada73['commandName'])return;const _0x288b27=_0xada73[_0x4ab5('0x33')][0x0][_0x4ab5('0x38')];return _0x5c91ad(_0x4ab5('0x37')===_0x288b27?_0x5193b0(_0x4e0cf4,_0x4ab5('0x39')):_0x1f3f6f[_0x288b27]||_0x288b27);function _0x5c91ad(_0x56eb6d){return{'type':'format','content':_0x5193b0(_0x4e0cf4,_0x4ab5('0xe'),_0x56eb6d)};}});}}
23
+ const _0x3699=['forEach','normalizedStyles','model','get','type','newRange','plugins','convertInlineImageToBlock','author','getSuggestionCallback','_suggestionFactory','next','locale','side','chain','setImageNaturalSizeAttributes','registerCustomCallback','_splitMarkerName','differ','markInlineFormat','discard','getContainedElement','isIntersecting','ImageUtils','findIndex','head','accept','join','selection','isEqual','formatInline','isBlockImage','formatBlock','getSuggestion','imageStylePreApply','length','start','document','hasSuggestion','_registerLegacyDescription','_descriptionFactory','imageTypeInline','toLowerCase','shouldConvertImageType','change','suggestion','commandName','end','isInlineImage','getSuggestions','subType','insertion','format','commands','TrackChangesEditing','getClosestSelectedImageElement','editor','imageStylePostApply','refresh','markBlockFormat','imageStyle','discardSuggestion','getChangedMarkers','has','nodeAfter','isInContent','_findSuggestions','createRangeOn','filter','afterInit','commandReversedParams','value','ImageStyleEditing','from','getFirstRange'];(function(_0x497363,_0x369987){const _0x2cc977=function(_0x329e4d){while(--_0x329e4d){_0x497363['push'](_0x497363['shift']());}};_0x2cc977(++_0x369987);}(_0x3699,0x198));const _0x2cc9=function(_0x497363,_0x369987){_0x497363=_0x497363-0x0;let _0x2cc977=_0x3699[_0x497363];return _0x2cc977;};import{Plugin as _0x4932b7}from'ckeditor5/src/core.js';import{uid as _0x3b31d0}from'ckeditor5/src/utils.js';import{getTranslation as _0x396d93}from'../utils/common-translations.js';export default class nt extends _0x4932b7{[_0x2cc9('0x24')](){const _0x2d97ce=this[_0x2cc9('0x17')];if(!_0x2d97ce[_0x2cc9('0x30')][_0x2cc9('0x1e')](_0x2cc9('0x27')))return;const _0x4c88b3=_0x2d97ce[_0x2cc9('0x30')][_0x2cc9('0x2d')](_0x2cc9('0x15')),_0x39734a=_0x2d97ce[_0x2cc9('0x30')][_0x2cc9('0x2d')](_0x2cc9('0x41')),_0x105b1e={};_0x4c88b3['enableCommand'](_0x2cc9('0x1b'),(_0xb2de16,_0xbe8802)=>{const _0x1ada48=_0x2d97ce[_0x2cc9('0x30')][_0x2cc9('0x2d')]('Users')['me'],_0x468b50=_0x2d97ce[_0x2cc9('0x14')][_0x2cc9('0x2d')](_0x2cc9('0x1b'));let _0x56e9ce=_0x39734a[_0x2cc9('0x16')](_0x2d97ce['model'][_0x2cc9('0x4')][_0x2cc9('0x46')]),_0x33757d=_0x2d97ce[_0x2cc9('0x2c')][_0x2cc9('0x22')](_0x56e9ce),_0x3da86d=_0x468b50[_0x2cc9('0x26')];if(_0x3da86d==_0xbe8802[_0x2cc9('0x26')])return;const _0x1fb869={'commandName':_0x2cc9('0x1b'),'commandParams':[_0xbe8802],'formatGroupId':_0x3b31d0()};_0x2d97ce['model'][_0x2cc9('0xb')](()=>{if(_0x4c88b3[_0x2cc9('0x10')]()[_0x2cc9('0x23')](_0x298407=>_0x298407[_0x2cc9('0x20')]&&_0x1ada48==_0x298407[_0x2cc9('0x32')]&&('formatBlock'==_0x298407[_0x2cc9('0x2e')]||_0x2cc9('0x48')==_0x298407[_0x2cc9('0x2e')])&&(_0x2cc9('0x1')==_0x298407[_0x2cc9('0x11')]||_0x2cc9('0x18')==_0x298407['subType'])&&_0x298407[_0x2cc9('0x29')]()[_0x2cc9('0x47')](_0x33757d))[_0x2cc9('0x2a')](_0x28a008=>_0x4c88b3[_0x2cc9('0x1c')](_0x28a008[_0x2cc9('0x43')])),_0x56e9ce=_0x39734a['getClosestSelectedImageElement'](_0x2d97ce['model'][_0x2cc9('0x4')][_0x2cc9('0x46')]),_0x33757d=_0x2d97ce['model']['createRangeOn'](_0x56e9ce),_0x468b50[_0x2cc9('0x19')](),_0x2d97ce[_0x2cc9('0x14')][_0x2cc9('0x2d')](_0x2cc9('0x8'))[_0x2cc9('0x19')](),_0x2d97ce[_0x2cc9('0x14')][_0x2cc9('0x2d')]('imageTypeBlock')[_0x2cc9('0x19')](),_0x3da86d=_0x468b50[_0x2cc9('0x26')],_0x3da86d!=_0xbe8802[_0x2cc9('0x26')])return _0x39734a[_0x2cc9('0xf')](_0x56e9ce)&&_0x468b50[_0x2cc9('0xa')](_0xbe8802[_0x2cc9('0x26')],_0x56e9ce)?(_0xb2de16({..._0xbe8802,'setImageSizes':!0x1}),_0x56e9ce=_0x39734a[_0x2cc9('0x16')](_0x2d97ce[_0x2cc9('0x2c')][_0x2cc9('0x4')][_0x2cc9('0x46')]),void _0x4c88b3['markBlockFormat'](_0x56e9ce,{..._0x1fb869,'commandReversedParams':[{'value':_0x3da86d||null,'setImageSizes':!0x1}]},[],_0x2cc9('0x1'))):void(_0x39734a['isBlockImage'](_0x56e9ce)?_0x4c88b3[_0x2cc9('0x1a')](_0x56e9ce,_0x1fb869,[],'imageStylePostApply'):_0x4c88b3[_0x2cc9('0x3d')](_0x33757d,_0x1fb869,_0x2cc9('0x18')));});});for(const _0x4bf5ef of _0x2d97ce['plugins'][_0x2cc9('0x2d')](_0x2cc9('0x27'))[_0x2cc9('0x2b')])_0x105b1e[_0x4bf5ef['name']]=_0x4bf5ef['title'][_0x2cc9('0x9')]();_0x4c88b3[_0x2cc9('0x34')][_0x2cc9('0x3a')](_0x2cc9('0x4a'),'imageStylePreApply',_0x2cc9('0x45'),()=>!0x1),_0x4c88b3[_0x2cc9('0x34')][_0x2cc9('0x3a')](_0x2cc9('0x4a'),'imageStylePostApply','join',()=>!0x1),_0x4c88b3['_suggestionFactory'][_0x2cc9('0x3a')](_0x2cc9('0x48'),'imageStylePostApply',_0x2cc9('0x45'),()=>!0x1),_0x4c88b3[_0x2cc9('0x34')]['registerCustomCallback'](_0x2cc9('0x4a'),_0x2cc9('0x1'),'accept',([_0x305102])=>{_0x39734a[_0x2cc9('0x39')](_0x305102[_0x2cc9('0x3f')]());}),_0x4c88b3['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2cc9('0x1'),_0x2cc9('0x3e'),(_0x4804fa,_0x1324be)=>{_0x4c88b3[_0x2cc9('0x34')][_0x2cc9('0x33')](_0x2cc9('0x4a'),'',_0x2cc9('0x44'))(_0x4804fa,{'commandName':_0x1324be['commandName'],'commandParams':_0x1324be[_0x2cc9('0x25')]});}),_0x4c88b3[_0x2cc9('0x34')]['registerCustomCallback'](_0x2cc9('0x4a'),_0x2cc9('0x1'),_0x2cc9('0x38'),function(_0x1850af,_0x2c6a2b){if(_0x5931dd(_0x1850af,_0x2c6a2b))return[_0x1850af,_0x2c6a2b];if(_0x5931dd(_0x2c6a2b,_0x1850af))return[_0x2c6a2b,_0x1850af];return null;});const _0x13e89e=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':_0x2cc9('0x12'),'subType':'imageCaption'},{'type':_0x2cc9('0x4a'),'subType':'convertInlineImageToBlock'},{'type':_0x2cc9('0x12'),'subType':_0x2cc9('0x31')}];function _0x5931dd(_0x3e933e,_0x403396){const _0x30072c=_0x13e89e[_0x2cc9('0x42')](({type:_0x3306d2,subType:_0x52b97e})=>_0x3e933e[_0x2cc9('0x2e')]==_0x3306d2&&_0x3e933e[_0x2cc9('0x11')]==_0x52b97e),_0x7188d6=_0x13e89e['findIndex'](({type:_0x41ce15,subType:_0x5d867b})=>_0x403396[_0x2cc9('0x2e')]==_0x41ce15&&_0x403396[_0x2cc9('0x11')]==_0x5d867b);if(_0x30072c<0x0||_0x7188d6<0x0)return!0x1;const _0x4b2ecd=_0x3e933e['getFirstRange'](),_0x53378c=_0x403396[_0x2cc9('0x29')]();if((0x0==_0x30072c||0x1==_0x30072c)&&0x2==_0x7188d6&&_0x4b2ecd[_0x2cc9('0x40')](_0x53378c))return!0x0;if(0x2==_0x30072c&&0x3==_0x7188d6){const _0x1e3c1b=_0x4c88b3[_0x2cc9('0x21')](_0x4b2ecd,_0x2cc9('0x12'))['filter'](({suggestion:_0x30c8d8,meta:_0x4afbcc})=>_0x4afbcc['isOwn']&&'convertInlineImageToBlock'==_0x30c8d8[_0x2cc9('0x11')]);if(_0x1e3c1b[_0x2cc9('0x2')]>0x1&&_0x53378c['end'][_0x2cc9('0x47')](_0x4b2ecd[_0x2cc9('0x3')]))return!0x0;if(0x1==_0x1e3c1b[_0x2cc9('0x2')]&&(_0x4b2ecd[_0x2cc9('0x3')][_0x2cc9('0x47')](_0x53378c[_0x2cc9('0xe')])||_0x4b2ecd['end'][_0x2cc9('0x47')](_0x53378c[_0x2cc9('0x3')])))return!0x0;}if(0x3==_0x30072c&&0x3==_0x7188d6&&_0x4b2ecd[_0x2cc9('0x3')]['isBefore'](_0x53378c[_0x2cc9('0x3')])){const _0x5392ad=_0x4b2ecd[_0x2cc9('0xe')][_0x2cc9('0x1f')],_0x36f71d=_0x53378c[_0x2cc9('0x3')]['nodeBefore'];return _0x39734a['isBlockImage'](_0x5392ad)&&_0x5392ad===_0x36f71d;}return!0x1;}_0x2d97ce[_0x2cc9('0x2c')]['document']['registerPostFixer'](()=>{let _0x2d2a73=!0x1;const _0x1130ad=Array[_0x2cc9('0x28')](_0x2d97ce['model'][_0x2cc9('0x4')][_0x2cc9('0x3c')][_0x2cc9('0x1d')]());for(const {name:_0x2c2106,data:_0x53aede}of _0x1130ad){const {group:_0x28fefd,type:_0x3f5727,subType:_0x4dbfbc,id:_0xdca7e4}=_0x4c88b3[_0x2cc9('0x3b')](_0x2c2106);if(_0x2cc9('0xc')==_0x28fefd&&_0x4c88b3[_0x2cc9('0x5')](_0xdca7e4)){if(_0x2cc9('0x4a')==_0x3f5727&&(_0x2cc9('0x1')==_0x4dbfbc||'imageStylePostApply'==_0x4dbfbc)){const _0x2c66c7=_0x4c88b3[_0x2cc9('0x0')](_0xdca7e4);if(_0x53aede[_0x2cc9('0x2f')]){const _0x13e8c5=_0x2c66c7[_0x2cc9('0x29')]()[_0x2cc9('0x3f')]();if(_0x39734a[_0x2cc9('0x49')](_0x13e8c5))continue;_0x4c88b3['discardSuggestion'](_0x2c66c7),_0x2d2a73=!0x0;}}if(_0x2cc9('0x12')==_0x3f5727&&'imageCaption'==_0x4dbfbc&&!_0x53aede[_0x2cc9('0x2f')]){const _0x3c166b=_0x4c88b3[_0x2cc9('0x0')](_0xdca7e4);_0x3c166b[_0x2cc9('0x35')]&&_0x3c166b[_0x2cc9('0x35')]['isInContent']&&(_0x4c88b3[_0x2cc9('0x1c')](_0x3c166b['next']),_0x2d2a73=!0x0);}}}return _0x2d2a73;}),this[_0x2cc9('0x6')](_0x105b1e);}[_0x2cc9('0x6')](_0xb0de84){const _0x512604=this[_0x2cc9('0x17')],_0xe7883e=_0x512604[_0x2cc9('0x36')];_0x512604['plugins'][_0x2cc9('0x2d')](_0x2cc9('0x15'))[_0x2cc9('0x7')]['registerDescriptionCallback'](_0x441e0e=>{if(_0x2cc9('0x4a')!=_0x441e0e[_0x2cc9('0x2e')]&&_0x2cc9('0x48')!=_0x441e0e['type'])return;const {data:_0x8fdfc6}=_0x441e0e;if(!_0x8fdfc6||_0x2cc9('0x1b')!=_0x8fdfc6[_0x2cc9('0xd')])return;const _0x255d03=_0x8fdfc6['commandParams'][0x0]['value'];return _0x188d32(_0x2cc9('0x37')===_0x255d03?_0x396d93(_0xe7883e,'FORMAT_SIDE_IMAGE'):_0xb0de84[_0x255d03]||_0x255d03);function _0x188d32(_0x47a812){return{'type':_0x2cc9('0x13'),'content':_0x396d93(_0xe7883e,'*Format:*\x20%0',_0x47a812)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x568b=['high','commands','trackChanges','get','_handleImportedData','collaboration_features','importWord','_trackChangesValueDuringImport','track_changes','dataInsert','editor','_trackChangesExecuted','value','TrackChangesEditing','execute','listenTo','bind','afterInit','Users','plugins'];(function(_0x3f23db,_0x568ba5){const _0x93919f=function(_0xaab071){while(--_0xaab071){_0x3f23db['push'](_0x3f23db['shift']());}};_0x93919f(++_0x568ba5);}(_0x568b,0x16d));const _0x9391=function(_0x3f23db,_0x568ba5){_0x3f23db=_0x3f23db-0x0;let _0x93919f=_0x568b[_0x3f23db];return _0x93919f;};import{Plugin as _0x169a37}from'ckeditor5/src/core.js';export default class ot extends _0x169a37{constructor(_0x3481d9){super(_0x3481d9),this['_trackChangesValueDuringImport']=!0x1,this[_0x9391('0x6')]=!0x1;}[_0x9391('0xc')](){const _0xea876b=this[_0x9391('0x5')],_0x97db91=_0xea876b[_0x9391('0x10')][_0x9391('0x12')](_0x9391('0x1')),_0x30e6f3=_0xea876b[_0x9391('0x10')][_0x9391('0x12')](_0x9391('0x11'));_0x97db91&&(_0x97db91['on'](_0x9391('0x9'),(_0x38ef99,[,_0x631abc])=>{this[_0x9391('0x2')]=_0x30e6f3['value'],_0x631abc[_0x9391('0x0')][_0x9391('0x3')]=!this[_0x9391('0x2')];},{'priority':_0x9391('0xf')}),this[_0x9391('0xa')](_0x97db91,_0x9391('0x4'),this[_0x9391('0x13')][_0x9391('0xb')](this)),this[_0x9391('0xa')](_0x97db91,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x30e6f3['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0xea876b['plugins'][_0x9391('0x12')]('TrackChangesEditing')['enableCommand'](_0x9391('0x1')));}[_0x9391('0x13')](_0x471718,_0x52734b){const {suggestions:_0x462a06}=_0x52734b,_0x3bf696=this['editor'][_0x9391('0x10')][_0x9391('0x12')](_0x9391('0x11')),_0x1b77fc=_0x3bf696[_0x9391('0x7')];this[_0x9391('0x2')]!==_0x1b77fc&&(_0x3bf696['execute'](),this['_trackChangesExecuted']=!0x0),_0x462a06&&_0x462a06['forEach'](({id:_0x42e572,type:_0x2e720e,author:_0x35f586,created_at:_0x27243b})=>{const _0x1d97fd={'id':_0x42e572,'type':_0x2e720e,'authorId':this[_0x9391('0x5')][_0x9391('0xe')][_0x9391('0x12')](_0x9391('0xd'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x35f586,'createdAt':_0x27243b?new Date(_0x27243b):new Date(),'source':'importWord'}}};this[_0x9391('0x5')]['plugins']['get'](_0x9391('0x8'))['_setSuggestionData'](_0x1d97fd);});}}
23
+ const _0x63a5=['afterInit','TrackChangesEditing','commands','track_changes','high','importWord','execute','_trackChangesExecuted','editor','dataInsert','listenTo','forEach','trackChanges','value','bind','Users','_trackChangesValueDuringImport','collaboration_features','get','_setSuggestionData','plugins'];(function(_0x257a0b,_0x63a53d){const _0x3da86b=function(_0x499464){while(--_0x499464){_0x257a0b['push'](_0x257a0b['shift']());}};_0x3da86b(++_0x63a53d);}(_0x63a5,0x101));const _0x3da8=function(_0x257a0b,_0x63a53d){_0x257a0b=_0x257a0b-0x0;let _0x3da86b=_0x63a5[_0x257a0b];return _0x3da86b;};import{Plugin as _0x242a74}from'ckeditor5/src/core.js';export default class ot extends _0x242a74{constructor(_0x1fbbc1){super(_0x1fbbc1),this['_trackChangesValueDuringImport']=!0x1,this[_0x3da8('0x2')]=!0x1;}[_0x3da8('0x10')](){const _0x23bc9c=this[_0x3da8('0x3')],_0x2a26a3=_0x23bc9c['commands'][_0x3da8('0xd')](_0x3da8('0x0')),_0x1525bb=_0x23bc9c[_0x3da8('0x12')][_0x3da8('0xd')]('trackChanges');_0x2a26a3&&(_0x2a26a3['on'](_0x3da8('0x1'),(_0x414785,[,_0x18626c])=>{this[_0x3da8('0xb')]=_0x1525bb[_0x3da8('0x8')],_0x18626c[_0x3da8('0xc')][_0x3da8('0x13')]=!this[_0x3da8('0xb')];},{'priority':_0x3da8('0x14')}),this[_0x3da8('0x5')](_0x2a26a3,_0x3da8('0x4'),this['_handleImportedData'][_0x3da8('0x9')](this)),this[_0x3da8('0x5')](_0x2a26a3,_0x3da8('0x4'),()=>{this[_0x3da8('0x2')]&&(_0x1525bb[_0x3da8('0x1')](),this[_0x3da8('0x2')]=!0x1);},{'priority':'lowest'}),_0x23bc9c[_0x3da8('0xf')][_0x3da8('0xd')](_0x3da8('0x11'))['enableCommand']('importWord'));}['_handleImportedData'](_0x196876,_0x402ca3){const {suggestions:_0x5308bb}=_0x402ca3,_0x573a30=this[_0x3da8('0x3')][_0x3da8('0x12')]['get'](_0x3da8('0x7')),_0x1bf02d=_0x573a30[_0x3da8('0x8')];this[_0x3da8('0xb')]!==_0x1bf02d&&(_0x573a30[_0x3da8('0x1')](),this['_trackChangesExecuted']=!0x0),_0x5308bb&&_0x5308bb[_0x3da8('0x6')](({id:_0x3bcc2c,type:_0x4a2f90,author:_0x4f41a7,created_at:_0x416e85})=>{const _0x4da6b0={'id':_0x3bcc2c,'type':_0x4a2f90,'authorId':this[_0x3da8('0x3')][_0x3da8('0xf')]['get'](_0x3da8('0xa'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4f41a7,'createdAt':_0x416e85?new Date(_0x416e85):new Date(),'source':_0x3da8('0x0')}}};this[_0x3da8('0x3')][_0x3da8('0xf')]['get'](_0x3da8('0x11'))[_0x3da8('0xe')](_0x4da6b0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x408a=['format','_registerLegacyDescription','afterInit','_registerBlockAttribute','type','indentBlock','editor','IndentBlock','get','outdentBlock','commandName','FORMAT_INDENT','outdent','registerAttributeLabel','plugins','has','getItemLabel','getItems','locale','enableCommand','IndentEditing','*Indent:*\x20%0','indent','blockIndent','TrackChangesEditing','registerDescriptionCallback','_descriptionFactory','_enableDefaultAttributesIntegration'];(function(_0x241339,_0x408a2f){const _0x2b200c=function(_0xf63e3e){while(--_0xf63e3e){_0x241339['push'](_0x241339['shift']());}};_0x2b200c(++_0x408a2f);}(_0x408a,0xfb));const _0x2b20=function(_0x241339,_0x408a2f){_0x241339=_0x241339-0x0;let _0x2b200c=_0x408a[_0x241339];return _0x2b200c;};import{Plugin as _0x45a74d}from'ckeditor5/src/core.js';import{getTranslation as _0x3a2ff6}from'../utils/common-translations.js';export default class rt extends _0x45a74d{[_0x2b20('0x3')](){const _0x504d60=this['editor'],_0x23842a=_0x504d60['plugins'][_0x2b20('0x9')](_0x2b20('0x19'));if(_0x504d60[_0x2b20('0xf')][_0x2b20('0x10')](_0x2b20('0x15'))&&(_0x23842a[_0x2b20('0x14')](_0x2b20('0x17')),_0x23842a[_0x2b20('0x14')](_0x2b20('0xd'))),_0x504d60[_0x2b20('0xf')][_0x2b20('0x10')](_0x2b20('0x8')))for(const _0x1f5787 of['indentBlock','outdentBlock'])_0x23842a[_0x2b20('0x0')](_0x1f5787);const _0x1dd757=_0x504d60[_0x2b20('0x13')];_0x23842a[_0x2b20('0x4')]('blockIndent'),_0x23842a[_0x2b20('0x1b')][_0x2b20('0xe')](_0x2b20('0x18'),_0x3a2ff6(_0x1dd757,_0x2b20('0xc'))),this[_0x2b20('0x2')]();}[_0x2b20('0x2')](){const _0x354456=this[_0x2b20('0x7')],_0x27c7f7=_0x354456[_0x2b20('0x13')],_0x455a00=_0x354456[_0x2b20('0xf')]['get'](_0x2b20('0x19'));_0x455a00['_descriptionFactory'][_0x2b20('0x1a')](_0x35c70a=>{if('formatBlock'!=_0x35c70a[_0x2b20('0x5')])return;const {data:_0x5795b7}=_0x35c70a;if(!_0x5795b7)return;if(_0x2b20('0x6')!=_0x5795b7[_0x2b20('0xb')]&&_0x2b20('0xa')!=_0x5795b7[_0x2b20('0xb')])return;const _0x2e3000=_0x35c70a[_0x2b20('0x12')]()[0x0],_0x5f24af=_0x455a00['_descriptionFactory'][_0x2b20('0x11')](_0x2e3000);return _0x2b20('0x6')==_0x5795b7[_0x2b20('0xb')]?{'type':'format','content':_0x3a2ff6(_0x27c7f7,_0x2b20('0x16'),_0x5f24af)}:_0x2b20('0xa')==_0x5795b7[_0x2b20('0xb')]?{'type':_0x2b20('0x1'),'content':_0x3a2ff6(_0x27c7f7,'*Outdent:*\x20%0',_0x5f24af)}:void 0x0;});}}
23
+ const _0x43d2=['commandName','TrackChangesEditing','plugins','format','formatBlock','blockIndent','getItems','*Outdent:*\x20%0','locale','has','*Indent:*\x20%0','indent','indentBlock','_registerLegacyDescription','afterInit','outdentBlock','type','_enableDefaultAttributesIntegration','editor','outdent','get','registerDescriptionCallback','_registerBlockAttribute','enableCommand','_descriptionFactory'];(function(_0x385229,_0x43d20b){const _0x55f637=function(_0x5d0695){while(--_0x5d0695){_0x385229['push'](_0x385229['shift']());}};_0x55f637(++_0x43d20b);}(_0x43d2,0x150));const _0x55f6=function(_0x385229,_0x43d20b){_0x385229=_0x385229-0x0;let _0x55f637=_0x43d2[_0x385229];return _0x55f637;};import{Plugin as _0x1a523a}from'ckeditor5/src/core.js';import{getTranslation as _0x369ba3}from'../utils/common-translations.js';export default class rt extends _0x1a523a{[_0x55f6('0x3')](){const _0x5ad704=this[_0x55f6('0x7')],_0x546f61=_0x5ad704[_0x55f6('0x10')][_0x55f6('0x9')](_0x55f6('0xf'));if(_0x5ad704['plugins'][_0x55f6('0x17')]('IndentEditing')&&(_0x546f61[_0x55f6('0xc')](_0x55f6('0x0')),_0x546f61[_0x55f6('0xc')](_0x55f6('0x8'))),_0x5ad704[_0x55f6('0x10')][_0x55f6('0x17')]('IndentBlock'))for(const _0x114342 of['indentBlock',_0x55f6('0x4')])_0x546f61[_0x55f6('0x6')](_0x114342);const _0x3c5c75=_0x5ad704[_0x55f6('0x16')];_0x546f61[_0x55f6('0xb')](_0x55f6('0x13')),_0x546f61['_descriptionFactory']['registerAttributeLabel'](_0x55f6('0x13'),_0x369ba3(_0x3c5c75,'FORMAT_INDENT')),this[_0x55f6('0x2')]();}['_registerLegacyDescription'](){const _0x4f004c=this[_0x55f6('0x7')],_0x45753f=_0x4f004c[_0x55f6('0x16')],_0xb4cdf=_0x4f004c['plugins']['get'](_0x55f6('0xf'));_0xb4cdf['_descriptionFactory'][_0x55f6('0xa')](_0x30433c=>{if(_0x55f6('0x12')!=_0x30433c[_0x55f6('0x5')])return;const {data:_0x1c82e9}=_0x30433c;if(!_0x1c82e9)return;if(_0x55f6('0x1')!=_0x1c82e9[_0x55f6('0xe')]&&_0x55f6('0x4')!=_0x1c82e9[_0x55f6('0xe')])return;const _0x46e1ca=_0x30433c[_0x55f6('0x14')]()[0x0],_0x872e6d=_0xb4cdf[_0x55f6('0xd')]['getItemLabel'](_0x46e1ca);return _0x55f6('0x1')==_0x1c82e9[_0x55f6('0xe')]?{'type':'format','content':_0x369ba3(_0x45753f,_0x55f6('0x18'),_0x872e6d)}:_0x55f6('0x4')==_0x1c82e9['commandName']?{'type':_0x55f6('0x11'),'content':_0x369ba3(_0x45753f,_0x55f6('0x15'),_0x872e6d)}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1bf4=['TrackChangesEditing','init','editor','input','get','enableCommand','requires','plugins'];(function(_0x4ed909,_0x1bf405){var _0x25078e=function(_0x1b5077){while(--_0x1b5077){_0x4ed909['push'](_0x4ed909['shift']());}};_0x25078e(++_0x1bf405);}(_0x1bf4,0x1af));var _0x2507=function(_0x4ed909,_0x1bf405){_0x4ed909=_0x4ed909-0x0;var _0x25078e=_0x1bf4[_0x4ed909];return _0x25078e;};import{Plugin as _0x16584f}from'ckeditor5/src/core.js';import{Input as _0x1817b7}from'ckeditor5/src/typing.js';export default class at extends _0x16584f{static get[_0x2507('0x7')](){return[_0x1817b7];}[_0x2507('0x2')](){this[_0x2507('0x3')][_0x2507('0x0')][_0x2507('0x5')](_0x2507('0x1'))[_0x2507('0x6')](_0x2507('0x4'));}}
23
+ var _0x3c86=['enableCommand','input','TrackChangesEditing','requires','plugins'];(function(_0x3c3d20,_0x3c8622){var _0x3df44c=function(_0x1374f4){while(--_0x1374f4){_0x3c3d20['push'](_0x3c3d20['shift']());}};_0x3df44c(++_0x3c8622);}(_0x3c86,0x161));var _0x3df4=function(_0x3c3d20,_0x3c8622){_0x3c3d20=_0x3c3d20-0x0;var _0x3df44c=_0x3c86[_0x3c3d20];return _0x3df44c;};import{Plugin as _0x22a976}from'ckeditor5/src/core.js';import{Input as _0x447270}from'ckeditor5/src/typing.js';export default class at extends _0x22a976{static get[_0x3df4('0x0')](){return[_0x447270];}['init'](){this['editor'][_0x3df4('0x1')]['get'](_0x3df4('0x4'))[_0x3df4('0x2')](_0x3df4('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e57=['plugins','element','numbered','numberedList','outdentList','value','name','has','model','blockName','registerElementLabel','parent','getAttribute','end','type','ELEMENT_BULLETED_LIST','from','get','todo','*Outdent:*\x20%0','TrackChangesEditing','selection','before','indentList','formatBlock','enableCommand','commandName','commands','ELEMENT_LIST_ITEM','listItem','*Change\x20to:*\x20%0','ELEMENT_NUMBERED_LIST','LegacyListEditing','nextSibling','listIndent','bulletedList','_descriptionFactory','schema','filter','length','previousSibling','commandParams','createRange','checkChild','forceValue','List','registerDescriptionCallback','_selectedElements','replace','execute','change','document','checkTodoList','LegacyTodoListEditing','format','findIndex','formatInline','ELEMENT_TODO_LIST','getSelectedBlocks','todoList','markBlockFormat','isObject','add','editor'];(function(_0x4684fc,_0x1e577c){const _0x598578=function(_0x3eee74){while(--_0x3eee74){_0x4684fc['push'](_0x4684fc['shift']());}};_0x598578(++_0x1e577c);}(_0x1e57,0x18c));const _0x5985=function(_0x4684fc,_0x1e577c){_0x4684fc=_0x4684fc-0x0;let _0x598578=_0x1e57[_0x4684fc];return _0x598578;};import{Plugin as _0x4bd879}from'ckeditor5/src/core.js';import{getTranslation as _0x40df82}from'../utils/common-translations.js';export default class ut extends _0x4bd879{['afterInit'](){const _0x461a99=this[_0x5985('0x33')],_0x611b1e=_0x461a99['locale'];if(!_0x461a99[_0x5985('0x34')]['has'](_0x5985('0x14')))return;const _0x3abc1d=_0x461a99[_0x5985('0x34')]['get'](_0x5985('0x8')),_0x407bea=_0x461a99['plugins'][_0x5985('0x3b')](_0x5985('0x29'));function _0x45fffb(_0x3025b5){return()=>{const _0x3f8e84=_0x461a99[_0x5985('0x3c')][_0x5985('0x27')][_0x5985('0x9')],_0x48370e=_0x461a99[_0x5985('0xf')]['get'](_0x3025b5);if(_0x48370e[_0x5985('0x39')])return void _0x461a99[_0x5985('0x25')]('paragraph',{});const _0x5076be=_0x3025b5['slice'](0x0,-0x4),_0x3d1153=function(_0x2be7b9,_0x48d90a,_0x17ed99){let _0x58e596=Array['from'](_0x2be7b9)['filter'](_0x237a28=>function(_0x69adb3,_0x1a11a9){return _0x1a11a9[_0x5985('0x1f')](_0x69adb3[_0x5985('0x3f')],_0x5985('0x11'))&&!_0x1a11a9[_0x5985('0x31')](_0x69adb3);}(_0x237a28,_0x17ed99));_0x58e596=_0x58e596[_0x5985('0x1a')](_0x3d3b56=>!_0x3d3b56['is'](_0x5985('0x35'),'listItem')||_0x3d3b56['getAttribute']('listType')!=_0x48d90a);const _0x166893=new Set();for(const _0x3e3686 of _0x58e596)_0x3e3686['is'](_0x5985('0x35'),_0x5985('0x11'))?_0x166893[_0x5985('0x32')](ne(_0x3e3686)):_0x166893[_0x5985('0x32')](_0x3e3686);return Array['from'](_0x166893);}(_0x3f8e84[_0x5985('0x2e')](),_0x5076be,_0x461a99['model'][_0x5985('0x19')]);_0x461a99[_0x5985('0x3c')][_0x5985('0x26')](()=>{for(const _0x44d876 of _0x3d1153)_0x3abc1d[_0x5985('0x30')](_0x44d876,{'commandName':_0x3025b5,'commandParams':[{'forceValue':!_0x48370e[_0x5985('0x39')]}],'formatGroupId':_0x5985('0x3d')},oe(_0x44d876));});};}function _0x328ef7(_0xb617ba){return()=>{const _0x3511ac=function(_0x4d11d6){let _0x235adf=Array['from'](_0x4d11d6);const _0x379249=_0x235adf[_0x5985('0x2b')](_0xad6d67=>'listItem'!=_0xad6d67[_0x5985('0x3a')]);return _0x379249>-0x1&&(_0x235adf=_0x235adf['slice'](0x0,_0x379249)),_0x235adf;}(_0x461a99[_0x5985('0x3c')]['document'][_0x5985('0x9')]['getSelectedBlocks']()),_0x589dd0=_0x461a99[_0x5985('0x3c')][_0x5985('0x1e')](_0x461a99[_0x5985('0x3c')]['createPositionAt'](_0x3511ac[0x0],_0x5985('0xa')),_0x461a99[_0x5985('0x3c')]['createPositionAt'](_0x3511ac[_0x3511ac[_0x5985('0x1b')]-0x1],_0x5985('0x1')));_0x461a99['model']['change'](()=>{_0x3abc1d[_0x5985('0x30')](_0x589dd0,{'commandName':_0xb617ba,'commandParams':[],'formatGroupId':'listIndent'},function(_0x1e1b0d){const _0x18e6b7=new Set();for(const _0x5ac980 of _0x1e1b0d){let _0x2eeeb5=_0x5ac980['nextSibling'];for(;_0x2eeeb5&&_0x2eeeb5[_0x5985('0x0')](_0x5985('0x16'))>_0x5ac980['getAttribute'](_0x5985('0x16'));)_0x18e6b7[_0x5985('0x32')](_0x2eeeb5),_0x2eeeb5=_0x2eeeb5['nextSibling'];}return Array[_0x5985('0x4')](_0x18e6b7);}(_0x3511ac));});};}_0x3abc1d['enableCommand'](_0x5985('0x37'),_0x45fffb(_0x5985('0x37'))),_0x3abc1d[_0x5985('0xd')](_0x5985('0x17'),_0x45fffb('bulletedList')),_0x407bea&&_0x3abc1d[_0x5985('0xd')](_0x5985('0x2f'),_0x45fffb(_0x5985('0x2f'))),_0x3abc1d[_0x5985('0xd')](_0x5985('0xb'),_0x328ef7(_0x5985('0xb'))),_0x3abc1d['enableCommand'](_0x5985('0x38'),_0x328ef7(_0x5985('0x38'))),_0x407bea&&_0x3abc1d[_0x5985('0xd')]('checkTodoList',()=>{const _0x59dac5=_0x461a99['commands'][_0x5985('0x5')](_0x5985('0x28')),_0xba6bff=Array[_0x5985('0x4')](_0x59dac5[_0x5985('0x23')]);_0xba6bff[_0x5985('0x1a')](_0x345aa6=>_0x345aa6[_0x5985('0x0')]('todoListChecked')!=_0x59dac5[_0x5985('0x39')]),_0x461a99[_0x5985('0x3c')][_0x5985('0x26')](()=>{for(const _0x1c8267 of _0xba6bff)_0x3abc1d[_0x5985('0x30')](_0x1c8267,{'commandName':_0x5985('0x28'),'commandParams':[{'forceValue':!_0x59dac5[_0x5985('0x39')]}]});});}),_0x3abc1d[_0x5985('0x18')][_0x5985('0x3e')]('listItem',_0x30830e=>_0x40df82(_0x611b1e,_0x5985('0x10'),_0x30830e)),_0x3abc1d[_0x5985('0x18')][_0x5985('0x22')](_0x5cd0fb=>{if(_0x5985('0xc')!=_0x5cd0fb['type']&&_0x5985('0x2c')!=_0x5cd0fb[_0x5985('0x2')])return;const {data:_0x2016f6}=_0x5cd0fb;if(_0x2016f6){if(_0x5985('0x37')==_0x2016f6[_0x5985('0xe')]||_0x5985('0x17')==_0x2016f6['commandName']||_0x5985('0x2f')==_0x2016f6[_0x5985('0xe')])switch(_0x2016f6['commandName'][_0x5985('0x24')](_0x5985('0x21'),'')){case'bulleted':return _0x5d16d0(_0x40df82(_0x611b1e,_0x5985('0x3')));case _0x5985('0x36'):return _0x5d16d0(_0x40df82(_0x611b1e,_0x5985('0x13')));case _0x5985('0x6'):return _0x5d16d0(_0x40df82(_0x611b1e,_0x5985('0x2d')));}if('indentList'==_0x2016f6[_0x5985('0xe')])return{'type':_0x5985('0x2a'),'content':_0x40df82(_0x611b1e,'*Indent:*\x20%0',_0x40df82(_0x611b1e,_0x5985('0x10')))};if(_0x5985('0x38')==_0x2016f6[_0x5985('0xe')])return{'type':_0x5985('0x2a'),'content':_0x40df82(_0x611b1e,_0x5985('0x7'),_0x40df82(_0x611b1e,'ELEMENT_LIST_ITEM'))};if(_0x5985('0x28')==_0x2016f6[_0x5985('0xe')])return _0x2016f6[_0x5985('0x1d')][0x0][_0x5985('0x20')]?{'type':_0x5985('0x2a'),'content':_0x40df82(_0x611b1e,'*Check\x20item*')}:{'type':_0x5985('0x2a'),'content':_0x40df82(_0x611b1e,'*Uncheck\x20item*')};}function _0x5d16d0(_0x550220){return{'type':_0x5985('0x2a'),'content':_0x40df82(_0x611b1e,_0x5985('0x12'),_0x550220)};}});}}function ne(_0x499f85){const _0x3c19f6=_0x499f85[_0x5985('0x0')]('listIndent');if(0x0==_0x3c19f6)return _0x499f85;let _0x2e126c=_0x499f85;for(;_0x499f85[_0x5985('0x1c')]&&_0x499f85['previousSibling']['is'](_0x5985('0x35'),_0x5985('0x11'));){const _0x101546=_0x499f85[_0x5985('0x1c')]['getAttribute'](_0x5985('0x16'));if(_0x101546==_0x3c19f6)_0x2e126c=_0x499f85[_0x5985('0x1c')];else{if(_0x101546<_0x3c19f6)break;}_0x499f85=_0x499f85['previousSibling'];}return _0x2e126c;}function oe(_0x3fa8ac){const _0x2e6717=[];if(_0x3fa8ac['is'](_0x5985('0x35'),_0x5985('0x11'))&&_0x3fa8ac[_0x5985('0x0')](_0x5985('0x16'))>0x0){let _0x3eb68f=_0x3fa8ac[_0x5985('0x15')];for(;_0x3eb68f&&'listItem'==_0x3eb68f[_0x5985('0x3a')]&&_0x3eb68f[_0x5985('0x0')](_0x5985('0x16'))==_0x3fa8ac['getAttribute']('listIndent');)_0x2e6717['push'](_0x3eb68f),_0x3eb68f=_0x3eb68f[_0x5985('0x15')];}return _0x2e6717;}
23
+ const _0x4787=['_descriptionFactory','numberedList','getSelectedBlocks','add','listIndent','model','indentList','execute','type','parent','*Change\x20to:*\x20%0','checkTodoList','LegacyListEditing','change','bulleted','value','todoList','filter','*Indent:*\x20%0','selection','commands','createPositionAt','numbered','name','TrackChangesEditing','createRange','*Outdent:*\x20%0','has','commandName','checkChild','document','listItem','outdentList','isObject','replace','commandParams','ELEMENT_BULLETED_LIST','_selectedElements','todoListChecked','get','ELEMENT_LIST_ITEM','todo','getAttribute','previousSibling','bulletedList','enableCommand','listType','locale','plugins','element','format','nextSibling','from','push','formatInline','afterInit','forceValue','markBlockFormat','List','registerDescriptionCallback','findIndex'];(function(_0x401be9,_0x4787d6){const _0x108bc2=function(_0x830f3a){while(--_0x830f3a){_0x401be9['push'](_0x401be9['shift']());}};_0x108bc2(++_0x4787d6);}(_0x4787,0x171));const _0x108b=function(_0x401be9,_0x4787d6){_0x401be9=_0x401be9-0x0;let _0x108bc2=_0x4787[_0x401be9];return _0x108bc2;};import{Plugin as _0x229307}from'ckeditor5/src/core.js';import{getTranslation as _0x4e74d0}from'../utils/common-translations.js';export default class ut extends _0x229307{[_0x108b('0x34')](){const _0x4513d7=this['editor'],_0x5caa50=_0x4513d7[_0x108b('0x2c')];if(!_0x4513d7[_0x108b('0x2d')][_0x108b('0x18')](_0x108b('0x9')))return;const _0x1e826f=_0x4513d7['plugins'][_0x108b('0x24')](_0x108b('0x15')),_0xb433d2=_0x4513d7[_0x108b('0x2d')][_0x108b('0x18')]('LegacyTodoListEditing');function _0x26e920(_0x147670){return()=>{const _0x52dc32=_0x4513d7[_0x108b('0x2')][_0x108b('0x1b')][_0x108b('0x10')],_0x2b03b0=_0x4513d7[_0x108b('0x11')]['get'](_0x147670);if(_0x2b03b0[_0x108b('0xc')])return void _0x4513d7[_0x108b('0x4')]('paragraph',{});const _0x49e558=_0x147670['slice'](0x0,-0x4),_0x367cda=function(_0x2289b1,_0x153c0e,_0x454217){let _0x4977c7=Array[_0x108b('0x31')](_0x2289b1)[_0x108b('0xe')](_0x2a349d=>function(_0x3acbf3,_0x4f0023){return _0x4f0023[_0x108b('0x1a')](_0x3acbf3[_0x108b('0x6')],_0x108b('0x1c'))&&!_0x4f0023[_0x108b('0x1e')](_0x3acbf3);}(_0x2a349d,_0x454217));_0x4977c7=_0x4977c7['filter'](_0x3a6439=>!_0x3a6439['is']('element',_0x108b('0x1c'))||_0x3a6439[_0x108b('0x27')](_0x108b('0x2b'))!=_0x153c0e);const _0x2eef28=new Set();for(const _0x303384 of _0x4977c7)_0x303384['is'](_0x108b('0x2e'),_0x108b('0x1c'))?_0x2eef28[_0x108b('0x0')](ne(_0x303384)):_0x2eef28['add'](_0x303384);return Array[_0x108b('0x31')](_0x2eef28);}(_0x52dc32[_0x108b('0x3c')](),_0x49e558,_0x4513d7[_0x108b('0x2')]['schema']);_0x4513d7[_0x108b('0x2')][_0x108b('0xa')](()=>{for(const _0x4b9661 of _0x367cda)_0x1e826f[_0x108b('0x36')](_0x4b9661,{'commandName':_0x147670,'commandParams':[{'forceValue':!_0x2b03b0[_0x108b('0xc')]}],'formatGroupId':'blockName'},oe(_0x4b9661));});};}function _0x11df8e(_0x1b6e1f){return()=>{const _0x33a8cb=function(_0x1ff9f3){let _0x1e684d=Array[_0x108b('0x31')](_0x1ff9f3);const _0x504f51=_0x1e684d[_0x108b('0x39')](_0x4f0cd1=>_0x108b('0x1c')!=_0x4f0cd1['name']);return _0x504f51>-0x1&&(_0x1e684d=_0x1e684d['slice'](0x0,_0x504f51)),_0x1e684d;}(_0x4513d7[_0x108b('0x2')][_0x108b('0x1b')][_0x108b('0x10')][_0x108b('0x3c')]()),_0x1686c8=_0x4513d7[_0x108b('0x2')][_0x108b('0x16')](_0x4513d7[_0x108b('0x2')][_0x108b('0x12')](_0x33a8cb[0x0],'before'),_0x4513d7[_0x108b('0x2')][_0x108b('0x12')](_0x33a8cb[_0x33a8cb['length']-0x1],'end'));_0x4513d7[_0x108b('0x2')]['change'](()=>{_0x1e826f[_0x108b('0x36')](_0x1686c8,{'commandName':_0x1b6e1f,'commandParams':[],'formatGroupId':'listIndent'},function(_0x4b6183){const _0x3436cf=new Set();for(const _0x547aad of _0x4b6183){let _0x476e52=_0x547aad['nextSibling'];for(;_0x476e52&&_0x476e52['getAttribute'](_0x108b('0x1'))>_0x547aad[_0x108b('0x27')]('listIndent');)_0x3436cf['add'](_0x476e52),_0x476e52=_0x476e52[_0x108b('0x30')];}return Array[_0x108b('0x31')](_0x3436cf);}(_0x33a8cb));});};}_0x1e826f[_0x108b('0x2a')](_0x108b('0x3b'),_0x26e920(_0x108b('0x3b'))),_0x1e826f[_0x108b('0x2a')](_0x108b('0x29'),_0x26e920(_0x108b('0x29'))),_0xb433d2&&_0x1e826f[_0x108b('0x2a')](_0x108b('0xd'),_0x26e920(_0x108b('0xd'))),_0x1e826f['enableCommand'](_0x108b('0x3'),_0x11df8e(_0x108b('0x3'))),_0x1e826f[_0x108b('0x2a')](_0x108b('0x1d'),_0x11df8e(_0x108b('0x1d'))),_0xb433d2&&_0x1e826f[_0x108b('0x2a')](_0x108b('0x8'),()=>{const _0x375097=_0x4513d7[_0x108b('0x11')][_0x108b('0x24')]('checkTodoList'),_0x117923=Array['from'](_0x375097[_0x108b('0x22')]);_0x117923[_0x108b('0xe')](_0x18b857=>_0x18b857[_0x108b('0x27')](_0x108b('0x23'))!=_0x375097['value']),_0x4513d7['model'][_0x108b('0xa')](()=>{for(const _0x2dd4fc of _0x117923)_0x1e826f[_0x108b('0x36')](_0x2dd4fc,{'commandName':_0x108b('0x8'),'commandParams':[{'forceValue':!_0x375097[_0x108b('0xc')]}]});});}),_0x1e826f[_0x108b('0x3a')]['registerElementLabel']('listItem',_0x480601=>_0x4e74d0(_0x5caa50,_0x108b('0x25'),_0x480601)),_0x1e826f['_descriptionFactory'][_0x108b('0x38')](_0x2a405d=>{if('formatBlock'!=_0x2a405d['type']&&_0x108b('0x33')!=_0x2a405d[_0x108b('0x5')])return;const {data:_0x11275c}=_0x2a405d;if(_0x11275c){if('numberedList'==_0x11275c[_0x108b('0x19')]||_0x108b('0x29')==_0x11275c[_0x108b('0x19')]||_0x108b('0xd')==_0x11275c[_0x108b('0x19')])switch(_0x11275c[_0x108b('0x19')][_0x108b('0x1f')](_0x108b('0x37'),'')){case _0x108b('0xb'):return _0x2c93cd(_0x4e74d0(_0x5caa50,_0x108b('0x21')));case _0x108b('0x13'):return _0x2c93cd(_0x4e74d0(_0x5caa50,'ELEMENT_NUMBERED_LIST'));case _0x108b('0x26'):return _0x2c93cd(_0x4e74d0(_0x5caa50,'ELEMENT_TODO_LIST'));}if(_0x108b('0x3')==_0x11275c[_0x108b('0x19')])return{'type':'format','content':_0x4e74d0(_0x5caa50,_0x108b('0xf'),_0x4e74d0(_0x5caa50,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x11275c['commandName'])return{'type':_0x108b('0x2f'),'content':_0x4e74d0(_0x5caa50,_0x108b('0x17'),_0x4e74d0(_0x5caa50,'ELEMENT_LIST_ITEM'))};if(_0x108b('0x8')==_0x11275c[_0x108b('0x19')])return _0x11275c[_0x108b('0x20')][0x0][_0x108b('0x35')]?{'type':_0x108b('0x2f'),'content':_0x4e74d0(_0x5caa50,'*Check\x20item*')}:{'type':'format','content':_0x4e74d0(_0x5caa50,'*Uncheck\x20item*')};}function _0x2c93cd(_0x176429){return{'type':_0x108b('0x2f'),'content':_0x4e74d0(_0x5caa50,_0x108b('0x7'),_0x176429)};}});}}function ne(_0x59ae86){const _0x1ff99b=_0x59ae86[_0x108b('0x27')](_0x108b('0x1'));if(0x0==_0x1ff99b)return _0x59ae86;let _0x12ca6f=_0x59ae86;for(;_0x59ae86[_0x108b('0x28')]&&_0x59ae86[_0x108b('0x28')]['is'](_0x108b('0x2e'),_0x108b('0x1c'));){const _0x58214c=_0x59ae86[_0x108b('0x28')][_0x108b('0x27')](_0x108b('0x1'));if(_0x58214c==_0x1ff99b)_0x12ca6f=_0x59ae86[_0x108b('0x28')];else{if(_0x58214c<_0x1ff99b)break;}_0x59ae86=_0x59ae86[_0x108b('0x28')];}return _0x12ca6f;}function oe(_0x38c535){const _0x2d1e07=[];if(_0x38c535['is'](_0x108b('0x2e'),'listItem')&&_0x38c535[_0x108b('0x27')](_0x108b('0x1'))>0x0){let _0x57a929=_0x38c535[_0x108b('0x30')];for(;_0x57a929&&_0x108b('0x1c')==_0x57a929[_0x108b('0x14')]&&_0x57a929[_0x108b('0x27')](_0x108b('0x1'))==_0x38c535[_0x108b('0x27')]('listIndent');)_0x2d1e07[_0x108b('0x32')](_0x57a929),_0x57a929=_0x57a929[_0x108b('0x30')];}return _0x2d1e07;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c70=['backward','LegacyListUtils','get','list.properties','registerDescriptionCallback','getSiblingNodes','listStyle','_getTranslationKeyForListStyle','commandParams','afterInit','handleListStartCommand','map','format','listItem','*Change\x20to:*\x20%0','listType','getAttribute','forward','handleListReversedCommand','TrackChangesEditing','config','listStart','reversed','startIndex','handleDescriptions','_getSuggestionBlocksForListStyle','handleListStyleCommand','formatBlock','toUpperCase','getLastPosition','_getSuggestionBlocks','model','_descriptionFactory','numbered','replace','*Format:*\x20set\x20start\x20index\x20to\x20%0','element','from','locale','listReversed','type','change','getFirstPosition','plugins','enableCommand','ELEMENT_','length','getListTypeFromListStyleType','bind','flat','document','createRange','filter','before','*Format:*\x20set\x20order\x20to\x20reversed','editor','commandName','selection','createPositionAt','markMultiRangeBlockFormat'];(function(_0x1966cf,_0x2c70b0){const _0x4bfe20=function(_0x134a5b){while(--_0x134a5b){_0x1966cf['push'](_0x1966cf['shift']());}};_0x4bfe20(++_0x2c70b0);}(_0x2c70,0x6a));const _0x4bfe=function(_0x1966cf,_0x2c70b0){_0x1966cf=_0x1966cf-0x0;let _0x4bfe20=_0x2c70[_0x1966cf];return _0x4bfe20;};import{Plugin as _0x357cd6}from'ckeditor5/src/core.js';import{getTranslation as _0x438a66}from'../utils/common-translations.js';export default class K extends _0x357cd6{[_0x4bfe('0x17')](){if(!this[_0x4bfe('0x9')][_0x4bfe('0x39')]['has']('LegacyListPropertiesEditing'))return;const _0xe66f6=this[_0x4bfe('0x9')][_0x4bfe('0x22')][_0x4bfe('0x10')](_0x4bfe('0x11')),_0x1fd99e=this[_0x4bfe('0x9')]['plugins'][_0x4bfe('0x10')](_0x4bfe('0x21'));_0xe66f6['styles']&&_0x1fd99e['enableCommand'](_0x4bfe('0x14'),this[_0x4bfe('0x28')][_0x4bfe('0x2')](this)),_0xe66f6[_0x4bfe('0x24')]&&_0x1fd99e[_0x4bfe('0x3a')](_0x4bfe('0x35'),this[_0x4bfe('0x20')][_0x4bfe('0x2')](this)),_0xe66f6[_0x4bfe('0x25')]&&_0x1fd99e[_0x4bfe('0x3a')](_0x4bfe('0x23'),this['handleListStartCommand'][_0x4bfe('0x2')](this)),_0x1fd99e[_0x4bfe('0x2e')][_0x4bfe('0x12')](this[_0x4bfe('0x26')]['bind'](this));}['handleListStyleCommand'](_0x7563f3,_0x4c0824={}){const _0xf87023=this['editor'][_0x4bfe('0x39')][_0x4bfe('0x10')](_0x4bfe('0x21')),_0x5b0c37=this[_0x4bfe('0x27')]();this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0x37')](()=>{_0xf87023['markMultiRangeBlockFormat'](_0x5b0c37,{'commandName':'listStyle','commandParams':[{'type':_0x4c0824[_0x4bfe('0x36')]}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x2dd089,_0x4abbfc={}){const _0x4b4eba=this[_0x4bfe('0x9')]['plugins']['get'](_0x4bfe('0x21')),_0x11ffa5=this[_0x4bfe('0x2c')](_0x55d41e=>_0x55d41e['is'](_0x4bfe('0x32'),'listItem')&&_0x4bfe('0x2f')===_0x55d41e[_0x4bfe('0x1e')](_0x4bfe('0x1d')));if(_0x11ffa5[_0x4bfe('0x0')]<0x1)return;const _0x530dad=_0x11ffa5['map'](_0x21c0d6=>this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0x5')](this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0xc')](_0x21c0d6,_0x4bfe('0x7')),this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0xc')](_0x21c0d6,0x0)));this[_0x4bfe('0x9')][_0x4bfe('0x2d')]['change'](()=>{_0x4b4eba[_0x4bfe('0xd')](_0x530dad,{'commandName':_0x4bfe('0x35'),'commandParams':[{'reversed':_0x4abbfc[_0x4bfe('0x24')]}],'formatGroupId':_0x4bfe('0x35')});});}[_0x4bfe('0x18')](_0xdd1ea4,_0x321770={}){const _0x598de6=this[_0x4bfe('0x9')]['plugins'][_0x4bfe('0x10')](_0x4bfe('0x21')),_0x8ef03e=this[_0x4bfe('0x2c')](_0x251142=>_0x251142['is'](_0x4bfe('0x32'),_0x4bfe('0x1b'))&&_0x4bfe('0x2f')===_0x251142[_0x4bfe('0x1e')]('listType'));if(_0x8ef03e['length']<0x1)return;const _0x4d7d68=_0x8ef03e[_0x4bfe('0x19')](_0x29a25c=>this['editor'][_0x4bfe('0x2d')][_0x4bfe('0x5')](this[_0x4bfe('0x9')]['model'][_0x4bfe('0xc')](_0x29a25c,_0x4bfe('0x7')),this[_0x4bfe('0x9')][_0x4bfe('0x2d')]['createPositionAt'](_0x29a25c,0x0)));this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0x37')](()=>{_0x598de6[_0x4bfe('0xd')](_0x4d7d68,{'commandName':_0x4bfe('0x23'),'commandParams':[{'startIndex':_0x321770['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x4f02f6){if(_0x4bfe('0x29')!=_0x4f02f6[_0x4bfe('0x36')]&&'formatInline'!=_0x4f02f6[_0x4bfe('0x36')])return;const _0x10cf98=this[_0x4bfe('0x9')][_0x4bfe('0x34')],{data:_0x859a27}=_0x4f02f6;if(!_0x859a27)return;let _0x588878,_0x1ae02a;switch(_0x859a27[_0x4bfe('0xa')]){case _0x4bfe('0x14'):_0x588878=_0x4bfe('0x1c'),_0x1ae02a={'type':_0x4bfe('0x1a'),'content':_0x438a66(_0x10cf98,_0x588878,_0x438a66(_0x10cf98,this[_0x4bfe('0x15')](_0x859a27[_0x4bfe('0x16')][0x0][_0x4bfe('0x36')])))};break;case'listReversed':_0x588878=_0x859a27[_0x4bfe('0x16')][0x0][_0x4bfe('0x24')]?_0x4bfe('0x8'):'*Format:*\x20set\x20order\x20to\x20regular',_0x1ae02a={'type':_0x4bfe('0x1a'),'content':_0x438a66(_0x10cf98,_0x588878)};break;case'listStart':_0x588878=_0x4bfe('0x31'),_0x1ae02a={'type':_0x4bfe('0x1a'),'content':_0x438a66(_0x10cf98,_0x588878,_0x859a27['commandParams'][0x0][_0x4bfe('0x25')])};}return _0x1ae02a;}[_0x4bfe('0x27')](){var _0xb87365,_0x888b25,_0x334aed,_0x2a79f9;const _0x3155cc=this[_0x4bfe('0x9')][_0x4bfe('0x39')][_0x4bfe('0x10')](_0x4bfe('0xf'));let _0xf929e9=Array['from'](this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0x4')]['selection']['getSelectedBlocks']());return(null===(_0xb87365=_0xf929e9[0x0])||void 0x0===_0xb87365?void 0x0:_0xb87365['is']('element',_0x4bfe('0x1b')))&&_0xf929e9['unshift'](..._0x3155cc[_0x4bfe('0x13')](this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0x4')][_0x4bfe('0xb')][_0x4bfe('0x38')](),_0x4bfe('0xe'))),(null===(_0x888b25=_0xf929e9[_0xf929e9[_0x4bfe('0x0')]-0x1])||void 0x0===_0x888b25?void 0x0:_0x888b25['is'](_0x4bfe('0x32'),_0x4bfe('0x1b')))&&_0xf929e9['push'](..._0x3155cc[_0x4bfe('0x13')](this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0x4')][_0x4bfe('0xb')][_0x4bfe('0x2b')](),_0x4bfe('0x1f'))),_0xf929e9=[...new Set(_0xf929e9)],(null===(_0x2a79f9=null===(_0x334aed=this['editor'][_0x4bfe('0x2d')]['document'][_0x4bfe('0xb')]['getFirstPosition']())||void 0x0===_0x334aed?void 0x0:_0x334aed['parent'])||void 0x0===_0x2a79f9?void 0x0:_0x2a79f9['is'](_0x4bfe('0x32'),_0x4bfe('0x1b')))&&(_0xf929e9=_0xf929e9[_0x4bfe('0x6')](_0x33a56e=>_0x33a56e['is'](_0x4bfe('0x32'),'listItem'))),_0xf929e9;}[_0x4bfe('0x2c')](_0x2cb651){const _0x47626c=this[_0x4bfe('0x9')][_0x4bfe('0x39')][_0x4bfe('0x10')](_0x4bfe('0xf'));let _0xad839e=Array[_0x4bfe('0x33')](this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0x4')][_0x4bfe('0xb')]['getSelectedBlocks']())['filter'](_0x2cb651)[_0x4bfe('0x19')](_0x3c69c5=>{const _0x33299d=this[_0x4bfe('0x9')][_0x4bfe('0x2d')][_0x4bfe('0xc')](_0x3c69c5,0x0);return[..._0x47626c['getSiblingNodes'](_0x33299d,'backward'),..._0x47626c['getSiblingNodes'](_0x33299d,'forward')];})[_0x4bfe('0x3')]();return _0xad839e=[...new Set(_0xad839e)],_0xad839e;}[_0x4bfe('0x15')](_0x3ed96a){return _0x4bfe('0x3b')+this[_0x4bfe('0x9')][_0x4bfe('0x39')][_0x4bfe('0x10')](_0x4bfe('0xf'))[_0x4bfe('0x1')](_0x3ed96a)[_0x4bfe('0x2a')]()+'_LIST_'+_0x3ed96a[_0x4bfe('0x2a')]()[_0x4bfe('0x30')](/-/g,'_');}}
23
+ const _0x18f9=['backward','handleListStyleCommand','listStart','config','editor','styles','createPositionAt','commandName','formatInline','ELEMENT_','get','getAttribute','model','plugins','commandParams','length','listReversed','listType','handleListStartCommand','handleDescriptions','filter','markMultiRangeBlockFormat','push','format','reversed','LegacyListUtils','map','change','getSiblingNodes','TrackChangesEditing','replace','handleListReversedCommand','*Format:*\x20set\x20order\x20to\x20reversed','document','list.properties','_getSuggestionBlocksForListStyle','getFirstPosition','registerDescriptionCallback','forward','element','listItem','numbered','_descriptionFactory','selection','toUpperCase','LegacyListPropertiesEditing','bind','parent','getSelectedBlocks','type','createRange','_getTranslationKeyForListStyle','_getSuggestionBlocks','*Format:*\x20set\x20start\x20index\x20to\x20%0','enableCommand','flat','startIndex','listStyle'];(function(_0x1859d1,_0x18f992){const _0x265bec=function(_0x3eb268){while(--_0x3eb268){_0x1859d1['push'](_0x1859d1['shift']());}};_0x265bec(++_0x18f992);}(_0x18f9,0xca));const _0x265b=function(_0x1859d1,_0x18f992){_0x1859d1=_0x1859d1-0x0;let _0x265bec=_0x18f9[_0x1859d1];return _0x265bec;};import{Plugin as _0x24034b}from'ckeditor5/src/core.js';import{getTranslation as _0x54be55}from'../utils/common-translations.js';export default class K extends _0x24034b{['afterInit'](){if(!this[_0x265b('0x22')][_0x265b('0x2b')]['has'](_0x265b('0x11')))return;const _0x288388=this[_0x265b('0x22')][_0x265b('0x21')][_0x265b('0x28')](_0x265b('0x6')),_0x557511=this['editor']['plugins'][_0x265b('0x28')]('TrackChangesEditing');_0x288388[_0x265b('0x23')]&&_0x557511[_0x265b('0x1a')](_0x265b('0x1d'),this[_0x265b('0x1f')][_0x265b('0x12')](this)),_0x288388[_0x265b('0x36')]&&_0x557511[_0x265b('0x1a')](_0x265b('0x2e'),this[_0x265b('0x3')][_0x265b('0x12')](this)),_0x288388[_0x265b('0x1c')]&&_0x557511[_0x265b('0x1a')](_0x265b('0x20'),this['handleListStartCommand'][_0x265b('0x12')](this)),_0x557511[_0x265b('0xe')][_0x265b('0x9')](this[_0x265b('0x31')]['bind'](this));}[_0x265b('0x1f')](_0x5da510,_0x3015b9={}){const _0x305cbc=this[_0x265b('0x22')][_0x265b('0x2b')][_0x265b('0x28')](_0x265b('0x1')),_0x56e579=this[_0x265b('0x7')]();this[_0x265b('0x22')]['model'][_0x265b('0x39')](()=>{_0x305cbc[_0x265b('0x33')](_0x56e579,{'commandName':_0x265b('0x1d'),'commandParams':[{'type':_0x3015b9[_0x265b('0x15')]}],'formatGroupId':_0x265b('0x1d')});});}[_0x265b('0x3')](_0x18de20,_0x99e7ce={}){const _0x2a0742=this[_0x265b('0x22')]['plugins'][_0x265b('0x28')](_0x265b('0x1')),_0x24aea8=this['_getSuggestionBlocks'](_0x42d270=>_0x42d270['is'](_0x265b('0xb'),'listItem')&&_0x265b('0xd')===_0x42d270[_0x265b('0x29')](_0x265b('0x2f')));if(_0x24aea8[_0x265b('0x2d')]<0x1)return;const _0x59ca7b=_0x24aea8[_0x265b('0x38')](_0x3f9ee8=>this[_0x265b('0x22')][_0x265b('0x2a')][_0x265b('0x16')](this[_0x265b('0x22')]['model'][_0x265b('0x24')](_0x3f9ee8,'before'),this['editor']['model'][_0x265b('0x24')](_0x3f9ee8,0x0)));this[_0x265b('0x22')][_0x265b('0x2a')]['change'](()=>{_0x2a0742['markMultiRangeBlockFormat'](_0x59ca7b,{'commandName':_0x265b('0x2e'),'commandParams':[{'reversed':_0x99e7ce[_0x265b('0x36')]}],'formatGroupId':_0x265b('0x2e')});});}[_0x265b('0x30')](_0x23bdea,_0x20cc8b={}){const _0x975fdf=this[_0x265b('0x22')][_0x265b('0x2b')]['get']('TrackChangesEditing'),_0x108cba=this[_0x265b('0x18')](_0x438559=>_0x438559['is'](_0x265b('0xb'),_0x265b('0xc'))&&'numbered'===_0x438559[_0x265b('0x29')](_0x265b('0x2f')));if(_0x108cba[_0x265b('0x2d')]<0x1)return;const _0x202d82=_0x108cba['map'](_0x309fe9=>this[_0x265b('0x22')][_0x265b('0x2a')][_0x265b('0x16')](this[_0x265b('0x22')][_0x265b('0x2a')][_0x265b('0x24')](_0x309fe9,'before'),this['editor']['model'][_0x265b('0x24')](_0x309fe9,0x0)));this[_0x265b('0x22')][_0x265b('0x2a')][_0x265b('0x39')](()=>{_0x975fdf[_0x265b('0x33')](_0x202d82,{'commandName':_0x265b('0x20'),'commandParams':[{'startIndex':_0x20cc8b['startIndex']}],'formatGroupId':_0x265b('0x20')});});}['handleDescriptions'](_0x4c0e99){if('formatBlock'!=_0x4c0e99[_0x265b('0x15')]&&_0x265b('0x26')!=_0x4c0e99[_0x265b('0x15')])return;const _0x215c11=this[_0x265b('0x22')]['locale'],{data:_0x384623}=_0x4c0e99;if(!_0x384623)return;let _0x5819d8,_0x3aefa2;switch(_0x384623[_0x265b('0x25')]){case _0x265b('0x1d'):_0x5819d8='*Change\x20to:*\x20%0',_0x3aefa2={'type':_0x265b('0x35'),'content':_0x54be55(_0x215c11,_0x5819d8,_0x54be55(_0x215c11,this[_0x265b('0x17')](_0x384623[_0x265b('0x2c')][0x0][_0x265b('0x15')])))};break;case _0x265b('0x2e'):_0x5819d8=_0x384623[_0x265b('0x2c')][0x0][_0x265b('0x36')]?_0x265b('0x4'):'*Format:*\x20set\x20order\x20to\x20regular',_0x3aefa2={'type':_0x265b('0x35'),'content':_0x54be55(_0x215c11,_0x5819d8)};break;case _0x265b('0x20'):_0x5819d8=_0x265b('0x19'),_0x3aefa2={'type':_0x265b('0x35'),'content':_0x54be55(_0x215c11,_0x5819d8,_0x384623['commandParams'][0x0]['startIndex'])};}return _0x3aefa2;}[_0x265b('0x7')](){var _0x36ce21,_0x60cc8a,_0x5772f1,_0x27b24c;const _0x2829bc=this[_0x265b('0x22')]['plugins'][_0x265b('0x28')](_0x265b('0x37'));let _0x2c08f9=Array['from'](this[_0x265b('0x22')][_0x265b('0x2a')][_0x265b('0x5')][_0x265b('0xf')][_0x265b('0x14')]());return(null===(_0x36ce21=_0x2c08f9[0x0])||void 0x0===_0x36ce21?void 0x0:_0x36ce21['is'](_0x265b('0xb'),_0x265b('0xc')))&&_0x2c08f9['unshift'](..._0x2829bc[_0x265b('0x0')](this[_0x265b('0x22')][_0x265b('0x2a')][_0x265b('0x5')]['selection'][_0x265b('0x8')](),'backward')),(null===(_0x60cc8a=_0x2c08f9[_0x2c08f9['length']-0x1])||void 0x0===_0x60cc8a?void 0x0:_0x60cc8a['is'](_0x265b('0xb'),'listItem'))&&_0x2c08f9[_0x265b('0x34')](..._0x2829bc[_0x265b('0x0')](this['editor'][_0x265b('0x2a')][_0x265b('0x5')]['selection']['getLastPosition'](),_0x265b('0xa'))),_0x2c08f9=[...new Set(_0x2c08f9)],(null===(_0x27b24c=null===(_0x5772f1=this[_0x265b('0x22')][_0x265b('0x2a')][_0x265b('0x5')][_0x265b('0xf')][_0x265b('0x8')]())||void 0x0===_0x5772f1?void 0x0:_0x5772f1[_0x265b('0x13')])||void 0x0===_0x27b24c?void 0x0:_0x27b24c['is']('element','listItem'))&&(_0x2c08f9=_0x2c08f9[_0x265b('0x32')](_0x25f567=>_0x25f567['is'](_0x265b('0xb'),'listItem'))),_0x2c08f9;}['_getSuggestionBlocks'](_0x5432a5){const _0x1c3bea=this[_0x265b('0x22')][_0x265b('0x2b')][_0x265b('0x28')](_0x265b('0x37'));let _0x2cce1f=Array['from'](this[_0x265b('0x22')][_0x265b('0x2a')][_0x265b('0x5')][_0x265b('0xf')][_0x265b('0x14')]())[_0x265b('0x32')](_0x5432a5)[_0x265b('0x38')](_0x631702=>{const _0x1b6f91=this[_0x265b('0x22')]['model'][_0x265b('0x24')](_0x631702,0x0);return[..._0x1c3bea[_0x265b('0x0')](_0x1b6f91,_0x265b('0x1e')),..._0x1c3bea[_0x265b('0x0')](_0x1b6f91,'forward')];})[_0x265b('0x1b')]();return _0x2cce1f=[...new Set(_0x2cce1f)],_0x2cce1f;}[_0x265b('0x17')](_0x13c5e3){return _0x265b('0x27')+this['editor'][_0x265b('0x2b')][_0x265b('0x28')](_0x265b('0x37'))['getListTypeFromListStyleType'](_0x13c5e3)[_0x265b('0x10')]()+'_LIST_'+_0x13c5e3[_0x265b('0x10')]()[_0x265b('0x2')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc84e=['_enableDefaultAttributesIntegration','linkHref','link\x20(','has','commandName','manualDecorators','_descriptionFactory','toLowerCase','type','plugins','*Set\x20link:*\x20%0','key','editor','get','commandParams','locale','TrackChangesEditing','registerDescriptionCallback','*Remove\x20link*','link','formatInline','unlink','format','label','map','LinkEditing'];(function(_0x1ca773,_0xc84e00){const _0x36ee51=function(_0x2691e2){while(--_0x2691e2){_0x1ca773['push'](_0x1ca773['shift']());}};_0x36ee51(++_0xc84e00);}(_0xc84e,0xdc));const _0x36ee=function(_0x1ca773,_0xc84e00){_0x1ca773=_0x1ca773-0x0;let _0x36ee51=_0xc84e[_0x1ca773];return _0x36ee51;};import{Plugin as _0x46ae82}from'ckeditor5/src/core.js';import{getTranslation as _0x37a873}from'../utils/common-translations.js';export default class ct extends _0x46ae82{['afterInit'](){const _0x11c116=this[_0x36ee('0x0')];if(!_0x11c116[_0x36ee('0x17')][_0x36ee('0x11')](_0x36ee('0xd')))return;const _0x2e40f8=_0x11c116[_0x36ee('0x17')]['get']('TrackChangesEditing'),_0x52016f=_0x11c116['commands'][_0x36ee('0x1')](_0x36ee('0x7'));_0x2e40f8[_0x36ee('0xe')]('link',[_0x36ee('0xf'),..._0x52016f[_0x36ee('0x13')][_0x36ee('0xc')](_0x301d60=>_0x301d60['id'])]),_0x2e40f8[_0x36ee('0xe')](_0x36ee('0x9'));for(const _0x1456ae of _0x52016f[_0x36ee('0x13')])_0x2e40f8['_descriptionFactory']['registerAttributeLabel'](_0x1456ae['id'],_0x36ee('0x10')+_0x1456ae[_0x36ee('0xb')][_0x36ee('0x15')]()+')');_0x2e40f8['_descriptionFactory'][_0x36ee('0x5')](_0x12f18d=>{if('attribute'!=_0x12f18d[_0x36ee('0x16')])return;const {data:_0x1b0576}=_0x12f18d;if(!_0x1b0576||_0x36ee('0xf')!=_0x1b0576[_0x36ee('0x19')])return;const _0x5311f1=_0x1b0576['newValue'],_0x4059f4=_0x11c116[_0x36ee('0x3')];return{'type':_0x36ee('0xa'),'content':null==_0x5311f1?_0x37a873(_0x4059f4,_0x36ee('0x6')):_0x37a873(_0x4059f4,'*Set\x20link:*\x20%0','\x22'+_0x5311f1+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4d4027=this[_0x36ee('0x0')],_0x11f92e=_0x4d4027[_0x36ee('0x3')];_0x4d4027[_0x36ee('0x17')][_0x36ee('0x1')](_0x36ee('0x4'))[_0x36ee('0x14')][_0x36ee('0x5')](_0x38016b=>{if(_0x36ee('0x8')!=_0x38016b[_0x36ee('0x16')])return;const {data:_0xd9a8d0}=_0x38016b;if(_0xd9a8d0){if(_0x36ee('0x7')==_0xd9a8d0[_0x36ee('0x12')]){const _0x54192c=_0xd9a8d0[_0x36ee('0x2')][0x0];return{'type':'format','content':_0x37a873(_0x11f92e,_0x36ee('0x18'),'\x22'+_0x54192c+'\x22')};}return'unlink'==_0xd9a8d0[_0x36ee('0x12')]?{'type':_0x36ee('0xa'),'content':_0x37a873(_0x11f92e,_0x36ee('0x6'))}:void 0x0;}});}}
23
+ const _0x1c33=['_descriptionFactory','TrackChangesEditing','has','plugins','type','linkHref','formatInline','toLowerCase','registerAttributeLabel','_registerLegacyDescription','editor','afterInit','link\x20(','commands','get','*Set\x20link:*\x20%0','manualDecorators','format','LinkEditing','unlink','commandParams','_enableDefaultAttributesIntegration','registerDescriptionCallback','map','commandName','locale','link','attribute'];(function(_0x31609f,_0x1c337b){const _0x326d3e=function(_0x1bae92){while(--_0x1bae92){_0x31609f['push'](_0x31609f['shift']());}};_0x326d3e(++_0x1c337b);}(_0x1c33,0x133));const _0x326d=function(_0x31609f,_0x1c337b){_0x31609f=_0x31609f-0x0;let _0x326d3e=_0x1c33[_0x31609f];return _0x326d3e;};import{Plugin as _0x5d39f3}from'ckeditor5/src/core.js';import{getTranslation as _0x57e97b}from'../utils/common-translations.js';export default class ct extends _0x5d39f3{[_0x326d('0xc')](){const _0x32a2ac=this[_0x326d('0xb')];if(!_0x32a2ac[_0x326d('0x4')][_0x326d('0x3')](_0x326d('0x13')))return;const _0x47eda9=_0x32a2ac['plugins'][_0x326d('0xf')](_0x326d('0x2')),_0x4a4e65=_0x32a2ac[_0x326d('0xe')][_0x326d('0xf')](_0x326d('0x1b'));_0x47eda9['_enableDefaultAttributesIntegration'](_0x326d('0x1b'),['linkHref',..._0x4a4e65[_0x326d('0x11')][_0x326d('0x18')](_0x6f420b=>_0x6f420b['id'])]),_0x47eda9[_0x326d('0x16')](_0x326d('0x14'));for(const _0x1e2a2c of _0x4a4e65[_0x326d('0x11')])_0x47eda9[_0x326d('0x1')][_0x326d('0x9')](_0x1e2a2c['id'],_0x326d('0xd')+_0x1e2a2c['label'][_0x326d('0x8')]()+')');_0x47eda9[_0x326d('0x1')][_0x326d('0x17')](_0x3e0ad5=>{if(_0x326d('0x0')!=_0x3e0ad5[_0x326d('0x5')])return;const {data:_0x1c7eb4}=_0x3e0ad5;if(!_0x1c7eb4||_0x326d('0x6')!=_0x1c7eb4['key'])return;const _0x949808=_0x1c7eb4['newValue'],_0x420963=_0x32a2ac[_0x326d('0x1a')];return{'type':_0x326d('0x12'),'content':null==_0x949808?_0x57e97b(_0x420963,'*Remove\x20link*'):_0x57e97b(_0x420963,_0x326d('0x10'),'\x22'+_0x949808+'\x22')};}),this[_0x326d('0xa')]();}[_0x326d('0xa')](){const _0x477e96=this[_0x326d('0xb')],_0x3bd8d7=_0x477e96[_0x326d('0x1a')];_0x477e96[_0x326d('0x4')][_0x326d('0xf')](_0x326d('0x2'))[_0x326d('0x1')][_0x326d('0x17')](_0x16cce4=>{if(_0x326d('0x7')!=_0x16cce4[_0x326d('0x5')])return;const {data:_0xd7941}=_0x16cce4;if(_0xd7941){if(_0x326d('0x1b')==_0xd7941[_0x326d('0x19')]){const _0xe17b48=_0xd7941[_0x326d('0x15')][0x0];return{'type':_0x326d('0x12'),'content':_0x57e97b(_0x3bd8d7,_0x326d('0x10'),'\x22'+_0xe17b48+'\x22')};}return _0x326d('0x14')==_0xd7941['commandName']?{'type':'format','content':_0x57e97b(_0x3bd8d7,'*Remove\x20link*')}:void 0x0;}});}}