@ckeditor/ckeditor5-track-changes 35.3.2 → 36.0.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 (156) hide show
  1. package/build/track-changes.js +3 -2
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/az.js +1 -0
  4. package/build/translations/bg.js +1 -0
  5. package/build/translations/bn.js +1 -0
  6. package/build/translations/ca.js +1 -0
  7. package/build/translations/cs.js +1 -0
  8. package/build/translations/da.js +1 -0
  9. package/build/translations/de.js +1 -0
  10. package/build/translations/el.js +1 -0
  11. package/build/translations/en-au.js +1 -0
  12. package/build/translations/es.js +1 -0
  13. package/build/translations/et.js +1 -0
  14. package/build/translations/fi.js +1 -0
  15. package/build/translations/fr.js +1 -0
  16. package/build/translations/gl.js +1 -0
  17. package/build/translations/he.js +1 -0
  18. package/build/translations/hi.js +1 -0
  19. package/build/translations/hr.js +1 -0
  20. package/build/translations/hu.js +1 -0
  21. package/build/translations/id.js +1 -0
  22. package/build/translations/it.js +1 -0
  23. package/build/translations/ja.js +1 -0
  24. package/build/translations/ko.js +1 -0
  25. package/build/translations/lt.js +1 -0
  26. package/build/translations/lv.js +1 -0
  27. package/build/translations/ms.js +1 -0
  28. package/build/translations/nl.js +1 -0
  29. package/build/translations/no.js +1 -0
  30. package/build/translations/pl.js +1 -0
  31. package/build/translations/pt-br.js +1 -0
  32. package/build/translations/pt.js +1 -0
  33. package/build/translations/ro.js +1 -0
  34. package/build/translations/ru.js +1 -0
  35. package/build/translations/sk.js +1 -0
  36. package/build/translations/sr-latn.js +1 -0
  37. package/build/translations/sr.js +1 -0
  38. package/build/translations/sv.js +1 -0
  39. package/build/translations/th.js +1 -0
  40. package/build/translations/tk.js +1 -0
  41. package/build/translations/tr.js +1 -0
  42. package/build/translations/tt.js +1 -0
  43. package/build/translations/uk.js +1 -0
  44. package/build/translations/ur.js +1 -0
  45. package/build/translations/vi.js +1 -0
  46. package/build/translations/zh-cn.js +1 -0
  47. package/build/translations/zh.js +1 -0
  48. package/lang/contexts.json +16 -0
  49. package/lang/translations/ar.po +68 -4
  50. package/lang/translations/az.po +65 -1
  51. package/lang/translations/bg.po +68 -4
  52. package/lang/translations/bn.po +68 -4
  53. package/lang/translations/ca.po +68 -4
  54. package/lang/translations/cs.po +68 -4
  55. package/lang/translations/da.po +68 -4
  56. package/lang/translations/de.po +68 -4
  57. package/lang/translations/el.po +68 -4
  58. package/lang/translations/en-au.po +65 -1
  59. package/lang/translations/en.po +65 -1
  60. package/lang/translations/es.po +68 -4
  61. package/lang/translations/et.po +68 -4
  62. package/lang/translations/fi.po +68 -4
  63. package/lang/translations/fr.po +68 -4
  64. package/lang/translations/gl.po +65 -1
  65. package/lang/translations/he.po +68 -4
  66. package/lang/translations/hi.po +68 -4
  67. package/lang/translations/hr.po +65 -1
  68. package/lang/translations/hu.po +68 -4
  69. package/lang/translations/id.po +68 -4
  70. package/lang/translations/it.po +68 -4
  71. package/lang/translations/ja.po +68 -4
  72. package/lang/translations/ko.po +68 -4
  73. package/lang/translations/lt.po +68 -4
  74. package/lang/translations/lv.po +68 -4
  75. package/lang/translations/ms.po +68 -4
  76. package/lang/translations/nl.po +68 -4
  77. package/lang/translations/no.po +68 -4
  78. package/lang/translations/pl.po +68 -4
  79. package/lang/translations/pt-br.po +68 -4
  80. package/lang/translations/pt.po +68 -4
  81. package/lang/translations/ro.po +68 -4
  82. package/lang/translations/ru.po +68 -4
  83. package/lang/translations/sk.po +68 -4
  84. package/lang/translations/sr-latn.po +68 -4
  85. package/lang/translations/sr.po +69 -5
  86. package/lang/translations/sv.po +68 -4
  87. package/lang/translations/th.po +68 -4
  88. package/lang/translations/tk.po +65 -1
  89. package/lang/translations/tr.po +68 -4
  90. package/lang/translations/tt.po +65 -1
  91. package/lang/translations/uk.po +68 -4
  92. package/lang/translations/ur.po +65 -1
  93. package/lang/translations/vi.po +68 -4
  94. package/lang/translations/zh-cn.po +68 -4
  95. package/lang/translations/zh.po +68 -4
  96. package/package.json +4 -4
  97. package/src/commands/acceptsuggestioncommand.js +2 -2
  98. package/src/commands/discardsuggestioncommand.js +2 -2
  99. package/src/commands/executeonallsuggestionscommand.js +2 -2
  100. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  101. package/src/commands/trackchangescommand.js +2 -2
  102. package/src/index.js +1 -1
  103. package/src/integrations/alignment.js +2 -2
  104. package/src/integrations/basicstyles.js +2 -2
  105. package/src/integrations/blockquote.js +2 -2
  106. package/src/integrations/ckbox.js +2 -2
  107. package/src/integrations/codeblock.js +2 -2
  108. package/src/integrations/comments.js +2 -2
  109. package/src/integrations/deletecommand.js +2 -2
  110. package/src/integrations/documentlist.js +2 -2
  111. package/src/integrations/documentlistproperties.js +23 -0
  112. package/src/integrations/entercommand.js +2 -2
  113. package/src/integrations/findandreplace.js +23 -0
  114. package/src/integrations/font.js +2 -2
  115. package/src/integrations/heading.js +2 -2
  116. package/src/integrations/highlight.js +2 -2
  117. package/src/integrations/horizontalline.js +2 -2
  118. package/src/integrations/htmlembed.js +2 -2
  119. package/src/integrations/image.js +2 -2
  120. package/src/integrations/imagereplace.js +23 -0
  121. package/src/integrations/importword.js +2 -2
  122. package/src/integrations/indent.js +2 -2
  123. package/src/integrations/inputcommand.js +2 -2
  124. package/src/integrations/link.js +2 -2
  125. package/src/integrations/list.js +2 -2
  126. package/src/integrations/listproperties.js +23 -0
  127. package/src/integrations/mediaembed.js +2 -2
  128. package/src/integrations/mention.js +2 -2
  129. package/src/integrations/pagebreak.js +2 -2
  130. package/src/integrations/paragraph.js +2 -2
  131. package/src/integrations/removeformat.js +2 -2
  132. package/src/integrations/restrictededitingmode.js +2 -2
  133. package/src/integrations/shiftentercommand.js +2 -2
  134. package/src/integrations/standardeditingmode.js +2 -2
  135. package/src/integrations/style.js +2 -2
  136. package/src/integrations/table.js +2 -2
  137. package/src/integrations/tablecaption.js +2 -2
  138. package/src/integrations/tableclipboard.js +2 -2
  139. package/src/integrations/tablecolumnresize.js +23 -0
  140. package/src/integrations/tableheadings.js +2 -2
  141. package/src/integrations/tablemergesplit.js +2 -2
  142. package/src/integrations/tableproperties.js +23 -0
  143. package/src/integrations/title.js +2 -2
  144. package/src/integrations/undo.js +2 -2
  145. package/src/integrations/utils.js +2 -2
  146. package/src/suggestion.js +2 -2
  147. package/src/suggestiondescriptionfactory.js +2 -2
  148. package/src/trackchanges.js +2 -2
  149. package/src/trackchangesdata.js +2 -2
  150. package/src/trackchangesediting.js +2 -2
  151. package/src/trackchangesui.js +2 -2
  152. package/src/ui/suggestioncontroller.js +2 -2
  153. package/src/ui/view/basesuggestionthreadview.js +2 -2
  154. package/src/ui/view/suggestionthreadview.js +2 -2
  155. package/src/utils/common-translations.js +2 -2
  156. package/src/utils/utils.js +2 -2
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9fac=['head','getAttribute','createRangeOn','imageTextAlternative','toPrevious','document','ImageStyleEditing','newRange','getCaptionFromImageModelElement','isCollapsed','imageTypeInline','change','*Set\x20image\x20text\x20alternative:*\x20%0','isInlineImage','imageStylePostApply','resizeImage','getSuggestion','isOwn','subType','markInlineFormat','Inline\x20image\x20to\x20block\x20image','schema','toNext','ImageUploadEditing','toggleImageCaption','isIntersecting','nodeBefore','commandName','refresh','registerPostFixer','afterInit','normalizedStyles','title','_splitMarkerName','hasSuggestion','formatBlock','*Reset\x20image\x20width*','start','alt','ImageCaptionUtils','convertBlockImageToInline','registerElementLabel','shouldConvertImageType','imageTypeBlock','imageStyle','_suggestionFactory','ImageTextAlternativeEditing','filter','commandParams','getSuggestions','next','format','insertion','name','getFirstRange','getNearestSelectionRange','newValue','Users','_descriptionFactory','forEach','getClosestSelectedImageElement','caption','registerCustomCallback','end','markInsertion','forward','length','imageInline','*Set\x20image\x20width:*\x20%0','value','*Remove\x20image\x20text\x20alternative*','type','detach','getSuggestionCallback','ELEMENT_IMAGE','ImageCaptionEditing','Block\x20image\x20to\x20inline\x20image','FORMAT_SIDE_IMAGE','markBlockFormat','suggestion','find','registerDescriptionCallback','_findSuggestions','commands','getChangedMarkers','*Format:*\x20%0','plugins','chain','backward','TrackChangesEditing','width','ELEMENT_INLINE_IMAGE','addObject','isBlockImage','createRange','isInContent','enableCommand','imageStylePreApply','getContainedElement','discardSuggestion','isEqual','get','locale','selection','author','side','convertInlineImageToBlock','discard','model','nodeAfter','fromPosition','accept','findIndex','insertImage','join','has','differ','imageCaption','commandReversedParams','uploadImage','previous','isBefore'];(function(_0x470a79,_0x9fac1){const _0x58350c=function(_0x279e7e){while(--_0x279e7e){_0x470a79['push'](_0x470a79['shift']());}};_0x58350c(++_0x9fac1);}(_0x9fac,0x18e));const _0x5835=function(_0x470a79,_0x9fac1){_0x470a79=_0x470a79-0x0;let _0x58350c=_0x9fac[_0x470a79];return _0x58350c;};import{Plugin as _0x4ba67f}from'ckeditor5/src/core';import{LivePosition as _0x4a46bd}from'ckeditor5/src/engine';import{uid as _0x92ff32}from'ckeditor5/src/utils';import{getTranslation as _0xe3b8f3}from'../utils/common-translations';export default class V extends _0x4ba67f{[_0x5835('0x78')](){const _0x5834f5=this['editor'];if(!_0x5834f5[_0x5835('0x36')][_0x5835('0x53')]('ImageEditing'))return;const _0x50d537=_0x5834f5[_0x5835('0x36')][_0x5835('0x45')](_0x5835('0x39')),_0x256f2a=_0x5834f5[_0x5835('0x36')]['get']('ImageUtils'),_0x23cca4={},_0x5ce467=_0x5834f5[_0x5835('0x46')];if(_0x50d537[_0x5835('0x40')](_0x5835('0x51')),_0x50d537['_descriptionFactory'][_0x5835('0x9')]('imageBlock',_0x765a6c=>_0xe3b8f3(_0x5ce467,_0x5835('0x2a'),_0x765a6c)),_0x50d537[_0x5835('0x1a')][_0x5835('0x9')](_0x5835('0x23'),_0x16e106=>_0xe3b8f3(_0x5ce467,_0x5835('0x3b'),_0x16e106)),_0x50d537[_0x5835('0x1a')][_0x5835('0x9')](_0x5835('0x1d'),()=>_0xe3b8f3(_0x5ce467,'ELEMENT_CAPTION')),_0x5834f5['plugins'][_0x5835('0x53')](_0x5835('0x71'))&&_0x50d537[_0x5835('0x40')](_0x5835('0x57')),_0x5834f5[_0x5835('0x36')][_0x5835('0x53')]('ImageBlockEditing')&&_0x5834f5[_0x5835('0x36')]['has']('ImageInlineEditing')&&(_0x50d537[_0x5835('0x40')]('imageTypeInline',(_0x54b077,_0x54de58)=>{const _0x343149=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x47')]);_0x5834f5[_0x5835('0x4c')][_0x5835('0x65')](()=>{_0x50d537[_0x5835('0x2e')](_0x343149,{'commandName':_0x5835('0x64'),'commandParams':[_0x54de58]},[],_0x5835('0x8'));});}),_0x50d537[_0x5835('0x40')](_0x5835('0xb'),(_0x2732db,_0x428b31)=>{_0x5834f5['model'][_0x5835('0x65')](_0x5a800e=>{let _0x3e6c94=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')]['selection']),_0x531d47=_0x5a800e[_0x5835('0x5c')](_0x3e6c94);const _0x433925=_0x4a46bd['fromPosition'](_0x531d47[_0x5835('0x5')],_0x5835('0x5e')),_0x1c5223=_0x4a46bd[_0x5835('0x4e')](_0x531d47['end'],_0x5835('0x70'));_0x50d537['forceDefaultExecution'](()=>_0x2732db(_0x428b31)),_0x3e6c94=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')]['document']['selection']),_0x531d47=_0x5a800e[_0x5835('0x5c')](_0x3e6c94);const _0x31f412=_0x5a800e['createRange'](_0x433925,_0x1c5223);_0x433925[_0x5835('0x28')](),_0x1c5223[_0x5835('0x28')](),_0x50d537[_0x5835('0x2e')](_0x3e6c94,{'commandName':_0x5835('0x64')},[],_0x5835('0x4a')),_0x31f412[_0x5835('0x5')]['isBefore'](_0x531d47[_0x5835('0x5')])&&_0x50d537[_0x5835('0x20')](_0x5a800e[_0x5835('0x3e')](_0x31f412['start'],_0x531d47['start']),_0x5835('0x4a')),_0x531d47[_0x5835('0x1f')]['isBefore'](_0x31f412['end'])&&_0x50d537[_0x5835('0x20')](_0x5a800e['createRange'](_0x531d47[_0x5835('0x1f')],_0x31f412[_0x5835('0x1f')]),_0x5835('0x4a'));});}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x4a'),_0x5835('0x52'),()=>{}),_0x50d537['_suggestionFactory'][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x4a'),_0x5835('0x4f'),()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x4a'),_0x5835('0x4b'),_0x50d537['_suggestionFactory'][_0x5835('0x29')](_0x5835('0x3'),'',_0x5835('0x4f'))),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x14'),_0x5835('0x4a'),_0x5835('0x52'),()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')]('insertion',_0x5835('0x4a'),_0x5835('0x4b'),([_0xf44232])=>{const _0x3e93f8=_0x50d537[_0x5835('0xd')][_0x5835('0x29')](_0x5835('0x14'),'',_0x5835('0x4b'));let _0x1da0b8=_0xf44232[_0x5835('0x5')],_0x41a3fb=_0xf44232[_0x5835('0x1f')];const _0x38a094=_0x5834f5[_0x5835('0x4c')][_0x5835('0x6f')][_0x5835('0x17')](_0x1da0b8,_0x5835('0x38')),_0x1e05ab=_0x5834f5[_0x5835('0x4c')][_0x5835('0x6f')][_0x5835('0x17')](_0x41a3fb,_0x5835('0x21'));_0x38a094[_0x5835('0x63')]&&(_0x1da0b8=_0x38a094['start']),_0x1e05ab[_0x5835('0x63')]&&(_0x41a3fb=_0x1e05ab[_0x5835('0x1f')]),_0x3e93f8([_0x5834f5[_0x5835('0x4c')]['createRange'](_0x1da0b8,_0x41a3fb)]);}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x4a'),'chain',_0x2e3d0c),_0x50d537['_suggestionFactory'][_0x5835('0x1e')](_0x5835('0x14'),_0x5835('0x4a'),'chain',_0x2e3d0c)),_0x5834f5[_0x5835('0x36')]['has'](_0x5835('0x2b'))&&(_0x50d537['enableCommand'](_0x5835('0x72'),(_0x3215e4,_0x2bea09)=>{const _0x3d5b4e=_0x5834f5['plugins'][_0x5835('0x45')](_0x5835('0x7'));let _0x4f3d02=_0x256f2a[_0x5835('0x1c')](_0x5834f5['model'][_0x5835('0x5f')][_0x5835('0x47')]),_0x4c2e2f=_0x3d5b4e[_0x5835('0x62')](_0x4f3d02);_0x5834f5['model'][_0x5835('0x65')](()=>{if(_0x4c2e2f)return void _0x50d537['markDeletion'](_0x5834f5['model'][_0x5835('0x5c')](_0x4c2e2f));const _0x20e5d8=_0x256f2a[_0x5835('0x3d')](_0x4f3d02);_0x3215e4(_0x2bea09),_0x4f3d02=_0x256f2a[_0x5835('0x1c')](_0x5834f5['model'][_0x5835('0x5f')][_0x5835('0x47')]),_0x4c2e2f=_0x3d5b4e['getCaptionFromImageModelElement'](_0x4f3d02),_0x50d537[_0x5835('0x20')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5c')](_0x4c2e2f),_0x20e5d8?null:_0x5835('0x55'));});}),_0x50d537[_0x5835('0xd')]['registerCustomCallback'](_0x5835('0x14'),_0x5835('0x55'),_0x5835('0x37'),_0x2e3d0c)),_0x5834f5[_0x5835('0x36')]['has'](_0x5835('0x60'))){_0x50d537['enableCommand'](_0x5835('0xc'),(_0x2e8feb,_0x365955)=>{const _0x1e8466=_0x5834f5['plugins'][_0x5835('0x45')](_0x5835('0x19'))['me'],_0x13b67c=_0x5834f5['commands'][_0x5835('0x45')](_0x5835('0xc'));let _0xa70978=_0x256f2a['getClosestSelectedImageElement'](_0x5834f5['model'][_0x5835('0x5f')][_0x5835('0x47')]),_0x401f2d=_0x5834f5[_0x5835('0x4c')][_0x5835('0x5c')](_0xa70978),_0x59dfe2=_0x13b67c[_0x5835('0x25')];if(_0x59dfe2==_0x365955['value'])return;const _0x5ec510={'commandName':_0x5835('0xc'),'commandParams':[_0x365955],'formatGroupId':_0x92ff32()};_0x5834f5['model'][_0x5835('0x65')](()=>{if(_0x50d537[_0x5835('0x11')]()[_0x5835('0xf')](_0x678130=>_0x678130[_0x5835('0x3f')]&&_0x1e8466==_0x678130[_0x5835('0x48')]&&('formatBlock'==_0x678130[_0x5835('0x27')]||'formatInline'==_0x678130[_0x5835('0x27')])&&(_0x5835('0x41')==_0x678130[_0x5835('0x6c')]||_0x5835('0x68')==_0x678130[_0x5835('0x6c')])&&_0x678130[_0x5835('0x16')]()[_0x5835('0x44')](_0x401f2d))[_0x5835('0x1b')](_0x1d6e21=>_0x50d537[_0x5835('0x43')](_0x1d6e21[_0x5835('0x5a')])),_0xa70978=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x47')]),_0x401f2d=_0x5834f5[_0x5835('0x4c')][_0x5835('0x5c')](_0xa70978),_0x13b67c[_0x5835('0x76')](),_0x5834f5[_0x5835('0x33')][_0x5835('0x45')]('imageTypeInline')['refresh'](),_0x5834f5[_0x5835('0x33')][_0x5835('0x45')](_0x5835('0xb'))[_0x5835('0x76')](),_0x59dfe2=_0x13b67c['value'],_0x59dfe2!=_0x365955[_0x5835('0x25')])return _0x256f2a[_0x5835('0x67')](_0xa70978)&&_0x13b67c[_0x5835('0xa')](_0x365955[_0x5835('0x25')],_0xa70978)?(_0x2e8feb(_0x365955),_0xa70978=_0x256f2a[_0x5835('0x1c')](_0x5834f5['model'][_0x5835('0x5f')][_0x5835('0x47')]),void _0x50d537[_0x5835('0x2e')](_0xa70978,{..._0x5ec510,'commandReversedParams':[{'value':_0x59dfe2||null}]},[],_0x5835('0x41'))):void(_0x256f2a['isBlockImage'](_0xa70978)?_0x50d537[_0x5835('0x2e')](_0xa70978,_0x5ec510,[],_0x5835('0x68')):_0x50d537[_0x5835('0x6d')](_0x401f2d,_0x5ec510,_0x5835('0x68')));});});for(const _0x227bad of _0x5834f5[_0x5835('0x36')][_0x5835('0x45')](_0x5835('0x60'))[_0x5835('0x79')])_0x23cca4[_0x227bad[_0x5835('0x15')]]=_0x227bad[_0x5835('0x0')]['toLowerCase']();_0x50d537['_suggestionFactory'][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x41'),_0x5835('0x52'),()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x68'),_0x5835('0x52'),()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')]('formatInline',_0x5835('0x68'),_0x5835('0x52'),()=>{}),_0x50d537['_suggestionFactory'][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x41'),'accept',()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),'imageStylePreApply',_0x5835('0x4b'),(_0x5f8cc0,_0x229c60)=>{_0x50d537['_suggestionFactory'][_0x5835('0x29')](_0x5835('0x3'),'',_0x5835('0x4f'))(_0x5f8cc0,{'commandName':_0x229c60[_0x5835('0x75')],'commandParams':_0x229c60[_0x5835('0x56')]});}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')]('formatBlock','imageStylePreApply',_0x5835('0x37'),_0x2e3d0c);}const _0x481d74=[{'type':'formatBlock','subType':_0x5835('0x41')},{'type':_0x5835('0x14'),'subType':_0x5835('0x55')},{'type':_0x5835('0x3'),'subType':_0x5835('0x4a')},{'type':_0x5835('0x14'),'subType':_0x5835('0x4a')}];function _0x248480(_0x23055f,_0x5ede26){const _0x169c0e=_0x481d74['findIndex'](({type:_0x21818c,subType:_0x3bc6de})=>_0x23055f[_0x5835('0x27')]==_0x21818c&&_0x23055f[_0x5835('0x6c')]==_0x3bc6de),_0x3b1476=_0x481d74[_0x5835('0x50')](({type:_0x6e591f,subType:_0x2c1d3d})=>_0x5ede26['type']==_0x6e591f&&_0x5ede26[_0x5835('0x6c')]==_0x2c1d3d);if(_0x169c0e<0x0||_0x3b1476<0x0)return!0x1;const _0x44c246=_0x23055f[_0x5835('0x16')](),_0xb2ba43=_0x5ede26[_0x5835('0x16')]();if((0x0==_0x169c0e||0x1==_0x169c0e)&&0x2==_0x3b1476&&_0x44c246[_0x5835('0x73')](_0xb2ba43))return!0x0;if(0x2==_0x169c0e&&0x3==_0x3b1476){const _0x22fdb8=_0x50d537[_0x5835('0x32')](_0x44c246,_0x5835('0x14'))['filter'](({suggestion:_0x2d8390,meta:_0x303a7b})=>_0x303a7b[_0x5835('0x6b')]&&_0x5835('0x4a')==_0x2d8390[_0x5835('0x6c')]);if(_0x22fdb8['length']>0x1&&_0xb2ba43[_0x5835('0x1f')][_0x5835('0x44')](_0x44c246['start']))return!0x0;if(0x1==_0x22fdb8[_0x5835('0x22')]&&(_0x44c246[_0x5835('0x5')]['isEqual'](_0xb2ba43[_0x5835('0x1f')])||_0x44c246['end'][_0x5835('0x44')](_0xb2ba43[_0x5835('0x5')])))return!0x0;}if(0x3==_0x169c0e&&0x3==_0x3b1476&&_0x44c246[_0x5835('0x5')][_0x5835('0x59')](_0xb2ba43['start'])){const _0x8293e8=_0x44c246['end'][_0x5835('0x4d')],_0x50522c=_0xb2ba43['start'][_0x5835('0x74')];return _0x256f2a[_0x5835('0x3d')](_0x8293e8)&&_0x8293e8===_0x50522c;}return!0x1;}function _0x2e3d0c(_0x3ae3aa,_0x34cb1b){return _0x248480(_0x3ae3aa,_0x34cb1b)?[_0x3ae3aa,_0x34cb1b]:_0x248480(_0x34cb1b,_0x3ae3aa)?[_0x34cb1b,_0x3ae3aa]:null;}_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x77')](()=>{let _0x55313a=!0x1;const _0x616073=Array['from'](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x54')][_0x5835('0x34')]());for(const {name:_0x2f8191,data:_0x106bc6}of _0x616073){const {group:_0x44eef2,type:_0x33b6dd,subType:_0x33bcae,id:_0x4717e8}=_0x50d537[_0x5835('0x1')](_0x2f8191);if(_0x5835('0x2f')==_0x44eef2&&_0x50d537[_0x5835('0x2')](_0x4717e8)){if(_0x5835('0x3')==_0x33b6dd&&(_0x5835('0x41')==_0x33bcae||_0x5835('0x68')==_0x33bcae)){const _0x47ee12=_0x50d537[_0x5835('0x6a')](_0x4717e8);if(_0x106bc6[_0x5835('0x61')]){const _0x7f0dc2=_0x47ee12[_0x5835('0x16')]()[_0x5835('0x42')]();if(_0x256f2a['isBlockImage'](_0x7f0dc2))continue;_0x50d537['discardSuggestion'](_0x47ee12),_0x55313a=!0x0;}}if(_0x5835('0x14')==_0x33b6dd&&'imageCaption'==_0x33bcae&&!_0x106bc6[_0x5835('0x61')]){const _0x477d9c=_0x50d537['getSuggestion'](_0x4717e8);_0x477d9c['next']&&_0x477d9c[_0x5835('0x12')][_0x5835('0x3f')]&&(_0x50d537[_0x5835('0x43')](_0x477d9c['next']),_0x55313a=!0x0);}}}return _0x55313a;}),_0x5834f5[_0x5835('0x36')][_0x5835('0x53')]('ImageResize')&&_0x50d537[_0x5835('0x40')](_0x5835('0x69'),(_0x452e8e,_0x588453)=>{const _0x133b5d=_0x256f2a[_0x5835('0x1c')](_0x5834f5['model'][_0x5835('0x5f')]['selection']);_0x133b5d[_0x5835('0x5b')](_0x5835('0x3a'))!=_0x588453['width']&&_0x5834f5[_0x5835('0x4c')][_0x5835('0x65')](()=>{_0x50d537[_0x5835('0x2e')](_0x133b5d,{'commandName':_0x5835('0x69'),'commandParams':[_0x588453]});});}),_0x5834f5['plugins']['has'](_0x5835('0xe'))&&_0x50d537[_0x5835('0x40')](_0x5835('0x5d'),(_0x485e66,_0x5fcec1)=>{const _0x953d5e=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x47')]);(_0x953d5e['hasAttribute'](_0x5835('0x6'))?_0x953d5e[_0x5835('0x5b')]('alt'):'')!=_0x5fcec1[_0x5835('0x18')]&&_0x5834f5['model']['change'](()=>{_0x50d537[_0x5835('0x2e')](_0x953d5e,{'commandName':'imageTextAlternative','commandParams':[_0x5fcec1]});});}),_0x50d537['_descriptionFactory'][_0x5835('0x31')](_0x4fcf26=>{if(!!_0x481d74[_0x5835('0x30')](({type:_0x4a6948,subType:_0x585bba})=>_0x4fcf26[_0x5835('0x27')]==_0x4a6948&&_0x4fcf26[_0x5835('0x6c')]==_0x585bba))return _0x4fcf26[_0x5835('0x58')]?{}:void 0x0;}),_0x50d537[_0x5835('0x1a')][_0x5835('0x31')](_0x39f8b8=>{if(_0x5835('0x14')==_0x39f8b8['type']||'deletion'==_0x39f8b8['type']){const _0x303c16=_0x39f8b8['getContainedElement']();if(_0x303c16&&_0x303c16['is']('element',_0x5835('0x1d')))return{'type':'insertion'==_0x39f8b8[_0x5835('0x27')]?_0x5835('0x3c'):'removeObject','element':_0x303c16,'quantity':0x1};}}),_0x50d537[_0x5835('0x1a')][_0x5835('0x31')](_0x1d5cf1=>_0x5835('0x3')==_0x1d5cf1[_0x5835('0x27')]&&'convertInlineImageToBlock'==_0x1d5cf1['subType']?{'type':_0x5835('0x13'),'content':_0x5835('0x6e')}:_0x5835('0x3')==_0x1d5cf1['type']&&_0x5835('0x8')==_0x1d5cf1['subType']?{'type':'format','content':_0x5835('0x2c')}:void 0x0),_0x50d537['_descriptionFactory'][_0x5835('0x31')](_0x41fac8=>{const {data:_0x510609}=_0x41fac8;if(_0x510609){if('imageStyle'==_0x510609[_0x5835('0x75')]){const _0x236467=_0x510609[_0x5835('0x10')][0x0]['value'];return _0x3e3c42(_0x5835('0x49')===_0x236467?_0xe3b8f3(_0x5ce467,_0x5835('0x2d')):_0x23cca4[_0x236467]||_0x236467);}if(_0x5835('0x5d')==_0x510609[_0x5835('0x75')]){const _0x7a00fd=_0x510609[_0x5835('0x10')][0x0][_0x5835('0x18')];return _0x7a00fd?{'type':_0x5835('0x13'),'content':_0xe3b8f3(_0x5ce467,_0x5835('0x66'),'\x22'+_0x7a00fd+'\x22')}:{'type':'format','content':_0xe3b8f3(_0x5ce467,_0x5835('0x26'))};}if(_0x5835('0x69')==_0x510609[_0x5835('0x75')]){const _0x2511c7=_0x510609['commandParams'][0x0]['width'];return _0x2511c7?{'type':_0x5835('0x13'),'content':_0xe3b8f3(_0x5ce467,_0x5835('0x24'),_0x2511c7)}:{'type':_0x5835('0x13'),'content':_0xe3b8f3(_0x5ce467,_0x5835('0x4'))};}}function _0x3e3c42(_0x5ccf86){return{'type':_0x5835('0x13'),'content':_0xe3b8f3(_0x5ce467,_0x5835('0x35'),_0x5ccf86)};}});}}
23
+ const _0x37b3=['getSuggestion','previous','value','getContainedElement','newValue','Inline\x20image\x20to\x20block\x20image','convertInlineImageToBlock','imageStyle','*Set\x20image\x20width:*\x20%0','createRange','forEach','schema','getNearestSelectionRange','newRange','isInlineImage','Block\x20image\x20to\x20inline\x20image','get','formatInline','getSuggestionCallback','has','end','element','isEqual','isInContent','addObject','isCollapsed','*Reset\x20image\x20width*','markInsertion','convertBlockImageToInline','subType','start','isBlockImage','isOwn','registerPostFixer','ELEMENT_CAPTION','discardSuggestion','insertion','ImageResize','chain','detach','normalizedStyles','imageTypeBlock','getFirstRange','ImageEditing','commandReversedParams','ImageInlineEditing','plugins','format','_descriptionFactory','next','toPrevious','getSuggestions','enableCommand','backward','imageCaption','TrackChangesEditing','commandParams','getCaptionFromImageModelElement','document','ELEMENT_IMAGE','nodeBefore','filter','markDeletion','ImageTextAlternativeEditing','editor','differ','name','toLowerCase','commandName','_suggestionFactory','accept','registerCustomCallback','type','model','getChangedMarkers','*Set\x20image\x20text\x20alternative:*\x20%0','FORMAT_SIDE_IMAGE','title','fromPosition','suggestion','ImageBlockEditing','imageBlock','ImageUploadEditing','commands','markBlockFormat','alt','hasSuggestion','registerElementLabel','resizeImage','*Format:*\x20%0','imageStylePostApply','afterInit','registerDescriptionCallback','selection','length','removeObject','isBefore','shouldConvertImageType','Users','getClosestSelectedImageElement','ELEMENT_INLINE_IMAGE','discard','join','refresh','hasAttribute','formatBlock','imageTextAlternative','findIndex','_splitMarkerName','nodeAfter','side','width','ImageCaptionEditing','imageStylePreApply','_findSuggestions','imageTypeInline','from','change','caption','deletion','createRangeOn','head','uploadImage','ImageCaptionUtils','author','ImageStyleEditing','locale'];(function(_0x1e8d8b,_0x37b3a2){const _0x52979f=function(_0x3fbb14){while(--_0x3fbb14){_0x1e8d8b['push'](_0x1e8d8b['shift']());}};_0x52979f(++_0x37b3a2);}(_0x37b3,0xe4));const _0x5297=function(_0x1e8d8b,_0x37b3a2){_0x1e8d8b=_0x1e8d8b-0x0;let _0x52979f=_0x37b3[_0x1e8d8b];return _0x52979f;};import{Plugin as _0x2187cb}from'ckeditor5/src/core';import{LivePosition as _0x4e4a03}from'ckeditor5/src/engine';import{uid as _0x3eb7e0}from'ckeditor5/src/utils';import{getTranslation as _0x408a6d}from'../utils/common-translations';export default class Y extends _0x2187cb{[_0x5297('0x75')](){const _0x3abc47=this[_0x5297('0x5a')];if(!_0x3abc47[_0x5297('0x48')][_0x5297('0x2d')](_0x5297('0x45')))return;const _0x3f89ea=_0x3abc47['plugins'][_0x5297('0x2a')](_0x5297('0x51')),_0x51d7a7=_0x3abc47[_0x5297('0x48')][_0x5297('0x2a')]('ImageUtils'),_0x2bf3d1={},_0x5d7a22=_0x3abc47[_0x5297('0x19')];if(_0x3f89ea[_0x5297('0x4e')]('insertImage'),_0x3f89ea[_0x5297('0x4a')][_0x5297('0x71')](_0x5297('0x6b'),_0x20e8e3=>_0x408a6d(_0x5d7a22,_0x5297('0x55'),_0x20e8e3)),_0x3f89ea[_0x5297('0x4a')][_0x5297('0x71')]('imageInline',_0x1d73a8=>_0x408a6d(_0x5d7a22,_0x5297('0x7e'),_0x1d73a8)),_0x3f89ea[_0x5297('0x4a')]['registerElementLabel']('caption',()=>_0x408a6d(_0x5d7a22,_0x5297('0x3c'))),_0x3abc47[_0x5297('0x48')][_0x5297('0x2d')](_0x5297('0x6c'))&&_0x3f89ea['enableCommand'](_0x5297('0x15')),_0x3abc47['plugins'][_0x5297('0x2d')](_0x5297('0x6a'))&&_0x3abc47[_0x5297('0x48')][_0x5297('0x2d')](_0x5297('0x47'))&&(_0x3f89ea['enableCommand'](_0x5297('0xe'),(_0x2be1fb,_0x170126)=>{const _0x404148=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]);_0x3abc47[_0x5297('0x63')][_0x5297('0x10')](()=>{_0x3f89ea[_0x5297('0x6e')](_0x404148,{'commandName':'imageTypeInline','commandParams':[_0x170126]},[],'convertBlockImageToInline');});}),_0x3f89ea[_0x5297('0x4e')](_0x5297('0x43'),(_0x59276a,_0x5a0dc5)=>{_0x3abc47['model'][_0x5297('0x10')](_0x49e021=>{let _0x5f2340=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]),_0x3b568d=_0x49e021[_0x5297('0x13')](_0x5f2340);const _0x5d87d0=_0x4e4a03[_0x5297('0x68')](_0x3b568d[_0x5297('0x38')],_0x5297('0x4c')),_0x9fa9b=_0x4e4a03[_0x5297('0x68')](_0x3b568d['end'],'toNext');_0x3f89ea['forceDefaultExecution'](()=>_0x59276a(_0x5a0dc5)),_0x5f2340=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')]['selection']),_0x3b568d=_0x49e021[_0x5297('0x13')](_0x5f2340);const _0x595f7b=_0x49e021[_0x5297('0x23')](_0x5d87d0,_0x9fa9b);_0x5d87d0[_0x5297('0x41')](),_0x9fa9b['detach'](),_0x3f89ea['markBlockFormat'](_0x5f2340,{'commandName':_0x5297('0xe')},[],_0x5297('0x20')),_0x595f7b['start'][_0x5297('0x7a')](_0x3b568d[_0x5297('0x38')])&&_0x3f89ea[_0x5297('0x35')](_0x49e021[_0x5297('0x23')](_0x595f7b['start'],_0x3b568d[_0x5297('0x38')]),_0x5297('0x20')),_0x3b568d['end'][_0x5297('0x7a')](_0x595f7b[_0x5297('0x2e')])&&_0x3f89ea[_0x5297('0x35')](_0x49e021[_0x5297('0x23')](_0x3b568d[_0x5297('0x2e')],_0x595f7b['end']),'convertInlineImageToBlock');});}),_0x3f89ea[_0x5297('0x5f')]['registerCustomCallback'](_0x5297('0x4'),_0x5297('0x20'),_0x5297('0x1'),()=>{}),_0x3f89ea['_suggestionFactory'][_0x5297('0x61')]('formatBlock',_0x5297('0x20'),'accept',()=>{}),_0x3f89ea['_suggestionFactory'][_0x5297('0x61')]('formatBlock',_0x5297('0x20'),_0x5297('0x0'),_0x3f89ea[_0x5297('0x5f')][_0x5297('0x2c')](_0x5297('0x4'),'',_0x5297('0x60'))),_0x3f89ea[_0x5297('0x5f')][_0x5297('0x61')]('insertion',_0x5297('0x20'),_0x5297('0x1'),()=>{}),_0x3f89ea[_0x5297('0x5f')]['registerCustomCallback'](_0x5297('0x3e'),_0x5297('0x20'),'discard',([_0xd95cf1])=>{const _0x49c301=_0x3f89ea['_suggestionFactory'][_0x5297('0x2c')](_0x5297('0x3e'),'',_0x5297('0x0'));let _0x228f58=_0xd95cf1[_0x5297('0x38')],_0x48655e=_0xd95cf1['end'];const _0x4c7e3d=_0x3abc47[_0x5297('0x63')][_0x5297('0x25')][_0x5297('0x26')](_0x228f58,_0x5297('0x4f')),_0x292f45=_0x3abc47[_0x5297('0x63')][_0x5297('0x25')][_0x5297('0x26')](_0x48655e,'forward');_0x4c7e3d['isCollapsed']&&(_0x228f58=_0x4c7e3d[_0x5297('0x38')]),_0x292f45[_0x5297('0x33')]&&(_0x48655e=_0x292f45[_0x5297('0x2e')]),_0x49c301([_0x3abc47[_0x5297('0x63')][_0x5297('0x23')](_0x228f58,_0x48655e)]);}),_0x3f89ea['_suggestionFactory']['registerCustomCallback'](_0x5297('0x4'),_0x5297('0x20'),_0x5297('0x40'),_0x2e0be3),_0x3f89ea['_suggestionFactory'][_0x5297('0x61')](_0x5297('0x3e'),_0x5297('0x20'),'chain',_0x2e0be3)),_0x3abc47[_0x5297('0x48')]['has'](_0x5297('0xb'))&&(_0x3f89ea[_0x5297('0x4e')]('toggleImageCaption',(_0x3f0782,_0x49e06b)=>{const _0x4ab62c=_0x3abc47['plugins'][_0x5297('0x2a')](_0x5297('0x16'));let _0x1eca4b=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')]['selection']),_0x1eff4a=_0x4ab62c['getCaptionFromImageModelElement'](_0x1eca4b);_0x3abc47[_0x5297('0x63')]['change'](()=>{if(_0x1eff4a)return void _0x3f89ea[_0x5297('0x58')](_0x3abc47['model'][_0x5297('0x13')](_0x1eff4a));const _0xad1e6=_0x51d7a7[_0x5297('0x39')](_0x1eca4b);_0x3f0782(_0x49e06b),_0x1eca4b=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]),_0x1eff4a=_0x4ab62c[_0x5297('0x53')](_0x1eca4b),_0x3f89ea[_0x5297('0x35')](_0x3abc47[_0x5297('0x63')][_0x5297('0x13')](_0x1eff4a),_0xad1e6?null:'imageCaption');});}),_0x3f89ea['_suggestionFactory']['registerCustomCallback'](_0x5297('0x3e'),_0x5297('0x50'),'chain',_0x2e0be3)),_0x3abc47[_0x5297('0x48')]['has'](_0x5297('0x18'))){_0x3f89ea['enableCommand'](_0x5297('0x21'),(_0x417426,_0x36d117)=>{const _0x3f25a9=_0x3abc47[_0x5297('0x48')][_0x5297('0x2a')](_0x5297('0x7c'))['me'],_0x51b23e=_0x3abc47[_0x5297('0x6d')]['get'](_0x5297('0x21'));let _0x5e228b=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]),_0x26a5ed=_0x3abc47[_0x5297('0x63')][_0x5297('0x13')](_0x5e228b),_0xb9cba5=_0x51b23e[_0x5297('0x1c')];if(_0xb9cba5==_0x36d117[_0x5297('0x1c')])return;const _0x462b18={'commandName':_0x5297('0x21'),'commandParams':[_0x36d117],'formatGroupId':_0x3eb7e0()};_0x3abc47['model'][_0x5297('0x10')](()=>{if(_0x3f89ea[_0x5297('0x4d')]()[_0x5297('0x57')](_0x14e094=>_0x14e094['isInContent']&&_0x3f25a9==_0x14e094[_0x5297('0x17')]&&(_0x5297('0x4')==_0x14e094[_0x5297('0x62')]||_0x5297('0x2b')==_0x14e094['type'])&&('imageStylePreApply'==_0x14e094[_0x5297('0x37')]||_0x5297('0x74')==_0x14e094['subType'])&&_0x14e094[_0x5297('0x44')]()['isEqual'](_0x26a5ed))[_0x5297('0x24')](_0x172dc4=>_0x3f89ea['discardSuggestion'](_0x172dc4[_0x5297('0x14')])),_0x5e228b=_0x51d7a7[_0x5297('0x7d')](_0x3abc47['model'][_0x5297('0x54')][_0x5297('0x77')]),_0x26a5ed=_0x3abc47[_0x5297('0x63')][_0x5297('0x13')](_0x5e228b),_0x51b23e[_0x5297('0x2')](),_0x3abc47['commands'][_0x5297('0x2a')](_0x5297('0xe'))['refresh'](),_0x3abc47['commands']['get'](_0x5297('0x43'))[_0x5297('0x2')](),_0xb9cba5=_0x51b23e[_0x5297('0x1c')],_0xb9cba5!=_0x36d117[_0x5297('0x1c')])return _0x51d7a7[_0x5297('0x28')](_0x5e228b)&&_0x51b23e[_0x5297('0x7b')](_0x36d117[_0x5297('0x1c')],_0x5e228b)?(_0x417426(_0x36d117),_0x5e228b=_0x51d7a7['getClosestSelectedImageElement'](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]),void _0x3f89ea[_0x5297('0x6e')](_0x5e228b,{..._0x462b18,'commandReversedParams':[{'value':_0xb9cba5||null}]},[],_0x5297('0xc'))):void(_0x51d7a7[_0x5297('0x39')](_0x5e228b)?_0x3f89ea[_0x5297('0x6e')](_0x5e228b,_0x462b18,[],_0x5297('0x74')):_0x3f89ea['markInlineFormat'](_0x26a5ed,_0x462b18,'imageStylePostApply'));});});for(const _0x55e384 of _0x3abc47['plugins']['get'](_0x5297('0x18'))[_0x5297('0x42')])_0x2bf3d1[_0x55e384[_0x5297('0x5c')]]=_0x55e384[_0x5297('0x67')][_0x5297('0x5d')]();_0x3f89ea[_0x5297('0x5f')][_0x5297('0x61')](_0x5297('0x4'),_0x5297('0xc'),'join',()=>{}),_0x3f89ea[_0x5297('0x5f')]['registerCustomCallback'](_0x5297('0x4'),_0x5297('0x74'),'join',()=>{}),_0x3f89ea[_0x5297('0x5f')][_0x5297('0x61')](_0x5297('0x2b'),'imageStylePostApply',_0x5297('0x1'),()=>{}),_0x3f89ea[_0x5297('0x5f')]['registerCustomCallback']('formatBlock',_0x5297('0xc'),_0x5297('0x60'),()=>{}),_0x3f89ea[_0x5297('0x5f')][_0x5297('0x61')]('formatBlock','imageStylePreApply',_0x5297('0x0'),(_0x657d73,_0x6e2f98)=>{_0x3f89ea[_0x5297('0x5f')][_0x5297('0x2c')](_0x5297('0x4'),'','accept')(_0x657d73,{'commandName':_0x6e2f98[_0x5297('0x5e')],'commandParams':_0x6e2f98[_0x5297('0x46')]});}),_0x3f89ea['_suggestionFactory'][_0x5297('0x61')](_0x5297('0x4'),_0x5297('0xc'),'chain',_0x2e0be3);}const _0x2142cf=[{'type':_0x5297('0x4'),'subType':_0x5297('0xc')},{'type':_0x5297('0x3e'),'subType':_0x5297('0x50')},{'type':_0x5297('0x4'),'subType':_0x5297('0x20')},{'type':_0x5297('0x3e'),'subType':_0x5297('0x20')}];function _0x58c5d2(_0x51afb2,_0x497856){const _0x5bd3c2=_0x2142cf[_0x5297('0x6')](({type:_0x4b624d,subType:_0x46901c})=>_0x51afb2[_0x5297('0x62')]==_0x4b624d&&_0x51afb2['subType']==_0x46901c),_0x4054de=_0x2142cf[_0x5297('0x6')](({type:_0xe4fd2a,subType:_0x3896e8})=>_0x497856['type']==_0xe4fd2a&&_0x497856['subType']==_0x3896e8);if(_0x5bd3c2<0x0||_0x4054de<0x0)return!0x1;const _0x34a278=_0x51afb2['getFirstRange'](),_0x178a02=_0x497856[_0x5297('0x44')]();if((0x0==_0x5bd3c2||0x1==_0x5bd3c2)&&0x2==_0x4054de&&_0x34a278['isIntersecting'](_0x178a02))return!0x0;if(0x2==_0x5bd3c2&&0x3==_0x4054de){const _0x341424=_0x3f89ea[_0x5297('0xd')](_0x34a278,_0x5297('0x3e'))['filter'](({suggestion:_0x51f833,meta:_0x5eb759})=>_0x5eb759[_0x5297('0x3a')]&&_0x5297('0x20')==_0x51f833[_0x5297('0x37')]);if(_0x341424['length']>0x1&&_0x178a02[_0x5297('0x2e')][_0x5297('0x30')](_0x34a278[_0x5297('0x38')]))return!0x0;if(0x1==_0x341424[_0x5297('0x78')]&&(_0x34a278['start'][_0x5297('0x30')](_0x178a02[_0x5297('0x2e')])||_0x34a278[_0x5297('0x2e')][_0x5297('0x30')](_0x178a02[_0x5297('0x38')])))return!0x0;}if(0x3==_0x5bd3c2&&0x3==_0x4054de&&_0x34a278[_0x5297('0x38')][_0x5297('0x7a')](_0x178a02['start'])){const _0x3563be=_0x34a278[_0x5297('0x2e')][_0x5297('0x8')],_0x3b194b=_0x178a02[_0x5297('0x38')][_0x5297('0x56')];return _0x51d7a7[_0x5297('0x39')](_0x3563be)&&_0x3563be===_0x3b194b;}return!0x1;}function _0x2e0be3(_0x3a03bb,_0x51f870){return _0x58c5d2(_0x3a03bb,_0x51f870)?[_0x3a03bb,_0x51f870]:_0x58c5d2(_0x51f870,_0x3a03bb)?[_0x51f870,_0x3a03bb]:null;}_0x3abc47['model'][_0x5297('0x54')][_0x5297('0x3b')](()=>{let _0x187651=!0x1;const _0x111462=Array[_0x5297('0xf')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x5b')][_0x5297('0x64')]());for(const {name:_0x1a4ddd,data:_0x4c271e}of _0x111462){const {group:_0x3dbd0c,type:_0x30c7aa,subType:_0x395dca,id:_0xc2f7d1}=_0x3f89ea[_0x5297('0x7')](_0x1a4ddd);if(_0x5297('0x69')==_0x3dbd0c&&_0x3f89ea[_0x5297('0x70')](_0xc2f7d1)){if('formatBlock'==_0x30c7aa&&('imageStylePreApply'==_0x395dca||_0x5297('0x74')==_0x395dca)){const _0x41c565=_0x3f89ea[_0x5297('0x1a')](_0xc2f7d1);if(_0x4c271e[_0x5297('0x27')]){const _0x15c4d4=_0x41c565[_0x5297('0x44')]()[_0x5297('0x1d')]();if(_0x51d7a7[_0x5297('0x39')](_0x15c4d4))continue;_0x3f89ea[_0x5297('0x3d')](_0x41c565),_0x187651=!0x0;}}if(_0x5297('0x3e')==_0x30c7aa&&_0x5297('0x50')==_0x395dca&&!_0x4c271e[_0x5297('0x27')]){const _0x18afa7=_0x3f89ea[_0x5297('0x1a')](_0xc2f7d1);_0x18afa7[_0x5297('0x4b')]&&_0x18afa7[_0x5297('0x4b')][_0x5297('0x31')]&&(_0x3f89ea[_0x5297('0x3d')](_0x18afa7[_0x5297('0x4b')]),_0x187651=!0x0);}}}return _0x187651;}),_0x3abc47[_0x5297('0x48')][_0x5297('0x2d')](_0x5297('0x3f'))&&_0x3f89ea[_0x5297('0x4e')]('resizeImage',(_0x187f10,_0x418acd)=>{const _0x320f5c=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')]['selection']);_0x320f5c['getAttribute'](_0x5297('0xa'))!=_0x418acd['width']&&_0x3abc47[_0x5297('0x63')]['change'](()=>{_0x3f89ea['markBlockFormat'](_0x320f5c,{'commandName':_0x5297('0x72'),'commandParams':[_0x418acd]});});}),_0x3abc47[_0x5297('0x48')]['has'](_0x5297('0x59'))&&_0x3f89ea[_0x5297('0x4e')](_0x5297('0x5'),(_0x45b43e,_0x3f9bbd)=>{const _0x4a7827=_0x51d7a7[_0x5297('0x7d')](_0x3abc47[_0x5297('0x63')][_0x5297('0x54')][_0x5297('0x77')]);(_0x4a7827[_0x5297('0x3')](_0x5297('0x6f'))?_0x4a7827['getAttribute'](_0x5297('0x6f')):'')!=_0x3f9bbd[_0x5297('0x1e')]&&_0x3abc47[_0x5297('0x63')][_0x5297('0x10')](()=>{_0x3f89ea[_0x5297('0x6e')](_0x4a7827,{'commandName':_0x5297('0x5'),'commandParams':[_0x3f9bbd]});});}),_0x3f89ea['_descriptionFactory']['registerDescriptionCallback'](_0x23ee04=>{if(!!_0x2142cf['find'](({type:_0x4be72f,subType:_0x485d40})=>_0x23ee04['type']==_0x4be72f&&_0x23ee04[_0x5297('0x37')]==_0x485d40))return _0x23ee04[_0x5297('0x1b')]?{}:void 0x0;}),_0x3f89ea[_0x5297('0x4a')][_0x5297('0x76')](_0x168026=>{if(_0x5297('0x3e')==_0x168026[_0x5297('0x62')]||_0x5297('0x12')==_0x168026[_0x5297('0x62')]){const _0x924c97=_0x168026[_0x5297('0x1d')]();if(_0x924c97&&_0x924c97['is'](_0x5297('0x2f'),_0x5297('0x11')))return{'type':_0x5297('0x3e')==_0x168026[_0x5297('0x62')]?_0x5297('0x32'):_0x5297('0x79'),'element':_0x924c97,'quantity':0x1};}}),_0x3f89ea['_descriptionFactory']['registerDescriptionCallback'](_0x2b603f=>_0x5297('0x4')==_0x2b603f['type']&&_0x5297('0x20')==_0x2b603f['subType']?{'type':_0x5297('0x49'),'content':_0x5297('0x1f')}:'formatBlock'==_0x2b603f[_0x5297('0x62')]&&_0x5297('0x36')==_0x2b603f[_0x5297('0x37')]?{'type':_0x5297('0x49'),'content':_0x5297('0x29')}:void 0x0),_0x3f89ea['_descriptionFactory'][_0x5297('0x76')](_0x2a4a18=>{const {data:_0x4e4cc6}=_0x2a4a18;if(_0x4e4cc6){if(_0x5297('0x21')==_0x4e4cc6[_0x5297('0x5e')]){const _0x49babc=_0x4e4cc6[_0x5297('0x52')][0x0]['value'];return _0x5877cd(_0x5297('0x9')===_0x49babc?_0x408a6d(_0x5d7a22,_0x5297('0x66')):_0x2bf3d1[_0x49babc]||_0x49babc);}if(_0x5297('0x5')==_0x4e4cc6['commandName']){const _0x307c85=_0x4e4cc6[_0x5297('0x52')][0x0][_0x5297('0x1e')];return _0x307c85?{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,_0x5297('0x65'),'\x22'+_0x307c85+'\x22')}:{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x4e4cc6[_0x5297('0x5e')]){const _0xec3c1b=_0x4e4cc6[_0x5297('0x52')][0x0][_0x5297('0xa')];return _0xec3c1b?{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,_0x5297('0x22'),_0xec3c1b)}:{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,_0x5297('0x34'))};}}function _0x5877cd(_0x292a6d){return{'type':_0x5297('0x49'),'content':_0x408a6d(_0x5d7a22,_0x5297('0x73'),_0x292a6d)};}});}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0xe0c9=['subType','locale','format','*Format:*\x20replace\x20image\x20URL','src','registerCustomCallback','handleReplaceImageCommand','has','handleSuggestionDescription','accept','TrackChangesEditing','formatBlock','discard','ImageEditing','commandParams','data','_descriptionFactory','getSuggestionCallback','getSuggestions','markBlockFormat','getContainedElement','_suggestionFactory','get','enableCommand','getSelectedElement','change','model','selection','editor','replaceImageSource','plugins','registerDescriptionCallback'];(function(_0x2397fb,_0xe0c95a){const _0x2bdee6=function(_0x240609){while(--_0x240609){_0x2397fb['push'](_0x2397fb['shift']());}};_0x2bdee6(++_0xe0c95a);}(_0xe0c9,0xf9));const _0x2bde=function(_0x2397fb,_0xe0c95a){_0x2397fb=_0x2397fb-0x0;let _0x2bdee6=_0xe0c9[_0x2397fb];return _0x2bdee6;};import{Plugin as _0x4bf2bd}from'ckeditor5/src/core';import{getTranslation as _0x52db62}from'../utils/common-translations';export default class Z extends _0x4bf2bd{['afterInit'](){if(!this['editor']['plugins'][_0x2bde('0xe')](_0x2bde('0x14')))return;const _0x1d09d9=this[_0x2bde('0x3')][_0x2bde('0x5')][_0x2bde('0x1d')](_0x2bde('0x11'));_0x1d09d9[_0x2bde('0x1e')]('replaceImageSource',(_0x2dba88,_0x127af4)=>this[_0x2bde('0xd')](_0x2dba88,_0x127af4)),_0x1d09d9[_0x2bde('0x1c')][_0x2bde('0xc')](_0x2bde('0x12'),'replaceImageSource',_0x2bde('0x10'),_0x1d09d9['_suggestionFactory']['getSuggestionCallback'](_0x2bde('0x12'),null,_0x2bde('0x13'))),_0x1d09d9[_0x2bde('0x1c')][_0x2bde('0xc')](_0x2bde('0x12'),'replaceImageSource',_0x2bde('0x13'),_0x1d09d9[_0x2bde('0x1c')][_0x2bde('0x18')](_0x2bde('0x12'),null,_0x2bde('0x10'))),_0x1d09d9[_0x2bde('0x17')][_0x2bde('0x6')](_0x22ccc8=>this[_0x2bde('0xf')](_0x22ccc8));}[_0x2bde('0xd')](_0x4842fb,_0x3a96fe){const _0xcec22d=this[_0x2bde('0x3')][_0x2bde('0x5')][_0x2bde('0x1d')](_0x2bde('0x11')),_0x2a8a56=this[_0x2bde('0x3')]['model']['document'][_0x2bde('0x2')][_0x2bde('0x1f')]();this[_0x2bde('0x3')][_0x2bde('0x1')][_0x2bde('0x0')](()=>{let _0x57acd4=_0x2a8a56['getAttribute'](_0x2bde('0xb'));const _0x1bf3ed=this['editor'][_0x2bde('0x5')][_0x2bde('0x1d')]('Users')['me'];for(const _0x3231a8 of _0xcec22d[_0x2bde('0x19')]({'skipNotAttached':!0x0})){const _0x13bc11=_0x3231a8[_0x2bde('0x1b')]();if(_0x2bde('0x4')===_0x3231a8[_0x2bde('0x7')]&&_0x13bc11===_0x2a8a56){_0x3231a8['author']!==_0x1bf3ed&&_0x3231a8[_0x2bde('0x13')](),_0x57acd4=_0x3231a8[_0x2bde('0x16')][_0x2bde('0x15')][0x0]['source'];break;}}_0x4842fb(_0x3a96fe),_0xcec22d[_0x2bde('0x1a')](_0x2a8a56,{'commandName':_0x2bde('0x4'),'commandParams':[{'source':_0x57acd4}]},[],'replaceImageSource');});}[_0x2bde('0xf')](_0x32a30b){const {data:_0x5c831b}=_0x32a30b;if(_0x5c831b&&_0x2bde('0x4')===_0x5c831b['commandName']){const _0x19f3d0=_0x2bde('0xa');return{'type':_0x2bde('0x9'),'content':_0x52db62(this[_0x2bde('0x3')][_0x2bde('0x8')],_0x19f3d0)};}}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3309=['importWord','_handleImportedData','trackChanges','execute','editor','high','commands','_setSuggestionData','_trackChangesExecuted','get','plugins','forEach','enableCommand','_trackChangesValueDuringImport','lowest','listenTo','track_changes','TrackChangesEditing','Users','value'];(function(_0x3a5851,_0x3309dc){const _0x4c4152=function(_0x3b309f){while(--_0x3b309f){_0x3a5851['push'](_0x3a5851['shift']());}};_0x4c4152(++_0x3309dc);}(_0x3309,0x159));const _0x4c41=function(_0x3a5851,_0x3309dc){_0x3a5851=_0x3a5851-0x0;let _0x4c4152=_0x3309[_0x3a5851];return _0x4c4152;};import{Plugin as _0x2156e6}from'ckeditor5/src/core';import _0xdcfa47 from'../trackchangesediting';export default class X extends _0x2156e6{constructor(_0x38cbd2){super(_0x38cbd2),this[_0x4c41('0x8')]=!0x1,this[_0x4c41('0x3')]=!0x1;}['afterInit'](){const _0xb87495=this['editor'],_0x40a208=_0xb87495[_0x4c41('0x1')]['get']('importWord'),_0xcdf209=_0xb87495[_0x4c41('0x1')]['get'](_0x4c41('0x11'));_0x40a208&&(_0x40a208['on'](_0x4c41('0x12'),(_0x310780,[,_0x40eaf6])=>{this[_0x4c41('0x8')]=_0xcdf209[_0x4c41('0xe')],_0x40eaf6['collaboration_features'][_0x4c41('0xb')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x4c41('0x0')}),this[_0x4c41('0xa')](_0x40a208,'dataInsert',this[_0x4c41('0x10')]['bind'](this)),this[_0x4c41('0xa')](_0x40a208,'dataInsert',()=>{this[_0x4c41('0x3')]&&(_0xcdf209['execute'](),this[_0x4c41('0x3')]=!0x1);},{'priority':_0x4c41('0x9')}),_0xb87495[_0x4c41('0x5')][_0x4c41('0x4')](_0x4c41('0xc'))[_0x4c41('0x7')](_0x4c41('0xf')));}[_0x4c41('0x10')](_0x35fb1e,_0x2a70c2){const {suggestions:_0x51404d}=_0x2a70c2,_0x1355b8=this[_0x4c41('0x13')][_0x4c41('0x1')][_0x4c41('0x4')]('trackChanges'),_0x1aa5df=_0x1355b8[_0x4c41('0xe')];this[_0x4c41('0x8')]!==_0x1aa5df&&(_0x1355b8[_0x4c41('0x12')](),this['_trackChangesExecuted']=!0x0),_0x51404d&&_0x51404d[_0x4c41('0x6')](({id:_0x4820ca,type:_0xb00705,author:_0x53937d,created_at:_0xdabbc8})=>{const _0x4275b9={'id':_0x4820ca,'type':_0xb00705,'authorId':this[_0x4c41('0x13')][_0x4c41('0x5')][_0x4c41('0x4')](_0x4c41('0xd'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x53937d,'createdAt':_0xdabbc8?new Date(_0xdabbc8):new Date(),'source':_0x4c41('0xf')}}};this['editor']['plugins'][_0x4c41('0x4')](_0xdcfa47)[_0x4c41('0x2')](_0x4275b9);});}}
23
+ const _0xe6fb=['listenTo','importWord','_handleImportedData','enableCommand','dataInsert','TrackChangesEditing','trackChanges','plugins','commands','forEach','track_changes','value','afterInit','bind','get','editor','execute','_trackChangesExecuted','high','collaboration_features','_trackChangesValueDuringImport','_setSuggestionData'];(function(_0x563778,_0xe6fb9f){const _0x353fca=function(_0x1b6d25){while(--_0x1b6d25){_0x563778['push'](_0x563778['shift']());}};_0x353fca(++_0xe6fb9f);}(_0xe6fb,0x1ce));const _0x353f=function(_0x563778,_0xe6fb9f){_0x563778=_0x563778-0x0;let _0x353fca=_0xe6fb[_0x563778];return _0x353fca;};import{Plugin as _0x35e9c1}from'ckeditor5/src/core';import _0x1c6f52 from'../trackchangesediting';export default class tt extends _0x35e9c1{constructor(_0x38f053){super(_0x38f053),this[_0x353f('0x14')]=!0x1,this[_0x353f('0x11')]=!0x1;}[_0x353f('0xc')](){const _0x17c80f=this[_0x353f('0xf')],_0x50bcf5=_0x17c80f[_0x353f('0x8')]['get'](_0x353f('0x1')),_0x4bdc5d=_0x17c80f['commands'][_0x353f('0xe')](_0x353f('0x6'));_0x50bcf5&&(_0x50bcf5['on'](_0x353f('0x10'),(_0xdf2677,[,_0x3aeb38])=>{this[_0x353f('0x14')]=_0x4bdc5d[_0x353f('0xb')],_0x3aeb38[_0x353f('0x13')][_0x353f('0xa')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x353f('0x12')}),this['listenTo'](_0x50bcf5,_0x353f('0x4'),this[_0x353f('0x2')][_0x353f('0xd')](this)),this[_0x353f('0x0')](_0x50bcf5,_0x353f('0x4'),()=>{this[_0x353f('0x11')]&&(_0x4bdc5d[_0x353f('0x10')](),this[_0x353f('0x11')]=!0x1);},{'priority':'lowest'}),_0x17c80f[_0x353f('0x7')][_0x353f('0xe')](_0x353f('0x5'))[_0x353f('0x3')](_0x353f('0x1')));}[_0x353f('0x2')](_0x15778f,_0x105e60){const {suggestions:_0x18d86c}=_0x105e60,_0x5dbe13=this['editor'][_0x353f('0x8')][_0x353f('0xe')](_0x353f('0x6')),_0x41e406=_0x5dbe13[_0x353f('0xb')];this[_0x353f('0x14')]!==_0x41e406&&(_0x5dbe13[_0x353f('0x10')](),this['_trackChangesExecuted']=!0x0),_0x18d86c&&_0x18d86c[_0x353f('0x9')](({id:_0x534a71,type:_0x3976a5,author:_0x4032fd,created_at:_0x623223})=>{const _0x4fba50={'id':_0x534a71,'type':_0x3976a5,'authorId':this[_0x353f('0xf')][_0x353f('0x7')][_0x353f('0xe')]('Users')['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4032fd,'createdAt':_0x623223?new Date(_0x623223):new Date(),'source':_0x353f('0x1')}}};this[_0x353f('0xf')][_0x353f('0x7')][_0x353f('0xe')](_0x1c6f52)[_0x353f('0x15')](_0x4fba50);});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37d5=['filter','selection','enableCommand','commandName','IndentBlock','format','document','model','indent','_descriptionFactory','getSelectedBlocks','outdentBlock','has','indentBlock','get','locale','registerDescriptionCallback','getItemLabel','afterInit','change','editor','outdent','plugins','from','TrackChangesEditing','getItems'];(function(_0x5d8fa3,_0x37d551){const _0xbc581c=function(_0x1ed328){while(--_0x1ed328){_0x5d8fa3['push'](_0x5d8fa3['shift']());}};_0xbc581c(++_0x37d551);}(_0x37d5,0x1ed));const _0xbc58=function(_0x5d8fa3,_0x37d551){_0x5d8fa3=_0x5d8fa3-0x0;let _0xbc581c=_0x37d5[_0x5d8fa3];return _0xbc581c;};import{Plugin as _0x315060}from'ckeditor5/src/core';import{getTranslation as _0x17cfa7}from'../utils/common-translations';export default class Y extends _0x315060{[_0xbc58('0x13')](){const _0x2d2721=this['editor'],_0x3f1f65=_0x2d2721[_0xbc58('0x17')][_0xbc58('0xf')](_0xbc58('0x19'));_0x2d2721['plugins'][_0xbc58('0xd')]('IndentEditing')&&(_0x3f1f65['enableCommand'](_0xbc58('0x9')),_0x3f1f65[_0xbc58('0x3')](_0xbc58('0x16')));const _0x1ffbe9=_0x2d2721[_0xbc58('0x10')];if(_0x2d2721[_0xbc58('0x17')][_0xbc58('0xd')](_0xbc58('0x5'))){for(const _0x28ed1c of[_0xbc58('0xe'),_0xbc58('0xc')])_0x3f1f65['enableCommand'](_0x28ed1c,()=>{const _0x50e07b=Array[_0xbc58('0x18')](this[_0xbc58('0x15')][_0xbc58('0x8')][_0xbc58('0x7')][_0xbc58('0x2')][_0xbc58('0xb')]())[_0xbc58('0x1')](_0x306144=>this[_0xbc58('0x15')]['model']['schema']['checkAttribute'](_0x306144,'blockIndent'));_0x2d2721['model'][_0xbc58('0x14')](()=>{for(const _0x1f0fce of _0x50e07b)_0x3f1f65['markBlockFormat'](_0x1f0fce,{'commandName':_0x28ed1c,'commandParams':[{'value':''}],'formatGroupId':_0xbc58('0xe')});});});_0x3f1f65[_0xbc58('0xa')][_0xbc58('0x11')](_0x1e26ef=>{const {data:_0x34d53e}=_0x1e26ef;if(!_0x34d53e)return;if(_0xbc58('0xe')!=_0x34d53e[_0xbc58('0x4')]&&_0xbc58('0xc')!=_0x34d53e[_0xbc58('0x4')])return;const _0x5707c9=_0x1e26ef[_0xbc58('0x0')]()[0x0],_0x4fa5b7=_0x3f1f65[_0xbc58('0xa')][_0xbc58('0x12')](_0x5707c9);return _0xbc58('0xe')==_0x34d53e['commandName']?{'type':_0xbc58('0x6'),'content':_0x17cfa7(_0x1ffbe9,'*Indent:*\x20%0',_0x4fa5b7)}:'outdentBlock'==_0x34d53e['commandName']?{'type':_0xbc58('0x6'),'content':_0x17cfa7(_0x1ffbe9,'*Outdent:*\x20%0',_0x4fa5b7)}:void 0x0;});}}}
23
+ const _0x1293=['plugins','format','checkAttribute','commandName','document','getItemLabel','locale','_descriptionFactory','afterInit','get','IndentEditing','IndentBlock','indentBlock','editor','registerDescriptionCallback','schema','outdent','change','TrackChangesEditing','getSelectedBlocks','enableCommand','*Indent:*\x20%0','markBlockFormat','filter','model','outdentBlock','has'];(function(_0x18f5b6,_0x129393){const _0x7474fa=function(_0x318449){while(--_0x318449){_0x18f5b6['push'](_0x18f5b6['shift']());}};_0x7474fa(++_0x129393);}(_0x1293,0xcc));const _0x7474=function(_0x18f5b6,_0x129393){_0x18f5b6=_0x18f5b6-0x0;let _0x7474fa=_0x1293[_0x18f5b6];return _0x7474fa;};import{Plugin as _0x163414}from'ckeditor5/src/core';import{getTranslation as _0xd9ef75}from'../utils/common-translations';export default class it extends _0x163414{[_0x7474('0x14')](){const _0xc111d7=this['editor'],_0x159dbd=_0xc111d7[_0x7474('0xc')][_0x7474('0x15')](_0x7474('0x3'));_0xc111d7['plugins']['has'](_0x7474('0x16'))&&(_0x159dbd['enableCommand']('indent'),_0x159dbd[_0x7474('0x5')](_0x7474('0x1')));const _0x316721=_0xc111d7[_0x7474('0x12')];if(_0xc111d7['plugins'][_0x7474('0xb')](_0x7474('0x17'))){for(const _0x4c4ffe of['indentBlock',_0x7474('0xa')])_0x159dbd[_0x7474('0x5')](_0x4c4ffe,()=>{const _0x3002c0=Array['from'](this[_0x7474('0x19')][_0x7474('0x9')][_0x7474('0x10')]['selection'][_0x7474('0x4')]())[_0x7474('0x8')](_0x1249ef=>this[_0x7474('0x19')][_0x7474('0x9')][_0x7474('0x0')][_0x7474('0xe')](_0x1249ef,'blockIndent'));_0xc111d7['model'][_0x7474('0x2')](()=>{for(const _0x12b4f2 of _0x3002c0)_0x159dbd[_0x7474('0x7')](_0x12b4f2,{'commandName':_0x4c4ffe,'commandParams':[{'value':''}],'formatGroupId':_0x7474('0x18')});});});_0x159dbd[_0x7474('0x13')][_0x7474('0x1a')](_0x321828=>{const {data:_0x509b50}=_0x321828;if(!_0x509b50)return;if(_0x7474('0x18')!=_0x509b50[_0x7474('0xf')]&&'outdentBlock'!=_0x509b50[_0x7474('0xf')])return;const _0x55e0e8=_0x321828['getItems']()[0x0],_0x35f49a=_0x159dbd['_descriptionFactory'][_0x7474('0x11')](_0x55e0e8);return _0x7474('0x18')==_0x509b50[_0x7474('0xf')]?{'type':_0x7474('0xd'),'content':_0xd9ef75(_0x316721,_0x7474('0x6'),_0x35f49a)}:_0x7474('0xa')==_0x509b50[_0x7474('0xf')]?{'type':_0x7474('0xd'),'content':_0xd9ef75(_0x316721,'*Outdent:*\x20%0',_0x35f49a)}:void 0x0;});}}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x10c7=['get','requires','input','editor','enableCommand','TrackChangesEditing'];(function(_0x45e90a,_0x10c781){var _0x1df918=function(_0x4cf9b6){while(--_0x4cf9b6){_0x45e90a['push'](_0x45e90a['shift']());}};_0x1df918(++_0x10c781);}(_0x10c7,0x189));var _0x1df9=function(_0x45e90a,_0x10c781){_0x45e90a=_0x45e90a-0x0;var _0x1df918=_0x10c7[_0x45e90a];return _0x1df918;};import{Plugin as _0x64dea}from'ckeditor5/src/core';import{Input as _0x4ef7cb}from'ckeditor5/src/typing';export default class Z extends _0x64dea{static get[_0x1df9('0x4')](){return[_0x4ef7cb];}['init'](){this[_0x1df9('0x0')]['plugins'][_0x1df9('0x3')](_0x1df9('0x2'))[_0x1df9('0x1')](_0x1df9('0x5'));}}
23
+ var _0xd310=['editor','init','enableCommand','input','get'];(function(_0x539842,_0xd310be){var _0x5e47a4=function(_0x4ae932){while(--_0x4ae932){_0x539842['push'](_0x539842['shift']());}};_0x5e47a4(++_0xd310be);}(_0xd310,0x1c3));var _0x5e47=function(_0x539842,_0xd310be){_0x539842=_0x539842-0x0;var _0x5e47a4=_0xd310[_0x539842];return _0x5e47a4;};import{Plugin as _0x18dd5e}from'ckeditor5/src/core';import{Input as _0x5abb80}from'ckeditor5/src/typing';export default class st extends _0x18dd5e{static get['requires'](){return[_0x5abb80];}[_0x5e47('0x0')](){this[_0x5e47('0x4')]['plugins'][_0x5e47('0x3')]('TrackChangesEditing')[_0x5e47('0x1')](_0x5e47('0x2'));}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x417e=['commandName','get','hasAttribute','editor','unlink','*Remove\x20link*','*Set\x20link:*\x20%0','markInlineFormat','locale','format','document','isCollapsed','commandParams','getAttribute','registerDescriptionCallback','TrackChangesEditing','link','_descriptionFactory','getFirstPosition','getFirstRange','afterInit','change','selection','plugins','model','enableCommand','has','linkHref','LinkEditing'];(function(_0x27e859,_0x417e1f){const _0x189380=function(_0x3b8bd1){while(--_0x3b8bd1){_0x27e859['push'](_0x27e859['shift']());}};_0x189380(++_0x417e1f);}(_0x417e,0x10b));const _0x1893=function(_0x27e859,_0x417e1f){_0x27e859=_0x27e859-0x0;let _0x189380=_0x417e[_0x27e859];return _0x189380;};import{Plugin as _0x5baf9f}from'ckeditor5/src/core';import{findAttributeRange as _0x5e18e4}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2de67b}from'./utils';import{getTranslation as _0x5addc2}from'../utils/common-translations';export default class tt extends _0x5baf9f{[_0x1893('0xe')](){const _0x5a5cb0=this[_0x1893('0x1a')];if(!_0x5a5cb0[_0x1893('0x11')][_0x1893('0x14')](_0x1893('0x16')))return;const _0x21b007=_0x5a5cb0[_0x1893('0x11')][_0x1893('0x18')](_0x1893('0x9'));_0x21b007[_0x1893('0x13')]('link',(_0x31f42b,_0x158ef6)=>{const _0x509301=_0x5a5cb0[_0x1893('0x12')][_0x1893('0x4')][_0x1893('0x10')];let _0x410ddb=[];if(_0x509301[_0x1893('0x5')]){if(!_0x509301[_0x1893('0x19')](_0x1893('0x15')))return void _0x31f42b(_0x158ef6);{const _0x21c79a=_0x5e18e4(_0x509301[_0x1893('0xc')](),_0x1893('0x15'),_0x509301['getAttribute'](_0x1893('0x15')),_0x5a5cb0[_0x1893('0x12')]);_0x410ddb=[_0x21c79a];}}else _0x410ddb=Array['from'](_0x509301['getRanges']());_0x5a5cb0[_0x1893('0x12')]['change'](()=>{for(const _0xe03015 of _0x410ddb)_0x21b007[_0x1893('0x1')](_0xe03015,{'commandName':_0x1893('0xa'),'commandParams':[_0x158ef6]});});}),_0x21b007[_0x1893('0x13')]('unlink',()=>{const _0x186336=this[_0x1893('0x1a')][_0x1893('0x12')],_0x4f31c7=_0x186336[_0x1893('0x4')][_0x1893('0x10')];_0x186336[_0x1893('0xf')](()=>{let _0x2cd76a=[];if(_0x4f31c7[_0x1893('0x5')])_0x2cd76a=[_0x5e18e4(_0x4f31c7[_0x1893('0xc')](),_0x1893('0x15'),_0x4f31c7[_0x1893('0x7')](_0x1893('0x15')),_0x5a5cb0[_0x1893('0x12')])];else _0x2cd76a=_0x2de67b(_0x1893('0x15'),_0x4f31c7[_0x1893('0xd')](),_0x5a5cb0['model']);for(const _0xbe10d2 of _0x2cd76a)_0x21b007[_0x1893('0x1')](_0xbe10d2,{'commandName':_0x1893('0x1b'),'commandParams':[]});});}),_0x21b007[_0x1893('0xb')][_0x1893('0x8')](_0xb498f0=>{const {data:_0x17f05f}=_0xb498f0,_0x559d4a=_0x5a5cb0[_0x1893('0x2')];if(_0x17f05f){if('link'==_0x17f05f['commandName']){const _0x1fc7d0=_0x17f05f[_0x1893('0x6')][0x0];return{'type':_0x1893('0x3'),'content':_0x5addc2(_0x559d4a,_0x1893('0x0'),'\x22'+_0x1fc7d0+'\x22')};}return _0x1893('0x1b')==_0x17f05f[_0x1893('0x17')]?{'type':_0x1893('0x3'),'content':_0x5addc2(_0x559d4a,_0x1893('0x1c'))}:void 0x0;}});}}
23
+ const _0xc96e=['link','isCollapsed','getAttribute','change','locale','model','document','hasAttribute','commandName','get','enableCommand','from','commandParams','getFirstPosition','linkHref','has','format','getRanges','afterInit','markInlineFormat','TrackChangesEditing','_descriptionFactory','selection','*Remove\x20link*','unlink','plugins','*Set\x20link:*\x20%0','editor'];(function(_0x28fc6b,_0xc96ed0){const _0x402982=function(_0x4a839d){while(--_0x4a839d){_0x28fc6b['push'](_0x28fc6b['shift']());}};_0x402982(++_0xc96ed0);}(_0xc96e,0x110));const _0x4029=function(_0x28fc6b,_0xc96ed0){_0x28fc6b=_0x28fc6b-0x0;let _0x402982=_0xc96e[_0x28fc6b];return _0x402982;};import{Plugin as _0x1e35be}from'ckeditor5/src/core';import{findAttributeRange as _0x4fb234}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x18269e}from'./utils';import{getTranslation as _0x3dd2aa}from'../utils/common-translations';export default class et extends _0x1e35be{[_0x4029('0x1a')](){const _0x3d0971=this[_0x4029('0x7')];if(!_0x3d0971[_0x4029('0x5')][_0x4029('0x17')]('LinkEditing'))return;const _0x93e3dd=_0x3d0971[_0x4029('0x5')][_0x4029('0x11')](_0x4029('0x0'));_0x93e3dd[_0x4029('0x12')](_0x4029('0x8'),(_0x4764b6,_0x434412)=>{const _0x2cc0dc=_0x3d0971[_0x4029('0xd')][_0x4029('0xe')][_0x4029('0x2')];let _0x223fbb=[];if(_0x2cc0dc[_0x4029('0x9')]){if(!_0x2cc0dc[_0x4029('0xf')](_0x4029('0x16')))return void _0x4764b6(_0x434412);{const _0x128a10=_0x4fb234(_0x2cc0dc[_0x4029('0x15')](),_0x4029('0x16'),_0x2cc0dc['getAttribute'](_0x4029('0x16')),_0x3d0971[_0x4029('0xd')]);_0x223fbb=[_0x128a10];}}else _0x223fbb=Array[_0x4029('0x13')](_0x2cc0dc[_0x4029('0x19')]());_0x3d0971[_0x4029('0xd')]['change'](()=>{for(const _0x932feb of _0x223fbb)_0x93e3dd[_0x4029('0x1b')](_0x932feb,{'commandName':_0x4029('0x8'),'commandParams':[_0x434412]});});}),_0x93e3dd[_0x4029('0x12')](_0x4029('0x4'),()=>{const _0x10ec5e=this[_0x4029('0x7')]['model'],_0x3cce38=_0x10ec5e[_0x4029('0xe')][_0x4029('0x2')];_0x10ec5e[_0x4029('0xb')](()=>{let _0x57cf82=[];if(_0x3cce38[_0x4029('0x9')])_0x57cf82=[_0x4fb234(_0x3cce38['getFirstPosition'](),_0x4029('0x16'),_0x3cce38[_0x4029('0xa')](_0x4029('0x16')),_0x3d0971['model'])];else _0x57cf82=_0x18269e(_0x4029('0x16'),_0x3cce38['getFirstRange'](),_0x3d0971[_0x4029('0xd')]);for(const _0x1c61db of _0x57cf82)_0x93e3dd[_0x4029('0x1b')](_0x1c61db,{'commandName':_0x4029('0x4'),'commandParams':[]});});}),_0x93e3dd[_0x4029('0x1')]['registerDescriptionCallback'](_0x5b1e48=>{const {data:_0x2b24ce}=_0x5b1e48,_0x854c81=_0x3d0971[_0x4029('0xc')];if(_0x2b24ce){if(_0x4029('0x8')==_0x2b24ce['commandName']){const _0x28f679=_0x2b24ce[_0x4029('0x14')][0x0];return{'type':_0x4029('0x18'),'content':_0x3dd2aa(_0x854c81,_0x4029('0x6'),'\x22'+_0x28f679+'\x22')};}return'unlink'==_0x2b24ce[_0x4029('0x10')]?{'type':_0x4029('0x18'),'content':_0x3dd2aa(_0x854c81,_0x4029('0x3'))}:void 0x0;}});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5924=['ListEditing','enableCommand','*Check\x20item*','outdentList','TodoListEditing','TrackChangesEditing','listIndent','todoListChecked','todo','locale','List','listType','ELEMENT_TODO_LIST','checkTodoList','get','getSelectedBlocks','createPositionAt','add','filter','numberedList','length','*Uncheck\x20item*','before','replace','_selectedElements','name','markBlockFormat','bulleted','push','value','editor','selection','element','findIndex','nextSibling','parent','from','commandParams','ELEMENT_LIST_ITEM','getAttribute','_descriptionFactory','commands','isObject','slice','ELEMENT_NUMBERED_LIST','schema','*Indent:*\x20%0','afterInit','plugins','execute','registerElementLabel','ELEMENT_BULLETED_LIST','model','listItem','document','previousSibling','registerDescriptionCallback','bulletedList','*Change\x20to:*\x20%0','commandName','todoList','change','format','numbered','checkChild','*Outdent:*\x20%0','indentList','has'];(function(_0x57afc7,_0x592402){const _0x120759=function(_0x39f845){while(--_0x39f845){_0x57afc7['push'](_0x57afc7['shift']());}};_0x120759(++_0x592402);}(_0x5924,0x1d4));const _0x1207=function(_0x57afc7,_0x592402){_0x57afc7=_0x57afc7-0x0;let _0x120759=_0x5924[_0x57afc7];return _0x120759;};import{Plugin as _0x230822}from'ckeditor5/src/core';import{getTranslation as _0x5026ae}from'../utils/common-translations';export default class it extends _0x230822{[_0x1207('0x37')](){const _0x4c3727=this[_0x1207('0x26')],_0x44ea5d=_0x4c3727[_0x1207('0x11')];if(!_0x4c3727[_0x1207('0x38')][_0x1207('0x7')](_0x1207('0x8')))return;const _0xc97ebf=_0x4c3727[_0x1207('0x38')][_0x1207('0x16')](_0x1207('0xd')),_0x4cd87a=_0x4c3727[_0x1207('0x38')]['has'](_0x1207('0xc'));function _0x1b590e(_0x2124f0){return()=>{const _0x58c654=_0x4c3727[_0x1207('0x3c')]['document']['selection'],_0x93bd86=_0x4c3727[_0x1207('0x31')][_0x1207('0x16')](_0x2124f0);if(_0x93bd86[_0x1207('0x25')])return void _0x4c3727[_0x1207('0x39')]('paragraph',{});const _0x5f2472=_0x2124f0[_0x1207('0x33')](0x0,-0x4),_0x47ff9c=function(_0x4edcfb,_0x14082a,_0x34bb89){let _0x54c049=Array[_0x1207('0x2c')](_0x4edcfb)['filter'](_0x308d6c=>function(_0x578c1c,_0x5e88eb){return _0x5e88eb[_0x1207('0x4')](_0x578c1c[_0x1207('0x2b')],_0x1207('0x3d'))&&!_0x5e88eb[_0x1207('0x32')](_0x578c1c);}(_0x308d6c,_0x34bb89));_0x54c049=_0x54c049[_0x1207('0x1a')](_0x2288d6=>!_0x2288d6['is'](_0x1207('0x28'),_0x1207('0x3d'))||_0x2288d6[_0x1207('0x2f')](_0x1207('0x13'))!=_0x14082a);const _0x4fa07d=new Set();for(const _0x3b366 of _0x54c049)_0x3b366['is'](_0x1207('0x28'),_0x1207('0x3d'))?_0x4fa07d['add'](Pt(_0x3b366)):_0x4fa07d[_0x1207('0x19')](_0x3b366);return Array[_0x1207('0x2c')](_0x4fa07d);}(_0x58c654[_0x1207('0x17')](),_0x5f2472,_0x4c3727['model'][_0x1207('0x35')]);_0x4c3727[_0x1207('0x3c')][_0x1207('0x1')](()=>{for(const _0x5d4a4a of _0x47ff9c)_0xc97ebf[_0x1207('0x22')](_0x5d4a4a,{'commandName':_0x2124f0,'commandParams':[{'forceValue':!_0x93bd86[_0x1207('0x25')]}],'formatGroupId':'blockName'},Gt(_0x5d4a4a));});};}function _0x20dd74(_0x548a4b){return()=>{const _0x27544f=function(_0x305001){const _0x43f293=(_0x305001=Array['from'](_0x305001))[_0x1207('0x29')](_0x33eac9=>'listItem'!=_0x33eac9['name']);return _0x43f293>-0x1&&(_0x305001=_0x305001[_0x1207('0x33')](0x0,_0x43f293)),_0x305001;}(_0x4c3727['model'][_0x1207('0x3e')][_0x1207('0x27')][_0x1207('0x17')]()),_0x3edb3c=_0x4c3727[_0x1207('0x3c')]['createRange'](_0x4c3727['model'][_0x1207('0x18')](_0x27544f[0x0],_0x1207('0x1e')),_0x4c3727['model']['createPositionAt'](_0x27544f[_0x27544f[_0x1207('0x1c')]-0x1],'end'));_0x4c3727[_0x1207('0x3c')]['change'](()=>{_0xc97ebf[_0x1207('0x22')](_0x3edb3c,{'commandName':_0x548a4b,'commandParams':[],'formatGroupId':'listIndent'},function(_0x2617c2){const _0x23d4f6=new Set();for(const _0x3b168d of _0x2617c2){let _0x4ccecf=_0x3b168d[_0x1207('0x2a')];for(;_0x4ccecf&&_0x4ccecf[_0x1207('0x2f')](_0x1207('0xe'))>_0x3b168d[_0x1207('0x2f')]('listIndent');)_0x23d4f6[_0x1207('0x19')](_0x4ccecf),_0x4ccecf=_0x4ccecf['nextSibling'];}return Array[_0x1207('0x2c')](_0x23d4f6);}(_0x27544f));});};}_0xc97ebf[_0x1207('0x9')]('numberedList',_0x1b590e('numberedList')),_0xc97ebf[_0x1207('0x9')]('bulletedList',_0x1b590e(_0x1207('0x41'))),_0x4cd87a&&_0xc97ebf[_0x1207('0x9')](_0x1207('0x0'),_0x1b590e(_0x1207('0x0'))),_0xc97ebf['enableCommand'](_0x1207('0x6'),_0x20dd74(_0x1207('0x6'))),_0xc97ebf[_0x1207('0x9')]('outdentList',_0x20dd74('outdentList')),_0x4cd87a&&_0xc97ebf['enableCommand'](_0x1207('0x15'),()=>{const _0x259db8=_0x4c3727[_0x1207('0x31')][_0x1207('0x16')](_0x1207('0x15')),_0x3e7ffe=Array[_0x1207('0x2c')](_0x259db8[_0x1207('0x20')]);_0x3e7ffe[_0x1207('0x1a')](_0x30482d=>_0x30482d[_0x1207('0x2f')](_0x1207('0xf'))!=_0x259db8['value']),_0x4c3727['model'][_0x1207('0x1')](()=>{for(const _0x3edff4 of _0x3e7ffe)_0xc97ebf[_0x1207('0x22')](_0x3edff4,{'commandName':_0x1207('0x15'),'commandParams':[{'forceValue':!_0x259db8['value']}]});});}),_0xc97ebf[_0x1207('0x30')][_0x1207('0x3a')](_0x1207('0x3d'),_0x979dfb=>_0x5026ae(_0x44ea5d,_0x1207('0x2e'),_0x979dfb)),_0xc97ebf['_descriptionFactory'][_0x1207('0x40')](_0x1a9b9a=>{const {data:_0x380dc0}=_0x1a9b9a;if(_0x380dc0){if(_0x1207('0x1b')==_0x380dc0[_0x1207('0x43')]||_0x1207('0x41')==_0x380dc0[_0x1207('0x43')]||_0x1207('0x0')==_0x380dc0[_0x1207('0x43')])switch(_0x380dc0[_0x1207('0x43')][_0x1207('0x1f')](_0x1207('0x12'),'')){case _0x1207('0x23'):return _0x4b081f(_0x5026ae(_0x44ea5d,_0x1207('0x3b')));case _0x1207('0x3'):return _0x4b081f(_0x5026ae(_0x44ea5d,_0x1207('0x34')));case _0x1207('0x10'):return _0x4b081f(_0x5026ae(_0x44ea5d,_0x1207('0x14')));}if(_0x1207('0x6')==_0x380dc0[_0x1207('0x43')])return{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0x36'),_0x5026ae(_0x44ea5d,_0x1207('0x2e')))};if(_0x1207('0xb')==_0x380dc0[_0x1207('0x43')])return{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0x5'),_0x5026ae(_0x44ea5d,_0x1207('0x2e')))};if(_0x1207('0x15')==_0x380dc0[_0x1207('0x43')])return _0x380dc0[_0x1207('0x2d')][0x0]['forceValue']?{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0xa'))}:{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0x1d'))};}function _0x4b081f(_0x2267c2){return{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0x42'),_0x2267c2)};}});}}function Pt(_0x296858){const _0x221726=_0x296858[_0x1207('0x2f')](_0x1207('0xe'));if(0x0==_0x221726)return _0x296858;let _0x4ab145=_0x296858;for(;_0x296858[_0x1207('0x3f')]&&_0x296858[_0x1207('0x3f')]['is'](_0x1207('0x28'),_0x1207('0x3d'));){const _0x2cbec3=_0x296858['previousSibling'][_0x1207('0x2f')](_0x1207('0xe'));if(_0x2cbec3==_0x221726)_0x4ab145=_0x296858[_0x1207('0x3f')];else{if(_0x2cbec3<_0x221726)break;}_0x296858=_0x296858[_0x1207('0x3f')];}return _0x4ab145;}function Gt(_0x146abd){const _0x4ee6ef=[];if(_0x146abd['is'](_0x1207('0x28'),_0x1207('0x3d'))&&_0x146abd[_0x1207('0x2f')](_0x1207('0xe'))>0x0){let _0x37c42=_0x146abd[_0x1207('0x2a')];for(;_0x37c42&&_0x1207('0x3d')==_0x37c42[_0x1207('0x21')]&&_0x37c42['getAttribute']('listIndent')==_0x146abd[_0x1207('0x2f')]('listIndent');)_0x4ee6ef[_0x1207('0x24')](_0x37c42),_0x37c42=_0x37c42['nextSibling'];}return _0x4ee6ef;}
23
+ const _0x29e8=['outdentList','nextSibling','getAttribute','format','value','forceValue','indentList','*Outdent:*\x20%0','selection','*Check\x20item*','*Indent:*\x20%0','blockName','enableCommand','registerElementLabel','todo','from','editor','push','commandName','bulleted','execute','length','todoList','numbered','todoListChecked','List','*Change\x20to:*\x20%0','model','plugins','ELEMENT_LIST_ITEM','ELEMENT_BULLETED_LIST','listType','replace','has','before','add','checkChild','filter','commands','afterInit','TrackChangesEditing','_selectedElements','element','slice','get','name','TodoListEditing','previousSibling','change','checkTodoList','markBlockFormat','getSelectedBlocks','numberedList','parent','findIndex','createPositionAt','document','ELEMENT_NUMBERED_LIST','listItem','_descriptionFactory','listIndent','commandParams'];(function(_0x3dc852,_0x29e8af){const _0x173b8c=function(_0x56a108){while(--_0x56a108){_0x3dc852['push'](_0x3dc852['shift']());}};_0x173b8c(++_0x29e8af);}(_0x29e8,0x167));const _0x173b=function(_0x3dc852,_0x29e8af){_0x3dc852=_0x3dc852-0x0;let _0x173b8c=_0x29e8[_0x3dc852];return _0x173b8c;};import{Plugin as _0x5f1d6b}from'ckeditor5/src/core';import{getTranslation as _0x37a128}from'../utils/common-translations';export default class nt extends _0x5f1d6b{[_0x173b('0x34')](){const _0x4a34ca=this[_0x173b('0x1d')],_0x2ceaa1=_0x4a34ca['locale'];if(!_0x4a34ca[_0x173b('0x29')]['has']('ListEditing'))return;const _0x10a7a4=_0x4a34ca['plugins']['get'](_0x173b('0x35')),_0x14d47e=_0x4a34ca[_0x173b('0x29')][_0x173b('0x2e')](_0x173b('0x3b'));function _0x36335a(_0xe2170c){return()=>{const _0x2d50a2=_0x4a34ca[_0x173b('0x28')][_0x173b('0x7')][_0x173b('0x15')],_0x110b86=_0x4a34ca[_0x173b('0x33')][_0x173b('0x39')](_0xe2170c);if(_0x110b86[_0x173b('0x11')])return void _0x4a34ca[_0x173b('0x21')]('paragraph',{});const _0x4463ec=_0xe2170c[_0x173b('0x38')](0x0,-0x4),_0x366723=function(_0x23c433,_0x4be3f3,_0xa8a57){let _0x3bfc16=Array['from'](_0x23c433)['filter'](_0x134804=>function(_0x32333b,_0xcd3555){return _0xcd3555[_0x173b('0x31')](_0x32333b[_0x173b('0x4')],_0x173b('0x9'))&&!_0xcd3555['isObject'](_0x32333b);}(_0x134804,_0xa8a57));_0x3bfc16=_0x3bfc16[_0x173b('0x32')](_0x1f73c0=>!_0x1f73c0['is'](_0x173b('0x37'),_0x173b('0x9'))||_0x1f73c0['getAttribute'](_0x173b('0x2c'))!=_0x4be3f3);const _0x59a6aa=new Set();for(const _0x3403f3 of _0x3bfc16)_0x3403f3['is']('element',_0x173b('0x9'))?_0x59a6aa['add'](ne(_0x3403f3)):_0x59a6aa[_0x173b('0x30')](_0x3403f3);return Array[_0x173b('0x1c')](_0x59a6aa);}(_0x2d50a2['getSelectedBlocks'](),_0x4463ec,_0x4a34ca[_0x173b('0x28')]['schema']);_0x4a34ca['model'][_0x173b('0x3d')](()=>{for(const _0x21e6ce of _0x366723)_0x10a7a4[_0x173b('0x1')](_0x21e6ce,{'commandName':_0xe2170c,'commandParams':[{'forceValue':!_0x110b86['value']}],'formatGroupId':_0x173b('0x18')},oe(_0x21e6ce));});};}function _0x8beb50(_0x5c2ea2){return()=>{const _0x4518a9=function(_0xc260fa){const _0x3b7e0=(_0xc260fa=Array[_0x173b('0x1c')](_0xc260fa))[_0x173b('0x5')](_0x2b7f13=>'listItem'!=_0x2b7f13[_0x173b('0x3a')]);return _0x3b7e0>-0x1&&(_0xc260fa=_0xc260fa[_0x173b('0x38')](0x0,_0x3b7e0)),_0xc260fa;}(_0x4a34ca[_0x173b('0x28')][_0x173b('0x7')][_0x173b('0x15')][_0x173b('0x2')]()),_0x46a925=_0x4a34ca['model']['createRange'](_0x4a34ca['model'][_0x173b('0x6')](_0x4518a9[0x0],_0x173b('0x2f')),_0x4a34ca[_0x173b('0x28')][_0x173b('0x6')](_0x4518a9[_0x4518a9[_0x173b('0x22')]-0x1],'end'));_0x4a34ca['model'][_0x173b('0x3d')](()=>{_0x10a7a4[_0x173b('0x1')](_0x46a925,{'commandName':_0x5c2ea2,'commandParams':[],'formatGroupId':'listIndent'},function(_0x4e670e){const _0x13429b=new Set();for(const _0x4180f6 of _0x4e670e){let _0x1c14dc=_0x4180f6['nextSibling'];for(;_0x1c14dc&&_0x1c14dc['getAttribute'](_0x173b('0xb'))>_0x4180f6[_0x173b('0xf')](_0x173b('0xb'));)_0x13429b[_0x173b('0x30')](_0x1c14dc),_0x1c14dc=_0x1c14dc[_0x173b('0xe')];}return Array[_0x173b('0x1c')](_0x13429b);}(_0x4518a9));});};}_0x10a7a4[_0x173b('0x19')]('numberedList',_0x36335a('numberedList')),_0x10a7a4['enableCommand']('bulletedList',_0x36335a('bulletedList')),_0x14d47e&&_0x10a7a4[_0x173b('0x19')]('todoList',_0x36335a(_0x173b('0x23'))),_0x10a7a4['enableCommand'](_0x173b('0x13'),_0x8beb50(_0x173b('0x13'))),_0x10a7a4[_0x173b('0x19')]('outdentList',_0x8beb50(_0x173b('0xd'))),_0x14d47e&&_0x10a7a4[_0x173b('0x19')](_0x173b('0x0'),()=>{const _0x20c309=_0x4a34ca[_0x173b('0x33')][_0x173b('0x39')](_0x173b('0x0')),_0x26a210=Array['from'](_0x20c309[_0x173b('0x36')]);_0x26a210[_0x173b('0x32')](_0x151b8e=>_0x151b8e[_0x173b('0xf')](_0x173b('0x25'))!=_0x20c309['value']),_0x4a34ca[_0x173b('0x28')]['change'](()=>{for(const _0x197167 of _0x26a210)_0x10a7a4[_0x173b('0x1')](_0x197167,{'commandName':_0x173b('0x0'),'commandParams':[{'forceValue':!_0x20c309['value']}]});});}),_0x10a7a4[_0x173b('0xa')][_0x173b('0x1a')]('listItem',_0x18a50e=>_0x37a128(_0x2ceaa1,_0x173b('0x2a'),_0x18a50e)),_0x10a7a4[_0x173b('0xa')]['registerDescriptionCallback'](_0x1bd805=>{const {data:_0x3cfcb7}=_0x1bd805;if(_0x3cfcb7){if(_0x173b('0x3')==_0x3cfcb7[_0x173b('0x1f')]||'bulletedList'==_0x3cfcb7['commandName']||_0x173b('0x23')==_0x3cfcb7[_0x173b('0x1f')])switch(_0x3cfcb7[_0x173b('0x1f')][_0x173b('0x2d')](_0x173b('0x26'),'')){case _0x173b('0x20'):return _0x5a22a1(_0x37a128(_0x2ceaa1,_0x173b('0x2b')));case _0x173b('0x24'):return _0x5a22a1(_0x37a128(_0x2ceaa1,_0x173b('0x8')));case _0x173b('0x1b'):return _0x5a22a1(_0x37a128(_0x2ceaa1,'ELEMENT_TODO_LIST'));}if('indentList'==_0x3cfcb7[_0x173b('0x1f')])return{'type':'format','content':_0x37a128(_0x2ceaa1,_0x173b('0x17'),_0x37a128(_0x2ceaa1,_0x173b('0x2a')))};if('outdentList'==_0x3cfcb7[_0x173b('0x1f')])return{'type':_0x173b('0x10'),'content':_0x37a128(_0x2ceaa1,_0x173b('0x14'),_0x37a128(_0x2ceaa1,_0x173b('0x2a')))};if(_0x173b('0x0')==_0x3cfcb7[_0x173b('0x1f')])return _0x3cfcb7[_0x173b('0xc')][0x0][_0x173b('0x12')]?{'type':'format','content':_0x37a128(_0x2ceaa1,_0x173b('0x16'))}:{'type':_0x173b('0x10'),'content':_0x37a128(_0x2ceaa1,'*Uncheck\x20item*')};}function _0x5a22a1(_0x421eca){return{'type':'format','content':_0x37a128(_0x2ceaa1,_0x173b('0x27'),_0x421eca)};}});}}function ne(_0x28eafa){const _0x849158=_0x28eafa[_0x173b('0xf')](_0x173b('0xb'));if(0x0==_0x849158)return _0x28eafa;let _0x2ca7c5=_0x28eafa;for(;_0x28eafa[_0x173b('0x3c')]&&_0x28eafa[_0x173b('0x3c')]['is'](_0x173b('0x37'),_0x173b('0x9'));){const _0x2074e3=_0x28eafa[_0x173b('0x3c')][_0x173b('0xf')](_0x173b('0xb'));if(_0x2074e3==_0x849158)_0x2ca7c5=_0x28eafa[_0x173b('0x3c')];else{if(_0x2074e3<_0x849158)break;}_0x28eafa=_0x28eafa[_0x173b('0x3c')];}return _0x2ca7c5;}function oe(_0x586d3f){const _0x149166=[];if(_0x586d3f['is'](_0x173b('0x37'),'listItem')&&_0x586d3f[_0x173b('0xf')](_0x173b('0xb'))>0x0){let _0x5d3c7e=_0x586d3f['nextSibling'];for(;_0x5d3c7e&&_0x173b('0x9')==_0x5d3c7e[_0x173b('0x3a')]&&_0x5d3c7e[_0x173b('0xf')](_0x173b('0xb'))==_0x586d3f[_0x173b('0xf')](_0x173b('0xb'));)_0x149166[_0x173b('0x1e')](_0x5d3c7e),_0x5d3c7e=_0x5d3c7e[_0x173b('0xe')];}return _0x149166;}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x2ab5=['length','handleListStartCommand','handleListReversedCommand','backward','plugins','from','get','ListUtils','toUpperCase','forward','_getTranslationKeyForListStyle','change','afterInit','handleDescriptions','_getSuggestionBlocks','handleListStyleCommand','type','startIndex','has','bind','listItem','getSiblingNodes','config','listType','map','list.properties','TrackChangesEditing','_LIST_','format','editor','_descriptionFactory','enableCommand','listStart','getListTypeFromListStyleType','element','reversed','hasAttribute','createPositionAt','before','getSelectedBlocks','flat','listStyle','commandParams','markMultiRangeBlockFormat','*Change\x20to:*\x20%0','selection','*Format:*\x20set\x20order\x20to\x20regular','document','styles','listReversed','ELEMENT_','model','ListPropertiesEditing'];(function(_0x2c6ca0,_0x2ab584){const _0x47b370=function(_0x5b4c8d){while(--_0x5b4c8d){_0x2c6ca0['push'](_0x2c6ca0['shift']());}};_0x47b370(++_0x2ab584);}(_0x2ab5,0x11e));const _0x47b3=function(_0x2c6ca0,_0x2ab584){_0x2c6ca0=_0x2c6ca0-0x0;let _0x47b370=_0x2ab5[_0x2c6ca0];return _0x47b370;};import{Plugin as _0x47fb26}from'ckeditor5/src/core';import{getTranslation as _0x5c236b}from'../utils/common-translations';export default class ot extends _0x47fb26{[_0x47b3('0x2c')](){if(!this[_0x47b3('0x8')]['plugins'][_0x47b3('0x32')](_0x47b3('0x1f')))return;const _0x2f9a79=this['editor'][_0x47b3('0x1')][_0x47b3('0x26')](_0x47b3('0x4')),_0x3c5c8d=this[_0x47b3('0x8')]['plugins'][_0x47b3('0x26')](_0x47b3('0x5'));_0x2f9a79[_0x47b3('0x1b')]&&_0x3c5c8d[_0x47b3('0xa')](_0x47b3('0x14'),this['handleListStyleCommand'][_0x47b3('0x33')](this)),_0x2f9a79[_0x47b3('0xe')]&&_0x3c5c8d[_0x47b3('0xa')]('listReversed',this[_0x47b3('0x22')][_0x47b3('0x33')](this)),_0x2f9a79['startIndex']&&_0x3c5c8d[_0x47b3('0xa')](_0x47b3('0xb'),this[_0x47b3('0x21')][_0x47b3('0x33')](this)),_0x3c5c8d[_0x47b3('0x9')]['registerDescriptionCallback'](this[_0x47b3('0x2d')][_0x47b3('0x33')](this));}[_0x47b3('0x2f')](_0x5c8993,_0x2068b3){const _0x5616bf=this[_0x47b3('0x8')][_0x47b3('0x24')][_0x47b3('0x26')](_0x47b3('0x5')),_0x5aa0d6=this[_0x47b3('0x2e')](_0x3877fe=>_0x3877fe[_0x47b3('0xf')](_0x47b3('0x2')));_0x5aa0d6['length']<0x1||this[_0x47b3('0x8')]['model']['change'](()=>{_0x5616bf[_0x47b3('0x16')](_0x5aa0d6,{'commandName':_0x47b3('0x14'),'commandParams':[{'type':_0x2068b3[_0x47b3('0x30')]}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x201b94,_0x3b167d){const _0x3a0113=this[_0x47b3('0x8')]['plugins'][_0x47b3('0x26')]('TrackChangesEditing'),_0x4a06f9=this[_0x47b3('0x2e')](_0x1ecb77=>_0x1ecb77['is'](_0x47b3('0xd'),_0x47b3('0x34'))&&'numbered'===_0x1ecb77['getAttribute'](_0x47b3('0x2')));if(_0x4a06f9[_0x47b3('0x20')]<0x1)return;const _0x4fa7cb=_0x4a06f9['map'](_0xf7b7bf=>this['editor'][_0x47b3('0x1e')]['createRange'](this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0xf7b7bf,'before'),this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0xf7b7bf,0x0)));this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x2b')](()=>{_0x3a0113[_0x47b3('0x16')](_0x4fa7cb,{'commandName':_0x47b3('0x1c'),'commandParams':[{'reversed':_0x3b167d[_0x47b3('0xe')]}],'formatGroupId':_0x47b3('0x1c')});});}['handleListStartCommand'](_0x4bef8b,_0x7f0049){const _0x5b99fe=this[_0x47b3('0x8')]['plugins'][_0x47b3('0x26')](_0x47b3('0x5')),_0x31c5bb=this[_0x47b3('0x2e')](_0x1eacb7=>_0x1eacb7['is'](_0x47b3('0xd'),_0x47b3('0x34'))&&'numbered'===_0x1eacb7['getAttribute'](_0x47b3('0x2')));if(_0x31c5bb[_0x47b3('0x20')]<0x1)return;const _0x2efa2d=_0x31c5bb[_0x47b3('0x3')](_0x1f63ea=>this[_0x47b3('0x8')]['model']['createRange'](this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0x1f63ea,_0x47b3('0x11')),this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0x1f63ea,0x0)));this[_0x47b3('0x8')]['model'][_0x47b3('0x2b')](()=>{_0x5b99fe[_0x47b3('0x16')](_0x2efa2d,{'commandName':_0x47b3('0xb'),'commandParams':[{'startIndex':_0x7f0049[_0x47b3('0x31')]}],'formatGroupId':_0x47b3('0xb')});});}[_0x47b3('0x2d')](_0x19e7d7){const _0x107624=this['editor']['locale'],{data:_0x5b45aa}=_0x19e7d7;if(!_0x5b45aa)return;let _0xb7118b,_0x21c7d7;switch(_0x5b45aa['commandName']){case _0x47b3('0x14'):_0xb7118b=_0x47b3('0x17'),_0x21c7d7={'type':_0x47b3('0x7'),'content':_0x5c236b(_0x107624,_0xb7118b,_0x5c236b(_0x107624,this[_0x47b3('0x2a')](_0x5b45aa[_0x47b3('0x15')][0x0]['type'])))};break;case'listReversed':_0xb7118b=_0x5b45aa[_0x47b3('0x15')][0x0][_0x47b3('0xe')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x47b3('0x19'),_0x21c7d7={'type':_0x47b3('0x7'),'content':_0x5c236b(_0x107624,_0xb7118b)};break;case _0x47b3('0xb'):_0xb7118b='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x21c7d7={'type':_0x47b3('0x7'),'content':_0x5c236b(_0x107624,_0xb7118b,_0x5b45aa['commandParams'][0x0][_0x47b3('0x31')])};}return _0x21c7d7;}[_0x47b3('0x2e')](_0x84cbb9){const _0x39581e=this[_0x47b3('0x8')][_0x47b3('0x24')][_0x47b3('0x26')]('ListUtils');let _0x17364c=Array[_0x47b3('0x25')](this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x1a')][_0x47b3('0x18')][_0x47b3('0x12')]())['filter'](_0x84cbb9)[_0x47b3('0x3')](_0x5ea1c1=>{const _0x505711=this[_0x47b3('0x8')][_0x47b3('0x1e')][_0x47b3('0x10')](_0x5ea1c1,0x0);return[..._0x39581e[_0x47b3('0x0')](_0x505711,_0x47b3('0x23')),..._0x39581e[_0x47b3('0x0')](_0x505711,_0x47b3('0x29'))];})[_0x47b3('0x13')]();return _0x17364c=[...new Set(_0x17364c)],_0x17364c;}[_0x47b3('0x2a')](_0x4adb39){return _0x47b3('0x1d')+this['editor'][_0x47b3('0x24')]['get'](_0x47b3('0x27'))[_0x47b3('0xc')](_0x4adb39)[_0x47b3('0x28')]()+_0x47b3('0x6')+_0x4adb39[_0x47b3('0x28')]()['replaceAll']('-','_');}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fad=['MediaEmbedEditing','media','plugins','div','ELEMENT_MEDIA','locale','downcastDispatcher','dataDowncast','enableCommand','high','stop','get','createEmptyElement','editor','data','conversion','elementToElement','afterInit','TrackChangesEditing','registerElementLabel','showSuggestionHighlights','options','has','_descriptionFactory'];(function(_0x5c7c2a,_0x2fad37){const _0x1bdf68=function(_0x5420e8){while(--_0x5420e8){_0x5c7c2a['push'](_0x5c7c2a['shift']());}};_0x1bdf68(++_0x2fad37);}(_0x2fad,0x1e8));const _0x1bdf=function(_0x5c7c2a,_0x2fad37){_0x5c7c2a=_0x5c7c2a-0x0;let _0x1bdf68=_0x2fad[_0x5c7c2a];return _0x1bdf68;};import{Plugin as _0x4d416b}from'ckeditor5/src/core';import{getTranslation as _0x3b52a0}from'../utils/common-translations';export default class st extends _0x4d416b{[_0x1bdf('0x9')](){const _0xffb3f9=this[_0x1bdf('0x5')];if(!_0xffb3f9[_0x1bdf('0x12')][_0x1bdf('0xe')](_0x1bdf('0x10')))return;const _0x1c5c7a=_0xffb3f9['plugins'][_0x1bdf('0x3')](_0x1bdf('0xa')),_0x5f31be=_0xffb3f9[_0x1bdf('0x15')];_0x1c5c7a[_0x1bdf('0x0')]('mediaEmbed'),_0x1c5c7a[_0x1bdf('0xf')][_0x1bdf('0xb')](_0x1bdf('0x11'),_0x4f5aa1=>_0x3b52a0(_0x5f31be,_0x1bdf('0x14'),_0x4f5aa1)),_0xffb3f9[_0x1bdf('0x7')]['for'](_0x1bdf('0x17'))[_0x1bdf('0x8')]({'model':_0x1bdf('0x11'),'view':(_0x20dba8,{writer:_0x15d0c3,options:_0x5d7e33})=>{if(_0x5d7e33[_0x1bdf('0xc')])return _0x15d0c3[_0x1bdf('0x4')](_0x1bdf('0x13'));},'converterPriority':_0x1bdf('0x1')}),_0xffb3f9[_0x1bdf('0x6')][_0x1bdf('0x16')]['on']('attribute:url:media',(_0x55bcef,_0x56b61b,_0x22fa3a)=>{_0x22fa3a[_0x1bdf('0xd')]['showSuggestionHighlights']&&_0x55bcef[_0x1bdf('0x2')]();},{'priority':_0x1bdf('0x1')});}}
23
+ const _0x5825=['_descriptionFactory','plugins','downcastDispatcher','editor','has','registerElementLabel','options','locale','MediaEmbedEditing','showSuggestionHighlights','attribute:url:media','media','ELEMENT_MEDIA','afterInit','data','high','mediaEmbed','TrackChangesEditing','for','div','dataDowncast','stop'];(function(_0x25618a,_0x5825ed){const _0x16fd48=function(_0x7cb824){while(--_0x7cb824){_0x25618a['push'](_0x25618a['shift']());}};_0x16fd48(++_0x5825ed);}(_0x5825,0x101));const _0x16fd=function(_0x25618a,_0x5825ed){_0x25618a=_0x25618a-0x0;let _0x16fd48=_0x5825[_0x25618a];return _0x16fd48;};import{Plugin as _0x293430}from'ckeditor5/src/core';import{getTranslation as _0x2cd137}from'../utils/common-translations';export default class rt extends _0x293430{[_0x16fd('0x14')](){const _0x4dfaf7=this[_0x16fd('0xa')];if(!_0x4dfaf7[_0x16fd('0x8')][_0x16fd('0xb')](_0x16fd('0xf')))return;const _0x5f517b=_0x4dfaf7['plugins']['get'](_0x16fd('0x2')),_0x39203b=_0x4dfaf7[_0x16fd('0xe')];_0x5f517b['enableCommand'](_0x16fd('0x1')),_0x5f517b[_0x16fd('0x7')][_0x16fd('0xc')](_0x16fd('0x12'),_0x65aedd=>_0x2cd137(_0x39203b,_0x16fd('0x13'),_0x65aedd)),_0x4dfaf7['conversion'][_0x16fd('0x3')](_0x16fd('0x5'))['elementToElement']({'model':_0x16fd('0x12'),'view':(_0x3e13cd,{writer:_0x2fad86,options:_0x1f46af})=>{if(_0x1f46af[_0x16fd('0x10')])return _0x2fad86['createEmptyElement'](_0x16fd('0x4'));},'converterPriority':_0x16fd('0x0')}),_0x4dfaf7[_0x16fd('0x15')][_0x16fd('0x9')]['on'](_0x16fd('0x11'),(_0x19e892,_0x14ae63,_0x12f0d8)=>{_0x12f0d8[_0x16fd('0xd')][_0x16fd('0x10')]&&_0x19e892[_0x16fd('0x6')]();},{'priority':_0x16fd('0x0')});}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40b9=['has','afterInit','mention','enableCommand','plugins','MentionEditing','get','editor','TrackChangesEditing'];(function(_0x20b189,_0x40b921){const _0x24ffeb=function(_0x2efe51){while(--_0x2efe51){_0x20b189['push'](_0x20b189['shift']());}};_0x24ffeb(++_0x40b921);}(_0x40b9,0xed));const _0x24ff=function(_0x20b189,_0x40b921){_0x20b189=_0x20b189-0x0;let _0x24ffeb=_0x40b9[_0x20b189];return _0x24ffeb;};import{Plugin as _0x2737a6}from'ckeditor5/src/core';export default class et extends _0x2737a6{[_0x24ff('0x7')](){const _0x1c1ffd=this[_0x24ff('0x4')];_0x1c1ffd[_0x24ff('0x1')][_0x24ff('0x6')](_0x24ff('0x2'))&&_0x1c1ffd[_0x24ff('0x1')][_0x24ff('0x3')](_0x24ff('0x5'))[_0x24ff('0x0')](_0x24ff('0x8'));}}
23
+ const _0x2c1b=['plugins','MentionEditing','get','has','enableCommand','mention','afterInit','TrackChangesEditing'];(function(_0x51429c,_0x2c1b45){const _0x4f348d=function(_0x51f77e){while(--_0x51f77e){_0x51429c['push'](_0x51429c['shift']());}};_0x4f348d(++_0x2c1b45);}(_0x2c1b,0x1b9));const _0x4f34=function(_0x51429c,_0x2c1b45){_0x51429c=_0x51429c-0x0;let _0x4f348d=_0x2c1b[_0x51429c];return _0x4f348d;};import{Plugin as _0x37b14d}from'ckeditor5/src/core';export default class at extends _0x37b14d{[_0x4f34('0x5')](){const _0x57d2bb=this['editor'];_0x57d2bb['plugins'][_0x4f34('0x2')](_0x4f34('0x0'))&&_0x57d2bb[_0x4f34('0x7')][_0x4f34('0x1')](_0x4f34('0x6'))[_0x4f34('0x3')](_0x4f34('0x4'));}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa8bc=['has','pageBreak','TrackChangesEditing','get','enableCommand','afterInit','plugins','PageBreakEditing','registerElementLabel','_descriptionFactory','locale','ELEMENT_PAGE_BREAK','editor'];(function(_0x22fc66,_0xa8bc0){const _0x7daebf=function(_0x482487){while(--_0x482487){_0x22fc66['push'](_0x22fc66['shift']());}};_0x7daebf(++_0xa8bc0);}(_0xa8bc,0xf7));const _0x7dae=function(_0x22fc66,_0xa8bc0){_0x22fc66=_0x22fc66-0x0;let _0x7daebf=_0xa8bc[_0x22fc66];return _0x7daebf;};import{Plugin as _0x30a677}from'ckeditor5/src/core';import{getTranslation as _0x4719c8}from'../utils/common-translations';export default class nt extends _0x30a677{[_0x7dae('0x5')](){const _0x49c048=this[_0x7dae('0xc')];if(!_0x49c048['plugins'][_0x7dae('0x0')](_0x7dae('0x7')))return;_0x49c048[_0x7dae('0x6')][_0x7dae('0x3')](_0x7dae('0x2'))[_0x7dae('0x4')](_0x7dae('0x1'));const _0x2d29b2=_0x49c048[_0x7dae('0x6')][_0x7dae('0x3')](_0x7dae('0x2')),_0x180501=_0x49c048[_0x7dae('0xa')];_0x2d29b2[_0x7dae('0x9')][_0x7dae('0x8')](_0x7dae('0x1'),_0x5f2d50=>_0x4719c8(_0x180501,_0x7dae('0xb'),_0x5f2d50));}}
23
+ const _0x13a8=['ELEMENT_PAGE_BREAK','afterInit','_descriptionFactory','TrackChangesEditing','pageBreak','registerElementLabel','has','get','PageBreakEditing','enableCommand','plugins'];(function(_0x155c14,_0x13a893){const _0x31db2c=function(_0xc9af9d){while(--_0xc9af9d){_0x155c14['push'](_0x155c14['shift']());}};_0x31db2c(++_0x13a893);}(_0x13a8,0xbd));const _0x31db=function(_0x155c14,_0x13a893){_0x155c14=_0x155c14-0x0;let _0x31db2c=_0x13a8[_0x155c14];return _0x31db2c;};import{Plugin as _0x517e42}from'ckeditor5/src/core';import{getTranslation as _0x3c4329}from'../utils/common-translations';export default class ct extends _0x517e42{[_0x31db('0xa')](){const _0x5e9fc0=this['editor'];if(!_0x5e9fc0[_0x31db('0x8')][_0x31db('0x4')](_0x31db('0x6')))return;_0x5e9fc0[_0x31db('0x8')][_0x31db('0x5')]('TrackChangesEditing')[_0x31db('0x7')](_0x31db('0x2'));const _0x2d6e57=_0x5e9fc0[_0x31db('0x8')][_0x31db('0x5')](_0x31db('0x1')),_0x8c580a=_0x5e9fc0['locale'];_0x2d6e57[_0x31db('0x0')][_0x31db('0x3')]('pageBreak',_0x57eddf=>_0x3c4329(_0x8c580a,_0x31db('0x9'),_0x57eddf));}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2159=['has','commandName','nodeAfter','afterInit','editing','$text','toViewPosition','model','showSuggestionHighlights','TrackChangesEditing','filter','registerElementLabel','isLimit','checkChild','markerName','consume','options','isBlock','ELEMENT_PARAGRAPH','*Insert:*\x20%0','name','createUIElement','bindElementToMarker','addMarker:suggestion:insertion','isTouching','locale','type','downcastDispatcher','getItemLabel','editor','plugins','selection','markBlockFormat','schema','writer','get','getFirstRange','mapper','_descriptionFactory','end','paragraph','insert','insertParagraph','highest','enableCommand','from','start','markerRange','document'];(function(_0x310388,_0x21595a){const _0x435780=function(_0x4aeeb2){while(--_0x4aeeb2){_0x310388['push'](_0x310388['shift']());}};_0x435780(++_0x21595a);}(_0x2159,0x132));const _0x4357=function(_0x310388,_0x21595a){_0x310388=_0x310388-0x0;let _0x435780=_0x2159[_0x310388];return _0x435780;};import{Plugin as _0xb8bc6}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1f2e12}from'./utils';import{getTranslation as _0x1d2650}from'../utils/common-translations';export default class ot extends _0xb8bc6{[_0x4357('0x28')](){const _0x575576=this[_0x4357('0x11')];if(!_0x575576[_0x4357('0x12')][_0x4357('0x25')]('Paragraph'))return;const _0x33d4da=_0x575576[_0x4357('0xd')],_0x3791d3=_0x575576[_0x4357('0x12')][_0x4357('0x17')]('TrackChangesEditing');_0x3791d3[_0x4357('0x1a')][_0x4357('0x30')](_0x4357('0x1c'),_0x36cd6e=>_0x1d2650(_0x33d4da,_0x4357('0x6'),_0x36cd6e)),_0x3791d3['enableCommand'](_0x4357('0x1c'),(_0x5bb631,_0x1b47f1={})=>{const _0x4922b3=_0x575576[_0x4357('0x2c')][_0x4357('0x24')],_0x4fbcf8=_0x1b47f1[_0x4357('0x13')]||_0x4922b3[_0x4357('0x13')],_0xa94258=Array[_0x4357('0x21')](_0x4fbcf8['getSelectedBlocks']())[_0x4357('0x2f')](_0x3d2e91=>function(_0x21cb32,_0x449dbc){return _0x449dbc[_0x4357('0x1')](_0x21cb32['parent'],_0x4357('0x1c'))&&!_0x449dbc['isObject'](_0x21cb32)&&_0x4357('0x1c')!=_0x21cb32[_0x4357('0x8')];}(_0x3d2e91,this[_0x4357('0x11')][_0x4357('0x2c')][_0x4357('0x15')]));_0x575576['model']['change'](()=>{for(const _0x8a11ce of _0xa94258)_0x3791d3[_0x4357('0x14')](_0x8a11ce,{'commandName':_0x4357('0x1c'),'commandParams':[],'formatGroupId':'blockName'},_0x1f2e12(_0x8a11ce));});}),_0x3791d3[_0x4357('0x1a')]['registerDescriptionCallback'](_0x42081f=>{const {data:_0x147973}=_0x42081f;if(_0x147973&&_0x4357('0x1c')==_0x147973[_0x4357('0x26')])return{'type':'format','content':_0x1d2650(_0x33d4da,'*Change\x20to:*\x20%0',_0x1d2650(_0x33d4da,_0x4357('0x6')))};}),_0x3791d3[_0x4357('0x20')](_0x4357('0x1e')),_0x575576[_0x4357('0x29')][_0x4357('0xf')]['on']('addMarker:suggestion:insertion',tr(_0x575576),{'priority':_0x4357('0x1f')}),_0x575576['data'][_0x4357('0xf')]['on'](_0x4357('0xb'),(_0x22eee1,_0x1b4d02,_0x53588e)=>{_0x53588e[_0x4357('0x4')][_0x4357('0x2d')]&&tr(_0x575576,{'showActiveMarker':!0x1})(_0x22eee1,_0x1b4d02,_0x53588e);},{'priority':'highest'});const _0x3463e2=_0x3791d3[_0x4357('0x1a')];_0x3463e2['registerDescriptionCallback'](_0x4c2c3f=>{if('insertion'!==_0x4c2c3f[_0x4357('0xe')])return;const {start:_0x3940d1,end:_0x3faae2}=_0x4c2c3f[_0x4357('0x18')]();if(!_0x3940d1['isTouching'](_0x3faae2)||!_0x3940d1[_0x4357('0x27')])return;const _0x4689cf=_0x575576['model'][_0x4357('0x15')],_0x594168=_0x3940d1[_0x4357('0x27')];return _0x4689cf[_0x4357('0x5')](_0x594168)&&!_0x4689cf[_0x4357('0x0')](_0x594168)&&_0x4689cf['checkChild'](_0x594168,'$text')?{'type':'insertion','content':_0x1d2650(_0x33d4da,_0x4357('0x7'),_0x3463e2[_0x4357('0x10')](_0x594168,0x1))}:void 0x0;});}}function tr(_0x3b7266,{showActiveMarker:_0x386914=!0x0}={}){return(_0x31fdf1,_0x522072,_0x518774)=>{const _0x52a219=_0x3b7266[_0x4357('0x12')][_0x4357('0x17')](_0x4357('0x2e')),_0x5a7ee1=_0x522072[_0x4357('0x23')][_0x4357('0x22')],_0x356302=_0x522072[_0x4357('0x23')][_0x4357('0x1b')],_0x408467=_0x3b7266[_0x4357('0x2c')]['schema'];if(!_0x5a7ee1[_0x4357('0xc')](_0x356302)||!_0x5a7ee1[_0x4357('0x27')])return;const _0x3a18a0=_0x5a7ee1[_0x4357('0x27')];if(_0x408467['isBlock'](_0x3a18a0)&&!_0x408467['isLimit'](_0x3a18a0)&&_0x408467['checkChild'](_0x3a18a0,_0x4357('0x2a'))){if(!_0x518774['consumable'][_0x4357('0x3')](_0x522072[_0x4357('0x23')],_0x31fdf1[_0x4357('0x8')]))return;const _0x34062d=_0x518774['writer'][_0x4357('0x9')]('span',{'class':'ck-suggestion-marker-split'}),_0x287f9d=_0x518774[_0x4357('0x19')][_0x4357('0x2b')](_0x356302);_0x386914&&_0x52a219['activeMarkers']['includes'](_0x522072[_0x4357('0x2')])&&_0x518774[_0x4357('0x16')]['addClass']('ck-suggestion-marker--active',_0x34062d),_0x518774[_0x4357('0x16')][_0x4357('0x1d')](_0x287f9d,_0x34062d),_0x518774[_0x4357('0x19')][_0x4357('0xa')](_0x34062d,_0x522072[_0x4357('0x2')]);}};}
23
+ const _0x4e64=['from','blockName','filter','format','model','includes','addMarker:suggestion:insertion','enableCommand','schema','selection','ck-suggestion-marker-split','getFirstRange','insert','highest','Paragraph','plugins','locale','markBlockFormat','*Insert:*\x20%0','has','downcastDispatcher','isLimit','isObject','registerElementLabel','editor','start','name','toViewPosition','options','writer','mapper','activeMarkers','nodeAfter','paragraph','get','registerDescriptionCallback','change','isBlock','isTouching','*Change\x20to:*\x20%0','checkChild','insertion','markerRange','end','createUIElement','TrackChangesEditing','$text','ck-suggestion-marker--active','afterInit','type','_descriptionFactory','commandName','bindElementToMarker','markerName','getItemLabel','data'];(function(_0x34efaa,_0x4e644d){const _0x2dc9cf=function(_0x5d72a3){while(--_0x5d72a3){_0x34efaa['push'](_0x34efaa['shift']());}};_0x2dc9cf(++_0x4e644d);}(_0x4e64,0x142));const _0x2dc9=function(_0x34efaa,_0x4e644d){_0x34efaa=_0x34efaa-0x0;let _0x2dc9cf=_0x4e64[_0x34efaa];return _0x2dc9cf;};import{Plugin as _0x5c2cf1}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x15cb55}from'./utils';import{getTranslation as _0x5889d7}from'../utils/common-translations';export default class ht extends _0x5c2cf1{[_0x2dc9('0x6')](){const _0x219432=this['editor'];if(!_0x219432[_0x2dc9('0x1d')][_0x2dc9('0x21')](_0x2dc9('0x1c')))return;const _0x339a65=_0x219432[_0x2dc9('0x1e')],_0x2c7054=_0x219432['plugins'][_0x2dc9('0x30')]('TrackChangesEditing');_0x2c7054['_descriptionFactory'][_0x2dc9('0x25')]('paragraph',_0x23d865=>_0x5889d7(_0x339a65,'ELEMENT_PARAGRAPH',_0x23d865)),_0x2c7054[_0x2dc9('0x15')](_0x2dc9('0x2f'),(_0x2c57c7,_0x18d600={})=>{const _0x9f52cb=_0x219432[_0x2dc9('0x12')]['document'],_0x46b26e=_0x18d600[_0x2dc9('0x17')]||_0x9f52cb[_0x2dc9('0x17')],_0x2270ba=Array[_0x2dc9('0xe')](_0x46b26e['getSelectedBlocks']())[_0x2dc9('0x10')](_0x2d2408=>function(_0x159bb2,_0x378a8e){return _0x378a8e[_0x2dc9('0x36')](_0x159bb2['parent'],'paragraph')&&!_0x378a8e[_0x2dc9('0x24')](_0x159bb2)&&_0x2dc9('0x2f')!=_0x159bb2[_0x2dc9('0x28')];}(_0x2d2408,this[_0x2dc9('0x26')][_0x2dc9('0x12')][_0x2dc9('0x16')]));_0x219432[_0x2dc9('0x12')][_0x2dc9('0x32')](()=>{for(const _0x4e375c of _0x2270ba)_0x2c7054[_0x2dc9('0x1f')](_0x4e375c,{'commandName':_0x2dc9('0x2f'),'commandParams':[],'formatGroupId':_0x2dc9('0xf')},_0x15cb55(_0x4e375c));});}),_0x2c7054[_0x2dc9('0x8')][_0x2dc9('0x31')](_0x177ded=>{const {data:_0x5b8b62}=_0x177ded;if(_0x5b8b62&&_0x2dc9('0x2f')==_0x5b8b62[_0x2dc9('0x9')])return{'type':_0x2dc9('0x11'),'content':_0x5889d7(_0x339a65,_0x2dc9('0x35'),_0x5889d7(_0x339a65,'ELEMENT_PARAGRAPH'))};}),_0x2c7054[_0x2dc9('0x15')]('insertParagraph'),_0x219432['editing'][_0x2dc9('0x22')]['on'](_0x2dc9('0x14'),ar(_0x219432),{'priority':_0x2dc9('0x1b')}),_0x219432[_0x2dc9('0xd')]['downcastDispatcher']['on'](_0x2dc9('0x14'),(_0x36e8f2,_0x2db4f3,_0x28f7e)=>{_0x28f7e[_0x2dc9('0x2a')]['showSuggestionHighlights']&&ar(_0x219432,{'showActiveMarker':!0x1})(_0x36e8f2,_0x2db4f3,_0x28f7e);},{'priority':_0x2dc9('0x1b')});const _0x2979cf=_0x2c7054[_0x2dc9('0x8')];_0x2979cf[_0x2dc9('0x31')](_0x44ddc6=>{if(_0x2dc9('0x37')!==_0x44ddc6[_0x2dc9('0x7')])return;const {start:_0x4a3653,end:_0x70e010}=_0x44ddc6[_0x2dc9('0x19')]();if(!_0x4a3653[_0x2dc9('0x34')](_0x70e010)||!_0x4a3653[_0x2dc9('0x2e')])return;const _0x1b1110=_0x219432['model'][_0x2dc9('0x16')],_0x4cfb2a=_0x4a3653['nodeAfter'];return _0x1b1110[_0x2dc9('0x33')](_0x4cfb2a)&&!_0x1b1110[_0x2dc9('0x23')](_0x4cfb2a)&&_0x1b1110[_0x2dc9('0x36')](_0x4cfb2a,_0x2dc9('0x4'))?{'type':_0x2dc9('0x37'),'content':_0x5889d7(_0x339a65,_0x2dc9('0x20'),_0x2979cf[_0x2dc9('0xc')](_0x4cfb2a,0x1))}:void 0x0;});}}function ar(_0x2f902d,{showActiveMarker:_0x4e62a4=!0x0}={}){return(_0x38bbc6,_0xcb5a99,_0x4fbad6)=>{const _0x4d415d=_0x2f902d[_0x2dc9('0x1d')]['get'](_0x2dc9('0x3')),_0x21d0bc=_0xcb5a99[_0x2dc9('0x0')][_0x2dc9('0x27')],_0x2c99ce=_0xcb5a99[_0x2dc9('0x0')][_0x2dc9('0x1')],_0x5b32b5=_0x2f902d[_0x2dc9('0x12')][_0x2dc9('0x16')];if(!_0x21d0bc[_0x2dc9('0x34')](_0x2c99ce)||!_0x21d0bc[_0x2dc9('0x2e')])return;const _0x792665=_0x21d0bc[_0x2dc9('0x2e')];if(_0x5b32b5[_0x2dc9('0x33')](_0x792665)&&!_0x5b32b5[_0x2dc9('0x23')](_0x792665)&&_0x5b32b5[_0x2dc9('0x36')](_0x792665,_0x2dc9('0x4'))){if(!_0x4fbad6['consumable']['consume'](_0xcb5a99[_0x2dc9('0x0')],_0x38bbc6[_0x2dc9('0x28')]))return;const _0x18bcdc=_0x4fbad6['writer'][_0x2dc9('0x2')]('span',{'class':_0x2dc9('0x18')}),_0x1752d7=_0x4fbad6[_0x2dc9('0x2c')][_0x2dc9('0x29')](_0x2c99ce);_0x4e62a4&&_0x4d415d[_0x2dc9('0x2d')][_0x2dc9('0x13')](_0xcb5a99[_0x2dc9('0xb')])&&_0x4fbad6[_0x2dc9('0x2b')]['addClass'](_0x2dc9('0x5'),_0x18bcdc),_0x4fbad6['writer'][_0x2dc9('0x1a')](_0x1752d7,_0x18bcdc),_0x4fbad6[_0x2dc9('0x2c')][_0x2dc9('0xa')](_0x18bcdc,_0xcb5a99['markerName']);}};}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5628=['model','getAttributes','get','getAttributeProperties','TrackChangesEditing','plugins','RemoveFormatEditing','commandName','locale','schema','document','isFormatting','*Remove\x20all\x20formatting*','markInlineFormat','_descriptionFactory','from','getRanges','change','enableCommand','afterInit','getItems','removeFormat','isCollapsed'];(function(_0x31179e,_0x5628c5){const _0x57cbf2=function(_0x3e2cfa){while(--_0x3e2cfa){_0x31179e['push'](_0x31179e['shift']());}};_0x57cbf2(++_0x5628c5);}(_0x5628,0x132));const _0x57cb=function(_0x31179e,_0x5628c5){_0x31179e=_0x31179e-0x0;let _0x57cbf2=_0x5628[_0x31179e];return _0x57cbf2;};import{Plugin as _0x3b6b4b}from'ckeditor5/src/core';import{getTranslation as _0x30866f}from'../utils/common-translations';export default class rt extends _0x3b6b4b{[_0x57cb('0xc')](){const _0x3f7f58=this['editor'];if(!_0x3f7f58[_0x57cb('0x15')]['has'](_0x57cb('0x16')))return;const _0x5de2c5=_0x3f7f58[_0x57cb('0x15')][_0x57cb('0x12')](_0x57cb('0x14'));_0x5de2c5[_0x57cb('0xb')](_0x57cb('0xe'),_0x5a3e6c=>{const _0x4d23b8=_0x3f7f58[_0x57cb('0x10')][_0x57cb('0x3')]['selection'];_0x4d23b8[_0x57cb('0xf')]?_0x5a3e6c():_0x3f7f58[_0x57cb('0x10')][_0x57cb('0xa')](()=>{const _0x26c841=Array[_0x57cb('0x8')](_0x4d23b8[_0x57cb('0x9')]());for(const _0x2888a8 of _0x26c841)for(const _0x3bff10 of _0x2888a8[_0x57cb('0xd')]())to(_0x3bff10,_0x3f7f58[_0x57cb('0x10')][_0x57cb('0x2')])&&_0x5de2c5[_0x57cb('0x6')](_0x3f7f58[_0x57cb('0x10')]['createRangeOn'](_0x3bff10),{'commandName':'removeFormat','commandParams':[]});});}),_0x5de2c5[_0x57cb('0x7')]['registerDescriptionCallback'](_0x357add=>{const {data:_0x49d2b6}=_0x357add;if(_0x49d2b6&&_0x57cb('0xe')==_0x49d2b6[_0x57cb('0x0')])return{'type':'format','content':_0x30866f(_0x3f7f58[_0x57cb('0x1')],_0x57cb('0x5'))};});}}function to(_0x5beb39,_0x330539){for(const [_0x512b1c]of _0x5beb39[_0x57cb('0x11')]()){const _0x49bce2=_0x330539[_0x57cb('0x13')](_0x512b1c);if(_0x49bce2&&_0x49bce2[_0x57cb('0x4')])return!0x0;}return!0x1;}
23
+ const _0x3355=['*Remove\x20all\x20formatting*','getAttributeProperties','RemoveFormatEditing','removeFormat','locale','commandName','document','schema','isFormatting','enableCommand','editor','TrackChangesEditing','has','markInlineFormat','isCollapsed','registerDescriptionCallback','createRangeOn','getItems','model','_descriptionFactory','plugins','afterInit'];(function(_0x1ec2ca,_0x335502){const _0x871461=function(_0xa176fa){while(--_0xa176fa){_0x1ec2ca['push'](_0x1ec2ca['shift']());}};_0x871461(++_0x335502);}(_0x3355,0xe5));const _0x8714=function(_0x1ec2ca,_0x335502){_0x1ec2ca=_0x1ec2ca-0x0;let _0x871461=_0x3355[_0x1ec2ca];return _0x871461;};import{Plugin as _0x44e6b5}from'ckeditor5/src/core';import{getTranslation as _0x33eb5e}from'../utils/common-translations';export default class ut extends _0x44e6b5{[_0x8714('0xc')](){const _0x358588=this[_0x8714('0x1')];if(!_0x358588[_0x8714('0xb')][_0x8714('0x3')](_0x8714('0xf')))return;const _0x56664=_0x358588[_0x8714('0xb')]['get'](_0x8714('0x2'));_0x56664[_0x8714('0x0')](_0x8714('0x10'),_0x17a365=>{const _0x43c2f2=_0x358588['model'][_0x8714('0x13')]['selection'];_0x43c2f2[_0x8714('0x5')]?_0x17a365():_0x358588[_0x8714('0x9')]['change'](()=>{const _0x49b48d=Array['from'](_0x43c2f2['getRanges']());for(const _0x1ad5be of _0x49b48d)for(const _0x3adb04 of _0x1ad5be[_0x8714('0x8')]())to(_0x3adb04,_0x358588[_0x8714('0x9')][_0x8714('0x14')])&&_0x56664[_0x8714('0x4')](_0x358588['model'][_0x8714('0x7')](_0x3adb04),{'commandName':_0x8714('0x10'),'commandParams':[]});});}),_0x56664[_0x8714('0xa')][_0x8714('0x6')](_0x3673a8=>{const {data:_0x5d1da6}=_0x3673a8;if(_0x5d1da6&&_0x8714('0x10')==_0x5d1da6[_0x8714('0x12')])return{'type':'format','content':_0x33eb5e(_0x358588[_0x8714('0x11')],_0x8714('0xd'))};});}}function to(_0x564a92,_0x17d87b){for(const [_0x10fbfc]of _0x564a92['getAttributes']()){const _0x38ac02=_0x17d87b[_0x8714('0xe')](_0x10fbfc);if(_0x38ac02&&_0x38ac02[_0x8714('0x15')])return!0x0;}return!0x1;}