@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240130.0 → 0.0.0-nightly-20240131.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 _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')});}}
23
+ const _0x1c6f=['ELEMENT_HORIZONTAL_LINE','has','registerElementLabel','_descriptionFactory','HorizontalLineEditing','showSuggestionHighlights','insert','horizontalLine','createPositionAt','addClass','high','editor','enableCommand','createContainerElement','for','conversion','TrackChangesEditing','ck-horizontal-line','dataDowncast','createEmptyElement','get','plugins','afterInit'];(function(_0x11e7ee,_0x1c6fd4){const _0x1de66a=function(_0x825426){while(--_0x825426){_0x11e7ee['push'](_0x11e7ee['shift']());}};_0x1de66a(++_0x1c6fd4);}(_0x1c6f,0xaf));const _0x1de6=function(_0x11e7ee,_0x1c6fd4){_0x11e7ee=_0x11e7ee-0x0;let _0x1de66a=_0x1c6f[_0x11e7ee];return _0x1de66a;};import{Plugin as _0x3f241b}from'ckeditor5/src/core.js';import{getTranslation as _0x114300}from'../utils/common-translations.js';export default class tt extends _0x3f241b{[_0x1de6('0x8')](){const _0x4600a1=this[_0x1de6('0x14')];if(!_0x4600a1[_0x1de6('0x7')][_0x1de6('0xa')](_0x1de6('0xd')))return;_0x4600a1[_0x1de6('0x7')][_0x1de6('0x6')](_0x1de6('0x2'))[_0x1de6('0x15')](_0x1de6('0x10'));const _0x16c9c1=_0x4600a1[_0x1de6('0x7')][_0x1de6('0x6')](_0x1de6('0x2')),_0x44611a=_0x4600a1['locale'];_0x16c9c1[_0x1de6('0xc')][_0x1de6('0xb')]('horizontalLine',_0x408a86=>_0x114300(_0x44611a,_0x1de6('0x9'),_0x408a86)),_0x4600a1[_0x1de6('0x1')][_0x1de6('0x0')](_0x1de6('0x4'))['elementToStructure']({'model':_0x1de6('0x10'),'view':(_0x3e110f,{writer:_0x4b0796,options:_0x4f6014})=>{if(!_0x4f6014[_0x1de6('0xe')])return null;const _0x5da5d1=_0x4b0796[_0x1de6('0x16')]('div'),_0x2bc0b2=_0x4b0796[_0x1de6('0x5')]('hr');return _0x4b0796[_0x1de6('0x12')](_0x1de6('0x3'),_0x5da5d1),_0x4b0796[_0x1de6('0xf')](_0x4b0796[_0x1de6('0x11')](_0x5da5d1,0x0),_0x2bc0b2),_0x5da5d1;},'converterPriority':_0x1de6('0x13')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}});}}
23
+ const _0xf3b7=['locale','htmlEmbed','_descriptionFactory','getFirstRange','element','value','plugins','type','start','format','key','nodeAfter','registerElementLabel','_registerLegacyDescription','registerDescriptionCallback','editor','afterInit','get','has','commandName','ELEMENT_HTML_EMBED','TrackChangesEditing','rawHtml','_enableDefaultAttributesIntegration','HtmlEmbed'];(function(_0x59b114,_0xf3b76b){const _0x48e8d5=function(_0x176cba){while(--_0x176cba){_0x59b114['push'](_0x59b114['shift']());}};_0x48e8d5(++_0xf3b76b);}(_0xf3b7,0x1dd));const _0x48e8=function(_0x59b114,_0xf3b76b){_0x59b114=_0x59b114-0x0;let _0x48e8d5=_0xf3b7[_0x59b114];return _0x48e8d5;};import{Plugin as _0x2c3d21}from'ckeditor5/src/core.js';import{getTranslation as _0x3830a8}from'../utils/common-translations.js';export default class et extends _0x2c3d21{[_0x48e8('0xe')](){const _0x491f08=this[_0x48e8('0xd')];if(!_0x491f08[_0x48e8('0x4')][_0x48e8('0x10')](_0x48e8('0x16')))return;const _0x4891c6=_0x491f08['plugins']['get'](_0x48e8('0x13')),_0x495a20=_0x491f08[_0x48e8('0x17')];_0x4891c6[_0x48e8('0x0')][_0x48e8('0xa')](_0x48e8('0x14'),_0x3b0926=>_0x3830a8(_0x495a20,_0x48e8('0x12'),_0x3b0926)),_0x4891c6[_0x48e8('0x15')]('htmlEmbed',[],['value']),_0x4891c6[_0x48e8('0x0')]['registerDescriptionCallback'](_0x44548b=>{if('attribute'!=_0x44548b[_0x48e8('0x5')])return;const {data:_0x42e7d0}=_0x44548b;if(_0x42e7d0&&_0x48e8('0x3')==_0x42e7d0[_0x48e8('0x8')]&&_0x44548b[_0x48e8('0x1')]()[_0x48e8('0x6')][_0x48e8('0x9')]['is'](_0x48e8('0x2'),_0x48e8('0x14'))){const _0x2893f4=_0x3830a8(_0x495a20,_0x48e8('0x12'));return{'type':_0x48e8('0x7'),'content':_0x3830a8(_0x495a20,'*Change\x20%0\x20content*',_0x2893f4)};}}),this[_0x48e8('0xb')]();}[_0x48e8('0xb')](){const _0x75269e=this[_0x48e8('0xd')],_0x204c22=_0x75269e[_0x48e8('0x17')];_0x75269e[_0x48e8('0x4')][_0x48e8('0xf')]('TrackChangesEditing')[_0x48e8('0x0')][_0x48e8('0xc')](_0x382769=>{if('formatBlock'!=_0x382769[_0x48e8('0x5')])return;const {data:_0xf648a9}=_0x382769;if(_0xf648a9&&_0x48e8('0x18')==_0xf648a9[_0x48e8('0x11')]){const _0x1b038e=_0x3830a8(_0x204c22,_0x48e8('0x12'));return{'type':'format','content':_0x3830a8(_0x204c22,'*Change\x20%0\x20content*',_0x1b038e)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'))};}}});}}
23
+ const _0x43b0=['markBlockFormat','ImageResize','discard','ImageEditing','chain','join','_descriptionFactory','enableCommand','newValue','Inline\x20image\x20to\x20block\x20image','nodeAfter','isIntersecting','isCollapsed','end','resizedWidth','isOwn','imageInline','format','editor','has','imageStylePreApply','type','getSuggestionCallback','isBlockImage','convertBlockImageToInline','afterInit','resizeImage','backward','toggleImageCaption','removeObject','commandName','caption','toPrevious','accept','isBefore','convertInlineImageToBlock','markInsertion','detach','fromPosition','_registerLegacyDescription','toNext','imageTextAlternative','registerElementLabel','filter','_enableDefaultAttributesIntegration','ImageBlockEditing','attribute','uploadImage','_suggestionFactory','subType','deletion','imageTypeBlock','getClosestSelectedImageElement','FORMAT_IMAGE_SIZE','getCaptionFromImageModelElement','TrackChangesEditing','find','plugins','get','imageTypeInline','getFirstRange','model','selection','_findSuggestions','change','schema','alt','registerDescriptionCallback','Block\x20image\x20to\x20inline\x20image','length','addObject','ELEMENT_CAPTION','imageCaption','forceDefaultExecution','locale','start','formatBlock','registerAttributeLabel','createRange','insertImage','insertion','isEqual','document','*Set\x20image\x20width:*\x20%0','formatInline','createRangeOn','findIndex','*Remove\x20image\x20text\x20alternative*','markDeletion','registerCustomCallback','element','getContainedElement','ImageInlineEditing'];(function(_0x1de844,_0x43b0eb){const _0x40d44d=function(_0x58d5ad){while(--_0x58d5ad){_0x1de844['push'](_0x1de844['shift']());}};_0x40d44d(++_0x43b0eb);}(_0x43b0,0xe1));const _0x40d4=function(_0x1de844,_0x43b0eb){_0x1de844=_0x1de844-0x0;let _0x40d44d=_0x43b0[_0x1de844];return _0x40d44d;};import{Plugin as _0x89ce45}from'ckeditor5/src/core.js';import{LivePosition as _0x4febd1}from'ckeditor5/src/engine.js';import{getTranslation as _0x2146b2}from'../utils/common-translations.js';export default class it extends _0x89ce45{[_0x40d4('0x4f')](){const _0x18cd09=this[_0x40d4('0x48')];if(!_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')](_0x40d4('0x39')))return;const _0x3e3fb5=_0x18cd09[_0x40d4('0x12')][_0x40d4('0x13')](_0x40d4('0x10')),_0x41d5b1=_0x18cd09[_0x40d4('0x12')]['get']('ImageUtils'),_0x4339a5=_0x18cd09[_0x40d4('0x23')];_0x3e3fb5[_0x40d4('0x3d')](_0x40d4('0x28')),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x3')]('imageBlock',_0x37ef9d=>_0x2146b2(_0x4339a5,'ELEMENT_IMAGE',_0x37ef9d)),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x3')](_0x40d4('0x46'),_0x2c1ddc=>_0x2146b2(_0x4339a5,'ELEMENT_INLINE_IMAGE',_0x2c1ddc)),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x3')](_0x40d4('0x55'),()=>_0x2146b2(_0x4339a5,_0x40d4('0x20'))),_0x18cd09[_0x40d4('0x12')]['has']('ImageUploadEditing')&&_0x3e3fb5[_0x40d4('0x3d')](_0x40d4('0x8')),_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')](_0x40d4('0x6'))&&_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')](_0x40d4('0x35'))&&(_0x3e3fb5[_0x40d4('0x3d')]('imageTypeInline',(_0x53c1ca,_0x31d9b8)=>{const _0x410302=_0x41d5b1['getClosestSelectedImageElement'](_0x18cd09[_0x40d4('0x16')][_0x40d4('0x2b')]['selection']);_0x18cd09[_0x40d4('0x16')][_0x40d4('0x19')](()=>{_0x3e3fb5[_0x40d4('0x36')](_0x410302,{'commandName':_0x40d4('0x14'),'commandParams':[_0x31d9b8]},[],'convertBlockImageToInline');});}),_0x3e3fb5['enableCommand'](_0x40d4('0xc'),(_0x2a7ac9,_0x147972)=>{_0x18cd09[_0x40d4('0x16')]['change'](_0x1554f0=>{let _0x29e453=_0x41d5b1[_0x40d4('0xd')](_0x18cd09['model'][_0x40d4('0x2b')]['selection']),_0xe95836=_0x1554f0[_0x40d4('0x2e')](_0x29e453);const _0x2b7dd3=_0x4febd1[_0x40d4('0x5c')](_0xe95836['start'],_0x40d4('0x56')),_0x35bb73=_0x4febd1[_0x40d4('0x5c')](_0xe95836[_0x40d4('0x43')],_0x40d4('0x1'));_0x3e3fb5[_0x40d4('0x22')](()=>_0x2a7ac9(_0x147972)),_0x29e453=_0x41d5b1['getClosestSelectedImageElement'](_0x18cd09[_0x40d4('0x16')]['document'][_0x40d4('0x17')]),_0xe95836=_0x1554f0['createRangeOn'](_0x29e453);const _0x417e79=_0x1554f0[_0x40d4('0x27')](_0x2b7dd3,_0x35bb73);_0x2b7dd3[_0x40d4('0x5b')](),_0x35bb73['detach'](),_0x3e3fb5[_0x40d4('0x36')](_0x29e453,{'commandName':_0x40d4('0x14'),'commandParams':[_0x147972]},[],_0x40d4('0x59')),_0x417e79[_0x40d4('0x24')]['isBefore'](_0xe95836['start'])&&_0x3e3fb5[_0x40d4('0x5a')](_0x1554f0[_0x40d4('0x27')](_0x417e79[_0x40d4('0x24')],_0xe95836['start']),'convertInlineImageToBlock'),_0xe95836[_0x40d4('0x43')][_0x40d4('0x58')](_0x417e79['end'])&&_0x3e3fb5[_0x40d4('0x5a')](_0x1554f0['createRange'](_0xe95836[_0x40d4('0x43')],_0x417e79[_0x40d4('0x43')]),_0x40d4('0x59'));});}),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')]('formatBlock',_0x40d4('0x59'),_0x40d4('0x3b'),()=>!0x1),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')]('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')]('formatBlock',_0x40d4('0x59'),_0x40d4('0x38'),_0x3e3fb5['_suggestionFactory'][_0x40d4('0x4c')](_0x40d4('0x25'),'',_0x40d4('0x57'))),_0x3e3fb5['_suggestionFactory']['registerCustomCallback'](_0x40d4('0x29'),_0x40d4('0x59'),_0x40d4('0x3b'),()=>!0x1),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')](_0x40d4('0x29'),_0x40d4('0x59'),'discard',([_0x32308c])=>{const _0x1d7afa=_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x4c')](_0x40d4('0x29'),'',_0x40d4('0x38'));let _0x23138a=_0x32308c[_0x40d4('0x24')],_0x4d871c=_0x32308c[_0x40d4('0x43')];const _0x231b56=_0x18cd09[_0x40d4('0x16')][_0x40d4('0x1a')]['getNearestSelectionRange'](_0x23138a,_0x40d4('0x51')),_0x5def50=_0x18cd09[_0x40d4('0x16')][_0x40d4('0x1a')]['getNearestSelectionRange'](_0x4d871c,'forward');_0x231b56[_0x40d4('0x42')]&&(_0x23138a=_0x231b56[_0x40d4('0x24')]),_0x5def50[_0x40d4('0x42')]&&(_0x4d871c=_0x5def50[_0x40d4('0x43')]),_0x1d7afa([_0x18cd09[_0x40d4('0x16')][_0x40d4('0x27')](_0x23138a,_0x4d871c)]);}),_0x3e3fb5['_suggestionFactory'][_0x40d4('0x32')](_0x40d4('0x25'),_0x40d4('0x59'),_0x40d4('0x3a'),_0x3697e9),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')](_0x40d4('0x29'),_0x40d4('0x59'),_0x40d4('0x3a'),_0x3697e9)),_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')]('ImageCaptionEditing')&&(_0x3e3fb5[_0x40d4('0x3d')](_0x40d4('0x52'),(_0x2174bd,_0x4b2f47)=>{const _0x5398aa=_0x18cd09['plugins'][_0x40d4('0x13')]('ImageCaptionUtils');let _0x200ec0=_0x41d5b1[_0x40d4('0xd')](_0x18cd09[_0x40d4('0x16')]['document'][_0x40d4('0x17')]),_0x2df5d0=_0x5398aa[_0x40d4('0xf')](_0x200ec0);_0x18cd09[_0x40d4('0x16')]['change'](()=>{if(_0x2df5d0)return void _0x3e3fb5[_0x40d4('0x31')](_0x18cd09[_0x40d4('0x16')][_0x40d4('0x2e')](_0x2df5d0));const _0x3ead27=_0x41d5b1[_0x40d4('0x4d')](_0x200ec0);_0x2174bd(_0x4b2f47),_0x200ec0=_0x41d5b1[_0x40d4('0xd')](_0x18cd09['model'][_0x40d4('0x2b')]['selection']),_0x2df5d0=_0x5398aa['getCaptionFromImageModelElement'](_0x200ec0),_0x3e3fb5[_0x40d4('0x5a')](_0x18cd09[_0x40d4('0x16')][_0x40d4('0x2e')](_0x2df5d0),_0x3ead27?null:_0x40d4('0x21'));});}),_0x3e3fb5[_0x40d4('0x9')][_0x40d4('0x32')](_0x40d4('0x29'),_0x40d4('0x21'),_0x40d4('0x3a'),_0x3697e9));const _0x1212ce=[{'type':_0x40d4('0x25'),'subType':_0x40d4('0x4a')},{'type':'insertion','subType':'imageCaption'},{'type':_0x40d4('0x25'),'subType':_0x40d4('0x59')},{'type':_0x40d4('0x29'),'subType':_0x40d4('0x59')}];function _0x35c026(_0x31bec5,_0x1ccafd){const _0x304153=_0x1212ce[_0x40d4('0x2f')](({type:_0x3ecc33,subType:_0xcdd6a8})=>_0x31bec5[_0x40d4('0x4b')]==_0x3ecc33&&_0x31bec5[_0x40d4('0xa')]==_0xcdd6a8),_0xa72274=_0x1212ce[_0x40d4('0x2f')](({type:_0x33b1a0,subType:_0x4bda15})=>_0x1ccafd[_0x40d4('0x4b')]==_0x33b1a0&&_0x1ccafd[_0x40d4('0xa')]==_0x4bda15);if(_0x304153<0x0||_0xa72274<0x0)return!0x1;const _0x563a80=_0x31bec5[_0x40d4('0x15')](),_0x31d8f3=_0x1ccafd[_0x40d4('0x15')]();if((0x0==_0x304153||0x1==_0x304153)&&0x2==_0xa72274&&_0x563a80[_0x40d4('0x41')](_0x31d8f3))return!0x0;if(0x2==_0x304153&&0x3==_0xa72274){const _0x4d0897=_0x3e3fb5[_0x40d4('0x18')](_0x563a80,_0x40d4('0x29'))[_0x40d4('0x4')](({suggestion:_0x373811,meta:_0x42b351})=>_0x42b351[_0x40d4('0x45')]&&'convertInlineImageToBlock'==_0x373811[_0x40d4('0xa')]);if(_0x4d0897[_0x40d4('0x1e')]>0x1&&_0x31d8f3[_0x40d4('0x43')][_0x40d4('0x2a')](_0x563a80[_0x40d4('0x24')]))return!0x0;if(0x1==_0x4d0897['length']&&(_0x563a80['start'][_0x40d4('0x2a')](_0x31d8f3['end'])||_0x563a80[_0x40d4('0x43')][_0x40d4('0x2a')](_0x31d8f3[_0x40d4('0x24')])))return!0x0;}if(0x3==_0x304153&&0x3==_0xa72274&&_0x563a80[_0x40d4('0x24')][_0x40d4('0x58')](_0x31d8f3['start'])){const _0x907c1b=_0x563a80[_0x40d4('0x43')][_0x40d4('0x40')],_0x419612=_0x31d8f3['start']['nodeBefore'];return _0x41d5b1[_0x40d4('0x4d')](_0x907c1b)&&_0x907c1b===_0x419612;}return!0x1;}function _0x3697e9(_0x4a06f7,_0xf37fa0){return _0x35c026(_0x4a06f7,_0xf37fa0)?[_0x4a06f7,_0xf37fa0]:_0x35c026(_0xf37fa0,_0x4a06f7)?[_0xf37fa0,_0x4a06f7]:null;}_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')](_0x40d4('0x37'))&&(_0x3e3fb5[_0x40d4('0x5')](_0x40d4('0x50'),[],[_0x40d4('0x44')]),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x26')](_0x40d4('0x44'),_0x2146b2(_0x4339a5,_0x40d4('0xe')))),_0x18cd09[_0x40d4('0x12')][_0x40d4('0x49')]('ImageTextAlternativeEditing')&&_0x3e3fb5[_0x40d4('0x5')](_0x40d4('0x2'),[],[_0x40d4('0x1b')]),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x1c')](_0x4f2ff9=>{if(!!_0x1212ce[_0x40d4('0x11')](({type:_0xaab363,subType:_0x5da054})=>_0x4f2ff9['type']==_0xaab363&&_0x4f2ff9[_0x40d4('0xa')]==_0x5da054))return _0x4f2ff9['previous']?{}:void 0x0;}),_0x3e3fb5[_0x40d4('0x3c')]['registerDescriptionCallback'](_0x3f3177=>{if(_0x40d4('0x29')==_0x3f3177[_0x40d4('0x4b')]||_0x40d4('0xb')==_0x3f3177['type']){const _0x33e61a=_0x3f3177[_0x40d4('0x34')]();if(_0x33e61a&&_0x33e61a['is'](_0x40d4('0x33'),_0x40d4('0x55')))return{'type':'insertion'==_0x3f3177[_0x40d4('0x4b')]?_0x40d4('0x1f'):_0x40d4('0x53'),'element':_0x33e61a,'quantity':0x1};}}),_0x3e3fb5[_0x40d4('0x3c')][_0x40d4('0x1c')](_0x5d5313=>_0x40d4('0x25')==_0x5d5313[_0x40d4('0x4b')]&&'convertInlineImageToBlock'==_0x5d5313[_0x40d4('0xa')]?{'type':_0x40d4('0x47'),'content':_0x40d4('0x3f')}:_0x40d4('0x25')==_0x5d5313[_0x40d4('0x4b')]&&_0x40d4('0x4e')==_0x5d5313[_0x40d4('0xa')]?{'type':_0x40d4('0x47'),'content':_0x40d4('0x1d')}:void 0x0),_0x3e3fb5['_descriptionFactory'][_0x40d4('0x1c')](_0x393a43=>{if(_0x40d4('0x7')!=_0x393a43[_0x40d4('0x4b')])return;const {data:_0x48ab3e}=_0x393a43;if(!_0x48ab3e||'alt'!=_0x48ab3e['key'])return;const _0x3829e9=_0x48ab3e[_0x40d4('0x3e')];return _0x3829e9?{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x4339a5,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3829e9+'\x22')}:{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x4339a5,_0x40d4('0x30'))};}),this[_0x40d4('0x0')]();}[_0x40d4('0x0')](){const _0x4eef2e=this['editor'],_0x2817c4=_0x4eef2e[_0x40d4('0x23')];_0x4eef2e[_0x40d4('0x12')][_0x40d4('0x13')](_0x40d4('0x10'))[_0x40d4('0x3c')][_0x40d4('0x1c')](_0x4ebe7a=>{if('formatBlock'!=_0x4ebe7a[_0x40d4('0x4b')]&&_0x40d4('0x2d')!=_0x4ebe7a['type'])return;const {data:_0x3e9a68}=_0x4ebe7a;if(_0x3e9a68){if(_0x40d4('0x2')==_0x3e9a68[_0x40d4('0x54')]){const _0x38b065=_0x3e9a68['commandParams'][0x0]['newValue'];return _0x38b065?{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x2817c4,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x38b065+'\x22')}:{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x2817c4,_0x40d4('0x30'))};}if(_0x40d4('0x50')==_0x3e9a68[_0x40d4('0x54')]){const _0x28c52a=_0x3e9a68['commandParams'][0x0]['width'];return _0x28c52a?{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x2817c4,_0x40d4('0x2c'),_0x28c52a)}:{'type':_0x40d4('0x47'),'content':_0x2146b2(_0x2817c4,'*Reset\x20image\x20width*')};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')};});}}
23
+ const _0x3d9b=['replaceImageSource','format','commandName','attribute','_suggestionFactory','src','afterInit','registerDescriptionCallback','accept','type','newValue','registerCustomCallback','get','editor','_registerLegacyDescription','has','locale','key','TrackChangesEditing','formatInline','_descriptionFactory','getSuggestionCallback','*Format:*\x20replace\x20image\x20URL','plugins','formatBlock'];(function(_0x20b5f5,_0x3d9b88){const _0x145135=function(_0x294af9){while(--_0x294af9){_0x20b5f5['push'](_0x20b5f5['shift']());}};_0x145135(++_0x3d9b88);}(_0x3d9b,0xed));const _0x1451=function(_0x20b5f5,_0x3d9b88){_0x20b5f5=_0x20b5f5-0x0;let _0x145135=_0x3d9b[_0x20b5f5];return _0x145135;};import{Plugin as _0x2deb7f}from'ckeditor5/src/core.js';import{getTranslation as _0x312235}from'../utils/common-translations.js';export default class st extends _0x2deb7f{[_0x1451('0x13')](){if(!this['editor']['plugins'][_0x1451('0x3')]('ImageEditing'))return;const _0x174613=this[_0x1451('0x1')][_0x1451('0x4')],_0x1015ca=this[_0x1451('0x1')]['plugins']['get']('TrackChangesEditing');_0x1015ca['_enableDefaultAttributesIntegration'](_0x1451('0xd'),[],[_0x1451('0x12')]),_0x1015ca[_0x1451('0x8')][_0x1451('0x14')](_0x5675c9=>{if(_0x1451('0x10')!=_0x5675c9[_0x1451('0x16')])return;const {data:_0x5212a3}=_0x5675c9;return _0x5212a3&&_0x1451('0x12')==_0x5212a3[_0x1451('0x5')]?_0x5212a3[_0x1451('0x17')]&&_0x5212a3['oldValue']?{'type':'format','content':_0x312235(_0x174613,'*Replace\x20image\x20URL*')}:{'type':_0x1451('0xe'),'content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x20165b=this[_0x1451('0x1')][_0x1451('0xb')][_0x1451('0x0')](_0x1451('0x6'));_0x20165b[_0x1451('0x11')][_0x1451('0x18')]('formatBlock',_0x1451('0xd'),_0x1451('0x15'),_0x20165b[_0x1451('0x11')][_0x1451('0x9')](_0x1451('0xc'),null,'discard')),_0x20165b['_suggestionFactory'][_0x1451('0x18')](_0x1451('0xc'),_0x1451('0xd'),'discard',_0x20165b[_0x1451('0x11')][_0x1451('0x9')](_0x1451('0xc'),null,_0x1451('0x15'))),this[_0x1451('0x2')]();}[_0x1451('0x2')](){const _0x46f9d3=this['editor'],_0x526b4f=_0x46f9d3[_0x1451('0x4')];_0x46f9d3[_0x1451('0xb')][_0x1451('0x0')](_0x1451('0x6'))[_0x1451('0x8')][_0x1451('0x14')](_0x337da0=>{if(_0x1451('0xc')!=_0x337da0[_0x1451('0x16')]&&_0x1451('0x7')!=_0x337da0['type'])return;const {data:_0x38ec99}=_0x337da0;if(!_0x38ec99||_0x1451('0xd')!=_0x38ec99[_0x1451('0xf')])return;return{'type':_0x1451('0xe'),'content':_0x312235(_0x526b4f,_0x1451('0xa'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)};}});}}
23
+ const _0x81d0=['has','getSuggestion','chain','toLowerCase','createRangeOn','length','editor','convertInlineImageToBlock','_descriptionFactory','imageTypeInline','nodeAfter','from','getChangedMarkers','insertion','end','title','registerCustomCallback','_splitMarkerName','isBlockImage','_registerLegacyDescription','isBefore','markBlockFormat','next','document','ImageStyleEditing','forEach','markInlineFormat','value','selection','isInContent','discard','model','shouldConvertImageType','newRange','suggestion','filter','Users','name','getContainedElement','commandName','setImageNaturalSizeAttributes','join','normalizedStyles','getFirstRange','isInlineImage','_suggestionFactory','side','imageStylePostApply','imageTypeBlock','refresh','author','type','isOwn','TrackChangesEditing','imageStylePreApply','commandReversedParams','formatBlock','registerPostFixer','start','isEqual','accept','imageCaption','FORMAT_SIDE_IMAGE','_findSuggestions','get','commandParams','getClosestSelectedImageElement','imageStyle','subType','differ','nodeBefore','enableCommand','findIndex','plugins','formatInline','commands','discardSuggestion'];(function(_0x5efe0b,_0x81d04){const _0x4f67cb=function(_0x5cd2b8){while(--_0x5cd2b8){_0x5efe0b['push'](_0x5efe0b['shift']());}};_0x4f67cb(++_0x81d04);}(_0x81d0,0x1f3));const _0x4f67=function(_0x5efe0b,_0x81d04){_0x5efe0b=_0x5efe0b-0x0;let _0x4f67cb=_0x81d0[_0x5efe0b];return _0x4f67cb;};import{Plugin as _0x24d2fb}from'ckeditor5/src/core.js';import{uid as _0x2ed3de}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f61c5}from'../utils/common-translations.js';export default class nt extends _0x24d2fb{['afterInit'](){const _0x22d745=this[_0x4f67('0x2e')];if(!_0x22d745[_0x4f67('0x24')][_0x4f67('0x28')](_0x4f67('0x40')))return;const _0x58a50d=_0x22d745[_0x4f67('0x24')][_0x4f67('0x1b')]('TrackChangesEditing'),_0x3ebc5a=_0x22d745[_0x4f67('0x24')][_0x4f67('0x1b')]('ImageUtils'),_0xfeab5d={};_0x58a50d[_0x4f67('0x22')](_0x4f67('0x1e'),(_0x5eea96,_0x382082)=>{const _0xabcd03=_0x22d745[_0x4f67('0x24')][_0x4f67('0x1b')](_0x4f67('0x4c'))['me'],_0x1cb993=_0x22d745[_0x4f67('0x26')][_0x4f67('0x1b')](_0x4f67('0x1e'));let _0x3fa2ca=_0x3ebc5a[_0x4f67('0x1d')](_0x22d745['model'][_0x4f67('0x3f')][_0x4f67('0x44')]),_0x5cbc89=_0x22d745[_0x4f67('0x47')]['createRangeOn'](_0x3fa2ca),_0x21e93f=_0x1cb993[_0x4f67('0x43')];if(_0x21e93f==_0x382082[_0x4f67('0x43')])return;const _0x45f5b1={'commandName':'imageStyle','commandParams':[_0x382082],'formatGroupId':_0x2ed3de()};_0x22d745[_0x4f67('0x47')]['change'](()=>{if(_0x58a50d['getSuggestions']()[_0x4f67('0x4b')](_0x1d7b8d=>_0x1d7b8d[_0x4f67('0x45')]&&_0xabcd03==_0x1d7b8d[_0x4f67('0xd')]&&(_0x4f67('0x13')==_0x1d7b8d[_0x4f67('0xe')]||'formatInline'==_0x1d7b8d['type'])&&(_0x4f67('0x11')==_0x1d7b8d[_0x4f67('0x1f')]||_0x4f67('0xa')==_0x1d7b8d[_0x4f67('0x1f')])&&_0x1d7b8d['getFirstRange']()[_0x4f67('0x16')](_0x5cbc89))[_0x4f67('0x41')](_0xf61355=>_0x58a50d[_0x4f67('0x27')](_0xf61355['head'])),_0x3fa2ca=_0x3ebc5a[_0x4f67('0x1d')](_0x22d745[_0x4f67('0x47')][_0x4f67('0x3f')]['selection']),_0x5cbc89=_0x22d745[_0x4f67('0x47')][_0x4f67('0x2c')](_0x3fa2ca),_0x1cb993[_0x4f67('0xc')](),_0x22d745[_0x4f67('0x26')][_0x4f67('0x1b')](_0x4f67('0x31'))[_0x4f67('0xc')](),_0x22d745[_0x4f67('0x26')]['get'](_0x4f67('0xb'))[_0x4f67('0xc')](),_0x21e93f=_0x1cb993[_0x4f67('0x43')],_0x21e93f!=_0x382082[_0x4f67('0x43')])return _0x3ebc5a[_0x4f67('0x7')](_0x3fa2ca)&&_0x1cb993[_0x4f67('0x48')](_0x382082['value'],_0x3fa2ca)?(_0x5eea96({..._0x382082,'setImageSizes':!0x1}),_0x3fa2ca=_0x3ebc5a[_0x4f67('0x1d')](_0x22d745[_0x4f67('0x47')][_0x4f67('0x3f')]['selection']),void _0x58a50d[_0x4f67('0x3d')](_0x3fa2ca,{..._0x45f5b1,'commandReversedParams':[{'value':_0x21e93f||null,'setImageSizes':!0x1}]},[],_0x4f67('0x11'))):void(_0x3ebc5a[_0x4f67('0x3a')](_0x3fa2ca)?_0x58a50d[_0x4f67('0x3d')](_0x3fa2ca,_0x45f5b1,[],_0x4f67('0xa')):_0x58a50d[_0x4f67('0x42')](_0x5cbc89,_0x45f5b1,_0x4f67('0xa')));});});for(const _0x127f71 of _0x22d745['plugins'][_0x4f67('0x1b')](_0x4f67('0x40'))[_0x4f67('0x5')])_0xfeab5d[_0x127f71[_0x4f67('0x0')]]=_0x127f71[_0x4f67('0x37')][_0x4f67('0x2b')]();_0x58a50d['_suggestionFactory'][_0x4f67('0x38')](_0x4f67('0x13'),'imageStylePreApply',_0x4f67('0x4'),()=>!0x1),_0x58a50d[_0x4f67('0x8')]['registerCustomCallback'](_0x4f67('0x13'),_0x4f67('0xa'),_0x4f67('0x4'),()=>!0x1),_0x58a50d[_0x4f67('0x8')][_0x4f67('0x38')](_0x4f67('0x25'),_0x4f67('0xa'),_0x4f67('0x4'),()=>!0x1),_0x58a50d[_0x4f67('0x8')][_0x4f67('0x38')](_0x4f67('0x13'),'imageStylePreApply',_0x4f67('0x17'),([_0x429d69])=>{_0x3ebc5a[_0x4f67('0x3')](_0x429d69[_0x4f67('0x1')]());}),_0x58a50d[_0x4f67('0x8')][_0x4f67('0x38')](_0x4f67('0x13'),_0x4f67('0x11'),_0x4f67('0x46'),(_0x40bfe3,_0x4043b9)=>{_0x58a50d[_0x4f67('0x8')]['getSuggestionCallback'](_0x4f67('0x13'),'',_0x4f67('0x17'))(_0x40bfe3,{'commandName':_0x4043b9[_0x4f67('0x2')],'commandParams':_0x4043b9[_0x4f67('0x12')]});}),_0x58a50d[_0x4f67('0x8')][_0x4f67('0x38')](_0x4f67('0x13'),_0x4f67('0x11'),_0x4f67('0x2a'),function(_0x91091,_0x4c7644){if(_0x24a293(_0x91091,_0x4c7644))return[_0x91091,_0x4c7644];if(_0x24a293(_0x4c7644,_0x91091))return[_0x4c7644,_0x91091];return null;});const _0x559942=[{'type':_0x4f67('0x13'),'subType':'imageStylePreApply'},{'type':_0x4f67('0x35'),'subType':'imageCaption'},{'type':_0x4f67('0x13'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x4f67('0x2f')}];function _0x24a293(_0x3e4226,_0x495cbe){const _0x47400d=_0x559942[_0x4f67('0x23')](({type:_0x5f025f,subType:_0x1521b5})=>_0x3e4226[_0x4f67('0xe')]==_0x5f025f&&_0x3e4226['subType']==_0x1521b5),_0xa6ef24=_0x559942[_0x4f67('0x23')](({type:_0x493903,subType:_0x125fa0})=>_0x495cbe[_0x4f67('0xe')]==_0x493903&&_0x495cbe[_0x4f67('0x1f')]==_0x125fa0);if(_0x47400d<0x0||_0xa6ef24<0x0)return!0x1;const _0x26f06f=_0x3e4226[_0x4f67('0x6')](),_0x2926ba=_0x495cbe[_0x4f67('0x6')]();if((0x0==_0x47400d||0x1==_0x47400d)&&0x2==_0xa6ef24&&_0x26f06f['isIntersecting'](_0x2926ba))return!0x0;if(0x2==_0x47400d&&0x3==_0xa6ef24){const _0x59213c=_0x58a50d[_0x4f67('0x1a')](_0x26f06f,_0x4f67('0x35'))[_0x4f67('0x4b')](({suggestion:_0x2144b3,meta:_0x1387f6})=>_0x1387f6[_0x4f67('0xf')]&&_0x4f67('0x2f')==_0x2144b3['subType']);if(_0x59213c[_0x4f67('0x2d')]>0x1&&_0x2926ba['end'][_0x4f67('0x16')](_0x26f06f['start']))return!0x0;if(0x1==_0x59213c[_0x4f67('0x2d')]&&(_0x26f06f[_0x4f67('0x15')]['isEqual'](_0x2926ba[_0x4f67('0x36')])||_0x26f06f[_0x4f67('0x36')][_0x4f67('0x16')](_0x2926ba[_0x4f67('0x15')])))return!0x0;}if(0x3==_0x47400d&&0x3==_0xa6ef24&&_0x26f06f['start'][_0x4f67('0x3c')](_0x2926ba[_0x4f67('0x15')])){const _0x4197db=_0x26f06f[_0x4f67('0x36')][_0x4f67('0x32')],_0xa36e11=_0x2926ba[_0x4f67('0x15')][_0x4f67('0x21')];return _0x3ebc5a[_0x4f67('0x3a')](_0x4197db)&&_0x4197db===_0xa36e11;}return!0x1;}_0x22d745[_0x4f67('0x47')][_0x4f67('0x3f')][_0x4f67('0x14')](()=>{let _0x2384ca=!0x1;const _0x370ee9=Array[_0x4f67('0x33')](_0x22d745['model'][_0x4f67('0x3f')][_0x4f67('0x20')][_0x4f67('0x34')]());for(const {name:_0x29d950,data:_0x18a630}of _0x370ee9){const {group:_0x28df72,type:_0x20acaa,subType:_0x5b4084,id:_0x3a2119}=_0x58a50d[_0x4f67('0x39')](_0x29d950);if(_0x4f67('0x4a')==_0x28df72&&_0x58a50d['hasSuggestion'](_0x3a2119)){if(_0x4f67('0x13')==_0x20acaa&&('imageStylePreApply'==_0x5b4084||_0x4f67('0xa')==_0x5b4084)){const _0x8ec3dd=_0x58a50d[_0x4f67('0x29')](_0x3a2119);if(_0x18a630[_0x4f67('0x49')]){const _0x4aa977=_0x8ec3dd[_0x4f67('0x6')]()[_0x4f67('0x1')]();if(_0x3ebc5a[_0x4f67('0x3a')](_0x4aa977))continue;_0x58a50d[_0x4f67('0x27')](_0x8ec3dd),_0x2384ca=!0x0;}}if(_0x4f67('0x35')==_0x20acaa&&_0x4f67('0x18')==_0x5b4084&&!_0x18a630[_0x4f67('0x49')]){const _0x46a337=_0x58a50d['getSuggestion'](_0x3a2119);_0x46a337['next']&&_0x46a337[_0x4f67('0x3e')][_0x4f67('0x45')]&&(_0x58a50d[_0x4f67('0x27')](_0x46a337['next']),_0x2384ca=!0x0);}}}return _0x2384ca;}),this[_0x4f67('0x3b')](_0xfeab5d);}['_registerLegacyDescription'](_0x2067e3){const _0x37c8a4=this[_0x4f67('0x2e')],_0x2d9d12=_0x37c8a4['locale'];_0x37c8a4[_0x4f67('0x24')][_0x4f67('0x1b')](_0x4f67('0x10'))[_0x4f67('0x30')]['registerDescriptionCallback'](_0x1016a6=>{if(_0x4f67('0x13')!=_0x1016a6[_0x4f67('0xe')]&&'formatInline'!=_0x1016a6[_0x4f67('0xe')])return;const {data:_0xba9dd1}=_0x1016a6;if(!_0xba9dd1||'imageStyle'!=_0xba9dd1[_0x4f67('0x2')])return;const _0xc370a9=_0xba9dd1[_0x4f67('0x1c')][0x0][_0x4f67('0x43')];return _0x5bac2a(_0x4f67('0x9')===_0xc370a9?_0x4f61c5(_0x2d9d12,_0x4f67('0x19')):_0x2067e3[_0xc370a9]||_0xc370a9);function _0x5bac2a(_0x49976e){return{'type':'format','content':_0x4f61c5(_0x2d9d12,'*Format:*\x20%0',_0x49976e)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);});}}
23
+ const _0x3b53=['editor','_trackChangesValueDuringImport','bind','TrackChangesEditing','dataInsert','importWord','afterInit','enableCommand','_trackChangesExecuted','execute','commands','lowest','value','get','trackChanges','listenTo','_handleImportedData','plugins','forEach','high','track_changes'];(function(_0xc7abf4,_0x3b53d9){const _0x4268b4=function(_0x84f32a){while(--_0x84f32a){_0xc7abf4['push'](_0xc7abf4['shift']());}};_0x4268b4(++_0x3b53d9);}(_0x3b53,0x98));const _0x4268=function(_0xc7abf4,_0x3b53d9){_0xc7abf4=_0xc7abf4-0x0;let _0x4268b4=_0x3b53[_0xc7abf4];return _0x4268b4;};import{Plugin as _0x3eb142}from'ckeditor5/src/core.js';export default class ot extends _0x3eb142{constructor(_0x363320){super(_0x363320),this[_0x4268('0x11')]=!0x1,this[_0x4268('0x3')]=!0x1;}[_0x4268('0x1')](){const _0x1e6eb1=this['editor'],_0x18a771=_0x1e6eb1[_0x4268('0x5')]['get'](_0x4268('0x0')),_0x506131=_0x1e6eb1['commands'][_0x4268('0x8')]('trackChanges');_0x18a771&&(_0x18a771['on'](_0x4268('0x4'),(_0x5db658,[,_0x431043])=>{this[_0x4268('0x11')]=_0x506131[_0x4268('0x7')],_0x431043['collaboration_features'][_0x4268('0xf')]=!this[_0x4268('0x11')];},{'priority':_0x4268('0xe')}),this[_0x4268('0xa')](_0x18a771,_0x4268('0x14'),this[_0x4268('0xb')][_0x4268('0x12')](this)),this[_0x4268('0xa')](_0x18a771,_0x4268('0x14'),()=>{this[_0x4268('0x3')]&&(_0x506131[_0x4268('0x4')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x4268('0x6')}),_0x1e6eb1[_0x4268('0xc')]['get'](_0x4268('0x13'))[_0x4268('0x2')]('importWord'));}[_0x4268('0xb')](_0x5ad4e5,_0x188d77){const {suggestions:_0x2d0ba5}=_0x188d77,_0x401b75=this[_0x4268('0x10')][_0x4268('0x5')][_0x4268('0x8')](_0x4268('0x9')),_0x58804d=_0x401b75['value'];this['_trackChangesValueDuringImport']!==_0x58804d&&(_0x401b75[_0x4268('0x4')](),this[_0x4268('0x3')]=!0x0),_0x2d0ba5&&_0x2d0ba5[_0x4268('0xd')](({id:_0x268aad,type:_0x2145ab,author:_0x1e8add,created_at:_0x364594})=>{const _0x4c7ba8={'id':_0x268aad,'type':_0x2145ab,'authorId':this[_0x4268('0x10')][_0x4268('0xc')][_0x4268('0x8')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x1e8add,'createdAt':_0x364594?new Date(_0x364594):new Date(),'source':_0x4268('0x0')}}};this[_0x4268('0x10')][_0x4268('0xc')][_0x4268('0x8')]('TrackChangesEditing')['_setSuggestionData'](_0x4c7ba8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;});}}
23
+ const _0x321d=['enableCommand','locale','_enableDefaultAttributesIntegration','blockIndent','registerAttributeLabel','outdent','indent','editor','getItems','_descriptionFactory','afterInit','IndentEditing','registerDescriptionCallback','format','get','has','_registerLegacyDescription','_registerBlockAttribute','TrackChangesEditing','FORMAT_INDENT','IndentBlock','getItemLabel','plugins','commandName','indentBlock','outdentBlock'];(function(_0x34c6db,_0x321db9){const _0x113827=function(_0x3d0133){while(--_0x3d0133){_0x34c6db['push'](_0x34c6db['shift']());}};_0x113827(++_0x321db9);}(_0x321d,0x141));const _0x1138=function(_0x34c6db,_0x321db9){_0x34c6db=_0x34c6db-0x0;let _0x113827=_0x321d[_0x34c6db];return _0x113827;};import{Plugin as _0x4b6e5e}from'ckeditor5/src/core.js';import{getTranslation as _0x4eb4cb}from'../utils/common-translations.js';export default class rt extends _0x4b6e5e{[_0x1138('0x1')](){const _0x5c5f5b=this[_0x1138('0x18')],_0x1277cf=_0x5c5f5b[_0x1138('0xd')][_0x1138('0x5')](_0x1138('0x9'));if(_0x5c5f5b[_0x1138('0xd')]['has'](_0x1138('0x2'))&&(_0x1277cf['enableCommand'](_0x1138('0x17')),_0x1277cf[_0x1138('0x11')](_0x1138('0x16'))),_0x5c5f5b[_0x1138('0xd')][_0x1138('0x6')](_0x1138('0xb')))for(const _0x1c95fd of[_0x1138('0xf'),_0x1138('0x10')])_0x1277cf[_0x1138('0x13')](_0x1c95fd);const _0x47ec79=_0x5c5f5b[_0x1138('0x12')];_0x1277cf[_0x1138('0x8')](_0x1138('0x14')),_0x1277cf[_0x1138('0x0')][_0x1138('0x15')]('blockIndent',_0x4eb4cb(_0x47ec79,_0x1138('0xa'))),this[_0x1138('0x7')]();}['_registerLegacyDescription'](){const _0x5f15c7=this[_0x1138('0x18')],_0x401fae=_0x5f15c7[_0x1138('0x12')],_0x294988=_0x5f15c7[_0x1138('0xd')][_0x1138('0x5')](_0x1138('0x9'));_0x294988['_descriptionFactory'][_0x1138('0x3')](_0x3d35f8=>{if('formatBlock'!=_0x3d35f8['type'])return;const {data:_0x5f1d4b}=_0x3d35f8;if(!_0x5f1d4b)return;if('indentBlock'!=_0x5f1d4b[_0x1138('0xe')]&&_0x1138('0x10')!=_0x5f1d4b['commandName'])return;const _0x1cf3fe=_0x3d35f8[_0x1138('0x19')]()[0x0],_0x12071a=_0x294988[_0x1138('0x0')][_0x1138('0xc')](_0x1cf3fe);return _0x1138('0xf')==_0x5f1d4b[_0x1138('0xe')]?{'type':_0x1138('0x4'),'content':_0x4eb4cb(_0x401fae,'*Indent:*\x20%0',_0x12071a)}:'outdentBlock'==_0x5f1d4b[_0x1138('0xe')]?{'type':_0x1138('0x4'),'content':_0x4eb4cb(_0x401fae,'*Outdent:*\x20%0',_0x12071a)}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));}}
23
+ var _0x2697=['enableCommand','get','requires','plugins','TrackChangesEditing','init','editor'];(function(_0x5220f4,_0x269704){var _0x5a66df=function(_0x33a6ce){while(--_0x33a6ce){_0x5220f4['push'](_0x5220f4['shift']());}};_0x5a66df(++_0x269704);}(_0x2697,0x1bd));var _0x5a66=function(_0x5220f4,_0x269704){_0x5220f4=_0x5220f4-0x0;var _0x5a66df=_0x2697[_0x5220f4];return _0x5a66df;};import{Plugin as _0x38711e}from'ckeditor5/src/core.js';import{Input as _0x877e91}from'ckeditor5/src/typing.js';export default class at extends _0x38711e{static get[_0x5a66('0x5')](){return[_0x877e91];}[_0x5a66('0x1')](){this[_0x5a66('0x2')][_0x5a66('0x6')][_0x5a66('0x4')](_0x5a66('0x0'))[_0x5a66('0x3')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}
23
+ const _0x39ac=['commands','before','*Change\x20to:*\x20%0','bulletedList','parent','editor','formatBlock','selection','model','registerElementLabel','get','value','previousSibling','add','ELEMENT_BULLETED_LIST','getSelectedBlocks','getAttribute','isObject','end','indentList','numberedList','enableCommand','createPositionAt','_descriptionFactory','locale','checkChild','name','push','List','commandName','change','listItem','outdentList','listIndent','length','format','commandParams','filter','LegacyTodoListEditing','ELEMENT_NUMBERED_LIST','markBlockFormat','*Outdent:*\x20%0','formatInline','nextSibling','document','blockName','execute','findIndex','from','todo','has','todoList','checkTodoList','ELEMENT_LIST_ITEM','element','plugins','*Indent:*\x20%0','type','ELEMENT_TODO_LIST','paragraph'];(function(_0x2d33d6,_0x39ac48){const _0x50b644=function(_0x3d5463){while(--_0x3d5463){_0x2d33d6['push'](_0x2d33d6['shift']());}};_0x50b644(++_0x39ac48);}(_0x39ac,0x122));const _0x50b6=function(_0x2d33d6,_0x39ac48){_0x2d33d6=_0x2d33d6-0x0;let _0x50b644=_0x39ac[_0x2d33d6];return _0x50b644;};import{Plugin as _0x240899}from'ckeditor5/src/core.js';import{getTranslation as _0x39d90f}from'../utils/common-translations.js';export default class ut extends _0x240899{['afterInit'](){const _0x474cb8=this[_0x50b6('0xf')],_0x4a75fd=_0x474cb8[_0x50b6('0x22')];if(!_0x474cb8['plugins'][_0x50b6('0x0')]('LegacyListEditing'))return;const _0x349fcd=_0x474cb8['plugins']['get']('TrackChangesEditing'),_0x3481c6=_0x474cb8[_0x50b6('0x5')][_0x50b6('0x0')](_0x50b6('0x30'));function _0xca9dda(_0xe2e22d){return()=>{const _0x19d36f=_0x474cb8[_0x50b6('0x12')][_0x50b6('0x36')][_0x50b6('0x11')],_0x4d8c67=_0x474cb8[_0x50b6('0xa')][_0x50b6('0x14')](_0xe2e22d);if(_0x4d8c67['value'])return void _0x474cb8[_0x50b6('0x38')](_0x50b6('0x9'),{});const _0x5e7ab9=_0xe2e22d['slice'](0x0,-0x4),_0x1f7ce3=function(_0x521475,_0x358388,_0x57211c){let _0x55548c=Array[_0x50b6('0x3a')](_0x521475)[_0x50b6('0x2f')](_0x5750bf=>function(_0x332cf9,_0x137664){return _0x137664[_0x50b6('0x23')](_0x332cf9[_0x50b6('0xe')],_0x50b6('0x29'))&&!_0x137664[_0x50b6('0x1b')](_0x332cf9);}(_0x5750bf,_0x57211c));_0x55548c=_0x55548c[_0x50b6('0x2f')](_0x35fb88=>!_0x35fb88['is']('element',_0x50b6('0x29'))||_0x35fb88[_0x50b6('0x1a')]('listType')!=_0x358388);const _0x989528=new Set();for(const _0x152704 of _0x55548c)_0x152704['is'](_0x50b6('0x4'),_0x50b6('0x29'))?_0x989528[_0x50b6('0x17')](ne(_0x152704)):_0x989528[_0x50b6('0x17')](_0x152704);return Array['from'](_0x989528);}(_0x19d36f[_0x50b6('0x19')](),_0x5e7ab9,_0x474cb8[_0x50b6('0x12')]['schema']);_0x474cb8[_0x50b6('0x12')]['change'](()=>{for(const _0x2ba9f2 of _0x1f7ce3)_0x349fcd[_0x50b6('0x32')](_0x2ba9f2,{'commandName':_0xe2e22d,'commandParams':[{'forceValue':!_0x4d8c67['value']}],'formatGroupId':_0x50b6('0x37')},oe(_0x2ba9f2));});};}function _0x4e2da5(_0x18eea8){return()=>{const _0x1982f0=function(_0x5e612a){let _0x37728f=Array['from'](_0x5e612a);const _0x5626a3=_0x37728f[_0x50b6('0x39')](_0x54a9f2=>_0x50b6('0x29')!=_0x54a9f2[_0x50b6('0x24')]);return _0x5626a3>-0x1&&(_0x37728f=_0x37728f['slice'](0x0,_0x5626a3)),_0x37728f;}(_0x474cb8[_0x50b6('0x12')][_0x50b6('0x36')]['selection'][_0x50b6('0x19')]()),_0x3572c8=_0x474cb8['model']['createRange'](_0x474cb8[_0x50b6('0x12')][_0x50b6('0x20')](_0x1982f0[0x0],_0x50b6('0xb')),_0x474cb8[_0x50b6('0x12')][_0x50b6('0x20')](_0x1982f0[_0x1982f0[_0x50b6('0x2c')]-0x1],_0x50b6('0x1c')));_0x474cb8['model'][_0x50b6('0x28')](()=>{_0x349fcd[_0x50b6('0x32')](_0x3572c8,{'commandName':_0x18eea8,'commandParams':[],'formatGroupId':_0x50b6('0x2b')},function(_0xfa9d8a){const _0x50fcfb=new Set();for(const _0x39bcb4 of _0xfa9d8a){let _0x1579c0=_0x39bcb4[_0x50b6('0x35')];for(;_0x1579c0&&_0x1579c0[_0x50b6('0x1a')](_0x50b6('0x2b'))>_0x39bcb4[_0x50b6('0x1a')]('listIndent');)_0x50fcfb[_0x50b6('0x17')](_0x1579c0),_0x1579c0=_0x1579c0[_0x50b6('0x35')];}return Array[_0x50b6('0x3a')](_0x50fcfb);}(_0x1982f0));});};}_0x349fcd[_0x50b6('0x1f')](_0x50b6('0x1e'),_0xca9dda(_0x50b6('0x1e'))),_0x349fcd[_0x50b6('0x1f')]('bulletedList',_0xca9dda(_0x50b6('0xd'))),_0x3481c6&&_0x349fcd[_0x50b6('0x1f')]('todoList',_0xca9dda(_0x50b6('0x1'))),_0x349fcd['enableCommand'](_0x50b6('0x1d'),_0x4e2da5(_0x50b6('0x1d'))),_0x349fcd[_0x50b6('0x1f')](_0x50b6('0x2a'),_0x4e2da5('outdentList')),_0x3481c6&&_0x349fcd[_0x50b6('0x1f')](_0x50b6('0x2'),()=>{const _0x365494=_0x474cb8[_0x50b6('0xa')][_0x50b6('0x14')](_0x50b6('0x2')),_0x4a3d61=Array[_0x50b6('0x3a')](_0x365494['_selectedElements']);_0x4a3d61[_0x50b6('0x2f')](_0x409552=>_0x409552['getAttribute']('todoListChecked')!=_0x365494['value']),_0x474cb8[_0x50b6('0x12')][_0x50b6('0x28')](()=>{for(const _0x54c71a of _0x4a3d61)_0x349fcd[_0x50b6('0x32')](_0x54c71a,{'commandName':_0x50b6('0x2'),'commandParams':[{'forceValue':!_0x365494[_0x50b6('0x15')]}]});});}),_0x349fcd[_0x50b6('0x21')][_0x50b6('0x13')](_0x50b6('0x29'),_0x401069=>_0x39d90f(_0x4a75fd,_0x50b6('0x3'),_0x401069)),_0x349fcd[_0x50b6('0x21')]['registerDescriptionCallback'](_0x242e1f=>{if(_0x50b6('0x10')!=_0x242e1f[_0x50b6('0x7')]&&_0x50b6('0x34')!=_0x242e1f[_0x50b6('0x7')])return;const {data:_0x597d87}=_0x242e1f;if(_0x597d87){if(_0x50b6('0x1e')==_0x597d87[_0x50b6('0x27')]||'bulletedList'==_0x597d87[_0x50b6('0x27')]||'todoList'==_0x597d87['commandName'])switch(_0x597d87[_0x50b6('0x27')]['replace'](_0x50b6('0x26'),'')){case'bulleted':return _0x489da9(_0x39d90f(_0x4a75fd,_0x50b6('0x18')));case'numbered':return _0x489da9(_0x39d90f(_0x4a75fd,_0x50b6('0x31')));case _0x50b6('0x3b'):return _0x489da9(_0x39d90f(_0x4a75fd,_0x50b6('0x8')));}if(_0x50b6('0x1d')==_0x597d87['commandName'])return{'type':'format','content':_0x39d90f(_0x4a75fd,_0x50b6('0x6'),_0x39d90f(_0x4a75fd,_0x50b6('0x3')))};if(_0x50b6('0x2a')==_0x597d87[_0x50b6('0x27')])return{'type':_0x50b6('0x2d'),'content':_0x39d90f(_0x4a75fd,_0x50b6('0x33'),_0x39d90f(_0x4a75fd,'ELEMENT_LIST_ITEM'))};if(_0x50b6('0x2')==_0x597d87[_0x50b6('0x27')])return _0x597d87[_0x50b6('0x2e')][0x0]['forceValue']?{'type':'format','content':_0x39d90f(_0x4a75fd,'*Check\x20item*')}:{'type':_0x50b6('0x2d'),'content':_0x39d90f(_0x4a75fd,'*Uncheck\x20item*')};}function _0x489da9(_0x254068){return{'type':_0x50b6('0x2d'),'content':_0x39d90f(_0x4a75fd,_0x50b6('0xc'),_0x254068)};}});}}function ne(_0x42a4e4){const _0x22a0cc=_0x42a4e4[_0x50b6('0x1a')](_0x50b6('0x2b'));if(0x0==_0x22a0cc)return _0x42a4e4;let _0x522b07=_0x42a4e4;for(;_0x42a4e4[_0x50b6('0x16')]&&_0x42a4e4[_0x50b6('0x16')]['is']('element',_0x50b6('0x29'));){const _0x524bd3=_0x42a4e4['previousSibling'][_0x50b6('0x1a')](_0x50b6('0x2b'));if(_0x524bd3==_0x22a0cc)_0x522b07=_0x42a4e4[_0x50b6('0x16')];else{if(_0x524bd3<_0x22a0cc)break;}_0x42a4e4=_0x42a4e4['previousSibling'];}return _0x522b07;}function oe(_0x46d4c3){const _0x5391d5=[];if(_0x46d4c3['is'](_0x50b6('0x4'),_0x50b6('0x29'))&&_0x46d4c3[_0x50b6('0x1a')](_0x50b6('0x2b'))>0x0){let _0xeb8df=_0x46d4c3[_0x50b6('0x35')];for(;_0xeb8df&&_0x50b6('0x29')==_0xeb8df[_0x50b6('0x24')]&&_0xeb8df[_0x50b6('0x1a')](_0x50b6('0x2b'))==_0x46d4c3[_0x50b6('0x1a')]('listIndent');)_0x5391d5[_0x50b6('0x25')](_0xeb8df),_0xeb8df=_0xeb8df['nextSibling'];}return _0x5391d5;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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,'_');}}
23
+ const _0x5e22=['TrackChangesEditing','listStyle','listReversed','getSelectedBlocks','bind','ELEMENT_','enableCommand','_LIST_','_getSuggestionBlocks','getFirstPosition','createRange','listItem','toUpperCase','listStart','change','filter','LegacyListPropertiesEditing','markMultiRangeBlockFormat','format','before','getLastPosition','parent','_getTranslationKeyForListStyle','numbered','push','selection','forward','element','locale','get','flat','listType','*Format:*\x20set\x20order\x20to\x20reversed','formatBlock','type','model','from','*Format:*\x20set\x20order\x20to\x20regular','document','_getSuggestionBlocksForListStyle','length','formatInline','afterInit','map','backward','list.properties','handleListReversedCommand','config','getAttribute','createPositionAt','reversed','getSiblingNodes','LegacyListUtils','commandParams','startIndex','styles','editor','*Change\x20to:*\x20%0','plugins','getListTypeFromListStyleType','handleListStartCommand','*Format:*\x20set\x20start\x20index\x20to\x20%0','has','unshift','handleListStyleCommand','replace'];(function(_0x3af08a,_0x5e22cc){const _0x25f4e8=function(_0xe1a7b0){while(--_0xe1a7b0){_0x3af08a['push'](_0x3af08a['shift']());}};_0x25f4e8(++_0x5e22cc);}(_0x5e22,0x15b));const _0x25f4=function(_0x3af08a,_0x5e22cc){_0x3af08a=_0x3af08a-0x0;let _0x25f4e8=_0x5e22[_0x3af08a];return _0x25f4e8;};import{Plugin as _0x35b859}from'ckeditor5/src/core.js';import{getTranslation as _0x2f9777}from'../utils/common-translations.js';export default class K extends _0x35b859{[_0x25f4('0x19')](){if(!this[_0x25f4('0x27')][_0x25f4('0x29')][_0x25f4('0x2d')](_0x25f4('0x41')))return;const _0x36ffe7=this[_0x25f4('0x27')][_0x25f4('0x1e')]['get'](_0x25f4('0x1c')),_0xc4ada5=this['editor'][_0x25f4('0x29')][_0x25f4('0xc')](_0x25f4('0x31'));_0x36ffe7[_0x25f4('0x26')]&&_0xc4ada5[_0x25f4('0x37')]('listStyle',this[_0x25f4('0x2f')][_0x25f4('0x35')](this)),_0x36ffe7[_0x25f4('0x21')]&&_0xc4ada5[_0x25f4('0x37')](_0x25f4('0x33'),this[_0x25f4('0x1d')][_0x25f4('0x35')](this)),_0x36ffe7[_0x25f4('0x25')]&&_0xc4ada5['enableCommand'](_0x25f4('0x3e'),this[_0x25f4('0x2b')]['bind'](this)),_0xc4ada5['_descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions'][_0x25f4('0x35')](this));}[_0x25f4('0x2f')](_0x1ee734,_0x1c2514={}){const _0x1c1a76=this[_0x25f4('0x27')][_0x25f4('0x29')]['get'](_0x25f4('0x31')),_0x552486=this[_0x25f4('0x16')]();this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x3f')](()=>{_0x1c1a76[_0x25f4('0x0')](_0x552486,{'commandName':_0x25f4('0x32'),'commandParams':[{'type':_0x1c2514['type']}],'formatGroupId':_0x25f4('0x32')});});}[_0x25f4('0x1d')](_0x121071,_0xd4e592={}){const _0x188247=this['editor'][_0x25f4('0x29')][_0x25f4('0xc')]('TrackChangesEditing'),_0x332164=this['_getSuggestionBlocks'](_0x26dad1=>_0x26dad1['is'](_0x25f4('0xa'),_0x25f4('0x3c'))&&_0x25f4('0x6')===_0x26dad1[_0x25f4('0x1f')](_0x25f4('0xe')));if(_0x332164[_0x25f4('0x17')]<0x1)return;const _0x567cd9=_0x332164[_0x25f4('0x1a')](_0x5dd762=>this[_0x25f4('0x27')][_0x25f4('0x12')]['createRange'](this[_0x25f4('0x27')]['model'][_0x25f4('0x20')](_0x5dd762,_0x25f4('0x2')),this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x20')](_0x5dd762,0x0)));this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x3f')](()=>{_0x188247[_0x25f4('0x0')](_0x567cd9,{'commandName':_0x25f4('0x33'),'commandParams':[{'reversed':_0xd4e592[_0x25f4('0x21')]}],'formatGroupId':'listReversed'});});}[_0x25f4('0x2b')](_0xea81a6,_0x1dc4b5={}){const _0x592aa5=this[_0x25f4('0x27')]['plugins'][_0x25f4('0xc')]('TrackChangesEditing'),_0xb98df5=this[_0x25f4('0x39')](_0x2fa799=>_0x2fa799['is']('element',_0x25f4('0x3c'))&&'numbered'===_0x2fa799['getAttribute'](_0x25f4('0xe')));if(_0xb98df5[_0x25f4('0x17')]<0x1)return;const _0x407e60=_0xb98df5[_0x25f4('0x1a')](_0x3ee465=>this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x3b')](this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x20')](_0x3ee465,_0x25f4('0x2')),this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x20')](_0x3ee465,0x0)));this[_0x25f4('0x27')]['model']['change'](()=>{_0x592aa5[_0x25f4('0x0')](_0x407e60,{'commandName':_0x25f4('0x3e'),'commandParams':[{'startIndex':_0x1dc4b5['startIndex']}],'formatGroupId':_0x25f4('0x3e')});});}['handleDescriptions'](_0x4e411c){if(_0x25f4('0x10')!=_0x4e411c[_0x25f4('0x11')]&&_0x25f4('0x18')!=_0x4e411c['type'])return;const _0x250e4b=this['editor'][_0x25f4('0xb')],{data:_0x3c4190}=_0x4e411c;if(!_0x3c4190)return;let _0x13b638,_0x165a7a;switch(_0x3c4190['commandName']){case _0x25f4('0x32'):_0x13b638=_0x25f4('0x28'),_0x165a7a={'type':_0x25f4('0x1'),'content':_0x2f9777(_0x250e4b,_0x13b638,_0x2f9777(_0x250e4b,this[_0x25f4('0x5')](_0x3c4190[_0x25f4('0x24')][0x0][_0x25f4('0x11')])))};break;case _0x25f4('0x33'):_0x13b638=_0x3c4190['commandParams'][0x0]['reversed']?_0x25f4('0xf'):_0x25f4('0x14'),_0x165a7a={'type':'format','content':_0x2f9777(_0x250e4b,_0x13b638)};break;case _0x25f4('0x3e'):_0x13b638=_0x25f4('0x2c'),_0x165a7a={'type':_0x25f4('0x1'),'content':_0x2f9777(_0x250e4b,_0x13b638,_0x3c4190[_0x25f4('0x24')][0x0][_0x25f4('0x25')])};}return _0x165a7a;}[_0x25f4('0x16')](){var _0x3329f2,_0x56f375,_0x549b0b,_0x36ed1f;const _0x24a797=this[_0x25f4('0x27')]['plugins'][_0x25f4('0xc')](_0x25f4('0x23'));let _0x22d152=Array[_0x25f4('0x13')](this[_0x25f4('0x27')][_0x25f4('0x12')]['document'][_0x25f4('0x8')]['getSelectedBlocks']());return(null===(_0x3329f2=_0x22d152[0x0])||void 0x0===_0x3329f2?void 0x0:_0x3329f2['is'](_0x25f4('0xa'),_0x25f4('0x3c')))&&_0x22d152[_0x25f4('0x2e')](..._0x24a797['getSiblingNodes'](this[_0x25f4('0x27')]['model'][_0x25f4('0x15')][_0x25f4('0x8')][_0x25f4('0x3a')](),_0x25f4('0x1b'))),(null===(_0x56f375=_0x22d152[_0x22d152[_0x25f4('0x17')]-0x1])||void 0x0===_0x56f375?void 0x0:_0x56f375['is'](_0x25f4('0xa'),_0x25f4('0x3c')))&&_0x22d152[_0x25f4('0x7')](..._0x24a797[_0x25f4('0x22')](this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x15')][_0x25f4('0x8')][_0x25f4('0x3')](),'forward')),_0x22d152=[...new Set(_0x22d152)],(null===(_0x36ed1f=null===(_0x549b0b=this[_0x25f4('0x27')][_0x25f4('0x12')][_0x25f4('0x15')]['selection'][_0x25f4('0x3a')]())||void 0x0===_0x549b0b?void 0x0:_0x549b0b[_0x25f4('0x4')])||void 0x0===_0x36ed1f?void 0x0:_0x36ed1f['is'](_0x25f4('0xa'),_0x25f4('0x3c')))&&(_0x22d152=_0x22d152[_0x25f4('0x40')](_0x229bc1=>_0x229bc1['is'](_0x25f4('0xa'),_0x25f4('0x3c')))),_0x22d152;}[_0x25f4('0x39')](_0x5a37d9){const _0xe6be4=this[_0x25f4('0x27')]['plugins']['get']('LegacyListUtils');let _0x155079=Array['from'](this['editor'][_0x25f4('0x12')][_0x25f4('0x15')][_0x25f4('0x8')][_0x25f4('0x34')]())[_0x25f4('0x40')](_0x5a37d9)[_0x25f4('0x1a')](_0x507f06=>{const _0x33d06=this['editor'][_0x25f4('0x12')]['createPositionAt'](_0x507f06,0x0);return[..._0xe6be4[_0x25f4('0x22')](_0x33d06,_0x25f4('0x1b')),..._0xe6be4['getSiblingNodes'](_0x33d06,_0x25f4('0x9'))];})[_0x25f4('0xd')]();return _0x155079=[...new Set(_0x155079)],_0x155079;}['_getTranslationKeyForListStyle'](_0x34bedf){return _0x25f4('0x36')+this[_0x25f4('0x27')][_0x25f4('0x29')]['get']('LegacyListUtils')[_0x25f4('0x2a')](_0x34bedf)[_0x25f4('0x3d')]()+_0x25f4('0x38')+_0x34bedf[_0x25f4('0x3d')]()[_0x25f4('0x30')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}});}}
23
+ const _0x36eb=['locale','registerDescriptionCallback','manualDecorators','TrackChangesEditing','unlink','editor','toLowerCase','commandName','registerAttributeLabel','*Remove\x20link*','linkHref','get','commandParams','_enableDefaultAttributesIntegration','link','_registerLegacyDescription','*Set\x20link:*\x20%0','commands','plugins','key','LinkEditing','newValue','attribute','type','label','format','_descriptionFactory','has','formatInline'];(function(_0x41375c,_0x36eb5a){const _0x2d304e=function(_0x3d5313){while(--_0x3d5313){_0x41375c['push'](_0x41375c['shift']());}};_0x2d304e(++_0x36eb5a);}(_0x36eb,0x176));const _0x2d30=function(_0x41375c,_0x36eb5a){_0x41375c=_0x41375c-0x0;let _0x2d304e=_0x36eb[_0x41375c];return _0x2d304e;};import{Plugin as _0x7ce131}from'ckeditor5/src/core.js';import{getTranslation as _0x3849ad}from'../utils/common-translations.js';export default class ct extends _0x7ce131{['afterInit'](){const _0x680a51=this[_0x2d30('0x8')];if(!_0x680a51['plugins'][_0x2d30('0x1')](_0x2d30('0x17')))return;const _0x2a24bb=_0x680a51[_0x2d30('0x15')][_0x2d30('0xe')](_0x2d30('0x6')),_0x1b97b0=_0x680a51[_0x2d30('0x14')]['get'](_0x2d30('0x11'));_0x2a24bb[_0x2d30('0x10')]('link',[_0x2d30('0xd'),..._0x1b97b0['manualDecorators']['map'](_0x5e9d9a=>_0x5e9d9a['id'])]),_0x2a24bb[_0x2d30('0x10')]('unlink');for(const _0x34f058 of _0x1b97b0[_0x2d30('0x5')])_0x2a24bb[_0x2d30('0x0')][_0x2d30('0xb')](_0x34f058['id'],'link\x20('+_0x34f058[_0x2d30('0x1b')][_0x2d30('0x9')]()+')');_0x2a24bb[_0x2d30('0x0')][_0x2d30('0x4')](_0xfb8e6=>{if(_0x2d30('0x19')!=_0xfb8e6[_0x2d30('0x1a')])return;const {data:_0x594150}=_0xfb8e6;if(!_0x594150||_0x2d30('0xd')!=_0x594150[_0x2d30('0x16')])return;const _0x171a2b=_0x594150[_0x2d30('0x18')],_0x2eddec=_0x680a51[_0x2d30('0x3')];return{'type':_0x2d30('0x1c'),'content':null==_0x171a2b?_0x3849ad(_0x2eddec,_0x2d30('0xc')):_0x3849ad(_0x2eddec,'*Set\x20link:*\x20%0','\x22'+_0x171a2b+'\x22')};}),this[_0x2d30('0x12')]();}['_registerLegacyDescription'](){const _0x22d02e=this['editor'],_0x21650f=_0x22d02e[_0x2d30('0x3')];_0x22d02e['plugins'][_0x2d30('0xe')](_0x2d30('0x6'))[_0x2d30('0x0')][_0x2d30('0x4')](_0x56ca6f=>{if(_0x2d30('0x2')!=_0x56ca6f['type'])return;const {data:_0x351fc7}=_0x56ca6f;if(_0x351fc7){if(_0x2d30('0x11')==_0x351fc7[_0x2d30('0xa')]){const _0x47e690=_0x351fc7[_0x2d30('0xf')][0x0];return{'type':'format','content':_0x3849ad(_0x21650f,_0x2d30('0x13'),'\x22'+_0x47e690+'\x22')};}return _0x2d30('0x7')==_0x351fc7[_0x2d30('0xa')]?{'type':'format','content':_0x3849ad(_0x21650f,'*Remove\x20link*')}:void 0x0;}});}}