@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240124.0 → 0.0.0-nightly-20240125.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 _0x4acf=['TrackChangesEditing','high','registerElementLabel','addClass','insert','has','div','ck-horizontal-line','afterInit','createPositionAt','enableCommand','for','elementToStructure','locale','editor','plugins','ELEMENT_HORIZONTAL_LINE','get','createEmptyElement'];(function(_0x3ff821,_0x4acf2b){const _0x1ff636=function(_0x23db3b){while(--_0x23db3b){_0x3ff821['push'](_0x3ff821['shift']());}};_0x1ff636(++_0x4acf2b);}(_0x4acf,0x170));const _0x1ff6=function(_0x3ff821,_0x4acf2b){_0x3ff821=_0x3ff821-0x0;let _0x1ff636=_0x4acf[_0x3ff821];return _0x1ff636;};import{Plugin as _0xc259e9}from'ckeditor5/src/core.js';import{getTranslation as _0x252e18}from'../utils/common-translations.js';export default class tt extends _0xc259e9{[_0x1ff6('0x1')](){const _0x220238=this[_0x1ff6('0x7')];if(!_0x220238[_0x1ff6('0x8')][_0x1ff6('0x11')]('HorizontalLineEditing'))return;_0x220238[_0x1ff6('0x8')]['get'](_0x1ff6('0xc'))[_0x1ff6('0x3')]('horizontalLine');const _0x3123af=_0x220238[_0x1ff6('0x8')][_0x1ff6('0xa')]('TrackChangesEditing'),_0x461fb7=_0x220238[_0x1ff6('0x6')];_0x3123af['_descriptionFactory'][_0x1ff6('0xe')]('horizontalLine',_0x4c4451=>_0x252e18(_0x461fb7,_0x1ff6('0x9'),_0x4c4451)),_0x220238['conversion'][_0x1ff6('0x4')]('dataDowncast')[_0x1ff6('0x5')]({'model':'horizontalLine','view':(_0x4c1e8c,{writer:_0x55ec99,options:_0x3677de})=>{if(!_0x3677de['showSuggestionHighlights'])return null;const _0x4babf0=_0x55ec99['createContainerElement'](_0x1ff6('0x12')),_0x138576=_0x55ec99[_0x1ff6('0xb')]('hr');return _0x55ec99[_0x1ff6('0xf')](_0x1ff6('0x0'),_0x4babf0),_0x55ec99[_0x1ff6('0x10')](_0x55ec99[_0x1ff6('0x2')](_0x4babf0,0x0),_0x138576),_0x4babf0;},'converterPriority':_0x1ff6('0xd')});}}
23
+ const _0x3823=['has','HorizontalLineEditing','insert','createEmptyElement','registerElementLabel','createContainerElement','dataDowncast','elementToStructure','ELEMENT_HORIZONTAL_LINE','plugins','showSuggestionHighlights','ck-horizontal-line','enableCommand','high','horizontalLine','locale','get','TrackChangesEditing','_descriptionFactory','editor'];(function(_0x504d67,_0x38239e){const _0x172861=function(_0x344e0c){while(--_0x344e0c){_0x504d67['push'](_0x504d67['shift']());}};_0x172861(++_0x38239e);}(_0x3823,0x1b5));const _0x1728=function(_0x504d67,_0x38239e){_0x504d67=_0x504d67-0x0;let _0x172861=_0x3823[_0x504d67];return _0x172861;};import{Plugin as _0x16a758}from'ckeditor5/src/core.js';import{getTranslation as _0x6ebac9}from'../utils/common-translations.js';export default class tt extends _0x16a758{['afterInit'](){const _0x4edbcf=this[_0x1728('0x2')];if(!_0x4edbcf[_0x1728('0xc')][_0x1728('0x3')](_0x1728('0x4')))return;_0x4edbcf[_0x1728('0xc')][_0x1728('0x13')](_0x1728('0x0'))[_0x1728('0xf')]('horizontalLine');const _0x184e5b=_0x4edbcf[_0x1728('0xc')]['get']('TrackChangesEditing'),_0x135246=_0x4edbcf[_0x1728('0x12')];_0x184e5b[_0x1728('0x1')][_0x1728('0x7')](_0x1728('0x11'),_0x3e25ab=>_0x6ebac9(_0x135246,_0x1728('0xb'),_0x3e25ab)),_0x4edbcf['conversion']['for'](_0x1728('0x9'))[_0x1728('0xa')]({'model':_0x1728('0x11'),'view':(_0x375246,{writer:_0x3b8cc4,options:_0x3d8165})=>{if(!_0x3d8165[_0x1728('0xd')])return null;const _0x3625e2=_0x3b8cc4[_0x1728('0x8')]('div'),_0x3314c1=_0x3b8cc4[_0x1728('0x6')]('hr');return _0x3b8cc4['addClass'](_0x1728('0xe'),_0x3625e2),_0x3b8cc4[_0x1728('0x5')](_0x3b8cc4['createPositionAt'](_0x3625e2,0x0),_0x3314c1),_0x3625e2;},'converterPriority':_0x1728('0x10')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ae8=['key','commandName','_registerLegacyDescription','afterInit','_enableDefaultAttributesIntegration','HtmlEmbed','plugins','value','htmlEmbed','locale','_descriptionFactory','format','registerDescriptionCallback','formatBlock','rawHtml','registerElementLabel','editor','get','nodeAfter','*Change\x20%0\x20content*','type','attribute','TrackChangesEditing','ELEMENT_HTML_EMBED'];(function(_0xf3ba77,_0x2ae881){const _0x2f4fa7=function(_0x168949){while(--_0x168949){_0xf3ba77['push'](_0xf3ba77['shift']());}};_0x2f4fa7(++_0x2ae881);}(_0x2ae8,0xa4));const _0x2f4f=function(_0xf3ba77,_0x2ae881){_0xf3ba77=_0xf3ba77-0x0;let _0x2f4fa7=_0x2ae8[_0xf3ba77];return _0x2f4fa7;};import{Plugin as _0x3ab290}from'ckeditor5/src/core.js';import{getTranslation as _0x5bc387}from'../utils/common-translations.js';export default class et extends _0x3ab290{[_0x2f4f('0x7')](){const _0x5cb6d2=this[_0x2f4f('0x14')];if(!_0x5cb6d2[_0x2f4f('0xa')]['has'](_0x2f4f('0x9')))return;const _0x31eac6=_0x5cb6d2['plugins'][_0x2f4f('0x15')](_0x2f4f('0x2')),_0xddfa80=_0x5cb6d2[_0x2f4f('0xd')];_0x31eac6['_descriptionFactory'][_0x2f4f('0x13')](_0x2f4f('0x12'),_0x35aa08=>_0x5bc387(_0xddfa80,_0x2f4f('0x3'),_0x35aa08)),_0x31eac6[_0x2f4f('0x8')](_0x2f4f('0xc'),[],[_0x2f4f('0xb')]),_0x31eac6[_0x2f4f('0xe')][_0x2f4f('0x10')](_0x1f442d=>{if(_0x2f4f('0x1')!=_0x1f442d['type'])return;const {data:_0xc2037}=_0x1f442d;if(_0xc2037&&_0x2f4f('0xb')==_0xc2037[_0x2f4f('0x4')]&&_0x1f442d['getFirstRange']()['start'][_0x2f4f('0x16')]['is']('element',_0x2f4f('0x12'))){const _0x1a93c1=_0x5bc387(_0xddfa80,_0x2f4f('0x3'));return{'type':_0x2f4f('0xf'),'content':_0x5bc387(_0xddfa80,_0x2f4f('0x17'),_0x1a93c1)};}}),this['_registerLegacyDescription']();}[_0x2f4f('0x6')](){const _0xd94f54=this[_0x2f4f('0x14')],_0x275807=_0xd94f54['locale'];_0xd94f54[_0x2f4f('0xa')][_0x2f4f('0x15')](_0x2f4f('0x2'))['_descriptionFactory'][_0x2f4f('0x10')](_0x279d30=>{if(_0x2f4f('0x11')!=_0x279d30[_0x2f4f('0x0')])return;const {data:_0x2490c2}=_0x279d30;if(_0x2490c2&&_0x2f4f('0xc')==_0x2490c2[_0x2f4f('0x5')]){const _0x37ca2c=_0x5bc387(_0x275807,_0x2f4f('0x3'));return{'type':'format','content':_0x5bc387(_0x275807,'*Change\x20%0\x20content*',_0x37ca2c)};}});}}
23
+ const _0x4292=['plugins','has','rawHtml','htmlEmbed','_descriptionFactory','type','start','TrackChangesEditing','format','get','ELEMENT_HTML_EMBED','registerDescriptionCallback','*Change\x20%0\x20content*','key','registerElementLabel','getFirstRange','nodeAfter','afterInit','HtmlEmbed','_enableDefaultAttributesIntegration','editor','element','locale'];(function(_0x566c84,_0x4292b0){const _0x4362d0=function(_0x155acc){while(--_0x155acc){_0x566c84['push'](_0x566c84['shift']());}};_0x4362d0(++_0x4292b0);}(_0x4292,0x1cf));const _0x4362=function(_0x566c84,_0x4292b0){_0x566c84=_0x566c84-0x0;let _0x4362d0=_0x4292[_0x566c84];return _0x4362d0;};import{Plugin as _0x5e98a1}from'ckeditor5/src/core.js';import{getTranslation as _0xf651f6}from'../utils/common-translations.js';export default class et extends _0x5e98a1{[_0x4362('0xe')](){const _0xe591c4=this['editor'];if(!_0xe591c4[_0x4362('0x14')][_0x4362('0x15')](_0x4362('0xf')))return;const _0x26097c=_0xe591c4['plugins'][_0x4362('0x6')](_0x4362('0x4')),_0x14c9ce=_0xe591c4[_0x4362('0x13')];_0x26097c[_0x4362('0x1')][_0x4362('0xb')](_0x4362('0x16'),_0x96abd6=>_0xf651f6(_0x14c9ce,_0x4362('0x7'),_0x96abd6)),_0x26097c[_0x4362('0x10')](_0x4362('0x0'),[],['value']),_0x26097c[_0x4362('0x1')][_0x4362('0x8')](_0x2465bf=>{if('attribute'!=_0x2465bf[_0x4362('0x2')])return;const {data:_0x598395}=_0x2465bf;if(_0x598395&&'value'==_0x598395[_0x4362('0xa')]&&_0x2465bf[_0x4362('0xc')]()[_0x4362('0x3')][_0x4362('0xd')]['is'](_0x4362('0x12'),_0x4362('0x16'))){const _0x25463c=_0xf651f6(_0x14c9ce,'ELEMENT_HTML_EMBED');return{'type':_0x4362('0x5'),'content':_0xf651f6(_0x14c9ce,_0x4362('0x9'),_0x25463c)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2a9e07=this[_0x4362('0x11')],_0x363dfb=_0x2a9e07[_0x4362('0x13')];_0x2a9e07[_0x4362('0x14')][_0x4362('0x6')](_0x4362('0x4'))[_0x4362('0x1')][_0x4362('0x8')](_0x4e53e9=>{if('formatBlock'!=_0x4e53e9[_0x4362('0x2')])return;const {data:_0x5da89a}=_0x4e53e9;if(_0x5da89a&&_0x4362('0x0')==_0x5da89a['commandName']){const _0x9b4ade=_0xf651f6(_0x363dfb,_0x4362('0x7'));return{'type':_0x4362('0x5'),'content':_0xf651f6(_0x363dfb,'*Change\x20%0\x20content*',_0x9b4ade)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x261d=['nodeBefore','attribute','detach','alt','removeObject','commandParams','isCollapsed','model','previous','formatBlock','createRangeOn','backward','_descriptionFactory','deletion','nodeAfter','registerCustomCallback','has','*Remove\x20image\x20text\x20alternative*','ImageResize','getFirstRange','start','imageTextAlternative','Inline\x20image\x20to\x20block\x20image','FORMAT_IMAGE_SIZE','find','toNext','change','getContainedElement','getCaptionFromImageModelElement','markBlockFormat','afterInit','document','imageStylePreApply','filter','chain','format','forward','accept','uploadImage','plugins','discard','*Set\x20image\x20width:*\x20%0','isBefore','end','convertBlockImageToInline','resizeImage','subType','get','key','insertion','ImageTextAlternativeEditing','imageCaption','length','commandName','enableCommand','ImageUploadEditing','isEqual','_suggestionFactory','TrackChangesEditing','registerElementLabel','getClosestSelectedImageElement','*Set\x20image\x20text\x20alternative:*\x20%0','_enableDefaultAttributesIntegration','addObject','Block\x20image\x20to\x20inline\x20image','isBlockImage','createRange','markInsertion','ELEMENT_IMAGE','markDeletion','*Reset\x20image\x20width*','caption','locale','toPrevious','_registerLegacyDescription','ImageEditing','imageTypeInline','fromPosition','newValue','editor','element','resizedWidth','ImageUtils','join','convertInlineImageToBlock','registerDescriptionCallback','type','selection','_findSuggestions','ImageInlineEditing','getNearestSelectionRange','insertImage'];(function(_0x51c261,_0x261d37){const _0x51961d=function(_0x136398){while(--_0x136398){_0x51c261['push'](_0x51c261['shift']());}};_0x51961d(++_0x261d37);}(_0x261d,0x1bb));const _0x5196=function(_0x51c261,_0x261d37){_0x51c261=_0x51c261-0x0;let _0x51961d=_0x261d[_0x51c261];return _0x51961d;};import{Plugin as _0x59278c}from'ckeditor5/src/core.js';import{LivePosition as _0x46c9b1}from'ckeditor5/src/engine.js';import{getTranslation as _0x1b7414}from'../utils/common-translations.js';export default class it extends _0x59278c{[_0x5196('0x2f')](){const _0x5c1eb5=this[_0x5196('0x4')];if(!_0x5c1eb5[_0x5196('0x38')][_0x5196('0x21')](_0x5196('0x0')))return;const _0x30864e=_0x5c1eb5[_0x5196('0x38')][_0x5196('0x40')](_0x5196('0x4b')),_0x77534b=_0x5c1eb5[_0x5196('0x38')][_0x5196('0x40')](_0x5196('0x7')),_0x5b4e6b=_0x5c1eb5[_0x5196('0x59')];_0x30864e[_0x5196('0x47')](_0x5196('0x10')),_0x30864e[_0x5196('0x1d')]['registerElementLabel']('imageBlock',_0x5cfb0c=>_0x1b7414(_0x5b4e6b,_0x5196('0x55'),_0x5cfb0c)),_0x30864e[_0x5196('0x1d')][_0x5196('0x4c')]('imageInline',_0x39229b=>_0x1b7414(_0x5b4e6b,'ELEMENT_INLINE_IMAGE',_0x39229b)),_0x30864e['_descriptionFactory'][_0x5196('0x4c')](_0x5196('0x58'),()=>_0x1b7414(_0x5b4e6b,'ELEMENT_CAPTION')),_0x5c1eb5['plugins'][_0x5196('0x21')](_0x5196('0x48'))&&_0x30864e[_0x5196('0x47')](_0x5196('0x37')),_0x5c1eb5[_0x5196('0x38')][_0x5196('0x21')]('ImageBlockEditing')&&_0x5c1eb5[_0x5196('0x38')][_0x5196('0x21')](_0x5196('0xe'))&&(_0x30864e['enableCommand']('imageTypeInline',(_0x3779a8,_0x6905fb)=>{const _0xecc669=_0x77534b['getClosestSelectedImageElement'](_0x5c1eb5['model'][_0x5196('0x30')][_0x5196('0xc')]);_0x5c1eb5[_0x5196('0x18')][_0x5196('0x2b')](()=>{_0x30864e['markBlockFormat'](_0xecc669,{'commandName':_0x5196('0x1'),'commandParams':[_0x6905fb]},[],_0x5196('0x3d'));});}),_0x30864e[_0x5196('0x47')]('imageTypeBlock',(_0x51876d,_0xc3c84a)=>{_0x5c1eb5[_0x5196('0x18')]['change'](_0x1093c0=>{let _0x603995=_0x77534b[_0x5196('0x4d')](_0x5c1eb5[_0x5196('0x18')][_0x5196('0x30')][_0x5196('0xc')]),_0x15a331=_0x1093c0['createRangeOn'](_0x603995);const _0x5df205=_0x46c9b1[_0x5196('0x2')](_0x15a331[_0x5196('0x25')],_0x5196('0x5a')),_0x1c5aa7=_0x46c9b1[_0x5196('0x2')](_0x15a331[_0x5196('0x3c')],_0x5196('0x2a'));_0x30864e['forceDefaultExecution'](()=>_0x51876d(_0xc3c84a)),_0x603995=_0x77534b[_0x5196('0x4d')](_0x5c1eb5[_0x5196('0x18')][_0x5196('0x30')]['selection']),_0x15a331=_0x1093c0['createRangeOn'](_0x603995);const _0x5622f5=_0x1093c0[_0x5196('0x53')](_0x5df205,_0x1c5aa7);_0x5df205['detach'](),_0x1c5aa7[_0x5196('0x13')](),_0x30864e[_0x5196('0x2e')](_0x603995,{'commandName':_0x5196('0x1'),'commandParams':[_0xc3c84a]},[],_0x5196('0x9')),_0x5622f5[_0x5196('0x25')][_0x5196('0x3b')](_0x15a331['start'])&&_0x30864e['markInsertion'](_0x1093c0[_0x5196('0x53')](_0x5622f5[_0x5196('0x25')],_0x15a331[_0x5196('0x25')]),_0x5196('0x9')),_0x15a331[_0x5196('0x3c')][_0x5196('0x3b')](_0x5622f5[_0x5196('0x3c')])&&_0x30864e[_0x5196('0x54')](_0x1093c0[_0x5196('0x53')](_0x15a331[_0x5196('0x3c')],_0x5622f5[_0x5196('0x3c')]),_0x5196('0x9'));});}),_0x30864e[_0x5196('0x4a')][_0x5196('0x20')](_0x5196('0x1a'),_0x5196('0x9'),_0x5196('0x8'),()=>!0x1),_0x30864e[_0x5196('0x4a')][_0x5196('0x20')]('formatBlock',_0x5196('0x9'),'accept',()=>!0x1),_0x30864e[_0x5196('0x4a')][_0x5196('0x20')](_0x5196('0x1a'),_0x5196('0x9'),'discard',_0x30864e[_0x5196('0x4a')]['getSuggestionCallback'](_0x5196('0x1a'),'',_0x5196('0x36'))),_0x30864e[_0x5196('0x4a')]['registerCustomCallback']('insertion',_0x5196('0x9'),_0x5196('0x8'),()=>!0x1),_0x30864e[_0x5196('0x4a')][_0x5196('0x20')](_0x5196('0x42'),_0x5196('0x9'),_0x5196('0x39'),([_0x177422])=>{const _0x1b0fba=_0x30864e[_0x5196('0x4a')]['getSuggestionCallback'](_0x5196('0x42'),'','discard');let _0x18e55e=_0x177422['start'],_0x28cf86=_0x177422[_0x5196('0x3c')];const _0x53a5aa=_0x5c1eb5['model']['schema']['getNearestSelectionRange'](_0x18e55e,_0x5196('0x1c')),_0x1a18a5=_0x5c1eb5['model']['schema'][_0x5196('0xf')](_0x28cf86,_0x5196('0x35'));_0x53a5aa[_0x5196('0x17')]&&(_0x18e55e=_0x53a5aa['start']),_0x1a18a5['isCollapsed']&&(_0x28cf86=_0x1a18a5[_0x5196('0x3c')]),_0x1b0fba([_0x5c1eb5['model']['createRange'](_0x18e55e,_0x28cf86)]);}),_0x30864e[_0x5196('0x4a')][_0x5196('0x20')](_0x5196('0x1a'),_0x5196('0x9'),'chain',_0x46eaa1),_0x30864e[_0x5196('0x4a')][_0x5196('0x20')](_0x5196('0x42'),'convertInlineImageToBlock',_0x5196('0x33'),_0x46eaa1)),_0x5c1eb5[_0x5196('0x38')]['has']('ImageCaptionEditing')&&(_0x30864e[_0x5196('0x47')]('toggleImageCaption',(_0x389efa,_0x57064c)=>{const _0x3dc630=_0x5c1eb5['plugins'][_0x5196('0x40')]('ImageCaptionUtils');let _0x192a98=_0x77534b[_0x5196('0x4d')](_0x5c1eb5['model']['document'][_0x5196('0xc')]),_0x79171b=_0x3dc630[_0x5196('0x2d')](_0x192a98);_0x5c1eb5[_0x5196('0x18')]['change'](()=>{if(_0x79171b)return void _0x30864e[_0x5196('0x56')](_0x5c1eb5[_0x5196('0x18')][_0x5196('0x1b')](_0x79171b));const _0x571c50=_0x77534b[_0x5196('0x52')](_0x192a98);_0x389efa(_0x57064c),_0x192a98=_0x77534b[_0x5196('0x4d')](_0x5c1eb5['model'][_0x5196('0x30')][_0x5196('0xc')]),_0x79171b=_0x3dc630[_0x5196('0x2d')](_0x192a98),_0x30864e['markInsertion'](_0x5c1eb5[_0x5196('0x18')][_0x5196('0x1b')](_0x79171b),_0x571c50?null:'imageCaption');});}),_0x30864e['_suggestionFactory']['registerCustomCallback'](_0x5196('0x42'),_0x5196('0x44'),'chain',_0x46eaa1));const _0x2f29c6=[{'type':_0x5196('0x1a'),'subType':_0x5196('0x31')},{'type':_0x5196('0x42'),'subType':_0x5196('0x44')},{'type':'formatBlock','subType':_0x5196('0x9')},{'type':_0x5196('0x42'),'subType':_0x5196('0x9')}];function _0x18dc4a(_0x3a9455,_0x3086c6){const _0x1f1509=_0x2f29c6['findIndex'](({type:_0x2d005f,subType:_0x41d993})=>_0x3a9455[_0x5196('0xb')]==_0x2d005f&&_0x3a9455['subType']==_0x41d993),_0x1996e7=_0x2f29c6['findIndex'](({type:_0x250576,subType:_0x5ae73})=>_0x3086c6[_0x5196('0xb')]==_0x250576&&_0x3086c6['subType']==_0x5ae73);if(_0x1f1509<0x0||_0x1996e7<0x0)return!0x1;const _0x2bf528=_0x3a9455[_0x5196('0x24')](),_0x4a769d=_0x3086c6[_0x5196('0x24')]();if((0x0==_0x1f1509||0x1==_0x1f1509)&&0x2==_0x1996e7&&_0x2bf528['isIntersecting'](_0x4a769d))return!0x0;if(0x2==_0x1f1509&&0x3==_0x1996e7){const _0x4cc2a7=_0x30864e[_0x5196('0xd')](_0x2bf528,_0x5196('0x42'))[_0x5196('0x32')](({suggestion:_0x194ec6,meta:_0x14ae12})=>_0x14ae12['isOwn']&&_0x5196('0x9')==_0x194ec6[_0x5196('0x3f')]);if(_0x4cc2a7[_0x5196('0x45')]>0x1&&_0x4a769d[_0x5196('0x3c')][_0x5196('0x49')](_0x2bf528['start']))return!0x0;if(0x1==_0x4cc2a7[_0x5196('0x45')]&&(_0x2bf528[_0x5196('0x25')][_0x5196('0x49')](_0x4a769d[_0x5196('0x3c')])||_0x2bf528[_0x5196('0x3c')][_0x5196('0x49')](_0x4a769d[_0x5196('0x25')])))return!0x0;}if(0x3==_0x1f1509&&0x3==_0x1996e7&&_0x2bf528[_0x5196('0x25')][_0x5196('0x3b')](_0x4a769d[_0x5196('0x25')])){const _0x5e50dd=_0x2bf528['end'][_0x5196('0x1f')],_0x4348a4=_0x4a769d[_0x5196('0x25')][_0x5196('0x11')];return _0x77534b[_0x5196('0x52')](_0x5e50dd)&&_0x5e50dd===_0x4348a4;}return!0x1;}function _0x46eaa1(_0x27162d,_0xdd97cc){return _0x18dc4a(_0x27162d,_0xdd97cc)?[_0x27162d,_0xdd97cc]:_0x18dc4a(_0xdd97cc,_0x27162d)?[_0xdd97cc,_0x27162d]:null;}_0x5c1eb5[_0x5196('0x38')][_0x5196('0x21')](_0x5196('0x23'))&&(_0x30864e[_0x5196('0x4f')](_0x5196('0x3e'),[],[_0x5196('0x6')]),_0x30864e[_0x5196('0x1d')]['registerAttributeLabel']('resizedWidth',_0x1b7414(_0x5b4e6b,_0x5196('0x28')))),_0x5c1eb5[_0x5196('0x38')][_0x5196('0x21')](_0x5196('0x43'))&&_0x30864e[_0x5196('0x4f')](_0x5196('0x26'),[],[_0x5196('0x14')]),_0x30864e[_0x5196('0x1d')][_0x5196('0xa')](_0x1d8ddd=>{if(!!_0x2f29c6[_0x5196('0x29')](({type:_0x54ada5,subType:_0x3c1144})=>_0x1d8ddd[_0x5196('0xb')]==_0x54ada5&&_0x1d8ddd[_0x5196('0x3f')]==_0x3c1144))return _0x1d8ddd[_0x5196('0x19')]?{}:void 0x0;}),_0x30864e[_0x5196('0x1d')]['registerDescriptionCallback'](_0xf17a5d=>{if(_0x5196('0x42')==_0xf17a5d['type']||_0x5196('0x1e')==_0xf17a5d[_0x5196('0xb')]){const _0x3b5aee=_0xf17a5d[_0x5196('0x2c')]();if(_0x3b5aee&&_0x3b5aee['is'](_0x5196('0x5'),'caption'))return{'type':_0x5196('0x42')==_0xf17a5d[_0x5196('0xb')]?_0x5196('0x50'):_0x5196('0x15'),'element':_0x3b5aee,'quantity':0x1};}}),_0x30864e['_descriptionFactory']['registerDescriptionCallback'](_0x3056cd=>'formatBlock'==_0x3056cd['type']&&_0x5196('0x9')==_0x3056cd['subType']?{'type':_0x5196('0x34'),'content':_0x5196('0x27')}:_0x5196('0x1a')==_0x3056cd[_0x5196('0xb')]&&_0x5196('0x3d')==_0x3056cd[_0x5196('0x3f')]?{'type':_0x5196('0x34'),'content':_0x5196('0x51')}:void 0x0),_0x30864e['_descriptionFactory'][_0x5196('0xa')](_0x36921a=>{if(_0x5196('0x12')!=_0x36921a[_0x5196('0xb')])return;const {data:_0x3d8710}=_0x36921a;if(!_0x3d8710||'alt'!=_0x3d8710[_0x5196('0x41')])return;const _0x295cec=_0x3d8710[_0x5196('0x3')];return _0x295cec?{'type':_0x5196('0x34'),'content':_0x1b7414(_0x5b4e6b,_0x5196('0x4e'),'\x22'+_0x295cec+'\x22')}:{'type':_0x5196('0x34'),'content':_0x1b7414(_0x5b4e6b,_0x5196('0x22'))};}),this[_0x5196('0x5b')]();}['_registerLegacyDescription'](){const _0x27c286=this[_0x5196('0x4')],_0x2fd6d3=_0x27c286['locale'];_0x27c286[_0x5196('0x38')][_0x5196('0x40')](_0x5196('0x4b'))['_descriptionFactory']['registerDescriptionCallback'](_0x34c830=>{if(_0x5196('0x1a')!=_0x34c830[_0x5196('0xb')]&&'formatInline'!=_0x34c830[_0x5196('0xb')])return;const {data:_0x70d4b1}=_0x34c830;if(_0x70d4b1){if(_0x5196('0x26')==_0x70d4b1[_0x5196('0x46')]){const _0x168be5=_0x70d4b1[_0x5196('0x16')][0x0][_0x5196('0x3')];return _0x168be5?{'type':_0x5196('0x34'),'content':_0x1b7414(_0x2fd6d3,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x168be5+'\x22')}:{'type':_0x5196('0x34'),'content':_0x1b7414(_0x2fd6d3,_0x5196('0x22'))};}if('resizeImage'==_0x70d4b1[_0x5196('0x46')]){const _0x2a616a=_0x70d4b1[_0x5196('0x16')][0x0]['width'];return _0x2a616a?{'type':_0x5196('0x34'),'content':_0x1b7414(_0x2fd6d3,_0x5196('0x3a'),_0x2a616a)}:{'type':_0x5196('0x34'),'content':_0x1b7414(_0x2fd6d3,_0x5196('0x57'))};}}});}}
23
+ const _0x2b78=['ELEMENT_INLINE_IMAGE','Block\x20image\x20to\x20inline\x20image','_descriptionFactory','enableCommand','change','ImageInlineEditing','_enableDefaultAttributesIntegration','resizedWidth','_registerLegacyDescription','ImageEditing','isEqual','schema','forceDefaultExecution','findIndex','type','chain','key','formatBlock','addObject','deletion','ImageUploadEditing','uploadImage','imageStylePreApply','*Set\x20image\x20width:*\x20%0','ImageBlockEditing','imageCaption','_findSuggestions','detach','end','markInsertion','isBefore','resizeImage','newValue','forward','selection','fromPosition','createRangeOn','isIntersecting','toNext','TrackChangesEditing','length','ELEMENT_CAPTION','element','start','convertBlockImageToInline','discard','join','formatInline','FORMAT_IMAGE_SIZE','plugins','imageBlock','getSuggestionCallback','isOwn','imageTextAlternative','getFirstRange','editor','getContainedElement','*Reset\x20image\x20width*','registerAttributeLabel','accept','format','imageInline','insertion','registerElementLabel','getClosestSelectedImageElement','registerDescriptionCallback','imageTypeInline','ImageCaptionEditing','filter','convertInlineImageToBlock','get','afterInit','markDeletion','ImageResize','getCaptionFromImageModelElement','model','width','toPrevious','*Set\x20image\x20text\x20alternative:*\x20%0','isBlockImage','isCollapsed','_suggestionFactory','registerCustomCallback','caption','alt','createRange','subType','getNearestSelectionRange','locale','imageTypeBlock','backward','nodeAfter','has','find','document','commandParams'];(function(_0x2ba469,_0x2b78e0){const _0x28cdd8=function(_0x24ba61){while(--_0x24ba61){_0x2ba469['push'](_0x2ba469['shift']());}};_0x28cdd8(++_0x2b78e0);}(_0x2b78,0x11b));const _0x28cd=function(_0x2ba469,_0x2b78e0){_0x2ba469=_0x2ba469-0x0;let _0x28cdd8=_0x2b78[_0x2ba469];return _0x28cdd8;};import{Plugin as _0x4c2bd5}from'ckeditor5/src/core.js';import{LivePosition as _0x1e204e}from'ckeditor5/src/engine.js';import{getTranslation as _0x5bd039}from'../utils/common-translations.js';export default class it extends _0x4c2bd5{[_0x28cd('0x4c')](){const _0x25a855=this['editor'];if(!_0x25a855[_0x28cd('0x36')][_0x28cd('0x1')](_0x28cd('0xe')))return;const _0xcf525=_0x25a855['plugins'][_0x28cd('0x4b')]('TrackChangesEditing'),_0x58188f=_0x25a855['plugins'][_0x28cd('0x4b')]('ImageUtils'),_0x133356=_0x25a855[_0x28cd('0x5d')];_0xcf525[_0x28cd('0x8')]('insertImage'),_0xcf525[_0x28cd('0x7')][_0x28cd('0x44')](_0x28cd('0x37'),_0x6db9d3=>_0x5bd039(_0x133356,'ELEMENT_IMAGE',_0x6db9d3)),_0xcf525[_0x28cd('0x7')][_0x28cd('0x44')](_0x28cd('0x42'),_0x4c8be9=>_0x5bd039(_0x133356,_0x28cd('0x5'),_0x4c8be9)),_0xcf525[_0x28cd('0x7')][_0x28cd('0x44')](_0x28cd('0x58'),()=>_0x5bd039(_0x133356,_0x28cd('0x2e'))),_0x25a855[_0x28cd('0x36')][_0x28cd('0x1')](_0x28cd('0x19'))&&_0xcf525[_0x28cd('0x8')](_0x28cd('0x1a')),_0x25a855[_0x28cd('0x36')][_0x28cd('0x1')](_0x28cd('0x1d'))&&_0x25a855[_0x28cd('0x36')]['has'](_0x28cd('0xa'))&&(_0xcf525[_0x28cd('0x8')](_0x28cd('0x47'),(_0x5aa7e1,_0x271eb3)=>{const _0x2fdc18=_0x58188f[_0x28cd('0x45')](_0x25a855[_0x28cd('0x50')][_0x28cd('0x3')][_0x28cd('0x27')]);_0x25a855[_0x28cd('0x50')][_0x28cd('0x9')](()=>{_0xcf525['markBlockFormat'](_0x2fdc18,{'commandName':_0x28cd('0x47'),'commandParams':[_0x271eb3]},[],'convertBlockImageToInline');});}),_0xcf525['enableCommand'](_0x28cd('0x5e'),(_0x227bf1,_0x53ac12)=>{_0x25a855[_0x28cd('0x50')]['change'](_0x240dc1=>{let _0x2833ba=_0x58188f[_0x28cd('0x45')](_0x25a855[_0x28cd('0x50')][_0x28cd('0x3')][_0x28cd('0x27')]),_0x47173d=_0x240dc1[_0x28cd('0x29')](_0x2833ba);const _0x42b28c=_0x1e204e[_0x28cd('0x28')](_0x47173d[_0x28cd('0x30')],_0x28cd('0x52')),_0x2c0bc8=_0x1e204e[_0x28cd('0x28')](_0x47173d['end'],_0x28cd('0x2b'));_0xcf525[_0x28cd('0x11')](()=>_0x227bf1(_0x53ac12)),_0x2833ba=_0x58188f['getClosestSelectedImageElement'](_0x25a855['model'][_0x28cd('0x3')]['selection']),_0x47173d=_0x240dc1[_0x28cd('0x29')](_0x2833ba);const _0x3614a9=_0x240dc1[_0x28cd('0x5a')](_0x42b28c,_0x2c0bc8);_0x42b28c['detach'](),_0x2c0bc8[_0x28cd('0x20')](),_0xcf525['markBlockFormat'](_0x2833ba,{'commandName':_0x28cd('0x47'),'commandParams':[_0x53ac12]},[],_0x28cd('0x4a')),_0x3614a9[_0x28cd('0x30')]['isBefore'](_0x47173d['start'])&&_0xcf525[_0x28cd('0x22')](_0x240dc1[_0x28cd('0x5a')](_0x3614a9[_0x28cd('0x30')],_0x47173d[_0x28cd('0x30')]),_0x28cd('0x4a')),_0x47173d['end'][_0x28cd('0x23')](_0x3614a9[_0x28cd('0x21')])&&_0xcf525[_0x28cd('0x22')](_0x240dc1['createRange'](_0x47173d[_0x28cd('0x21')],_0x3614a9['end']),_0x28cd('0x4a'));});}),_0xcf525[_0x28cd('0x56')][_0x28cd('0x57')](_0x28cd('0x16'),'convertInlineImageToBlock',_0x28cd('0x33'),()=>!0x1),_0xcf525[_0x28cd('0x56')]['registerCustomCallback'](_0x28cd('0x16'),'convertInlineImageToBlock',_0x28cd('0x40'),()=>!0x1),_0xcf525[_0x28cd('0x56')][_0x28cd('0x57')]('formatBlock','convertInlineImageToBlock',_0x28cd('0x32'),_0xcf525['_suggestionFactory'][_0x28cd('0x38')](_0x28cd('0x16'),'',_0x28cd('0x40'))),_0xcf525[_0x28cd('0x56')][_0x28cd('0x57')](_0x28cd('0x43'),_0x28cd('0x4a'),'join',()=>!0x1),_0xcf525[_0x28cd('0x56')]['registerCustomCallback']('insertion',_0x28cd('0x4a'),_0x28cd('0x32'),([_0x151865])=>{const _0x250b9a=_0xcf525[_0x28cd('0x56')][_0x28cd('0x38')](_0x28cd('0x43'),'','discard');let _0x43b736=_0x151865['start'],_0x475ee2=_0x151865[_0x28cd('0x21')];const _0x509748=_0x25a855[_0x28cd('0x50')][_0x28cd('0x10')]['getNearestSelectionRange'](_0x43b736,_0x28cd('0x5f')),_0x7a20ae=_0x25a855['model'][_0x28cd('0x10')][_0x28cd('0x5c')](_0x475ee2,_0x28cd('0x26'));_0x509748[_0x28cd('0x55')]&&(_0x43b736=_0x509748[_0x28cd('0x30')]),_0x7a20ae['isCollapsed']&&(_0x475ee2=_0x7a20ae['end']),_0x250b9a([_0x25a855[_0x28cd('0x50')][_0x28cd('0x5a')](_0x43b736,_0x475ee2)]);}),_0xcf525[_0x28cd('0x56')][_0x28cd('0x57')](_0x28cd('0x16'),_0x28cd('0x4a'),'chain',_0x449fd5),_0xcf525[_0x28cd('0x56')][_0x28cd('0x57')](_0x28cd('0x43'),_0x28cd('0x4a'),_0x28cd('0x14'),_0x449fd5)),_0x25a855[_0x28cd('0x36')]['has'](_0x28cd('0x48'))&&(_0xcf525[_0x28cd('0x8')]('toggleImageCaption',(_0x3f85db,_0x172b0e)=>{const _0x482221=_0x25a855[_0x28cd('0x36')]['get']('ImageCaptionUtils');let _0x3ca160=_0x58188f[_0x28cd('0x45')](_0x25a855[_0x28cd('0x50')][_0x28cd('0x3')][_0x28cd('0x27')]),_0x3b8623=_0x482221[_0x28cd('0x4f')](_0x3ca160);_0x25a855[_0x28cd('0x50')][_0x28cd('0x9')](()=>{if(_0x3b8623)return void _0xcf525[_0x28cd('0x4d')](_0x25a855[_0x28cd('0x50')]['createRangeOn'](_0x3b8623));const _0x4fb87c=_0x58188f[_0x28cd('0x54')](_0x3ca160);_0x3f85db(_0x172b0e),_0x3ca160=_0x58188f[_0x28cd('0x45')](_0x25a855[_0x28cd('0x50')][_0x28cd('0x3')][_0x28cd('0x27')]),_0x3b8623=_0x482221[_0x28cd('0x4f')](_0x3ca160),_0xcf525[_0x28cd('0x22')](_0x25a855[_0x28cd('0x50')]['createRangeOn'](_0x3b8623),_0x4fb87c?null:'imageCaption');});}),_0xcf525['_suggestionFactory'][_0x28cd('0x57')](_0x28cd('0x43'),_0x28cd('0x1e'),_0x28cd('0x14'),_0x449fd5));const _0x290977=[{'type':_0x28cd('0x16'),'subType':_0x28cd('0x1b')},{'type':'insertion','subType':_0x28cd('0x1e')},{'type':_0x28cd('0x16'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x28cd('0x4a')}];function _0x2f6550(_0xd1ca4c,_0x333fb9){const _0x27fad3=_0x290977['findIndex'](({type:_0x4ebe07,subType:_0x13d9b7})=>_0xd1ca4c[_0x28cd('0x13')]==_0x4ebe07&&_0xd1ca4c[_0x28cd('0x5b')]==_0x13d9b7),_0x3ecf95=_0x290977[_0x28cd('0x12')](({type:_0x5ea20d,subType:_0x6b866a})=>_0x333fb9[_0x28cd('0x13')]==_0x5ea20d&&_0x333fb9[_0x28cd('0x5b')]==_0x6b866a);if(_0x27fad3<0x0||_0x3ecf95<0x0)return!0x1;const _0x1f5ba8=_0xd1ca4c['getFirstRange'](),_0x5757c2=_0x333fb9[_0x28cd('0x3b')]();if((0x0==_0x27fad3||0x1==_0x27fad3)&&0x2==_0x3ecf95&&_0x1f5ba8[_0x28cd('0x2a')](_0x5757c2))return!0x0;if(0x2==_0x27fad3&&0x3==_0x3ecf95){const _0x27a9f5=_0xcf525[_0x28cd('0x1f')](_0x1f5ba8,'insertion')[_0x28cd('0x49')](({suggestion:_0x3db598,meta:_0x47679f})=>_0x47679f[_0x28cd('0x39')]&&_0x28cd('0x4a')==_0x3db598['subType']);if(_0x27a9f5['length']>0x1&&_0x5757c2[_0x28cd('0x21')][_0x28cd('0xf')](_0x1f5ba8[_0x28cd('0x30')]))return!0x0;if(0x1==_0x27a9f5[_0x28cd('0x2d')]&&(_0x1f5ba8[_0x28cd('0x30')][_0x28cd('0xf')](_0x5757c2[_0x28cd('0x21')])||_0x1f5ba8['end'][_0x28cd('0xf')](_0x5757c2[_0x28cd('0x30')])))return!0x0;}if(0x3==_0x27fad3&&0x3==_0x3ecf95&&_0x1f5ba8[_0x28cd('0x30')][_0x28cd('0x23')](_0x5757c2['start'])){const _0x3bd220=_0x1f5ba8[_0x28cd('0x21')][_0x28cd('0x0')],_0x57aa18=_0x5757c2[_0x28cd('0x30')]['nodeBefore'];return _0x58188f[_0x28cd('0x54')](_0x3bd220)&&_0x3bd220===_0x57aa18;}return!0x1;}function _0x449fd5(_0x172d08,_0x271caa){return _0x2f6550(_0x172d08,_0x271caa)?[_0x172d08,_0x271caa]:_0x2f6550(_0x271caa,_0x172d08)?[_0x271caa,_0x172d08]:null;}_0x25a855[_0x28cd('0x36')][_0x28cd('0x1')](_0x28cd('0x4e'))&&(_0xcf525[_0x28cd('0xb')](_0x28cd('0x24'),[],[_0x28cd('0xc')]),_0xcf525[_0x28cd('0x7')][_0x28cd('0x3f')](_0x28cd('0xc'),_0x5bd039(_0x133356,_0x28cd('0x35')))),_0x25a855[_0x28cd('0x36')][_0x28cd('0x1')]('ImageTextAlternativeEditing')&&_0xcf525[_0x28cd('0xb')](_0x28cd('0x3a'),[],[_0x28cd('0x59')]),_0xcf525['_descriptionFactory']['registerDescriptionCallback'](_0x123432=>{if(!!_0x290977[_0x28cd('0x2')](({type:_0x140436,subType:_0xa12f04})=>_0x123432[_0x28cd('0x13')]==_0x140436&&_0x123432[_0x28cd('0x5b')]==_0xa12f04))return _0x123432['previous']?{}:void 0x0;}),_0xcf525[_0x28cd('0x7')][_0x28cd('0x46')](_0x5e445b=>{if(_0x28cd('0x43')==_0x5e445b[_0x28cd('0x13')]||_0x28cd('0x18')==_0x5e445b['type']){const _0x2e42cf=_0x5e445b[_0x28cd('0x3d')]();if(_0x2e42cf&&_0x2e42cf['is'](_0x28cd('0x2f'),_0x28cd('0x58')))return{'type':_0x28cd('0x43')==_0x5e445b['type']?_0x28cd('0x17'):'removeObject','element':_0x2e42cf,'quantity':0x1};}}),_0xcf525[_0x28cd('0x7')]['registerDescriptionCallback'](_0x43c99e=>_0x28cd('0x16')==_0x43c99e[_0x28cd('0x13')]&&_0x28cd('0x4a')==_0x43c99e[_0x28cd('0x5b')]?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x43c99e[_0x28cd('0x13')]&&_0x28cd('0x31')==_0x43c99e['subType']?{'type':'format','content':_0x28cd('0x6')}:void 0x0),_0xcf525[_0x28cd('0x7')][_0x28cd('0x46')](_0x3b706f=>{if('attribute'!=_0x3b706f[_0x28cd('0x13')])return;const {data:_0x3ca963}=_0x3b706f;if(!_0x3ca963||_0x28cd('0x59')!=_0x3ca963[_0x28cd('0x15')])return;const _0x3be9d3=_0x3ca963[_0x28cd('0x25')];return _0x3be9d3?{'type':'format','content':_0x5bd039(_0x133356,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3be9d3+'\x22')}:{'type':_0x28cd('0x41'),'content':_0x5bd039(_0x133356,'*Remove\x20image\x20text\x20alternative*')};}),this[_0x28cd('0xd')]();}['_registerLegacyDescription'](){const _0x3024a3=this[_0x28cd('0x3c')],_0x57f13b=_0x3024a3['locale'];_0x3024a3[_0x28cd('0x36')][_0x28cd('0x4b')](_0x28cd('0x2c'))[_0x28cd('0x7')][_0x28cd('0x46')](_0x1513ad=>{if(_0x28cd('0x16')!=_0x1513ad[_0x28cd('0x13')]&&_0x28cd('0x34')!=_0x1513ad[_0x28cd('0x13')])return;const {data:_0xe31827}=_0x1513ad;if(_0xe31827){if(_0x28cd('0x3a')==_0xe31827['commandName']){const _0x37c806=_0xe31827['commandParams'][0x0]['newValue'];return _0x37c806?{'type':_0x28cd('0x41'),'content':_0x5bd039(_0x57f13b,_0x28cd('0x53'),'\x22'+_0x37c806+'\x22')}:{'type':_0x28cd('0x41'),'content':_0x5bd039(_0x57f13b,'*Remove\x20image\x20text\x20alternative*')};}if(_0x28cd('0x24')==_0xe31827['commandName']){const _0x881058=_0xe31827[_0x28cd('0x4')][0x0][_0x28cd('0x51')];return _0x881058?{'type':_0x28cd('0x41'),'content':_0x5bd039(_0x57f13b,_0x28cd('0x1c'),_0x881058)}:{'type':_0x28cd('0x41'),'content':_0x5bd039(_0x57f13b,_0x28cd('0x3e'))};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5170=['*Replace\x20image\x20URL*','plugins','replaceImageSource','ImageEditing','_suggestionFactory','_registerLegacyDescription','has','type','format','accept','src','editor','TrackChangesEditing','getSuggestionCallback','_descriptionFactory','registerCustomCallback','get','discard','oldValue','locale','_handleLegacySuggestions','*Format:*\x20replace\x20image\x20URL','commandName','formatInline','registerDescriptionCallback','formatBlock','key','afterInit','newValue'];(function(_0x489428,_0x517024){const _0xdec5e9=function(_0x3615e6){while(--_0x3615e6){_0x489428['push'](_0x489428['shift']());}};_0xdec5e9(++_0x517024);}(_0x5170,0x195));const _0xdec5=function(_0x489428,_0x517024){_0x489428=_0x489428-0x0;let _0xdec5e9=_0x5170[_0x489428];return _0xdec5e9;};import{Plugin as _0x2a1a84}from'ckeditor5/src/core.js';import{getTranslation as _0x17d08a}from'../utils/common-translations.js';export default class st extends _0x2a1a84{[_0xdec5('0x1c')](){if(!this[_0xdec5('0xc')]['plugins'][_0xdec5('0x7')](_0xdec5('0x4')))return;const _0x180b46=this[_0xdec5('0xc')][_0xdec5('0x14')],_0x49cc64=this[_0xdec5('0xc')][_0xdec5('0x2')][_0xdec5('0x11')](_0xdec5('0xd'));_0x49cc64['_enableDefaultAttributesIntegration']('replaceImageSource',[],[_0xdec5('0xb')]),_0x49cc64[_0xdec5('0xf')][_0xdec5('0x19')](_0x2e9992=>{if('attribute'!=_0x2e9992[_0xdec5('0x8')])return;const {data:_0x2eef1a}=_0x2e9992;return _0x2eef1a&&_0xdec5('0xb')==_0x2eef1a[_0xdec5('0x1b')]?_0x2eef1a[_0xdec5('0x0')]&&_0x2eef1a[_0xdec5('0x13')]?{'type':'format','content':_0x17d08a(_0x180b46,_0xdec5('0x1'))}:{'type':'format','content':''}:void 0x0;}),this[_0xdec5('0x15')]();}[_0xdec5('0x15')](){const _0x5401be=this[_0xdec5('0xc')]['plugins'][_0xdec5('0x11')](_0xdec5('0xd'));_0x5401be[_0xdec5('0x5')]['registerCustomCallback']('formatBlock',_0xdec5('0x3'),_0xdec5('0xa'),_0x5401be[_0xdec5('0x5')][_0xdec5('0xe')](_0xdec5('0x1a'),null,_0xdec5('0x12'))),_0x5401be['_suggestionFactory'][_0xdec5('0x10')](_0xdec5('0x1a'),'replaceImageSource','discard',_0x5401be[_0xdec5('0x5')][_0xdec5('0xe')](_0xdec5('0x1a'),null,_0xdec5('0xa'))),this[_0xdec5('0x6')]();}['_registerLegacyDescription'](){const _0x195025=this[_0xdec5('0xc')],_0x1009b0=_0x195025[_0xdec5('0x14')];_0x195025[_0xdec5('0x2')][_0xdec5('0x11')](_0xdec5('0xd'))['_descriptionFactory'][_0xdec5('0x19')](_0x482420=>{if(_0xdec5('0x1a')!=_0x482420['type']&&_0xdec5('0x18')!=_0x482420[_0xdec5('0x8')])return;const {data:_0x138cb8}=_0x482420;if(!_0x138cb8||_0xdec5('0x3')!=_0x138cb8[_0xdec5('0x17')])return;return{'type':_0xdec5('0x9'),'content':_0x17d08a(_0x1009b0,_0xdec5('0x16'))};});}}
23
+ const _0x2a1b=['get','src','_enableDefaultAttributesIntegration','_handleLegacySuggestions','ImageEditing','_suggestionFactory','registerDescriptionCallback','registerCustomCallback','locale','attribute','_registerLegacyDescription','discard','replaceImageSource','key','type','accept','editor','*Replace\x20image\x20URL*','TrackChangesEditing','format','*Format:*\x20replace\x20image\x20URL','plugins','formatBlock','afterInit','oldValue','formatInline','newValue'];(function(_0x2115b2,_0x2a1b53){const _0x445229=function(_0x2f4980){while(--_0x2f4980){_0x2115b2['push'](_0x2115b2['shift']());}};_0x445229(++_0x2a1b53);}(_0x2a1b,0xef));const _0x4452=function(_0x2115b2,_0x2a1b53){_0x2115b2=_0x2115b2-0x0;let _0x445229=_0x2a1b[_0x2115b2];return _0x445229;};import{Plugin as _0x5a4610}from'ckeditor5/src/core.js';import{getTranslation as _0x5d4dc6}from'../utils/common-translations.js';export default class st extends _0x5a4610{[_0x4452('0x0')](){if(!this['editor'][_0x4452('0x19')]['has'](_0x4452('0x8')))return;const _0x27e9f5=this['editor'][_0x4452('0xc')],_0x41f3b2=this[_0x4452('0x14')][_0x4452('0x19')][_0x4452('0x4')]('TrackChangesEditing');_0x41f3b2[_0x4452('0x6')](_0x4452('0x10'),[],['src']),_0x41f3b2['_descriptionFactory'][_0x4452('0xa')](_0x4968a1=>{if(_0x4452('0xd')!=_0x4968a1[_0x4452('0x12')])return;const {data:_0x3c6caa}=_0x4968a1;return _0x3c6caa&&_0x4452('0x5')==_0x3c6caa[_0x4452('0x11')]?_0x3c6caa[_0x4452('0x3')]&&_0x3c6caa[_0x4452('0x1')]?{'type':_0x4452('0x17'),'content':_0x5d4dc6(_0x27e9f5,_0x4452('0x15'))}:{'type':_0x4452('0x17'),'content':''}:void 0x0;}),this['_handleLegacySuggestions']();}[_0x4452('0x7')](){const _0x22c37a=this['editor'][_0x4452('0x19')][_0x4452('0x4')](_0x4452('0x16'));_0x22c37a[_0x4452('0x9')][_0x4452('0xb')](_0x4452('0x1a'),_0x4452('0x10'),_0x4452('0x13'),_0x22c37a[_0x4452('0x9')]['getSuggestionCallback'](_0x4452('0x1a'),null,_0x4452('0xf'))),_0x22c37a[_0x4452('0x9')][_0x4452('0xb')](_0x4452('0x1a'),'replaceImageSource',_0x4452('0xf'),_0x22c37a[_0x4452('0x9')]['getSuggestionCallback'](_0x4452('0x1a'),null,'accept')),this[_0x4452('0xe')]();}['_registerLegacyDescription'](){const _0x448e0b=this['editor'],_0x5bcb32=_0x448e0b[_0x4452('0xc')];_0x448e0b['plugins']['get'](_0x4452('0x16'))['_descriptionFactory'][_0x4452('0xa')](_0x9c832f=>{if(_0x4452('0x1a')!=_0x9c832f['type']&&_0x4452('0x2')!=_0x9c832f[_0x4452('0x12')])return;const {data:_0x4cd960}=_0x9c832f;if(!_0x4cd960||_0x4452('0x10')!=_0x4cd960['commandName'])return;return{'type':_0x4452('0x17'),'content':_0x5d4dc6(_0x5bcb32,_0x4452('0x18'))};});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x189e=['accept','_findSuggestions','Users','enableCommand','registerDescriptionCallback','isInlineImage','discardSuggestion','title','ImageStyleEditing','commands','isEqual','join','findIndex','suggestion','createRangeOn','get','getSuggestionCallback','imageTypeBlock','head','nodeAfter','isBlockImage','hasSuggestion','value','commandParams','ImageUtils','imageTypeInline','FORMAT_SIDE_IMAGE','imageStylePostApply','commandName','editor','_suggestionFactory','setImageNaturalSizeAttributes','isOwn','imageStyle','selection','imageCaption','markBlockFormat','document','getContainedElement','_splitMarkerName','TrackChangesEditing','end','imageStylePreApply','formatInline','registerCustomCallback','author','convertInlineImageToBlock','newRange','forEach','getClosestSelectedImageElement','start','isInContent','registerPostFixer','name','isIntersecting','insertion','type','length','plugins','differ','formatBlock','getFirstRange','model','discard','subType','_registerLegacyDescription','from','refresh','nodeBefore','locale','*Format:*\x20%0','getSuggestion','_descriptionFactory','next','commandReversedParams','getSuggestions'];(function(_0x24a6b1,_0x189e19){const _0x9574e0=function(_0x3fcb2){while(--_0x3fcb2){_0x24a6b1['push'](_0x24a6b1['shift']());}};_0x9574e0(++_0x189e19);}(_0x189e,0xfe));const _0x9574=function(_0x24a6b1,_0x189e19){_0x24a6b1=_0x24a6b1-0x0;let _0x9574e0=_0x189e[_0x24a6b1];return _0x9574e0;};import{Plugin as _0x4e41b7}from'ckeditor5/src/core.js';import{uid as _0x478faa}from'ckeditor5/src/utils.js';import{getTranslation as _0x12dc7b}from'../utils/common-translations.js';export default class nt extends _0x4e41b7{['afterInit'](){const _0x772e0e=this[_0x9574('0x3')];if(!_0x772e0e['plugins']['has'](_0x9574('0x3a')))return;const _0x1bea93=_0x772e0e[_0x9574('0x20')]['get'](_0x9574('0xe')),_0x12784b=_0x772e0e[_0x9574('0x20')][_0x9574('0x41')](_0x9574('0x4a')),_0x121248={};_0x1bea93[_0x9574('0x35')](_0x9574('0x7'),(_0x4ff7d8,_0x13bfc6)=>{const _0x2e44a5=_0x772e0e[_0x9574('0x20')]['get'](_0x9574('0x34'))['me'],_0x18009c=_0x772e0e[_0x9574('0x3b')]['get']('imageStyle');let _0x3da473=_0x12784b[_0x9574('0x17')](_0x772e0e[_0x9574('0x24')][_0x9574('0xb')]['selection']),_0x6e273f=_0x772e0e[_0x9574('0x24')][_0x9574('0x40')](_0x3da473),_0x56212b=_0x18009c[_0x9574('0x48')];if(_0x56212b==_0x13bfc6[_0x9574('0x48')])return;const _0x128afc={'commandName':'imageStyle','commandParams':[_0x13bfc6],'formatGroupId':_0x478faa()};_0x772e0e['model']['change'](()=>{if(_0x1bea93[_0x9574('0x31')]()['filter'](_0x5c0d6f=>_0x5c0d6f['isInContent']&&_0x2e44a5==_0x5c0d6f[_0x9574('0x13')]&&(_0x9574('0x22')==_0x5c0d6f[_0x9574('0x1e')]||_0x9574('0x11')==_0x5c0d6f[_0x9574('0x1e')])&&(_0x9574('0x10')==_0x5c0d6f[_0x9574('0x26')]||'imageStylePostApply'==_0x5c0d6f[_0x9574('0x26')])&&_0x5c0d6f[_0x9574('0x23')]()[_0x9574('0x3c')](_0x6e273f))[_0x9574('0x16')](_0xb54b=>_0x1bea93[_0x9574('0x38')](_0xb54b[_0x9574('0x44')])),_0x3da473=_0x12784b[_0x9574('0x17')](_0x772e0e[_0x9574('0x24')][_0x9574('0xb')]['selection']),_0x6e273f=_0x772e0e[_0x9574('0x24')]['createRangeOn'](_0x3da473),_0x18009c[_0x9574('0x29')](),_0x772e0e[_0x9574('0x3b')][_0x9574('0x41')](_0x9574('0x4b'))[_0x9574('0x29')](),_0x772e0e[_0x9574('0x3b')][_0x9574('0x41')](_0x9574('0x43'))[_0x9574('0x29')](),_0x56212b=_0x18009c[_0x9574('0x48')],_0x56212b!=_0x13bfc6['value'])return _0x12784b[_0x9574('0x37')](_0x3da473)&&_0x18009c['shouldConvertImageType'](_0x13bfc6[_0x9574('0x48')],_0x3da473)?(_0x4ff7d8({..._0x13bfc6,'setImageSizes':!0x1}),_0x3da473=_0x12784b[_0x9574('0x17')](_0x772e0e['model'][_0x9574('0xb')][_0x9574('0x8')]),void _0x1bea93[_0x9574('0xa')](_0x3da473,{..._0x128afc,'commandReversedParams':[{'value':_0x56212b||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x12784b[_0x9574('0x46')](_0x3da473)?_0x1bea93['markBlockFormat'](_0x3da473,_0x128afc,[],_0x9574('0x1')):_0x1bea93['markInlineFormat'](_0x6e273f,_0x128afc,_0x9574('0x1')));});});for(const _0x210ad4 of _0x772e0e[_0x9574('0x20')]['get'](_0x9574('0x3a'))['normalizedStyles'])_0x121248[_0x210ad4[_0x9574('0x1b')]]=_0x210ad4[_0x9574('0x39')]['toLowerCase']();_0x1bea93[_0x9574('0x4')]['registerCustomCallback']('formatBlock',_0x9574('0x10'),_0x9574('0x3d'),()=>!0x1),_0x1bea93[_0x9574('0x4')][_0x9574('0x12')](_0x9574('0x22'),_0x9574('0x1'),_0x9574('0x3d'),()=>!0x1),_0x1bea93['_suggestionFactory']['registerCustomCallback'](_0x9574('0x11'),_0x9574('0x1'),_0x9574('0x3d'),()=>!0x1),_0x1bea93['_suggestionFactory'][_0x9574('0x12')](_0x9574('0x22'),_0x9574('0x10'),_0x9574('0x32'),([_0xe1c303])=>{_0x12784b[_0x9574('0x5')](_0xe1c303[_0x9574('0xc')]());}),_0x1bea93[_0x9574('0x4')][_0x9574('0x12')](_0x9574('0x22'),_0x9574('0x10'),_0x9574('0x25'),(_0x5b57a9,_0x3881dd)=>{_0x1bea93[_0x9574('0x4')][_0x9574('0x42')](_0x9574('0x22'),'','accept')(_0x5b57a9,{'commandName':_0x3881dd[_0x9574('0x2')],'commandParams':_0x3881dd[_0x9574('0x30')]});}),_0x1bea93[_0x9574('0x4')][_0x9574('0x12')](_0x9574('0x22'),_0x9574('0x10'),'chain',function(_0x152c63,_0x1d79a5){if(_0x557c24(_0x152c63,_0x1d79a5))return[_0x152c63,_0x1d79a5];if(_0x557c24(_0x1d79a5,_0x152c63))return[_0x1d79a5,_0x152c63];return null;});const _0x419d89=[{'type':_0x9574('0x22'),'subType':'imageStylePreApply'},{'type':_0x9574('0x1d'),'subType':_0x9574('0x9')},{'type':'formatBlock','subType':_0x9574('0x14')},{'type':_0x9574('0x1d'),'subType':_0x9574('0x14')}];function _0x557c24(_0x35b0be,_0x17f29f){const _0x597190=_0x419d89['findIndex'](({type:_0x4f9782,subType:_0x5bc4dc})=>_0x35b0be[_0x9574('0x1e')]==_0x4f9782&&_0x35b0be['subType']==_0x5bc4dc),_0x127878=_0x419d89[_0x9574('0x3e')](({type:_0x2bce4f,subType:_0x555d31})=>_0x17f29f['type']==_0x2bce4f&&_0x17f29f[_0x9574('0x26')]==_0x555d31);if(_0x597190<0x0||_0x127878<0x0)return!0x1;const _0xc2302d=_0x35b0be['getFirstRange'](),_0x3ebe53=_0x17f29f[_0x9574('0x23')]();if((0x0==_0x597190||0x1==_0x597190)&&0x2==_0x127878&&_0xc2302d[_0x9574('0x1c')](_0x3ebe53))return!0x0;if(0x2==_0x597190&&0x3==_0x127878){const _0x5bf50b=_0x1bea93[_0x9574('0x33')](_0xc2302d,_0x9574('0x1d'))['filter'](({suggestion:_0x1037a6,meta:_0x25ddb4})=>_0x25ddb4[_0x9574('0x6')]&&_0x9574('0x14')==_0x1037a6[_0x9574('0x26')]);if(_0x5bf50b[_0x9574('0x1f')]>0x1&&_0x3ebe53[_0x9574('0xf')][_0x9574('0x3c')](_0xc2302d[_0x9574('0x18')]))return!0x0;if(0x1==_0x5bf50b[_0x9574('0x1f')]&&(_0xc2302d[_0x9574('0x18')]['isEqual'](_0x3ebe53[_0x9574('0xf')])||_0xc2302d[_0x9574('0xf')]['isEqual'](_0x3ebe53[_0x9574('0x18')])))return!0x0;}if(0x3==_0x597190&&0x3==_0x127878&&_0xc2302d[_0x9574('0x18')]['isBefore'](_0x3ebe53[_0x9574('0x18')])){const _0x143d7c=_0xc2302d[_0x9574('0xf')][_0x9574('0x45')],_0x5cd3c2=_0x3ebe53[_0x9574('0x18')][_0x9574('0x2a')];return _0x12784b[_0x9574('0x46')](_0x143d7c)&&_0x143d7c===_0x5cd3c2;}return!0x1;}_0x772e0e[_0x9574('0x24')]['document'][_0x9574('0x1a')](()=>{let _0x21d0e0=!0x1;const _0x7e2c7d=Array[_0x9574('0x28')](_0x772e0e['model'][_0x9574('0xb')][_0x9574('0x21')]['getChangedMarkers']());for(const {name:_0x32cb41,data:_0x1fe6e3}of _0x7e2c7d){const {group:_0x135342,type:_0xaaf907,subType:_0xbe2ccd,id:_0x307b83}=_0x1bea93[_0x9574('0xd')](_0x32cb41);if(_0x9574('0x3f')==_0x135342&&_0x1bea93[_0x9574('0x47')](_0x307b83)){if(_0x9574('0x22')==_0xaaf907&&(_0x9574('0x10')==_0xbe2ccd||'imageStylePostApply'==_0xbe2ccd)){const _0x1eb183=_0x1bea93[_0x9574('0x2d')](_0x307b83);if(_0x1fe6e3[_0x9574('0x15')]){const _0x24c8ec=_0x1eb183[_0x9574('0x23')]()['getContainedElement']();if(_0x12784b[_0x9574('0x46')](_0x24c8ec))continue;_0x1bea93[_0x9574('0x38')](_0x1eb183),_0x21d0e0=!0x0;}}if(_0x9574('0x1d')==_0xaaf907&&_0x9574('0x9')==_0xbe2ccd&&!_0x1fe6e3[_0x9574('0x15')]){const _0x39d7f5=_0x1bea93[_0x9574('0x2d')](_0x307b83);_0x39d7f5[_0x9574('0x2f')]&&_0x39d7f5[_0x9574('0x2f')][_0x9574('0x19')]&&(_0x1bea93['discardSuggestion'](_0x39d7f5[_0x9574('0x2f')]),_0x21d0e0=!0x0);}}}return _0x21d0e0;}),this['_registerLegacyDescription'](_0x121248);}[_0x9574('0x27')](_0x338b52){const _0xfeb8a6=this['editor'],_0x2a2c38=_0xfeb8a6[_0x9574('0x2b')];_0xfeb8a6[_0x9574('0x20')][_0x9574('0x41')]('TrackChangesEditing')[_0x9574('0x2e')][_0x9574('0x36')](_0x38430c=>{if(_0x9574('0x22')!=_0x38430c[_0x9574('0x1e')]&&_0x9574('0x11')!=_0x38430c[_0x9574('0x1e')])return;const {data:_0x4feae6}=_0x38430c;if(!_0x4feae6||_0x9574('0x7')!=_0x4feae6[_0x9574('0x2')])return;const _0x4916fa=_0x4feae6[_0x9574('0x49')][0x0][_0x9574('0x48')];return _0x26b8ff('side'===_0x4916fa?_0x12dc7b(_0x2a2c38,_0x9574('0x0')):_0x338b52[_0x4916fa]||_0x4916fa);function _0x26b8ff(_0x3612ab){return{'type':'format','content':_0x12dc7b(_0x2a2c38,_0x9574('0x2c'),_0x3612ab)};}});}}
23
+ const _0x40bd=['isInContent','value','shouldConvertImageType','markBlockFormat','isIntersecting','imageStylePostApply','selection','imageTypeInline','forEach','document','chain','_registerLegacyDescription','getFirstRange','*Format:*\x20%0','commandName','start','differ','registerPostFixer','getSuggestions','accept','end','type','getSuggestion','ImageStyleEditing','imageTypeBlock','getContainedElement','isEqual','plugins','convertInlineImageToBlock','formatBlock','subType','normalizedStyles','change','_splitMarkerName','title','isBefore','editor','commandReversedParams','join','_descriptionFactory','hasSuggestion','model','isBlockImage','findIndex','getClosestSelectedImageElement','locale','nodeAfter','createRangeOn','name','discardSuggestion','suggestion','imageCaption','afterInit','format','isInlineImage','refresh','get','nodeBefore','commandParams','imageStylePreApply','FORMAT_SIDE_IMAGE','TrackChangesEditing','filter','registerCustomCallback','imageStyle','commands','discard','newRange','author','next','_suggestionFactory','formatInline','insertion','length'];(function(_0x2232dc,_0x40bdd5){const _0xe1281=function(_0x9f9f8a){while(--_0x9f9f8a){_0x2232dc['push'](_0x2232dc['shift']());}};_0xe1281(++_0x40bdd5);}(_0x40bd,0xf3));const _0xe128=function(_0x2232dc,_0x40bdd5){_0x2232dc=_0x2232dc-0x0;let _0xe1281=_0x40bd[_0x2232dc];return _0xe1281;};import{Plugin as _0x24dae7}from'ckeditor5/src/core.js';import{uid as _0xfa9b17}from'ckeditor5/src/utils.js';import{getTranslation as _0x24a8dc}from'../utils/common-translations.js';export default class nt extends _0x24dae7{[_0xe128('0x1f')](){const _0x34c371=this['editor'];if(!_0x34c371[_0xe128('0x6')]['has'](_0xe128('0x2')))return;const _0x19bb9b=_0x34c371[_0xe128('0x6')][_0xe128('0x23')](_0xe128('0x28')),_0x4f8630=_0x34c371['plugins'][_0xe128('0x23')]('ImageUtils'),_0x1a951c={};_0x19bb9b['enableCommand'](_0xe128('0x2b'),(_0x229972,_0x246188)=>{const _0x1dc4ec=_0x34c371['plugins'][_0xe128('0x23')]('Users')['me'],_0xdbdf1e=_0x34c371[_0xe128('0x2c')]['get'](_0xe128('0x2b'));let _0x26e7e1=_0x4f8630[_0xe128('0x17')](_0x34c371[_0xe128('0x14')][_0xe128('0x3e')][_0xe128('0x3b')]),_0x24a7dd=_0x34c371[_0xe128('0x14')][_0xe128('0x1a')](_0x26e7e1),_0x3e1bed=_0xdbdf1e[_0xe128('0x36')];if(_0x3e1bed==_0x246188[_0xe128('0x36')])return;const _0x1b0ef2={'commandName':_0xe128('0x2b'),'commandParams':[_0x246188],'formatGroupId':_0xfa9b17()};_0x34c371[_0xe128('0x14')][_0xe128('0xb')](()=>{if(_0x19bb9b[_0xe128('0x47')]()[_0xe128('0x29')](_0x47c518=>_0x47c518['isInContent']&&_0x1dc4ec==_0x47c518[_0xe128('0x2f')]&&(_0xe128('0x8')==_0x47c518[_0xe128('0x0')]||_0xe128('0x32')==_0x47c518[_0xe128('0x0')])&&(_0xe128('0x26')==_0x47c518[_0xe128('0x9')]||'imageStylePostApply'==_0x47c518['subType'])&&_0x47c518[_0xe128('0x41')]()[_0xe128('0x5')](_0x24a7dd))[_0xe128('0x3d')](_0x4804b4=>_0x19bb9b[_0xe128('0x1c')](_0x4804b4['head'])),_0x26e7e1=_0x4f8630[_0xe128('0x17')](_0x34c371[_0xe128('0x14')]['document'][_0xe128('0x3b')]),_0x24a7dd=_0x34c371[_0xe128('0x14')][_0xe128('0x1a')](_0x26e7e1),_0xdbdf1e[_0xe128('0x22')](),_0x34c371['commands'][_0xe128('0x23')](_0xe128('0x3c'))['refresh'](),_0x34c371['commands'][_0xe128('0x23')](_0xe128('0x3'))[_0xe128('0x22')](),_0x3e1bed=_0xdbdf1e[_0xe128('0x36')],_0x3e1bed!=_0x246188[_0xe128('0x36')])return _0x4f8630[_0xe128('0x21')](_0x26e7e1)&&_0xdbdf1e[_0xe128('0x37')](_0x246188[_0xe128('0x36')],_0x26e7e1)?(_0x229972({..._0x246188,'setImageSizes':!0x1}),_0x26e7e1=_0x4f8630['getClosestSelectedImageElement'](_0x34c371[_0xe128('0x14')]['document'][_0xe128('0x3b')]),void _0x19bb9b['markBlockFormat'](_0x26e7e1,{..._0x1b0ef2,'commandReversedParams':[{'value':_0x3e1bed||null,'setImageSizes':!0x1}]},[],_0xe128('0x26'))):void(_0x4f8630[_0xe128('0x15')](_0x26e7e1)?_0x19bb9b[_0xe128('0x38')](_0x26e7e1,_0x1b0ef2,[],_0xe128('0x3a')):_0x19bb9b['markInlineFormat'](_0x24a7dd,_0x1b0ef2,'imageStylePostApply'));});});for(const _0x38c31a of _0x34c371[_0xe128('0x6')][_0xe128('0x23')](_0xe128('0x2'))[_0xe128('0xa')])_0x1a951c[_0x38c31a[_0xe128('0x1b')]]=_0x38c31a[_0xe128('0xd')]['toLowerCase']();_0x19bb9b['_suggestionFactory'][_0xe128('0x2a')](_0xe128('0x8'),_0xe128('0x26'),_0xe128('0x11'),()=>!0x1),_0x19bb9b[_0xe128('0x31')][_0xe128('0x2a')]('formatBlock',_0xe128('0x3a'),_0xe128('0x11'),()=>!0x1),_0x19bb9b[_0xe128('0x31')][_0xe128('0x2a')](_0xe128('0x32'),_0xe128('0x3a'),_0xe128('0x11'),()=>!0x1),_0x19bb9b[_0xe128('0x31')][_0xe128('0x2a')](_0xe128('0x8'),_0xe128('0x26'),'accept',([_0x51bf30])=>{_0x4f8630['setImageNaturalSizeAttributes'](_0x51bf30[_0xe128('0x4')]());}),_0x19bb9b['_suggestionFactory']['registerCustomCallback'](_0xe128('0x8'),'imageStylePreApply',_0xe128('0x2d'),(_0xb7eb03,_0x30e5e7)=>{_0x19bb9b[_0xe128('0x31')]['getSuggestionCallback'](_0xe128('0x8'),'',_0xe128('0x48'))(_0xb7eb03,{'commandName':_0x30e5e7['commandName'],'commandParams':_0x30e5e7[_0xe128('0x10')]});}),_0x19bb9b[_0xe128('0x31')][_0xe128('0x2a')](_0xe128('0x8'),_0xe128('0x26'),_0xe128('0x3f'),function(_0x2036d2,_0x4b4b7d){if(_0x4cb799(_0x2036d2,_0x4b4b7d))return[_0x2036d2,_0x4b4b7d];if(_0x4cb799(_0x4b4b7d,_0x2036d2))return[_0x4b4b7d,_0x2036d2];return null;});const _0x4c6f31=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':_0xe128('0x33'),'subType':_0xe128('0x1e')},{'type':'formatBlock','subType':_0xe128('0x7')},{'type':'insertion','subType':_0xe128('0x7')}];function _0x4cb799(_0x500929,_0x4ef89a){const _0x854133=_0x4c6f31['findIndex'](({type:_0x34e8b7,subType:_0x5ec7b3})=>_0x500929['type']==_0x34e8b7&&_0x500929[_0xe128('0x9')]==_0x5ec7b3),_0xa13da3=_0x4c6f31[_0xe128('0x16')](({type:_0x1bb67e,subType:_0x21541f})=>_0x4ef89a[_0xe128('0x0')]==_0x1bb67e&&_0x4ef89a[_0xe128('0x9')]==_0x21541f);if(_0x854133<0x0||_0xa13da3<0x0)return!0x1;const _0x426c5d=_0x500929[_0xe128('0x41')](),_0xf9053e=_0x4ef89a[_0xe128('0x41')]();if((0x0==_0x854133||0x1==_0x854133)&&0x2==_0xa13da3&&_0x426c5d[_0xe128('0x39')](_0xf9053e))return!0x0;if(0x2==_0x854133&&0x3==_0xa13da3){const _0xb5cabb=_0x19bb9b['_findSuggestions'](_0x426c5d,'insertion')[_0xe128('0x29')](({suggestion:_0x3b1d4e,meta:_0x566062})=>_0x566062['isOwn']&&'convertInlineImageToBlock'==_0x3b1d4e[_0xe128('0x9')]);if(_0xb5cabb[_0xe128('0x34')]>0x1&&_0xf9053e[_0xe128('0x49')][_0xe128('0x5')](_0x426c5d[_0xe128('0x44')]))return!0x0;if(0x1==_0xb5cabb[_0xe128('0x34')]&&(_0x426c5d[_0xe128('0x44')][_0xe128('0x5')](_0xf9053e[_0xe128('0x49')])||_0x426c5d[_0xe128('0x49')][_0xe128('0x5')](_0xf9053e['start'])))return!0x0;}if(0x3==_0x854133&&0x3==_0xa13da3&&_0x426c5d[_0xe128('0x44')][_0xe128('0xe')](_0xf9053e[_0xe128('0x44')])){const _0x89dec3=_0x426c5d['end'][_0xe128('0x19')],_0x491d6b=_0xf9053e[_0xe128('0x44')][_0xe128('0x24')];return _0x4f8630[_0xe128('0x15')](_0x89dec3)&&_0x89dec3===_0x491d6b;}return!0x1;}_0x34c371[_0xe128('0x14')]['document'][_0xe128('0x46')](()=>{let _0x23cfbb=!0x1;const _0x1a706d=Array['from'](_0x34c371[_0xe128('0x14')]['document'][_0xe128('0x45')]['getChangedMarkers']());for(const {name:_0x4d2ba4,data:_0x1e19f0}of _0x1a706d){const {group:_0x3002a0,type:_0x211590,subType:_0x52cdfd,id:_0xe883e}=_0x19bb9b[_0xe128('0xc')](_0x4d2ba4);if(_0xe128('0x1d')==_0x3002a0&&_0x19bb9b[_0xe128('0x13')](_0xe883e)){if('formatBlock'==_0x211590&&(_0xe128('0x26')==_0x52cdfd||_0xe128('0x3a')==_0x52cdfd)){const _0x44c773=_0x19bb9b[_0xe128('0x1')](_0xe883e);if(_0x1e19f0[_0xe128('0x2e')]){const _0x287bfd=_0x44c773[_0xe128('0x41')]()[_0xe128('0x4')]();if(_0x4f8630[_0xe128('0x15')](_0x287bfd))continue;_0x19bb9b[_0xe128('0x1c')](_0x44c773),_0x23cfbb=!0x0;}}if(_0xe128('0x33')==_0x211590&&'imageCaption'==_0x52cdfd&&!_0x1e19f0['newRange']){const _0x3b3249=_0x19bb9b[_0xe128('0x1')](_0xe883e);_0x3b3249[_0xe128('0x30')]&&_0x3b3249[_0xe128('0x30')][_0xe128('0x35')]&&(_0x19bb9b['discardSuggestion'](_0x3b3249[_0xe128('0x30')]),_0x23cfbb=!0x0);}}}return _0x23cfbb;}),this[_0xe128('0x40')](_0x1a951c);}[_0xe128('0x40')](_0x1f0623){const _0x2ca48b=this[_0xe128('0xf')],_0x18311b=_0x2ca48b[_0xe128('0x18')];_0x2ca48b[_0xe128('0x6')][_0xe128('0x23')](_0xe128('0x28'))[_0xe128('0x12')]['registerDescriptionCallback'](_0x257e8b=>{if(_0xe128('0x8')!=_0x257e8b['type']&&_0xe128('0x32')!=_0x257e8b[_0xe128('0x0')])return;const {data:_0x19d669}=_0x257e8b;if(!_0x19d669||_0xe128('0x2b')!=_0x19d669[_0xe128('0x43')])return;const _0x20a04d=_0x19d669[_0xe128('0x25')][0x0][_0xe128('0x36')];return _0x1fcd0c('side'===_0x20a04d?_0x24a8dc(_0x18311b,_0xe128('0x27')):_0x1f0623[_0x20a04d]||_0x20a04d);function _0x1fcd0c(_0x41b428){return{'type':_0xe128('0x20'),'content':_0x24a8dc(_0x18311b,_0xe128('0x42'),_0x41b428)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x207f=['listenTo','Users','high','collaboration_features','value','forEach','commands','track_changes','_setSuggestionData','dataInsert','bind','importWord','_trackChangesValueDuringImport','trackChanges','TrackChangesEditing','editor','_handleImportedData','get','execute','lowest','plugins','_trackChangesExecuted'];(function(_0x58e627,_0x207f06){const _0x2f5508=function(_0x12383b){while(--_0x12383b){_0x58e627['push'](_0x58e627['shift']());}};_0x2f5508(++_0x207f06);}(_0x207f,0x7b));const _0x2f55=function(_0x58e627,_0x207f06){_0x58e627=_0x58e627-0x0;let _0x2f5508=_0x207f[_0x58e627];return _0x2f5508;};import{Plugin as _0x3126aa}from'ckeditor5/src/core.js';export default class ot extends _0x3126aa{constructor(_0x4ea82d){super(_0x4ea82d),this[_0x2f55('0x15')]=!0x1,this[_0x2f55('0x8')]=!0x1;}['afterInit'](){const _0x50a7d0=this[_0x2f55('0x2')],_0x5f1559=_0x50a7d0[_0x2f55('0xf')][_0x2f55('0x4')](_0x2f55('0x14')),_0x46b5aa=_0x50a7d0[_0x2f55('0xf')][_0x2f55('0x4')](_0x2f55('0x0'));_0x5f1559&&(_0x5f1559['on'](_0x2f55('0x5'),(_0x348f51,[,_0x426a10])=>{this[_0x2f55('0x15')]=_0x46b5aa[_0x2f55('0xd')],_0x426a10[_0x2f55('0xc')][_0x2f55('0x10')]=!this[_0x2f55('0x15')];},{'priority':_0x2f55('0xb')}),this[_0x2f55('0x9')](_0x5f1559,_0x2f55('0x12'),this[_0x2f55('0x3')][_0x2f55('0x13')](this)),this[_0x2f55('0x9')](_0x5f1559,_0x2f55('0x12'),()=>{this[_0x2f55('0x8')]&&(_0x46b5aa[_0x2f55('0x5')](),this[_0x2f55('0x8')]=!0x1);},{'priority':_0x2f55('0x6')}),_0x50a7d0[_0x2f55('0x7')][_0x2f55('0x4')](_0x2f55('0x1'))['enableCommand'](_0x2f55('0x14')));}[_0x2f55('0x3')](_0x493413,_0x84748d){const {suggestions:_0x4a9381}=_0x84748d,_0x3358f0=this['editor'][_0x2f55('0xf')][_0x2f55('0x4')]('trackChanges'),_0x33826d=_0x3358f0[_0x2f55('0xd')];this['_trackChangesValueDuringImport']!==_0x33826d&&(_0x3358f0[_0x2f55('0x5')](),this[_0x2f55('0x8')]=!0x0),_0x4a9381&&_0x4a9381[_0x2f55('0xe')](({id:_0x51c0aa,type:_0xb2e78b,author:_0x41deda,created_at:_0x323ae3})=>{const _0x50709d={'id':_0x51c0aa,'type':_0xb2e78b,'authorId':this['editor'][_0x2f55('0x7')][_0x2f55('0x4')](_0x2f55('0xa'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x41deda,'createdAt':_0x323ae3?new Date(_0x323ae3):new Date(),'source':_0x2f55('0x14')}}};this[_0x2f55('0x2')]['plugins'][_0x2f55('0x4')](_0x2f55('0x1'))[_0x2f55('0x11')](_0x50709d);});}}
23
+ const _0x37c0=['plugins','listenTo','_handleImportedData','TrackChangesEditing','_setSuggestionData','commands','Users','value','_trackChangesValueDuringImport','get','execute','forEach','trackChanges','importWord','high','_trackChangesExecuted','track_changes','editor','dataInsert','afterInit'];(function(_0x65ed94,_0x37c08c){const _0x6cf3c1=function(_0x101cbe){while(--_0x101cbe){_0x65ed94['push'](_0x65ed94['shift']());}};_0x6cf3c1(++_0x37c08c);}(_0x37c0,0x7e));const _0x6cf3=function(_0x65ed94,_0x37c08c){_0x65ed94=_0x65ed94-0x0;let _0x6cf3c1=_0x37c0[_0x65ed94];return _0x6cf3c1;};import{Plugin as _0x254c70}from'ckeditor5/src/core.js';export default class ot extends _0x254c70{constructor(_0x5977b8){super(_0x5977b8),this[_0x6cf3('0x2')]=!0x1,this[_0x6cf3('0x9')]=!0x1;}[_0x6cf3('0xd')](){const _0x3eac80=this[_0x6cf3('0xb')],_0x2d1ebb=_0x3eac80[_0x6cf3('0x13')][_0x6cf3('0x3')](_0x6cf3('0x7')),_0x168bbb=_0x3eac80[_0x6cf3('0x13')]['get'](_0x6cf3('0x6'));_0x2d1ebb&&(_0x2d1ebb['on'](_0x6cf3('0x4'),(_0x4d76b3,[,_0x14d313])=>{this[_0x6cf3('0x2')]=_0x168bbb[_0x6cf3('0x1')],_0x14d313['collaboration_features'][_0x6cf3('0xa')]=!this[_0x6cf3('0x2')];},{'priority':_0x6cf3('0x8')}),this[_0x6cf3('0xf')](_0x2d1ebb,_0x6cf3('0xc'),this[_0x6cf3('0x10')]['bind'](this)),this[_0x6cf3('0xf')](_0x2d1ebb,'dataInsert',()=>{this[_0x6cf3('0x9')]&&(_0x168bbb[_0x6cf3('0x4')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x3eac80[_0x6cf3('0xe')]['get']('TrackChangesEditing')['enableCommand']('importWord'));}[_0x6cf3('0x10')](_0x12e585,_0x540ac1){const {suggestions:_0x504a4a}=_0x540ac1,_0x192f5b=this[_0x6cf3('0xb')][_0x6cf3('0x13')][_0x6cf3('0x3')](_0x6cf3('0x6')),_0x283990=_0x192f5b[_0x6cf3('0x1')];this[_0x6cf3('0x2')]!==_0x283990&&(_0x192f5b[_0x6cf3('0x4')](),this[_0x6cf3('0x9')]=!0x0),_0x504a4a&&_0x504a4a[_0x6cf3('0x5')](({id:_0x4784df,type:_0x3207a1,author:_0x17bb3e,created_at:_0x2d11c1})=>{const _0x19f48a={'id':_0x4784df,'type':_0x3207a1,'authorId':this[_0x6cf3('0xb')]['plugins'][_0x6cf3('0x3')](_0x6cf3('0x0'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x17bb3e,'createdAt':_0x2d11c1?new Date(_0x2d11c1):new Date(),'source':'importWord'}}};this['editor'][_0x6cf3('0xe')][_0x6cf3('0x3')](_0x6cf3('0x11'))[_0x6cf3('0x12')](_0x19f48a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d23=['registerAttributeLabel','get','type','editor','getItems','outdent','FORMAT_INDENT','indentBlock','format','IndentEditing','IndentBlock','_descriptionFactory','*Outdent:*\x20%0','enableCommand','outdentBlock','locale','has','blockIndent','_registerLegacyDescription','_enableDefaultAttributesIntegration','TrackChangesEditing','_registerBlockAttribute','commandName','*Indent:*\x20%0','plugins'];(function(_0x1cdc7d,_0x3d2311){const _0xd901=function(_0xb7d5e9){while(--_0xb7d5e9){_0x1cdc7d['push'](_0x1cdc7d['shift']());}};_0xd901(++_0x3d2311);}(_0x3d23,0xdd));const _0xd901=function(_0x1cdc7d,_0x3d2311){_0x1cdc7d=_0x1cdc7d-0x0;let _0xb7d5e9=_0x3d23[_0x1cdc7d];return _0xb7d5e9;};import{Plugin as _0x3c195d}from'ckeditor5/src/core.js';import{getTranslation as _0x4d3b1f}from'../utils/common-translations.js';export default class rt extends _0x3c195d{['afterInit'](){const _0x371af5=this[_0xd901('0x7')],_0x361887=_0x371af5[_0xd901('0x3')][_0xd901('0x5')](_0xd901('0x18'));if(_0x371af5['plugins'][_0xd901('0x14')](_0xd901('0xd'))&&(_0x361887[_0xd901('0x11')]('indent'),_0x361887[_0xd901('0x11')](_0xd901('0x9'))),_0x371af5[_0xd901('0x3')][_0xd901('0x14')](_0xd901('0xe')))for(const _0x65f636 of[_0xd901('0xb'),'outdentBlock'])_0x361887[_0xd901('0x17')](_0x65f636);const _0x252164=_0x371af5[_0xd901('0x13')];_0x361887[_0xd901('0x0')](_0xd901('0x15')),_0x361887['_descriptionFactory'][_0xd901('0x4')](_0xd901('0x15'),_0x4d3b1f(_0x252164,_0xd901('0xa'))),this[_0xd901('0x16')]();}['_registerLegacyDescription'](){const _0x557d34=this[_0xd901('0x7')],_0x48c646=_0x557d34[_0xd901('0x13')],_0x544903=_0x557d34[_0xd901('0x3')][_0xd901('0x5')]('TrackChangesEditing');_0x544903[_0xd901('0xf')]['registerDescriptionCallback'](_0x25e495=>{if('formatBlock'!=_0x25e495[_0xd901('0x6')])return;const {data:_0x372401}=_0x25e495;if(!_0x372401)return;if(_0xd901('0xb')!=_0x372401[_0xd901('0x1')]&&'outdentBlock'!=_0x372401[_0xd901('0x1')])return;const _0x5d701f=_0x25e495[_0xd901('0x8')]()[0x0],_0x428a9=_0x544903[_0xd901('0xf')]['getItemLabel'](_0x5d701f);return'indentBlock'==_0x372401[_0xd901('0x1')]?{'type':_0xd901('0xc'),'content':_0x4d3b1f(_0x48c646,_0xd901('0x2'),_0x428a9)}:_0xd901('0x12')==_0x372401[_0xd901('0x1')]?{'type':_0xd901('0xc'),'content':_0x4d3b1f(_0x48c646,_0xd901('0x10'),_0x428a9)}:void 0x0;});}}
23
+ const _0x161a=['registerAttributeLabel','formatBlock','_registerLegacyDescription','_enableDefaultAttributesIntegration','commandName','format','indentBlock','*Indent:*\x20%0','_registerBlockAttribute','indent','_descriptionFactory','afterInit','locale','TrackChangesEditing','editor','IndentEditing','blockIndent','get','IndentBlock','FORMAT_INDENT','enableCommand','outdentBlock','has','plugins'];(function(_0x2ad7cc,_0x161abb){const _0x1ea1dc=function(_0x18a5ce){while(--_0x18a5ce){_0x2ad7cc['push'](_0x2ad7cc['shift']());}};_0x1ea1dc(++_0x161abb);}(_0x161a,0x118));const _0x1ea1=function(_0x2ad7cc,_0x161abb){_0x2ad7cc=_0x2ad7cc-0x0;let _0x1ea1dc=_0x161a[_0x2ad7cc];return _0x1ea1dc;};import{Plugin as _0x3ef6de}from'ckeditor5/src/core.js';import{getTranslation as _0x589d48}from'../utils/common-translations.js';export default class rt extends _0x3ef6de{[_0x1ea1('0x13')](){const _0x263a89=this['editor'],_0x472c4d=_0x263a89[_0x1ea1('0x7')][_0x1ea1('0x1')](_0x1ea1('0x15'));if(_0x263a89['plugins'][_0x1ea1('0x6')](_0x1ea1('0x17'))&&(_0x472c4d[_0x1ea1('0x4')](_0x1ea1('0x11')),_0x472c4d[_0x1ea1('0x4')]('outdent')),_0x263a89[_0x1ea1('0x7')][_0x1ea1('0x6')](_0x1ea1('0x2')))for(const _0x11980a of[_0x1ea1('0xe'),_0x1ea1('0x5')])_0x472c4d[_0x1ea1('0xb')](_0x11980a);const _0x47276c=_0x263a89[_0x1ea1('0x14')];_0x472c4d[_0x1ea1('0x10')](_0x1ea1('0x0')),_0x472c4d[_0x1ea1('0x12')][_0x1ea1('0x8')](_0x1ea1('0x0'),_0x589d48(_0x47276c,_0x1ea1('0x3'))),this[_0x1ea1('0xa')]();}[_0x1ea1('0xa')](){const _0x1f8c56=this[_0x1ea1('0x16')],_0x15c8c9=_0x1f8c56[_0x1ea1('0x14')],_0x4de250=_0x1f8c56['plugins'][_0x1ea1('0x1')]('TrackChangesEditing');_0x4de250['_descriptionFactory']['registerDescriptionCallback'](_0x484317=>{if(_0x1ea1('0x9')!=_0x484317['type'])return;const {data:_0xe5b274}=_0x484317;if(!_0xe5b274)return;if(_0x1ea1('0xe')!=_0xe5b274[_0x1ea1('0xc')]&&_0x1ea1('0x5')!=_0xe5b274[_0x1ea1('0xc')])return;const _0x564efc=_0x484317['getItems']()[0x0],_0x5ae7df=_0x4de250['_descriptionFactory']['getItemLabel'](_0x564efc);return _0x1ea1('0xe')==_0xe5b274[_0x1ea1('0xc')]?{'type':'format','content':_0x589d48(_0x15c8c9,_0x1ea1('0xf'),_0x5ae7df)}:'outdentBlock'==_0xe5b274[_0x1ea1('0xc')]?{'type':_0x1ea1('0xd'),'content':_0x589d48(_0x15c8c9,'*Outdent:*\x20%0',_0x5ae7df)}:void 0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2000=['plugins','init','editor','requires','TrackChangesEditing','enableCommand','get'];(function(_0x498e18,_0x2000da){var _0x280a1e=function(_0x594fed){while(--_0x594fed){_0x498e18['push'](_0x498e18['shift']());}};_0x280a1e(++_0x2000da);}(_0x2000,0x199));var _0x280a=function(_0x498e18,_0x2000da){_0x498e18=_0x498e18-0x0;var _0x280a1e=_0x2000[_0x498e18];return _0x280a1e;};import{Plugin as _0x52d961}from'ckeditor5/src/core.js';import{Input as _0x43d74e}from'ckeditor5/src/typing.js';export default class at extends _0x52d961{static get[_0x280a('0x0')](){return[_0x43d74e];}[_0x280a('0x5')](){this[_0x280a('0x6')][_0x280a('0x4')][_0x280a('0x3')](_0x280a('0x1'))[_0x280a('0x2')]('input');}}
23
+ var _0xe843=['get','init','plugins','requires','input','TrackChangesEditing','editor','enableCommand'];(function(_0xb73c01,_0xe843c7){var _0x4e5a1d=function(_0x2ab51a){while(--_0x2ab51a){_0xb73c01['push'](_0xb73c01['shift']());}};_0x4e5a1d(++_0xe843c7);}(_0xe843,0x94));var _0x4e5a=function(_0xb73c01,_0xe843c7){_0xb73c01=_0xb73c01-0x0;var _0x4e5a1d=_0xe843[_0xb73c01];return _0x4e5a1d;};import{Plugin as _0x322b22}from'ckeditor5/src/core.js';import{Input as _0x45f552}from'ckeditor5/src/typing.js';export default class at extends _0x322b22{static get[_0x4e5a('0x7')](){return[_0x45f552];}[_0x4e5a('0x5')](){this[_0x4e5a('0x2')][_0x4e5a('0x6')][_0x4e5a('0x4')](_0x4e5a('0x1'))[_0x4e5a('0x3')](_0x4e5a('0x0'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4441=['has','model','*Uncheck\x20item*','enableCommand','registerDescriptionCallback','value','selection','markBlockFormat','formatInline','*Outdent:*\x20%0','numberedList','createPositionAt','ELEMENT_BULLETED_LIST','slice','plugins','locale','findIndex','registerElementLabel','format','bulletedList','name','replace','change','LegacyTodoListEditing','execute','type','document','todoList','*Indent:*\x20%0','outdentList','blockName','checkTodoList','getSelectedBlocks','listItem','List','element','LegacyListEditing','commands','end','todoListChecked','before','nextSibling','numbered','listType','editor','forceValue','from','todo','length','afterInit','schema','add','indentList','ELEMENT_LIST_ITEM','*Change\x20to:*\x20%0','_descriptionFactory','filter','ELEMENT_NUMBERED_LIST','commandParams','commandName','formatBlock','previousSibling','createRange','TrackChangesEditing','listIndent','getAttribute','get'];(function(_0x23b0bd,_0x444111){const _0x2a4f96=function(_0x3c716a){while(--_0x3c716a){_0x23b0bd['push'](_0x23b0bd['shift']());}};_0x2a4f96(++_0x444111);}(_0x4441,0xfa));const _0x2a4f=function(_0x23b0bd,_0x444111){_0x23b0bd=_0x23b0bd-0x0;let _0x2a4f96=_0x4441[_0x23b0bd];return _0x2a4f96;};import{Plugin as _0x1fac94}from'ckeditor5/src/core.js';import{getTranslation as _0x20a903}from'../utils/common-translations.js';export default class ut extends _0x1fac94{[_0x2a4f('0x0')](){const _0x1e2f40=this[_0x2a4f('0x3e')],_0x3aaa9b=_0x1e2f40[_0x2a4f('0x21')];if(!_0x1e2f40[_0x2a4f('0x20')][_0x2a4f('0x12')](_0x2a4f('0x36')))return;const _0x734bd=_0x1e2f40[_0x2a4f('0x20')][_0x2a4f('0x11')](_0x2a4f('0xe')),_0x528984=_0x1e2f40[_0x2a4f('0x20')][_0x2a4f('0x12')](_0x2a4f('0x29'));function _0x4425e1(_0x332e26){return()=>{const _0x4206d7=_0x1e2f40[_0x2a4f('0x13')][_0x2a4f('0x2c')][_0x2a4f('0x18')],_0x4d4cb4=_0x1e2f40[_0x2a4f('0x37')][_0x2a4f('0x11')](_0x332e26);if(_0x4d4cb4[_0x2a4f('0x17')])return void _0x1e2f40[_0x2a4f('0x2a')]('paragraph',{});const _0x1e6f5b=_0x332e26[_0x2a4f('0x1f')](0x0,-0x4),_0x26bb05=function(_0x308e16,_0x111b81,_0x362b1e){let _0x11c151=Array[_0x2a4f('0x40')](_0x308e16)['filter'](_0x58b154=>function(_0xd3abde,_0x2fd312){return _0x2fd312['checkChild'](_0xd3abde['parent'],_0x2a4f('0x33'))&&!_0x2fd312['isObject'](_0xd3abde);}(_0x58b154,_0x362b1e));_0x11c151=_0x11c151['filter'](_0x38e6e4=>!_0x38e6e4['is'](_0x2a4f('0x35'),_0x2a4f('0x33'))||_0x38e6e4[_0x2a4f('0x10')](_0x2a4f('0x3d'))!=_0x111b81);const _0x32e4d1=new Set();for(const _0xdf33ab of _0x11c151)_0xdf33ab['is'](_0x2a4f('0x35'),_0x2a4f('0x33'))?_0x32e4d1[_0x2a4f('0x2')](ne(_0xdf33ab)):_0x32e4d1[_0x2a4f('0x2')](_0xdf33ab);return Array[_0x2a4f('0x40')](_0x32e4d1);}(_0x4206d7['getSelectedBlocks'](),_0x1e6f5b,_0x1e2f40[_0x2a4f('0x13')][_0x2a4f('0x1')]);_0x1e2f40['model'][_0x2a4f('0x28')](()=>{for(const _0xa750ea of _0x26bb05)_0x734bd['markBlockFormat'](_0xa750ea,{'commandName':_0x332e26,'commandParams':[{'forceValue':!_0x4d4cb4[_0x2a4f('0x17')]}],'formatGroupId':_0x2a4f('0x30')},oe(_0xa750ea));});};}function _0x291824(_0x1cb9c7){return()=>{const _0x2e091a=function(_0x596118){let _0xa80068=Array[_0x2a4f('0x40')](_0x596118);const _0x5aa329=_0xa80068[_0x2a4f('0x22')](_0x519696=>'listItem'!=_0x519696[_0x2a4f('0x26')]);return _0x5aa329>-0x1&&(_0xa80068=_0xa80068[_0x2a4f('0x1f')](0x0,_0x5aa329)),_0xa80068;}(_0x1e2f40[_0x2a4f('0x13')]['document'][_0x2a4f('0x18')][_0x2a4f('0x32')]()),_0x3442be=_0x1e2f40['model'][_0x2a4f('0xd')](_0x1e2f40[_0x2a4f('0x13')][_0x2a4f('0x1d')](_0x2e091a[0x0],_0x2a4f('0x3a')),_0x1e2f40['model'][_0x2a4f('0x1d')](_0x2e091a[_0x2e091a[_0x2a4f('0x42')]-0x1],_0x2a4f('0x38')));_0x1e2f40['model'][_0x2a4f('0x28')](()=>{_0x734bd['markBlockFormat'](_0x3442be,{'commandName':_0x1cb9c7,'commandParams':[],'formatGroupId':_0x2a4f('0xf')},function(_0xac2699){const _0x118fc7=new Set();for(const _0x546009 of _0xac2699){let _0x38323f=_0x546009[_0x2a4f('0x3b')];for(;_0x38323f&&_0x38323f['getAttribute']('listIndent')>_0x546009[_0x2a4f('0x10')](_0x2a4f('0xf'));)_0x118fc7[_0x2a4f('0x2')](_0x38323f),_0x38323f=_0x38323f[_0x2a4f('0x3b')];}return Array[_0x2a4f('0x40')](_0x118fc7);}(_0x2e091a));});};}_0x734bd['enableCommand'](_0x2a4f('0x1c'),_0x4425e1(_0x2a4f('0x1c'))),_0x734bd[_0x2a4f('0x15')](_0x2a4f('0x25'),_0x4425e1('bulletedList')),_0x528984&&_0x734bd[_0x2a4f('0x15')](_0x2a4f('0x2d'),_0x4425e1(_0x2a4f('0x2d'))),_0x734bd[_0x2a4f('0x15')](_0x2a4f('0x3'),_0x291824(_0x2a4f('0x3'))),_0x734bd[_0x2a4f('0x15')](_0x2a4f('0x2f'),_0x291824('outdentList')),_0x528984&&_0x734bd[_0x2a4f('0x15')]('checkTodoList',()=>{const _0x475cf8=_0x1e2f40['commands'][_0x2a4f('0x11')](_0x2a4f('0x31')),_0x163c4b=Array[_0x2a4f('0x40')](_0x475cf8['_selectedElements']);_0x163c4b[_0x2a4f('0x7')](_0x61ba6e=>_0x61ba6e[_0x2a4f('0x10')](_0x2a4f('0x39'))!=_0x475cf8[_0x2a4f('0x17')]),_0x1e2f40[_0x2a4f('0x13')][_0x2a4f('0x28')](()=>{for(const _0x4326d3 of _0x163c4b)_0x734bd[_0x2a4f('0x19')](_0x4326d3,{'commandName':_0x2a4f('0x31'),'commandParams':[{'forceValue':!_0x475cf8['value']}]});});}),_0x734bd[_0x2a4f('0x6')][_0x2a4f('0x23')](_0x2a4f('0x33'),_0x28fcbf=>_0x20a903(_0x3aaa9b,_0x2a4f('0x4'),_0x28fcbf)),_0x734bd[_0x2a4f('0x6')][_0x2a4f('0x16')](_0x38372b=>{if(_0x2a4f('0xb')!=_0x38372b[_0x2a4f('0x2b')]&&_0x2a4f('0x1a')!=_0x38372b['type'])return;const {data:_0x47fdc1}=_0x38372b;if(_0x47fdc1){if(_0x2a4f('0x1c')==_0x47fdc1[_0x2a4f('0xa')]||_0x2a4f('0x25')==_0x47fdc1[_0x2a4f('0xa')]||_0x2a4f('0x2d')==_0x47fdc1[_0x2a4f('0xa')])switch(_0x47fdc1[_0x2a4f('0xa')][_0x2a4f('0x27')](_0x2a4f('0x34'),'')){case'bulleted':return _0x581d43(_0x20a903(_0x3aaa9b,_0x2a4f('0x1e')));case _0x2a4f('0x3c'):return _0x581d43(_0x20a903(_0x3aaa9b,_0x2a4f('0x8')));case _0x2a4f('0x41'):return _0x581d43(_0x20a903(_0x3aaa9b,'ELEMENT_TODO_LIST'));}if(_0x2a4f('0x3')==_0x47fdc1['commandName'])return{'type':'format','content':_0x20a903(_0x3aaa9b,_0x2a4f('0x2e'),_0x20a903(_0x3aaa9b,'ELEMENT_LIST_ITEM'))};if(_0x2a4f('0x2f')==_0x47fdc1[_0x2a4f('0xa')])return{'type':'format','content':_0x20a903(_0x3aaa9b,_0x2a4f('0x1b'),_0x20a903(_0x3aaa9b,_0x2a4f('0x4')))};if(_0x2a4f('0x31')==_0x47fdc1[_0x2a4f('0xa')])return _0x47fdc1[_0x2a4f('0x9')][0x0][_0x2a4f('0x3f')]?{'type':_0x2a4f('0x24'),'content':_0x20a903(_0x3aaa9b,'*Check\x20item*')}:{'type':'format','content':_0x20a903(_0x3aaa9b,_0x2a4f('0x14'))};}function _0x581d43(_0x5d66bc){return{'type':_0x2a4f('0x24'),'content':_0x20a903(_0x3aaa9b,_0x2a4f('0x5'),_0x5d66bc)};}});}}function ne(_0x8561ff){const _0x17f5ad=_0x8561ff[_0x2a4f('0x10')](_0x2a4f('0xf'));if(0x0==_0x17f5ad)return _0x8561ff;let _0x13785b=_0x8561ff;for(;_0x8561ff[_0x2a4f('0xc')]&&_0x8561ff[_0x2a4f('0xc')]['is'](_0x2a4f('0x35'),'listItem');){const _0x489cf9=_0x8561ff['previousSibling'][_0x2a4f('0x10')](_0x2a4f('0xf'));if(_0x489cf9==_0x17f5ad)_0x13785b=_0x8561ff['previousSibling'];else{if(_0x489cf9<_0x17f5ad)break;}_0x8561ff=_0x8561ff['previousSibling'];}return _0x13785b;}function oe(_0x325e50){const _0x5b5162=[];if(_0x325e50['is'](_0x2a4f('0x35'),_0x2a4f('0x33'))&&_0x325e50[_0x2a4f('0x10')]('listIndent')>0x0){let _0x370968=_0x325e50[_0x2a4f('0x3b')];for(;_0x370968&&'listItem'==_0x370968[_0x2a4f('0x26')]&&_0x370968['getAttribute'](_0x2a4f('0xf'))==_0x325e50['getAttribute'](_0x2a4f('0xf'));)_0x5b5162['push'](_0x370968),_0x370968=_0x370968['nextSibling'];}return _0x5b5162;}
23
+ const _0x9c61=['locale','formatInline','filter','element','registerDescriptionCallback','ELEMENT_TODO_LIST','getSelectedBlocks','*Uncheck\x20item*','getAttribute','plugins','document','commandParams','LegacyListEditing','createRange','ELEMENT_NUMBERED_LIST','TrackChangesEditing','listItem','get','before','*Change\x20to:*\x20%0','*Check\x20item*','numberedList','nextSibling','previousSibling','schema','checkChild','_descriptionFactory','model','type','length','commands','format','listIndent','markBlockFormat','afterInit','bulletedList','LegacyTodoListEditing','outdentList','isObject','enableCommand','replace','registerElementLabel','forceValue','createPositionAt','end','selection','todoListChecked','value','List','indentList','from','blockName','commandName','paragraph','bulleted','execute','slice','checkTodoList','change','name','editor','add','has','ELEMENT_LIST_ITEM','todoList'];(function(_0x49bfa3,_0x9c614b){const _0x4e5fc2=function(_0x2b85f4){while(--_0x2b85f4){_0x49bfa3['push'](_0x49bfa3['shift']());}};_0x4e5fc2(++_0x9c614b);}(_0x9c61,0x19a));const _0x4e5f=function(_0x49bfa3,_0x9c614b){_0x49bfa3=_0x49bfa3-0x0;let _0x4e5fc2=_0x9c61[_0x49bfa3];return _0x4e5fc2;};import{Plugin as _0x12d3bd}from'ckeditor5/src/core.js';import{getTranslation as _0xc1c2e6}from'../utils/common-translations.js';export default class ut extends _0x12d3bd{[_0x4e5f('0xe')](){const _0x35b4c4=this[_0x4e5f('0x28')],_0x5813ba=_0x35b4c4[_0x4e5f('0x2d')];if(!_0x35b4c4[_0x4e5f('0x36')]['has'](_0x4e5f('0x39')))return;const _0x31b405=_0x35b4c4[_0x4e5f('0x36')]['get'](_0x4e5f('0x3c')),_0x842af2=_0x35b4c4[_0x4e5f('0x36')][_0x4e5f('0x2a')](_0x4e5f('0x10'));function _0x5a3fe3(_0x19aeb2){return()=>{const _0x5532c7=_0x35b4c4[_0x4e5f('0x7')][_0x4e5f('0x37')][_0x4e5f('0x19')],_0x3e2ba6=_0x35b4c4[_0x4e5f('0xa')][_0x4e5f('0x3e')](_0x19aeb2);if(_0x3e2ba6['value'])return void _0x35b4c4[_0x4e5f('0x23')](_0x4e5f('0x21'),{});const _0x2ecb82=_0x19aeb2[_0x4e5f('0x24')](0x0,-0x4),_0x44d195=function(_0x35dac1,_0xca59df,_0x159d03){let _0x42c5af=Array['from'](_0x35dac1)[_0x4e5f('0x2f')](_0x15fef3=>function(_0x2b00a2,_0x5e8830){return _0x5e8830[_0x4e5f('0x5')](_0x2b00a2['parent'],_0x4e5f('0x3d'))&&!_0x5e8830[_0x4e5f('0x12')](_0x2b00a2);}(_0x15fef3,_0x159d03));_0x42c5af=_0x42c5af[_0x4e5f('0x2f')](_0x25f6e9=>!_0x25f6e9['is']('element','listItem')||_0x25f6e9[_0x4e5f('0x35')]('listType')!=_0xca59df);const _0x51777b=new Set();for(const _0xdb1810 of _0x42c5af)_0xdb1810['is'](_0x4e5f('0x30'),_0x4e5f('0x3d'))?_0x51777b['add'](ne(_0xdb1810)):_0x51777b['add'](_0xdb1810);return Array['from'](_0x51777b);}(_0x5532c7['getSelectedBlocks'](),_0x2ecb82,_0x35b4c4[_0x4e5f('0x7')][_0x4e5f('0x4')]);_0x35b4c4[_0x4e5f('0x7')][_0x4e5f('0x26')](()=>{for(const _0x4541c7 of _0x44d195)_0x31b405[_0x4e5f('0xd')](_0x4541c7,{'commandName':_0x19aeb2,'commandParams':[{'forceValue':!_0x3e2ba6[_0x4e5f('0x1b')]}],'formatGroupId':_0x4e5f('0x1f')},oe(_0x4541c7));});};}function _0x4a813e(_0x3726be){return()=>{const _0x11f775=function(_0x349286){let _0x493f85=Array[_0x4e5f('0x1e')](_0x349286);const _0x480258=_0x493f85['findIndex'](_0x4336f1=>_0x4e5f('0x3d')!=_0x4336f1[_0x4e5f('0x27')]);return _0x480258>-0x1&&(_0x493f85=_0x493f85['slice'](0x0,_0x480258)),_0x493f85;}(_0x35b4c4[_0x4e5f('0x7')][_0x4e5f('0x37')][_0x4e5f('0x19')][_0x4e5f('0x33')]()),_0x1eff68=_0x35b4c4[_0x4e5f('0x7')][_0x4e5f('0x3a')](_0x35b4c4[_0x4e5f('0x7')]['createPositionAt'](_0x11f775[0x0],_0x4e5f('0x3f')),_0x35b4c4[_0x4e5f('0x7')][_0x4e5f('0x17')](_0x11f775[_0x11f775[_0x4e5f('0x9')]-0x1],_0x4e5f('0x18')));_0x35b4c4[_0x4e5f('0x7')][_0x4e5f('0x26')](()=>{_0x31b405['markBlockFormat'](_0x1eff68,{'commandName':_0x3726be,'commandParams':[],'formatGroupId':_0x4e5f('0xc')},function(_0x5e6611){const _0x230f33=new Set();for(const _0x234370 of _0x5e6611){let _0x4799cd=_0x234370[_0x4e5f('0x2')];for(;_0x4799cd&&_0x4799cd[_0x4e5f('0x35')](_0x4e5f('0xc'))>_0x234370['getAttribute'](_0x4e5f('0xc'));)_0x230f33[_0x4e5f('0x29')](_0x4799cd),_0x4799cd=_0x4799cd[_0x4e5f('0x2')];}return Array['from'](_0x230f33);}(_0x11f775));});};}_0x31b405['enableCommand'](_0x4e5f('0x1'),_0x5a3fe3(_0x4e5f('0x1'))),_0x31b405['enableCommand']('bulletedList',_0x5a3fe3(_0x4e5f('0xf'))),_0x842af2&&_0x31b405[_0x4e5f('0x13')](_0x4e5f('0x2c'),_0x5a3fe3(_0x4e5f('0x2c'))),_0x31b405[_0x4e5f('0x13')](_0x4e5f('0x1d'),_0x4a813e(_0x4e5f('0x1d'))),_0x31b405['enableCommand'](_0x4e5f('0x11'),_0x4a813e(_0x4e5f('0x11'))),_0x842af2&&_0x31b405['enableCommand'](_0x4e5f('0x25'),()=>{const _0x2276f3=_0x35b4c4[_0x4e5f('0xa')][_0x4e5f('0x3e')](_0x4e5f('0x25')),_0xcdcf9d=Array[_0x4e5f('0x1e')](_0x2276f3['_selectedElements']);_0xcdcf9d[_0x4e5f('0x2f')](_0x2ec431=>_0x2ec431[_0x4e5f('0x35')](_0x4e5f('0x1a'))!=_0x2276f3[_0x4e5f('0x1b')]),_0x35b4c4['model'][_0x4e5f('0x26')](()=>{for(const _0x4d1895 of _0xcdcf9d)_0x31b405[_0x4e5f('0xd')](_0x4d1895,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x2276f3[_0x4e5f('0x1b')]}]});});}),_0x31b405[_0x4e5f('0x6')][_0x4e5f('0x15')](_0x4e5f('0x3d'),_0x1a78a0=>_0xc1c2e6(_0x5813ba,_0x4e5f('0x2b'),_0x1a78a0)),_0x31b405[_0x4e5f('0x6')][_0x4e5f('0x31')](_0x3569f7=>{if('formatBlock'!=_0x3569f7[_0x4e5f('0x8')]&&_0x4e5f('0x2e')!=_0x3569f7[_0x4e5f('0x8')])return;const {data:_0x223ea1}=_0x3569f7;if(_0x223ea1){if(_0x4e5f('0x1')==_0x223ea1[_0x4e5f('0x20')]||_0x4e5f('0xf')==_0x223ea1[_0x4e5f('0x20')]||_0x4e5f('0x2c')==_0x223ea1['commandName'])switch(_0x223ea1['commandName'][_0x4e5f('0x14')](_0x4e5f('0x1c'),'')){case _0x4e5f('0x22'):return _0x37b52c(_0xc1c2e6(_0x5813ba,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x37b52c(_0xc1c2e6(_0x5813ba,_0x4e5f('0x3b')));case'todo':return _0x37b52c(_0xc1c2e6(_0x5813ba,_0x4e5f('0x32')));}if(_0x4e5f('0x1d')==_0x223ea1[_0x4e5f('0x20')])return{'type':'format','content':_0xc1c2e6(_0x5813ba,'*Indent:*\x20%0',_0xc1c2e6(_0x5813ba,_0x4e5f('0x2b')))};if(_0x4e5f('0x11')==_0x223ea1[_0x4e5f('0x20')])return{'type':_0x4e5f('0xb'),'content':_0xc1c2e6(_0x5813ba,'*Outdent:*\x20%0',_0xc1c2e6(_0x5813ba,_0x4e5f('0x2b')))};if(_0x4e5f('0x25')==_0x223ea1[_0x4e5f('0x20')])return _0x223ea1[_0x4e5f('0x38')][0x0][_0x4e5f('0x16')]?{'type':_0x4e5f('0xb'),'content':_0xc1c2e6(_0x5813ba,_0x4e5f('0x0'))}:{'type':_0x4e5f('0xb'),'content':_0xc1c2e6(_0x5813ba,_0x4e5f('0x34'))};}function _0x37b52c(_0x2fc64f){return{'type':_0x4e5f('0xb'),'content':_0xc1c2e6(_0x5813ba,_0x4e5f('0x40'),_0x2fc64f)};}});}}function ne(_0x5408f5){const _0xaf012d=_0x5408f5['getAttribute'](_0x4e5f('0xc'));if(0x0==_0xaf012d)return _0x5408f5;let _0x137327=_0x5408f5;for(;_0x5408f5[_0x4e5f('0x3')]&&_0x5408f5['previousSibling']['is'](_0x4e5f('0x30'),'listItem');){const _0x4645df=_0x5408f5[_0x4e5f('0x3')][_0x4e5f('0x35')](_0x4e5f('0xc'));if(_0x4645df==_0xaf012d)_0x137327=_0x5408f5[_0x4e5f('0x3')];else{if(_0x4645df<_0xaf012d)break;}_0x5408f5=_0x5408f5[_0x4e5f('0x3')];}return _0x137327;}function oe(_0x40c64d){const _0x29bcd0=[];if(_0x40c64d['is'](_0x4e5f('0x30'),_0x4e5f('0x3d'))&&_0x40c64d[_0x4e5f('0x35')](_0x4e5f('0xc'))>0x0){let _0x542fb9=_0x40c64d['nextSibling'];for(;_0x542fb9&&_0x4e5f('0x3d')==_0x542fb9[_0x4e5f('0x27')]&&_0x542fb9[_0x4e5f('0x35')]('listIndent')==_0x40c64d['getAttribute'](_0x4e5f('0xc'));)_0x29bcd0['push'](_0x542fb9),_0x542fb9=_0x542fb9[_0x4e5f('0x2')];}return _0x29bcd0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x338f=['LegacyListUtils','listType','commandName','handleListStartCommand','commandParams','formatInline','backward','startIndex','getFirstPosition','document','getSelectedBlocks','handleListReversedCommand','*Format:*\x20set\x20start\x20index\x20to\x20%0','get','styles','config','getSiblingNodes','editor','filter','listItem','numbered','forward','getLastPosition','model','formatBlock','_getTranslationKeyForListStyle','map','getListTypeFromListStyleType','selection','getAttribute','flat','locale','createRange','_getSuggestionBlocks','listStart','replace','type','listReversed','bind','push','format','listStyle','plugins','_getSuggestionBlocksForListStyle','list.properties','before','markMultiRangeBlockFormat','createPositionAt','reversed','TrackChangesEditing','_LIST_','length','registerDescriptionCallback','has','element','parent','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20reversed','change','handleDescriptions','_descriptionFactory','toUpperCase','ELEMENT_'];(function(_0x3bebf1,_0x338f8e){const _0x518c4a=function(_0x4d871d){while(--_0x4d871d){_0x3bebf1['push'](_0x3bebf1['shift']());}};_0x518c4a(++_0x338f8e);}(_0x338f,0x15f));const _0x518c=function(_0x3bebf1,_0x338f8e){_0x3bebf1=_0x3bebf1-0x0;let _0x518c4a=_0x338f[_0x3bebf1];return _0x518c4a;};import{Plugin as _0x563d14}from'ckeditor5/src/core.js';import{getTranslation as _0x284698}from'../utils/common-translations.js';export default class K extends _0x563d14{['afterInit'](){if(!this['editor'][_0x518c('0x6')][_0x518c('0x11')]('LegacyListPropertiesEditing'))return;const _0x186521=this[_0x518c('0x2c')][_0x518c('0x2a')][_0x518c('0x28')](_0x518c('0x8')),_0x397719=this[_0x518c('0x2c')]['plugins'][_0x518c('0x28')](_0x518c('0xd'));_0x186521[_0x518c('0x29')]&&_0x397719['enableCommand'](_0x518c('0x5'),this[_0x518c('0x14')][_0x518c('0x2')](this)),_0x186521[_0x518c('0xc')]&&_0x397719['enableCommand']('listReversed',this[_0x518c('0x26')]['bind'](this)),_0x186521[_0x518c('0x22')]&&_0x397719['enableCommand'](_0x518c('0x3d'),this[_0x518c('0x1e')][_0x518c('0x2')](this)),_0x397719[_0x518c('0x18')][_0x518c('0x10')](this[_0x518c('0x17')]['bind'](this));}[_0x518c('0x14')](_0x21dd30,_0x12b50a={}){const _0x30fdc2=this['editor'][_0x518c('0x6')][_0x518c('0x28')]('TrackChangesEditing'),_0x5eaff7=this[_0x518c('0x7')]();this[_0x518c('0x2c')]['model']['change'](()=>{_0x30fdc2[_0x518c('0xa')](_0x5eaff7,{'commandName':_0x518c('0x5'),'commandParams':[{'type':_0x12b50a['type']}],'formatGroupId':_0x518c('0x5')});});}[_0x518c('0x26')](_0x4ba02c,_0x2fa96f={}){const _0x1188d0=this[_0x518c('0x2c')][_0x518c('0x6')][_0x518c('0x28')](_0x518c('0xd')),_0x299cf0=this[_0x518c('0x3c')](_0x5cf581=>_0x5cf581['is'](_0x518c('0x12'),'listItem')&&'numbered'===_0x5cf581[_0x518c('0x38')](_0x518c('0x1c')));if(_0x299cf0['length']<0x1)return;const _0x145847=_0x299cf0[_0x518c('0x35')](_0x313827=>this[_0x518c('0x2c')][_0x518c('0x32')][_0x518c('0x3b')](this[_0x518c('0x2c')]['model'][_0x518c('0xb')](_0x313827,_0x518c('0x9')),this['editor']['model'][_0x518c('0xb')](_0x313827,0x0)));this['editor'][_0x518c('0x32')][_0x518c('0x16')](()=>{_0x1188d0[_0x518c('0xa')](_0x145847,{'commandName':_0x518c('0x1'),'commandParams':[{'reversed':_0x2fa96f[_0x518c('0xc')]}],'formatGroupId':_0x518c('0x1')});});}['handleListStartCommand'](_0x131668,_0x59e544={}){const _0x68e2bd=this[_0x518c('0x2c')][_0x518c('0x6')][_0x518c('0x28')](_0x518c('0xd')),_0x559d86=this[_0x518c('0x3c')](_0x3f4f2c=>_0x3f4f2c['is'](_0x518c('0x12'),_0x518c('0x2e'))&&_0x518c('0x2f')===_0x3f4f2c['getAttribute'](_0x518c('0x1c')));if(_0x559d86[_0x518c('0xf')]<0x1)return;const _0x22eab4=_0x559d86[_0x518c('0x35')](_0x4abcef=>this['editor']['model'][_0x518c('0x3b')](this['editor'][_0x518c('0x32')][_0x518c('0xb')](_0x4abcef,_0x518c('0x9')),this['editor'][_0x518c('0x32')][_0x518c('0xb')](_0x4abcef,0x0)));this[_0x518c('0x2c')][_0x518c('0x32')][_0x518c('0x16')](()=>{_0x68e2bd[_0x518c('0xa')](_0x22eab4,{'commandName':'listStart','commandParams':[{'startIndex':_0x59e544[_0x518c('0x22')]}],'formatGroupId':_0x518c('0x3d')});});}['handleDescriptions'](_0x2e79d1){if(_0x518c('0x33')!=_0x2e79d1[_0x518c('0x0')]&&_0x518c('0x20')!=_0x2e79d1['type'])return;const _0x781244=this[_0x518c('0x2c')][_0x518c('0x3a')],{data:_0x208a52}=_0x2e79d1;if(!_0x208a52)return;let _0x505968,_0x3dbe2d;switch(_0x208a52[_0x518c('0x1d')]){case'listStyle':_0x505968='*Change\x20to:*\x20%0',_0x3dbe2d={'type':'format','content':_0x284698(_0x781244,_0x505968,_0x284698(_0x781244,this[_0x518c('0x34')](_0x208a52[_0x518c('0x1f')][0x0]['type'])))};break;case _0x518c('0x1'):_0x505968=_0x208a52[_0x518c('0x1f')][0x0][_0x518c('0xc')]?_0x518c('0x15'):'*Format:*\x20set\x20order\x20to\x20regular',_0x3dbe2d={'type':'format','content':_0x284698(_0x781244,_0x505968)};break;case _0x518c('0x3d'):_0x505968=_0x518c('0x27'),_0x3dbe2d={'type':_0x518c('0x4'),'content':_0x284698(_0x781244,_0x505968,_0x208a52[_0x518c('0x1f')][0x0][_0x518c('0x22')])};}return _0x3dbe2d;}[_0x518c('0x7')](){var _0x1efdd0,_0x5e1083,_0x51d19d,_0x50b34a;const _0x5ac767=this['editor'][_0x518c('0x6')]['get'](_0x518c('0x1b'));let _0x59b64f=Array['from'](this[_0x518c('0x2c')][_0x518c('0x32')][_0x518c('0x24')][_0x518c('0x37')][_0x518c('0x25')]());return(null===(_0x1efdd0=_0x59b64f[0x0])||void 0x0===_0x1efdd0?void 0x0:_0x1efdd0['is'](_0x518c('0x12'),_0x518c('0x2e')))&&_0x59b64f['unshift'](..._0x5ac767[_0x518c('0x2b')](this['editor'][_0x518c('0x32')][_0x518c('0x24')]['selection'][_0x518c('0x23')](),'backward')),(null===(_0x5e1083=_0x59b64f[_0x59b64f[_0x518c('0xf')]-0x1])||void 0x0===_0x5e1083?void 0x0:_0x5e1083['is'](_0x518c('0x12'),'listItem'))&&_0x59b64f[_0x518c('0x3')](..._0x5ac767[_0x518c('0x2b')](this['editor']['model']['document']['selection'][_0x518c('0x31')](),_0x518c('0x30'))),_0x59b64f=[...new Set(_0x59b64f)],(null===(_0x50b34a=null===(_0x51d19d=this[_0x518c('0x2c')][_0x518c('0x32')][_0x518c('0x24')][_0x518c('0x37')]['getFirstPosition']())||void 0x0===_0x51d19d?void 0x0:_0x51d19d[_0x518c('0x13')])||void 0x0===_0x50b34a?void 0x0:_0x50b34a['is'](_0x518c('0x12'),_0x518c('0x2e')))&&(_0x59b64f=_0x59b64f[_0x518c('0x2d')](_0x44de88=>_0x44de88['is'](_0x518c('0x12'),'listItem'))),_0x59b64f;}[_0x518c('0x3c')](_0x3e6693){const _0x1ad31f=this['editor'][_0x518c('0x6')][_0x518c('0x28')](_0x518c('0x1b'));let _0x4fa03d=Array['from'](this[_0x518c('0x2c')][_0x518c('0x32')][_0x518c('0x24')][_0x518c('0x37')]['getSelectedBlocks']())['filter'](_0x3e6693)[_0x518c('0x35')](_0x2c5c28=>{const _0x32522b=this['editor'][_0x518c('0x32')][_0x518c('0xb')](_0x2c5c28,0x0);return[..._0x1ad31f[_0x518c('0x2b')](_0x32522b,_0x518c('0x21')),..._0x1ad31f[_0x518c('0x2b')](_0x32522b,'forward')];})[_0x518c('0x39')]();return _0x4fa03d=[...new Set(_0x4fa03d)],_0x4fa03d;}[_0x518c('0x34')](_0x5e6377){return _0x518c('0x1a')+this['editor'][_0x518c('0x6')][_0x518c('0x28')](_0x518c('0x1b'))[_0x518c('0x36')](_0x5e6377)[_0x518c('0x19')]()+_0x518c('0xe')+_0x5e6377['toUpperCase']()[_0x518c('0x3e')](/-/g,'_');}}
23
+ const _0x5a93=['LegacyListPropertiesEditing','flat','_LIST_','ELEMENT_','commandParams','styles','listStart','plugins','list.properties','handleListStyleCommand','startIndex','map','element','markMultiRangeBlockFormat','document','replace','model','LegacyListUtils','editor','length','getFirstPosition','afterInit','listItem','TrackChangesEditing','backward','get','from','selection','_getSuggestionBlocks','filter','*Format:*\x20set\x20order\x20to\x20reversed','parent','formatBlock','bind','push','before','getAttribute','type','has','_descriptionFactory','listReversed','change','getSelectedBlocks','handleListStartCommand','listStyle','*Change\x20to:*\x20%0','format','forward','handleListReversedCommand','createPositionAt','*Format:*\x20set\x20order\x20to\x20regular','createRange','_getSuggestionBlocksForListStyle','reversed','enableCommand','_getTranslationKeyForListStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','numbered','unshift','toUpperCase','getSiblingNodes'];(function(_0x1b8af9,_0x5a931d){const _0x5b2e65=function(_0x1051de){while(--_0x1051de){_0x1b8af9['push'](_0x1b8af9['shift']());}};_0x5b2e65(++_0x5a931d);}(_0x5a93,0xd7));const _0x5b2e=function(_0x1b8af9,_0x5a931d){_0x1b8af9=_0x1b8af9-0x0;let _0x5b2e65=_0x5a93[_0x1b8af9];return _0x5b2e65;};import{Plugin as _0xa1e1e2}from'ckeditor5/src/core.js';import{getTranslation as _0x2e6aea}from'../utils/common-translations.js';export default class K extends _0xa1e1e2{[_0x5b2e('0x32')](){if(!this[_0x5b2e('0x2f')][_0x5b2e('0x24')][_0x5b2e('0x6')](_0x5b2e('0x1d')))return;const _0x23ace2=this['editor']['config'][_0x5b2e('0x36')](_0x5b2e('0x25')),_0x122215=this[_0x5b2e('0x2f')][_0x5b2e('0x24')][_0x5b2e('0x36')]('TrackChangesEditing');_0x23ace2[_0x5b2e('0x22')]&&_0x122215[_0x5b2e('0x16')](_0x5b2e('0xc'),this[_0x5b2e('0x26')][_0x5b2e('0x1')](this)),_0x23ace2['reversed']&&_0x122215[_0x5b2e('0x16')](_0x5b2e('0x8'),this[_0x5b2e('0x10')][_0x5b2e('0x1')](this)),_0x23ace2[_0x5b2e('0x27')]&&_0x122215[_0x5b2e('0x16')](_0x5b2e('0x23'),this[_0x5b2e('0xb')][_0x5b2e('0x1')](this)),_0x122215[_0x5b2e('0x7')]['registerDescriptionCallback'](this['handleDescriptions'][_0x5b2e('0x1')](this));}[_0x5b2e('0x26')](_0x346318,_0x32ec8a={}){const _0x20a081=this[_0x5b2e('0x2f')]['plugins'][_0x5b2e('0x36')](_0x5b2e('0x34')),_0x42d9e3=this[_0x5b2e('0x14')]();this[_0x5b2e('0x2f')][_0x5b2e('0x2d')]['change'](()=>{_0x20a081[_0x5b2e('0x2a')](_0x42d9e3,{'commandName':_0x5b2e('0xc'),'commandParams':[{'type':_0x32ec8a['type']}],'formatGroupId':_0x5b2e('0xc')});});}[_0x5b2e('0x10')](_0xe05696,_0x1000d6={}){const _0x895d94=this['editor']['plugins'][_0x5b2e('0x36')](_0x5b2e('0x34')),_0x3dbf5f=this['_getSuggestionBlocks'](_0x3416b2=>_0x3416b2['is']('element',_0x5b2e('0x33'))&&'numbered'===_0x3416b2[_0x5b2e('0x4')]('listType'));if(_0x3dbf5f[_0x5b2e('0x30')]<0x1)return;const _0x40cb00=_0x3dbf5f[_0x5b2e('0x28')](_0x63a4fa=>this['editor'][_0x5b2e('0x2d')]['createRange'](this[_0x5b2e('0x2f')][_0x5b2e('0x2d')][_0x5b2e('0x11')](_0x63a4fa,_0x5b2e('0x3')),this[_0x5b2e('0x2f')][_0x5b2e('0x2d')][_0x5b2e('0x11')](_0x63a4fa,0x0)));this['editor'][_0x5b2e('0x2d')][_0x5b2e('0x9')](()=>{_0x895d94[_0x5b2e('0x2a')](_0x40cb00,{'commandName':_0x5b2e('0x8'),'commandParams':[{'reversed':_0x1000d6[_0x5b2e('0x15')]}],'formatGroupId':_0x5b2e('0x8')});});}['handleListStartCommand'](_0x4f5195,_0x558d9d={}){const _0x3d0070=this[_0x5b2e('0x2f')][_0x5b2e('0x24')][_0x5b2e('0x36')](_0x5b2e('0x34')),_0xe37e11=this['_getSuggestionBlocks'](_0x9f9ac4=>_0x9f9ac4['is'](_0x5b2e('0x29'),_0x5b2e('0x33'))&&_0x5b2e('0x19')===_0x9f9ac4['getAttribute']('listType'));if(_0xe37e11[_0x5b2e('0x30')]<0x1)return;const _0xea2bf5=_0xe37e11['map'](_0x184629=>this['editor']['model'][_0x5b2e('0x13')](this[_0x5b2e('0x2f')][_0x5b2e('0x2d')][_0x5b2e('0x11')](_0x184629,_0x5b2e('0x3')),this['editor']['model'][_0x5b2e('0x11')](_0x184629,0x0)));this[_0x5b2e('0x2f')][_0x5b2e('0x2d')][_0x5b2e('0x9')](()=>{_0x3d0070[_0x5b2e('0x2a')](_0xea2bf5,{'commandName':_0x5b2e('0x23'),'commandParams':[{'startIndex':_0x558d9d[_0x5b2e('0x27')]}],'formatGroupId':_0x5b2e('0x23')});});}['handleDescriptions'](_0x37f260){if(_0x5b2e('0x0')!=_0x37f260['type']&&'formatInline'!=_0x37f260[_0x5b2e('0x5')])return;const _0x5e0550=this['editor']['locale'],{data:_0x4bb0a0}=_0x37f260;if(!_0x4bb0a0)return;let _0x537ad3,_0x280038;switch(_0x4bb0a0['commandName']){case _0x5b2e('0xc'):_0x537ad3=_0x5b2e('0xd'),_0x280038={'type':_0x5b2e('0xe'),'content':_0x2e6aea(_0x5e0550,_0x537ad3,_0x2e6aea(_0x5e0550,this[_0x5b2e('0x17')](_0x4bb0a0[_0x5b2e('0x21')][0x0][_0x5b2e('0x5')])))};break;case _0x5b2e('0x8'):_0x537ad3=_0x4bb0a0[_0x5b2e('0x21')][0x0][_0x5b2e('0x15')]?_0x5b2e('0x3b'):_0x5b2e('0x12'),_0x280038={'type':'format','content':_0x2e6aea(_0x5e0550,_0x537ad3)};break;case'listStart':_0x537ad3=_0x5b2e('0x18'),_0x280038={'type':_0x5b2e('0xe'),'content':_0x2e6aea(_0x5e0550,_0x537ad3,_0x4bb0a0[_0x5b2e('0x21')][0x0]['startIndex'])};}return _0x280038;}[_0x5b2e('0x14')](){var _0x5482a5,_0x244fa5,_0x114cce,_0x1a53cc;const _0x2864b5=this[_0x5b2e('0x2f')][_0x5b2e('0x24')][_0x5b2e('0x36')](_0x5b2e('0x2e'));let _0x34da48=Array[_0x5b2e('0x37')](this['editor'][_0x5b2e('0x2d')][_0x5b2e('0x2b')]['selection'][_0x5b2e('0xa')]());return(null===(_0x5482a5=_0x34da48[0x0])||void 0x0===_0x5482a5?void 0x0:_0x5482a5['is']('element',_0x5b2e('0x33')))&&_0x34da48[_0x5b2e('0x1a')](..._0x2864b5[_0x5b2e('0x1c')](this[_0x5b2e('0x2f')][_0x5b2e('0x2d')]['document']['selection'][_0x5b2e('0x31')](),_0x5b2e('0x35'))),(null===(_0x244fa5=_0x34da48[_0x34da48['length']-0x1])||void 0x0===_0x244fa5?void 0x0:_0x244fa5['is'](_0x5b2e('0x29'),'listItem'))&&_0x34da48[_0x5b2e('0x2')](..._0x2864b5[_0x5b2e('0x1c')](this[_0x5b2e('0x2f')]['model'][_0x5b2e('0x2b')][_0x5b2e('0x38')]['getLastPosition'](),_0x5b2e('0xf'))),_0x34da48=[...new Set(_0x34da48)],(null===(_0x1a53cc=null===(_0x114cce=this[_0x5b2e('0x2f')][_0x5b2e('0x2d')]['document'][_0x5b2e('0x38')][_0x5b2e('0x31')]())||void 0x0===_0x114cce?void 0x0:_0x114cce[_0x5b2e('0x3c')])||void 0x0===_0x1a53cc?void 0x0:_0x1a53cc['is'](_0x5b2e('0x29'),'listItem'))&&(_0x34da48=_0x34da48[_0x5b2e('0x3a')](_0x2a5584=>_0x2a5584['is'](_0x5b2e('0x29'),'listItem'))),_0x34da48;}[_0x5b2e('0x39')](_0x50f7ae){const _0x2953f6=this[_0x5b2e('0x2f')][_0x5b2e('0x24')][_0x5b2e('0x36')](_0x5b2e('0x2e'));let _0x58fa7f=Array[_0x5b2e('0x37')](this[_0x5b2e('0x2f')][_0x5b2e('0x2d')]['document']['selection'][_0x5b2e('0xa')]())[_0x5b2e('0x3a')](_0x50f7ae)[_0x5b2e('0x28')](_0x33edbe=>{const _0x1294d4=this[_0x5b2e('0x2f')][_0x5b2e('0x2d')][_0x5b2e('0x11')](_0x33edbe,0x0);return[..._0x2953f6[_0x5b2e('0x1c')](_0x1294d4,_0x5b2e('0x35')),..._0x2953f6[_0x5b2e('0x1c')](_0x1294d4,_0x5b2e('0xf'))];})[_0x5b2e('0x1e')]();return _0x58fa7f=[...new Set(_0x58fa7f)],_0x58fa7f;}[_0x5b2e('0x17')](_0x148bba){return _0x5b2e('0x20')+this[_0x5b2e('0x2f')][_0x5b2e('0x24')][_0x5b2e('0x36')]('LegacyListUtils')['getListTypeFromListStyleType'](_0x148bba)[_0x5b2e('0x1b')]()+_0x5b2e('0x1f')+_0x148bba[_0x5b2e('0x1b')]()[_0x5b2e('0x2c')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5379=['manualDecorators','_descriptionFactory','editor','unlink','toLowerCase','format','get','linkHref','_enableDefaultAttributesIntegration','locale','registerDescriptionCallback','commandName','map','LinkEditing','*Remove\x20link*','formatInline','*Set\x20link:*\x20%0','commandParams','has','link\x20(','TrackChangesEditing','afterInit','link','_registerLegacyDescription','type','registerAttributeLabel','label'];(function(_0x5df565,_0x537983){const _0x4b8bba=function(_0x59df22){while(--_0x59df22){_0x5df565['push'](_0x5df565['shift']());}};_0x4b8bba(++_0x537983);}(_0x5379,0x1ef));const _0x4b8b=function(_0x5df565,_0x537983){_0x5df565=_0x5df565-0x0;let _0x4b8bba=_0x5379[_0x5df565];return _0x4b8bba;};import{Plugin as _0xcee25c}from'ckeditor5/src/core.js';import{getTranslation as _0x16d35b}from'../utils/common-translations.js';export default class ct extends _0xcee25c{[_0x4b8b('0xc')](){const _0x352595=this['editor'];if(!_0x352595['plugins'][_0x4b8b('0x9')](_0x4b8b('0x4')))return;const _0x398548=_0x352595['plugins']['get'](_0x4b8b('0xb')),_0x3b1c13=_0x352595['commands']['get']('link');_0x398548[_0x4b8b('0x1a')]('link',['linkHref',..._0x3b1c13[_0x4b8b('0x12')][_0x4b8b('0x3')](_0x1dcd31=>_0x1dcd31['id'])]),_0x398548[_0x4b8b('0x1a')](_0x4b8b('0x15'));for(const _0x5f327b of _0x3b1c13[_0x4b8b('0x12')])_0x398548[_0x4b8b('0x13')][_0x4b8b('0x10')](_0x5f327b['id'],_0x4b8b('0xa')+_0x5f327b[_0x4b8b('0x11')][_0x4b8b('0x16')]()+')');_0x398548['_descriptionFactory'][_0x4b8b('0x1')](_0x409046=>{if('attribute'!=_0x409046[_0x4b8b('0xf')])return;const {data:_0x3c0f8c}=_0x409046;if(!_0x3c0f8c||_0x4b8b('0x19')!=_0x3c0f8c['key'])return;const _0x436c55=_0x3c0f8c['newValue'],_0x26a720=_0x352595['locale'];return{'type':'format','content':null==_0x436c55?_0x16d35b(_0x26a720,_0x4b8b('0x5')):_0x16d35b(_0x26a720,_0x4b8b('0x7'),'\x22'+_0x436c55+'\x22')};}),this[_0x4b8b('0xe')]();}[_0x4b8b('0xe')](){const _0x3f1e5f=this[_0x4b8b('0x14')],_0x3c6628=_0x3f1e5f[_0x4b8b('0x0')];_0x3f1e5f['plugins'][_0x4b8b('0x18')]('TrackChangesEditing')[_0x4b8b('0x13')][_0x4b8b('0x1')](_0x2a0c83=>{if(_0x4b8b('0x6')!=_0x2a0c83['type'])return;const {data:_0x42fd36}=_0x2a0c83;if(_0x42fd36){if(_0x4b8b('0xd')==_0x42fd36['commandName']){const _0x4e3f51=_0x42fd36[_0x4b8b('0x8')][0x0];return{'type':_0x4b8b('0x17'),'content':_0x16d35b(_0x3c6628,_0x4b8b('0x7'),'\x22'+_0x4e3f51+'\x22')};}return _0x4b8b('0x15')==_0x42fd36[_0x4b8b('0x2')]?{'type':_0x4b8b('0x17'),'content':_0x16d35b(_0x3c6628,_0x4b8b('0x5'))}:void 0x0;}});}}
23
+ const _0x303e=['key','commandParams','registerAttributeLabel','commandName','_enableDefaultAttributesIntegration','get','link','*Set\x20link:*\x20%0','type','_descriptionFactory','editor','format','link\x20(','registerDescriptionCallback','formatInline','commands','has','*Remove\x20link*','_registerLegacyDescription','label','plugins','locale','TrackChangesEditing','unlink','linkHref','manualDecorators','attribute'];(function(_0x1f37f2,_0x303e61){const _0x317288=function(_0x1f0e3e){while(--_0x1f0e3e){_0x1f37f2['push'](_0x1f37f2['shift']());}};_0x317288(++_0x303e61);}(_0x303e,0xe7));const _0x3172=function(_0x1f37f2,_0x303e61){_0x1f37f2=_0x1f37f2-0x0;let _0x317288=_0x303e[_0x1f37f2];return _0x317288;};import{Plugin as _0x425b9c}from'ckeditor5/src/core.js';import{getTranslation as _0x1afb36}from'../utils/common-translations.js';export default class ct extends _0x425b9c{['afterInit'](){const _0x124640=this[_0x3172('0x16')];if(!_0x124640[_0x3172('0x5')][_0x3172('0x1')]('LinkEditing'))return;const _0x33f658=_0x124640['plugins']['get'](_0x3172('0x7')),_0x16ce7a=_0x124640[_0x3172('0x0')][_0x3172('0x11')](_0x3172('0x12'));_0x33f658[_0x3172('0x10')](_0x3172('0x12'),[_0x3172('0x9'),..._0x16ce7a[_0x3172('0xa')]['map'](_0x3416e8=>_0x3416e8['id'])]),_0x33f658[_0x3172('0x10')](_0x3172('0x8'));for(const _0x193670 of _0x16ce7a[_0x3172('0xa')])_0x33f658[_0x3172('0x15')][_0x3172('0xe')](_0x193670['id'],_0x3172('0x18')+_0x193670[_0x3172('0x4')]['toLowerCase']()+')');_0x33f658[_0x3172('0x15')][_0x3172('0x19')](_0x548c06=>{if(_0x3172('0xb')!=_0x548c06[_0x3172('0x14')])return;const {data:_0x33bc16}=_0x548c06;if(!_0x33bc16||_0x3172('0x9')!=_0x33bc16[_0x3172('0xc')])return;const _0x4dcae6=_0x33bc16['newValue'],_0xf93c4e=_0x124640[_0x3172('0x6')];return{'type':_0x3172('0x17'),'content':null==_0x4dcae6?_0x1afb36(_0xf93c4e,_0x3172('0x2')):_0x1afb36(_0xf93c4e,_0x3172('0x13'),'\x22'+_0x4dcae6+'\x22')};}),this[_0x3172('0x3')]();}[_0x3172('0x3')](){const _0x2946bb=this[_0x3172('0x16')],_0xac094f=_0x2946bb['locale'];_0x2946bb[_0x3172('0x5')][_0x3172('0x11')](_0x3172('0x7'))[_0x3172('0x15')][_0x3172('0x19')](_0x35c8e2=>{if(_0x3172('0x1a')!=_0x35c8e2[_0x3172('0x14')])return;const {data:_0x232251}=_0x35c8e2;if(_0x232251){if(_0x3172('0x12')==_0x232251[_0x3172('0xf')]){const _0x25eee4=_0x232251[_0x3172('0xd')][0x0];return{'type':_0x3172('0x17'),'content':_0x1afb36(_0xac094f,'*Set\x20link:*\x20%0','\x22'+_0x25eee4+'\x22')};}return _0x3172('0x8')==_0x232251[_0x3172('0xf')]?{'type':_0x3172('0x17'),'content':_0x1afb36(_0xac094f,_0x3172('0x2'))}:void 0x0;}});}}